Learn JavaScript Generators in Practice || Processing Data On-demand with Example || Erick Wendel

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 พ.ย. 2024

ความคิดเห็น • 37

  • @Sophia-yv7nf
    @Sophia-yv7nf 4 หลายเดือนก่อน

    This is really an advanced NodeJS technic. Thank you!

  • @zendphpcolombia4902
    @zendphpcolombia4902 ปีที่แล้ว +2

    finally a relative better explanation about generators, thanks

  • @RemuloCosta
    @RemuloCosta 2 ปีที่แล้ว +5

    Aí sim, now big senior, is other level!!!

  • @TheSostenesg7
    @TheSostenesg7 2 ปีที่แล้ว +1

    Mano. Muito brabo, Erick. Massa que tu vai falando devagar, aí já consigo entender o que estás dizendo msm sem legenda. Isso ajudar muito no aprendizado do inglês e de JS. Mais um conteúdo top, seniorzao.

  • @diegohdk
    @diegohdk 2 ปีที่แล้ว

    Sweet! Generators have always been dark waters to me. But now I had some good insights on how it works and for what it is good. Keep rocking man 👊🏼🚀

  • @soniablanche5672
    @soniablanche5672 ปีที่แล้ว

    You can convert a readstream into a json by using the json function in the node:stream/consumers module, but it's still experimental as of Node 19.4.0.

  • @mybuddy11
    @mybuddy11 2 ปีที่แล้ว

    Dear Erick, Could you publish more a video lecture on learning " Transactions and Concurrency Control With Node js for Mongodb and Mysql" , I really love you so much!

  • @edmonstro
    @edmonstro 2 ปีที่แล้ว

    Muito bom! "Brazilian" invadindo o mundo. Parabéns pela "ousadia" e conteúdo!

  • @ronniebrito8660
    @ronniebrito8660 2 ปีที่แล้ว

    Cai de paraquedas no video, mas aqui vai meu apoio a internacionalização do canal.

  • @henrique-marti
    @henrique-marti 2 ปีที่แล้ว +8

    Só nos "The book is on the table". Cara, que legal, sabe que esses vídeos ajudam a gente a aprender inglês tbm, né?
    Além de ensinar JS agora está ajudando em inglês tbm, show demais.
    Dúvida técnica agora: como ficaria o "CRUD é o cacete" em inglês?

    • @cristianomoreira3305
      @cristianomoreira3305 2 ปีที่แล้ว +2

      acho que um crud is my eggs ja serve shaushaush

    • @Math_playing
      @Math_playing 2 ปีที่แล้ว

      @@cristianomoreira3305 KKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKKK

    • @demostenesbr
      @demostenesbr 2 ปีที่แล้ว

      This is our plan to domain the World! =D

  • @osmanrodrigues9132
    @osmanrodrigues9132 2 ปีที่แล้ว +1

    Nice content and congrats for nice internationalization! 🚀

    • @ErickWendelTraining
      @ErickWendelTraining  2 ปีที่แล้ว +1

      Thanks man! It’s been a lot of effort but I gotta keep moving 🤩

  • @Camilvslalisa
    @Camilvslalisa 7 หลายเดือนก่อน

    💪 muito obrigado!

  • @dedsplays
    @dedsplays 2 ปีที่แล้ว +2

    Bom dia Erick, show demais esse video. Dessa maneira, qual seria a forma mais interessante para informar qual a porcentagem de dados que foram processados? Vendo de uma perspectiva de onde eu quero mostrar pro meu usuario final a velocidade do que esta acontecendo sem pesar a aplicacao salvando logs no banco por exemplo.

    • @ErickWendelTraining
      @ErickWendelTraining  2 ปีที่แล้ว +1

      Eaee André, pergunta sensacional!! Bom, você pode manter uma variavel antes do for await e ir alterando ela conforme os dados chegam. Alguém precisa te mandar qual é a quantidade total de itens que esse processo vai rodar e voce calcula algo como:
      elapsed = processed / total (algo assim)

    • @moisesrms
      @moisesrms 2 ปีที่แล้ว

      Eu consumi uma api uma vez usando a biblioteca "got" onde eu fiz um got.stream(apiUrl) e essa biblioteca possui um evento "downloadProgress" então eu consegui fazer algo assim downloadStream.on("downloadProgress", ({ transferred, total, percent }) => {
      const percentage = Math.round(percent * 100);
      console.error(`progress: ${transferred}/${total} (${percentage}%)`);
      });

  • @brenopereira9926
    @brenopereira9926 2 ปีที่แล้ว +1

    Man, thanks for this video. Right now I have a challenge on a project that is paginate a list with 150k costumers and I don’t found it a solution but now I have :)

    • @ErickWendelTraining
      @ErickWendelTraining  2 ปีที่แล้ว +1

      Uhuuuu great! Using Node.js and generator functions altogether gives you even more power! Lmk if I can help in something, I’ve been doing some consultancy projects. Lmk on LinkedIn 🤩

  • @moylababa8196
    @moylababa8196 2 ปีที่แล้ว

    may I know, when will you release your nodejs stream course?

  • @lucasfelipe-ze5sy
    @lucasfelipe-ze5sy 2 ปีที่แล้ว

    Nice work Man!

  • @abdurrahimahmadov4309
    @abdurrahimahmadov4309 2 ปีที่แล้ว

    Great explanation, thank you!

  • @mykun8737
    @mykun8737 2 ปีที่แล้ว

    Hi Erick When is your node js stream course released?

    • @ErickWendelTraining
      @ErickWendelTraining  2 ปีที่แล้ว

      Hey there! I'm not sure yet but I think by the next 2 months

    • @mykun8737
      @mykun8737 2 ปีที่แล้ว

      @@ErickWendelTraining Could you please publish this course on Udemy to spread to a lot of students? thanks

  • @glsns.u.4775
    @glsns.u.4775 2 ปีที่แล้ว

    Parabéns meu querido!!!

  • @walterangolar5127
    @walterangolar5127 2 ปีที่แล้ว +1

    nice

  • @VictorHugo-victorvhpg
    @VictorHugo-victorvhpg 2 ปีที่แล้ว +1

    Parece aqueles indianos falando em inglês

    • @ErickWendelTraining
      @ErickWendelTraining  2 ปีที่แล้ว +1

      Então esses indianos ai falam bem pow 😂😂

    • @ronniebrito8660
      @ronniebrito8660 2 ปีที่แล้ว

      Praticamente qualquer nao nativo vai ter sotaque, o rapaz tem sotaque mas a pronuncia é otima, indiano dá pra entender nada.

    • @Joao-oo8yj
      @Joao-oo8yj 9 หลายเดือนก่อน

      ​@@ronniebrito8660 Né man! Eu mesmo não entendo bulhufas alguma do quê um indiano fala. Sotaque muito esquisito kkkkkk. O do Erick é muito melhor.