Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nh2
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
nh2
6mo ago
> The agent cannot learn from its mistakes. The agent will never produce any output which will help you invoke future agents more safely That is not entirely true: Given that more and more LLM providers are sneaking in "we'll t
62.
▲
by
nh2
6mo ago
While I generally agree, this is an exaggeration: > This level of production grade fail over and simplicity was point and click, 10 years ago. While some of the tools are _designed_ for point and click, they don't always work. Mostl
63.
▲
by
nh2
6mo ago
Thanks for pointing that out!
64.
▲
by
nh2
6mo ago
Cannot you use Codex (which is open source, unlike Claude Code) with Claude, even via Amazon Bedrock?
65.
▲
by
nh2
6mo ago
My friend recommended to put a small percent late payment fee, stated in the contract and on each invoice. Haven't really used it yet because we don't have a problem with late payments, but I do think it would work, because our B2
66.
▲
by
nh2
6mo ago
Still waiting for Delta + Difftastic integration: https://github.com/dandavison/delta/issues/535
67.
▲
by
nh2
7mo ago
That does not cap memory per query, which should be implemented by postgres explicitly to capture only the memory that really counts towards "the query" (fine-grained memory limits; ulimit is not that).
68.
▲
by
nh2
7mo ago
> You can’t cap memory, but ... Why not? That'd be useful. Feels like a software written in C should make that reasonably easy.
69.
▲
by
nh2
7mo ago
No. It is reserved. https://www.icann.org/en/board-activities-and-meetings/mater... A look on Google or Wikipedia would also clear that up faster than I can type this response https://en.wikipedia.org&#
70.
▲
by
nh2
7mo ago
`EnableEscapeCommandline` only controls the <Enter>~C commandline. The reason that is disabled in current OpenSSH by default is OpenBSD `pledge` support: https://security.stackexchange.com/questions/280793/wh
71.
▲
by
nh2
7mo ago
A problem with that is that Nix is slow. On my nixos-rebuild, building a simple config file for in /etc takes much longer than a common gcc invocation to compile a C file. I suspect that is due to something in Nix's Linux sandbox
72.
▲
by
nh2
7mo ago
Haskell is the king of cancellation. Using asynchronous exceptions, you can cancel anything, anytime, with user -defined exception types so you know what the cancellation reason is. Example: maybeVal <— timeout 1000000 myFunction
73.
▲
by
nh2
8mo ago
The question is why I cannot search through it when it is a trivial amount of data that is on my device already.
74.
▲
by
nh2
8mo ago
There really is no benefit of splitting a functionality from it's test. Then you just have a commit in the history which is not covered by tests. Splitting "handling the happy vs error path" sounds even worse. Now I first hav
75.
▲
by
nh2
8mo ago
What about 1:1 chat? I'm using Element X and there seems to be no search button for messages at all. So I cannot even search for "shopping" to find the shopping list, or "address" to find the address a friend sent m
76.
▲
by
nh2
8mo ago
I guess until we know what that network share is and how it works, we cannot really progress. Taking 10 ms to fetch the 19 KB file is definitely not great, it would be ~50 LAN roundtrips. > whatever's preventing that 250MB file from
77.
▲
by
nh2
8mo ago
No, the example exercises the full TCP protocol including all its logic. There have been plenty of examples of protocols where that is far from infinitely fast and does not scale even on localhost, e.g. with OpenVPN or any protocol that req
78.
▲
by
nh2
8mo ago
Worth pointing out that with Nix/NixOS this problem doesn't exist. The problem in other distros is that if you prefix PATH so that it contains your executable "foo", and then run a program that invokes "foo" fr
79.
▲
by
nh2
8mo ago
From which part do you take the "several milliseconds"? If I assume 0.2ms ping and each rsync read() is a roundtrip, I arrive at 6.4 minutes = 62955918871 B / (32 1024 B) 0.0002 s / (60 s/min).
80.
▲
by
nh2
8mo ago
> But the people you responded to were talking about slowdowns that exist in general, not just ones that apply directly to the post. I think that's incorrect though. These slowdowns do not exist in general (see my next reply where I
81.
▲
by
nh2
8mo ago
But I am "the previous poster". And I am quite sure that UDP is slower, becuase I increase `--bandwitdh` until throughput stops increasing, which is at 20% of TCP's speed.
82.
▲
by
nh2
8mo ago
I was about to say: The question was what exactly rsync pipelines, and whether it serialises its network sends. If true, that would be a plausible cause of parallelism speeding it up. Serial local reads are not a plausible cause, because th
83.
▲
by
nh2
8mo ago
I find that a bit of a weird point. The goal of such sandboxing is that you can allow the agent to freely write/execute/test code during development, so that it can propose a solution/commit without the human having to approv
84.
▲
by
nh2
8mo ago
Somebody made a claim that TCP isn't high performance without specifying what that means, I gave a counterexample of just how high performance TCP is picking some arbitrary notion of "high performance". Almost like it makes t
85.
▲
by
nh2
8mo ago
> perhaps it [..] sends a new UDP packet when the other side acknowledges the previous UDP packet. In that case the speed of iperf3 over UDP will always be inferior to that of TCP It does not, otherwise it would be impossible by a factor
86.
▲
by
nh2
8mo ago
Yes. Why? To measure other overhead of what's claimed (TCP the protocol being slow), one should exclude other things that necessarily affect alternative protocols as well (e.g. latency) as much as possible, which is what this does.
87.
▲
by
nh2
8mo ago
The original post only mentions 3564 files and rsync spending 8 minutes on that. This just doesn't check out.
88.
▲
by
nh2
8mo ago
I quoted the documentation that claims _something_ is pipelined. That is extremely vague on what that is and I also didn't check that it's true. Both the original claim "the issue is the serialization of operations" and
89.
▲
by
nh2
8mo ago
> I guess the question is whether rsync is using multiple threads or otherwise accessing the filesystem in parallel No, that is not the question. Even Wikipedia explains that rsync is single-threaded. And even if it was multithreaded &qu
90.
▲
by
nh2
8mo ago
> has a hardcoded maximum receive buffer of 2MiB For completeness, I want to add: The 2MiB are per SSH "channel" -- the SSH protocol multiplexes multiple independent transmission channels over TCP [1], and each one has its own
More ›