Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
diarrhea
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
diarrhea
1mo ago
Does having the worker pool hold as many threads as cores work well alongside the async pool? It is basically oversubscribed by design. I built a system once which had (this is Rust) a Rayon worker thread pool of 4 threads and a Tokio async
2.
▲
by
diarrhea
1mo ago
> uses the local models That is fantastic. Last I checked models capable of running on commodity (anything below a dedicated GPU rack) hardware were very lackluster.
3.
▲
by
diarrhea
1mo ago
The Make target I use to deploy in this manner (MacBook to x86-64, single machine) is simply: server: @echo "Deploying machine (with ssh-agent forwarding): '$(MACHINE)'" NIX_SSHOPTS="-A" \
4.
▲
by
diarrhea
2mo ago
Exactly. I do not know the specifics, but for example if libraries you call into liberally spawn_blocking under the expectation that it is okay, you will be in trouble. Says it right there actually: > It’s recommended to not set this lim
5.
▲
by
diarrhea
2mo ago
Funnily enough, spawn_blocking is not the right tool here. It is meant for blocking I/O, such as DNS lookups, where your platform might not give you anything better. For genuine CPU-bound work, submitting to a Rayon worker pool is the
6.
▲
by
diarrhea
2mo ago
NAT busting is a great point.
7.
▲
by
diarrhea
2mo ago
I do not understand this rebuttal. I also run self-hosted Wireguard. Initially on a Debian box, nowadays it is integrated into my router (admittedly, this is closed source). For around 6 years at this point. The whole thing could not be eas
8.
▲
by
diarrhea
2mo ago
Yeah. I don't think PG could even come close. Column-oriented is fundamentally different, and pairs well with all the SIMD acceleration ClickHouse is also doing. There's just no comparison. If a Postgres rewrite came close to that
9.
▲
by
diarrhea
2mo ago
But do the markets care about a Postgres in Rust? Probably not, or at least not right away. It is a long way towards commercial success. > I suspect rather than hire less people we will just produce more code changes. Why? Towards what e
10.
▲
by
diarrhea
3mo ago
> People still learn math, despite the calculator existing. Accounts still learn accounting, despite Excel and accounting software existing. They do, but you need far fewer or none of the original workers whose full-time job this sort of
11.
▲
by
diarrhea
3mo ago
Yes, my point was not related to null. For all I care you can have `&T` and `Option<&T>` in your language, but allow `&T` to be null. In Rust, that would be `Option<*const T>`. Is that useful? I don't know. But
12.
▲
by
diarrhea
3mo ago
No, because RateLimiter is then copied on passing it around (pass by value). That is problematic for two reasons: it might be a large type, so copying might be expensive. Second, more likely, it might violate invariants in your domain. For
13.
▲
by
diarrhea
3mo ago
This is the mess a language lands on when it conflates optionality (a semantic concept) with references/pointers (purely a machine concept). In Go, the requirement " need (non-optional) a reference to an object" is simply
14.
▲
by
diarrhea
5mo ago
As a fan and believer of obscurity in support of security, I do not understand why > that step didn't add any security. It is a decision that’s part of the entire process. A branch of many in the decision tree. Other branches are de
15.
▲
by
diarrhea
5mo ago
Just this month Google shipped what I understand as hard limits in AI Studio/Gemini/whatever it's called this week. I had existing billing alerts (best you could do before IIUC), but set these new hard limits up immediately
16.
▲
by
diarrhea
5mo ago
https://news.ycombinator.com/item?id=47677483
17.
▲
by
diarrhea
5mo ago
Interesting, though I disagree on basically all points... > No Silver Bullet As an industry, we do not know how to measure productivity. AI coding also does not increase reliability with how things are going. Same with simplicity, it&#
18.
▲
by
diarrhea
6mo ago
uv supports it, https://docs.astral.sh/uv/reference/settings/#exclude-newer
19.
▲
by
diarrhea
6mo ago
This take was accurate about 2 years ago, up until perhaps one year ago. Current capabilities far exceed what you are outlining, for example using Claude Opus models in a harness such as Claude Code or OpenCode.
20.
▲
by
diarrhea
6mo ago
I use unbound (recursive resolver), and AdGuard Home as well (just forwards to unbound). Unbound could do ad-blocking itself as well, but it's more cumbersome than in AGH. So I use two tools for the time being. The upside is there'
21.
▲
by
diarrhea
6mo ago
I have the same question, I am confused by the premise of this article. Now you're recording everything twice?
22.
▲
by
diarrhea
6mo ago
Agree. I am note sure I understand the premise of the article. You're now recording encountered errors twice, which can look like cancel(fmt.Errorf( "order %s: payment failed: %w", orderID, err, )) retur
23.
▲
by
diarrhea
7mo ago
Feldera speak from lived experience when they say 100+ column tables are common in their customer base . They speak from lived experience when they say there's no correlation in their customer base . Feldera provides a service. The
24.
▲
by
diarrhea
8mo ago
I have been using nixos-rebuild with target host and it has been totally fine. The only thing I have not solved is password-protected sudo on the target host. I deploy using a dedicated user, which has passwordless sudo set up to work. Seem
25.
▲
by
diarrhea
8mo ago
In thermodynamics, ultimately you need to input work to remove entropy from a system (e.g. by cooling surroundings). Humans do the same for software. I am an avid user of LLMs but I have not seen them remove entropy, not even once. They onl
26.
▲
by
diarrhea
8mo ago
Randomly fail or (increasingly) delay a random subset of all requests.
27.
▲
by
diarrhea
9mo ago
Interesting attack on my person! The things I want to get done on my computer are so much richer than moving files back and forth in a terminal all day. Simple things should be simple. Tools should enable us. Moving files is a means to an e
28.
▲
by
diarrhea
9mo ago
I have trouble gauging the effects of `*`, aka "will I cp/mv the dir or all contents of the dir "? Then shell expansion getting in the way, like expanding it all ("argument list too long"). I try to use rsync whe
29.
▲
by
diarrhea
9mo ago
I've had a color scheme plugin yanked from my IDE a while back, as it went malicious (Material Theme). It's just a bunch of hex codes, how is that even possible? Baffling and disappointing indeed.
30.
▲
by
diarrhea
9mo ago
> git on the command line is the power tool. The VS Code plugin is the training wheels version. I don't disagree with your underlying point, but git is perhaps the worst example. It is a horrible tool in several ways. Powerful yes
More ›