Posted by Mike on Jan 24th, 2010
With a baby boy on the way (due in early June 2010), I decided to start looking for fun stuff for my lil dude. I thought that maybe I’d have to wait a few years to unleash him on the world, but lo and behold there’s some seriously badass gear for infants and toddlers! [...]
Posted by Mike on Jan 14th, 2010
Niall Kennedy posted a now-famous article about using some browser trickery to determine what websites a user on your site has visited. I’ve taken that concept and created a module that can be used with the Dojo Toolkit javascript framework.
It provides two methods that you can use in your code, isVisited and isAnyVisited.
One important [...]
Posted by Mike on Jan 13th, 2010
The Python Imaging Library (PIL) offers easy photo manipulation from python scripts. There’s some handy sample code on effbot.org that demonstrates how to alter an image’s palette to generate a sepia tone effect. It first desaturates the image, then applies a new palette based on a linear ramp.
I’ve cleanup up that sample code [...]
Posted by Mike on Jan 13th, 2010
Here’s a little script-fu that can help determine how many lines of code were added vs. deleted for a single Subversion commit.
#!/bin/bash
if [ -z "$1" ]; then
echo "usage: $0 revision"
exit
fi
REV=$1
# Execute a svn diff on the revision, and search the output for deleted lines
# (begin with a [...]
Posted by Mike on Jan 8th, 2010
One of the greatest things about Flex and Air is the low barrier to entry for us software geeks. There’s nothing stopping any non-flash software dev from writing some kickass desktop apps. There’s no reason you have to buy anything to start writing, testing, and distributing Adobe Air apps. You don’t need [...]