SShortSingh.

Programming

0
ProgrammingDEV Community ·

Researcher Trains 14 Robot Skills in 5 Days Using One GPU and Queued RL

A developer trained a bipedal robot duck called MicroDuck to perform 14 distinct skills — including walking, skating, kicking, and object picking — using reinforcement learning on a single GPU over approximately five days. The robot uses 15 servos and runs on a 50Hz control loop, with all skills trained via PPO across up to 4,096 parallel simulation environments. Tasks were queued serially to avoid GPU memory conflicts, and completed runs were marked with a checkpoint file to enable automatic retries on failure. A key challenge was out-of-memory crashes on rough-terrain tasks, which were resolved by halving the environment count to 2,048. All 14 trained policies were exported in ONNX format for on-device deployment, with rollout animations used as the primary acceptance test rather than loss curves alone.

0
ProgrammingDEV Community ·

OpenCreative builds model-agnostic layer to unify AI image, video, and voice workflows

A developer has launched OpenCreative, an open-core platform designed to abstract away individual AI model providers across image, video, voice, music, and avatar workflows. The project addresses a common pain point for builders: creative tools tied to a single provider become fragile as the AI landscape shifts every few months. OpenCreative treats AI models as interchangeable infrastructure, letting users focus on their creative workflow rather than choosing a specific provider for each task. The platform supports an open-core model to help users avoid long-term vendor lock-in while maintaining access to advanced controls. The project is in early stages and available at opencreativehq.com, with the developer seeking feedback from teams building across multiple AI providers.

0
ProgrammingDEV Community ·

DEV Trusted Member Outlines 5 Wanted and 3 Unwanted Platform Features

A DEV Trusted Member, drawing on extensive experience in the platform's review queues and comment sections, has outlined eight feature ideas they feel strongly about. Among the five desired additions are one-tap comment translation to support DEV's global writer base, a public post-edit history for greater accountability, and push notifications for active discussion threads. The writer also calls for improved series discoverability, noting that while navigation within a series works well, there is no way to search or browse series by name on the platform. Three other features were flagged as ones the writer hopes are never introduced, though specifics were not fully detailed in the available text.

0
ProgrammingDEV Community ·

Developer Deploys Static Flashcard Website Using Tencent EdgeOne Makers Platform

A developer shared their hands-on experience deploying a self-built flashcard website using Tencent EdgeOne Makers, a cloud deployment platform. The project was a simple single-file web app built with HTML, CSS, and JavaScript, using localStorage to save flashcard data. The developer first pushed the source code to a GitHub repository, then connected it to Tencent EdgeOne Makers to configure and trigger the deployment. Because the site was fully static with no backend or database requirements, the deployment process required minimal configuration. The experience highlighted how platforms like EdgeOne Makers can simplify the deployment workflow for beginners by eliminating the need to manually set up or manage servers.

0
ProgrammingDEV Community ·

OpenAI Backs Frontier AI Pacing and Independent Safety Evaluators

OpenAI CEO Sam Altman publicly endorsed deliberate pacing of frontier AI development on September 12, 2026, aligning with Anthropic CEO Dario Amodei's call to manage the speed of advanced AI progress. Altman also committed to granting independent evaluators employee-level access to OpenAI's frontier work, though operational details such as evaluator identities and review scope have not yet been disclosed. The announcement follows an OpenAI policy paper published September 9, 2026, which addressed safety requirements and industry standards. For businesses using generative AI, no immediate changes to products, pricing, or tools have been announced. The public alignment between two leading AI lab chiefs on safety oversight is notable, though it does not constitute a binding industry rule or regulatory framework.

0
ProgrammingDEV Community ·

How Integrated Wi-Fi and BLE SoCs Simplify Low-Power IoT Device Design

Modern IoT devices increasingly require both Wi-Fi and Bluetooth Low Energy (BLE) connectivity, traditionally handled by separate chips. Integrated Wi-Fi and BLE System-on-Chip (SoC) solutions combine wireless radios, processing, memory, security, and peripherals into a single compact component, reducing hardware complexity. Wi-Fi handles cloud and internet communication, while BLE serves local tasks such as device provisioning via smartphone and sensor interaction. Wi-Fi 6 features like Target Wake Time (TWT) can help extend battery life by coordinating active and sleep periods between devices and access points. Engineers must account for the full system design — including firmware, sensors, and power management — to optimize real-world performance in IoT applications.

0
ProgrammingDEV Community ·

Google Launches Gemini 3.6 Flash Claiming 65% Cost Cut on Long AI Agent Tasks

Google DeepMind has announced Gemini 3.6 Flash, Gemini 3.5 Flash-Lite, and Gemini 3.5 Flash Cyber, with Gemini 3.6 Flash priced at $1.50 per million input tokens and $7.50 per million output tokens via its API. The company claims the new model can reduce token costs by up to 65% on long-horizon engineering tasks, where agents accumulate large amounts of context across many steps. Such tasks grow expensive because models repeatedly process prior conversation history, source files, tool outputs, and instructions with each step. However, the actual savings will vary depending on factors like retry frequency, context-caching usage, and whether the model completes tasks in fewer or more steps than its predecessor. Google also confirmed that a Gemini 3.5 Pro model is forthcoming, intended for more complex reasoning tasks that require a higher compute budget.

0
ProgrammingDEV Community ·

AI Review Site Fixes Internal Linking Gaps That Left Content Isolated

VeyronIQ, a site reviewing AI tools for small businesses, recently completed an internal-link audit and uncovered two major structural problems. Their flagship 3,000-word pillar page had 17 pages pointing to it but linked out to only 2, while an 8-post content series had no internal links connecting it to the rest of the site. To fix the pillar page, the team added a dedicated section linking out to all 11 tactical guides it was meant to anchor. The orphan series was reconnected using sequential previous/next navigation, with the first post then linked from the pillar page. The team noted that a similar audit can be run on WordPress without expensive tools, simply by mapping outbound and inbound links across all published posts.

0
ProgrammingDEV Community ·

How to Optimize MongoDB Aggregation Pipelines for Large-Scale Performance

MongoDB's aggregation framework becomes a performance bottleneck when collections scale to hundreds of millions or billions of documents, especially with poorly structured pipelines. Key issues include placing $match stages too late, unindexed $group and $sort operations, and costly $lookup joins that default to nested loop scans. Critical optimizations involve reordering pipeline stages to filter early, leveraging indexes for streaming operations, and pruning unused fields with $project to reduce memory overhead. MongoDB enforces a 100 MB per-stage memory limit, making index-backed operations and the allowDiskUse option essential for large aggregations. Sharding strategies and continuous profiling further help production teams maintain predictable query performance and resource usage at scale.

0
ProgrammingDEV Community ·

How a Redundant Dynamic Import Causes Silent Deploy Failures After Merging

A runtime error — 'TypeError: __exportAll is not a function' — can crash a deployed application at module load time, before any application code executes. The root cause is an ineffective dynamic import: lazily importing a module that is already statically imported elsewhere in the same bundle, forcing the bundler to generate a namespace helper that ends up misplaced across chunks. Because preview builds process a smaller module graph, the bug goes undetected until the full merged bundle is compiled at deploy time, making it appear only after a merge. The fix is straightforward — replacing the redundant dynamic import with a direct static import eliminates the broken chunk dependency entirely. The broader lesson is that a passing preview build does not guarantee a successful deploy when the final output depends on the complete module graph, and any CI guard should be verified by deliberately triggering it at least once.

0
ProgrammingDEV Community ·

How to Use AI for Cover Letters Without Sounding Like Everyone Else

Career advice on AI-written cover letters typically stops at 'use it as a starting point,' but fails to specify what candidates must add themselves. The core argument is that AI handles structure well but cannot supply the specific numbers, projects, and company-specific reasons that actually persuade recruiters. The real risk of AI-generated letters is not detection — unreliable AI-text detectors are rarely used by hiring teams — but rather sameness, as recruiters easily spot when multiple applications make identical points in identical order. A practical self-test involves highlighting every sentence in a draft that could appear in any other applicant's letter for any other job; a fully AI-generated letter typically comes back almost entirely highlighted. AI is most useful for extracting job-description requirements, reordering existing facts, and cutting filler — as long as the specific, personal details are supplied by the candidate.

0
ProgrammingDEV Community ·

Platform Engineering: How Internal Developer Platforms Are Evolving DevOps

Platform Engineering is an emerging discipline focused on building internal self-service platforms, known as Internal Developer Platforms (IDPs), that cover the full software development lifecycle. Rather than replacing DevOps, it is seen as a natural evolution of DevOps principles, designed to reduce the cognitive load placed on development teams. Under traditional DevOps, developers were increasingly burdened with managing infrastructure tools like Terraform, Kubernetes, CI/CD pipelines, and monitoring systems alongside their core coding work. A dedicated platform team takes ownership of this complex toolchain, offering standardized 'golden paths' that let developers deploy and operate software without reinventing foundational processes. The goal is to maximize Developer Experience (DevEx) and allow engineers to focus on writing quality code and delivering business value.

0
ProgrammingDEV Community ·

OpenRouter Fusion routes hard prompts through a model panel for higher-quality answers

OpenRouter published a Fusion explainer on September 10, 2026, detailing a compound inference system that sends a single prompt to multiple models in parallel before a judge synthesizes a final response. The pipeline runs in four stages: the calling model decides whether to escalate, a panel of one to eight models answers simultaneously, a judge analyses consensus and contradictions, and the calling model produces the final output. Fusion differs from auto-routing, which selects just one model, by forcing a structured comparison across multiple reasoning paths before synthesis. The trade-off is significant — a default three-model panel costs roughly four to five times more and takes two to three times longer than a single completion, making it unsuitable for chat or real-time interactive use. OpenRouter recommends encoding escalation rules in version-controlled configuration rather than leaving such decisions to ad-hoc agent behaviour at runtime.

0
ProgrammingDEV Community ·

Developer Ditches Embedding APIs for Free Local CPU Solution Using FastEmbed

A developer building a Retrieval-Augmented Generation (RAG) side project abandoned it after finding the reliance on paid third-party embedding APIs — first Gemini, then Mistral — impractical for personal learning. Returning to the project months later, he discovered FastEmbed, a lightweight library that generates text embeddings locally on a standard CPU without requiring a GPU or heavy dependencies. He adopted the BAAI/bge-small-en-v1.5 model running on ONNX Runtime, which handled the workload on his ordinary laptop without performance issues. The revised architecture also dropped the assumed need for a dedicated vector database, instead using plain Python data structures and NumPy cosine similarity calculations for document retrieval. The developer noted that simplifying the stack — removing external APIs and specialist infrastructure — gave him a clearer understanding of how RAG actually works.

0
ProgrammingDEV Community ·

Rewrite or Refactor: How Enterprises Should Approach Legacy Software Modernisation

Enterprise engineering teams in 2026 face a critical choice between refactoring existing code and fully rewriting legacy systems, each carrying distinct cost and risk profiles. Outdated software can limit feature development, expose security vulnerabilities, and drive up hosting costs due to inefficient resource use. Refactoring is considered the lower-risk path, best suited for systems with stable database schemas that suffer from performance bottlenecks or poor test coverage. A full rewrite, while offering clean architecture and freedom from technical debt, carries high upfront costs, lengthy timelines, and significant data migration risks. Experts, including software pattern authority Martin Fowler, recommend treating ground-up rewrites as a last resort, favouring incremental approaches such as the Strangler Fig pattern to modernise systems step by step.

0
ProgrammingDEV Community ·

Engineering Team Scrapped Cloudflare Path for Internal Prometheus Metrics Over VPC

A software team running two DigitalOcean droplets in the same VPC initially routed internal Prometheus metrics scrapes through Cloudflare, a WAF, and OAuth token minting — adding unnecessary complexity to a private network task. The setup worked but forced every 30-second scrape to traverse multiple TLS handshakes and public infrastructure just to move roughly 80 KB of data between adjacent servers. About a month after deployment, the team noticed both droplets shared the same private VPC subnet in DigitalOcean's nyc3 region, meaning a direct private-IP connection had always been available. They reconfigured Prometheus to scrape the API directly over the VPC using the private interface, removing Cloudflare from the path entirely while retaining OAuth enforcement at the application layer. The incident highlights how the architecturally obvious solution — routing internal traffic the same way as public traffic — can introduce avoidable overhead when simpler private networking options already exist.

0
ProgrammingDEV Community ·

How Android Launchers Run Minecraft Java Edition Using a Bundled JVM and Zink

Apps like Zalith Launcher and PojavLauncher allow Minecraft Java Edition — a desktop-only game — to run on Android by bundling an ARM-compiled OpenJDK-compatible JVM inside the app, bypassing Android's ART runtime. Since mobile GPUs do not support desktop OpenGL, these launchers use Zink, a Mesa driver layer that translates Minecraft's OpenGL calls into Vulkan commands that mobile hardware can execute. Zalith Launcher 2 illustrates how fragile this stack can be, having switched renderer implementations across versions to maintain compatibility. Complicating matters further, Mojang introduced a native Vulkan renderer in Minecraft 26.2+, meaning devices without Vulkan 1.2 support can no longer run recent versions regardless of the translation layer. Performance tuning — including JVM heap sizing and choosing the right rendering backend — remains critical, as the underlying desktop runtime must operate within a phone's limited memory and thermal constraints.

0
ProgrammingDEV Community ·

CS Student Built a GitHub Actions Security Scanner — It Found 12 Bugs in Itself

A University of Adelaide cybersecurity undergraduate developed 'ghast', a taint-analysis scanner designed to detect supply-chain vulnerabilities in GitHub Actions CI/CD workflows. After running the tool across roughly 200 open-source repositories and about 1,800 workflow files, the scanner returned zero confirmed exploitable vulnerabilities. However, manual review of every high-severity finding revealed twelve bugs within the scanner itself, stemming from flawed logic, incorrect assumptions about how GitHub's platform works, and overly broad pattern matching. One misconfigured rule alone accounted for 97% of all medium-severity findings, flagging correctly written, documented-safe code as dangerous. The developer published the experience as a detailed post-mortem, arguing that building and then stress-testing a security tool is one of the most effective ways to expose gaps in one's own understanding.

0
ProgrammingDEV Community ·

Developer's AI Phone Agent Failed to Navigate Government IVR Menu After 193 Seconds

A software developer built an AI-powered phone agent called CounterCall, designed to call government offices and return a verified checklist of documents and requirements for in-person visits. The agent, built as a skill for a voice-call API named CALL-E, was tested on Singapore's Immigration and Checkpoints Authority (ICA) general enquiries line for a passport renewal query. During a real call on September 10, 2026, the agent spent 193 seconds responding to a touch-tone IVR menu before the system disconnected it, never reaching a human clerk. The developer documented the failure openly, noting that the agent could not press numbered keys to navigate the automated menu. The post details how the system was designed to handle such 'no result' outcomes gracefully, including schema validation rules to ensure no fabricated or empty data is ever returned to the user.

← NewerPage 1272 of 3232Older →