Excellent article via @ianbicking. Many of the comments are excellent as well. Unfortunately his neat anecdote about learning how easy it was to learn French with a new method was diminished by the fact that he had five years of previous schooling on the subject.
Posted on November 15th, 2011 |
No Comments »
I made this list while evaluating schema migration tools for SQLAlchemy (currently at 0.7.3) with PostgreSQL and SQLite. This is a very high-level overview of my findings specifically related to the project I’m currently working on. I do not have experience with either SQLAlchemy-Migrate or Alembic, although I do have experience with Django South, so I’m familiar with the issues of schema branching, etc. At the time of this writing I have a working (patched) SQLAlchemy-Migrate 0.7.2 system, but did not yet try to get Alembic (0.1alphadev) up and running, mostly due to lack of documentation.
SQLAlchemy-Migrate pros:
- nice documentation
- seems to be more widely used in the community
- has (experimental) schema/model comparison tools
- maybe approximates non-linear (but ordered) versioning with timestamped scripts?
- more development activity
SQLAlchemy-Migrate cons:
- requires a patch to get
make_update_script_for_model working with (SA 0.7.3?) TypeDecorator
Alembic pros:
- may be simpler than SQLAlchemy-Migrate
- written and recommended by Mike Bayer
- non-linear versioning (looks nice, but do I really need it?)
Alembic cons:
no documentation (yet) documentation was published within a day of writing this… Mike Bayer is amazing.
- no SQLite ALTER support, must build own dump/import system for SQLite
- lacks schema/model comparison tools
Takeaway: Alembic looks promising, and maybe it will be the right choice sometime in the future. The lack of documentation and no support for SQLite ALTER makes it less appealing to me at this point.
The schema/model comparison features look like they could be very handy if they are reliable. They are currently experimental (and need a patch) in SQLAlchemy-Migrate, but non-existent in Alembic.
Posted on November 7th, 2011 |
No Comments »
Those who sow terror are absolutely powerless to reap anything but terror.
Lee Griffith, The War on Terrorism and the Terror of God, p115
Posted on October 23rd, 2011 |
No Comments »
http://www.rollingstone.com/politics/news/my-advice-to-the-occupy-wall-street-protesters-20111012
Posted on October 19th, 2011 |
No Comments »
http://www.hussmanfunds.com/wmc/wmc111010.htm
Posted on October 18th, 2011 |
No Comments »
“True connections between family, friends and colleagues can not be compressed down to tightly scheduled ‘quality time.’” – The Tyranny Of Modern Time II
This was almost exactly my thought as Natalie and I wrapped up an evening filled with fine food and fun friends yesterday. While I was comfortably filled (maybe a little over-filled) with the cuisine and pleasantly stimulated by the conversation, I couldn’t help but sense a twinge of sadness at parting so soon. It’s seldom, almost never anymore, that I get to spend what I feel is enough time with friends. Enough time for fleeting thoughts to be remembered. Enough time for really interesting stories to be told. Enough time for the silence to lose its awkwardness. Enough time for doubts and struggles to be revealed and shared. Enough time for understanding to develop.
It seems that everyone in my culture rushes through life. Rushes to get things done on time. Rushes from one meeting to the next. We race to the end while trying to fit everything into today. But why all the hurry? Why can’t we pause for more than a short, scheduled block of time now and then? If I knew the answer I probably wouldn’t be writing this. But here I am asking. I’d like to find a way out of this rat race. There has to be a way to live without feeling trapped in a never-ending cycle of cramped time slots. I want to cultivate relationships without having to jam them into left-over breakfasts and suppers.
I’m partially paralyzed by my fear of losing…what? I’m not sure, the race? I’m afraid if I relax I’ll drop the ball. Maybe I’ll lose my job (if I don’t show up on time) and my house (if I can’t pay the mortgage). Maybe the projects I’ve started will remain unfinished. Maybe people will see me as a failure. And if my fears of losing my own security aren’t enough, everyone I know is living in the same culture with the same demands on their time. Would I be alone if I found my way to the sideline? Am I alone wishing I could spend more time on relationships and less time fitting my life into a schedule?
Posted on October 2nd, 2011 |
1 Comment »