Australia
Joined October 2013
I've got an agent in a loop optimizing a renderer with the goal to minimize frame times (and tests to measure). It got times down from 88ms to 2ms and allocations down from ~150K to 500. Sounds good, right? Wrong. This is exactly why agent psychosis is a big fucking problem. As an experiment, I rewrote the Ghostty core render state in Go, with access to identically laid out data structures as Ghostty and the exact same validation tests. I made a purposely naive renderer (simple, correct, but slow). 88ms per frame with 150,000 allocations (horrendous, lol)! I then kickstarted a Ralph loop to bring the frame times down. I told it it can't modify input data structures or the public API or tests (they're correct), but it can do anything else it wants. It got to work. It has worked for about 4 hours. I've spent around $350 on this experiment so far. The results? 88ms => 1.5ms 150K allocs => ~500 allocs Incredible right? Nope. My hand-written renderer I ported has frame times (same benchmark) of ~20us (0.020ms) and 0 allocations in the update path. This is the problem with psychosis and lacking systems understanding. If you don't understand the system, you're going to accept that this is an incredible result. If you understand the system, you'll see better solutions immediately and can do roughly 75x better on throughput. The people who blindly trust agent output are in the former camp. They're sheeple, overdrinking from a fountain of mediocrity. Standard disclaimer: I use AI all the time. I like AI. The point I'm making is to not blindly accept results. Think. Analyze. Learn.
336
1,184
264
10,633
999,199
Australia is clearly the greatest country on earth
32
7
6
241
19,687
Finally did it. I wrote down how to build a code-editing agent. In 315 lines of code. And yes, it works. Very well. There is no moat.
122
588
87
7,803
979,048
It’s 2027. Every web library is now part of @tan_stack. Nothing else survived. We spent so long asking “tanstack start wen?” we forgot to ask “tanstack stop wen?”
12
6
1
176
10,335
simple
53
17
3
500
48,008
For those who haven't seen, I kicked off a hackathon today for my community. Be sure to join now if you want a chance to win some prize money. Here is the video describing the hackathon event. youtu.be/lBR8o1JpSrc
2
4
22
1,516
🚨 BIG ANNOUNCEMENT 🚨 I am hosting a charity event! The charity is Girls Who Code and it is a raffle based charity. 3 winners will be selected to receive SIGNED copies of Writing an Interpreter in Go, Writing a Compiler In Go & The Pragmatic Programmer. I hope you all take a chance to buy some tickets. Big shout out to the authors of these incredible books for making this possible. Winners will be announced next Saturday, July 15th on my stream. It is LIVE NOW + More information can be found here: melkey.betterworld.org/givea…
18
46
10
180
96,853
New video: this one covers three of the most common questions we get on Discord: - How to call a @trpcio procedure from another procedure - How to use gSSP with tRPC - How to organize a bigger app youtube.com/watch?v=G2ZzmgSh…
6
11
1
64
14,534
We are live for 90 minutes! Come hang out and learn all about @trpcio from core members!
1
2
11
5,014
THE FIRST EVER T3 AWARDS ARE LIVE NOW COME THRU twitch.tv/theo #t3awards
3
39
1
113
31,116
Tom retweeted
MrBeast
@MrBeast26 Sep 2022
Replying to @MagnusCarlsen
They should do a tsa body scan before a match to check for anal beads
192
379
101
33,011
Tom retweeted
ThePrimeagen
@ThePrimeagen13 Sep 2022
Big Announcement The Algorithms Course is going to free for _everyone_ frontendmasters.com/courses/… No membership? No problem. Extremely kind of Frontend Masters to take their material and make it free
126
938
102
4,212
Some very basic and important difference between GitHub And Git 👇
51
905
20
4,638
Another day another instance of me begging y'all to please use React Query for stuff like this. You're writing 3x the code and throwing away all your errors and loading states for no reason.
Here's a React hook that checks if the user's device has a rear facing camera. Technique: Use the browser's getUserMedia API to check if facingMode="environment", which means a camera exists that faces away from the user. 😎 (Use the image's alt tag to copy the actual code).
32
95
18
1,041
❌ Still using [].join(', ') for your strings? ✅ Use Intl.ListFormat instead 👇 developer.mozilla.org/en-US/…
45
880
88
4,895