Crude, But Effective

Yesterday birdhouse once again had all server CPU cycles consumed for a while by a comment spam blitzkrieg. A dozen customers with MT installations, some of them very high-profile, all getting hit by 100 or more simultaneous CGI requests, all of which are trying to do database lookups to check for moderation or spamminess status… resource madness. Now looking into apache-level protections against this kind of mass marketing denial-of-service attack, but meanwhile, I decided it was time to implement something I’ve been threatening to do for a while — hacked out a little shell script that stores paths to files commonly hit by the comment and trackback spambots. When run, it renames those files out from under the bots. When the flood is over, run it in reverse and it names them back. Yes, this means that legit comments and trackbacks are also disabled during that period, but at least the server stays responsive. When the spambots’ requests return 404s, they shoot their wads quickly and go away. Related discussion in the MT forums.

Music: Gregory Isaacs :: Give Me Land

Water Main

Watermain Not two weeks after a giant eucalyptus crashed outside my office door, today I suddenly hear a great gushing sound. Step outside and I’m in the shower. Workers removing the stump with a crane had pulled up a watermain, and a geyser shot up 40 feet in the air or so. A river flowed down into next building (my office was spared), and workers scrambled for 10 minutes to control the gush. Snapped a handful of pics and made a quickie slideshow.

Update: Got a kick out of the post on this at CalStuff, where they refer to me as “Professor Scot Hacker.” Professor? No idea where they got that information. Then the author goes on to say “go start a blog! They are fun and easy …” By that I guess he means “fun and easy to be wildly inaccurate.” 36 hours after writing the author to let him know I was not a professor, he hasn’t changed it. Then he calls me “Hackler” in a P.S. at the end of the entry. Sheesh.

Music: AIR :: Biological

Cosmic Craigslist

If you post to craigslist in the next few months, you’ll notice a new checkbox at the end of the submission form:

– ok to transmit this posting into outer space

According to their press release,

craigslist … announced plans to offer its users the opportunity to have their postings transmitted trillions of miles beyond the confines of the Solar System. … craigslist announced the ambitious plan after CEO Jim Buckmaster won an auction on eBay for the first private communication to be transmitted into deep space by Deep Space Communications Network, of Cape Canaveral, Florida.

On his own blog, Newmark reminds users that “we can NOT retrieve or cancel craigslist ads beamed into extrasolar space. (It’s been requested.)”

Via Newsosaur

Music: John Fahey :: The Transcendental Waterfall

Banana Slug

Miles Slug Miles found a banana slug in Tilden Park, sat watching it scoot for a long time, then made a little bridge for it to crawl under, a technique no doubt borrowed from the parallel universe of his choo-choo obsession. “Here you go, bana sug!” Stroked it gently. After treating it with care and sweetness for the longest time, he suddenly stood up and, without warning, stepped on it — hard. Amy shrieked, and suddenly he became very frightened, unsure of what he had just done. A child encountering his own power to hurt. Amazingly, the slug slithered away under its own steam. But later, over dinner, he became very sad and worried when the topic came up, seemed like he was going to cry. An opportunity to talk about life. All of these things so confusing and fascinating to a toddler. Phonecam image, love the fishbowl effect.

Google Maps Walking Tour

Google Maps is the coolest thing to happen to online maps since… online maps. But their basic location and navigation capabilities just scratch the surface. Thrown in GPS data, XML wrappers, and some simple animation techniques, and the possibilities crack wide open. Paul writes:

“Here’s an interesting combination of GPS, Google Maps and Flash (with cellphone GPS and photos to come in the future): A Google Maps walking tour of Keene, NH.”

Jon Udell (who created the walking tour) asks: What will we be able to do when there are millions of people walking around with GPS-enabled phones? And he answers himself: “We’re going to use them to collectively annotate the planet.”

Music: Bjork :: Oceania

Ride the Snake

Tub no longer draining. Did I let a Thomas the Tank Engine ColorForm slip down the hole at end of one of Miles’ baths? Nope, they’re all accounted for. Borrow a snake, unscrew the drain insert, snake won’t make it around the bend. Into the abyss — under the house on belly like a lizard, dirt in hair. Looks like once-upon-a-time workmen busted up the old tub with a sledgehammer — a great pile of foot-long jagged steel shards beneath the tub. Unscrew hose clamps from the rubber collar that conjoins downtube with S-curve. Jam snake into place, crank, crank, sweat, crank, cuss, crank. Feel like I’m getting nowhere, back it out, LO! : Massive wad of wife hair, eight inches long and as wide as the drainpipe itself, comes slithering out into my hand. A solid pound of hair and slime, paydirt! Re-assemble, slither back out, test from up top, scour the tub, leave hair prize out on display for all to enjoy.

Hard to describe why a job like this is so rewarding; perhaps it has to do with spending so many hours in front of a screen every day — getting your hair in the dirt and your hands in the goo is strangely satisfying. Life is rich.

Music: Bow Wow Wow :: Uomo Sex Al Apache

Intelligent MIDI Sequencing with Hamster Control

If you want your kid to go to Cornell and create a hamster-controlled MIDI device, the trick, apparently, is in making sure he has access to both a Habitrail and a Heathkit AO-1 Audio Oscillator construction set.

Guided by inputs based on hamster movements, Markov chains were used to perform such beat and note computations. In culmination, 3 simultaneous voices were produced spanning 3 octaves and 3 rhythmic tiers. Each voice was controlled by two hamsters: one that was responsible for adjusting the rhythmic qualities of the melody and another that modified the note sequence. With all of these elements in combination, an output was produced with very musical qualities. All of this was implemented using an Atmel Mega32 microcontroller, distance sensors, a HamsterMIDI Controller, and 6 hamsters.

I don’t pretend to understand all of this, but the output is lovely – some fusion of Philip Glass and Twink.

Thanks baald

Music: Half Man Half Biscuit :: Irk The Purists

What Would Jesus Drive?

Tectonic shift? Probably not, but it occurred to me recently that there was a sort of cultural/political musical chairs going on. Pro-nuke Greens! Pro-environment Christians!

On one hand, a growing cadre of pro-nuclear Greens — a notion* that would have seemed unthinkable a decade ago.

On the other, an apparently growing swath of pro-environment Christians. This makes so much sense to me – without being a Biblical scholar, I’ve always thought that the teachings of Christ pointed in important ways to environmental sensitivity; so the preponderant alignment of Christians with the profoundly anti-environment Bush administration has always seemed unsettling. It does make you wonder: What Would Jesus Drive?

OK, not a tectonic shift, but evidence that religious and political generalizations are always bound to fail… and to surprise.

* I swore I’d never use the word “notion” here, but there you have it.

Music: Musci – Venosta :: When A Dolphin Saves A Baby

The Power of Many

the power  of manyA couple of months ago, Christian Crumlish gave me a copy of his just-published book The Power of Many (How the Living Web Is Transforming Politics, Business, and Everyday Life). I’ve known Christian for a lot of years — back when Birdhouse was primarily an arts collective publishing “new media” works by artists discovering the web for the first time, he invited me to join antiweb (ironically no site currently online) — a loose collective of web developers scattered around the world, trying to find the capabilities and limits of the new medium. Christian, a writer of dozens of computer books, also ran Enterzone, an online literary e-zine.

Christian’s latest book is not only his first to appear in hard-cover, but also his first that’s not a technical/how-to; rather, it’s an exploration — at turns straightforwardly journalistic, nearly stream-of-consciousness, and scholarly — on the transformative power of online communities. Crumlish goes behind the scenes not technically, but anthropologically, examining how weblogs and wikis, social networking sites, web services, SMS, discussion groups, flash mobs, etc. have transformed the way people gather and organize, both online and in meatspace. And he chronicles his involvement in the web-savvy Dean campaign, his deep roots in the Grateful Dead scene (whose online existence in many ways mirrors the ethos of the Dead culture), wanders through topics ranging from spontaneously self-organizing micro-communities to well-funded corporate and political action groups.

On first discovering online journals, most people find them puzzling, a paradox. Who would put their private diary online? … Omigod, my mother read my blog! Indeed, there are countless stories of people who misjudged the effects of putting their thoughts and ideas into the public domain and who lived to regret the confidences broken, the parties offended by their snarky comments, their exposed secrets. In time, though, anyone who continues the exhilarating tightrope walk of online self-examination will manage to cultivate that gray area between public and private that seems just personal and revealing enough to draw in readers and invite scrutiny but that still holds back what truly belongs out of public view entirely.

Christian has always kept a finger in each of a dozen pies — I can never keep up with all the simultaneous online ventures he manages to keep afloat. His Radio Free Blogistan is another great read. And I still love his early hypertext fiction piece No Bird But an Invisible Thing.

Music: Steve Hillage :: Lunar Musik Suite