fubarobfusco comments on Open thread Jan. 5-11, 2015 - Less Wrong

2 Post author: polymathwannabe 05 January 2015 12:48PM

You are viewing a comment permalink. View the original post to see all comments and the full post content.

Comments (150)

You are viewing a single comment's thread. Show more comments above.

Comment author: fubarobfusco 05 January 2015 10:42:18PM 3 points [-]

If you often need to generate XKCD-compliant passwords on Linux machines, you may find this command line handy:

egrep -x '[a-z]{3,9}' /usr/share/dict/words | shuf -n4 | xargs

(It will work on a Mac if you install coreutils and change shuf to gshuf.)

Comment author: DanArmak 06 January 2015 09:20:31AM 0 points [-]

On my Ubuntu install, /usr/share/dict/words is symlinked to /usr/share/dict/american-english, which has about 100k words. log2(100000^6)=100, which surprised me by being not that much bigger than log2(50000^6) = 94. Bad math intuition on my part.