November 2011
4 posts
“It takes an awful lot of work to be the sixth most impressive thing Scoble (or...”
– patio11
Nov 16th
dropping all tables on postgres using...
Archiving this so I don’t forget it: in Flask-SQLAlchemy on a Postgres DB, db.drop_all() can fail silently. This can be somewhat infuriating. This link sums up the situation pretty well. There are a bunch of hacky fixes floating around Google, none of which work, except for a particularly simple one which Mike Bayer himself proposes in the comments of that same...
Nov 14th
How to add a free shared PostgreSQL db to your...
Heroku’s documentation claims that “New apps created on Heroku automatically have a shared database installed.” Unfortunately, that isn’t at all true for Flask apps: if you create a new Flask app on Heroku, you don’t have any database at all by default. I spent a couple of hours Googling and digging through documentation to try to figure out how to get a database...
Nov 6th
4 notes
a personal fitbit dashboard
I bought a Fitbit in July, and ever since, I’ve been walking a lot. I walk home from work most nights, and on the weekends I like to walk to the ocean. I’ve been trying to walk fifty miles a week for the past few months, and I’ve hit that goal most of those weeks. I’m doing mainly because the Fitbit universe is made of progress bars, and if you put a progress bar in front...
Nov 3rd
1 note