Skip to content

{ Category Archives } computing

Lessons from a Pure JavaScript Project: CoffeeScript

This is the second post in a series on observations and questions from implementing a single page pure JavaScript web application for a recent project. For background and the other posts in this series, see the introduction

Before joining this project I spent two weeks on another project helping them make a technology decision. This other [...]

Tagged , ,

Lessons from a Pure JavaScript Project

Our team is wrapping up the first release of a pure JavaScript, single page web application. No one on the team has ever built one of these before and it seems they are becoming the new hotness, so I thought it would be useful to attempt to write down some observations and questions. Hopefully, you [...]

Tagged , , ,

Steve.

As everyone knows by now, Steve Jobs died last Wednesday, 5th of October. I first found about it while browsing twitter, sitting in the departure lounge of San Francisco International airport. I think my tweets from then tell the story.

5:59pm: Fuck. 6:00pm: 

I started programming for the Apple //e back in 1986, when I was seven. [...]

Tagged ,

A modest proposal towards reusable step definitions for Cucumber

While the title is a nod to the original modest proposal this is completely serious. I just liked the title. Pez thought I should be more clear.

Typically, cucumber step definitions look like this:

When /^I select the recipient named “([^"]*)”$/ do |recipientname| within_jqm_page do page.find(’a', :text => recipientname).click end end

Step definitions implemented like this end [...]

Tagged , ,

Better Line Numbering in emacs

Earlier this year while pairing with Julio Maia, an unashamed vim user, I noticed that the line numbers didn’t count from the top of the file in his editor. Instead, all line numbering was relative to his current line. It looked something like this.

This was really cool. It’s really easy to navigate and edit when [...]

Tagged ,

Patterns for Bundler and rvm

A couple of long standing problems in the world of Ruby have been dealing with all the gems that are so easy to toss into your project and the differences between Ruby implementations. They do differ: between 1.8.6 and 1.8.7 standard library APIs changed. Slow clap.

In the world of adults the solution to these problems [...]

Tagged

Why WikiLeaks Matters

Much, but refreshingly not all, of the arguments about WikiLeaks have focussed on whether or not WikiLeaks was right to leak those diplomatic cables. Do governments have the right to private conversations? Individuals do, so why not governments? And if governments do, then what about corporations? Well, I believe all those arguments are missing the [...]

Tagged

Toys, Tools & Petrie Dishes

In my opinion there are three kinds of programming language.

Toys: Languages that were designed by one person to scratch an itch or serve particular purpose, no more. Ruby was designed by Matz for programmer happiness. C was designed by Ritchie so he could port that Space Invaders OS to a different machine than the PDP/10. Petrie [...]

Links in Tweets

There is currently some discussion about the dangers of URL shorteners. Joshua Schachter points out that shortened URLs damage the web – the ‘hypertext as engine of application state’ part of it. David Weiss points out the security concerns – phishing and a single compromisable point.

In this conversation most people point out that URL shorteners [...]