‘Maker’s Schedule, Manager’s Schedule’ by Paul Graham

July 24, 2009

http://www.paulgraham.com/makersschedule.html  so incredibly well said. Posted via email from Rich’s posterous

Read the full article →

Google Gears with jQuery, JStORM, and Rails

July 8, 2009

I have a client that wants parts of their application available offline. After looking the the various approaches to this solving this problem, it’s clear (to me at least!) that Gears is the way to go. It’s cross-platform and browser and works across a variety of mobile devices. Rather than trying to get Gears integrated [...]

Read the full article →

ORM for google gears

July 1, 2009

very psyched to have found this…  Trac: http://labs.urielkatz.com/wiki/JStORM  Intro by the developer: http://www.urielkatz.com/archive/detail/introducing-jstorm/ Posted via email from Richard Brant’s posterous

Read the full article →

postgres error: duplicate key violates unique constraint

June 16, 2009

Postgres doesn’t seem to handle imports very well. At least not as gracefully as MySQL. When the primary key sequence of a table gets out of whack, you can reset it via psql directly: SELECT setval(‘table_name_id_seq’, (SELECT MAX(id) FROM table_name)+1); But that doesn’t see to solve the problem for my rails application. This does: ActiveRecord::Base.connection.reset_pk_sequence!(‘table_name’) [...]

Read the full article →

Tweetary.com – a place to hide, not share.

April 7, 2009

My wife had what I thought was a great idea: a diary for twitter updates. When my son was born I tried writing a little bit about each day; just regular stuff that happened each day so I could look back on it later.  Fun at first, but became kind of a burden to keep [...]

Read the full article →

Phusion Passenger error: “No such file or directory – /nonexistent”

January 23, 2009

First deployment on a brand new machine is never without a little frustration, eh? If you see this error, be sure to change the ownership of your environment.rb file to ‘www-data’.

Read the full article →

Quickbooks web connector timing out

December 9, 2008

If you see this message in your qbwc log, chances are you’ve hit the undocumented qbwc request limit of 2 minutes. I had a lot of xml being returned by quickbooks and the log kept reporting a timeout (‘Error message: The operation has timed out’). I spent time optimizing the the way the receiveResponseXML method [...]

Read the full article →

Advanced custom reporting with Google analytics

November 15, 2008

If you aren’t analyzing your traffic, you’re crazy, especially since such a powerful and free solution exists in the form of Google analytics. I’m blown away by the depths of the reporting. I’ve just scratched the surface of what’s available it seems, too. We have an unlimited number of sub domains that we wanted to [...]

Read the full article →

Integrating Quickbooks with Rails

November 4, 2008

I’m working on a project these days that has quite a bit of Quickbooks integration. For those who have already traveled this path you know it’s no party. SOAP, Windows only..and that’s just the start. I can’t relieve your headache, but I do have some decent resources and tips to mention. Sign up for a [...]

Read the full article →

File field changes in Firefox 3 prevent access to full path

October 7, 2008

What a pain… it seems that as a security consideration, Firefox 3 no longer provides access to the full file path via the file type input. I can see the reasons for masking the path, but there are also legitimate reasons you may need the path of the file as it is on the client’s [...]

Read the full article →