• 0 Posts
  • 11 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle


  • sanguinet@lemmy.catolinuxmemes@lemmy.worldThat's LTT in the bottom
    link
    fedilink
    arrow-up
    44
    arrow-down
    1
    ·
    9 months ago

    It’s not, and in a vacuum I don’t think anyone would mind. It is the fact that it is concealed that is really shitty.

    “It reserves bandwidth for high-priority tasks such as Windows Update over other tasks that compete for internet bandwidth, like streaming a movie”

    As much as I’d like to keep my system up to date (and I really do), if I’m watching a movie then that is my priority. Any task I’m currently using the bandwidth on, should be considered my system’s priority. This is akin to rebooting the computer when it determines it is necessary, with the user having little control to stop it; it’s intend isn’t malicious, and it is meant to protect the user, but all it achieves is upsetting the user and make us find ways around it or turn it off completely.






  • It’s cause PHP associates the if-then-else pair only with its immediate “else” option, not with the entirety of the line.

    Let’s go by parts.

    $a == 1 ? "one" : $a == 2 ? "two" : $a == 3 ? "three" : "other"

    Is $a equal to 1? If so, we’re “set” to the value on the left, which is "one", if not then we’re set to the value on the right, which is $a == 2. $a is not equal to 1, so we’re set to the right value, $a == 2.

    This replaces the relevant part, $a == 1 ? "one" : $a == 2, with $a == 2. So we’re left with:

    $a == 2 ? "two" : $a == 3 ? "three" : "other"

    Next, is $a equal to 2? If so, we’re set to "two", if not we’re set to $a == 3. The comparison is true, so we’re set to the value on the left, "two". The relevant part here is $a == 2 ? "two" : $a == 3 only, so it replaces it with "two" cause again, PHP is only associating with its immediate pair. So now we’re left with:

    "two" ? "three" : "other"

    Finally, is "two" truthy? If so, we’re set to "three", if not we’re set to "other". Since "two" is truthy we’re then left with "three".

    It’s super confusing for sure.



  • On some of the subs that I still frequent, the content has swiftly deteriorated, and it’s not just due to the still on-going protests anymore. I’m subscribed to something like 50 subs or so, and it’s always a handful of these that show up on my subscribed feed. If I want to find the other subs (some of which I don’t fully recall why I subbed to them) I have to browse down past a lot of crap content, or look at my list and click them individually. In short, the experience has been awful, not to mention that I no longer browse it on my phone when bored.

    Reddit is still there as a resource, mostly for Google searches that take me there, but otherwise it feels “dead” to me, in ruins. It will not go away, like you said, it’ll definitely stick around but I think people will gradually move away to other platforms and its content will evolve to something that won’t be relevant to us one day.