itsfuntobeobjective

622 posts

itsfuntobeobjective

itsfuntobeobjective

@fun2bobjective

"Unhandled JS Exception: TypeError: 'undefined' is not an object (evaluating 'props.description.toLowercase') in responsive-profile.jsx:18"

Sumali Temmuz 2023
1.3K Sinusundan1 Mga Tagasunod
Yoav
Yoav@YoavCodes·
90% of my week this week is covered by NDAs. Ask me anything
English
3
0
5
437
Uncle Bob Martin
Uncle Bob Martin@unclebobmartin·
Always remember that you are the engineer. Useful as the AI’s are, they are tools, and they are not accountable.
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
10
22
270
35.4K
Dmitrii Kovanikov
Dmitrii Kovanikov@ChShersh·
I still believe Rust and C++ devs can be friends
Dmitrii Kovanikov tweet media
English
25
7
287
18K
nunomaduro
nunomaduro@enunomaduro·
introducing laravel moat as an open source maintainer, recent supply chain attacks in the ecosystem made me want a simple cli to audit the security of my GitHub organizations and repositories built in Rust. for any open source project on GitHub
English
24
102
588
78.8K
Gary Bernhardt
Gary Bernhardt@garybernhardt·
stare into the furnace and you will understand the computer
English
2
3
21
2.2K
Gary Bernhardt
Gary Bernhardt@garybernhardt·
Agents are tools but they're more like fire than a wrench. Have you ever really looked at a furnace? The job of 90% of that mass is to contain the fuel/fire, and to stop it when something goes wrong. Agents need so much containment.
English
17
35
311
21.7K
Yoav
Yoav@YoavCodes·
In other news Electrobun just passed 12k stars Looking forward to 2.0 that will add the same modular capabilities it has for views (system webview, pinned CEF, or raw GPU) to the main process (Bun, Deno, Node, Rust, Zig, Go), and a new runtime cottontail github.com/blackboardsh/e…
Yoav tweet media
English
4
5
41
5.4K
LettowSchimanski
LettowSchimanski@LettowSchi67312·
@oxcrowx Ginger Bill is a Wirth fanboy, i wonder why he didnt make the syntax more like Pascal/modula, so this accusation would not be made... i guess he is anglo and wirth style is too structured continental germanic engineering lol
English
1
0
1
510
oxcrow
oxcrow@oxcrowx·
Johnathan once got angry on stream and said certain languages were allegedly stealing from Jai. Some fans of Jai suspect that he was talking of Zig and Odin. Because of that he felt discouraged to work on Jai. He even slightly implied of suing them. ⚠️ I have no views on this.
GIF
Jason@_dtx___

@oxcrowx He ripped off Jai and is insecure about it

English
52
2
104
157.4K
oxcrow
oxcrow@oxcrowx·
Odin doesn't like short easy to type keywords like "try", since it is often associated with exception throws. So, they use "or_return". "Joy of Programming" is when we prevent users from typing short keywords like "try", and instead make them type more, and more, and even more.
oxcrow tweet media
English
14
1
45
10.6K
std dev
std dev@subproject_22·
Picking new name
English
41
0
12
40K
Ryan Carniato
Ryan Carniato@RyanCarniato·
@subproject_22 lol.. What if I had called SolidJS, better-react... Establish your own identity. It is better in the long run. It might be more difficult at first, but if you have something worth doing, it should stand on its own. Otherwise it is basically admitting you don't.
English
8
0
563
19.4K
itsfuntobeobjective
itsfuntobeobjective@fun2bobjective·
@unclebobmartin Please address the nondeterministic nature of an llm writing code/test harness that is illegible to a human, introducing subtle bugs (e.g. if it introduces special exceptional cases). code output then resembles bug gambling(unless senior devs review each line of code). Thoughts?
English
2
0
4
916
Uncle Bob Martin
Uncle Bob Martin@unclebobmartin·
I get how uncomfortable it feels to disengage from the syntax, from the sequence, selection, and iteration of code, from the dopamine hit of getting a complicated function to execute properly. I get it. I've been coding for longer than most of you have been alive -- I get it. But the bar has been raised. And if I, someone who has been coding for more than six decades, can clear that bar, you should be able to clear it too. And fear not, I've found plenty of joy on the topside of that bar. It just take a leap...
English
75
83
1.1K
55.5K
Matteo Collina
Matteo Collina@matteocollina·
Bun rewrote itself from Zig to Rust. AI did most of the work. 98% of the test suite passed on the first run. The question isn't hypothetical anymore. Should we rewrite Node.js in Rust?
Matteo Collina tweet media
English
119
31
681
104.6K
Christoph Nakazawa
Christoph Nakazawa@cnakazawa·
fate 1.0: The first full Async React Metaframework New in 1.0: * Zero-Config Live Views via SSE * Drizzle Support * "Native" HTTP support (no tRPC) * Void Router * Vite plugin * Clientside Garbage Collection * Performance & scalability improvements fate.technology/posts/fate-1.0
English
30
57
563
105.9K
Uncle Bob Martin
Uncle Bob Martin@unclebobmartin·
@0xlac @theo Get the second edition and study if even harder than you studied the first edition.
English
3
1
133
10.8K
Uncle Bob Martin
Uncle Bob Martin@unclebobmartin·
I just cancelled my Claude account. I've been using codex, and haven't used Claude in several weeks.
English
165
91
2.2K
163.5K
Yoav
Yoav@YoavCodes·
Now that Bun is dead would people rather Electrobun:
English
16
0
8
3.4K