SShortSingh.

Programming

0
ProgrammingDEV Community ·

Author Details Version 3 of Their AI Coding Workflow Built on Reusable Skills

The author has reworked their AI coding workflow into a third version, moving every step into the helderberto/agent-skills repository. Earlier versions relied on a separate tool called TracerKit and on hand-written prompts, which required releases and manual updates across projects. The new setup turns each recurring step into a skill and each reminder into an automated check, so changing a step is a single commit. The workflow borrows the flow of Matt Pocock's skills and the engineering depth of Addy Osmani's agent-skills, trimmed down and placed under the /hb: namespace. A feature moves through commands for planning, building and shipping, while small fixes can skip straight to building.

0
ProgrammingDEV Community ·

ผู้เขียนเปรียบเทียบ framework SDD ทั้งสามค่าย ได้แก่ Superpowers, BMAD และ Spec Kitty

ผู้เขียนเปรียบเทียบ framework ที่ติดตั้งเป็นสกิลให้ AI agent เพื่อบังคับให้ทำงานเป็นขั้นตอนตามบทบาทและการรีวิว ได้แก่ Superpowers, BMAD และ Spec Kitty. Superpowers มีดาวสูงสุดและรองรับ host หลายค่าย แต่การถามตอบช่วงเริ่มต้นอาจช้าสำหรับงานเล็ก. BMAD ปรับขนาดตามงานและมีบทบาทสมมติหลายแบบ แต่รุ่น v7 ยังไม่พร้อมใช้ และป้ายใบอนุญาตบน GitHub แสดงผลไม่ตรงกับไฟล์ MIT จริง. Spec Kitty แยก worktree ให้แต่ละงานและมีประตูอนุมัติก่อน merge แต่มี issue ค้างจำนวนมากและยังเป็น release candidate. ผู้เขียนเตือนว่าทีมควรเลือกตามขนาดงานและกระบวนการเดิมที่มีอยู่

0
ProgrammingDEV Community ·

AI Agent Lockfiles Aim to Curb Silent Drift in Tools and Dependencies

An AI agent can change behavior even when its prompt and application code stay the same, because packages, tool servers, model aliases, or tool images may update underneath it. Standard package lockfiles cover only part of this, since agents also rely on models, prompts, tool servers, policy bundles, and retrieval configurations. The article recommends recording these as a single dependency graph in an AI agent dependency lockfile that captures both the requested selector and the resolved identity. Such a record does not make an agent safe, but it helps teams review changes, reproduce runs, and roll back problematic updates. Current public guidance on agent supply chains reportedly extends this scope to models, agents, libraries, developer tools, and MCP-server packages.

0
ProgrammingDEV Community ·

Turtle Steady: an open-source AI app that breaks big tasks into small daily steps

A DEV Community post presents Turtle Steady, a low-stress productivity companion submitted to Hacktoberfest's Week 3 'Slow and Steady' open-source AI challenge. The app splits overwhelming project goals into manageable sub-tasks using Gemini-powered guidance intended to reduce burnout and task paralysis. A second project, Slow & Steady, is a minimalist white-and-red interface that uses Google's open Gemma models via the Gemini API to encourage small, consistent daily actions. Both tools are built with Python and vanilla web front ends, with the author stressing local data control and avoidance of proprietary lock-in. The author claims planning that once took 30 to 45 minutes now completes in under three seconds.

0
ProgrammingDEV Community ·

Developer builds free zero-cost Instagram toolkit with 47 static pages

A developer created IGKit, a free website offering small Instagram utilities such as Unicode font generators, caption line-break preservation, a profile grid splitter, and a story viewer. The site is built with a custom Node script that renders plain HTML pages, avoiding frameworks and server costs, and runs on free hosting tiers. Its story viewer relies on third-party data APIs, which it rotates across providers with fallback logic when free quotas run out. To manage traffic and limits, responses are cached at the CDN and media is proxied through a restricted allowlist. The project also targets long-tail search queries with dedicated pages and translations in ten languages.

0
ProgrammingDEV Community ·

Engineers Rebuild Pipeline to Measure True Video Watch Time from Noisy Player Logs

A developer reworked the telemetry pipeline for a large Persian-language online learning platform to determine how much of each video students actually watched. Raw player events such as play, pause, seek and heartbeat signals are often incomplete or misleading, due to unlogged pauses, closed tabs, inaccurate device clocks, and altered playback speeds. The ingestion service, built on ASP.NET Core, accepts events into a bounded buffer and returns quickly, while a background worker writes them to SQL Server in batches. Failed batches are retried row by row so that single malformed events do not block the rest of the queue. The design accepts the risk of losing buffered data on a crash, a trade-off judged acceptable for behavioural analytics but not for payments.

0
ProgrammingDEV Community ·

Linux Filesystem Layout Explained for DevOps Beginners Using a House Analogy

A DevOps beginner working on an EC2 instance wanted to understand common Linux paths such as /etc, /var/log, and /usr/share. The author compares the Linux filesystem to a house, with the root directory / as the whole structure and each subdirectory serving a distinct purpose. The article walks through key directories including /bin for essential commands, /boot for startup files, and /dev for device interfaces. It also covers /etc for configuration files, /home for user directories, and /lib for shared libraries that programs rely on.

0
ProgrammingDEV Community ·

Why Cross-Border Search Needs More Than Query Translation

Translating a search query once does not make retrieval work across languages, because tokenization, morphology, character normalization and word order all change what documents get matched. Languages such as Chinese, Japanese and Thai are written without spaces, so whitespace splitting turns whole sentences into single unmatched terms. Inflected languages like German, Russian and Arabic need stemming, or plural and case forms will never match each other. The article proposes a three-layer architecture of language-specific analysis, vector alignment and localized ranking, noting that omitting any layer leaves recall gaps in some languages. It also recommends keeping filters such as currency, dates and compliance rules separate from relevance scoring and measuring effectiveness per language rather than in blended averages.

0
ProgrammingDEV Community ·

UUIDv7 Offers Database Speed but Its Embedded Timestamp Is Not a Reliable Clock

UUIDv7 identifiers are gaining favor because they keep database indexes efficient while staying unique without central coordination. Each ID embeds a millisecond timestamp, which means anyone who sees an ID can roughly infer when it was created. A reproduction described in an October 19, 2026 post showed that the embedded time can drift from the real clock, running about an hour ahead after the system clock was set back. The RFC allows implementations to adjust the timestamp, so it should be treated as a hint rather than an accurate record. Developers debate whether exposing this metadata matters, with the author recommending UUIDv7 internally while avoiding exposing it in sensitive public-facing contexts.

0
ProgrammingDEV Community ·

Pre-commit hook fixed to check staged translation files, not working tree

The author's Locale Guard tool, a GitHub Action and CLI for translation files, added a pre-commit hook in version 1.3.0. The first version of that hook checked files on disk, so it approved a commit that held an English key but lacked matching entries in other language files. The fix makes the check read staged content directly from git, so incomplete commits are now blocked. A pre-push hook and the pull request check were also added to catch anything skipped with --no-verify. Demo repositories for Husky and Lefthook are available for testing.

0
ProgrammingDEV Community ·

What spec-driven development is and why AI coding tools are splitting into competing camps

The article explains spec-driven development (SDD), where requirements are written as a clear document that AI agents work from rather than from chat memory. It describes three traits of SDD: specs are version-controlled files, humans approve them before code is written, and every implementation step can be traced back to the spec. The author notes that the real differences between SDD tools lie in how specs relate to verification, not in feature counts. Three maturity levels are outlined: spec-first, spec-anchored, and spec-as-source, each answering differently who judges whether code is correct. The piece is the first part of a series comparing these tools.

0
ProgrammingDEV Community ·

uv Adds Experimental Type Checking for Single-File Python Scripts

Astral has announced an experimental integration between its uv package manager and the ty type checker, targeting standalone Python scripts. The new uv check command sets up a script's environment, installs its declared dependencies, and runs type checking using the inline metadata defined by PEP 723. Setting up the environment is opt-in because it involves installing and running third-party code. Requirements include uv 0.12.3 or later and ty 0.0.76 or later, and Astral plans to make script support the default and add Ruff to the command. Early community feedback praises ty's speed but notes concerns about false positives and library support, along with governance questions following Astral's 2026 acquisition by OpenAI.

0
ProgrammingDEV Community ·

Browser-Based Speaker Tone Can Help Clear Water From Phone Grilles

A developer rebuilt the water-ejection tone Apple Watch uses after swimming as a plain web page that runs on any phone without an app. The approach uses a 145–165 Hz sine wave played in short on-off bursts, since low pitches move the speaker cone more and pulsing keeps a droplet from settling. On iPhones, the page needs the Audio Session API so sound plays even when the silent switch is on, and the first tap must trigger audio directly for it to work. Vibration only works on Android, since Safari doesn't support the Vibration API. The author stresses that the tone only helps with water in the speaker grille and does nothing for water inside the phone, and that saltwater, pool water or sugary liquids can still cause residue or corrosion.

0
ProgrammingDEV Community ·

PHP2Shell: Two Critical PHP Flaws Patched, But Running Servers May Still Be Exposed

The PHP project released fixes on October 21, 2026, for two remote code execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619, both scored 9.2 on CVSS v4.0. Details reportedly leaked a day earlier, and Amazon's honeypots reportedly recorded exploit attempts as early as October 17. The flaws affect the PHP runtime itself, including PHP-FPM, Apache mod_php, php-cgi, FrankenPHP and LiteSpeed, so Composer updates will not resolve them. PHP 8.1 and older have no official release, leaving teams on those branches to upgrade or rely on source backports. Security experts stress that organizations must confirm the patched version is actually running in production, not just available.

0
ProgrammingDEV Community ·

eMudhra CA Intermediate Keys Found Weak; Browsers Blocked Them, Server Trust Stores Lag

A researcher reported on October 17, 2026 that private keys for eight eMudhra intermediate certificate authorities had been compromised. Analysis showed the keys were tiny numbers rather than random 384-bit values, so they could be guessed almost instantly. eMudhra attributed the problem to a flaw during an April 2025 key ceremony and said root keys were unaffected and no certificate for a real site had been issued. Chrome and Firefox revoked the intermediates within hours, but operating system, Python, Java and vendored trust stores update only when their packages are rebuilt or upgraded. Security experts warn that businesses should check where their services source trusted certificate authorities and when those lists were last refreshed.

0
ProgrammingDEV Community ·

Munchable's test suite enforces 605 label words so common ingredients never return 'not assessed'

Munchable scans ingredient labels to flag whether products suit a user's digestive condition, but it sometimes returned a 'not assessed' result for ingredients central to that condition, such as kefir for lactose intolerance, soya for IBS, and tea for reflux. To prevent this, the team maintains a data file listing 605 label words that the product must always be able to address, covering conditions, allergens, and shopping filter preferences. The list is written in the words printed on packs rather than internal identifiers, so the tests cover the full path from user input to answer. These words are checked by 31 generated tests that fail the build if any listed word would come back unassessed. The approach is designed to hold regardless of whether background data-curation jobs have run.

0
ProgrammingDEV Community ·

Four Django ORM Tools That Replace Most Raw SQL Queries

Many Django developers rely on only a small part of the ORM and fall back to Python loops or raw SQL when queries get more involved. The article argues the ORM already handles most of these cases through four under-taught tools. Q objects enable OR and NOT conditions, which plain keyword filters cannot express since they combine only with AND. F objects allow comparing one column to another or performing arithmetic between columns directly in the database, including race-safe updates. The piece also clarifies the commonly confused distinction between annotate, which adds computed values per row, and aggregate, which produces whole-table summaries.

0
ProgrammingDEV Community ·

A single dynamic route at a domain root needs two settings to avoid soft 404s

The munchable.app site serves 461 question-style pages, such as ones about low-FODMAP status of ingredients, directly from the domain root under one dynamic route. Without extra configuration, that route would render content for any unmatched path, turning typos into indexable soft 404s that can dilute search performance. The author fixes this with two exports, dynamicParams set to false and dynamic set to error, along with generateStaticParams, so only pre-generated slugs resolve and everything else returns a true 404. Curl output from the live site confirms that real answer pages return 200 while fake-looking URLs return a cached 404. The pages are generated at build time from ingredient data rather than stored as manual content files.

0
ProgrammingDEV Community ·

Developer Isolates AI Coding Agents on Separate Drives to Protect Project Files

A developer describes how a single destructive command, such as a mistyped recursive delete, could wipe out an entire project folder. To prevent this, they stopped letting AI agents work directly on their main drive. Instead, each agent is assigned its own drive letter, mapped either to a local folder or a WebDAV cloud location, so it sees a standard Windows drive with access limited to that space. The author says this isolates projects from one another and works with any AI coding tool, and they recommend setting up the sandbox before letting an agent begin work. The article is presented as a personal workflow rather than a formal product announcement.

0
ProgrammingHacker News ·

JetBrains Unveils ThinkRail, a New Product Announced on Hacker News

JetBrains has introduced a product called ThinkRail, according to a post shared on Hacker News. The linked page at thinkrail.ai serves as the main source of information about the offering. The Hacker News submission received 28 points and 20 comments from the community. The source material does not provide details on the product's specific features, pricing, or intended audience.

← NewerPage 39 of 2882Older →