Some middle-aged guy on the Internet. Seen a lot of it, occasionally regurgitates it, trying to be amusing and informative.

Lurked Digg until v4. Commented on Reddit (same username) until it went full Musk.

Is on kbin.social but created this profile on kbin.run during a week-long outage.

Other Adjectives: Neurodivergent; Nerd; Broken; British; Ally; Leftish

  • 0 Posts
  • 45 Comments
Joined 27 days ago
cake
Cake day: June 4th, 2024

help-circle



  • JavaScript, like some other languages of the time, was designed with the Robustness Principle in mind. Arguably the wrong end of the Robustness Principle, but still.

    That is, it was designed to accept anything that wasn’t a syntax error (if not a few other things besides) and not generate run-time errors unless absolutely necessary. The thinking was that the last thing the user of something written in JavaScript wants is for their browser to crash or lock up because something divided by zero or couldn’t find an object property.

    Also it was originally written in about five minutes by one guy who hadn’t had enough sleep. (I may have misremembered this part, but I get the feeling I’m not too far off.)




  • I don’t know about that. Non-binary files have been put into bin directories for decades at this point. (Feel free to marvel at the analogy.)

    Delete the contents and it’s not just binaries going to the bit-bucket.

    The joke here is more “Tony Lazuto said to execute these files.”


  • “Briton” is generally used as the noun form of “British”, so when “Brit” is used as a noun - which is most of the time - it’s abbreviating “Briton”.

    As for who gets to be called “Briton”: In the loosest sense, anyone with residence in Britain can be counted as British when they’re here, whether or not they’re considered ethnically British (by themselves or others).

    Bear in mind that “Briton” originally mean “an inhabitant of the British Isles before any of the Romans, or various flavours of Germanics turned up”. There’s been quite a bit of admixture since then. It makes sense - to the chagrin of the Welsh, no doubt - that the term has mutated a bit over the centuries.


  • I’d say it’s more like setting up a handler for a callback, signal, interrupt or something along those lines.

    Function declarations by themselves don’t usually do that. Something else has to tell the system to run that function whenever the correct state occurs.

    That doesn’t account for unconditional come-froms.¸but I expect there’d have to be a label at the end of some code somewhere that would give a hint about shenanigans yet to occur. Frankly that’d be worse than a goto, but then, we knew that already.




  • NK’s narrative is that SK is separate from the one true Korea because it’s occupied by, or at least heavily influenced by, the US. That means that if Russia were to, say, declare war on the US - however unlikely that might be - NK would theoretically be in favour.

    Kim would almost certainly be interested in finally getting to lob a couple of bombs at an actual target.

    Less seriously(?), you could also argue that Putin’s pining for the glory days of the USSR with its empty stores and downtrodden, starving citizens fits right in with what’s going on in NK, so perhaps Kim had better watch his back lest he become the former dictator of a new SSR.





  • There are plenty of stupid and/or devious people who will see what’s going on in some part of the world and believe a narrative or use that narrative as an excuse for their own ends.

    If it wasn’t her, it would have been someone else. The whole human race has a problem with human garbage who can’t control their actions. Some of them end up running countries and turning a blind eye to war atrocities, if not asking for them outright.

    This doesn’t lessen what happened to this 12-year-old victim, and it doesn’t lessen what’s happening elsewhere in the world, nor the ramifications. My point is that the link, while there, is tenuous.

    The perpetrators are human garbage who found a reason to stop pretending not to be, and now should be treated as such.




  • The smarter you are, the less likely you are to want kids or have “accidents”, and even if you do, you won’t have many.

    Spot the bad trend.

    Exception: Rich people have kids regardless of how smart they are.

    This is another bad trend.

    We’re not quite at Eloi and Morlocks yet, but given how things are at the moment, I think we’ll be there sooner than H.G.Wells thought.