Transfer Complex Python Objects via Sockets

  Рет қаралды 9,441

NeuralNine

NeuralNine

Күн бұрын

Пікірлер: 31
@farzadmf
@farzadmf Жыл бұрын
For whoever's watching: pickle SHOULD NOT be used for untrusted input as it can easily be used by malicious users to do all kinds of stuff
@rohithreddy75
@rohithreddy75 Жыл бұрын
ty
@TheLukasBer
@TheLukasBer Жыл бұрын
What should I use instead?
@aionfurayu5660
@aionfurayu5660 Жыл бұрын
​@@TheLukasBerLiterally anything else. Serialized objects are not worth the hassle, when sending tem over the wire.
@farzadmf
@farzadmf Жыл бұрын
@@TheLukasBer exactly as @aiofurayu5660 said: if you cannot trust your input and where it's coming from (which is almost ALWAYS the case), usually all the "fancy" serialization techniques are prone to security vulnerabilities. `json.dumps` etc. are limited in Python and I think that's by design; they don't [de]serialize complex things and avoid the security issues
@donkeypoopdragon
@donkeypoopdragon Жыл бұрын
​@@TheLukasBerI've heard JSON is much better
@style1708
@style1708 Жыл бұрын
Could you make some video about gRPC and microservices?
@yomajo
@yomajo Жыл бұрын
You love socket tutorials. May I ask what you use sockets for on production?
@julianreichelt1719
@julianreichelt1719 Жыл бұрын
Another awesome video!
@stanislav-demidov
@stanislav-demidov Жыл бұрын
Can it be used to transfer entire class with methods?
@richardhoppe4991
@richardhoppe4991 Жыл бұрын
Great content as always. Slowly working my way through your networking labs. Cheers!
@ChristopherBruns-o7o
@ChristopherBruns-o7o 5 ай бұрын
so when client, addr =client.accept() // when is addr ever used, and how?
@ahmadzaimhilmi
@ahmadzaimhilmi Жыл бұрын
How about multi clients making simultaneous requests? How would the server respond?
@donkeypoopdragon
@donkeypoopdragon Жыл бұрын
You would probably have to use the multiprocessing library
@interstellar4267
@interstellar4267 Жыл бұрын
Threading
@lavender0666
@lavender0666 Жыл бұрын
Threading or asyncio will work for this
@sants9383
@sants9383 Жыл бұрын
como faço pra deixar o controle de janelas alí na barra superior??
@morningbae
@morningbae Жыл бұрын
olha o BR ai
@sants9383
@sants9383 Жыл бұрын
kkk curto muito os videos dele @@morningbae
@tips1483
@tips1483 Жыл бұрын
You should do a video on Protobuf
@rishabh1406
@rishabh1406 Жыл бұрын
Hey NeuralNine I love your content. I request you to make a group chat project that includes messaging and sharing of files .
@xzex2609
@xzex2609 Жыл бұрын
your contents are advance and it's very rare. I wonder why you don't make series on topics like back end development or server related topics from intermediate level that covers the subject from a person who know python very well but have not experience in that specific subject , i think people will kill to gain such lessons.
@MariusDiMaio
@MariusDiMaio Жыл бұрын
Good. thanks, I knew it, but i watched the video, again. I like that you use linux Gnome and Pycharm and not VSCode. I use KDE Neon. I would like that you make a video on Python and MariaDB. Could to be a idea
@siddharthpandey3950
@siddharthpandey3950 Жыл бұрын
Insightfull
@FunFiesta79
@FunFiesta79 Жыл бұрын
Hello brother i am new here i really liked your channel , can we get job by learning Gui 😢🎉❤Thank you so much
@lavender0666
@lavender0666 Жыл бұрын
UI/UX is a job path, if you mean just building interfaces alone then it's unlikely, that would probably fall under frontend development or full stack
@FunFiesta79
@FunFiesta79 Жыл бұрын
@@lavender0666 is enough learning UI /Ux to get jop🥰
@philtoa334
@philtoa334 Жыл бұрын
Thx_.
Python Sockets Explained in 10 Minutes
9:32
NeuralNine
Рет қаралды 18 М.
Python Sockets Simply Explained
39:33
NeuralNine
Рет қаралды 168 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
人是不能做到吗?#火影忍者 #家人  #佐助
00:20
火影忍者一家
Рет қаралды 20 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
Test-Driven Development in Python: Test First Code Later
15:44
NeuralNine
Рет қаралды 12 М.
Debug Running Python Processes with GDB
12:19
NeuralNine
Рет қаралды 7 М.
Modern Python logging
21:32
mCoding
Рет қаралды 210 М.
Intro to the Meson Build System
9:52
durk
Рет қаралды 1,3 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 338 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1,1 МЛН
Advanced Python Dictionaries with Benedict
10:23
NeuralNine
Рет қаралды 10 М.
shutil: The Ultimate Python File Management Toolkit
14:32
NeuralNine
Рет қаралды 13 М.
What is mathematical thinking actually like?
9:44
Benjamin Keep, PhD, JD
Рет қаралды 24 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН