Hacker News new | past | comments | ask | show | jobs | submit | holdenweb's comments login

Given the many ways of creating virtual environments it's becoming more usual for a program's installation to create a specialist virtual environment just to support that application (pre-commit is. good example of this technique). Perhaps that'a a way ahead?

This is almost mandatory if you want to ship something which might be considered "standalone" on Python.

It's quite ugly, and I try to make sure I write modules that can be built to a standard wheel and installed that way. (Poetry makes this fairly easy, incidentally.)

Doing development on the projects without a specialised build environment, though, is almost hopeless. You either have to manually install a bunch of stuff (e.g. I use ruff, used to use ruff and black, used pre-commit, and a few other things), and then there's the non-Python things that need to be installed (like specific fonts in my case). At this point I just impose Poetry as basically a requirement for development.

The program does build and function in a non-Poetry environment which is what I use for production.


They'll all co-exist. Add them all to your PATH, make one the default python3, and request specific versions when they are required.


I don't need the default, because which python to choose depends on project's dependencies which may work only for specific versions. And then you build a venv and it lives there. It's not some safety measure, it's a natural choice. I don't need bare `python` command outside of venv.

That said, 3.12 doesn't even have python312.exe in its folder. If 3.13 follows, having both of them in PATH is useless.


Well, this has all the signs of well-meaning but inexperienced developers seeing a market opportunity without appreciating the many difficult problems that will have to be solved to produce something that is secure, reliable and interoperable with current development ecosystems.

Rather than abuse them, we might perhaps use them as an example of the Dunning-Kruger effect.


None of which removes the fact that Martijn is incredibly helpful to Python questioners.


You misunderstand the concept of barter. It was actually an informal, unrecorded socially-based debt system. Read "Debt, the first 5,000 Years" for a good explanation.


In point of fact two companies were the primary contractors for the redesign of python.org, but since I am no longer in the loop I will commend you to wait for an upcoming PSF blog post that will give the details. Design was indeed a major input to the project.


Fine, so you have found a language you prefer to Python. Go use it. Never mind about PyPy, which gives you compiled execution speeds, never mind about the fact that Python 3 fully supports NumPy, SciPy, matplotlib and much of the infrastructure you claim to need. If threading is your preferred solution to concurrent programming and it's working for you then there's no real problem, is there? I'm sorry Python doesn't work for you, but fortunately there's a rich toolset available of which Python is only a part. It's fine for many tasks, but it's by no means your only option. Isn't open source wonderful?


"I've learned that luck and timing are definitely part of the equation." A lesson for us all there, if we choose to listen to it.


Can't think of a better guy than you to implement Rackspace's strategy - good luck!


If we want to be understood we had better start communicating more effectively. The onus isn't on others to understand us, it's on us to make ourselves understood.


That absolutely cuts both ways.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: