Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
raphlinus
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
raphlinus
27d ago
I have a Fruit Jam and several other board (including the Olimex). It's great fun and I'm enjoying programming it. The biggest delight is that it's actually possible to reason about performance, extremely difficult on larger
2.
▲
by
raphlinus
1mo ago
That was my first attempt at a PhD thesis. The one that actually got me over the line was the second attempt, on spirals and splines. Of course this was all years ago.
3.
▲
by
raphlinus
1mo ago
Elastica curves have only three parameters, compared with four for cubic Béziers, Spiro curves, and the new hyperbezier. The easiest way to understand that limitation is to consider the parallel curve of an Euler spiral. That has a built-in
4.
▲
by
raphlinus
1mo ago
This is future work, but I expect it to go fairly well. One encouraging sign is that there are parts of the parameter space where you do get an exact solution: circular arcs and circle involute. Another encouraging sign is that it's ea
5.
▲
by
raphlinus
1mo ago
Super good questions. First, for hair rendering you've got a 3D trajectory, which Béziers can handle just fine, but I'm not sure about these spirals. I do have a chapter in my thesis and there has been a bit of followup from other
6.
▲
by
raphlinus
1mo ago
There are two separate questions here. One is how much moving control points creates expected changes in the same direction. Béziers nail this, as the position of a point at t is a linear combination of the control points, with the Bernstei
7.
▲
by
raphlinus
1mo ago
I'll try to answer some of these questions. Yes, there are regions of the parameter space where moving a control point has vanishing effect on the curve shape. I'm not thrilled about this and have explored alternatives, but this i
8.
▲
by
raphlinus
1mo ago
As a clarification, the hyperbezier curve can do a loop, but I deliberately chose not to make that accessible in the parameter mapping. I couldn't figure out how to do it with any reasonable continuity. It's possible to flip fro
9.
▲
by
raphlinus
1mo ago
Not yet.
10.
▲
by
raphlinus
1mo ago
This is basically the goal of fearless_simd, but of course achieving the same level of maturity will take time.
11.
▲
The mathematical beauty of hyperbezier curves
(linebender.org)
202 points
by
raphlinus
1mo ago
|
43 comments
12.
▲
by
raphlinus
1mo ago
I was curious about this and had a look. The code doesn't look much better than what a good C compiler might produce, and I found quite a few opportunities to optimize. It doesn't look much at all like the 8088 code I wrote when I
13.
▲
by
raphlinus
1mo ago
If you're interested in HDMI audio, I have code for that lying around. The current best Rust source is in [1], but I also have a local branch with hand-tuned asm for the terc4 encoding. It's maybe 25% faster, which might be signif
14.
▲
by
raphlinus
2mo ago
Entirely fair, $1 is just the chip, not the board. No question the ESP32-S3 is incredibly good value.
15.
▲
by
raphlinus
2mo ago
If you want to do this at the $1 price point, you can on RP2350, albeit with some limitations. In particular, it maxes out at full speed (12Mbps). The trick is to use the on-chip USB peripheral for one, and connect the other to GPIO pins ba
16.
▲
by
raphlinus
2mo ago
Actually it's not true for the hyperreals either, though this is a common misconception. It's extremely easy for me to believe that an llm would produce a "proof" and that people would fall for it.
17.
▲
by
raphlinus
2mo ago
There are two Sams here, the Microsoft one and the C64 one. I don't believe there's any connection between the two other than the name. According to [1], the weight of a modern runnable version is around 39k. The ratio of how good
18.
▲
by
raphlinus
2mo ago
The font is Roboto Mono, not Consolas. There's something else a lot stranger going on, though. It is a proper monospace font, but the typesetting on the shirt is not. There's some kerning going on (I noticed it especially in the
19.
▲
by
raphlinus
3mo ago
I had a lot of these books as a kid. I'm not even 100% why, but my dad glommed on to the idea that they were of high quality, and also quite inexpensive. Probably my favorite was "Higher Mathematics for Beginners" by Yakov Ze
20.
▲
by
raphlinus
3mo ago
Greg Kroah-Hartman has given a talk entitled "Untrusted data in Linux — How Rust is going to save us"[1] which I think is fairly optimistic about the idea that Rust will have an increasingly large role in the kernel. The total num
21.
▲
by
raphlinus
3mo ago
Jake has already mentioned how the type system enforces single-threading (using similar mechanisms as Rc in Rust), but it's not necessarily the case that read-write races from multiple threads are UB. In particular, Java allows aggress
22.
▲
by
raphlinus
3mo ago
The description of the BCE reminds me a lot of the PIO in the RP2040 and 2350 microcontrollers. From the article, BCE instructions include "Transmit Data, Receive Data, Load Timeout Register, Store Status, and Wait." To me, these
23.
▲
Smooth-Maximum, the most useful function [video]
(youtube.com)
2 points
by
raphlinus
3mo ago
|
0 comments
24.
▲
by
raphlinus
3mo ago
Also see Fast GPU bounding boxes on tree-structured scenes[1] (unpublished paper) and notes toward a blog post[2]. This is a highly tuned GPU implementation of parentheses matching. It's actually used in Vello (the classic version in w
25.
▲
by
raphlinus
3mo ago
This is plausible to me as well. A couple years ago we were trying to make dynamic memory allocation in Vello more robust and explored using async readback of a status buffer. In that case, the async task doesn't wake until the command
26.
▲
by
raphlinus
3mo ago
No, a normal person would say, "I don't know them." Silicon Valley bros, on the other hand...
27.
▲
by
raphlinus
3mo ago
Quite a few Ozzies who were in the US (especially Bay Area) and have decided to move back, but so far no other people with no real connection.
28.
▲
by
raphlinus
3mo ago
I'm in Australia.
29.
▲
by
raphlinus
3mo ago
Exactly this, there's rarely a single "correct" colorspace, you make a choice based on expressive goals and constraints. For example, for gradients you almost never want linear, something like Oklab is indeed much better. The
30.
▲
by
raphlinus
3mo ago
Any time, friend. Your basic move is to set the lang metadata accurately and choose a font that does have these style differences implemented in the loca table. Best of luck and feel free to reach out if you have more specific questions.
More ›