Archive for mai 2009

24
mai

Zencomic 0.1.2

Edit: And two releases in the same day. Thanks to goto for discovering the CPU issue.

A bunch of fix and improvements for Zencomic, the comic strip-driven productivity enhancer.

Changelog

  • Fix CPU usage bug
  • Geekscottes addin contributed by Frederic Forjan
  • Added conditional compiling for Timeout.AddSeconds (--enable-timeout-second switch). Fix build error for non-svn Gtk#
  • Intercept SIGINT and SIGTERM signals to save configuration before exiting
  • Added COPYING file

Tarball : http://netherilshade.free.fr/mono/zencomic-0.1.2.tar.gz


free blog themes
23
mai

Fantasy book list

Almost ever since I was able to read, I was always found the nose in a book during my free time. Even though computer is filling most of that time these days, I continue to enjoy a lot immersing myself in the book worlds.

Very soon, the books that hold most of my attention were fantasy ones and more specifically of the high fantasy kind (a genre popularized by Tolkien and Lewis among others). It’s this passion that I want to share here.

I had this idea of a list floating around the corners of my mind, a list where I would put the books I most liked. The kind of book that leaves you stunned and dazed after you have finished the whole series in a row. Recently, a friend told me that this sort of list would be a good inspiration for him as he was looking into entering that wonderful world too.

So, here we go :

My Pillars

  • Lord of the Ring – Tolkien
  • Narnia – CS Lewis
  • Royal Assassin – Robin Hobb
  • Raven Chronicles – James Barclay
  • The Wheel of Time – Robert Jordan
  • The Sword of Truth – Terry Goodking
  • Shannara – Terry Brooks

Other excellent series

  • Ages of the Fives – Trudi Cavanan
  • Black Magician – Trudi Cavanan
  • The Belgariad – David Eddings
  • Everworld – K. A. Applegate
  • Eragon – Christopher Paolini
  • Bartimeus Trilogy – Jonathan Stroud

Fantasy a little bit different

  • Tales of the Otori – Lian Hearn
  • The Wind of Fire – William Nicholson
  • Darren Shan – Darren Shan
  • Chronicles of Ancient Darkness – Michele Paver
  • The Reindeer People – Megan Lindholm

Of course, this list can’t possibly be exhaustive. Fantasy books are like Internet websites, after finishing one you still have another dozen that have appeared in the meantime.

Now, I hope this friend will feed me with his own list of science-fiction books ;-) .


free blog themes
18
mai

Book meme²

It’s like I’m trying to complete my monthly blogging quota in just one evening but, anyway, here is for me :

“Reliquat d’une époque depuis longtemps révolue ; symbole d’une ère plus heureuse à venir”

Tentatively translated : “Remaining of an epoch long gone ; symbol of an happier era to come”

Instructions :

  • Grab the nearest book.
  • Open it to page 56.
  • Find the fifth sentence.
  • Post the text of the sentence in your journal along with these instructions.
  • Don’t dig for your favorite book, the cool book, or the intellectual one: pick the CLOSEST.

Spread the love.


free blog themes
18
mai

Mathematical digression : Buffon's needle

Buffon’s needle is a statistic experiment created by Comte George-Louis Leclerc (sounds so frenchie).

The principle is to drop needles on a parquet floor and check if the needle cross one of the parquet line (providing each parquet’s strip has the same height).

The experiment can be modeled as two random variables representing, for the first, the distance between the center of the needle and the closest parquet line, for the second, the acute angle between the needle and the line. Both random variables follow an uniform distribution, respectively of parameters (0, {\frac{length(needle)}{2}} ) and parameters (0, {\frac{\pi}{2}} ).

A needle cross a line when the angle is superior to 0 and, depending on the previous angle, the distance is less than :

{sin(angle)\times\frac{height(strip)}{2}}

Thus, the condition “the needle cross the line” can be summarized by this equation :

{x \leq \frac{l}{2} \sin (\theta)}

Where a is the length of the needle, θ the angle and x the distance.

The cool part is that computing the joint probability of the two random variable with the crossing condition gives you an expression of π :

{\pi = \frac{2aN}{ln}}

Where N is the number of needle dropped, l the height of a strip and n the number of needle that crossed the line.

Therefore, for a good number of needle drop you can get a value fairly close to π.

The following C# source code is doing precisely that :

Which give us a rather good approximate of : {\pi \approx 3,14208745948547}


free blog themes
18
mai

Because useless is always a must-have

If you are a webcomic fan like me and wouldn’t mind a strip from time to time disturbing a little your workflow, here is a little application I wrote up that might interest you.

I called it Zencomic. It simply displays a notification bubble with a random comic regularly. Everything is implemented as addins via Mono.Addins and currently you have a Dilbert addin and an xkcd addin coming with for free.

Screenie :

zencomic-screen

Tarball : http://netherilshade.free.fr/mono/zencomic-0.1.tar.gz


free blog themes