Deze week ben ik in Helmond, nabij Eindhoven in Nederland om een cursus te geven bij Tjip. Ik verblijf in het Golden Tulip hotel Westende. Vlak tegenover het hotel ligt het restaurant (Café Royal) ‘t Parlement. Daar ben ik dinsdag en donderdag avond gaan eten. En ik kan het bij deze dus aanraden! Uitstekende bediening, zeer lekkere gerechten op mooi gepresenteerde borden.

Dinsdag at ik een verrassingsmenu (3 gangen) en vandaag at ik het standaard menu (4 gangen). Prijs is heel schappelijk voor wat je krijgt, dus bij deze nogmaals absoluut aan te raden als je in toevallig in Helmond bent.

Het hotel valt een beetje tegen. Persoonlijk vind ik het een lelijke kamer (104 -> vraag een andere kamer 😉 ), met veel te weinig licht, vlak naast een drukke weg en boven een feestzaal. Beide factoren zorgen voor lawaai. Op de tv kan ik slechts 1 belgische zender ontvangen, met name Ketnet/Canvas, maar dat maakt me niet zoveel uit. Ontbijt is wel in orde, maar geen uitschieter.

The video shows a prototype of a machine that is powered by the wind that reaches speeds higher than the wind, moving directly down wind.

DDWFTTW stands for Direct Down Wind Faster Than The Wind.

Every Windsurfer with a little bit of experience knows that this is impossible using just a stationary sail, because of losses due to friction, it is not even possible to go as fast as the wind, when moving directly down-wind. If you have an angle, it is possible to go faster than the wind using a modern sail.

Now how does this work? What you have to notice is that the turbine is not moving the wheels, but the wheels are moving the turbine, this means that the turbine is blowing in the direction that the wind is coming from. The wind pushes the cart forward, this sets the wheels in motion, which in turn sets the turbine in motion, which generates extra trust. Really cool and at first contra-intuitive. Don’t you just love engineering!!

This new-found knowledge will certainly buy you a beer at the bar, if you can lure the right people into a wager.

I’ve been working on a syntax highlighting addin for powerpoint for some time now. I finally feel that it is stable enough to push a first version onto the interwebs.

You can use it on your slides to make code in there more readable and have a consistent styling. I know you can use “paste with keep formatting”, but I find it can be annoying.

I used Alsing.Syntaxbox and  NRtfTree to help with the heavy lifting. I modified them a bit, just by removing code I didn’t need.

What it does, essentially, is add a couple of buttons to a Ribbon. When you click a button, the addin detects which element was selected on a slide and applies syntax coloring of the selected language to it. To do this, a SyntaxDocument is created, it parses and calculates the styles for each word. Then I take the output of the SyntaxDocument and feed it into a RtfDocument. When that is done, i use the clipboard to do a rich paste into the element and apply some styles I like. It is written in C#. The syntax definition files are included as embedded resources.

To install the addin: unzip (using 7zip) the archive, then double click the SyntaxColoring.vsto file. This will install the plugin for you. You can remove it from your machine in “Add or remove programs”. In Powerpoint you can enable and disable the addin, or remove it if you don’t like it. Note that you might need to install the Visual Studio 2010 Tools for Office, before you can execute the vsto file.

Please provide feedback if you like this or if you have suggestions for improvement. Take the source code and make it better. This is released under a GPL licence. You can take it, modify it, but you have to give me credit and publish the source of your modifications. There is no support or warranty of any kind. The components I used are open source, so respect the licence of those.

I’ve created a dos virtual machine image a while ago; recently a colleague talked about it, so here it is for everyone to have a look at.

It is a zipped archive (3.9M) that contains a vhd, vmc and vmcx file. You may have to manually edit the vmcx file, because it seems to contain absolute paths to the vhd. Make sure you have more than 500MB free hard disk to unzip. I like to use 7zip to handle the compression.

Bare msdos 6.22 virtual pc image

To use this, you obviously need Virtual PC (free download from microsoft – you don’t need virtual xp in this case, just Windows Virtual Pc). You could put the virtual machine in “C:\Users\YOURNAME\Virtual Machines”, where you get some extra buttons in the menu bar of the explorer window to create and edit settings of the virtual pc images you might have.

Enjoy