Show HN: XKCD-inspired StackSort
201–210 of 210 posts
Re: Show HN: XKCD-inspired StackSort
#202Earlier quoted context omitted.
Hover over an image with an alt-text attribute, and a tooltip with the alt-text pops up. All of the xkcd comics have alt-text, and it's a good practice in general, for accessibility software.
Actually, as other people mentioned, the real attribute that XKCD is using is "title":
Re: Show HN: XKCD-inspired StackSort
#203Re: Show HN: XKCD-inspired StackSort
#204Semi related question -- how is this implemented security wise? I took a look at the github repo and it seems to be all clientside JS, and it's just making ajax GET search requests to StackOverflow, then parsing the results. Isn't this prevented by same origin policy?
Re: Show HN: XKCD-inspired StackSort
#205Earlier quoted context omitted.
"The site will only fetch accepted answers, and it only uses answers that were posted before the xkcd was released (meaning that if someone posted malicious code now, it wouldn't matter)."
I think it might still be vulnerable to people editing one of those old answers though.
Re: Show HN: XKCD-inspired StackSort
#206Re: Show HN: XKCD-inspired StackSort
#207If you give it about 30 seconds it works eventually, this is beautiful. I had a good laugh. Edit: It makes me want to do something crazy like setup a tool chain that cobbles whole programs together with trial and error like this. Throw enough resources at it maybe it will be faster and cheaper than your avg. developer. It will be an unmaintainable mess as if you used Brainfuck or Perl. But it will run, by god, it wil…
The key last step is to have it automatically post questions to StackOverflow to fill in the last code snippets it can't complete.
Re: Show HN: XKCD-inspired StackSort
#208My code is never good enough. Whenever I release a piece of code, it always seems like a load of crap. And as I have got a bit better at coding over the years, this never changed. (Probably because I do write shitty code.)
So I came to believe that it doesn't matter how proficient a programmer you become, you will probably always feel this way, because your eyes are already set on the next level of proficiency, your standards are always above your current abilities. And that's good, because this is how you get better.
But because of this, your code always seems like a piece of crap and whenever you decide to go public with it, you always feel compelled to make a note about this in your code. I propose that we standardize the way that we declare this sentiment, and agree on a universal sign much like the copyright sign for this idea, that says:
"I hereby declare that I am not a douche bag, who thinks his code is the best code that has ever been coded into existence. I am just a coder who aspires to provide the best code to the best of his abilities under the circumstances. I am willing to learn though, and I aspire to write better and better code, even though this piece of code might stink. But nobody is perfect. Deal with it."
Re: Show HN: XKCD-inspired StackSort
#209Humm ... 6 minutes already, but it's still "Fetching page 1..." for me.