WTF Bites



  • @Benjamin-Hall said in WTF Bites:

    @djls45 for many non fresh products, the store brand is usually indistinguishable to the more expensive ones

    Yep, sometimes better. And usually for a lot lower price.



  • @heterodox said in WTF Bites:

    @djls45 said in WTF Bites:

    The university I went to painted a wall in a couple of the CS labs with special whiteboard paint. It did make it easy to write stuff, but the markers often dried out because a lot of people would use them and/or someone would leave them out and they'd dry up. They were also a bit of a pain to clean. A cloth would usually erase fine if the drawing was cleared right away. A bit of water helped if it was within a few hours. If it was allowed to dry fully, then it took a LOT of elbow grease to get the ghost lines out.

    My dad wanted to paint a wall in his office with whiteboard paint when he moved into his new house and found it's surprisingly expensive. So ghost lines or other damage to those walls must really piss the facilities people off. :x

    The computer lab monitors/assistants are the ones who have to clean them off, so yes, we did dislike cleaning them. Some of my coworkers and I, if we were on the closing shift, would try to really clean a section and just work our way across the walls over time. Others didn't really care much. I think the university hoped to just repaint them every 2nd or 3rd or 4th summer or so.



  • @tsaukpaetra said in WTF Bites:

    @gąska said in WTF Bites:

    Everything JS wais absolute shit back in 2015.

    FTFY.

    All aboard the JS sucks 🚎! Seen on Reddit in the last 24 hours:

    Source: /r/ProgrammerHumor/


    Source: /r/ProgrammerHumor/


    Source: /r/ProgrammerHumor/


    Yes, not all of these are the faults of JS itself. They're still worth noting.



  • @DCoder

    > test = "1"
    <- "1"
    > test++
    <- 1
    

    The second operation kinda makes sense. Postfix evaluates to the value before the variable is changed, so getting 1 back instead of 2 is appropriate. The weird duck-typing is another story, though...


  • Discourse touched me in a no-no place

    @dcoder said in WTF Bites:

    Yes, not all of these are the faults of JS itself.

    A few Two are IEEE floating point math surprises (given that virtually nobody uses the decimal version of that under the hood). The rest look like the good old screwyness of JS...



  • Minor WTF:

    So, Bethesda is suing Warner Bros because they allegedly ripped off Bethesda's "Fallout Shelter" game to create their "Westworld" game.

    On a first glance, the similarities are indeed striking but then again, copycats are nothing new in the game world. It goes on:

    The lawsuit further alleges that Westworld Mobile rips copyrighted computer code used by Fallout Shelter, as well as “highly similar game design, art style, animations, features, and other gameplay elements.”

    Not good. But still a problematic argument to make. And then you stumble over this passage:

    This even extends to the bugs present in both games, Bethesda continues.

    Because, you see, the developer of Westworld was previously contracted to do Fallout Shelter. Looks like someone was a bit too lazy…


  • Java Dev

    @rhywden Actually similar bugs and it being the same team is a big argument to me. Similar bugs from different teams could just indicate independent teams making the same obvious mistakes. But for the same team to make the same mistakes twice...

    As we say, a donkey doesn't bump into the same rock twice.


  • Discourse touched me in a no-no place

    @rhywden said in WTF Bites:

    This even extends to the bugs present in both games, Bethesda continues.

    Because, you see, the developer of Westworld was previously contracted to do Fallout Shelter. Looks like someone was a bit too lazy…

    Looks like there's at least a case to answer, depending on the exact wording of the relevant contracts.



  • @dkf said in WTF Bites:

    @rhywden said in WTF Bites:

    This even extends to the bugs present in both games, Bethesda continues.

    Because, you see, the developer of Westworld was previously contracted to do Fallout Shelter. Looks like someone was a bit too lazy…

    Looks like there's at least a case to answer, depending on the exact wording of the relevant contracts.

    If it's the usual contract of "all of the work you've done for us under this contract belongs to us after payment" then they're probably in deep trouble.


  • BINNED

    @blakeyrat said in WTF Bites:

    @jaloopa said in WTF Bites:

    Not a lot, but the phrase "pray tell" tells one a lot about the person saying it

    Not as much as "whilst".

    It tells you that some foreigners, while not speaking the language perfectly, at least try hard enough to actually know the difference between "their" and "they're"? :thonking:



  • @topspin said in WTF Bites:

    @blakeyrat said in WTF Bites:

    @jaloopa said in WTF Bites:

    Not a lot, but the phrase "pray tell" tells one a lot about the person saying it

    Not as much as "whilst".

    It tells you that some foreigners, while not speaking the language perfectly, at least try hard enough to actually know the difference between "their" and "they're"? :thonking:

    Your not wrong their.



  • @djls45 said in WTF Bites:

    The university I went to painted a wall in a couple of the CS labs with special whiteboard paint.

    Practically ever wall where I work is like that. When you sit in an open office, it's the only place available for writing. (Have I mentioned how much I hate open office setups recently?)



  • @djls45 said in WTF Bites:

    @Jaloopa said in WTF Bites:

    @Luhmann said in WTF Bites:

    @mott555

    The train1c1550ef-6ee7-4934-bd33-4738e7a30d1b to 5C85D171-E30C-418A-A20F-DC8065914CC2 will be departing from platform3c487383-cbf6-4aca-8437-7d13bd7b2145 5480F8BD2-CA54-47FD-A3CD-34B16FCD44C8.

    FTFY

    FTFTFYFY

    Edit: FTFTFTFYFYFM

    Oh come on. You know what's going to happen there... MixedCaseException: train derailed



  • @djls45 said in WTF Bites:

    @heterodox said in WTF Bites:

    @djls45 said in WTF Bites:

    The university I went to painted a wall in a couple of the CS labs with special whiteboard paint. It did make it easy to write stuff, but the markers often dried out because a lot of people would use them and/or someone would leave them out and they'd dry up. They were also a bit of a pain to clean. A cloth would usually erase fine if the drawing was cleared right away. A bit of water helped if it was within a few hours. If it was allowed to dry fully, then it took a LOT of elbow grease to get the ghost lines out.

    My dad wanted to paint a wall in his office with whiteboard paint when he moved into his new house and found it's surprisingly expensive. So ghost lines or other damage to those walls must really piss the facilities people off. :x

    The computer lab monitors/assistants are the ones who have to clean them off, so yes, we did dislike cleaning them. Some of my coworkers and I, if we were on the closing shift, would try to really clean a section and just work our way across the walls over time. Others didn't really care much. I think the university hoped to just repaint them every 2nd or 3rd or 4th summer or so.

    We have some kind of chemical spray. Cleans them pretty darn well. Just the cloth? Yeah, ghosts.


  • 🚽 Regular

    @mott555 said in WTF Bites:

    @rhywden said in WTF Bites:

    deprecate

    It's like defecating, but with more P?

    Or like not giving a F but having good PR?


  • Banned

    It's been 13 minutes already and The Witcher 2 credits are still rolling.


  • Notification Spam Recipient

    @gąska said in WTF Bites:

    It's been 13 minutes already and The Witcher 2 credits are still rolling.

    Oh there had better be a reward secret at the end of that...


  • Banned

    @tsaukpaetra there was. But you could skip right to it with Escape (which I eventually did, after Polish dubbing cast ended and English dubbing cast started).



  • I got a spam comment in a language I couldn't read, so I right clicked to translate the page to English, and somehow this happened:
    0_1529871093267_0e22603e-584a-4d8b-8a80-6e7502804175-image.png
    Normal appearance:
    0_1529871115285_e779bda1-7769-4a03-8f00-fd0bc1a645e2-image.png


  • area_can

    An error occurred during extraction. Please enable the listed option and run the extraction again to see the error.

    0_1529872199863_64ffc6fe-9d2b-422b-b8c9-ddb6fb4686b1-image.png



  • @dcoder said in WTF Bites:

    All aboard the JS sucks 🚎! Seen on Reddit in the last 24 hours:

    From a James Mickens talk:
    0_1529894197540_3687f77e-826b-45c3-a213-e530650f553d-image.png
    0_1529894262854_b0d0bc0a-4ad0-4ee1-a82a-df5c714be927-image.png


  • area_can



  • @twelvebaud said in WTF Bites:

    James Mickens

    James Mickens is amazing.

    You should feel uncomfortable that a Web page can disagree with itself about the existence of initialization routines, but the page is still allowed to do things with things. Such a dramatic mismatch of expectations would be unacceptable in any other context. You would be sad if you went to the hospital to have your appendix removed, and the surgeon opened you up, and she said, “I DIDN’T EXPECT YOUR LIVER TO HAVE GILLS,” and then she proceeded with her original surgical plan, despite the fact that you’re apparently a mer-person.

    The systems programmer has read the kernel source, to better understand the deep ways of the universe, and the systems programmer has seen the comment in the scheduler that says “DOES THIS WORK LOL,” and the systems programmer has wept instead of LOLed

    I’m not saying that other kinds of computer people are useless. I believe (but cannot prove) that PHP developers have souls.

    You can’t just place a LISP book on top of an x86 chip and hope that the hardware learns about lambda calculus by osmosis.

    More of James Mickens



  • @topspin said in WTF Bites:

    It tells you that some foreigners, while not speaking the language perfectly, at least try hard enough to actually know the difference between "their" and "they're"?

    Actually, it's not so much about trying hard enough as learning the language differently. When you learn your native language, you learn the spoken form first and the written much later. Therefore the words are indexed by their spoken form in your brain, which makes confusing homophones likely. On the other hand most people learn foreign languages when they can already write, so they learn both forms at the same time and the written form is often used more than the spoken form. That makes words that are not homographs clearly distinct and therefore very unlikely to get confused (but may easily lead to the opposite issue of confusing the words that are homographs, but not homophones—I believe English has those, though I can't remember one quickly).



  • @dcon said in WTF Bites:

    @djls45 said in WTF Bites:

    @heterodox said in WTF Bites:

    @djls45 said in WTF Bites:

    The university I went to painted a wall in a couple of the CS labs with special whiteboard paint. It did make it easy to write stuff, but the markers often dried out because a lot of people would use them and/or someone would leave them out and they'd dry up. They were also a bit of a pain to clean. A cloth would usually erase fine if the drawing was cleared right away. A bit of water helped if it was within a few hours. If it was allowed to dry fully, then it took a LOT of elbow grease to get the ghost lines out.

    My dad wanted to paint a wall in his office with whiteboard paint when he moved into his new house and found it's surprisingly expensive. So ghost lines or other damage to those walls must really piss the facilities people off. :x

    The computer lab monitors/assistants are the ones who have to clean them off, so yes, we did dislike cleaning them. Some of my coworkers and I, if we were on the closing shift, would try to really clean a section and just work our way across the walls over time. Others didn't really care much. I think the university hoped to just repaint them every 2nd or 3rd or 4th summer or so.

    We have some kind of chemical spray. Cleans them pretty darn well. Just the cloth? Yeah, ghosts.

    Which applies to normal whiteboards as well. You need a suitable cleaning agent for cleaning older drawings from those too.



  • @bulb said in WTF Bites:

    words that are homographs, but not homophones—I believe English has those, though I can't remember one quickly

    One example is "tear". For bonus fun, the noun "tear" is a homophone with "tier", so it has both a homophone that is not a homograph and a homograph that is not a homophone.


  • 🚽 Regular

    @bulb said in WTF Bites:

    I believe English has those, though I can't remember one quickly)

    Perhaps if you read more...


  • kills Dumbledore

    @bulb said in WTF Bites:

    but may easily lead to the opposite issue of confusing the words that are homographs, but not homophones—I believe English has those, though I can't remember one quickly

    Read and read, bow and bow, the "ough" suffix. Probably others but those are the ones which spring to mind


  • BINNED

    @bulb said in WTF Bites:

    Actually, it's not so much about trying hard enough as learning the language differently. When you learn your native language, you learn the spoken form first and the written much later. Therefore the words are indexed by their spoken form in your brain, which makes confusing homophones likely.

    True. Nevertheless it shows very little semantic understanding of your native language if you can't tell a possessive pronoun apart from verb contraction or an adverb. Homophones aside, the meaning is completely different.



  • @topspin The meaning is different, but since the written form is secondary, it may be harder to remember which spelling goes with which meaning.



  • I remember reading somewhere that the part of your brain responsible for writing is not the same part that handles typing.

    This leads to people making mistakes on the computer that they never made when using a pen, with homophones being the most common.

    Personally, I dislike the 'mash-the-submit-button-I'm-too-important-to-check-the-two-sentences-I-wrote' mentality which most forums have, although this one's pretty good.


  • BINNED

    @coldandtired said in WTF Bites:

    'mash-the-submit-button-I'm-too-important-to-check-the-two-sentences-I-wrote'

    waddajamean?


  • 🚽 Regular

    @blakeyrat said in WTF Bites:

    Luke Sawczak's comment

    ...has been silently erased from history apparently. Why even bother with an up/down-vote system if you're going to do that.


  • 🚽 Regular

    @jaloopa said in WTF Bites:

    @bulb said in WTF Bites:

    but may easily lead to the opposite issue of confusing the words that are homographs, but not homophones—I believe English has those, though I can't remember one quickly

    Read and read, bow and bow, the "ough" suffix. Probably others but those are the ones which spring to mind

    The funny thing is @Bulb used the word "lead" right there.



  • @zecc Well, that's exactly the thing. I read and write English a lot, but have much fewer opportunities to speak it.



  • @blakeyrat said in WTF Bites:

    @jaloopa said in WTF Bites:

    Not a lot, but the phrase "pray tell" tells one a lot about the person saying it

    Not as much as "whilst".

    What about "neither...nor"?


  • I survived the hour long Uno hand

    @bulb
    Or, if the older drawing isn't excessively old, you can sometimes re-trace the drawing and then erase it, thereby "lifting" the original drawing off the board as well since the markings have been re-moisturized.


  • Garbage Person


  • kills Dumbledore

    @greybeard Does he hiccough as he coughs?


  • BINNED

    @anotherusername Might be the pedant in me, but reading "neither A or B" feels completely wrong compared to "neither A nor B".



  • @bulb said in WTF Bites:

    words that are homographs, but not homophones—I believe English has those, though I can't remember one quickly

    What about "wind"- as in "windy weather" or "winding road".


  • kills Dumbledore

    @berniethebernie said in WTF Bites:

    @bulb said in WTF Bites:

    words that are homographs, but not homophones—I believe English has those, though I can't remember one quickly

    What about "wind"- as in "windy weather" or "winding road".

    Similarly, Wound. I wound a bandage around my wound



  • @dcoder said in WTF Bites:

    @tsaukpaetra said in WTF Bites:

    @gąska said in WTF Bites:

    Everything JS wais absolute shit back in 2015.

    FTFY.

    All aboard the JS sucks 🚎! Seen on Reddit in the last 24 hours:

    Source: /r/ProgrammerHumor/


    Source: /r/ProgrammerHumor/


    Source: /r/ProgrammerHumor/


    Yes, not all of these are the faults of JS itself. They're still worth noting.

    It took me a minute to realize what's going on with {} + [], but all the other ones make perfect sense.

    {} + [] is actually an empty code block followed by + [].

    The empty code block, {}, is obviously evaluated first, and does nothing.

    Next, to evaluate + [], Javascript must convert the array to a number, so it initially attempts to convert it to a primitive by calling valueOf. The valueOf method is a built-in method that's defined to return the primitive type of an object, or to return the object itself if it has no primitive type.

    Javascript's primitive types are string, number, boolean, null, undefined, and symbol. If valueOf returns any of these types, Javascript will then proceed to convert that value to a number.

    If valueOf does not return a primitive type, then Javascript proceeds to call toString, which has to return a primitive type: a string. Then it converts the string to a number.

    So, in evaluating +[]:
    [].valueOf is called internally, and returns []
    [].toString is called internally, and returns ''
    '' is converted to a number, 0
    +0 is 0



  • @topspin said in WTF Bites:

    @anotherusername Might be the pedant in me, but reading "neither A or B" feels completely wrong compared to "neither A nor B".

    So far as I can tell, only grammar pedants bother with saying "neither A nor B". Everyone else just says "not A or B".


  • kills Dumbledore

    @anotherusername said in WTF Bites:

    all the other ones make perfect sense

    Sure sign of someone who's spent entirely too much time in Javascript.


  • BINNED

    @anotherusername :pendant: So you're agreeing that everyone else is :doing_it_wrong:? ;)
    Anyways, must be the ESL background, but it just feels off. It always makes me hesitant, wondering what it means.



  • @topspin well, you're right about "neither A or B"; that is completely wrong. But it's not really what I was referring to; what I meant was that most of the time people just say "not A or B" instead of "neither...nor".


  • BINNED

    @anotherusername I'd parse that as !A || B instead of !(A || B). The neither nor idiom is pretty clear.



  • @anotherusername also, {} + [] == 0 is kind of cheating, because it's being parsed as code rather than as an expression. In almost any context where it actually matters, it's going to be evaluated as an expression, and {} is an object rather than a code block, so the result will be [object Object], just like []+{} would. E.g.

    console.log({} + []);
    

    produces [object Object].

    0_1529951438351_9bafd284-1aad-4bd7-bec0-563a816bba1f-image.png



  • @topspin said in WTF Bites:

    @anotherusername I'd parse that as !A || B instead of !(A || B). The neither nor idiom is pretty clear.

    I'd normally parse "He was not first or second" to mean that he was neither first nor second.


Log in to reply