WebSocket Server from Zero by Specs

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

Комментарии • 83

  • @nicholascopsey4807
    @nicholascopsey4807 26 дней назад +102

    "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 21 день назад +2

      the big bang was a bash script

  • @vvarhand3985
    @vvarhand3985 26 дней назад +114

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

    • @desertfish74
      @desertfish74 26 дней назад +14

      yesu yesu yesu

    • @harimbolarazafindratsimba6261
      @harimbolarazafindratsimba6261 26 дней назад +2

      Is that his real name ? 😅

    • @yglyglya
      @yglyglya 26 дней назад

      ​@@harimbolarazafindratsimba6261 his real name is Alexey

    • @opsrcode
      @opsrcode 26 дней назад +5

      for sure

    • @rvft
      @rvft 26 дней назад

      ​@@harimbolarazafindratsimba6261 his real name is mixer

  • @theairaccumulator7144
    @theairaccumulator7144 26 дней назад +50

    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  26 дней назад +40

      It's not good tho

    • @arkeynserhayn8370
      @arkeynserhayn8370 26 дней назад +11

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

    • @ev3rybodygets177
      @ev3rybodygets177 26 дней назад +3

      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 26 дней назад +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 26 дней назад

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

  • @movization
    @movization 26 дней назад +11

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

  • @Je3f0o
    @Je3f0o 22 дня назад +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 25 дней назад +7

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

  • @shroomwastaken
    @shroomwastaken 26 дней назад

    ayyy this will be sick
    zozin never fails to deliver

  • @StevenMartinGuitar
    @StevenMartinGuitar 20 дней назад

    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

  • @Recreman
    @Recreman 26 дней назад

    Been awaiting this one for dayz 🎉❤

  • @mxlje
    @mxlje 26 дней назад +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 26 дней назад

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

    • @MikhailAksenovV
      @MikhailAksenovV 26 дней назад +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 26 дней назад +22

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

    • @rusi6219
      @rusi6219 25 дней назад +1

      Nothing beats plain C except maybe Pascal

    • @javierflores09
      @javierflores09 25 дней назад +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 25 дней назад +1

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

    • @RustIsWinning
      @RustIsWinning 24 дня назад

      ​@@pidojaspdpaidipashdisao572I looove sugar

  • @SteeleDynamics
    @SteeleDynamics 23 дня назад

    Two solid days of work!

  • @Odod4000
    @Odod4000 26 дней назад

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

  • @the.monologue
    @the.monologue 16 дней назад

    i love the way he says spetsific

  • @ecosta
    @ecosta 3 дня назад

    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? 😆

  • @danielsharp2402
    @danielsharp2402 26 дней назад +3

    The stockholm syndrome comment is pure gold.

  • @mbarrio
    @mbarrio 26 дней назад +1

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

  • @bity-bite
    @bity-bite 26 дней назад +8

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

    • @hs3369
      @hs3369 26 дней назад +19

      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 26 дней назад +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 17 дней назад

      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

  • @SimGunther
    @SimGunther 26 дней назад +3

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

  • @Czeckie
    @Czeckie 24 дня назад

    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.

  • @angeloceccato
    @angeloceccato 23 дня назад

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

  • @darthtrex9356
    @darthtrex9356 26 дней назад

    I was about to sleep but tsoding dropped😂

  • @ilkinq.8646
    @ilkinq.8646 8 дней назад

    this is nerdest person i have ever seen since 90s

  • @gusic4529
    @gusic4529 26 дней назад +11

    hello mr zoding

    • @haltyhelem105
      @haltyhelem105 26 дней назад +1

      zozin*

    • @gusic4529
      @gusic4529 26 дней назад

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

  • @azharalibhutto1209
    @azharalibhutto1209 26 дней назад

    ❤❤❤❤

  • @CristianCYAC
    @CristianCYAC 26 дней назад

    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 25 дней назад +1

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

  • @salim444
    @salim444 25 дней назад +1

    1:36:31 best moment in the stream kappa

  • @DART2WADER
    @DART2WADER 26 дней назад

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

  • @hbobenicio
    @hbobenicio 25 дней назад

    So true about cobol lol

  • @cslearn3044
    @cslearn3044 26 дней назад +4

    I bet you have massive penuh

  • @nicolaskeroack7860
    @nicolaskeroack7860 23 дня назад

    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

  • @alexey2044
    @alexey2044 24 дня назад +3

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

    • @heyclore5728
      @heyclore5728 24 дня назад +1

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

  • @19joni69
    @19joni69 26 дней назад +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 25 дней назад

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

    • @cianotico
      @cianotico 24 дня назад

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

    • @stretch8390
      @stretch8390 24 дня назад +1

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

  • @rogo7330
    @rogo7330 26 дней назад

    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 26 дней назад

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

  • @rusting_in_peace
    @rusting_in_peace 25 дней назад

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

  • @ukrmapper
    @ukrmapper 25 дней назад

    56:30 HAHAHAHAHAA

  • @SphereofTime
    @SphereofTime 26 дней назад

    17:41 websocket

  • @alvaronaranjo2589
    @alvaronaranjo2589 23 дня назад

    1:36:29 penger69 😂

  • @whydw2283
    @whydw2283 26 дней назад

    Do ever hear about, Pony Language?

  • @whoopalla
    @whoopalla 26 дней назад +2

    Using the language that is painful to even look at

  • @kirillvoloshin2065
    @kirillvoloshin2065 26 дней назад +1

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

  • @квассок
    @квассок 20 дней назад

    Try to make your own OS

  • @michimarz
    @michimarz 26 дней назад

    Too easy... Do that in Java. 🤔

    • @hoyoreverse
      @hoyoreverse 23 дня назад

      toy bytecode language, no thanks

  • @Ab_kein
    @Ab_kein 26 дней назад

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

    • @TheApgreyd
      @TheApgreyd 26 дней назад

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

    • @skejeton
      @skejeton 26 дней назад

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

    • @movization
      @movization 26 дней назад

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

    • @DimaLifeIsGood
      @DimaLifeIsGood 26 дней назад +12

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