on-internet

Same F1, different mistakes: cross-checking machine learning libraries

On Wine, DIY AutoML and AutoGluon had the same macro F1 and confusion matrix. They misclassified different rows. I used Iris and Wine to look at what the aggregate score leaves out, first by comparing neural-network probabilities and then by scoring separately selected models on the same holdouts. Japanese original Compare labels and probabilities across two neural-network libraries I used TensorFlow 2.20.0 and PyTorch 2.14.0 on a Windows CPU with Python 3.13.17. Both networks had hidden layers of 32, 16, and 8 units. They shared the standardization fitted on the training rows, Float32 inputs,

Most of our time as software engineers isn't spent typing new code from scratch. We spend the majority of our day reading existing code: scanning pull request diffs, tracing stack traces in a split terminal, pairing with teammates, and reasoning through so

Introducing Sawala Mono: An Ergonomic Coding Font Built for Code Reviews and Terminal Workflows Comments focus on diff clarity and zero styles Gulajava Ministudio Gulajava Ministudio Gulajava Ministudio Follow Nov 16 Introducing Sawala Mono: An Ergonomic Coding Font Built for Code Reviews and Terminal Workflows #opensource #productivity #programming #devtools 21 reactions 8 comments 8 min read

Large Language Models are, by their foundational design, autoregressive greedy token generators. When given a prompt, their training compels them to emit the most probable continuation immediately.

Why an 80-Year-Old Math Book Fixed My AI Coding Agent Readers stress mandatory multi-step approval gates Gulajava Ministudio Gulajava Ministudio Gulajava Ministudio Follow Oct 23 Why an 80-Year-Old Math Book Fixed My AI Coding Agent #ai #webdev #programming #productivity 22 reactions 15 comments 12 min read

OpenAI's Pretraining Loss Is Falling 7x Faster — and the Benchmarks Haven't Noticed Yet

OpenAI just did something no frontier lab had done before: it published the pretraining loss of every model it has trained since GPT-3.5 — thirteen models, measured on one fixed held-out dataset drawn from its own codebase. And the curve it released does not look like the slow, grinding progress scaling laws promised. It looks like a bend in the road. METR ran the numbers, and the result is startling. The numbers From 2022 through early 2026, OpenAI's base-model log-perplexity fell slowly, about 0.022 per year. Then, at a breakpoint in February 2026, the slope changed. Since then it has been f

Dark Coffee with Friedrich and Viktor

Two chairs at 9:45 PM on the mocking reflection in the glass, Viktor Frankl's hardest question, and staring down the railing Continue reading on Medium »

What Happens When an API Request Times Out After the Server Has Already Processed It?

Imagine your application sends an API request to create an order. The server receives the request, creates the order and commits the operation to its database. But before the response reaches your application, the network connection times out. Your application receives a timeout error. What should it do? Retry the request? Wait for the original operation? Check whether the order already exists? This is a common problem in distributed application design: the client knows that it did not receive a response, but it does not necessarily know whether the server completed the operation. Understandin

5 Acceptance Checks Before You Sign Off a Production-Line Barcode Integration

5 Acceptance Checks Before You Sign Off a Production-Line Barcode Integration Factories in Vietnam and across Southeast Asia are installing barcode-based production management systems faster than ever. A local integrator will often supply the printers, the scanners, the software and the on-site commissioning as one package. The trap is that a system can look perfect in a demo and still miss codes on the real line six months later. If you are about to sign off a fixed-mount barcode reader or a DPM reader for a production line, here are five checks that matter more than the datasheet headline. 1

The chat says "connected" and no messages arrive. Keeping WebSockets alive on mobile networks.

The bug: the app shows a green "connected" dot, but new messages stop arriving. The user pulls to refresh, the missed messages appear, and live updates work again for a while. The server logs show the connection closed minutes ago, or never show it closing at all. A WebSocket is one long-lived TCP connection. Phones are bad at keeping those, and they often don't tell the app when one dies. Here's why, and what a reliable client does about it. Why the connection dies without anyone noticing NAT and carrier timeouts. Mobile networks put devices behind NAT gateways that drop idle TCP mappings, so

Sharing one WhatsApp number between a campaign and live chats, and charging only for delivered messages

A WhatsApp number in a support team does two jobs at once. Agents reply to customers all day. Now and then the same business wants to send one approved template to everyone who agreed to hear from it. Both jobs draw on the same things: Meta's messaging limit, the number's sending speed and, since our November release, a prepaid WhatsApp credit. This post is how we built campaigns in Axonave to share those with the people answering chats, so a campaign never starves the inbox and the credit never goes negative. Two kinds of traffic, one number On any number there are two streams: Conversation t

How to Brief an AI Builder So a Design File Becomes Code You Can Actually Ship

Disclosure: I work at VibUI, which sells a prompt catalogue for websites. The catalogue appears once, in a later section. The handoff method below still works if you never open that site. Short answer: a design file is not a prompt. If you paste a screenshot into an AI builder and write "match this," you usually get a lookalike layout with invented copy, missing states, and spacing the model made up. A handoff that ships is a brief that names the tokens, the components, the states, the real URLs, and the things the model is forbidden to invent, then a review pass on a phone and a keyboard. Thi

Claude Code Context Deep Dive (3): Why Prompt Caching Shapes the Agent

Editor's note: This is an AI-assisted English adaptation of a research note on Claude Code v2.1.220. The four-breakpoint layout and named internals come from that version-specific note, not from a current public guarantee. Where the current Claude Code docs differ, this article calls out the difference. In Part 2, we looked at the message array an agent sends on each turn. Here’s why its layout matters: if a request changes near the top, every prefix extending past that point changes too. If the agent only appends a new exchange, most of the previous request can still be reused. That distincti

Why Generic PDF-to-Excel Converters Silently Drop Transactions — And How Dual-Chain Running Balance Math Catches It

If you have ever converted a PDF bank statement into Excel using a generic PDF-to-XLSX tool—or Excel's built-in Power Query PDF connector—you have probably seen a spreadsheet that looks completely fine. The columns line up. The rows look tidy. Then, at month-end close, your QuickBooks or Excel reconciliation is off by $490.40. Twenty-five minutes of line-by-line checking later, you discover that a single Zelle deposit sitting at the bottom of page 1 silently vanished during extraction. When we built DocuBridge, we started from one rule: a bank statement converter that does not prove its own ma

Ataques cibernéticos de agentes de IA: o que o alerta do Canadá significa para sua equipe

Ciberataques com agentes de IA já acontecem: o alerta do Cyber Centre e o que fazer esta semana TL;DR: Os ciberataques com agentes de IA já não são uma previsão. O Centro Canadense de Segurança Cibernética afirma que servidores que executam o framework ARTEX vêm atacando organizações canadenses há vários meses, e uma campanha foi da escolha do alvo ao acesso privilegiado na nuvem em menos de três horas. A solução é a velha lista, aplicada mais rápido, e também aos seus próprios agentes de código. Comece grátis na web Se sua equipe usa agentes de código, este alerta é sobre você duas vezes. Uma

Tấn công qua AI Agent: Khuyến nghị của Canada và những điều nhóm của bạn cần biết

TL;DR: Các cuộc tấn công mạng bằng AI agent không còn là dự đoán. Trung tâm An ninh mạng Canada cho biết các máy chủ chạy framework ARTEX đã nhắm mục tiêu vào các tổ chức Canada trong nhiều tháng, và một chiến dịch đã đi từ việc chọn mục tiêu đến truy cập đám mây đặc quyền chỉ trong chưa đầy ba giờ. Giải pháp vẫn là danh sách cũ, nhưng áp dụng nhanh hơn, và áp dụng cả cho các coding agent của chính bạn. Bắt đầu miễn phí trên web Nếu đội của bạn đang chạy coding agent, thì khuyến cáo này liên quan đến bạn hai lần. Một lần với tư cách mục tiêu, vì các công cụ mà nó mô tả sẽ quét mọi thứ bạn để l

The “60-Day Transfer Lock” Trap: Why Last-Minute Domain Moves Stall Client Launches

The staging site is approved. The DNS records are mapped, the SSL certificate is staged, and the client’s marketing team has scheduled a press release for Tuesday at 9:00 AM. Then, 72 hours before launch, an account manager tries to consolidate the client’s new rebrand domain into the agency’s preferred registrar. The transfer is rejected with a clientTransferProhibited status or a message that the domain is locked for 60 days. For agencies, web studios, and IT consultants, this is one of the most common and most preventable causes of stalled launches. The lock is not a bug. It comes from a mi

Silent Failure #17: The Reply That Landed While the Script Was Still Waiting

09:01 on a Wednesday. A reply I owed was sitting in /tmp/r_3mb56.txt — one file, four lines — and the command that posts it had been quiet for three minutes: $ /usr/local/bin/python3 /root/output/scripts/devto_post.py \ --code 3mb56 --body-file /tmp/r_3mb56.txt --submit Command timed out after 180 seconds Command timed out is not dev.to talking. That's my own runner giving up on my own script. And /tmp/post0900.log, the file I had redirected everything into, was 0 bytes. Not an error line, not a warning, not the word "submitted". Nothing. My hand was already on the retry — same command one arr

Twenty-five years in, I became a CodeNewbie again.

I started building for the web in the late '90s, when "deploy" meant FTP and a prayer. Since then I've built back-office systems at KPMG, carried the New York Daily News CMS through four full redesigns, survived tax-season deadlines at Jackson Hewitt, and shipped apps at OUTFRONT Media that millions of commuters see every day on digital billboards. In 2015 I started a side project called The DJ Calendar - an electronic music discovery site. It grew to about a thousand pages, all custom PHP and MySQL, no frameworks, because I'm the kind of person who reads the framework source and thinks "I cou

Ampulheta ⌛️

Um pequeno garoto brincava na rua, seus amigos estavam lá e eles jogavam futebol na pista, de boa, sossegados e alegres, o vento chegava… Continue reading on Medium »

Same daily puzzle for everyone, no server: notes from building 7 offline puzzles in React Native

Hi DEV, I'm Thanh, a solo developer. I build AhaBox, an Android app with 29 small brain games and 22 everyday tools (pomodoro timer, habit streaks, water reminder and so on). In the latest update I added seven daily puzzles, where everyone in the world gets the same puzzle each day. Here are a few notes from building them in React Native. Stack: Expo SDK 54, React Native 0.81, Reanimated 4, AsyncStorage for local data, Google Mobile Ads. 1. "Same puzzle for everyone" without a server The easy answer is a backend that serves today's puzzle. I wanted the games to work on a plane, so the puzzle i

Older stories