7 ms·
Nice effort but this isn’t interesting at all. You skipped the most interesting part; parsing http. This is beejs networking tutorial with writing a file to a s
by throwaway1492 1y ago
Nice effort but this isn’t interesting at all. You skipped the most interesting part; parsing http. This is beejs networking tutorial with writing a file to a socket.
Harsh? Maybe, but you’re posting this to a site with some of the most talented developers on planet. Real talk, sorry.
- RVuRnvbM2e 1y agoObviously you aren't one of them with an attitude like that.
- roominator 1y agonah this is pretty cool
- bevr1337 1y agoShitty reply and this critique isn't helpful at all. You assumed the most interesting part; the thing you personally want. Harsh? Maybe, but you're posting this to a site with some of the most jaded developers on the planet. Not sorry.
- bevhill 1y agoI swear that the only thing that draws people to this industry is the desire to escape their home village. It certainly isn't the quality of conversation with like-minded tinkerers. It's just losers like you who think a big paycheck for playing with Jira means you're the smartest boy in the world. God help us.
- tom_ 1y agoParsing HTTP is entirely unnecessary. That's the web client's job.
- integralid 1y agoDo you mean parsing HTML? HTTP is the protocol they use to communicate, so both client and server must speak it. Or did I misunderstand you?
- tom_ 1y agoNo, brain fart on my part. You can use llhttp, which is pretty easy to use: https://github.com/nodejs/llhttp https://github.com/nodejs/llhttp
- 000ooo000 1y agoLet's see throwaway1492's code
- ethan_smith 1y agoEven simple implementations serve as valuable learning exercises, and proper HTTP parsing could be the natural next step in the author's learning journey.