Tutorial: Simplify and Optimize Your YAML with YAMLScript - Ingy döt Net, YAML LLC
Tutorial: Simplify and Optimize Your YAML with YAMLScript - Ingy döt Net, YAML LLC
Nobody likes YAML (or anything for that matter) when its a giant and repetitive mess. Of course, there are already existing technologies like Helm and Kustomize that help provide make YAML nicer for Kubernetes. The new kid on the block is YAMLScript. Being a complete programming language (built over a vast and mature ecosystem) its capabilities are effectively limitless. That said, its primary focus is on refactoring and improving existing and new large YAML configurations. YAMLScript can help you make the most of YAML in any domain; even those that already make great use of Helm and Kustomize. Having been created by an original inventor and current lead maintainer of the YAML data language (Ingy döt Net) you can count on it meshing well with the YAML you already know. In this hands on interactive tutorial, Ingy will teach you how to make the most of YAML and YAMLScript.
Grokking Hash Array Mapped Tries (HAMTs) - by Nick M
A simple and intuitive explanation of what Hash Array Mapped Tries are and where they're used.
HAMTs are frequently used in functional programming languages, such as Clojure and Scala in order to implement persistent data structures like maps and sets. HAMTs provide efficient lookup, insertion, and deletion operations while ensuring immutability. They’re also well-suited for concurrent environments where multiple threads or processes access and modify shared data structures simultaneously. Their structural sharing property allows for efficient copying and sharing of data, reducing the need for expensive locking mechanisms.
Learn yaml in Y Minutes
YAML - "strict superset of JSON"
** No tabs **
x : 1 # 1 is a number, not a boolean
x : "The rain in Spain" # Strings can be quoted but don't have to be!
another_key: Another value goes here.
# Multiple line strings - literal (|) or folded (>) blocks
# collections - 2 space indent (by convention)
set :
a : 1
b : 2
c : 3
# arrays/lists
myarray :
- key : a
val : 1
- key : b
val : 2
- key : c
val : 3
Styleguide | Task
This is the official Task styleguide for Taskfile.yml files.
Task is a task runner / build tool that aims to be simpler and easier to use than, for example, GNU Make.
Since it's written in Go, Task is just a single binary and has no other dependencies, which means you don't need to mess with any complicated install setups just to use a build tool.