SShortSingh.

Programming

0
ProgrammingDEV Community ·

The Six Pits: A Pre-Flight Checklist for Swapping Signatures on a Live Chain

NIST finalized the algorithm part years ago — FIPS 204 made Dilithium a standard, and NIST's transition guidance (https://csrc.nist.gov/pubs/ir/8547/ipd) now tells every product to plan the move. The algorithm was never the hard part. Everything downstream of it is. Consider this the flight checklist we wish every chain ran before swapping signatures on a network that already has users. Canonical encoding.

0
ProgrammingDEV Community ·

Most languages don't have two plural forms. Your i18n setup assumes they do.

If you localize an app into Russian and your string files only have one and other, your Russian I build multilingual mobile apps that run in ten languages, and this was the first thing that genuinely English has two plural forms. One question, two questions. The rule is "is it 1?" and after that you { "questionCount": "{count, plural, one{{count} question} other{{count} questions}}" } That is a complete specification of English. It is not a complete specification of anything else, and Russian uses four CLDR plural categories: one, few, many, other. Category Applies to Example one 1, 21, 31, 41

0
ProgrammingDEV Community ·

Argo-Bench: Why Enterprise Data Agents Need Multi-Table Workflows, Not Just SQL Generation

Most text-to-SQL benchmarks test whether an agent can generate a single SELECT statement. Argo-Bench asks a harder question: can an agent navigate 235 tables, reconstruct hidden business facts, run statistical analyses, and execute actions that change the state of a simulated enterprise? The answer is no. Frontier models score above 95 on only 34.8% of tasks and average 59.5 points. The gap reveals what breaks when you move from query generation to multi-stage data workflows.

0
ProgrammingDEV Community ·

I Combined the Best Parts of Every Budgeting App I’ve Used, and Made It Free and Open Source (FlyBudget)

I’ve always been a little too interested in tracking my money. I like knowing where it went, what I’m spending too much on, and how much I’m actually saving. Because of that, I’ve tried a LOT (a lot..) of budgeting apps over the years. I kept running into the same problem: I’d really like parts of an app, but there were always other things I wished worked differently. Eventually I had the very predictable software engineer thought of, “I could probably just build this myself.” So I did!

0
ProgrammingDEV Community ·

Kubernetes SR-IOV Multi-Rail GPU Networking: Missing Route Configuration for Cross-Rail Communication

Introduction: Mastering Cross-Rail Communication in Kubernetes SR-IOV GPU Networking In high-performance computing environments, GPU-accelerated workloads drive advancements in AI, machine learning, and scientific simulations, demanding robust and efficient networking architectures. Kubernetes, coupled with Single-Root I/O Virtualization (SR-IOV), has become a cornerstone for managing GPU resources at scale, offering low-latency and high-throughput connectivity. However, as demonstrated in our case study, configuring cross-rail communication in multi-rail GPU setups presents significant challe

0
ProgrammingDEV Community ·

Golang REST API: Handling Undefined vs. Null Attributes in JSON PATCH Requests with Gin and Validator

Introduction In the realm of REST APIs, particularly those built with Golang, Gin, and Validator, the distinction between undefined and null attributes in JSON payloads is not just a nuance—it’s a critical operational requirement. This distinction directly impacts how data is manipulated during PATCH requests, where the intent behind an attribute’s absence or explicit nullification must be unambiguously interpreted. Failure to differentiate these states can lead to data inconsistencies, loss of critical information, and compromised system integrity, as the API may incorrectly overwrite, delete

0
ProgrammingDEV Community ·

A flowchart node called 'end' broke my Mermaid renderer — lowercase 'end' is a reserved keyword

Last week an agent sent a perfectly reasonable flowchart to my Mermaid renderer and got back a parse error pointing at the last line of a five-node diagram: graph TD That chart is valid by every DSL instinct you have, and Mermaid rejects it. After an hour of bisecting nodes one at a time, the culprit was the literal word end. In Mermaid's flowchart grammar, lowercase end is the reserved token that closes a subgraph block. A bare end doesn't create a node — it terminates the current block, so the parser lands in a state where the remaining arrow syntax is unexpected. End capitalized is fine, en

0
ProgrammingDEV Community ·

Samajh — a reader for the letters my mother couldn't read

Samajh — a reader for the letters my mother couldn't read The letter Every few weeks, an official letter arrives at home — a bank notice, an insurance renewal, a hospital bill, or another document written in formal English. My mother can understand the underlying idea, but the language of the document makes the important part difficult to follow. The problem is not always complexity. Sometimes one sentence determines whether something needs to be paid, when it is due, or what action is expected. I kept seeing someone else read and explain these documents.

0
ProgrammingDEV Community ·

My AI Agent Kept Missing Deadlines and Double-Posting — Here's How I Fixed It with JSON Interfaces and Idempotency Checks

Hey everyone, it's your resident 38-year-old developer here, moonlighting with AI automated trading bots. My little pleasure after a long day at my main job is checking the logs of my custom AI agent. Every night, it analyzes a specific market and records its preliminary trading decisions in JSON format. Pretty smart little helper, usually. But one morning, checking the logs as usual, I found a mess: Three identical trading decision records for the same date.

0
ProgrammingDEV Community ·

I built an hourly crypto "market thermometer" from free data, then refused to let it trade

Most "AI sentiment trading" projects start by wiring a sentiment score straight into buy and sell decisions. I went through the published evidence first and ended up building the opposite: a sensor that records everything, decides nothing, and has to earn the right to influence a trade. This is the design, the code for each sensor, and the test each flag must pass. (The free lite backtester for this system, public API only, no key: GMO Coin Trend Lab, source on GitHub.) Social sentiment direction is mostly a same-day correlate, not a predictor. The famous 2011 "Twitter mood predicts the Dow" r

0
ProgrammingDEV Community ·

Cloudflare Put a 402 Paywall Behind Every Domain. The Rail Was Never the Hard Part.

On 2026-09-30 Cloudflare opened a closed beta of its Monetization Gateway. It lets a domain owner charge agents per request over HTTP 402, settled in USDC on Base, through Coinbase's x402 Facilitator. We have settled on exactly that rail since we launched. So the interesting question is not whether the rail works — it plainly does — but what is left to build on top of it. People will summarize this launch in a hundred ways, so it is worth pinning the facts to the source rather than to the retellings: The interface is the status code.

0
ProgrammingDEV Community ·

Reliable Realtime Notification Preferences for Stock Trading Watchlist Testing

Short answer: model notification preferences as durable state, then test delivery as an at-least-once, reconnectable workflow; timing should affect when an event arrives, never whether the watchlist eventually converges. For a stock trading watchlist, “online” is not a cosmetic badge. A trader may mute price alerts, keep fills enabled, and open the same list on two devices. The useful contract is therefore precise: the server owns preference state and an ordered change identifier, while each client owns a cursor, a local view, and a replay request after a reconnect. I would decide those invari

0
ProgrammingDEV Community ·

Is Open Source no longer exciting!?

This blog has been a little while coming, but I guess today just makes for a good time to ask this funny question, following an announcement by Sindre about closing pull requests to external contributors on all his projects. // Detect dark theme var iframe = document.getElementById('tweet-2105693826690298314-914'); if (document.body.className.includes('dark-theme')) { iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=2105693826690298314&theme=dark" } Since the launch of ChatGPT, Generative AI has moved from chat, to the code editor (first as code suggestions as you write code, hel

0
ProgrammingDEV Community ·

Scaling Your App: Horizontal vs Vertical — A Lord of the Rings Quest

The Quest Begins (The “Why”) Honestly, I remember the day our little side‑project started to feel like a dragon hoarding gold. We had a neat Express API that served JSON to a React frontend, and everything was smooth until our user base jumped from a few hundred to a few thousand requests per minute. The CPU on our single t2.medium instance spiked, latency crept up, and users started seeing those dreaded “502 Bad Gateway” pages. I felt like Frodo staring at Mount Doom, wondering if I had enough stamina to keep going. The obvious answer was “make the server bigger,” but I’d heard whispers about

0
ProgrammingDEV Community ·

Get European job postings from an API in Python in 5 minutes

Disclosure: I build JOA, the jobs API used below. Everything here works on its free plan, and I ran every snippet against the live API in early October 2026 before writing this. If you have ever needed European job postings as data (for a dashboard, a research project, a job board, or just to see what a market looks like), you know the usual options: scrape career pages yourself, or buy a feed that is a mix of aggregator copies. This post uses the Job Opportunities API (JOA), which serves postings taken from employers' own career sites and applicant-tracking systems. We will write a small Pyth

0
ProgrammingDEV Community ·

AI quiz generators need tests, too

A quiz generator can return valid JSON containing two answer keys, repeated options, or a confidently wrong answer. Put a small, testable validation step between generation and editorial review. The useful output is a list of specific findings. Separate broken data from questions that deserve a closer look. This tutorial builds that distinction into a dependency-free JavaScript linter.

0
ProgrammingDEV Community ·

Running a 180B-Parameter LLM on a Laptop Without a GPU: VIDRAFT's POCKET-Darwin-180B

Running a 180B-Parameter LLM on a Laptop Without a GPU: VIDRAFT's POCKET-Darwin-180B TL;DR: VIDRAFT has released POCKET-Darwin-180B, a 4-bit GGUF-quantized, llama.cpp-compatible build of their Darwin-180B-RSI frontier model that runs on consumer hardware — including CPU-only laptops and mini PCs — without requiring enterprise GPU clusters. It achieves this through sparse Mixture-of-Experts routing and graft quantization, shrinking a 360 GB BF16 model to 111 GB across just 4 files while maintaining identical MMLU-Pro scores. For engineers priced out of H100 clusters, this represents a meaningfu

← NewerPage 701 of 3156Older →