Using python-dulwich to load any version of a file from a local git repo

On Monday we are kicking off an innovation week (more to come on that topic) and I’ve devised a little project that includes nearly every buzzword I’m interested in. I’m spending some time doing some technical spikes to see what is possible and I found a need to load a particular file from a git repo given the path and tree hash. I grabbed my trusty python, dulwich (native python-git library) and gave it a shot....

April 2, 2011 · 1 min · Aaron Held

OSX vs Ubuntu, Windows wins?

Ever since Barcamp I’ve been shopping for a personal laptop for general use as well as a development machine that I could use for work. Our work issued machine is a loaded mac powerbook. With a unix core osx has given me much of the power that I used to enjoy when I’d used linux as a primary os. However Apple is not doing wonders for free software and I felt the need to get back to my roots and move back to Linux....

January 2, 2011 · 2 min · Aaron Held

SpringSource - proving once again Java doesn't get the web

I just read an article in a java trade mag entitled: SpringSource CEO: “The Future of Enterprise Java is Clear and Bright” The premise sounds positive. Basically they took OSGI, Spring and threw it on Tomcat as a web server. The idea of being able to deploy OSGI bundles with the bag of beans development style of Spring is really compelling. What this negative post is about is how they still don’t get the ‘web’....

May 1, 2008 · 2 min · Aaron Held

Rest as a boring servlet

A coworker whipped up a generic REST interface for any Ruby on Rails activerecord (data model). What he described (in 5 minutes) was a nice implementation. I wanted see how the generic django REST interface was coded. http://code.google.com/p/django-rest-interface/ I was pleasantly surprised to realize that they Python developers simply used the normal form processing to handle rest and didn’t invent a new paradigm. On an early project we tried to implement RESTlet for a java based REST application....

April 22, 2008 · 1 min · Aaron Held

Motocycles and Python turn toil into joy

So today started out great. Temperatures in the 80’s, so I took the kiddies outside. I put my cellphone on the trunk of my sisters’s car, put the kids on their bikes, put skates on my feet and rolled out to enjoy the day. Things were going well with my littlest one making turns at each end of the block. My sister pulled up and shouted some encouragement as she drove past....

April 19, 2008 · 2 min · Aaron Held