Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simonask
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
151.
▲
by
simonask
5mo ago
Hey thanks for your work, I’m really enjoying Ptyxis on Arch.
152.
▲
by
simonask
5mo ago
Writing shaders is materially different from writing CUDA kernels, at least for now. Shaders are simultaneously higher and lower level, and have a lot of idiosyncrasies as a result of being designed for a specific and limited set of driver&
153.
▲
by
simonask
5mo ago
FWIW, Rust’s memory model is more or less completely identical to C++’s, by design. Atomics work the same, there’s provenance, and so on. Whether it is a convenient language for GPU programming probably remains to be seen, but I definitely
154.
▲
by
simonask
5mo ago
A significant reason is to learn. I’ve written a few myself, and it taught me a lot about why the limitations exist in other languages, but also just how things actually work. It’s a great exercise, and I believe that every lifelong student
155.
▲
by
simonask
5mo ago
To add, another reason to hand-write your parser is that it gives you much, much better opportunities for adding helpful diagnostics. Grammar rules are not meaningful to your users - they don’t have the same mental model as whatever parser
156.
▲
by
simonask
5mo ago
That never stops making sense. People are trying to get things done, and will choose the fastest path, and their context is that they are constantly bombarded with popups, cookie banners, two-factor prompts, captchas, and a zillion other th
157.
▲
by
simonask
5mo ago
Immigrants are called “expats” when they are white. I’m from the same country as DHH. Personally, not terribly sad that he left.
158.
▲
by
simonask
5mo ago
Isn’t this just a case of not wanting to or having the resources to maintain a fallback renderer? Supporting basically-compliant Vulkan GPUs covers probably 99.9% of developer machines. You need a pretty big user base to make it make sense
159.
▲
by
simonask
5mo ago
Hierarchy is “Western” now?
160.
▲
by
simonask
5mo ago
In the same vein, it’s reasonable to take a foreigner’s view with a grain of salt. For all its impressive progress, China doesn’t show off its problems. The “West” had the same problem many times during the first Cold War, where things in t
161.
▲
by
simonask
5mo ago
Thanks. It’s wild to see people here express this as “generosity” when they are just covering a few months of what is in every developed nation considered absolute baseline, for life, regardless of employment status. Americans are not remot
162.
▲
by
simonask
5mo ago
That’s one explanation. The other explanation is that young people feel powerless to change anything, and that they are hooked against their will on deliberately addictive ad delivery platforms. The more alarming conclusion here happens to
163.
▲
by
simonask
5mo ago
A looooot of assumptions here. We have yet to see any of these brave new ideas actually work. Therapy has never been more available, yet mental health is through the basement. I’m also not seeing any evidence that young people are the drivi
164.
▲
by
simonask
5mo ago
I agree that `async` and other “effects” (we could also mention const, unsafe, etc.) are not very composable in present-day Rust. I will note, though, that this particular example (iterating over a list asynchronously) is actually where you
165.
▲
by
simonask
5mo ago
Sweden and Denmark fought for centuries. Sometimes over Norway, sometimes over other areas, mostly over petty squabbles. This is not a thing that affect current relations between the countries in any way, and hasn’t since Norway’s (deserved
166.
▲
by
simonask
5mo ago
Does it, though? Whether your function has the `async` keyword attached or has a function argument of type `IO` doesn't really change anything substantial. The whole "function color" argument seems pretty overblown to me. You
167.
▲
by
simonask
5mo ago
Yeah, but I will point out that Sweden, Norway, and Denmark are also countries with incredibly similar political cultures, economic systems, societal norms, cultural values, and so on. I wouldn’t be surprised if the culture shock between DP
168.
▲
by
simonask
5mo ago
Machine translations are so easy to spot for exactly the same reasons you point out. Machine English is generally much more off-putting than English with a few mistakes, so I don’t think you need to be so nervous.
169.
▲
by
simonask
5mo ago
I know that, but none of that makes the compiler output non-deterministic. Determinism does not mean “easy to predict”, it just means “predictable”.
170.
▲
by
simonask
5mo ago
Encoding is a way, way less risky thing to be doing compared to decoding.
171.
▲
by
simonask
5mo ago
What in the world do you mean by “non-deterministic”? C compilers, Rust compilers, and assemblers are all deterministic.
172.
▲
by
simonask
5mo ago
Yes, but lives in Asgård.
173.
▲
by
simonask
5mo ago
Yeah, I share your fascination. My understanding is that Old English vocabulary mostly predates Viking invasion, but even then the colonizers would have a large shared vocabulary with (non-Celtic) British natives, who would be the descendan
174.
▲
by
simonask
5mo ago
There's actually nine: - Vanaheim, home of the Vanir, a group of gods associated with fertility. - Asgård, home of the Aesir, the big-name gods (Thor, Odin, Freya, etc.). - Jötunheim, home of the Giants. - Alfheim, home of the elves. -
175.
▲
by
simonask
5mo ago
Thanks, came to the comments for this! Reading Old English as a Scandinavian is always interesting, because if you squint hard enough, you can easily see how the languages are so deeply related. So many modern Scandinavian words have what s
176.
▲
by
simonask
5mo ago
Just to note, a throwing constructor is “just as good” as static factory method, provided you want to use exceptions for validation errors. Which you shouldn’t, but from the perspective of testing types as proof, it’s just as good.
177.
▲
by
simonask
5mo ago
Not gonna lie, I kinda hate this attitude. There’s tons of extensions for Zed, but you’re asking for particular extension hooks that don’t exist yet. I expect the reason they don’t is that Zed sandboxes extensions quite aggressively (they’r
178.
▲
by
simonask
5mo ago
Congratulations! I’ve been very happy with Zed for the past year or so. I’m hoping the roadmap contains support for even more things that extensions can do, such as rendering images or Markdown in-editor.
179.
▲
by
simonask
5mo ago
Which sounds a lot like the worst of all worlds.
180.
▲
by
simonask
5mo ago
Depending on the shape of the graph (arbitrarily connected, DAG, etc.), it just boils down to whatever convenient way you have of storing lists. Node data in one list. Indices of node parents in another list of the same length. If you need
More ›