Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
your_fin
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
your_fin
8mo ago
This is the most common complaint I see for switching interactive shells to fish/nushell, but it's not a problem in practice. You don't ever uninstall bash, so if you've got a command to paste: bash <enter>
2.
▲
by
your_fin
9mo ago
Can confirm; my team spent the past 9 months upgrading an application JDK 8 -> 17, and there were breaking changes even after we got it compiling + running
3.
▲
by
your_fin
10mo ago
I would highly recommend the ts-pattern [1] library if you find yourself wanting exhaustive switch statements! The syntax is a bit noiser than case statements in simple cases, but I find it less awkward for exhaustive pattern matching and m
4.
▲
by
your_fin
11mo ago
> It almost always breaks every possibility to programmatically process or analyze the config. You can't just JSON.parse the file and check it. Counterpoint: 95% of config-readers are or could be checked in with all the config they
5.
▲
by
your_fin
1y ago
I came across https://kdl.dev recently, and it has become my favored yaml-replacement when normal code doesn't work. The data model is closer to XML than JSON, though, so unfortunately it's not a drop-in replacement fo
6.
▲
by
your_fin
1y ago
Very roughly, Zig is much closer to Go in terms of philosophy of language design, where as Rust is much closer to Go in terms of the kind of software people write with it. Go and Zig are both aggressively small and portable languages, and e
7.
▲
by
your_fin
1y ago
The author addresses this nicely in an earlier part of the blog book: https://jerf.org/iri/post/2025/fp_lessons_purity/
8.
▲
by
your_fin
1y ago
The way zod and arktype generally handle this is by providing treating the schema as the source of truth, rather than a type. They then provide a way to define the type in terms of the schema: // zod 3 syntax import { z } fr
9.
▲
by
your_fin
2y ago
I must further prothelitize Amazon Ion, which solves for most of the listed complaints and is criminally underused: https://amazon-ion.github.io/ion-docs/ The "object and array need to be entirely and deep parsed&
10.
▲
by
your_fin
2y ago
In this context, I think the prime advantage would be that instead of: - Managing/setting Ubuntu/$distro for the host - Installing Docker compose on host - Writing a docker-compose.yaml file to declare your container architectu
11.
▲
by
your_fin
2y ago
For the TUI inclined, lazygit [1] and magit (emacs) [2] both have quick and intuitive ways of handling this. They're also both wonderful companions to the git cli for day to day version control. [1]: https://github.com/
12.
▲
by
your_fin
2y ago
If you haven't seen it, I'd recommend checking out Amazon's Ion data format: https://amazon-ion.github.io/ion-docs/ It's schemaless, so the binary format can't be as effecient as protobufs, but
13.
▲
by
your_fin
2y ago
I can't seem to find this Dell monitor on your site: https://www.dell.com/en-us/shop/dell-ultrasharp-43-4k-usb-c-...
14.
▲
by
your_fin
2y ago
If you control the underlying data, I must reccomend Amazon Ion! Its text format is a strict superset of JSON, but they also maintain binary format that will round-trip data and is designed for efficient scanning. There's even prefixed