Archive for the 'Singleshot' Category
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 […]
Posted in Programming, Singleshot | No Comments »
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 […]
Posted in Python, Singleshot | Comments Off
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 […]
Posted in Experience, Python, Singleshot | 1 Comment »
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.
Posted in Python, Singleshot | Comments Off
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 […]
Posted in Singleshot | Comments Off
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 […]
Posted in Singleshot | Comments Off
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 […]
Posted in Python, Singleshot | Comments Off
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 […]
Posted in Singleshot | 4 Comments »
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 […]
Posted in Singleshot | Comments Off
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 […]
Posted in Singleshot | 1 Comment »
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, […]
Posted in Singleshot | Comments Off
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 […]
Posted in Programming, Python, Singleshot | Comments Off
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 […]
Posted in Photography, General, Programming, Singleshot | 1 Comment »
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 […]
Posted in Python, Singleshot | Comments Off
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 […]
Posted in Programming, Python, Singleshot | No Comments »
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 […]
Posted in Programming, Singleshot | Comments Off
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 […]
Posted in Singleshot | Comments Off