Most active commenters

    ←back to thread

    269 points amazonhut | 11 comments | | HN request time: 0.868s | source | bottom
    Show context
    untrimmed ◴[] No.45248154[source]
    As someone who has spent days wrestling with Python dependency hell just to get a model running, a simple cargo run feels like a dream. But I'm wondering, what was the most painful part of NOT having a framework? I'm betting my coffee money it was debugging the backpropagation logic.
    replies(5): >>45248223 #>>45248315 #>>45248416 #>>45248640 #>>45248972 #
    ricardobeat ◴[] No.45248416[source]
    Have you tried uv [1]? It has removed 90% of the pain of running python projects for me.

    [1] https://github.com/astral-sh/uv

    replies(4): >>45248587 #>>45248888 #>>45249600 #>>45250338 #
    1. mtlmtlmtlmtl ◴[] No.45249600[source]
    I'm sure it's true and all. But I've been hearing the same claim about all those tools uv is intended to replace, for years now. And every time I try to run any of those, as someone who's not really a python coder, but can shit out scripts in it if needed and sometimes tries to run python software from github, it's been a complete clusterfuck.

    So I guess what I'm wondering is, are you a python guy, or are you more like me? because for basically any of these tools, python people tell me "tool X solved all my problems" and people from my own cohort tell me "it doesn't really solve anything, it's still a mess".

    If you are one of us, then I'm really listening.

    replies(7): >>45249727 #>>45249732 #>>45249763 #>>45249960 #>>45250417 #>>45250655 #>>45251118 #
    2. J_Shelby_J ◴[] No.45249727[source]
    Isn’t UV essentially cargo for python?
    replies(1): >>45250389 #
    3. jhardy54 ◴[] No.45249732[source]
    I’m a “Python guy” in that I write Python professionally, but also am like you in that I’ve been extremely underwhelmed by Portry/Pipenv/etc.

    Python dependencies are still janky, but uv is a significant improvement over existing tools in both performance and ergonomics.

    4. hobofan ◴[] No.45249763[source]
    I'm one of you.

    I'm about the highest tier of package manager nerd you'll find out there, but despite all that, I've been struggling to create/run/manage venvs out there for ages. Always afraid of installing a pip package or some piece of python-based software (that might muck up Python versions).

    I've been semi-friendly with Poetry already, but mostly because it was the best thing around at the time, and a step in the right direction.

    uv has truely been a game changer. Try it out!

    5. tinco ◴[] No.45249960[source]
    As a Ruby guy: uv makes Python feel like it finally passed the year 2010.
    replies(1): >>45250331 #
    6. llIIllIIllIIl ◴[] No.45250331[source]
    Don’t forget to schedule your colonoscopy as a Ruby guy
    7. adastra22 ◴[] No.45250389[source]
    Somewhat literally so. It is written in Rust and makes use of the cargo-util crate for some overlapping functionality.
    8. OrderlyTiamat ◴[] No.45250417[source]
    I'm (reluctantly) a python guy, and uv really is a much different experience for me than all the other tools. I've otherwise had much the same experience as you describe here. Maybe it's because `uv` is built in rust? ¯\_ (ツ)_/¯

    But I'd also hesitate to say it "solves all my problems". There's plenty of python problems outside of the core focus of `uv`. For example, I think building a python package for distribution is still awkward and docs are not straightforward (for example, pointing to non-python files which I want to include was fairly annoying to figure out).

    9. Yoric ◴[] No.45250655[source]
    As a developer: it basically solved all of my problems that could be solved by a package manager.

    As an occasional trainer of scientists: it didn't seem to help my students.

    replies(1): >>45250841 #
    10. buildbot ◴[] No.45250841[source]
    It installs stuff super fast!

    It sadly doesn’t solve stuff like transformer_engine being built with cxx11 ABI and pytorch isn’t by default, leading to missing symbols…

    11. OoooooooO ◴[] No.45251118[source]
    As a mainly Python guy (Data Engineering so new project for every ETL pipeline = a lot of projects) uv solved every problem I had before with pip, conda, miniconda, pipx etc.