Imagine showing one slide at #KubeCon… and the room erupts in applause. 🎤💥

That’s what happened when Ingy döt Net introduced #YAMLScript. Why? Because #Kubernetes devs have been struggling with YAML for years.

🎧 Hear what makes YAMLScript such a game-changer on Dead Code. #Helm #DevTools #DeadCodePodcast

YAML was supposed to make life easier… so why is it such a pain across different languages? 😵‍💫

Ingy döt Net explains why YAML failed at its original goal and how #YAMLScript is here to fix it.

🎧 Don’t miss this episode of Dead Code! #DeadCodePodcast #DevCommunity #CodingLife

let e2e.yml be generated from e2e.ys by gugod · Pull Request #836 · gugod/App-perlbrew

Follow-up work of #834.

GitHub
Tutorial: Simplify and Optimize Your YAML with YAMLScript - Ingy döt Net, YAML LLC

YouTube

https://github.com/gugod/advent-of-code/blob/fun/2024/11/solve-2.ys

AoC 2024 第 11 天份。

用了雙層 reduce,覺得有點怪怪的。但一時之間沒有想到更簡潔的做法。就這樣啦。

#AdventOfCode
#yamlscript

advent-of-code/2024/11/solve-2.ys at fun · gugod/advent-of-code

my solutions of puzzles in http://adventofcode.com/ - gugod/advent-of-code

GitHub

https://github.com/gugod/advent-of-code/blob/fun/2024/10/solve-2.ys

AoC 2024 第 10 天份。

這題我在解第一部時是先寫了給第二部用的程式,然後發現不對,寫錯了,重寫一遍。然後在解第二部時發現:可惡,剛剛的版本沒留著。

#AdventOfCode
#yamlscript

advent-of-code/2024/10/solve-2.ys at fun · gugod/advent-of-code

my solutions of puzzles in http://adventofcode.com/ - gugod/advent-of-code

GitHub

https://github.com/gugod/advent-of-code/blob/fun/2024/9/solve-1.ys

第九日第一部分。自己橋了一個資料結構想說應該比較省空間。結果搞邊界條件找好久。果然我還是庸人自擾派(?)

#adventofcode
#yamlscript

advent-of-code/2024/9/solve-1.ys at fun · gugod/advent-of-code

my solutions of puzzles in http://adventofcode.com/ - gugod/advent-of-code

GitHub

https://github.com/gugod/advent-of-code/blob/fun/2024/7/solve-2.ys

今年 AdventOfCode 我只解到第七天份,目前為止全用 YAMLScript 來解。

第七天的輸入內容的格式正好就是 YAML,那解析檔案的部分就直接用 ys::yaml 的 load-file 函式啦。

#yamlscript
#adventofcode

advent-of-code/2024/7/solve-2.ys at fun · gugod/advent-of-code

my solutions of puzzles in http://adventofcode.com/ - gugod/advent-of-code

GitHub

https://github.com/gugod/advent-of-code/blob/e01f9ab04bea43a1616cf3d58afcfd9a4c87678d/2024/3/solve-2.ys#L3

I really like my resursive solution for AoC.2024.3

Also, destructive assignment from regex captures ? awesome.

#AdventOfCode
#yamlscript

advent-of-code/2024/3/solve-2.ys at e01f9ab04bea43a1616cf3d58afcfd9a4c87678d · gugod/advent-of-code

my solutions of puzzles in http://adventofcode.com/ - gugod/advent-of-code

GitHub