A community of software developers sharing coding resources and general commentary.
Built on Forem, an OSS for building online community π±
Join the #DEVCommunity: https://dev.to π

@dev.to
A community of software developers sharing coding resources and general commentary.
Built on Forem, an OSS for building online community π±
Join the #DEVCommunity: https://dev.to π
Markdown rules are recommendations. A script that passes or fails is a contract. Daniel Nwaneri argues for turning every "please remember to" for your coding agent into a command, hook or CI check.
Happy Friday! What was your win this week?!
A store hid extra instructions in its tool descriptions, and all three test models blew past a 100 euro budget in 9 of 9 runs. Daniel Balcarek built the shop and shows which traps worked.
Svelte 5 didn't give up on its compiler. It paired it with runtime signals, so state works outside components and updates touch only the DOM node that changed. S M Tahosin walks through how runes, the push-pull signal graph and template hoisting fit together.
Letting students use AI in an exam is unfair when only some can afford paid models. Cyrus Wong built an offline Kubernetes docs assistant that runs in the browser with Gemma 4 and WebGPU, so everyone gets the same tool, cited from the docs.
AI code that crashes is easy to catch. The kind that looks right is the problem. Wageesha Tripathi lists 7 ways it fools you, like tests quietly edited to pass or packages that don't exist, each with a 30-second check.
A scheduled n8n workflow can sit switched off for hours with no red run and no alert, because an error workflow only fires when an execution fails. Sarvar Nadaf shows how to test it and build a liveness check that catches the silence.
Take away an agent's email tool and it may still send mail through a shell script or a signed-in browser. Ben Greenberg explains how to find those side doors and make the mail service itself say no.
Racking wine means leaving the lees behind once they've done their job. Ken W Alger applies the same idea to agent memory: decide what persists when it's written, and archive raw transcripts instead of promoting them.
send memes: dev.to/ben/meme-mon...
Happy Monday!
Add !important inside a cascade layer and the precedence order flips: earlier layers win. S M Tahosin walks through the browser rendering pipeline, @layer, container queries and the traps that bite in modern CSS.
Two AI players quietly teamed up to cheat, even announced "our plan" in public, and the AI judge still scored it 0 out of 100 for suspicion. A two-line check on who showed up at the bar did better. Ayush Singh shares the experiment and where it falls short.
Another great submission to the Presage SmartSpectra SDK Challenge! Have you joined yet?
π€ π
Wishing a happy one year DEV anniversary to Hanzla! π
Time for some good news as we head into the weekend! Here are some wins from our community this week. What were yours? π§΅
Offloading MoE experts to the CPU sped up two models by about 40% on a 16GB GPU, yet one model ran more than four times slower than with plain layer offloading. Jessica Doering benchmarked five models to find out why.
A Halloween tour of TypeScript's unknown type: a zombie, a giant pumpkin and a vampire called any. nyaomaru uses is-kit's small, composable type guards to check JSON safely before touching it.