Live data from Hacker News

Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

unsafehttp.benren.au

21–30 of 54 posts

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#21

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.

nah this is pretty cool

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#22
post #17

Earlier quoted context omitted.

I don't understand this, could you explain?

around line 663. there's a call to strrchr, checking for a period in the filename. then immediately after that, there's a strlen that uses the results. Which is fine, unless the first call returns NULL, because there was no period in the name, and then the program will crash.

Oof, thanks.

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#24

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.

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

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#25

Are you near Sydney? I noted a possible link to the Central Coast. I will contribute a smaller device if you're game to host it. PS. You may be unaware that your shortened domain name 'benren' from your whois-available real name means "stupid person" in Mandarin. Only noted because there is a company registered with the same name since 1999. On the off chance it's yours, probably not the best marketing in a global wo…

Almost everything is going to sound like something else in some other language, I don't know that there's much you can do about that. On the plus side, maybe the silly association will make the name stick in people's heads!

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#27

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.

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

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#28

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.

Parsing HTTP is entirely unnecessary. That's the web client's job.

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#29

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.

Obviously you aren't one of them with an attitude like that.

Re: Show HN: unsafehttp – tiny web server from scratch in C, running on an orange pi

#30

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.

Let's see throwaway1492's code
Post reply on HN