SShortSingh.

Programming

0
ProgrammingDEV Community ·

Free self-hosted market dashboard tracks stocks, crypto, and bonds with no API keys

A developer has released an open-source market dashboard on GitHub that aggregates global financial data without requiring paid API subscriptions. The tool pulls live data from free public endpoints including Tencent, Sina, Eastmoney, and Binance through a Node.js proxy with built-in caching, covering A-shares, Hong Kong, US indices, gold, commodities, crypto, and US Treasury yields. All charts are rendered using hand-written SVG rather than third-party libraries, keeping the bundle lightweight and fast even on older hardware. The dashboard also includes sector money-flow tracking, an industry-chain view, an earnings calendar, and a 24/7 news feed with macro keyword highlighting. It can be self-hosted via Docker on a single Node process, and native builds are available for macOS and Android TV.

0
ProgrammingDEV Community ·

Developer Builds Snapshot Test Suite to Detect Silent AI Model Drift

A software developer noticed their free-tier LLM began producing worse outputs without any changes to their code, prompts, or configuration, pointing to a silent model update by the provider. This prompted them to build a scheduled snapshot regression suite designed to detect when a chosen AI model's behavior has drifted over time. Unlike traditional snapshot testing, the suite handles nondeterministic LLM output by comparing responses using embedding cosine similarity rather than exact string matching. It also enforces hard constraints such as JSON validity, required response keys, and banned phrases to catch structural regressions. The developer published the full workflow with runnable Python code, arguing that LLMs consumed via hosted APIs should be treated with the same version-pinning discipline applied to software dependencies.

0
ProgrammingDEV Community ·

Cloudflare's AI Crawler Payments Signal a Shift From Attention to Data Monetization

Cloudflare recently introduced a feature allowing websites to charge AI crawlers for accessing their content, a move that signals a deeper structural shift in how the internet generates revenue. For two decades, websites monetized human attention by trading free content access to search engines in exchange for visitor traffic, which funded ads, subscriptions, and affiliate links. AI agents have disrupted this cycle by extracting answers directly for users, bypassing the website visit entirely and eliminating those revenue streams for publishers. Unlike humans who resist micro-payments, AI agents can automatically pay fractions of a cent per request using the HTTP 402 status code, making micropayments viable for the first time. This dynamic could transform datasets, APIs, research archives, and product catalogs into metered, transaction-based assets, potentially spawning an entirely new layer of internet infrastructure built around machine-readable, paid resources.

0
ProgrammingDEV Community ·

Unity Built-in Audio vs CRI ADX, Wwise, and FMOD Studio: When to Switch

A technical analysis published on DEV Community compares Unity 6.5's built-in audio system against three major middleware solutions: CRI ADX, Wwise 2025.1.9, and FMOD Studio 2.03. Unity's native tools — including AudioSource, Audio Mixer, and Audio Random Container — are sufficient for small to medium, programmer-led projects that treat audio as code-triggered clips. Larger productions tend to adopt middleware when sound designers need to independently author, package, profile, and validate audio behavior without programmer involvement. CRI ADX suits mobile and console titles with high voice and stream counts, Wwise fits complex large-scale projects with multiple audio contributors, and FMOD Studio appeals to teams prioritizing DAW-like event authoring and fast device iteration. The article suggests that three or more firm middleware-specific requirements — such as parameter-driven playback, category voice limits, or per-platform delivery policies — justify a formal evaluation of third-party tools.

0
ProgrammingDEV Community ·

TestFlight vs Expo EAS Ad-Hoc: Two Ways to Test iOS Apps on Real Devices

React Native developers testing iOS builds on real devices can choose between Apple's TestFlight or Expo's EAS Preview with Ad-Hoc provisioning, each offering a distinct workflow. TestFlight relies on Apple's official infrastructure, where builds are uploaded to App Store Connect, reviewed by Apple, and installed by testers via an invite link — no device UDID collection required. Expo EAS Ad-Hoc provisioning, by contrast, requires developers to register each tester's device UDID in advance, after which a build can be distributed directly via a QR code or install link without needing the App Store. Many development teams use both methods at different stages — Ad-Hoc for rapid feedback during active development and TestFlight for broader beta testing once a build is stable.

0
ProgrammingDEV Community ·

Only 41 of 200 Japanese SaaS Products Rated Ready for AI Agents, Study Finds

A Singapore-based independent rating agency, KanseiLink by Synapse Arrows, evaluated 200 leading Japanese SaaS products this summer to assess how well they can be discovered, accessed, and used by AI agents. Using only publicly verifiable criteria, the agency awarded an A rating or higher to just 41 products, with 11 achieving the top AAA grade. The evaluation covered five domains: API or MCP connectivity, documentation discoverability, end-to-end task execution, authentication clarity, and cross-model consistency. Most of the 159 products that failed did so for understated reasons, such as developer docs blocked to non-browser agents or API references locked behind sales contacts. The findings highlight a growing gap between SaaS products that AI models can recommend based on training data and those that AI agents can actually connect to and use.

0
ProgrammingDEV Community ·

How to Pick the Right Root Filesystem Format for Embedded Linux

Choosing a root filesystem format for embedded Linux is a consequential decision affecting updates, power-cut resilience, and flash wear, yet it is often made by default. The four realistic candidates are ext4, f2fs, squashfs with overlayfs, and UBIFS, each suited to different hardware and product requirements. Hardware is the first filter: raw NAND storage mandates UBIFS on UBI, while managed flash such as eMMC supports block-based formats like ext4, f2fs, and squashfs. For managed flash, a read-only squashfs root paired with a writable data partition is recommended as it aligns well with A/B updates and integrity verification via dm-verity. Teams requiring a writable root with familiar recovery tooling may opt for ext4, though they must separately enforce immutability to prevent configuration drift across field units.

0
ProgrammingDEV Community ·

Developer Builds Open-Source Multi-Platform Article Publisher in Two Weeks

A developer frustrated by spending 30 minutes manually cross-posting a single article across nine platforms built an automated publishing system called PolyPost in two weeks of spare time. The tool uses Python and FastAPI for the backend, native HTML/CSS/JS for the frontend, and SQLite as the database, deliberately avoiding heavier dependencies like Docker or Redis. Different platforms required different integration strategies — some offered public APIs, others needed reverse-engineered authentication signatures, and platforms like Xiaohongshu required browser automation via Playwright. The project has already published 15 articles across nine platforms, accumulating 143 total views within two days of going live. The source code is publicly available on GitHub, with planned features including AI-assisted content rewriting, Docker deployment, and support for international platforms such as Medium and Hashnode.

0
ProgrammingDEV Community ·

How to Build a Multi-Tenant SaaS Help Center with Semantic Search

For a SaaS help center's ask-your-docs feature, engineers should default to embedding-based semantic search over document chunks, as it handles natural language mismatches between user queries and documentation better than keyword matching alone. Keyword search should still be retained for exact identifiers like error codes, API fields, and plan names, where literal matching is more reliable. Chunk boundaries must align with meaningful document structure, and every chunk must carry a tenant identifier to prevent data from one customer leaking to another. A reranking layer should only be added after retrieval evaluation reveals weak first-stage ordering, not as a default. Critically, every external retrieval and model call must log a per-tenant usage event with a provider request ID to ensure accurate, auditable billing across a multi-tenant environment.

0
ProgrammingDEV Community ·

Developer Builds Open-Source Tool to Publish Blog Posts Across Six Platforms at Once

A developer frustrated by spending 30 minutes manually cross-posting a single article across six platforms built an open-source automation tool called PolyPost. The tool addresses a common pain point: each platform uses a different editor, causing Markdown formatting to break in different ways during copy-paste workflows. PolyPost converts a single Markdown file into the appropriate format for each platform — including Juejin, Zhihu, CSDN, Cnblogs, SegmentFault, and Dev.to — and publishes to all of them in roughly 30 seconds. The project, built with Python, FastAPI, and Playwright, also includes a unified stats dashboard, a Chrome extension for session management, and scheduled publishing support. Released under the MIT license, the tool is available on GitHub and is aimed at developers who regularly maintain accounts on five or more content platforms.

0
ProgrammingDEV Community ·

A Trailing Space in .env Key Names Can Silently Break Credential Loading

A developer discovered that a space before the equals sign in a .env file causes custom environment variable parsers to load credentials under the wrong key name, with a trailing space appended. Because the rest of the codebase looks up variables without that trailing space, the correct credential is never found, yet no error or warning is raised. The bug was uncovered while comparing four near-identical hand-rolled load_env() functions across the same Python project, none of which stripped whitespace from the key side of the assignment. On machines where an older token already exists in the environment, scripts appear to run normally while silently ignoring any updated credential in the .env file. The fix is straightforward — applying strip() to the parsed key as well as the value — but the silent failure mode makes the bug particularly difficult to detect.

0
ProgrammingDEV Community ·

Developer builds yocho.ai to separate AI news facts from hypotheses

A developer is building yocho.ai, an AI industry intelligence platform designed to keep four distinct layers of information separate: events, entities, relationships, and hypotheses. The system aims to prevent AI-generated interpretations from being mistaken for verified facts, allowing each layer to be updated independently as new evidence emerges. Using a structured flow from source to hypothesis, the platform treats predictions as provisional rather than conclusions. The builder is documenting design decisions and implementation lessons in a public founder build log on yocho.ai. The next planned step is enabling users to compare hypotheses directly against the sources and relationships that support them.

0
ProgrammingHacker News ·

Linux kernel AF_Unix use-after-free flaw enables container escape

A security vulnerability tracked as CVE-2026-53361 has been disclosed affecting the Linux kernel's AF_Unix socket implementation. The flaw involves a use-after-free condition arising from a race between the garbage collector and the MSG_PEEK socket operation. This class of vulnerability can allow an attacker to escape container isolation, potentially gaining elevated privileges on the host system. Details and proof-of-concept code have been published on GitHub by researcher sgkdev. The disclosure is currently attracting attention in the security community via Hacker News.

0
ProgrammingHacker News ·

DARPA Heavy Lift Drone Challenge Won with 3.84:1 Payload-to-Weight Ratio

DARPA has concluded its heavy lift drone challenge, with a winner achieving an impressive payload-to-weight ratio of 3.84:1. The winning entry was reported by DroneXL in August 2026, with the victor identified as Avidrone. The challenge was designed to push the boundaries of unmanned aerial vehicle lifting capability. A high payload-to-weight ratio is a key engineering benchmark, indicating the drone can carry significantly more than its own weight.

0
ProgrammingDEV Community ·

How a CDN Works Between Your Browser and Origin Server

A Content Delivery Network (CDN) is a distributed system of edge servers that delivers web content from locations geographically closer to users, reducing latency and origin server load. When a user makes a request, routing technologies like DNS-based routing and Anycast direct traffic to the nearest edge location, which checks if it can serve the content from its local cache. A cache hit means the resource is served directly from the edge without contacting the origin, while a cache miss triggers a fresh fetch from the origin server, which may then be stored for future requests. Cache duration is governed by Time to Live (TTL) settings, which vary based on how frequently content changes, and CDNs also offer purge mechanisms for immediate cache invalidation. Beyond caching, modern CDNs can also optimize the network path for dynamic or uncacheable content such as API responses, authenticated pages, and personalized data.

0
ProgrammingDEV Community ·

UchenML Lets Developers Compile Neural Networks Directly Into C++ Binaries

UchenML is a C++20 machine learning framework that embeds trained neural network models as compile-time constants directly inside C++ binaries, eliminating the need for separate model loaders or runtime file parsing. The framework represents model architecture as composable layer values, allowing parameter counts and shapes to be verified at compile time via static assertions. Weights are stored as flat float arrays and can be memory-mapped or packed in fp16 format, as demonstrated in a live browser demo running a model with over 2.7 million parameters. Training is supported within the same framework using immutable state updates and optimizers such as SGD and Adam, with the final output being a plain float array ready for deployment. Built with Bazel and tested across MSVC, GCC, and Clang, UchenML prioritizes portability and integration ease over Python-based alternatives.

0
ProgrammingDEV Community ·

How One Team Used Postgres Advisory Locks to Safely Reset Monthly Usage Quotas

A development team building a subscription-based app encountered quota reset failures for yearly subscribers and free-tier users, since both groups never trigger monthly payment events. To fix this, they built a Spring scheduler that runs at 00:05 UTC on the first of each month, decoupling quota resets from billing cycles entirely. The solution uses Postgres's pg_try_advisory_xact_lock to ensure only one application instance executes the reset job, even in multi-instance deployments. The non-blocking 'try' variant means competing instances exit immediately rather than queuing up, while the transaction-scoped lock auto-releases if the process crashes. The five-minute cron offset was deliberately chosen to avoid the load spike caused by multiple infrastructure jobs firing at exactly midnight.

0
ProgrammingDEV Community ·

Docker's YOLO Mode and the Case for Permission-Level AI Agent Security

Docker this week launched a feature called YOLO mode within its Sandboxes product, giving AI coding agents like Claude Code and GitHub Copilot CLI isolated microVMs with outbound firewalls so they can run unattended without human oversight. Unlike standard containers, each session uses a dedicated microVM with its own kernel running on a hypervisor, providing stronger isolation for agents that install packages and execute arbitrary commands. A senior software engineer at BS23 in Dhaka, building production AI agents with Spring Boot and Spring AI, argues that a microVM cage suits coding agents but not conversational e-commerce assistants with defined tool sets. During adversarial testing, the engineer discovered that a product description embedded with fake user instructions caused the agent to follow those instructions instead of answering the customer's question — an indirect prompt injection attack originating from the agent's own catalog. This highlighted three distinct attack channels for tool-equipped agents: direct user injection, indirect injection via tool outputs, and privilege abuse through tool side effects, each requiring its own targeted defense rather than process-level sandboxing.

0
ProgrammingDEV Community ·

DevOps Veteran: AI Governance Needs Old Controls, Not New Ones

A software professional with two decades of DevOps experience concluded, after writing thirteen posts on the topic, that AI governance requires no fundamentally new discipline. The same five core controls — blast radius, auditability, measurement, approval chains, and rollback — apply to AI systems just as they did to earlier technology waves. A key observation from a financial-services firm illustrated the problem: GitOps changes underwent six months of rigorous review, while an AI coding assistant like Copilot was treated as a harmless editor plugin, despite both affecting production code. The author argues that AI tools are effectively deployment paths in disguise, and governance frameworks have failed to recognize them as such. The central challenge is that AI has made code generation nearly free while review capacity remains unchanged, breaking an assumption that underpinned decades of software controls.

0
ProgrammingDEV Community ·

Developer Builds AI Security Auditor BugZ That Streams AST Fixes to Developers

A solo developer has built BugZ, an AI-powered security auditing tool designed to address shortcomings in traditional Static Application Security Testing (SAST) tools. Unlike conventional tools that flag vulnerabilities without clear remediation steps, BugZ parses Abstract Syntax Tree (AST) nodes and streams real-time fix suggestions directly to the user interface. The tool automatically generates downloadable Git patch files, allowing developers to apply security fixes with a single command. Built using Next.js 14, Tailwind CSS, Convex, and Gemini Pro, the project attracted 151 unique users and three GitHub stars within its first three days — entirely without paid advertising. BugZ is currently available for free repository audits at bugz-ai.vercel.app.

← NewerPage 202 of 1340Older →