[ Correction: I s/CORBA/ORBit/'ed in various places. ]
Hacking: [Beware: ugly-ish picturesque langauge] Blech -- I thought I was going to have some Good Wholesome Fun(tm) fiddling with CORBA in Python. Then I discovered that PyORBit is (1) completely undocumented and (2) sucks goats nuts. orbit-python OTOH needs me to patch automake before I can build it, could they at the least not have include pre-autogenned files?
I better see go see if a patched automake will make orbit-python (and hopefully me) Happy.
Having a freeciv client (oh no, not another freeciv client!) in Python might be the entire exercise worth, though. Should make scripting a fairly easing thing to integrate. Mmm. . .
Work: Greatness abounds at work. Almost all of today was spent writing a custom, RAID-capable, company-specific Debian installer; just having to enter hostname, etc. and have a Debian base-system on RAID when you come back from the coffee-machine is going to rule. Oh, and the best thing ofcourse is that's it's fun doing :-).
-- (define (f s)
(lambda (g)
(if (equal? s "")
(let ((t (g (lambda (h) ""))))
(if (equal? t "")
""
(g (f ""))))
(string-append
(string-head s 1)
(g (f (string-tail s 1)))))))
f
-- ((f "Js nte ceeWnae")(f "utAohrShm anbe"))
"Just Another Scheme Wannabee"
Wonder if not there's a nicer way of doing that then-branch?
And, now back to my regularly scheduled work.
comp.sci.: My one exam is finally over; hopefully I'll never again have to hand-craft SLR-parse tables, or convert IEEE floats from binary to decimal.
comp.lang.python: Sadly a lonely post to comp.lang.python is the only hackish thing I've done in a while; it seems I learned something from my first-year comp.sci. programming-and-data-structures course, though, since I cooked up a binary search of a list of numbers in no time (as is only fitting :-).
real programming(tm): I have been thinking about getting back into freeciv-hacking, as I recall it was actually not so bad. I probably spent more time hacking the sources than playing the game :-). <rant> This was probably brough on by my getting pissed with Activision after buying CtpII. CtpII is probably the suckiest Civilization-clone out there. For one thing the AI is so bad it probably could not beat my old, computer-illiterate grand-mother. And don't get me started on the UI, makes me want to cry :-/ </rant>
work: nothing much interesting to say here, I work as (part-time) system administrator for a small web-enabled company, where I am the local *nix guru, Perl hacker and geek in general. Good job, nice people and good perks, and I just got green light to move our servers to Debian (they are being reorganized).
edu: computer science major, with a minor in math., trying to prepare for exam (T-7days and counting). C.S. is generally a full of cool things for me to learn, but there are some really boring things too, for example creating SLR-parse tables by hand :-(.
programming: hmm. . . I did some Windows programming yesterday, needed to somehow get a list of existing drives. It seems one cannot do this, so you have to do something like,
for(int i=1; i<26; ++i)
if(_cdrive(i))
printf("%c exists, whee!\n", 'A' + i - 1);
hackish, to say the least, imho.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!