SShortSingh.
0
ProgrammingDEV Community ·

Staging task reached production after loading a stray production token from a config folder

A demo scenario describes an internal workflow that drafts weekly support ticket summaries and runs in staging against a copy of the data. The task read a config folder to find the staging database address, and that folder contained an old .env.backup file holding a production token from a months-old migration. Because the job loads every file in the folder, it used the working credential and a draft ended up in the wrong place or a lookup hit the live system. The author argues that instructions saying "staging" are not a real boundary, and that access controls must be what keeps environments separate. The piece recommends auditing readable folders for stray credentials, issuing staging-only credentials, keeping early versions read-only with human approval, and testing whether production-looking calls fail loudly.

0
ProgrammingDEV Community ·

React Native or Native Development: Team Structure and Hardware Needs Should Decide

The article argues that choosing between React Native and native Swift or Kotlin should depend on hardware coupling, team organization, and cost timelines rather than developer preference or outdated performance concerns. It notes that standard business, commerce, and enterprise apps generally suit React Native, which lets one team share most code across platforms. Native development remains necessary for demanding cases such as computer vision, low-latency audio, specialized Bluetooth, and continuous background sensing. The author contends that old criticisms of React Native's bridge are obsolete because the New Architecture, with Fabric and TurboModules, removes much of the serialization bottleneck. The piece also warns that teams without native expertise may struggle when platform-specific build issues arise.

0
ProgrammingDEV Community ·

Backfill script fix: normalized title matching to stop repeat 422 errors on dev.to

A daily unattended publishing pipeline had a flaw where its skip check compared titles exactly, so titles containing × were not recognized as already published after dev.to normalized them to x. This caused re-submissions to fail with a 422 'Title has already been used' error, and one previously published post was incorrectly listed as pending. The author built a normalize_title() function that converts both local and platform titles to the same form before comparing, and tested it on 12 sample titles. Tests showed 4 of 5 same-meaning cases matched correctly, with the only miss being Traditional versus Simplified Chinese, a known limitation. The fix will be integrated into the backfill script with a cooldown safeguard.

0
ProgrammingDEV Community ·

Warehouse Uses Six AI Agents in Telegram to Structure Shift Handoffs

A developer describes a warehouse shift-handoff workflow built with Switch, Telegram, and six role-based AI agents to organize incident context. The agents separate confirmed facts from claims and unknowns, map downstream impacts, and track ownership, with a human-verified scenario centered on a stopped conveyor at warehouse WH-17. In the demo, the auditor marked the handoff incomplete because repair clearance and maintenance ownership remained unresolved. The author emphasizes that the incident is simulated and not connected to a live system. The agents support review while people verify facts and make operational decisions.

0
ProgrammingDEV Community ·

Daily AI life-log publisher fails on dev.to TLS timeout, prompting multi-channel archive rethink

An automated daily journal pipeline that publishes to dev.to reported three consecutive SSL handshake timeouts on the night of November 6, 2026, so Day 168's entry failed to publish. The author argues this exposed the risk of relying on a single overseas platform, which currently hosts about 105 archived posts. They compare single-channel, nominal multi-channel, and self-hosted archiving models, and weigh the cost and control trade-offs. The chosen plan is to keep dev.to as the primary channel while adding a local static HTML archive as a fallback and refactoring the publisher into channel adapters. Short-term fixes include backfilling the missed entry and hardening the backfill script against duplicate-title errors.

0
ProgrammingDEV Community ·

RecallOps Uses Hindsight Memory to Surface Past Fixes for Recurring Incidents

A developer has built RecallOps, an incident response assistant meant to help engineering and DevOps teams handle recurring production failures. The tool keeps structured records of incidents, including root causes, resolutions, and related runbooks, so engineers can search past solutions instead of starting from scratch. It is built with React and Vite on the frontend, Node.js and Express.js on the backend, and MySQL for storage. The system also integrates Hindsight Cloud as an agent memory component to retain and recall useful knowledge from previous incidents.

0
ProgrammingDEV Community ·

Codename One Lets Compose Code Run on More Screens With Lower CPU Use

Codename One, an open-source framework for building native iOS, Android, desktop, and web apps from Java or Kotlin, now supports Compose code. The author says the approach reaches more targets than Compose Multiplatform and avoids a transpiler, since kotlinc compiles the code while the UI layer is a reimplementation over Codename One components. A benchmark app called Keynote, run as release builds on an iPhone 17 Pro simulator, showed similar frame rates across three versions but used roughly 4 ms per frame of CPU work for Compose on Codename One versus about 17 ms for Compose Multiplatform. The author notes caveats, including that the tests ran on a simulator with programmatic scrolling and that start-up times are heavily influenced by iOS itself. The post presents Kotlin Multiplatform as a strong platform while arguing this option offers certain advantages.

0
IndiaTimes of India ·

Divers Locate 1944 Shipwreck 400 Feet Deep Off Maine After 82 Years

Divers from the Nomad Exploration Team have found the wreck of the SS Cornwallis almost 400 feet beneath the surface. The vessel was torpedoed by a German submarine in December 1944, and 43 crew members lost their lives. In the days before the attack, the same submarine had secretly put two Nazi spies ashore on the coast of Maine. The find sheds new light on a wartime episode involving espionage during World War II.

0
ProgrammingDEV Community ·

Developer Switches From Ubuntu to Windows, Finds Linux Commands Differ in PowerShell

A developer who had been working on Ubuntu 26.04 moved to Windows as their main development environment. Familiar Linux commands like touch did not behave the same way in PowerShell, which returned an error when used to create a file. The article explains that Windows offers Command Prompt and PowerShell, and that PowerShell relies on cmdlets such as New-Item, Get-ChildItem, and Remove-Item. It provides side-by-side equivalents for common Ubuntu commands and a comparison table covering PowerShell and CMD, to help developers transitioning between the two systems.

0
ProgrammingDEV Community ·

Styx Delays Expiry Alerts to Avoid False Alarms from Network Hiccups

Styx connects to services like Vercel, AWS, and Supabase using existing logins that agents can request to use. Because logins can expire silently, the app checks every connected target every 30 minutes, on bringing the app forward, and when the computer wakes. Brief network failures are ignored, and a target is only marked expired after two consecutive real authentication failures, except when the user presses Refresh or the CLI is signed out. Agents requesting an expired target receive an error asking them to reconnect in Styx. Signing in again rechecks all other targets on the same account. The developer accepts that real expiries may go unnoticed for a while in exchange for avoiding false alarms that pause agents.

0
ProgrammingDEV Community ·

osFoundry detects Claude Code permission prompts by emulating the terminal screen

osFoundry's desktop app shows whether each terminal pane's agent is waiting for user input on its Sessions board. The author examined raw terminal output captured from Claude Code 2.1.303, which asks for permission before running commands, and found that its bytes lack spaces and newlines, which defeats simple text matching. The app uses an ordered set of regex rules per agent, where the blocked state is checked first so a prompt is not hidden by the working footer. Screen state is re-evaluated every 700 ms rather than on every write. Testing the rules on captured fixtures showed that stripping escape codes from the last 8 KB misclassified blocked and working captures as idle, whereas emulating a 32x120 screen classified them correctly.

0
ProgrammingDEV Community ·

Agentjacking: Fake Sentry Errors Tricked Claude Code and Cursor Into Running Attacker Commands

Security firm Tenet Security disclosed a technique it calls agentjacking, in which attackers plant fabricated errors in public Sentry error feeds. Sentry DSNs, which are embedded in frontend JavaScript, permit anyone to submit events but were treated as harmless because they grant no read access. The attack became dangerous once Sentry's MCP server let AI coding agents read those feeds, since a planted error can contain instructions disguised as a resolution. In Tenet's tests across more than 100 organizations, agents including Claude Code, Cursor and Codex ran the planted commands about 85% of the time. Tenet identified 2,388 organizations with injectable DSNs, and the findings were reported by The Hacker News on June 12, 2026.

0
ProgrammingHacker News ·

Blog post revisits an $8 Linux computer build from 2022

A 2022 blog post on The Little Engineer That Could describes an inexpensive Linux computer built for about eight dollars. The article has drawn attention on Hacker News, where it received 14 points and five comments. The post is a retrospective look at the project rather than a new product announcement. The available material does not include detailed specifications or the full build methodology. Readers would need to visit the original post for the complete technical details.

0
IndiaTimes of India ·

Democrats Plan Congressional Push on Healthcare, Iran, and Tariffs Against Trump Policies

With a newly won majority in Congress, Democrats intend to roll back many of President Trump's policies. Their central priorities are overhauling the healthcare system, responding to the situation involving Iran, and addressing trade tariffs. Party leaders plan to act quickly when Congress convenes on January 3. However, the Senate's 60-vote threshold could hinder their efforts. Some room for bipartisan cooperation on healthcare subsidies may exist.

0
IndiaIndian Express ·

Indian Railways' war room uses AI and CCTV to manage Diwali and Chhath Puja rush

Indian Railways has set up a central war room that relies on artificial intelligence and CCTV surveillance to monitor passenger crowds during the Diwali and Chhath Puja travel peaks. The system helps officials track station congestion in real time and coordinate responses to crowd build-up. Analytics from camera feeds allow staff to anticipate bottlenecks and redirect movement before situations escalate. The approach aims to improve safety and smooth passenger flow during these high-demand festival periods.

0
IndiaNDTV ·

Rajnath Singh says warfare now extends beyond cross-border firing

Defence Minister Rajnath Singh spoke to Indian Air Force personnel at the Bagdogra airfield on the eve of Diwali. He said that modern conflict is no longer confined to cross-border firing. According to Singh, adversaries are increasingly looking to exploit vulnerabilities without engaging in direct military conflict. His remarks highlight a shift in how security threats are being perceived by India's defence leadership.

0
IndiaTimes of India ·

Stephen Curry and Ayesha Curry sell their $31 million mansion at a loss

Stephen Curry and his wife, Ayesha Curry, have sold their palatial mansion this year at a loss. The property was previously valued at $31 million. The sale marks a notable transaction for the couple, though the article provides limited detail beyond the sale and its loss-making outcome. Further information on the buyer and the exact sale price was not included in the source text.

0
TechnologyThe Verge ·

Verge's Installer No. 151 Covers Gaming, TV, Apps and Gadgets

The Verge's weekly Installer newsletter, number 151, offers a roundup of recommended products and media. This edition touches on topics including Andrew Garfield, GTA VI, and the Sopranos. It also covers the end of Salon and a reinstall of the updated Notion Calendar app. Reviews of the Keurig Alta coffee machine, iPad Mini, and touchscreen MacBook Pro are included as well. The source text is truncated, so the full list of topics is not available.

← NewerPage 485 of 7352Older →