
Blockchain Developer / Decentralization Maximalist / Certified Miner / Made Ethereum Classic / Founder & lead of @getemerald
London, England
Joined October 2009
- Tweets1.3K
- Following972
- Followers3.3K
- Likes334
Since it's become a very hot topic, here is the Cryptographic Right Answers '26, now with a focus on post-quantum: words.filippo.io/right-answe…
51
One optimization was replacing Debian with Alpine, which wasn't necessary just a nicer image size. And here I learned the difference, b/c Debian had almost 4x throughput of Alpine. Why? Turns out the Compaction operation is not IO bound, but CPU bound in this case. Memory-throughput bound actually (WTF?).
It copies a bunch of files from and to S3, and needs to unpack Zstd and then pack it with Zstd again. Zstd allocates 12MB per chunk, filled with zeroes.
It appears there is a difference between musl (Alpine) and glibc (Debian). The first one fills it word-by-word, and the second checks the CPU and uses AVX-512. I.e., 8x more data in one step. With our buffer sizes, it had like a 100x ratio of memory to IO bytes, so it became the limiting factor. Never expected that for what I thought was an IO-heavy app
Dshackle Archive 0.10.0 is out, mostly performance work:
- Compaction memory ~2 GB → ~400 MB
- Compaction and Fix on small files up to 4x faster
- Docker image half the size
- ARM64 builds
github.com/emeraldpay/dshack…
When I was in my mid-20s doing well in my SWE career, I decided I needed to know how business works. So I started reading various business magazines. Learned so much, got some understanding. Or so I thought.
Until I got a "special edition" focused on the tech industry. It was total bullshit. I knew it because that was the first topic I actually knew, I knew the people and companies mentioned. Turns out the authors didn't know anything but still needed to print. Baseless assumptions, random facts to fit the narrative, fact manipulation, etc. I realized it's the same for all the other topics, I just didn't know about it.
As I can see, nothing has changed:
The Russian billionaire with a secret stake in Tether ft.trib.al/t3EsQrR
4
7
684
When I was like 5yo we were playing some supermarket game with tree leaves as money. At one moment I needed more money so I decided that I can just go and pick some more leaves. But realized everyone would just go and do it, leaving us equally rich, just more leaves in hand. That’s how I learned about inflation
An interesting thought experiment that shows the average person has no idea how inflation affects their own wealth.
90
Since everyone now says that Docker Sandboxes are not VMs, I’ve been trying TrailofBits Coop. Jokes aside: it’s a similar thing to isolate your Claude Code into a VM. Mixed feelings so far. Because i'm poking some holes: mounting the code for review (hello deleted codebase), forwarding ports, giving access to the network, etc. Also, setting up the dev environment takes extra time. The idea is great, could protect from a disaster, but the price is dev comfort. Still weighing it.
3
102
I actually met a guy once who was using Azure. Some boring non tech business, don’t remember what. Apparently he is not alone.
Some things I learned working at Microsoft:
1/ large numbers everywhere. $100M ARR service isn't even a footnote on executive slide decks. Leadership time is too valuable, come back when you're $1B+. Msft ecosystem is so rich that $1B+ sales are common (it's ludicrous how much work goes into closing these). Azure has ~250 services, some are a few mil and stagnant, others in hypergrowth, some are cash cows, you see every quadrant of the growth-share matrix. Imagine the imperial navy with ships of vastly different sizes as far the eye can see
2/ more on immense scale-- the smallest of Azure services run on 10K+ VMs. Large services run on 1M+ (some maybe 10M+ VMs, idk). Msft is stamping one new datacenter into the ground every four days (!!!!), a bewildering rate. Demand is so high, even with all this buildout we're forever capacity constrained. Azure brings in $100B in revenue and is growing 40%+ annually (at this size!!) There are ~225K msft employees. You almost have to think in scientific notation, 10^4 is a tiny number here
3/ msft is totalitarian re serving the customer. It's counterintuitive to outsiders, but the warts in msft products fall out of this culture. For example, it would be easy to improve the Azure Portal. But in all my time working with customers and partners here, I haven't heard even one person complain about the portal UI. Msft invests $0.00 dollars in anything that doesn't serve the customer and is completely unapologetic about downstream implications of this mindset
4/ msft can reshape itself overnight (when it has the will). People argued whether we waited too long to adapt after Storm-0558/Midnight Blizzard hacks (with the benefit of hindsight, we definitely did). But once the leadership team privileged security, everyone's job changed in two weeks. LT tied every engineer's comp to security, centralized reporting of embedded security teams, every org reshuffled its roadmap. Within days everyone was pushing PRs with security fixes. I would have thought it inconceivable to mobilize 200K+ employees this fast
5/ Azure is complicated. Postgres depends on compute, networking, AKS (or EKS for you aws people), secrets, etc. AKS depends on compute, networking, some datastore (probably Cosmos but idk), a dozen other things. Cosmos depends on... you get the idea. When anything breaks, everything above can break too. Some construction crew accidentally cuts a fiber cable in Brazil South, or a dedicated hardware compression chip browns out in storage, or compute failure rate in west eu spikes for some reason, or a million other failure modes. Msft is relentless about improving this, idk exactly but fully loaded probably 50% of engineer time goes into resilience
6/ re lifers who work 20+ years here, SV sneers at this but I now see it differently. I was once on the bridge debugging some IO issue, we call storage, the guy diagnoses it in about a minute, we chitchat, turns out he built NT asyncio support. Or same story but with networking, the guy built NT tcp/ip stack. I used to have a boss here, we were bumping into some problem, she casually goes oh yeah, we hit that when I was working on .NET bytecode. The ex-DEC VAX/VMS database engineers built SQL Server, some are still here. I love bumping into these people
7/ I never *really* understood distribution until I got here. As an example, our team had a customer in Seoul w/ a deep performance problem. We had to fix it to unlock one of these giant contracts. We don't speak Korean, they don't speak English. Of course msft has specialists in Seoul who get to the customer site before you could even get on a plane. There is an office in every major city, a relationship with every major entity, legal experts in every jurisdiction. You can reach these ppl instantly. Claude tells me msft has ~180 offices in ~100 countries (!!) U.S. government has ~270 consulates in ~170 countries. So msft outposts aren't quite as vast as U.S. diplomatic network, but pretty vast
8/ in the 90s everyone was afraid of msft. The lore is that BillG was ruthless. He'd clone you, beat you via ecosystem/distribution strength, and moreover make the ecosystem stronger with the new product. I wasn't there to compare, but msft of today is ruthless about winning, has the will to adapt, and has the wherewithal to undertake colossal projects. Ppl see Teams bugs or whatever and completely misread the signals. Teams is less polished than Slack because msft doesn't care one iota about polish. It cares about winning, and is frighteningly good at it. Underestimate at your own risk
89
Another tip on local hardening - if you’re worried about your SSH keys lying in plain text, and don’t want to use a YubiKey, then try 1Password (or similar). It can be an SSH agent, keep the key encrypted and ask for your fingerprint each time you use it or push to GitHub. Just 1 minute to setup it. So no rogue AI can steal the keys
1
160
So I’ve been using a VM for accessing remote clusters, like since forever. For isolation, security, etc. Tailscale, kubectl, Helm, k9s, all the access keys go there.
VirtualBox is cool but slow and heavy for this task. Moved to Lima VMs and it’s a great experience.
Turns out it’s much easier - you have a template in YAML, with setup scripts. Plus env files (staging, prod, etc).
Plus auth keys, and this is the most interesting part. You can use age + SOPS to encrypt them with Secure Enclave, and then use your fingerprint to create the VM, no keys in plain text on your laptop
1
1
109
Tried the AI that comes with @googlecloud. Asked it to explain what permissions to choose for a specific task. And it works worse than Siri. Keeps saying like "I don't understand" for everything, has no opinion of its own, and asks me to clarify every tiny (and should be obvious) detail until I give up. What's worse I can't send bad feedback, only good feedback is accepted because of the way the form works. So I guess their metrics show great success with AI integration
1
1
103
Finally finished rewriting our blockchain load balancer from Kotlin to Rust. No new features, same config, same API. But ~75% less memory, and ~20% lower latency under our load. See github.com/emeraldpay/dshack…
1
4
4,294
My local @WeWork has very strange lounge area. All the seating, sofas, tables are extremely uncomfortable. Like weird size, height, etc. You can't use your laptop because the table is either too high, too low, or too far from the seating. Your back starts hurting after 15 minutes. It's all custom made, so it's on purpose. But what is the purpose? To make sure people don't work in the lounge areas?
1
2
105
When I was running a block explorer for ETC I’ve got such requests to provide logs on who accessed certain address. Proper requests, with signatures and rubber stamp. I guess everyone receives them periodically
fascinating. feds used the IP addresses of etherscan email notifications to locate an ethereum node operator in the southern district of new york to satisfy a venue requirement to prosecute someone else
4
125
Since when @x prevents new accounts from using a combination of commons words? I tried a couple of dozen combinations, everything "is already taken" though I see no evidence those ever existed. Misspelling or a random number fixes that.
88
Received a deactivation warning from @OpenAI after I asked it to find a few XPubs published online. Need them for some demo of @getemerald But they think it's a cybersecurity concern. Which is obviously wrong, but now I'm wondering how long before the web is effectively censored by AI?
Like:
> You asked me to find history of event Y? Okay, checking... Oh, someone who owns us is in a bad light here. That violates our terms - banned!
1
2
158
Wanted to rent a couple of new servers. The price for memory alone is ~$1300/mo for 512GB. I guess we're not getting any new servers for a while.
1
110
Saw today how they prepare to sell a penthouse. They put a huge light projector on the balcony, big enough to summon Batman, directed up to a reflector on the top corner outside the main window. Dark, rainy, very London outside. But bright, warm and cozy inside for the photos for the sales
2
139
I actually didn’t know about this. Thought I can just use ND filters from camera. But turns out it’s different wavelengths or so and it’s even more dangerous to use ND filters and similar








