News for hackers. Stuff that matters.

wgman

Re:Sorting algorithms visualizer on Friday May 27, 2016 @01:03AM (#11784004)
"The ideal sorting algorithm would have the following properties:

- Stable: Equal keys aren't reordered.

- Operates in place, requiring O(1) extra space.

- Worst-case O(n·lg(n)) key comparisons.

- Worst-case O(n) swaps.

- Adaptive: Speeds up to O(n) when data is nearly sorted or when there are few unique keys.

There is no algorithm that has all of these properties, and so the choice of sorting algorithm depends on the application."

Is there any formal proof that such an algorithm doesn't exist? Are some of those criterion mutually exclusive?

Re:Hackathon Be Gone on Sunday February 28, 2016 @11:33PM (#11193597)
By and large. Major League Hacking (the link above) is sort of like the national group "in charge" of hackathons and one of the requirements to be recognized by them is to be a purely under-grad event (though sometimes highschool students are admitted). That said, there are plenty hackathons that aren't sanctioned by MLH and therefore are more open.

It's also possible that my view of hackathons is skewed by the fact that I'm a university student at a school with a very active hackathon culture.

Re:Hackathon Be Gone on Sunday February 28, 2016 @11:15PM (#11193538)
https://mlh.io/seasons/s2016/events Is very popular for promotion.
And my former highschool the Louisiana School for Math, Science, and the Arts. I really can't say enough great things about the place.