HNHacker News
TopNewBestAskShowJobs

BiteCode_dev

24,628 karma · joined October 21, 2019

I write to save you time and effort when dealing with Python:

https://www.bitecode.dev/

Email: contact at bitecode.dev

submissionscomments
BiteCode_dev··on The Great Migration from MongoDB to PostgreSQL
Because vertical scaling can take you so far these days that 99% of companies will never, ever reach the scale where they need more. There is just few incentives.

Especially since:

- Servers will keep getting better and cheaper with time.

- Data is not only in postgres, you probably have redis, clickhouse and others, so the charge is balanced. In fact you may have different dedicated postgres, like one for GIS tasks.

- Those hacky extensions are damn amazing. No product in the world is that versatile.

- Posgres has much better support from legacy frameworks like django/ror/laravel than nosql alternatives. People shits on ORM, but they enable a huge plugin well integrated ecosystem that makes you super productive, and PG is happily and transparently handling all that.

- If by some miracle you actually reach the point you need this, you'll have plenty of money to pay for commercial HA/sharding, or migrate. So why think about it now?

BiteCode_dev··on What Boeing did to all the guys who remember how to build a plane
Airbus has a limited production capacity, and they are maxed out with this scandal.

So Boing is still getting orders, because the world need planes.

BiteCode_dev··on China blocks use of Intel and AMD chips in government computers: Report
Or at least require things like intel ME to be forbidden on any computer used by the administration, forcing chip makers to provide alternatives.
BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
- Not if you have to edit the code. Try to explain your beginner with notepad++ how to do that.

- Not if you have to deploy the code.

- Not if you have to import the code in your own project.

Basically, not if you want to do anything by running the code. For which I would suggest an installer instead.

BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
Using docker is not free, you are effectively trading one type of complexity for another.

And of course you'll have to make sure people equally have good practices, since incorrectly using sudo pip install in docker and not a venv are very common.

So again, one possible solution for a certain context, but I wouldn't sell that to most people. Certainly not to beginners.

People writing their pythonanywhere website won't pop up a container, won't they ?

BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
I hope this will be merged with indygreg builds at some point, but the community move slowly on those issues so it may take years.
BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
Just tried, I get the same result with 3.7, 3.8, 3.10 and 3.11.
BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
The thankless soul is the awesome Anthony Sottile, who is also the author of pre-commit.ci: https://twitter.com/codewithanthony

Drop by and send thanks cause he really needs them.

BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
I know you mean well, but such advice is why so many beginners have painful Python experience.

Macports and homebrew Pythons are dependencies of other packages. They can be used by you, but they are not meant for you.

This means at some point, they will contain a surprise, and not a good one.

BiteCode_dev··on Pyenv – lets you easily switch between multiple versions of Python
While there are no silver bullet, for beginners, I found that "Relieving your Python packaging pain" (https://www.bitecode.dev/p/relieving-your-python-packaging-p...) is the Pareto solution. That is, the solution that has the best ratio of effort, reward, but also the lower risk of failure. It's not no risk, but I've been helping beginners for 15 years with Python, and have tried everything you can think of.

It does imply, on linux, to limit yourself to the choices of Python you can install. This constraint is, for most people, preferable than the alternative, even if it gets frustrating to our geeky soul.

← PreviousPage 34 of 34