still awake ... released 1.2.6 version of livejournal earlier (a huge improvement), but now i'm working on 1.2.7, adding spell checking. i released them separately, thinking i'd break something in the process, but it turned out to be 2 lines of code after I threw the ActiveX control in. now I have to add some options and keyboard accelerators, but that's easy, I'll do it tomorrow.... now I'm going to focus on learning how to automate the InstallShield builds... so I can have a perl/batch script auto-create the installer file (which is now a lot more complex because I have to install the spell check dictionaries and register the ActiveX control, etc...)
Umm ... I did crawl in bed around 4am, but then I remembered something I forgot to do and had to start programming again. LiveJournal now does on-the-fly compression if your browser supports it (most do) ... I wonder why more services don't do this ... it's so frickin' cool. Whenever your browser asks for a webpage, it tells the server what sorts of encodings it understands... one that IE and NS both nearly always report is "gzip" ... so you gzip it on the server end (pretty fast) and it shrinks often as much as 22 times smaller at best (on the calendar pages) and about 4x smaller at worst .... still not bad at all. It's usually at about 10x compression. So the benefit? People with modems can now download this shit a whole bunch faster. Plus, I'm now sending the "Content-length" header, so your browsers will know how much more they have to download, and the percentage bar will be accurate and smooth now, instead of guessing the amount of content remaining.
Awake ... finally. Damn mom was annoying ... trying to wake me up all morning. I stayed up 'till 5am ... what to you expect? Woke up to livejournal being down ... I messed with too much stuff last night. Does anybody know how to determine on FreeBSD what FD_SETSIZE is set at in libc? I remember increasing it oh-so-long-ago from its pathetic 256, but can't remember what I set it to ... I need to know to tell Apache, since it can't even figure it out on its own. Evan? Any of Evan's friends?
My computers are setup in the basement, right next to the ethernet hub for the house, then I have my ethernet hub plugged into that... whenever I move my mouse on my windows machine, the house router blinks on my port, since I'm using x2vnc to use one mouse/keyboard between Linux and Windows.... I need to get a 100mbps switch ... how much do those cost? Hubs are retarded.
Ah yea' ..... today at 6 pm or so the cable guys came and install our cable modem. They were gonna install a USB device and I was like, "No ... use an extra ethernet card." And he goes, "Okay, but why?" I say, "So we don't have to run Windows if we don't want." He goes, "But if you don't have Windows, what would you run? How would you use Internet Explorer?" *sigh* Linux, I say. Win98SE's Internet Connection sharing (IP masquerading, or NAT, whatever you want to call it) works okay, but it's still on Windows, so whenever somebody reboots, the house network connection goes down. Anyway, it's all working now, after shitloads of resource conflicts ... the 3rd network card did the trick (an old NE2000 ISA card... heh.) But yeah, hella fast now.... lovin' it.