Older blog entries for nutella (starting at number 210)

Oooh! Thanks IBM. It looks like the chapter from John Casti's book but with a glpk perspective. Nice.
"On a waiter's bill pad numbers dance."
I was recently reminded of the following mathematical puzzle. I first encountered it over 30 years ago in a holiday How! annual and the currency in that version was pounds shillings and pence (so it was before 1971). Here's the current version of the story.

Three people have lunch in a restaurant and the bill, including tip, comes to exactly $30

  • Each diner chips in $10
  • The server says there's been a mistake and returns $5
  • To save asking for change each diner takes $1 and gives the remaining $2 to the server
  • What happened to the $30?
  • Each diner paid ($10-$1) = $9 so $27 total
  • The server had $2 as an extra tip
  • $27 + $2 = $29
  • Where did the other $1 go?
Good fun if you think about it too quickly.

The Advogato glitch is back. Never a dull moment around here...

Unglitched
Advogato's Recent entries is now behaving itself.

Thanks Seagate. A relatively new 73GB SCSI drive (not one of those mentioned here) was rather unreliable. I persisted with it so long that the shop guarantee ran out. I filled out the forms on the Seagate web site and they sent me a replacement last week. No quibbles. All is apparently well. My old (now ~4 years) 36 GB Maxtor drives are currently the winners for SCSI reliability (and low temperature and low noise). IDE winners are a pair of 10 GB IBM UDMA33 drives. Still no problems after ~9 years (of course IBM's drive division self-destructed soon after these were made so I have a couple of newer drives that died after only 1.5 - 3 years). I also have some dead WD Caviar drives from when WD went through their bad patch (sticky lubricant?). Hopefully the recent proliferation of cheap storage doesn't mean that quality will take a dive. Hopefully.

Advogato glitch
I see lkcl's entry on the "Recent blog entries list". But when I follow the Recent entries list it is not one of those displayed. Luke is rated as Master so his entry shouldn't fall below the threshold.

The local library is cool. They have a copy of Revolution OS in the DVD collection. This is either apt or ironic as one of the major events for Windows Refund Day took place only a few hundred yards away.

Don Marti DOES Get It (duh!)
I agree that this is very excellent. More so as it includes a definite QOTD:
This will keep less from clearing the screen after you look at the man page, and spoil the mental workout that you normally get by playing "Remember the Man Page And Then Try To Type The Command."
Paul E. Ceruzzi Does Not Get It
I've been reading his 1999 book A History of Modern Computing, grabbed from the library pretty much at random, which has a very nice overview of the U.S. side of computer development from UNIVAC onwards. The surprise was his apparent anti-UNIX bias. One of the apparent faults of early UNIX is that it was closely associated with networking so "it made it easy to write programs that acted like a 'virus'". Another apparent fault was that circulating the source allowed people to create other, potentially incompatible, versions. Instead the author hails MS-DOS as a real (author's emphasis) desktop standard. This is a bizarre choice as he also complains about UNIX's difficult command line interface. The complaint against openness also destroys one of his earlier points where he points out that Rockford Research Institute's tight legal control of its TRAC language likely led to its downfall, in comparison to the then contemporary and more open SHARE (collaboratively developed) and MAD (University of Michigan) languages. I am assuming that there was a long delay in submission and publishing as there's no mention of Linux (actually the book coverage seems to stop at about 1995 with the formation of Netscape).

Having said that, if you want an overview of 1950's - 1980's hardware, computer languages and system software it is a nice book.

Jumpering the shark
I recently had a problem with a rebooted PC throwing SCSI errors and the two attached hard drives resetting frequently until the thing just hung. I've used SCSI for a while and so my historically biased approach to diagnosing problems is "It's either cabling or termination". These days of idiot-proof automatic termination and blocks hard-wired to the cables reduces the chances of these kinds of events happening. The bottom line is, that after a great deal of jiggling and reseating, I found that the actual cause was that the SCSI ID jumper of one of the drives had worked loose and thus rendered it SCSI ID 0. Naturally the other drive already had that ID so the two of them were fighting. Maybe the smart move is to number them 1 and 2 so that unless they both shed their jumpers they'll remain unique. Anyway, I should have more quickly remembered the third historically biased diagnosis "...or bad SCSI IDs".

(Where will I be able to post my "I was an idiot" confessions if Advogato goes away?)

More horror stories from proprietary software land
So, the friend mentioned in the last post wanted to play movies from their shiny new DVD drive. Everything worked just fine up to the point when they wanted to watch something that had been encoded in DivX format. I don't know where they downloaded the codec pack but installing it destroyed the ability to watch AVI and MPEG format files. DivX used to fund their development through Gain/Gator bundling but I would be very surprised if they had switched to something worse. I tried uninstalling the codec and it appeared to disappear completely but the ability to play other formats appears to have gone permanently. Tough luck, user.

I had the chance to play with Visual Basic 2005 Express (VB .NET 2.0) and was aghast at the tortuous development environment and at the COMPLETE and TOTAL LACK of ANY resemblance to BASIC. An accompanying text indicated that Bill Gates had written and popularised BASIC many moons ago which legitimises Steve Ballmer's vision of allowing them to rewrite BASIC to allow it to be more modern. The mantra is "to allow refactoring" and this is intoned at regular intervals. I don't particularly care about any of this, apart from the bastardisation implicit in calling the resulting language "BASIC". The book insists that VB6 people are behind the times and everyone needs to switch to this Java- and C++ -like language. Just to show that they can be humorous as well they noted that 64-bit integers were supported "so that Bill Gates can properly record his net worth". Hints of how that net worth came about are probably given in the amount of text devoted to Source Safe, which should apparently be used to store all of your intellectual property to keep it safe from prying eyes (and presumably to stop you wasting it by sharing it with others). VB must be really on the way out if they are working so hard to alienate the original users. I haven't written any kind of BASIC code in 10 years but I liked the PowerBASIC dialect, and the creators of True BASIC are the ones who should be deciding the direction the language should take.

I was helping a friend install a new DVD drive recently (along with the associated software). I also tidied up some of the configuration on their WinXP box (some of which required reinstallation). I find it especially depressing about the general trend towards compulsory installation of extra software on top of even the most basic drivers. Most of the software is intended to take control over the media files and the users' browsing habits. Software writers have moved their junk from dialogue boxes to Windows services to the registry to make it increasingly more difficult to control, let alone remove. There's also a tendency to ride roughshod over existing configuration, even when this makes the setup less secure (for example many programs will switch Autoplay on for all media, even if it was previously disabled). The Roxio DVD software installation was mockingly nasty as the install shield screen had entries for a number of useless "accessories" but there was no way to disable their installation (I have heard that Nero is much better behaved). Other offenders were Acrobat (installs a toolbar in Office that reactivates itself every time you disable it within Office), QuickTime/iTunes (wants total media control), RealPlayer (ibid), ShockWave (ibid) and of course Windows itself. Mercifully they had an old copy of Win2k so I was able to take the CD Player from that so the user didn't have to be submitted to Windows Media Players compulsory "visualisations".

As these annoyances become more and more intrusive it is increasingly easy to bring up the subject of an alternative operating system. One where the configuration is generally through files you can read in a text editor. One where you can actually look at the code to make sure it will not ransack your computer and send the data back to the mothership ("you explicitly allowed this in the section of the EULA that had scrolled off the screen"). One where you can see and control and kill running processes.

Another mistake my friend had made was to order a PC from Alienware. The specifications were actually very good for the money (especially the CPU, motherboard, video card and a full copy of WinXP with latest security patches) but the system arrived in an unbootable state and with missing parts. While Alienware's phone support staff sounded very polite and knowledgable they are apparently controlled by insane people who will do anything rather than refund money (or talk directly to the customer). The telephone support people did arrange to send the missing parts and talked my friend through a reinstallation but the Alienware backup disk image (Norton Ghost) for the system was the same unbootable one on the machine as it arrived and Alienware refused to refund the money for this even though the lower level phone people were sure that this was possible. Telephoning and emailing resulted in nothing. My friend is warning everyone against buying Alienware and suggesting Falcon Northwest instead (althought they sound overpriced - I can't get through the flash animation on their website to actually check the prices). Ah, I forgot Dell bought Alienware so the quality control and customer support can only get worse... Thankfully my own homebrew box is running nicely.

201 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!