Tuesday, April 1, 2014

Where all the activity went?

As you can see, the activity on that blog has been non existant for several years now. For the two visitor wondering, my main focus switch to my familly (2 sons, one other on its way), Normation (my company about devops, config management, etc: http://www.normation.com/ ) and of course Rudder (http://www.rudder-project.org/).

I'm still doing a ton of Scala, and you can find some articles on our company blog (http://blog.normation.com/) or slides about presentation I gave, like the one on Scala + ZeroMQ for Scala.IO 2013. It's on slideshoare: http://fr.slideshare.net/normation/

And of course, there is my Github page: https://github.com/fanf/ or twitter: https://twitter.com/fanf42

Hope to see you on these other media!

Thursday, November 17, 2011

Make firefox remember "autocomplete=off" password fields

Some site thinks that they better know than us what is security. For example, they want to prevent us to make firefox remember the login/password for them, and in the sametime, they don't allow to use a 30 char passphrase (because it does not contain a symbol, but six "!" is ok...).

If, like me, you are finding that behaviour as irrespectuous of your browsing experience as, say pop-ups, there is a trick:

  • install Firebug
  • on the page with the faulty password field, open Firebug.
  • use the blue mouse pointer in Firebug toolbar to select the password field
  • on the Firebug HTML tab, you should have a <input  type="password" autocomplete="off"....> field selected
  • double-click on "off" to edit the value and change it to "on". 
  • Now, enter you login/password as usual in the page form
  • when you hit "submit", Firefox should display the notification pop-up that allows to remember the login/password for that site. 
 Now, each time you are going to go on that page, firefox will autocomplete  the login/password as usual. 

Hop it will help other !

Sunday, February 6, 2011

Installing ZeroMQ and Java bindings on Ubunu 10.10

For some times now, I'm following the slow evolution of AMQP toward it's 1.0 release. In the trip, one traveler decided that the road was far too long, and complex, and choosed to take its independence: ZeroMQ is living its own adventure for some times now. And their choices are intersting, really focused and sharp, so I needed to see what can be done with that message system, and a bit of Scala.

So the first part was to install ZeroMQ and its Java binding into my computer, a Linux Ubuntu 10.10. It was quite easy, but as I didn't find a single post for the whole thing, I write that one as a memo, when in some days I will try to do it again and won't be able to remind the precise steps :)

Step 1: install recent ZeroMQ libraries

Before playing with some code, you need to install ZeroMQ libraries on your system. That library is on Ubuntu 10.10, but a more recent version seems to be needed for Java bindings. That's not a problem as some good will has made a PPA repository for them:

% sudo add-apt-repository ppa:chris-lea/zeromq
% sudo aptitude install libzmq-dev

That should install libzmq-dev (header files needed for the Java bindings) and the libzmq0 package - the core messaging system itself.

Step 2: get ZeroMQ binding

For that, you will have to clone the github repository of the project

% git clone https://github.com/zeromq/jzmq.git

And with that, you have a new jzmq directory with everything needed to build the Java bindings.

Step 3: build and install jzmq package

We are on a Debian based distribution, and ZeroMQ guys have the good taste to provide all what is needed to build a .deb for JZMQ, so let's just use the good work.
In the former jzmq directory, just do:

% ./autogen.sh
% dpkg-buildpackage -rfakeroot

And that's it. If all goes well, you should have a "jzmq_[some-version]_i386.deb" package on the parent directory of the one you are in. Just install it as usual:

% dpkg -i jzmq_[some-version]_i386.deb

And now, you can use ZQM from you Java code.

Some last notes

* don't forget to add the JNI library path in you JVM command line: use -Djava.library.path=/usr/lib
(/usr/lib should contains libjzmq.so, you can see it with dpkg -L jzmq)
If you the JAVA_HOME environment variable was correctly set when you buit the package,you may not have to add that parameter. 
* libjzmq.jar is in /usr/share/java/
* you will find some Java examples here.

That's it! Enjoy a world of easy message distribution.

Monday, January 31, 2011

Martin Odersky au Paris Scala User Group le 31 janvier

 Après pas mal de temps en sommeil, je réveille ce blog pour faire suivre cette annonce: Martin Odersky, le papa de Scala, fera une présentation au Paris Scala User Group, ce lundi 31 janvier. Plus de détails sont disponibles ici et ici.

J'en profite pour relayer l'information du financement à hauteur de 2.3 Million d'Euros sur 5 ans de Scala par l'Europe, ce qui devrait permettre de lever les dernières incertitudes quant à la pérénité du langage.

Tuesday, November 9, 2010

Scala 2.8.1 is out!

After a far shorter development cycle than for 2.8.0, Scala 2.8.1 reach us today.

More than 100 bugs were corrected, some of them really old (#36 !).

The great thing with that release is that for the first time ever, it is fully binary compatible with the previous one, Scala 2.8.0. With that and the creation of Scala Solution company, it seems to be really good insights toward Scala industrialization in the coming years.

  © Blogger template 'Minimalist G' by Ourblogtemplates.com 2008

Back to TOP