August 16, 2008

Twitter parsing

In Twitter parlance, a “badge” is a compact status indicator you can insert into your own web site to display your latest tweets. For this blog, I took the HTML/JavaScript badge code offered by Twitter, added a modification from Jon Aquino, and tweaked the display.

I enhanced it so that if a tweet is a reply (beginning with a username, like “@allenhuffman Hi, Allen!”), the addressee is indicated more formally (“To allenhuffman: Hi, Allen!”).

Then I added some fancy JavaScript and DHTML to display the tweet with a sliding-open motion. There’s some neat math involved in making the animation look smooth.

Just a short while ago, I added more content parsing: Any username within the tweet is linked to the user’s Twitter page, URLs are linked, and any hashtag (a word starting with “#”, signifying a specific topic, like “#olympics”) is linked to a Twitter.com search for that tag.

August 15, 2008

My irony meter just burned out

Bullying and intimidation are not acceptable ways to conduct foreign policy in the 21st century.

George W. Bush, 15 August 2008

August 14, 2008

Warm-up #1

I wrote this and stuck it on someone’s message board in Demarest Hall sometime in 1990 or ’91.

All apologies to the great Peter Schickele.

August 5, 2008

It’s Allen Huffman time!

So Allen posts a tweet on Twitter:

St.Chris seems to have me linked on his blog. Spiffy. Let’s all go post comments there. http://idiozeitgeist.com/

Bring it on. Bring it on.


Allen and St. Chris at The Puffin’s Roost, 6 December 2006.

August 2, 2008

I’ve always wanted to live in a neighborhood with you

Fred Rogers is one of my heroes, alongside Carl Sagan and Jim Henson.

Here he is, providing Congressional testimony in 1969, defending PBS funding.

July 31, 2008

For the want of an “a”

The London Times sub-editorial staff removes the word “a” from a review by restaurant critic Giles Coren; Giles Coren writes a thousand words in response. Warning: Liberally peppered with obscenities.

Follow-up: Sunday Times sub-editors respond with civility and aplomb.

(via Daring Fireball)

July 25, 2008

Your Latest Twit

I’ve added a sidebar item to the Idiozeitgeist home page that displays my latest Twitter update. You can click the text to go to my Twitter user page, where you’ll see my older entries as well.

For those of you unfamiliar with Twitter: It’s an easy-to-use micro-blog web site. You can post an entry (“tweet”) using your computer or a cell phone text message. Because many wireless text services limit their messages to 140 characters, that’s the maximum length of a tweet—an often frustrating limit, but it forces you to pare your message down to its concise essence.

You can also “follow” other Twitter users, either by having their tweets show up on your home page or by having their tweets texted directly to your cell phone. Me, I don’t have time for that—dear god, I sure do have the attention span for it, but that’s exactly why I don’t enable it.

Anyway, perhaps this will slightly compensate for the paucity of updatingness I’ve been inflicting on all six of you.

Update, 16 August: The text of the tweet is no longer a link to my Twitter user page. Instead, I’ve added a bullet-item link (St. Chris), plus links to other users I regularly read. Within the tweet text, however, I have added some fancy parsing to automatically link any @references to Twitter users, plus search links for #hashtag items.

July 5, 2008

In which a grievous omission is rectified

Kels turned 10 on June 7, but I didn’t have a good recent picture, so I didn’t post an entry at the time. Well, that won’t do, so I dug through my latest photos and I’ve added a backdated item for Kels’s birthday.

July 1, 2008

WALL•E

See it.

Don’t read reviews (which are almost uniformly glowing, but reveal way too much), don’t watch trailers or commercials (ditto on the too much), don’t go to the movie web site (which has some neato stuff)…not before you see it.

Go see it.

June 23, 2008

George Carlin

Damn. Dead at 71.