As a student in physics, I sometimes have to implement codes using numerical methods. The main part is done in C and Matlab. But programming is also for me a hobby, a way to learn new things; I imagine it comes from my need to know how things work.

I’m learning Python, that is quite different from the other programming languages I used before. I’d really like to master it enough to do what I want. One of the specifities of Python is the possibility to write short codes easily and to import them as modules. In order to improve my  ability to code fast, I try to write small programs. It can be anything that come into my mind, from funny things to numerical resolutions. That’s what I call fast-coding”. The goal in this practice is to:

1) Train to write a simple program from any idea (“Simple is better than complex” cf Zen of Python)

2) Develop imagination in programming

Of course this can be done in any language. The motivation must remain the same : learning to code fast by having fun.

Advertisements

Spam and eggs

28Mar09

I was very astounished today when I read that the well-known term “spam” probably comes from a Monty Python’s sketch

The first sense of spam was a ” canned precooked meat product made by the Hormel Foods Corporation” it comes from Shoulder of Pork and Ham (cf wikipedia article).

By watching the sketch one understands better why this term has been used to designate polluting mails trying to sell us unwanted products. The most interesting fact is that it reveals us how an appararently common sketch influenced our vocabulary. This also demonstrates once again the impact of Monty Python on the internet and programming.


Jottit

28Mar09

While I was looking for python scripts on Aaron Swartz’s site I’ve discovered Jottit

Well, Jottit allows you to get “a website as easy as filling out a textbox“.  I decided to test it and edited some  posts quite easily. 

Indeed one good point is the possibility to use Markdown syntax. Another advantage is the simplicity and the sobriety of the interface making the management and the edition a quick task. 


First post

26Mar09

Hi,

I’m Damien. I’m just beginning a new blog on WordPress. I’ll probably put some thoughts, snippets, notes on it.


Blogit plugin

26Mar09

I’m testing blogit, a Vim plugin written by Romain Bignon at http://dev.peerfuse.org/wiki/blogit.
If you’re reading this then I managed to post from Vim. If you’re interested, have a look at this.