
I make software and climb mountains. Currently building Profit, a portfolio performance tracker / trading journal app for macOS and iOS over at @codefreeze
München, Bayern
Joined December 2008
- Tweets250
- Following636
- Followers279
- Likes5.7K
Thomas Cyron retweeted
I really believed a whole generation of developers, who only know open source from npm and pypi, miss how open source actually used to work.
When Debian or a Linux distribution ships a dependency they take responsibility of it. If there is a security issue and it’s not fixed by the developer upstream, they fix it for their users.
Debian and others basically vendor every thing they distribute. They honor the license and they maintain patches. Most of the stuff that you get from your Linux distribution is basically a (small) fork.
The same is true for Apple, Microsoft and others. The open source software they ship, they carry that responsibility.
That doesn’t mean that security fixes are not upstreamed, but Apple or Debian or anyone else won’t jump in Twitter to shame a developer into compliance with their ways. They are not dependent on the health of a packaging infrastructure. They own their software including all the things it depends on.
I want that thinking back. Because it fundamentally makes people feel more responsibility and it shares the burden of issues. It also does not put so much focus and attention on the one overworked developer who just happened to have too much of the world depend on their library. Remember: they carry a responsibility they never signed up to and they never got compensated for.
Thomas Cyron retweeted
If you put the Apple icons in reverse it looks like the portfolio of someone getting really really good at icon design
Thomas Cyron retweeted
Liquid Glass is a design cancer.
It consumes and overwhelms everything it touches by adding intense distortions, drop shadows, lighting effects, and unnatural spacing to controls and UI in ways that make them harder to see and understand.
It is pretty, and seductive, but it makes every interface it touches worse by prioritizing fun effects over common sense design principles like contrast, uniformity, readability, and sane information density.
Liquid Glass is the antithesis of great UI design: it is fashion. Form over function.
Great design “isn’t just what it looks like, it’s how it works”. And Liquid Glass makes nearly everything it touches look pretty, but work worse.
Thomas Cyron retweeted
My homie Jediah is paging the Systems Performance Hotline with a very interesting question: does a single sequence counter _really_ bottleneck the whole system? Isn’t it all just a read and an increment?
Well, yes and no. Incrementing a counter atomically in-memory can be very cheap: a single instruction in most architectures. Even when contending on the same cache line with other threads, a modern CPU can do this 20 million times per second. That’s a lot! But this counter we’re talking about is not in-memory; it’s a row in a relational database! This suddenly makes the problem much more complex, and much more expensive.
For starters: in InnoDB, the storage engine that MySQL uses by default, all access to data (whether reading or writing) must happen through a transaction. Even when it’s a single statement with `AUTOCOMMIT`, the transaction is implicit, but it does exist. The performance costs associated with each transaction are very significant, particularly since these transactions have ACID semantics, and some very tough requirements!
The toughest, by far, is that by the time the transaction is committed, the database must be able to crash without losing the data we’ve just updated. That means the data must be written to disk (!!!) before our transaction is committed. In InnoDB, like in the vast majority of databases, we use a write-ahead-log (called the Redo log), where the update operation itself is serialized, instead of serializing the actual leaves of the B-Tree where the row lives. How fast can we write this WAL? Modern NVME drives can take a lot of throughput if we’re efficient when writing, but we’re *not* efficient here, because we need to do a lot of very small writes; we’ll never saturate the block queue.
A top-of-the-line NVMe drive as provided in EC2 can do 1.6M IOPS with a 4k block size, and your average WAL entry takes at least two blocks. So the very best we can do here is gonna be 800k updates per second, assuming there’s no contention on the underlying database rows.
In a real world scenario, since all these updates are hitting *the exact same row in the database*, the performance is dominated by the row lock that is acquired on each update. You’d be lucky to hit 100k updates per second with a VERY beefy CPU. And that’s not a lot!
But wait a second! As I explained yesterday, after scaling up our unsharded keyspace, our PlanetScale cluster hit 3 MILLION queries per second, with more than 80% of these being inserts.
So, hmm, these numbers don’t add up! How can you insert 2.4M rows per second if every insert needs to generate a sequence ID from the unsharded keyspace?
Here’s the trick: Vitess is cheating here (a little bit, but don’t worry, it’s the good kind of performance cheating). It’s not incrementing the sequence counter every time you insert a new row into the cluster. When an `INSERT` with an auto-increment column arrives to a VTGate (the routing proxy that plans the queries and forwards them to the actual MySQL shards), the VTGate increases the sequence counter in the unsharded keyspace… but not by one! It increases the counter by a very large number (usually at least 1000), so that then it can assign 1000 sequence numbers to the incoming rows directly from memory, without having to increment the counter again for each request. The worst thing that can happen is that the VTGate crashes before finishing the sequence chunk, in which case a gap will be left in the underlying shards, but no data corruption can occur.
So in summary: increasing a counter in a relational database is actually super expensive, and most definitely a bottleneck. In fact, it’s so expensive that Vitess needs to cheat to not do it that often!
Replying to @vmg
very interesting! not a db person and never considered this. why would sequence counters get bottlenecked? isn't it just reads and increments? but i guess they need to be atomic so we can get locked on concurrency and the mem is coming from keeping txns open? what about cpu?
Thomas Cyron retweeted
Indie App Spotlight: 'Profit' is an excellent investment tracker for iPhone, iPad, and Mac 9to5mac.com/2025/08/30/indie… by @mbrkhrdt
Thomas Cyron retweeted
LiDAR often ends up in an architecture not because of technical merit, but because of corporate bureaucracy. Unless questioned at the CEO level, it slips in as a convenient form of risk avoidance.
Groupthink selects the ‘all’ checkbox— everyone gets a job, the organization grows, and the bureaucracy feeds itself. Breaking that logjam requires someone with both authority and technical credibility to say no, to reject the mindset and reset to a first-principles approach.
Elon does this at Tesla.
Replying to @raines1220
LiDAR also does not work well in snow, rain or dust due to reflection scatter. That’s why Waymos stop working in any heavy precipitation.
As I have said many times, there is a role for LiDAR in some circumstances and I personally oversaw the development of LiDAR for the SpaceX Dragon docking with Space Station. I am well aware of its strengths and weaknesses.
Thomas Cyron retweeted
FSD Version 14 is effectively unsupervised— what the purists refer to a SAE Level 5.
When the SAE came up with its six levels of driving automation, it was never meant to be an engineering syllabus. It was a taxonomy—a way to describe capabilities. But legacy automakers, true to form, treated it like holy scripture. Mercedes, GM, and the rest acted as if they had to climb the ladder rung by rung, dutifully shipping “Level 2” so that someday, maybe, they could earn their way to “Level 3.”
Tesla didn’t waste time with that. Tesla never played that game. Elon’s target was autonomy from day one. Not Level 3. Not Level 4. Just autonomy. A car that drives itself. Period.
Nothing kills innovation faster than worshiping a standards document. To build a product roadmap around SAE levels is not engineering—it’s bureaucratic cosplay. If your “engineering” team operates this way, it’s not really an engineering team at all. It’s a program management office, better suited to running a Tier 1 supplier contract than creating breakthrough technology.
And here’s the punchline for the “SAE level lovers”: no U.S. regulation— none, in any of the 50 states— actually references SAE levels as binding law. Regulators measure crashes, safety outcomes, and data. They don’t care if you’ve got the right “Level” sticker on your box.
Reach for the stars and you might just get to autonomy. Reach for Level 2 and you’ll be stuck there forever, buried in user interfaces and program requirements designed to appease a standard that never mattered.
sae.org/blog/sae-j3016-updat…
Thomas Cyron retweeted
One of the most underrated skills you can learn is the ability to ignore your mood and stick with the plan.
Thomas Cyron retweeted
Here’s metaphor I’ve used many times in the past few months, which seem to resonate with many programmers:
Think of LLMs as prep cooks, not sous chefs.
(They can save me time by chopping onions, shaving potatoes and starting a sauce, but they can’t cook a great meal)
Thomas Cyron retweeted
Software engineering is now about going to meetings, managing relationships, making a lot of buzz about your work, and making leadership temporarily happy.
We may need a significant cut in leadership roles to redefine software engineering. Not the other way around.
Thomas Cyron retweeted
Haven’t been active here lately, but a lot has happened in the meantime: first-class support for crypto currencies, pie charts for portfolio allocation, and several UX improvements in both the iOS and macOS app.
Check it out for free: portfolioprofit.app/
Thomas Cyron retweeted
I see UIs from the Aqua days (macOS) or Windows 2000 era and they all just seem so much more functional. I really dislike that every app has to have their own unique vibe now, I just want standard OS controls and patterns back. 😭
Thomas Cyron retweeted
Ah great. Not only is that subscription mandatory, the personal sleep data is also leveraged for marketing purposes on Twitter. I like the idea of the product, but the fact that it needs a subscription and a cloud is just icky.
Breaking news: The OpenAI drama is real.
We checked our data and last night, SF saw a spike in low-quality sleep. There was a 27% increase in people getting under 5 hours of sleep. We need to fix this.
Source: @eightsleep data
Thomas Cyron retweeted
Scrum is like communism.
It fails everywhere, every time, but they tell you “you aren’t doing it right.”
Thomas Cyron retweeted
Vindictive abuse of power washingtonpost.com/technolog…
Thomas Cyron retweeted
hate when engineers complain about “the requirements not being clear”
your responsibility includes figuring out what the requirements should be - the fact that some parts are unclear is information
no good product has ever been built by outsourcing that process to someone else
Thomas Cyron retweeted
Profit 1.4.0 is here. Biggest addition: You can now search for securities by their name and ticker symbol. And stock splits are added automatically.
Try it for free → portfolioprofit.app
























