SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Builds CSS Art Tribute to India's Beloved Street Food Culture

A developer from Jalgaon, Maharashtra, submitted a CSS art project for DEV Community's Frontend Challenge: Comfort Food Edition, drawing inspiration from Indian street food and chai culture. The project centres on the 'thela' — a small roadside cart — as a symbol of comfort, community, and everyday life across India. The creator reflects on how chai transcends social classes, with local vendors even maintaining monthly credit accounts for regulars. Street foods like pani puri, vada pav, and banana chips from the region's banana belt also shaped the artistic vision. The submission blends personal memory with front-end craft, highlighting how comfort food in India is rooted in streets and shared moments rather than restaurants.

0
ProgrammingDEV Community ·

Developer Builds Git Worktree Harness to Run Fair Side-by-Side AI Model Comparisons

A developer created a shell-based testing harness using git worktrees to compare two AI coding models under identical, isolated conditions on the same codebase. The tool addresses a common flaw in model comparisons where inconsistent prompts or shared working directories skew results in favor of the testing setup rather than the models themselves. Each model receives the same task file and a byte-identical checkout in a separate directory, with results scored on test pass rate, diff size, and out-of-scope file changes. Git worktrees were chosen over fresh clones or branches because they provide clean isolation without duplicating the full repository on disk, and cleanup requires just one command. The author ran the experiment at no cost using MonkeyCode's free tier, and the harness is designed to work with any two models or agents without modification.

0
ProgrammingDEV Community ·

How Indie Developers Can Build Finance Apps Using Open Banking Without Certificates

Open Banking APIs under the EU's PSD2 directive allow apps to securely access users' bank balances and transactions with explicit consent, eliminating the need for password sharing or CSV exports. However, directly accessing bank APIs requires eIDAS qualified certificates, a regulator licence, and costly compliance processes that put the official route out of reach for independent developers. Licensed aggregator providers offer an alternative by letting developers use a simple API key while the aggregator handles all certificates and regulatory requirements. The underlying consent flow remains secure — users log in directly on their bank's page and approve scoped, time-limited data access without exposing credentials to the app. This approach enables indie developers to build personal finance tools on top of real banking data without navigating weeks of regulatory paperwork.

0
ProgrammingDEV Community ·

Developer Builds Git-Based Harness to Benchmark Coding AI Models on Real Work

A software developer has published a reproducible testing harness that evaluates free-tier coding AI models against actual tasks drawn from a project's own git history, rather than relying on public benchmarks like HumanEval. The system mines bugfix commits from git logs, reconstructs the pre-fix codebase, and uses the original commit message as a prompt for the model to solve. Each model-generated patch is then graded on three criteria: whether it applies cleanly, whether it passes the associated tests, and whether it modifies files outside the intended scope. The author argues that public benchmarks are both saturated and unrepresentative of real-world coding tasks, making them unreliable for day-to-day tool selection. The harness produces fifteen data points across five tasks and outputs results to a CSV, offering a low-cost, project-specific alternative to generic model evaluations.

0
ProgrammingDEV Community ·

Developer Builds AI-Assisted Tool to Catch Outdated CLI Documentation

A developer discovered their CLI tool's README still documented a removed flag after a user reported copy-pasting a broken command. The problem, known as documentation drift, arises because code is updated frequently while prose documentation is often forgotten. To address this, the developer built a three-stage Python script that extracts flag claims from README code blocks, compares them against live --help output, and uses a free AI model only to reconcile ambiguous prose cases. The tool runs automatically on every release, with the AI acting as a tiebreaker rather than a source of truth, and all model responses are validated before being reported. The script uses an OpenAI-compatible endpoint and is designed to work with self-hosted models for teams handling sensitive internal documentation.

0
ProgrammingHacker News ·

Startup launches marketplace enabling AI agents to transact with each other

A new platform called AaaS (Agent-as-a-Service) marketplace has been introduced, allowing AI agents to autonomously purchase services from other AI agents. The project was shared on Hacker News as a community showcase submission. The marketplace is hosted on Google Cloud's Asia Northeast region infrastructure. Details about the founding team, pricing, and supported agent frameworks were not disclosed in the submission. The concept reflects a growing interest in autonomous, multi-agent AI ecosystems where human intervention in transactions is minimized.

0
ProgrammingDEV Community ·

ML Feature Store Versioning: A Structural Guide to Reproducible Quant Systems

Software engineer Shakti Tiwari published an educational article on DEV Community explaining the principles of ML feature store versioning for quantitative systems. The piece focuses on the structural and conceptual foundations of building reproducible pipelines, deliberately avoiding live market data to keep the guidance evergreen. Tiwari identifies three core components of any sound system: what is observed, what is decided, and what it costs — noting that most tutorials omit the third, which involves realistic fill models, fee schedules, and tax rules. He warns that common implementation failures such as look-ahead bias and data leakage often stem from small, overlooked coding decisions rather than flawed concepts. The article frames testability and explicit contracts between intent and code as the key differentiators between a working production system and a demo that only appears to function correctly.

0
ProgrammingDEV Community ·

Why Recording Time, Book Series, and Tax Figures Matter When Digitising Deeds

A technical guide for developers and title professionals explains the critical data points embedded in a deed's clerk recording stamp, including county, state, date, time, book-and-page reference, and fees. The recording time is highlighted as especially important because under most U.S. state statutes, priority between competing property claims on the same day is determined by who recorded first. Book-and-page citations are only unique identifiers when combined with the county, state, and specific record series, since multiple series with overlapping volume numbers can exist within a single county. Documentary transfer tax figures should be stored as raw amounts rather than used to back-calculate sale prices, given varying rates, exemptions, and nominal-consideration deeds. As counties transitioned to electronic systems at different times, records around the cutover date may carry either a book-and-page reference, an instrument number, or both, requiring flexible data schemas.

0
ProgrammingDEV Community ·

How Legal Property Descriptions Work and Why Exact Text Extraction Matters

Legal descriptions in property deeds are precise identification instruments, not general property summaries, and even slight wording differences make two descriptions legally distinct. American deeds use one of three systems: metes and bounds, lot and block, or the Public Land Survey System, each with specific required components that naive extraction often misses. A single deed may contain multiple descriptions joined by 'AND' or labeled as separate tracts, meaning data schemas must accommodate arrays rather than a single text field. Experts warn against converting legal descriptions into parsed coordinates or reconstructed text, as the verbatim string — including punctuation, capitalization, and abbreviations — is what holds legal weight in title commitments and court filings. The recommended approach is to store the description exactly as written on the recorded page, alongside the source image and character offsets, to allow meaningful human review.

0
ProgrammingDEV Community ·

Understanding Volatility Surface Term Structure: Concepts, Math, and Pitfalls

A technical educational piece by Shakti Tiwari breaks down volatility surface term structure from first principles, focusing on structural concepts rather than live market data. The article warns that half-implemented models often appear correct in demos but fail in production, emphasizing the gap between theoretical design and actual code behavior. It outlines a three-part mechanism — observation, decision, and cost — noting that most tutorials omit the third element, which accounts for realistic fill models, fee schedules, and tax rules. The author stresses that look-ahead bias and data leakage are common consequences of skipping proper timestamping and past-only data rules. The core takeaway is that testable, clearly defined system contracts and realistic cost modeling separate a working architecture from a wishful one.

0
ProgrammingDEV Community ·

Why Swapping Grantor and Grantee in Deed Data Is Worse Than Leaving It Blank

In property deed records, grantor and grantee define a directional relationship — the grantor conveys title while the grantee receives it — and county recorders maintain separate indexes based on this distinction. Swapping the two parties is more dangerous than omitting them entirely, because the resulting chain of title appears valid yet describes conveyances that never occurred. Different instrument types, such as deeds of trust, involve more than two parties, meaning a simple grantor-grantee schema can silently lose key roles like the trustee. Accurate extraction requires identifying the instrument type first, then anchoring on the granting clause — the operative verb phrase that places the conveying party before it and the receiving party after "unto." Positional cues like the first name on a document are unreliable, often returning the drafting attorney rather than any transacting party.

0
ProgrammingDEV Community ·

How to Deduplicate Flaky Test Failures in AI Prompt Suites by Root Cause

When a shared dependency like an HTTP client or model provider fails during testing, it can trigger dozens of simultaneous test failures that appear unrelated in standard reports. This misrepresentation inflates flake counts, clutters triage backlogs, and can bury genuine individual regressions in noise. A practical solution involves computing a short 'signature' string from each failure using fields like HTTP status, provider error code, exception class, and assertion site — while deliberately excluding test names, full messages, and timestamps. Error messages must be normalised before hashing to strip out variable data such as UUIDs, timestamps, and inline content, ensuring that failures sharing the same root cause produce identical signatures. The goal is for each signature group to represent a single fixable incident, making large test runs legible at a glance.

0
ProgrammingDEV Community ·

Theta Harvesting Explained: Concepts, Code Structure, and Hidden Failure Modes

A technical article by Shakti Tiwari on DEV Community breaks down theta harvesting — an options strategy focused on collecting time decay — from first principles, without citing live market data. The piece emphasizes that the strategy appears straightforward in demos but frequently breaks in production due to overlooked implementation details. Tiwari identifies three core components — observation, decision, and cost — noting that most tutorials omit the third, which covers realistic fill models, fee schedules, and tax rules. He warns that skipping proper timestamping, past-only data rules, or realized fill costs introduces look-ahead bias, data leakage, or inflated profitability. The article frames disciplined system design — not the trading idea itself — as the true differentiator between a working strategy and a flawed one.

0
ProgrammingDEV Community ·

Why AI Models Get Locale-Specific Number Formatting Consistently Wrong

AI language models frequently produce malformed numbers when generating locale-specific output, such as writing '1,234,56' in German by applying the decimal comma rule while ignoring the corresponding shift to a period for thousands grouping. The decimal and thousands separators are a matched pair, and applying only one half renders the number unparseable. The problem is compounded across locales: French, Russian, Polish, and Swedish use non-breaking spaces as group separators, which break standard string comparisons and regex patterns written against ordinary spaces. Swiss German adds a third distinct pattern — apostrophe grouping with a decimal point — while Indian English uses non-uniform digit grouping under the lakh-crore system. The International Bureau of Weights and Measures recommends thin spaces for digit grouping in scientific documents precisely to avoid ambiguity between decimal and grouping characters across conventions.

0
ProgrammingDEV Community ·

BlocSignal offers Flutter devs a codegen-free alternative to Riverpod with incremental migration

A new Flutter package called BlocSignal, paired with bloc_signals_riverpod, aims to address common pain points faced by Riverpod developers as their projects scale. Developers using Riverpod often encounter friction from code generation overhead via build_runner, complex nested provider trees, and the difficulty of trialing new architectures without a full codebase rewrite. BlocSignal introduces zero-codegen, signal-graph-based reactivity through standard handwritten Dart classes, allowing reactive derivations to be declared inline using computed signals. The package is designed for incremental, screen-by-screen migration, meaning teams can adopt it gradually alongside existing Riverpod code rather than committing to an all-or-nothing switch. A side-by-side comparison using the classic Todos app demonstrates that BlocSignal can replicate Riverpod's compile-time safety and synchronous reactivity without requiring any code generation tooling.

0
ProgrammingDEV Community ·

A Simple Formula to Calculate Your CPU's Local AI Inference Speed Limit

Running large language models locally on a CPU is often slow, and the key bottleneck during text generation is memory bandwidth, not processing power. For every token generated, the CPU must read all active model weights from RAM into cache, meaning decode speed is capped by how fast data crosses the memory bus. A straightforward ceiling can be calculated by dividing a machine's memory bandwidth — derivable from its DDR standard — by the model's file size in gigabytes. For example, a 70B parameter model at Q4_K_M quantization cannot exceed roughly two tokens per second on a dual-channel DDR5 desktop, regardless of CPU core count. Apple Silicon chips perform notably better at local inference due to their significantly higher unified memory bandwidth, not superior CPU architecture.

0
ProgrammingDEV Community ·

How to Build a Contract Test Suite for Your LLM Gateway Layer

Developers running a proxy in front of AI model providers face bugs not in the models themselves, but in the gateway layer — such as mishandled headers, incorrect error translations, or accidentally buffered streams. A purpose-built contract test suite should verify two core promises: that the gateway speaks an OpenAI-compatible contract downstream and faithfully translates requests upstream. Rather than relying on live model calls, the recommended approach uses a fake local HTTP server to return controlled fixtures, making tests fast, deterministic, and suitable for every pull request. Tools like Mock Service Worker's Node interceptor allow the gateway's real HTTP client, timeout, and retry logic to execute against these stubs. One of the most critical test assertions is confirming that unknown or unrecognized fields from upstream responses are preserved, since a gateway that silently drops them can cause users to lose data like log probabilities or cache metrics.

0
ProgrammingHacker News ·

Developer builds browser-based SysEx librarian for vintage 80s/90s synthesizers

A developer has created a browser-native SysEx librarian tool designed to work with synthesizers from the 1980s and 1990s. The tool is accessible directly through a web browser without requiring additional software installation. It is built to handle SysEx (System Exclusive) MIDI messages, which are used to store and transfer patch data on vintage synthesizers. The project was shared on Hacker News, where it attracted initial attention from the tech and music communities. The tool is available at bipluk.com for musicians and enthusiasts looking to manage their vintage synthesizer libraries.

0
ProgrammingDEV Community ·

Batch vs Streaming in Data Engineering: How to Choose the Right Approach

In data engineering, choosing between batch and streaming processing is an operational decision with real consequences for cost, complexity, and reliability. Batch processing suits use cases where latency of minutes or hours is acceptable, such as incremental ETL pipelines and business dashboards, offering simplicity and lower infrastructure costs. Streaming is better suited for time-sensitive scenarios like fraud detection or operational alerts, where data loses value within seconds, but it comes with higher complexity and continuous infrastructure overhead. A practical hybrid approach — using batch for dashboards and streaming only for fraud detection — can reduce costs while maintaining system reliability. Experts warn against common pitfalls such as assuming everything needs to be real-time, underestimating streaming complexity, and selecting technology before clearly defining the problem.

0
ProgrammingDEV Community ·

Dashboard Audit Reveals One Metric Is Reliable, Another Fluctuates by 1,000 Places

A developer tracking their browser extension discovered that a third-party dashboard reports two very different types of data quality from the same page. The extension's install count proved consistent, returning the same figure across multiple readings of the same date, while the rank metric shifted by roughly a thousand places between readings. This discrepancy only became visible after the developer switched to logging one row per reading instead of one per day, which had been masking the disagreement. The finding led to a practical rule: rank movements under a thousand places carry no meaningful signal and should not be acted upon. The developer concludes that reliability is a property of individual data fields, not of sources as a whole, and recommends repeated readings before trusting any metric used for decision-making.

← NewerPage 176 of 1337Older →