SShortSingh.

Programming

0
ProgrammingDEV Community ·

HPE Juniper Solution Promises 319% ROI by Unifying AI Data Center Networks

Hewlett Packard Enterprise (HPE) is promoting its Juniper AI data center solution as a way to help IT teams transition from fragmented, siloed infrastructure to a unified, open networking platform. The solution targets a core challenge facing organizations scaling AI workloads: reliance on proprietary hardware ecosystems that limit flexibility and drive up costs. Central to the offering is Marvis, a virtual network assistant designed to autonomously detect and resolve network issues, replacing manual troubleshooting processes. HPE claims the platform delivers a 104% improvement in operational speed and a 319% return on investment. The company positions the solution as an end-to-end secure, open Ethernet environment built specifically for the demands of AI training and inference at scale.

0
ProgrammingDEV Community ·

Researchers Run Privacy-Preserving GNN Inference Across Three Microcontrollers

An independent researcher has been exploring whether Graph Neural Networks (GNNs) can perform inference on traffic data across three microcontrollers without any single device ever accessing plaintext inputs, model weights, or intermediate values. The approach uses Replicated Secret Sharing (RSS) in a three-party semi-honest setting, where each data value is split into shares so no individual party can reconstruct the original. A key insight reduces communication overhead: since road intersection topology is public knowledge, the adjacency matrix multiplication requires zero inter-device communication, cutting total rounds from five or more down to three per two-layer GCN. The target hardware is ESP32-S3 microcontrollers, making the system relevant for resource-constrained, real-world deployments. The work addresses a practical privacy concern in multi-agency traffic coordination, where sharing raw sensor data could expose movement patterns or individual vehicle trajectories.

0
ProgrammingDEV Community ·

Researcher Tests If Robot Actions Can Be Predicted From Microcontroller Timing Alone

An independent researcher is investigating whether timing side-channel attacks can reveal the actions of multi-agent reinforcement learning (MARL) policies deployed on edge hardware. The study focuses on an ESP32-S3 microcontroller running small neural network policies, where an attacker measures only inference duration and network packet timing without access to inputs, weights, or activations. Experiments span three environments: a custom cooperative grid navigation task, the classic CartPole benchmark, and the PettingZoo MPE Simple Spread scenario. Policies trained via PPO are exported to TFLite and flashed onto the microcontroller, with a custom pipeline used to collect and quantify timing leakage. The research highlights a potential security risk for edge-deployed autonomous systems such as drones, warehouse robots, and IoT networks, where physical proximity could allow adversaries to exploit such timing signals.

0
ProgrammingDEV Community ·

Developer turns old Android phones into local, subscription-free security cameras

A developer has built a free Android app that repurposes old smartphones into screen-off security cameras with remote viewing capability. The app keeps recordings stored locally on the device, eliminating the need for cloud storage or third-party subscriptions. Users can monitor a live feed from another phone or browser, making it suitable for home spots like porches, garages, or nurseries. The setup requires minimal hardware — just a charger, a stable Wi-Fi connection, and an optional clamp mount. The developer notes limitations such as heat buildup during extended use and variability in camera quality across older devices.

0
ProgrammingDEV Community ·

How 'os' Appears in Just 0.1% of 7.68M Words Without Word-Boundary Grep

A technical analysis published on DEV Community examined token frequency across a corpus of 7.68 million words spanning 2,011 files, scanned on August 9, 2026. The study found that the string 'os' genuinely occurs as a standalone token in only about 0.1% of cases when searched without word boundaries, producing significant noise across roughly 70 relevant tokens. The research draws on OpenAI's GPT-4 Technical Report and a 2026 study called HERALD, which investigated counterfactual audits and citation-laundering in retrieval-based systems. The findings highlight how imprecise grep patterns can skew corpus statistics and mislead downstream analysis. Researchers noted the results are reproducible using a measurement script described alongside the study.

0
ProgrammingDEV Community ·

How JavaScript Manages Memory and How Developers Can Optimize It

JavaScript automatically allocates memory when variables, objects, or functions are created, and uses a garbage collection strategy called mark-and-sweep to free memory that is no longer referenced. Despite this automation, developers can inadvertently cause memory leaks through global variables, uncleaned event listeners, poorly managed closures, and detached DOM elements. Best practices to prevent leaks include using let and const for tight scoping, removing event listeners and clearing intervals when no longer needed, and explicitly setting large objects to null after use. WeakMap and WeakSet are recommended for cases where objects should be garbage-collected once they have no other references. Modern browser tools such as Chrome DevTools' Memory Panel and heap profiling can help developers identify and resolve persistent memory issues in their applications.

0
ProgrammingDEV Community ·

Developer builds free, AI-queryable API for portable power station specs

A developer has launched a free, no-auth API exposing a structured database of 102 portable power stations, including specs, pricing, cycle life, and a transparent scoring formula. The project was motivated by the growing tendency of AI assistants like ChatGPT and Claude to hallucinate product specifications when answering consumer queries. The API offers endpoints for filtering and sorting products, calculating system size based on appliances, and retrieving individual score breakdowns in clean JSON format. A discovery endpoint modeled on the MCP tool manifest standard allows AI agents to find and call the available tools without hardcoded configuration. The dataset is published under a CC-BY-4.0 license on GitHub, while the underlying website uses affiliate links to fund the project.

0
ProgrammingDEV Community ·

Sharepoint daochu test

(async () => { // ---- config ---- const INCLUDE_TEMPLATES = [100]; // add 101 for libraries (metadata only) const SKIP_HIDDEN_LISTS = true; const PAGE_SIZE = 2000; // items per request const SKIP_LIST_TITLES = new Set([ // system lists to never export "User Information List", "Form Templates", "Site Assets", "Site Pages", "Style Library", "Master Page Gallery", "Composed Looks", "Web Part Gallery", "Theme Gallery", "Solution Gallery", "List Template Gallery", "TaxonomyHiddenList", "appdata", "appfiles", "Maintenance Log Library", "Content and Structure Reports", "Reusable Content", "Workflow

0
ProgrammingDEV Community ·

Why defining outcomes beats prompt engineering when using AI coding tools

A software developer argues that most programmers misuse AI coding assistants by relying on one-off prompts rather than structured iteration loops. Drawing on a personal debugging experience where a working API fix was accidentally overwritten due to poor tracking, the author outlines a more effective approach: defining a machine-verifiable success condition and letting the AI iterate until it is met. This method requires four components — a clear exit condition, readable feedback, strict boundaries on what the agent may change, and a maximum attempt budget. The skill shift, the author contends, moves from crafting precise prompts to precisely specifying outcomes. The framework is designed to prevent AI agents from silently making uncontrolled changes while ensuring failed attempts are logged and escalated.

0
ProgrammingHacker News ·

Taylor Farms recalls salsa and guacamole products due to salmonella contamination risk

Taylor Farms has issued a recall of certain salsa and guacamole products due to potential salmonella contamination. The recall was announced in August 2026 and affects products sold under the Taylor Farms brand. Salmonella is a bacterial pathogen that can cause serious illness, particularly in vulnerable populations such as the elderly, young children, and immunocompromised individuals. Consumers who have purchased the affected products are advised to stop consuming them and check for further guidance from the company or health authorities.

0
ProgrammingDEV Community ·

Developer uses local AI model to handle routine sysadmin and language tasks privately

A software developer has shared how they rely on a locally run AI assistant, powered by the Qwen3 35B model, to handle everyday technical tasks such as server troubleshooting, Bash commands, and small scripts. Rather than replacing serious development work, the setup fills a niche for tasks the developer finds tedious but manageable. A key advantage is privacy, as no data leaves the local machine, making it suitable for language learning queries and personal server administration. The developer notes the model does not need to be exceptional — only competent enough that overseeing it is less effort than doing the task manually. The article reflects a broader trend of local AI models becoming practically useful on consumer-grade hardware.

0
ProgrammingDEV Community ·

OpenAI Launches Personalised Health Guidance Feature in ChatGPT for US Users

OpenAI has introduced a dedicated Health experience within ChatGPT, initially available to users in the United States. The feature allows users to ask questions about symptoms, medications, nutrition, and general wellness, drawing on vetted medical sources and adapting responses to individual context. OpenAI has positioned the tool as an information resource rather than a diagnostic aid, with built-in prompts urging users to consult qualified healthcare professionals for clinical matters. The company has not fully disclosed its source list or quality-checking methodology, leaving some transparency questions open. The launch signals OpenAI's broader push into high-stakes, regulated domains, and will face scrutiny from regulators, clinicians, and the wider AI industry.

0
ProgrammingDEV Community ·

Developer shares SharePoint list data import script using REST API

A developer published a JavaScript utility on DEV Community designed to import data into SharePoint lists via the SharePoint REST API. The script allows users to load a JSON export file through a browser file picker and programmatically recreate list items in a target SharePoint site. It includes configurable options such as skipping existing items or clearing lists before import, and handles user resolution through SharePoint's ensureUser endpoint. The tool also manages pagination, request digests, and eventual consistency delays that can occur after list provisioning. The code appears intended as a developer utility for migrating or restoring SharePoint list data between environments.

0
ProgrammingDEV Community ·

Dev refactor cuts 72 near-identical classes to 8 data rows, adds real CVE scanning

A developer working on a private deployment platform made sixteen commits in a single day, tackling a significant architectural refactor and security improvement. A catalogue of 24 managed service types had only four provisioners, meaning requests for services like MongoDB or MinIO were rejected at validation due to missing capabilities. The naive fix would have produced 60 near-identical classes; instead, the developer replaced twelve hand-written provisioners with eight data definitions and three thin adapters, resulting in a net reduction of 63 lines of code. The refactor also surfaced two latent bugs — a tightened readiness probe and a misapplied backend argument — both caught only because existing tests were kept running against the new implementation. Separately, vulnerability scanning was upgraded from a stub to a real CLI-backed scanner that targets only images currently running, not those merely listed in manifests or registries.

0
ProgrammingDEV Community ·

Silent no-op code reported network policies as applied when none were enforced

A software developer discovered that a deployment pipeline had been writing network policy rules to a database table for years, but no code ever read those rows to enforce actual firewall rules on any machine. The pipeline's 'apply network policies' step returned success without doing anything, giving operators a false sense that ingress and egress traffic was being filtered. To fix this, the developer added two explicit methods — enforces() and unavailableReason() — to a firewall interface contract, making capability an explicit, actionable return value rather than a silent assumption. The unenforced driver now throws on apply(), and the deployment step records 'Skipped' with a reason instead of reporting success. As an additional safeguard, unrecognized port exposure values default to binding on loopback, ensuring a configuration typo can never accidentally open a port.

0
ProgrammingDEV Community ·

Developer builds automated bot to track and alert large Polymarket trades in real time

A developer has created WhaleTrack, an automated bot that monitors large trades on Polymarket, the prediction market platform, and sends alerts when bets exceed $10,000. The system polls Polymarket's API every five minutes across known high-volume trader wallets and immediately notifies Telegram subscribers, who receive a 10-minute head start before alerts are posted to Twitter. Tweet cards are generated using Puppeteer, which renders an HTML template into a PNG screenshot uploaded via Twitter's media API. The project is built on Node.js and spans roughly 1,200 lines of code, also incorporating Bullpen CLI, the Telegram Bot API, and Vercel for web hosting. The bot is live at whaletrack.app, and the developer noted a key technical hurdle around Twitter's weighted character limit, which was silently truncating posts before a fix was applied.

0
ProgrammingDEV Community ·

Developer Releases Free Open-Source AI Screen Recorder With Auto-Editing Features

A developer has launched AI Screen Recorder, a free, open-source tool designed to reduce the time content creators spend editing screen recordings. The tool automatically crops active screen regions, adds smart transitions, and highlights mouse clicks without manual intervention. It is cross-platform, supporting Windows, Mac, and Linux, and carries no watermarks or subscription fees. Built over four weeks using React, TypeScript, and Tailwind CSS, it is deployed on Vercel and GitHub Pages at no cost. The project is MIT-licensed and publicly available on GitHub, positioning itself as a free alternative to paid tools like Screen Studio, which charges around $29 per month.

0
ProgrammingDEV Community ·

AI Agents vs. Single Prompts: How to Choose the Right Automation Tool

AI agents and single prompts serve different purposes, and choosing the wrong one can waste time and resources. A single prompt is best suited for one-off questions or tasks whose output goes no further, while an agent is designed to run repeatable, multi-step processes on a schedule with memory. Practical use cases for agents include content pipelines, inbox management, competitor monitoring, and data normalization — tasks that recur and benefit from consistent execution. However, agents are only as reliable as the quality standards built into them; a poorly configured agent can produce flawed results at scale. The core principle is to use a prompt for isolated tasks and build an agent only when the work repeats and consistency delivers measurable value.

← NewerPage 58 of 1145Older →