Archive for June, 2007

Content Management System - Krang

Thursday, June 14th, 2007

So, more work with Krang. There are alot of use cases where Krang fails or can be improved upon, for instance.

  1. It’s startup/shutdown procedure is subject to race condition
  2. If an editor is working with Krang and you shut it down it doesn’t save session. So basically if an editor is working and hits “Publish” at the very same time you’ve decided to shutdown Krang? They’ve lost all their work. They aren’t very happy when this happens.
  3. The functionality called “Save and Stay” similar to “Save and Continue Editing” via Wordpress is pointless to have in my opinion. It should autosave every “X” minute(s)
  4. When Krang fails? It fails; there are croak() statements through out the code
  5. If someone writes an Element add-on that overrides a piece of core Krang functionality; lets say extending the publish routines and something goes wrong. Krang fails.
  6. When you shutdown Krang and someone tries to access the content mangement system; they get an error message instead because no web server exist. This leads to confusion; instead the application server should shutdown but keep the webserver up that displays a user friendly message noting the system is down for whatever reason.
  7. There is no data compression; being able to compress older material would be nice. Having it compressed and still available; with decompression on the fly would be nice (maybe via hardware as the data increases over time)

There’s more but those are some off the top of my head. I’m going to sit down and come up with use cases for every possible thing that can go wrong and fix those things in order. I won’t be doing this against Krang cvs or svn as we don’t use the latest version.

Thinkpad X60 1920×1200 945GM chipset Ubuntu Fiesty

Thursday, June 7th, 2007

To get 1920×1200 or greater than 1600×1200 on Ubuntu Fiesty utilizing the Thinkpad X60 laptop. You must sudo apt-get install xserver-xorg-video-intel which will replace the i810 driver. The only nit i’m noticing is a little vid refresh shake every now and then on this 24 inch Dell 2407WFP i’m using. The screen real estate is more important to me right now though. I’ll get that shake remedied, may involve updating the driver first but I’ve got no time to try right now. Anyway I’d recommend first however updating the Thinkpad x60’s bios so you shouldn’t need to use 915resolution. The latest bios update is 7buj20us.iso which looks like it can drive a display to 1920×1440 (and is quite recent at version 2.11).. This is quite impressive actually; I may have to actually buy this setup for home :-)

A couple of hours later the nit is actually a big issue. It’s annoying me to no end. It seems related to cpu use. Basically the more the laptop is working, or i’m compiling or working with large files. The more I notice the screen refreshing. I can’t force modelines because i’m using a laptop that is exporting to a LCD. So turning off DDC won’t matter, using modelines won’t matter. Getting a VGA-DVI-D adapter won’t help I suspect unless the signal is actually converted. However a convertor would probably cost 200-300 dollars. So that leaves, updating the driver to see if there has been a fix since, well April 04, 2007. If Lenovo’s Thinkpad line had DVI this wouldn’t be a problem. It’s 2007 and they seem to still be pushing vga when most people are switching from crt’s to digital flat panels. It just doesn’t make any sense at all.