Advanced Async and Concurrency Patterns in JavaScript

Поделиться
HTML-код
  • Опубликовано: 5 июл 2024
  • Kyle Simpson, better known as Getify, speaks about Advanced Async and Concurrency Patterns in JavaScript at the JS.LA meetup.
    MakerSquare is a three-month full-time career accelerator for software engineering. By teaching computer science fundamentals and modern web languages like JavaScript, we prepare students to join top flight engineering teams.
    To learn more about MakerSquare, go to mks.io/learntocode or find us at makersquare and makersquare
    getify
    JS.LA

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

  • @onescYT
    @onescYT 7 лет назад +230

    talk starts at 7:20

    • @oceanfrog
      @oceanfrog 6 лет назад +5

      Poor snowflake had your feelings hurt?

    • @TheUltimateGeminiHasSurvived
      @TheUltimateGeminiHasSurvived 6 лет назад +13

      Just wondering... why did the word "snowflake" explode right in the beginning of 2018?

    • @oceanfrog
      @oceanfrog 6 лет назад +2

      It had exploded well before that. It started as a general insult, around 2008 according to the Urban Dictionary, then became an alt-right insult of leftists (they're all "special snowflakes".) But it turned ironic and hilarious as it turned out the alt-right was as whiny and entitled as they claimed the left was. More so.

    •  4 года назад +2

      @@oceanfrog you don't need a def of "snowflake", just look in mirror dumb fuck.

    • @oceanfrog
      @oceanfrog 4 года назад +1

      @David Bury Snowflake.

  • @luxsasha
    @luxsasha 7 лет назад +2

    awesome video as always from Kyle! thanks for putting this together :)

  • @c0mpuipf
    @c0mpuipf 7 лет назад +97

    this guy's a legend. I learned and learned to love JS with his work

    • @sparkfx5874
      @sparkfx5874 5 лет назад +3

      It's cause he's a white male anyone who has those two attributes is a legend because everything is easy for that demographic and you don't have to work hard for anything -_-

    • @VXIOW_TTV
      @VXIOW_TTV 2 года назад +1

      @@sparkfx5874 this is a highly stupid comment

    • @sparkfx5874
      @sparkfx5874 2 года назад

      @@VXIOW_TTV it's highly sarcastic which is pretty obvious. I think at the time some things were going on in the media about white privilege, but for sure I was irritated with conversations I'd had with some of my friends about it. Telling me about my non-existent privilege knowing damn well how I grew up and what little privilege and opportunity there was available to me. Not to mention how I was treated by police and etc. Growing up around New Orleans poor and white and going to a shit school, always struggling, so I was just really frustrated with the whole sentiment as that point of view flat-out negates everything you've done and worked so hard far and reduces it to: "Nope you're white that's why you've obtained even a very moderate level of success." It's absolute garbage and fucking bullshit. What's highly stupid is the assumption that your gender and skin color determine whether or not you can make something of yourself.

    • @ShivamSharma-dq4pu
      @ShivamSharma-dq4pu Год назад

      @@sparkfx5874 your stupidity has no bounds

    • @iamworstgamer
      @iamworstgamer 9 месяцев назад

      what the hell you are talking about he is fantastic teacher
      @@sparkfx5874

  • @yanmoenaing71
    @yanmoenaing71 5 лет назад

    Kyle Simpson is the best one in teaching JS. His book series ,YDKJS make me clear things in JS. Thank to Kyle.

  • @JimmyLinPhD
    @JimmyLinPhD 3 года назад +8

    This is an impressive talk. He manages to cram in promises, generators, observables, and communicating sequential processes in less than 40 minutes!

    • @gerooq
      @gerooq 22 дня назад

      And does a shit job in explaining any of it

  • @Adarsh456
    @Adarsh456 7 лет назад +2

    Awesome talk as usual by Kyle. Thanks.

  • @AlvaroFernandoMS
    @AlvaroFernandoMS 7 лет назад +1

    Awesome! Thank you for the super didactic talk.. :)

  • @ajit555db
    @ajit555db 5 лет назад +2

    Somple people would always complain about the bag or package, would not appreciate the gold inside it. I got the necessary hints to understand generators finally and async programming.

  • @loupax
    @loupax 8 лет назад +35

    This must be the first time I actually understood how generators can be used. Heh

  • @davewatts850
    @davewatts850 6 лет назад +3

    Awesome presentation and delivery. Top-notch professional!

  • @brunoanken3571
    @brunoanken3571 Год назад +2

    Loved the privilege awareness! No kidding, it is important and I'm happy to see that people are fighting for it all around the world :D

  • @ayusharora2019
    @ayusharora2019 6 лет назад

    Good explanation of promises

  • @ssokurenko
    @ssokurenko 7 лет назад +6

    Thanks, really valuable content.

  • @dbel431
    @dbel431 4 года назад

    awesome tutorial

  • @thomaseatspomus
    @thomaseatspomus 6 лет назад

    12:51 memorable analogy for promises

  • @user-wg8wz9on7x
    @user-wg8wz9on7x 3 года назад +1

    JS GBP and I will try again tomorrow morning at least you are the best u have a great time😊

  • @zaheeruddinfaiz7064
    @zaheeruddinfaiz7064 4 года назад +1

    Amazing talk Oh and a round of applause for the animation 😀 👏

  • @ZeeshanMuhammadX
    @ZeeshanMuhammadX 7 лет назад +31

    This guy's tutorials on JS made me buy a Pluralsight subscription! I do wish he would take better care of himself, he's actively struggling to breath during this presentation and the subtle gasping for air sounds are rather distracting. Hopefully something "clicks" in his mind and he starts practising healthier habits and lives longer so we can all learn from his future contributions to JS!

    • @zawxx
      @zawxx 6 лет назад +3

      national socialism is still nazism, right? en.wikipedia.org/wiki/National_Socialism

    • @alexnezhynsky9707
      @alexnezhynsky9707 6 лет назад +1

      VGM Privilidge is just an idea, just like patriotism and religion. If it supports you in becoming stronger, then embrace it. If all it does is make you weaker and resentful, then ignore it. It is not right or wrong. The right question to ask is, how is it working out for you? The world is a playground of ideas. Choose yours and move along. Don't play the victim game, you don't have to.

    • @AntiAtheismIsUnstoppable
      @AntiAtheismIsUnstoppable 4 года назад +1

      This is a video about feminism, not about javascript.
      Reported for false title.

  • @Courserasrikanthdrk
    @Courserasrikanthdrk 7 лет назад +1

    thanks

  • @fredriktunholm3204
    @fredriktunholm3204 7 лет назад +1

    Great talk! I'm getting into JS and this is exactly what i needed. Any opinions on implementing this into react native to create a great flow?

    • @michaelkennedy5126
      @michaelkennedy5126 6 лет назад

      I use async and await all of the time in React for fetch() or axiom operations

    • @AntiAtheismIsUnstoppable
      @AntiAtheismIsUnstoppable 4 года назад

      If you're pedophile feminist and hate straight white males, then this video is excellent
      If you want to learn somethin, this video is utter shit.
      I can only say *_avoid this video at all costs_*

  • @meratube007
    @meratube007 7 лет назад +1

    wow!!

  • @ahmadaziz1800
    @ahmadaziz1800 6 лет назад +1

    golden

  • @can.slaughter
    @can.slaughter 3 года назад

    28:54 I think the "all" method is actually called `zip` and "any" is called `merge`

  • @congregationahavathsholom6021
    @congregationahavathsholom6021 4 года назад +5

    Software is and should be a meritocracy.

  • @boridia4232
    @boridia4232 6 лет назад +1

    He is massive.

  • @KatherineGolovinova
    @KatherineGolovinova 7 лет назад +1

    Is there a way Kyle can be reached as looks like the site is not working and I've got a reply the message could not be delivered to the email address specified in Kyle's presentation? Thank you in advance!

  • @mluevanos
    @mluevanos 7 лет назад +6

    Excellent talk Kyle.

  • @mohammadhosein6847
    @mohammadhosein6847 4 года назад +1

    I would have never thought generators can be useful , cause we rarely see them in js.

  • @alexw4827
    @alexw4827 2 года назад +1

    Start at 6:47

  • @evenaicantfigurethisout
    @evenaicantfigurethisout 3 года назад

    What's happening with CSP in 2021? Is it dead? Can't find anything on it

  • @patrickren7395
    @patrickren7395 4 года назад

    Now we get to use async await

  • @BobbyBerberyan
    @BobbyBerberyan 7 лет назад +4

    Kyle is Awesome!

  • @jsnellink1990
    @jsnellink1990 6 лет назад +67

    Alright privilege checked, do yourself a favor and get in @ 6:45

    • @JamesKelley1
      @JamesKelley1 5 лет назад +13

      I closed the video and then opened it from history just so I could give it a thumbs down.

    • @can.slaughter
      @can.slaughter 3 года назад +1

      ​@@ATXAdventure Two things:
      1. Exactly who are you talking about? I refuse to be punished for something I didn't do. And I'll happily die for that ideal.
      2. Being miserable is not a virtue. Because otherwise society becomes a race to the bottom.

  • @thirstypooch
    @thirstypooch 6 лет назад

    Front end master

  • @ZGGuesswho
    @ZGGuesswho 6 лет назад

    nice patterns. async is really pickin up speed these days

  • @Valhalla43
    @Valhalla43 5 лет назад +2

    Code starts at 17:38

    • @LeoPlaw
      @LeoPlaw 3 года назад +1

      Takes forever to get to the point. He's ore interested in selling courses and politics.

  • @michaelkennedy5126
    @michaelkennedy5126 6 лет назад +16

    Structural reason #1 for inclusivity: programming isn't easy, not everyone gets to be an astronaut.

    • @inbloom1997
      @inbloom1997 4 года назад +2

      And only white males are capable of doing the "not easy" stuff?

    • @gusphaseb3936
      @gusphaseb3936 4 года назад +1

      @@inbloom1997 perhaps.

  • @pelepele123456
    @pelepele123456 7 лет назад +7

    What a dude!

  • @moneyharry
    @moneyharry 6 лет назад +9

    I think he should take care of himself than the world

  • @sexyeur
    @sexyeur 5 лет назад +4

    I'm shorter on time. Hit 9:11

  • @tharunrajoptimus5229
    @tharunrajoptimus5229 2 года назад

    Jump to 6:46 if you came here for the title of the video

  • @Jenalgo
    @Jenalgo 4 года назад +3

    Seems strange that he's promoting beginner books in a lecture aimed at advanced devs.

  • @jasdn93bsad992
    @jasdn93bsad992 6 лет назад +1

    Skip to the real topic 23:00 -> "Reactive Programming" (if you are familiar with Promise and Generators)

  • @DominicVictoria
    @DominicVictoria 4 года назад

    Made me f cry

  • @juanx104
    @juanx104 5 лет назад +5

    Love the spill on inclusion. It is very hard to get into tech. Love to see stuff like this.
    We need more like him!

  • @donviszneki7296
    @donviszneki7296 6 лет назад +7

    Has "advanced" in the title. Begins with an explanation of the distinction between asynchronous and parallel.

  • @weezySKLH
    @weezySKLH 4 года назад +1

    Thank you Kyle Simpson that is the truth and nothing else but the truth, that first 6 min needs to be amplified.

  • @boheem3451
    @boheem3451 7 лет назад +6

    What is the solution to being an American? I don't know.

  • @cv4875
    @cv4875 7 лет назад +6

    Great video. I own all of Kyle's books. When it comes to inclusiveness and diversity, he "gets it". kudos.

  • @youadex
    @youadex 5 лет назад

    Kyle Simpson for president hahaha

  • @mahsheedeshraghi
    @mahsheedeshraghi 7 лет назад +2

    wow. i didn't understand much of what he said but i love the way he thinks.

  • @MajikSo
    @MajikSo 6 лет назад +26

    Kyle is an expert in his field and as such deserves tremendous amounts of respect.
    Unfortunately, he also pushes his own political agenda through the lectures - that's not what professionals are expected to do.
    Just stay on the damn topic man! You are a hero already.
    No need push politics into technical lectures!
    Plus, unlike your technical points, your political points are just your opinions and as such they could be easily fought back with counter-opinions.
    So, don't.

    • @wave641
      @wave641 5 лет назад +1

      It's a tech industry thing.

    • @aaabbb-qv4ff
      @aaabbb-qv4ff 4 года назад

      He has his right to do so. It's free content and you are not forced to watch so he can give a few words how he is seeing the things.

  • @mohamedyoussef8835
    @mohamedyoussef8835 2 года назад

    +++++++++++++

  • @davidconnelly
    @davidconnelly 5 лет назад +23

    I've been involved in the IT industry for 22 years and I've never heard anyone peddling social justice warrior, white guilt at an event. ( 5:36 ) . This is astonishing and worthy of ridicule. Video response pending.

    • @davidconnelly
      @davidconnelly 5 лет назад +1

      ...by the way, the rest of the lecture is solid. The guy is good and I'm in no way questioning his abilities as a speaker or IT expert.

  • @johnn4314
    @johnn4314 5 лет назад +16

    the privilege talk is reprehensible. but I will still thank you for making education cheap/free for the world. Culture was built on free will. Free will is a privilege the entire western world has. Change black culture, and they will have the same 'privileges' we do. I was educated in complete for 500 dollars in programming. Thats one week at a minimum wage job. Its is up to choice at this point for anyone. period

    • @dankwarmouse6248
      @dankwarmouse6248 5 лет назад +2

      It's unfortunate it was built on free will since it doesn't actually exist. The fact you suggest to change 'black culture' to have the same privileges as other groups illustrates this point. The choices you make are a result of your conditioning, so if your environment rewards choices that aren't encouraged or taught by your conditioning, you don't have the same advantage as someone who was conditioned that way. You can't just replace other people's minds with yours and ask why they don't do the things you would do in that position; if you had been born with their brain and lived the same life they had, you would make the same choices they do.

    • @johnn4314
      @johnn4314 5 лет назад +2

      @@dankwarmouse6248 you basically just undermined all moral philosophy, all political philosophy, common sense, and epistemology and human interaction in general. Free will isn't claimed to be understood, but it is claimed to put the burden (or some of it) on the agent who acted. And that's what I think people should stick to

    • @dankwarmouse6248
      @dankwarmouse6248 5 лет назад

      @@johnn4314 How did I do that? Plenty of philosophers in all those fields share this perspective. Are you suggesting that if you were born with someone else's brain, lived every moment of their life, and had identical brain structure at the moment immediately prior to one of their decisions, you would be capable of making a different decision?

    • @johnn4314
      @johnn4314 5 лет назад +1

      @@dankwarmouse6248 It doesn't matter that many highly educated people undermine it, that doesn't justify their way into the common sense compartment. The point you need to think about (kindly) is the fact that you added the sentence "..identical brain structure at the moment immediately prior to one of the decisions". This is the only point that really matters when determining if such a thing called responsibility can exist. The other parts are good too, but merely toward the argument that there is some qualitative amount of grace that should be given to bad decision makers. It's a reduction to absurdity if you can't accept the premise that nothing is what we think (or convey) it is.

    • @dankwarmouse6248
      @dankwarmouse6248 5 лет назад +1

      @@johnn4314 It matters if you're planning to cite all these fields as though they are united in some kind of free will certainty. The point seems to have shifted from free will being self-evident to free will being a convenient framework to determine responsibility. I'm curious what your reasoning would be beyond that, and would offer you to consider that if your definition of responsibility requires free will to exist, it shouldn't be surprising that it seems incompatible with deterministic world views.
      Also, and I mean this kindly too, unless you can illustrate what my sentence is meant to have reduced to absurdity, I'll remain pretty comfortable in my position. It's not as though I haven't thought deeply about this and read plenty of primary source literature from philosophers spanning thousands of years, as it was part of my degree. Despite free will's mainstream popularity in Western philosophy for the majority of history, I've yet to encounter any model -- other than the more cynical solution to Kant's Critique -- that doesn't have internal inconsistencies, depend upon responsibility as some axiomatic qualification for moral culpability, or essentially boil down to "it feels like we have it."

  • @ordersoahc
    @ordersoahc 6 лет назад +2

    I love that Kyle took time to talk about privilege and inclusivity, thank you Hack Reactor for keeping that piece of the talk in the uploaded video.

  • @codevlogger3845
    @codevlogger3845 5 лет назад +3

    Nice that someone started clapping at 6:29. I was hoping someone did after he said all that.

  • @Pluvo2for1
    @Pluvo2for1 2 года назад

    Good topic. Too bad about the sexist rant at the beginning.

  • @sparkfx5874
    @sparkfx5874 5 лет назад +1

    pRiViLeGe

  • @qwertyuiopa999999999
    @qwertyuiopa999999999 3 года назад +3

    Too much bs, stick to the topic.

  • @edgeeffect
    @edgeeffect 3 года назад +3

    Good grief! Between the absurdly extended sales pitch at the start of the talk and the juvenile squabbling over politics in the comment section.... I'm out of here!

  • @NikolaiAleksandrenko
    @NikolaiAleksandrenko 5 лет назад +24

    Please skip all the political topics. It should be out of technology!

    • @aaabbb-qv4ff
      @aaabbb-qv4ff 4 года назад +6

      He has his right to do so. It's free content and you are not forced to watch so he can give a few words how he is seeing the things.

    • @MosheSchnitzler
      @MosheSchnitzler 10 месяцев назад

      💯

    • @xavierjulien31
      @xavierjulien31 8 месяцев назад

      You're an idiot, since when is being human being political

  • @IsaacA192
    @IsaacA192 5 лет назад +20

    Starts talking about privilege and starts signalling virtue while being racist towards "dudes who look like him". Maybe "dudes who look like you" are more interested in programming than people who don't look like you. Instantly lost any interest in what this dude has to say.

    • @sketchyjustin
      @sketchyjustin 5 лет назад +11

      Funny, I immediately have zero interest in what you have to say!

    • @ChadCorrin1985
      @ChadCorrin1985 5 лет назад +7

      Found the SJW guys! @@sketchyjustin

    • @gerooq
      @gerooq 22 дня назад

      Yes man, white dudes are definitely more interested in progarmming than dudes that aren't white. Yep. You are very smart!

  • @ms711x
    @ms711x 5 лет назад +14

    He's highly knowledgeable on JS, but the SJW stuff was ridiculous. I double girls applying for a Developer job are being measure against a much higher standard than guys. It doesn't matter how much effort each person has to put in to get to a certain level as long as it's the same level. It's also absurd to expect people to be equals. Khmer Rouge tried this; didn't turn out well. And what is wrong of expecting of someone of having to work harder. The work is the reward. Having low expectation of someone is much more detrimental to them. Stick with just JS Kyle.

  • @Mark2ube
    @Mark2ube 5 лет назад +3

    Here's a solution Kyle, MakerSquare should be giving course discounts to anyone who is not a white male. SMH

    • @jawherammari6781
      @jawherammari6781 4 года назад +1

      isn't that racist. shouldn't everyone treated the same????

    • @Mark2ube
      @Mark2ube 4 года назад +1

      Jawher AMMARI bingo!

  • @chrise202
    @chrise202 6 лет назад +1

    Marketer not a developer

    • @yanmoenaing71
      @yanmoenaing71 5 лет назад

      If he were a marketer , he wouldn't have made his valuable books free on github.

  • @bla156
    @bla156 6 лет назад +22

    Thumbs down for that privilege nonsence.

    • @LoveLearnShareGrow
      @LoveLearnShareGrow 5 лет назад +3

      You are the target audience for that comment. People like you make people like me feel it must be said. Because you're a shitty human being, and I want there to be fewer shitty human beings in the world.

    • @erikiseki
      @erikiseki 5 лет назад +1

      @@LoveLearnShareGrow You assert he's a shitty human being simply because he was disappointed with privilege talk right in the beginning of a tech speech. Talk about shitty human beings.

    • @Huddy52
      @Huddy52 4 года назад

      @@erikiseki Yes.

  • @thenecroyeti1
    @thenecroyeti1 7 лет назад +45

    I was engaged until the self flagellating SJW crap.

  • @putinscat1208
    @putinscat1208 7 лет назад +4

    Less cheese might be a good idea.

  • @jackkranz8697
    @jackkranz8697 5 лет назад +15

    Spare me from the social justice spiel and get to the point.

  • @jeremyashcraft2053
    @jeremyashcraft2053 4 года назад +8

    Cringed so hard when he began moral grandstanding about inclusivity. I love tech as an industry, but I'm so irritated by the culture of virtue signaling that is so prevalent in tech. It's as if people feel they need to hold certain opinions so they can be included in the tech world.

    • @TesterAnimal1
      @TesterAnimal1 3 года назад +1

      Usage of the term "virtue signalling" is the sign of a fuckwit. It's just a pure insult from people who love to hate.

    • @jeremyashcraft2053
      @jeremyashcraft2053 3 года назад +2

      @@TesterAnimal1 oh look an ad hominem attack. I'm highly amused at the juxtaposition of you calling me a fuckwit and saying I must be full of hate (implying you're above that) all in the same paragraph. I think you need to look in the mirror, pal.

  • @tamirlyn
    @tamirlyn 7 лет назад +11

    Yeah, he lost me with SJW nonsense. But then, I am probably more experienced than him, when it comes to JavaScript... So no loss there.

    • @paterfamiliasgeminusiv4623
      @paterfamiliasgeminusiv4623 6 лет назад +2

      Just because he doesn't have a profile pic, it doesn't mean he has no experience. Just because Kyle's books are good, it doesn't mean he is more experienced than everyone else. Go read up on the definition of the word "experience".

    • @praditvetanat475
      @praditvetanat475 6 лет назад

      Zarg 0650851559successchaninyuenmayus

  • @roddypine6077
    @roddypine6077 2 года назад

    Pure marketing - sucks

  • @alexxnica
    @alexxnica 6 лет назад +6

    That's the definition of a useless talk:
    Basically advertisement for his stuff, a talk about white privilege, his white guilt and how you should feel sorry for your "privileges" without even presenting a solution, and then another advertisement time to talk about his "awesome, perfect and next level" library, which doesn't offer anything new or that any other library doesn't already have. Well done.

  • @sagebias2251
    @sagebias2251 4 года назад +4

    Stopped at 5:00. This man is clearly not a serious thinker

  • @glennvandaveer3862
    @glennvandaveer3862 4 года назад +2

    Came here for tech, left because of identity politics BS

    • @gerooq
      @gerooq 22 дня назад

      Nobody cares!

  • @redrowolloftnod5230
    @redrowolloftnod5230 7 лет назад +6

    It's easier to reason about regular callbacks than all this shit he's talking about. The "next level" is to dump this overly confusing nonsense and learn Elixir or some new language that moves away from the mistakes of JS. Kyle's teaching style has become like the "Bridge to total freedom" in Scientology. "What I really want to talk about is the next next next next level....!"

    • @canadianbootz
      @canadianbootz 7 лет назад +4

      Stop trolling.
      If you're serious, then I suggest challenging yourself to understand this "complexity". I did, and I'm now a better programmer for it. Kyle's closing remark nailed it on the head.

    • @andurilan
      @andurilan 7 лет назад

      Hes not wrong, fellow canuck. JS/ECS stumbled into dominance by quirks of history, not because of it accessibility or breadth. The language is a ragged patchwork quilt of bad, rushed design decisions, overcorrections, design by an indeterminate committee and vulture culturalism.
      As an example, I recently took up a hobby project in AS3 for some much needed rest from ES6/7/babel, and was surprised to find how much of it had been picked over and apart by the consortium for ES6 and 7. And for what, so that iPhones can run apps that run well enough but all look and behave the same as boring flat web apps?
      His comment about dogma within the community is quite on point.
      Its not trolling just because you disagree with him.

    • @canadianbootz
      @canadianbootz 7 лет назад

      There is dogma in every community, so it's irrelevant. "dump this overly confusing nonsense and learn Elixir or some new language" etc. is trolling in this post's context. redro is entitled to his opinions of course. But further saying "Kyle's teaching style has become like the "Bridge to total freedom" in Scientology." puts a final nail in the coffin he made for himself. He's really just embarrassing himself and Elixir, and I hope he understands that now.
      I have nothing against Elixir either. Every decent tool has it's strengths and weaknesses.

  • @sapito169
    @sapito169 4 года назад

    self white shaming

  • @neutronstar482
    @neutronstar482 5 лет назад

    what's this political shit

  • @gregorybolivar1876
    @gregorybolivar1876 3 года назад +2

    Inclusivity? White Privilege? I thought this was a JS tutorial.... Disliked video and moved out somewhere else.

    • @gerooq
      @gerooq 22 дня назад

      Oh no what ever will he do :(((