Viewing profile — boris
boris
HN member- Joined
- Tue, Feb 20, 2007, 9:09 AM UTC
- HN karma
- 1,160
- Public activity
- 351 items
- HN profile
- View on Hacker News ↗
About boris
Recent public activity
-
comment
Comment #49193079
It is lz4. While all that you say about disk being slow makes sense, measurements show that in this specific situation disabling compression improves performance by a little. My ha…
-
comment
Comment #49193041
> Couldn’t you amortize this to 0 by just caching the result and only changing it if the binary timestamp changed? Yes, that would be nice, but the tricky question is can any of th…
-
comment
Comment #49185224
[build2 author here] Thanks for the feedback! Some additional details: > The first one is a criticism of CMake, not Ninja (?), so I don't think it can be why. Fair enough. The poin…
-
comment
Comment #49184275
At least you know it was written by a fallible human. But if you point out my mistake, I will be happy to fix it.
-
comment
Comment #47993833
I don't know, someone who solves their borrow checker errors by adding more dynamic allocations (which seems to be common/recommended), will be taught how to program in Java, not C…
-
comment
Comment #47918330
> Commands in a CLI … I think what makes for good product design is having a very small number of primitives. Small but not too small. Case in point: shell scripts (POSIX shell, ba…
-
comment
Comment #46229992
GCC (libstdc++) as all other major C++ runtimes (libc++, MSVC) implements the small object optimization for std::function where a small enough callable is stored directly in std::f…
-
comment
Comment #46193472
The strangest thing about Flow is that its compiler is implemented in C#. So if you decide to use it in your C++ codebase, you now have a C#/.Net dependency, at least at build time…
-
comment
Comment #45884331
I believe the point is if something is UB, like NULL pointer dereference, then the compiler can assume it can't happen and eliminate some other code paths based on that. And that, …
-
comment
Comment #45666491
What is the filesystem story in OpenBSD? Anything CoW/snapshot'able on the horizon?
-
comment
Comment #45505051
What would be the SQLite's equivalent to indexing starting from 1, not 0? Off the top of my head I can't think of anything that would go so much against the grain.
-
comment
Comment #45401952
> We have been optimized very hard by evolution to be good at running, so there shouldn’t be any “easy” technologies that would make us dramatically faster or more efficient. I won…
-
comment
Comment #45310852
There is a parallel with database transactions: it's great if you can do everything in a single database/transaction (atomic monorepo commit). But that only scales so far (on both …
-
comment
Comment #45011356
Yes, I've seen this one in our logs. Quite obnoxious, but at least it identifies itself as a bot and, at least in our case (cgit host), does not generate much traffic. The bulk of …
-
comment
Comment #45006424
The main reason you would attach a database and then jump through hoops like qualifying tables is to have transactions cover all the attached databases. If you don't need that, the…
-
comment
Comment #44930465
I would say there is no certainty with eventual consistency, only hope.
-
comment
Comment #44929892
> And because Electric syncs every change granularly, you are certain that the state of your local database is exactly the same as the server's. I don't see how this certainty foll…
-
comment
Comment #44904365
> It also has 6 seconds of inactivity before starting any useful work. For comparison, ninja takes 0.4 seconds to start compiling the 2,468,083 line llvm project. Ninja is not a 10…
-
comment
Comment #44440057
> Header units are supposed to partially address this but right now they are not supported in any build systems properly (except perhaps msbuild?). They are supported in build2 whe…
-
comment
Comment #44203993
> In other words, hypothetical improvements by AWS (and other Clouds) are extremely overrated. Interesting, in a recent thread (I think it was about Redis going back open source) a…
-
comment
Comment #44202876
I watched that but I don't see it as convincing. Let's take the AWS example brought up in the talk. The "compete on the interface, not (open source) implementation" idea I think mi…
-
comment
Comment #43926449
In our package repository web interface we aimed for high information density over design fluff: https://cppget.org Especially our builds page.
-
comment
Comment #43795633
In GCC 14, C++ modules were unusable (incomplete, full of bugs, no std modules, etc). I haven't tried 15 yet but if that changed, then it definitely qualifies for a "great improvem…
-
comment
Comment #43427356
Thanks for sharing. If I understood correctly, you have rate-limiter specific urls (those with commit ids) that are infrequently requested by users but frequently by bots. Which me…
-
comment
Comment #43427131
> How do they know that these are LLM crawlers and not anything else? I can tell you what it looks like in case of a git web interface like cgit: you get a burst of one or two isol…