adl.io
beautiful technology
M E N U

Do You Want to be in the Software Business? Jan 06 2010

Lots of people seem to have been inspired by Tim Bray’s Doing it Wrong post just like I was. There’s a great response on rc3.org titled “Do you want to be in the software business?” that expresses a lot of the same issues I raised in The Ruby on Rails CMS Dilemma. The gist of the post is that you shouldn’t commission custom development unless you’re going to be “in the software business”.

Read more

The Line Diet - Rails Rumble 2009 Aug 23 2009

I’ve just completed my Rails Rumble contest entry for this year. I took a very focused project, and built it as a single solo developer. I’m extremely pleased with the way it turned out. The site was inspired by a recent post over at kottke.org about “The Steve Ward” diet (see Kottke’s source article from Philip Greenspun, it’s a good read… and not actually about dieting). After reading about this simple diet strategy (it’s nothing more than a graph paper of your daily weight), I decided to try it for myself; it works.

Read more

The Real Genius of the iPhone 3GS Jun 24 2009

Apple’s iPhone 3Gs has had a bit of a muted–dare I say disappointing–reception. Unlike with the 3G launch, very few of the new OS 3.0 features depend on the 3Gs model, and for most iPhone users (for me at least), there aren’t compelling reasons to upgrade. None of that matters, though. Apple’s going to make far more money for another reason: they didn’t discontinue sales of the regular iPhone 3G. Through AT&T subsidies, you can now get an iPhone 3G for $99.

Read more

The Ruby on Rails CMS Dilemma Jun 22 2009

Ruby on Rails is an excellent framework for building web applications. Perhaps the best. But it’s not currently very well suited to what I call web sites. The difference is simple. In a web site, the unique business value comes from the content creators (authors, bloggers, photographers, etc). In a web application, the business value comes directly from the programmers. Twitter, Google, Basecamp and eBay are web applications. CBSSports.com, KentuckyDerby.com, corporate brand sites and original news sources are all web sites.

Read more

Find Love Apr 01 2009

Just heard this great Clem Snide song, called Find Love on NPR’s All Songs Considered: Don’t let hurricanes hold you back Raging rivers or shark attacks Find love, and give it all away Find love, and give it all away Wrestle bears bring them to their knees Steal the honey from killer bees Find love, and give it all away Find love, and give it all away Don’t be scared to connect the dots

Read more

Update Row Values in MySQL Based on Order Clause

Say you have a database table which contains an integer sort order column, but it’s incorrect. Perhaps you forgot to sort before creating the records. Let’s say you have another column which, when sorted, would produce the correct order. You can use that column to fix the sort order column in pure SQL. Here’s an example using the MODX CMS, which has a menuindex column (the sorting column), and a pagetitle column.

Read more

Which Modules Implement a Drupal Hook?

Working on a deep-dive Drupal rescue project, we encountered an enormous mess of modules, and needed to know which of those modules were related to Ubercart checkout features. drush eval 'print_r(module_implements("uc_payment_gateway_charge"));' On a related note, the full list of available Ubercart hooks is here.

Read more

What am I About to Merge (with Git)

This is one of my own personal Git FAQs. Here’s the scenario: You’ve created a topic branch of new code, and done all the work required to complete the feature. But before you can merge it back into the main tree, you get assigned to some new work, and the branch sits dormant for several days. Now the time has come to merge that feature back in, but it’s been so long, you forgot exactly what the code included.

Read more