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

help-circle





  • 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
    0
    arrow-down
    1
    ·
    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.




  • Oh interesting.

    But you can sell apple gift cards on eBay, yeah? Sure you won’t get the full value, but you get most of it. And as you said, in this case Roblox is taking a cut for the conversion anyway.

    So it seems like they could’ve washed their hands of this by making Robux transferable/ebayable: the “casinos” would still exist, they would still benefit from the popularity of the casinos, and the Robux are still “worth something”. But they got too greedy and dug too deep by trying to become the “eBay” in the situation and take a cut off both ends, and now they might be forced to make Robux effectively worthless.




  • And despite masking, COVID spread all over the globe and killed a fuckload of people.

    Would more people have died if there was no masking? Yes, absolutely.

    But the question of interest is: how many fewer people would have died if we made a concentrated effort to improve ventilation in public spaces?

    Maybe I’m completely missing your point, or maybe you’re just being snarky/contrarian and don’t really have a point, but it sounds like you are basically saying (reusing the above analogy) “Why are we talking about adding seatbelts to cars when we already have helmets?”


  • Well so there’s the question: how much more effective is good ventilation than masking? I was under the impression that it’s, like, a lot. Orders of magnitude. Like if good ventilation was equivalent to seatbelts in cars, then masking would be wearing a helmet while driving.

    But perhaps someone who is better at reading scientific results could find the study and come up with a better analogy for us laymen, in case my understanding is way off base. If it’s actually that masking is more like airbags, then I think people would be a lot more amenable to doing both.