Morning.dev
My Feed Popular
Login
DEV Community • 2026-08-11 03:37

My MCP Server's GitHub Token Can Write. The Code That Promises It Never Will Had No Test.

My MCP server (developer-presence, the one that lets Claude check my GitHub profile and manage my DEV.to posts) has exactly three GitHub tools: get_github_profile, list_repos, get_repo_stats. All three read data. None of them create, update, or delete anything. The GITHUB_TOKEN behind them isn't scoped that way. My own key_facts.md says it plainly: Token scopes needed: `repo`, `user` — add `de...

0 0
5m read
DEV Community • 2026-08-11 03:36

Building a Production AI Agent in Spring Boot: Canary Releases, Model Fallback, and Cost Caps (Part 10)

Last Monday I shipped the shipping-tool prompt from Part 9 to 5% of live traffic. It had won the pairwise gate 24 to 7 with 9 ties, the tool discipline diff was clean, and the money-path cases read fine by hand. I went for lunch confident. At 6:42pm the canary dashboard disagreed. P95 latency was up 38%. Tool calls per conversation had climbed from 3.1 to 5.4. The reworded tool description I was ...

0 0
12m read
Lobsters • 2026-08-11 03:36

Bevy's Sixth Birthday

Comments

0 0
1m read
DEV Community • 2026-08-11 03:35

Write down every guarantee before you write any code

Here is every promise a to-do list makes. VARIABLE tasks Init == tasks = [i \in Ids |-> "absent"] Add(i) == tasks[i] = "absent" /\ tasks' = [tasks EXCEPT ![i] = "open"] Complete(i) == tasks[i] = "open" /\ tasks' = [tasks EXCEPT ![i] = "done"] Reopen(i) == tasks[i] = "done" /\ tasks' = [tasks EXCEPT ![i] = "open"] Delete(i) == tasks[i] # "absent" /\ tasks' = [tasks EXCEPT ![i] ...

0 0
14m read
Experienced Devs • 2026-08-11 03:34

i didn’t get promoted to senior and am feeling conflicted on what i should do

i’ve been in the industry for 6 years. 4 years at a poorly run company, 2 years at a midsized tech first company. the past year and a half my manager has been giving more and more complex projects, that i’ve led from design all the way to release. i’ve probably led 6 or so larger scoped cross functional projects in the past year. i’ve been up for senior bid for this whole year, we re evaluate ever...

0 0
3m read
🟩 Team Matrix or ⬜ Team Paper? | Alan Babychan
DEV Community • 2026-08-11 03:30

🟩 Team Matrix or ⬜ Team Paper? | Alan Babychan

🚀 Shipping a major update to my portfolio After weeks of designing, developing, and refining, I'm excited to share the latest version of my personal portfolio. Rather than building another static portfolio, I wanted to treat it like a real product—focusing on performance, interaction design, accessibility, analytics, and user experience. 🌐 Live: https://www.alanbabychan.online What I built 🟩 ...

0 0
2m read
DEV Community • 2026-08-11 03:30

NPM vs Yarn vs pnpm vs Bun Which Package Manager Is Best for Modern Web Development?

As developers, we use package managers almost every day. Whether we are working with Node.js, React, Next.js, TypeScript, Express, Prisma, or other technologies in the JavaScript ecosystem, choosing the right package manager can have a meaningful impact on our development workflow. Recently, I spent some time comparing the most popular package managers: npm, Yarn, pnpm, and Bun. After looking at...

0 0
3m read
Lobsters • 2026-08-11 03:27

No, local models will not win

Comments

0 0
1m read
DEV Community • 2026-08-11 03:25

How We Built an IoT Platform That Handles 30 Million Concurrent Connections — With a Team of 10

How We Built an IoT Platform That Handles 30 Million Concurrent Connections — With a Team of 10 DGIOT is an open-source industrial IoT platform. We run 928 gateways across 16 oil fields, process 652 million data points, and maintain 99.9999% uptime. Here's the architecture that makes it possible. The Problem In 2021, we got a call from Daqing Oil Field — China's largest...

0 0
4m read
DEV Community • 2026-08-11 03:22

The Kernel Trick Is the Oldest Move in Engineering

Classic Machine Learning Through the Eyes of an SRE — Part 4 When a computation is too hard, don't compute harder. Change coordinates until it becomes easy. Every engineer has made this move. Pick the right data structure and the impossible query goes O(1). Re-index the table and the report that took an hour takes a second. Move the problem into a space where it's trivial, solve it there, come b...

0 0
6m read
DEV Community • 2026-08-11 03:22

TikTok Shop Customer Service Webhooks: A Production-Ready Implementation Guide

Receiving a webhook is easy. Building a webhook pipeline that survives duplicate deliveries, delayed events, missing messages, invalid signatures, and seller authorization changes is the real engineering work. This guide explains how to build a production-ready pipeline for TikTok Shop Customer Service messages—from HTTPS ingress to history reconciliation. First, Understand the Scope ...

0 0
8m read
DEV Community • 2026-08-11 03:20

What you save when project context stops repeating

Qarinah compiles a compact, cited project-memory pack instead of asking every new coding-agent session to replay the entire available history. The published estimate Across six committed software-task fixtures, the full-history baseline contained 442,113 portable estimated input-context tokens. The Qarinah path used 5,682. Every required target was still directly covered in the top fiv...

0 0
2m read
DEV Community • 2026-08-11 03:18

Alexa, Are You Testifying Against Me?

Your smart home is not smart. It is just very, very observant. I did not buy a smart speaker because I wanted a friend. I bought it because it was on sale for $29.99 and it promised to play rain sounds on command. For two years she lived on my kitchen counter. She set timers for pasta. She told me the weather with the aggressive optimism of someone who has never paid rent. She was h...

0 0
9m read
My port of Python SemVer to Golang for my First Hackathon
DEV Community • 2026-08-11 03:18

My port of Python SemVer to Golang for my First Hackathon

Porting python-semver to Go on a phone, an old PC, and 41 hours I'm Krishna, 18, in Class 12 prepping for JEE. When PORT MORTEM 2026 showed up, I didn't have a laptop for it. What I had was a Samsung A05 with Termux, and an old Core 2 Duo PC running Linux Mint Xfce that I could only get to the next morning.. But I really wanted to participate in a Hackathon, So my plan became: start on...

0 0
5m read
Hacker News: Front Page • 2026-08-11 03:08

US President hid in catering cart for secret flight in Turkey amid Iran threat

Article URL: https://www.theguardian.com/us-news/2026/aug/10/trump-secret-flight-nato-return Comments URL: https://news.ycombinator.com/item?id=49252912 Points: 9 # Comments: 2

0 0
1m read
Experienced Devs • 2026-08-11 03:01

Experienced Devs Weekly Burnout and Venting Thread: A weekly thread for sharing experiences

This thread is specifically for venting / sharing experiences related to burn-out or similar issues that experienced devs face. submitted by /u/AutoModerator [link] [comments]

0 0
1m read
DEV Community • 2026-08-11 02:58

The Retry Counter Said 7, The Config Said 3

A LangGraph pipeline I was reviewing last year. Token costs were running over projection, slow runs were taking about 3x the normal time. Nothing was throwing errors. When I added a retry counter per step and ran a few slow cases through, the resolve step showed a count of 7. The config had max_retries=3. The discrepancy came from two retry layers that had been written independently and never as...

0 0
3m read
DEV Community • 2026-08-11 02:51

🦋 What If One Small Change Rewrote 1,000 Years of History?

What if Rome had invented the Internet?** Not in 1990. Not in 1900. In 100 AD. Imagine Roman engineers discovering a primitive communication network capable of transmitting information across the empire within hours. At first, it sounds like a technological upgrade. Faster military orders. Faster trade information. Faster political communication. Nothing revolutionary. But then something...

0 0
8m read
DEV Community • 2026-08-11 02:51

React useMount Hook: Run an Effect Once on Mount (2026)

"Run this once, when the component appears." It's the single most common effect in React — focus an input, fire an analytics event, open a connection, read from a browser API. The idiom everyone reaches for is useEffect with an empty dependency array: useEffect(() => { trackPageView("/checkout"); // eslint-disable-next-line react-hooks/exhaustive-deps }, []); It works, but look at ...

0 0
8m read
DEV Community • 2026-08-11 02:50

Why We Built MailPort: A Modern Streaming Email SDK for Node.js

How I Streamed a 100 MB Email Attachment in Node.js Without Buffering the Complete File Target Publication: Dev.to / Hashnode / Medium Tags: #nodejs #typescript #webdev #performance #email The Problem with Naive Email Attachment Buffering In standard Node.js email implementations, sending a multi-megabyte email attachment often loads the entire binary file into a Node.js Bu...

0 0
2m read
Previous Next

Showing page 555 of 2312

Previous 555 Next