Комментарии:
`pip2 install .` may have worked, as newer `pip` versions were aware of py3 and do dependency resolution with language version in mind. It will then run `setup.py`, but with all the dependencies already loaded.
ОтветитьThere is no pipe (or at least: there should not be one). The pipe is an implementation artifact.
ОтветитьAkshually. Common Lisp. Code from 30 years ago still runs, and some academic code from the early 70's only needs a nudge to run ;)
ОтветитьThank you...
ОтветитьI’m trying to learn more about websockets and here you come and implement one from scratch
Awesome video super informative
God sent
Pretty sure JavaScript keeps all of its legacy forever (except for 'with' keyword)
ОтветитьFahrn fahrn fahrn auf der Autobahn
ОтветитьIt feels sadistic to watch this.....
ОтветитьNot just their website is dead, Python 2 has been dead for 7 years now
Ответитьhow tf do i draw a circle
Ответитьi've seen a lot of "insanely smart people" adding complexity because they can, rather than asking "should they do it?".
ОтветитьYou should run this against another open source web socket library and compare it to yours!🎉
ОтветитьSetuptools and pip truly made a mess of the python packaging space. Not singlehandedly: projects that pulled them in as a dependency have some blame, but the Version breakage was not really a surprise.
ОтветитьEmacs is quite a tool, just learning it, jives with me more than vim. Does Tsoding use eglot and clangd-19 for LSP? I got that installed and glad to have parameter hints, don't need VScodium when you have emacs, heh.
Ответить"there's no reason for code to decay"
ОтветитьPython is like everything:
-Oh no, we have 12 incompatible standards. Let's make one to unit them
-Oh no, we have 13 incompatible standards. Let's make a new one to unite them
-Oh no....
❤❤❤❤
ОтветитьYou don't have to wait for addresses to clear up, you can reuse them. I don't use C3 but in vanilla C on Linux you can use SO_REUSEADDR as sockopt to reuse it, this would also be another cool improvement on the example_server
Ответитьwhy the browser is German???
Ответитьpython 2 dependency tools hell.
python 3:
$ python -m venv venv; source ./venv/bin/activate; pip install -r requirements.txt
done.
"Useful python" 💀
ОтветитьVery enjoyable stream!
ОтветитьPlease, let it die already. It's been 4 years
ОтветитьMr. Zozin looks like he met Siberian gopniks this Halloween.
ОтветитьSpeaking of enshittification of software, I don't know if this is covered, but "docker build" is being taken away so that you have to install a separate "client-server architecture" (daemon) to accomplish the same thing.
ОтветитьСкоро превью правда начнут светится
Ответитьthis reminds me that a TUI i wrote in Perl in 1998 still works in newest perl, lol. I like python as a language better than perl but googlification has really destroyed the python ecosystem.
ОтветитьAs a developer I don't mind deprecations. We might get new cool features and approaches in old software, because it needs to be rewritten, bcs rewritten code is easier to support than the legacy one, also it gives us, engineers, more job to do, AND it deprecates AI models faster than they might be trained to be useful. It's quite sad thinking that this is the thing that gives us, coders, more opportunities, but at the same time I don't mind if it's actually will help us at some point. And also project that have no people to update it -- probably going to die anyway. Let code decade! :)
Ответитьвы в россии живете?
Ответитьthe modern slop, DOA
ОтветитьI like how all scripting languages get a compilation step at some point and then another and another...
ОтветитьThe entertainment value is over 9000. And this is why I only use Python libraries available in the system's package manager. And why I use Go when I can.
ОтветитьPython doesn't have semver (or at least until very recently), and AFAIK, only Rust/Cargo mandates SemVer anyways.
Point being, SemVer is a Tower of Jenga that can easily fall just cause. And also why developers should almost always "lock" their dependencies (old Python 2 didn't, and so made a shitbed of a mess).
i've used python 2 until 2014. now just python 3
dont need those headers to tell to run as utf-8, binary data was always treated as ASCII text, in Python 3 have the byte type
python 3 becomes slightly harder than python 2. and the news is python 3 get rid of GIL, so core 0 lock is no more
I'm writing (besides other languages) Python in my company for now 7 years. And we never had to introduce "build steps" to this language. Maybe some venv and zero to one dependencies, but not that insane mess.
I have the strong feeling, that some people/organizations using their tools wrong
what is so funny about using toml for setup configuration?
There never was an endorsed build system for python ... developer just stacked stuff upon each other.
Finally the python software foundation wanted to unify and standardize a build system for python packages.
While doing so they wanted to move away from the dynamically interpreted setup-dot-py to a static file format.
They were considering json, yaml, toml and other formats.
Finally they settled with toml.
Having python2 and python3 installed system-wide simultaneously 💀💀💀
ОтветитьWhy dont you like docker containers? :O
Ответить