News for hackers. Stuff that matters.
Re:A few ways to make money in FOSS by verdverm on Friday November 27, 2020 @06:29PM (#25233524)
Thanks, fixed the link.

Cool use cases:

I'm personally using Cue for representing DSLs for code generation.

Cue can be used to reduce the configuration size and boilerplate. You can 'cue import' your JSONSchema and remove repeat sections. Because Cue is assoc. / comm., the order you merge in does not matter.

'cue get go' enables you to import Go types into configuration automatically.

There work towards making Cue an language of translation for configuration / types. Something where you can get others from any of the supported (json, yaml, jsonschema, openapi, protobuf, golang)

The scripting layer just got an upgrade, to support "flow" based programming. Haven't looked at it myself yet, hoping to soon.

There are several projects in the DevOps world. A docker alum is up to something. Another group has Cue-ified CloudFormation: https://github.com/TangoGroup/cfn-cue I can see helm being replaced with a pure-Cue solution.

Re:A few ways to make money in FOSS by koeng on Friday November 27, 2020 @07:05PM (#25233762)
I didn't know the 'cue get go', that could be very useful for a Go project I'm working on. Thanks!