๐ŸŒ Dev.to

CREATE INDEX CONCURRENTLY is not free, and half the time you do not need it

The standard advice is "always CREATE INDEX CONCURRENTLY in production". It is good advice and it is also a little lazy, because it skips over what the concurrent form costs and when you are paying that cost for nothing. So here are numbers. The setup Postgres 16, one table, twenty million rows, 1.6 GB on disk. While each index builds, a second session inserts one row every fifty milliseconds and records how long the slowest insert had to wait. Laptop hardware, so the absolute ti...
๐ŸŒ Dev.to

One line stops a migration from taking down production. Almost nobody adds it.

Here is how a migration that does no work at all takes a table offline. ALTER TABLE orders ADD COLUMN note text; A nullable column, no default. This is a catalog change; on its own it holds its lock for a few milliseconds. It does not matter how big the table is. What matters is who else is holding a lock on the table when it asks for its own, and that is something the migration author can not see and did not think about, because the statement is so obviously harmless. ...
๐ŸŒ Dev.to

Deterministic checks for AI-written migrations

A coding agent asked to "add a status column to orders " will do it in seconds. It will also, more often than not, write the version that fails on a table with rows in it, or the version that takes an exclusive lock and holds it for the whole rewrite. Not because the model is bad at SQL, because the dangerous form and the safe form look almost identical, and the difference only matters at production scale, which the model never sees. -- what the agent wrote ALTER TABLE orders ...
๐ŸŒ Dev.to

Ship Gate: The Pre-Deploy Checklist Most AI Features Skip

Most AI features don't fail in the model. They fail at the gate. Someone demos a shiny prompt. Leadership loves it. It ships. Then a customer pastes something weird, an agent calls the wrong tool, or a "helpful" answer invents an offer that never existed. The postmortem is always the same: we optimized for the demo, not for production. I call the missing step Ship Gate โ€” a short, boring checklist you run before any AI feature leaves the sandbox. Not a 40-page risk memo. A gate you can...
๐ŸŒ Dev.to

What std::mem::forget Actually Does to Heap Allocations

Rust guarantees memory safety, not resource freedom. Calling std::mem::forget suppresses destructor execution entirely, tearing down the stack pointer while leaving heap metadata active in allocator slabs. This deep dive dissects the machine-level divide between std::mem::forget, Box::into_raw, and ManuallyDrop. Learn how orphaned allocations evade Undefined Behavior while silently fragmenting virtual memory, locking anonymous pages into RSS, and triggering catastrophic kernel OOM killer events ...
๐ŸŒ Dev.to

How Cursor AI Understands Your Whole Codebase โ€” And How to Leverage It in a Serverless Lambda

Cursor AI can scan an entire repository in seconds and give lineโ€‘byโ€‘line suggestions, but most engineers treat it like a simple autocomplete. Learn why that mindset wastes the toolโ€™s power and how to unlock fullโ€‘context code generation in production. What โ€œWholeโ€‘Repoโ€ Context Means for an LLM Why it matters โ€“ An LLM (large language model) is a statistical engine that predicts the next token (word or symbol) based on everything it has seen. If you feed it just one file, it ...
๐ŸŒ Dev.to

If Blockchain Isn't Required, When Is It Better Than a Database?

In my previous post, I couldn't find a game that I could confidently say was technically impossible without blockchain. Axie Infinity, Gods Unchained, The Sandbox โ€” the core game systems could all, at least in principle, be implemented with a normal server and database. Play-to-Earn didn't solve the problem either. So it would be easy to stop there and say: Maybe games simply don't need blockchain. But something about that conclusion bothered me. Being able to reproduce the s...
๐ŸŒ Dev.to

I fact-checked 5 viral "my AI bot made money" posts against primary data. None survived.

Over the past week my feed filled up with posts of the same shape: someone hands an AI agent fifty-odd dollars, walks away, and comes back to thousands. I run a small, boring, fully logged trading system myself, so I checked five of these claims against primary sources: on-chain pool data, official fee schedules, the projects' own sites and the authors' own public demos. I used the same five questions every time: Is there verifiable evidence, such as a public wallet or trade history? W...
HackerNews

What Stripe data shows about fraud at AI startups

Article URL: https://stripe.com/blog/what-stripe-data-shows-about-fraud-at-ai-startups Comments URL: https://news.ycombinator.com/item?id=49740487 Points: 2 # Comments: 0
HackerNews

YC-backed AI: "Never miss another booking." Its terms: no liability for downtime

I wrote an outside-in analysis of Elyra, a YC-backed restaurant AI. Its Voice Agent page says "Never Miss Another Booking"; Section 17 of its Terms says no guaranteed availability and no liability for downtime. The piece looks at who actually carries that risk and what a fallback would need to look like. Section on downtime is here: https://aarushthinks.com/company-analysis/elyra#who-bears-the-downtime Comments URL: https://news.ycombinator.com/item?id=49741200 Points: 1 # Comments: 2
HackerNews

Show HN: Unimodal โ€“ Our AI Manifest

We're launching some products that need to get built to enable what's coming next. The focus is around AI economies and Human economies, how they work together and individually. Everything is in alpha so any feedback would be helpful. Comments URL: https://news.ycombinator.com/item?id=49741238 Points: 1 # Comments: 0
HackerNews

AI Consciousness Is Not a Safety Property

Article URL: https://philippdubach.com/posts/ai-consciousness-is-not-a-safety-property/ Comments URL: https://news.ycombinator.com/item?id=49742078 Points: 1 # Comments: 0
HackerNews

Microsoft Azure CTO and AI Ported ZoomIt to macOS in Two Days

Article URL: https://www.windowslatest.com/2026/09/17/microsoft-azure-cto-used-ai-to-port-20-year-old-windows-tool-to-macos-in-two-days-i-was-flabbergasted/ Comments URL: https://news.ycombinator.com/item?id=49742146 Points: 1 # Comments: 0