I pre-made a bunch of paragraph tags because they are a pain to enter with the virtual keyboard on the HTC Incredible.

On templates: http://www.templatemonster.com/oscommerce-templates.php

I run some servers at http://www.rackspacecloud.com/.

Still want to look at https://launchpad.net/myconnpy.

Study more: http://blog.dynatrace.com/2010/06/15/top-10-performance-problems-taken-from-zappos-monster-and-co/.

Oh I can't get enough of that Avatar movie :)

Found a typo in http://www.catb.org/jargon/html/writing-style.html. Hacker indeed. Update: found one in http://www.catb.org/jargon/html/weaknesses.html too.

It's always fun to read PEP 8!

Interesting: Need to go back to that: http://www.psy.fsu.edu/~baumeistertice/goodaboutmen.htm

Want to write a small python script that can be cronned and will look for "about this document" H2 tag and a subsequent Last edited on start of P tag, and will automatically finish this with the fancy last-modified-date, on all my web pages.

I go read the basics of the Unix philosophy before I sit to code. It helps a lot. I think of 10Kloc so I try to think of code I don't have to write.

15 years ago, wisdom by Orson Scott Card: How software companies die. Formidable! Sergey and Brin must have read it, and are living it... sadly.

Along that vein, some Joel Spolsky gold: Development Abstraction.

On Drinking and Alcohol. Very Good. Must Read!

As an aside, an interesting video, on empathy, from TED.com.

Mongrel2

So last night (August 29, 2010) I reimaged the vps at 123systems.net with debian 5.0 x86-64, and then used it a couple of times to test installing python 2.6.5, python 2.6.6, which completed without the patch, and python 2.7, which worked but which I didn't keep. These are fabric scripts, and they work beautifully.

I had to add a section in there to remove apache2, because I don't want it, and because 123systems.net's debian image includes it.

After that I wrote a fabric script which installs the dependencies for mongrel2 and mongrel2 itself. Then I tested with a test config, and all went well.

I'm going to do more digging on how to minimize the number of things running on debian. Do I even need a mail server running on every single vps? That sort of thing. I want to go minimal disk space, minimal memory usage. Why? The less stuff is running, the less there is to worry about breaking/upgrading, etc.

As of the last run I just did, the building of python 2.6.6 takes 6 minutes, the installation of mongrel2 dependencies takes 2 minutes, and mongrel itself takes 1 minute. It loads some stuff from the internet too.

On the Mongrel on the VPS. Steps:

  1. Log in to VPS, reinstall the OS. Select Debian 5.0 64 bit.
  2. Change the root password with the VPS control panel
  3. log into kissws.com via ssh then cd into /root/mongrel2_on_debian_stable
  4. Refer to fabfile_nopass.py (txt version), rename to fabfile.py, and add the ip and root password.
  5. run fab zembu, which install python 2.6.6 (downloads everything from the web and compiles it)
  6. run fab zembu_mongrel2, which installs mongrel2 dependecies, downloads and untars mongrel2.
  7. The name of the untarred folder: mongrel2_2010-08-31_015320_dd10baf7fc
  8. copy that to the fab file in the line with cd("/root/mongrel2_2010-08-31_015320_dd10baf7fc"): in the def zembu_mongrel2_run(): function
  9. run fab zembu_mongrel2_run, which installs mongrel2.

And, uh, that's it.

now you can go to mongrel2 getting started page and go to section "Configuring The First Time" and run it.

Note that Zed says to not run that as root. so created user, and made him a home, and put the getting started stuff there.

I wonder if, since nobody will ever log in as that user, I should somehow disable all logins.

Ok, going to sleep.

Update at 4:41 am PST: Zed says 1.0 beta7 is out... The man works fast.

Other Stuff

On testing and the web: need to look at Testing Web Applications with Python and Twill.

Seth Goding says: "No business buys a solution for a problem they don't have."

The Role of leadership in software development.

On Android: What Android Is by Tim Bray. Definitely need to re-read that one a couple of times.