Older blog entries for mascot (starting at number 26)

Resuming downloads

Grr.... I've been trying to download the latest Mozilla source code (30Mb) in chunks over my ISDN line. Fine, except what I didn't realise was that Mozilla use multiple DNS records to load-balance between a few servers which contained different versions of the file!. (I was downloading the "latest source", and one server had a different idea about what "latest" meant.) So I managed to download a stripey tarball... a section of one file, then a section of the second, then back to the first again... and so on. Oh well... I'm going to download using the server's IP address in future.

Moving goalposts

Remember my attempt to make a 486-based Linux box which I've been talking about for a few days? Well, apparently (now they tell me!) it's got to run Lotus (IBM) iNotes - a Java-based, IE-specific Lotus Notes client, which needs a 400MHz processor. So I won't get that on Linux on my 486 then.

Actually, it might end up useful, if I can persuade them to turn on Notes's IMAP server. But the chances of that are rather close to zero. ("We have paid for iNotes! We *will* use iNotes!" etc. Sigh.)

Electronics homework (lots)

Well, I like electronics, but there is a limit! It didn't help that I only rememered it fairly late. No time for further hacking...

Responses

Stevey: I was using Konsole, which does seem to resize when you run 'reset'. xterm doesn't. That's useful to know; thanks for the pointer.

salmoni: a novel way to block ads (quite literally!). I'll try that. Thanks. (Unfortunately, it doesn't reclaim the wasted space for browsing...)

MyAddressBook

Oops, I found some security holes in MyAddressBook today (not dissimilar to those which were until recently in Advogato!). They're mostly fixed now, thanks to PHP's very useful htmlspecialchars function.

Oops...

I'll have to be careful what I link to from Advogato in future. It turns out my university personal statement got spidered by Google. This is not good. People (presumably those who, like me, need to write a good personal statement to enter university) were finding it by searching for "personal statement computer science" amongst other things. I just hope no-one was stupid enough to copy it... :-(

Whiptail, and ponderings on C

Thanks for the Whiptail hack, Stevey, that's great. Only one minor problem - because I have to run reset after I've finished, my terminal window jumps back to being 80 columns wide. Never mind, though, I can live with that - definitely a huge improvement over not displaying anything :-)

I suppose I'd better start learning a useful language myself soon... I don't think I'll be able to get by without C for much longer. The reason I haven't learnt C beyond the basics yet is because C is so fiddly. I don't want to have to compile every time I run! I probably need to find a decent IDE that I like...

Still shrinking Debian...

In my ongoing quest to shrink a Debian install, I've decided to ditch Metacity for that old favourite, WindowMaker. WindowMaker is a lot smaller (since it doesn't need Gnome) - and a huge amount faster on a 486. This has saved me a lot of hard disk space.

Browsers: Phoenix was far too slow (a number of seconds between typing text and it appearing), so I've gone for Opera. Shame about the adverts though.

Shrinking Debian

I'm getting there... I've used 180Mb, and I now have X, Metacity, a couple of program launchers, and a couple of 3270 (IBM mainframe) clients. Still no browser, though, and 30Mb left to work with. The browser will probably be Opera or Phoenix. (Not Galeon; no room for all the Gnome stuff it needs!)

gene

Further artwork for the Gene website today... a brand new logo should appear there any day now :-) A big improvement over my incredibly tacky temporary logo.

dialog and whiptail

Thanks to Stevey for volunteering to have a look into the fault I mentioned yesterday.

Shrinking Debian

I tried Debian for the first time today (what took me so long, I wonder?). Not as my main distro for my PC - I remain firmly attached to Gentoo - but on an ancient machine I'm trying to set up as a sort of thin client containing only an X server, a web browser, and x3270. This is a demo of something that might end up replacing a load of dumb terminals at my Dad's work, since they're changing e-mail system from a mainframe-based one to a web-based one.

My mission is to create a Linux installation with the above-mentioned features, on the lowest-spec machine possible. I'm starting out with a 486 DX/2 50 MHz machine with 24 Mb of RAM and a 255 Mb hard disk (this was my first computer, incidentally, but upgraded from its original 25 MHz / 4 Mb / 129 Mb configuration!).

The main barrier at the moment is disk space. The Debian base system takes up half of my 215 Mb data partition - and that's without X etc. I'm still trying to get the absolute bare minimum of packages, but I may have to end up swapping disks. I'm thinking about using the e2compr disk compression patch, but I think that might be terrible on a 50 MHz machine....

dialog and whiptail

A gripe about an annoying bug in these two programs.

Firstly, some background info: these programs display dialog boxes in text mode, from shell scripts. They have a number of modes of operation, e.g. a yes/no box, a message box, an input box, etc. And an "info box" - which is different in that it's supposed to draw the dialog on the screen and then exit immediately, leaving the dialog on the screen, but allowing the shell script to continue executing and to display another dialog when it is ready. E.g. an infobox could be used for a "please wait" message.

But the infobox mode only works when TERM="linux", i.e. on text consoles. If you try and run it in xterm etc, then no dialog appears, just a blank screen. (I suspect that actually the dialog is drawn, but the screen is blanked on exit, i.e. immediately afterwards!) This is annoying, and I can't find a way around it.

If anyone knows a workaround, or an alternative dialog program which has the feature I need but doesn't suffer from this problem, then please tell me. Thanks.

Mailing lists or forums?

Further work on the MyAddressBook website today. The current dilemma is this: to use mailing lists, or to use forums? From the end-user's point of view, mailing lists are obviously better for quick responses (not many people will check the forum regularly), but mailing lists are much more fiddly than forums if you just want to ask one question.

The ideal solution - which SourceForge claims to do, but it doesn't appear to work - is a combination of mailing list and forum. I.e. an archive interface to a mailing list which you can also post from. Unfortunately, this doesn't seem to be achievable, since although the text says you can post, there is no Post button! (I've filed a support request on SF to try and get this resolved.)

So it looks like I'll have to settle for one or the other (since having separate lists and forums would be very confusing). But which one?

24 Sep 2002 (updated 24 Sep 2002 at 20:57 UTC) »

Yesterday

I didn't submit a diary entry yesterday, because I went to London for the day with school (me, a few friends, and our form teacher) to visit the Science Museum, the Faraday Museum at the Royal Institution, and to listen to a lecture (entitled "Mathematics, Magic, and the Electric Guitar") at the Royal Society. And we saw the original Newton's Principia - scary to think how many problems in maths this one book had caused us :-) Great fun, but I got back very late and very tired. London is exhausting...

Today

Today was almost as hectic - it was the school's "Founders Day", which meant transporting two-thirds of the school (probably about 700 pupils) across Bradford. And since I'm a prefect, I got the privelige of carrying lots of chairs, and managing the scrum of 700 people all trying to crowd into a corner to try and find their bags at the end... :-P

Grr. Perhaps I'll have time for something interesting tomorrow. Homework just stacks up...

Yet another important addendum...

Now, the Advogato Virus guy (tttt) has found a way to forge certifications. He used a few accounts, including mine and raph's, to gain himself Master status. What happens in Advogato accounts now may or may not be caused by the owner of the account...

KDE

Still trying to compile KDE 3.1 from CVS. I think it wasn't working because my two versions of Qt 3 were conflicting. Hopefully I can get away with running the CVS version of Qt in place of my old (stable) one.

I wish I had a faster connection :-P So much CVS work is leaving my ISDN a little exhausted...

Life

Went to a nature reserve near Barnsley (about an hour's drive away from where I live) which I'd never been to before - Old Moor Wetland Centre. I thought I knew all the good nature reserves within range, but it turns out I was wrong. This one is really excellent; if you happen to live close, and you're interested in that kind of thing, I recommend it. Plus I saw a Spotted Crake (that's a rare bird, for less-informed readers).

[It does have an official website, but it's not particularly useful since it refers to images on someone's C: drive, and the links are all dead :-) ]

21 Sep 2002 (updated 21 Sep 2002 at 19:36 UTC) »

MyAddressBook

MyAddressBook now has a web site here. I didn't have to think much about the design this time - I copied MyAddressBook's own interface that I designed a few months ago. I think it works quite well.

FTPsuite

FTPsuite is a program I wrote some time ago for a supermarket chain (which shall remain nameless!), to distribute a file to each of their 100+ stores automatically by FTP. (It's not been released beyond that company yet, as it's quite specific to that situation at the moment.) Today I went in to make some small changes. My initial test run, however, was quite worrying. The distribution failed for every third store. A few failures were expected - stores that had just closed down, stores that were about to open, etc. - but way too many were failing. But I went ahead anyway, promising to look into that problem afterwards.

The change I went in to make was to speed up failures. I.e. ping the store first with a timeout of 1 second to see if it's up, rather than having to wait for FTP's 30-ish second timeout. So, having made that change, I ran it again. The one-store-in-three problem became even more bizarre: one store in three wasn't responding to pings, even though we knew that the machines at each store were identical, the machines really were all up, and they were communicating fine with the company's EFT server.

It turned out that a router was badly configured - packets were bouncing indefinitely between the routers at either end of one of the three links to BT. This wasn't as obvious as you might think - this supermarket company is only just starting to use IP; most of their data traffic (including that to the EFT server) goes via SNA (an older IBM protocol) over completely different links, which were working fine.

But it still took a bit of persuading that it wasn't my program that had broken :-)

IMPORTANT ADDENDUM - ADVOGATO VIRUS!

Really, REALLY don't visit ttt1's account. It's an advogato virus. It contains an iframe which, for each user who visits it, infects their account with that iframe. So it will spread very rapidly via account pages - and more importantly, this ALSO SPREADS VIA THE PERSON INDEX (i.e. what you get by clicking 'People' at the bottom of the page).

Raph, please delete these accounts ASAP!

Quick note today: I've put out the first release of MyAddressBook, v0.1.0 (alpha). Have fun ;-)

There are many more features in the pipeline, though, so more releases should follow soon.

17 older entries...

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!