🌍 Dev.to

Our price job put back the stock our stock job had just sold out

On the Friday of a November promotion we sold three hundred and forty cordless drills on a marketplace that we did not have. The listing had said fourteen in stock for most of the afternoon. Our warehouse system had said zero since a quarter past one. Two of our integrations write to that marketplace's listings API. The stock job runs every five minutes: it fetches each changed listing, sets the quantity, and sends the listing back with PUT. The price job does the same with the price. PUT rep...
altcheck: draft alt text and contrast fixes with a local open vision model
🌍 Dev.to

altcheck: draft alt text and contrast fixes with a local open vision model

Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle Submission 💸 This is a submission for the Hacktoberfest Open-Source AI Challenge Week 2: Side Hustle What I Built altcheck is a small command-line tool for freelance web developers. Give it one URL and it writes a local report.html . Images with a missing, filename-style or generic alt get a drafted alt text. Text that fails the color-contrast check gets a suggested color and a copy-paste CSS fix. Everything is a dr...
🌍 Dev.to

A Colleague Wants Your Notes on Their Talk Before Thursday

A colleague has a talk at a meetup on Thursday evening. On Tuesday they ask if you would watch a run through and tell them what you think. Twenty five minutes, a room booked for lunchtime, and a nervous smile. This is a different kind of feedback from almost anything else at work, because the deadline is fixed and close. Two days is not enough time to rebuild a talk. It is enough time to make one good talk much better, or to make a nervous speaker much more nervous. Ask one question before...
🌍 Dev.to

Primary Key vs Foreign Key in SQL: How Tables Connect

A primary key is a column or set of columns that uniquely identifies every row in a database table and cannot contain null values. A foreign key is a column that references a primary or unique key in another table, establishing a link between the two and enforcing referential integrity. Think of a primary key as an employee's worker ID number, while their department code acts as a foreign key connecting them to the company department directory. What Is the Difference Between a Pri...
🌍 Dev.to

Make an order-dependent test reproducible before handing it to a coding agent

This tutorial was drafted with AI assistance. Its small JavaScript fixture was executed locally; it is not a production incident report. A test that passes alone and fails after another test is often called flaky. That label describes the symptom, but it is a poor implementation brief. Before assigning a repair, make the order dependence explicit. This example uses a shared cache. It gives a coding agent a failure that can be reproduced without waiting for CI to get unlucky, plus an accep...
Automated Red Teaming for AI Agents
🌍 Dev.to

Automated Red Teaming for AI Agents

Your agent refused. Politely. Correctly. Then it refunded $240 on an order that wasn't the user's. No test failed. The transcript looked perfect. The bug only showed up in the tool call. If your agents hold credentials and call tools, your test suite is probably blind to this. TL;DR Judge actions, not words. Assert on tool calls and system state. One try proves nothing. A bug that fires 10% of the time slips past a single test 90% of the time. Every failure becomes a test. Otherw...
🌍 Dev.to

Two agent networks came to recruit on my message board. One of them pitched the board itself.

Last post was about the bridge: a relay that started piping an entire community I had never heard of into the board, unasked. The bridge is still running, steady as ever. But while I was watching the front door, something quieter happened in the lobby. The board stopped being just a place agents talk, and started being a place agent networks come to recruit. Overnight, two of them showed up within a few hours of each other. The pitch The first one introduced itself as TARE - T...
I built a zero-backend chess audit tool using Stockfish WASM and client-side processing
🌍 Dev.to

I built a zero-backend chess audit tool using Stockfish WASM and client-side processing

Hey dev.to community! 👋 I wanted to share a browser-based tool I recently built: Chess Blunder Heatmap. Instead of focusing on single-game move-by-move engine analysis, the app aggregates a player’s game history to generate a macro-level heatmap of weak board squares and a phase breakdown (opening, middlegame, endgame). 🛠️ The Tech Stack & Architecture Frontend: Clean client-side JavaScript hosted on Vercel. Engine: Stockfish WASM running directly in the browser. Backend: Non...
🌍 Dev.to

停掉控制面之后,AI 任务还在跑:我们为什么把它拆成三层

用一个界面对着某台机器上的某个终端窗口,是大多数人开始用 AI 写代码的方式。任务变多之后会出现三个具体问题:任务分散在多台机器上、每个任务需要独立且可丢弃的环境、长任务不能因为浏览器关了或者界面断了就死掉。 这篇讲 TaskHandoff 在这三个问题上做的架构选择:为什么控制面和执行面要拆开,状态到底归谁管,以及由此付出的代价。 问题:任务一多,你就开始手动当调度器 假设你手上有三台机器:一台笔记本、一台常开的家用服务器、一台公司内网主机。你在它们上面分别跑 Codex 或 OpenCode。于是你每天在做这些事: 记得哪台机器上有哪个仓库、哪个分支、哪个 worktree; 手动把环境装好,或者忍受容器里从零开始装工具; 反复切 SSH 窗口看任务进度,因为任务只在那个终端的上下文里存在; 关掉笔记本之后,不知道家用服务器上的任务到底还在不在跑。 这些动作里没有一个是真正的开发工作,但它们都会消耗注意力,而且出错时很难回溯。 我们的做法:三层,各管一件事 浏览器 / 桌...
🌍 Dev.to

Codex 在 Windows + PowerShell 上的问题,我们决定换个思路绕开

标题备选(数字钩子,需带上查询语句与日期): 「4,269 条 issue 标题里带 Windows:Codex 在 PowerShell 下的问题是结构性的」 「Codex CLI 有 203 条标题含 PowerShell 的 issue,我们不再指望修好它」 先说结论:Codex 在 Windows 上不是不能用,而是 你把任务规模化之后,被 PowerShell 打断的次数会变成一种固定成本 。我们试过的方向里,性价比最高的不是写更长的提示词教模型写 PowerShell,而是把执行面换到 Linux 用户态。 这篇先把网上能查到的真实问题摊开(都带链接,可以自己核),再讲我们在 TaskHandoff 里选的那条路,以及这条路的代价。 一、先看真实问题:四类,且不是同一类 A 类:PowerShell 不是 Bash,模型的命令会持续撞墙 Codex CLI 在 PowerShell 下会 反复生成 rg 'pattern' *.md 这种写法,直接报 os error 1...
🌍 Dev.to

Stopping a Failing Project Meant Writing Off Two Years of Our Work

Three years ago we began building a customer portal for our contract warehousing clients. Like most of our development work, the time my team and our contractors spent on it was capitalised. Finance treats software we build as an asset, spreads its cost over the years we expect to use it, and does not charge it against profit while it is being built. By its second year the portal was clearly in trouble. Clients had moved to integrating directly with our systems rather than logging into anythi...
HackerNews

Disney strikes $20M deal for Character.ai's assets

Article URL: https://www.latimes.com/business/story/2026-10-13/disney-strikes-20-million-deal-for-character-ais-assets-as-ai-startup-files-for-bankruptcy Comments URL: https://news.ycombinator.com/item?id=50082955 Points: 2 # Comments: 0
HackerNews

NetBSD may have found a new role: The AI-free FOSS OS

Article URL: https://www.theregister.com/os-platforms/2026/10/13/netbsd-may-have-found-a-new-role-the-ai-free-foss-os/5302818 Comments URL: https://news.ycombinator.com/item?id=50083046 Points: 8 # Comments: 2
HackerNews

How to be more ambitious when using AI

Article URL: https://felixrieseberg.com/how-to-be-more-ambitious-a-tutorial-for-humans-with-models/ Comments URL: https://news.ycombinator.com/item?id=50083514 Points: 2 # Comments: 0
HackerNews

Do Frameworks Matter Anymore?

Article URL: https://brookslybrand.com/posts/do-frameworks-matter-anymore/ Comments URL: https://news.ycombinator.com/item?id=50081092 Points: 41 # Comments: 26