2 ms·
> I didn't want to install and configure Apache or nGinx. In fact, I didn't want any configuration. If you ignore all of the manual installation instructions a
by laumars 5y ago
> I didn't want to install and configure Apache or nGinx. In fact, I didn't want any configuration.
If you ignore all of the manual installation instructions and any dev time you took to create this, then sure.
I’m not going to argue that the author should have used something else instead though. It’s a personal project used purely on an internet system of his house. For those kinds it projects “because I could” is as good a reason as any. I just think more authors should be honest and say “I just did it because it seemed fun at the time”
- tjoff 5y agoManual instructions and dev time doesn't necessarily pollute the state of the machine though and are harder to replicate, which is how I would interpret it.
- laumars 5y agoNot having your application packaged up for quick removal strikes me as more polluting. And I don’t really see how an independent solution with almost no documentation and zero configuration management support (eg Ansible) is easier to replicate than a battle tested industry standard with widespread support. Don’t get me wrong, I have nothing against building things for fun. But the technical arguments made for why this is preferable over an established solution doesn’t stack up.
- tjoff 5y agoI do. Just as I would use this (would look into it more first though), the netcat trick mentioned here or python3 -m http.server over ever considering installing Ansible and/or nginx/apache. Totally different use case though.
- laumars 5y agoIf I was rolling my own and concerned about polluting, I’d favour a language like Rust or Go because I then don’t need to install the Python runtime, have random undocumented dependencies for the bash etc. Or I’d use Docker. But as said before, there’s no wrong answer here since it’s just a hobby project running on a HTPC.
- tjoff 5y agoWith that I agree, I would only use python if it was already installed, and the assumption with bash was that everything needed was already installed.