‘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')
I posted this because [...]

Read the full article →

links for 2009-05-14

May 14, 2009

jQuery(html, ownerDocument) :: jQuery API Browser v1.3
(tags: api jquery)

Read the full article →