The dim-witted gamer

October 29th, 2011

I have been playing Charlie II, the sequel to Charlie the Duck, for almost ten years now, on and off, mostly off. My own highscore only progressed slowly during that time, a thousand points here, a few hundred points there, until last week when I realized that I can chain the effects of power pills.

Sometimes I really am that slow a thinker.

(Chaining power pills is something that is as old as power pills, i.e. at least as old as Pac-Man. In Pac-Man it’s just not that useful. Note that the high-score shown here is of the shareware version, which only has 6 levels. The full version has 18 levels.)

Installing Caesar III on Windows 7

October 28th, 2011

A long time ago in a land far, far away I had a game called Caesar III installed on Windows 98 (or XP). Actually it wasn’t that long time ago, and it definitely was not far away. But I digress.

And lo, I bought a new PC which ran on Windows 7, and forgot all about Caesar III. Until I cleaned out a cupboard and the found the game again. Long story short, Caesar III refused to install. It would prepare for running Installshield, and then do nothing.

I scoured the internet for solutions, but nothing gave. Most people apparently happily installed their third Caesars on Vista and 7.

So here’s the trick I used: I just waited a long time. Apparently Installshield needed that. After a minute of five or ten, out of the blue Installshield started running.

(Note that you need to run set-up in compatibility mode.)

Idea: plenoptic assist for traditional DSLRs

October 23rd, 2011

This is cool: a company called Lytro is taking orders for its plenoptic (or ‘light field’) consumer photo camera, which it expects to ship in 2012.

A plenoptic camera swaps spatial (2D) information for distance information. See it as a grid of thousands of miniscule-resolution cameras all pointing straight ahead, with software combining the miniature photos back into a single exposure. (You used to have something similar in analog called a Lomo camera, but since that lacked the sophisticated software required to make something of the extra information it recorded, it was basically something only used for the cool effects.)

The extra information can be used to focus on a specific plane or object, to remove objects or visual artefacts, to create stereo images and many, many things more.

As they say, a grainy, shaky Youtube video with an idiot acting the straight man can say more than a thousand words:

(See also this for a demonstration of more applications.)

But because you’re swapping different types of information, you also lose a lot of information. I read somewhere for instance that the Lytro uses a 20 megapixel light sensitive chip to get to a 1 megapixel image. The result is that this type of camera will be mostly useful for photography where you cannot or will not control the setting. The Lytro will be used for snap shots, where otherwise you would use a regular (read: slow) pocket camera and miss the funny face your toddler pulls. Other uses of similar cameras would be surveillance (where beforehand you don’t know which details are important), or medical imaging where you want to separate planes of say tissues or cells.

All other types of photography have great use for the extra information plenoptic photography has to offer, but cannot afford to give up all that spatial information (i.e. resolution).

So I was thinking: what if you put both a regular sensor and a micro lens array with a dedicated sensor in the same camera? Now, you would not want them to occupy the same space, but as it happens the ‘camera’ (Latin for room) has plenty of space, and many professional cameras use a mirror to reflect the incoming light to a viewfinder. If you’re building a mirror camera using an electronic finder, you could put the micro lens array in front of the viewfinder’s light sensitive chip.

This method does of course also have its draw backs in the form of trade-offs. You could not use this for video for instance, or anything else involving most forms of motion. What my idea solves is mostly an engineering problem. It transforms a problem of unknown variables to one of mostly known variables, which means throwing a lot less cash at the designing the camera and allowing a manufacturer to be early to market.

Maximum speed for bicyclists

September 19th, 2011

Now and then somebody mentions on bicycle activism blogs that there is no speed limit in the Netherlands for cyclists.

That struck me as a bit odd, so I decided to find out if this is true.

And yes it is, by and large.

The Dutch rules of the road (RVV 1990) only mention speed limits a couple of times, notably in articles 20 through 22, which regulate the maximum speed for motorized vehicles.

There are a bunch of snags and exceptions though.

The most obvious one is the speed limit on woonerfs. Woonerfs are a type of proto-Shared Space, an area where all road users mix. To protect the weakest of these—children playing—the maximum speed for all road users on woonerfs is defined in article 45 as stapvoets, the speed of a walking horse. Since this is technically too slow for both car drivers (the engine would stall) and bicyclists (they would keel over), the Dutch supreme court has decided that stapvoets should be interpreted as 15 kph.

According to article 63, traffic signs overrule traffic rules (that makes sense, as signs can be used to indicate exceptions to the rules). Article 62 says that all road users are required to obey signs that either prohibit or command something. That means that signs regulating the maximum speed also apply to bicyclists.

Generally bicyclists will not encounter speed limit signs, with one exception. The signs that indicate the start of a built-up area are often accompanied by a speed limit sign. As article 22 of the Dutch rules of the road already orders operators of motor vehicles to limit their speed to 50 kph in built-up areas, this is an extraneous sign. My guess is they are put there to remind motorists to lower their speed. But since signs apply to all road users, they also apply to cyclists. Signs only apply for the wegvakken (road segments) immediately following them, that is until the very first side-road or crossing.

Finally, there are two catch-all articles in both the Dutch rules of the road and the traffic code, one regulating reckless speeding, and the other regulating all reckless behaviour. Article 19 of the RVV (the rules) says that “bestuurders ['operators of vehicles'] must be capable of bringing the vehicle to a stop within the distance of which they are capable of seeing the road, and of which it is free”.

And article 5 of the Dutch traffic code states that all road users are prohibited from behaving in such a way that this causes danger or hinders other road users.

By the way, if you want to read the rules for yourself, the following definitions may be useful:

  • Weggebruiker: road user
  • Bestuurder (’operator of a vehicle’): all road users except pedestrians
  • Wegvak (’road segment’): the stretch of road from one (side)road to another

(I am not a lawyer. The above is not legal advice.)

In which Rice Rocket takes a Slay ride

September 8th, 2011

My friend and co-blogger (over at 24 Oranges) Natasha has taken up roller derby, an all-women’s full contact roller skating sport. I have come along to a couple of games, and I am here to tell you that roller derby rocks.

The basic game is simple. Two teams of five women skate around a smallish oval. One woman on each team is the designated scorer, the so-called ‘jammer’; the other four are blockers. (The blockers of both teams combined are called the pack.) The designated scorer must overtake the pack to score points. The blockers of the opposing team must prevent this. (The pack must stay together.)

To make things easier for everybody involved, the jammer wears a big star on her helmet. In the video below you see a blocker called Beyonslay successfully stop a jammer called Rice Rocket

Ah, yes, that is another aspect of roller derby, it is also about show. The contestants wear kinky outfits (not always noticeable among the safety gear), wear fightin’ make-up, and have cool names (which are officially registered to avoid duplicates). I definitely encourage you to check out a scrimmage (unofficial match) or a bout (official match) if you have the opportunity.

The following video I shot myself during a bout between the Essen Devil Dolls (red) and the Amsterdam Derby Dames (black). In the first ‘jam’ you see Amsterdam jammer Monstah Megs start alone, because the opponents’ jammer is on the bench for a foul.

How to photograph rain

August 29th, 2011

Here are six greyer than grey photos for your perusal casu quo amusement, and as a “memo to self”.

Other than that they are less remarkable than a timid question on weekdays and more commonplace than a question.

Tv-mode, 1/50, F10:

Tv-mode, 1/125, F7.1:

Tv-mode, 1/320, F4.0:

100 % crops of the previous series:

As you can see (and as I should try to remember), shutter speed matters—use the M or Tv setting to go below 1/200 for that stripey effect.

Apparently there is more to say about the subject. And more. Here’s one I prepared earlier.

What I have been up to, part 2

August 28th, 2011

OK, so the previous WIHBUT wasn’t, and this one ain’t either. Just a grab bag of pictures I took over the summer.

Most of the ones you see here were taken during a walk to Amstelpark and back.

Worst Wikipedia definition ever

August 27th, 2011

I know that Wikipedia’s walls are generally only scribbled on by Anglotard religionist Asperger’s drenched loons, but this is taking the cake. The article on atheism starts out with a surprisingly lucid and short definition, which makes it so much easier to spot all the levels of wrong:

“Atheism is, in a broad sense, the rejection of belief in the existence of deities.”

What I’ve been up to

August 27th, 2011

Sky gazing:

Taking stock of things:

Hiding:

Having a beer:

Greeting summer:

Grisham’s Law

August 10th, 2011

The Testament

I read somewhere, a few weeks ago, that there is such a thing as Grisham’s Law. And although I could find only a single definition—once you’ve started reading a John Grisham novel, it is impossible to put it down—this reminded me I had an unread book of his lying around, The Testament.

What a disappointment. The first quarter of the book is used to introduce a huge ensemble cast of heirs, which is then used nowhere in the book, at least not seriously. What’s worse is that none of the heirs differ from each other. Not only could Grisham have scrapped them (almost) all, it would probably have made for a tighter story—one good guy versus one bad guy.

Every character is a parody. The lawyers in this book are all painted as greedy, law breaking miscreants. The alcoholics in this book are painted as being constantly on the rebound. And the believers in this book are being painted as labels. No matter how much I rack my brain, I fail to remember a single interesting character.

The protagonist, an alcoholic lawyer called Nate O’Reilly, manages to redeem himself and kick his habit by becoming a Christian (this would be a good time to cringe). He penetrates the impenetrable swamps of the Pantanal in Brasil in order to find the last heir, death lurking around every corner, except that as a reader you know Grisham won’t kill off his hero, not halfway the story. That neatly kills off any lingering suspense the book might have retained.

The rest of the novel is one dreadful string of self-contained events. In the rare occasion that Grisham seems to want to build up suspense, he tends to get bored with it and opts for a quick way out.

I still finished the book. Don’t ask me why. I felt like… like the writing must simply get better at some point. And then when it was clear it wasn’t going to get better, I had already invested too much time. Or perhaps I could not put it down because of a universal law at work.

My rating: 1.5 stars
*1/2

Here is a tip: if you must read about believers, read Morris West.

Last second update: this is not a negative critique of Grisham, merely of this specific, auto-pilot work. I hugely enjoyed reading The Firm and The Client, and watching the film based on The Pelican Brief—all three novels, I might add, belonging to his earlier works.