Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
11–20 of 159 posts
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#12Earlier quoted context omitted.
This is why Simplenetes is built with Space.sh [1], a tool to build shell script applications. About the tests, can't disagree with you, they will come. [1] https://github.com/space-sh/space
First time I'm hearing of space also. It looks quite impressive, surprised to see no stars
We just moved Space.sh from GitLab to GitHub (hurts in my heart, but yeah community is on GitHub).
Also we are lousy at promoting our stuff, maybe April 1st is not the best day to do this either...
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#13There are many factors in complexity, but a big one for me is what I have to hold in my head – global state. From any given point, what do I need to understand to know what's actually going on.
For Go, this is actually comparatively little. Between a fairly straightforward language, static binaries, and the focus on ease of distribution, there's not a whole lot outside of a codebase itself to think about.
However for a shell like Bash there's a relatively large amount to consider. You're very exposed to the underlying OS, to libraries and system packages, to various tools, to configurations users may have specified, to things being redefined underneath you. There's a lot of global state to consider for a Bash script.
I suspect it is simpler than Kubernetes, but I don't think it's a clear cut case.
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#14> simple > 17k lines of shell script those two phrases don't belong together... to think about this, "17k lines" and "shell script" should not be used together either. Also, you are a bit light on tests.. there only seems to be a single trivial one, which seems way too low for a codebase this size.
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#15Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#16Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#17Quite an engineering feat, though, I am sure! Is this to have fun, to learn, to actually use in production?
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#182. Why do people write "Simplenetes has a 100x less code than Kubernetes" instead of saying it has 1/100th the code?
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#19> simple > 17k lines of shell script those two phrases don't belong together... to think about this, "17k lines" and "shell script" should not be used together either. Also, you are a bit light on tests.. there only seems to be a single trivial one, which seems way too low for a codebase this size.
I assumed it was tongue-in-cheek?
Re: Show HN: Simplenetes – I replaced Kubernetes with 17k lines of shell script
#20Perfect, complete and too complex.
For big and great applications, spring if the obvious choice. It makes incredible complex and difficult things easy.
But, unfortunately, makes simple and quick applications incredible complex and difficult.