RE: https://infosec.exchange/@pft/117279724505813497
YAML is not readableParsing YAML is a painIt unsafe by defaultIt's not in your standard lib (a 3rd party dep, that you don't need)It's not standardized
https://www.xenguard.app/blog/2026-08-24_on-avoiding-yaml/
#yaml #json #xml
#yaml
7 posts · Last used 14d
I consider using #YAML as an indicator of poor judgement.
#changemymind
Replying to
@baconandcoconut@freeradical.zone
I'm trying to design a board/card game. I want to encode raw data (e.g. for cards) into #YAML files, and then auto generate printable PDFs containing the cards from that with #Python. For now I'm running some balancing requirements/guidelines as unittests. I also use Python to visualise some statistics on the raw data (also mostly balancing related so far).
Fedi, do you think YAML would be improved if it forced you to quote string values, instead of allowing strings to be unquoted values.
In favour of quoted strings: It would make it explicit when something is a string, and you wouldn't accidentally input another type, expecting to be a string.
Against quoted strings: Quoting is clumsy when inputting code/regexes as values.
#YAML
Fedi, do you think YAML would be improved if it forced you to quote string values, instead of allowing strings to be unquoted values. In favour of quoted strings: It would make it explicit when something is a string, and you wouldn't accidentally input another type, expecting to be a string. Agains
Ich habe mal wieder angefangen mich ein wenig mit #SmartHome zu beschäftigen. Ich hatte hier ja schonmal #ioBroker auf einem #RaspberryPi laufen. Bis die SD Karte geschreddert wurde. Jetzt überlege ich einen Neustart. Aber was nehme ich? Bleibe ich bei ioBroker, weil ich es schon kenne? Aber dieses Mal dann in einen Docker Container. Mein 4er Pi hat noch genug Kapazität und läuft mit externer SSD.
Alternative wäre #HomeAssistent. Ist wohl einfacher zu konfigurieren. Es gibt deutlich mehr grafische Konfigurationsoberflächen. Man landet nicht so schnell bei #Yaml wie beim ioBroker. Aber frisst auch mehr Ressourcen. Empfehlung ist hier ganz klar HAssOS (unglückliche Namensgebung) zu nutzen. Dann läuft auf dem Raspberry nix anderes außer HomeAssistent. Aber andererseits ist die Community wesentlich größer. Auch die Unterstützung von Komponenten soll besser sein. #EspHome ist, so wie ich es einschätze, auch besser integriert. Und das ist für mich interessant.
Hm, was tun sprach Zeus.
The next #LightningTalk at #OggCamp was about Self-hosted Observability, using various #Grafana projects and #Prometheus etc.
Alan was using some #YAML files to provision the services via docker etc.
I didn't quite understand it all, but there's a few extra Grafana products I should check out - Alloy and Mimir.
https://github.com/alanionita/observability-stack
#selfhosting #metrics
New post: Neovim Crash Course for Sysadmins
Not a beginner's guide. This covers the things you still get wrong after years of Vim - efficient navigation, why your paste lands in the wrong place (and the one-key fix), YAML indentation workflows, quick macros, and what Neovim's LSP actually gives you for infrastructure work.
Written for people who edit configs and playbooks all day.
https://blog.hofstede.it/neovim-crash-course-for-sysadmins-the-20-that-solve-80-of-the-pain/
#neovim #vim #sysadmin #devops #linux #ansible #yaml
You've seen all posts
