News for hackers. Stuff that matters.
Re:Showoff by geuis on Wednesday April 20, 2011 @01:15PM (#2467461)
One note about the setup. When you have multiple ssh keys available, the "pick one" menu looks like this:

Choose the public key you'd like to use:

[0] id_dsa.pub

[1] id_rsa.pub

[q] Quit

This should start with 1, not 0.

Re:Showoff by Timothee on Wednesday April 20, 2011 @01:54PM (#2467623)
Considering the likely audience, starting with 0 seems adequate. (see http://en.wikipedia.org/wiki/Zero-based_numbering)
Re:Showoff by tmhedberg on Wednesday April 20, 2011 @02:05PM (#2467668)
True, but when using numbers to make a menu selection, it makes more sense to start numbering at 1, because of the way number keys are arranged across the top of the keyboard. It's slightly less intuitive to have the key corresponding to the first menu option positioned far to the right of the subsequent options.
Re:Showoff by Timothee on Wednesday April 20, 2011 @02:44PM (#2467830)
Good point about the positions of the keys.

In fact, I had never thought that one could argue that the '0' key should be to the left of the '1' key… keyboards predate computers, so I see why this is not the case, but it could be argued.

Re:Showoff by geuis on Wednesday April 20, 2011 @02:20PM (#2467720)
Yes, I think I understand why it starts with 0. However, this is about context. When I am coding, I know indexes start with 0. When I am picking from a list of items in a menu, the context is starting from one.

When you go to a restaurant and you order the first thing on the menu, you don't say "I'd like to have the zeroth item" do you?