Why am I getting this error?



  • Just out on /r/ProgrammerHumor:

    Hahaha! What a noob idiot. YOU'RE THROWING THE ERROR, IDIOT!

    I almost posted the copy-pasta and called it the day.

    But something bugged me. So I dug a bit deeper and found the question on SO. Here's how it looks now:

    Notice two things.

    1. Huge negative score, as everybody ganged up on the poor guy, hoping to gather participation pellets for their moderation badges.

    2. In-between the reddit's screenshot and mine, one of the power users came along and helped clarify the question. Here's the page from the linked book:

    As you can see, the book shows a whole lot more stack trace than the OP has here. He's throwing directly inside callback from setTimeout, which starts in a fresh run-loop. So he only has one line of stack, which is confusing even to me, as it certainly would be to the absolute beginner.

    Some blame falls on the OP, who could have included all the needed info the first time around (like what kind of stack trace he was expecting to see). But TRWTF are all the people on Stack Overflow and reddit, who jumped on the bandwagon ridiculing the OP, without giving his question a second thought.



  • You have to understand, SO gets absolutely flooded with 'y get eror wen tro ecepon?' - I mean, it's not really an excuse, but it's easy to see how it can happen.



  • We were talking about this a while back on StackExchange's gaming chat (which is still full of programmers).

    We reached the same conclusion you did, that setTimeout was resetting the stack. Which makes sense if you think about it.



  • That's one of the things that felt off about the question. It had clear English and decently formatted code blocks. Usually you get low-effort poorly formatted 500 line code dump and "do my job" style question. At least this guy put some modicum of effort.



  • The problem is that a lot of people glance at things quickly before they invest time in reading carefully. The title, plus the code shown don't stand up to that. It's sad, because the rest does, and people should take the time, but the pure volume of the bad but similar kind is enormous.



  • It took 9 edits by at least 4 different people to get it to the quality it is now. At the start, it was just "Why am I getting this error?" with the error and stack trace.





  • @powerlord said:

    It took 9 edits by at least 4 different people to get it to the quality it is now. At the start, it was just "Why am I getting this error?" with the error and stack trace.

    Yeah, but even that initial post is above the average quality-wise.



  • @ben_lubar said:

    http://play.golang.org/p/ONtBn_cQQJ

    Nobody cares about your rust fetish, ben.



  • @Magus said:

    You have to understand, SO gets absolutely flooded with 'y get eror wen tro ecepon?' - I mean, it's not really an excuse, but it's easy to see how it can happen.

    SO indeed does get flooded with that sort of stuff; the SNR is fairly low, but if you know what to look for, you can find some real thought-provokers there....



  • Stack Overflow is trash.

    @Magus said:

    You have to understand, SO gets absolutely flooded with 'y get eror wen tro ecepon?' - I mean, it's not really an excuse, but it's easy to see how it can happen.

    So if people there can't show 4 milliseconds of "give him the benefit of the doubt" they should lose all their internetpointzzz.

    His question is perfectly valid, for the reasons Cartman says.

    @Magus said:

    The problem is that a lot of people glance at things quickly before they invest time in reading carefully. The title, plus the code shown don't stand up to that. It's sad, because the rest does, and people should take the time, but the pure volume of the bad but similar kind is enormous.

    Seriously, everyone who piled-on should have their Stack Overflow magical internetpointzzz deleted. That is what should happen. Incentivize change.



  • I agree. But I don't expect much from Jeffspawn.


  • Fake News

    Random thought: Maybe we must make "Where is @codinghorror now?" stickers and hand them out to all the SO-bullies.



  • I don't think this is a matter of bullying. They probably think they're helping, and just try to clean out the spam of useless posts. There just isn't any incentive to look back at the post or think before they vote.

    Because, I assume, Jeff would rather newcomers take the hits than his spawn.



  • I don't know what screenshot software you're using, but if it fails to hide its own menus, you might want to change it.


  • kills Dumbledore

    @powerlord said:

    It took 9 edits by at least 4 different people to get it to the quality it is now

    Yeah, but a lot of them are edit wars and people being pedantic dickweeds about capitalization in the book's title



  • @Magus said:

    I don't think this is a matter of bullying. They probably think they're helping, and just try to clean out the spam of useless posts. There just isn't any incentive to look back at the post or think before they vote.

    Is this why discourse has no "-1"?
    Doesn't SO have some "hide all posts that have 0 points" checkbox to filter out anything that people may not want to see (unless someone was helpful and gave it a +1)?

    SO is fairly useless recently (for me), especially for anything abstract as anyone asking the same questions I have gets the topic closed or it just gets ignored.
    It is fine for the easy answer to a common question (that has 1000 points).



  • @Maciejasjmj said:

    I don't know what screenshot software you're using, but if it fails to hide its own menus, you might want to change it.

    It took me a few once-overs to notice it. That one's copy-pasta from reddit.


  • area_deu

    Oh, that software?
    It's Windows' own Snipping Tool!


  • area_deu

    That reminds me, I should create a Hardcopy thread someday. They have one hell of a feature list ...

    (I wonder if anyone else from Germany knows that particular screenshot tool)



  • @aliceif said:

    Hardcopy

    Available for Windows 98. Which is presumably when that website was created.


  • area_deu

    @loopback0 said:

    Available for Windows 98.

    Still being developed for Windows 10!

    You can save screenshots directly into an ORACLE database with it!



  • It sure isn't, unless someone went out of their way to figure out how to do it wrong. I've taken hundreds of rectangular screenshots with it, and every time the snipping tool properly hid itself.

    :fa_pencil_square: I went out of my way and figured out how to do it wrong.



  • @aliceif said:

    You can save screenshots directly into an ORACLE database with it!

    I've been waiting for Microsoft to add that to Paint for years!



  • oh god.it has frames
    :mask:
    <frame name="links" scrolling="auto" target="links" src="links.php">

    anyway, i'll give it a try when my windows starts working again



  • Ugh, they're doing that stupid thing where they attach some godawful looking icon to every open window.


  • SockDev

    That second image appears to have hotlink protection



  • Fixed.



  • How does that work with Chrome or any other application that does the same thing? Do they overlap? Does windows have a built-in thing for the extra buttons?



  • only one way to know


Log in to reply
 

Looks like your connection to What the Daily WTF? was lost, please wait while we try to reconnect.