agillo.net | about me

All Posts

Circle Trails

Tested in chrome/safari. Not as smooth as desired in firefox Since I've read Secrets of the javascript Ninja my opinion of javascript has risen further. Initially a lot of its peculiarities seem slightly evil, and when coming from a language like java, downright counterintuitive. I would use this and hope...

Conways game of life

The universe of the Game of Life is an infinite two-dimensional orthogonal grid of square cells, each of which is in one of two possible states, alive or dead. Every cell interacts with its eight neighbours, which are the cells that are horizontally, vertically, or diagonally adjacent. At each step...

Loving Python

Python is extremely easy to learn and besides a few warts a joy to program in. I really like the 'pythonic' approach to focus on readibility over cleverness, ie. explicit is better than implicit. This makes it really easy to open up a python library and quickly understand what is...

Simple Vim Window Management

When I use vim I find myself constantly, opening windows, splitting them and generally putting production code next to my specs. Sometimes on a really big screen I'll manage a 5 window split. I have yet to find an editor that gives me the same power and speed in window...

Ruby Enumerable Mindmap

Having come to ruby just recently from scala and groovy one of the things that frustrates me most is knowing exactly what I want to do to a list, but not knowing the name of the method. I have rdoc open in a browser, but basic operations like list manipulation,...

Monty hall and why you shouldn't trust your statistical intuition

A lot of interesting books have been written in the last few years about randomness, the future, and just how bad us humans are at understanding risk. Risk is all around us, in the market, job interviews, business ventures - it plays a part in every important decision we make....

Getting groovy with Fibonacci

After reading an article on Memoization I had a little fun with the Fibonacci sequence in groovy to try it out. As a developer Fibonacci is probably well known to you. Not because it serves any practical value, but because of its tendency to pop up as the defacto example...

Regex Primer : Part 2

This article is a continuation of Regex Primer - Part 1. If you haven't read that yet, it might be prudent to do so first. You can test the queries as you go here Negation [^ ] Ok! We've been introduced to []. One important feature we haven't covered is...

Regex Primer : Part 1

There is a tool for every job, and when it comes to searching text - regex is the king. As a developer, dealing with text day in and day out, learning regex is one of the best things I did to up my productivity. it crosses over programming languages. Making...

Zen And The Art Of Programming: Beginner's Mind

I’ve been reading the book Zen in the Art of Archery. It is the true story of the western philosopher, Eugen Herrigel, who goes off to study the craft of Japanese longbow shooting. And if you have any interest in Zen or eastern mysticism I can’t recommend a better introduction. Interestingly enough,...