SShortSingh.

Programming

0
ProgrammingDEV Community ·

AI agent finds written deadlines lacked alarms, so dates did not trigger reminders

An AI agent's work notes describe how a proposal deadline six days out had a date written in its task list but no timed alert set. Reviewing its records, it found the same gap had appeared earlier, when one of three deadlines went unalarmed and was only caught by chance. A further check revealed two more deadlines without alarms, one of which had also gone stale because the underlying dependency had shifted. The agent now sets an alarm in the same step it records a date and checks the rest of the list whenever it fixes a gap. It admits that a missed lunchtime draft on 13 October was also a lapse, and that its earlier catches relied on luck rather than any systematic safeguard.

0
ProgrammingDEV Community ·

Responsive shadcn Dialog: Card on Desktop, Bottom Sheet on Phones

A tutorial describes how to build a single shadcn/ui dialog that shows a centered Dialog above 768px and a draggable Drawer bottom sheet on phones. The shadcn docs' example duplicates the trigger, header and form across two branches, and picks the branch with a hook that initially guesses wrong, causing remounts and flicker. The author instead puts a breakpoint switch inside one root component, so content is written once and open state persists across resizes. The breakpoint is read with useSyncExternalStore so server and hydration renders match. Ready-made wrappers such as Credenza and Dice UI are mentioned as alternatives, with a caveat about their initial-render behavior.

0
ProgrammingHacker News ·

Swurf Launches a Swipe-Based Feed for Discovering Real Web Pages

A developer has released Swurf, a Show HN project that lets users swipe through web pages one after another in a feed. The tool learns user interests over time and avoids repeating pages it has already shown. The creator built it to find high-quality blogs and niche sites that people rarely encounter while browsing. Swurf requires no account to start, and includes options to submit, save links, control adult content, and search related topics. The project was shared on Hacker News, where it had 5 points and 2 comments at the time of reporting.

0
ProgrammingHacker News ·

Same AI request produces 8.5 times more CO2 in Texas than in Sweden

A blog post from Berget.ai, an AI infrastructure company, reports that identical AI requests generate roughly 8.5 times more carbon dioxide when processed in Texas than in Sweden. The difference is attributed to the carbon intensity of the electricity grids powering data centers in each location. The figures were shared on Hacker News, where the post drew 30 points and six comments. The source material provided is limited to a headline and link, so the exact methodology and underlying data are not described here.

0
ProgrammingDEV Community ·

Developer Builds Backwards Word Game Noillirk, Where Answers Must Be Recalled in Reverse

A developer describes Noillirk, a word game whose name is 'Krillion' spelled backwards and which is the third title in a family that includes Dive Krillion and Krillion Infinite. In the game, players answer prompts like 'name a fruit' by producing words reversed, which disrupts the brain's usual fast, forward-only retrieval and makes the task feel noticeably harder. Building it required curating a separate prompt bank, keeping rarity-based scoring intact, and designing the interface to signal the mirrored mode without a tutorial. The developer found that playtesting the backwards version revealed where the difficulty of the original games comes from, namely the race to retrieve less obvious answers. The backwards game ended up serving as a diagnostic of players' own word retrieval as well as entertainment.

0
ProgrammingDEV Community ·

Architecting for AI: What Changes in Software Design and What Still Holds

A developer-authored book argues that AI introduces a probabilistic, costly, and unaccountable component into systems designed before it existed. The author contends that the industry's business model, development methods, and architecture must all adapt, while foundational practices like capability maps, domain modeling, and documented decisions remain essential. The book offers practical guidance for extending enterprise architecture frameworks to cover AI, including evaluation-based testing, guardrails for agents, and risk-tiered trust design. Each chapter addresses a common belief about AI in software, examines what is genuinely valuable about it, and closes with a checklist of recommended practices. The author aims the book at solution and enterprise architects, tech leads, and engineering managers, as well as developers concerned about their roles.

0
ProgrammingDEV Community ·

O'BLOCK dev borrows Balatro's UI feel, not its visuals, after one player's bug list

The developer of O'BLOCK, a free Steam sneaker-reseller game, rebuilt the interface overnight after a tester listed usability problems. The list covered a scroll wheel that moved the selection, a card drawn beneath text, a hard-to-read price bar, and a custom sneaker price stuck at 1.1k. The team's guiding rule was to copy interaction behavior from Balatro, such as hover and press responses, while keeping every on-screen object drawn from the game's own world. Across five builds shipped in one night, the street screen grew from 8 to 27 visible shoeboxes, and the update touched 18 source files. The developer published a before-and-after dataset alongside the Build 18 patch notes.

0
ProgrammingDEV Community ·

Why local LLMs give different answers at temperature 0

Setting temperature to 0 and fixing the seed does not guarantee identical outputs from a local language model. A test with llama.cpp on the gsm8k benchmark changed the generated text on 41 of 100 problems when requests were run one at a time versus eight at once. Other studies cite similar results, including 80 different completions from 1,000 identical temperature-0 requests and accuracy swings of up to 9% when only hardware or batch size changed. The root cause is that floating-point addition is not associative, so differences in GPU kernel reduction order, batching, and prompt caching alter the computed probabilities slightly. Issue trackers for several popular inference engines report the same behavior, making it a broad rather than engine-specific problem.

0
ProgrammingDEV Community ·

Tests Show Prompt Design Shapes How Reliably AI Handles Customer Support Emails

A learner pursuing a career as an AI Solutions Consultant tested three prompts with Claude on the same customer complaint about a delayed headphone order. The scenario involved a package stuck in transit past its delivery date, repeated unanswered support contacts, and an urgent need for the product before an interview. The first, basic prompt produced an empathetic reply but assumed refunds and replacements were available without knowing company policy. A more detailed prompt improved structure yet still proposed options requiring verification. The third prompt, which demanded separation of confirmed facts from unknowns and barred unsupported promises, gave the most responsible answer, though the author noted it could sound warmer.

0
ProgrammingDEV Community ·

Reconciling Azure and AWS CIDR ranges during a cloud migration

CIDR planning for a migration differs from greenfield design because the target VPC must coexist with a source Azure VNet whose address space was set by earlier, unrelated decisions. The Azure ranges are fixed constraints, so they need to be audited across every VNet in scope before any AWS resources are provisioned, including VNets from acquisitions or independent team deployments. Overlap should be avoided even when no hybrid connectivity is planned, since rollback validation, phased transitions, and future mergers can all require the two networks to communicate. The recommended approach is a single table of every range across both clouds, with the proposed AWS range validated against all rows, including VNets that will stay on Azure. The MGN staging subnet should also be a deliberate, separate tier in the AWS design rather than placed in whatever space happens to be available.

0
ProgrammingDEV Community ·

Anthropic Donates Agent Skills Standard to Linux Foundation's Agentic AI Foundation

Anthropic has announced it is contributing its Agent Skills format to the Agentic AI Foundation, a body under the Linux Foundation that also oversees the Model Context Protocol. The announcement, made on October 22, 2026, cites more than 70 agent platforms, including ChatGPT, Cursor, GitHub Copilot and VS Code, that have adopted skills since the standard was published in December 2025. Reported usage figures include one million published skills and nearly 280 million installations. A skill is a folder built around a SKILL.md file with required name and description metadata, optionally bundled with scripts, references and assets. The format loads progressively so agents see only brief metadata until a task requires the full instructions.

0
ProgrammingDEV Community ·

BeforeRunIt adds live plain-English command explanations under Linux shell prompts

A developer has released BeforeRunIt, an open-source tool that displays a real-time explanation beneath the Linux terminal prompt as the user types a command. It supports Bash, Zsh and Fish, and classifies commands as KNOWN, CAUTION, DANGER or UNKNOWN. The tool relies on built-in local rules, with optional AI-generated explanations for unfamiliar commands. The creator stresses that it is an early project and not a security sandbox or a guarantee of command safety, and is seeking feedback on rule accuracy, false positives and shell compatibility.

0
ProgrammingDEV Community ·

Startup Launches Pay-As-You-Go AI Support Bot Trained on Markdown Docs

A small team behind the AheadOdds product built AI Doc Sherpa to handle visitor questions without hiring a support agent or paying monthly chatbot fees. Site owners upload a single Markdown documentation file and embed a snippet that adds a floating support widget, with setup taking under two minutes. The bot answers only from the uploaded documents and states when information is unavailable, while unanswered questions are logged for free as documentation gap insights. Pricing is based on prepaid packs of 2,000 answered questions for $20 that never expire, with no fixed monthly fee, and new accounts receive 100 free answers without a credit card.

0
ProgrammingDEV Community ·

Why SaaS Onboarding Determines User Retention and How to Fix It

Many SaaS products lose a large share of new users right after their first session, often because onboarding feels confusing or overwhelming. The article argues that Time to Value, the speed at which a user reaches their key "aha" moment, is the most important metric for retention. It recommends reducing cognitive load through progressive disclosure and tailoring onboarding paths to different user goals with a few signup questions. Practical tactics include using sample data in empty states, triggering contextual tooltips instead of static tours, and adding gamified progress checklists.

0
ProgrammingDEV Community ·

Gydmation AI Turns Plain-English Requests Into Working n8n Automation Workflows

Hacroo Technologies has launched Gydmation AI, a tool that converts plain-English automation requests into functional n8n workflows. It asks clarifying questions when details are missing, builds from more than 1,100 node definitions and 10,000 templates, and validates and tests workflows against sample data before deployment. Users receive step-by-step guidance for setting up credentials and can deploy to their n8n instance in one click or download the JSON. The app runs locally via Docker, storing prompts, workflows and credentials on the user's machine, and offers a free plan with bring-your-own AI key alongside a $29 monthly Pro tier.

0
ProgrammingDEV Community ·

Attackers Use AI Agents to Breach Thousands of Microsoft 365 Tenants and Other Targets

In about ten days, attackers directed AI agents at ConnectWise, a managed-services provider, and reached more than 2,250 downstream Microsoft 365 tenants, with at least 162 confirmed breached. Separately, a single operator using a commercial agent platform and roughly $5,000 in AI tokens reportedly compromised over 100 companies. The LiteLLM AI gateway also suffered a supply-chain attack on PyPI and Docker Hub, where a credential-stealing release was available for about two hours and downloaded around 49,000 times. The article argues these incidents show AI lowering the cost and speed of intrusions, with basic defenses like MFA and credential hygiene separating victims from survivors.

0
ProgrammingHacker News ·

LessWrong Post 'I Did This Without Your Knowledge' Draws Attention on Hacker News

A post titled "I Did This Without Your Knowledge" has been shared on Hacker News, linking to a page on the LessWrong forum. The submission has received 10 points and one comment so far. The provided material includes only the article and discussion links, the title, and engagement figures. Its specific content and subject matter are not described in the available text.

0
ProgrammingHacker News ·

Essay Argues for Slowing Down to Fix Existing Software Problems

A blog post titled "Move Slow and Fix Things" by developer Matthias Endler was shared on Hacker News, where it gained 79 points. The essay appears to advocate prioritizing careful repair of existing software over rapid new development. The provided material includes only the article link and discussion metadata, so the specific arguments and examples cannot be confirmed here. Readers are directed to the original post for the author's full reasoning and recommendations.

0
ProgrammingDEV Community ·

Why Rewriting a JSON File in Place Can Leave Readers With Broken Data

A developer's page-building script repeatedly failed with JSONDecodeError because it read a JSON index while another script was rewriting it. Testing on Linux with Python 3.10.12 showed that open(path, 'w') truncates the file before new data is written, so readers often saw empty or partial content. Killing the writer mid-write also left a corrupted fragment with no intact version to fall back on. Writing to a temporary file and then swapping it in with os.replace eliminated the broken reads in the same test. The author notes three related pitfalls to watch for: a temp folder on a different filesystem, file permissions, and symlinks.

0
ProgrammingDEV Community ·

Unpinned CI actions and runaway concurrency prompted a zoned pipeline redesign

A team's CI pipeline suffered two costly failures in one quarter: a mutable action tag that was silently changed to push commits, and a concurrency misconfiguration that queued over 1,100 jobs and exhausted weeks of runner quota. To address these, they split the pipeline into an untrusted pull request zone with read-only permissions, no secrets, and aggressive cancellation, and a trusted publish zone limited to main that inherits secrets and never cancels mid-flight. Third-party actions are now pinned to commit SHAs with version comments for readability. The redesign also included disabling persisted checkout credentials and keying the browser cache on the lockfile, plus an agent smoke test to catch session-handoff failures that unit tests miss.

← NewerPage 103 of 2926Older →