Excel is not a database

The New Organizing Institute Education Fund, in conjunction with the Funders’ Committee for Civic Participation released the 2nd Annual Survey of Civic Engagement Technology. The report is full of interesting information on how nonprofits (mis)(ab)use technology to manage their organizations. APIs Page 9 of the report discusses data integration: Data Integration Many of the data …

Inspired by Cory Booker

The closing plenary of the Personal Democracy Forum — an hour long — was a great discussion between Cory Booker, Arianna Huffington, RNC tech chair Saul Anuzis, PDF founder Andrew Rasiej, NYT Times tech writer Nick Bilton and Tim O’Reilly. Cory Booker was by far the highlight. This man is inspiring. “The biggest thing we’re …

rake task for extracting database contents

This is the inverse of db:fixtures:load. I modified the version I found to take the FIXTURES environment variable as a parameter. Saved as gist 440058. # extract_fixtures.rake # by Paul Schreiber <paulschreiber at gmail.com> # 15 June 2010 # # I got this from Peter Gulezian <http://metoca.net/> # Looks like another version is here # …

TIFF file dimensions in Ruby

Using Ruby, I wanted to get the dimensions of image files without using a full-on image library. I found handy code for PNG, BMP, GIF and JPEG and adapted the JPEG code for TIFF. Saved as gist 431893. # TIFF.rb # by Paul Schreiber <paulschreiber at gmail.com> # 09 June 2010 # # Based on …