• 0 Posts
  • 24 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle

  • nyan@lemmy.cafetoProgrammer Humor@programming.devJavaScript
    link
    fedilink
    English
    arrow-up
    3
    ·
    26 days ago

    That’s because Perl doesn’t do operator overloading in general. Even the equality operator is different for strings (eq instead of ==). As a language, it may look pretty weird and lack some modern features, but the underlying design is surprisingly intelligent and consistent in many ways.


  • It’s almost enough to make me feel nostalgic for the DOS version of Borland Turbo Pascal, which wasn’t bright enough to do any of this stuff. (Well, it could freeze up, I suppose, but the only time I actually managed to do anything like that, it involved a null pointer dereference that would have triggered a segfault on any modern system.)











  • Pretty sure the US allows individual states to set the ages. In Canada, it’s provinces that set it. Lowest age I’ve ever heard of was 12 (for limited permits to move farm machinery along back roads in Saskatchewan, although that was decades ago and it might not still be a thing). I had a full and unrestricted license at 16, but the rules have changed since then.




  • The author of the article can’t even be bothered to keep his server up-to-date (my first attempt at viewing the article bounced me with a warning that suggests he only has obsolete crypto protocols available for SSL—why bother with SSL at all, then?). He’s quite correct that this initiative is going to come to nothing.

    There are currently only four web rendering engines that could be considered remotely usable as daily drivers: WebKit, its fork Blink, and Gecko, with its fork Goanna. WebKit and Blink both have major corporate backing (Apple and Google respectively). Gecko has the Mozilla Foundation paying the major bills. Even Pale Moon’s Goanna has multiple people working on it (and since it’s my daily driver, I know it has persistent issues with a few sites that have to be papered over with extensions). And the rendering engine is not the only thing you need for a browser, just the largest single part. A one-man project starting from scratch is not going to be viable in this day and age.


  • nyan@lemmy.cafetoProgrammer Humor@programming.devRecursion
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Half-pull the lever so that the points get stuck midway between the two tracks. That should derail the trolley. Someone could conceivably still get hurt, but it improves everyone’s chances.

    (What? You mean it isn’t a literal trolley that has to obey the laws of physics? Damn.)


  • On the one hand, security is good in the general case, and github has a right to set whatever (legal) conditions they want for the use of their services.

    On the gripping hand, for the kind of stuff I’ve put on github in the past? Not worth even a tiny bit of additional friction, especially when I hate git to begin with. I’ve been procrastinating for a while now about moving or deleting existing repositories. Should get on it, I guess.

    (There are also certain details of how they’ve executed their security upgrade, which locked some maintainers out of their projects at one point, that I don’t like, and which has reduced my already low trust in them.)