Browsing All Posts filed under »Uncategorized«

The wrong duplication (reprise)

December 23, 2011

0

I came across this old post again today, and I still like what it has to say: The Wrong Duplication. Maybe I should add a code example…?

Global Day of Coderetreat

November 16, 2011

0

In case you hadn’t noticed, XP-Manchester is running a Coderetreat as part of the Global Day of Coderetreat on December 3rd 2011. You can find out everything you need to know by visiting our page on Eventbrite, where you can find FAQs, links to further information, and the all-important sign-me-up button. Oh, and it’s FREE… [Read more…]

Ubuntu, mysql and rails

November 10, 2011

0

I just upgraded my work laptop to Ubuntu Natty Narwhal, and then I found all my rails projects broken. Whenever I tried to run up a rails server, I got this: $ rails server => Booting WEBrick => Rails 3.0.3 application starting in development on http://0.0.0.0:3000 => Call with -d to detach Exiting /path/to/gems/activerecord-3.0.3/lib/active_record/connection_adapters/mysql_adapter.rb:30: in… [Read more…]

Don’t inherit code

September 28, 2011

1

I learned a long time ago that there are essentially three different kinds of relationship between two classes. They are, in order of increasing tightness: Uses, in which I care only about your public API; Creates, in which I also need to know your class; Inherits/extends, in which I can also see some of your… [Read more…]

Faster Rails controller specs

August 7, 2011

3

One of the Rails apps I work on has this: $ rspec spec #... Finished in 61.82 seconds 475 examples, 0 failures 61 seconds!  (And on top of that I have to wait another 15 seconds for Rails load; that’s a whole other story, and I hope to come back to that in a future… [Read more…]

When software smells bad

July 29, 2011

0

It turns out I co-wrote the feature article in this month’s Better Software magazine!

Wabi-Sabi

July 10, 2011

0

I just posted this review of Wabi-Sabi: For Artists, Designers, Poets and Philosophers by Leonard Koren: This is a wonderful little book about the Japanese art style called Wabi-sabi. The book is short, and many of the pages consist solely of full-page photographs illustrating the ideas. So it’s a quick read, but worth taking the… [Read more…]

Hexagonal architecture: reprise

June 28, 2011

0

While browsing around other folks’ blogs today I came across a link to a post I wrote back in March 2005. Six years on I think it still stands up, and so I commend it to you, dear reader: The Middle Hexagon Should be Independent of the Adapters.

RIP Eliyahu M. Goldratt

June 12, 2011

2

“I smile and start to count on my fingers: One, people are good. Two, every conflict can be removed. Three, every situation, no matter how complex it initially looks, is exceedingly simple. Four, every situation can be substantially improved; even the sky is not the limit. Five, every person can reach a full life. Six,… [Read more…]

Code must be workable

June 8, 2011

1

“ I do not view a project as the sum of its code. Rather, it is the view of that code through the tooling that it is designed to take advantage of. By targeting my code towards my tools, I can get a lot of value with a lot less code.“ – Arlo Belshee, setting up… [Read more…]

Follow

Get every new post delivered to your Inbox.

Join 662 other followers