Caleb Miller (@cmiller__) header
Caleb Miller (@cmiller__) profile picture

Graphics programmer and general UI guy. Addicted to JavaScript and caffeine. Pretty good at plugging in USB Type-A cables.

Joined December 2015
Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)Photo by Caleb Miller (@cmiller__)
Had opus 5.5 write some simple shader code for a billboard sprite. It added a branch that was completely unnecessary, baked in a pow() with an exponent of 4.0, and when the billboard fades out at glancing angles, it kept rendering the mesh at opacity 0 instead of culling it.
2
1
3
139
Blanket "we're past reading the code" statements are so silly. There was so much optimization potential left behind. It also argued with me that culling the mesh at a glancing angle wasn't a big deal because the pixel footprint was only 17% of the full size. That's still overdraw with blending, and the glancing angle makes the triangles thin, so quad overdraw actually makes the figure worse. I pointed this out and it agreed the optimization was less trivial than it originally stated. Lol
18
Grok Bot reports it has 8 Intel Xeon CPU cores @ 2.4 GHz, 15.6 GiB of RAM, and a 128 GiB disk. A speed test showed 420 Mbps down / 140 Mbps up. Overall, not too shabby for a VPS!
50
At least 27.2 fixed these UI bugs
Crazy bug! In Finder on MacOS 27.0.1 (maybe older versions too): - switch to list view - double-click a header It attempts to open the header as a folder, failing with a permissions alert. After clicking OK, the header remains selected as if it's a file. What are they doing??
43
Just updated to 27.2, and curl is still vulnerable (without custom mitigations applied). Seems like this should be a bigger priority. Be safe out there.
So Apple still hasn't shipped an official update to the macOS built-in CLI CA bundle? If you aren't overriding /etc/ssl/cert.pem, then curl still accepts the bad certs? Seems crazy that they're not on top of this...
52
Crazy bug! In Finder on MacOS 27.0.1 (maybe older versions too): - switch to list view - double-click a header It attempts to open the header as a folder, failing with a permissions alert. After clicking OK, the header remains selected as if it's a file. What are they doing??
1
1
120
The first header also overlaps the content, this only started happening after updating to 27.0.1. Embarrassing... you'd think I was running a beta build, but I am not.
38
So Apple still hasn't shipped an official update to the macOS built-in CLI CA bundle? If you aren't overriding /etc/ssl/cert.pem, then curl still accepts the bad certs? Seems crazy that they're not on top of this...
1
2
103
Another incredible image, and what a flex – focus stacking when there's motion is hard mode.
A printer printing onto paper.
1
26
I've always loved focus stacked photography, but this is next level. Incredible!
A pair of scissors cutting a single hair.
1
44
I won't truly feel comfortable delegating work to AI until we have the current frontier-level running 100% locally. Right now, cloud-based AI is the ultimate dependency. When building software, I've always minimized dependencies. You could outsource so many things to libraries, but you gave up control, flexibility, and some security. Sometimes it was worth it, but I could often do better. Now it's easier than ever to build dependency-free systems with AI, but if you go all-in, you have the ultimate dependency: you can no longer work on the project yourself and keep your sanity. I've built some small personal projects with AI and on the outside it's absolutely incredible, but every time I "open the hood", I find a fractal of questionable decisions. The only way to reasonably continue development is to keep using AI. But relying entirely on these companies feels so fragile and I hate it. I get chills every time anthropic refuses a request. Weird times.
2
65
Naming things well is still hard. Language models haven't fully alleviated this yet.
1
2
66
TIL typescript is this level of broken ...and it's intentional, documented behavior github.com/microsoft/TypeScr…
I think the models could design something better than Typescript TS's type system is unsound, look at how easy it is to have a `string[]` actually contain `number`! Type theory is a very formally verifiable domain, I would expect a model to formally verify the type system
1
37
This exists in strict mode too. There's some interesting logic in this decision to trade correctness for convenience, but that's what it is. Some other languages seem to have better solutions.
15
You need to be following @vanilagy. Just oozing expertise, craftsmanship, and innovation. You'll also frequently see discussion of low-level technical tradeoffs, which is so refreshing in this era.
I think I may have created a near-perfect video decoding orchestrator that provides instant and insanely smooth seeking both forwards and backwards, across any time scales and clip boundaries. I've never seen it be this smooth, even in native apps 👀
1
8
309
I would love to see native-res rendering and MSAA come back by shading in texture space and temporally amortizing the work there. I think this is what @mcnabbd has been experimenting with as well.
If I’m reading this right: cached texture space shading with real-time texture compression for 4:1 memory savings. This is the smarter way to do temporal amortization of shading. One could then go back to MSAA for clean pixel quality.
1
4
332
Caleb Miller retweeted
Here's how that same benchmark looks like at 1080p, using pure Mediabunny instead of Remotion. It's not surprising that the web is fast here: both the rendering and the encoding happens fully on the GPU. I'm not saying this to make fframes look bad, and I appreciate any effort that aims for great performance. I am posting it to make this clear: You do not need to go native to achieve incredible video rendering and encoding performance. The web is extremely powerful, and I want people to be aware of that and to make use of it.
unavailable
20
15
4
225
13,125
Remotion is awesome. I wanted a code-based video editor, and now I know how I'm making video content going forward.
2
46
I'm still having fun playing with this. Radiance cascades + lots of physics objects is just awesome. Check it out yourself! cmiller.tech/rc-pegboard/
1
1
5
300