SShortSingh.

Programming

0
ProgrammingDEV Community ·

Aggregate queries can expose personal data through differencing attacks, study warns

A technical analysis highlights how AI query layers over sensitive HR data can leak personal information even when individual queries appear anonymized. The core risk lies in 'differencing attacks,' where two separately compliant aggregate queries are subtracted to identify a single individual — for example, revealing that a specific employee is a union member. Under GDPR Article 9, such disclosures of special-category data carry serious legal implications, regardless of whether the output looks like a simple number. A self-hosted tool called Nowl is being piloted to address this by enforcing population-based thresholds rather than query-shape rules, though it acknowledges gaps including no cross-query budget or l-diversity guarantee. The authors stress that true anonymization requires confirming sensitive field classification, anchoring checks to actual population counts, and maintaining audit logs across all queries including rejections.

0
ProgrammingDEV Community ·

How Business Central Integrates With E-Commerce, CRM, and Reporting Tools

Microsoft Dynamics 365 Business Central can be connected to three core business layers — online stores, CRM platforms, and reporting tools — each requiring careful planning around data handoffs. For e-commerce, key data flows include inventory levels, order details, pricing, and shipment tracking between the ERP and the storefront. CRM integrations benefit most when sales reps can view a customer's payment status in real time, helping avoid offering discounts to overdue accounts. Business Central has native connectors for Dynamics 365 Sales, while other CRMs typically rely on APIs or middleware solutions. Experts recommend defining which system holds the authoritative data for each field early on, as two-way syncing of the same field is a common source of conflicts.

0
ProgrammingDEV Community ·

Email API vs SMTP: Why Bounce Handling and Template Ownership Matter More

When building a welcome email system, the choice between an email API and SMTP is less critical than ensuring the backend can check suppression lists before sending and track delivery events reliably. Template ownership is a key architectural decision: keeping email content alongside application logic creates a single, reviewable release unit, while remote provider-managed templates introduce versioning and incident-reconstruction risks. Both transport methods require the application to maintain a stable message ID from send through event ingestion to handle bounces and avoid retrying invalid addresses. Regional routing for US and EU deployments should be treated as configuration, not a reason to duplicate business logic or template versions. Engineers are advised to evaluate transports by their ability to enforce delivery state and correlate events, not by feature lists alone.

0
ProgrammingDEV Community ·

Popular 'Local-Only' CLI Tool Found Executing Hidden Malicious Payload on Import

A GitHub repository called tokentab, which gained over 1,100 stars while trending in mid-September 2026, falsely claimed to run entirely offline with no data leaving the user's machine. Its setup.py contained a hardcoded remote IP address and secretly fetched and executed an in-memory module called manual_mapper.py at import time — before any user interaction. A later commit obfuscated the malicious code using XOR-encoded byte arrays, HMAC-SHA256 decryption, and zlib decompression, eliminating the need for a network call by shipping the payload inline. The attack is particularly dangerous on developer machines running AI coding agents, which typically store API keys, cloud credentials, and git tokens in local environment files. The incident highlights the risk of installing trending open-source tools without auditing the full source, especially the final lines of setup and CLI files where execution triggers are often buried.

0
ProgrammingDEV Community ·

GoFr Framework Cuts Boilerplate for Production-Ready Go Microservices

GoFr is an opinionated Go framework built to simplify microservice development by bundling observability tools such as structured logging, OpenTelemetry tracing, and Prometheus metrics out of the box. The framework offers native datasource health checks for SQL, NoSQL, and key-value stores, along with standardized REST routing conventions. A notable feature is its zero-downtime reconfiguration capability, allowing developers to adjust log levels at runtime without restarting services. Developers can set up a basic REST API with GoFr in just a few steps, with the server running on port 8000 by default. The open-source project is available at github.com/gofr-dev/gofr, with documentation hosted at gofr.dev.

0
ProgrammingDEV Community ·

Why AI Coding Fails Without Written Contracts: Lessons from Real Breakages

AI coding assistants execute instructions literally, without questioning intent or recalling past context, which means ambiguous or unwritten agreements between system components can silently cause failures. A real-world case from a project called TradeOMS illustrates this: a single backend JSON field rename — never documented — broke 19 test files and the frontend UI simultaneously, because the response contract existed only as a chat conversation. A follow-up scan of 218 frontend API call sites uncovered 22 backend endpoints returning HTTP 500 errors, all stemming from undocumented interface drift that no human or AI had flagged. Unlike human engineers, AI models carry no memory between sessions and cannot recognize that a change conflicts with a prior agreement they were never shown. The core argument is that written, machine-readable contracts — not chat history or verbal agreements — are the only reliable way to keep AI-assisted development aligned with actual system intent.

0
ProgrammingDEV Community ·

How One Team Built a Release Gate for Expo Router and Cloudflare Worker Apps

A development team has published a detailed breakdown of the release-validation process used for a starter package combining Expo Router and a Cloudflare Worker built with Hono. The gate checks include deterministic module generation across all valid combinations, 37 behavior tests covering authentication, file handling, and webhooks, and strict SSRF protections via an operator allowlist that rejects non-HTTPS URLs, IP literals, and redirects. Private file storage on R2 is enforced through authenticated Worker routes, with tests confirming that unauthenticated and cross-session reads both fail. A final audit of the repository root, generated Worker, and Expo app found zero high or critical vulnerabilities, with 13 moderate findings limited to the app layer.

0
ProgrammingDEV Community ·

US Bill to Criminalize Advanced AI Development Sparks Open-Source Backlash

Senators Bernie Sanders and Representative Greg Casar have introduced the Ban Artificial Superintelligence Act, which would impose a federal pause on advanced AI development and carry penalties of up to 20 years in prison for individuals and forced dissolution for companies that violate it. Critics argue the bill's broad definition of 'artificial superintelligence' could inadvertently criminalize routine open-source research and hobbyist activity on consumer hardware. Tech communities and developers warn the legislation risks regulatory capture, where only large, well-funded corporations can afford compliance, effectively shutting out independent developers and open-source competitors. Opponents also contend that halting frontier AI research could weaken cybersecurity defenses at a time when threats like API hijacking are already escalating. The debate reflects a wider tension between government efforts to manage AI risks and the technical community's push to keep AI development open and decentralized.

0
ProgrammingDEV Community ·

Six-Asset Test Framework to Evaluate AI Art Tools for Game Development

A practical evaluation method for AI game art generators proposes testing outputs across six asset categories: characters, props, UI elements, maps, visual effects, and tilesets. Each category has distinct failure modes — for example, a character image may look polished yet still crop limbs, while a UI panel may appear decorative but lack nine-slice compatibility or localization space. The framework emphasizes testing assets under real production conditions, such as importing tilesets into a game engine or resizing icons to small UI slots, rather than judging them at full-screen zoom. A consistent style contract covering palette, camera angle, scale, and output format is recommended across all prompts to keep projects coherent and make failures easier to diagnose. The core principle is shifting the evaluation question from whether a generator can produce an attractive image to whether it can deliver predictable, pipeline-ready assets.

0
ProgrammingDEV Community ·

Developer deletes 3,800 lines of legacy p2p code to streamline open source stack

Developer Yash spent the week overhauling two open source peer-to-peer networking projects, removing nearly 4,000 lines of legacy code while adding only around 160. The main effort targeted minip2p, a Rust-based p2p stack, where the outdated Floodsub pubsub protocol was fully removed across 53 files in favour of the more efficient Gossipsub standard. The change, spread across three commits and merged via a single pull request, eliminates the need for users to choose between pubsub routers and significantly reduces technical debt. On the Python side, a separate fix was landed in py-libp2p to properly clean up child subprocesses after tests, resolving flaky CI failures caused by lingering zombie processes. A third pull request addressing durable file upload sessions for a storage layer remains open and under review.

0
ProgrammingDEV Community ·

Auth0 Hono SDK Lets Developers Add Authentication in Five Lines of Code

Auth0 software developer Tushar Pandey has demonstrated how to integrate authentication into Hono web applications using the official Auth0 Hono SDK. The SDK reduces complex custom auth logic to just five lines of code, covering login, callback, and logout routing via middleware. Developers can protect specific routes using the requiresAuth middleware and restrict access by user roles through the claimEquals utility. The solution works across multiple runtimes including Cloudflare Workers, Vercel Edge, Node.js, Bun, and Deno. The SDK is available on npm, with the source code published on GitHub alongside a free Auth0 account option for developers.

0
ProgrammingDEV Community ·

Her AI Studio Teaches Teen Girls AI Skills While Confronting Its Real Risks

Her AI Studio is a new initiative designed to teach high school-aged girls about artificial intelligence in a safe, women-led environment using locally-run hardware and small AI models. The program uses physical "cyberdeck" kits to give students hands-on experience while keeping data within a controlled, private setting. Founders acknowledge widespread public skepticism toward AI, particularly among Gen Z, and plan to address concerns around data privacy, environmental impact, deepfakes, copyright, and AI's effect on education directly within the curriculum. The studio was created in response to a perceived gap in AI development spaces for women, aiming to ensure female voices shape the technology's future. Organizers say they are actively listening to community feedback, including removing AI-generated imagery from their site after criticism from prospective youth board applicants.

0
ProgrammingDEV Community ·

How to Build a Production-Ready MCP Server for Django Apps

The Model Context Protocol (MCP) has rapidly gained traction among AI-focused development teams as a standardised way to expose application capabilities to AI clients like Claude or custom agents. Developers at one firm spent several months integrating MCP servers into real-world Django codebases, documenting practical decisions rather than beginner tutorials. The MCP server runs as a standalone Python process that imports Django models and services, using the official MCP Python SDK with JSON-RPC over stdio or HTTP/SSE transport. Crucially, MCP handles only the protocol layer — security, access control, rate limiting, and business logic must still be implemented separately by the development team. The approach offers the most value to teams building multiple agents or wanting internal tools to work seamlessly with off-the-shelf AI clients through a single, unified server.

0
ProgrammingDEV Community ·

Modern Browsers Can Replace Backends for Many Common Developer Tools

A growing number of web tools — including image compressors, JSON formatters, CSV utilities, and PDF editors — can be built entirely within the browser without any server or backend infrastructure. Modern browser APIs such as the Canvas API, File API, WebAssembly, and IndexedDB give developers powerful capabilities to process and store data locally on a user's device. This approach can result in faster performance, lower infrastructure costs, and stronger user privacy, since sensitive data never leaves the client. Developers are encouraged to ask whether their app's data truly needs to leave the browser before defaulting to a backend architecture. While backends remain necessary for shared data, user authentication, payments, and device syncing, many single-user utility tools do not require one at all.

0
ProgrammingDEV Community ·

How to Write a CLAUDE.md or AGENTS.md File That AI Coding Agents Actually Follow

Developers using CLAUDE.md or AGENTS.md files to guide AI coding agents often find the agents ignore their instructions, typically because the files rely on vague prose rather than concrete examples. A structured template published on DEV Community argues that replacing adjectives like 'clean code' with actual code blocks showing preferred and avoided patterns is the single most effective change a developer can make. The recommended template includes six sections: a metadata header, project context, coding conventions, testing requirements, a do-not-touch list, and a command reference. Specific details such as stack choices, architectural constraints, and named code patterns help models match behavior to real project requirements rather than defaulting to generic training data. The author emphasizes keeping conventions to three to five high-value rules to prevent the file from becoming outdated or ignored over time.

0
ProgrammingDEV Community ·

IISc Bengaluru Unveils BHEEM, a Flat-Pack Lunar Habitat Twice the Size of the ISS

Researchers at the Indian Institute of Science (IISc) Bengaluru have proposed a modular space habitat concept called BHEEM, designed to assemble 2,130 cubic metres of living space from just 422 flat panels — more than double the pressurised volume of the International Space Station. The concept is co-authored by Indian astronaut Group Captain Shubhanshu Shukla alongside researchers Mritunjay Baruah, Amogh Jadhav, and Bimalendu Mahapatra. BHEEM is designed to ship as a flat-packed kit fitting within a single Starship-class payload bay, with modules assembled on-site and each carrying independent life-support capability. The reference layout is intended to house a crew of 16 for missions exceeding six months, with scope for staged expansion into labs, a greenhouse, and medical facilities. The authors acknowledge it remains an early-stage architectural concept, with critical challenges such as radiation shielding, pressure sealing, and full-scale testing yet to be resolved.

0
ProgrammingDEV Community ·

1,186 Jev Repositories Analysed: What Developers Are Actually Building

A developer surveyed nine Jev directory READMEs to map the ecosystem, collecting 1,186 unique repository addresses after removing duplicates and directory listings. The repositories span experiments, libraries, integrations, and alternative implementations, not just finished applications. Only three repositories appeared across all nine lists, highlighting how much directory choice shapes visibility. Category analysis of one directory showed that tooling, integrations, and frameworks form the largest group at 25%, followed by task-routing and memory management at 20%. Browser control and computer automation also featured, though browser demos represent just a fraction of the broader Jev development landscape.

0
ProgrammingDEV Community ·

Z.ai Releases GLM-5.3-Flash: 320B Open-Weight Model Active on Just 18B Parameters

Z.ai launched GLM-5.3-Flash on August 26, 2026, a 320-billion-parameter Mixture-of-Experts model that activates only 18 billion parameters per token, significantly reducing compute costs. The model supports a one-million-token context window and natively handles text, images, video, and files within a single request. It uses a hybrid sparse and linear attention system that Z.ai claims delivers 3x less attention computation and a 4.4x smaller KV cache compared to the full GLM-5.3. Released under the MIT license with weights available on Hugging Face, it was notably served on Chinese-made AI chips rather than Nvidia hardware. Prior to its official announcement, the model was tested anonymously under the codename ox-alpha on OpenRouter and OpenCode, where it became the most-used model of that week before its origin was revealed.

0
ProgrammingDEV Community ·

Bengaluru Startup Aspera Unveils Autonomous Amphibious Cargo Plane Targeting Sub-$1 Freight Costs

Aspera Industries, a Bengaluru startup founded in June 2025 by CEO Khushi Mittal, has unveiled Eureka, a pilotless amphibious cargo aircraft designed to carry 1,000 kg over 2,000 km using rivers, lakes, and coastlines as runways. The aircraft uses retractable hydrofoils instead of a traditional seaplane hull to reduce aerodynamic drag during flight. Aspera targets an operating cost below $1 per tonne-kilometre on its first aircraft, dropping to under 50 cents at fleet scale — though these remain company goals rather than demonstrated figures. Initial target markets include New Zealand, Australia, and Southeast Asia, with India planned for a later phase. A subscale prototype has reportedly completed a test flight, but full certification and commercial fleet economics remain ahead for the startup.

← NewerPage 1078 of 3216Older →