Ashu

1.7K posts

Ashu

Ashu

@infradotsh

Senior Software Engineer Building frugal systems for the cloud (go/rs on k8s) vim 4ever | mac (yabai) + arch btw

Katılım Nisan 2015
269 Takip Edilen56 Takipçiler
Ashu
Ashu@infradotsh·
The psychosis has to end 😭
Mitchell Hashimoto@mitchellh

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.

English
0
0
0
11
Ashu
Ashu@infradotsh·
@zack_overflow zig and rust are completely separate languages, they had to implement the zig allocators and pointers first, only then could they mechanically transalate That 1M line codebase is 💯 bloat, even if it works
English
0
0
0
133
Pulkit🇮🇳
Pulkit🇮🇳@pulkit5Dx·
Found a crazy cab hack 😭 This app connects your OLA, Uber & Rapido accounts, compares fares + ETA instantly and lets you book the cheapest ride in one tap. Best feature? “Smart Pickup” tells you if walking a little can lower your fare, Loyalty to cab apps is officially dead.
English
165
353
4.2K
7.2M
Ashu
Ashu@infradotsh·
@ThePrimeagen Have all the fake it till you make it folks pivoted to just being crazy at this point?
English
0
0
1
525
Ashu
Ashu@infradotsh·
@housecor Have all the fake it till you make it folks pivoted to just being crazy at this point?
English
0
0
0
33
Cory House
Cory House@housecor·
Controversial opinion in my talk yesterday: Editor doesn't matter anymore. It's just a diff viewer.
Cory House tweet media
English
102
14
201
274.1K
Ashu
Ashu@infradotsh·
@vaxryy Now that’s a really good point xD
English
0
0
0
23
vaxry
vaxry@vaxryy·
is hyprland the reason I dont have a girlfriend or is the lack of a girlfriend the reason hyprland exists?
English
64
11
742
16.9K
Kaito
Kaito@KaiXCreator·
NEVER BUY A 16GB RAM LAPTOP IN 2026 NEVER BUY A 16GB RAM LAPTOP IN 2026 NEVER BUY A 16GB RAM LAPTOP IN 2026 NEVER BUY A 16GB RAM LAPTOP IN 2026 NEVER BUY A 16GB RAM LAPTOP IN 2026 NEVER BUY A 16GB RAM LAPTOP IN 2026 NEVER BUY A 16GB RAM LAPTOP IN 2026 I repeat: never ever make that mistake you’ll regret it sooner than you think
English
460
72
2.1K
1M
Ashu
Ashu@infradotsh·
@yadavji_codes Software engineers would figure out better ways
GIF
English
0
0
0
12
Sudhanshu
Sudhanshu@yadavji_codes·
software engineers before vs after AI agents
Sudhanshu tweet mediaSudhanshu tweet media
English
66
4
293
22.8K
Deep
Deep@NehraWorkss·
Which programming language is this?
Deep tweet media
English
92
6
114
15.4K
Ashu
Ashu@infradotsh·
Is it just me or is @firefox getting a lot buggier recently?
English
0
0
0
1
DROID
DROID@droidbuilds·
ThinkPad users, what's the green button for? Wrong answers only.
DROID tweet media
English
96
4
112
8.8K
Ashu
Ashu@infradotsh·
@arpit_bhayani Agreed, things are getting out of hand for sure
English
0
0
0
10
Arpit Bhayani
Arpit Bhayani@arpit_bhayani·
The industry has gone completely nuts. Use tokens to generate AI code and documentation slop. Then use even more tokens to understand and review that slop. Then judge engineers by token usage instead of how empathetic and clear their docs and code actually are, and completely neglect human comprehension. Utter nonsense.
English
208
475
5.4K
192K
Abhishek Kalita
Abhishek Kalita@trying_to_exits·
Do you remember the name of your first laptop ?
Abhishek Kalita tweet media
English
79
5
154
6.4K
bashbunni
bashbunni@sudobunni·
if you genuinely enjoy the craft of coding, you should be on mastodon
English
71
12
682
56.5K
Melkey
Melkey@MelkeyDev·
Thinking of bringing back my streams. But I don't want to be like every other tech influencer dweeb who streams. It's hard to think of good ways to make worthwhile streaming content.
English
14
0
65
7.9K
Piyush
Piyush@piyush784066·
What do you prefer? Coding with music or Coding in silence
Piyush tweet mediaPiyush tweet media
English
83
8
242
8.7K
Ashu
Ashu@infradotsh·
@sudobunni It really is.. especially the free challenge weeks
English
0
0
0
33
bashbunni
bashbunni@sudobunni·
"just build" is easier said than done (or is it?)
English
17
23
526
18.5K