SShortSingh.

Programming

0
ProgrammingDEV Community ·

MCP Protocol Sparks Developer Debate Over Token Costs and Context Bloat

A blog post titled 'Why MCP Was Always a Bad Idea' has reignited debate over the Model Context Protocol, arguing it was designed for 2024-era AI models and imposes unnecessary token costs and context bloat. The post gained traction on Hacker News, attracting around 165 upvotes and over 100 comments within roughly 13 hours, while also drawing divided reactions on X. Critics contend that MCP tool definitions, schemas, and server handshakes consume valuable context on every call, driving up costs without proportional benefit. Defenders counter that MCP's explicit tool boundaries offer meaningful sandboxing and auditability advantages, particularly for agents without full system access. The core disagreement is not whether the protocol works, but whether its overhead is justified given how modern AI agents are actually deployed.

0
ProgrammingDEV Community ·

AI Agent Chat Worked But Memory Retrieval Silently Failed Due to Docker Misconfiguration

A developer investigating a Docker-based AI agent deployment discovered that while chat functioned normally, active memory retrieval was silently failing with timeouts. The root cause was a misconfigured URL: when the required gateway address was absent, the system fell back to a container-internal IP address that the client's tool execution environment could not reach. Passive memory injection continued to work, meaning the assistant still appeared knowledgeable, masking the underlying retrieval failure from the user. The assistant silently fell back to local file reads and searches without surfacing any visible tool error. The issue was traced to a missing configuration field already documented for multi-node deployments, making it a deployment mistake rather than an upstream software bug.

0
ProgrammingDEV Community ·

Developer Finds AI Draft Fails to Preserve Project Context Across Sessions

A developer working on a multi-part series about TencentDB Agent Memory integration found that an AI-generated draft, while topically accurate, failed to reflect the accumulated context and personal experience built across four prior posts. The draft correctly covered memory systems concepts but substituted the structure of a reference article for the author's own research narrative, effectively erasing earlier work. The incident prompted the author to articulate a more precise requirement: an AI assistant must distinguish between firsthand debugging experience, official documentation, and external references when continuing a project. This is especially critical during session or agent handoffs, where continuity of project history — not just topic familiarity — determines whether work can meaningfully proceed. The author clarifies the finding was not a benchmarked comparison of memory products, but a real-world prompt that exposed a gap in how AI tools carry forward accumulated project context.

0
ProgrammingDEV Community ·

Check Point Harmony Endpoint: How Media Encryption and Port Protection Secures USB Data

Check Point's Harmony Endpoint includes a Media Encryption and Port Protection (ME&PP) module designed to prevent data leakage and malware entry through USB and other removable media ports. The system distinguishes between storage devices, which can hold data and be encrypted, and peripheral devices like keyboards and mice, which cannot. Administrators can configure five write-action modes ranging from full access to complete write blocking, with an option to encrypt only business-related file types such as documents, spreadsheets, and archives while leaving personal files unencrypted. Each management instance is assigned a unique Site UUID, which is embedded on encrypted devices so that only trusted sites can unlock them, preventing access on unmanaged machines. An offline Explorer Utility can also be placed on the device to allow password-based access to encrypted data when no managed endpoint is available.

0
ProgrammingDEV Community ·

Developer uses GraalVM Advanced Obfuscation to protect IP in open-source Quarkus platform

A developer building Backbone, a SaaS platform bootstrap, has documented how to use GraalVM 25's Advanced Obfuscation (AO) feature to distribute runnable Quarkus services publicly without exposing proprietary source code. AO replaces meaningful class, method, and package names with opaque symbols in native binaries, raising the bar beyond simply shipping a JAR file whose bytecode can be easily inspected. The developer open-sourced a Backbone Community edition intended for local development, while keeping core service implementations closed behind a commercial licence. Getting AO to work with a CDI-heavy Quarkus stack proved non-trivial, as the native build initially crashed with a partially obfuscated stack trace inside SmallRye Fault Tolerance. The developer noted that AO is experimental, Oracle GraalVM-specific, and not a security or DRM solution, but serves as a practical distribution boundary for commercial open-source products.

0
ProgrammingDEV Community ·

AI Code Generation Exposes CI/CD Pipelines as the New Developer Bottleneck

AI coding tools and large language models have dramatically reduced code generation time from hours to minutes, fundamentally changing where delays occur in software development. As a result, traditional CI/CD pipelines — not the act of writing code — have become the primary constraint on team velocity. The bottleneck has shifted from code creation to the verification, testing, and deployment stages that follow it. Engineers and systems architects are now being urged to redesign their DevOps infrastructure to handle the surge in AI-generated code volume. Without these architectural changes, pipelines risk starvation, where the system cannot process code fast enough to keep up with AI output.

0
ProgrammingDEV Community ·

Landlock LSM lets Linux users sandbox apps without root privileges

Landlock is a Linux Security Module introduced in kernel version 5.13 that allows any process to strictly restrict its own access to files and network objects without requiring root privileges. Unlike traditional MAC systems such as SELinux or AppArmor, Landlock uses simple path-based rules rather than complex policies, making it accessible to regular users and developers. Once restrictions are applied to a process, they cannot be expanded or bypassed by child processes, providing strong containment guarantees. The module addresses a longstanding gap in Linux security tooling, where existing sandboxing options either demanded administrator involvement or required significant configuration overhead. Practical use cases include isolating browsers, running untrusted scripts, and protecting sensitive directories like SSH keys from unauthorized access.

0
ProgrammingDEV Community ·

20 Years of SQL Migration Tools Offer Six Design Lessons for NoSQL Migrators

A developer building a NoSQL-to-SQL migration tool in 2026 reviewed decades of design decisions behind established SQL tools like Flyway, Liquibase, and dbmate. Key lessons include using filename-based versioning for predictable execution order and halting all operations on failure rather than silently continuing, to protect production data. The review also highlights the value of writing a human-readable schema file after each migration, keeping the tool deliberately minimal to avoid platform creep, and requiring developers to write their own rollback scripts instead of relying on unsafe automatic undo logic. A final principle separates the migration changelog from the execution engine, ensuring proposed schema changes can be reviewed calmly in a file before any database is touched. The author notes that despite these patterns being open-source and battle-tested, NoSQL migration tools have largely been built from scratch without borrowing them.

0
ProgrammingDEV Community ·

Developer Launches IMFMSynth, a Free Browser-Based 8-Op FM and Wavetable Synthesizer

A developer has released IMFMSynth, an 8-operator FM synthesizer that integrates wavetable oscillators as operators, accessible directly in a web browser without an account. The tool was built to make FM synthesis more approachable for music producers, composers, and arrangers through an intuitive, modern interface. Its patch-based routing system is designed to give users a clearer visual understanding of how modulation works, bridging traditional patching methods with a more transparent workflow. A near-complete version is available for free online, with only preset access and file import/export reserved for registered users. Following the release, music technology outlet Sonicstate interviewed the developer about the project and the background behind it.

0
ProgrammingDEV Community ·

Developer Builds MCP Server to Track AI Quota Resets Across 15+ Products

A solo developer has built Reset Beer, a dashboard that aggregates quota reset signals from over 15 AI products including OpenAI Codex, Claude Pro, and Gemini Advanced. The tool addresses the lack of a unified API for tracking quota resets, which are currently scattered across multiple status pages and occur at unpredictable times. A Model Context Protocol (MCP) server integration allows Pro users to query reset events directly through AI assistants like Claude and Cursor using natural language. The MCP server is built as a Next.js API route implementing JSON-RPC 2.0 and exposes three tools for querying reset events, product status, and tracked product listings. The project is available with a free tier and a one-time $9.99 Pro lifetime plan, and was built using Next.js 15, Neon Postgres, and Vercel.

0
ProgrammingDEV Community ·

FortiGate Central NAT Must Be Configured Before Building Firewall Policies

When migrating firewall policies to FortiGate from Cisco ASA or Palo Alto, administrators must decide between central NAT and per-policy NAT before writing any rules, as FortiOS does not allow switching modes once policies referencing VIPs or IP pools exist. Per-policy NAT is the FortiGate default, but it poorly mirrors the separate NAT table structure used by ASA and PAN-OS, often requiring duplicate translation entries across many policies. Central NAT more closely replicates the source architecture, using a single ordered SNAT and DNAT table independent of firewall allow/deny rules. Attempting to enable central NAT on a box with existing VIP or IP pool references will fail with an error, forcing administrators to dereference every such object before the mode toggle is accepted. Additionally, central NAT changes how destination addresses must be written in policies — rules must reference the internal mapped address rather than the public VIP address, a distinction that can cause hard-to-diagnose failures during cutover.

0
ProgrammingDEV Community ·

rekuiper 0.500 moves metadata to RAM, hits 200k msg/s on single core at edge

The rekuiper project, a Rust-based reimplementation of LF Edge eKuiper for IoT edge gateways, has released version 0.500-beta with a major architectural overhaul. Earlier benchmarks showed the engine handling 100,000 messages per second on a single CPU core, but performance degraded at 200,000 msg/s, leaving the true throughput ceiling unknown. Profiling revealed the bottleneck was disk I/O — specifically SQLite metadata lookups and flash storage stalls on embedded devices like industrial gateways — rather than CPU or parsing logic. To fix this, developers rebuilt the engine's internal catalog as an in-memory structure, hydrating all stream and rule metadata from SQLite once at startup and serving subsequent reads entirely from RAM with no filesystem calls. Hierarchical benchmarking at 1,000 msg/s resolution then allowed the team to identify the exact single-core physical throughput limits across multiple real-world MQTT workloads, reaching up to 200,000 messages per second.

0
ProgrammingDEV Community ·

Developer Builds Zero-Dependency Node.js Tool to Block Secrets Before Git Commits

A developer has released Secret-Scrub, an open-source Node.js CLI tool designed to prevent accidental exposure of API keys and credentials in Git repositories. The tool uses two detection layers: regex-based signature matching for known token formats such as AWS, GitHub, Stripe, and OpenAI keys, and Shannon entropy analysis to catch high-randomness strings without vendor prefixes. It integrates directly as a Git pre-commit hook, automatically blocking any commit that contains a suspected secret before it can be pushed. A staged-only scan mode limits checks to files currently queued for commit, completing the process in under 40 milliseconds to minimise disruption to developer workflows. Secret-Scrub is available on GitHub under the MIT licence and can be installed via a single npx command.

0
ProgrammingDEV Community ·

QuickShare-QR lets developers transfer files to phones via terminal QR codes

A developer has built QuickShare-QR, an open-source Node.js CLI tool that enables instant local file transfers from a computer to a smartphone without cloud services. The tool spins up a temporary HTTP server on the local network, generates a scannable ASCII QR code in the terminal, and begins streaming the file as soon as the phone's camera scans it. Files never leave the local Wi-Fi network, with transfer speeds reaching up to 80 MB/s depending on bandwidth. Security features include path confinement against directory traversal attacks, dynamic ephemeral ports, and optional single-use tokens to restrict download access. The tool requires no permanent installation and can be run directly via npx, with the server automatically shutting down once the transfer completes.

0
ProgrammingHacker News ·

Git Community Eyes Version 2.56 Features and Plans for Major 3.0 Release

The open-source Git version control system has upcoming releases generating discussion in the developer community. Version 2.56 is anticipated to bring incremental improvements to the widely used tool. Beyond that, developers are also looking ahead to a potential Git 3.0, which would mark a significant major release milestone. The topic has been covered by LWN.net and is drawing early commentary from contributors and users. No official release dates have been confirmed at this stage.

0
ProgrammingDEV Community ·

Google Expands Gemini Notebook With Code Execution and Cross-Ecosystem Sync

Google rebranded NotebookLM as Gemini Notebook in July 2026 and announced expanded capabilities including notebook code execution and cross-ecosystem syncing. A separate September 2026 update introduced Notebooks in Gemini as a dedicated workspace for schools and organisations. While Google's Studio materials reference generated artifacts and allow users to select them within the Studio panel, no official documentation confirms a redesign or reorganisation of an artifacts tab. Google has not published a rollout timeline or feature details for any such change, making it premature for teams to plan around it. The confirmed story remains Gemini Notebook's broader evolution into a more connected, cross-ecosystem workspace.

0
ProgrammingDEV Community ·

Developer Builds HashDup, a Memory-Safe Duplicate File Finder CLI in Node.js

A developer has released HashDup, an open-source command-line tool built with native Node.js to find and report duplicate files on a system. The tool addresses two common problems with naive duplicate-detection scripts: wasted CPU and disk I/O from hashing every file, and out-of-memory crashes when loading large files into RAM. HashDup uses a two-phase pipeline that first filters files by size using lightweight metadata checks, discarding unique-sized files before any content is read, then applies chunked SHA-256 streaming hashes only to size-matched candidates. By processing files in 64KB buffers rather than loading them whole, the tool keeps memory usage constant at around 30MB regardless of file size. HashDup is available under the MIT license and can be run immediately via npx from the GitHub repository at github.com/mahdyarmonfared/hashdup-cli.

0
ProgrammingDEV Community ·

Dev.to User Calls Out Surge of AI-Generated Posts on the Platform

A Dev.to community member has voiced frustration over what they describe as a near-total flood of AI-generated content on the developer blogging platform. The user argues that LLM-produced writing is easily identifiable due to its unnatural tone and style. They also criticized the length of many posts, suggesting that ideas worth sharing should be expressible in three to four paragraphs. The comment reflects a broader ongoing debate within online writing communities about authenticity and the growing presence of AI-assisted content.

0
ProgrammingDEV Community ·

CleanDrop: Open-Source Node.js CLI Tool Organizes Downloads Folder Safely

A developer has released CleanDrop, a zero-dependency Node.js command-line utility designed to automatically sort cluttered Downloads folders into categorized subfolders. The tool addresses common risks of ad-hoc scripts by offering a dry-run mode that previews all planned file moves without making any changes to disk. CleanDrop also includes an undo command that reverses a sorting batch using a local history log, and it prevents data loss by renaming duplicate files rather than overwriting them. Built entirely on native Node.js filesystem APIs, it requires no npm dependencies and can be run instantly via npx without a global install. The project is open-source under the MIT license and is available on GitHub at github.com/mahdyarmonfared/cleandrop.

0
ProgrammingDEV Community ·

CVE-2026-17633: Authenticated RCE Flaw Found in Langflow OSS Versions Up to 1.10.3

A high-severity remote code execution vulnerability, tracked as CVE-2026-17633 with a CVSS score of 8.5, has been disclosed in Langflow OSS versions 1.0.0 through 1.10.3. The flaw exists in the POST /api/v1/custom_component endpoint, which allows authenticated users to submit arbitrary Python code when the LANGFLOW_ALLOW_CUSTOM_COMPONENTS setting is enabled. The endpoint's security check only verifies whether a user has permission to create custom components, but never inspects the content of the submitted code for malicious instructions. An attacker can exploit this by placing a system command inside a class body, causing it to execute at class-definition time via an unchecked exec() call in the platform's component-building logic. The vulnerability is classified under CWE-94 (Improper Control of Code Generation) and requires no special encoding or bypass techniques to exploit successfully.

← NewerPage 1034 of 3195Older →