clvv's comments

clvv | 15 years ago | on: Pick a number from 1 to 10

Interesting project. I'm looking forward to see the results. This reminds me some of the mental algorithms I was thinking about: How do you generate a random number without electronic devices? How do you generate a random permutation without electronic devices? How do you generate a hash without electronic devices? How do you do the above most efficiently? How about without any pen, pencil or paper?

It will be cool if you can master mental cryptography.

clvv | 15 years ago | on: Time-saving tips for Linux

I found myself using Emacs keybinding for line wise operation and movement in both vim and shell. It is just verbose to switch between editing modes sometimes.

clvv | 15 years ago | on: Time-saving tips for Linux

Another trick that I don't see people mention(excuse me if somebody here already did) is the bash history completion:

\esc \tab

This will complete based on your history, argument wise. Very useful when tab completion itself doesn't satisfy you.

clvv | 15 years ago | on: What is Bitcoin? (Video)

Interesting, but until some real use case or adoption, these Bitcoins sound like Internet stocks to me.

edit: I didn't really look into it, but I'm going to now.

clvv | 15 years ago | on: Poll: What OS do you currently use?

I just can't imagine having Windows on my computers again. *nix(especially Linux) feel much more user friendly to me. It is absolutely uncomfortable using Windows when sometimes I just have to(at school, fixing somebody else's computer etc.) Arch Linux is great. Ubuntu will be better if it has a rolling release.

clvv | 15 years ago | on: VimGolf.com - real Vim ninjas count every keystroke

You can achieve even less key strokes if you have your vim automatically removes trailing spaces, which is a neat feature itself and a common hack.

autocmd BufWritePre * :%s/\s\+$//

53 is the least I got.

clvv | 15 years ago | on: VimGolf.com - real Vim ninjas count every keystroke

Until somebody can come up with at least some method of restricting vim scripting, the results are useless(one can easily only use 4 key strokes by key mapping as you can see). But, on the other hand, you can't just disable vim from loading scripts, because there's no point in mastering the plain old vim without any plugins, custom key mappings and such.

clvv | 15 years ago | on: Spelling Corrector in 21 lines of Python

I have seen this one before somewhere, and what amazes me is that how you can solve problems without a hassle if you get the "trick" right. Another case I read was that Google use(at least used) two vectors(each consists of many 0s and 1s, which in turn represent whether the web page has the keyword or not) to represent web pages, and calculate the angle between the vectors to figure out the similarity(a value) between web pages.

clvv | 15 years ago | on: Use Vim Like A Pro

Some vim users also remap their caps lock to Esc (modify ~/.Xmodmap on linux, also doable on Windows and Mac), whereas Emacs users will probably remap their caps lock to Ctrl.

clvv | 15 years ago | on: Ask HN: Who Plays Go?

I lived in China during my childhood, and one of the things that I was involuntary involved in was playing Go, my parents simply made me do it. Despite the fact that I didn't really like it, I still kept learning it for several year. And by the time when I finally convinced my parents that I was not going to or even want to be a professional Go player, I was amateur 4 dan by Chinese standard, and I was about 10 years old. I stopped playing since then, but I can still pick it up and play once in a while, maybe with a skill level of around 2 dan I guess. Look back from now, Go looks interesting, but when I was forced to learn it at the age of 7, it was all boring and dull.
page 2