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 М.
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Garbage Collection in Python: Speed Up Your Code
16:41
NeuralNine
Рет қаралды 18 М.
5 Custom Python Decorators For Your Projects
25:40
NeuralNine
Рет қаралды 10 М.
Modern Python logging
21:32
mCoding
Рет қаралды 210 М.
JS Fetch in 3 Minutes
3:30
CodeNexus
Рет қаралды 516
Debug Running Python Processes with GDB
12:19
NeuralNine
Рет қаралды 7 М.
The Dome Paradox: A Loophole in Newton's Laws
22:59
Up and Atom
Рет қаралды 1,1 МЛН
shutil: The Ultimate Python File Management Toolkit
14:32
NeuralNine
Рет қаралды 13 М.
5 Useful F-String Tricks In Python
10:02
Indently
Рет қаралды 338 М.
Massive Python Speed-Up: Caching Across Sessions
10:07
NeuralNine
Рет қаралды 6 М.