Category Archives: Uncategorized

Allocation 2D arrays in C (and freeing memory)

By convention, when dealing with 2D array, the first dimension refer to the rows, and the second to the columns. To create a 2D array (double pointer) in C, you first create a 1D array of pointers (rows), and then, … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Thunderbird hangs forever when “Copying message to Sent folder”

I set up a new account under Thunderbird with an IMAP in-going and SMTP out-going. All mails and folders are correclty imported from the server. I received new mails can delete them (it is updated on the server). So everything … Continue reading

Posted in Internet related, Uncategorized | Tagged , | 77 Comments

Books: Snow, Orhan Pamuk

I’ve read Snow last year, a novel from Orhan Pamuk, a Turkish novelist, Nobel prize in Literature 2006. For an overview you can consult wikipedia entries in French (Neige) or English (Snow).

Posted in Uncategorized | Tagged | Leave a comment

Latex: force limits to appear above and below the sum sign (inline equation)

In LaTeX equations, when using the sum sign in an inline equation, the limits do not appear above and below the sign but on its right side. If you want the limits above and below, place the \limits command after … Continue reading

Posted in Computer Science, Uncategorized | Tagged | 6 Comments

Python ressources

Python is a script language that has evolved into a “do whatever you want”. It is now a versatile tools, which is really powerful and contains more and more modules to really do whatever you want. Python documentation provides a … Continue reading

Posted in Uncategorized | Leave a comment

Awk: how to convert PNG files into PDF

Here is a method to convert a bunch of PNG files into another format (here PDF). This method works under linux and uses both awk and convert commands (the conversion is made with the convert command). The following script generates … Continue reading

Posted in Linux, Uncategorized | Tagged | Leave a comment