🌍 Dev.to

Generalizing Transactions in NestJS: A Domain Port over TypeORM and MongoDB

Transaction control usually starts out tied to whatever implements it. An executor — a concrete class that opens a transaction over the project's ORM — gets injected into the controller and wraps the body of the handler, so that everything a request writes either commits or is discarded as a block: @ Post () create (@ Body () body : CreateUserRequest ) { return this . transactionExecutor . execute ( async () => new RegisterUser ( this . ids ...
Bitemporal CIEDE2000 Calibration: Event-Sourced PostgreSQL Queues and Low-Latency SSE Telemetry for Shadow’s 24fps Multimodal Synthesis Core
🌍 Dev.to

Bitemporal CIEDE2000 Calibration: Event-Sourced PostgreSQL Queues and Low-Latency SSE Telemetry for Shadow’s 24fps Multimodal Synthesis Core

Bitemporal CIEDE2000 Calibration: Event-Sourced PostgreSQL Queues and Low-Latency SSE Telemetry for Shadow's 24fps Multimodal Synthesis Core When we started rebuilding Shadow's media pipeline last year, we hit a wall with colour drift between synthesis passes. Our core generates multimodal frames at 24fps, but every subsystem had its own notion of what "colour" meant, and drift compounds across a 90-minute reel. We needed a calibration substrate that survived frame boundaries, queue backpres...
I Replaced SQLite's C Driver with 800 Lines of Pure Python Stdlib: What the Docs Don't Tell You About Raw B-Trees, 9-Byte Varints, and 48-Bit Integers
🌍 Dev.to

I Replaced SQLite's C Driver with 800 Lines of Pure Python Stdlib: What the Docs Don't Tell You About Raw B-Trees, 9-Byte Varints, and 48-Bit Integers

The rules were brutal : Zero third-party runtime dependencies. No pip . No C-extensions. No wheels. Just Python's standard library and a raw binary file stream. 1. The Bet: Why Would Anyone Replace sqlite3 ? Every Python developer has written this line: import sqlite3 conn = sqlite3.connect("app.db") It is one of the most reliable, rock-solid, battle-tested software components on planet Earth. The C-amalgamation of SQLite powers billions of sm...
🌍 Dev.to

is Graph Engineering just reinventing systems architecture for the AI age?

Bringing backend predictability to multi-agent systems I've been hearing the phrase "graph engineering" thrown around a lot lately. I originally assumed it had something to do with knowledge graphs, or maybe GraphRAG. Not quite! I sat down with Annie Wang and asked her to break it down from the ground up: what graph engineering is, and how it gives developers control over complex AI systems. What's in the video Demystifying the terms: The actual differences between...
🌍 Dev.to

Self-hosting open source is easy. Running it in production is not.

You picked an open source tool on purpose. Maybe it was n8n instead of a per-task automation SaaS, Keycloak instead of paying per active user for auth, Postgres and Grafana and Mattermost instead of three separate subscriptions that each want a seat license. The pitch is good: own your data, no per-seat bill, no vendor deciding your roadmap. You run docker compose up . It works. You show the team. Everyone is happy. Then it goes to production, and the actual job starts. The wo...
🌍 Dev.to

How to Increase Website Traffic While Building Your SaaS in Public

To increase website traffic while building your SaaS in public, turn problems you solve into useful pages on your website. Share those pages through relevant public updates, then measure which visitors reach a meaningful step in your product. This creates a practical connection between development work, content, and customer acquisition. You already encounter questions while building. Some of those questions may also matter to the people who could use your product. The opportunity is to wr...
🌍 Dev.to

Google Keeps AdX After DOJ Remedy Ruling, With Behavioral Changes Ahead

Google will retain its AdX advertising exchange after a federal judge rejected the U.S. Department of Justice's proposed divestiture remedy in United States v. Google LLC . The September 2, 2026 order shifts the case toward behavioral measures rather than a breakup of Google's ad-tech assets, a distinction that matters for advertisers, publishers, and companies that rely on programmatic advertising to reach customers. U.S. District Judge Leonie Brinkema denied the proposed sale of AdX and a ...
🌍 Dev.to

Show Me the Article You're Most Proud Of And I'll Read Every Single One of Them

I Write More Than I Read I used to read a lot on DEV. Then I started writing my own articles, and somewhere along the way I stopped reading nearly as much as I used to. I want to fix that. There are so many good writers on here that it's genuinely overwhelming, and I'd rather be reading them than not. The Rules Doesn't matter if you're a veteran tech writer or you published your first post last week. 👉 Pick one article you're most proud of. Just one. It doesn't have t...
Pare de esperar o backend: mocks HTTP no seu próprio subdomínio
🌍 Dev.to

Pare de esperar o backend: mocks HTTP no seu próprio subdomínio

Você já ficou parado por causa de uma API? Se você trabalha em projetos com vários times e precisa integrar com uma API que raramente fica pronta no prazo ; se quer validar uma ideia sem montar um backend completo (nem esperar alguém montar); ou se precisa exercitar fluxos de sucesso e erro do seu app sem depender de outro time — mock local, JSON no Slack e “roda só na minha máquina” param de dar conta rápido. O time de front quer seguir. O mobile quer cobrir 401, 500 e o happy path. O...
🌍 Dev.to

How much does it cost to implement an AI agent in 2026

"How much does an AI agent cost" is the question I hear more than any other. The honest answer: from about fifteen hundred euros for a narrow process to hundreds of thousands of dollars a year if you hire a team. The difference is not the model. It is what exactly you are buying. What drives the cost Five factors I assess in every request, and a sixth that everyone remembers last. The process the agent takes over. Replying to standard emails and running a full order cycle (fin...
🌍 Dev.to

Admit it, you have a favorite AI (just like you have a favorite coworker)

My mom likes to quote her grandmother who would say things like "I hate yous all equally" when asked who her favorite grandchild was. I feel that, but with AI tools. If you've worked with me recently, you've probably been my favorite coworker. At least temporarily. It's an easy title to achieve, but hard to hold on to. Anyway, I just finished a little onboarding audit project (which I may elaborate on later) but for now I want to rant about AI, which didn't help me write this at all so an...
🌍 Dev.to

Anthropic’s August 2026 Risk Report Details Claude Misuse and Mitigation Work

Anthropic has published a public, redacted August 2026 Risk Report that documents risk across its frontier models through mid-July 2026. The report is the company’s most comprehensive public threat intelligence artifact to date, covering attempted misuse involving cyberattacks, influence operations, surveillance, biology, and weapons-related activity, alongside mitigations, safeguards, and forward-looking plans. The central takeaway is not that Claude is being positioned as a security tool....
HackerNews

More questions about whether researchers can trust OpenAI with unpublished math

https://mathstodon.xyz/@andreasthom/117240536885387540 https://mathstodon.xyz/@andreasthom/117240537520615623 https://x.com/ValerioCapraro/status/2097791836269977996 , https://xcancel.com/ValerioCapraro/status/209779183626997799... https://bsky.app/profile/did:plc:ckaz32jwl6t2cno6fmuw2nhn/po... Comments URL: https://news.ycombinator.com/item?id=49639408 Points: 330 # Comments: 439
HackerNews

Silicon Valley Is Transforming the Military-Industrial Complex

Article URL: https://costsofwar.watson.brown.edu/paper/how-big-tech-and-silicon-valley-are-transforming-military-industrial-complex Comments URL: https://news.ycombinator.com/item?id=49645754 Points: 91 # Comments: 132
HackerNews

Show HN: MultiMatte, a Promptable Image Background Removal Model

Hey HN, I'm Shreyash from Feyn. We help companies build custom models from their data. Today we're releasing MultiMatte, a background removal model you can aim with words. Name an object in your image. MultiMatte keeps just that thing, and removes everything else. Try it out on your images: https://usefeyn.com/multimatte/ . Demo video: https://youtu.be/XZ5BJWAkOjs MultiMatte is open source. Build with it using our NoBg library https://github.com/feyninc/nobg . Model card here: https://hf.co...
HackerNews

Forgejo <=16.0.3 Critical RCE

Article URL: https://codeberg.org/forgejo/forgejo/src/branch/forgejo/release-notes-published/16.0.4.md Comments URL: https://news.ycombinator.com/item?id=49645907 Points: 82 # Comments: 34