Installing Hoefler Text in LaTeX
November 23, 2008 – 11:08 am
Not that straightforward, actually. Apple includes the Hoefler Text font in Mac OS X - its a really nice and readable professional font. Here’s what I did:
so much time, so little to do.

Not that straightforward, actually. Apple includes the Hoefler Text font in Mac OS X - its a really nice and readable professional font. Here’s what I did:

I resumed my code katas - this time, I’m using Erlang to solve the problem:
By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.
What is the 10001st prime number?

FreeRTOS is an open-source realtime operating system for microcontrollers. The ATMega644 of ATMEL provides 64KB of flash program memory in a DIY-friendly 40-pin PDIP package. Read on for how to combine both to my new software development platform.
Read the rest of this entry »

At work I needed to generate random numbers following a combination of two gaussian distributions - which gave me some headache until someone pointed me to using a Monte Carlo approach. Here’s how.

This weekend, I solved problem 4 of Project Euler:
A palindromic number reads the same both ways. The largest palindrome made from the product of two 2-digit numbers is 9009 = 91 × 99.
Find the largest palindrome made from the product of two 3-digit numbers.
I designed a routine that checks whether a given number is a palindrome. This routine is then used inside two loops iterating from 999 downto 0. The first hit is the largest palindrome. The core functionality is here:
This implementation reverses the vector. By using the front and back operators in the other direction, this could be left out. But it serves its purpose for now. You can get the full sourcecode from the download page. Please note that the code in the tarball calculates *all* palindromes smaller than 1000000.
The picture was CCed on flickr by TisseurDeToile -[mangerait bien un petit chat]-.