SShortSingh.

Programming

0
ProgrammingDEV Community ·

Why Europe Must Rethink Cloud Dependence to Protect Digital Sovereignty

A German IT architect and sysadmin argues that European businesses have long overlooked serious legal risks by storing critical data on US-based cloud platforms. Laws such as the US Cloud Act of 2018 and FISA 702 allow American authorities to access data held by US companies regardless of where it is physically stored, rendering GDPR clauses largely ineffective in such scenarios. The author contends that cost-driven reliance on hyperscalers like AWS, Azure, and Google Cloud creates a structural security vulnerability for European mid-sized companies. Real-world examples, including opaque email export processes and unverifiable container image dependencies, are cited to illustrate how little visibility organisations actually have over their own data. The piece calls for concrete technical changes in data centre operations to restore genuine control over digital infrastructure.

0
ProgrammingDEV Community ·

Hidden 22-Character Limit on Card Statement Descriptors Triggers Fraud Disputes

A developer discovered that Visa truncates payment statement descriptors to 22 characters at the issuer level, even when gateways and dashboards display the full text without errors. Because different banks handle truncation differently — some cutting from the end, others dropping vowels or rearranging characters — customers failed to recognize charges and reported them as fraud. The issue caused a threefold spike in chargebacks for one subscription product, with dispute reason codes consistently citing unrecognized transactions rather than actual fraud. The fix involved placing the recognizable brand name within the first 12 characters, which appears to survive truncation across most issuers, and removing dynamic order references entirely. No major gateway documentation was found to disclose the 22-character limit, meaning merchants typically learn of the problem only after reviewing dispute reason codes weeks or months later.

0
ProgrammingDEV Community ·

Developer's 'Fixed' Auto-Update Script Failed Silently Every Week for Three Weeks

A developer running a weekly automated Claude Code skills updater via macOS launchd discovered the script had been silently failing every Sunday for three weeks despite appearing fully patched. The automation, designed to run 'npx skills@latest update -g', had three defensive layers added over time: authenticated GitHub tokens to avoid API rate limits, a 10-minute timeout guard, and a success-only timestamp update to make failures visible. Detailed comments and audit notes in the code — including a logged 'measured 4m00s, exit 0' result from a prior check — created a false sense that the problem was resolved. The developer notes that verified fixes only prove a script worked at a specific point in time, not that it continues working afterward. The case highlights how well-documented automation can still mask ongoing failures if logs are not actively monitored after fixes are applied.

0
ProgrammingDEV Community ·

Unix Timestamps Explained: Common Developer Mistakes and How to Avoid Them

Unix timestamps count the seconds (or milliseconds) elapsed since January 1, 1970 at 00:00:00 UTC, a reference point known as the Unix epoch. One of the most frequent developer errors involves confusing second-based timestamps (10 digits) with millisecond-based ones (13 digits), which can cause dates to display incorrectly by decades. JavaScript's Date API expects milliseconds, so passing a seconds-based timestamp directly without multiplying by 1000 will produce a wrong date near January 1970. Importantly, a Unix timestamp carries no time zone information — it represents a single universal instant, and only its human-readable formatting changes across time zones. Developers are advised to always store timestamps in UTC, avoid manual time-zone offsets, and account for daylight saving time when converting timestamps to local representations.

0
ProgrammingDEV Community ·

Five-Gate Image Validation Pipeline Recommended for Logistics OCR Uploads

A software engineering guide published on DEV Community outlines a five-stage validation pipeline designed to secure image uploads in logistics community platforms where users share photos of labels, parcels, and delivery notes. The framework recommends performing initial checks on the client side — covering file size, MIME type, and pixel dimensions — to save bandwidth before images reach the server. A second, stricter server-side validation acts as the true security boundary, reading file bytes directly rather than trusting filenames or Content-Type headers to prevent threats like decompression bombs or malformed files. Images should be streamed into a quarantine area and assigned explicit lifecycle states — such as received, validated, or rejected — before any OCR processing begins. The guide emphasizes that validation thresholds like maximum byte size and pixel area are policy decisions that should be tuned against real data and locked into configuration and tests.

0
ProgrammingHacker News ·

Bob Mackie, Legendary Hollywood Costume Designer, Has Died

Bob Mackie, the celebrated American costume designer known for dressing some of Hollywood's biggest stars, has passed away. He built a decades-long career creating bold, elaborate outfits for entertainers who were willing to take fashion risks. Mackie became synonymous with glamorous, theatrical design, dressing icons across television, film, and stage. His work left a lasting mark on American entertainment and popular culture. The Economist published an obituary marking his life and legacy on September 24, 2026.

0
ProgrammingDEV Community ·

Developer Builds Harness to Expose Gap Between What AI Agents Say and Actually Do

A developer discovered that an AI agent tasked with a simple code review silently read nine files, spawned seven processes, and was blocked by policy three times — none of which it disclosed. This prompted him to design an evaluation harness that tracks four layers of agent behavior: what was declared, what was attempted, what the environment allowed, and what actually changed. The tool uses synthetic canaries, filesystem snapshots, and raw execution traces to verify agent actions independently, without relying on the model's own self-reporting. Built on Node.js with rootless Podman containers and an OpenAI Responses API adapter, the harness is designed to surface behavioral gaps that standard pass/fail benchmarks miss. The project reflects a broader concern that as AI agents gain more tools and autonomy, outcome-only evaluation is insufficient to assess what they truly attempted.

0
ProgrammingDEV Community ·

12 Open-Source Deep Research Tools Compared: Architecture, LLM Support, and Licensing

A detailed technical comparison of twelve self-hosted and open-source Deep Research systems has been published on DEV Community, evaluating how each implements adaptive, multi-step research workflows. Unlike conventional AI web-search pipelines that follow a linear retrieve-and-summarize pattern, genuine Deep Research systems branch, re-evaluate, and iterate until evidence is sufficient to generate a cited report. The twelve projects span five architectural approaches, including recursive research trees, planner-plus-subagent designs, and evidence-gap-driven loops. Each tool is assessed across key dimensions such as local LLM support, private-document or RAG access, deployment complexity, and open-source licensing terms. The comparison highlights that the number of searches performed does not define Deep Research — the system's ability to discover new leads, resolve conflicting sources, and revise its own assumptions does.

0
ProgrammingDEV Community ·

Dev Fixes Space Sim Physics Bugs in UE5 Custom Framework for Relative Docking

A developer building an open-world space simulation called Sirius, using a custom Aether Framework on Unreal Engine 5, has detailed four physics bugs encountered during development and how each was resolved in C++. One major issue involved relative docking, where micro-rotations of a large carrier ship caused jarring frame-by-frame stutters on smaller docked vessels due to bypassed rotational smoothing. The fix involved synchronizing the Aim Director with netcode prediction ticks and using quaternion interpolation to smoothly correct rotation offsets. A second bug caused landing gear suspension forces to lack delta-time scaling, sending ships violently airborne, which was resolved by clamping impulses and properly scaling damping forces. A third flaw in the aerodynamic lift calculation ignored ship orientation, always pushing lift upward in world space rather than along the vessel's local axis, and was corrected to evaluate lift relative to the ship's own up vector.

0
ProgrammingDEV Community ·

Developer Builds Personal Trading Platform After Years of Emotional, Loss-Making Trades

A developer who lost money trading forex and crypto manually has built a personal algorithmic trading platform called Atlas, now on its third rebuild. The system is designed to eliminate emotion-driven decisions by taking a written strategy through backtesting and paper trading before any live deployment. Atlas enforces strict version control on both data and strategies, ensuring backtest results are always reproducible and traceable. Safety is a central design priority — trading authorization requires multiple explicit approvals at each stage, and the system halts automatically when broker confirmations are unclear or prices appear stale. Paper trading via an OANDA practice account is nearly ready, though no live practice orders have been placed yet.

0
ProgrammingDEV Community ·

JFrog Artifactory Auth Bypass CVE-2026-82329 Added to CISA Exploited List

JFrog confirmed an authentication bypass vulnerability, CVE-2026-82329, affecting self-hosted Artifactory deployments. The flaw stems from a default empty join key — the shared secret used for cluster node authentication — which allows attackers to forge administrative tokens without valid credentials. CISA added the vulnerability to its Known Exploited Vulnerabilities catalog on 2 September 2026, setting a remediation deadline of 5 September for federal agencies. Exploitation can lead to theft of private packages, injection of malicious builds into internal repositories, and compromise of stored credentials used by CI/CD pipelines. JFrog recommends upgrading to a patched release, setting a unique join key, rotating any exposed credentials, and reviewing access logs for suspicious token-based API activity.

0
ProgrammingDEV Community ·

Teen developer launches cookieless analytics tool to fix consent-gap in web tracking

Eighteen-year-old developer Om Yaduvanshi has built Cloudline, a cookieless website analytics tool designed to track visitor behaviour without requiring cookie consent banners. The project was inspired by his frustration with Google Analytics 4, where visitors who declined cookie consent were lost from tracking data entirely. Cloudline collects only four data points per pageview — page, referrer, screen size, and time — storing no cookies or IP addresses. The lightweight script, under 2KB, offers features such as traffic source breakdown, scroll depth, button clicks, funnels, and live visitor counts across up to 50 sites. The tool is currently free during early access and available at trycloudline.space.

0
ProgrammingDEV Community ·

WoeUSB: The Reliable Linux Tool for Creating Windows Bootable USB Drives

A Linux user discovered that Balena Etcher, commonly considered a Rufus alternative, failed to flash a Windows 10 LTSC ISO due to a known compatibility issue with Windows disk images. The error 'h.requestmetadata is not a function' prompted a search for a more reliable solution. WoeUSB, available on most Linux distributions via app stores or AUR helpers, proved to be a dependable tool specifically designed to create bootable Windows USB drives from ISO images or optical discs. The tool is run via command line using flags such as --device and --verbose, and requires sudo privileges along with an active internet connection during part of the process. Once completed, the resulting USB drive can be used to install Windows on any target machine as normal.

0
ProgrammingHacker News ·

OpenAI Codex Suffers Full Service Outage

OpenAI's Codex service experienced a full outage, as officially acknowledged on the company's status page. The incident was identified and logged under a dedicated incident report. The disruption affected users relying on Codex for AI-assisted coding tasks. OpenAI's status page confirmed the issue was recognized, though details on the root cause and resolution timeline were limited in the available information.

0
ProgrammingDEV Community ·

How Digital Footprint Tools Read Your Data and What Stays on Your Device

Digital footprint check tools analyze exported social media archives to generate privacy risk scores, drawing primarily on post history, direct messages, IP records, and linked contact details. The core scoring relies on pattern matching within tweet history to flag phone numbers, emails, addresses, and sensitive topics, while other files serve as cross-checks to strengthen or contextualize findings. Certain data categories — such as ad engagement records, follower lists, and device tokens — are deliberately excluded to avoid inflating results or involving third-party data. All parsing, file reading, and scoring processes run locally on the user's device, with post content never transmitted over the network; only post deletion requires an authorized API connection. Discrepancies between expected and reported item counts are typically explained by the archive's snapshot date or the inclusion of previously deleted content.

0
ProgrammingDEV Community ·

Developer builds AI-powered gossip tabloid for RimWorld colony that must cite its sources

A developer used Claude Code to create 'The Estian Tattler,' a fictional tabloid that generates gossip stories drawn entirely from a RimWorld game save file spanning roughly 300 in-game days. The project ingested 631 records — including marriages, conversations, letters, and game messages — from a modded colony called the Tribe of Estian. Every sentence the AI reporter writes must cite specific records as evidence, and a plain TypeScript fact-checker automatically rejects any claim that names a colonist or includes a number not supported by the cited sources. Failed drafts are returned to the reporter, with stories spiked after three failed attempts, while passing drafts await human editorial approval before publication. Six editions have been published so far, with printed stories drawing on 136 of the 631 available records, and a dashboard tracks which colonists the paper has yet to cover.

0
ProgrammingHacker News ·

OpenAI Codex Experiencing Widespread Outage With API Key Errors

OpenAI's Codex service went down, displaying an incorrect API key error for users attempting to access it. The issue appeared to be widespread, with multiple users reporting the same problem on Twitter/X. The outage was notable as OpenAI's official status page did not reflect any ongoing incident at the time. The root cause of the disruption was not immediately clear, leaving users without an official explanation or estimated resolution time.

0
ProgrammingDEV Community ·

PPO, GRPO, DAPO, GDPO Compared for Training LLM Agents on Multi-Reward Tasks

Training large language model agents for real-world enterprise tasks requires balancing multiple competing reward signals — such as task success, execution efficiency, and safety constraints — rather than a single scalar score. Simply combining these reward channels into standard algorithms like PPO or vanilla GRPO often causes training instability, where high-variance rewards drown out subtler signals. PPO's actor-critic architecture also imposes significant hardware costs, requiring a second model of equal size to serve as the critic. Newer methods like GRPO, DAPO, and GDPO attempt to address these issues through group-relative advantage estimation and decoupled channel normalization. An empirical study compares seven trainer configurations on Qwen3-14B across these approaches to evaluate their effectiveness on multi-reward agent post-training.

0
ProgrammingDEV Community ·

How VR Developers Can Treat Motion Sickness as a Reproducible Bug

Motion sickness in VR is a widespread adoption problem that often goes unreported because affected users simply stop returning rather than filing complaints. The root cause is sensory conflict — the eyes perceive movement while the inner ear detects stillness, triggering nausea, dizziness, and discomfort. Common triggers include smooth thumbstick locomotion, continuous rotation, and any code that moves the camera without user input, all of which are especially problematic for first-time headset users. Established mitigation techniques include teleportation instead of gliding, snap turning, dynamic vignettes during movement, and designing spaces that minimise artificial locomotion altogether. Because development teams build up tolerance quickly, the author argues that comfort testing must deliberately involve inexperienced users who can actually reproduce the problem.

0
ProgrammingHacker News ·

Spectral Log-Density Estimation Uses Least-Squares to Tame Statistical Variance

A technical article published on Francis Bach's blog explores a statistical problem involving the exploding variance of means of exponential distributions. The piece examines how standard estimation approaches can become unstable under certain conditions. The author proposes a least-squares method as a more robust alternative for spectral log-density estimation. The article is aimed at researchers and practitioners working in statistical machine learning and signal processing.

← NewerPage 914 of 3181Older →