home.social

#yamlscript — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #yamlscript, aggregated by home.social.

fetched live
  1. github.com/gugod/advent-of-cod

    AoC 2024 第 11 天份。

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

    #AdventOfCode
    #yamlscript

  2. github.com/gugod/advent-of-cod

    AoC 2024 第 10 天份。

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

    #AdventOfCode
    #yamlscript

  3. github.com/gugod/advent-of-cod

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

    #adventofcode
    #yamlscript

  4. github.com/gugod/advent-of-cod

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

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

    #yamlscript
    #adventofcode

  5. github.com/gugod/advent-of-cod

    Needed a bunch of utilitiy function... but still managed to finish day 2 of 2024 AoC using #yamlscript in the first try.

    #yamlscript
    #AdventOfCode

  6. @adamcrussell @perl I’m already behind. :-( I was hoping to do this year in python or . Your comment about boosting is making me feel a little guilty about choosing a different language.

  7. This seems really neat, but I definitely have some concerns about how it might be used and the security issues around making something people think is a config file executable.

    yamlscript.org/posts/advent-20

    #yaml #yamlscript