Sunday, August 11, 2013

New version of the MacOSX Cassandra Preferences Pane

I've just released a new version of the MacOSX Cassandra Preferences Pane.

What happened since the previous version?

  • Bug fixes which prevented to use the preferences pane correctly
  • Support for arbitrary located Cassandra installation. Simply unpack your Cassandra zip and create a symlink from <your unpack path>/bin/cassandra  to ~/bin/cassandra, and let the Preferences pane handle the rest
  • If you have a customized launchd plist, it will no longer be migrated. I don't think it was a meaningful feature but I'm sure it was a complex one to maintain. Feel free to let me know if you need it!


The preferences pane is still not on the app store, if you already have the application, simply start it, the update will be downloaded automatically. Otherwise,  you can go to GitHub: https://github.com/remysaissy/cassandra-macosx-prefspane to download it.

Sunday, March 3, 2013

CR du Hadoop User Group Paris du 26 Février sur Impala


Le HUG s'est déroulé dans les locaux d'AF83, dans le 2ème arrondissement Parisien.
Il n'y a eu qu'une seule présentation, celle de Marcel Kornacker Lead Architect chez Cloudera sur le projet Impala.

La présentation était très dense et portait sur Impala aujourd'hui et dans un futur proche.
Voici ce que j'en ai retenu.

Sunday, February 17, 2013

Using a 3G USB stick Vodafone Globetrotter K3760 - Option 431 on GNU/Linux

These days, I need a 3G USB stick to access the internet.
The USB stick provided by my company is a Vodafone Globetrotter K3760. It is actually the 3G card from Option N.V, the Option 431 model.

When I tried to plug the stick in my Ubuntu, nothing happened. This was because UDEV actually didn't know the device yet.

There is not a lot of comprehensive information on the internet about it (I haven't been able to find something at least), therefore here is, I hope, a simple and straightforward to get things up and running.

It is a three steps process:

Add a new udev rule

Create a new rules file in the udev configuration directory.
sudo gedit /etc/udev/rules.d/vodafone.rules

Then, copy paste the following in the file:

# Option N.V. Globetrotter HSUPA Modem (K3760)
SUBSYSTEM=="usb", ATTR{idVendor}=="0af0", ATTR{idProduct}=="7501", RUN+="/usr/sbin/usb_modeswitch --default-vendor 0x0af0 --default-product 0x7501 --message-endpoint 0x01 --message-content 55534243785634120100000080000601000000000000000000000000000000"

Basically, it teaches udev about our device's idVendor and idProduct so it can recognize it and tell it to execute usb_modeswitch with some parameters specific to our 3G USB stick.

Therefore, if you have another 3G USB device, you need to find the good:
  • idVendor
  • idProduct
  • message-endpoint (if there is one)
  • message-content
You can find a list of such informations in the usb_modeswitch sources or online here:

Also, some devices may require to add --reset-usb 1 argument to the usb_modeswitch command line.
Syslog is your best friend in this case.

Restart the udev service

From a terminal, enter the following command:
sudo service udev restart

You can also restart your computer of course...

Plug the 3G stick and configure the network manager

Once udev has been restarted, you can simply plug you 3G USB stick into your computer and wait for the PIN prompt.
You can also configure a broadband access using the network manager since the device is now correctly detected.

Enjoy!

Sunday, November 4, 2012

Setting up unit tests in a Vala project using CMake

I've recently came across the issue of setting up unit tests in Vala.
Since I haven't found a lot of comprehensive documentation on the web to setup it, I share here my experience so it can be useful to somebody else (I hope).

Saturday, September 15, 2012

Les leçons que je tire d'un startup weekend


Ceci est un retour d'expérience sur un startup weekend auquel j'ai participé en Juin, à Paris.

Initialement, j'étais venu en observateur, en curieux.
Le startup weekend, pour ceux qui ne connaissent pas, c'est un weekend pour présenter un concept, le prototyper avec un business plan et présenter le résultat au bout de 48h. L'objectif est de convaincre le jury pour avoir l'opportunité de démarrer ensuite le projet avec un support des personnes de l'incubateur.

Wednesday, August 1, 2012

Allowing installation of non Mac App Store applications on MacOSX 10.8 Mountain Lion

I've recently upgraded to Mountain Lion.
Not that I was unhappy with Lion but I've got some feedbacks from developers telling me that there were issues installing one of my applications under Mountain Lion.

Hopefully, there is a simple way to recover your liberty to install the software you want.


Wednesday, July 25, 2012

A Preferences Pane for Cassandra on MacOSX

In the previous blog post, I wrote about a useful piece of software (at least to me!), the MongoDB Preferences Pane for MacOSX.

Today is about the little brother, the Cassandra Preferences Pane for MacOSX.
Based on the same codebase , it shares the same set of functionalities.


If you read the MongoDB Preferences Pane announcement, you can stop reading this blog post here. The rest is the same since both share the same set of functionalities.