Stress Testing WebSocket Implementation

Stress Testing WebSocket Implementation

Tsoding Daily

54 года назад

22,972 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@speedstyle.
@speedstyle. - 04.11.2024 04:41

`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.

Ответить
@JamesSjaalman
@JamesSjaalman - 04.11.2024 00:46

There is no pipe (or at least: there should not be one). The pipe is an implementation artifact.

Ответить
@EdwardPsCL
@EdwardPsCL - 03.11.2024 02:13

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 ;)

Ответить
@hubstrangers3450
@hubstrangers3450 - 03.11.2024 01:22

Thank you...

Ответить
@alanis4AL
@alanis4AL - 02.11.2024 18:50

I’m trying to learn more about websockets and here you come and implement one from scratch
Awesome video super informative
God sent

Ответить
@bujitself
@bujitself - 02.11.2024 15:37

Pretty sure JavaScript keeps all of its legacy forever (except for 'with' keyword)

Ответить
@polskafan
@polskafan - 02.11.2024 11:49

Fahrn fahrn fahrn auf der Autobahn

Ответить
@multicoloredwiz
@multicoloredwiz - 02.11.2024 10:16

It feels sadistic to watch this.....

Ответить
@ac130kz
@ac130kz - 02.11.2024 08:20

Not just their website is dead, Python 2 has been dead for 7 years now

Ответить
@damnloveless
@damnloveless - 02.11.2024 05:12

how tf do i draw a circle

Ответить
@diawanchris
@diawanchris - 02.11.2024 04:41

i've seen a lot of "insanely smart people" adding complexity because they can, rather than asking "should they do it?".

Ответить
@arsalan2005
@arsalan2005 - 02.11.2024 04:26

You should run this against another open source web socket library and compare it to yours!🎉

Ответить
@capability-snob
@capability-snob - 02.11.2024 04:23

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.

Ответить
@cybernit3
@cybernit3 - 02.11.2024 04:18

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.

Ответить
@cryptonative
@cryptonative - 02.11.2024 03:02

"there's no reason for code to decay"

Ответить
@onixtsm
@onixtsm - 02.11.2024 01:27

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....

Ответить
@azharalibhutto1209
@azharalibhutto1209 - 01.11.2024 22:37

❤❤❤❤

Ответить
@pidojaspdpaidipashdisao572
@pidojaspdpaidipashdisao572 - 01.11.2024 22:35

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

Ответить
@burakgazicetin3628
@burakgazicetin3628 - 01.11.2024 21:20

why the browser is German???

Ответить
@hbobenicio
@hbobenicio - 01.11.2024 20:21

python 2 dependency tools hell.

python 3:
$ python -m venv venv; source ./venv/bin/activate; pip install -r requirements.txt
done.

Ответить
@Sitris-h7q
@Sitris-h7q - 01.11.2024 20:21

"Useful python" 💀

Ответить
@fart_m0nster_420
@fart_m0nster_420 - 01.11.2024 19:58

Very enjoyable stream!

Ответить
@user-lz2oh9zz4y
@user-lz2oh9zz4y - 01.11.2024 19:48

Please, let it die already. It's been 4 years

Ответить
@inferrna
@inferrna - 01.11.2024 19:46

Mr. Zozin looks like he met Siberian gopniks this Halloween.

Ответить
@cacheman
@cacheman - 01.11.2024 19:38

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.

Ответить
@yang5597
@yang5597 - 01.11.2024 19:36

Скоро превью правда начнут светится

Ответить
@nanothrill7171
@nanothrill7171 - 01.11.2024 19:04

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.

Ответить
@nitproject5193
@nitproject5193 - 01.11.2024 18:50

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! :)

Ответить
@jimshtepa5423
@jimshtepa5423 - 01.11.2024 18:38

вы в россии живете?

Ответить
@pidojaspdpaidipashdisao572
@pidojaspdpaidipashdisao572 - 01.11.2024 18:29

the modern slop, DOA

Ответить
@PopescuAlexandruCristian
@PopescuAlexandruCristian - 01.11.2024 18:14

I like how all scripting languages get a compilation step at some point and then another and another...

Ответить
@ArturdeSousaRocha
@ArturdeSousaRocha - 01.11.2024 18:13

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.

Ответить
@oserodal2702
@oserodal2702 - 01.11.2024 17:42

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).

Ответить
@ryonagana
@ryonagana - 01.11.2024 17:38

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

Ответить
@size_t
@size_t - 01.11.2024 17:34

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

Ответить
@BRLN1
@BRLN1 - 01.11.2024 17:21

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.

Ответить
@replikvltyoutube3727
@replikvltyoutube3727 - 01.11.2024 17:10

Having python2 and python3 installed system-wide simultaneously 💀💀💀

Ответить
@jxn.s2435
@jxn.s2435 - 01.11.2024 17:07

Why dont you like docker containers? :O

Ответить