mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#yaml

4 posts4 participants0 posts today
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>🧵 …additional article about the YAML <a href="https://chaos.social/tags/game" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>game</span></a> above, this explains why YAML is more <a href="https://chaos.social/tags/complex" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>complex</span></a> than many people realize.</p><p>»The YAML document from hell:<br>For a data <a href="https://chaos.social/tags/format" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>format</span></a>, yaml is extremely complicated. It aims to be a human-friendly <a href="https://chaos.social/tags/format" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>format</span></a>, but in striving for that it introduces so much <a href="https://chaos.social/tags/complexity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>complexity</span></a>, that I would argue it achieves the opposite result. <a href="https://chaos.social/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> is full of footguns and its friendliness is deceptive. In this post I want to demonstrate this through an example.«</p><p>🤬 <a href="https://ruudvanasseldonk.com/2023/01/11/the-yaml-document-from-hell" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">ruudvanasseldonk.com/2023/01/1</span><span class="invisible">1/the-yaml-document-from-hell</span></a></p>
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>Oh YAML *wtf*</p><p>I thought until now YAML is more or less fixed and clearly defined but apparently not. Do you know all the possible effects unknown to me?</p><p>🤬 <a href="https://www.ohyaml.wtf" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">ohyaml.wtf</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/yaml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>yaml</span></a> <a href="https://chaos.social/tags/ohyaml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ohyaml</span></a> <a href="https://chaos.social/tags/wtf" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>wtf</span></a> <a href="https://chaos.social/tags/config" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>config</span></a> <a href="https://chaos.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://chaos.social/tags/gaming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>gaming</span></a> <a href="https://chaos.social/tags/know" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>know</span></a> <a href="https://chaos.social/tags/knowledge" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>knowledge</span></a> <a href="https://chaos.social/tags/itsecurity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>itsecurity</span></a> <a href="https://chaos.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://chaos.social/tags/fixit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fixit</span></a> <a href="https://chaos.social/tags/unknow" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>unknow</span></a> <a href="https://chaos.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> <a href="https://chaos.social/tags/it" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>it</span></a> <a href="https://chaos.social/tags/itsec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>itsec</span></a> <a href="https://chaos.social/tags/fixit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fixit</span></a></p>
Franck Nijhof<p>🚀 Big news for GitHub Actions users!</p><p>You can now use YAML anchors and store workflow templates in non-public .github repos.<br>No more duplication. No more hacks. Just clean, reusable workflows. 🙌</p><p>Been waiting on this for years!</p><p>📰 <a href="https://github.blog/changelog/2025-09-18-actions-yaml-anchors-and-non-public-workflow-templates/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.blog/changelog/2025-09-</span><span class="invisible">18-actions-yaml-anchors-and-non-public-workflow-templates/</span></a></p><p><a href="https://fosstodon.org/tags/DevOps" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevOps</span></a> <a href="https://fosstodon.org/tags/GitHubActions" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GitHubActions</span></a> <a href="https://fosstodon.org/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> <a href="https://fosstodon.org/tags/SelfHosting" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SelfHosting</span></a> <a href="https://fosstodon.org/tags/CI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CI</span></a> <a href="https://fosstodon.org/tags/OpenSource" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OpenSource</span></a></p>
𝕂𝚞𝚋𝚒𝚔ℙ𝚒𝚡𝚎𝚕<p>KSON: A 💌 to the humans maintaining computer configurations</p><p>KSON combines the strengths of YAML and JSON. With KSON you can write files that are easy to read, edit, and debug—without worrying about invisible whitespace errors or missing commas.</p><p>🛠️ <a href="https://kson.org" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">kson.org</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/kson" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>kson</span></a> <a href="https://chaos.social/tags/code" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>code</span></a> <a href="https://chaos.social/tags/config" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>config</span></a> <a href="https://chaos.social/tags/json" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>json</span></a> <a href="https://chaos.social/tags/yaml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>yaml</span></a> <a href="https://chaos.social/tags/dev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>dev</span></a> <a href="https://chaos.social/tags/files" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>files</span></a> <a href="https://chaos.social/tags/coding" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>coding</span></a> <a href="https://chaos.social/tags/easytoread" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>easytoread</span></a> <a href="https://chaos.social/tags/edit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>edit</span></a> <a href="https://chaos.social/tags/debug" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>debug</span></a></p>
Frontend Dogma<p>ohyaml.wtf, by @signoz.bsky.social:</p><p><a href="https://www.ohyaml.wtf/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">ohyaml.wtf/</span><span class="invisible"></span></a></p><p><a href="https://mas.to/tags/websites" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>websites</span></a> <a href="https://mas.to/tags/quizzes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>quizzes</span></a> <a href="https://mas.to/tags/yaml" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>yaml</span></a></p>
Jan :rust: :ferris:Unhinged (Software Dev)
Home Assistant<p>Just some <a href="https://fosstodon.org/tags/YAMLProblems" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAMLProblems</span></a>... 😅</p><p>Happy Programmer's Day, y'all! 🩵</p><p><a href="https://fosstodon.org/tags/HomeAutomation" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>HomeAutomation</span></a> <a href="https://fosstodon.org/tags/SmartHome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SmartHome</span></a> <a href="https://fosstodon.org/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a></p>
Arik Grahl<p>Excited to give my talk today at <a href="https://chaos.social/tags/ContainerDays" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ContainerDays</span></a>, stage <a href="https://chaos.social/tags/K4" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>K4</span></a> at 10:05! I'll show how <a href="https://chaos.social/tags/Kubenix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kubenix</span></a> leverages <a href="https://chaos.social/tags/NixOS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NixOS</span></a> modules to generate reproducible, declarative <a href="https://chaos.social/tags/Kubernetes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kubernetes</span></a> manifests, no more <a href="https://chaos.social/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> templating. See how <a href="https://chaos.social/tags/Kubenix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Kubenix</span></a> connects with <a href="https://chaos.social/tags/Helm" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Helm</span></a> and builds <a href="https://chaos.social/tags/OCI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>OCI</span></a> container images with <a href="https://chaos.social/tags/Nix" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Nix</span></a>, simplifying cloud-native stacks. Don't miss it if you want more control and reliability in your infra!<br><a href="https://chaos.social/tags/CDS25" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CDS25</span></a> <a href="https://chaos.social/tags/CDS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CDS</span></a></p>

Right now I’m working on a #Python project that reads a lot of data from #YAML files. The data is validated later in the process when additional information from other sources is available.

Yet there seems to be no easy way to annotate the YAML data with information from which source file/position it was read. The YAML loader has the information internally (in the YAML Node) but there seems to be no easy way to preserve this information. (1/2)

Replied in thread

@ricci my favorite #yaml fact is yaml is a superset of #json. Sometimes a json parser can parse yaml but often not. But a yaml parser can always parse json (unless of course the 1.2 json spec isn’t being followed because who needs to be strict about specs?!).

Maybe that’s why meaningful error messages for a yaml parser are difficult?

Replied in thread

@nocalla @homeassistant

So I got this working, using a choose block as you suggested - and a YAML template block. It seems weird to me though that there doesn't seem to be ANY way of getting an Assist question to take some kind of action on an answer without programming it in YAML.

Yes, I know YAML is wonderful and everyone should want to be a programmer, but for an org stating they want to make more possible with the built in GUI, it seems odd to launch a major new end user feature and not even mention that there is no alternative to use it but YAML?! Even in the docs.

Why isn't there just an action chooser in each answer, with "Add sentence"? Why is putting an action to an answer 3 levels deep in the GUI+YAML?

People on the internet with #kubernetes knowledge and history. I try to understand #KYAML. I understand the reason why they opted for a new modified format, and I agree with that. The only thing I just can't see, why it's called KYAML and not KJSON.

When I check example, it looks more like YAML-ified #JSON and not JSON-ified #YAML. To my eyes it looks more JSON than YAML.

Jetzt habe ich meine ganzen Stunden in #Obsidianmd mit #YAML versehen:
- Klasse
- Fach
- Niveau (Basis-/Leistungsfach)
- Schuljahr
- Einheit
Das hatte sich mir bisher noch nie erschlossen, warum ich dafür nicht einfach Tags nutze. Und dann kamen die Bases und ich glaube, mir ist gerade der Kopf geplatzt.
Jetzt wird noch eine Vorlage für den Unterricht gebastelt, damit ich das nicht im Alltag vergesse.
#FediLZ

Continued thread
I had a lot of "fun" writing the #yaml definition for #esphome . A LOT of "fun". 🙄
Esphome isn't really meant to write complex behaviours like a #child #toy 's program. It's meant for IoT devices: lightbulbs, covers, sensors, devices with very simple behaviors. But it's very convenient as it manages on its own all the wifi stack and libraries stuff, and it provides some functionalities for free (in this case, the possibility to use the whole led strip as a single #RGB #light seamlessly integrated in #homeassistant ).
Is this an #hack ? Sure it is. But does it work? Hell, yeah! 😎