lundi 1 août 2011

Le monde tel qu'il est aujourd'hui

Depuis décembre 2010, comme beaucoup, j'ai demandé a upgrader ma freebox 5 en Revolution ... Pas la peine d'en rajouter, beaucoup connaissent le problème.

J'étais en Roumanie le 15 juillet quand je vois le mail de Free tomber dans ma boite : votre freebox révolution est envoyée ! SUPER !

Je devais recevoir un mail et un SMS pour m'avertir qu'elle m'attendait dans mon relais Kiala favori.

Depuis je suis en galère car le colis est en cours d'acheminement chez Kiala, que je n'arrive pas à joindre. J'ai envoyé un mail grâce au formulaire sur leur site. Y a pas de téléphone alors je ne peux pas savoir comment ça ce fait que mon colis re-routé est au centre de tri depuis le 19 juillet.J'ai contacté Free pour qu'ils les relancent ... toujours rien.

Là, je me demande comment je vais me sortir de cette faille temporelle.
Peut-être qu'une menance de déshabonnement ferait l'affaire ... à suivre donc.


Suite : depuis le 30 aout je suis abonné à SFR avec une neufbox. Problème résolu ;-)

mardi 19 avril 2011

JON Bundles Demo

Here is a little video to demo how you can provision JBoss AS & applications using JBoss ON bundles

mardi 1 février 2011

Le livret A passe de 1,75% à 2% ... whouaaaa, je suis sans voix :-|

Le pire c'est de voir à quel point cette nouvelle insignifiante est relayée.

mercredi 3 novembre 2010

La société Proxiad à publié la vidéo de la présentation que j'ai effectuée lors de la session du 20 octobre dernier.

Le Chti JUG : http://chtijug.org/
L'annonce : http://chtijug.org/jboss-5-mod_cluster-lille-20-10-2010-18h30/
La video : http://vimeo.com/16270213

JBoss 5 cloud from ProxiAD Videos on Vimeo.

mardi 5 octobre 2010

eclipse : identify current workspace

I'm regulary switching between 15 eclipse workspaces. i just found about about the "-showLocation" startup switch, which is useful to show in the titlebar which workspace i am currently in.

That's all folks.

mercredi 26 mai 2010

The best ever : Fedora 13 "Goddard" !


Simplement indispensable, encore une fois, de vous annoncer la sortie de la dernière mouture du Projet Fedora. Celle-ci se prénomme "Goddard" et est sans aucun doute la meilleure version de cette distribution toujours aussi avangardiste en terme de technologies Open-Source.

Plus de temps à perdre : Get fedora 13 !

vendredi 2 avril 2010

Thanks God ...


TG Yourkit Exists!

Thanks to the "Classloaders" view in Yourkit, I was able to investigate & fix Perm Gen OutOfMemory. (http://yourkit.com/docs/kb/class_loaders.jsp)

There's others tools, but try this one, you're going to be on crack

Go go go ... buy it!

mardi 2 mars 2010

OpenID

It's not hot news but I think it's useful info.

OpenID provides you with an identity you can then re-use on several internet site. OpenIDFrance is the french site to achieve the same goal.

You can then use this identity by providing the URL that OpenId gave you when you register to the site you are visiting. The first time your login/password will be asked.

Thus, you can manage your information centrally and automatically fill forms with it.

Cherry on the cake. If you have a google account or others (see here) you already have an openID account.

vendredi 26 février 2010

Get a complete list of all possible JVM options

To get a reliable list of all config options for a given Sun JVM, look directly into the compiled code. For example :

$ strings $JAVA_HOME/jre/lib/amd64/server/libjvm.so | grep -B646 assert_null$ | grep -v '{' | grep -v '&' | grep -v '/' | grep -v '%' | grep -v assert_null

(on one line)
Do you know all 646 options ?

EDIT : it is also possible to get the default value and computed value for each option using the jinfo tool shipped with the JDK. First the need the id of the vm from which you want the options. it is easy, just run jps and choose the appropriate id (we'll call id $LVMID)

It looks like a few options are available but not extracted from libjvm.so, but can be found in deploy.jar :

MaxDirectMemorySize
MaxHeapFreeRatio
MaxInlineSize
MinHeapFreeRatio
NewSize
PermSize
ThreadStackSize
CompileThreshold

You can add these well known options to the list above for the next part :

Using the list we got above (let's say we've redirected the list to a file named 6_0_18_complete_options_list , it is then possible to print the (almost) complete list of the options with their default, computed, or overriden value using :



$ for i in `cat 6_0_18_complete_options_list` ; do jinfo -flag ${i} $LVMID | tee -a /tmp/default_computed_vm_options ; done ;

All the values will be written to default_computed_vm_options, with the numeric value , or a + / - in front of the option if it's a boolean. very instructive way to find out the defaults for your specific platform


Lots of interesting stuff in there for JVM geeks :)
I hope you're not lactose intolerant because what you will find is legen....da(i)ry

lundi 23 novembre 2009

upgrade to Fedora 12 x86_64: tips and tricks

  • OpenLDAP is now 2.4 by default. config migration is explained here : http://www.zytrax.com/books/ldap/ch6/slapd-config.html#convert , pretty straightforward.
  • sound is choppy with skype : same solution as before, add tsched=0 to the load-module module-udev-detect line. It will disable the "glitch free audio" (http://0pointer.de/blog/projects/pulse-glitch-free.html ) that might not be as glitch free as the name suggests, at least for now. could also be a bug in skype...
  • the new KNetworkmanager does not remember TLS settings for OpenVPN. this has been patched in KDE svn and the patch applies cleanly to the F12 KNetworkManager sources (see this bug : https://bugs.kde.org/show_bug.cgi?id=208354).
  • Plymouth "charge" theme is still ugly, see previous post to use solar theme
  • ctrl+alt+backspace to kill the X server is disabled by default. you can enable it back by going to KDE settings > regional settings > Keyboard layouts > advanced > Key sequence to kill X server
  • GTK apps set their notification bubbles in the top right corner, you can change it by using gconf-editor > apps > notification_daemon > popup_location property, i've set it to bottom_right to have both KDE and GTK app notifications in the same place
  • The Konqueror man viewer (very useful when page is long) now tries to fetch its man pages according to the user locale. problem is that 70% of man pages are untranslated, and it doesn't fall back to the english version if the locale version is not found. Since i don't care about translated pages, my hack is to remove the locale pages and symlink the locale pages back to the standard directory so that for example /usr/share/man/fr.UTF-8 points to /usr/share/man. Konqueror will now show the original man page instead of displayed a "not found" error page.
  • For the internal mic : Make sure that Digital Input Source is set to "Digital Mic 1" either in KMix or alsamixer -Dhw . And make sure that your pulseaudio configuration tab in pavucontrol is set to "Analog Stereo Duplex". Otherwise, internal mic will not even show up in the sources, cheeky bastard

Other than that, it's a great release :)

mardi 17 novembre 2009

Une nouvelle release pour de nouvelles sensations !

Pour ceux qui ne seraient absolument pas dans le vrai, une information vitale se doit d'être publiée :

Fedora 12 est enfin diponible dans les torrents !


Encore un travail de titan réalisé par l'équipe du Fedora Project pour nous proposer une nouvelle version de cette distribution toujours aussi puissante. Je vous invite donc et sans plus attendre, à faire chauffer les machines noires pour une mouture de toute beauté !

C'est d'un goût mon jeune ...!

vendredi 13 novembre 2009

Mission Londres


En mission à Londres,près du London Bridge, j'ai goûté à la cuisine exclusive du restaurant "Bermondsey Kitchen". Un cadre et un staff chaleureux ! Digne d'un Commensal.

Après la mission à Niort (avec l'excellent La Tartine), à Rome et bientôt à Barcelone et Bruxelles ... y a intérêt à avoir les Timberland bien accrochées.

lundi 9 novembre 2009

Fedora 11 : Clé 3G Orange Huawei e160

Le monde avance, configurer sa clé 3G avec NetworkManager est presque automatsique.

  • Insérer sa clé 3G où vous voulez mais dans un port USB les chances de succès sont plus élevées (la mienne est une Huawei E160 Orange)
  • Clic droit sur l'icone NetworkManager > Modification des connexions > Téléphone mobile à large bande > Ajouter
  • NetworkManager propose de configurer le modem Huawei E220 (c'est ce que rapporte lsusb), la mienne est officiellement une e160 mais c'est pas grave ça marche aussi il s'en démerde.Clic sur Suivant > France > Orange > Internet Everywhere 3G
  • Dans la popup de conf qui apparait, il faut changer 3 paramètres : mettre orange comme password, changer l'APN d'orange.ie en orange.fr, et mettre le code PIN de la clé (par défaut 0000 mais vous pouvez le changer).
  • Attendre qq secondes
  • La connexion devrait apparaître dans la liste des connexions de NetworkManager (clic gauche sur l'icone) . Cliquer sur la connexion (Orange Internet Everywhere 3G pour moi). Attendre qq secondes, et les choses devraient se passer.
  • ENJOY !
Vous pouvez désormais commencer à vivre comme un américain à Paris, mais ne vous attendez pas à ce que le débit soit dans les 4 chiffres ni à pouvoir flâner facilement sur le mouvement quotidien


EDIT : Il faut aussi ne pas se faire arnaquer par les DNS tout pourris d'Orange ... Certains d'entre eux sont plus lents à répondre qu'une vieille à la caisse qui fait ses courses le WE. Evitez de préférence les DNS 10.* et préférer les DNS en 194.* ....

dimanche 1 novembre 2009

Fedora 11 : Enable Dell 370 bluetooth card

I have a Dell e6400 professional laptop. Installed the 370 bluetooth minicard but it wasn't recognized.

Running hcitool scan i had :

Device is not available: No such device

It turns out that this can be fixed by two steps,one of them is lame.
  1. Install the Dell drivers in Windoze while this bug is resolved : https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/277211 (also affects Ubuntu). This will enable the hardware part (the bluetooth led will now be active in Linux). There is probably a way to activate it in Linux, but my laptop came with XP, and i kept the partition so that was easier.
  2. For the software part, run the hid2hci utility to make the device connectable by non-HID devices (i.e other than mice and keyboards, for example bluetooth headsets). You have to identify which device in the lsusb output is the card. For me, it was : ID 413c:8158 Dell Computer Corp. It is probably the same for you. So, run this command as root : hid2hci -v 413c -p 8158 -r hci -m dell
  3. You can now run ,as root : hcitool scan . This should scan for devices instead of giving the "no such device" error.
  4. Enjoy !

jeudi 29 octobre 2009

visually identify ssh session console tabs

add this to the server user's .bashrc :

if [ "x$SSH_CONNECTION" != "x" ]; then
export PS1="\[\033[01;35m\][ssh]\[\033[00m\]$PS1"
fi


It will prepend your server prompt with [ssh] allowing you to visually identify when you're on a shell session on it. of course you could just color the hostname or something else, but you get the idea. sometimes a visual cue is better than having the hostname in the prompt.