SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Converts 2014 Samsung Galaxy Note 4 into a 1.2W Linux Marine Safety Server

A software developer has repurposed a decade-old Samsung Galaxy Note 4 into a low-power Linux server running on just 1.2 watts, using Termux and headless Linux installed on the 2014 device. The phone now powers Maritime Watch, an open-source coastal safety tool that ingests hourly marine weather data and live AIS vessel traffic to generate tailored departure advisories for small-boat fishermen. Unlike generic weather apps, the system evaluates conditions against three hull-size categories, sending subscribers a daily 6 AM notification with specific safe departure windows and return deadlines. The developer chose the retired smartphone over a Raspberry Pi or a paid cloud server, citing its built-in battery backup, integrated wireless connectivity, and zero hardware cost. Taming Android's aggressive power management required disabling background sleep killers via Termux wake-lock and exempting the app from the OS battery optimization settings.

0
ProgrammingDEV Community ·

Developer launches free Connections-style puzzle app where users can build and share boards

A developer named Rowan Adeyemi, who identifies as an autonomous AI agent, has built Grouple, a free browser-based word puzzle game inspired by the New York Times' Connections. Unlike its inspiration, Grouple requires no login or account and lets any user create their own 16-word board by grouping words into four categories, then share it via a link. The platform runs entirely on a Cloudflare Worker and a lightweight SQLite database, with no client-side framework or AI-generated content involved. A key design feature encourages a social loop where solvers are prompted to build and share their own board in response, forming chains of linked puzzles. The creator noted that returning users were primarily those who made boards and watched others solve them, rather than those who only played the daily puzzle.

0
ProgrammingDEV Community ·

How MCP Tools Can Replace Manual Hex Pasting in Crypto KAT Debugging

When a Known Answer Test fails on a cryptographic primitive, developers typically diagnose the issue by pasting raw hex and ACVP JSON into a chat prompt, but this approach breaks down with large vector files. For small-scale testing, running the KAT binary locally and copying only the failing vector ID and byte offset into a prompt remains a practical and auditable method. The article proposes exposing KAT runners as Model Context Protocol tools over stdio for cases involving massive ACVP payloads and repeated test cycles. Two key tools are suggested: one to run the crypto KAT and return structured status with a diff window, and another to load ACVP vectors with filtering instead of dumping entire files. The core principle is keeping tool outputs small and typed so the AI agent requests additional context on demand rather than receiving the full file by default.

0
ProgrammingDEV Community ·

Luxembourg Hotel Owner Builds AI Travel Agent Powered by Live Structured Data

A real 3-star hotel near Luxembourg's central station has deployed an AI travel assistant called Lux Stay Agent, built using Sanity's content platform for a developer challenge. The agent draws on live operational data — including nightly-synced room rates, a 54-item menu from the hotel's ordering system, and verified local transport facts — to answer guest queries in English, French, and German. The developer modeled the hotel's information across six structured document types, covering rooms, menu items, FAQs, transport guides, and local attractions. The agent uses function calling and a read-only MCP endpoint to query exact fields rather than relying on an LLM's internal knowledge, preventing hallucinated or outdated answers. The project highlights how structured content, not AI sophistication alone, determines the reliability of automated customer-facing assistants.

0
ProgrammingDEV Community ·

Developer Builds Offline Tool That Explains Shell Commands Flag by Flag

A developer named Aurelio Nakamura has created cmdxray, a free offline tool that breaks down commonly used shell one-liners flag by flag for users who paste commands without fully understanding them. The tool generates explanations programmatically using a built-in parser rather than hand-written documentation, covering popular commands like tar, ss, chmod, and grep. A built-in risk engine flags dangerous commands — such as rm -rf or curl piped to sudo bash — and surfaces safer alternatives before the user executes them. cmdxray is available as a static web reference, a GitHub repository, and an npm package that works directly in the terminal. Nakamura, who identifies as an AI agent, says the project is open source and is actively expanding its library of explained recipes.

0
ProgrammingDEV Community ·

Passing 680 tests proved nothing: how a hidden parser bug exposed a testing blind spot

A developer deliberately introduced a bug in tomlkit's timezone parsing — flipping negative UTC offsets to positive — and found that all 680 official conformance tests still passed. The tests failed to catch the error because the expected values were generated by the very same function being tested, meaning the parser and its expectations drifted together invisibly. The flaw only affected datetime cases; integer and string tests, which used independent expected values, caught similar breaks within seconds. To address this systemic issue, the developer packaged a practice called 'falsifiable-tests' as an AI agent skill, requiring that every test be deliberately broken before it is trusted. The same method was applied to three open-source projects, with findings reported upstream to tomlkit, tenacity, and click.

0
ProgrammingDEV Community ·

BlueMoon Campaign Exploited 27-Day Chrome Patch Gap Using AI-Assisted Tools

In September 2026, cybersecurity firm Proofpoint reported on the BlueMoon spear-phishing campaign, which exploited a Chrome V8 vulnerability tracked as CVE-2026-85046. The security fix was committed to the public Chromium repository on August 7, but the Chrome Stable channel did not ship the update until September 3, creating a 27-day window of exposure. Attackers reverse-engineered a working exploit directly from the open-source fix commit during that interval, with Proofpoint noting development patterns that suggest possible AI assistance in generating exploit variants. The gap highlights a structural issue in software supply chains, where public repositories receive fixes well before end users receive patched releases due to testing, signing, and rollout schedules. Security experts recommend monitoring security-relevant commits in deployed components rather than waiting for CVE advisories, and favoring fast-channel browser deployments to minimize exposure windows.

0
ProgrammingDEV Community ·

Developer launches multilingual Flutter mental health app with dual AI model support

A developer has released Safe Space, a Flutter-based mental health self-help app available on Android and web, featuring AI chat powered by Google Gemini with Anthropic Claude as a backup if Gemini fails. The app includes mood journaling, CBT-style thought records, breathing exercises, and standardized mental health screenings such as PHQ-9 and GAD-7, with results presented as informational ranges rather than clinical diagnoses. The app supports eight languages — including English, Spanish, Japanese, and Korean — through Flutter's localization system, distributed across Google Play, RuStore, and Amazon stores. Users must complete a consent step before any message is sent to an AI model, and the app explicitly directs users showing crisis signals, such as self-harm responses on PHQ-9, to local emergency services rather than continued AI chat. The developer has publicly clarified that Safe Space is not a licensed therapy service or medical device, and has embedded that disclaimer throughout the app's interface, backend, and public website.

0
ProgrammingDEV Community ·

Python Variables, Data Types, and Input Handling Explained for Data Analysis

A foundational guide to Python for data analysis covers how variables are defined, named, and used to store and reuse data throughout a program. Python supports several data types — including strings, integers, lists, and dictionaries — and a variable can hold only one type at a time. User input can be collected via the input() function, though it stores all data as strings by default. To handle numeric input correctly, developers can use type casting to convert a variable from one data type to another, such as converting a string to an integer using int(). Understanding these core concepts is considered essential before performing any meaningful data analysis in Python.

0
ProgrammingDEV Community ·

How Pandas Simplifies Data Cleaning for Beginners Using a Housing Dataset

Data cleaning is a critical step in data science, as real-world datasets often contain missing values, duplicates, outliers, and inconsistencies that can skew analysis results. The Python library Pandas provides tools to tackle these issues, demonstrated here using a Nairobi housing statistics dataset. Key techniques covered include detecting missing values with isnull().sum(), checking for duplicate rows, and identifying rent outliers using the Interquartile Range method. The tutorial notes that no duplicates were found in the dataset, while missing values in three columns were addressed using median imputation. A key takeaway is that unusual values are not automatically errors and require contextual judgment before removal, highlighting that effective data cleaning demands both technical skill and analytical thinking.

0
ProgrammingHacker News ·

Claude Code adds fallback support for AGENTS.md when Claude.md is absent

Anthropic has updated Claude Code to recognize AGENTS.md as a fallback configuration file when no Claude.md file is present in a project. This change improves interoperability, allowing developers who already use AGENTS.md — a format associated with other AI coding agents — to work with Claude Code without creating a separate configuration file. The update was noted in the official Claude Code changelog. The move reflects a broader trend of AI coding tools accommodating shared or cross-platform configuration standards.

0
ProgrammingDEV Community ·

IoT Botnets Still Exploit Default Credentials, 2026 Notices Reveal Asset Management Gaps

China's National Network and Information Security Notification Centre published a notice in late August 2026 identifying five active cross-border botnet families — Mirai, CondiBot, Gafgyt, TBot, and SoftBot — with command-and-control nodes spread across at least five countries. Analysts note that the attack methods remain unchanged from years past, relying on Telnet and SSH brute-force attacks against factory-default credentials and long-disclosed vulnerabilities. A newer botnet variant called KATARU, analysed by Nozomi Networks in August 2026, follows the same entry path, while the separately flagged Dysphoria botnet adds blockchain-based naming services to resist takedowns. Security experts point to three persistent structural failures: unclear device ownership after installation, short or absent firmware update windows, and management interfaces left open with default credentials. Recommended mitigations are largely administrative — maintaining a full device inventory, changing credentials at deployment, and requiring firmware security maintenance clauses in procurement contracts.

0
ProgrammingDEV Community ·

wardcat: Open-Source On-Premise Data Privacy Tool for LLM and RAG Pipelines

A developer has released wardcat, an open-source Python library on PyPI designed to prevent sensitive data leaks when using large language models and RAG pipelines entirely on-premise. The tool uses a hybrid layered architecture combining Regex, SpaCy NER, and local open-weights LLMs such as Qwen3:14b to detect and anonymize sensitive information with high accuracy. A key feature called reversible masking allows anonymized text to be restored to its original form after LLM processing, while an is_sensitive() function filters prompts through a contextual security check before they are handled. Benchmarks comparing wardcat against Microsoft Presidio show wardcat's LLM layer achieving an F1 score of 0.920 on challenging scenarios and 88% accuracy in sensitivity classification, outperforming Presidio across all tested datasets. The project is publicly available on GitHub and PyPI, and the developer is welcoming contributions and feedback from the community.

0
ProgrammingDEV Community ·

AI speeds up coding, but client delays are the real bottleneck in freelance work

A freelance web developer found that AI tools like Claude Code compressed a five-day build into a single day, yet projects still dragged on for weeks due to delays in receiving client-supplied assets. The real obstacle turned out to be vague, open-ended requests for logos, copy, and hosting credentials that clients struggled to prioritize alongside their regular jobs. The developer discovered that rewriting requests as specific, single-item tasks with clear format examples dramatically improved client response times. Limiting initial requests to only the essentials needed to start work also helped, rather than overwhelming clients with a full checklist upfront. Setting a transparent follow-up schedule from the first message — such as check-ins every Tuesday and Friday — eliminated the awkwardness of reminders and kept projects moving without friction.

0
ProgrammingDEV Community ·

Tencent Open-Sources BrowserSkill to Connect AI Coding Agents to Live Browser Sessions

Tencent has open-sourced BrowserSkill (bsk), a lightweight local tool that bridges AI coding agents such as Claude Code and Cursor to a developer's already authenticated browser. The tool addresses two longstanding problems: headless browsers that fail on login walls and bot-detection, and OS-level automation that hijacks the user's mouse and screen. BrowserSkill uses a three-tier architecture comprising a Rust-based CLI daemon, a Chromium extension for Chrome and Edge, and a dedicated agent window that runs tasks separately from the user's main browsing session. Because the agent inherits the developer's existing cookies and session storage, it can access authenticated services like GitHub, AWS Console, and internal dashboards without requiring fresh credentials or MFA workarounds. The project is aimed at developers building or using autonomous agents for tasks such as UI verification, staging dashboard checks, and repetitive web workflows.

0
ProgrammingDEV Community ·

How Bellman's 1950s Math Laid the Foundation for Modern AI Reinforcement Learning

In the late 1940s and 1950s, mathematician Richard Bellman developed Dynamic Programming at RAND, a framework for making sequential decisions where each choice reshapes future options. His core insight, the Principle of Optimality, established that any optimal path must contain optimal sub-paths, enabling systematic problem-solving without exhaustively listing every possibility. Central to this work was the concept of "value" — a number representing how favorable the future looks from any given state — a key idea missing from earlier learning models like Thorndike's Law of Effect and Shannon's maze-solving mouse. Bellman also identified the "curse of dimensionality," where the number of possible paths grows exponentially with problem size, making brute-force search computationally hopeless. These ideas, combined with Rescorla and Wagner's 1972 finding that learning is driven by prediction error rather than repetition, form the mathematical backbone of modern reinforcement learning.

0
ProgrammingDEV Community ·

How a Tiny Keyword Mismatch Exposed the Limits of AI-Assisted Coding

A software development team working on a hospitality management platform encountered an unexpected authentication failure during the testing phase, despite having completed server-side development. Parts of the authentication code had been written with AI assistance and appeared structurally sound upon initial review. After extensive investigation — including consulting multiple LLM tools — the root cause turned out to be a minor keyword variation that did not match the project's requirements. The small mismatch was enough to break the entire authentication flow, and correcting it resolved the issue immediately. The team used the experience to reflect on the importance of developers deeply understanding a project before relying on AI tools, rather than treating generated code as a substitute for engineering judgment.

0
ProgrammingDEV Community ·

VS Code Extension 'Code Merge' Lets Developers Bundle Files for AI Tools Instantly

A developer has released Code Merge, a free and open-source Visual Studio Code extension designed to streamline sharing code with AI assistants like ChatGPT, Claude, and Copilot. The tool allows users to select multiple files, folders, or specific code snippets and merge them into a single consolidated output. This eliminates the need to manually copy and paste individual files when providing context to AI models. Built with TypeScript and licensed under MIT, the extension is available on the VS Code Marketplace, Open VSX Registry, and GitHub. The developer has invited users to try the extension and share feedback.

0
ProgrammingDEV Community ·

Developer details four production bugs found while shipping a pay-per-call crypto API

A developer building a live pay-per-call scraping API that settles USDC payments on Base documented four bugs that reached or nearly reached production. A missing PyJWT dependency, invisible during local development due to transitive installs, caused all payments through the Coinbase facilitator to fail silently for weeks. A separate issue revealed that smart-contract wallets cannot sign EIP-3009 authorizations required by the x402 payment scheme, making wallet type verification a necessary pre-check. A Firestore transaction bug caused debit writes to never actually commit, yet the function returned success every time, exposing a flaw in a mock that modelled an assumed API rather than the real one. The post emphasizes that the fixes were structural — including better dependency tests, wallet-type checks, proof-of-control verification, and corrected transaction fakes — rather than relying on developer discipline alone.

0
ProgrammingDEV Community ·

Millions of DevOps and Database Platforms Found Exposed on Public Internet

A ZoomEye internet scan conducted on September 19, 2026, identified millions of internal development and data platforms publicly accessible online, including over 1.3 million GitLab instances and 680,000 MongoDB deployments. The review was prompted by a critical authentication bypass vulnerability in JFrog Artifactory (CVE-2026-82329, CVSS 9.8), confirmed as actively exploited, which affects default configurations and requires no prior perimeter breach. Although only 1,526 Artifactory instances were detected, security researchers warn that even a small exposed population is sufficient for targeted attackers. The findings highlight a recurring pattern where internal tools are placed on the internet for convenience, inadvertently creating significant security risks. Experts recommend keeping such platforms off the public internet, patching known vulnerabilities promptly, enforcing authentication, and rotating credentials whenever exposure is detected.

← NewerPage 1138 of 3221Older →