SShortSingh.

Programming

0
ProgrammingHacker News ·

Opinion: Dropping Scientific Linux May Have Been the Wrong Call

A blog post published on melashri.net argues that the discontinuation of Scientific Linux was a mistake for the scientific computing community. Scientific Linux was a Linux distribution maintained by Fermilab and CERN, designed specifically for high-energy physics and research environments. The author contends that abandoning the project left a gap that alternatives have not fully filled. The post has sparked discussion on Hacker News, where it received points and community comments. The piece raises broader questions about the sustainability and governance of community-driven scientific software projects.

0
ProgrammingDEV Community ·

Developers Can Build Zero-Cost Semantic Search Without LLMs Using FastAPI and Qdrant

A technical guide published on DEV Community outlines how to build a production-grade semantic search engine without relying on large language models or paid AI APIs. The proposed architecture uses FastAPI, Qdrant in-memory vector storage, and Hugging Face's free serverless inference API to generate 384-dimensional text embeddings. Unlike keyword-based search, the semantic approach converts queries into vectors, allowing it to match conceptually similar content even when exact words differ. The entire stack runs on a serverless, Jamstack infrastructure hosted on GitHub Pages, designed to cost nothing at scale and return results in single-digit milliseconds. The guide argues that for the majority of real-world search use cases, direct context-aware document retrieval is more practical and efficient than generative AI responses.

0
ProgrammingDEV Community ·

Developer Builds Android App to Edit, Transfer, and Manage Files Without a PC

A developer frustrated by the repetitive cycle of moving files between phone and PC built an Android app called HandyPC to handle the entire workflow on a single device. The app combines a file explorer, text editor with search and replace, SCP/SSH terminal, and basic network diagnostics tools in one place. It supports features like zip file handling, encoding detection, dual-pane view, and wired Ethernet connections via USB-C adapters. The goal was to let users complete the full find-open-edit-send workflow without switching apps or devices. HandyPC is available on the Google Play Store with a free two-month trial followed by a one-time purchase.

0
ProgrammingDEV Community ·

DEV API analysis of 1,634 posts finds no dominant off-site publishing platform among writers

A writer analyzing DEV Community's public API sampled 1,634 recent articles during a roughly four-hour window on September 23, 2026, to identify where authors publish beyond DEV itself. Of those articles, 81.8% declared DEV as their canonical home, while the remaining 18.2% pointed to 149 distinct external hosts. Among those 149 external destinations, 148 were used by exactly one author each, with Medium being the sole exception, hosting just three posts from three different writers. The analysis accounted for platform subdomains using Mozilla's Public Suffix List to avoid inflating destination counts from services like Blogger or GitHub Pages. The core finding is that DEV writers who publish elsewhere do so on their own personal domains, with no single shared platform serving as a meaningful secondary hub.

0
ProgrammingDEV Community ·

Go Basics: When to Use 'go run' vs 'go build' in Your Projects

Go is a compiled language, requiring source code to be translated into machine code before execution. The 'go run' command compiles and immediately executes code via a temporary file, making it ideal for quick testing during active development. In contrast, 'go build' produces a permanent standalone binary that can be deployed to servers or shared with users without requiring Go to be installed. Go also supports cross-compilation, allowing developers to build binaries for Windows, Linux, or macOS by setting the GOOS and GOARCH environment variables. Choosing the right command depends on the stage of development — 'go run' for iteration and 'go build' for production-ready deployment.

0
ProgrammingDEV Community ·

Snowflake Direct Share Now Supports ML Model Sharing Across Accounts

Snowflake has quietly extended its Direct Share feature to support machine learning models, enabling ML models registered in the Snowflake Model Registry to be shared across accounts. This update meaningfully expands the options available to teams using Snowflake as an ML platform. Sharing behavior differs depending on whether inference is run in a warehouse or on Snowflake Container Services (SPCS), requiring separate model versions for each target platform. On the provider side, ML models can be shared either by granting privileges directly to a share object or through a database role, with the latter approach recommended for easier role structure replication on the consumer side. The feature was noted as having shipped without broad announcement, highlighting the importance of monitoring Snowflake's documentation for incremental updates.

0
ProgrammingDEV Community ·

How Partytown Offloads Third-Party Scripts to Fix Google's INP Metric

Since March 12, 2024, Google replaced First Input Delay with Interaction to Next Paint (INP) as a Core Web Vital, measuring the time between any user interaction and the browser's next painted frame. A key cause of poor INP scores is third-party scripts — such as tag managers, analytics pixels, and A/B testing tools — that block the browser's single main thread and delay responses to user input. Partytown, a lightweight library maintained by the QwikDev team, addresses this by moving third-party scripts off the main thread and into a web worker, communicating with the DOM through a proxy. This approach frees the main thread for an application's own code, reducing input delay and improving responsiveness scores. The library can be integrated into frameworks like React and Angular, though it is not suitable for all use cases.

0
ProgrammingDEV Community ·

YouTube transcript scraping is mostly broken in 2026 — here is what still works

YouTube's official Data API does not provide transcripts for third-party videos, and the unofficial workaround of fetching caption URLs directly from the watch page now returns empty responses due to a missing PO Token requirement tied to YouTube's BotGuard system. The open-source library youtube-transcript-api handles this complexity and remains the most reliable solution for retrieving transcripts programmatically. A common pitfall is tools that only request English captions and silently fail on videos with transcripts in other languages, a problem solved by preferring a language rather than requiring it. Developers converting transcripts to SRT or VTT formats must also handle floating-point timecode edge cases carefully, as values like 59.9999 seconds can produce invalid timestamps that cause some players to reject entire files. YouTube's auto-translate feature, exposed via the same library, was found to be largely non-functional in testing, consistently blocking or failing to deliver translations across multiple videos and proxy configurations.

0
ProgrammingDEV Community ·

AI Coding Tools Boost Speed but Still Require Human Developer Oversight

AI coding tools can generate functional code in seconds, making software development faster and more accessible for businesses. However, research involving over 300,000 AI-authored code commits found that more than 15% introduced quality, security, or maintainability issues. AI-generated code may appear correct yet still carry security vulnerabilities, poor architecture, or compatibility problems that require expert review. Professional developers remain essential for understanding business requirements, testing implementations, and making critical architectural decisions. Relying solely on AI-generated code without human oversight can create technical debt and costly failures, particularly for websites that directly support sales or customer operations.

0
ProgrammingDEV Community ·

Before Daybreak: A Replayable Branching Story Where Promises Have Real Consequences

Before Daybreak is a short, replayable interactive story built for the Sanity Challenge, in which players navigate an ethical dilemma involving four people trying to leave a company-controlled site with evidence of concealed injuries. Players make three decisions — how to handle an offer of passage, what to prepare, and whether to keep a promise — with each choice materially affecting later outcomes rather than simply altering dialogue. A key mechanic ties the consequences of a broken promise to whichever character was established earlier as the guarantor, meaning the same final action can harm a different person depending on prior choices. After completing the story, players can revisit one earlier decision while the game preserves the previous ending to highlight which consequences changed and which did not. Built with Next.js, React, and Sanity Studio, the project requires no player account and no paid AI service to play.

0
ProgrammingDEV Community ·

Advanced AI Models Tend to Overengineer Simple Code, Developer Warns

A software developer spent 16 hours reviewing unwanted changes made by OpenAI's Astra model to their framework, finding that simple components had been transformed into complex, heavily abstracted structures. The developer noted this is the third time such overengineering has occurred across recent model upgrades from OpenAI and Anthropic. They attribute the pattern to more powerful models recognising more possibilities, but lacking the judgment to determine which solutions are actually appropriate. The developer argues that overengineering in software is harmful, as it obscures intent, raises maintenance costs, and introduces more failure points. They are calling on AI model developers to treat restraint as a measurable capability, alongside raw problem-solving power.

0
ProgrammingDEV Community ·

How Zalgo Glitch Text Uses Unicode to Create Its Chaotic Visual Effect

Zalgo or glitch text, widely seen on Discord and gaming forums, achieves its chaotic appearance through a Unicode feature called Combining Diacritical Marks, which range from U+0300 to U+036F. Unlike standard characters, these marks stack vertically above, below, or inside the preceding letter rather than rendering side by side. When dozens of such marks are applied to each character, the text overflows its standard line height, producing the signature corrupted look. Developers building tools to generate this effect must manage performance carefully, as constructing and copying large multi-byte Unicode strings can strain browser rendering. Purpose-built Zalgo text generators address this by processing the Unicode manipulation in real time while keeping the interface lightweight.

0
ProgrammingDEV Community ·

Codec swap, not resolution drop, is the smarter first step for compressing screen recordings

A developer ran over a dozen compression tests on a synthetic 62-second, 1080p screen recording to identify which settings actually reduce file size without harming quality. The experiment found that lowering resolution — the most instinctive first move — was the only adjustment that visibly damaged small text and, at mid-settings, sometimes produced a larger file than the original. Switching the codec last delivered a 67% additional size reduction at a negligible quality cost of 0.74 dB on the text region. Using an in-browser compressor with independent controls for preset, resolution, frame rate, and format, the 295 MB source file was brought down to around 15–21 MB while retaining full 1920×1080 resolution, 30 fps, and intact audio. The key takeaway is that the order in which compression parameters are adjusted matters significantly, and inter-frame encoding — not resolution scaling — offers the most efficient gains for screen recordings that have not been previously compressed.

0
ProgrammingDEV Community ·

Cisco Talos Uncovers Malware That Uses Four AI Models to Decide Its Next Attack

Cisco Talos disclosed CLOSEDQUORUM in September 2026, identifying it as the first publicly documented Windows malware that delegates tactical decision-making to artificial intelligence rather than a human operator. The Go-based implant polls four large language models — DeepSeek, Qwen, Mistral, and Google Gemini — which independently vote on the next action from a fixed menu including credential theft, code injection, persistence, and lateral movement. Whichever action receives the most votes is executed, with a preset tiebreaker hierarchy resolving any deadlock. Stolen data is encrypted and exfiltrated via a Discord webhook to a channel controlled by the attacker, though a human must still build, configure, and deploy the malware. Security researchers consider this a significant architectural shift because the most human-dependent phase of an intrusion — real-time tactical decision-making — has now been handed to AI, removing constraints tied to operator attention and working hours.

0
ProgrammingDEV Community ·

New Developer Joins DEV Community to Explore Web, AI, and SEO Topics

A new member has introduced themselves to the DEV Community, an online platform for software developers. The individual expressed interest in learning and exchanging ideas within the community. Their areas of focus include web development, automation, artificial intelligence, and SEO. They also highlighted a goal of connecting with like-minded professionals in these fields.

0
ProgrammingDEV Community ·

Silent broker failure left 214 paid orders unshipped and undetected all weekend

A finance reconciliation at an unnamed company revealed 214 paid orders from the previous weekend had never been dispatched, with four customers already calling to complain. All system dashboards showed green because a years-old code change had silently swallowed the error — wrapping the messaging call in a try-catch that logged failures only as warnings. The root cause was a 12-minute broker outage during Saturday maintenance, which caused event publishing to fail after order rows and payments had already been committed to the database. The fix involved implementing the outbox pattern, writing events to a dedicated table within the same database transaction as the order, with a relay service handling retries and consumers deduplicating on event ID. An alert on the age of the oldest unsent outbox row has since caught three similar issues before they could silently accumulate into customer-facing problems.

0
ProgrammingDEV Community ·

How a Single Loop Triggered 400 Database Queries and Slowed Pages to 9 Seconds

A common but hard-to-spot backend bug known as the N+1 query problem can cause a single loop to generate hundreds of individual database round trips. In the case described, iterating over 400 orders — each triggering its own hidden query — stretched a list page load time to nine seconds. The problem is difficult to catch because the offending code looks like a simple field access during review, testing, and standard metrics monitoring. The fix involves pulling all required data before the loop runs, rather than fetching it one record at a time. Developers are advised to count queries — not just measure milliseconds — and test against real data volumes to surface this class of bug early.

0
ProgrammingDEV Community ·

AI Assistants Are Quietly Reshaping IT Support — and Hiding Problems From Teams

An IT operations manager observed a 16% drop in support ticket volume last year, yet incidents did not decrease and average call handling time rose by four minutes. An audit of 200 calls revealed that in roughly a third of cases, users had already received guidance from an AI assistant before calling, and about a fifth had already acted on that advice — often making undocumented changes to systems. The manager warns that AI-driven self-service is eliminating the low-priority ticket trickle that traditionally served as an early warning system for infrastructure issues. One example cited involved a finance export failing silently for three weeks because users had been given a workable AI-suggested workaround and never escalated the fault. The author argues that IT teams must shift from reactive support to proactive monitoring through device telemetry and direct observation, as a quiet helpdesk no longer reliably signals a healthy system.

0
ProgrammingDEV Community ·

How AI Agents Are Changing the Way Developers Handle Scope Creep

As AI coding tools lower the cost and time of building software features, developers face a growing temptation to keep adding functionality mid-project — a pattern known as scope creep. One developer writing on DEV Community outlines a personal framework for deciding whether a feature should be built immediately or deferred to a backlog, centered on questions about foundational impact, project goals, and future cost. A key discipline highlighted is documenting new ideas rather than acting on them impulsively, using AI agents to log bugs or feature requests within the project repo instead of interrupting the current task. The author notes that newer, more capable models — such as the recently released Opus 5.5, which Anthropic claims matches Fable 5.1 performance at 40% lower cost — are shifting the calculus, as cheaper and more reliable AI reduces the risk of on-the-fly changes. While the lower cost of AI assistance makes ad-hoc feature additions more tempting and feasible, the author argues that intentional, methodical development still produces better outcomes than reactive building.

← NewerPage 996 of 3191Older →