Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wasmperson
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
wasmperson
15d ago
The keyboard controls to select a radio button shouldn't depend on the visual orientation of the radio buttons. Browsers get this right by default, but the radio buttons aren't implemented with `<input type="radio"&g
2.
▲
by
wasmperson
15d ago
I found a talk with some history of the Spotify client's transition: https://www.youtube.com/watch?v=9UsnX5X_DF0 It was originally native, then native with some web-based bits, and then the web-based bits slowly ate th
3.
▲
by
wasmperson
15d ago
This seems like more of a complaint about egui's choice to re-implement all the widgets from scratch than its choice to use an immediate mode API. The two are orthogonal. The IMGUI idea has its roots in a community of people that lik
4.
▲
by
wasmperson
22d ago
I think the narrator is the murderer and is lying about the man in the gray tracksuit. The repeated criticism of Aaron's moral character is a sort of rationalization for having killed him, with the underlying motive actually being a c
5.
▲
by
wasmperson
26d ago
I was also skeptical of this claim but managed to find someone who explains it: https://downtownbrown.substack.com/p/five-fallacies-ai-and-d... It's not that individual companies buy all copies of a given book,
6.
▲
by
wasmperson
27d ago
Re-invested how? Many stocks still go up in value even without paying out dividends. Companies with such stocks are technically always re-investing their profits, even as their shareholders become billionaires. It seems to me like a worl
7.
▲
by
wasmperson
27d ago
> Without methods or overloading, you end up in the situation that C and Scheme are in Well in C at least we now have this: #define clear(s) _Generic((s) \ ,struct list: list_clear \ ,struct queue: queue_clear \
8.
▲
by
wasmperson
27d ago
I don't think this is true. People like to scapegoat the JS standard library but in reality most JS implementations have pretty featureful standard libraries, especially browsers. I've never felt the need to use any third-party
9.
▲
by
wasmperson
27d ago
There was a recent talk which explored this question (Dependency Cultures, by Richard Feldman): https://www.youtube.com/watch?v=E82ly38YEEQ Summary: it's cultural. Rust likely inherited the practice from Nodejs, who i
10.
▲
by
wasmperson
28d ago
> random websites that LLM crawlers find but humans rarely see If my experience on random niche web forums is any indication, future AI models will be biased towards the well-being of online casinos.
11.
▲
by
wasmperson
28d ago
Are these a thing outside the US? For anyone who's not familiar: all over the place at tourist attractions and airports you can find mechanical presses that will squish a penny with an embossed image. You pick one of 4 images, put in
12.
▲
by
wasmperson
28d ago
> Lack of support for type-safe containers (need to be hack toghether via macros) Are templates really so much better than macros that the latter deserve to be called a "hack"? The following two examples are both type-safe a
13.
▲
by
wasmperson
1mo ago
> (e.g. closing a file), there's generally not much you can do anyway If closing a file fails then you treat it the same as how you would treat a write failure: int err = 1; FILE *f = fopen("whatever.txt", "w&qu
14.
▲
by
wasmperson
1mo ago
> Typically a harbour doesn’t have one razor-thin path of traversable water. Instead there’s a clear pathway that you shouldn’t stray too far away from. The Moire system will give steering advice even if you’re in a safe area, but slight
15.
▲
by
wasmperson
1mo ago
> lambda expressions can only be passed to template functions > there is no way to explicitly refer to the compiler-generated name for the lambda type. "Voldemort" types. While intellectually I get the explanation for why C
16.
▲
by
wasmperson
1mo ago
> Array accesses take an extra instruction? Either you're in a tight loop walking a tiny array and you don't do the full offset calculation per step, or you're walking over an array in RAM and you're bottlenecked by t
17.
▲
by
wasmperson
1mo ago
> ... effects on past and future astronauts traveling to moon and mars ... wouldn't even survive the journey itself with current technology ... It's hard to tell given your phrasing but it almost sounds like you're insinua
18.
▲
by
wasmperson
1mo ago
> Lambdas are just anonymous nested functions. The important feature of lambdas is that they are expressions, not that they lack a name. The advantage of function expressions is you can write the body of the function exactly at the plac
19.
▲
by
wasmperson
1mo ago
Adding to the list of random examples: DuckDuckGo's AI answer box shifts the entire page down once the text is done generating, which happens some unpredictable time after the page has finished loading. The size of the downward shift
20.
▲
by
wasmperson
1mo ago
> performance - which is basically the main reason to use an Arena I'd argue the main reason Zig/C programmers use arenas is for correctness, not performance. You might think of arenas as a performance thing if you consider th
21.
▲
by
wasmperson
1mo ago
All of my "arenas" have an additional fixed-length list of function pointers that they call in sequence before resetting/de-allocating the memory. That way they can manage any form of memory (or non-memory resource) you want
22.
▲
by
wasmperson
1mo ago
I'm curious about how many test with a screen reader even among those who do claim to care about accessibility. Most advice online around accessibility is about using alt attributes and semantic html tags or whatever, not testing yo
23.
▲
by
wasmperson
1mo ago
> Those are all RPC mechanisms, not an ABI I'm not sure about the others, but COM is an ABI. There's a bunch of stuff surrounding it that is RPC-like but the core specification is just binary layouts and calling conventions.
24.
▲
by
wasmperson
1mo ago
> Then C# came and said It's worse than that. The WASM GC standards team was warned in advance that the proposal wouldn't work for .NET, and they moved forward with it anyway: https://github.com/WebAssembly
25.
▲
by
wasmperson
1mo ago
> How does this work with a monorepo with hundreds of teams around the globe? If you break the trunk, that means no other teams can release If you break trunk you just fix it. If a release needs to happen urgently and trunk is broken th
26.
▲
by
wasmperson
1mo ago
> I don’t understand how this would work. It's not all that strange: it's basically how version control worked before everybody switched to git. Anybody still on SVN is basically using this exact development model. > If you
27.
▲
by
wasmperson
1mo ago
I have no way of knowing whether other people are conscious except by observing their behavior. Similarly, I have no way of knowing whether a machine is conscious except by observing its behavior. If something is outwardly indistinguishab
28.
▲
by
wasmperson
1mo ago
There are several reasons someone might prefer to use websites that work without JS: - The page will load noticeably faster (and likely be faster in a number of other ways). - The semantics are more predictable (buttons, links, scrolling, t
29.
▲
by
wasmperson
1mo ago
I don't know whether LLMs pass the test as Turing originally worded it, but I always interpreted the success condition to be "is indistinguishable from a human" rather than "can trick someone into thinking it's huma
30.
▲
by
wasmperson
1mo ago
Alternatively: don't worry about keeping trunk "green" at all. Have a second branch called "stable" or something that auto-fast-forwards to latest trunk whenever trunk is green. Checkout stable, push new changes t
More ›