Archives October 2009

Karmic Upgrade == working suspend (maybe)

The main work laptop has been suspend-less since it was updated to Ubuntu Jaunty, a situation that tended to annoy the heck out of me.  So today as I worked I had the machine do an update to Kubuntu Karmic.

There was some messiness around some broken packages, Open Office Mail Merge, a few support ...

Continue reading

OpenID Support in a TG2 Application

Spent most of the day playing with TurboGears Authentication/Authorization system.  In particular, I stripped out the "quickstart" configuration and created a "who.ini" based almost-equivalent.  With that, I added an OpenID provider using a repoze plugin... at the end of all that, I can log into my localhost quickstart application with a myopenid.com ...

Continue reading

Brian's Brain as a brain-teaser...

Was just playing around with implementing "Brian's Brain" in Numpy/Pygame it's a "life" style automata where there are just 3 rules:

  • if cell is dying, cell dies
  • if cell is alive, cell starts dying
  • if cell is dead and > 2 neighbours are on, cell becomes alive

there was a post about doing ...

Continue reading

PostgreSQL/SQLAlchemy/TurboGears search

PostgreSQL 8.3+ has integrated the old tsearch2 plugin into the distribution.  This lets you do very formal "stemmed" textual queries on a body of text (set of columns in a table).  For instance, imagine we have a table "version_text" that stores all of the text in our version control system in the "text" column ...

Continue reading

Daily archives

Previous month

September 2009

Next month

November 2009

Archives