0xDECAFBAD OPML Blog



Hi, my name is Les, and this is my plan. Looking for my usual blog? Try 0xDECAFBAD.

Heh - peak listeners on the TwitterGramCast is 2. The hack actually works, but there need to be more TwitterGrams flowing for it to be worth a full-time stream. But, if or when that happens... the technology will be ready. :) Permanent link to this item in the archive.

Twitter vs Pownce: Whereas Twitter is a personal status broadcasting service that's grown various forms of P2P messaging as a side-effect, Pownce goes straight for the inter-personal messaging with broadcast as a muted theme. Permanent link to this item in the archive.

Like TwitterGrams? Try my experimental streaming radio station. Permanent link to this item in the archive.

The stream currently plays each TwitterGram as it rolls in to the twitogram feed. When nothing new is available, some MP3s of birdsong from the freesound project are used for filler. Permanent link to this item in the archive.

I'm calling this thing TwitterGramCaster, and here's the code in SVN. It's the product of a night and a half of hacking to get out of a slump, and the documentation sucks so far. It's successfully run on my laptop (OS X), and on my server (Linux) - so I know it's relatively portable. To run it, you need icecast to host the stream and ices0 with embedded Python to provide a source for the stream. Other than that, I'll hopefully be more properly writing things up soon. Until then, enjoy the stream and explore the code. Permanent link to this item in the archive.

The stream is very experimental, and might go away at any time. Hopefully, if it's not quite working right, at worst you'll hear a nice soothing stream of birdsong. I really need to add in a post-fetch processing stage to normalize volume of the TwitterGrams and whatnot, and I've got some thoughts about using some text-to-speech to announce each TwitterGram. Audio avatars might be an interesting idea too. Permanent link to this item in the archive.

The main inspiration for this TwitterGramCaster hack comes from Russell Beattie's "Podcast Radio" idea, back in late 2004. I started poking around with implementing such a thing back then, but gave up. So, I picked up the pieces and got this up and running. Never played around with hosting an MP3 stream before, so this is pretty interesting stuff. Permanent link to this item in the archive.

Weird. Of course, now that I've blogged about the TwitterGramCaster, the XML feed I'm getting off the Twitter API appears to be going stale for past hour or so. Nothing but birds on the station. That's not entertaining. Switching quickly to the JSON feed and watching what happens. Permanent link to this item in the archive.

Hmm, no dice. The JSON feed looks stale now, and the XML feed has caught up. I wonder what the caching rules are on the API?  Permanent link to this item in the archive.

Ah hah: The Twitter API feeds, when fetched using authentication, seem to give fresh results. Of course, up until now, I'd ignored the line in the Twitter API docs which read: "With the exception of the public timeline, all Twitter API methods require authentication." So, I guess my attempts at anonymous calls were just vaguely humored with stale data. Permanent link to this item in the archive.

Oh, and of course I skimmed right over the line in the API docs that reads: "Clients are allowed 70 requests per 60 sixty minute time period, starting from their first request". I was making a request every 30 seconds and got blocked now that I'm actually authenticating. Ugh. Permanent link to this item in the archive.

I wonder if it would be more entertaining to loop the past hour or so worth of TwitterGrams until there's more of a steady stream, minimizing the amount of time spent in birdsong filler? Permanent link to this item in the archive.

A tinfoil-hat Apple theory to giggle at: The iPhone's physical design was established before the first iPod ever came out. Then, a series of generations were "devolved" from there, each looking cruddier than the last. The first iPod to come out started with the cruddiest of all, and each iPod generation since then was given the next canned less-cruddy design until finally the iPhone was a practical project. Then, finally, the iPhone was given the best of the design series. This progression has allowed each upgrade of the device family to make the previous one look old-and-busted, driving a chain of compelling device purchases. Permanent link to this item in the archive.

Hello world. Strange things are afoot at the Circle K. Permanent link to this item in the archive.

 

June 2007
Sun
Mon
Tue
Wed
Thu
Fri
Sat
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30

May   Jul

Click here for the XML version of the information displayed on this page.

Click on the coffee mug to add l.m.orchard's Instant Outline to your OPML Editor buddy list.
What Is This?

This is where a blogroll would go if I took the time to maintain it.

Weblog Commenting and Trackback by HaloScan.com