• 4 Posts
  • 86 Comments
Joined 1 year ago
cake
Cake day: June 14th, 2023

help-circle


  • dave@feddit.uktoProgrammer Humor@lemmy.mlOff by one solitude
    link
    fedilink
    English
    arrow-up
    2
    ·
    2 months ago

    Function/Method names, on the other hand, should be written so as to make the most sense to the humans reading and writing the code

    Of course—that’s why we have such classics as stristr(), strpbrk(), and stripos(). Pretty obvious what the differences are there.

    But to your point, the ‘intuitive’ counterpart to ‘zeroth’ is the item with index zero. What we have is a mishmash of accurate and colloquial terms for the same thing.







  • I remember using Mosaic on Silicon Graohics machines back in the early ‘90s. It’s was fab for the time.

    And yes, Mosaic became Netscape, became Firefox. From the wiki page at https://en.m.wikipedia.org/wiki/Netscape_Navigator

    The business demise of Netscape was a central premise of Microsoft’s antitrust trial, wherein the Court ruled that Microsoft’s bundling of Internet Explorer with the Windows operating system was a monopolistic and illegal business practice. The decision came too late for Netscape, however, as Internet Explorer had by then become the dominant web browser in Windows. The Netscape Navigator web browser was succeeded by the Netscape Communicator suite in 1997. Netscape Communicator’s 4.x source code was the base for the Netscape-developed Mozilla Application Suite, which was later renamed SeaMonkey.[4] Netscape’s Mozilla Suite also served as the base for a browser-only spinoff called Mozilla Firefox.





  • Partially. The summary isn’t quite in line with the detail:

    Android is the only operating system that fully immunizes VPN apps from the attack because it doesn’t implement option 121. For all other OSes, there are no complete fixes. When apps run on Linux there’s a setting that minimizes the effects, but even then TunnelVision can be used to exploit a side channel that can be used to de-anonymize destination traffic and perform targeted denial-of-service attacks.



  • The thing with football is that there is a specific goal (pun very much intended). It’s ok to have a mindset that you’re going to play in a way that makes it unlikely (in the beginning) you’ll achieve that goal (eg play left footed), but if that player never improved, would you still think it’s ‘working’)?

    I worked in an industry for many years that was obsessed with goal-setting, and that mindset never appealed to me. I eventually found a book called Goal Free Living by Stephen M. Shapiro. It was a bit of an eye-opener for me, and the phrase “Carry a compass not a map” stayed with me until today. I’ve done several different things since then but I’ll never be famous for any of them as I still keep changing direction.