Rijden in Nederland

Is soms heerlijk, maar ook een nachtmerrie! Een oorzaak hiervan zijn mensen die niet na willen denken. U denkt natuurlijk dat u dat niet bent, maar u bent het wel. En wel om onderstaande redenen:

Licht op stand automatisch
U heeft uw licht op automatisch. Lekker makkelijk toch? Nee! Of je hebt het licht aan of uit. Wanneer het regent en het zicht minder is, doe je het licht aan! U ziet toch dat alles grauw en grijs is? Met het licht aan zien andere mensen u eerder, wat de veiligheid verbeterd. Dit laat je niet over aan de auto zelf, de sensoren zien niet wat u ziet. Snapt u mij niet of wilt u hier niet over nadenken, ga maar met het openbaar vervoer!!!

In het midden blijven rijden
Wat bezielt jou eigenlijk? Waar ben je helemaal mee bezig? We rijden in Nederland, wij rijden hier rechts. Wanneer je hier, vriendelijk doch dringend, opgewezen wordt door andere weggebruikers, ga je als de sodemieter naar de meest rechterbaan. Het is asociaal, want je blokkeert minimaal twee rijstroken!

Blijven in het midden rijden en weigeren in te halen
Dit is de meest ergste soort die er is. U rijdt al niet rechts. U blijft op 1 baan rijden en gaat niet naar links of naar rechts. U past uw snelheid aan op de auto die voor u rijdt. U bent te lui om in te halen! Ben je ├╝berhaupt een denkend wezen? Vind je het zo fijn om achter iemand anders te zitten? Ga met de trein! Daar hoort u thuis, in het openbaar vervoer, niet op de openbare weg! Tevens krijg je een verbod op voortplanting. Je zou moeten worden gevierendeeld! Het gebrek aan intelligentie die je laat zien is zo enorm groot.


Ook in andere landen kent men dit probleem!

Rijden in Nederland

Calibrating a new tv

Buying a new TV is full of difficulties. The first problem is to choose which one, as there are many different types available. When you have the perfect found one, you want to calibrate it. Like me, you want to picture to be perfect. So we need to calibrate the latest expansion to our household.

First thing is to search how calibration is done. You can hire someone, but that is no fun. So we will do it ourselves.

I used the following item on the forum of AVS: http://www.avsforum.com/forum/139-display-calibration/948496-avs-hd-709-blu-ray-mp4-calibration.html. Here I downloaded the mp4 7zip file. As that option is likely to be used the most. There are also BR and DVD images available, including instructions of how to use them.

Before you begin
Turn on the TV and make some coffee. Or tea? Or chocolat milk? Or a beer? Maybe some wine? No water? Coke or Pepsi? Milk? Brrr! Something stronger maybe? At least wait 20 minutes, so your TV can warm up.

Setting Brightness (Black Level)
Use the “1-Black Clipping.mp4” in the “Basic Settings” map.

Setting Contrast (White Level)
Use the “3-White Clipping.mp4” in the “Basic Settings” map.

Setting Color and Tint
Use the “4-Flashing Color Bars.mp4” in the “Basic Settings” map.

Setting Sharpness and Overscan
Use the “5-Sharpness & Overscan.mp4” in the “Basic Settings” map.

My collected information.

Some usefull links:

Calibrating a new tv

Unlocking a Peugeot radio

When purchasing a Peugeot you might need a radio code. This happens when the car was without power for some time. If you know it, write it down in the documentation of the car! Preferably in the manual of the radio.

First double check all documentation that comes with your car. Maybe the previous owner wrote it down.

Another option would be to try some standard codes like 0000 or 1234.

As the amount of options on the standard radio are rather slim, you could get a new radio. With support for mp3 files and a usb port or card reader.

A last resort would be to go to your local dealer. They probably will charge you.

Well, sometimes Google is your friend. So far I found these:

I was able to find the code using the local Peugeot dealership.

Unlocking a Peugeot radio

Problems encountered with TTCN and TTWorkbench

First I would like to mention that these problems were encountered by myself. I tried to find solutions with help from Google and Testing Technologies, the company behind TTWorkbench. Testing Technologies has done an excellent job in support so far!

Unable to find import file (module)
TTWorkbench was unable to find a module that I wanted to import when compiling. In the Editor however, the file was found using F3. Somehow TTWorkbench did not want to compile the module with the import. If you encounter this, compile the import file first.

Undeclared field ‘myField’ in type ‘record myRecord’
Check the record if the field you are using is listed.

Received no code for module ‘myModule’
When an error occurs, this message is given. Seems to dissapear when all errors are solved.

Something unexpected
What an errormessage...

Unexpected token
Usually means you forgot a ;

It propably depends on the compiler setting of how strict it is, but TTWorkbench allows for modules to import themselves. This is something you have to avoid at all costs! It will cause a lot of errors, for example with type definitions.

Message to send is null! Maybe no valid codec was specified!
This one caused a severe headache. The solution was relatively easy, the tt3plugins directory was not imported in the TTplugins. (Project properties->TTCN-3->TTplugins->TT3plugins path)

var myVar is a template variable
The variable is declared as a template. If you remove the template keyword, the problem is solved. Another option would be to adjust the function you are calling. It does not expect a template variable. For example:

template MyMessageType MyTemplate (template integer MyFormalParam) := {
field1 := MyFormalParam,
field2 := pattern "abc*xyz",
field3 := true

declarations after non-declaration not allowed
This message is dependent on the compiler settings. Just place all variable declarations at the beginning of a function and the message disappears.

‘*’ is a constraint | ‘?’ is a constraint
For now I have removed the error message by replacing the * and ? with omit. This may have to do with how a template is used, as I received the error when trying to use a template in a variable. The template had parameters, but I do not know if it is relevant.

not optional: ‘omit’ must not be omitted
No solution for this very frustrating message… It might have to do with optional fields.

index access to * is not allowed
This message showed itself when trying to run a testcase. The problem might be because a template has an array in it and it is not there. To solve it, I made a default template with * as content. Also I declared one item of the array, with *. I used the default template in my testcase and filled in the needed/predicted values. When I ran the test case, this error did not happen again.

not a value: expression must be a value
This error was shown when I tried to get template AAA and put it in an element that was a Union of which template AAA is a part of. To specify template AAA specifically solved the problem.

Message type is received in the wrong alt step
In the project several message types are defined. For each message type an altstep is created to catch messages that are according to the prediction and that are not. In my case type A was received in the altstep of type B. The error message was “wrong union variant selection”. To solve this, close all programs that are not needed. Restart TTWorkbench and try again. As I think this has to do with memory usage, it is recommended to add more memory to the computer you are working with.

Team City, powershell and TTWorkbench
The main problem is a bug in powershell. Which causes that the exit code is always 0 when using the -file option. See here and here. The solution can be found here.

For me the solution was to add a try-catch block around the code where errors could occur. After the TTthree.bat is called, add an if statement to check if the exit code is not equal to 0. Within this statement add the line: “throw “Compilation unsuccesfull””. Now Team City will see when an error occurs.

Problems encountered with TTCN and TTWorkbench