May 7, 2006 Archives

it's all coming together

posted by tom / May 07, 2006 / leave a comment /

Catherine sent me this earlier today: Simpsons versions of the Battlestar Galactica cast.

the complete zunta guide to florence

posted by catherine / May 07, 2006 / 8 comments /

matty and his lady are a-heading to europe, and more specifically, florence, and he's asked for my input in the area. emboldened by my success in advising matt f. during his italy trip, i've put a massive amount of suggestions behind the cut for the beautiful city. feel free to chime in.

More »

weekend bullet points

posted by catherine / May 07, 2006 / 8 comments /

  • walking down to a classmate's house yesterday, i passed jamba juice, and went in for my first ever official jamba juice smoothie. it was pretty good. but what really got me was that they offer WHEATGRASS SHOTS. and no fewer than THREE PEOPLE DRANK ONE while i was there. andd they cost TWO DOLLARS. i'm sorry, is this california in the late 90s? what is going on here? is wheatgrass, like, a real thing and not a figment of my fevered, terrified imagination?

  • at a spinning class, my instructor, who is actually the best instructor i've ever had and a really nice guy to boot so i don't mean to make too much fun of him, put on that fly away song by lenny kravitz. i know, ew. and then he said, "this song was the first one i heard when i was coming off a plane back from europe. i was living in knoxville, tn, at the time. i heard this song, knew my life had to change, and i packed up and moved to colorado." my question: is he weird for changing his life because of a lenny kravitz song, or am i a bad person for thinking it's so many kinds of wrong to have lenny kravitz be a life-changing force?

  • i would like to be better at pool. i know that the easiest way to do this is to play pool a lot. and i promise to try to do that. but are there other methods or tangible advice that i can be given and absorb and then apply? because frankly, it's embarrassing. and i must be able to win everything i play at.

  • does halliburton have a spinning blade/invisible bridge division?

    posted by tom / May 07, 2006 / 3 comments /

    This is kind of fascinating. How do you design a warning sign for a nuclear waste repository that will remain dangerous for ten thousand years? How can you make that warning remain comprehensible and credible for twice as long as human civilization has existed?

    Apparently you start by commissioning a government study that considers hazards like psychotic mining robots and an Amazonian anti-male dystopia. Then you pour a lot of concrete.

    calling all nerds: tell me why this won't work

    posted by tom / May 07, 2006 / 4 comments /

    New project time. The SMS dealy should be released imminently — I just need to write the help system (and, uh, ignore a persistent bug and elusive bug). I should be able to wrap that up this afternoon.

    I've got a new project in mind, though. For a while I've wanted to be able to pipe sound around the computers in the apartment more easily. The Linux server is connected to a pretty nice stereo system, but it's a headless unit. We tried using SliMP3 as a webserver-based MP3 jukebox for a while, but the latency was pretty irritating. And besides, I want to be able to pipe other kinds of audio around — streaming internet radio, youtube soundtracks, even mail notification beeps. And I'd like for the various computers in the house to be able to use it (not simultaneously, though).

    There are various solutions to the problem of playing MP3s over a network, but I want something a little more universal and cheap. Ideally, it'd be an icon that sits in the system tray. Click on it and it turns green (or something) and all your sound starts magically coming out of a server connected to a set of nice, big speakers.

    This page shows the outlines of a solution. It involves piping raw audio samples across a network to something that catches them and shoves them at the soundcard. There's no buffering, but that should be okay — I want realtime audio, so that everything stays as closely sync'ed as possible. If the wifi gets spotty and some samples get dropped from time to time, that's fine. I've managed to get a proof of concept variation on the article working:

    On the server:
    listen for incoming data on port 1234 and pipe it to the rawplay application
    nc -l 1234 | rawplay

    On the client:
    convert an mp3 into raw audio samples
    mpg123 -s somemp3.mp3 > somemp3.raw
    print the raw data across the network to the rawplay instance on the server
    cat somemp3.raw | nc <server's ip> 1234

    This setup works decently — it sounds slightly weird, like the sampling rate is a tiny bit off and as if it has a weirdly flat frequency response. But I'm going to blame that on mpg123 for now. Unfortunately, this trick doesn't account for grabbing live audio off of your system — that's the hard part. But I think this example code, combined with SoundFlower and some OS X Sockets 101 (yet to be learned), should take care of that.

    Justin gave a demo of OS X software development on Thursday that made everything look encouragingly awesome and easy. Ideally I'll be able to wrap everything up in a slick GUI package, then resurrect my .NET skills and build a Windows version. Construct a proper server (a few dozen lines of Python should do), throw in FLAC support to avoid wasting bandwidth, and I'd have a pretty neat app.

    That's the plan, anyway. I'm sort of hoping someone will pipe up in comments and say "that's already been done, you can download it here".

    Google Analytics