Archive for August, 2007

The Governator at Work

Monday, August 27th, 2007

From the state budget :  http://www.cdcan.us/budget/2007-2008/FullBudgetSummary.pdf

  • I am vetoing $15,000,000 General Fund on a one-time basis for maintenance at state parks.
  • For support of State Air Resources Board. I reduce this item from $174,541,000 to $154,541,000.
  • I am deleting the $20,000,000 legislative augmentation for construction equipment grants that would be funded by increasing vehicle-related fees charged to the citizens of California. This proposal would carve out one industry, construction, for a state subsidy to comply with proposed air quality regulatory requirements. (grants were to be made available to help the construction industry phase out polluting equipment)

And on and on.  Used to be the Terminator would kill you with a shotgun blast to the face, now he just kills you with a thousand little cuts.

Python Libs for S3 - Thanks Hanzo Archives!

Thursday, August 23rd, 2007

I’d been working with the java libs and s3curl for modifying my s3 buckets and found them a pain.  I wanted a python s3 library that I could plug into all of the other python scripts that we’re using for backend glue.  Hanzo-s3-tools to the rescue.  This little library has a good api for talking to s3 and it has a set of command line utilities built on top of it that are both useful on their own and for learning how to use the core libraries.

Here’s the link:  http://code.google.com/p/hanzo-s3-tools/

Here are the utils that come with it:

s3get: download from s3
s3getacl: get access control list from s3
s3ls: list a bucket or buckets
s3mkbucket: make one
s3put: upload a file
s3putacl: set access control
s3rm: remove a key
s3rmbucket: remove the bucket

Thanks Hanzo Archives!