• 1 Post
  • 303 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • Like in a housing shortage you’re hoarding property and profiting off it.

    Housing shortages are caused by bad government policy: namely, low-density zoning. Direct your anger towards the entity that deserves it, and make them fix their fuck-up.

    (Note: I’m not making some kind of Libertarian “all government is bad” argument here. I’m saying that in this specific case, the laws need to be changed.)


  • By the same argument, replacing the coal fired power plant with wind and solar wouldn’t pose a challenge either.

    The point is, you’ve got to compare apples to apples: either coal power vs. desalinization powered by coal, or renewables vs. desalinization powered by renewables. In every case, the pollution produced by the desalinization process (i.e., the brine etc.) is simply added to the pollution produced by whatever means was used to generate the power for it, which means @soEZ’s attempt to compare desalinization to power generation doesn’t make much sense.









  • 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
    ·
    1 year 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.