darkness

Sunday, 03 November 2002

Another crazy night

darkness @ 03:28:20

darkho wasn’t able to sleep last night and had to wake up early for work this morning, so she was tired. I got takeout Chinese and we ate that, followed by watching a couple movies on and off. She actually lasted until about 0100 or so; but she has to be up again tomorrow around 1000. I’ve been programming since about 0100 myself. Got a call from euphorik while she was asleep, and my phone was on ring; he was calling to invite me over, but I’m afraid I sounded terse since I wanted to get off the phone and stop disturbing darkho whilst she was sleeping.

I’m making (Perl!) interfaces for the obvious classes in my Wiki engine right now. I’ve got the problem of how to make the session object (just a (name, value) container basically) available to everything in the system without explicitly passing it around. I suspect that I may be passing it around in some form or another, though, since I still think like my application might be multi-threaded even though its not. Oops, I just remembered that sessions need to be consistent across each instance of Apache, and I don’t know if they use shared memory for mod_perl’s interpreter or something. In that case I might have to persist a session to the DB at the end of a request (and obviously load it up at the beginning of a request). Not fun, and all of this a problem that has undoubtedly been solved in the past. Indeed, I wouldn’t be surprised if something like Apache::Session already takes care of this for me.

I also found out about The Sims Online tonight. Apparently you can either (A) pay $5 and get the beta on CD, takes about a week; (B) pay $5, wait a week for the beta on CD, and pre-order the game (more of an extension of (A) really); or (C) pay $7 for a FilePlanet (sucks) account and get instant gratification (download the beta, hopefully at speeds faster than that of a 14.4 modem). I think I’ll try and surprise darkho with that tomorrow, though it may curb her recent interest in Warcraft 3. (OK, maybe not an “interest” yet: she only played on multi-player game with myself and euphorik.)

Oh, almost forgot: I updated my .emacs today. Fixed some syntax highlighting activation in my-perl-mode. Looks like there’s an indentation fix or two for my-perl-mode that got in there as well.

[darkness@darktop-2 darkness]$ wc -l ~/.emacs
    666 /home/darkness/.emacs

Powered by WordPress