#yaml should be called ranl: Randomly Added Newlines
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)
@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?
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.
TIL that `dig` can do #yaml:
https://framapiaf.org/@pmevzek/115108361810352153
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
tabs vs spaces, FLAMES
@cinimodev @0_o7 @NaiP What can be easier than edit a #yaml file and do a #docker compose up -d