News for hackers. Stuff that matters.
Re:OCaml in Operations by seliopou on Tuesday April 12, 2016 @12:40AM (#11477305)
One clarification. As of a couple weeks ago, OCaml does have native support for many of the services AWS provides, via code generation:

https://github.com/inhabitedtype/ocaml-aws

I've been using these bindings internally for about a year, so the kinks have been worked out. A few more data types need to be supported by the code generator (in particular, the map type), and then it should have full service coverage.

Re:OCaml in Operations by alexatkeplar on Tuesday April 12, 2016 @06:59AM (#11478492)
This is awesome - thanks so much for putting this together Spiro. With enough library support I think OCaml can definitely hit a sweet spot for ops...
Re:OCaml in Operations by eatonphil on Tuesday April 12, 2016 @06:50AM (#11478454)
Why the GCC requirement on FreeBSD? And that definitely shouldn't require actually creating a static link.

Edit: whoops, replied to the wrong parent.

Re:OCaml in Operations by seliopou on Tuesday April 12, 2016 @11:23AM (#11480342)
The reason for each step is documented in the bash snippet. At the time of development, zarith (a transitive dependency) hard coded the GCC dependency in its build process. Perhaps it shouldn't, but it definitely did and continues to require the symlink on systems without GCC. I submitted a patch to fix this in zarith, but it has not made it to opam yet. See The patch here:

https://forge.ocamlcore.org/tracker/index.php?func=detail&ai...

Re:OCaml in Operations by sgrove on Tuesday April 12, 2016 @10:06AM (#11479673)
I've used this (thanks seliopou!) to convert my bash-based (Mirage) deployment scripts over to OCaml, and am significantly happier with the end result.
Re:OCaml in Operations by pnathan on Tuesday April 12, 2016 @02:03AM (#11477525)
My hat, it is taken off to you.

I will be experimenting with this!