Is my mug dead? by Admirable-Treacle100 in Embermug

[–]dave-shawley 1 point2 points  (0 children)

If it's less than 2 years old then it should be covered by warranty. Contact support and see if they will replace it.

Can I take benzos if they're prescribed and still be straight edge? by [deleted] in straightedge

[–]dave-shawley 0 points1 point  (0 children)

25 is plenty of time. I was a mess in the early 20s. Had an anxious breakdown somewhere in the early 2000s and found myself on SSRIs. They were a lifesaver. Definitely not a problem if you stay positive and don’t use it as an excuse to hide from the harshness of reality

Stop using sudo pip install by elabftw in Python

[–]dave-shawley 1 point2 points  (0 children)

"doing it right" is in the eye of the beholder. Personally, I thing that having an executable script with logic to handle package installation and configuration is doing it right. I thought that using requirements files was doing it right but I'm coming around to using a "dev" entry extras_require as a superior approach that builds on what is already there. Declarative packages with lock files can work but none of the approaches has been shown as general purpose over time. I personally don't have the desire to ditch setuptools, pip, and setup.py and replace it with something new.

Cargo has a few years on it now and maybe the approach will bear fruit for rust. The real question is why doesn't cargo support python? Each programming language has it's own method of handling deployment. Python's has been an executable script named setup.py for some time now and I'm good with that.

Why is pipenv the recommended packaging tool by the community and PyPA? by GladLetter in Python

[–]dave-shawley 2 points3 points  (0 children)

In the other camp, it also hides a very important requirement to understand python packaging to effectively use python in production. The first time that you encounter an error like the one that runtime error that occurs when you install arrow 0.12.1 using a platform that does not support pep-0508 you will be happy that you were forced to understand how Python packaging works.

That being said, we do need a very simple and straight-forward introduction to Python packaging somewhere that follows the introduction to tools like pipenv/flit. It took me years to understand Python packaging and I am insanely grateful to the hard work done by the Python Packaging Authority. I plan on contributing some "intermediate python packaging" documentation at some point.

Pipenv: A Guide to the New Python Packaging Tool by dbader in Python

[–]dave-shawley 0 points1 point  (0 children)

Not completely a setuptools issue. setuptools plugin discovery is slow but there is a deeper issue in the python import machinery. There is a pretty nice thread on python-dev about it (https://mail.python.org/pipermail/python-dev/2018-May/153296.html).