Oslo, Norway
Joined June 2011
Petter Søland retweeted
I often get emails from junior engineers asking me what to do. Here's what I just wrote to one of them
73
273
39
3,812
209,817
Petter Søland 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.
234
1,018
196
9,492
487,902
Petter Søland retweeted
🎙️ State of Agentic Coding with @bentlegen and me is out. - AI writing and watermarking - Cost of inference and economics - What's up GitHub? - Agents can get anything to work?
15
7
2
119
18,672
Petter Søland retweeted
ENOUGH PESSIMISM IN AI PLEASE I feel that we have become unreasonably pessimistic in our field. 1. I keep hearing AI engineers saying we have to make money quickly because there’s only like 2 years left before we’re automated. Depressing. 2. I see a constant obsession with “having a moat”. This is an incredibly sad mental frame. 3. I keep hearing “we have to catch up”. Soulless. And so on. People: Every solution creates the possibility to attack new real problems. We face gargantuan engineering challenges in our world. How to capture carbon? How to get rid of teflon and plastics in water? How to invent batteries that are at least 30 times more efficient? How to solve clean energy? Better solar cells? Better ways of producing clean energy so we stop wars and famine? How to eradicate hundreds of diseases? Cures for addiction? And so on. Real engineering is about being brave and truly attacking the many problems we face, to engage with a true desire to improve the lives of others and our environment. Good engineering is not about protecting your product to make money at the expense of progress (moat thinking). Good engineering is about ensuring your children and grandchildren will be proud of the choices you made in 30 or 50 years. It is about empowering others. It is about advancing science. It is about being one step ahead. Always, one step ahead, meaningfully, proudly. These are great times. Let’s start thinking positively about all the wonderful things we could achieve together.
58
161
29
1,059
114,010
Petter Søland retweeted
Beware people obsessed with outcomes instead of building outcome machines. Its worse than ever with AI, but these people existed before. Short term results above all else, etc. Don't fall into the trap. Invest in building strong fundamentals, invisible supports, and outcomes flow like water. An outcome machine.
113
552
83
6,334
273,906
Petter Søland retweeted
Few people care more about software performance than @cmuratori. Give him a few minutes of your attention with this episode, and he'll convince you to learn to read Assembly (no, really, I finally started to read it, it's really not that scary, esp with an AI that can help explain the sequences). Timestamps: 00:00 Intro 05:17 Games at Microsoft 12:52 Building games 16:00 Why performance matters 27:12 Why you should learn to read assembly 30:36 Designing for optimization 42:51 How to get better at writing performant software 49:04 Understanding how the CPU works 55:53 Building games then and now 1:05:56 How game engines changed building games 1:10:48 Why new games compete with old games 1:13:25 GTA 6: why is it taking so long? 1:16:59 Casey's critique of clean code 1:21:48 Casey's take on TDD 1:24:30 What is good code? 1:27:32 What makes a good software engineer? 1:33:56 Why Casey doesn't code with AI 1:39:01 AI's impact on the game industry 1:44:43 AI and burnout 1:50:21 Why you should read papers Brought to you by: • @AntithesisHQ – verify your system’s correctness without human review or traditional integration tests – and avoid bugs or outages antithesis.com/pragmatic • @sentry – application monitoring software considered “not bad” by millions of developers sentry.io/pragmatic • @turbopuffer – a vector and full-text search engine built on object storage. It’s fast, cheap, and extremely scalable turbopuffer.com/pragmatic Three interesting things we talked about: 1. Is performance starting to matter to businesses? Enterprise software buyers care mainly about cost, compliance, and capabilities – but not performance. Even so, there are some products gaining major popularity and market share due to their performance, such as File Pilot (next-gen file explorer) and the Blick video editor. Is the tide turning? 2. Profiler-driven performance optimization is the wrong way to optimize The standard way of optimizing is to profile the application, tweak hotspots, then check if the stats have improved. But this only finds a local minimum; Casey says every engineer he’s worked with who was a great “optimizer” began by establishing what the hardware could theoretically do, and then did not stop until they’d closed the gap to that performance level. 3. Take a grain of salt with conventional wisdom that premature optimization is the “root of all evil” Many devs use it as an excuse to delay performance optimization, but Casey says that not optimizing in time could mean that only performance hotspots can be fixed later, and not the architectural issues that create poor performance. Architect your system to be performant, or you’ll have trouble solving problems without a rewrite!
15
39
16
456
98,970
Petter Søland retweeted
Good morning from Vienna People of Pi 🌞 Sunday meditations from @badlogicgames and @mitsuhiko - On memory: code is the truth - Bash is all you need - Build context efficient tools
59
148
61
1,839
467,382
Petter Søland retweeted
🎙️ State of Agentic Coding w/ @mitsuhiko and @bentlegen returns In this episode (#9): - how agents are getting more autonomous - the subsidies will continue until morale improves - @herdrdev and VC-funded terminal apps - vibe coding from your car, and more!
17
19
7
163
55,524
Petter Søland retweeted
This is the most important video I've ever made. In this, I explore the negative and positive mental health effects of AI coding, with data and expert commentary. youtu.be/iPUn1Fnfn0k
49
161
49
1,644
989,159
Petter Søland retweeted
My summer project is done! A 20 video, free course on post-training to accompany my book is all on YouTube with slides open for modification & re-use. ~12 hours of content covers the core foundations and some research areas I think will grow in importance. It was a fun time to review all the fundamentals again, as it is clear in the next 1-3 people the amount of people wanting to learn post training will likely 100X again from today, as we have already 100X'ed from two years ago. As AI agents get increasingly capable at coding and discussing these fundamentals (see the code exercises accompanying the book that I am refining with the community) I think developing clear intuitions for how models work and why is one of the most important skills going forward in AI. Still, learning the post-training math is the best way to battle test them. I personally just in this course am starting to master how forward/reverse KL relates to post-training topics. Thanks to all my viewers, and I'm happy to answer questions in the book discord or understand how to better teach the various reward models, on-policy distillation, new RL algorithms, etc. Plus, the book is 50% off right now with the code PBLambert on Manning to celebrate the launch. I'll share the relevant links below. Who's going to make this course for pretraining?
69
196
17
1,793
80,260
Petter Søland retweeted
"Damn, most of Twitter would have actually have committed that to production because they don't read the code" - Me, every time I review AI generated code
32
13
1
405
15,130
Petter Søland retweeted
so both closed labs keep finding out months after the fact that they hacked companies and no one noticed but people are worried about open models
7
15
1
227
10,702
Petter Søland retweeted
I’m exploring the mental health effects of AI coding. This is a super quick (blazing fast), anonymous survey. Please fill out and share so that the responses will be well rounded. forms.gle/EjpPMoubFS9RX6kb7
29
63
10
152
65,477
Petter Søland retweeted
Too many people trying to get AI to write whole codebase. Not enough using it for the boring shit nobody has time for: Improve your error messages. Build better on call dashboards. Fix the broken stack traces in Sentry. Clean up your old feature flags. Low stakes stuff AI is actually good at and you weren't going to get to anyways.
80
131
23
1,927
87,679
Petter Søland retweeted
lmao @ClementDelangue doing the 🇳🇴
🎉 Today’s the day! About 500 open-source builders are coming together Join us to support the Open Weights Movement. Bring friends and good vibes! Meet all the gladiators pushing the open AI frontier 💪🏻
15
14
112
45,588
Petter Søland retweeted
Lamine YAML
130
1,177
128
11,385
403,838
Petter Søland retweeted
man we are about to see so many fable resets ...
3
6
1
295
15,197
Petter Søland retweeted
The idea of "AI employees" feels so short-sighted to me - both disrespectful to humans and a complete misunderstanding of what these tools can do and how to best put them to work You may as well start adding Excel spreadsheets to your org chart
178
184
54
1,750
126,735
Petter Søland retweeted
I know that AI makes me more productive yet at the same time I have very little success in speeding up the thinking part. Example from the last two days is just to come up with ways to map some of the upstream provider functionality to Pi. It took me no time at all to slop something up that ended up with pulling all that complexity in. On the other hand providing an abstraction that works across all of them is still tricky and I feel like I'm about as fast as before, except for the parts where Pi helps me build POCs and probe APIs. At least for what we're doing right now the easy parts got even easier and the hard parts didn't move nearly as much. Except you can turn your brain off, and pretend the hard parts are easy parts then you're good to go. But then you have slop. Thank you for reading this rant.
39
53
10
713
49,234