Authenticity
Life: , , , , , ,
2 comments

American culture has a big hang up for authenticity. Either something is or it isn’t. “Faker” or “wannabe” or “sell-out” are considered strong insults.

Continue this post

Greasemonkey Scripts: Gamasutra and Arlington Library
Code: , , ,
2 comments

I signed up to userscripts to share a few of the GreaseMonkey scripts I’ve written. If you’re not familiar, GreaseMonkey is a way of reprogramming websites for your own convenience, and userscripts is where folks can share what they’ve done.

Continue this post

Deploying Crontab With Your Rails App
Code: , ,
1 comment

This is a short one. If cron is an old friend, don’t futz around with weird Ruby. You know the pitfalls of cron (environment variables, long jobs without lock files). So write your crontab and check it into config/crontab.

Continue this post

Now Do You Know It Works?
Code: , ,
2 comments

You’re writing code to store a file on Amazon S3. It’s a popular, powerful, widely-used and highly-reliable service, and you know the Amazon S3 API pretty well. So you write a function that takes a file and a key name (filename), then calls the HTTP PUT to store the data. Do you know it works?

Continue this post

RailsRumble Postmortem
Code: , , , , , , , , , , , , , , ,
4 comments

I failed to launch my Rails Rumble project ConfReader. Why?

Continue this post

RailsRumbling
Code: , , , ,
5 comments

I’m participating in RailsRumble this weekend, from 8 PM Friday to 8 PM Sunday. The goal is to build a web application in Ruby on Rails in 48 hours, and I welcome the change of pace of a small project. It’ll be a fun weekend crunch to build it, and I hope it will be a long-term resource for the development community.

Continue this post

Don’t Play Hurt
Code: , , ,
5 comments

I love the c2 wiki. At least once a year I’ll dive in for a day or two and read a swath through its accumulated wisdom. As I learn and experience colors my perspective, I always find new things.

Continue this post

256-Color XTerms in Ubuntu
Code: , , , , , ,
10 comments

It’s not commonly used, but most Linux terminals can support 256 colors. It’s also a bit of a pain in the ass to set up if it doesn’t Just Work out of the box. Having spent a while today tinkering and searching and cursing and testing and trading mail/IM with folks who understand the eldritch depths of terminals better than I, I thought I’d write up my findings for anyone else who’d like spiffy colors.

Continue this post

14 Years to Unicode
Code: , , ,
1 comment

Last August I was chatting with some friends (every coder has an IRC channel with around six nerds they shoot the breeze with, right?) and said:

Continue this post

Rails URL Params as Types
Code: , , ,
No comments

Yesterday I (belatedly) took my friend Nola Stowe‘s advice and picked up a book she tech-reviewed, The Rails Way by Obie Fernandez. It’s been a great read so far (about 85 pages in), and I just realized that routing is largely about type conversion.

Continue this post