DEV Community (@ThePracticalDev) header
DEV Community (@ThePracticalDev) profile picture

The Twitter account that launched https://www.teapaw.org/t.co/TJyCu2S5ZF. Built on @forem 🌱 On Bluesky @/https://www.teapaw.org/t.co/TJyCu2S5ZF No DMs — please email us for support!

Joined August 2014
Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)Photo by DEV Community (@ThePracticalDev)
An AI agent deleted your data, or a deploy went sideways? The CodeNewbie Podcast wants to read your story on air and talk through it with expert guests. 🧵 { author: @LoLoCoding + @codenewbies }
1
1
3
3,708
Stories about building with AI are especially wanted: a surprise bill, an API key pushed to a public repo, a security hole in your own app, a launch where nobody showed up, or job hunting along the way.
1
1
830
Why store documents as binary BSON instead of JSON strings? Each field gets a type byte and a length prefix, so a reader can jump over a value it doesn't need. Part 4 of the nosqlite devlog covers the page and record layout. { author: @PriyanshuPz } dev.to/priyanshuverma/storin…
2
1
6
2,921
New author alert! 🎉 @NikolaySkalenko explains how a spec-first pipeline of AI agents, backed by automated CI checks, took their output from ~9 to ~700 commits a month. It's their first DEV post. dev.to/nikolayskalenko/from-…
1
3
7
2,147
Seven validators, one rule (a string up to 100 characters), and two of them accepted 51 emoji. @nyaomaru_dev tested six libraries plus a handwritten guard and found that equivalent-looking schemas are not equivalent contracts. dev.to/nyaomaru/i-compared-6…
2
2
9
2,662
A Deno task that took about 4 seconds ran in under 10 milliseconds once nothing in its declared inputs changed. Then came the cases where the new task cache quietly does nothing. 🧵 { author: @AlexGeorgiev17 }
2
1
8
8,107
The catches: a task that writes into its own input glob never gets a hit, and checking a 3,000-file tree cost more than running a no-op task. Point files only at what the task reads.
1
2
1,174
Passing an AbortSignal to a Node.js database query? pg, mysql2 and mariadb ignore it. @shubhra_dev tested 4 drivers: 12 abandoned queries kept a 4-connection pool busy for about 6 seconds, and the first healthy select 1 waited 5.7 seconds. dev.to/shubhradev/does-abort…
3
1
9
3,684
Redis 8.12 RC2 adds per-member expiry for sets. In a 2,000-member test, checking membership took about half the time, because SISMEMBER alone replaces SISMEMBER plus a ZSCORE lookup. 🧵 { author: @AlexGeorgiev17 }
3
6
5,916
The catch: setting the expiry was no faster than a plain ZADD, and one TTL changes the set's encoding. A 300-integer intset jumped from 636 bytes to a 10,388 byte hashtable, and stayed that way after SPERSIST.
2
1,257
Doubling the speed of a team's tools doesn't buy slack if the incoming work doubles too. Queueing theory says that at 90% utilization, a job takes ten times as long as the work itself. 🧵 { author: @btarbox }
2
4
5,959
The fixes on the table: plan for 80% instead of 100%, put learning on the schedule at four hours a week, count recovery as capacity, and hire ahead of the curve.
1
1,165