Re:Envoy: 7 months later
by stock_toaster on Tuesday April 25, 2017 @03:44PM
(#14197284)
Seems like they could have used something a bit nicer to work with too (yaml, libucl, hocon, etc). I am honestly getting tired of editing fiddly json (no comments, last element in list can't have a comma, etc) all over the place.
[ Parent
| on HN ]
Re:Envoy: 7 months later
by user5994461 on Tuesday April 25, 2017 @05:15PM
(#14198096)
You can use hjson for human editable json.
Human editable json, with comments, and doesn't kill you for a lack of trailing comma.
Available libraries in tons of languages.
Re:Envoy: 7 months later
by stock_toaster on Thursday April 27, 2017 @10:15PM
(#14216437)
That actually looks pretty nice. Thanks for the link!
Given Google's involvement, I am wondering why they did not choose jsonnet?
Re:Envoy: 7 months later
by user5994461 on Tuesday April 25, 2017 @07:06PM
(#14199034)
Hopefully, it was avoided on purpose because it's a complete nightmare to use.
Honest question: How so?
I have not used it in anger - just played around with it.
Re:Envoy: 7 months later
by user5994461 on Wednesday April 26, 2017 @04:16AM
(#14201335)
Too much indirection.
You get big files filled with variables, loaded from other big files also full of variables. It's hard to know what you are setting after a while or where it comes from.
After a while playing with configuration systems, I'm starting to think that configuration should just be hardcoded once and for all.
I would rather contact you directly but your profile is empty.
I would like to introduce you to HiveMind described here: http://blog.crudzilla.com/2016/10/managing-configurations-wi...
It addresses the issues that JSSONET does without inventing a new templating language.
I am happy to give a skype demo, email me if interested.