Category: internet

rss feeds for chicago venues

I’ve made available RSS feeds for both the Empty Bottle and the Bottom Lounge on my calendar page. Those of you who live in Chicago and regularly use a syndicated feed aggregator will find this interesting. The rest of you Luddites can just move along.

Thanks to Andy Baio of upcoming.org for some technical advice. In the future, I hope to inject these events right into upcoming.org, or (in a more perfect world), I expect the venues themselves (or their webmasters) to do the injecting.

getting the hourly news in mp3 format

Recipe for downloading the five-minute top of the hour news stream from NPR and converting it into mp3 format. Relies upon mimms, vlc, and lame. I had to use mimms because vlc won’t terminate upon reaching the end of an mms stream. I’m using lame’s phone preset, but you may find --preset voice to sound a little better. The hard part was getting VLC to output WAV format audio in faster than realtime. Unfortunately, NPR won’t stream the audio much faster than realtime, so the script takes about five minutes to run.

On OSX, you’ll want the path /Applications/VLC.app/Contents/MacOS/clivlc instead of just vlc.


#!/bin/sh
mimms -o /tmp/news.asf "mms://216.35.221.84/newscast/newscast.wma" 
vlc -I dummy /tmp/news.asf \
  :sout='#transcode{acodec=s16l}:std{access=file,mux=wav,url=/tmp/news.wav}' \
  vlc:quit
lame -S --preset phone /tmp/news.wav /tmp/news.mp3
rm /tmp/news.wav /tmp/news.asf

Coming soon, an AppleScript that will pause iTunes at or near the top of each hour and play this (or another) mp3.

greencards, greencards

I feel badly for Prof. DeLong, who is battling comment spam (and wrestling with Movable Type) over at his semi-daily journal. He’s currently swearing by MT-Blacklist, but I read another recent blog posting which complains that MT-Blacklist isn’t all it’s cracked up to be, and can even trade your spam problem for a server load problem.

The article goes on to suggest darkly that Google hasn’t acted against comment spam because of their financial stake in Blogger, but I think this is unlikely — I think it’s just a very hard problem. Staying ahead of a motivated attacker is nearly impossible, as countless computer security experts will attest — close one hole and a motivated attacker will just find another. I looked for a reference to this idea on Bruce Schneier’s site, but I couldn’t find one.

It’s the evil-Universe doppleganger of Open Source software development: not only do we have “given enough eyes, all bugs are shallow,” but also “given enough spammers, all opportunities will be exploited.” It’s the same everywhere — a truly determined attacker, no matter how many holes you plug, will find a new hole.

It’s not enough to blacklist commenters, to bayesian sort your email, to digitally-rights-manage your music, to X-ray every bag at the airport. Motivated parties will find a new way, a new method, a new weakness to exploit. There just isn’t a long-term technical solution, as far as I can see.

I shrugged it off, back in 1994, but maybe spam is going to turn out to be a big problem.

Staypressed theme by Themocracy