SShortSingh.

Programming

0
ProgrammingDEV Community ·

Why I Replaced Polling with Orbistats' WebSocket API (With Before/After Latency Numbers)

Polling is the first thing everyone builds and the last thing anyone is proud of. Here's the migration, the code, and a way to measure your own before/after instead of trusting mine. Every live scoreboard starts the same way. You write a setInterval, hit an endpoint every few seconds, diff the response, and update the screen. It works on day one.

0
ProgrammingDEV Community ·

Hello World!

Hi there👋, I’m Nishchay, an Engineer, I am currently exploring the world of AI and Self Hosting. This is my space to share my thoughts with you. I have over ten years of experience in the software industry, where I have worked with various organizations in both B2C and B2B sectors. Over the years, I have worked with many technologies and tools that fascinated me. I began my journey with PHP and have since built Native Android Apps and React Native Apps.

0
ProgrammingDEV Community ·

GroundLens: a tiny local model with a button to leave the screen

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass. The most useful button in GroundLens is “Take this mission outside.” It gives the screen a stopping point. GroundLens learns a small color palette from an outdoor photo, lets you choose one color, and asks you to find it in two different places. A leaf and a stone. Bark in sunlight and bark in shadow.

0
ProgrammingDEV Community ·

Generative Simulation Benchmarking for coastal climate resilience planning during mission-critical recovery windows

Generative Simulation Benchmarking for coastal climate resilience planning during mission-critical recovery windows Introduction: A Storm, a Deadline, and a Question I Couldn't Shake Last hurricane season, I found myself staring at a Slack thread from a municipal emergency-management team I'd been quietly collaborating with. They had roughly 72 hours before a projected landfall, and they needed to decide which evacuation corridors to keep open, which pumping stations to pre-position generators at, and which neighborhoods to prioritize for sandbag distribution. The problem wasn't a lack of data

0
ProgrammingDEV Community ·

A CVE About AI Agent Permissions Made Me Re-Check What Our Own Agent Could Touch

Earlier this month, a critical vulnerability showed up in GitLab's AI Gateway — CVE-2026-90970, CVSS 9.9, letting a logged-in user with agent platform access run commands on the gateway itself. I read the advisory the way most people probably did: nodded, thought "glad that's not us," and moved on. Then I actually thought about our own setup for about ten more seconds, and the "glad that's not us" feeling evaporated. We'd wired an internal AI agent into our infra for the usual reasons — it could read logs, query our internal APIs, open PRs, restart a flaky worker, that kind of thing. It talked

0
ProgrammingDEV Community ·

The ten-year battery that would not make five

A water meter is installed once. After that nobody opens it again, and the battery decides how long the product lasts. If it runs out early, no update fixes it: someone has to drive out to every meter. We designed one with a ten-year target. Ultrasonic measurement, a report at least four times a day — one version over LoRaWAN, another over GPRS — and a single D-size lithium thionyl chloride cell of about 19 Ah.

0
ProgrammingDEV Community ·

Using MCP for procurement research: keep the evidence attached

I build BidSkim, a service that matches UK suppliers to public-sector contracts. One useful way to work with procurement data is to query it through an AI assistant. The difficult part is keeping the evidence visible when the assistant turns a structured record into a confident sentence. A contract ending in six months is a reason to investigate. It does not prove that the buyer will run a new tender on that date.

0
ProgrammingDEV Community ·

What audio quality does YouTube actually stream? (and how to spot a fake 320kbps MP3)

Disclosure: I run YT320MP3, a free YouTube to MP3 converter. Everything below applies to any converter, including mine, and you can check it yourself with free tools. Almost every YouTube to MP3 site advertises "320kbps". It sounds like a quality promise. It is really a setting on the output file — and the output can never be better than what YouTube sends.

0
ProgrammingDEV Community ·

Web3: The "Ghost Chains" Problem and the Token Bubble

Why most Web3 products still look like smoke and mirrors, and what we (as developers) can do to solve it. The biggest failure of Web3 today is that we have solutions looking for problems, or multi-million dollar infrastructures that do not resolve real needs. A clear example is the saturation of L1 Blockchains without users. You only need to look at the data to notice the disconnect: blockchains valued at billions with minuscule on-chain activity and fee generation. As developers, we must shift our focus.

0
ProgrammingDEV Community ·

Receipt Before Claim: a 4% score that did not mean 96% wrong reasoning

This is a submission for the Kaggle Benchmarking Challenge: https://dev.to/challenges/kaggle-2026-09-23 A successful build is not a live deployment. A receipt is not an acceptance. A result on a development set is not an external-test result. These distinctions matter whenever a model reports whether work is finished. I built Receipt Before Claim around four such boundaries: deployment status, external evaluation, application decisions, and version-specific test results.

0
ProgrammingDEV Community ·

Mastering Stateful Voice AI: Dynamic Graphs with Felona Voice's JEV

The promise of intelligent voice agents has long captivated developers and businesses alike. Imagine a customer support bot that understands nuance, a concierge that books services instantly, or an assistant that guides users through complex processes without frustrating delays. Yet, the reality often falls short: sluggish responses, unpredictable behavior, and escalating cloud bills plague traditional voice AI solutions. Today, we're diving deep into Felona Voice, an open-source TypeScript framework that redefines what's possible in real-time conversational AI. At its core, Felona Voice intro

0
ProgrammingDEV Community ·

Disaster Recovery: Restoring PostgreSQL on Amazon RDS

A backup is easy to create. The harder question is: Can you actually recover your application when you need to? While building LibraryCorner, my AWS project running on Amazon EKS with PostgreSQL on Amazon RDS, I wanted to look beyond simply deploying a database and enabling backups. I wanted to understand what happens when things go wrong. Because having a backup is not the same as having a recovery strategy.

0
ProgrammingDEV Community ·

Como garantir que um Pix seja creditado exatamente uma vez

Todo sistema que recebe Pix depende de uma notificação assíncrona do PSP: o webhook. Em produção, esse webhook chega duplicado quando o PSP não recebe o 200 a tempo, chega atrasado, chega fora de ordem (a devolução antes do crédito) e às vezes não chega. Mesmo assim, cada centavo precisa ser creditado exatamente uma vez, e no fim do dia o saldo interno tem que bater com o extrato do PSP. Montei um laboratório para provar isso, o PixLab: um PSP falso que injeta essas falhas de propósito, com seed, e um recebedor de referência que precisa sobreviver a todas. Seguem as cinco decisões que fazem a

0
ProgrammingDEV Community ·

What I Learned from Malformed JSON in a Node.js Feature Flag API

A scheduled media import creates an awkward constraint: malformed JSON sent to a Node.js feature flag API may look like a contained client error, while the operational symptom arrives later as an empty edition, a stale feed, or no new assets. My choice is to preserve enough evidence to reconstruct the decision that governed each import, not merely retry the invalid payload. Short answer: treat a 400 or 422 as a permanent request failure until the body proves otherwise. Capture the exact response body, correlate it with a W3C trace ID, validate the outbound payload before transmission, and reco

0
ProgrammingDEV Community ·

The 3 Razorpay integration bugs I kept finding in code review

I've read through a lot of Razorpay + Next.js integrations over the past few months. Different teams, different codebases, different levels of experience — and the same three mistakes show up almost every time. They're cheap to fix and expensive to miss. Writing them up because if you're shipping payments this week, you probably have at least one of these. This is the one that costs real money.

0
ProgrammingDEV Community ·

Polymarket Trading Bot: I Overengineered My Polymarket Sniper — Then Cut It Down to One Entry Strategy

I spent the last few weeks building a Polymarket TWAP End-Cycle Sniper. The original version had multiple entry strategies, several confirmation layers, and a fairly complicated risk engine. After about two weeks of real-market testing, I ended up removing most of it. The interesting part was that the simpler version gave me a much clearer trading signal. This post explains what I changed, what I learned, and the entry condition I am currently testing.

← NewerPage 616 of 3146Older →