Felipe O. Carvalho
banner
felipe.rs
Felipe O. Carvalho
@felipe.rs
1.4K followers 480 following 930 posts
SWE @ dbt Labs. Past: SDF, VoDa, Spotify. Apache Arrow/Databases/Compilers/DistSys. Rust/C++/OCaml/TLA+. 🇧🇷 → 🇸🇪 → 🌎 http://bento.me/felipe / https://felipe.rs
Posts Media Videos Starter Packs
This is a common thing and the reason behind avoiding pointers to register-sized values across function boundaries. An add10() that returns the value added by 10 is better than the one that mutates through the pointer. Totally fine if inlined though.
If we forbid the inlining, the caller is forced to put i on the stack

str r0, [sp, #4]

to pass the ptr to add10

add r0, sp, #4 // put the ptr relative to the stack ptr on r0 before call

then the value is loaded from the stack into r1 before the printf call

ldr r1, [sp, #4]
add10(int *) versus add10 inlined. When you take a "pointer" from a local variable and "pass" it to a function, but the compiler knows the pointer is not a pointer but the register that contains the local variable.
It’s only a 20-ish% increase from June in Brazil, so I’m securing mine before they have to renew their inventory and increase it even more.
Oh, second ed is out already?
When an LLM finally confesses it just “speculates based on general patterns” 😅
Ordered 32GB of DDR5 today. 💵

It’s been a long while since I bought RAM that is not the one soldered in a Macbook’s motherboard. Feels good and affordable.
The number of numbers in red circles I have throughout all software I use at work is maddening. Zoom is a big offender here trying to get me to read chats from all meetings.
I legitimately hate how every website seems to think that what I want more than anything else in this world is yet another inbox to monitor and take responsibility for.
It's annoying in C++ to query an std::unordered_map<std::string, T> when what you have is a std::string_view (pointer, "borrowed") instead of the std::string (allocated on the heap, "owned").
Rust solved the problem of querying a map structure without necessarily allocating a key value. The key type can have a borrowed version that is equivalent to the owned version of the key.
“wE lAunChed our SaaS a mONth ago and alReady mADE it to 1M ARR”
Add to Playlist gets worse every month or so
Elon is bragging about X not being affected by the outage today and, unfortunately, his audience can’t appreciate that all the decisions that lead to this were taken by the team he laid-off when Twitter was acquired.
Wondering if this is the kind of thing that @welltypedwit.ch will say is not good in practice.

There is a nice online demo/playground: se-tuebingen.github.io/oopsla-2025-...
The Simple Essence of Overloading: Playground
se-tuebingen.github.io
AI coding tools make us exploit all the shortcuts you can to ship more quickly at the cost of eventually making it unsustainable.
Scary how completely unconcerned they are with re-election. Final years of the term will be devoted to diminishing the electoral system itself.
I had these before moving to the Microsoft Sculpt. Sculpt is not as durable as this one, but this keyboard is way too big and takes over the whole desk. Happy with a mechanical split these days.
In a 100 years, people will be talking about these companies like we talk about IBM during WWII.
It’s really sad to see people still doing this at this point. It’s as if they get a high from figuring out the hypocrisy.
I love how he said he doesn’t feel bad for being somewhat disconnected from the current developments of AI because he is paying much more attention to what thinkers in other areas are talking about cognition and learning.
e.g. compression and crypto algorithms are very sophisticated, but if you hide that in the HTTP stack, people working on a web app don't have to understand their details when implementing applications.
I'm not a fan of the approach, but I've seen very pedestrian codebases survive and succeed a lot more than the codebases that had sophisticated constructs that got perverted by changes. Note that sophistication is not forbidden. It's requiring everyone to understand it to work on the project.