SShortSingh.

Programming

0
ProgrammingDEV Community ·

ShinyHunters Hacks Clop Ransomware Leak Site via Grav CMS Flaw, Demands Ransom

On September 19, 2026, hacking group ShinyHunters defaced and compromised the dark web leak site operated by the Clop ransomware gang, exploiting an unauthenticated file upload vulnerability in Grav CMS. The attackers claim to have stolen the site's source code, system logs from /var/log, and the private cryptographic keys for Clop's Tor onion service. ShinyHunters issued a 72-hour ultimatum to Clop, threatening to extort the ransomware group — a move the attackers framed as retaliation for Clop allegedly stealing their exploit and issuing violent threats. The conflict stems from Clop's October 2025 mass exploitation campaign targeting Oracle E-Business Suite via CVE-2025-61882, which ShinyHunters claims was based on their own original exploit. BleepingComputer independently confirmed the defacement, though the data theft claims remain unverified.

0
ProgrammingDEV Community ·

Single Responsibility Principle: How Splitting Python Classes Improves Code Quality

A software developer writing on DEV Community recounts how a bloated Python User class—handling validation, password hashing, database calls, email notifications, and audit logging—became a maintenance nightmare when a small change to one function broke unrelated logic. The experience led them to adopt the Single Responsibility Principle (SRP), the 'S' in the SOLID design principles, which states that a class should have only one reason to change. Applying SRP meant splitting the monolithic class into focused, single-purpose classes—one for data, one for validation, one for hashing, and so on—each independently testable and modifiable. The author reports immediate practical benefits: faster test runs, smaller pull requests, and reduced risk when making targeted code changes. The article uses before-and-after Python code examples to illustrate how SRP creates clearer boundaries and makes codebases easier to understand and refactor over time.

0
ProgrammingDEV Community ·

npm Worm Shai-Hulud Ran Malicious Code Simply by Developers Opening a Folder

In August 2026, attackers compromised a GitHub account belonging to a maintainer of widely used npm caching libraries and injected malicious code directly into the project's release pipeline. Because the packages were published via the project's own legitimate automation, they carried valid provenance signatures, allowing the payload to spread to hundreds of packages within roughly four hours. Crucially, the malware executed not through npm install but via editor and agent configuration files — such as .vscode/tasks.json and .claude/settings.json — that trigger commands automatically when a folder is opened. Once active, the worm harvested credentials from developer environments, CI systems, and cloud configurations, then used stolen tokens to propagate itself across other packages and repositories. The incident highlights a critical gap in supply chain security: provenance signing verifies the build path but cannot confirm whether the source code committed to the pipeline was itself trustworthy.

0
ProgrammingDEV Community ·

True AI vs. Hollywood AI: What Today's Technology Can and Cannot Do

Artificial Intelligence, as it exists today, is fundamentally about computer systems performing tasks that mimic human intelligence — such as speech recognition and decision-making — without genuine understanding or emotion. Modern AI systems like GPT-4 are computational models that process large datasets and perform pattern recognition rather than experiencing consciousness or feelings. Machine Learning, a key driver of modern AI, enables machines to improve at tasks by statistically analyzing data patterns, as seen in recommendation systems like Spotify. Current AI falls under 'Narrow AI,' meaning it excels at specific tasks but lacks general understanding or awareness. 'General AI,' the sentient, human-like intelligence depicted in films, remains a hypothetical concept that researchers have not yet achieved and may never fully realize.

0
ProgrammingDEV Community ·

Developer launches LucentraCode CLI to cut AI coding costs to $20/month

A developer has released LucentraCode, a command-line interface tool designed to make AI-assisted coding more affordable. The tool targets developers who rely on AI daily but find mainstream subscriptions, which can cost $100–$200 per month, prohibitively expensive. LucentraCode supports multiple AI models, including Fable and Astra, and is built for long coding sessions and real-world projects. It operates directly from the terminal and aims to offer high usage limits without requiring top-tier subscription plans. The creator is seeking feedback from developers who actively use AI in their workflows.

0
ProgrammingHacker News ·

The Strange Origins and History Behind the Letter W Explained

The letter W stands out as one of the most unusual characters in the English alphabet, with a quirky history that sets it apart from other letters. Unlike most letters, W is the only one whose name describes its shape, being literally a 'double U.' Its origins trace back through medieval scribes who began doubling the letter U or V to represent a distinct sound in Germanic languages. The letter arrived relatively late into the standardized Latin alphabet, making it an outlier among its peers. A new piece in Literary Hub explores this overlooked linguistic history, shedding light on how W earned its odd place in the modern alphabet.

0
ProgrammingDEV Community ·

How a Short Code Tour Gives AI the Project Context It Needs

AI coding assistants frequently suggest edits to the wrong files because they lack understanding of how different parts of a project connect to each other. A 2024 study by Sergeyuk, Golubev, Bryksin, and Ahmed found that developers most often use AI for writing and summarizing code, not for navigating codebases, with inaccurate suggestions being a top complaint. A 'code tour' addresses this by tracing a single user-facing feature from its trigger point through each relevant file to the final output. Rather than a full design document, it is a focused map covering only the files involved in one specific behavior, such as a profile save or a search query. Providing this structured trace to an AI assistant reduces guesswork and allows it to suggest precise, context-aware changes to the correct parts of the codebase.

0
ProgrammingHacker News ·

Developer Builds Experimental Chatbot Powered by Jev Data

A developer shared a personal project on Hacker News that converts Jev into a chatbot interface. The project, described by its creator as 'lousy,' is hosted publicly on GitHub under the repository jevchat. The submission received 10 points on Hacker News at the time of posting, though no comments had been added. The project appears to be an experimental or hobbyist effort rather than a polished product.

0
ProgrammingHacker News ·

Four Self-Hosted AI Inference Orchestrators Reviewed and Compared in 2026

A technical comparison of four self-hosted AI inference orchestration tools — LocalAI, exo, GPUStack, and vLLM — has been published by Nexlab. The review evaluates how each platform handles local AI model deployment and inference workloads. Self-hosted inference tools have gained traction as developers and organizations seek greater control over AI infrastructure without relying on cloud providers. The article aims to help engineers choose the right orchestration solution based on their specific hardware and deployment needs.

0
ProgrammingHacker News ·

Samsung Plans to More Than Double HBM4 and HBM4E Memory Production

Samsung is planning a significant expansion of its high-bandwidth memory output, with production of HBM4 and HBM4E chips expected to more than double. The move signals the South Korean tech giant's push to strengthen its position in the competitive HBM market. High-bandwidth memory is in strong demand, driven largely by the rapid growth of AI hardware and data center infrastructure. The production ramp-up is anticipated to take place in the coming year, according to industry sources.

0
ProgrammingHacker News ·

Resident Evil 4 GameCube Version Fully Decompiled to C/C++ Source Code

A complete, byte-identical decompilation of the GameCube version of Resident Evil 4 into C/C++ has been published on GitHub. The project reconstructs the original game's source code such that recompiling it produces output identical to the original binary. This type of decompilation effort is significant for preservation, modding, and deeper understanding of the game's internals. The repository was shared on Hacker News, where it attracted initial attention from the developer community.

0
ProgrammingHacker News ·

DIY Console Uses Three Genlocked RP2350B Chips to Render 3K Sprite Pixels Per Line

A developer has built a custom video game console using three genlocked RP2350B microcontrollers working in tandem. The project, showcased on papydeck.eu, achieves an impressive 3,000 sprite pixels per horizontal line. Genlocking synchronizes the chips so they output video signals in perfect timing alignment. The build was shared on Hacker News as a community project, attracting early attention from hardware enthusiasts. Further technical details are available on the project's dedicated website.

0
ProgrammingDEV Community ·

Next.js Four-Layer Caching Model Explained: How Each Cache Works and Why It Matters

Next.js uses four distinct caching mechanisms — request memoization, data cache, full route cache, and router cache — each operating at a different scope and lifetime. Request memoization deduplicates identical fetch calls within a single server render pass and resets once the response is sent. The data cache persists fetch responses across multiple server requests until explicitly revalidated, while the full route cache stores prerendered HTML generated at build time. The router cache retains client-side navigation payloads for 30 seconds on dynamic routes and up to 5 minutes on static ones. Treating these four layers as a single system is the root cause of stale-data bugs and performance issues in many Next.js applications.

0
ProgrammingHacker News ·

Engineer Experiments With Software Factory Pattern for Team Productivity

A software engineer documented their experience testing the Software Factory pattern, a structured approach to organizing software development work. The experiment was shared on the personal blog lethain.com, detailing findings from applying the pattern in a real-world context. The post attracted discussion on Hacker News, where it garnered early engagement from the developer community. The Software Factory pattern aims to bring repeatability and efficiency to software delivery by treating development processes more like a structured production system.

0
ProgrammingDEV Community ·

Why a Daily Reminder App Needs Three States, Not Just a Boolean Flag

A developer building a self-opening morning checklist discovered that using a simple true/false boolean to track whether a reminder had been addressed created an unintended loop — closing the window without pressing the start button caused the reminder to reappear every 30 seconds. The root problem was that the boolean tracked whether the window had opened, not whether the user had actually responded to it. To fix this, the developer replaced the single flag with three distinct states: done, dismissed, and owed — where owed is simply the absence of the other two. This change also resolved two unrelated edge cases, including preventing multiple reminder windows from stacking up during late-night sessions. The open-source Windows app stores all data locally in a single JSON file with no account or server required.

0
ProgrammingDEV Community ·

Developer builds offline-first notes app with sync-ready schema and no-build landing page

A developer has released Nookly, a local-first notes app built with Flutter and SQLite that stores all data on-device with no account or cloud dependency. To future-proof the app for eventual multi-device sync, every database table is designed from the start with UUID keys, soft deletes, timestamps, and version fields — avoiding a costly rewrite later. Drag-and-drop reordering uses fractional indices so only the moved item is updated, rather than triggering cascading changes across sibling rows. Full-text search is powered by SQLite's FTS5 and kept accurate through database-level triggers rather than application code, preventing index drift. The app's landing page was shipped as a single HTML file using CDN-loaded React and Tailwind with in-browser JSX compilation, requiring no npm or bundler setup.

0
ProgrammingDEV Community ·

Secure EC2 Deployments from GitHub Actions Using AWS SSM, No Open Ports Needed

Developers deploying to EC2 via GitHub Actions have traditionally relied on long-lived SSH keys, open port 22, or bastion hosts — all of which carry significant security risks. AWS Systems Manager Session Manager eliminates these risks by having the SSM Agent on the instance initiate an outbound HTTPS connection to AWS, removing the need for any inbound security group rules. Combined with EC2 Instance Connect, temporary SSH keys can be pushed to an instance for just 60 seconds, leaving nothing persistent to rotate or leak. IAM policies replace key-file-based authentication, and every session is logged in CloudTrail for full auditability. An open-source GitHub Action, ankurk91/setup-ssh-over-ssm-action, packages this entire setup and teardown process, enabling clean deployments with no stored secrets or open ports.

0
ProgrammingDEV Community ·

Java Concurrency Explained: Key Concepts from Threads to CAS and JMM

A technical guide published on DEV Community covers 40 Java concurrency and multithreading interview topics in depth. It explains the difference between processes and threads, highlighting how Java 21's virtual threads via Project Loom allow millions of lightweight threads without the overhead of platform threads. The guide details the Java Memory Model, clarifying how happens-before relationships, volatile fields, and synchronized blocks ensure visibility and ordering across threads. It also contrasts synchronized with ReentrantLock, and explains why volatile alone is insufficient for compound operations like increment, making AtomicInteger a safer choice. Additionally, it covers how modern ConcurrentHashMap achieves high concurrency through per-bin locking and lock-free reads, unlike the fully synchronized Hashtable.

0
ProgrammingHacker News ·

Flock App's Poor Reception Is Demoralizing Staff and Driving Resignations

Flock, a messaging and collaboration app, has been facing significant backlash from users unhappy with the product. The negative public reception has reportedly taken a toll on employee morale within the company. Staff members are said to be feeling demoralized as a result of the widespread criticism. The situation has become serious enough that some employees are reportedly considering leaving the company.

← NewerPage 1089 of 3217Older →