• 0 Posts
  • 97 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle
  • 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.









  • 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.




  • 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.







  • There are lots of countries that have compulsory military service with alternatives for conscientious objectors (which is basically what you’re describing).

    I agree that it’s a good idea. Moreover, it comes closer to the original meaning of that whole “well-regulated militia” thing. We should consider doing like the Swiss do: give (roughly) everybody mandatory firearms training, send them all home with an infantry standard-issue assault rifle, and then severely restrict access to ammunition except for legitimate purposes like practice at the firing range.