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

help-circle




  • Redscare867@lemmy.mltoWorld News@lemmy.worldOzone hole goes large again
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    2
    ·
    edit-2
    9 months ago

    You realize that banning CFC’s did have massive implications on industry right? Most CFC use was industrial. This comment really just shows that you’re clueless on the history of this issue. Consumer air conditioning was far from the only casualty. If we had not banned CFC’s then the ozone layer would be in an absolutely dire state today.

    The Montreal Protocol is literally proof that if international governments wanted to they could come together and stop industry from destroying the planet, and you think we should roll that back for air conditioning? Give me a fucking break dude.


  • That we should go back to knowingly destroying the ozone layer because the lingering effects of our previous attempts at destroying it haven’t gotten completely better yet and that has had bad effects on air conditioning. Won’t anyone think of the poor deprived people forced to sit in their cars that are a sweltering 70 degrees Fahrenheit?




  • Voting is the absolute smallest political action anyone could ever take. Protest always has been and always will be more effective at moving the needle. Above all else these ghouls want to preserve capitalism. If it looks like the only way they preserve capitalism in the near term is capitulating to the demands of environmentalists then that is what will happen. Of course in the long term capitalists will attempt to erode these gains just like they have done with social safety nets in various countries for largely the same reasons (increased rate of profit).



  • Maybe you should check how python compares relative to shell scripts before you comment. You’re making it very apparent that you don’t actually know what you’re talking about. Regardless of how slow python is, it is significantly faster than bash, or any other shell language purely by virtue of the fact that shell languages are primarily glue between other programs. Spawning a new process has a ton of overhead, which you would know if you were capable of doing anything other than projecting.

    You’re also woefully unaware that it is completely possible to write python bindings for C++ code, which many popular libraries do. In practice python is not as slow as you think it is. That’s not even considering the fact that python 3.12 increased performance of the language.

    It’s not perfect for everything, but this performance argument shows that you don’t know enough to understand why that isn’t really a drawback for writing scripts, which is undeniably an area that python excels at.




  • To be fair, sometimes that runtime difference matters. That’s why it’s C++ and python is a fairly common skill-combo amongst devs. But the fact that this dude is basically bragging about writing shell scripts as if that’s something an experienced dev couldn’t figure out tells me that they don’t really know anything about when you would choose either.

    If they had mentioned the Global Interpreter Lock or dynamic typing maybe they would have had some sort of real case for why you should avoid python in certain situations.


  • You should check out Click. Way more user friendly than argparse imo. I agree with all of your points though, and I’d also add if you are working on a team that it will be infinitely easier for a co-worker to decipher your python code compared to a bash script. And you can write unit tests with py test, the list goes on and on. If the environment you are deploying to has the python interpreter, you should use python over bash.




  • Redscare867@lemmy.mltoMemes@lemmy.mlHow i feel on Lemmy
    link
    fedilink
    arrow-up
    10
    arrow-down
    1
    ·
    1 year ago

    This is generally the thought process that Marxists have. The USSR definitely wasn’t perfect, but it is the first real example that the proletariat was capable of uniting and other throwing the capitalist system. The USSR is fantastic to study to try and determine why it failed. Similarly China is a great resource to study to understand how capitalism can be re-established from within the party.

    Most modern communist groups actively engaging in an attempt at revolution were inspired by the Chinese revolution and the cultural revolution that came after it, but none of them are trying to recreate the USSR or China because as we can clearly see those states failed to maintain a socialist character.