Better HN
topnewbestaskshowjobs
Log inSign up

wgman

14 karma · joined Dec 21, 2014 (11y ago) · 7 submissions

I'm a junior studying computer science at Carnegie Mellon University. I like writing beautiful code that does cool things.
Submissions

comment 10y ago · link · parent

"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?

comment 10y ago · link · parent

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.

comment 10y ago · link · parent

https://mlh.io/seasons/s2016/events Is very popular for promotion.

comment 11y ago · link · parent

And my former highschool the Louisiana School for Math, Science, and the Arts. I really can't say enough great things about the place.

5.

Show HN: Ugly: A Universal Graphics Library(github.com ↗)

5 points · by wgman · 11y ago · 1 comment

6.

Show HN: Recycle – Never write boilerplate again(williamg.me ↗)

2 points · by wgman · 11y ago · discuss