• 0 Posts
  • 101 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle




  • While DRM is the bane of everybody there are cases where trust and integrity is important and it’s an intriguing look into how hard it is to manage.

    Nah, when the user wants to ensure trust and integrity in his own system, it works just fine. The problem comes when the user who needs to be able to access the data is simultaneously the adversary who needs to be stopped from accessing the data.

    In other words, it’s one of those situations where the fact that it’s hard to manage is a gigantic clue that it’s wrongheaded to try to do so in the first place.



  • grue@lemmy.mltoProgrammer Humor@lemmy.mlno cap
    link
    fedilink
    arrow-up
    5
    ·
    3 years ago

    Edit: wait… return ! 0 ; wtf

    I mean, returning non-zero exit status on error is just good practice. It even managed to evaluate to the same numerical value as EXIT_FAILURE when I tested it on my machine (gcc 11.4.0 linux x86-64), although I’m not sure if that’s always the case or if it’s undefined behavior.

    This cursed code is quite well-written.




  • I have a similar issue (also Firefox on [K]ubuntu 22.04) every time I open a link on a logged-in site in a new tab, but in my case merely refreshing the page is enough to get me logged back in.

    I assume is most likely the fault of the fairly aggressive mix of extensions I’m running rather than Firefox itself, but I haven’t actually tried to troubleshoot it yet.




  • bicycles won’t solve the climate crisis

    Not with that attitude!

    More specifically, not with that disingenuous attitude that implies giving folks bicycles and changing nothing else, trying to shame them into using a mode that’s worse for them in order to altruistically help everybody else. Of-fucking-course that’s never gonna work!

    Instead, what actually has to change is the zoning laws that shape the built environment the bicycles are operate in. We have to stop limiting density and mandating parking requirements, which not only physically force destinations farther apart (putting fewer within walking or biking distance) and cause the space between to be filled with car-infested asphalt (making walking and biking unpleasant), but also subsidize driving by forcing an oversupply of parking, driving down the price.

    Removing the regulations and allowing developers to build as compactly as the market would dictate would cause people to freely choose bicycling because it would become more convenient than driving, and that is what would help solve the climate crisis!