Jan.
21

Ubuntu - Day 2

January 21, 2007 @02:45
Today I set out to get my own software running.  This included dependencies like:
  1. Apache
  2. Mod_python
  3. Postgresql
  4. Tsearch2
  5. Psycopg2
  6. elementtree
  7. Simplejson
  8. Matplotlib
  9. Apple
I wasn't difficult to install and configure things, though it obviously felt different than it does on Gentoo.  Honestly things seemed less organized, though that's likely because I know Gentoo so much better.

I have not been successful in getting mail-notification to work.  Poking around it seems the imap ssl support is disabled, and people recommend installing from source.  This means that to date, the only two pieces that have given me grief have been Flash and mail-notification.  From a polish perspective Ubuntu continues to be excellent.  I have also been impressed with the functionality of apt, though it's no Portage.  For example when I installed flash, the installation failed though apt registered it as installed.  This meant subsequent attempts required the use of --reinstall.  This isn't a big deal, but Portage is much more ~acid.  The dependency lookups don't seem to be as reliable either.  For example installing eclipse-jdt should have pulled eclipse as a dependancy.  Installing psycopg2 should have pulled python-egenix-mxdatetime as a dependency.  I also found apt's presentation difficult to read.  Portage uses colors and indentation for a much nicer presentation.

From a performance perspective I'm not sure what to think.  I tend to not trust myself when judging the performance of a desktop machine (so many variables) but it does seem to be significantly more sluggish.  I've even noticed the processing time of my own code seems to be slower.  Consistently my pages process in ~0.05 seconds.  On Ubuntu they seem to be running  around ~0.2 seconds.  That's pretty rough though I'm not sure what's responsible (ext3 vs reiserfs, compiler flags, etc).

Today's outcome:  I'm very impressed with Ubuntu, though currently I'm probably 50/50 on whether I might switch.

Jun.
25

General update

June 25, 2007 @05:03
I've been slacking lately, as there's been a lot to do around the house and things.  I've only managed to update a few things:
  1. Added stats tracking to this blog (forgot I had turned on this one flag in Feb)
  2. Added stats tracking to the howto documents, curious how that will look
  3. Initial import of a Git howto (since I'm starting to love it)
  4. Added drop down style navigation to the howto index
  5. Cleaned up the keychain howto just a bit
I also ordered a good regex book as I'm still not near good enough at them.  Sometimes it takes a book, a comfortable chair, and some coffee before I really learn something.  I think I'm also going to order the recently released PostgreSQL Reference Manual Volume 1.

I've also been slacking on the 4 HP DL145's I bought for a much needed upgrade.  The first one is build and imaged, just need to deploy it to the other three and begin migrating services.  Being able to start from a hardened stage3 was really nice.  Way to go Gentoo devs!

Man it seems like there just aren't enough hours in the day  :)

Jul.
15
This week has been full of all sorts of interesting things.  I added the Urchin javascript to my blog and howto pages last week.  The results have been pretty interesting.  I was hoping that my howto documents were providing value to someone, and the stats seem to indicate this is true.

I have also been reading my shiney new Postgresql book.  It's really good and I can't wait till the other two become available.  I'm learning all sorts of little things I never knew before about Postgresql.

Probably the most interesting thing this week was the start of Kirby's new treatment.  She has a very bad mouth infection, but the vet is unable to properly treat it because her renal (kidney) values are not good.  It seems the recommended treatment is to give her fluids under the skin.  So today we gave her the first 100cc dose of normal saline via IV tubing and a needle inserted under the skin between her shoulders.  The fact that I'm a nurse has come in handy as I feel pretty comfortable working with needles.  The part that's odd is to intentionally let fluid go under the skin - this is something you completely avoid with humans (infiltration).  I'll have to post some pictures of the process as it's pretty interesting.


John M.

Apr.
24

Recently I was in the process of moving my site to a much better hosting situation (more on that later).  During the move I decided to upgrade from PostgreSQL-8.0 to PostgreSQL-8.3 as I was pretty far behind and I prefer to stay current.  This sort of upgrade isn't a big deal, and I've done it many times.  So I did my usual process:

  1. Install the desired version of PostgreSQL (in this case 8.3)
  2. Scp my last backup (taken a few minutes after I lock down the site) to the new host
  3. Run a script that essentially creates a new db, and restores the backup to it

That's when things went horribly wrong.  After a few searches I quickly learned that moving from 8.0 to 8.3 is a bit tricky when you have tsearch2 stuff in there.  It turned out to be really easy to upgrade, read on if you want to know how I did it.



1

Total records: 4
FCGI/WSGI
0.13.3
113.476992 ms