🔴 #21: Streams and Buffer in Node JS with Example | Readable & Writable Streams in Node.JS in Hindi

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

КОМЕНТАРІ • 157

  • @ThapaTechnical
    @ThapaTechnical  4 роки тому +18

    Good Morning guys :) Aj ka video is very useful and informative hai about What Exactly Streaming is? Plz LIKE and SHARE the video with your friends ok :) and for more plz 🔴 Follow me on Instagram: instagram.com/vinodthapa55/

    • @Bake-n-shine
      @Bake-n-shine 4 роки тому

      Bhai Android Studio par kab video banaaoge we all are waiting.

    • @sourodipbiswas2001
      @sourodipbiswas2001 4 роки тому +1

      nice video sir, but rstream not defined ka error aa raha hai... please help

    • @surendrabisht2523
      @surendrabisht2523 3 роки тому

      video axha lga . like kr dia. 6:05 :D

    • @pavansaibitla9008
      @pavansaibitla9008 10 місяців тому

      but you didnot reply to comment for any doubts

  • @mathis-meth4229
    @mathis-meth4229 3 роки тому +1

    bhai aapko bahut deep knowledge hai JavaSCript ki. Thnk you for sharing your knowledge with us :))

  • @sushilyadav-dm5rr
    @sushilyadav-dm5rr 4 роки тому +1

    not enjoyment and not sorrow only see awesome ,fantastic nodejs video

  • @jhs003
    @jhs003 2 роки тому

    Itne details me to google bhi nhi batata...Your tutorials helps me a lot ...Thank you bhai

  • @learn_Japanese_with_sam
    @learn_Japanese_with_sam 3 роки тому +1

    Bhai apki saari videos is best.

  • @rajarai1736
    @rajarai1736 4 роки тому +4

    your teaching method is❤❤❤❤👏👏👏👏❤❤❤❤

  • @jiteshthakare2687
    @jiteshthakare2687 4 роки тому +11

    Hello vinod you are just awesome..... Can you give us a video where you can show how to build Amazon clone with react JS....like clever programmer..... because we understand properly when you explain in Hindi..... Your style of explaining is damn awesome bro..... please 🤞

  • @tahsinxeelani3107
    @tahsinxeelani3107 3 роки тому +1

    underrated channel

  • @himanshuraj254
    @himanshuraj254 4 роки тому +2

    Bhaiya Ji SuperHit😊👏👏🙏

  • @mollamainuddin6485
    @mollamainuddin6485 4 роки тому +4

    .on method to EventEmitter class ka method h ..to... server object on method ko kayse access kiya..???

  • @mathis-meth4229
    @mathis-meth4229 3 роки тому +8

    amazing video! very informative and in depth. Brother, can you please make a roadmap for how to learn SERVER-SIDE-PROGRAMMING?

  • @priyanshuagrawal9204
    @priyanshuagrawal9204 2 роки тому +5

    instead of res.write , we should have used res.append (i think so), bcaz when another stream of data will come then the previous data will be overwritten.

  • @javascriptwar9525
    @javascriptwar9525 4 роки тому +3

    It is a best things you share sir..❤

  • @deepikakapoor9607
    @deepikakapoor9607 4 роки тому +5

    Thank you so much ☺️

  • @jholjhaldai7173
    @jholjhaldai7173 4 роки тому +5

    a big request of your fan . I watched webdev simplified on Zoom clone but it had some issues. Pls show us a live video on how to do video live stream like zoom or Google meet with screen sharing option, Recording feature and user login system authorization. Thankyou

  • @1981Praveer
    @1981Praveer 4 роки тому +4

    @8.15 how did you add the shortcut. is it the feature of vscode ?, did you install any plugin in it >?

  • @AbdulSamad-em4of
    @AbdulSamad-em4of 4 роки тому +2

    sir have issue in res.write(chunkdata) i follow u step by step
    -------->>>>>>>>
    E:
    ode\streamModule\index.js:11
    res.write(chunkdata);
    ^
    ReferenceError: res is not defined
    at ReadStream. (E:
    ode\streamModule\index.js:11:5)

  • @SE_Sachin_Siddhartha
    @SE_Sachin_Siddhartha 3 місяці тому

    thapa sir if I use stream method to upload video on server and from server to cloud storage then how i can generate default thumbnail from stream video?

  • @ashiskanu7101
    @ashiskanu7101 3 роки тому +2

    Server.on('request'
    Yea request kaha sea aya ??
    Or yea on exactly hea kia ??

  • @mrankushtechnical
    @mrankushtechnical 3 роки тому +5

    You said that streams are object of EventEmitter but your are not creating any object of EventEmitter why ?

    • @datastructure_solved5839
      @datastructure_solved5839 3 роки тому

      not sure but i guess its there when we created , rstream = fs.ReadStream();

    • @sonalisahoo5953
      @sonalisahoo5953 2 роки тому +1

      @@datastructure_solved5839 HI,
      Like event.on("xyz", ()=>{}), we use "xyz" as event name and we call that event using event.emit("xyz");
      So i think the same way we are using server.on("request".....). But there is no calling to "request". Can u explain me then what does "server.on" do? Below is the code.
      server.on("request", (req, res) => {
      var fs = require("fs");
      fs.readFile("input.txt", (err, data) => {
      if(err) {return console.error(err);}
      res.end(data.toString());
      });
      });
      Thnk u.

  • @Asim_Ali4857
    @Asim_Ali4857 Рік тому

    I enjoyed a lot in this video thanks sir

  • @justforentertainment8393
    @justforentertainment8393 3 роки тому +1

    Issue I written code but answer is not showing in local host server

  • @mr.luhar143
    @mr.luhar143 Рік тому

    Sir server.on likha aapne to eventemitter ka use kyu nahi kiya ? Request bhi ak event hena🤔

  • @TOMGAMING-hy9hi
    @TOMGAMING-hy9hi 3 роки тому +1

    sir me pura 4 din laga diya akhir ye streams and buffers hai kya kuch samaj nahi aa raha tha but apki video dekhane ke bad concepts clear hogaya but doubt abhi bhi hai kya node.js ka streams and buffers ka official documentation pura samjna jarrori hai as a developer ?

  • @Ajaysharma-ox9rr
    @Ajaysharma-ox9rr 3 роки тому +3

    This was a pretty awsome video, can u make a video on streaming sql database using sequelize

  • @techspider2528
    @techspider2528 4 роки тому +1

    how to use node-fs shortcut?? How to enable it mine not working

  • @patelujwal5581
    @patelujwal5581 4 роки тому +3

    sir...please make video on payment gateway ...

  • @rnabyankitavasthi
    @rnabyankitavasthi Рік тому

    this course in very good

  • @spacewalk7988
    @spacewalk7988 4 роки тому +1

    And boom 🔥🎉

  • @ankitaggarwal8556
    @ankitaggarwal8556 10 місяців тому

    [nodemon] app crashed - waiting for file changes before starting...
    How to solve this error?

  • @imranjms
    @imranjms Рік тому

    what is the name of the NODE-JS SNIPPET u just used in the 8:11 min bhai ?

  • @abhijeetgupta729
    @abhijeetgupta729 3 роки тому +1

    res.write(chunkdata) after compiling am getting res is not defiened.
    would you help or comment it out for the response.

  • @usamanayab8381
    @usamanayab8381 Рік тому

    we have made server.on(request , (err, data).
    but we are not triggering the request event, still it gives us data in browser..
    can anyone solve this confusion of mine?

  • @shubhamnegi1996
    @shubhamnegi1996 4 роки тому

    First review and nice video

  • @Bake-n-shine
    @Bake-n-shine 4 роки тому +1

    Bhai Android Studio par kab video banaaoge we all are waiting.

  • @ShubhamGupta-ol5xy
    @ShubhamGupta-ol5xy 2 роки тому +1

    hi why emit is not used here???.....

  • @yashgandhi-pg4rh
    @yashgandhi-pg4rh 10 місяців тому

    Alert📢: there is a small mistake. Thapa Technical didn't use encoding in same line after the mentioned file path. Without encoding this code will run perfectly for small files but if you use larger files then page will keep loading.

  • @shobhitaggarwal9097
    @shobhitaggarwal9097 4 місяці тому

    bhaiya why we write this "request", on this line what does that mean

  • @badshahgaming7714
    @badshahgaming7714 4 роки тому +6

    Plz plz make mongodb tutorial with node js after this...🙏🙏🙏🙏

    • @DigitalAman
      @DigitalAman 3 роки тому +1

      jaroor

    • @onkar10046
      @onkar10046 2 роки тому +1

      @@DigitalAman tu kyu reply de raha hai🤣😂😂

  • @akashrawat4417
    @akashrawat4417 3 роки тому +2

    I have a doubt. How we can call an event without using EventListner clasd

    • @areejsajjad4581
      @areejsajjad4581 2 роки тому

      It's not always necessary to use adEventListner .. there are many more methods like off, once etc

  • @shaktii2181
    @shaktii2181 5 місяців тому

    in 1st way when we read file, then we have to use utf-8 ? but you did not use that.

  • @ygpointoffun9418
    @ygpointoffun9418 Рік тому

    sir its is showing error thst end,write are not the functions

  • @mugeesaleem3022
    @mugeesaleem3022 Рік тому

    vinod I have a question this time How we get exact data without changing uft-8
    means we are not getting buffer data

  • @shivamvora2285
    @shivamvora2285 4 роки тому

    This tutorial is very awesome

  • @ShubhamJain-qx9tv
    @ShubhamJain-qx9tv 3 роки тому

    bhaiya aap ne ye node-fs kasa banaya ha mera to kaam nahi karr raha

  • @rajuraj1257
    @rajuraj1257 4 роки тому

    superb video. thanks

  • @poolman7786
    @poolman7786 11 місяців тому

    How to stream a video plz do a video on that i am trying to do it but only buffer is shown

  • @dreamerb1
    @dreamerb1 Рік тому

    Vinod Bhai is the best

  • @vivekpadelkar5624
    @vivekpadelkar5624 3 роки тому

    nice work lad.....

  • @soumyaranjanpanda7532
    @soumyaranjanpanda7532 3 роки тому

    Nicely explained sir

  • @RAKESHSINGH-mt6uk
    @RAKESHSINGH-mt6uk 2 роки тому

    .on se to event define hote h n aur .emit se fire hote h aapne to kahi bhi .emit use nhi kiya naahi aapne event's ko require kiya fir kaise ye .on se event call ho gya plz anyone tell me yaar 😕😕

  • @Sp-px7gn
    @Sp-px7gn 4 роки тому

    Awesome video sir

  • @jibanjyotinayak9359
    @jibanjyotinayak9359 2 роки тому

    that node fs shortcut ,is it pre built in or u have done it personally.?

  • @omeshdewangan3352
    @omeshdewangan3352 4 роки тому +1

    If(error) return console.log()
    Samjh Nhi Aya...
    Isko Hum Jo Pahle Likhte The Simple Method Se Bhi Likh Sakte Hai....

    • @homedekstop2484
      @homedekstop2484 4 роки тому

      its if statement, check out his Javascript series :)

  • @pratiksaria5830
    @pratiksaria5830 4 роки тому

    I am Loving IT

  • @iknokumfu1811
    @iknokumfu1811 3 роки тому

    Bro I have Telegram bot that streams music in Telegram voice chat and iam using nodesoursce setup v.16x in that bro can u please suggest me which version is good for that kinda stuff????

  • @pritamchakraborty4407
    @pritamchakraborty4407 4 роки тому

    You are great sir

  • @vishalkyadav3805
    @vishalkyadav3805 Рік тому

    bro ye arrow kaise type kiya?

  • @dipusarker8072
    @dipusarker8072 4 роки тому +2

    How we get node-fs shortcut ??????

  • @tushar351
    @tushar351 4 роки тому

    Hey Thapa,
    I want to create a live broadcasting application. Where I will stream my screen and video and the users can see the live video. u can say like a cricket match. and I don't want the user's video. I will communicate with them through message. Can you guide me on what should I do?

  • @monireol
    @monireol 4 роки тому +2

    Sir How Can I Use Mongodb In Node Js.
    Please Make Video In Future.
    I Have To Learn :)

  • @shvetakumar4376
    @shvetakumar4376 4 роки тому +1

    Thanks for this sir

  • @statuszone5443
    @statuszone5443 4 роки тому

    Bhai Error AA rha hai ye
    events.js:292
    throw er; // Unhandled 'error' event
    ^
    Error: getaddrinfo ENOTFOUND 127.0.0.1
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:26)
    Emitted 'error' event on Server instance at:
    at GetAddrInfoReqWrap.doListen [as callback] (net.js:1495:12)
    at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:66:17) {
    errno: 'ENOTFOUND',
    code: 'ENOTFOUND',
    syscall: 'getaddrinfo',
    hostname: ' 127.0.0.1'
    }

  • @ehSamurai3483
    @ehSamurai3483 7 місяців тому

    Could you please make video on native stream

  • @ahsannawab8548
    @ahsannawab8548 3 роки тому +1

    8:16 not working

  • @sushilyadav-dm5rr
    @sushilyadav-dm5rr 4 роки тому

    thanks for making vedio bro

  • @harshdalsaniya3692
    @harshdalsaniya3692 3 роки тому

    sir thell me that node shortcut extenssion....???

  • @rizwansiddiqui198
    @rizwansiddiqui198 Рік тому

    I want to take data from
    Any server not from local directory
    We want like AWS-S3 bucket or cloudinary

  • @PrinceKumar-dp4ri
    @PrinceKumar-dp4ri 2 роки тому

    Mast

  • @pfgdanish8852
    @pfgdanish8852 10 місяців тому

    ye hard tha brother

  • @shaikhmohammod9446
    @shaikhmohammod9446 4 роки тому

    you are awosame

  • @ShafiqShaikh-nc7oo
    @ShafiqShaikh-nc7oo 10 місяців тому

    Instra pista kaju badam gram masala share kardiya

  • @parasnaulia9698
    @parasnaulia9698 Рік тому

    Why we use server.on ....?

  • @unemployedcse3514
    @unemployedcse3514 4 роки тому +1

    Bro I think you missed to explain flush callback(), rest vedio awesome bro

  • @syedafatima168
    @syedafatima168 4 роки тому

    Source code kaisy milyga bro?
    Apk whatsapp S no response

  • @lightningemperor9377
    @lightningemperor9377 Рік тому

    majaa aagyaa

  • @eramperwez4376
    @eramperwez4376 3 роки тому

    Thanks alot sir

  • @Er.DeepakJatav
    @Er.DeepakJatav 10 місяців тому

    Mera code run nahi huaa sir

  • @jatinnandwani8427
    @jatinnandwani8427 3 роки тому +1

    Bro one thing, The title of the video shows buffer, writable steam but you didn't talk about it and on the other hand, it does employ the full feature of steams. Please either choose correct titles or give full knowledge which is mentioned.

  • @dhananjaybrahmane6386
    @dhananjaybrahmane6386 3 роки тому

    that shortcut didnt work, what should i do?

  • @Anonymous-cb6by
    @Anonymous-cb6by 4 роки тому

    Sir please make a video on javascript intersectionObserver

  • @manikantadasar6554
    @manikantadasar6554 Рік тому

    const fs = require('fs');
    // Create a readable stream
    const readableStream = fs.createReadStream('input.txt');
    // Create a writable stream
    const writableStream = fs.createWriteStream('output.txt');
    // Pipe the data from the readable stream to the writable stream
    readableStream.pipe(writableStream);
    // Handle 'finish' event when all data has been written
    writableStream.on('finish', () => {
    console.log('Data has been written to output.txt');
    });

  • @aryankhandelwal15
    @aryankhandelwal15 2 роки тому

    sir smg nahi aaya?

  • @pratiksaria5830
    @pratiksaria5830 4 роки тому

    Dai please create video on middleware in nodejs

  • @sanjaypaul6651
    @sanjaypaul6651 2 роки тому

    thank you sir

  • @avmalik3705
    @avmalik3705 3 роки тому

    thk bhaiyaa

  • @subhajitbanik900
    @subhajitbanik900 Рік тому

    Please give an example if image frames in stream

  • @ChandanKumar-wf5sx
    @ChandanKumar-wf5sx 3 роки тому

    How to create a short cut?

  • @navin_kg
    @navin_kg 4 роки тому

    Mate I think this is my third time can you plz revert back of I can use the contents and convert it into my regional language so it will help the needy
    You may ask what for me ? (You may suggest it )

    • @Mohit-bk4nu
      @Mohit-bk4nu 4 роки тому

      no you shouldn't, unless you're sharing ad revenue with him.

  • @mr.anonymous6640
    @mr.anonymous6640 3 роки тому +1

    Can any one easily Explain what is mean of .On ⁉️

    • @purusharma8192
      @purusharma8192 3 роки тому

      it's like what we want from our function that what our function have to do after emit

  • @mohitpatil7519
    @mohitpatil7519 2 роки тому

    sir please make a video for streaming using mongoose

  • @puneetsingh3448
    @puneetsingh3448 3 роки тому

    Please Make video on lazy loading...

  • @anuj60493
    @anuj60493 3 роки тому

    Getting error server already in use.

  • @knowledgeforall3360
    @knowledgeforall3360 4 роки тому

    pls location tracker pe koi tutorial bnaen

  • @economicstock
    @economicstock Рік тому

    stream nahi hua

  • @priyadarshi5730
    @priyadarshi5730 4 місяці тому

    💓💓💓

  • @NipunRawat08
    @NipunRawat08 2 роки тому

    buffer??

  • @RajKadechaautoengineer
    @RajKadechaautoengineer 4 роки тому

    Please cover ejs template language within series.

    • @mshahmirkhan
      @mshahmirkhan 2 роки тому

      He already cover it. ejs is just file extension of react js

  • @dhawalparmar7117
    @dhawalparmar7117 3 роки тому

    Make video on video streaming bro

  • @musfiqurrahman8279
    @musfiqurrahman8279 3 роки тому

    I can not install nodemon ...