Show HN: XKCD-inspired StackSort
161–170 of 210 posts
Re: Show HN: XKCD-inspired StackSort
#162Has anybody made a gallery of real implementations of Randall Munroe's hilarious ideas yet? I recall at least three exhibitions: this, M-x butterfly, and Hell Tetris; there are probably many others.
someone did this, as I recall, ordering random cheap items from ebay. Actual implementation might have been from amazon though http://xkcd.com/576/
Re: Show HN: XKCD-inspired StackSort
#163Earlier quoted context omitted.
I attempt to block anything that does DOM manipulation, uses Backbone or underscore, uses "Date()" (since it's probably a benchmark and those are slow), and a few others.
Can you also write code to detect whether a program will run forever for a given input? ducks
// Running time: O(1), for values of 1 approaching infinity
Re: Show HN: XKCD-inspired StackSort
#164Re: Show HN: XKCD-inspired StackSort
#165Earlier quoted context omitted.
The key last step is to have it automatically post questions to StackOverflow to fill in the last code snippets it can't complete.
I did this in my machine learning class. I started by simply coding up requirements for numerical functions (in the form of test cases), then set up a PHP script that would Google each function based on the keywords in my comments, and try to run any code on the resulting links (in a sandbox) against the requirements, seeing if it worked heuristically. Usually one of the top 5-10 pages of results results would have c…
Re: Show HN: XKCD-inspired StackSort
#166Has anybody made a gallery of real implementations of Randall Munroe's hilarious ideas yet? I recall at least three exhibitions: this, M-x butterfly, and Hell Tetris; there are probably many others.
Re: Show HN: XKCD-inspired StackSort
#167Re: Show HN: XKCD-inspired StackSort
#168Earlier quoted context omitted.
The key last step is to have it automatically post questions to StackOverflow to fill in the last code snippets it can't complete.
I did this in my machine learning class. I started by simply coding up requirements for numerical functions (in the form of test cases), then set up a PHP script that would Google each function based on the keywords in my comments, and try to run any code on the resulting links (in a sandbox) against the requirements, seeing if it worked heuristically. Usually one of the top 5-10 pages of results results would have c…