Archive for the 'Singleshot' Category

SOn markers and Singleshot

Wednesday, March 14th, 2007

I posted a photo to photos.xythian.com.
It didn’t work. Some digging indicated that Singleshot’s JPEG height/width detection was failing on the new JPEG.
Singleshot’s JPEG header parsing code was only looking for a SOF0 marker and thus didn’t work on progressive JPEGs (which used SOF2). This is why it’s important to read the […]

photos.xythian.com and Singleshot

Sunday, October 23rd, 2005

I moved my photo site back to a machine I control directly. It’s probably not going to stay there, but it does free me from debugging everything twice when I want to add features.
Since the last Singleshot release I’ve fixed a bunch of bugs in IPTC parsing (and added a fallback to use […]

Awful patches

Tuesday, October 18th, 2005

Also, apparently something else is also behaving differently on NearlyFreeSpeech, breaking the ImageMagick processor.
I compensated with an awful hack and, just to be sure, pregenerating all of the view images so I can go to bed without, hopefully, leaving photos.xythian.com woefully broken.
I think NearlyFreeSpeech is going to have to go. They seem […]

Fascinating discoveries

Monday, October 17th, 2005

A fascinating discovery, a while after I launched my shiny new site about which I was very proud: mmap is all well and good on Linux on my home machine and on Dreamhost, but apparently doesn’t work on NearlyFreeSpeech. This .. is problematic for photos.xythian.com.

Housekeeping

Monday, October 17th, 2005

Singleshot 2.0.1, featuring:

Add ~ expansion to singleshotinit.py –root
Fix situation when rewritebase is /
Fix RSS feed (publish_time is now a datetime always); RSS feed now works…
Modify month_dir so it creates datetimes at midnight rather than dates — dates can’t be sorted with datetimes.
Change limits on recent images to take advantage of pagination.
Fix handling in IPTC parsing […]

Singleshot 2.0.0a3

Tuesday, September 20th, 2005

I slowly creep towards a ‘final’ 2.0.0 release.
It’s mostly bug fixes now based on reports from my legions of dedicated testers. In a3, the caching problem when in persistent mode is fixed. Also an issue with Apache 2 and I added pagination of the album pages to sidestep a problem when […]

Singleshot FastCGI, other development

Sunday, September 11th, 2005

Encouraged by how fast Singleshot is when running as a persistant process but discouraged by the relatively scarcity of mod_python hosting, I wrote a FastCGI wrapper for Singleshot this weekend. It may be faster than the mod_python version. I feel better about it than the mod_python version, because I know exactly how […]

Singleshot performance and other developments

Monday, September 5th, 2005

I was dismayed by how slow parsing all that XMP was in Singleshot when all I really wanted out of it was the keywords that the PIL IPTC parsing was failing to get right. So I dug up the IPTC spec and wrote my own parser. Now not only is it much […]

Oops and more development.

Friday, September 2nd, 2005

I noticed the URLs in the photos.xythian.com RSS feed were broken (http// is not http://). Fixed, but changing the Guids on posts may confuse some RSS readers into thinking they’re all new posts. Oops.
I’ve been finishing up the rearranging of the Singleshot files and preparing to package it with some instructions for […]

Deployability

Wednesday, August 31st, 2005

I finally took the time to rearrange Singleshot so it was in a Python package (’singleshot’). The templates still aren’t quite in a home, but all the library code can now live in anywhere in the python path. I also moved most of the CGI code into a library and defined […]

Further development on Singleshot

Tuesday, August 30th, 2005

I still don’t know what was causing the weird lossage on the new photos site but it appears to be related to performance. I’ve seen evidence of proxy servers between me and the app and they appear to get cranky if the request is taking too long. The evidence, […]

Broken things

Sunday, August 28th, 2005

It is of course after I announce it that the new photo site starts losing in strange ways. Some requests don’t appear to complete .. sometimes.
Even requests that don’t go through Singleshot are affected. I’d wonder if my net is just flaky except I can repro it on […]

New photos site

Sunday, August 28th, 2005

I’ve been working pretty steadily on Singleshot 2.0 and, more directly, a new revision of my photos web site. As soon as I’m sure things are running smoothly, I’ll package up the new Singleshot code and make release 2.0.
I’ll be turning the old gallery.xythian.com site into a bunch of redirects into the new site.
What’s […]

Singleshot development

Sunday, August 14th, 2005

After months of inactivity, I finally got back to working on Singleshot this weekend. Following up from my last work experimenting with virtual items, I revamped how dispatching works. All requests (except for cached image requests) now go through a single CGI entry point. sscgi.py now dispatches to an […]

Tagging in Singleshot

Thursday, May 19th, 2005

Suddenly gripped with an idea for how to do tagging in Singleshot, I created a virtual item type called ImagesByTagItem (and the notion of virtual items — items without a representation on the filesystem) and had its _load_items method cheerfully crawl the image store looking for images with the given tag in their ITPC keywords.
It’s […]

Singleshot development

Wednesday, May 18th, 2005

Inspired by reading about ITPC tagging and noticing that my image browser of choice, BreezeBrowser supported ITPC tagging, I set out to add support for reading those tags to Singleshot.
I first added an IMAGESIZER implementation that used PIL so Singleshot could use either PIL or ImageMagick as a way to generate thumbnails. Then […]

Singleshot

Monday, January 19th, 2004

Singleshot, web photo album hosting software, is finally released. It features low maintenance, relatively simple installation, and fast and easy album publishing once it’s set up.
It runs on the web server though the URL space it defines could be served statically. It requires Apache, Python 2.1 or later, ImageMagick, and for the optional edit […]