

Saw I & II
Saw I & IIScary : sure. Intesive : yeah quite. Weird : doh !
The most interesting effect is that you're really continuously seeking "Where are we going ? Is there and end to this ? Could it be more disturbing ?". Atmosfear is very well rendered even with low budget, and there are a lot of twists and tricks you're just busted all the time.
There is a problem though : not sure you should see your girlfriend will enjoy it so prepare for a lonely night

Saw I & II
Saw I & IIEffrayant: c'est clair. Intense: plutôt oui. Dijoncté : non sans rire ?
Le plus intéressant c'est que le suspens est haletant, on est en permanence entrain de se dire "Où est ce que ca va ? Y a t'il une fin au délire ? Qu'est ce qui va être encore plus barré ?". L'atmosphère est très bien rendue même avec un petit budget, et il y a tant de rebondissements à l'histoire que l'on ne s'attend jamais à ça.
Il y a juste un souci : pas sûr que cela votre petite amie/compagne/poisson rouge va apprécier le petit tour...


Der Untergang
Der Untergang
PhpMyAdmin and other client mysql
PhpMyAdmin and other client mysqlIf like me you have sometimes troubles reloading into mysql a big dump made from it. The PhpMyAdmin page crashing, or putting some weird error like 'MySql has gone away' or using another client with the same kind of troubles. You may want to know about this :
A lot of client software are not implementing some unusual errors raised by the server like in this case the 1153 : Packet too large and then are just using another one instead (or crash) like "MySql has gone away".
So if you don't know why you re not able to load a complete database sql file without crashing go to the url above or simply add :
to your mysql.ini or my.cnf on the server. It may helps ! ...
SVN Subversion Troubles
SVN Subversion TroublesSVN is great, yes. CVS was already great actually. Except that I've been struggling with a stupid bug/weird behaviour !
If like me you have the error :
"svn: Not authorized to open root of edit operation"
on a checkout even when you had the right to import your own files (and you are authenticated) ! So basically looks like you had the right to write something but not to read it ! Even if in the authz file you gave yourself all the rights on all the files...
Then praise for the following explanation :
edit the svnserve.cnf
and if like me you just wanted to avoid anonymous users by letting the line : "anon-access = read" commented, you re wrong ! You do have to specify "anon-access = none" and magically you can read your own files (yes even if you were of course authenticated, it has an effect).
I don't even try to understand... 5 Hours to find this.


Work Permit
Work PermitWho said that swiss are slow ? : I've just been notified to fetch my work permit... after working since the 20th of february ! And all my work colleagues hired since (some of them by me) even those a couple of weeks ago, all have them already.
Vaud state must be really slow.
Funny this, I'm now part of the planet's side of those who need to ask gently if I can work...
Permis de Travail
Permis de TravailQui a dit que les suisses étaient lents ? : Je viens de recevoir une convocation pour aller chercher mon permis... après avoir commencé à travailler le 20 février ! Et que tous mes collègues engagés depuis (dont certains par moi) et ce jusqu'à y a quelques semaines l'ont tous déjà.
Le canton de Vaud doit être très lent.
Amusant ça, je fais maintenant partie de la partie de la planète qui a besoin de demander la permission pour travailler...


Zooooooooooooooooom Zoom
Zooooooooooooooooom ZoomThat's neat. Have a look, but you may need the latest version of shockwave
Zooooooooooooooooom Zoom
Zooooooooooooooooom ZoomEbouriffant. A voir, mais vous aurez peut être besoin d'installer la dernière version de shockwave


Back from ... lots of stuff
Back from ... lots of stuffThis blog had not even been "deployed" publicly that it had already a long period of inactivity !
Indeed July/August had been quite hectic with some big movings, no internet access (hence the inactivity in this poor blog) and a lot of work (which means not even enough time to blog a little during lunch) and some well earned high speed holidays in the middle.
Now it is official I'm living in Carouge, small town which is part of Geneva (arguably one of the cutest part of Geneva) in Switzerland, I'm kinda swissified I'm afraid. Broadband has just been installed, she's hot. And... believe it, I'll even have soon a computer ! Yes, I tell you, it helps to update a website
This site will soon be properly "launched" (linked and advertized a bit more) and nicely updated now that I'm looking for the computer later on this evening...
De retour ... de plein de choses
De retour ... de plein de chosesCe blog n'a pas encore ete rendu "publique" qu'il a deja eu une longue periode d'inactivité !
En effet juillet-août a été assez frénétique avec en particulier plusieurs déménagements, pas d'accès internet (d'où l'inactivité blattante de ce pauvre blog) et beaucoup de travail (ce qui veut dire même pas le temps de bloguer en coin entre midi et deux) et quelques vacances high speed au milieu.
Maintenant c'est officiel j'habite a Carouge, petite ville qui fait partie de Genève (probablement une des plus belle partie) en Suisse, je me suis quelque peu suissifie j'en ai peur. L'adsl vient d'être installée, elle est toute fraîche. Et ... même que je vais bientôt avoir un ordinateur. Si si ca aide pour mettre a jour un site
Ce site va du coup bientôt être proprement "lancé" (links, moteur de recherche et mails) et updaté regulièrement cette fois maintenant que je vais chercher un ordinateur ce soir même...

Inside Man / L'homme de l'intérieur
Inside Man / L'homme de l'intérieurC'est bien.
Bon ok je vais la faire plus longue :
Inside Man c'est spike lee qui se prend tout un coup pour hitchcock avec un thriller / film de gangsters au scénario machiavélique, à la réalisation chiadée, au suspens haletant, avec une fin qu'on-se-demande-bien-comment-elle-va-arriver-nom-d'une-pipe et 2^10 fausses pistes.
Soyons clair comme souvent le réalisme est quelque peu malmené et on peut facilement trouver des points de discussions a mégoter, si on s'en donne la peine, mais force est de constater que le concept du film retombe très bien sur ses pattes et qu'on en reste bluffé par l'intelligence déployée. C'est parfois tellement bien mené que si vous allez faire un tour sur le forum du film du site imdb, un grand nombre de personnes (dont je ne divulguerais pas la nationalité maîtresse du monde) semble perdu par les ressorts de l'intrigue. Il faut donc être un peu attentif mais comme le fim ne souffre pas de longueur malgré finalement ... "peu" d'action, on reste suffisamment accroché pour peu qu'on ait pas à aller chercher des cacahouètes ou de l'eau à sa copine/labrador/rejeton pendant la projection. La réalisation plutôt moderne de spike lee (sans forcément tomber dans de l'intellectualisme pointu d'un film d'auteur : ca reste un film d'action) et des dialogues affûtés et plein d'humour souvent en décalage avec l'action font très bien monter la sauce d'une recette aux ingrédients juteux et choisis avec précision. Il se paye même le luxe et le jouissif délire d'une scène décapatante entre le flic qui finit par être escorté par les preneurs d'otages dans la banque et le chef de la bande avec lequel il devise de philosophie et de "criminalité". Scène quasi culte si vous me demandez mon avis.
Bref, Inside Man c'est du tout bon. Pas le film du siècle non plus mais un bon film d"actions", à mettre au même niveau qu'un "Ocean's 11", assez vite oublié peut être mais quelle agréable façon de passer quelques heures.
Seul détail qui personnellement me choque un peu : le choix de Clive Owen pour le chef de bande. Non pas que je n'aime pas cet acteur - au contraire d'ailleurs - mais il ne va pas du tout dans le rôle. Sans dévoiler d'informations sur le film, la seule bonne raison de l'avoir choisi c'est ... que justement il n'a pas la tête de l'emploi - vu que le ressort du film est de dérouter le flic... et le spectateur.
Inside Man de spike lee avec Denzel Washington (le flic), Clive Owen (le bad guy), Jodie Foster la ... euh femme. (No spoilers)


Long time no talk
Long time no talkAngoisse de la page blanche ?
Angoisse de la page blanche ?
My Anti Virus loves me ... too much.
My Anti Virus loves me ... too much.At work, the product manager of the piece of software we are developing based on Joomla!, asked us at some point "Why the admin console is so bloody slow ???".
Well indeed, a simple html page was taking ages to be built and/or downloaded on a LAN with the server being an outrageously powerful piece of hardware for the job to be done. And the server was 10 meters away from my laptop.
Ok joomla is definitely not a racing horse but still, why oh why taking 5 or 6 seconds to build a simple admin page every time we click on something (and joomla users know that a lot of page refreshes are needed if you want to do anything).
Strangely enough the same pages under Firefox are lightning fast. Sadly the target is Internet Explorer only. I had to investigate all down the line, put timers everywhere in the php and javascript code etc... Result of the battle: FF 0.3 secs, IE 4.3 secs at its best !
This, in fact, comes from the admin menu printed as a banner on all admin pages. This is built using another opensource piece of software called JsCookmenu. Rather than being processed on the server, it is built from a multidimensionnal array by the javascript itself. Hmmm well ok, why not.
Quickly enough I was able to determine that the problem was coming from the way it is built : a 60 KB(!) string that the browser must parse on the fly (because built by javascript) before a classic innerHTML setter. Huh ok, innerHTML was "invented" by IE but definitely looks quite slow here, weird... but us - as (a little bit) geeks - tend sometimes to drop the investigations thinking "hey whatever, FF beats IE clearly, cant compare isnt it ?".
Until I found another computer not on our LAN where suddenly the admin was quite fast. My mind clicked this time ! Oh bloody stupid macafee get out of my way ? Reload --> lightning fast !
What's the problem ? Simply that this menu (by the way only around 50 items) is intensively based on "onmouse*" kind of events. Each of the 50 items (and the spacers !) has the 4 : onmouseup, onmousedown, onmouseover, onmouseout events defined. So everytime the html parser finds the start of an event definition the browser gives the control to the anti-virus that instantiates lots of stuff just to parse a 50 bytes string and imply replies "this is a virus or not..." and trashes everything. And this takes something like 0.2 secs (!) and 100% CPU every time of every event assignation of every menu item of every page... Even if of course this is the same code EVERY time ! In this menu this is actually exactly the same string as this is the same call every time, even the parameters are the same if I remember well.
The result is that the poor computer is completely STUCK for 4 seconds (100 % CPU, cant click on anything on the page). Nice one.
It was already quite a pain these "On access scanners" when it slows down the launching of any program because of the .exe scan prior to it but on the other hand this is indeed a nice protection for non-techies who dont really know much about viruses. But now, completely screwing the computer while checking all the small javascripts handlers strings every time is a hell of a nightmare !
So, If you are using joomla! and you find it slow on the admin console : disable your anti virus, if sometimes you find web pages that seem too slow to be because of the network latency, try disable your antivirus before a refresh... you never know, it can make your life easier.
Be AFRAID of javascript you people, you never know how evil this technology is. Or is it evil anti virus technology ?