Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sapiogram
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
151.
▲
by
sapiogram
2y ago
I'm extremely curious, what kinds of problems? We had entire Kubernetes nodes becoming unresponsive, and I think io_uring in Node 18.18.0 was responsible, but they had lots of stuff running on them so I was never able to pinpoint th
152.
▲
by
sapiogram
2y ago
Why? They're going to be making this for years, and the issue must surely affect sales.
153.
▲
by
sapiogram
2y ago
> I wish I could see the perf chart of these. For thread creation, the author of the original post said "somewhere between 10 and 20 microseconds". This matches my own (very simple) benchmarks on my Ubuntu desktop, which was ab
154.
▲
by
sapiogram
2y ago
Although there's always luck involved, it was discovered by the Catalina Sky Survey, a survey specifically designed to spot near-earth objects. Their main telescope has a very large field of view (20 square degrees), and takes only 30
155.
▲
by
sapiogram
2y ago
> Wonder if any of the RISC-V cpus are fast enough as a daily driver running Linux? Short answer: Absolutely not, and you pretty much summarized it in your comment. RISC-V cpus are still at the performance level of Raspberry Pi 4, a $50
156.
▲
by
sapiogram
2y ago
Does anyone know why they're building a high-capacity cable to Singapore instead of Sidney? Sounds politically much easier to use the power domestically.
157.
▲
by
sapiogram
2y ago
> I don’t think you mean that. By undefined, I was referring to C-style undefined behaviour stemming from reading uninitialised memory You're right, I was referring to Javascript-style `undefined`, where it's basically a 2nd `n
158.
▲
by
sapiogram
2y ago
I've worked in Go for two years, and I hate zero values with a passion. I would much prefer undefined/nil/whatever as a default value. At least that obviously represents an invalid value, and will crash on use, become `null
159.
▲
by
sapiogram
2y ago
You've clearly never opened Kubernetes' source code.
160.
▲
by
sapiogram
2y ago
> - A Go program runs single-threaded, unless you explicitly tell it not too, so I don't quite see that as a plus for Typescript. I don't think this is a fair comparison. Almost all software needs some kind of concurrency, and
161.
▲
by
sapiogram
2y ago
It's better in Swift or Rust. Go channels are the worst thing about the language, even trivial use cases are difficult to get right.
162.
▲
by
sapiogram
2y ago
I'd still be more inclined to blame a software issue. Do you have the exact same software installed on both?
163.
▲
by
sapiogram
2y ago
What you're suggesting is basically a worse version of adding built-in min() and max() to the C spec. Which, to be fair, would be quite nice, but I guess the working group didn't want it in the standard.
164.
▲
by
sapiogram
2y ago
How did that end up happening? Did you define addition recursively or something?
165.
▲
by
sapiogram
2y ago
Rust cross-compilation isn't great, but this seems a bit hyperbolic: > On Rust you need to curl-sh rustup Yes, but you do that once per computer, probably when you installed the compiler > switch to nightly, No > add new targe
166.
▲
by
sapiogram
2y ago
> Well, clearly there is a need for a special value that is not part of the set of legal values. There's a neat trick available here: If you make zero an illegal value for the pointer itself, you can use zero as your "special v
167.
▲
by
sapiogram
2y ago
No, the question is definitely applying a theoretical definition of C. The problem is that pointers are required to have a finite (but arbitrary) length, meaning addressable memory is also finite.
168.
▲
by
sapiogram
2y ago
Makes perfect sense to me, it just means the language was already a year behind when it launched.
169.
▲
by
sapiogram
2y ago
Disclaimer: I don't work in this field, just an enthusiast. As far as I can tell, branch predictors have always been too good for it to be worth it. Moderns CPUs have instruction reorder buffers that are hundreds of instructions deep,
170.
▲
by
sapiogram
2y ago
I don't think AlphaZero is related to this work, apart from both being NN-based. AlphaZero and its training pipeline fundamentally only works for "chess-like" two-player games, where the agent can play against itself and slow
171.
▲
by
sapiogram
2y ago
Only slightly more general. It only works for games that are zero-sum, deterministic, have no hidden information, and discrete game state and moves. Other examples include connect-4.
172.
▲
by
sapiogram
2y ago
64GB ddr5 memory modules don't even exist yet, so going 128GB would require four memory DIMMs.
173.
▲
by
sapiogram
2y ago
> For example, Go uses (or at least one point it did) its own thread management and variable-size stacks. Go developer here: Yup, the language still works like that, and probably always will.
174.
▲
by
sapiogram
2y ago
WaitGroup/ErrGroup doesn't even work here, because the functions return data. I mean, you can use ErrGroup, but it requires additional error-prone concurrency orchestration to work.
175.
▲
by
sapiogram
2y ago
What? Source?
176.
▲
by
sapiogram
2y ago
Non-native speaker here, what does "hard G" even mean? G as in "go", or G as in "gin"?
177.
▲
by
sapiogram
2y ago
https://en.wikipedia.org/wiki/Shadow_IT
178.
▲
by
sapiogram
2y ago
As strange as it sounds, this just seems way to sophisticated to be malicious.
179.
▲
by
sapiogram
2y ago
Both statements don't need to be true. The compiler just has to prove that at least one of the statements will always be true.
180.
▲
by
sapiogram
2y ago
As long as overall power consumption keeps decreasing, yes.
More ›