4 ms·
> Unfortunately the wonderful original C implementation of endlessh only provides text based log, but I do not like the solution that writes extra scripts to pa
by HumblyTossed 3y ago
> Unfortunately the wonderful original C implementation of endlessh only provides text based log, but I do not like the solution that writes extra scripts to parse the log outputs, then exports the results to a dashboard, because it would introduce extra layers in my current setup and it would depend on the format of the text log file rather than some structured data. Thus I create this golang implementation of endlessh to export Prometheus metrics and a Grafana dashboard to visualize them.
" I didn't like the logging, so I re-implemented the entire thing."
I'm not mocking, I just see this often (and have done it myself!). It's interesting the things we do to get around the little things we don't like.
- ffsm8 3y agoThe thing about coders is that they're often creators at heart. The stated reason is likely only the excuse they told themselves to justify the project. But the real reason was likely that they wanted to create something, and this was a good justification. Might just be me projecting though, because I do that all the time
- yard2010 3y agoI've stopped lying to myself, I'm making cool stuff just for the sake of it. It's like playing a video game, it doesn't have to be productive if I enjoy it.
- ajsnigrutin 3y ago> " I didn't like the logging, so I re-implemented the entire thing." And did that in the "language of the week" :) The stuff that was reinvented in eg. ruby a few years ago is now reinvented in go and rust.
- pantsforbirds 3y agoPeople build in languages they are comfortable with. Golang is fairly easy to ship with and the performance is fine for something like this. Seems like a good tool for the job
- 0cf8612b2e1e 3y agoIn fact, Go is one of the better tools for the job given its ability to easily spin up network connections.
- ajsnigrutin 3y agoI was more pointing out the fact that people reinvent existing stuff in a new language, then a few years go by, the 'existing stuff' is still 'existing', the 'new language reinvention' is dead, and someone new then reinvents the 'existing stuff' in some new language :) eg: https://news.ycombinator.com/item?id=19276751 https://news.ycombinator.com/item?id=19276751 https://github.com/remacs/remacs https://github.com/remacs/remacs last commit, 3 years ago.
- deleted 3y ago[deleted]
- rijoja 3y ago> It's interesting the things we do to get around the little things we don't like. Yeah and perhaps pick up valuable skills, that might help us down the road in ways that are hard to quantify.