cmiller__ Profile Banner
Caleb Miller Profile
Caleb Miller

@cmiller__

Followers
332
Following
3K
Media
125
Statuses
1K

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

Joined December 2015
Don't wanna be here? Send us removal request.
@cmiller__
Caleb Miller
5 years
Excited to announce a project I've been working on in spare time for the last year! A fully 3D, physics based firework sim that runs almost entirely on the GPU via WebGL. It's a custom engine and has been a fun build - check out this preview (use WiFi to get HD version)
8
8
77
@cmiller__
Caleb Miller
5 days
The typical standard for ephemeral UI like dialogs and tooltips is to render the entire subtree all the time, just toggling visibility with an `open` prop. It's lazy, doesn't scale for complex UIs, and even in simpler apps, it's ignorant of slower devices. A couple alternative
Tweet media one
Tweet media two
Tweet media three
0
0
1
@cmiller__
Caleb Miller
15 days
Scroll, focus, and text selection are still annoying when building UIs, because they're fundamentally imperative operations. In React, this often means tracking a ref to an underlying DOM element and calling native methods on it within event handlers or even effects. You can
Tweet media one
0
0
0
@cmiller__
Caleb Miller
16 days
I see too many people prompt LLMs like the first example, as if it can read your mind. It's tempting to be lazy with these tools, but you need to be intentional. The second example is the way to do it – think through details, edge cases, and lay it out clearly. Not only does
Tweet media one
0
0
0
@cmiller__
Caleb Miller
24 days
This page contains a to-do app in react that syncs to localstorage. It's popular enough it shows up ~10^29 times.
@cmiller__
Caleb Miller
24 days
Not sure why everyone is writing code with AI, the library of babel already has the perfect implementation for your problem.
0
0
2
@cmiller__
Caleb Miller
24 days
Find your next app:
0
0
0
@cmiller__
Caleb Miller
24 days
It's base-29 encoded, but that's the easy part.
1
0
0
@cmiller__
Caleb Miller
24 days
Not sure why everyone is writing code with AI, the library of babel already has the perfect implementation for your problem.
1
0
1
@cmiller__
Caleb Miller
27 days
Really good engineers care very deeply about what they do. This is what leads to truly exceptional things. It's not only skill, but also caring about the craft more than most.
0
0
1
@cmiller__
Caleb Miller
27 days
Lots of liquid glass criticism (of screen captures) focusing on the "phantom motion" the refraction effects add. I suspect this is a non-issue when you're directly controlling the UI. Like feeling comfortable driving a car, but getting car sick in the passenger seat.
0
0
2
@cmiller__
Caleb Miller
30 days
Tried using Codex. Gave it a very easy task on a single file and it completely fumbled it. Tried again and it spent 30 minutes working, only to delete code it never should've touched. Cool concept, but I could never trust this for multi-file refactors etc.
1
0
1
@cmiller__
Caleb Miller
1 month
"Dad, what's enshittification?". Well, it's like how Samsung just slapped this basic rounded corner on the edge glow, instead of matching the C2-continuous squircle of the physical screen. Apple never would've allowed this. a decade ago.
Tweet media one
0
0
3
@cmiller__
Caleb Miller
1 month
Tried finding a spreadsheet containing "some text" in a google drive folder. Asked Gemini, it said the text doesn't exist and shared irrelevant files instead, twice. Typed the text in the search bar and found it instantly. AI can be impressive, but too often it's a distraction.
0
0
2
@cmiller__
Caleb Miller
1 month
I'm writing some docs and wanted to provide React and Vue integration examples for my audience. I expected Vue to be simple, but quickly realized I had to pick amongst a few ways of doing things, and include a note about the approach shown. The details got tricky, and I even made.
0
0
0
@cmiller__
Caleb Miller
1 month
What happened to Vue? I feel like it used to be the simple, approachable UI library. Now it's grown complex, and worse, it has multiple competing syntaxes. If you're picking a library for a new project today, I'm not sure why you'd pick Vue over React or Svelte.
1
0
1
@cmiller__
Caleb Miller
1 month
New, seemingly "world changing" tech adoption is always much slower than the timelines hyped by the people selling it. Corp/gov gears turn slowly.
@ThePrimeagen
ThePrimeagen
1 month
@thdxr We all laughed about how Cobol is still used a bunch, soap still is out there, Java 1.8 is still kicking, and then immediately have amnesia and think the corporate/gov world will just turn on a dime.
0
0
0
@cmiller__
Caleb Miller
2 months
RT @fakematthewbern: I’m hiring for my game development company . If you have exceptional ability and like video games lmk!.
0
2
0
@cmiller__
Caleb Miller
2 months
Reinvent the wheel. Obsess over things. Learn the hard way. That's the path to mastery.
0
0
1
@cmiller__
Caleb Miller
2 months
Now that em dashes are a mainstream signal of AI generated content, they might be dead. Time for the en dash to shine! You still get to flex typographically while flying under normie radar by looking similar enough to a hyphen.
0
0
0
@cmiller__
Caleb Miller
2 months
RT @SebAaltonen: @gfodor That's how many programmers see real-time. They think in milliseconds, not nanoseconds. In gamedev a millisecond i….
0
2
0
@cmiller__
Caleb Miller
2 months
Reservoir sampling is a neat trick! Sam here put together an awesome interactive essay about it.
@samwhoo
Sam Rose
2 months
✨ New samwho visual essay o'clock! ��. Reservoir sampling is one of my favourite algorithms. It allows you to sample from a set without knowing the size of that set. I assume no prior knowledge, and use no math notation. Just beautiful visuals. Let me know what you think! ❤️
0
0
1