Saturday, December 03, 2011

How annoying is grep ?

So in a directory with only subdirectories, I was doing

grep -r 'Distribution2D' *.cpp

but it didn't work. "Bloody recursive flag is a load of bollocks" I thought to myself. So it turns out it does work but you have to be a bit careful with the file wild cards to make sure it finds everything into which it can recurse.
I.e. this worked fine.

grep -r 'Distribution2D' */*.cpp

Well, f**k me!

Monday, May 16, 2011

Diagram of the Day #6

You've heard of a bell curve. Well this is a bellend curve.



Also from the same paper, bottom right is an interesting shape... where have I seen that shape before ??




http://www.cv.ci.ritsumei.ac.jp/~takeday/research/paper/egmm04.pdf