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 [...]
Posted by Mike on May 15th, 2009
If you’re ever been annoyed by VIM throwing your cursor to the left margin when you type “#” in a python file, there’s a simple remedy. It’s the fault of “smartindent” in VIM, which in reality isn’t all that smart. If you want to leave smartindent on but fix the weird hash behavior, [...]
Posted by Mike on Mar 29th, 2009
Just wrapping up a fantastic few days at PyCon Chicago 2009. I went with a group of about 10 guys from AGI, and we managed to have a little bit of fun in between some great mind-enriching talks.
Here are some notes I jotted down while at the conference. It’s a bit overwhelming, but [...]
Posted by Mike on Mar 12th, 2009
I Just got an email from Google, describing a new feature of AdSense dubbed “interest-based advertising.”
I don’t think it’s any shock that Google has the data to segment users based on their browsing habits. The shocker to me is that they’re making the result of that segmentation available to webmasters everywhere.
The full [...]
Posted by Mike on Mar 3rd, 2009
OMBC has published a tentative schedule of mountain bike races for 2009. The madness begins this month! I won’t be able to make the first race, as it conflicts with PyCon, but I’m hoping to tear up Vulture’s Knob soon thereafter. I’m getting antsy to get out there and see what all the [...]
Posted by Mike on Feb 23rd, 2009
After fighting with Ubuntu Hardy 8.04 for months to get WIFI working, I finally found a Dell driver [0] that worked on my HP laptop through ndiswrapper [1].
A few hours later with success claimed, I decided to upgrade to Ubuntu Intrepid 8.10, assuming I had conquered all possible obstacles and that anything in the future [...]
Posted by Mike on Feb 19th, 2009
I stumbled across “Dammit I’m Mad” by Demetri Martin, a rumored-to-be 224 word palindrome poem.
I was impressed, but needed to check the accuracy of such a statement. So I dialed up a python session.
import re
awesomedrome = """Dammit I’m mad.
Evil is a deed as I live.
God, am I reviled? I rise, my bed [...]
Posted by Mike on Feb 17th, 2009
Although I’ve been enamored with Python for the last 13 or so months, I’ve often dreamt longingly for days of Java glory. Things from the past seem so desirable at times — IDEs with good code completion and integrated debugging, staticly-typed compiler hand-holding, mature application servers and deployment tools. There was never much [...]
Posted by Mike on Feb 15th, 2009
I’m going to PyCon 2009! I’ll be there with a few other guys from work. We’re flying in Wednesday night, taking a tutorial on Thursday, and trying to have a little fun throughout the weekend.