It's late, the agent has been working well for an hour, and you have started approving things on reflex. The next command in the queue is this: kubectl delete deployment api -n production Maybe that is what you asked for. Maybe the agent read "clean up the old deployment" more broadly than you meant. Either way, the moment to notice is before it runs, and by hour two your attention is the weakest part of the setup. The risk hook is a small Node script that makes that moment hard to miss. It reads every Bash command Claude Code is about to run, sorts risky ones into three tiers, and denies them
After launch, every client of mine gets a Sanity Studio to manage their site. This is the short version of the walkthrough I give them. Logging in Open yoursite.com/studio and sign in with the Google or email account you were invited with. You’ll see your content types on the left: pages, blog posts, settings and anything specific to your site. Editing text and images Click a document, change any field, and changes save automatically as a draft Drag an image into an image field; set the focus point so it crops nicely on mobile Always fill in the image “alt” text; it helps SEO and accessibility
JavaScript is one of the most popular and powerful programming languages in the world today. It is the language that makes websites… Continue reading on Medium »
A video room API must authorise the developer who wants to join even if every connected client received the invitation. TL;DR: verify the user's session on the server, check that the verified identity may enter the requested room, and mint a short-lived room token bound to that identity. Recheck admission on rejoin. Treat invitation delivery and permission to join as separate contracts, especially when a developer tool distributes a call invitation to many clients at once. Delivery isn't admission. Consider a design exercise for a developer tool that opens a video room during a shared debuggin
A media access review needs a signer who can explain which subscription authorized an export and which account should receive its usage. A plan name alone cannot carry that explanation. Start with the evidence the reviewer needs, then design the entitlement read around it. TL;DR: Read the current plan tier and subscription entitlements through a server-side adapter. Join each authorization decision to three pieces of evidence: the requesting account, the entitlement revision used, and the billing owner. Keep quota consumption in a separate, atomic reservation step. This gives a Node.js SaaS ap
Every distributed system has a shortcut it takes to keep latency low. In event-driven architectures, that shortcut is the immediate 200 OK on a webhook intake endpoint. Webhook providers enforce short delivery deadlines. Stripe’s documentation tells you to return a 2xx before any complex logic that might cause a timeout, but it doesn’t publish an exact number. GitHub records a delivery as failed if your server takes longer than 10 seconds to respond. Shopify requires a response within five seconds. Twilio waits 5 seconds to connect and up to 15 seconds for a response by default, and imposes a
Synology DSM thumb followed a link into arbitrary file writes Thumbnail generation is a background convenience feature. It reads user content, creates derived images, and often runs with service authority that is broader than the user who uploaded the original file. Synology advisory SA-26:18 describes CVE-2026-19048, an improper link-resolution flaw in the DSM thumb component. The advisory says a remote authenticated user can exploit the issue to write arbitrary files and conduct denial-of-service attacks. The affected DSM versions are before 7.3.2-86009-5 and before 7.4.1-90080-1. Public CVE
Find an affordable programming laptop with enough RAM, processing power, and storage to handle coding projects without overspending Continue reading on Medium »
"Blocked by CORS policy" is the most Googled frontend error. It is a browser protection, not a server bug, and the fix always lives on the server. What CORS actually does Browsers block JS from reading responses from another origin unless the server opts in with Access-Control-Allow-Origin. Preflight requests Non-simple requests (custom headers, JSON content type, PUT/DELETE) trigger an OPTIONS preflight. If the server does not answer it with the right Allow-Methods and Allow-Headers, the real request never fires. Common mistakes * together with credentials: not allowed. Echo the specific orig
Almost everyone has typed chmod 777 to make an error go away. Here is how permissions actually work, so you stop doing it. The three digits Each digit is a sum: read = 4, write = 2, execute = 1. The digits are owner, group, others. So 640 means owner read+write, group read, others nothing. Common values 644 files: owner writes, everyone reads 755 directories and scripts: owner full, others read+execute 600 private keys (SSH refuses keys that are more open) 700 private directories Why 777 is a bug, not a fix It lets any user or compromised process modify the file. The real cause is usually wron
Sooner or later every self-hosted site needs one of these: a maintenance page while the app is being upgraded or the database migrated, a "coming soon" page for a domain you bought but haven't built yet, a parked page for a domain you keep but don't use. The common answer is "run a tiny nginx container with an index.html and point the proxy at it." It works, but it's one more container to update, and it usually gets the details wrong: it answers 200 OK, so search engines index your maintenance notice, CDNs and browsers cache it, and uptime monitors report the site as healthy while it's down. T
I love Gboard. I want to say that first, because it's true. So when I say my own keyboard, Orivra, replaced it as my daily keyboard, that says a lot already. Gboard has a huge team and years of my typing data behind it. Orivra has me, working 13-hour shifts outdoors in Houston, building it on my Galaxy S26 Ultra in between everything else. This was never a desk project with free weekends — it got built in the gaps of a working life, early mornings and late nights, one build at a time. This keyboard's for me. I don't really have plans to let anybody really use it — I want a keyboard for me that
From Japan to Slovenia: What happens when a society measures human worth in currency instead of heartbeats — and why a dog still has to… Continue reading on Medium »
Yes. Point any MCP client that speaks Streamable HTTP at https://app.bolagskvarnen.se/mcp and your agent gets seven read-only tools for Swedish companies: search, profile and status, board and signatory rights, change history, accounts, and a person's roles in other companies. Disclosure: I build Bolagskvarnen. Other Swedish services sell company data too, and some cover things we don't, so I'll say where ours stops. What is free, and where it ends Bolagsverket, the Swedish Companies Registration Office, has an open API. It gives name, legal form, address, status and industry code for free, wi
FBI's crime database hacked: 18M records, 1 trust problem Hackers got into the FBI's National Crime Information Center — the database behind more than 18 million active records that over 90,000 law enforcement agencies query millions of times a day. The FBI has declined to comment, and nobody will say what was taken, because the worse question is whether anything in it can still be trusted. What we know CNN first reported the hack on Friday, November 20, citing two people briefed on the investigation. The Associated Press confirmed it Saturday through a person familiar with the matter; Fox New
angan-angan dan harapan yang kutaruh kemarin tak akan pernah terjadi seperti yang sudah lalu. Haruskah aku menyerah dan berhenti berharap… Continue reading on Medium »
Quick note: I wrote this with help from an AI writing tool. Every fact in it comes from the pull request and its review on GitHub. Continue reading on Medium »
**Tu namespace como tu sistema operativo personal. **Hoy tienes 20 apps, 20 cuentas, 20 copias de ti. En el futuro maduro tienes un solo árbol: username.cleaker.me. Las apps son ramas que pones y quitas: tu.cleaker.me/banco, tu.cleaker.me/salud, tu.cleaker.me/trabajo. Quitas la app, la rama se va, tu raíz queda intacta. No migras datos, retiras una rama. Netget se vuelve tu hosting personal. No pagas por servidor, pagas por monads que replican tu árbol. Tu dominio es transporte, no identidad. Puedes cambiar de netget.site a otro gateway y tu N sigue siendo el mismo, porque namespace[surface]/p
How independent publishers can scan 16 AI crawlers in seconds and turn unpaid RAG scraping traffic into ~350ms, sub-cent settlements —… Continue reading on Medium »
I’ve always found myself caught in chaos. My mind is a mess of thoughts I cannot always make sense of, and my emotions are not always easy… Continue reading on Medium »
Pasting text into HTML looks trivial until a stray < or & breaks your page or opens an XSS hole. Here are the entity and escaping mistakes I see most often. 1. Escaping in the wrong context HTML text, HTML attributes, URLs, JavaScript strings and CSS each need different escaping. Escaping for HTML body does not make a value safe inside onclick="..." or a <script> block. 2. Double escaping If your template engine already escapes, escaping again gives you &amp; on screen. Escape once, at output time, not when storing data. 3. Forgetting quotes in attributes &, < and > are not enough inside a
Every parent wants their children to know God, but many kids find the Bible boring. It is not because the Bible is boring. It is because… Continue reading on Medium »