Technology Insights

Many HPBOID.EXE AND HPBPRO.EXE Processes Using Memory And CPU On Windows XP

A couple days ago I was printing a bunch of pictures from my laptop to my HP Photosmart 5100c for my father in-law. At one point I had run out of paper and other point had some other minor problem with the printer. After awhile I noticed that my computers CPU appeared to be fairly active even when I wasn’t doing anything so I started troubleshooting a bit to see what was going on.

Technology Insights

How To Remove The NextGen Gallery Plugin From Your WordPress Blog

I have used the NextGen Gallery WordPress plugin on a bunch of different projects and have always been satisfied with the functionality. On a recent WordPress project I was working on I installed NextGen Gallery assuming I would use it however after I got a bit further on the project I decided it wasn’t necessary and that it would be easier to simply use the default WordPress media uploading capabilities along with the “Lightbox 2” and the “Flexible Upload D3Z Edition” WordPress plugins instead. While NextGen gallery has tons of functionality and typically is easy to use for this project there would be many authors and I needed the path of least resistance to allow authors to write articles.

Technology Insights

Create Ruby Migration To Add An Index To A PostgreSQL Table

The other day I did some optimization work on a PostgreSQL database and at the end needed to create migrations so the changes I was going to make could be deployed on multiple servers. It was my first shot at migrations so I wanted to note for myself and anyone else that may find it useful how to create Ruby migrations for dropping and adding Indexes on PostgreSQL tables. Below you will find the basic concept for creating a migration that adds a Postgres table index and information on removing a table index which is just the reverse of adding.

Technology Errors

ExtractionError: Can’t extract file(s) to egg cache, [Errno 13] Permission denied: ‘/root/.python-eggs’

I received an error when configuring a Django run site for the first time. The setup included installing and configuring some items I am not so familiar with such as mod_python, Django, and other Python items. I finally started making some progress and when I initially launched a test site I received the below errors in the debug output.

Short Error: ExtractionError: Can’t extract file(s) to egg cache

Technology Errors

error: invalid Python installation: unable to open /usr/lib/python2.4/config/Makefile (No such file or directory)

I received the error below when attempting to use easy_install to add the html5lib package on a server for a client. I assumed all of the necessary python packages were installed since easy_install was already available via python-setuptools-devel. After a quick investigation I noticed that the python-devel package was not installed. This can easily be installed on CentOS Linux using yum with the directions below.