i made a twitterbot. and python is awesome.

Posted in Uncategorized on August 23rd, 2009 by admin – 1 Comment

This has been up for a while now, but I thought I’d share it.

dowcloses, my twitterbot. It posts every day what the DOW closed at, in case you’re a masochist and like to watch the decline of your net worth.

It was a quickie project that I did in Python, my new favorite language.  I’ve been a C programmer my whole life, and I’ve dabbled with Java and perl when necessary, but nothing really grabbed me.  Python is like no language I’ve used before, it really works with my head.

For a long time it dawdled along as a scripting alternative that lots of programmers just knew as “that language where whitespace matters”, but now that Google and several other big boys are really endorsing it, it’s getting more momentum, and I couldn’t be happier.

If you’re a programmer, and you use perl for your daily scripts, I can’t recommend Python highly enough.  You can pick it up over a weekend, it’s insanely powerful and fast, and easier to use than any language I’ve ever tried.  Honestly, it made me feel giddy with power, I was so used to programming being a struggle that I’d just assumed that’s how it would always be.

I’m doing a large scale project at work in Python now, and I’ve written several scripts to do web scraping, a la my twitterbot, or interacting with amazon through boto, and each and every time, I get up and running in a fraction of the time it used to take.   Python is badass.  Give it a shot.

playing around with time lapse

Posted in Uncategorized on May 23rd, 2009 by Tobin – 1 Comment

My camera has a “time lapse” feature which I’ve been eyeing ever since I got it.

I bought a tomato plant holder from Home Depot that proved unable to hold the weight of the tomato buckets I put on it, so I decided to build my own tomato stand, which should hold four five-gallon buckets of dirt no problem.

A construction project?  What a perfect way to test out the stop motion!  I left the camera running while I figured out how to build a 6-foot tomato-hanging cage, and it came out pretty well.

I gotta say, stop motion is damn fun.  Now I need to find more stuff that I can record.

Bay to Breakers 2009

Posted in Uncategorized on May 18th, 2009 by Tobin – 7 Comments

Tokyo Day 24

Posted in Japan on May 10th, 2009 by Tobin – 3 Comments

Tokyo Day 23

Posted in Japan on May 10th, 2009 by Tobin – Be the first to comment
I wanted to see the Beer Museum in Yebisu, so we headed out for a day of wandering around town.  Can’t resist a beer museum!  Paintings are for sissies.

IMG_6265.JPG

Yebisu Garden Place is very nice, there’s a lot of public spaces for hanging out and eating, and a large covered area for live music.

Tokyo Day 22

Posted in Japan on May 5th, 2009 by Tobin – 2 Comments

Tokyo Day 21

Posted in Japan on May 5th, 2009 by Tobin – Be the first to comment

Tokyo Day 20

Posted in Japan on May 2nd, 2009 by Tobin – 1 Comment

A statue with a food offering.  I think that’s a ramen packet.

Tokyo Day 19

Posted in Japan on May 2nd, 2009 by Tobin – 1 Comment

Nom.

Tokyo Day 15-18

Posted in Japan on April 23rd, 2009 by Tobin – 2 Comments

My lovely lady and I enjoy a pint or five at a local izakaya.  Good night.