News for hackers. Stuff that matters.
Re:Jenkins Is Getting Old by core-questions on Monday April 29, 2019 @05:36PM (#19782821)
> I hate, on a fundamental level this whole "bash in YAML" trend.

This is why I hate Ansible. Looks simple until you need to do something complex, and then it becomes horrible. Chef's use of an actual language is far better, though on the flip side it's much harder to provide any kind of interface to configure it outside of a text editor.

If only there were some language where config data and code were the same data structure. (hmmmmmm)

Re:Jenkins Is Getting Old by inferiorhuman on Monday April 29, 2019 @07:49PM (#19783747)
I'll take writing stuff in YAML (Ansible) over all of the complexities and performance issues Chef brings. At megacorp a lot of my peers still hadn't let go of the button pusher mentality and were both inexperienced at coding and skeptical of automation. The problem with the power of ruby (as Chef exposes it) is that you've got the power of ruby aimed right at your foot.

On top of it, using ruby was a big pain when trying to work with rvm (e.g. for deploying ruby apps or developing ruby apps and running chef commands locally). Things may have gotten better since I last suffered through Chef, but we started running towards terraform + cloudformation.

Re:Jenkins Is Getting Old by madjam002 on Monday April 29, 2019 @06:39PM (#19783282)
Re:Jenkins Is Getting Old by bsder on Monday April 29, 2019 @06:29PM (#19783204)
I really don't understand why people are so reluctant to use Tcl for these kinds of things.
Re:Jenkins Is Getting Old by teacpde on Monday April 29, 2019 @08:15PM (#19783904)
> If only there were some language where config data and code were the same data structure. (hmmmmmm)

Instantly reminds me of SICP and Lisp, code is data.

Re:Jenkins Is Getting Old by Jedd on Monday April 29, 2019 @06:28PM (#19783198)
> If only there were some language where config data and code were the same data structure. (hmmmmmm)

Do you perhaps mean syntax rather than structure? (Or a subset of the syntax.)

If I've guessed correctly, that language has already been wedged into lots of places that it's a poor fit, so I guess there's precedent there.

Re:Jenkins Is Getting Old by mynegation on Monday April 29, 2019 @07:09PM (#19783491)
I am pretty sure Lisp was wedged into some places where it is a poor fit, but “lots”? Did you guess Javascript by any chance?
Re:Jenkins Is Getting Old by Jedd on Monday April 29, 2019 @08:38PM (#19784037)
I did guess Javascript, as it happens.

Was I wrong? If it was meant to be a reference to Lisp, I take much of it back.

Re:Jenkins Is Getting Old by ISO-morphism on Monday April 29, 2019 @09:52PM (#19784436)
The parent was most likely referring to lisp, but note that there are other homoiconic [1] languages.

[1] https://en.m.wikipedia.org/wiki/Homoiconicity

Re:Jenkins Is Getting Old by lacion on Monday April 29, 2019 @06:34PM (#19783247)
you can write python plugins and modules to extend functionality, there is no need to just start running commands everywhere.
Re:Jenkins Is Getting Old by ElFitz on Monday April 29, 2019 @08:08PM (#19783858)
AWS CDK seems nice