• 0 Posts
  • 27 Comments
Joined 1 year ago
cake
Cake day: June 1st, 2023

help-circle
  • Your info is out of date, now the cia is pushing “cultural genocide” because “genocide” was remarkably uncredible. Remember the delegations of Muslim countries to the region?

    Incredible if you believe tankie news sources, maybe?

    Hong Kong was a British colony that is part of mainland China. They’re Chinese. Integrating them into the wider system is a step in erasing the legacy of colonialism in China.

    Integrating…by force. Sounds like they are continuing the legacy of colonialism to me. “They’re Chinese” lol, they were perfectly happy existing with their freedoms intact. But I guess the CCP feels that they own all the Chinese people and have a right to subjugate them?

    Literally name a country that doesn’t do this lol. Here in the US local police have off the books torture and indefinite detention facilities

    There’s a difference between rogue behavior at a local scale and official policy at a country-wide scale.













  • Sure, for a new project. But when inheriting code I’m not in a position to pick.

    The point is that the state of python package managers is a hot fucking mess compared to npm. Claiming that “npm is just as bad” (or worse) honestly seems ridiculous to me.

    (And isn’t pip/venv the one the requirements.txt one? Completely flat, no way to discern the difference between direct dependencies and sub-dependencies? No hashes? Sucks when it’s time for updating? Yeah no thanks, I’d like a proper lock file. Which is probably why there are a dozen other tools.)




  • rothaine@beehaw.orgtoProgrammer Humor@lemmy.mlPackage managers be like
    link
    fedilink
    arrow-up
    5
    arrow-down
    6
    ·
    edit-2
    9 months ago

    Sorry but nah. My last job we had a couple different python microservices. There was pipenv, venv, virtualenv, poetry, Pipfile.lock, requirements.txt (which is only the top level???), just pure madness

    Apparently all this shit is needed because python wants to install shit globally by default? Are you kidding?

    Well, we also had a couple node microservices. Here’s how it went: npm install. Done.

    Afraid you fucked something and want a clean environment? Here’s how you do it with node: delete node_modules/. Done.

    Want a clean python env? Uhhhhhhhh use docker I guess? Maybe try reinstalling Python using homebrew? (real actual answers from the python devs who set these up)

    Well what’s currently installed? ls node_modules, or use npm ls if you want to be fancy.

    In python land? Uhhhhhh

    Let’s update some dep–WHY AREN’T PYTHON PACKAGES USING SEMVER

    So yeah, npm may do some stuff wrong, but it seems like it does way more shit right. Granted I didn’t really put in the effort to figure out all this python shit, but the people who did still didn’t have good answers. And npm is just straightforward and “works”.

    “But JS projects pull in SOOOO many dependencies” Oh boohoo, you have a 1TB SSD anyway.