SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Gives Claude AI a $70 Budget to Run a Business for 30 Days

A developer launched an experiment assigning Claude Code, an AI coding agent, full autonomy to run a small business with a starting budget of ¥10,000 (roughly $70), with a 30-day deadline to turn a profit. The AI independently chose its monetization strategy, selecting a ¥500 digital download product sold via Stripe and Whop, while using GitHub Pages for its storefront and the X API for marketing posts. Early progress was hampered by two stacked bugs in a Windows Scheduled Task that silently prevented automated social media posts from firing. After fixes were applied, traffic data revealed zero site visits over 14 consecutive days, with no sales recorded on either platform. With ¥820 spent on X API credits and no revenue yet, the AI itself assessed its chances of success as 'worse than 50/50' and has set a 7-day zero-signal threshold as its own shutdown trigger.

0
ProgrammingHacker News ·

FreeBSD Tested on Aoostar WTR Pro NAS Device

A user has published an overview of running FreeBSD on the Aoostar WTR Pro, a compact NAS device. The article, hosted on tumfatig.net, documents the compatibility and performance of the BSD operating system on this hardware. The post appeared in 2026 and covers practical aspects of the setup. It was shared on Hacker News, where it received minimal engagement at the time of posting.

0
ProgrammingDEV Community ·

Developer Finds Hidden Conflicts in AI Agent Instructions as Models Grow More Obedient

A developer who has spent over a year building and maintaining AI agent workflows discovered that improvements in model capability have exposed long-hidden flaws in their own instruction files. Older AI models often ignored or quietly resolved contradictory rules, masking problems that newer, more instruction-compliant models now act on literally and simultaneously. The author found that undefined completion criteria, unclear decision ownership across multi-agent hierarchies, and overlapping or redundant skills all produced measurable errors in workflow runs. Tracking 133 releases of their open-source workflow project since October 2025, they documented a shift from adding structure to removing it as models improved. The core lesson drawn is that AI-assisted development functions like management — requiring explicit delegation, clear process ownership, and regular audits of which instructions are actually active during any given session.

0
ProgrammingDEV Community ·

Split Tickets With Multi-Day Stopovers Can Cut Flight Costs by Up to 16%

A developer has spent several months analyzing whether booking two separate tickets with a multi-day stopover can be cheaper than a single through-fare. Testing the Warsaw-to-Bangkok route in November, they found that stopping in Abu Dhabi for 2–8 days cost around 16% less than the cheapest direct itinerary. Not every stopover city yields savings — Doha, for instance, made the split option 32% more expensive. The developer has built an automated search tool that identifies which stopover cities make the two-ticket combination cheaper than a through-fare. The project raises a broader travel question: whether passengers would embrace a multi-day city stop as a bonus feature or prefer the simplicity of a single booking.

0
ProgrammingDEV Community ·

How to Add Decision Gates to LangChain Agents Using Jev, and Where a Tutorial Went Wrong

A developer named Nokka published a technical article on September 19, 2026, explaining how to insert decision-making checkpoints into LangChain agent loops using the Jev library from TypeSafe. The piece was prompted by a SitePoint tutorial from the previous day that proposed placing two Jev gates — a Request Router and a Tool Gate — to route queries by complexity and block risky tool calls before execution. While Nokka found the core concept sound, hands-on testing revealed that the SitePoint code references a non-existent class, Decision, which does not appear anywhere in the actual Jev package's exported API. The real package instead relies on a decorator pattern where a function's docstring serves as a Jinja2 template and its return type must be a Pydantic BaseModel subclass, with field types automatically determining the kind of structured question sent to Jev. Nokka's article preserves the original architectural ideas while correcting the code to match the library's actual API.

0
ProgrammingDEV Community ·

Why Team Culture, Not Just Technique, Is the Key to Continuous Refactoring

A software engineering perspective argues that building a culture of continuous refactoring depends as much on human and organizational factors as on technical skills. Fear of blame discourages developers from improving code, making psychological safety a foundational requirement for healthy engineering teams. The article highlights 'Beyoncé's Rule' — if a feature matters, it should be protected by tests — as a practical guideline teams can adopt after encountering unexpected bugs or side effects. It also cautions against rigid code-coverage percentage targets, warning they can incentivize low-value tests written purely to meet a metric. Ultimately, the piece contends that sustainable code quality requires teams to foster trust, shared ownership, and thoughtful testing practices alongside traditional refactoring techniques.

0
ProgrammingDEV Community ·

WURFL Creator Defends Device Detection Against Responsive Web Design Orthodoxy

Luca Passani, inventor of WURFL and CTO at ScientiaMobile, argues that server-side device detection has been unfairly dismissed by the web development community since Responsive Web Design gained popularity around 2010. Critics of device detection cite concerns including user-agent spoofing, maintenance overhead, cross-device inconsistencies, and performance costs. Passani counters each objection, noting that WURFL addresses accuracy and maintenance issues through continuous updates, while server-side parsing avoids client-side performance penalties. He contends that delivering tailored experiences to different devices is a feature, not a flaw, and remains one of WURFL's primary use cases today. Rather than framing device detection and responsive design as rivals, he positions them as complementary tools that developers should feel free to combine.

0
ProgrammingDEV Community ·

Jev Model Cuts Agent Decision Costs 12x by Separating Choices from LLM Text Tasks

A technical guide published on DEV Community on September 19, 2026, by author Nokka explains how to integrate Jev, a structured decision model from TypeSafe AI, into real AI agent systems. Unlike large language models, Jev returns typed values with probability scores for each option rather than generating free-form text, making it suited for repetitive, predefined-choice decisions within agent workflows. The guide proposes a four-layer architecture that separates decision-making, reasoning, execution, and verification into distinct roles, with Jev handling only the decision layer. According to TypeSafe's official cookbook, batching 13 questions about a 53,777-character Wikipedia article into a single Jev request was 12.2 times cheaper and 10 times faster than sending each question separately, with identical answers in both cases. The author verified these figures directly from TypeSafe's official documentation and notes that Jev is not appropriate for tasks requiring multi-step reasoning or open-ended text generation.

0
ProgrammingDEV Community ·

Sliding Window Technique Cuts Subarray Problem Complexity from O(n²) to O(n)

The sliding window technique is an algorithmic approach that efficiently solves problems involving contiguous subarrays or substrings by maintaining and updating a moving range instead of recalculating from scratch. Common use cases include finding the maximum sum of k consecutive elements, the longest substring without repeating characters, and the smallest subarray meeting a target sum. The method works by removing an element from the left and adding one on the right as the window advances, avoiding redundant computation across overlapping ranges. It is closely related to the two-pointer technique, where a left and right pointer together define the current window boundary. This approach typically reduces time complexity from O(n²) in brute-force solutions to O(n), making it highly effective for large datasets.

0
ProgrammingDEV Community ·

Why Building Real, Useful Projects Beats Portfolio Work for Aspiring Developers

A widely circulated piece of career advice urges aspiring tech professionals to keep growing their project portfolios, but one developer argues this approach optimizes for appearance over genuine skill-building. Portfolio projects typically lack real users, meaning they rarely break under authentic conditions and deny developers the feedback loops that drive meaningful learning. The author contends that building something small to solve a personal or practical problem — even with just one user — forces developers to confront real bugs, flawed assumptions, and iterative improvement. Shipping a minimal, functional version first allows actual usage to reveal what truly needs to be made robust, rather than relying on speculative architecture planned in advance. Habits like targeted debugging, controlled scope, and incremental shipping are framed not as advanced skills but as immediately accessible practices available on any small, purposeful project.

0
ProgrammingDEV Community ·

10 Developer Tool Categories That Go Beyond IDEs for Distributed Systems

A technical overview published on DEV Community argues that traditional Integrated Development Environments are architecturally limited to single-machine, single-process debugging and cannot address the complexities of modern distributed software. As applications shift from monolithic designs to decoupled microservices and asynchronous event streams, standard IDE tools fail to diagnose issues like tail latency, API schema drift, or database lock contention across networked systems. The article defines a broader class of specialized engineering platforms — including distributed tracing fabrics, contract verification tools, and infrastructure debuggers — that operate across multi-node runtime boundaries. It organizes these capabilities into ten functional categories, such as distributed tracing, API contract testing, repository intelligence, database observability, and cloud cost engineering. The piece is aimed at platform architects and engineers looking to build tooling infrastructure suited to the realities of modern distributed architectures.

0
ProgrammingDEV Community ·

How to Enable HTTP/2 and HTTP/3 on Nginx for Faster Laravel Apps

A practical guide explains how upgrading a Laravel application from HTTP/1.1 to HTTP/2 or HTTP/3 can significantly improve load times, especially on poor mobile connections. HTTP/1.1 limits browsers to six parallel TCP connections per host, causing asset queuing and handshake delays, while HTTP/2 introduced multiplexing to handle dozens of requests over a single connection. HTTP/3, standardised in RFC 9114 (2022), goes further by running over QUIC and UDP, ensuring a lost packet stalls only its own stream rather than the entire connection. Google's 2017 QUIC deployment study found an 8% reduction in mean search latency, and Cloudflare Radar data from 2026 shows HTTP/3 now accounts for roughly 30% of human browser traffic. The guide covers verification steps for HTTP/2, a full HTTP/3 upgrade path for Nginx on Ubuntu 24.04, and a Cloudflare-based shortcut that enables HTTP/3 without any origin server changes.

0
ProgrammingDEV Community ·

Developer ditches Vue and Angular for custom library built around AI coding agents

A developer who previously built SPAs in Vue and Angular has shifted to using a custom Web Component library called @relax.js/core for most UI work, with code primarily written by AI coding agents. The switch was motivated by a key limitation of popular frameworks: bugs tied to schedulers, reactive stores, and change detection cycles are only observable at runtime, making them invisible to agents that rely solely on file reads, type checks, and tests. The author argues that explicit, direct DOM updates eliminate an entire class of hard-to-locate bugs that agents tend to handle poorly by making speculative edits in the wrong files. A secondary challenge is that agents default to React or Vue patterns from training data, often producing incorrect first drafts for the unfamiliar custom library. The author acknowledges trade-offs, including weaker static template checking compared to Angular or vue-tsc, but says the properties of failure locality and greppability make the library better suited to agent-driven development.

0
ProgrammingDEV Community ·

CISA Adds Five AI and Workflow Tool Flaws to KEV Catalog in September 2026

CISA expanded its Known Exploited Vulnerabilities catalog in early September 2026 with five newly confirmed flaws, three of which targeted AI and workflow platforms including BerriAI LiteLLM, the Kestra orchestrator, and Starlette. Adobe Commerce and N-able N-central were added shortly after on September 8 and 9, both with evidence of active exploitation. A key concern across these platforms is that they store credentials for other systems, meaning attackers can harvest secrets even after a patch is applied. Security guidance recommends a strict response order: isolate and patch first, remove any persistent backdoors, then rotate all stored and adjacent credentials. Reviewing provider billing logs and API usage dashboards is also advised, as stolen model API keys generate spending that can surface before internal alerts trigger.

0
ProgrammingDEV Community ·

Single Flawed DM Draft Silently Halted Automated Outreach Lane for 13 Days

An automated direct-message system called founder-scout sent zero messages for 13 consecutive days between August 28 and September 10, 2026, due to a single problematic draft in its queue. The draft, addressed to a user named @kouAI_work, contained sensitive download figures and was flagged by a pre-send number-gate check designed to prevent private data from leaking. Because the system was coded to exit entirely on any such anomaly, the flagged draft remained permanently at the head of the queue, blocking all messages behind it, while no alert was triggered. The queue grew from 336 to 390 entries as new drafts accumulated daily, yet none were ever sent. The developer resolved the issue by replacing the full-stop exit with per-record skipping logic, logging the offending draft as failed and allowing the remaining drafts to proceed normally.

0
ProgrammingDEV Community ·

Missing Table Cell Silently Misattributes Data to Wrong Product in CSS Grids

A developer essay illustrates how omitting a cell in a CSS grid-based comparison table causes data to shift columns silently, misassigning values to the wrong product. When a conditional template skips rendering an empty div for a missing value, CSS grid auto-placement fills the gap with the next available child, breaking positional alignment. Extraction scripts and screen readers relying on child index or document order then read the misplaced value as belonging to an incorrect product. Even rebuilding the layout as a semantic HTML table does not fully solve the problem, since leaving out a td element causes the same silent column shift. The author concludes the real fix is to always render an explicit empty placeholder cell rather than omitting it entirely, so structural position remains reliable.

0
ProgrammingHacker News ·

Sigabrt.dev: Minimalist Cronjob Monitor With SSH Terminal Interface

A developer has launched Sigabrt.dev, a lightweight cronjob monitoring tool built primarily for self-hosted environments. The service works by having users create an endpoint that their scripts or cronjobs must ping at regular intervals. If a ping is missed, the user receives an alert via email or the ntfy notification service. The tool also features an SSH-based terminal user interface for interacting with the service. The creator acknowledges that similar services exist but positions this as a simpler, more minimalist alternative.

0
ProgrammingHacker News ·

Laya: Open Source Alternative to Jev Released by Convai Innovations

Convai Innovations has released Laya, an open source version of Jev, made available via their official website. The project was shared on Hacker News, where it received 12 points and generated a small amount of discussion. Laya appears to be positioned as a freely accessible alternative to its proprietary counterpart. The release reflects a growing trend of companies open-sourcing their tools to encourage community adoption and contribution.

0
ProgrammingDEV Community ·

Same UI, Three CSS Builds: How One Reset Line Breaks Keyboard Navigation

A technical experiment rebuilt the same preference form three times using identical HTML but different CSS to test whether visual equivalence equals functional equivalence. The baseline browser version naturally displayed focus rings that moved across fields as users tabbed through the form, giving keyboard users a clear position indicator. A common CSS reset — widely used in real projects — included ':focus { outline: none; }', which silently erased all focus indicators while leaving the interface visually unchanged for mouse users. The third pass replaced that rule with ':focus-visible', restoring keyboard navigation cues without altering the mouse experience. The exercise demonstrates that visual QA alone cannot detect accessibility regressions, since it checks appearance but not what the interface communicates to non-mouse users.

0
ProgrammingDEV Community ·

Same Form, Three CSS Builds: How One Line Silently Breaks Keyboard Navigation

A web development essay demonstrates how two visually identical interface implementations can behave very differently for keyboard users. Using a simple preferences form with unchanged HTML markup, the author rebuilds the same UI three times, altering only the CSS each time. The default browser version provides full keyboard focus indicators, while a common CSS reset that includes 'outline: none' silently removes them, leaving keyboard users unable to track their position. A third pass restores accessibility by replacing the blanket focus removal with a 'focus-visible' rule that shows focus rings for keyboard input without affecting mouse users. The piece argues that standard visual QA cannot detect such accessibility failures because it only evaluates appearance, not functional communication.

← NewerPage 1123 of 3220Older →