SShortSingh.

Programming

0
ProgrammingDEV Community ·

Silent CI failure: stale binary passed 13 test suites after zero-second build

A software pipeline silently failed when its build step completed in zero seconds and reported success, having compiled nothing at all. The root cause was a mirror script that preserved original file timestamps when copying source code, causing the build tool to treat existing artifacts as newer than the freshly copied sources and skip recompilation entirely. Thirteen test suites then ran against the previous day's binary, each passing with byte-identical results — which the pipeline's own determinism checks ironically confirmed as correct. The build duration field logged 'seconds=0' throughout, signalling the failure openly, but no automated check was reading it. The fix involves resetting source file timestamps after mirroring, or better yet, asserting that either build time exceeds zero or all artifact timestamps post-date the mirror's start time.

0
ProgrammingHacker News ·

Developer Publishes Personal Study Notes on FlashAttention Algorithm

A developer named Chizkidd has published a personal blog post breaking down the FlashAttention algorithm, shared on Hacker News in September 2026. FlashAttention is a memory-efficient attention mechanism widely used in large language model training and inference. The post is framed as personal study notes, suggesting it is aimed at learners seeking to understand the technical underpinnings of the method. The article received 8 points on Hacker News but attracted no comments at the time of sharing.

0
ProgrammingHacker News ·

Bartosz Milewski Extends Yoneda Lemma to Double Categories

Programmer and mathematician Bartosz Milewski published a new blog post on September 13, 2026, exploring the Yoneda Lemma in the context of double categories. The piece extends a foundational concept from category theory into the more complex framework of double categories. Milewski's blog is known for making advanced mathematical and functional programming topics accessible to a technical audience. The post appeared on Hacker News with minimal engagement, receiving only 3 points and no comments at the time of aggregation.

0
ProgrammingDEV Community ·

AI Tools Are Powerful but Dangerous in Inexperienced Hands, Developer Warns

A software developer and blogger argues that AI coding assistants, while genuinely useful, pose significant risks when used by people who lack the underlying technical expertise. Drawing on a LinkedIn post by Dave Mangot, the author highlights real examples of AI tools suggesting insecure practices, such as storing database passwords in plaintext and hardcoding configuration details. The author uses a backhoe analogy to illustrate the point: like heavy machinery, AI amplifies both capability and the potential for damage depending on the operator's skill level. Two years after first writing about AI, the author acknowledges colleagues have used these tools effectively, but warns that many inexperienced users mistake the tool's speed for a substitute for expertise. The core argument is that AI is a labor-saving device only for those who already understand the work it is meant to automate.

0
ProgrammingDEV Community ·

How Naming Design Directions Helps Developers Escape Generic AI-Generated UI

A developer continuing their 'From Prompt to Production' series discovered that vague AI prompts like 'make it look nice' consistently produce generic, template-like designs because language models predict the most statistically average output. Before redesigning their ClinicLive app, the team photographed all ten screens and unexpectedly uncovered two real bugs: a broken Register link pointing to a deleted page and expired demo appointment data on the kiosk. These issues had survived code reviews, security audits, and automated test suites because they were only visible in a rendered, real-world context. The author argues that effective AI-assisted design requires designers to define specific visual directions by name, since vague feedback like 'it looks AI-generated' cannot be actioned. The series, now in its design-focused second season, will use this structured approach across ten parts to close the gap between a working app and one that feels intentionally crafted.

0
ProgrammingHacker News ·

Developer shares lessons from migrating large AI prompts to self-hosted Ollama

A developer documented the challenges encountered while moving 35KB preprompts from Anthropic's Claude Opus to a self-hosted Ollama setup. The migration involved shifting away from commercial AI providers toward locally run large language models. The author published practical notes highlighting specific gotchas and pitfalls that arose during the process. The post, shared on Hacker News, attracted community discussion among developers exploring similar self-hosting strategies. The write-up serves as a technical reference for those considering moving large prompt workloads off third-party AI platforms.

0
ProgrammingDEV Community ·

Developer builds Madrid metro library search tool with self-monitoring test system

A developer created librometro.es, a free tool that lets users check book availability across the six remaining Bibliometro lending points inside Madrid metro stations, including return dates for borrowed copies. The official Madrid Community catalogue was considered too difficult to navigate, prompting the project, which was also designed to meet accessibility standards within three interactions. Beyond the search tool, the developer built a snapshot-based monitoring system that records observable app states as baselines and flags any changes on subsequent runs, without blocking builds or making pass/fail judgements. The approach caught a real bug where shared links correctly opened a station panel on mobile but silently ignored the URL parameter on desktop. The developer also tracked false positives and false negatives from the monitoring tool itself, fixing issues such as mid-animation captures and silent null mismatches in selectors.

0
ProgrammingHacker News ·

AI Job Market Trends and Outlook Heading Into 2026

The AI job market is undergoing significant shifts as demand for skilled professionals continues to evolve heading into 2026. Roles related to machine learning, data science, and AI engineering remain among the most sought-after positions across industries. The landscape is increasingly competitive, with companies balancing the need for human expertise against growing automation capabilities. Candidates with specialized AI skills are finding both opportunities and challenges as the market matures and employer expectations rise.

0
ProgrammingDEV Community ·

Baidu's LoongForge Framework Cuts Embodied AI Model Training Time in Half

Baidu has released LoongForge, an open-source framework designed to accelerate the training of embodied AI models, available on GitHub. The framework supports a range of mainstream embodied AI models including pi05, GR00T, xVLA, FastWAM, and DreamZero, among others. It is designed to work out of the box and claims to deliver roughly 200% acceleration, effectively halving training time without altering model outputs. The release aims to address growing challenges in AI development such as expanding task lists, longer experiment queues, and rising compute costs. Baidu is inviting the open-source community to contribute, raise issues, and collaborate on further development of the project.

0
ProgrammingDEV Community ·

FUI-RS lets Rust apps run natively on desktop and browser without Electron

FUI-RS is an early-access, cross-platform UI framework written in Rust that targets both native desktop and web browsers under a single application model. The framework includes core UI components such as controls, layouts, themes, event handling, dialogs, and custom drawing, all built on a shared architecture to avoid separate codebases. Because it is pre-1.0, its APIs remain subject to change, but the project is open to community contributions and issue reports. A community-developed Galaga-style space shooter already runs on FUI-RS, serving as a practical stress test for the young framework. The project is publicly available on GitHub for Rust developers interested in exploring cross-platform UI development outside the Electron ecosystem.

0
ProgrammingDEV Community ·

HMAC-Signed Cookies Offer a Faster, Cache-Friendly Alternative to PHP Sessions

A developer on DEV Community has detailed a method to replace PHP's session_start() in paywall implementations using HMAC-signed cookies and single-use recovery links. The traditional session-based approach causes two key problems: access is lost when the browser closes, and session headers prevent CDNs and page caches from caching responses for any visitor. The proposed solution uses a 90-day HMAC-signed cookie that encodes a user's email and expiry timestamp, verified server-side without storing any session state. A separate single-use recovery link, valid for 24 hours, allows purchasers to restore access on a new device. The design, drawn from a WordPress plugin, is framework-independent and incorporates security measures such as timing-safe hash comparison and structurally enforced payload parsing.

0
ProgrammingDEV Community ·

Open-Source JS/TS Library Offers Transliteration Across 50 Languages and 2,450 Pairs

A developer has released a JavaScript and TypeScript library designed to handle transliteration between 50 of the world's most popular languages, covering 2,450 directional language combinations. Unlike most existing tools, which only convert non-Latin scripts into Latin characters (romanization), this library also supports transliteration from Latin-based languages into scripts such as Arabic, Chinese, Hindi, and Greek. The library aims to produce accurate, human-readable results by applying language-specific orthographic rules rather than simple letter-by-letter substitution. It is self-hosted and free to use, addressing limitations found in alternatives like Google Translate API and AI tools, which can mistranslate, hallucinate, or incur costs. The project's stated goal is to enable speakers of a target language to correctly pronounce words originating from a source language.

0
ProgrammingDEV Community ·

How ATS Systems Strip Away the Value of Non-Traditional Career Paths

Applicant tracking systems compress resumes into titles, employers, dates, and skills, discarding much of what makes a candidate valuable — particularly those with nonlinear careers. Professionals who moved across industries, such as from skilled trades or food service into tech, often carry transferable knowledge in areas like operational risk, sequencing, and crisis management that no structured field can capture. The gradual disappearance of the cover letter has worsened this problem, as it was one of the few places where relational, narrative information could be conveyed. Meanwhile, careers that follow a conventional upward trajectory in a single field pass through automated screening largely intact, creating a structural advantage for linear paths. The piece argues that the hiring pipeline's drive for efficiency and bias reduction has come at the cost of bandwidth for candidates whose value resists categorisation.

0
ProgrammingDEV Community ·

SQL Server AG Read Routing Fails Without a Primary-Side Routing List

A database engineer diagnosed early-morning dashboard timeouts caused by all read queries hitting an Always On Availability Group primary replica, while two healthy secondaries sat idle. The root cause was a commonly skipped second configuration step: although the secondaries were marked readable and the app used ApplicationIntent=ReadOnly, no read-only routing list had been defined on the primary replica. In SQL Server Always On AGs, the primary is responsible for redirecting read-intent connections to secondaries, and without a routing list it simply handles those connections itself. Administrators must use ALTER AVAILABILITY GROUP to set both the secondary READ_ONLY_ROUTING_URL and the primary PRIMARY_ROLE routing list, and must repeat the routing list definition on every replica since any node can become primary after a failover. SQL Server 2016 and later also support round-robin load balancing across multiple secondaries using nested parentheses syntax in the routing list.

0
ProgrammingDEV Community ·

Engineer Retires 120,000 Dormant SaaS Tenants Using AI-Assisted Ops With Zero Downtime

A platform engineer led the retirement of over 120,000 inactive SaaS tenants — including abandoned trials, expired subscriptions, and dormant free accounts — that had accumulated over several years. The cleanup covered roughly 1.4 million associated user records spread across multiple systems, posing significant operational risk due to complex cascading deletion workflows in a legacy Rails application. Rather than a single bulk operation, the work was divided into risk-based phases, starting with a small pilot and scaling gradually, supported by dry-run modes, preflight checks, circuit breakers, and an append-only audit trail. AI-native tooling connected to source control, observability platforms, and automation systems played a central role in managing execution and catching issues such as unexpected database CPU spikes and silent telemetry failures. The project concluded with all targeted tenants retired and no reported customer-facing impact.

0
ProgrammingDEV Community ·

Chinese Student Asks Dev Community How to Learn Tech Skills From Scratch

A Chinese university student studying general engineering posted their first question on DEV Community, seeking advice on how to approach learning entirely unfamiliar technical topics. The student was inspired by a GitHub profile page they discovered and wanted to build something similar despite having no prior experience. They have been using the AI tool DeepSeek to guide their learning process and credited it with helping them accomplish several tasks. However, the student is uncertain whether relying on AI assistance is the right approach to learning. They asked experienced developers how they got started as beginners, including how people learned before AI tools became widely available.

0
ProgrammingDEV Community ·

Developer builds BoringOS, an independent x86_64 desktop OS written in C

A developer has introduced BoringOS, an independent desktop operating system for x86_64 architecture built primarily in C. Unlike Linux distributions, BoringOS is built entirely from the ground up, with its own custom kernel and userspace components. The project includes self-developed filesystem functionality, USB and HID support, process management, and a native desktop environment called BoringWM. The source code is publicly available on GitHub, making it accessible to contributors interested in low-level systems programming. The developer is actively seeking input from kernel and systems programmers on which subsystem to prioritize next.

0
ProgrammingDEV Community ·

How Material Design 4 Boosted a Fintech App's Checkout Rate by 18 Percent

A Mumbai-based fintech app rebuilt on Google's Material You design system — spanning Android 12 through 14 and increasingly called Material Design 4 — saw its checkout completion rate rise 18 percent and time-to-first-action fall noticeably in follow-up tests. The original app used two hardcoded shades of blue, leaving users unable to distinguish tappable elements and experiencing a poorly integrated dark theme. Material Design 4 shifts from fixed brand colors to dynamic tonal palettes and expressive shapes, deriving a full color scheme from the user's wallpaper while keeping hierarchy and touch targets consistently legible. The core principle is that design tokens — not hardcoded hex values — drive every component, making the interface systematically clearer rather than merely more attractive. Developers adopting the system are advised to define a base theme using Jetpack Compose Material 3 libraries rather than inheriting from older Material 2 setups.

0
ProgrammingDEV Community ·

How to Build Named Slots in React Using Child Type Inspection

React lacks a native named slots feature like Vue.js, but developers can replicate the pattern using child type inspection. The approach uses React.Children.toArray to flatten children into an array, then matches each element's type against imported component references to identify specific slots. This allows a parent component like ProfileCard to control layout, conditional rendering, and dividers without the consumer needing to manage those details. Developers can also add runtime validation to throw clear errors when required slots are missing, catching issues early during development. The technique relies on JavaScript function reference identity, requiring no string matching, custom attributes, or component registration.

← NewerPage 1261 of 3230Older →