WebSocket Server from Zero by Specs

Поділитися
Вставка
  • Опубліковано 29 лис 2024

КОМЕНТАРІ • 86

  • @nicholascopsey4807
    @nicholascopsey4807 Місяць тому +104

    "The bash script is only temporary until I learn the build system"
    seconds later
    "Learning the build system is a waste of time"

    • @nil0bject
      @nil0bject 26 днів тому +3

      the big bang was a bash script

  • @vvarhand3985
    @vvarhand3985 Місяць тому +118

    amista azozin delivers again (I'm 30 seconds in)

    • @desertfish74
      @desertfish74 Місяць тому +15

      yesu yesu yesu

    • @harimbolarazafindratsimba6261
      @harimbolarazafindratsimba6261 Місяць тому +2

      Is that his real name ? 😅

    • @yglyglya
      @yglyglya Місяць тому

      ​@@harimbolarazafindratsimba6261 his real name is Alexey

    • @opsrcode
      @opsrcode Місяць тому +5

      for sure

    • @rvft
      @rvft Місяць тому

      ​@@harimbolarazafindratsimba6261 his real name is mixer

  • @theairaccumulator7144
    @theairaccumulator7144 Місяць тому +51

    damn it only took bro 2 days to make a good websocket implementation, it'd take me a week and still end up cursed

    • @TsodingDaily
      @TsodingDaily  Місяць тому +40

      It's not good tho

    • @arkeynserhayn8370
      @arkeynserhayn8370 Місяць тому +11

      ​@@TsodingDaily
      Basically every software that solves problem, EVER

    • @ev3rybodygets177
      @ev3rybodygets177 Місяць тому +4

      really hate this mind set... how do you know what good even means? It could be good enough for whatever you need it for and if thats true what does it even mean for something to be "better" at that point

    • @___Hermitage
      @___Hermitage Місяць тому +4

      @@ev3rybodygets177 It's a bit of metal with cloth wrapped around so you can grip it, it can cut steak just fine, I don't know why anyone would want mahogany handle sharpened chef knives

    • @SlinkyD
      @SlinkyD Місяць тому

      ​@@___HermitageYou guys use knives‽ I thought it was a joke.

  • @movization
    @movization Місяць тому +11

    big f for massive reverb guy, enjoy having twitch chat in subtitles

  • @Je3f0o
    @Je3f0o 28 днів тому +3

    Colon and dot dot is basically same symbol. Only rotated 90 degrees. I never laughted your jokes before. But this one got me :P

  • @kamertonaudiophileplayer847
    @kamertonaudiophileplayer847 Місяць тому +7

    I use websocket to implement a terminal emulator in a browser. It works like a charm.

  • @StevenMartinGuitar
    @StevenMartinGuitar 25 днів тому

    As well as wireshark there is tcpdump which you can use at the command line, harder to read though without the UI but still usable in a pinch when you need to see what's sent over the wire

  • @mxlje
    @mxlje Місяць тому +11

    My understanding always was that the handshake doesn’t just look like HTTP, it actually is a regular HTTP Get request that the client makes and it sends an „Upgrade“ header indicating that it wants to upgrade the connection.
    And if the server does it it responds with 101, which is a regular http response but it lets the client know that the connection was upgraded and is now essentially an open socket.
    I guess it comes down to definition, if you open a tcp connection and send text that looks exactly like an HTTP request, does that make it an HTTP request?

    • @EyeNeo
      @EyeNeo Місяць тому

      Http protocol is based on TCP. So the answer is yes

    • @MikhailAksenovV
      @MikhailAksenovV Місяць тому +1

      You can send http request with telnet or plain TCP client. At least this is the case for http 1.1. Maybe cool corps will invent the way you will have to buy their http client to use HTTP 4 or something.

  • @pidojaspdpaidipashdisao572
    @pidojaspdpaidipashdisao572 Місяць тому +22

    I don't know if it's just me, but I still find pure C much easier to understand.

    • @rusi6219
      @rusi6219 Місяць тому +1

      Nothing beats plain C except maybe Pascal

    • @javierflores09
      @javierflores09 Місяць тому +5

      I mean, this language in particular doesn't have much magic going on for it, so the only reason I can see for one to find it less understandable would simply be because they're not familiar with any of the syntactic sugar it may introduce, but this is pretty much C

    • @pidojaspdpaidipashdisao572
      @pidojaspdpaidipashdisao572 Місяць тому +1

      @@javierflores09 Too much sugar is never good for you :D

    • @RustIsWinning
      @RustIsWinning 29 днів тому

      ​@@pidojaspdpaidipashdisao572I looove sugar

    • @thesenamesaretaken
      @thesenamesaretaken 2 дні тому

      ​@@javierflores09I mean, C does have a couple of annoying but valid things, like doing ++foo or foo++ in the middle of a line. But mostly it's pretty simple.

  • @shroomwastaken
    @shroomwastaken Місяць тому

    ayyy this will be sick
    zozin never fails to deliver

  • @mbarrio
    @mbarrio Місяць тому +1

    1:43:04: "The message i wrong, thank you so much" lmfao

  • @danielsharp2402
    @danielsharp2402 Місяць тому +3

    The stockholm syndrome comment is pure gold.

  • @Odod4000
    @Odod4000 Місяць тому

    NEW STREAM! Websockets are cool! I really like your videos! 😃

  • @the.monologue
    @the.monologue 21 день тому

    i love the way he says spetsific

  • @Recreman
    @Recreman Місяць тому

    Been awaiting this one for dayz 🎉❤

  • @SimGunther
    @SimGunther Місяць тому +3

    Even when the specs are outlined, AyOyes can never beat zozing!

  • @bity-bite
    @bity-bite Місяць тому +8

    how do you keep yourself motivated, do you not get burned out?

    • @hs3369
      @hs3369 Місяць тому +20

      The difference is nobody is asking him to do it. He does what he loves, at the time he selects. So no chance of burning out.

    • @eeriemyxi
      @eeriemyxi Місяць тому +5

      You shouldn't need motivation to do your hobbies. Tsoding enjoys recreational programming, but yes he does need motivation to keep streaming; mostly because of shitty or stupid people constantly annoying him in the chat. It happens less frequently now that he has a stable fan-base but it was worse when he was new to steaming.

    • @alang.2054
      @alang.2054 22 дні тому

      The same way as someone who enjoys dancing, cycling or whatever. It's his hobby. But I still cannot understand how he finds joy in doing so many useless projects instead of solving some real problems

  • @ecosta
    @ecosta 8 днів тому

    2:08:00 The idea of using MSG_PEEK was :chef-kiss:. Genius usage of a flag from a sys call also available on OSX and Windows. Can your Rust do that? 😆

  • @Czeckie
    @Czeckie Місяць тому

    watched the entire thing but now I am sad because I haven't understood what was the issue after all :(. I've understood the picture at the start of day 2, but it doesn't seem the peek actually solved anything.

  • @SteeleDynamics
    @SteeleDynamics 28 днів тому

    Two solid days of work!

  • @angeloceccato
    @angeloceccato 28 днів тому

    Noob question: this allocator kind is different from the idea of Arena?

  • @CristianCYAC
    @CristianCYAC Місяць тому

    You are using the new PC or just got back to the old one hahah, I was wondering cuz I did not see xfce anymore.

    • @heyyouhere
      @heyyouhere Місяць тому +1

      it's new laptop, but with i3wm, muscle memory won

  • @DART2WADER
    @DART2WADER Місяць тому

    46:45 std::format крестовый с с++23 посылает в пешее эротическое если формат не бъётся с аргументами. Под капотом дикая шаблонная магия.

  • @gusic4529
    @gusic4529 Місяць тому +11

    hello mr zoding

    • @haltyhelem105
      @haltyhelem105 Місяць тому +1

      zozin*

    • @gusic4529
      @gusic4529 Місяць тому

      @@haltyhelem105 but i'm not taking a pointer to him though

  • @kamism770
    @kamism770 День тому

    the ban that happened on the stream, is really not deserved :\

  • @ilkinq.8646
    @ilkinq.8646 13 днів тому

    this is nerdest person i have ever seen since 90s

  • @salim444
    @salim444 Місяць тому +1

    1:36:31 best moment in the stream kappa

  • @cslearn3044
    @cslearn3044 Місяць тому +4

    I bet you have massive penuh

  • @darthtrex9356
    @darthtrex9356 Місяць тому

    I was about to sleep but tsoding dropped😂

  • @19joni69
    @19joni69 Місяць тому +1

    i wrote my thesis in org mode. the fact that i could combine code, latex and gnuplot in one tool was super useful and is something that is offered by no other tool besides emacs.

    • @stretch8390
      @stretch8390 Місяць тому

      Wait, don't all the notebooks ala Jupyter have latex formatting in the text chunks?

    • @cianotico
      @cianotico Місяць тому

      Cool. Can you render a pdf from it? How does it look compared to pure LaTeX?

    • @stretch8390
      @stretch8390 Місяць тому +1

      @@cianotico don't know honestly as I don't use them personally but have heard others speak of their utility

  • @SphereofTime
    @SphereofTime Місяць тому

    17:41 websocket

  • @manuel_g_g
    @manuel_g_g Місяць тому

    3:42:47 stay away from these people... because I apreciarte you

  • @whydw2283
    @whydw2283 Місяць тому

    Do ever hear about, Pony Language?

  • @alvaronaranjo2589
    @alvaronaranjo2589 28 днів тому

    1:36:29 penger69 😂

  • @nicolaskeroack7860
    @nicolaskeroack7860 29 днів тому

    37:30 *build a whole multiplayer game*
    doesn't even know about the build system
    "that how little I care about the build system" lol

  • @ukrmapper
    @ukrmapper Місяць тому

    56:30 HAHAHAHAHAA

  • @azharalibhutto1209
    @azharalibhutto1209 Місяць тому

    ❤❤❤❤

  • @alexey2044
    @alexey2044 Місяць тому +3

    Tsoding is a great programmer but why being so salty about chat?

    • @heyclore5728
      @heyclore5728 29 днів тому +1

      some kind of common issue with intellect people personality maybe :v

  • @rogo7330
    @rogo7330 Місяць тому

    I was screaming at screen because you was starring at that tformat "%sGUID" and yet you checked everything around it several times. Formatting strings are crap and they should replaced with typed macros, not being a function that operates on variadics (they should still exist though, because function arguments are fake).

    • @rogo7330
      @rogo7330 Місяць тому

      @marcsfeh rtti can be unacceptable in cases when you deal with high throughput. Besides, you are in compiled language, you can just use types to be sure that you copied exactly expected ammount of data and even exactly the kind of data that you coded in at compile time. The only thing that stops us from use that is that languages just do not provide you the proper tools to do that, because for the most part they trying to pretend that you're programming for the target system and not that you're actually just instructing the _compiler_ to do things in the way that results in the expected executable file.

  • @hbobenicio
    @hbobenicio Місяць тому

    So true about cobol lol

  • @kirillvoloshin2065
    @kirillvoloshin2065 Місяць тому +1

    папа может в си3

  • @квассок
    @квассок 26 днів тому

    Try to make your own OS

  • @whoopalla
    @whoopalla Місяць тому +2

    Using the language that is painful to even look at

  • @michimarz
    @michimarz Місяць тому

    Too easy... Do that in Java. 🤔

    • @hoyoreverse
      @hoyoreverse 28 днів тому

      toy bytecode language, no thanks

  • @Ab_kein
    @Ab_kein Місяць тому

    Тупой вопрос, ролики на английском для расширения аудитории?

    • @TheApgreyd
      @TheApgreyd Місяць тому

      У него нет акцента американского/британского, англюсик легко воспринимать

    • @skejeton
      @skejeton Місяць тому

      Ну он сначала начал выкладывать на английском, так что большинство аудитории ожидает английский. Хотя один раз он стримил на русском по приколу.

    • @movization
      @movization Місяць тому

      Ему так удобнее

    • @DimaLifeIsGood
      @DimaLifeIsGood Місяць тому +12

      Это действительно тупой вопрос