How Node.js Handles Hundreds of Users at Once on a Single Thread
A beginner-friendly deep dive into the Event Loop, Call Stack, Heap Memory, and what “Non-Blocking I/O” actually means in Node.js. Continue reading on Medium »
A beginner-friendly deep dive into the Event Loop, Call Stack, Heap Memory, and what “Non-Blocking I/O” actually means in Node.js. Continue reading on Medium »
A practical guide to reading a jwks.json file, matching the right key, and checking it is safe to publish. Your API receives a token signed by an identity provider. To verify it, you need the provider's public key. But which one? Providers rotate keys, and a single endpoint can publish several at once. The answer is a small JSON document called a JWKS, and a header field called kid. JWK and JWKS in one minute A JSON Web Key (JWK) is a standard JSON representation of one cryptographic key, defined in RFC 7517. A JSON Web Key Set (JWKS) is simply a JSON object with a keys array holding several J
Shard keys, logical shards, and the 64-bit photo ID that says when a photo was made and which shard holds it Two different photos. Two different databases. Both stamped with the same ID: 3. That's what happens when you split one database into many pieces and every piece counts on its own. Instagram had to split its data early, so it had to solve exactly this. Its answer was hidden inside the number itself. This article walks through the whole design: why one server stops being enough, how to choose where each row lives, the difference between a logical shard and a physical server, and the 64-b
I carve stone. By trade I’m a metalworker in Calabria; I write at night, on my phone. The first thing tufo teaches you is that you don’t… Continue reading on Medium »
In A World Where Everyone Talks, The Rarest Person Is The One Who Listens. Continue reading on Medium »
The steps I follow before I change a single line of code nobody dares to touch Continue reading on Medium »
Everyone deserves respect at the beginning. But should everyone continue receiving the same level of respect regardless of their actions? 1. The Problem With Being Unbiased We're constantly told to respect everyone equally, avoid judging people, and remain unbiased. It sounds morally correct. But what happens when we take this idea too far? Imagine two people. One consistently demonstrates honesty, competence, kindness, and accountability. The other repeatedly lies, manipulates others, and refuses to accept responsibility. Should you admire and trust both equally simply because you want to be
"secret", "changeme" and "mysupersecretkey" are not keys. They are passwords, and passwords get cracked offline. Open the config of almost any tutorial project and you will find a line like this: const token = jwt.sign(payload, 'secret'); It works. Tokens are issued and verified. And it is one of the most common ways a JWT-based login gets taken over. Why a weak secret is a real vulnerability With HS256, HS384 and HS512, the same secret signs tokens and verifies them. The signature is an HMAC of the header and payload. The important part: anyone holding one valid token can test guesses for you
Blindfolded in the Crowd Continue reading on Medium »
A field story about a cPanel certificate that renewed on time and still broke every Outlook client — the port 80 rule almost nobody connects to mail — and the DNS-01 setup I now use for any origin locked to Cloudflare. The message came in the next morning. “Outlook is showing a certificate warning on every laptop. Nothing changed on our side.” The customer’s IT lead had already checked the website. Green padlock. Valid certificate. Renewed the evening before. “So the certificate is fine,” he said. “It renewed. Why is Outlook complaining?” I asked one question: “Which names are on the new certi
Genius Group, a small education company listed in New York, is telling shareholders that Anthropic is now the biggest holding in its AI investment pot after Anthropic's record IPO. The catch: the only purchase it has disclosed for that pot so far is $657,100, set against a headline plan of $800 million. Key Takeaways Genius Group says Anthropic now makes up 21.3% of its AI Treasury, held indirectly through two publicly traded funds Its only disclosed AI Treasury purchase so far is $657,100, made in June 2026, while its plan targets up to $800 million over five years The biggest indirect holdin
My uncle gave our family a monitor when I was a kid, a huge beige box that sat next to our dial-up modem. Every night I sat through the screech and waited while pages loaded one strip at a time, and somewhere in those slow evenings I decided I wanted to know how the pages got made. I am a software engineer today because of that hand-me-down, and the first thing it taught me to build was a website so ugly I am almost proud of it. The site was a personal page, the kind every kid made back then. A big heading with my name, a paragraph about me, a list of my favorite things, and a photo that did n
CVE-2026-114835: An Operating Model for a Critical Console Fix An emergency patch becomes easier to defend when the work follows a repeatable operating model. CVE-2026-114835 is an Oracle Access Manager Admin Console vulnerability in versions 12.2.1.4.0 and 14.1.2.1.0. It has a CVSS 3.1 score of 10.0, an unauthenticated HTTP path, and takeover impact. The November 2026 CSPU carries the fix. The response should combine patch execution, access reduction, validation, and a clear decision record. Vulnerability overview Oracle's risk matrix names the product and component directly. The attack is re
The payload isn't secret, but the token is. Here is how to decode a JWT without handing your session to a stranger. You are debugging a login bug. The request fails, you copy the Authorization header, search "JWT decoder online", and paste the token into the first result. It takes five seconds. You have probably done it a hundred times. Most of the time nothing bad happens. But it is worth knowing exactly what you just did, because a JWT is not just data. It is a credential. A JWT is readable by design, and that is the trap A JSON Web Token has three parts separated by dots: a header, a payloa
A bio on a wedding site, a long review on a poster page, a description on a dashboard card. Three places, one pattern: a boolean, a button, a slice of text. Each copy had drifted a little, different truncation lengths, different labels, one missing the collapse state entirely. That is the shape of a component that should exist once. When the same behavior shows up in three places, the question is not how to write it a fourth time, it is where it lives. The fix is one component with a clear contract: it takes text and a line count, and it owns the boolean, the button, and the accessible state.
The family group chat is not a shopping list. I built Basket, a free PWA: one shared list the whole household updates in real time. Add it at home, tick it off at the store, no double buying. Also private groups, task lists and photos on items. 🎬 See it in 2 minutes: https://youtu.be/BccyvJbaL7Y 📲 Try it free (installs like an app): https://shopping-app-three-chi.vercel.app
Sometimes, the things we can measure scare us more than the things we may never understand. Think about something strange. You meet hundreds of people throughout your life. Every person forms some kind of impression of you. Some may find you interesting, some may find you boring, and some may dislike you without any particular reason. Yet you rarely spend your entire day worrying about what every person thinks of you. Now imagine waiting for an exam result, a job interview outcome, or a message from someone whose answer matters deeply to you. Suddenly, your mind cannot stay quiet. You replay e
"The Reality of Depending on Medium for Your Monthly Earnings." Continue reading on Medium »
Adulthood Continue reading on Medium »
Claude Code’s sandbox is off by default and runs your commands without it when it can’t start. How sandbox.failIfUnavailable makes it fail… Continue reading on Medium »
It wipes your build cache and rarely fixes the real error. Seven commands that find what’s actually broken. Continue reading on Medium »
President “Bone Spurs” Wanted His Name on the Aircraft Carrier Designated for Dorie Miller Continue reading on The Polis »
The Devil’s Music Continue reading on Medium »
Which are you? It makes all the difference! Continue reading on Counter Arts »
I’m sharing Hikmet.app, a free web app for reflecting on questions about Islam, faith, and worship. The interface supports 12 languages, and there’s no signup to try it. The conversation is AI-assisted. For a personal religious ruling, ask a qualified scholar. Three details that mattered Language follows the user. The homepage and install guide use the same saved preference and look for a supported browser language. Arabic and Urdu use right-to-left layout. Offline pages keep their own URL. The service worker caches the homepage and install guide independently. Caching every successful navigat
I recently investigated a suspicious Android APK impersonating India's official mParivahan application. The investigation started with a suspicious domain redirecting users to an APK hosted on GitHub. Static and dynamic analysis revealed a two-stage Android malware operation involving a dropper and a fake challan/payment application. Key findings Two-stage APK: The initial application decrypts and installs a second-stage payload. Fake payment interface: The payload imitates a traffic challan payment application and captures UPI PINs and card details. SMS access: The application can read SMS me
While we got real problems, the shenanigans continue Continue reading on The Resistance Room »
API gateways for system design interviews, explained Sketch a microservices design on the whiteboard and you will draw a single box where every client request lands before it reaches any service — and the moment you label it "API gateway," the interviewer wants to know what that box actually does, and why it is not just a load balancer with a fancier name. An API gateway is the single entry point in front of a backend of many services: it takes every incoming request, decides which service should handle it, and along the way does the work that would otherwise be copy-pasted into every service
The same few problems come up again and again with Project Zomboid dedicated servers. Here is a checklist of what to check first. Everything below comes from the PZ wiki's Dedicated server page, which is worth bookmarking. 1. Ports The server needs two UDP ports open, both in your router (port forwarding) and in your firewall: 16261 UDP 16262 UDP (direct connection) If you run a second server on the same machine, it needs its own pair of UDP ports, set in that server's .ini file. 2. The server crashes on start with memory errors StartServer64 asks for 16 GB of memory by default. If your machin
KMS protects your data from being read. AWS Backup protects it from being lost. It is one place to schedule, run and keep backups for many AWS services, instead of setting up each service on its own. What AWS Backup does It gives you a central place to manage backups across services such as EBS, RDS, DynamoDB, EFS and S3. You describe what you want in a backup plan, and AWS Backup runs it on a schedule. Backups are stored in a backup vault, which can be encrypted with a KMS key. Every backup job is tracked, so you can see what ran and what failed. Key concepts Piece What it is Backup plan The