One thing at a time all the time!

Welcome to Rocteur
Sunday, May 28 2017 @ 08:39 AM CEST

View Printable Version

Pour calmer les irritations d'Elio Di Rupo

Nous pouvons bien en rire, merci Annie
View Printable Version

Carrying Beer on a Motorcycle


View Printable Version

Vrapper — Vim-like editing in Eclipse

Since I've been working with UNIX I have always used vi and later vim as my main editor until recently when I started programming in Python and Jython.

When I started working with Jython I discovered Eclipse through a colleague, I still use gvim for small scripts but when writing bigger scripts or scripts where I import Java packages I use Eclipse.

When I say Eclipse I actually use Aptana on Mac OS X and Spring on Windows at work. I'd like to try Aptana on Linux but so far have not found a way to install it that won't need fiddling around!

However, being a vim user I get quite frustrated having to use my mouse and arrow keys to move around so I looked around for something vim like to help me out and I discovered Vrapper.

Vrapper installs like all other Eclipse plugins from once installed you have a litle gvim icon in your toolbar and when you click on this you have vim like editing.

From the Vrapper site:

Instead of embedding Vim in Eclipse or creating a new text (Eclipse) editor with Vim functionality from scratch, Vrapper adds a layer on top of existing editors like the Java editor. The advantage of this approach is that all the features of the original editor are still available. For example it is still possible to use the refactoring capabilities of the Java editor.

While Vrapper is active, it adds a listener to every editor which is opened. Every keystroke send to the editor is then evaluated by Vrapper. In insert mode, keystrokes are simply passed to the underlying editor (unless they are remapped to something else). In other modes (e.g. visual or normal mode) most keystrokes will result in some action performed by Vrapper (e.g. delete, paste).

View Printable Version

vim :help quickref

I didn't know this, cool.

:help quickref


View Printable Version

Debian etch to lenny upgrade

I've just upgraded Debian etch to lenny and so far only had a few issues.

  • There were two root users in mysql, one without password, I removed the one with no password
  • updatedb and locate no longer exist on system even if findutils exists, you need to install package mlocate
  • php can no longer access mysql - Fatal error: Call to undefined function: mysql_connect(), you need to install php5-mysql which upgrades you to php5

OUTSTANDING ISSUES (I have not had time to fix)

  • ejabber: pyMSNt no longer working
  • Anything I've missed ?
View Printable Version

Quiet - Learning Python project

Sorry the site has been dead for the last few months but I've spent ALL of my spare time learning Python !

I wanted to learn Python because of the positive things I was seeing on the web and then one of my colleagues encouraged me to do it and so I did!

I've read Learning Python, Fourth Edition by Mark Lutz which I found a bit long winded and repetitive, it will make a good reference book for the future but I'm not sure that it is the best style for me to learn a language. I like the style of Randal L Schwartz but of course he writes about Perl and not Python!

I have also bought Mark Lutz Python Pocket Reference, 4th Edition which I think is OK for the price, handy to have around but sometimes not the easiest to find things. Often it seems you need to know more about what you're looking for to get the information you really need. As I was learning I was sometimes confused about the difference in printing beween Python 3 and Python 2.6 and earlier, I ended up having to write the formats myself in the book to have all the information in one place.

If you're into UNIX I recommend Python for Unix and Linux System Administration By Noah Gift, Jeremy M. Jones which I have just finished reading. I like the book very much, I learned a lot from this book and I had a lot of fun reading it and trying things out. I learned about Ipython which I recommend highly if you work at the shell you may use Ipython more often than your favourite shell, the writing style is very different to what I've read before and sometimes feels like it is your mate sending you an email with a story but at the end it will whet your apetite and you'll spend hours trying things out. A lot of the examples and stories are not complete and so you have to get your fingers dirty to learn more about things but that is fine, otherwise the book would be 2000 pages and you'd get bored like I did with Learning Python's verbose style.

Next step is the Python Cookbook which I will start reading this week. 

When the new versions of Python in a Nutshell and Programming Python come out I will also buy those.

There is a lot of resource on the web but I like reading books when I'm learning a language or a new technology!

If you're buying an O'Reilly book in Europe, I found it is cheaper to buy the book from Amazon UK and then getting the PDF version from the O'Reilly site using the Ebook discount code. I find Safari way overpriced and prefer having the PDF on my memory stick. You can also download the ebook in other formats at no extra charge. One thing that is formidable is that if the book is updated due to errata, O'Reilly will send you an email offering you to download the updated version.

View Printable Version

Proximus Screws Up For Mother's Day

Proximus screws up again. It is Mother's day and their SMS service is down.

Avertissement :
Pour des raisons techniques indépendantes de notre volonté, ce service est momentanément inaccessible. Veuillez réessayer plus tard. Cliquez sur le bouton "OK".

These Mobile Service providers are so gloated with money from the exploitation of their customers and you can't send an SMS on Mother's Day.

Not proud to be a Proximus customer again.
View Printable Version

New Company Word of the day

New Company Word of the day:

 When you are annoyed with someone tell them to FOCUS  
#*K  Off    Cause U're Stupid
View Printable Version

langage de notaire

Une vieille demoiselle se présente chez un notaire pour enregistrer l'acte d'achat de sa maison récemment acquise.

Le notaire l'invite à s'installer, appelle son clerc, et lui demande textuellement :

Veuillez, s'il vous plaît, ouvrir la chemise de Mademoiselle, examiner son affaire, et si les règles ne s'y opposent pas, faites une décharge pour qu'elle entre en jouissance immédiate !

La vieille fille court toujours ....!!
View Printable Version

Say cheese with Cheese on Ubuntu


It took me a couple of seconds to work out why you would call video and picture taking software "Cheese" but I had a good laugh when my Euro finally fell ;-)

From the project web page:

Cheese uses your webcam to take photos and videos, applies fancy special effects and lets you share the fun with others. It was written as part of Google's 2007 Summer of Code lead by daniel g. siegel and mentored by Raphaël Slinckx. Under the hood, Cheese uses GStreamer to apply fancy effects to photos and videos. With Cheese it is easy to take photos of you, your friends, pets or whatever you want and share them with others. After a success of the Summer of Code, the development continued and we still are looking for people with nice ideas and patches ;)

Cheese is a program for the GNOME Desktop which allows you to take photos, videos, and anything else you can think of with your webcam. Just start it up and shoot! Gather all of your friends around, have some fun! When you're done, share your photos and videos with 'em!

I've had a good play with it and I think it works very well. It worked first time, just an apt-get install cheese and it worked.

The effects are a little different to what you get on Mac OS X or Windows 7, they're as useless and as much fun ;-) I liked the full screen mode.