• 0 Posts
  • 31 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle



  • "1" + 2 === "12" is not unique to JS (sans the requirement for the third equals sign), it’s a common feature of multiple strongly typed languages. imho it’s fine.

    EDIT: I did some testing:

    What it works in:

    • JS
    • TS
    • Java
    • C#
    • C++
    • Kotlin
    • Groovy
    • Scala
    • PowerShell

    What produces a number, instead of a string:

    • PHP
    • SQL
    • Perl
    • VB
    • Lua

    What it doesn’t work in:

    • R
    • C
    • Go
    • Swift
    • Rust
    • Python
    • Pascal
    • Ruby
    • Objective C
    • Julia
    • Fortran
    • Ada
    • Dart
    • D
    • Elixir

    And MATLAB appears to produce 51, wtf idk




  • Exactly. When I was clean shaven, it was easy, I could just hold the shaver against the contours of my face.

    Now, with a large beard, I only need to shave every one or two weeks, but it takes much longer to do so and is much trickier. I’ve got to sculpt and shape a mound of hair manually. And every day I still brush and oil it.

    Clean or short shaven was actually less effort.



  • So what’s the deal with GNU? When I first saw it, I was sure the G was silent, or formed a dipthong, like gnat or gnocchi or gnaw or gnarly or gnome or just any word starting with gn in English. But IRL, I’ve only heard it pronounced with a hard G, same with Gnome.



  • Usually they’re building the website with browserlist and polyfills, and they specify how old a browser they wish to support, usually by analysing percentages of public usage, or they allow types only supported in newer browsers. Meaning if they use a feature only available in newer browsers, then it won’t be automatically backported to support older browsers.

    But that’s only if they actually use those features, they’re just available to them. And it’ll only break in those places they do use them, which could be quite little of the site.

    So often it’s just “we can’t guarantee it’ll work in your old browser and enough of our users use newer browsers that we’ll block you and not care”.




  • The more control I have, the more likely I am to wake up, which is pretty annoying. Although, on the flip side, waking up through choice to avoid bad dreams is how I originally developed the skill of lucid dreaming. Noticing the signs of waking up and choosing to stay asleep is kind of a weird thing to do too, but it can lead to sleep paralysis.

    However in any case, the level of control I have varies. Often, I am able to fly from danger or decide something didn’t happen and try again. More rarely I know there are no consequences to any of my actions and can completely control space, time and narrative. It’s odd knowing it’s a dream, but it still feels real. Though, still with a dream brain memory and dream logic, I’m not necessarily thinking as sensibly as I would do when awake.




  • Unless everybody fully customises the display and styling of the adverts for their own website, there’s going to be some sort of targetable, recognisable pattern in the way AdSense content looks. Most developers just want an easy drop-in solution.

    Furthermore, Google don’t necessarily want to give you that level of control over the adverts, because that makes it easier to game the ads system with malicious, fake and misleading clicks or invisible adverts. They need their tracking tech attached to it.