Gentoo - Reasons why you should give it a try

2016-06-09

Type your summary here.

Git tip - git describe

2013-12-08

Earlier I posted a tip how to count commits between tags, this post suggests a better way to do it

Git tip - Count commits between tags

2013-09-10

Once every N commits I would like to release a new version of pwman3, so here is how to keep a track of this number between releases ...

Localizing applications with gettext

2013-08-04

I was always interested in how I can add translations to pwman3 or to my little PyGTK tutorial, these are summerizing of my gettext experiences

PyGTK CD Ripper Tutorial - Part 7

2013-06-02

Part 6 of this tutorial completed the Preferences dialog and introduced gtk.Frames and gtk.Expanders. This part of the tutorial will add some more polish to th UI, introducing icons and completing the About Dialog

PyGTK CD Ripper Tutorial - Part 6

2013-02-27

Part 5 of this tutorial added a gtk.Notebook and other widgets to the Preferences dialog. This part of the tutorial introduces the gtk.Frame and gtk.Expander widgets and completes the Preferences dialog.

PyGTK CD Ripper Tutorial - Part 5

2013-02-11

The last part of this tutorial added some polish to the main window of the CD Ripper, and showed how to create an empty Preferences dialog. This part of the tutorial will complete the Presences exploring gtk.Notebook and other widgets.

PyGTK CD Ripper Tutorial - Part 4

2013-01-21

The last part of this tutorial added the complete song list. However, the UI is still not complete. This part will add the polish to the UI.

PyGTK CD Ripper Tutorial - Part 3

2013-01-09

In part 1 of this tutorial, the most basic GUI form of a CD ripper application, was created. Part 2 then continued and expanded this tutorial with GTK ListView to create the song list. This part will add some polish and varnish to the UI as well as some more functionality...

PyGTK CD Ripper Tutorial - Part 2

2013-01-05

In part 1 of this tutorial, the most basic GUI form of a CD ripper application, was created. This part will expand this GUI and will add some more functionality ...

A Complete PyGTK CD Ripper Tutorial

2013-01-03

Most tutorials on GTK, create partial UIs, and thus leave the reader to connect the rest by himself. Some others create an almost complete application, but usually, this application is useless. This tutorial, will lead (eventually, I hope...) to a functional application, that rips CD and converts them to MP3 using cdparanoia and lame. In addition to writing this tutorial in blog posts with code, the code will be highly verbose and commented thoroughly ...

Releasing PWMAN3 v.0.2.1

2012-12-17

pwman3 is a command line password manager written in Python. Pwman3 was originally started by Ivan Kelly, and published on github. I recenty became the maintainer, and now version 0.2 is released. Read more about it ...

Extending Python's Popen

2012-12-03

I use Python's Popen quite often, and sometimes, I need to debug scripts using it. Here is how I extended Popen, to include a verbose debug mode ...

Working With Binary Data in Python

2012-07-28

Working with binary data puzzled me for quite a time, so here is a post explaining some of my findings

Building Octave-3.4 on Debian Sid

2012-05-02

I wanted to build the latest Octave (3.4) on my Debian Sid. Well, it wasn't as easy as before, since I upgrade it quite often.

Good Bye Latex ? Hello WeasyPrint

2012-03-20

Latex, is my main way of producing reports and scientific works. Usually these are formed as PDF before being actually printed. Latex is AWESOME.

The weired Indexing in Perl

2012-03-16
tagged: programming, perl

I am learning Perl. I am doing it with a lot of a resentment, but I am slowly learning it.

VIM Quicky - set tabs and spaces behaviour for different files

2012-02-24
tagged: programming, vim, c, python

Never really bothered me before, because I only used Python and C, so I always replaces tabs with spaces.

When friends spit FUD

2011-10-19

Warning: This is not a technical post, rather just a boring rant and a call for advice. A friend of mine asked me what programming language he should learn.

A Usefull PyGTK Example

2011-08-03

I have been looking for a good pygtk tutorial for a very long time. I have found a few tutorials which where an overkill, so I don't link to them.

One more python learning resource

2011-06-19

This one is pretty cool. It is a learning environment, which allows you also to create more learning environments. I

2 Cool Python Learning resources

2011-05-26

Another cool one liner to remove all development packages to clean your Debian.

Matlab Alternative RStudio

2011-03-03
tagged: programming, linux

To the list of great Matlab alternative I add today [RSTUDIO](http://www.rstudio.org/)

oh, Yesterday I was a bad programmer

2011-02-25

Forgetting my first lesson in programming, I looked for a solution to convert IP addresses to country. I found out tables, and SQL files, and went on and on trying to figure how to use them, and do SQL in python

Floats wider than text in Latex

2010-09-16

Latex floats by default have the text width or smaller. Took me some time to figure out how to make a float wider than the text width itself.

Installing python-matplotlib from source in Debian

2010-09-15

Hoora Debian ! I love how every past experience of developers brings something useful ! If you need to build python matplotlib from sources you need to install quite a lot dependencies. Luckily for me in Debian it's quite easy.

Tiny Python script to convert Fortran comments to "!"

2010-05-29

I work on a very old Fortran code, which is Fixed form Fortran 77 mixed with some Fortran 95. Geany IDE, had problem displaying lines starting with "c" as comments.

Easy Python debugging

2010-05-28

Just a quicky post ... Python has the excellent pdb module to debug your programs.

MasterMind Game in Fortran 95

2010-04-24

Just for the fun, and to learn some Fortran 95, I wrote this little game which imitates the [MasterMind](http://en.wikipedia.org/wiki/Mastermind_%28board_game%29) game.

Another matplotlib tutorial

2010-04-24

Recently I started working with [MIN3P](http://www.eos.ubc.ca/about/faculty/U.Mayer.html), a reactive transport modeling software, which produces data output which can be easily visualized with a commercial software package. However, I can't afford purchasing this package for my research, and I won't even though they have a Linux client.

The misteries of Fortran Functions

2010-04-22

Fortran has a 2 ways to define sub-procedures: functions and subroutines. Functions allow many input variables, but only one output variable, which has to be a number. Subroutines, can take a few variables and output a few variables.

FORTRAN rant

2010-04-21

Recently I started learning Fortran. Going from Python to Fortran should not be so complicated, and from what I see so far it is a very cool language.

Evalution of a Tracer Test with Python scipy.optimize

2009-10-10

Sometimes, installation of Debian packages is too easy, but then configuration can be quite confusing.

Making Octave plot nicer

2009-05-21

Personally, I prefer Python over Octave/Matlab. But since I'm being forced to write Matlab code for one of my courses, I started playing around with Octave.

3D plots with matplotlib

2009-05-17

Today I built matplotlib from svn. The answer why I did it is in the post's title. 3D plots are back to this wonderful tool !

A matplotlib tutorial

2009-01-05

Most people that find my blog in the end of the internet arrive here while looking for python matplotlib tutorial. That's thanks to the crazy matplotlib tutorial I already have in my blog. However, this tutorial is not very useful. And since I'm using matplotlib to do some of my homeworks, I been wanting to post some real life tutorial. After all why not give the audience what it wants?

Fucked up explorer

2008-09-21

I hate microsoft. Short Post descrbining a hack for explorer. Not much ...

Playing with wordpress - Hacking the header to display random pictures

2008-09-03

After I started seriously playing with wordpress and discovered how cool it is, I decided that I can seriously hack to it my own needs.

Crazy Matplotlib tutorial

2008-07-26

I started using python's matplotlib to plot graphs in my Oceanography courses. Matplotlib is pretty easy to understand if you already know some python. However it's documentation is somewhat frustrating, even though it comes with a plethora of examples.

Data analysis with Programming

2008-06-23

Last time I wrote about the disadventages of using a spreadsheet program to analyze large amounts of data, espcially when it comes to important data.

Data analysis with spreadsheets vs. programming

2008-06-14

In many cases people use programs like Excel, Gnumeric or Openoffice.org spreadsheet to analyze large amounts of data. I always hated Excel, and when I switched to Linux about 3 years ago I learned about Gnumeric, but I always found it a little bit limited because I couldn't use macros.