Archive for the ‘fun’ Category

Dosbox won’t get Ctrl-Break…

Thursday, November 1st, 2012

As you do not know, during my recent bike holidays, I ran into Arnout and had another go at Sokoban. Of course, I couldn’t just let it be and I’ve been having some fun ever since tinkering with the source code.

Point of particular annoyance: in Dosbox, QB / QBasic does not react to CTRL+Break. Which happens to be the key code to halt the program and edit it — in other words, my debugging key. I now got curious, and turned to The Google.

  • Here’s why CTRL+Break doesn’t work in a normal DosBox setup.
    (tl;dr version: no event generated whatsoever by the keypress. Also: this is a “magical” key-combo, in that it triggers an erase of the keyboard buffer and a call to a special handler — in short: special magic is needed, and none of it is there).
  • Apparently, there is a patch to enable CTRL+Break (note that this patch requires another patch). Didn’t try it myself.
  • Best of all: QB / QBasic respond similarly to CTRL+ScrollLock. Which works out of the (dos)box. :)

Decay of the English language

Tuesday, October 9th, 2012

Not a native speaker here. Nevertheless, I am often gripped with laughter when someone spots “sins against English”.

Time I added one myself: This page talks about a need to explain the “symbology”. This was addressed far better than I could ever do it below:

Privacy on the internet

Wednesday, September 26th, 2012

First, a cool video (likely spoofed) raising awareness on privacy issues:

Next: don’t do this!


Found thanks to @needadebitcard at Twitter. Even if this one may be a fake (I really hope so), there are too many others who also do this. Seriously, folks, giving away your banking details?? Upon seeing this, several people have already made a connection with the Darwin Awards but then for Security / Privacy. Might be a good idea.

This recalls the pleaserobme / Icanstalku websites, which both leeched photos from all over Twitter, and scraped them for location data. Yes, ladies and gentlemen, if you publicly post a photo on the InterWebs which has location tagging in it, others can see where you took that photo.

But people showing photos, online, publicly, of their banking details… that just boggles my mind. Don’t do it. In the old words of Userfriendly.org:

Day 11: Training back to home

Sunday, August 26th, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 11: Banneux – Troisvierges

Bike counter settings:

begin: 822km
end: 892km
cumulative avg: 18.94km/hr
route: Haut-regard, Stoumont, Petit-Coo, Troisponts, Grand-Halleux, Vielsalm, Bovigny, Courtil, Gouvy, Haut-bellain, Bas-bellain, Troisvierges.

On waking up, I could really feel my upper leg muscles. Must’ve been the two hours of uphill of the day before. Moreover, the saddle pain, which had always been looming as a vaguely distant and ominous threat, had begun manifesting. Nevertheless, nothing to be done for it but onwards.

Where the day before, I mostly followed the route I took coming (in Belgium that is), today I figured to deviate. Coming, I had followed the water. And it was nice and reasonably swift. But today, I’d be going uphill anyway, and there was a far more direct route to Stoumont (20km vs. 25km, according to google maps). So I opted for the more direct route. To my surprise, it did not go down. And more not-down. And even directions that can be described as “up”. Somehow, most of those “up”-like directions were nicer than the day before, and I managed around 15 an hour on those stretches.

I passed through Troisponts, and figured it was early but lunch could be had. However, the village did not seem to have a nice place for that (must’ve taken a wrong turn somewhere). So, I figured to try my luck in Vielsalm. On the way, I passed a Motor Inn (sort of a hostel for motors) opposite of a replica of the cave of Lourdes. Weird, but fun. But by then I kind of had had enough of the racing cars, the negligent driving, the general feeling of putting my life at risk just by being on the road in something not having four wheels and a cage construction. So once again I went on, and once again I failed to find a cosy place for lunch. Must be getting picky in my old age :)

Finally, in Courtil, I passed a brewery / restaurant called “Lupulus“. Since this was sort of the last possible stop in Belgium (and thus the last stop, since I had planned on taking the train from Troisvierges for a long time now, due to the body’s complaints as much as the desire to be home and have things over with), I stopped there. It didn’t look convincing from the outside, but I had a meal and a bit of juice, bought the local stuff for Aga, and marched on.

Within a few hundred meters, I realised something was wrong. I couldn’t put my finger on it, but it felt like a “slag” (an aberration of the circle-shape of the rim of the rear wheel). However, glancing down, it did not seem to be that — the rim kept a straight line with every revolution. Nevertheless I could feel a definitive movement with every revolution. Crap.

I biked — carefully — onwards. As long as I was providing the power myself, it felt alright. But the downhill stretches, which previously had been joyful exercises in lazy acceleration, became frustrating events filled with worry and brakes. Going over 25, I could feel the wobble in the wheel, and the luggage’s effect on it, which seemed to amplify one another. Not Good!

Luckily it was not that far any more – another hour or so. Naturally, this cemented my plan to get on the train and not get off till Luxembourg city. Yes, I had made the provision for getting out sooner to enjoy a bit more of a ride, weather, bike, and physical state permitting, but “bike” was definitely not permitting, so no go.

I got back home, put the bike in the garage, and had a looooong shower. The next day, I limped my lame bike over to a workshop, where the problem turned out to be a rupture in the rear tyre. Big thanks Twan for diagnosing this over the phone in one go!

I got myself a new inner tube (never sure how much duress it had been under) and a new anti-leak tyre, and the mechanic put it on swiftly and expertly. Okay, it was quite a hassle for him, but he fixed a few other minor annoyances with the bike, so it is now yet again revisioned :)

Day 10: Leaving Lowlandia behind

Saturday, August 25th, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 10: Eindhoven – Banneux

Bike counter settings:

begin: 681km
end: 822km
· kms @ border lowlands: 790km
cumulative avg: 19.13km/hr
· cumul. avg before hills: 19.36km/hr
route: Aalst, Valkenswaard, Achel, now really to Achel, Bochelt, Bree, Oppitter, Neeroeteren, channel Zuidwillemsvaart to Maastricht, Moelingen, Visé Dalhem, St. Remy, Housse, Barchon, Heuseux, Micheroux, Nessonvaux, Banneux.

A long day planned (in Google Maps, it was about 130km), so I got up early and left with my brother at 7.30. Consequently, I was in Belgium before the Aga’s of this world were at work :)
It was cold in the morning, so I wore a vest and socks in my sandals (I know this is a Capital Fashion Crime — it was cold, so fashionistas: bite me! :P). I wound my way through Flanders a bit, and crossed a channel. I pondered following it — it did seem to be headed south — but decided to stick to the planned route. A few villages on, I crossed the damn channel again. This time I checked things. It was the Zuid-willemsvaart — to the best of my knowledge, a channel that runs to (or from) Maastricht. And there was a bike lane next to it.

One and one is two, so I deviated from the planned route and went to the channel. It was far calmer (virtually no motorised traffic), nice and green, and you overtake the occasional boat. I got to Maastricht at 12:30, surprising myself. Two-thirds of the way, and in five hours! I wasn’t even terribly tired nor hungry! So I decided to have my lunch in the small part of Flanders south of the border of Maastricht. The part that valiantly struggles against the Romans, errr, the Walloons :) Had a nice chat with various Flemish folk there, and took a long break and a nice lunch. (what is it with having Sealand’s mussels there? It was plastered all over the place, both in Flanders and in Walloon… you don’t see that around Eindhoven.)

Afterwards, I biked on, figuring it wouldn’t be that far. I got to Visé in decent time, and then the uphills started. My legs informed me that it wasn’t flat any more, and my speedometer dropped dangerously close to single digits. Wow. A few of the hills along the way surprised me with their uncanny ability to keep on going up. Even if you think you spotted the end of the hill further on, the road would just curve and you were welcomed to another portion of the lengthy uphill.

At times, I wondered why Heidi wasn’t set in these nice, rolling hills. It seemed quite appropriate. And then a car would race by, trying to break the sound barrier, at about a hand’s width, and I got it.
(Or, at least, I thought I did — I just read up on Heidi on the above link and saw it doesn’t come across quite as situated in a happy and unspoiled environment as my faded memories made it out to be.)

The last uphill was, yet again, particularly daunting. I arrived around 6, and figured I could have gone on a bit, but why bother? I had done enough for one day — as my leg muscles kept telling me ;-)

Day 9: Chilling back to Ehv

Wednesday, August 22nd, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 9: Zaltbommel – Eindhoven

Bike counter settings:

begin: 625km
end: 681km
cumulative avg: 19.17km/hr
route: Hedel, Den Bosch, Vught, Best.

I started off, and there were Ominous Dark Clouds in the sky. Aukje had checked though, and no rain nearby. So we set out (she and the kids accompanied me the first piece). It got darker and windier… oh boy! After I waved them off, I raced (well, counterwind, let’s say I did my best) to Den Bosch, hoping I’d find some shelter before the rain would find me. At restingplace De Lucht, I contemplated staying and waiting till it passed, but the clouds were a bit too far off. I’d had to wait an hour at least, I figured. So: on I went. After I crossed over the Maas, I felt relieved. The darkness was in Gelderland (a province) and it wasn’t setting foot in lovely Noord-Brabant! :)

Then happened what I expected the day before: I biked on rather relaxedly, and suddenly found myself almost at the place to be. With enough time to do some sightseeing/shopping — so that’s what I am about to do now :)

Day 8: SokoBan

Wednesday, August 22nd, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 8: Utrecht – Zaltbommel

Bike counter settings:

begin: 559km
end: 625km
cumulative avg: 19.07km/hr
route: Annoying, very annoying.

This day I planned to follow the LF routes to the south. Unfortunately, there were various construction sites in Utrecht, and consequently, some routes were rerouted. Luckily, this was well indicated. Score one for the ANWB / bike tourism! The paths are important enough that temporary breaks are well rerouted! Woo hoo!

That’s what I thought near Utrecht Central station. 200 meters onwards, I began to change my mind. The next crosspoint was nowhere in sight. After biking around for 20 minutes and ending up back where the confusion started, I got fairly annoyed.
Finally, after about an hour, I managed to leave Utrecht, and was on my way. Again, I had some crosspoints, but since I didn’t have a full map of these surroundings, I just followed my route out of Utrecht and then planned to follow the main LF-route. Yeah right.

Many, many annoyances later I arrived at Arnout and Aukje’s place. Seriously, I even managed to mess up the route in Zaltbommel. Today was definitely not my day for following routes. At Arnout and Aukjes, we had a wonderful dinner, I played a bit with the kids, and in the evening, Arnout and I had a nostalgia-inducing flashback by reviewing SokoBan. Arnout and I coded that (in BASIC!) and finished it in 1997. Arnout found an old version, and was rather proud of how complete the game was (menus, level selection, graphics selection, etc.) To my surprise, his version included a “level succesfully completed” routine — I had a version stored somewhere that didn’t have that. Then again, his version missed the autoplay (which any self-respecting game has, right?), which my version had. Same thing for soundblaster support.

Apparently, we had a need for version control back in 1996 and didn’t realise it.

At any rate, we merged the end-of-level cheer routine into my version, and I’ll post a zip-file with all the stuff here. The game runs in Windows 7 under dosbox, which is quite cool (seeing as the game was written in the days of Windows for Workgroups 3.11 / Dos 5.0 — althoug finishing it took a year or two :)

Day 7: The search for lunch

Tuesday, August 21st, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 7: Spike City – Utrecht

Bike counter settings:

begin: 452km
end: 559km
cumulative avg: 19.1km/hr
route: Knooppunten: 04,05,06,07,08,38,57,49,48,46,47,45,63,64,50,03, LF 2, 40, shortcut to 46, 47,50,37,96,68,67,70,71,72,73,09,10,11,12,13,16,18,46,45, LF7. (note that the bike route network reuses intersection numbers — start near Spike city and follow the logical progression to get my route.)

Today, I followed the bike route network here in NL. I figured it wouldn’t be that far, so this counted again as a day off (the fourth in succession: going to Breda didn’t count, the rest day surely didn’t count, going to Spike city also didn’t really count, and now it was again on the order of 80km — a relaxing day).

The thing about the bike route network is that it gives you gorgeous, relatively relaxed biking routes. Meaning that they are very definitely not the shortest route between two points.

Today I biked 107km. That ain’t a relax day in my book. That’s what I get for underplanning!

It was a bit a struggle to find some of the signs. Though generally speaking, the bike network is well signed, oftentimes there is but one sign signalling a change in direction. Miss it and you’re off the route.

While that was annoying at times (especially at T crossings, where the sign was all but unfindable, or actually absent), the routes do go through very nice areas. I biked through the outskirts of Rotterdam, and it was peaceful and quiet. Mind you, this is the second biggest city in NL. And it was peaceful. And quiet. That’s some route!

Gorgeous, and going through the green heart in the Netherlands. Very nice. Also: very much a place without places to sit down and have a drink. (unless you brought it with you, but you know what I mean: a terrace). I finally found a place to have lunch at about 4 o’clock… :s I wasn’t terribly hungry, but kind of annoyed with the lack of a place to sit down and be waited on. I guess I was getting a bit spoiled, so far :)

Day 6: The joys of the bike route network

Tuesday, August 21st, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 6: Breda – Spike City

Bike counter settings:

begin: 378km
end: 452km
cumulative avg: 19.2km/hr
route: Terheide, Helkant, Wagenberg, Hooge Zwaluwe, Lage Zwaluwe, Moerdijkbrug, knooppunt 41, bike route LF12 till knooppunt 04, Spijkenisserbrug.

This day, I passed “my” monument (at the Moerdijk bridge) — it’s mine because it’s from my birthyear. It was also the first day where I followed the ANWB fietsroutenetwork (well, partially). There were loooong stretches of straight roads through peaceful, natural environments. Would’ve been even better with less headwind — I guess you can’t win ’em all. At one point, a heron crossed the cycle path, and even though I came from its right, it refused to give me right of way and just moved stately out of the way. Yeah, nature was all over me.

I was supposed to have dinner with my niece, uncle and aunt, but unfortunately, the latter two could not join. Had a very nice dinner with my nephew and niece instead, and long chats with my niece on life, the universe and everything.

While the first part of the trip was cool for the achievements (actually making it to NL, for example), by now I really started to enjoy the part where I got to spend some quality time with some very nice people. I don´t usually get this opportunity, and while I didn´t plan it for this purpose, it is a major upside.

Day 4: The joy of a revisioned bike; day 5: the joy of water

Tuesday, August 21st, 2012

I’m on a biking holiday — first time I’ve done such a thing. Here’s a short summary of what’s happened so far:

Day 4: Eindhoven – Breda

Bike counter settings:

begin: 292km
end: 362km
cumulative avg: 18.6km/hr
route: AquaBest, wilhelminakanaal (via Tilburg), Oosterhout, Breda.

In Eindhoven, I took most of the day off — my bike wasn’t ready till 4 o’clock anyway. I went to an outdoor shop and got myself another quick-dry shirt for biking, and a new vest to replace the vest I had forgotten to bring (intended to bring 2 vests: one for biking, one for the evening. Ended up bringing just one :s).
My new super-duper vest repels water, is windproof, and should be warm! Which means that till now, I have had zero opportunity to wear it — way too hot :)

At four I picked up my bike, and left for Breda and Bobby. The route was fairly easy: Go to Aquabest, get to the channel, bike on till you turn left and end up near Bobby. Just after passing through Tilburg, the route passed a store and I stopped to pick up a little something for my host: a small bonsai tree. I had to fiddle with the luggage a bit, moving some stuff to the other bike bag, but in the end, it all fit.
Or so I thought.

Imagine my surprise when I got to Bobby and found only one shoe in my bike bags. It was way hilarious, and annoying at the same time.

Nevertheless, it was a good day. I arrived at 8, we had dinner and then went to town. When we got back, we were still chatting, which sort of continued till 3 in the morning. Fun, but since I hadn’t slept much, that was pushing it a bit. Moreover, somewhere in the evening, Bob and myself were invited to a sailing trip the next day. It sounded great, but it involved leaving at 8am…

We managed to be more or less ready to go at 8 am, and were picked up quarter to nine. :s.
The day was great! Sjammy and kwotte are really nice guys, and it was fantastic to be on a yacht once again. In the evening, we had dinner somewhere in town, and sort of stayed till 2am :)

All in all, a fantastic rest day!