frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Yamlfmt: An extensible command line tool or library to format YAML files

https://github.com/google/yamlfmt
43•zdw•7mo ago

Comments

alwillis•7mo ago
Also available via Homebrew:

    brew install yamlfmt
vinkelhake•7mo ago
I used yaml for some things back in the stone age (shout out to why the lucky stiff and syck). The more I used it, and the more I came in contact with it I started to dislike that it has so many features, and tries to be overly clever. I'm kind of surprised to see that it's making a comeback (or maybe it never went away).

https://noyaml.com/

alwillis•7mo ago
It really never went away.
xelxebar•7mo ago
That site's listed complaints are all either about a really old YAML spec or about self-inflicted, unrelated technical debt.

Granted, Python and other popular languages are also on an ancient YAML version for some inexplicable reason...

rurban•7mo ago
The safety concerns are all about the later YAML specs, tags and code. That's why most stayed on the early version, with some white list API.
xelxebar•7mo ago
You mean the executable YAML claims? Some are explicitly listed as for the older spec, but indeed a few are for 1.2. However...

If you configure your YAML loader to run arbitrary, input-controlled deserialization code, then of course you're opening a can of worms. Just, uh, don't do that for untrusted input maybe?

Is $programming_language terrible because some people run user input through eval?

The latest YAML (1.2 currently) gives you the option of doing all that stuff if you want. It's a bad implementation that decides to run random code by default, or heaven forbid, bakes such behavior in.

jdwithit•7mo ago
YAML is so ubiquitous I have to wonder what corner of tech you work in that you aren't encountering it in the wild. Kubernetes really brought it to center stage going on 10 years ago, but it's the config file format for many many applications these days.

That's not meant as an endorsement, just saying it's not "making a comeback" any more than Taylor Swift is in music. It's The Thing right now and has been for a while.

alwillis•7mo ago
YAML is so ubiquitous I have to wonder what corner of tech you work in that you aren't encountering it in the wild.

Ansible is another tool for devops that uses YAML extensively; it shipped in 2012.

sixdimensional•7mo ago
Is 2001 the stone age now (the year YAML was conceived)?
rurban•7mo ago
To _why the little stiff favor his libsyck never had the problems of later YAML extensions by Ingy, which should make them represent everything, but also made it totally insecure. That's why perl5 never really followed on to use the newer YAML specs and libraries for its cpan state files. syck was also much faster. I never bought the argument that it wasn't maintained anymore, I was not aware of any bugs.
edoceo•7mo ago
Why not use Prettier? Supports YAML since like 2020 - and does other languages too.
homebrewer•7mo ago
It's ungodly slow on large projects. I've been using `deno fmt` lately (despite not having any other use for deno), it reformat/checks thousands of files per second, and supports YAML too.

This says YAML support is behind an unstable flag, but I haven't been passing any flags. Works fine anyway.

https://docs.deno.com/runtime/reference/cli/fmt/

hackerbrother•7mo ago
Ha, I use Deno just as a formatter also! It’s great for Markdown formatting.
no_wizard•7mo ago
The package pretty-quick speeds up prettier significantly
kryptn•7mo ago
we throw things through yq for formatting
NeckBeardPrince•7mo ago
> This tool is not yet officially supported by Google. It is currently maintained solely by @braydonk, and unless something changes primarily in spare time.

No thanks. I'm done after Kaniko. https://github.com/GoogleContainerTools/kaniko

imglorp•7mo ago
Of course Google is going to shelve it, but you're free to fork and carry on if needed...
the_dude_•7mo ago
fyi, the good chainguard folks (and former googlers who started kaniko) have forked kaniko

Blog post: https://www.chainguard.dev/unchained/fork-yeah-were-bringing...

The fork: https://github.com/chainguard-dev/kaniko

EspadaV9•7mo ago
Just and FYI, whilst they are supporting it, they only provide source. If you want the images you need to be a paying customer, or build them yourself.
vivzkestrel•7mo ago
doesnt yq already do this? https://github.com/mikefarah/yq
zaphirplane•7mo ago
Same question but I can understand yq is very large

Vectors and HNSW for Dummies

https://anvitra.ai/blog/vectors-and-hnsw/
1•melvinodsa•1m ago•0 comments

Sanskrit AI beats CleanRL SOTA by 125%

https://huggingface.co/ParamTatva/sanskrit-ppo-hopper-v5/blob/main/docs/blog.md
1•prabhatkr•12m ago•1 comments

'Washington Post' CEO resigns after going AWOL during job cuts

https://www.npr.org/2026/02/07/nx-s1-5705413/washington-post-ceo-resigns-will-lewis
2•thread_id•13m ago•1 comments

Claude Opus 4.6 Fast Mode: 2.5× faster, ~6× more expensive

https://twitter.com/claudeai/status/2020207322124132504
1•geeknews•14m ago•0 comments

TSMC to produce 3-nanometer chips in Japan

https://www3.nhk.or.jp/nhkworld/en/news/20260205_B4/
2•cwwc•17m ago•0 comments

Quantization-Aware Distillation

http://ternarysearch.blogspot.com/2026/02/quantization-aware-distillation.html
1•paladin314159•17m ago•0 comments

List of Musical Genres

https://en.wikipedia.org/wiki/List_of_music_genres_and_styles
1•omosubi•19m ago•0 comments

Show HN: Sknet.ai – AI agents debate on a forum, no humans posting

https://sknet.ai/
1•BeinerChes•19m ago•0 comments

University of Waterloo Webring

https://cs.uwatering.com/
1•ark296•20m ago•0 comments

Large tech companies don't need heroes

https://www.seangoedecke.com/heroism/
1•medbar•21m ago•0 comments

Backing up all the little things with a Pi5

https://alexlance.blog/nas.html
1•alance•22m ago•1 comments

Game of Trees (Got)

https://www.gameoftrees.org/
1•akagusu•22m ago•1 comments

Human Systems Research Submolt

https://www.moltbook.com/m/humansystems
1•cl42•22m ago•0 comments

The Threads Algorithm Loves Rage Bait

https://blog.popey.com/2026/02/the-threads-algorithm-loves-rage-bait/
1•MBCook•25m ago•0 comments

Search NYC open data to find building health complaints and other issues

https://www.nycbuildingcheck.com/
1•aej11•28m ago•0 comments

Michael Pollan Says Humanity Is About to Undergo a Revolutionary Change

https://www.nytimes.com/2026/02/07/magazine/michael-pollan-interview.html
2•lxm•30m ago•0 comments

Show HN: Grovia – Long-Range Greenhouse Monitoring System

https://github.com/benb0jangles/Remote-greenhouse-monitor
1•benbojangles•34m ago•1 comments

Ask HN: The Coming Class War

2•fud101•34m ago•4 comments

Mind the GAAP Again

https://blog.dshr.org/2026/02/mind-gaap-again.html
1•gmays•36m ago•0 comments

The Yardbirds, Dazed and Confused (1968)

https://archive.org/details/the-yardbirds_dazed-and-confused_9-march-1968
1•petethomas•37m ago•0 comments

Agent News Chat – AI agents talk to each other about the news

https://www.agentnewschat.com/
2•kiddz•37m ago•0 comments

Do you have a mathematically attractive face?

https://www.doimog.com
3•a_n•41m ago•1 comments

Code only says what it does

https://brooker.co.za/blog/2020/06/23/code.html
2•logicprog•47m ago•0 comments

The success of 'natural language programming'

https://brooker.co.za/blog/2025/12/16/natural-language.html
1•logicprog•47m ago•0 comments

The Scriptovision Super Micro Script video titler is almost a home computer

http://oldvcr.blogspot.com/2026/02/the-scriptovision-super-micro-script.html
3•todsacerdoti•48m ago•0 comments

Discovering the "original" iPhone from 1995 [video]

https://www.youtube.com/watch?v=7cip9w-UxIc
1•fortran77•49m ago•0 comments

Psychometric Comparability of LLM-Based Digital Twins

https://arxiv.org/abs/2601.14264
1•PaulHoule•50m ago•0 comments

SidePop – track revenue, costs, and overall business health in one place

https://www.sidepop.io
1•ecaglar•53m ago•1 comments

The Other Markov's Inequality

https://www.ethanepperly.com/index.php/2026/01/16/the-other-markovs-inequality/
2•tzury•54m ago•0 comments

The Cascading Effects of Repackaged APIs [pdf]

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=6055034
1•Tejas_dmg•56m ago•0 comments