South Africa and Malaysia to launch campaign to protect international justice
Formation of Hague Group comes amid challenges to ICJ and ICC rulings
Hasnain says:
““We have the power to turn the tide if we want to,” said Oona Hathaway, a professor of international law at Yale. “But at a certain point, the rules are going to become so eroded that it’s going to lose all legitimacy, and the United States is going to lose all legitimacy. We’re going to find that we’re going to be past the point of no return, and those rules are no longer going to be salvageable. And I think that would be a real tragedy.””
Posted on 2025-02-01T02:43:12+0000
African Muslims in Early America
A collection story highlighting African Muslims in Early America.
Hasnain says:
Todays fun fact of the day comes from this book I was listening to on my commute. TIL this fact (though it seems disputed)
“The Islam brought to America by enslaved Africans did not survive long, but it left traces that are still visible today. The practice of ring shout, a form of religious dance in which men and women rotate counterclockwise while singing, clapping their hands and shuffling their feet, was directly inherited from enslaved Muslims such as Bilali Mohammed and Salih Bilali in the Georgia Sea Islands. It originally mimicked the ritual circling (or shaw’t) of the Kaaba in Mecca by Muslim pilgrims.”
Posted on 2025-01-29T07:31:57+0000
Meta’s Hyperscale Infrastructure: Overview and Insights – Communications of the ACM
Membership in ACM includes a subscription to Communications of the ACM (CACM), the computing industry's most trusted source for staying connected to the world of advanced computing.
Hasnain says:
So many useful insights summarized concisely here. I’ll have to go over the papers again at some point to refresh my memory.
“Insight 9 : In a datacenter environment, we prefer centralized controllers over decentralized ones due to their simplicity and ability to make higher-quality decisions. In many cases, a hybrid approach—a centralized control plane combined with a decentralized data plane—provides the best of both worlds.”
Posted on 2025-01-27T08:41:06+0000
Using the most unhinged AVX-512 instruction to make the fastest phrase search algo
Disclaimers before we start For those who don’t want to read/don’t care that much, here are the results. I hope after seeing them you are compelled to read. TL;DR: I wrote a super fast phrase search algorithm using AVX-512 and achieved wins up to 1600x the performance of Meilisearch. The source ...
Hasnain says:
Learned so much about so many things from this one. Gotta love when you see something like this a few thousand words into a post you already thought was quite interesting
“Now that the boring stuff is behind us, let’s start the fun part. Again, just as a reminder on how the intersection works: we do two phases of intersection, one for the conventional intersection and another for the bits that would cross the group boundary, and in the end, we merge these two.
In this section, we will take a look at assembly, some cool tools to analyze this assembly, AVX-512, differences in the microarchitecture of AMD and Intel chips, emulation of instructions, and a lot more. So again, sorry to bother you with all of the previous stuff, but it was important.”
Posted on 2025-01-27T08:25:55+0000
Using Protobuf to make Jira Cloud faster - Work Life by Atlassian
Atlassian’s mission is to help unleash the potential of every team, and a critical part of that is to create...
Hasnain says:
“Moving data serialization format used by the Issue Service to Protobuf resulted in many improvements, including faster response time and reduced resource consumption (CPU, storage). Even though there were some challenges we had to solve during the migration, the final results were absolutely worth the effort. As we continue our work in the Issue Service and progress to handling more traffic and data, the impact of these relative improvements will continue to grow.”
Posted on 2025-01-27T02:11:34+0000
Pluralistic: It’s not a crime if we do it with an app (25 Jan 2025) – Pluralistic: Daily links from Cory Doctorow
No trackers, no ads. Black type, white background. Privacy policy: we don't collect or retain any data at all ever period.
Hasnain says:
“Inflation has lots of causes, it's true. But when an industry is consolidated enough to take advantage of a data brokerage or just engage in tacit collusion, any source of inflation – war, disease, weather – allows whole sectors to raise prices together, and keep them high, long after the shock has passed.”
Posted on 2025-01-26T16:41:54+0000
The Canva outage: another tale of saturation and resilience
Today’s public incident writeup comes courtesy of Brendan Humphries, the CTO of Canva. Like so many other incidents that came before, this is another tale of saturation, where the failure mod…
Hasnain says:
“We need to build in the ability to reconfigure our systems in advance, without knowing exactly what sorts of changes we’ll need to make. The Canva engineers had some powerful operational knobs at their disposal through the Cloudflare firewall configuration. This allowed them to make changes. The more powerful and generic these sorts of dynamic configuration features are, the more room for maneuver we have. Of course, dynamic configuration is also dangerous, and is itself a contributor to incidents. Too often we focus solely on the dangers of such functionality in creating incidents, without seeing its ability to help us reconfigure the system to mitigate incidents.
Finally, these sorts of operator interfaces are of no use if the responders aren’t familiar with them. Ultimately, the more your responders know about the system, the better position they’ll be in to implement these adaptations. Changing an unhealthy system is dangerous: no matter how bad things are, you can always accidentally make things worse. The more knowledge about the system you can bring to bear during an incident, the better position you’ll be in to adaptive your system to extend that competence envelope.”
Posted on 2025-01-26T03:43:36+0000
How Unix Spell Ran in 64kB RAM
How do you fit a dictionary in 64kb RAM? Unix engineers solved it with clever data structures and compression tricks. Here's the fascinating story behind it.
Hasnain says:
This was a fun read, reminding me I need to go back and keep up with the latest in succinct data structure research.
Also kinda timely quote given the recent hoopla around DeepSeek:
“Even though modern spell checkers use different techniques like edit distance and language models, the engineering insights from Unix spell remain valuable. It shows how deep understanding of theoretical concepts combined with practical constraints can lead to efficient and elegant solutions.
Most importantly, it demonstrates that some of the best innovations happen when we are resource constrained, forcing us to think deeper about our problems rather than throwing more hardware at them.”
Posted on 2025-01-26T02:44:56+0000
The Jagged, Monstrous Function That Broke Calculus | Quanta Magazine
In the late 19th century, Karl Weierstrass invented a fractal-like function that was decried as nothing less than a “deplorable evil.” In time, it would transform the foundations of mathematics.
Hasnain says:
“In 1872, Weierstrass published a function that threatened everything mathematicians thought they understood about calculus. He was met with indifference, anger and fear, particularly from the mathematical giants of the French school of thought. Henri Poincaré condemned Weierstrass’ function as “an outrage against common sense.” Charles Hermite called it a “deplorable evil.””
Posted on 2025-01-25T22:17:26+0000
C stdlib isn’t threadsafe and even safe Rust didn’t save us | EdgeDB Blog
Threads, TLS, a C stdlib race, and Rust: how EdgeDB hit a hidden landmine.
Hasnain says:
“The Real Culprit: setenv and getenv
setenv is not a safe function to call in a multithreaded environment. This is often a problem, and occasionally rediscovered as developers like us hit weird crashes in libc’s getenv [9], [10], [11], [12].”
Posted on 2025-01-25T21:10:27+0000