17 April 2009

Sébastien

,

Where is the Hibernate stuff gone?

Want to see something freaky? Google any Hibernate documentation, and see what you can dig out.

Not sure what the craic is, but it kind of makes you wonder…

Comment

 
---

31 January 2009

Sébastien

,

« Mettre cartes sur table »

Jacques Demers, consultant pour la NHL sur CKAC Sports, est en colère avec la performance des Canadiens de Montréal qui restent sur 4 défaites de suite : http://www.corussports.com/radio/audioplayer.php?file=expert_2009-01-30_071804.mp3&mode=fs

Une intervention d’anthologie colorée qui va crescendo, à tel point que son interlocuteur ne peut pas en placer une…

Comment

 
---

Google's New Favicon

The BBC News Magazine has an interesting article about the new version of Google’s favicon (the third in a very short period of time):

The new favicon is based on a design sent in by André Resende, a computer science undergraduate student at the University of Campinas in Brazil.

Comment

 
---

7 January 2009

Sébastien

,

Installing Latin Modern Fonts in LaTeX

The UK TUG FAQ page is a wonderful treasure for anything LaTeX-related, but after I spent quite some time trying to install the Latin Modern fonts on my Ubuntu box, it appears that this entry could do with a bit more details.

First, you obviously have to have a local texmf directory, hashed properly:

mkdir ~/texmf
texhash ~/texmf

You can then stick all your “local” LaTeX files in there (as the TDS spec indicates, it is unclear what “local” means, either any file outside your TeX distribution, or a file created locally. Whatever you prefer, I guess); it is all very well explained there: https://help.ubuntu.com/community/LaTeX.

Now, I happened to want to install Latin Modern after reading the frenchb documentation (Goodness me, memories, memories…), and the FAQ linked above seemed to be indicating that it was a mere piece of cake. Well, if you happened to download the gzipped tar version of the archive like I did (as opposed to the zip archive), the files are stored like this:

/tex-archive/fonts/lm/

And then, you have the correct tex, doc, fonts structure. These are the folders you must stick right under ~/texmf — the fonts folder right under tex-archive really got me there. You then run as per the FAQ:

updmap --enable Map lm.map

(Not sure if this matters — I’m not familiar with updmap yet… — but I ran this in /tex-archive/fonts/lm/). Import lmodern and fontenc with the T1 option, and that should be it.

Now, I’ve not played with LaTeX for quite a long time, but man this looks good…

Comment

 
---

14 December 2008

Sébastien

,

Zero Constant

Seen recently in the application I’m working on:

private final static int ZERO = 0;

Damn handy if you want to change ZERO to, say, 1 or 10000 everywhere.

Comment [2]

 
---

← Older