I have a bunch of half-written things that I haven’t finished because I haven’t been happy with the state of cross-posting between this blog and Livejournal and I haven’t really had the time to deal with fixing it. … If you’d rather that I didn’t cross-post, or didn’t cross-post everything, let me know and I’ll see what I can figure out about limiting it. … And for some reason my web server is uncooperative about providing me with useful errors in its logs (yes, I’ve double-checked the Apache configuration… it’s … something else). … LJ-XP has changed hands once or twice, and some of the older versions don’t point to the correct location for the current plugin (which is http://code.google.com/p/ljxp/ ).More
Given the current events in the US (or global) economy, “Bloom” rescues me from continually listening to only chill-out music and Radiohead’s most apocalyptic songs. Instead, “Bloom” allows me to anesthetize (or lobotomize) myself with a mini-Eno, embedded in my iPhone, happy to produce ambient music on demand or from my cue. … Tap out a few notes and it will play them back, looping them into a piece of ambient fuzz that could just as well be a song from "Music for Airports" . You can freeze the melody from evolving if you like it, but there are no provisions for saving, recording or sharing it, which is just as well.More
While MySQL has quite an assortment of date and time formats which it supports, I usually find it most convenient to store timestamps as an INT and just put the UNIX seconds since the epoch value in there. … A drawback is that sometimes when I’m working with the database by hand it’s annoying to see the timestamps as big numbers – sometimes it would be very helpful to see them as dates and times. … The “FROM_UNIXTIME()” function will interpret a numeric column’s value as a UNIX seconds-from-the-epoch value and show it as a date and timestamp. Using it I can easily do things like: SELECT URL, FROM_UNIXTIME(Timestamp) FROM AccessLog; and see it as: +—————————+————————–+ | URL | FROM_UNIXTIME(timestamp) | +—————————+————————–+ | explore/users/94 | 2008-10-05 22:49:39 | +—————————+————————–+ rather than +—————————+————+ | URL | timestamp | +—————————+————+ | explore/users/94 | 1223261379 | +—————————+————+More
The family pack is licensed for use for up to five machines in one household, and lists for $199, a pretty good deal for staying legal at less than the cost of two single user licenses. … At the time I wrote this, they were charging $26 less than list for the single user edition and $44.51 less than list for the family pack , both with free shipping. … You should be forewarned that, in my experience, the restore DVD that comes with a computer will only work with that computer or class of computers. … Amazon also has a pretty good deal on Leopard Server: $104.51 off the 10 user version (normal list price $499) and $168.46 off the unlimited user version (normal list price $999).More
I’ve been adding some belated email notifications to UVFood and in the process I ran into a frustrating problem: it wasn’t working at all. … Views are for rendering pages, but Catalyst::View::Email takes already-rendered text and then emails it somewhere. … I’ve written templates for the messages I need to send using HTML::Mason, so I need to render these templates before I can send a message.
…The fix is to fully qualify the view name, ie: my $v = $c->view(‘UVFoodApp::View::Mason’); Now I’m getting the correct component.More