<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE rdf:RDF [
<!ENTITY % HTMLlat1 PUBLIC
 "-//W3C//ENTITIES Latin 1 for XHTML//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent">
]>
<rdf:RDF
 xmlns="http://purl.org/rss/1.0/"
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:content="http://purl.org/rss/1.0/modules/content/"
 xmlns:admin="http://webns.net/mvcb/"
>
<channel rdf:about="http://www.shaftnet.org/users/pizza">
<title>Free Software</title>
<link>http://www.shaftnet.org/users/pizza/archives/free_software/index.html</link>
<description>Ruminations and lamentations, percolations and departations</description>
<dc:language>en-us</dc:language>
<dc:creator>Solomon Peachy</dc:creator>
<dc:date>2008-11-17T23:48:45-05:00</dc:date>
<admin:generatorAgent rdf:resource="http://nanoblogger.sourceforge.net" />
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2008/10/13/index.html#e2008-10-13T11_46_41.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2008/08/17/index.html#e2008-08-17T20_41_35.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2008/02/19/index.html#e2008-02-19T22_00_46.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2007/11/23/index.html#e2007-11-23T19_15_28.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2007/11/15/index.html#e2007-11-15T13_25_43.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2007/11/11/index.html#e2007-11-11T09_38_31.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2007/09/23/index.html#e2007-09-23T13_26_50.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2007/01/11/index.html#e2007-01-11T15_54_53.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2006/12/29/index.html#e2006-12-29T08_58_36.txt" />
<rdf:li rdf:resource="http://www.shaftnet.org/users/pizza/archives/2006/05/16/index.html#e2006-05-16T10_38_58.txt" />
</rdf:Seq>
</items>
</channel>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2008/10/13/index.html#e2008-10-13T11_46_41.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2008/10/13/index.html#e2008-10-13T11_46_41.txt</link>
<title>To PostGIS Or Not To PostGIS, that is the question... </title>
<dc:date>2008-10-13T11:46:41-05:00</dc:date>
<dc:creator>Solomon Peachy </dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[
<p>Development of <a href="http://po.shaftnet.org/">Photo Organizer</a> 
has slowed down lately, in part thanks to RealLife(tm) getting in the 
way, but mostly due to the remaining feature requests becoming 
increasingly more invasive.  This isn't to say that these features 
aren't a good idea, but rather that due to PO's craptastic code 
structure, a seemingly "minor feature" would require a major internal 
overhaul.</p>

<p>Features like replacing the internal permission model with a 
finer-grained group-based model.  Moving to a real templating engine.  
Better "social" features.  Adding an external RPC API.  Adding some sort 
of caching of search results or other complex queries that involve 
permission tests.  And so on.</p>

<p>One deceptively simple feature request is to integrate <a 
href="http://postgis.refractions.net/">PostGIS</a> support.  While PO 
currently extracts GPS data out of images and stores it in the database, 
it doesn't really do anything useful with that data.  Integrating 
PostGIS support would instantly give PO access to a very powerful 
geospatial backend that can tie in to all sorts of other spatially-aware 
systems. There is a near-endless list of upsides, even if PO never uses 
anything more advanced than spatially-aware searching.</p> 

<p>The downsides, however, are doozeys -- From an administration 
perspective rather than from a code perspecitve.  First, due to the 
level of effort it would take to make PostGIS support optional, we'd 
have to require it across the board. PostGIS is not part of the standard 
PostgreSQL distribution, and would consequently make setting up a PO 
installation more difficult.  It would greatly complicate upgrading an 
existing PO installation to a newer version of PostgreSQL and/or 
PostGIS, and upgrading to newer PO releases could also get more complex. 
</p>

<p>So all of that said, PostGIS support would be interesting and cool, 
but is it necessarily the <i>right</i> direction to take?  I know PO is 
already used by at least one municipality to hold photos relating to 
their tax rolls, but without a better idea of real-world workflows, I 
don't know what PO can do to better tie in to the rest of their (or 
anyone else's) systems.</p>

<p>Meanwhile, regardless of PO's support for PostGIS, more user-visible 
features like "pull up a google map with locations of this set of photos 
marked" can be implemented, and now that I have a GPS widget for my 
camera, I'm actually interested in such things.  :)</p>

<p>I get nearly no feedback from PO users; indeed aside from the 
freshmeat subscriber stats I really have no idea how many folks actually 
use PO.  My best efforts with Google show a few dozen public PO 
installations, including at least two which the admins have 
independently translated into Russian.  Come on folks, send me patches 
so all users can benefit from this work!</p>

<p>So, peanut gallery, any thoughts?</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2008/08/17/index.html#e2008-08-17T20_41_35.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2008/08/17/index.html#e2008-08-17T20_41_35.txt</link>
<title>Photo Organizer 2.36 is (finally) out</title>
<dc:date>2008-08-17T20:41:35-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[<p>It's been stuck in -rc status for four months.  Much less feedback 
this time around, which can be attributed to less interest, or perhaps 
the code's been more robust this time around.  We'll see.</p>
<p>There are many more user-visible changes than usual this time around, 
ihcluding a nice dark theme, pretty URLs, and per-folder/album 
thumbnails.  Oh, and a 40x speed improvement on a hot-path sql query.  
Yikes.</p>
<p>Each release has made PO's internals less obnoxious and easier to 
change, but I've hit another brick wall and the next set of internal 
improvements will be pretty invasive, with no real user-visible benefit.
</p>
<p>Unfortunately, development has slowed down considerably lately, in 
part due to RealLife(tm).. but as always, it's nice to get feedback.
</p>
<p>I also just switched PO over to using git.  Due to differences in the 
usage model (from svn), there was no easy way to migrate the old history 
in the same repo and still continue using git's best pracices.  C'est la 
vie.</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2008/02/19/index.html#e2008-02-19T22_00_46.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2008/02/19/index.html#e2008-02-19T22_00_46.txt</link>
<title>Photo Organizer 2.35</title>
<dc:date>2008-02-19T22:00:46-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[
<p>Yeah, <a href="http://po.shaftnet.org/">Photo Organizer 2.35</a> came 
out two weeks ago, but I'd figure I should toot my own horn a little 
bit.</p> 

<p>A lot of work went into making client/event management more, 
well, manageable.  Multi-day events and the ability to directly tie 
clients to events tie into date-based searching to make it easy to find 
out just what you took for any given point in time.</p> 

<p>Also new is pluggable authentication, two-step registration, sortable 
folder/album listings, much (much) faster exporting, plus a large pile 
of under-the-hood changes to facilitate future features.  Oh, and an 
Italian translation.</p>

<p>v2.35a will probably be released this week with a small pile 
of bugfixes.  Most of these bugs were found while testing out changes 
made to the development trunk.</p>

<p>On that note, there are a lot of cool things in the pipeline for 
v2.36; the most visible of which is a new theme!  Rickard Olsson got the 
ball rolling and contributed a dark theme, which I then mangled a bit 
and committed.  When combined with pretty URLs and per-folder 
thumbnails, things look pretty slick.  It's funny how sometimes just how 
effective superficial changes can be. </p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2007/11/23/index.html#e2007-11-23T19_15_28.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2007/11/23/index.html#e2007-11-23T19_15_28.txt</link>
<title>More ES1 gutenprint goodness</title>
<dc:date>2007-11-23T19:15:28-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[<p>Gutenprint has accepted my second patch, so it now has a working 
Selphy ES1 raster driver.  Unfortunately, it still requires a custom 
print spooler, but I'm now one step closer.</p>
<p><a 
href="http://www.shaftnet.org/users/pizza/es_print_assist.c">es_print_assist.c</a> 
is now updated to properly poll the printer status, so it can now take 
the raw dump from gutenprint and shove it out to the printer with 
minimal delay.</p>
<p>The third step will be to rework it so that it can deal with an 
arbitrary file on stdin, properly parsing the dumpfile to determine 
length and paper type.. and for step four, adapting it into a proper 
CUPS backend.  Yay.</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2007/11/15/index.html#e2007-11-15T13_25_43.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2007/11/15/index.html#e2007-11-15T13_25_43.txt</link>
<title>One patch accepted, one more to go..</title>
<dc:date>2007-11-15T13:25:43-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[<p>The fine folks behind Gutenprint accepted my patch to support the 
Canon Selphy ES series, but thanks to a boneheaded mistake on my part, 
what got committed didn't actually work.  So there's a fixup patch 
pending.</p>

<p>The real fun, however, is the need to write a custom CUPS backend to 
properly spool data to the printer.  I have a little helper app (<a 
href="http://www.shaftnet.org/users/pizza/es_print_assist.c">es_print_assist.c</a>) 
that batches the writes properly, but it dumbly waits instead of 
properly polling the printer for its status.  CUPS is a lot more 
complicated to figure out than gutenprint, so further progress will be 
much slower.</p>

<p>Meanwhile, <a href="http://po.shaftnet.org/">Photo Organizer</a> 2.35 
is coming along nicely; I'm at the point where I have to decide whether 
to go into -rc stabilization now, and save the next round of invasive 
changes for 2.36, or go ahead and make one or more of those changes now.
</p>

<p>In particular, I want to be able to have PO auto-generate 
full-resolution JPEGs from the source RAW images.  On the surface this 
is straightforward, but I want to implement this properly, by 
genericizing the "generate a down-scaled image and apply this set of 
transforms to it" code.  This way additional sizes would be trivially 
easy to add, as would some of the changes I have in mind to make 
watermarking much more useful.  Progress has been slow, but I'm 
almost done getting the low-level bits in place.</p>

<p>Anyway. Tons of stuff to do, never enough time..</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2007/11/11/index.html#e2007-11-11T09_38_31.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2007/11/11/index.html#e2007-11-11T09_38_31.txt</link>
<title>The joy of photo printers (and free software)</title>
<dc:date>2007-11-11T09:38:31-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Photos, Free Software</dc:subject>
<description><![CDATA[
<p>For some time now, I've wanted to pick up a compact photo printer 
to take with me on assignment, with the blessings of those I 
am taking photographs for.  A little under two weeks ago, I finally 
did, purchasing a <a 
href="http://www.canon-europe.com/For_Home/Product_Finder/Printers/Direct_Photo/Selphy_ES1/index.asp">Canon 
SELPHY ES1</a>.</p>

<p>It's a sweet little printer, using the old technique of 
dye-sublimation to create true continuious tone prints, rather than 
glorified halftoning that even the best inkjet printers use.  Not only 
do the prints come out looking indistinguishable from what a photo lab 
would produce -- they're water- and smudge-proof.</p>

<p>I did my homework; apparently the majority of Canon's dyesub printers 
were supprted under Linux via the <a 
href="http://gimp-print.sourceforge.net/">gutenprint</a> drivers, but 
not the ES1 specifically.  No big deal, it should just work.  Even in 
the absence of direct Linux printing, I could print from the camera 
directly or shove a memory card into the printer.  All in all, things 
should Just Work. </p>

<p>They didn't.</p>

<p>My first test involved taking a few converted-from-RAW JPEG images 
out of my archives, copying them to a CF card, and trying to print that.  
I got a rather crass <i>Incompatible JPEG Format</i> error message out 
of the printer.  Interestingly my camera also errored out on those 
images, complaining that <i>The image could not be displayed.</i>.  
After some heavy digging it turns out the printer makes heavy use of the 
EXIF data, and if it's not present (or in many cases, simply modified!) 
the printer gives up.  WTF?  Why can't Canon document what it needs 
in a JPEG rather than just displaying a useless error message?</p>

<p>As I shoot RAW images, not being able to convert, crop, tweak, then 
print a random image via a CF card seriously sucked.  So, I'll try Plan 
B:  Print the images from the camera via the universal PictBridge 
interface.</p>

<p>No good.</p>

<p>Apparently my Nikon D200 camera can't print RAW images.  WTF?  Even 
if the camera could only print JPEGs, the NEFs have a full-res embedded 
JPEG image in the file that would print just fine.  Sigh.  Onto Plan C: 
Print directly from my laptop.</p>

<p>No good.</p> 

<p>Apparently the SELPHY ES1 is incompatible with Canon's older dyesubs.  
To some extent I expected this, as it uses a different ribbon/dye pack, 
but that's mostly because the printer's physical engine is oriented 
differently -- and it's also why I bought this model over the others.  
Thanks to this incompatibility, I can't print from Linux either.  Onto 
Plan D:  Print from Windows.  Surely that will work, right?</p>

<p>Sort of.</p>

<p>The printer worked just fine from Windows... but the prints were all 
quite dark.  Too dark.  After some digging, I found the driver's options 
panel and knocked the brightness up a few notches.. and while not 
perfect (yellow-ish color balance, mostly) the images were finally 
acceptable.  But this would mean I'd need to boot into Windows to print, 
which really sucks as the rest of my RAW workflow is Linux-based. </p>

<p>Fortunately, the printer is USB-based, which means that thanks to a 
wonderful tool called Snoopy2, it's trivial to get a full dump of the 
entire communications chain between the printer and its driver.  Armed 
with this dump, I could figure out the protocol and hack support into 
gutenprint.</p>

<p>After an initial learning curve, I succeeded.  I was able to generate 
a binary dump indistinguishable from what Windows generated (except, of 
course, for the image data).  So, cackling with glee, I proceeded to 
dump this out to the printer. </p>

<p>No good.</p>

<p>The device write() apparently blocked on the very first chunk of 
data.  After much experimentation, I discovered that the logical chunks 
of data needed to be broken apart and written separately.  The 
initialization sequence and the Yellow, Magenta, and Cyan image data all 
needed to have pauses between them (the printer sends a status message 
when it's ready) or the printer's USB interface locks up altogether.  
Sigh.  So I split apart my dump file into its logical chunks, and 
dump them separately to the printer.</p>

<p>Success!</p>

<p>Not only did it print, but the brightness and color balance looked 
great.  Yes, the images look much better than what their Windows 
driver manages to put out.</p>

<p>Ah, I love Free Software.  When it doesn't JustWork(tm), you can fix 
it so it does.</p>

<p>All that remains is getting my <a 
href="https://sourceforge.net/mailarchive/message.php?msg_name=20071111030204.GA20217%40shaftnet.org">patch</a> 
integrated into upstream gutenprint, and figuring out a way to 
intellently spool the printer data in a CUPS-compatible manner.</p>

<p>Oh, this was the first image I printed:</p> <p> <a 
href="http://www.shaftnet.org/po/photo/49130:48674"><img 
src="http://www.shaftnet.org/po/image/49130:48674?size=2"></a> 
</p> 

<p>I took it last weekend at <a 
href="http://www.brevardparks.com/parks/prksa2.php#FutchMemorial">Paradise Beach</a>.  I have no idea who this guy is, but he was out kite-surfing 
on a windy but otherwise beautiful day.</p>

<p>Oh, as a footnote -- about a month before I ordered my ES1, Canon 
announced its successor models, the ES2 and ES20.  Same basic specs, but 
when untethered the printers had fancier (and faster) feature sets.  I 
needed a printer for next weekend (November 16-18) and nobody had a 
useful ETA on when they'd show up, so I bought the ES1 at a discount.  
On the 9th, four days after I received my ES1, everyone suddently got 
them in stock.  Sigh.</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2007/09/23/index.html#e2007-09-23T13_26_50.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2007/09/23/index.html#e2007-09-23T13_26_50.txt</link>
<title>Photo Organizer 2.34 (finally) released!</title>
<dc:date>2007-09-23T13:26:50-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[<p>To quote the press release:</p>
<blockquote>
<p> The long-awaited version 2.34 of Photo Organizer is finally here.
 Nearly every facet of Photo Organizer has been enhanced in some way.
 The most visible improvement is the refactored UI that makes extensive
 use of CSS and supports multiple languages.  Working with larger sets
 of images and especially clients is also considerably simpler, with the
 ability to tie folders and clients to datebook events.  There are also
 many behind-the-scenes changes to improve reliability, facilitate
 future scalibility and of course, a massive pile of little features
 and tweaks.</p>
<p>You can find it at: <a href="http://po.shaftnet.org/">po.shaftnet.org</a></p>
</blockquote>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2007/01/11/index.html#e2007-01-11T15_54_53.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2007/01/11/index.html#e2007-01-11T15_54_53.txt</link>
<title>linux-wlan-ng still lives!</title>
<dc:date>2007-01-11T15:54:53-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[<p>After nearly three months since the last release, out comes 
<a href="http://www.linux-wlan.org">linux-wlan-ng 0.2.7</a>, with 
changes to support current Linux kernels, plus a few more bugfixes.</p>  

<p>The project remains completely obselete, having been nearly 
completely eclipsed by the drivers in the linux kernel, but it continues 
to have a few differentiating features, the most significant of which is 
support for Prism 2/2.5/3 USB widgets.</p>

<p>It's funny; The very split-MAC architechure that linux-wlan-ng was 
derided for is the future of Linux wireless -- And the same problems are 
coming up in almost the same order, as are the same mistakes, and 
with them the inevitable conclusion that some of these problems are 
<i>hard</i>.</p>

<p>Sometimes I really dislike that I spend most of my time hacking on 
proprietary code -- linux-wlan and linux-wlan-ng were my employer's 
experiment with open-source code, and it almost put us out of business.  
If we can't get paid for support, and we can't get paid to write 
software, how exactly are we supposed to pay the bills?</p>

<p>Is the entire F/OSS "business model" subsidized by proprietary 
components?</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2006/12/29/index.html#e2006-12-29T08_58_36.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2006/12/29/index.html#e2006-12-29T08_58_36.txt</link>
<title>CSS hackery help!</title>
<dc:date>2006-12-29T08:58:36-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[
<p>Back in May, I inherited <em><a 
href="http://www.shaftnet.org/po/">Photo Organizer</a></em>, and since 
then, there have been four releases. Nothing earth-shattering, but a 
steady series of incremental improvements, usually in the form of 
feature backports from the "unstable" tree.</p>

<p>The single biggest feature of the "unstable" tree is the use of CSS 
for layout and other formatting, plus other changes necessary to support 
better theming and internationalization.  The work is well advanced, but 
I'm running into a few walls.</p>

<p>First, I can't seem to figure out how to have truly marginless 
&lt;button&gt;s.  I'm using graphical buttons for things like next/prev 
links, but try as I may, I end up with a small (~few pixels) margin 
around the embedded image.  This doesn't matter for most of the 
buttons, but there is a subset used for navigation and this results in 
the navbar being unacceptaby wide.</p>

<p>The navigation buttons are being used as implicit &lt;a href&gt; 
tags, which raises the question "why not just use the tag then?" -- 
basically, I want everything using the same mechanism, if at all 
possible.  As most of these buttons/links appear within multiple forms 
(and occasionally standalone) I can't use &lt;input type="image"&gt; 
tags because of their implicit <i>submit</i> on click.  On the plus side 
their borders/margins can be disabled!</p>

<p>Second, I can't seem to figure out how to have a proper 'onmouseover' 
event when hovering over a button.  The button normally pops up a little 
tooltip (via the <i>title</i> attritubte), but I want to pop up a 
thumbnail of the next/prev image when the mouse hovers over the button 
as well as the tooltip.  I could probably hack something together via a 
hidden &lt;div&gt;, but I'm almost over my head as it is.</p>

<p>The goal of these buttons is to enable a pure-text interface, making 
it trivial to translate it into different languages -- and the crucial 
bit is that the rest of the code can't care what the UI looks like.</p>

<p>Hacking HTML/Javascript/CSS/DOM is a far cry from the kernel-land 
hackery I spend most of my time in.  To say nothing of my 
continuing distaste of PHP!</p>]]></description>
</item>
<item rdf:about="http://www.shaftnet.org/users/pizza/archives/2006/05/16/index.html#e2006-05-16T10_38_58.txt">
<link>http://www.shaftnet.org/users/pizza/archives/2006/05/16/index.html#e2006-05-16T10_38_58.txt</link>
<title>PHP:  PHP Hacker Peachy</title>
<dc:date>2006-05-16T10:38:58-05:00</dc:date>
<dc:creator>Solomon Peachy</dc:creator>
<dc:subject>Free Software</dc:subject>
<description><![CDATA[<p>It's official; I am now the maintainer of Photo Organizer, the 
software that powers my collection of photographs.  ShaftNet is now 
hosting the main <a href="http://po.shaftnet.org">Photo Organizer</a> 
site, as well as bugtrackers, mailing lists, and the source code.  
Here's to my future as a PHP hacker.</p>
<p>..PHP still makes me ill every other time I see it.  I keep getting 
the idea of rewriting Photo Organizer using mod_perl, which will surely 
make a lot of other people feel quite ill.  :)</p>]]></description>
</item>
</rdf:RDF>
