Luis Reis (@luismsreis) profile picture

Engineering @Lemonade_Inc Travelling for love. Distributed systems for fun. Gamer for life.

Utrecht, The Netherlands
Joined October 2015
Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)Photo by Luis Reis (@luismsreis)
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.
334
1,183
265
10,615
1,000,727
In case anyone wondered what a hedgehog getting an X-ray looked like
3,063
54,719
10,075
500,164
Mollie is opening a development hub in Lisbon! The office will be home to over 100 Mollies by 2023 and is a key step in our plans to dramatically increase product development velocity. hubs.ly/H0SL1_k0
Don't design your streets for the traffic you have. Design it for the traffic you WANT to have! (Vredeburg, Utrecht by @BicycleDutch)
16
384
90
1,183
Where in Europe is cash still the most common payment method? In Australia I’m never ever using cash and always experience a culture shock when going back to Germany. Source: buff.ly/3AkBO1K
53
111
37
519
Dutch payments startup Mollie raises another $800M at a $6.5B valuation tcrn.ch/3j0Op3L by @ingridlunden
2
26
10
60
Luis Reis retweeted
🥳 Scala is part of Google Summer of Code 🥳 ❓19 Scala mentors, 28 projects proposed ⏳Starting from today, students have 19 days to apply 🙏 Help us spread the word and encourage students around the 🌎🌍🌏 to apply 🤓 More info scala-lang.org/2021/03/11/gs… 🧵
1
83
4
158
Luis Reis retweeted
🎺 We are happy to introduce a new, effortless, way to get started in Scala: scala-lang.org/2020/06/29/on… One tool to setup JVM, compiler, build tool, and more!
8
138
12
419
Wrote a post on why I think 2019 was a great year for Scala tooling geirsson.com/2019.html
2
52
6
155
He loves pushing the boundaries of how to write great production code and tests, which is why he loves #FP and #Scala! 💪 Please extend a warm welcome to @Ciberon - Generating clients with #tAPIr. #BeeScala #zio #akka TICKETS 👉 https://teapaw.org/t.co/A5UMQdMUO7 /cc @softwaremill
9
1
10
We are proud to announce that StackState has been named a Cool Vendor in Performance Analysis by Gartner! 🆒 A big thanks to our Cool customers, partners, investors and our amazing Cool tech team for making this happen. Why StackState? Read more👉 https://teapaw.org/t.co/mdLbk9Ako9 #AIOps
1
4
1
8
I strongly encourage no-platforming @propensive for inviting @jdegoes . Isn't it just the same? Lets see how far we can push this shit show.
3
12
47
Due to unfortunate reasons, wasn't able to join you today for the hike @jtjeferreira @Tornadolobo . Will see you at another time, Monday the latest for sure. Gonna check some cool castles in the meantime!
1
2
Enjoy the hike and the kick off for Scala world!
1
2
Luis Reis retweeted
Ever felt that motivation to do some open source but you were unsure where / how you could contribute? How do you go about it?
1
1
Great opportunity guys, please share!
Codacy is looking for ambitious students that want to start giving their first steps in the startup community! If you want to spend your summer learning about software engineering and functional programming, apply here https://teapaw.org/t.co/cIyMUh3VMu
Today might be a particularly good day to express gratitude for the work done in #scalaz and #zio by many members of the community, especially @jdegoes and @xuwei_k. Thanks for the many innovations your brought to #scala and the ongoing maintenance!
1
39
121
Metals v0.5 is out with a lot of exciting new features! 🚀 - Code completions - Hover (type at point) - Signature help (parameter hints) - Code folding - Document highlight Try it out with VS Code, Vim, Emacs, Sublime Text and Atom 😁 scalameta.org/metals/blog/20…
12
118
8
314
Combining the amazing power of a Tech Manifesto with the functional programming mastery of #Scala could produce something truly special. Stay tuned to this page to learn more about a brand-new summit. lxscala-reactive.com
1
6
4