Monday, November 30, 2009

If in debt.

If you need some help to repay $60bn dollars for an air conditioned golf course, just short the banks that lent you the $60bn, then walk up to a microphone and say "we are not paying you back the $60bn". Job done.

Monday, November 23, 2009

Print A5 booklet from pdf

I went kind of crazy with psbook and pdf2ps and all the rest of it, when it is actually a lot simpler. Just open acrobat, do print->page scaling->booklet. Select print on both sides and there you are, no Makefile involved.

Vim spellcheck two languages

You can load more than one language in the builtin Vim 7 spellcheck. However it does not look like you can choose when to switch languages, it just uses both all the time, so the more you load the more the chance of some false negative.

set spell spelllang=en_gb,it

Saturday, September 26, 2009

Remux

Reminder to self, this will fix audio/video sync problems and streaming.
mencoder -ovc copy -oac copy -of avi -o output.avi input.avi

Tuesday, June 16, 2009

Ultimate LaTeX plotting solution

After years of struggling with rubbish PNGs in pdf files (don't scale), the nightmares of running latex -> ps2pdf and the like just to get vector graphics, painful pstricks list of substitutions finally I found the ultimate plotting thing for LaTeX. It hasn't been around for too long, and it is pgfplots/TikZ.

There is even a matlab2tikz function that does a decent job at grabbing your current matlab figure, converting it to a pgfplots script and then you can go round and change things to make them pretty. It is king.

Thursday, April 23, 2009

The Killers

Some four years late I realised that the bass line in "Jenny Was A
Friend Of Mine" is probably worth getting the album.

Wednesday, April 15, 2009

Professional bias

Look at that, watching the You Tube video of Britains Got Talent 2009 when Susan Boyle sings, I thought, before anything else: "look, they have the same Denon CD player as we do"!

Friday, April 03, 2009

Obama violates copyright laws?

A really nice article on how giving an iPod full of music as a gift to a friend, or, say, the Queen is a real mess of copyright laws being maybe violated. Or maybe not.

Tate modern extension.

Some interesting pictures of this thing, that although ugly at first might actually be quite nice. Or, although promising at first might turn out to be quite ugly.

http://www.skyscrapercity.com/showthread.php?t=377117&page=17

Thursday, April 02, 2009

Errata corrige.

I would like to point out to the italian papers that this morning were headlining "Sir Goodwin gets a check of 630000 pounds per month", that the actual figure quoted is "per year". Still free (and possibly right) to be outraged, but by an order of magnitude less.

Tuesday, March 31, 2009

Tuesday, February 03, 2009

Facebook groups.

I love some of these groups that promise something if you join (and invite friends) with the only (useless) aim to get thousands of people sign up. I seem to get more invitation from the italian ones, like this one, that promises you to give statistics on who is visiting your profile...and got 300000 subscriptions! Another popular one promises to reveal your family tree, and got 1,300,000 people...

Monday, February 02, 2009

Vacation

Due to the extreme weather conditions and the difficulty staff and students are experiencing in getting into College, all lectures for today are cancelled. Hopefully, we can return to normal tomorrow, I will post notice on the Dept website if this is not the case.


I see.