New Rails Plugin Available: YAML Twitter OAuth

When I build Twitter OAuth apps, I usually register three apps. One for development purposes, one for staging and user-acceptance testing, and the production application. Each of these registered apps will have a different Twitter OAuth Consumer Token and Secret. Instead of writing procedural code to set the right tokens up for each environment, or [...]

Read this article…

VoteFu is now available on GemCutter

@alexanderkahn asked me via Twitter whether I’d be pushing VoteFu to GemCutter. To tell you the truth, I hadn’t really thought about it. But, it does seem to be what all the cool kids are doing.
Want to see how easy it was to move to GemCutter?

ping:$ sudo gem install gemcutter
Password:
 
========================================================================
 
[...]

Read this article…
How I became convinced to use db:populate instead of db:migrate with inline data seeding, and why you should too.

How I became convinced to use db:populate instead of db:migrate with inline data seeding, and why you should too.

There’s a lot of established debate and best practice around how to populate your database with the initial reference data it needs in order to operate. I’m not going to rehash that here. If you’re interested in the options available for seeding data, read Luke Franci’s article on Rails Spikes. Many people I work with [...]

Read this article…

MyQuotable source code available again

I took the MyQuotable example code down from github for a little while because I’d hosed it up trying to convert it into a facebook application. A few users have emailed me in the past month or so asking where the code is located.
I’ve just republished the source code, so you can again download [...]

Read this article…
Why Rails Developers are at such peace with the world.

Why Rails Developers are at such peace with the world.

Because they already know the answer to the burning theological question that has ignited fury around the globe for thousands of years.

[pete@me.local log]$ which god
/usr/local/bin/god

Read this article…

The Case for Story Points

Scrum Masters embarking on a project or converting a team from conventional development to Scrum often run into one big roadblock: convincing the stakeholders to use Agile Estimation techniques. One of the most important and success-inducing things you can do when estimating an Agile project is to abandon the “hour” as the unit of estimation [...]

Read this article…

MyQuotable.com Source Code released

A number of VoteFu users have asked me for help integrating VoteFu into their codebase. I recognize that this means I’ve probably left the documentation lacking in a couple of places, but in order to immediately help those folks who want a reference implementation of VoteFu, I am releasing the full source code of MyQuotable.com. [...]

Read this article…

Amusing Javascript Snippet

I saw this posted on Jacqui Maher’s blog today and was so amused I had to reblog it.

if (!(typeof worldHasEnded == "undefined")) {
document.write("YUP.");
} else {
document.write("NOPE.");
}

From http://hasthelargehadroncolliderdestroyedtheworldyet.com/.
Aside from the very obvious “you don’t need to negate that test condition, just reverse your simple if and else clauses” issue, it’s [...]

Read this article…

VoteFu 0.0.7

A couple of contributors forked VoteFu and submitted some patches. I’ve updated the master branch to integrate the changes. Notably:

VoteFu now works as a standard gem in a Ruby application. (i.e. not as a Rails plugin)
VoteFu now works as a Rails Gem Plugin.
VoteFu now works with Rails 2.2.2.
Other assorted small bugfixes.

To install VoteFu as a [...]

Read this article…

Book musings: Ubuntu Kung Fu is released and other fun

I absolutely LOVE the cover of this book. And the book itself looks pretty decent, though how the author fills 300 pages with tricks and tips on Ubuntu it beyond me.
I’m not sure when it happened, but the technical world starting using amusing pictures of animals on the covers of their books some time in [...]

Read this article…