E-mail lets me do in an hour what I never had to do before.
 
December 31st, 2005

Rails: Light Goes On

Started stepping through OnLAMP’s Ruby on Rails tutorial this evening. A lot of foreign concepts — brave new world compared to PHP development. Then, suddenly, on page 3, I added a field to my database and wham! — that field was added to all relevant pages of my application. A text entry field for the edit, create, and update pages, and an appropriate column on the display pages. Number of lines of code added to the application: Zero the Hero. Change that field’s position in the database table, and its placement throughout the application changes automatically. The application automagically models itself after the form of the database. The dataset is the model for the application.

Granted, we’re just talking about the scaffolding here, but when I stopped to think of the number of files I need to modify in a PHP application to get the same effect (and how many times I’ve needed to wheedle through exactly that kind of repetitive work), just had to roll my chair back from the desk and take a deep breath. This has some pretty stunning ramifications.

Also amazing how much mileage Rails gets out of simple naming conventions. Name a model class Recipe and it will automatically map to a corresponding database “recipes” (the pluralization translation happens automatically). Stick to the conventions, and the need to write database CRUD (create, read, update, delete) code goes away. And elegant URLs are totally automatic too.

Newbie steps, but all of a sudden I’m “getting” what all the fuss is about.

Music: Albert Ayler :: Ghosts
December 31st, 2005

Brilliant 2006

Newyear-2006 May all of you enjoy the most brilliant and squinchy year possible (for a humanoid). We here at Birdhouse certainly intend to! Thanks to everyone for continuing to read despite my frequent lapses and misfires. You guys make it fun.

Pictured: Variant of this year’s holiday card. Technological marvel: We shot the image, photoshopped it in, uploaded to Snapfish, selected a “frame,” and had our cards ready for pickup at a local Walgreen’s an hour later. Soup to nuts. And for cheap.

Another techno marvel: In interminable checkout line for a small purchase at the Apple store yesterday. Attractive techno-hippy employee walks up with what appears to be a souped-up Newton and asks if anyone is paying by credit. I am. Dude uses the device (wireless) to scan my item, charge my card, and record my email address. Says my receipt is waiting in my inbox and “Good day, sir.” I walk out, dodging the rest of the line. Life is good.

Except that the cosmonaut pictured above is very, very sick right now, and it’s been a sad and fretful couple of days. Here’s to most-excellent Miles getting his health back very soon. Miles minus vital energy isn’t very fun.

Music: Rachel’s :: The Mysterious Disappearance Of Louis LePrince
December 30th, 2005

Birdhouse IRC Channel

Conceptualized initially as an alternate support avenue for Birdhouse users, but also serving as a multi-function water cooler, we’ve launched our own IRC channel! Accessible via the Live Chat option on the hosting pages, or through any standard IRC client. Come idle a while in #birdhouse on GIMPnet. No guarantees at any given time that anyone will be around, but we’ll see what grows.

Many thanks to IRC superfreak and Birdhouse backup sysadmin mneptok for all the IRC plumbing and text — I just plugged it in.

Music: Eek-A-Mouse :: Modelling Queen
December 30th, 2005

Dos

Just back from 21 Grand to hear Dos (Watt, ex-Minutemen and Kira, ex-Black Flag) jamming bass duets. They’ve been at this for 20+ years, through thick and thin, and play like it. Kind of humorous to watch Kira scamper and pogo as if drummer were present, and she’s a very good bass player, but stoic Watt is the amazing, fluid virtuoso. Not quite like anything you’ve heard before (if you’re thinking punk rock, stop). Watt:

dos (spanish for two, as in uno, dos, tres…) is kira … on bass/singing and watt on bass. that’s it – just two basses and her voice. sometimes watt’s voice too but not much. we’ve been together since the fall of 1985, this is my longest running band. I really dig playing w/dos. it started as an experiment w/making what’s commonly believed a backup instrument up front and paired off w/a twin, using pingpong-like arrangements to create a special space which is pretty much close to the deck but not smothered by competition. what we try to do is develop converstations between our two basses and create a landscape of low-end dynamic. in dos there is no hiding. this is both the challenge and the reward.

Standing room only, short show. Someone called nina put up a Flickr set of the evening.

Music: Spoon :: The Delicate Place
December 30th, 2005

Web-Site Dinner

“Daddy, guess what? I made Plato* a web-site dinner.”

“Really? What does it taste like?”

“Butter.”

“What did you make it out of?”

“Flour.”

* Our cat.

Music: Velvet Underground :: lisa says
December 28th, 2005

Who Gets No Spam?

Lebkowsky posts about his mostly-rosy transition from Outlook to Thunderbird, but wonders why the spam controls aren’t more robust. “… and though the junk mail filters are clearly catching a large percentage of the umpty hundreds of spams that fall into my mail bucket every day, there’s a bunch more that the filters miss.”

What I don’t get is why people are still dealing with daily buckets of spam on the client side at all. It’s been years since most mail hosts began offering excellent server-side spam handling (Birdhouse included). I’ve found the combination of SpamAssassin + ClamAV + RulesDuJour to be tremendously effective. And don’t forget to disable your “catch-all address — probably the most powerful single spam magnet you can have. After months of not landing a single false positive, I finally stopped using a server-side “Junk box” for monitoring at all – now I just set my spam threshold to 2.5 and let the systems delete spam before it ever hits my server-side mailbox.

Result: About 90% of the mail bound for my addresses is discarded without ever being seen by a human or handled by a mail client. What finally slips through the net is a grand total of about 3-5 spams a day.

On the TWiT podcast, John Dvorak gets teased regularly — by industry experts, no less — for his claim “I get no spam.” What’s so outlandish about that? If you’re still getting spam in your mail client, you probably just need to turn on the controls your mail host probably already has set up for you. And if your mail host doesn’t offer server-side spam controls, find one that does.

Music: Half Man Half Biscuit :: Bottleneck at Capel Curig
December 27th, 2005

Can I Get An Amen?

Nate Harrison discusses the history of the legendary “Amen Break” – probably the most-used drum sample in all of hip-hop, jungle… and advertising. An entire subculture based on a 6-second loop from an obscure 1969 R&B record.

Can I Get An Amen? is an audio installation that unfolds a critical perspective of perhaps the most sampled drums beat in the history of recorded music, the Amen Break. It begins with the pop track Amen Brother by 60’s soul band The Winstons, and traces the transformation of their drum solo from its original context as part of a ‘B’ side vinyl single into its use as a key aural ingredient in contemporary cultural expression. The work attempts to bring into scrutiny the techno-utopian notion that ‘information wants to be free’- it questions its effectiveness as a democratizing agent. This as well as other issues are foregrounded through a history of the Amen Break and its peculiar relationship to current copyright law.

Fascinating (relatively speaking) to watch how the progression of the needle across the LP inversely tracks the progression of your own QuickTime slider.

Lessig: “Culture is impossible without a rich public domain.”

Thanks Sean Graham

Music: T.Rex :: The Motivator
December 25th, 2005

What Would D. Boon Do?

For The Huffington Post, David Rees, author of the Rolling Stone comic Get Your War On, posts an over-the-top tribute to the Minutemen’s D. Boon on the 20th anniversary of his death. “… my career as a political cartoonist literally began the night I asked myself “What would D. Boon do?” before clumsily trying to make the comic-strip equivalent of a Minutemen song.”

The tribute is way hyperbolic, but all true. The Minutemen changed lives, mine included. Happy birthday Boon. Let the products sell themselves!

Music: The Minutemen :: Paranoid Chant
December 23rd, 2005

Roll-True Reel Spindles

Sears-Projector Planning to dig up our 30-40 year-old Super 8 home movies to watch with family this Christmas, and Dad’s projector’s gone belly up. Craigslist to the rescue. Every time I deal with Craigslist, I’m amazed by the sheer number of flakes and false starts — people who say they have what you need and then never respond again, or who say they’re interested in what you have to sell, make an appointment, and never show up. But amongst the clowns, some kind soul generally comes through. Scored this 1960s vintage Sears Super Automatic for a song (though the replacement bulb is going to cost more than I paid for the projector).

The machine itself is a work of art. Loved the manual that came with, full of golden lines like “It’s easy to splice 50-foot rolls of 8mm film together on Sears 400-foot reels for full half-hour shows.” Easy-peasy! Can’t imagine why this wonderful technology died…

Update: Jim Strickland pointed out a great source for old bulbs and lamps : ETE Tubes — they found me a working bulb for 1/3 the price of other bulb vendors, and shipped it 2nd Day Air. Wonderful.

Music: Smog :: Cold Blooded Old Times
December 22nd, 2005

The Chronic (What?) Culls of Narnia

Caught this amazing rap on SNL last weekend (Lazy Sunday) with Andy Samberg and Chris Parnell mackin’ on cupcakes, Google Maps, and “The Chronic.” “What?” “Culls, of Narnia.” Tip of the Kanga to Beasties, Matthew Perry, and Mr. Pibb. Amy and I have been riffing on this all week. Miles gets in on the act too. “Pass the chronic!” he yells, loud as he can, and we all fall down laughing.

Thanks selenevomer

Music: Mission of Burma :: Learn How
December 22nd, 2005

Server Move Complete

Went for it last night, and Birdhouse Hosting is now in its new home. Four hours to securely transfer 65 accounts totaling ~20GBs of data between two cPanel servers. Considering that there’s a lot more to transferring an account than copying a home dir around*, the cPanel-to-cPanel transfer mechanisms are pretty good at getting it right. DNS propagated overnight, and we’re live with a VPS in a quad-CPU, 8GB, hot-swap setup.

Only two small glitches to mop up this morning – the alternate SMTP port wasn’t open, and apache was configured to choose index.html before index.php when both present. Other than that, the migration was flawless and I can start thinking about making a Christmas shopping list. Let’s see, shouldn’t be too hard to come up with a tally of naughty and nice Birdhouse users…

* Users databases are off in /var/lib/mysql, mail forwarders and aliases are in /etc/valiases/*, mailing list archives are kept deep in the bowels, crontabs are here, quota settings are there, service plan features and packages somewhere else entirely, foobar is behind my left ear, and it all has to be packaged up neatly and restored on the other end inside an accompanying account with all passwords intact — not a fun job to do manually (I’ve been down that road) but pretty much effortless with the cPanel transfer mechanisms.

Music: ABBA :: Thank You For The Music
December 19th, 2005

Beefier Birdhouse

Birdhouse is moving! We’re about to undertake a migration of customers from our current dedicated server setup into a managed reseller environment, where we’ll be setting up shop on a beefy quad-CPU box under the watchful eye of a dedicated management team. As some of our sites get more and more popular, we’re seeing increasingly frequent load issues on the current single-CPU server that we can’t manage effectively. The goal is to free myself up from server performance considerations, so I can focus more on development and implementation.

To celebrate the move, we’ve just raised virtually all of the limits on all of our hosting plans — more email accounts, more databases, more add-on domains, more everything. It’s nearly impossible to stay competitive in an industry that puts the airline biz to shame when it comes to overselling, but we think these new plans bring us quite a bit closer.

The actual move may not happen for another day or two, but we’ve got nearly all our ducks in a row now. We’re not anticipating any downtime, crossing fingers. See you on the other side!

Music: Rickie Lee Jones :: Danny’s All-Star Joint
December 19th, 2005

Brilliant Sushi Doc

First foray into Google Video begins with a documentary on Japanse Sushi, with less emphasis on the food than on the customs and etiquette of the sushi-ya. Equal parts educational and comic-surreal. You’ll even learn why some Japanese people’s feet smell of vinegar.

“Maa maa maa maa.” “Oh toh toh toh.”

Thanks baald

Music: Bruce Lash :: Innocent People
December 16th, 2005

KTG POST Problem Licked

No response from iTMS affiliates program on the POST problem. Total brick wall trying to contact a human there, but I’m not ready to give up on being an iTMS partner while iPod is king. Finally solved it with a workaround (which I hate): If user voted on the previous lyric, the vote is processed, then, rather than displaying the rest of the output immediately, the browser is invisibly directed to the next page through a location header rather than POST. User still gets the same page she would otherwise, but links to iTMS now work without throwing a confusing “Re-POST?” dialog in the browser.

Also signed up as a Rhapsody affiliate, so non-iTunes peeps are not locked out. Most lyrics now have dual iTunes/Rhapsody artist links. Thanks to mneptok for kicking my butt on that.

Love how trivial it is to create links to artists in Rhapsody, e.g.: http://www.rhapsody.com/PatsyCline — which means I can auto-generate the URLs. So what was a 10-hour database population job for iTMS was a 5-minute job with Rhapsody. Hey Apple: Cluetrain!

Music: Chrissie Hynde :: Nebraska
December 15th, 2005

18-Carat Accuracy

Refreshing, after recent high-profile controversies about the accuracy of Wikipedia, to see the results of Nature’s blind side-by-side comparison of 42 Encyclopedia Brittanica and Wikipedia articles by dozens of scientists. Wikipedia fared only slightly worse relative to Brittanica’s accepted standard of accuracy. But how good is the standard?

Only eight serious errors, such as misinterpretations of important concepts, were detected in the pairs of articles reviewed, four from each encyclopaedia [emphasis mine]. But reviewers also found many factual errors, omissions or misleading statements: 162 and 123 in Wikipedia and Britannica, respectively. … “People will find it shocking to see how many errors there are in Britannica,” Twidale adds. “Print encyclopaedias are often set up as the gold standards of information quality against which the failings of faster or cheaper resources can be compared. These findings remind us that we have an 18-carat standard, not a 24-carat one.”

Thanks Paul

Music: Billy Bragg :: Between the Wars