News for hackers. Stuff that matters.
Re:Dual-Pivot Binary Search by colanderman on Thursday February 06, 2014 @11:25AM (#7191137)
Uh, wouldn't that be called a ternary search?

Saying "double-pivot binary search" is kinda like saying "three-wheeled bicycle".

Re:Dual-Pivot Binary Search by theycallhimtom on Thursday February 06, 2014 @03:46PM (#7192826)
There is already a different (more useful) algorithm called ternary search (http://en.wikipedia.org/wiki/Ternary_search).
Re:Dual-Pivot Binary Search by dalke on Thursday February 06, 2014 @12:17PM (#7191479)
Both I and my wife have a tendency to call her tricycle a "bike" or "bicycle", and to ride on roads expressly marked as bicycle lanes.
Re:Dual-Pivot Binary Search by StefanKarpinski on Thursday February 06, 2014 @03:46PM (#7192824)
Are you married to a toddler? Do adults ride tricycles?
Re:Dual-Pivot Binary Search by mtrimpe on Thursday February 06, 2014 @04:03PM (#7192918)
Many physically disabled people ride tricycles. Don't know about the GP's wife but it's a good thing to keep in mind. Could prevent you from possibly making some painfully unfunny jokes.
Re:Dual-Pivot Binary Search by dalke on Thursday February 06, 2014 @05:20PM (#7193314)
She bought it because she likes it over a regular bicycle.

Just to add, there can also be commercial reasons for a tricycle. In my neighborhood growing up in Miami, there was an ice cream vendor and a knife grinder who went around on trikes. In the latter case, the chain was switched over to the grinding stone to provide power.

Re:Dual-Pivot Binary Search by anoonmoose on Thursday February 06, 2014 @04:04PM (#7192922)
There are plenty of reasons a person might find a tricycle more appropriate for their use than a bicycle, personal preference of course being a perfectly reasonable one.
Re:Dual-Pivot Binary Search by dalke on Thursday February 06, 2014 @05:10PM (#7193271)
That being my wife's reason. She fell in love with recumbents in college, after trying one that a professor had, and bought a Hase Lepus Comfort recumbent tricycle a few years ago. She likes the stability, being close to the ground, sitting on a real seat instead of a saddle, and the cargo space for groceries or camping gear.
Re:Dual-Pivot Binary Search by StefanKarpinski on Thursday February 06, 2014 @09:20PM (#7194439)
Probably poor joke aside, I'd never heard of adults riding tricycles, so thanks in any case for the informative answers.