Slowness with localhost on Vista and seaside/squeak in firefox

While testing seaside when loading the pages locally in firefox I had a long delay. After some digging,

it turns out that the slowness is caused by an IPv6 issue with DNS and can easily be resolved by turning IPv6 support off in Firefox while doing localhost testing. To make the change, type about:config in the address bar, locate the network.dns.disableIPv6 setting and double-click on it to set it to true. This does the trick for the Firefox localhost issue on Vista and everything is running fast again.

as it turns out other people had the same issues but not in relation with seaside, therefore I found it in google only after having discovered the solution by myself.

I am hopping that blogging it under seaside/squeak will help someone save some time.

Lift08 my picks

After watching most of the videos of the LIFT event available at here is my personal selection:

Eric Favre, the co-inventor of Nespresso (Speech in French)
Interesting story about the invention of the “capsule” and its future in tea.Mieke Gerritzen
Strange talk but a fresh look at the intersection between nature and technology.Paul Barnett, the creative director for Electronic Arts Mythic, oversees the design of the upcoming MMORPG Warhammer Online.
Very dynamic and humorous presentation about game development.Kevin Marks
About OpenSocial, friend connections in social networks.Robert Scoble was also present and made his famous interviews.

Talking about Social Networking problems with sharing data

MixIn demoed

Live blogging of the talks available at

Company of Heroes: Opposing fronts – mission 8 black screen

The loading will get to the point where you click to continue [Mission Splash screen] once you click, the screen goes blank and you hear what sounds like an explosion then nothing. Only a black screen.

I found a solution in the relic forums


Fix for this issue:

Go to this folder:

My documents\My Games\Company of Heroes\Savegames\RelicCOH\Campaigns\cxp2\

Find the file

“oosterbeek_crossing – counterattack.cohsav”

Move this file out of the folder and onto your desktop or delete it.

Run the game, hit continue campaign.

NOTE: This worked for me

Updating IBM Thinkpad x41 tablet pc’s hard drive firmware by PXE booting dos

The problem

HTC4260xxG9AT00 Firmware A0L2 (May 2, 2007)
The firmware update is only available on a bootable ISO CD-ROM, but the laptop has neither a floppy drive, nor a CD-ROM drive. The update is quiet important since it reduced the noise made by an annoying clicking sound of the hard drive.

The solutions

If you are in a hurry go directly to Setting up the PXE server

My first attempt was trying to boot on an USB pen drive, but the only time it booted successfully was with a size of a floppy. Unfortunately it is impossible to copy the 18mb content from the CD onto it. Every attempt to expand the size of the bootable dos partition on the USB pen drive resulted in a failure to correctly boot the dos environment.
Second attempt was booting a large disk image over PXE network boot, but that failed, as well.
The final solution that worked was booting a dos floppy with network support from PXE or USB pen drive and then connect to a network share with the content of the firmware updating CD.
The steps

Creating the network boot floppy with the right driver (optional)

Creating the driver (optional)

What you will need:

  1. Extract makev3 to a folder
  2. In makev3\source create à folder name b57
  3. Extract B57.dos and Protocol.ini from the ibm dos drivers (NDIS2/DOS ) to your makev3\source\b57 folder
  4. Rename protocol.ini to B57.ini
  5. Open the file in notepad and remove or comment the line [B57]
  6. Create a new text file named ndis.txt in the same folder and put a description in it like:
    B57 Broadcom NetXtreme Gigabit Ethernet NDIS2 Driver 8.28
  7. Open a command prompt and go into the makev3 folder and execute make b57

You now have a working file under makev3\cabs

Creating the boot floppy

What you will need:

  1. Extract Bat’s Network Boot Disk creator into a folder (for example bfd107)
  2. Copy the into \bfd107\cabs\drivers\ndis\
  3. Open a command prompt on the folder bfd107 and run bfd –i netboot.img

You should have a netboot.img file in your network boot disk creator folder (bfd107)

Setting up the PXE server

What you will need:

  1. Extract TFTP into a folder (tftp)
  2. Extract pxelinu.0 and memdisk\memdisk from the file into your tftp directory.
  3. Copy your netboot.img file into the tftp directory
  4. Create a folder named pxelinux.cfg (yes, with a .cfg)
  5. In the pxelinux.cfg folder create a file named default containing this:

    LABEL Dos
    kernel memdisk
    append initrd=netboot.img
  6. Configure TFTP Settings

Other sites that will help you to configure tftpd

Sharing, Connecting, Patching

What you will need:

  • Utility to extract the files from the iso image 7-zip
  • The bootable iso image with the firmware files…

Before we boot we have to configure the share that hosts the files from the iso image

  • Extract the content of the image with 7-zip or another program into a folder and share it.
  1. Network Boot your laptop by pressing F12 at startup
  2. Choose PCI LAN (you should now be booting via PXE onto netboot.img)
  3. At the first selection screen I used Boot with emm386 (max memory)
  4. Running Network Config -> ok
  5. Auto detect PCI adapter -> Manual -> B57
  6. Configure your network settings
  7. TCP/IP or NwLink (IPX/SPX)

    If you use TCP/IP be sure that your pc or/and your domain allows login in with the deprecated security levels for dos.

    Or you can install the NWLink IPX/SPX/NetBIOS Compatible Transport Protocol, under properties of your network connection on your windows machine.

  8. When you have successfully connected to the network you can type:
    net use c: \\your-server\yourshare to connect to the share
  9. Then you change to the drive and run the firmware updating program:

    cd c:

Warning!, I give you no warranty that it will work correctly for you! The dos environment is not the same as the one booted by the official CD-ROM, but the patching worked for me.

From the readme
Important Notice: Please REMOVE hard drive password.
Otherwise firmware can't be updated with error message.


amfPHP & PHP 5.2.2 solved!

After upgrading php to version 5.2.2 amfPHP or cakeamfphp stopped working!
Thankfully i found a quick fix on sourceforge

You only need to add this code at the top of gateway.php

if (!isset($HTTP_RAW_POST_DATA)){
$HTTP_RAW_POST_DATA = file_get_contents('php://input');

Visio UML Composition and Aggregation

Searching for an UML Aggregation Shape, because there was only a Composition Shape available in Visio, I found a nice tutorial from Brigham Young University Computer Science Department. It explains with illustrations that you have to take the Composition Shape and then change its options.

Aggregation can be shown by:

  1. creating a composite shape
  2. double click on it
  3. click on properties
  4. select “shared” from the Aggregation menu

Tutoriel dojo javascript toolkit

J’ai mis en ligne le tutoriel dojo que j’ai réalisé pour le cours de réseau et télécommunication.

Le tutoriel réalise un site d’e-commerce en 5 étapes utilisant beaucoup de fonctionnalités Ajax réalisées en utilsiant le dojo javascript toolkit.

La documentation se trouve dans le wiki hec:…, elle inclut aussi une introduction de ce qu’est la technologie Ajax.

La démo peut être accédée sous

En plus, les autres pages de HEC 3ème ont été mises à jours avec mes résumées.