cozis
I originally built this tool to see what happened if one wrote a web server from scratch and made it face the public web (I also nudged some communities to crash it intentionally). It was a fun experience and I used that small server to host my website since then.
Over time, I learned about managing a VPS and the hassle involved with certificate management. I also wanted to host multiple websites on the same server. For these reasons I worked for about a year to add virtual hosts and automatic HTTPS by implementing the ACME protocol (RFC 8555). The new server is currently hosting https://coz.is
Previous discussions:
https://news.ycombinator.com/item?id=41642151
https://www.reddit.com/r/C_Programming/comments/1falo3b/usin...
https://www.reddit.com/r/hacking/comments/1fcc5hd/im_using_m...
Show HN: I built a simple web server with ACME support
A web server for my blog: https://github.com/cozis/BlogTech
And a distributed file system for which I'm also building a cool little raspberry Pi cluster! https://github.com/cozis/ToastyFS
Fun stuff!
Happy templatin'!
Show HN: WL, a new templating engine for C
Inheritance and Polymorphism in Plain C
Physical Limits of Computation
What happens when you load a URL? (2015)
Building web apps from scratch – Getting Started – Part 0
Zero to Prod in C – Creating Server and Hosting
Totally agree. And actually using them is even more satisfying. I'm starting to get curious about email protocols..
> I'm kind of surprised that the vanilla poll() can put up numbers like you were seeing
Me too. I assumed I was going to go with epoll at some point, but poll() is working great.
P.S. Love the indentation
Show HN: Hosting my website using my own C web server
Sane C++ Libraries
After getting into university I decided to build an interpreter[0]. For someone who didn't even have the notion of a parser, it just felt like an unaproachable task. Even though, I sticked to it and the architecture became clear in time. That's another thing, even if you try to build something and miserably fail at it at each iteration, you still get better at it. The feeling of the task being too vast and daunting is just a feeling and knowing there's something on the other side makes it easier to power through it.
Hope to see your database on HN someday! :^)
> It wasn't clear from the article if you were planning on working on this further or leaving it as is
At the moment I'm working on it on and off in my spare time. I think I will continue that way until all major features are done and stable
> An HTTP/echo server you control is great for the bare essentials, but there are so many mind-boggling ways things can go wrong in the real world. I think the only way to catch those edge cases (and even so you'll never catch them all!) is to use it on as many different devices for as many real world applications as possible.
Yes, I'm realizing that. From the beginning I've been thinking about going the unit test route but couldn't find a way to make it work. Thanks for the feedback!
Show HN: MicroTCP, a minimal TCP/IP stack
I think maps full of the same tile repeated wouldn't be a problem so the threshold might work in pretty much the whole game.
To me it's just a learning exercise so it's not aimed at being the next big thing. I figured others may find it interesting as an example of how one might go about building something like this. Although it's a hobby language, still I don't feel like calling it a toy language. I'm trying to build something which is usable and works well!
I'd be happy to answer any questions!
Show HN: The Noja Programming Language
This is a tool I build to use in my own blog (where I mainly talk about C programming).
I considered using other available tools but they either: 1. used client-side javascript to work 2. only highlighted based on the keywords 3. only could be used online
so I thought It would be fun to write one myself. It turned out pretty nicely in my opinion!