>I enjoy making my own tools and I'm a bit tired of hearing that everything needs to be "battle-tested." So what it will crash? Bugs can be fixed :^) I love it
Show HN: Hosting my website using my C web server
121–130 of 160 posts
Re: Show HN: Hosting my website using my C web server
#122>I enjoy making my own tools and I'm a bit tired of hearing that everything needs to be "battle-tested." So what it will crash? Bugs can be fixed :^) I love it
[flagged]
Re: Show HN: Hosting my website using my C web server
#123How about embedding the contents of the HTML files so that no access to the filesystem is required? That would make it not only faster but also safer.
Re: Show HN: Hosting my website using my C web server
#124Earlier quoted context omitted.
For fun, sure. Small mistake can be big security nightmare
For a blog? If you don't put anything important on the server itself I can't imagine a hacker could do much. Maybe put a nasty image on your front page, or put their Bitcoin address pretending it's the place to send donations, but it would take a lot of time and effort to remain hidden for hardly any gain.
Re: Show HN: Hosting my website using my C web server
#125> No reverse proxies required! This is one that has always baffled me. If there's no specific reason that a reverse proxy is helpful, I will often hang an app with an embedded Jetty out on the internet without one. This has never lead to any problems. Infra or security people will see this and ask why I don't have an nginx instance in front of it. When I ask why I need one, the answers are all hand-wavy security or p…
So you are using a proxy server, just an embedded one. Most prefer simply prefer not to bundle their application with one.
Re: Show HN: Hosting my website using my C web server
#126Earlier quoted context omitted.
You forgot the original need: share a single IPv4 among different services. If going IPv6-only, the need for a reverse proxy is seriously lowered. You could spin multiple servers up (even on different machines), listening to 443. Have each service handle its certificate renewal, etc.
> You forgot the original need: share a single IPv4 among different services. That "original need" is exactly what GP is talking about.
Re: Show HN: Hosting my website using my C web server
#127> No reverse proxies required! This is one that has always baffled me. If there's no specific reason that a reverse proxy is helpful, I will often hang an app with an embedded Jetty out on the internet without one. This has never lead to any problems. Infra or security people will see this and ask why I don't have an nginx instance in front of it. When I ask why I need one, the answers are all hand-wavy security or p…
1) you can share multiple apps or sites with one server listening on port 443/80. 2) You can redirect to another backend on your infrastrcture 3) You can enforce certain login/sso/restrictions 4) You can configure all these things in one place.
Of course, if you don't need all that, then it's somewhat moot.
Re: Show HN: Hosting my website using my C web server
#128Earlier quoted context omitted.
It’s kind of sad how C has gotten the reputation as this dangerous and scary dark art that only wizards can successfully wield. C was my first love, it’s what we used throughout university, it’s what our operating systems and basic tools are all written in... If you go to your favorite language and step down into the actual implementation of, for example, your network calls, you’re eventually going to get to poll() a…
But if the dy/dx gradient is that experts can develop faster in safe languages, and novices make fewer mistakes in safe languages, then C isn't useful day-to-day. It occupies an ever-shrinking ecological niche on the Pareto frontier.
Re: Show HN: Hosting my website using my C web server
#129Earlier quoted context omitted.
But if the dy/dx gradient is that experts can develop faster in safe languages, and novices make fewer mistakes in safe languages, then C isn't useful day-to-day. It occupies an ever-shrinking ecological niche on the Pareto frontier.
What are you on about? C is more useful day-to-day than the vast majority of languages. Learning it is hardly a waste of time.
Re: Show HN: Hosting my website using my C web server
#130> No reverse proxies required! This is one that has always baffled me. If there's no specific reason that a reverse proxy is helpful, I will often hang an app with an embedded Jetty out on the internet without one. This has never lead to any problems. Infra or security people will see this and ask why I don't have an nginx instance in front of it. When I ask why I need one, the answers are all hand-wavy security or p…
Really? I am curious.
You are not talking of monkeys?