News for hackers. Stuff that matters.
Re:Show HN: Kasaya – A scripting language and runtime for br... by threatofrain on Thursday February 20, 2020 @12:10PM (#22376567)
Using Ansible is what made me lose faith in DSL's in all the ways mentioned (eventually wanted loops, conditions, variables and namespaces...). Ansible is an API over a domain and if it were originally just represented through a Python language library I don't see why it would be less accessible or productive. Even something as simple as YAML can be screwed up and turned complicated.
Re:Show HN: Kasaya – A scripting language and runtime for br... by alwillis on Thursday February 20, 2020 @01:12PM (#22377156)
Even though I know how to program, I really like Ansible and probably wouldn’t have gotten into it if it had the same functionality but used Python instead of YAML.
Re:Show HN: Kasaya – A scripting language and runtime for br... by farisjarrah on Thursday February 20, 2020 @01:35PM (#22377367)
Building infrastructure is complicated. Have you found an easier way then Ansible to accomplish building infrastructure?

Ansible does make yaml more complicated, however, you don't need to use much of that complexity for simple projects. Compared to Terraform, Chef, Google Deployment Manager, and Windows Desired State Configuration, Ansible is by far the simplest to get up and running on to do real work with.

Re:Show HN: Kasaya – A scripting language and runtime for br... by erikpukinskis on Thursday February 20, 2020 @01:40PM (#22377418)
AWS CDK would be an example of using a programming language rather than a DSL to build infra.
Re:Show HN: Kasaya – A scripting language and runtime for br... by ofrzeta on Thursday February 20, 2020 @02:02PM (#22377611)
There's also Pulumi that covers a wider range of infrastructure than AWS only.
Re:Show HN: Kasaya – A scripting language and runtime for br... by Middleclass on Thursday February 20, 2020 @03:52PM (#22378502)
Have you tried SaltStack?

It uses YAML too, but always felt much more cleanly composed, and smoothly integrates with scripting languages.

I've never truly broken into orchestration and am still salty about that so please, take my post with a grain of salt.

(Full disclosure: I have literally no professional affiliations whatsoever.)

Re:Show HN: Kasaya – A scripting language and runtime for br... by cryptonector on Thursday February 20, 2020 @06:58PM (#22379774)
> Even something as simple as YAML can be screwed up and turned complicated.

Your problem is that you think YAML is simple.