Monthly Archives: January 2007

about fitness

John Wilkins wrote in his blog:
“Fitness is a property of a competing variant in a population. It means that X, whatever it might be biologically, is increasing in its frequency in a population faster than its competing variants. X can be a gene, or a trait, or even an entire organism’s form and functionality.
What fitness [...]

cryptolinguistics - well said!

From Matt Blaze’s blog:
We often say that researchers break poor security systems and that feats of cryptanalysis involve cracking codes. As natural and dramatic as this shorthand may be, it propagates a subtle and insidious fallacy that confuses discovery with causation. Unsound security systems are “broken” from the start, whether we happen to know about [...]

reading … (#3)

Ever wondered if John Nash’s story hinted also toward some “flavor” of synesthesia? Probably one of my all-time favorite experts in this area of study could clarify the issue …
UPDATE 2008! - Rama did it again!

beyond belief - 2006

Highly recommended Conference - a meeting of the brightest minds …

working with files

Need to sort the first 10 files, by size
$ du -s * | sort -rn | head -10
OR
$ find . -type f -maxdepth 1 -print0 | xargs -0 du -s | sort -rn | head -10
Need to find files greater than 10MB
$ find . -type f -maxdepth 1 -size +10240k
Need to find the most recent [...]

reading … (#2)

One of the books I am reading now is Richard Dawkin’s The Ancestor’s Tale. I like this passage:
“Biological evolution has no privileged line of descent and no designated end. Evolution has reached many millions of interim ends <…>, and there is no reason other than vanity - human vanity <…> - to designate any [...]

reading … (#1)

A friend of mine has recently recommended me an interesting subject of study, which will also constitute the starting point of my online notes. While I could never go back and record my previous “n” years of reading into something equivalent to today’s blogs, notes of such being lost in the many hand-written notes filed [...]

useful analysis tools - usage reminder

How to obtain multiple files during a capture:
$ tethereal -i <interface> -a filesize:3000 -b 14 -s 96 -w <capture_file>
(3MB files of 96 bytes length)
NOTE: tcpdump defaults to 96 bytes length, also, but I am not sure if it supports ring buffer?!?
******
If multiple files matching the regexp FOOBAR are to be merged :
$ mergecap -w bigfile.cap [...]

vim

To change all instances of one word to another within one line use:
:s/word/replacement/g
To change all instances of one word to another within the entire file use:
:%s/word/replacement/g
To ask for confirmation before replacing each instance of a word use:
:%s/word/replacement/gc