amos
banner
fasterthanlime.hachyderm.io.ap.brid.gy
amos
@fasterthanlime.hachyderm.io.ap.brid.gy
hi, I'm amos! 🍃 they/them 🫐 open-source witch & maker of snappy videos and articles at https://bearcove.eu ✨ be kind, be curious

🌉 bridged from ⁂ https://hachyderm.io/@fasterthanlime, follow @ap.brid.gy to interact
ooooooh I found a gazillion crashes
November 27, 2025 at 1:30 PM
@diegovsky I have talked to the docs people and so far, two of them are politely saying no 😅
November 27, 2025 at 1:27 PM
@diegovsky

[package.metadata.docs.rs]
rustdoc-args = ["--html-in-header", "docs/meta/highlight.html"]

this ? interesting workaround, I like my syntax highlighting server-side tho
November 27, 2025 at 12:11 PM
I would normally go for tree-sitter but I understand that the grammars get heavy, so I will settle for syntect!
November 27, 2025 at 11:41 AM
Okay, I've started porting facet.json on top of facet.solver. I found some even more evil edge cases, and I'm now implementing deferred validation in facet.reflect and grouped batched allocation of types like `Arc<str>`, `Arc<[T]>` for it to be efficient.
November 27, 2025 at 9:37 AM
okay! now facet-solver disambiguates not only based on key names, but also on value types!

it now passes evil tests like picking between an `u8` and `u16` enum variant, or between `DateTime` and `String` (which are both JSON strings).

and it does so very efficiently! only asking for a parse if […]
Original post on hachyderm.io
hachyderm.io
November 27, 2025 at 1:41 AM
see this is what I meant re: facet's direction. if I'm not trying to make the tiniest lib ever I'm free to make it have the best DX/UX
November 26, 2025 at 11:28 PM
I mean C'MON isn't that gorgeous (I know, miette is cheating but still)
November 26, 2025 at 10:29 PM
why am I excited about this? because it's building a (cached) graph of all possibilities which is then very efficient, and it can report errors with great detail — including undeserializable schemas/shape
November 26, 2025 at 10:04 PM
"ansible replacement plan" update: I made facet-kdl /really good/ (in screenshot: miette reports)

finishing that up, then moving on to the other components.
November 26, 2025 at 7:35 PM
@whitequark It seems like this would require patience. Do you know where to buy patience?
November 26, 2025 at 12:50 PM
@jannem the one that does the config x)
November 26, 2025 at 11:22 AM
For high availability you want a minimum of three nodes, so it goes: HA, HA, HA.
November 26, 2025 at 10:54 AM
> The etcd nodes are rejecting each other's connections because the certificates don't match. When all three nodes restarted simultaneously, they may have regenerated their etcd certificates, and now they don't trust each other.

Distributed systems were a mistake.
November 26, 2025 at 10:50 AM
"The pods can't talk to each other" — Good! that means they can't unionize.
November 26, 2025 at 10:22 AM
Man, there's so many ways to fuck up a Kubernetes cluster. It's kind of impressive, honestly.
November 26, 2025 at 9:36 AM
...has anybody seen Quorum? I think we've lost him
November 26, 2025 at 9:34 AM
Ooohhh calico doesn't need to be dual-stack because it's internal stuff ahhhhhh
November 26, 2025 at 9:07 AM
Back up! Now I just realized that the VPS I'm gonna do BGP from only has an IPv4. I mean, eventually it's gonna have a whole /44 of IPv6, but for now it has nothing!
November 26, 2025 at 9:05 AM