Welcome to RocketMonkeys.com!

This is my personal site, where I store my rants, pictures, and movie reviews. Have a look around, register and leave comments.
-James

Show: [all] rants movies pictures

Page: Previous << 0 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 >> Next

Green Zone

Posted by james on Aug. 13, 2010

(post.rating: 7)
Rating:

IMDB   Apple Trailers

This looked good - from the makers of Bourne Identity. Indeed, from Jason Bourne himself (Matt Damon). It was very suspenseful, and had a nice mix of middle-eastern city warfare action and political intrigue. The political side reminded me of Tom Clancy movies, but not as heavy.

Overall, I liked this one a lot. It's not one of my favorites, and doesn't nearly hold up to the Bourne-series (which have a lot more heart), but still a very good movie.

How to switch from dmigrations to South

Posted by james on July 27, 2010

I used to use dmigrations for django. Dmigrations is a database migrations library that makes keeping DB schemas up-to-date so easy & reliable. When you're a single developer, with only one dev machine and one server, this isn't as much an issue. Once you have teams (or multiple servers), this becomes necessary. But even for the single dev, once you use managed migrations you'll want to use it for everything.

I first started using dmigrations, which was nice but had a few bugs. One of the glaring ones: there's a typo in the codebase (which can only be checked out via SVN) that has existed there for a long, long time, and prevents normal operation. Why hasn't this been fixed? Because dmigrations has been abandoned. Supposedly, even the authors recommend using south instead.

So along comes South. South addresses the same problem, but is much better in just about every way (with the caveat that it's slightly more complicated, but not much). South handles more, better, cleaner, etc.

So here's how I took my dmigrations webapp and converted it to use south instead:


  1. Backup your mysql database!

  2. Now edit settings.py:

  3. Remove 'dmigrations' from INSTALLED_APPS, add 'south'.

  4. Remove the DMIGRATIONS_DIR and DISABLE_SYNCDB (if you have that) vars.

  5. From the command prompt:

  6. > del migrations\*

  7. > manage.py schemamigration app_name --initial

  8. > manage.py syncdb

  9. > manage.py migrate --fake


Canon SDK update - EDSDK 2.8 is out (Windows 7, finally!)

Posted by james on April 25, 2010


For those that are interested (probably not many out there), Canon just released an update to their EDSDK library. This update includes support for Windows 7 and the Rebel 550D/T2i, and hopefully supports live view on DSLRs.

The good - finally, support for Windows 7. What took so long?

The bad - I fully expect to find documentation written by monkeys, and example code littered with typos and calls to non-existent functions. Please surprise me, Canon...

Fill out the application for the Canon SDK.


Page: Previous << 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 >> Next