SShortSingh.

Programming

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.

0
ProgrammingDEV Community ·

Developer builds persistent memory system for Mac AI coding app Deiko

A developer building Deiko, a Mac app that captures screen context and voice input for AI coding agents, grew frustrated that agents had no memory of previous debugging sessions on the same issue. After noticing repeated explanations of identical bugs across days, he spent a week engineering a memory layer to let Deiko recognize when new briefs relate to past tasks. He evaluated Jev, a probability-focused model from TypeSafe AI priced at $0.042 per million input tokens, which returns a confidence score on whether two items are related rather than a verbose response. When TypeSafe paused signups, he rerouted through gateways including Vercel AI Gateway, OpenRouter, and Cloudflare to access the same model. Drawing on how tools like Claude Code, Mem0, and Sentry handle memory and issue grouping, he built a small filing algorithm that combines exact contextual clues with model-based classification to cluster related briefs automatically.

0
ProgrammingDEV Community ·

Developer builds AI agent to diagnose broken RimWorld mod conflicts automatically

A RimWorld player running 232 mods built an AI agent to diagnose mod conflicts after spending most of June manually troubleshooting load-order issues. The agent reads a player's ModsConfig.xml and Player.log, then cross-references mod author declarations, RimSort community rules, and personal notes to identify problems. To test it, the developer re-enabled nine previously disabled mods, launched the game, and fed the resulting 300 KB log file to the agent. The agent correctly identified all nine problematic mods, linked each to specific log evidence, flagged nine load-order violations, and generated a proposed fixed configuration file without altering the original. The entire diagnostic run took 10 tool calls and cost $0.36, with the agent transparently flagging one misattributed source rather than silently guessing.

0
ProgrammingDEV Community ·

How to Automate Competitor Keyword Research Without Drowning in Duplicate Data

SEO tools like Semrush and Ahrefs can export thousands of competitor keywords, but the real challenge begins after the export, when users face walls of near-duplicate terms and conflicting search volume figures. Keyword difficulty scores and volume estimates vary significantly between tools because each uses different methodologies and time windows, making direct comparisons unreliable. Experts recommend identifying true search competitors manually by Googling target queries before cross-checking with any tool's organic competitors report. Cleaning the exported list is flagged as the most impactful step, involving removal of word-order duplicates, branded terms, and irrelevant page matches. Sorting keywords alphabetically is highlighted as a simple but effective way to surface duplicate variants that would otherwise consume hours of manual review.

0
ProgrammingDEV Community ·

How one developer translated a TV tracker app into 46 languages for free

A solo developer behind dizi.jpg, a TV show and movie tracking app, needed to translate a large catalogue of descriptions into 46 languages but ruled out commercial translation APIs due to prohibitive per-character costs. Instead, they built an offline batch translation pipeline using open-source tools Argos Translate and CTranslate2, running translations on their own computer and storing results in a PostgreSQL database. This approach eliminates per-request translation costs and latency, while also allowing search engines to index fully translated pages for each language. The trade-offs include lower output quality compared to commercial systems, potential errors when no direct language-pair model exists, and a lag before new content appears in translated languages. The developer recommends this method to other solo or small-team content-heavy projects seeking multilingual support without ongoing API bills.

0
ProgrammingDEV Community ·

Study Finds Auth, Access Rules and Webhooks Are Top AI App Launch Failures

A structured analysis of 4,469 public builder posts identified 59 verified cases in the past year where AI-powered apps broke at or after launch. The most common failure points were user authentication flows, hand-written row-level security rules, file storage, and payment webhooks. Sign-in issues ranged from broken email links and misconfigured cookies to token refresh race conditions that logged paying users out mid-session. Access control failures were particularly severe, with misconfigured or missing row-level security policies allowing users to read or modify other customers' data. Researchers recommend testing full auth flows on production domains, enforcing deny-by-default database policies, and logging detailed failure reasons rather than generic error codes.

0
ProgrammingDEV Community ·

Google Adds Live Voice Chat, Mobile Audio Recorder to Gemini Notebook

Google announced on September 15, 2026, a set of updates to Gemini Notebook that introduce real-time voice conversations, a mobile audio recorder, and new interactive learning outputs. The voice conversation feature allows users to speak directly with their notebooks in nearly 100 languages across both the mobile app and web. A mobile audio recorder is also being introduced to help users capture lectures and spontaneous thoughts while away from a desk, with its rollout beginning the week after the announcement. New learning-focused outputs — including quizzes, flashcards, and Short Video Overviews — are being added alongside the existing Audio Overview feature. The changes reflect Google's broader effort to make Gemini Notebook more interactive and to consolidate the product within its Gemini ecosystem.

0
ProgrammingDEV Community ·

Why Google Takeout scrambles photo dates and how to fix them

When users export their Google Photos library via Google Takeout, most images incorrectly land on the export date rather than their original capture dates in apps like Apple Photos or Lightroom. This happens because Takeout stores the correct date metadata — including when a photo was taken, its location, and captions — inside a separate JSON sidecar file that photo apps never read. Instead, these apps rely on embedded EXIF data or the file's modified timestamp, which Takeout sets to the day of export. A developer built a tool called Takeoutfix to read the JSON files and write the correct dates, GPS data, and captions back into the media files. Complicating matters further, Google changed its JSON naming format in 2024 from a simple '.json' suffix to '.supplemental-metadata.json', causing older fix tools to fail.

0
ProgrammingDEV Community ·

How a browser tool converts PNG images into vector cut files for Cricut and lasers

A developer built Cutline, a browser-based tool that converts PNG and JPG images into cut files compatible with Cricut, Silhouette, Glowforge, and vinyl plotters. The tool works by tracing pixel edges and converting them into closed vector paths that cutting machines can follow. It uses a modified k-means algorithm on a color histogram rather than individual pixels, reducing processing time regardless of image size, while ensuring consistent color palette results. Cleanup steps remove dust specks and fill pinholes, and layers are stacked with slight overlaps to prevent gaps during physical cutting. During development, the author discovered a bug caused by anti-aliased edge pixels being misassigned to a third color cluster, creating thin unwanted holes in cut layers.

0
ProgrammingDEV Community ·

Gemma 4 QAT Weights Deliver 2x Faster Decoding Than bf16 on AWS SageMaker L4

A developer benchmarked Google's Gemma 4 E2B model in two formats — full-precision bf16 and a quantization-aware trained (QAT) 4-bit weights checkpoint — on an Amazon SageMaker real-time endpoint powered by a single NVIDIA L4 GPU. The QAT variant decoded tokens at 105.1 tokens per second compared to 51.3 for bf16, and handled 16 parallel requests at 1,077 tokens per second versus 619 for the standard model. Both checkpoints produced identical results across 40 test questions, suggesting no accuracy loss from quantization. The test was conducted on an ml.g6.xlarge instance in the us-east-2 region using AWS's vLLM SageMaker container, with the only configuration change being the model checkpoint variable. A companion suite of Python MCP tools was also built to streamline deployment and management of the vLLM-hosted endpoint.

0
ProgrammingDEV Community ·

AI Agents vs Traditional Automation: Why the Security Gap Matters

Unlike traditional automation, where every execution path is pre-coded and reviewed by engineers, AI agents dynamically choose their own next steps, tools, and sequences at runtime. This shift moves control from deterministic code into a model-driven decision loop, fundamentally expanding the attack surface to include the agent's tool set, permissions, and memory. Security bodies including NIST and OWASP have flagged AI agents as vulnerable to 'agent hijacking', where prompt injection can trigger harmful actions rather than just bad text output. Anthropic's December 2024 guidance formally distinguishes workflows, which follow predefined code paths, from agents, which direct their own processes dynamically. Security teams are advised to treat the model as an untrusted decision-maker and keep identity, authorization, argument validation, and logging deterministic and outside the model's control.

0
ProgrammingDEV Community ·

Fillable uses browser-side PDF parsing to auto-detect form fields for a one-time $4 fee

Fillable is a one-off web tool that converts flat, non-interactive PDFs into fillable forms without requiring a subscription. It works entirely in the browser, using pdf.js to replay each page's drawing instructions and identify lines, rectangles, and text that indicate form fields. The tool applies rule-based classification to distinguish checkboxes, text fields, date fields, signature fields, and table cells based on geometry and nearby label text. Edge cases such as zip codes and multi-line fields are handled through specific logic refined from real-world form testing. Users pay a single $4 fee per document, and the server independently validates all coordinates before writing the final PDF.

0
ProgrammingDEV Community ·

Guide: Deploy Google Gemma 4 on Amazon SageMaker Using vLLM and MCP Tools

A developer has published a step-by-step guide for deploying Google's Gemma 4 E2B language model to an Amazon SageMaker real-time endpoint running on a single NVIDIA L4 GPU. The setup uses AWS's published vLLM container and relies entirely on standard AWS CLI commands, making each step reproducible manually or through an MCP server. A Python-based MCP server built on the MCP SDK 2.x provides tools for managing the deployment, with Claude Code acting as the MCP client via stdio transport. SageMaker handles infrastructure concerns such as container placement, health checks, request routing, and logging to CloudWatch, eliminating the need to manage instances or load balancers. The project is open source and available on GitHub, requiring Python 3.11 or newer, AWS CLI v2, and a SageMaker endpoint quota for a compatible L4 GPU instance type.

← NewerPage 915 of 3181Older →