SShortSingh.

Programming

0
ProgrammingDEV Community ·

How I moved my Pokémon card scanner from a server onto the phone

I build Pooka, a Pokémon card collection app for iOS, Android and web. Until version 2.0, scanning a card meant uploading a photo: the server turned it into a CLIP embedding and ran a vector search over every card image. It worked, but every scan waited on the network and cost server time. For 2.0 the whole pipeline runs on the phone, in Flutter. This is what that took, including the parts that went wrong.

0
ProgrammingDEV Community ·

I forked a live AI agent three ways, and every copy came up with its web server already running

The expensive part of working with a coding agent is rarely the last step. It is all the steps before it: the exploring, the false starts, the files it wrote and rewrote until the thing finally worked. Once an agent has got somewhere good, the state it is in is worth more than any individual output, and the uncomfortable truth is that you usually cannot get back to it. Run the same prompt again and you get something else. DigitalOcean's Managed Agents runs each session in its own microVM and lets you checkpoint that whole machine, fork it, and roll it back.

0
ProgrammingDEV Community ·

An n8n AI Agent That Pays Invoices Only Inside Rules You Set

Short answer: in n8n, you don't give the AI Agent node a spending limit in its prompt. You attach an MCP Client Tool node pointed at a payments server that enforces the limit itself, so the workflow's "pay this invoice" step always resolves to one of three states it didn't decide on its own: allowed, waiting on a person, or blocked. Pink Agentic AI Payments checks each payment an agent requests against per-agent budgets and rules before it executes, and routes the rest to a human. That is what the MCP server is doing underneath the n8n node. Disclosure: I work on Pink Agentic AI Payments at Pi

0
ProgrammingDEV Community ·

Structured Log Correlation Without Trace Context Propagation: The Hidden Gap in Go Microservice Observability

The Problem Nobody Talks About Most observability stacks are designed assuming trace context propagates cleanly end-to-end. In practice, it often doesn't. A background goroutine fires without inheriting the parent context. A queue consumer reconstructs a request from raw bytes with no W3C traceparent header. A third-party SDK calls your callback with a fresh context.Background().

0
ProgrammingHacker News ·

Show HN: Minigraf – An embedded, bi-temporal graph database in Rust

A successor project to my previous attempt at building a temporal graph database (https://news.ycombinator.com/item?id=23455516). This one builds on its predecessor's concept, but drops the dependency on another database to provide the storage, transaction and query engines. Minigraf is self-contained, packaged as a library crate, embeds into your application, and supports full bi-temporality. Comments URL: https://news.ycombinator.com/item?id=49963394 Points: 8 # Comments: 0

0
ProgrammingDEV Community ·

Migrating a Visual FoxPro system to .NET: an order of work that holds up

Over a two-and-a-half-year engagement I migrated 42 financial workflows from a legacy Visual FoxPro system to C# and .NET Core, as the sole engineer. The old system carried two decades of business logic and had no written specification. The domain layer was rebuilt on Entity Framework Core with 42 T-SQL stored procedures against SQL Server, the FoxPro reports were replaced with reporting workflows in a Blazor application, and the old system was retired. This is the order of work I would recommend to anyone facing the same kind of migration. Visual FoxPro mixes data, logic and screens in one pl

0
ProgrammingDEV Community ·

SaathiAI: An Open-Source AI Learning Companion I Built for a Friend

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend. I built SaathiAI, an AI-powered learning companion designed to make exam preparation simpler, faster, and more focused. The idea came from a problem I have seen among my friends and classmates: before an exam, students often have large PDF notes and study materials but very limited time to revise them effectively. Finding a particular concept, simplifying a difficult topic, preparing university-style answers, creating practice questions, and revising important material can consume a significant amount of time. I

0
ProgrammingDEV Community ·

A Data-First Way to Understand Your Credit Report

A credit report can feel like a long list of financial records. There are account details, dates, balances, payment information, enquiries and status fields. If you only look at the final credit score, much of that information can feel unnecessary. A better approach is to treat the report like a structured data set. You don't need to be a developer to use this approach.

0
ProgrammingDEV Community ·

Show DEV: free 1–3 day city plans + group trip voting. What would stop you from signing up?

Disclosure: I'm part of the Wanloria team. This post was drafted with AI assistance and checked against the live site. A few days ago I wrote here about how we built Wanloria from open data. This time I'm asking for something different: honest feedback. What it is: https://wanloria.cloud/?utm_source=devto&utm_medium=community&utm_campaign=feedback 71 cities with verified places, "free things" lists and 1/2/3-day plans with visit times and walking distances (example: Seville in 2 days) Group trips: create a plan, invite friends with a link, everyone votes going / maybe / can't, with a shared ch

0
ProgrammingDEV Community ·

Would an AI let my patient drink thin water? Benchmarking LLMs on dysphagia diet safety

This is a submission for the Kaggle Benchmarking Challenge I'm a speech-language pathologist. I split my week between schools and a hospital, and a big part of the hospital work is dysphagia: people who have trouble swallowing after a stroke, with head and neck cancer, with dementia, or with a developmental disability. Concerns about swallowing safety are present in the school setting too. For these patients, the texture of food and the thickness of a drink are a safety decision. If a drink is too thin, it can go down the airway before the swallow is ready, and that can mean aspiration pneumon

0
ProgrammingDEV Community ·

Let the agent write the data, not the HTML

There are two ways to let an AI agent produce an invoice. You can ask it for the invoice: it writes HTML, something prints it, and a PDF comes out. Or you can hand it an invoice template someone has already reviewed and ask it only for the facts — who, what, how many, at what rate — as JSON. The first way works in a demo. The second one is the one that survives a second run.

0
ProgrammingDEV Community ·

We Tested 4 AI Code Review Tools on the Same PR and The Results Were Surprising…

A case study from six rounds of testing Codzee against Greptile, CodeRabbit and CodeAnt We build an AI code review tool called Codzee. At some point we realized we couldn't answer a simple question: is it actually good? Our demos looked great, and so did every competitor's. Every landing page promises "context-aware" and "low-noise" review. None of that tells you what happens when a tool meets a real pull request with a bug it can't find by pattern matching.

0
ProgrammingDEV Community ·

Low-Latency Software Development Companies: Which Kind You Need and How to Test One on Your Own System

Originally published at ambrain.org. For a trading or ad tech system where a late answer counts as a wrong one, the right outside firm works in the same range as your deadline and can show how its speed figures were measured. The one you favour should measure your live system before it builds anything. No list of low-latency software development companies fits every buyer, because the term covers deadlines that can be a million times apart. In trading hardware it can mean tens or hundreds of nanoseconds.

← NewerPage 641 of 3150Older →