SShortSingh.

Programming

0
ProgrammingDEV Community ·

5 Speech-to-Text API Rate-Limit Checks — Node.js 429 Retry Queue Observability

A property manager needs a correctly routed maintenance ticket, not a retry loop that eventually returns some text. The least complex workable design is one durable queue, one shared admission gate, and one validator between transcription and triage. Honor Retry-After when a speech-to-text API returns 429, add bounded jitter when that signal is absent, and measure structured-output correctness separately from transport success. Short answer: treat 429 as a scheduling signal. Do not let every worker sleep and retry independently.

0
ProgrammingDEV Community ·

Build vs buy: buy the commodity, build your edge

Buy anything your competitor can also buy. Build only the thing they choose you for. That is the entire rule. Build or buy arguments run long because applying it honestly means admitting that your favourite internal project is a worse version of something you could rent this afternoon. We build custom software for a living, so weigh the next part accordingly: most of what a company runs should not be custom, and a good share of what gets built in-house is a CRM that could have been rented for the price of a fortnight of engineering time.

0
ProgrammingDEV Community ·

A Practical Method for Choosing the Right AI Work Boundary

Teams often talk about adopting AI as if the hard part were selecting a model. In practice, the harder decision is choosing the boundary around the work. A tool can draft, sort, compare, summarize, or recommend, but a useful implementation also defines what remains visible to a person. That boundary determines whether an experiment becomes a dependable workflow or a source of quiet rework. Start by describing the decision that the workflow supports.

0
ProgrammingDEV Community ·

Inspect Archive Contents Before Extracting with ZipMania

An archive can contain many files, but you may only want to check a photo or read a text file. ZipMania is a free, open-source archive manager for Windows 10 and 11 with previews for supported images and text files inside archives. Open an archive by double-clicking it or using the Windows Explorer context menu. Browse the folders and locate the files you need. Supported archive formats include ZIP, RAR, 7Z, EGG, ALZ, and ISO.

0
ProgrammingDEV Community ·

A CSV benchmark with two zero scores and a useful diagnostic

This is a submission for the Kaggle Benchmarking Challenge. Inventory reconciliation sounds straightforward: match a count to an exported product row and replace its new quantity. The difficult part is preserving everything else and recognizing when an update should be blocked. CSV Contract Integrity tests this with synthetic, offline inputs. Each model receives an export CSV, a count CSV, an explicit column mapping, and a reconciliation contract.

0
ProgrammingDEV Community ·

AI Workflow Automation: What Should Stay Deterministic and What AI Should Handle

Adding a model to a business process is easy. Turning that model call into a production workflow is the harder engineering problem. A model can classify a request, extract fields from a document, summarize a case, or suggest a response. But it does not automatically know: which user is allowed to initiate the action; which database record is authoritative; whether a missing field should block the process; who owns the next step; what should happen when two systems disagree; or whether an output is safe to accept without review. Those are application and workflow concerns.

0
ProgrammingDEV Community ·

Your Next.js build should not need your database

If a page reads from your database, render it on demand, not during the build. Prerendering it means your build container needs a route to Postgres, and on self-hosted infrastructure that route is the most host-specific thing you own. We learned this by paying for it. This site runs Next.js with Payload CMS in-process, on Postgres, in Docker, on a single VPS. Six service pages moved into the CMS.

0
ProgrammingDEV Community ·

Does `httpResource` cost you bundle size? I measured four Angular API generators

I maintain @constantant/openapi-resource-gen, InjectionToken per OpenAPI endpoint, each in its own file, so that Spec: the YouTube Data API v3 (76 endpoints). A minimal Angular 22 app that bootstraps and calls 1 endpoint, then 8 endpoints, built for production with the esbuild application builder. Contenders, each generating from the same spec with default-ish settings: this project (both its httpResource and its HttpClient flavours), Orval 8 (angular client, tags-split), ng-openapi-gen 1.1, Hey API's client-angular. Two controls, so every row can be read against what Angular itself costs: a p

0
ProgrammingDEV Community ·

I Built fix-commit: A Git Pre-Commit Tool That Doesn't Just Find Secrets — It Fixes Them

I Built fix-commit: A Git Pre-Commit Tool That Doesn't Just Find Secrets — It Fixes Them Hardcoded secrets are one of those problems that every developer knows about, but they are still incredibly easy to introduce. It can be as simple as: const API_KEY = "sk-xxxxxxxxxxxxxxxx"; You test your application. Everything works. Then you run: git add . git commit -m "add API integration" git push And now that credential may be sitting inside your Git history.

0
ProgrammingDEV Community ·

CAS-Protected Status Transitions in Client Management

The Problem: Race Conditions in Multi-Channel Conversations When an Indian SMB manages customer conversations across WhatsApp, Instagram DM, SMS, and email simultaneously, state changes collide. A customer confirms a booking on WhatsApp while an agent marks it cancelled in the dashboard. A payment webhook arrives milliseconds after a manual refund. Without coordination, the last write wins — leaving the business with a confirmed appointment that was actually cancelled, or a payment marked paid after a refund. GoSumo's recent commits address this across four domains: booking, payment, conversat

0
ProgrammingDEV Community ·

Staleness is not evenly distributed and it eats your newest rows first

We run a publishing agent with nobody watching it. Before it posts anything, it asks the destination's account listing endpoint a simple question: do I already have this? That question is the whole safety mechanism against double-posting, and for a while I thought of it as a binary — either the check works or the endpoint is down. It is neither. The endpoint was up the entire time.

0
ProgrammingDEV Community ·

Proof-of-Antiquity: El Consenso que Valora la Edad del Hardware

En un mundo donde la escalabilidad y la eficiencia energética dominan las conversaciones sobre blockchain, RustChain introduce una propuesta radicalmente contraintuitiva: Proof-of-Antiquity (PoA). A diferencia de Proof-of-Work (PoW), que premia la potencia bruta, o Proof-of-Stake (PoS), que favorece la riqueza acumulada, PoA otorga autoridad proporcional a la antigüedad del hardware. No se trata de una curiosidad técnica, sino de una filosofía de gobernanza descentralizada que busca resistir la centralización inducida por la obsolescencia tecnológica. Proof-of-Antiquity es un mecanismo de cons

← NewerPage 705 of 3156Older →