• cyborg (unregistered)

    One frist post available, only 2569 of the same posts on the clock. NO ACCIDENTS! Unlike Discourse.

  • Glaleida Fronwick (unregistered)

    JetBrains WebStorm obviously wants to be emacs.

  • (disco)

    The frist time I read the article, I thought it was another Steam error... But google maps is pretty terribad, it has to be said.

  • (disco)

    Seeing that 'discover Ontario' thing reminds me of a visitor centre I travelled through on my trip through the US last summer. A publicly accessible computer with limited internet access... running Windows 98 and IE 6.

  • (disco) in reply to Arantor
    Ontario screen:
    Strike F1 to retry boot
    "Strike". Because simply pressing won't allow you to vent out your frustration.
  • (disco) in reply to Zecc

    Engrish strikes again?

  • (disco) in reply to Arantor

    And yet the word "Press" is used in the following line.

  • (disco) in reply to Zecc

    And yet no mention of an Any key.

  • (disco) in reply to Arantor
    Arantor:
    Engrish strikes again?
    We shouldn't be too hard on Canadians for not knowing English..
  • (disco) in reply to Zecc

    Half of them speak that evil spit talk from across the Channel.

  • (disco) in reply to Zecc
    Zecc:
    We shouldn't be too hard on Canadians for not knowing English..
    The French would question whether (Quebequois) Canadians know French either...

    It's weird. I find myself living surrounded by foreigners, who seem to think that I'm foreign or something, when it's quite clear that I'm English and therefore can't possibly be foreign. It's quite logical - if I was foreign, then I couldn't be English, and I am English, therefore I'm not foreign, therefore it must be them who are foreign.

  • (disco)

    I saw this in the "New Post" list and I thought someone was making fun of @codinghorror's car / truck analogy and all I got was this stupid Error'd.

  • (disco) in reply to boomzilla

    +1, that thread, etc.

    Also, that should be a T-shirt.

  • (disco) in reply to Onyx
    Onyx:
    +1, *that* thread, etc.

    Also, that should be a T-shirt.

    I'd buy that as TDWTF merch.

  • (disco) in reply to Zecc
    Zecc:
    We shouldn't be too hard on Canadians for not knowing English..
    What the hell was I talking about? There's no reason to believe the {firm,soft}ware producing that message was made in Canada.
  • (disco)

    How do you ever manage to can't math that hard and still stay in business?

  • (disco) in reply to foxyshadis

    You must be new here. We see this level of math fail in the real world all too often.

  • (disco) in reply to Arantor

    Also, Javascript ain't helpin'

    console.log(Math.min() > Math.max());
    

    Guess what happens!

  • (disco) in reply to Onyx
    Onyx:
    console.log(Math.Min() > Math.Max());

    Undefined?

  • (disco) in reply to Arantor

    Amended. It's min and max, not Min and Max. Bleurgh. Too many languages.

  • (disco) in reply to Onyx

    Yes, that's a strange one. Infinity > -Infinity.

  • (disco) in reply to Arantor

    It's actually correct, in a weird way, due to fucking JS "helping" you.

    max and min return the largest and smallest number in an array. In order to support arrays of length 1, they already have an array with -infinity and infinity, respectively, stored in them. That way, no matter what you pass into it in an array of length 1, it will give you that number back (since it will be compared to one of the infinities).

    But... You can pass an empty array. Or, in this case, nothing, which gets converted to an empty array... Guess what you get back in that case.

  • (disco) in reply to Onyx

    That makes sense, it's not something I'd ever actually looked at the mechanics of before now, and I could totally see me doing something similar with similar unexpected side effects.

    Though I think I'd baulk at an empty array coming in rather than returning a phantom element that isn't reaaaaaaally supposed to be there.

  • (disco) in reply to Arantor
    Arantor:
    Though I think I'd baulk at an empty array coming in rather than returning a phantom element that isn't reaaaaaaally supposed to be there.

    Yup. But that's JS for you.

  • (disco) in reply to Onyx

    FWIW PHP is slightly more sane. Calling min() or max() without parameters generates a warning but otherwise the value of NULL which means in PHP min() > max() is false, but so too is min() < max().

    You know it's bad when PHP is more sane.

  • (disco)

    I've never heard of WebStorm, but I'm assuming from that keyboard shortcut that it's some sort of 1990's console fighting game, and the "project" is a cheat far more exciting than a simple god mode.


    Also, Discourse is fun - it only remembers part of the post you've started typing when you pop back to check the details on the previous page. Regular HTML text fields are for beginners, right?

  • (disco)

    That's a VERY specific Netflix category... >_>

  • (disco) in reply to Onyx

    It's not really all that strange. It makes sense for an n-ary operation to return the identity for that operation when called with zero arguments. For addition you'd have

    add(2,3) = 5; add(2) = 2; add() = 0

    and for multiplication:

    product(2,3) = 6; product(2) = 2; product() = 1

    I don't know whether JS provides those functions, but that's the way that, e.g., Common Lisp does it (see + and *). When a function takes any number of arguments, mapping the zero argument case to the identity element makes a fair amount of sense. You get associativity for free. E.g.,

    min([x1,…,xn]) = min(min[x1,…,xm],min[xm+1,…,xn])

  • (disco) in reply to Joshua_Taylor

    Yes, but there's stuff like this that's intentional and documented.

    And there's JavaScript.

  • (cs)

    Discocurse - The Shittiest Forum software in the World!

  • (disco) in reply to Onyx

    I love a good gripe about undefined and undocumented behavior too, but this isn't it. The behavior of min and max is clearly described in the standard on page 163 (emphasis added):

    15.8.2.11 max ( [ value1 [ , value2 [ , … ] ] ] )

    Given zero or more arguments, calls ToNumber on each of the arguments and returns the largest of the resulting values.

    • If no arguments are given, the result is −∞.
    • If any value is NaN, the result is NaN.
    • The comparison of values to determine the largest value is done as in 11.8.5 except that +0 is considered to be larger than −0.

    The length property of the max method is 2.

    Similarly for min, on the same page:

    If no arguments are given, the result is +∞.

  • (disco) in reply to Joshua_Taylor

    Wait, JavaScript has a standard? When did that happen?

  • (disco) in reply to Joshua_Taylor

    Well I'll be a... how did I not know that?

    Joshua_Taylor:
    on page 163

    Oh.

  • (disco) in reply to Arantor

    The latest release of ECMAScript, informally known as JavaScript, was 5.1 in 2011, according to Wikipedia, and "The first edition of ECMA-262 was adopted by the Ecma General Assembly of June 1997". So it's had standards for 17 years, now.

  • (disco) in reply to Joshua_Taylor

    Nominating for the whoosh badge.

  • (disco) in reply to Arantor

    Maybe it went over my head, but in a thread where it's clear that people aren't aware that the behavior is specified, and in a field like browser extensions where many things don't have a formal specification until well after everyone's got their own versions, each with their own quirks, it's not impossible to have the impression that something is an ad hoc standard without a formal specification.

  • (disco) in reply to Joshua_Taylor

    Yup, it kind of did.

    I'm well aware that JavaScript has a specification though standards-adherence is questionable. I wasn't aware that this specific behaviour was documented, but given the questionable standards-adherence it could just as easily be one of the many quirks of the language.

    The whole 'JavaScript has a specification" was basically a joke because it never seems like it even though it has had for some years. We have a very strange mentality here and pointing to things like sources to back up your claims is... usually not right laughs

  • (disco) in reply to MissSkittles
    MissSkittles:
    That's a VERY specific Netflix category...

    Disturbingly so.

  • (disco)

    So I guess that data entry errors and Netflix easter eggs are IT errors now.

  • Paul Neumann (unregistered)

    Why do I get the feeling HR is looking into whether "nephrotic adventures featuring very tiny children" is considered SFW right now.

  • (disco) in reply to Steve_The_Cynic

    Reminds me of the old "anglais" mod file "Vous etranger?" "Non, je suis anglais."

  • (disco)

    Ugh, "The Frozen" I really hate those scam movies. I've previously sent feedback to Netflix that having them lowers their lower to me, because of having to wade through crap, and makes me think of cancelling.

  • (disco)

    The Netflix one was for their April Fool's Day prank. Search for the phrase and you'll find that for that day, they pushed a number of "disturbingly specific" categories.

  • (disco) in reply to beeporama

    This, however, is an actual thing. Saw the DVD at Barnes & Noble last night:

    [image]
  • (disco) in reply to da_Doctah
    da_Doctah:
    This, however, is an actual thing. Saw the DVD at Barnes & Noble last night:

    <img src='/uploads/default/4804/ba26d784dad03261.jpg'>

    That's kind of frightening. At least when Team America has that musical at the start where everyone has AIDS, it is at least satire of the musicals genre. This is just offensive.

  • (disco) in reply to Arantor
    Arantor:
    This is just offensive.

    How so?

    http://www.imdb.com/title/tt0481580/

    "Follows five autistic children as they work together to create and perform a live musical production."

  • (disco) in reply to boomzilla

    As an autistic person, I can confirm that @Arantor is offended by my kind.

  • (disco) in reply to ben_lubar
    ben_lubar:
    As an autistic person, I can confirm that @Arantor is offended by my kind.

    As a partially autistic person, I too can confirm that I am offended by your kind. :stuck_out_tongue:

    Seriously, though, I thought it was a spoof documentary looking at the cover, but I retract my offended nature because it does seem legitimately good.

  • (disco) in reply to Arantor
    Arantor:
    As a partially autistic person

    How does that work? There are a lot of different shades of autism. Are you saying your shade is partially transparent?

  • (disco) in reply to ben_lubar

    I'm saying that I present on the spectrum probably to a lesser degree than you do.

Leave a comment on “The Best Truck in the World!”

Log In or post as a guest

Replying to comment #:

« Return to Article