HNHacker News
TopNewBestAskShowJobs

These335

31 karma · joined March 18, 2024

submissionscomments
These335··on After 7 years in production, Scarf has reluctantly moved away from Haskell
I grew up on python and after working with Java I really came to appreciate types. However I do want to point out that big libraries like mpl pre-date most efforts for typing, so it is no wonder that they arent typed properly. A lot of these libraries are trying to improve this but it will just take some time.
These335··on SQLite in Production: Lessons from Running a Store on a Single File
You're absolutely right, this was an AI post
These335··on Uv is the best thing to happen to the Python ecosystem in a decade
Got a specific example in mind for garbage fire and mediocre?
These335··on There is no safe amount of processed meat to eat, according to new research
Slop
These335··on Show HN: FastOpenAPI – automated docs for many Python frameworks
Love Flask, but this has always been a missing tool. I have a question though - it seems like you're actually modifying the response data type for Flask routes so that it's a Pydantic model. Is that an optional approach? While I wish that were the official standard, if it is not optional then I think that's quite a big ask for maintainers of existing APIs who want to use your docs library. Regardless, I'm looking forward to trying it out! Looks great.
These335··on Conda: A package management disaster?
Can somebody please eli5 why it is so unanimously accepted that Python's package management is terrible? For personal projects venv + requirements.txt has never caused problems for me. For work projects we use poetry because of an assumption that we would need something better but I remain unconvinced (nothing was causing a problem for that decision to be made).
These335··on Uv, a fast Python package and project manager
Maybe I'm not fully grasping lock files then, but why isn't it sufficient to just pin the versions in the requirements.txt? Obviously it doesn't handle the python version itself but I just use pyenv for that. So my stance is just pyenv + venv seems to solve those problems. But then I see people singing the praises of these newer tools and I wonder what I am not getting
These335··on Uv, a fast Python package and project manager
I have only ever really used venv. Poetry was fine but didn't give me any additional benefits that I could see. What does this offer? And more broadly, why do people consider pip to be a problem? I have literally never had any issues with it in any of my projects.
These335··on Statistical Rethinking (2024 Edition)
I tried to follow along with the textbook before but really struggled with the practical side - R is just another world in terms of dependency management and organisation/documentation (compared to python at least). The book had me install some version of a library that was since unsupported. So I thought I would be a nerd and do everything in python instead, but there I had other problems installing pymc. After some hours of failing I just gave up. Can anyone speak to the state of the dependencies in this edition? Has everything been updated? Versions listed? Would love to give this another shot
These335··on Fundamental physics is dying? [video]
I have never seen someone prefix dates with a zero like this. Why are you doing that?
These335··on I've stopped using box plots (2021)
Sure there are alternatives and I agree with the author's criticisms overall. But boxplots are a staple in statistics, and if your audience can reasonably be assumed to have some level of statistical training then boxplots are perfectly reasonable in my opinion.
These335··on I've stopped using box plots (2021)
Mean and variance have nothing to do with boxplots, you are mistaken.
These335··on A hack of psychotherapy records revealed a nation's secrets
Anyone have a non paywalled link?
These335··on Google Quantum AI
Of course, how can you possibly raise awareness without an ad campaign!