Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ridiculous_fish
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
ridiculous_fish
1mo ago
Oklo | Remote (US) or Santa Clara or Brooklyn | Full time | https://oklo.com Join us in pioneering the next generation of nuclear reactors! You'll leverage your software skills alongside nuclear engineers to model, simulate
2.
▲
by
ridiculous_fish
2mo ago
Seconded - those RealTek dongles are no good. For my Macs, the IOCrest USB4 adapters with the AQC113 chipset have been rock-solid and can saturate my 10Gbe network. They do run hot but no stability issues. That's what I use and recomme
3.
▲
by
ridiculous_fish
3mo ago
Oklo | Remote (US) or Santa Clara or Brooklyn | Full time | https://oklo.com Join us in pioneering the next generation of nuclear reactors! You'll leverage your software skills alongside nuclear engineers to model, simulate
4.
▲
by
ridiculous_fish
5mo ago
I bought one of these as soon as I heard about it ($74 from eBay) and tested it against my USB-4 AQC113 mainstays ($87, IO CREST brand on Amazon), from my MBP. The new RTL-based adapter is physically smaller, runs way cooler, but only gets
5.
▲
by
ridiculous_fish
6mo ago
This paper missed the state of the art!!! This concerns unsigned division by a 32 bit constant divisor. Compilers routinely optimize this to a high-multiply by a "magic number" but this number may be up to 33 bits (worst-case, div
6.
▲
by
ridiculous_fish
6mo ago
I was curious how defer is implemented. `defer` in Go is famously function-scoped, not lexically-scoped. This means that the number of actively-deferred statements is unbounded, which implies heap allocation. The answer is that Solod breaks
7.
▲
by
ridiculous_fish
6mo ago
Thank you for flagging this, that definitely shouldn't be happening. Possibly we have an over-zealous spam filter. If you and your friend are open to it, please email me at pca@[company].com and I will personally look into it.
8.
▲
by
ridiculous_fish
6mo ago
Oklo | Remote (US) or Santa Clara or Brooklyn | Full time | https://oklo.com Join us in pioneering the next generation of nuclear reactors! You'll leverage your software skills alongside nuclear engineers to model, simulate
9.
▲
by
ridiculous_fish
6mo ago
Why would an allocation require an atomic write for a reference count? Swift routinely optimizes out reference count traffic.
10.
▲
by
ridiculous_fish
6mo ago
That's exactly what affine / linear types do.
11.
▲
by
ridiculous_fish
7mo ago
JS (when using ints, which v8 does) is the same in this respect.
12.
▲
by
ridiculous_fish
7mo ago
"and a MacBook Air M4 starts at $1,099 against a capable Windows laptop at around $400" Pardon?
13.
▲
by
ridiculous_fish
10mo ago
The “tangle of spheres and circles” is probably a reference to the Hopf fibration.
14.
▲
by
ridiculous_fish
11mo ago
Except 91.
15.
▲
by
ridiculous_fish
11mo ago
Extraordinary project. I had several questions which I believe I have answered for myself (pizlonator please correct if wrong): 1. How do we prevent loading a bogus lower through misaligned store or load? Answer: Misaligned pointer load
16.
▲
by
ridiculous_fish
1y ago
What's interesting about it is that it supports SPR AVS, which is a new USB power delivery spec. I'm not aware of any other chargers that support this. https://www.chargerlab.com/complete-pd-3-2-spr-avs-specifica..
17.
▲
by
ridiculous_fish
1y ago
Doesn't every WASM program have to carry its own malloc/free today?
18.
▲
by
ridiculous_fish
1y ago
You're right, thank you for the correction.
19.
▲
by
ridiculous_fish
1y ago
My favorite FP Fun Fact is that float comparisons can (almost) use integer comparisons. To determine if a > b, reinterpret a and b as signed ints and just compare those like any old ints. It (almost) works! The implication is that the ne
20.
▲
by
ridiculous_fish
1y ago
Affine types, variance, higher-rank trait bounds, phantom data, MaybeUninit, and the whole macro and proc-macro systems are some examples of concepts that I found to be challenging when learning Rust. Dyn-safety is another but I had encount
21.
▲
by
ridiculous_fish
1y ago
LLVM's CMake build has had lots of love poured into it.
22.
▲
by
ridiculous_fish
2y ago
Oklo | Remote (US) or Santa Clara or Brooklyn | Full time | https://oklo.com Join us in pioneering the next generation of nuclear reactors! You'll leverage your software skills alongside nuclear engineers to model, simulate
23.
▲
by
ridiculous_fish
2y ago
Jekyll and nginx in Docker on Hetzner for €4.49/mo
24.
▲
by
ridiculous_fish
2y ago
At $WORK we use SQLite in WASM via the official ES module, running read-only in browser. The performance is very poor, perhaps 100x worse than native. It's bad enough that we only use SQLite for trivial queries. All joins, sorting, etc
25.
▲
by
ridiculous_fish
2y ago
Don't confuse "presence of dynamic types" with "absence of static types." Think about the web, which is full of dynamicism: install this polyfill if needed, call this function if it exists, all sorts of progressive
26.
▲
by
ridiculous_fish
2y ago
No, it's not so. If the allocation is backed by the kernel, then it will be zero-filled for security reasons. If it's backed by user-space malloc then who knows; but there's never a scenario where a mallocated page is quietly
27.
▲
by
ridiculous_fish
2y ago
SIMD is true, but the original guess is correct, and that effect is bigger! using_map is faster because it's not allocating: it's re-using the input array. That is, it is operating on the input `v` value in place, equivalent to th
28.
▲
by
ridiculous_fish
2y ago
"Numbers go into the numbers vector" is unusual - typically JS engines use either NaN-boxing or inline small integers (e.g. v8 SMI). I suppose this means that a simple `this.count += 1` will always allocate. Have you considered us
29.
▲
by
ridiculous_fish
2y ago
Shells have somewhat unusual parsing requirements. For example "if" is a keyword when used as `if echo` but not `echo if`. So you either need to implement the lexer hack, or have a "string" token type which is disambigua
30.
▲
by
ridiculous_fish
2y ago
Rust goes to substantial lengths to allow unwinding from panics. For example, see how complicated `Vec::retain_mut` is. The complexity is due to the possibility of a panic, and the need to unwind. https://doc.rust-lang.org/1
More ›