Archive for February, 2005

Models of handling multiple concurrent connections

Saturday, February 26th, 2005

When I first learned networking in Java, it took me a while to wrap my head around the fact that there was no select(). All of my previous TCP programming experience was based on select-driven event loops in C, Python, or Perl. The select-loop seemed like a very natural way to handle […]

more comment spam

Sunday, February 20th, 2005

I need to find an updated version of HashCash soon. In the meantime, I turned on a bunch of bristly comment-spam-unfriendly options, such as “you must be registered to comment”.
UPDATE: Some evidence exists that HashCash has been worked around by some comment spammers. So I guess it’s time to roll my […]

A machine retired

Sunday, February 20th, 2005

A while back the data disk in my Linux machine failed. That machine served me well for around 4 years. Since I wanted a faster Linux server anyway, I built a new machine and migrated the data (from the backup). The old machine got pushed into a corner for eventual […]

“xml processing instruction not at start of external entity”

Thursday, February 17th, 2005

I’ll spare my readers the head-bashing that finding this involved and spell it out:
My perfectly valid XUL file was failing to load once I added the XML directory to use a stylesheet. The error message suggested some error parsing the XML (”xml processing instruction not at start of external entity”).
In […]

Zipping files is easy, right?

Tuesday, February 15th, 2005

I’ve been learning about writing Firefox extensions and naturally sought to automate the .xpi assembly process. Packaged Firefox extensions (.xpi) and the jar files nested within them are “ordinary zip files”. A simple extension’s .xpi file might contain a structure like this:

helloworld.xpi

install.rdf
chrome/

helloworld.jar

content/

helloworld/

contents.rdf
.. (more files) ..

(Where bold means “is a […]

Wordpress 1.5

Tuesday, February 15th, 2005

I followed the super-easy instructions to upgrade to WordPress 1.5. I’d been waiting for this release before sinking any time into my template. So now there’s no excuse.
Update: Alas, HashCash doesn’t work with WordPress 1.5 yet. I’ll look into it more later.

MythTV and backups

Friday, February 11th, 2005

I’ve been exploring a couple projects lately:

Build a MythTV machine. To this end, I’ve picked up a Hauppauge WinTV PVR-350, pcHDTV HD-3000, Radio Shack VHF, UHF and HDTV Indoor TV Antenna, and a 200G Maxtor disk. I’ve put the HDTV card and disk in what used to be my XP desktop machine. […]

Comment spam ended

Thursday, February 10th, 2005

Since addressing comment spam a bit ago, I haven’t seen any further incidents of comment spam.

Programming knowledge by language

Tuesday, February 8th, 2005

There are lots of programming languages. There are many programmers that use these languages. I wonder how many programmers know how many languages and which ones they know. For example, I’d be surprised if there are many Scheme programmers that know only Scheme, but I know […]