Older blog entries for zx64 (starting at number 2)

Life
Moved into my new home for the next ten weeks on Sunday, didn't get net access until Monday due to some absent mindedness on my part (forgot my own cat5 cable, and didn't get to the shop in time). University net access is good, apt-get runs just as fast as if it was running from a local mirror. Timetable starts tomorrow, and an exam Wednesday (need to get 80% on each of the four sections to pass, and it is 20% of one of the modules I'm taking this year). So far, I have managed to keep my room reasonably tidy.

Code
Yesterday evening, I added write support to the VFS (for external files only). The VFS lacked this before as hardly any of the code needed to write to anything. Also started making the dispatcher code less of a quick-n-dirty, proof of concept hack.

Yes, I have been outside my room.

I'm writing this entry after returning from my final SWLUG meeting (until December or so), which ended with pjdowner, Robot101 and I going round to alan and telsa's house. Phil was picking up an IBM harddrive that had failed and said he'd try the various IBM tools to repair it. Alan managed to offload some rather interesting pieces of junk to Rob (who has a friend that wants circuit boards etc. for making abstract art).

On Sunday, I got an eight port hub from Robot101 on the cheap and obtained some cabling from Maplins with the intention of turning my old workstation into a firewall so that my parents can use my cable modem while I'm away at uni (University of Warwick, for Maths with Comp. Sci.) Still random problems with ntl's DHCP not working when plugged into the would be firewall (will probably have to import lease from current workstation and hack it to work).

More Uni. related stuff: I have a pile of exercises on differential and integral calculus, trig and inequalities to work though. The payoff is that the exam all first year Maths students have to sit is contained inside the exercises (I have a strong suspicion that "sqrt(x + sqrt(x + sqrt(x) ) )" will come up on the differentiation).

Coding: Not much. Probably related to my recent joining and participating of #C++ on freenode (as well as odd sleeping patterns). Started writing a Dispatcher for FreeCNC into which ui/input.cpp and ui/selection.cpp will hook. The Dispatcher will handle relevant input and game events so that game sessions can be stored to disk and played back (mainly to make things easier to test fixes to the anim code). The main things left to do are how to track adding and removing units and structures (so that stored orders will always map to the right thing), and getting the events to be replayed at the right time. The next step is to make the Dispatcher read/write stuff from/to the network layer, which will result in low security (relies on non h4x0r3d clients) multlplayer now (more as a proof of concept), and better security when the server is done (i.e. all calculations done server end, then relevant info pushed out to clients).

9 Sep 2002 (updated 9 Sep 2002 at 22:08 UTC) »

Hopefully, the level of Real Life that requires instant processing should drop to near zero levels for the next few days so I can get back to coding.

Still todo for FreeCNC 0.2.1:

  • Fix big endian bug in video code. I think the bug is either in the scaling code or the drawing code, should dump some decoded data on the Sparc Woody box to find out.

  • Fix reproducable bugs found in recent anim changes. Found a few solutions, although they are either fixing the symptoms or are inefficiant.

  • Scheduling consistency stuff. Bleh: what should happen to the events that are replaced by setSchedule? Deleting seems the best approach, although I need to ensure that setSchedule won't create a circular list of events.

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!