<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>Advogato blog for connolly</title>
    <link>http://www.advogato.org/person/connolly/</link>
    <description>Advogato blog for connolly</description>
    <language>en-us</language>
    <generator>mod_virgule</generator>
    <pubDate>Sat, 4 Jul 2009 22:41:43 GMT</pubDate>
    <item>
      <pubDate>Fri, 1 May 2009 16:16:02 GMT</pubDate>
      <title>1 May 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=67</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=67</guid>
      <description>&lt;b&gt;more on music collection and office organization&lt;/b&gt;&#xD;
&#xD;
&lt;p&gt; I'm still not sure how to manage my music files. Now that I&#xD;
have most of it on one big disk on a linux always-on machine&#xD;
(I hesitate to say server as I don't have a clear back-up&#xD;
strategy), I put our mac mini under the TV in the hearth,&#xD;
replacing the XO-1 laptop, in order to do video as well as&#xD;
just sound.&#xD;
&#xD;
&lt;p&gt; It doesn't make much sense, after all, to try to stay&#xD;
open-source-pure when it comes to listening to RIAA music&#xD;
and watching hollywood movies; I might as well have Steve&#xD;
Jobs negotiating my &lt;a href="http://www.tbray.org/ongoing/When/200x/2003/07/12/WebsThePlace" &gt;sharecropping&lt;/a&gt;&#xD;
deal.&#xD;
&#xD;
&lt;p&gt; &lt;a href="http://www.advogato.org/proj/mpd/" &gt;mpd&lt;/a&gt; uses .m3u files. They're pretty&#xD;
simple, but for archival purposes, I try to stick to XHTML.&#xD;
I wrote another little python ditty to do the conversion:&#xD;
see m3uin.py in r423:4a5a8b2d237c of&#xD;
&lt;a href="http://bitbucket.org/DanC/palmagent/" &gt;palmagent hg&#xD;
repo&lt;/a&gt;.&#xD;
&#xD;
&lt;p&gt; I run it like this:&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
$ python ~/projects/palmagent/m3uin.py&#xD;
/var/lib/mpd/playlists/Three\ Chords\ and\ the\ Truth.m3u&#xD;
&amp;gt;three_chords.html&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; and out comes:&#xD;
&#xD;
&lt;p&gt; &lt;blockquote&gt;&lt;ol&gt;&#xD;
&lt;li&gt;&#xD;
from &lt;cite&gt;A Song's Best Friend_ The Very Best Of John Denver [Disc&#xD;
1]&lt;/cite&gt;&#xD;
&lt;br&gt; by &lt;span&gt;&lt;b&gt;John Denver&lt;/b&gt;&lt;/span&gt;&#xD;
&lt;br&gt;&lt;a href="artists-popular/John%20Denver/A%20Song%27s%20Best%20Friend_%20The%20Very%20Best%20Of%20John%20Denver%20%5BDisc%201%5D/1-04%20Poems%2C%20Prayers%20And%20Promises.mp3" &gt;&lt;em&gt;Poems, Prayers And Promises&lt;/em&gt;&lt;/a&gt;&#xD;
&#xD;
&lt;p&gt; &lt;li&gt;&#xD;
from &lt;cite&gt;WOW Worship (orange)&lt;/cite&gt;&#xD;
&lt;br&gt; by &lt;span&gt;&lt;b&gt;Compilations&lt;/b&gt;&lt;/span&gt;&#xD;
&lt;br&gt;&lt;a href="artists-popular/Compilations/WOW%20Worship%20%28orange%29/1-01%20Did%20you%20Feel%20the%20Mountains%20Tremble.mp3" &gt;&lt;em&gt;Did you Feel the Mountains&#xD;
Tremble&lt;/em&gt;&lt;/a&gt;&#xD;
&#xD;
&lt;p&gt; &lt;li&gt;&#xD;
from &lt;cite&gt;Family Music Party&lt;/cite&gt;&#xD;
&lt;br&gt; by &lt;span&gt;&lt;b&gt;Trout Fishing In America&lt;/b&gt;&lt;/span&gt;&#xD;
&lt;br&gt;&lt;a href="artists-popular/Trout%20Fishing%20In%20America/Family%20Music%20Party/14%20-%20Back%20When%20I%20Could%20Fly.flac" &gt;&lt;em&gt;Back When I Could Fly&lt;/em&gt;&lt;/a&gt;&#xD;
&lt;/ol&gt;&#xD;
&lt;/blockquote&gt;&#xD;
&#xD;
&lt;p&gt; Not only can us humans make sense of that, but it's &#xD;
got RDFa attributes sprinkled here&#xD;
and there that make it yummy Semantic Web Data&#xD;
so that we can delegate processing to machines:&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
Jukebox$ xsltproc --novalid&#xD;
http://www.w3.org/2008/07/rdfa-xslt three_chords.html &#xD;
&amp;gt;three_chords.rdf&#xD;
Jukebox$ rapper three_chords.rdf -o turtle | less&#xD;
rapper: Parsing file three_chords.rdf with parser rdfxml&#xD;
rapper: Serializing with serializer turtle&#xD;
rapper: Parsing returned 77 triples&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; and out comes:&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
@prefix h: &amp;lt;http://www.w3.org/1999/xhtml&amp;gt; .&#xD;
@prefix dc: &amp;lt;http://purl.org/dc/elements/1.1/&amp;gt; .&#xD;
@prefix foaf: &amp;lt;http://xmlns.com/foaf/0.1/&amp;gt; .&#xD;
@prefix mo: &amp;lt;http://purl.org/ontology/mo/&amp;gt; .&#xD;
&#xD;
&lt;p&gt; &amp;lt;three_chords.rdf#album1&amp;gt;&#xD;
    dc:title "A Song's Best Friend_ The Very Best Of John&#xD;
Denver [Disc 1]" ;&#xD;
    mo:track&#xD;
&amp;lt;artists-popular/John%20Denver/A%20Song%27s%20Best%20Friend_%20The%20Very%20Best%20Of%20John%20Denver%20%5BDisc%201%5D/1-04%20Poems%2C%20Prayers%20And%20Promises.mp3&amp;gt;&#xD;
;&#xD;
    a mo:Record ;&#xD;
    foaf:maker &amp;lt;three_chords.rdf#agent1&amp;gt; .&#xD;
&#xD;
&lt;p&gt; &amp;lt;three_chords.rdf#agent1&amp;gt;&#xD;
    a foaf:Agent ;&#xD;
    foaf:name "John Denver" .&#xD;
&#xD;
&lt;p&gt; &lt;/pre&gt;&#xD;
&#xD;
&#xD;
&lt;p&gt; In my March 2008 item, &lt;a href="http://dig.csail.mit.edu/breadcrumbs/node/228" &gt;hAudio&#xD;
for microformats mixtapes, in progress&lt;/a&gt;, I tried using&#xD;
microformats but struggled since hAudio was still sparsely&#xD;
documented and changing. In contrast, RDFa and the music&#xD;
ontology were pretty easy to work with.&#xD;
&#xD;
&lt;p&gt; As I said in my Aug 2008 item, &lt;a href="http://dig.csail.mit.edu/breadcrumbs/node/240" &gt;The details of data in documents; GRDDL,&#xD;
profiles, and HTML5&lt;/a&gt;, one of the options&#xD;
is that "People who want to put data in their HTML&#xD;
documents use &lt;a href="http://esw.w3.org/topic/RDFa" &gt;RDFa&lt;/a&gt;".&#xD;
&#xD;
&lt;p&gt; I'm looking into getting metadata from the audio&#xD;
file, not just the path name. In particular,&#xD;
using the &lt;a href="http://code.google.com/p/quodlibet/wiki/Mutagen" &gt;mutagen&lt;/a&gt;&#xD;
library I can see that iTunes stores CDDB IDs when it rips&#xD;
music and I'd like to use those to ground&#xD;
my data globally:&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
MPEG 1 layer 3, 160000 bps, 44100 Hz, 246.81 seconds (audio/mp3)&#xD;
COMM=iTunNORM='eng'= 00000550 000001F3 00002A22 00002F25&#xD;
00021A29 000219F5 0000707F 00006A4C 0003536D 0002B40A&#xD;
TPE1=John Denver&#xD;
TDRC=2004&#xD;
TIT2=Poems, Prayers And Promises&#xD;
TENC=iTunes v4.7&#xD;
TRCK=4/20&#xD;
TPOS=1/2&#xD;
TALB=A Song's Best Friend: The Very Best Of John Denver [Disc 1]&#xD;
COMM=iTunes_CDDB_IDs='eng'=20+F0DCFC688BB846194D1DA27AC6EAF16D+4607205&#xD;
TCON=Country&#xD;
TCOM=John Denver&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&#xD;
&lt;p&gt; Yet ToDo: connect this with &lt;a href="http://neurocommons.org/page/ImmPort/PDB" &gt;ImmPort/PDB&lt;/a&gt;&#xD;
in neurocommons/science commons/creative commons work (&lt;a href="http://svn.neurocommons.org/svn/trunk/convert/pdb-immport/" &gt;pdb-immport&lt;/a&gt;&#xD;
code in SVN),&#xD;
 &lt;a href="http://www.thenationaldialogue.org/ideas/linked-open-data" &gt;Linked&#xD;
Open Data&lt;/a&gt; for the U.S.A. recovery IT infrastructure,&#xD;
and maybe XBRL stuff.&#xD;
&#xD;
&#xD;
&lt;p&gt; See Also:&#xD;
&#xD;
&lt;p&gt; &lt;ul&gt;&#xD;
&lt;li&gt;&#xD;
2007-07-22 &lt;a href="http://www.advogato.org/person/connolly/diary/53.html" &gt;Music&#xD;
Collections and Office Organization&lt;/a&gt;&#xD;
&#xD;
&lt;p&gt; &lt;li&gt;&#xD;
2009-01-01 &lt;a href="http://www.advogato.org/person/connolly/diary/61.html" &gt;&lt;cite&gt;Still&#xD;
struggling to catalog CDs&lt;/cite&gt;&lt;/a&gt;&#xD;
&#xD;
&#xD;
&lt;/ul&gt;</description>
    </item>
    <item>
      <pubDate>Sat, 25 Apr 2009 16:42:14 GMT</pubDate>
      <title>25 Apr 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=66</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=66</guid>
      <description>still outfitting this netbook... well, I brought the acer &#xD;
back and got the msi Wind U120 that I asked for in the 1st &#xD;
place.&#xD;
&#xD;
&lt;p&gt; The . key is tiny and shifte over a little. I regularly &#xD;
hit / when I mean . and I don't know whether I'll be able &#xD;
to retrain myself.&#xD;
&#xD;
&lt;p&gt; I'd like to try the Ubuntu netbook remix; Ubuntu recommends &#xD;
putting a jaunty jackalope daily build on flash drive; I &#xD;
tried that, but (a) it took forever to write 1GB+ to a &#xD;
flash drive and (b) the machine won't boot from flash drive.&#xD;
&#xD;
&lt;p&gt; Wubi worked, but having my Ubuntu world live inside NTFS &#xD;
doesn't feel right.&#xD;
&#xD;
&lt;p&gt; I have an external USB CD drive; I'll eventually use that &#xD;
to re-install, I think.&#xD;
&#xD;
&lt;p&gt; Meanwhile, Ubuntu doesn't seem to grok the wireless card. &#xD;
(There's a bug in launchpad and I subscribed to it. IOU one &#xD;
link...)&#xD;
&#xD;
&lt;p&gt; So I'm trying out Windows for the 1st time in years. I want &#xD;
to update one of my hg-backed web sites. TortoiseHg seems &#xD;
like a good approach... the 1st N attempts to download it &#xD;
yielded "file is corrupt" when I tried to run it; I didn't &#xD;
think switching from chrome to Opera would help, but it &#xD;
did. Hmm... could chrome really screw up downloading that &#xD;
badly?&#xD;
&#xD;
&lt;p&gt; Now I'm trying cygwin and ssh and such. Wish me luck...&#xD;
</description>
    </item>
    <item>
      <pubDate>Sat, 18 Apr 2009 12:31:24 GMT</pubDate>
      <title>18 Apr 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=65</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=65</guid>
      <description>I'm trying out a new netbook&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; The keyboard is quite small; at first, touch-typing&#xD;
didn't &#xD;
work &#xD;
at all, but I seem to be getting the hang of it. It's a &#xD;
good thing clicking on the trackpad works; the button is &#xD;
hopeless.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; I hope/plan to have it run Ubuntu as well as the&#xD;
WinXP that &#xD;
came on it, but I'm really struggling to get Ubuntu on it:&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt;   * The ubuntu "jaunty jackalope" image (@@link) is&#xD;
1GB, &#xD;
which takes quite a while to download and even longer to &#xD;
write to the SD card (I seem to get 1.1 Mb/sec sustained).&#xD;
  * This machine won't boot from its media card slot &#xD;
(@@cite source)&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; I managed to boot debian-from-scratch with an&#xD;
external CD, &#xD;
but it couldn't recognize the ethernet card. What's the &#xD;
equivalent of lsusb under WinXP?&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; I'm using Opera rather than firefox just now; I&#xD;
figure if &#xD;
I'm gonna use a closed-source operating system (Win XP) I &#xD;
might as well try Opera while I'm at it. Boy, is Internet &#xD;
Explorer bloated with ads and such.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; The google toolbar seems to bind a bunch of keys that I &#xD;
accidentally hit on occasion. Annoying.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; This machine is an Acer; I could swear I asked the&#xD;
guy at &#xD;
Micro Center for an MSI Wind.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; The USB disk enclosure is wrong again too: it's IDE&#xD;
when I &#xD;
need SATA. And the $20 wifi router won't play nice with my &#xD;
Brother HL-5250DN printer.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; Let's try copying the image to a Lexar SDHC 4BG card and see&#xD;
if it's any faster...&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
connolly@pav:~/Desktop$ dmesg | grep Attach&#xD;
&#xD;
&#xD;
&lt;p&gt; [82241.020775] sd 9:0:0:0: [&lt;b&gt;sdk&lt;/b&gt;] Attached SCSI disk&#xD;
&#xD;
&lt;p&gt; connolly@pav:~/Desktop$ sudo dd&#xD;
if=jaunty-netbook-remix-i386.iso of=/dev/&lt;b&gt;sdk&lt;/b&gt; bs=1M&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; wow! MUCH faster!&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
692+1 records in&#xD;
692+1 records out&#xD;
725796864 bytes (726 MB) copied, 14.9489 s, &lt;b&gt;48.6 MB/s&lt;/b&gt;&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&#xD;
</description>
    </item>
    <item>
      <pubDate>Mon, 23 Feb 2009 15:15:16 GMT</pubDate>
      <title>23 Feb 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=64</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=64</guid>
      <description>&lt;strong&gt;Family business blog: drupal or&#xD;
wordpress? self-managed or hosted?&lt;/strong&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; The &lt;a href="http://www.kcwebpros.com/" &gt;Kansas&#xD;
City Web Professionals&lt;/a&gt; meet this Wednesday. I started to&#xD;
post to their &lt;a href="http://www.linkedin.com/groups?gid=1190987" &gt;linkedin&#xD;
group&lt;/a&gt; about my recent trip to Web Directions&#xD;
North, but I figured hey: why drive ad revenue on linkedin&#xD;
rather than my own consulting business site, &lt;a href="http://www.midwestwebsense.com/" &gt;Midwest Web Sense&lt;/a&gt;?&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; But that site needs some maintenance.&#xD;
I set up &lt;a href="http://www.midwestwebsense.com/stories/" &gt;drupal on&#xD;
nearlyfreespeech.net&lt;/a&gt; and tried to get&#xD;
OpenID working with it... when I ran into glitches, I&#xD;
learned I'm already a major version behind. And the other&#xD;
drupal site in my life, &lt;a href="http://dig.csail.mit.edu/breadcrumbs/" &gt;breadcrumbs&lt;/a&gt;&#xD;
is falling apart because the drupal guy in our research&#xD;
group moved on.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; Yesterday, Kyle, my 9 year old son, agreed to help. So I&#xD;
explained about hosted blogs vs running your own, and where&#xD;
the ad revenue goes, and such.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; We had a fun hack session in my office; you can see his work&#xD;
on &lt;a href="http://choderbug.wordpress.com/" &gt;choderbug&lt;/a&gt;&#xD;
and as &lt;a href="http://twitter.com/wsouski" &gt;wsouski on&#xD;
twitter&lt;/a&gt;. I think he's starting to grok the community values:&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;blockquote&gt;&#xD;
@wsouski don't be a spammer, wsouski. don't be a spammer.&#xD;
&lt;/blockquote&gt;&#xD;
&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;Update: the  &#xD;
&lt;a href="http://chatlogs.planetrdf.com/swig/2009-02-22.html#T21-23-46" &gt;WP&#xD;
domains clue&lt;/a&gt; from mhausenblas in #swig was just&#xD;
the ticket to set up notes.midwestwebsense.com:&#xD;
&lt;a href="http://notes.midwestwebsense.com/2009/02/22/12/" &gt;Web&#xD;
Directions North ski trip was a blast!&lt;/a&gt;&#xD;
&#xD;
</description>
    </item>
    <item>
      <pubDate>Mon, 19 Jan 2009 05:48:43 GMT</pubDate>
      <title>19 Jan 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=63</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=63</guid>
      <description>I found something I was looking for via ohloh tonight... the&#xD;
only thing it knows about me is that I made a handful of&#xD;
commits to the W3C validation service in 2001. I started a&#xD;
&lt;a href="https://www.ohloh.net/accounts/connolly" &gt;profile&lt;/a&gt;&#xD;
and registered cwm as a project, but there wasn't enough&#xD;
instant gratification to keep me at it...</description>
    </item>
    <item>
      <pubDate>Fri, 2 Jan 2009 04:28:03 GMT</pubDate>
      <title>2 Jan 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=62</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=62</guid>
      <description>&lt;strong&gt;XO-1 as music front-end?&lt;/strong&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;blockquote&gt;&#xD;
Latest mt-daapd transcodes. Sweet. No more ripping flac to&#xD;
mp3 just&#xD;
for stupid iTunes&#xD;
  -- &lt;a href="http://identi.ca/notice/1550602" &gt;ndw 21 Dec&#xD;
2008&lt;/a&gt;&#xD;
&lt;/blockquote&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; Perfect; now that I have a new big disk, I can take our&#xD;
iTunes libraries, which have gotten sorta mixed up, and&#xD;
merge them into one big honkin networked library.&#xD;
&lt;a href="http://wiki.mt-daapd.org/wiki/Quickstart_Ubuntu" &gt;mt-daapd&#xD;
Ubuntu quickstart&lt;/a&gt; worked fine.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; But... how to access the songs from the living room?&#xD;
The roku soundbridge and stuff look nice, but I can't&#xD;
justify the cost. Likewise airport express.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; It just hit me: my xo-1 has wifi and a headphone&#xD;
jack.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt;&lt;strong&gt;update: it works!&lt;/strong&gt; I used &lt;a href="http://wiki.archlinux.org/index.php/Streaming_With_Icecast_and_MPD" &gt;mpd&#xD;
with output to icecast2&lt;/a&gt;. The documentation could use some&#xD;
diagrams, but once I got the picture, it was&#xD;
reasonably straightforward:&#xD;
&lt;ul&gt;&#xD;
&lt;li&gt;mpd indexes the music, takes commands over a network&#xD;
protocol from various clients such as pympd (linux) and&#xD;
theramin (mac), queues songs, and decodes and streams them&#xD;
&#xD;
&lt;p&gt; &lt;li&gt;icecast takes streams and buffers and&#xD;
multiplexes them to multiple clients&#xD;
&lt;li&gt;&lt;a href="http://olpcnews.com/forum/index.php?topic=863.0" &gt;mplayer&#xD;
on the XO-1&lt;/a&gt;&#xD;
listens to the stream and plays it thru the headphone&#xD;
jack&#xD;
&lt;li&gt;powered speakers in the living room play the results&#xD;
&lt;/ul&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; For bonus points: I'd like to control it from my&#xD;
sidekick&#xD;
(or g1). That should be just a matter of setting up a&#xD;
web-based mpd client and exposing it thru the firewall.&#xD;
&#xD;
&#xD;
&lt;p&gt; &lt;hr&gt;&#xD;
My related work:&#xD;
&#xD;
&lt;p&gt; &lt;ul&gt;&#xD;
&lt;li&gt;&#xD;
 &lt;cite&gt;&lt;a href="http://dig.csail.mit.edu/breadcrumbs/node/228&#xD;
" &gt;hAudio for microformats mixtapes, in progress&lt;/a&gt;&lt;/cite&gt;&#xD;
 by connolly on Thu, 2008-03-06&#xD;
&#xD;
&#xD;
&lt;p&gt; &lt;li&gt;&#xD;
&lt;a href="http://homer.w3.org/~connolly/projects/cdcat/" &gt;cdcat&#xD;
hg project&lt;/a&gt;&#xD;
2:20cfcde22c4e 2008-03-21 show barcodes not found in html output&#xD;
&lt;/ul&gt;&#xD;
&#xD;
&lt;p&gt; Related work by others:&#xD;
&#xD;
&lt;p&gt; &lt;ul&gt;&#xD;
&lt;li&gt;&lt;cite&gt;&lt;a href="http://siliconflorist.com/2009/01/08/using-your-android-phone-as-a-remote-for-controlling-music-playback/" &gt;Using&#xD;
your Android phone as a remote for controlling music&#xD;
playback&lt;/a&gt;&lt;/cite&gt;&#xD;
&#xD;
&lt;p&gt; Rick Turoczy | January 8, 2009 &#xD;
&#xD;
&lt;/ul&gt;&lt;/hr&gt;</description>
    </item>
    <item>
      <pubDate>Thu, 1 Jan 2009 21:42:35 GMT</pubDate>
      <title>1 Jan 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=61</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=61</guid>
      <description>&lt;strong&gt;Still struggling to catalog CDs&lt;/strong&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I'd like to catalog a bunch of CDs. My cuecat isn't working&#xD;
today; I'm not sure why not. And even if it were,&#xD;
&lt;a href="http://alexandria.rubyforge.org/" &gt;alexandria&lt;/a&gt;&#xD;
fails to make heads or tails of the list of ISBNs that I&#xD;
captured last time it worked.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I'm not quite ready to pay $40 for &lt;a href="http://www.delicious-monster.com/" &gt;Delicous Library&#xD;
2&lt;/a&gt;, but I'm getting there.&#xD;
&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;a href="http://zebra.sourceforge.net/" &gt;zebra&lt;/a&gt; looks&#xD;
interesting; I like the idea of scanning barcodes with a webcam.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I couldn't get the firewire DV camera that works great with&#xD;
kino to work with cheese or ekiga any other v4l app; dunno why.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; I broke out the old USB webcams; they still don't work.&#xD;
lsusb shows them as:&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;pre&gt;&#xD;
046d:08b2 Logitech, Inc. QuickCam Pro 4000&#xD;
0545:8333 Xirlink, Inc. Veo Stingray/Connect Web Camera&#xD;
046d:0870 Logitech, Inc. QuickCam Express&#xD;
0733:0401 ViewQuest Technologies, Inc. CS330 WebCam&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; lots of this:&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;pre&gt;&#xD;
$ cheese&#xD;
libv4l2: error dequeuing buf: Input/output err&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; The Ubuntu community seems to track this as &lt;a href="https://bugs.edge.launchpad.net/ubuntu/+source/libv4l/+bug/260918/" &gt;Bug&#xD;
#260918&lt;/a&gt;; I just subscribed.&#xD;
&#xD;
&#xD;
&lt;p&gt; p.s. quicken records show:&#xD;
&#xD;
&lt;p&gt; &lt;ul&gt;&#xD;
&lt;li&gt;2001/12/09 Best Buy Xirlink VEO PC Camera $26.74&#xD;
&#xD;
&lt;li&gt;2001/12/29 Best Buy veo pc camera 26.74&#xD;
&lt;li&gt;2002/12/21 COMPUSA #141 quickcam 59.99&#xD;
&lt;li&gt;2003/11/29 MICRO CENTER #191 quickcam express rev2 49.99&#xD;
&#xD;
&lt;/ul&gt;&#xD;
&#xD;
</description>
    </item>
    <item>
      <pubDate>Thu, 1 Jan 2009 21:32:25 GMT</pubDate>
      <title>1 Jan 2009</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=60</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=60</guid>
      <description>&lt;strong&gt;Reviving Home Movies with kino and ffmpeg&lt;/strong&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; I've tried digitizing movies before, but the codec&#xD;
puzzles&#xD;
were overwhelming. This year, Kino pretty much Just Works.&#xD;
After one permissions issue with /dev/raw1394 , it ate hours&#xD;
of video and produced nice collections of DV files with SMIL&#xD;
wrappers (hmm... I wish SMIL were an XHTML microformat...&#xD;
more on that another time). And it exports not only ogg but&#xD;
also consumer technology: youtube-style .flv and&#xD;
&lt;a href="http://en.wikipedia.org/wiki/Xvid" &gt;XVid&lt;/a&gt; that&#xD;
works with the $20 DVD player I got via craigslist.&#xD;
(Thanks for the clues, &lt;a href="http://www.longtailvideo.com/" &gt;longtail video&lt;/a&gt;.)&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;p&gt; One reason I swapped this task back in was that&#xD;
we ran&#xD;
across home movies on decaying analog media when cleaning up&#xD;
the basement. Another reason is all the storage space I have&#xD;
since I couldn't pass up a Micro Center hot deal: $70 for&#xD;
640GB of disk. That's 11 cents/GB.&#xD;
&#xD;
&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; update: kivo is flaking out, as is dvgrab.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; It's sorta silly to use DV format to capture video&#xD;
off VHS.&#xD;
It's also silly to capture all the uninteresting bits at&#xD;
high bit-rate. Better to make a cheapo FLV of the whole&#xD;
thing and then go back over the interesting parts.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; ffmpeg to vcd works; to do svcd, need unstripped libs&#xD;
per &lt;a href="https://bugs.launchpad.net/medibuntu/+bug/269997" &gt;medbuntu&#xD;
bug info&lt;/a&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt; &lt;p&gt; &lt;pre&gt;&#xD;
$ ffmpeg -t 2:00:00 -f dv -i /dev/dv1394/0 -target ntsc-svcd&#xD;
russia-vhs-capture.mpg&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; p.s. note &lt;a href="http://www.tbray.org/ongoing/When/200x/2008/05/05/Video-Pain" &gt;Video&#xD;
Pain&lt;/a&gt; by Tim Bray, May 2008.</description>
    </item>
    <item>
      <pubDate>Tue, 30 Dec 2008 18:34:00 GMT</pubDate>
      <title>30 Dec 2008</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=59</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=59</guid>
      <description>&lt;p&gt;woot! It works! Youtube videos on a &lt;a href="http://www.visual-land.com/vl567i_black.html" &gt;$30&#xD;
media player&lt;/a&gt;!&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;The &lt;a href="http://en.wikipedia.org/wiki/AMV_video_format" &gt;AMV&#xD;
format&lt;/a&gt; was new to me;&#xD;
I found a &#xD;
 &lt;a href="http://code.google.com/p/amv-codec-tools/wiki/HowToConvertToAMV" &gt;HowToConvertToAMV&lt;/a&gt;&#xD;
recipe,&#xD;
but that lacks support for mp4a, the audio codec&#xD;
used by youtube (at least the videos I tested).&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;Then I found &lt;a href="http://www.robpoyntz.com/blog/?p=180" &gt;adding&#xD;
--enable-faad to ffmpeg&lt;/a&gt;&#xD;
(don't forget to &lt;tt&gt;make distclean&lt;/tt&gt;) and presto:&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
$ clive&#xD;
'http://www.youtube.com/watch?v=3pYN42YyWp0&amp;amp;feature=related'&#xD;
clive 0.4.19 20080722  [Linux]&#xD;
http://www.youtube.com/watch?v=3pYN42YyWp0&amp;amp;feature=related&amp;amp;fmt=&#xD;
           100%&#xD;
BrianReganWalkieTalkie.mp4                                 &#xD;
              2.6MB&#xD;
=&amp;gt; 1 (2.6MB), failed: 0, skipped: 0.&#xD;
BrianReganWalkieTalkie.mp4                    100%    2.6MB&#xD;
 109.2KB/s 00:00:24&#xD;
&#xD;
&lt;p&gt; $ ~/src/amv-codec-tools/AMVmuxer/ffmpeg/ffmpeg -i&#xD;
BrianReganWalkieTalkie.mp4 -f amv -s 128x90 -r 16 -ac 1 -ar&#xD;
22050 -qmin 3 -qmax 3 BrianReganWalkieTalkie.amv&#xD;
FFmpeg version SVN-r589, Copyright (c) 2000-2007 Fabrice&#xD;
Bellard, et al.&#xD;
  configuration: --enable-gpl --enable-libfaad&#xD;
  libavutil version: 49.5.0&#xD;
  libavcodec version: 51.47.1&#xD;
  libavformat version: 51.17.0&#xD;
  built on Dec 30 2008 12:07:41, gcc: 4.3.2&#xD;
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from&#xD;
'BrianReganWalkieTalkie.mp4':&#xD;
  Duration: 00:01:13.7, start: 0.000000, bitrate: 291 kb/s&#xD;
    Stream #0.0(und): Audio: mpeg4aac, 44100 Hz, stereo&#xD;
    Stream #0.1(und): Video: h264, yuv420p, 320x240 [PAR 0:1&#xD;
DAR 0:1], 30.00 fps(r)&#xD;
PIX_FMT_YUV420P will be used as an intermediate format for&#xD;
rescaling&#xD;
Output #0, amv, to 'BrianReganWalkieTalkie.amv':&#xD;
    Stream #0.0(und): Video: amv, yuvj420p, 128x90 [PAR 0:1&#xD;
DAR 0:1], q=3-3, 200 kb/s, 16.00 fps(c)&#xD;
    Stream #0.1(und): Audio: adpcm_ima_amv, 22050 Hz, mono,&#xD;
64 kb/s&#xD;
Stream mapping:&#xD;
  Stream #0.1 -&amp;gt; #0.0&#xD;
  Stream #0.0 -&amp;gt; #0.1&#xD;
Press [q] to stop encoding&#xD;
frame= 1172 fps=343 q=0.0 Lsize=    3878kB time=73.2&#xD;
bitrate= 433.7kbits/s    &#xD;
video:3062kB audio:802kB global headers:0kB muxing overhead&#xD;
0.376436%&#xD;
&lt;/pre&gt;&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;Merry Christmas, Kyle!&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;It's not as nicely packaged as the Mac app Justin&#xD;
uses with his ipod, but it's cheaper and&#xD;
more &lt;a href="http://www.freedom-to-tinker.com/" &gt;free&lt;/a&gt;&#xD;
(I'm not sure if it's quite open source; I don't&#xD;
know the license details of the AMV code.)&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;See also: &lt;a href="http://chatlogs.planetrdf.com/swig/2008-12-30#T18-14-45" &gt;#swig&#xD;
chat, including notes on a mythv box.&#xD;
&#xD;
&lt;p&gt; &lt;p&gt;tags:&#xD;
&lt;a href="http://delicious.com/connolly/media" &gt;media&lt;/a&gt;,&#xD;
&lt;a href="http://delicious.com/connolly/video" &gt;video&lt;/a&gt;&#xD;
&lt;/a&gt;</description>
    </item>
    <item>
      <pubDate>Mon, 8 Dec 2008 15:39:32 GMT</pubDate>
      <title>8 Dec 2008</title>
      <link>http://www.advogato.org/person/connolly/diary.html?start=58</link>
      <guid>http://www.advogato.org/person/connolly/diary.html?start=58</guid>
      <description>&lt;b&gt;struggling to get my data out of Zope&lt;/b&gt;&#xD;
&#xD;
&lt;p&gt; I found a &lt;a href="http://www.zopelabs.com/cookbook/1054240694" &gt;recipe&#xD;
for iterating over the contents of a Zope store&lt;/a&gt;. It&#xD;
looks promising, but I'm not wining yet. My zope instance&#xD;
was built with zope 2.7 but the&#xD;
debian server has 2.9 now; 2.7 doesn't even show up in an&#xD;
apt-cache search.&#xD;
&#xD;
&lt;p&gt; This job of migrating dm93.org from Zope was pending an&#xD;
alternative to Zope for family calendar storage. Now that my&#xD;
wife's laptop runs Leopard, google calendar works as a host.&#xD;
&#xD;
&lt;p&gt; Then I somehow lost root when poeple.w3.org was upgraded or&#xD;
something, and I just recently got around to asking thru&#xD;
channels to get it back.&#xD;
&#xD;
&lt;p&gt; Time to swap this job out, I think; here's my current state:&#xD;
&#xD;
&lt;p&gt; &lt;pre&gt;&#xD;
connolly@flanders:~$&#xD;
INSTANCE_HOME=/var/lib/zope2.7/instance-dm93-disabled&#xD;
PYTHONPATH=/usr/lib/zope2.9/lib/python python&#xD;
Python 2.4.4 (#2, Oct 22 2008, 19:52:44) &#xD;
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2&#xD;
Type "help", "copyright", "credits" or "license" for more&#xD;
information.&#xD;
&amp;gt;&amp;gt;&amp;gt; from Zope2 import app&#xD;
&amp;gt;&amp;gt;&amp;gt; root=app()&#xD;
/u2/connolly/dm93/Products/LocalFS/LocalFS.py:51:&#xD;
DeprecationWarning: Using OFS.content_types is deprecated&#xD;
(will be removed in Zope 2.11). Instead use&#xD;
zope.app.contenttypes.&#xD;
  from OFS.content_types import find_binary&#xD;
No handlers could be found for logger "Zope"&#xD;
Traceback (most recent call last):&#xD;
  File "&amp;lt;stdin&amp;gt;", line 1, in ?&#xD;
  File "/usr/lib/zope2.9/lib/python/Zope2/__init__.py", line&#xD;
51, in app&#xD;
    startup()&#xD;
  File "/usr/lib/zope2.9/lib/python/Zope2/__init__.py", line&#xD;
47, in startup&#xD;
    _startup()&#xD;
  File "/usr/lib/zope2.9/lib/python/Zope2/App/startup.py",&#xD;
line 46, in startup&#xD;
    OFS.Application.import_products()&#xD;
  File "/usr/lib/zope2.9/lib/python/OFS/Application.py",&#xD;
line 685, in import_products&#xD;
    import_product(product_dir, product_name,&#xD;
raise_exc=debug_mode)&#xD;
  File "/usr/lib/zope2.9/lib/python/OFS/Application.py",&#xD;
line 723, in import_product&#xD;
    raise sys.exc_info()&#xD;
KeyError&#xD;
&amp;gt;&amp;gt;&amp;gt; &#xD;
&lt;/pre&gt;&#xD;
</description>
    </item>
  </channel>
</rss>
