🌍 Dev.to

Retrofitting Clean Architecture onto a Next.js App Without Stopping the World

How I took a frontend that grew without a plan, measured the mess, and moved it to clean architecture in eleven small PRs, finding real bugs along the way. When I started building our markets-data platform, I didn't think about architecture. I focused on getting equities, indices, and screen prices. It's a Next.js App Router project that shows stock exchange data, news, watchlists, and paid subscriptions. That worked until it didn't. As the app grew, I adopted clean architecture for ne...
🌍 Dev.to

I built a 3D free-kick game in three.js: Magnus curl in 10 lines, floodlights and a keeper that reads your shot

I'm a solo dev and I just shipped Efectazo , a free free-kick football game that runs in the browser, on phones and desktop: https://efectazo.pages.dev You swipe to shoot, and the shape of your swipe becomes curl on the ball. Here's how the main pieces work. The ball: gravity, drag and a Magnus force The physics module is plain JS with no three.js in it, so I can run it headless in tests. Each substep adds three forces to the ball: // Magnus: CM * (w x v) export ...
I Was Reading 150 Messages Every Morning, So I Built a Sloth to Do It For Me
🌍 Dev.to

I Was Reading 150 Messages Every Morning, So I Built a Sloth to Do It For Me

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady What I Built I wake up, I unlock my phone, and before I've had tea I'm already behind. Last night my family group, my project channel and my inbox produced about 150 messages between them. Most of it was harmless noise — goodnights, a menu debate, cricket highlights on loop. Exactly a couple of those messages actually needed me. One of them was buried somewhere in the middle of the sc...
🌍 Dev.to

Don't Trust an Agent That Says the Tests Passed

This is a republish from my site; the original, with the full reviewer files, is at codebyramiz.com . You have an AI coding agent's report in front of you, and it says the tests pass. What can you conclude from that? Less than it feels like. Here is a case from my own ChatPing iOS app. A change came back with 768 passing tests reported. I sent it to an independent reviewer. The reviewer did not rerun those tests, and its verdict begins VERDICT: FAIL , with the first two findings rated H...
🌍 Dev.to

How to compare supplier quotes when no two quotes look alike

You sent the same request to five suppliers. You got back five answers in five formats: a PDF with a logo the size of a billboard, an Excel file with three tabs, a WhatsApp voice note, a one-line email that says "best price for you", and a polite reply asking for more details you already sent. Congratulations, you are now doing procurement. The hard part of sourcing is rarely getting quotes. It is turning them into something you can actually compare. Here is a practical method, whether you...
🌍 Dev.to

Источник запуска Telegram-бота: start-метки и повторные обращения [перекрёстная публикация]

Как учитывать источник запуска Telegram-бота через start Для каждого размещения заведите короткую метку и ссылку вида https://t.me/YOUR_BOT_USERNAME?start=channel_a . Когда бот получит /start channel_a , сверьте метку со справочником и сохраните событие. Первый известный источник храните отдельно от последнего: новый запуск не должен его перезаписывать. Это атрибуция наблюдаемых запусков, а не кликов. Метка показывает, с каким параметром человек запустил бота, но не доказывает, где он у...
🌍 Dev.to

Источник запуска Telegram-бота: start-метки и повторные обращения [cross-post]

Track a Telegram Bot's Start Source Without Losing the First One Assign each placement a short code and a link such as https://t.me/YOUR_BOT_USERNAME?start=channel_a . When your bot receives /start channel_a , check the code against a registry and record the event. Store the first known source separately from the most recent known source, so a later start does not overwrite the first. This attributes observed bot starts, not clicks. The code identifies the parameter that accompanied a s...
🌍 Dev.to

Build your own Telegram monetization Bot or use a platform?

The first successful payment is a poor estimate of how much a Telegram monetization bot will cost to operate. A demo can accept a payment and return an invite link. A working service also needs to explain why a customer was charged, preserve the access they bought, and recover when Telegram or a payment integration fails. The build-or-buy decision is about who will own that work over the next year. This article sets out a decision method, a cost model, and acceptance tests. Product and API re...
Three ways teams handle broken access control
🌍 Dev.to

Three ways teams handle broken access control

Broken Access Control rose from #5 in 2017 to #1 in 2021, and it’s still #1 in the 2025 edition. Now, compare to injection: it was #1 in 2017 and fell to #3 in 2021. In 2025 it’s #5. Why one fell and the other one is still at the top? To be clear, these are my opinions, not OWASP’s. Injection got generic defense(s). Parameterized queries, ORMs and framework defaults made its most common forms much harder to commit by accident. Access control can’t be solved that way...
🌍 Dev.to

Letting a repository share commands without handing it a shell

Slashi , the VS Code extension I maintain, lets you chain steps into your own commands: save all files, run the tests, commit, push. The useful part is that a team can commit those commands to the repo in .vscode/slashi.json , and everyone who opens the project gets them. The dangerous part is the same sentence. A repository you cloned five minutes ago is a stranger's code. If its commands can run shell steps the moment you press a key, cloning a repo becomes the attack. Here's the trust ...
🌍 Dev.to

Using Claude Code to Rebuild Expertise I Don't Have, One Testable Rule at a Time

In October 2026, I built a personal site with Claude Code (Opus 5.5). The skeleton came together quickly. After that, I spent half a day polishing details: pushing the corner bracket (「) at the start of a Japanese heading out past the text edge (hanging), characters that must not start a line (line-start kinsoku), a single word left alone on the last line of an English paragraph or heading, how far below the text the link underlines sit, and contrast in the dark color scheme. I value the idea th...
🌍 Dev.to

Step Functions + Claude Tool Calls: Orchestrate AI Agents Without Lambda, Explained Simply

Most developers reach for a Lambda function every time they need an LLM response, adding unnecessary complexity and latency. Step Functions can call Claude directly via the Bedrock SDK integration, turning a multi‑step AI workflow into a single, visual state machine. In this guide you’ll see how to build, run, and debug that workflow from Node.js 22. Why Step Functions Makes AI Orchestration Simple When you ask an LLM (large language model) to do something, the request is ju...
🌍 TechCrunch

Tesla says it will start selling Cybercabs by end of year

Tesla said Wednesday it will start selling its Cybercab to customers by the end of the year, even as federal regulators investigate whether the vehicle meets vehicle safety standards. The gold-hued, autonomous two-seater lacks a steering wheel and other traditional controls. During the company’s third-quarter earnings call, Lars Moravy, vice president of engineering at Tesla, […]
🌍 Dev.to

Why Decimal Can Round a UInt256 Token Amount, and an Exact Alternative

The documented raw balance is a UInt256String: an unsigned integer string that can reach 78 digits. When you display one in Python, Decimal looks like the obvious tool. The trap is subtle: building a Decimal from a string is exact, but arithmetic on it can round. Where the rounding happens Decimal(raw) keeps every digit, because construction ignores the context precision. Operations such as scaleb , normalize , multiplication, or division round their result to the context...
🌍 Dev.to

I built a 1,000-record synthetic benchmark for phishing detection — here's what 2 open models scored

I built a 1,000-record synthetic benchmark for phishing detection — here's what 2 open models scored The problem I run a YouTube channel where we test AI claims with real experiments. For an episode on phishing detection, I went looking for published scam/phishing-detection scores for open-weight models. There were none. Zero. For any of them. So we built the benchmark ourselves. RSB-1000: what it is 1,000 records , fully synthetic (every brand, domain,...
RAG Freshness: Strategies for Syncing Data in Production 2026
🌍 Dev.to

RAG Freshness: Strategies for Syncing Data in Production 2026

How to Maintain RAG Freshness in Production Your RAG system can look healthy while serving old answers. Source data changes, users keep querying, and the retrieval layer quietly drifts out of sync. By the time someone notices, trust is already damaged. Table of Contents How to Maintain RAG Freshness in Production RAG Freshness Key Takeaways Why RAG Indexes Go Stale and What That Breaks Delayed ingestion and disconnected sources Missing deletes, tombstones, and st...
Core Python - Beginner & List Intro
🌍 Dev.to

Core Python - Beginner & List Intro

Python English to Code Interpreter Language --> Line by line execution In Java --> First it will create Binary file which is nothing but .CLASS File and this CLASS file will execute. In python hello.py --> python hello.py ( Execution ) Data Structure How do you store the data ? List , Tuple , Dictionary and Set The value will be stored in the RAM. Identifier is like a LABEL. The Value is stored in the RAM , but to REFER the place in the RAM is ca...
🌍 Dev.to

Making a hover car feel like it flies: notes from a Godot 4 runner

CGT Rocket X Racer is a fan-made, desktop-only rocket-car runner we have been building in Godot 4. It is not affiliated with any car maker. You steer a hovering car through a giant factory: lane changes, jumps, rolls and a boost, with presses and robot arms trying to ruin your run. This post is about three problems that turned out to matter far more than we expected: making the car feel airborne, switching between indoor and outdoor sections without breaking the camera, and proving that every ob...
PHP2Shell, explained: the two critical PHP bugs every team needs to patch
🌍 Dev.to

PHP2Shell, explained: the two critical PHP bugs every team needs to patch

On October 21, 2026 , PHP shipped an emergency security release for two critical vulnerabilities in the PHP runtime itself . The pair is being called PHP2Shell : CVE-2026-109618 CVE-2026-109619 Both have a 9.2 Critical CVSS score. Both can expose vulnerable PHP services to unauthenticated remote code execution and memory disclosure. And neither one is fixed by updating Laravel, WordPress, Symfony, a Composer package, or your application code. This is the important ...
🌍 Dev.to

A series to explain KMDS

A series of articles that takes you through the concepts used in KMDS - it is a 10000 ft view, but it gives you the ideas used: AI view versus data science view to building intelligent solutions: AI vs Data Science Going from a business use case to a data science task view of the data: kmds-dataset-util Going from a task view to a dataset that is ready for modeling and featurization: dd-parser-cleaner Going from a modeling/featurization ready dataset to features and models f...
🌍 Dev.to

I Built a Face Shape Detector That Shows Its Work — and Keeps Going

Most face shape tools give you a label and a list of haircuts. I wanted to build the opposite: something that shows the five measurements behind the label, then keeps going into the questions people actually have afterwards. Try it here: knowyourfaceshape.com — free, no sign-up, and your photo never leaves your browser. What it does You can get your face shape three ways: upload a photo, take a 60-second quiz, or enter four tape-measure readings. The photo path runs MediaPipe Face Lan...
🌍 Dev.to

Late Start or Long Run? Catching a Rare Missed Window

Picture a device running smoothly for months, then suddenly missing its communication window once every few thousand cycles. The logs show no obvious errors. The question arises: was the work late, or was it slow? This article explores a technique to distinguish between these two possibilities, providing insights that logs alone cannot offer. why logs and averages miss this Logs typically record discrete events, not the duration of tasks, making them inadequate for diagnosing tim...
MCP Step-Up Authorization vs. OAuth Incremental Authorization: What Actually Changes?
🌍 Dev.to

MCP Step-Up Authorization vs. OAuth Incremental Authorization: What Actually Changes?

MCP Step-Up Authorization vs. OAuth Incremental Authorization: What Actually Changes? “There are no zones.” There were three. TL;DR When Cloudflare announced step-up authorization for its API MCP Server, I wanted to know how it differed from Google OAuth's Incremental Authorization. I read the specs, wrote my own MCP client, and sent 128 requests to the live service. The additional authorization itself is still ordinary OAuth. The difference is a path for the server to t...
SlothAI: Offline, Open-Source AI Tools for the Gloriously Lazy 🦥
🌍 Dev.to

SlothAI: Offline, Open-Source AI Tools for the Gloriously Lazy 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady What I Built Meet SlothAI 🦥 — an offline, local-first web companion designed for anyone who believes sloths have life figured out. Instead of paying recurring cloud subscriptions or giving away personal correspondence to remote servers, SlothAI runs open-weight models (like Llama 3.2 ) locally on your hardware via Ollama . It packages 6 micro-tools dedicated to taking over the te...
🌍 Dev.to

Folding it shut closes the day: building a React Native money app for the iPhone Duo

Apple's iPhone Duo goes on sale on Friday 23 October. 6pm, our daily money app, already lays itself out for each way you can hold it. We built it in mid-October on the iPhone Duo simulator in Xcode 27.1, and it ships in 6pm 2.0.0 on the App Store on 6 November. This post covers what the iOS 27.1 SDK gives you, how we got it into React Native, and the one design question that took the most thought: what should folding a phone shut mean in an app you close once a day? Every snippet is from...