Earlier quoted context omitted.
I used to do that, but found some of the various combinations too difficult to maintain. I tend to count to 10 on each hand, counting the thumb as five and a fist as ten.
Slightly more efficient, and still easy to do, is to use one hand for 0-9 (thumb counts as five), and the other for 0,10,20,...,90. Easy counting, setting, and reading of the current number.
Ask HN: How have you applied computer science IRL?
31–39 of 39 posts
Re: Ask HN: How have you applied computer science IRL?
#32Sorting room full of dated reports from several dozens of years. First pass: put raports in the bins year by year maintaining sort order in the bins. Binary search used to place new report in the bin. Second pass: put year by year sorted reports in the correct order on the shelfs. I don't remeber the name of the algorithm used and the book from which it come was given to the library.
I'd break the first pass down further, putting items into the (yearly) bins without sorting within each bin, freeing up bins, then subdividing them into smaller piles (say, by month), then sorting those. This insight is courtesy of a sorting algorithm that's optimal for systems with very limited memory but multiple tape systems, if I remember correctly. Also IIRC insertion sort can beat doing the binary sort in situa…
Re: Ask HN: How have you applied computer science IRL?
#33Re: Ask HN: How have you applied computer science IRL?
#34Re: Ask HN: How have you applied computer science IRL?
#35Re: Ask HN: How have you applied computer science IRL?
#36I count to 31 with one hand. I use the standard count up to 5 with one hand just for communication purpose.
Re: Ask HN: How have you applied computer science IRL?
#37Re: Ask HN: How have you applied computer science IRL?
#38I was trying to spot my friend in a crowded room so I did a regexp visual search for people with brown hair. I was feeling pretty tired last night so I decided to put myself into sleep mode. I'm now too ashamed of myself to make up a third.
Re: Ask HN: How have you applied computer science IRL?
#39Earlier quoted context omitted.
how? I can understand 12 (use your thumb to count the 3 joints on each of your 4 fingers), but 31?
Binary. Five (biological) digits giving 5 bits. So color me confused - your profile says: > I love hardware hacking > and low-level programming. How can you not see 31 and think "5 bits" ?
In answer to your question: because I'm still learning. I'm in my first year at university, and while I love working with microcontrollers, a lot of the knowledge hasn't quite got there. I'm working on it!
Also, I forgot about starting at zero (yeah, I know).