SShortSingh.

Programming

0
ProgrammingDEV Community ·

Plugin.Maui.SmartUpload 1.0.7 Adds Resumable Chunked Uploads for .NET MAUI

Plugin.Maui.SmartUpload version 1.0.7, now available on NuGet, is a chunked file upload library for .NET MAUI that enables resumable uploads across Android, iOS, Mac Catalyst, and Windows. The plugin splits files into slices and writes each acknowledged offset to disk, so if a process crashes or is interrupted, the next attempt resumes from where the server left off rather than restarting from scratch. Version 1.0.7 extends support to Mac Catalyst and Windows target frameworks, which were not included in earlier releases. The library supports three upload protocols — Content-Range (default), tus 1.0, and a custom IUploadProtocol interface — and is configurable via options such as chunk size, retry policy, and concurrent upload limits. The project is MIT licensed, hosted on GitHub under nuvyntralabs, and targets .NET 10 platform frameworks.

0
ProgrammingDEV Community ·

Distributed Locks, Outbox and Inbox Patterns: Solving Consistency in Distributed Systems

Distributed systems can behave correctly within each individual component yet still produce incorrect outcomes across components, because separate services do not share a common transaction boundary. Failures most often occur in the gaps between independently operating components rather than within any single component itself. Distributed locking addresses concurrent ownership of shared resources, ensuring only one service instance acts on a shared resource at a given time, though it cannot physically halt a stalled process from continuing after a lock expires. The Outbox pattern bridges the gap between a committed database transaction and reliable delivery to asynchronous messaging systems like Kafka or RabbitMQ, while the Inbox pattern ensures incoming messages are processed exactly once within a transactional business context. Understanding which consistency boundary needs protection — rather than simply categorising patterns by component type — is the key to selecting the right coordination mechanism.

0
ProgrammingDEV Community ·

How to Fix Common WordPress Performance Bottlenecks Without Heavy Plugins

WordPress sites frequently score poorly on Google PageSpeed and Lighthouse audits due to fundamental theme-level inefficiencies rather than a lack of caching plugins. A common culprit is Gutenberg block scripts leaking editor dependencies like React and Lodash to the frontend, adding over 1.5–2 MB of unnecessary JavaScript for regular visitors. Using PHP's time() function as an asset version string prevents browsers and CDNs from ever caching stylesheets or scripts, since the URL changes on every page load. Other widespread issues include render-blocking Google Fonts loaded via CSS @import, synchronous jQuery blocking the critical rendering path, and plugin assets loading on every page regardless of whether they are needed. Addressing these bottlenecks through lean dependency declarations, static versioning, deferred script loading, and conditional asset enqueuing can significantly improve site speed without adding more plugins.

0
ProgrammingHacker News ·

Meta removes critical video about its AI glasses filmed at a Meta facility

Meta reportedly took down a video that was critical of its AI-enabled smart glasses. The video is said to have been filmed at a Meta location, raising questions about the circumstances of its removal. The takedown has drawn attention on social platforms including Reddit and Hacker News. Critics have questioned whether Meta used its platform authority to suppress unfavorable coverage of its own product. The incident highlights ongoing concerns about large tech companies controlling content that scrutinizes their own offerings.

0
ProgrammingDEV Community ·

Auto Routing Platforms Can Cut AI Inference Costs by 80% While Preserving Quality

Auto routing platforms act as middleware that directs incoming AI prompts to the most suitable large language model based on cost, complexity, latency, or provider availability. Research from UC Berkeley and LMSYS shows intelligent routing can reduce inference spending by over 80% while maintaining more than 95% of frontier-model output quality. By reserving expensive top-tier models only for complex tasks like multi-step reasoning, teams can cut token costs by 40–85% without degrading user experience. These platforms also improve reliability by automatically rerouting requests to backup models when a primary provider faces rate limits or outages. A 2026 comparative review identifies Bifrost, an open-source AI gateway built in Go, as the leading production-grade option, adding just 11 microseconds of overhead at 5,000 requests per second.

0
ProgrammingDEV Community ·

Structured Prompt Layering Can Fix Camera and Subject Failures in AI Video Generation

Generative video models frequently fail when camera motion and character action are described together in unstructured prompts, causing subject deformation and background distortion. A technical guide published on DEV Community identifies three core failure modes: vector bleed, spatial drift, and texture decay, all stemming from how temporal attention layers process mixed instructions. The proposed solution is a four-layer prompt architecture that separates subject identity, physical movement, camera rig parameters, and environmental lighting into distinct segments. Explicit optical tags such as focal length and aperture values help anchor the model's spatial reasoning across frames. The guide also maps common cinematic shot types to specific prompt keyphrases and their associated failure risks for practical reference.

0
ProgrammingDEV Community ·

Small AI Model Picks Correct Tool 19 in 20 Times Regardless of Phrasing

A two-stage evaluation of AI tool selection found that a small, low-cost model (gpt-5.4-mini) achieved 90–97% accuracy when choosing the correct tool from a shortlist of five, across varying description styles and request phrasings. The test used forced shortlists containing the correct tool alongside its four closest BM25 competitors, ensuring the model had to interpret verb semantics rather than rely on simple topic matching. Unlike the earlier recall stage — where paraphrased requests caused failure rates as high as 5% — selection accuracy remained consistently high even when users paraphrased requests into synonyms. Argument-filling accuracy was slightly lower at 87–97% under lenient scoring, but description verbosity had no meaningful impact on selection performance. The findings suggest that retrieval quality, not model judgment, is the primary bottleneck in end-to-end tool-calling pipelines.

0
ProgrammingDEV Community ·

How to Design Batch Operations That Survive Partial Failures Gracefully

A conceptual design exercise explores how bulk-move actions in collection apps should handle partial failures transparently rather than showing vague error messages. The proposed approach assigns each item in a batch its own trackable state — such as pending, succeeded, conflict, or failed — so users can see exactly which records were moved and which need attention. Each batch operation receives a durable ID, allowing clients to retrieve its status even after a network interruption or page refresh. To prevent duplicate effects on retry, every item action is given a unique identity tied to the operation and edition ID, ensuring repeated requests return the same result rather than triggering another move. The design also addresses concurrent edits by comparing record versions before applying changes, surfacing conflicts instead of silently overwriting newer data.

0
ProgrammingDEV Community ·

RemoteMac: Open-Source App Lets You Control Your Mac Remotely via iPhone

A developer has built RemoteMac, an open-source application that enables remote control of a Mac from an iPhone over any internet connection, not just a shared Wi-Fi network. The app uses a peer-to-peer architecture powered by WebRTC, transmitting screen data and keystrokes directly between devices while a signaling server handles only discovery. Key features include live screen streaming, a remote terminal, clipboard sync, and voice input. The signaling server runs on free hosting by default but can also be self-hosted with a single command. The project is in early stages, and the developer is seeking feedback and contributions from the Swift, React Native, and iOS/macOS developer community on GitHub.

0
ProgrammingDEV Community ·

Kubernetes Architecture: How Control Plane and Worker Nodes Power Container Orchestration

Kubernetes is an open-source container orchestration platform designed to automate the deployment, scaling, and management of containerized applications across multiple servers. A Kubernetes cluster is divided into two main parts: the Control Plane, which handles scheduling, scaling, and cluster decision-making, and Worker Nodes, which run the actual application workloads. Worker Nodes consist of key components including Pods, Kubelet, Kube-Proxy, and a Container Runtime, each serving a distinct role in managing and routing containerized workloads. The Control Plane is made up of the API Server, Scheduler, Controller Manager, and etcd, collectively acting as the cluster's central management layer. Kubernetes addresses the complexity of managing large-scale container deployments by offering features such as auto-scaling, self-healing, and high availability.

0
ProgrammingDEV Community ·

Dev Outlines Strict Signal Contract for 5-Minute TWAP Binary Market Bot

A developer has published a technical framework for a prediction bot designed to trade 5-minute TWAP-settled binary markets on Polymarket. The system defines a strict signal contract where the model's sole objective is estimating the probability that the official end-of-slot TWAP finishes above a frozen slot-open reference price. Inputs such as order book depth, CEX mid-prices, and existing position data are explicitly excluded from the signal to prevent hold-bias and momentum misuse. The engine separates the signal function, which estimates fair probability, from the execution function, which determines whether the market is offering sufficient edge to justify a trade. Time-awareness is built into the contract, with entry rules tightening as the 300-second slot progresses and a hard cutoff after which no new positions are opened.

0
ProgrammingDEV Community ·

Underpeaks Tool Generates Flutter, Next.js Apps and REST API From a Single Schema

A solo developer has launched Underpeaks, a code generation tool designed to eliminate the repetitive work of building separate mobile and web backends from the same data model. Users define their schema once in a console, and the tool produces a full Flutter app, a Next.js app, a REST API, and an optional admin dashboard with analytics. The generated code supports multiple state management libraries and is compatible with five database adapters, including Supabase, PostgreSQL, MySQL, MongoDB, and Firebase. Underpeaks Core is free, open-source, and self-hosted, while Underpeaks Studio offers a managed cloud alternative. The project launched on Product Hunt and the developer is actively seeking community feedback.

0
ProgrammingDEV Community ·

Nine Enterprise AI Gateways Evaluated for SSO, RBAC, and Audit Log Compliance

As AI workloads scale from prototypes to critical infrastructure, organizations face governance risks including hardcoded API keys, uncontrolled model spending, and poor audit visibility. Enterprise AI gateways address these risks by centralizing identity management, enforcing role-based access control, and maintaining immutable compliance logs. Key capabilities include integration with corporate identity providers via OAuth 2.0 and OIDC, SCIM-based directory sync for automatic access revocation, and detailed audit trails meeting standards like SOC 2, HIPAA, and ISO 27001. Open-source gateway Bifrost, built in Go by Maxim AI, topped the rankings by offering sub-millisecond overhead, native OIDC support, and fine-grained access controls. Legacy reverse proxies and cloud edge solutions remain secondary options but often introduce compliance or synchronization challenges.

0
ProgrammingDEV Community ·

Why Converting Word Docs to HTML Never Looks Exactly the Same

A developer tested a hand-crafted DOCX file — containing tables, footnotes, images, and WordArt — through a browser-based conversion tool to understand why Word documents do not translate cleanly to HTML. The core reason is structural: DOCX stores reflow parameters rather than fixed page coordinates, meaning the final layout must be recalculated using fonts and metrics on the reader's machine. Testing revealed three clear defects — incorrect page counts, a missing WordArt title rendering as an empty placeholder, and vanishing embedded OLE objects. By contrast, PPTX files use absolute coordinates and fixed canvas sizes, making them more reliably portable across formats. The developer's takeaway is a practical rule: fixed-layout formats convert into fixed layout, while reflowable formats like DOCX can only ever produce an approximation.

0
ProgrammingDEV Community ·

AI Fraud Detection Agent Uses Graph Database to Investigate 20 Real Cases

A fraud investigation agent built for a hackathon uses TigerGraph alongside Google's Gemini model to analyze transaction data, device activity, and cardholder behavior through graph traversal rather than simple prompts. The system checks flagged transactions against ten coded bank policy rules and five documented fraud patterns, assigning a fraud probability before recommending actions with defined approval routes. When evidence is insufficient, the agent requests additional input — such as customer validation or analyst review — before reassessing its decision. All case findings, including suspicious activity reports and before-and-after recommendations, are written back into the graph, forming a persistent memory for future investigations. The agent was tested against 20 benchmark cases and results are viewable through a live Streamlit dashboard without any setup required.

0
ProgrammingDEV Community ·

Developer Builds Free MCP Server to Connect Claude with Perplexity Pro Search

A developer has released perplexity-pro-mcp, an open-source MCP server that connects Anthropic's Claude AI to Perplexity Pro's real-time web search without incurring additional API fees. The tool works by routing queries through a user's existing Perplexity Pro session credentials, bypassing the per-call costs of alternatives like Tavily or Serper. It supports four core tools including real-time search, multi-turn follow-ups, session management, and report export, along with specialized focus modes for academic, Reddit, and YouTube sources. Users can integrate it into Claude Desktop or Claude Code via a simple configuration file using their Perplexity session cookie. The project is available on GitHub and aims to reduce AI hallucinations on recent topics by grounding Claude's responses in live, cited search results.

0
ProgrammingHacker News ·

Microsoft Abandons Effort to Ban Internal Use of Nickname 'Microslop'

Microsoft attempted to prohibit employees from using the derogatory nickname 'Microslop' within the company, according to a report published in September 2026. The initiative appears to have been in place for roughly six months before the company quietly dropped it. The effort was reportedly unsuccessful, suggesting the informal term remained in circulation despite the policy. Microsoft has not publicly commented on why the ban was lifted or what prompted the original restriction.

0
ProgrammingDEV Community ·

Publora Lists on Claude Connector Directory After Month-Long Build and Portal Glitches

The team behind Publora successfully submitted their product to Anthropic's official Claude connectors directory, with the submission form itself taking only about fifteen minutes to complete. However, the process was preceded by roughly six weeks of preparation, including reviewing thirteen pages of documentation, testing the server against fifteen requirements, and manually running eighteen tools in production. After hitting publish, the portal immediately showed a 'live' status, but the public listing page returned a 'connector does not exist' error for several hours before resolving on its own. The team also encountered several other discrepancies, including the portal incorrectly flagging the server as requiring no authentication, four mismatches between the official documentation and the actual submission form, and all eighteen tools being flagged as missing titles despite having them. The author shared these issues publicly to help other developers avoid the same time-consuming pitfalls when submitting their own connectors.

0
ProgrammingDEV Community ·

Polars 2.0 parses 1M dates 25x faster than lru_cache in Mac mini benchmark

A hands-on benchmark run on a Mac mini M4 Pro with Python 3.14 compared three approaches to parsing one million date strings: a plain script, an lru_cache trick, and Polars 2.0.0-rc.1. The cache method delivered roughly 3x speedup over the baseline but only when input dates repeated, and was actually 6% slower than doing nothing on fully unique inputs. Polars 2.0 completed the same task in 0.13 seconds end-to-end — about 25 times faster than the cached version — regardless of whether dates repeated. A separate re-run of the uv package installer at version 0.12.11 showed it remains around 6-7x faster than pip, with only a 4% improvement over the previous 0.11.6 version. The author notes Polars 2.0 is still a release candidate and recommends rechecking results once the final version ships.

0
ProgrammingDEV Community ·

hi3d-cli Lets Developers Generate 3D Models From Terminal Using AI API

A new open-source command-line tool called hi3d-cli enables developers to generate textured 3D models directly from the terminal without manual downloads from web dashboards. The zero-dependency tool connects to the Hi3D API and supports multiple output formats including GLB, OBJ, STL, FBX, and USDZ, covering use cases from web apps to 3D printing. Setup takes under a minute via npx, with an interactive wizard storing API credentials locally. The tool also integrates with Claude Code as an agent skill, allowing automated 3D asset generation within existing development workflows. The package is available on both GitHub and NPM under the handle hi3d-cli.

← NewerPage 966 of 3189Older →