Rust-lang Noob retweeted
What I create, I remember. What I consume, I forget.
1,045
7,365
686
54,347
1,724,802
Rust-lang Noob retweeted
8 engineering blog posts on how real companies scaled their databases: 1. Herding elephants: Lessons learned from sharding Postgres at Notion 2. Scaling Datastores at Slack with Vitess 3. MySQL High Availability at GitHub 4. Inside the Magic Pocket (Dropbox) 5. Designing Schemaless, Uber Engineering's Scalable Datastore Using MySQL 6. A Pods Architecture to Allow Shopify to Scale 7. Sharding Pinterest: How we scaled our MySQL fleet 8. How Figma's databases team lived to tell the scale Read one a week. Search the titles.
2
40
452
17,517
Rust-lang Noob retweeted
A man who wins his mornings rarely loses his decades.
3
6
19
456
Rust-lang Noob retweeted
In many software engineering environments, there’s nothing wrong with being in a state of partial understanding. In fact, in large systems a partial understanding is the best you can do.
20
34
8
490
98,300
Rust-lang Noob retweeted
Replying to @zeeg
show me software with 0 bugs and ill show you software with 0 users
158
721
153
12,113
653,715
Rust-lang Noob retweeted
I just finished talks about my software factories at two conferences. Afterwards a bunch of people came up and told me what they were surprised about. Here is a distillation of what people thought were hot takes from my two talks. First hot take: I tell everyone to slow down. Most speakers go on about how fast they're going, but I strongly believe in pacing AI outputs to human speeds. I regularly tell AI-pilled CIOs and CTOs to chill: almost nobody is _actually_ going fast with AI. Engineering still moves at engineering speeds, and business moves even slower. The ones pushing too hard are starting to see downtime for it. If you don't pace your AI to human speeds, everything starts breaking around you, even at small operations like my online video game. I only have about a dozen humans working with my factory, and only a few hundred active old-timer players in the community who get along well, and still, introducing AI has still been very rocky. My agents have, at times, overwhelmed my players with features, my accountant with emails, my merge queue with tickets, and my machines with load. Agents have pissed off my admins, resulting in name-calling, they've made messes in the game, and they've launched broken OSS without permission. The list goes on. I can get away with all this chaos because everyone involved in my operation is very forgiving. They're excited by the potential. But even so, I had to learn to slow down, real fast. And so that's what I preach. Hot take #2: Should you buy a software factory? Do you even need one? No. You probably don't need one. Factories take an extraordinary amount of upkeep. They turn into garbage mountains unless you put a frightening amount of time and tokens into curating them. I had to burn my previous five factories down since it eventually became cheaper to rewrite them than to fix them. So I'm not out there advocating for software factories or swarms just yet. If you do want one, be aware that it is a significant commitment of both money and human leadership to keep one running. Several people told me that I was the only one who stood up onstage, at either conference, and said Build, don't Buy. But my experience is that software factories grow to be highly bespoke to your domain. Mine is super tangled up with my game, and I think that's inevitable. Because the factory is not just building my product, it's supporting it too. It's a company in a box. And they're easy for Claude to build for you. Third and arguably hottest take: Next year will have a lot of human/agent and agent/agent office drama, resulting from bringing in AI employees, and it will be gloriously funny, but also frustrating. Many of you are already on this bandwagon, but everyone next year will have a personal chief-of-staff agent. Busy people, even hobbyists, will have whole entourages of helper agents. The hot take is that people will become so dependent on these little private entourages, that they'll bring them to work. Your people will talk to my people, etc. Whole protocols will emerge for private entourages negotiating work between humans, inside companies big and small. Nearly all humans will wind up having to start working with AI employees next year, and it'll be the beginning of the biggest cultural change we've seen in a hundred years. So that's the hot takes. Slow down. Only build a factory if you think you really need one. And focus on empowering yourself with your own agentic chief of staff (or team). Your entourage will define how you work with others, so start by perfecting how you work with them yourself.
202
324
107
2,952
350,725
Rust-lang Noob retweeted
The "whiteboard defense:" I should be able to pull you aside at any moment and ask you to explain any customer-facing system you've shipped. You should be able to clearly explain how it works and defend the decisions you made. This is my benchmark for responsible AI usage. I don't expect line-level familiarity with the code. I don't care if you remember the exact function name or implementation detail. You may not even know it. I don't care. But if I ask "why did you do X instead of Y?", "what happens if this actor behaves maliciously?", "what data structure did you use here and why?", or "where does this fail?" you should be able to answer confidently. For PoCs, demos, experiments, whatever: I don't care. Generate 100% of it and understand none of it. Speed over quality every time in those specific scenarios. But if you're shipping customer-facing work, you can't be shipping things you don't understand at a high level.
248
1,183
225
10,655
567,171
Rust-lang Noob retweeted
One of the most useful prompts for Claude Code is asking it to throw away the solution it just built. When a coding agent implements a complex feature, its first solution often reflects the uncertainty it encountered along the way. It might introduce unnecessary abstractions, temporary helpers, duplicated logic, or additional layers that are no longer necessary. By the time the implementation works, however, the agent has learned much more about the problem. There's a simple prompt that engineers on the Claude Code team recommend: "Knowing everything you know now, scrap this and implement the elegant solution." The idea is to give the agent another implementation pass using everything it learned during the first one. This may reveal simpler data flows, reusable existing functions, and abstractions that can be removed. The important point is that the first implementation is used to learn the problem, while the second pass tries to simplify the solution. For a safe demonstration, preserve the original implementation with Git, ask Claude to propose the simplification, and compare the diff and test results. A second pass isn't automatically better.
🤖 Made with AI
21
8
1
357
19,112
Rust-lang Noob retweeted
Replying to @valvesxyz
I like to look at claims like this in case I can improve Ghostty. I grabbed your source and immediately spotted the issue: your read loop overwrites a 64 KiB ring. Everything older is discarded unparsed per tick. You're faster because you're not actually terminal emulating. It means the number isn't a throughput number. In a kitten benchmark run at the rate you're claiming, roughly 6.6 MB arrives per 60 Hz tick and 64 KiB of it gets parsed. You're read(2)-ing 100% of the data and parsing about 1% of it. There are other minor issues (a small fixed scrollback in a preallocated ring buffer, no grapheme clustering, throwing away data like OSC 8 URIs, etc.), but the major one is simply that you're discarding ~99% of the input. For plain text, e.g. your cat benchmark, the final screen ends up looking right, but the scrollback is missing 99% of the file and each retained chunk starts mid-line. As soon as there are escape sequences in the dropped spans, your emulator is fully out of sync and invalid: a cut inside a CSI prints the parameters as text, and any SGR, mode, title, or alt-screen change in the gap is just... gone. FYI, this is why I don't like when people point at refterm as a terminal benchmark. refterm implements a TINY subset of what a terminal emulator must support, it's closer to a fast file reader, not a terminal emulator. I also don't mean any shade by this. I like to look at technology objectively to try to learn something and improve my own craft and work. So I'm sharing what I found. I modified your code very slightly to parse on every full buffer (rather than per tick). And the results are attached. Both use main commit in each repo at the time of this post. Note the graph is in log scale, the discrepancy between performance for things like Kitty images is measured in GB/s.
179
241
215
8,307
868,409
Rust-lang Noob retweeted
i'm increasingly convinced that the value of orchestrating many agents in parallel comes from going deep, not broad. you want to go deeper on a single or a few problems, so you can maximize your chances of getting great results: - best of N style races to find the best solution - adversarial review - multiple agents trying to repro a reported issue - use different models for different types of workloads to quote @mattpocockuk, "code is not cheap". this beats trying to context switch across many agents working on 10 different problems. the bottleneck is still me trying to remember and keep in my own context window what my agents work on. i think there will be ways to solve this with better ui. there's also the element of trust. the more trust you have, the higher up the perspective ladder you can go. when you have little trust, you must micromanage each and every agent. when you can let go, you can delegate more. this is exactly like managing people!
10
20
4
258
14,555
Rust-lang Noob retweeted
I can’t stress enough how little an idea matters compared to the agency of the people executing the idea. I have had the privilege of knowing and sometimes even working with some of the most successful people (by various metrics). The difference between mediocre and excellent work and outcomes is predominantly one of agency. In practice this means: they dont wait for things to happen to them they go out and make things happen for them. They don’t wait for someone else to do something, for someone to teach them, for someone to give them the path, etc. They just go out and find a way to do it. I think the single biggest superpower these people have is the realization/belief that the world around them is completely mutable. Most everything that happens is because a person made it happen. I used to tell people to look around the room you’re sitting in. Look at everything. Every noun. It almost all exists because a person willed it into existence. Nothing is stopping you from doing the same. I see people online all the time dismissing someone else’s success because “I had that idea first” or whatever. I mean… yeah? If so then the difference is… you. So a bit of a self own whenever I hear that. Number one tip: act with agency.
225
1,274
202
11,822
693,290
Rust-lang Noob retweeted
Replying to @KunleKruise
I think it will. Reading binary certainly did. Reading assembler mostly did. I expect that we will eventually not worry about code at all. For the time being I still worry about code, but I don't read it much. I manage it with tests, metrics, and spot checks.
54
20
3
555
18,246
Rust-lang Noob retweeted
Replying to @ori_pomerantz
I’m significantly older than you. I started coding in the late 60s. My current strategy is to not read any of the code written by my agents. That’s the only way I can take advantage of their productivity. What I do instead is to surround the agents with extreme constraints. Unit tests, gherkin tests, QA procedures, quality metrics, mutation testing, test coverage, and a plethora of others. In the end, I have very high confidence in the code they produce because they’ve had to run the gauntlet of all of my constraints and tests.
567
1,976
901
18,849
5,144,310
Rust-lang Noob retweeted
this is author of clean code btw. the truly elite in tech constantly challenge and reshape their own understanding of reality and thus identify and master changes in status quo. on the other hand, the midwit who poses as elite purely by imitation of what they think an elite would behave like often gatekeep and act pompous. linus torvalds, bob martin, terry tao and many names everywhere. one thing you'd find most common is how each of such experts understand and have shaped their own harnesses, workflows and everything is intricately optimised and SoTA for their needs.
33
124
14
1,451
66,107
Rust-lang Noob retweeted
It is my belief that many devs right now are not maximizing what they can do with automatic programming because they still look at the code. Doing it makes you the bottleneck. Your time is better invested in new ideas, QA, design, and asking yourself what is your goal.
269
254
130
2,708
506,436
Rust-lang Noob retweeted
"Your personal character directly affects your ability to write computer programs. The characteristics that matter most are humility, curiosity, intellectual honesty, creativity and discipline, and enlightened laziness." - Steve McConnell
9
41
2
259
15,324
Rust-lang Noob retweeted
Many are wondering "what Google saw" that caused them to revise their post-quantum cryptography transition deadline to 2029 last week. It was this: research.google/blog/safegua…
96
915
486
7,244
7,026,898
Rust-lang Noob retweeted
.@dylan522p gives a deep dive on the 3 big bottlenecks to scaling AI compute: logic, memory, and power. And walks through the economics of labs, hyperscalers, foundries, and fab equipment manufacturers. Learned a ton about every single level of the stack. 0:00:00 – Why an H100 is worth more today than 3 years ago 0:24:52 – Nvidia secured TSMC allocation early; Google is getting squeezed 0:34:34 – ASML will be the #1 constraint for AI compute scaling by 2030 0:56:06 – Can’t we just use TSMC’s older fabs? 1:05:56 – When will China outscale the West in semis? 1:16:20 – The enormous incoming memory crunch 1:42:53 – Scaling power in the US will not be a problem 1:55:03 – Space GPUs aren't happening this decade 2:14:26 – Why aren’t more hedge funds making the AGI trade? 2:18:49 – Will TSMC kick Apple out from N2? 2:24:35 – Robots and Taiwan risk Look up Dwarkesh Podcast on YouTube, Apple Podcasts, or Spotify. Enjoy!
84
177
61
1,645
491,025
Rust-lang Noob retweeted
I'm Boris and I created Claude Code. Lots of people have asked how I use Claude Code, so I wanted to show off my setup a bit. My setup might be surprisingly vanilla! Claude Code works great out of the box, so I personally don't customize it much. There is no one correct way to use Claude Code: we intentionally build it in a way that you can use it, customize it, and hack it however you like. Each person on the Claude Code team uses it very differently. So, here goes.
1,300
6,906
1,286
54,141
8,257,277
Rust-lang Noob retweeted
Noticing myself adopting a certain rhythm in AI-assisted coding (i.e. code I actually and professionally care about, contrast to vibe code). 1. Stuff everything relevant into context (this can take a while in big projects. If the project is small enough just stuff everything e.g. `files-to-prompt . -e ts -e tsx -e css -e md --cxml --ignore node_modules -o prompt.xml`) 2. Describe the next single, concrete incremental change we're trying to implement. Don't ask for code, ask for a few high-level approaches, pros/cons. There's almost always a few ways to do thing and the LLM's judgement is not always great. Optionally make concrete. 3. Pick one approach, ask for first draft code. 4. Review / learning phase: (Manually...) pull up all the API docs in a side browser of functions I haven't called before or I am less familiar with, ask for explanations, clarifications, changes, wind back and try a different approach. 6. Test. 7. Git commit. Ask for suggestions on what we could implement next. Repeat. Something like this feels more along the lines of the inner loop of AI-assisted development. The emphasis is on keeping a very tight leash on this new over-eager junior intern savant with encyclopedic knowledge of software, but who also bullshits you all the time, has an over-abundance of courage and shows little to no taste for good code. And emphasis on being slow, defensive, careful, paranoid, and on always taking the inline learning opportunity, not delegating. Many of these stages are clunky and manual and aren't made explicit or super well supported yet in existing tools. We're still very early and so much can still be done on the UI/UX of AI assisted coding.
451
1,032
262
12,158
1,218,489