SShortSingh.

Programming

0
ProgrammingDEV Community ·

How a Homelab Grafana Stack Revealed Relentless Bot Traffic Scanning for PHP Files

A developer set up a full observability stack on a personal homelab using Grafana, Prometheus, Loki, and several exporters, all deployed via Docker with minimal manual configuration. The setup monitors Nginx instances, a Proxmox host, an Ubuntu server, and Docker containers using tools like node-exporter, cAdvisor, pve-exporter, and Promtail. Once the first Nginx logs appeared in Grafana, the developer discovered unexpectedly high traffic volumes that turned out to be automated bots rather than real visitors. The bots were repeatedly probing the server with requests for PHP files such as /tool.php and /admin-footer.php, despite the site being built entirely with static HTML via Astro. The experience highlighted how home monitoring tools can surface real security noise that would otherwise go completely unnoticed.

0
ProgrammingDEV Community ·

Missing Terraform variable silently stalled CI pipeline for three hours

A team automating Terraform discovered their CI pipeline was hanging silently for three hours due to a missing project_id variable. Locally, an agent had been answering Terraform's interactive prompt, masking the problem entirely. In CI, no input was provided and stdin never closed, so Terraform simply waited with no error or timeout. The issue was resolved by passing the variable via TF_VAR_project_id and adding the -input=false flag to force an immediate failure instead. However, the team also removed their PR plan gate as a consequence, since the recurring hangs had made it unreliable.

0
ProgrammingHacker News ·

NASA and IBM Develop AI Foundation Model to Support Lunar Exploration

NASA and IBM have collaborated to create an AI foundation model aimed at supporting future lunar missions. The project, detailed on IBM's research blog, focuses on building intelligent systems that could assist with Moon exploration challenges. Foundation models are large AI systems trained on broad data that can be adapted for specific scientific tasks. This initiative reflects growing interest in applying advanced machine learning tools to space exploration and planetary science.

0
ProgrammingHacker News ·

Developer cuts eBPF CPU overhead by 90% using memoization technique

A software developer has shared a technical approach that reduces CPU costs associated with eBPF programs by approximately 90%. The optimization relies on memoization, a technique that caches results of expensive function calls to avoid redundant computation. The findings were published on the developer's personal blog and sparked discussion on Hacker News. eBPF is a widely used Linux kernel technology for networking, observability, and security workloads, where CPU efficiency is critical. The post highlights how algorithmic improvements can yield significant performance gains without hardware changes.

0
ProgrammingHacker News ·

Epic's Nanite Gets Tessellation Support, Developer Blog Explains the Tech

A technical blog post titled 'Nanite Tessellation' was published on the Graphic Rants developer blog in February 2026. The post discusses tessellation capabilities added to Nanite, Epic Games' virtualized geometry system used in Unreal Engine. Nanite is known for rendering highly detailed meshes efficiently, and tessellation extends this by dynamically subdividing geometry for finer surface detail. The article attracted modest attention on Hacker News, garnering 9 points and one comment. Full technical details are available at the original blog post URL.

0
ProgrammingDEV Community ·

DEV Community Members Share Weekly Coding, Learning, and Networking Goals

DEV Community's weekly goal-setting thread, edition 196, invited developers to share what they planned to build, learn, and attend during the week. Participants outlined objectives ranging from job searching and networking to working on side projects and exploring GitHub Copilot. Community events included Thursday Virtual Coffee meetups and a GitHub Copilot demo session. Several contributors later updated their posts with completion statuses, marking most goals as achieved while a few, such as CSS Battles, went unfinished. The thread serves as a recurring peer accountability space within the DEV Community platform.

0
ProgrammingDEV Community ·

Python's PYTHONHASHSEED caused random migration order, not a framework bug

A developer spent two days debugging a migration generator that produced identical SQL statements in a different order on each run. The root cause was Python's default per-process hash randomisation, which affects set iteration order for strings, bytes, and datetime keys. A dependency resolver in the codebase used set.pop() to walk module names, and since set ordering follows salted hash table layout, the sequence changed with every new process. The bug was invisible inside a single REPL session, which was the key clue that pointed to a per-process rather than a per-call variable. The fix requires replacing set-based iteration with an explicitly ordered structure such as a sorted list wherever deterministic sequencing matters.

0
ProgrammingDEV Community ·

Why Your AI Agent Loop Really Stopped at Step 41: It Was the Budget

Long-running AI agent loops often fail not due to model errors or network issues, but because developers track only one cost dimension — typically compute spend — while ignoring wall clock time, context size, and disk usage. Attributing a mid-run failure to the last visible event is usually misleading, as the real cause is an unmanaged budget across multiple dimensions. Verifying agent work via transcript text or exit codes is unreliable; side effects like file hashes and live endpoints are the only trustworthy evidence that a step actually executed. Loops should be treated as event logs with timestamped, hashed steps rather than reproducible functions, since sampling variation and context drift mean no two runs are identical. When steps fail, naive instant retries compound costs and mask root causes — exponential backoff with a hard stop and journal-based resumption from the last good step is the recommended approach.

0
ProgrammingHacker News ·

Construction Automation: Where It Has Actually Worked

A recent analysis on Construction Physics examines the sectors within construction where automation has achieved measurable success. The piece explores why automation has proven difficult to implement broadly in construction compared to other industries. Certain niches, such as prefabrication and modular building, are highlighted as areas where automated processes have gained traction. The discussion has drawn attention on Hacker News, sparking conversation about the barriers and breakthroughs in construction technology.

0
ProgrammingDEV Community ·

Developer Builds External Verifier to Catch AI Agents Falsely Claiming Task Completion

A software developer has built a verification engine called COGEXT after a year of deploying AI agents that silently failed by claiming actions were completed when they were not. Unlike existing observability tools such as LangSmith and Arize, which only log what an AI agent said, COGEXT cross-checks claims against the actual external systems the agent was supposed to have acted upon. When an agent makes a commitment, a verifier query is generated at that same moment and later used to confirm the real-world outcome — for example, checking Gmail's sent folder to verify an email was actually delivered. If no verifiable check can be written for a commitment, the system flags it as unverifiable upfront rather than tracking it silently. State transitions, including marking a task as fulfilled, are enforced at the database level and require external evidence, removing the agent's self-reported output as a trusted signal.

0
ProgrammingDEV Community ·

SQL Filtering and Joins: Key Step 2 for Aspiring Data Analysts

After mastering basic SELECT statements, SQL learners should progress to joins and filtering to combine and narrow down data across multiple tables. SQL supports five main types of joins — INNER, LEFT, RIGHT, FULL OUTER, and SELF — each serving a different purpose when linking related tables through a common column. Filtering tools such as WHERE, AND/OR, IN, BETWEEN, LIKE, and IS NULL help restrict query results to only the relevant records. The HAVING clause extends filtering to aggregated data, since WHERE cannot operate on results produced by GROUP BY. These concepts form a critical second stage in learning SQL, bridging basic queries and more advanced data transformation operations.

0
ProgrammingDEV Community ·

Gemma 4B beats Mistral 7B for batch message grading on limited hardware

A developer testing LLM-based message grading on an RTX 4050 GPU with 6GB VRAM found that hardware constraints heavily influenced model selection. Initial trials with phi-4-mini failed at batch grading, producing schema-compliant output only 60% of the time and adding over 10 minutes of latency per 130 messages. Mistral 7B passed early tests but broke down on real-world mixed-length messages because its 8K context window was insufficient for average token loads of around 16K. Gemma 4B, despite having fewer parameters, offered a 32K context window that comfortably handled peak usage of 28K tokens while maintaining full schema compliance across test batches. The choice highlighted that optimal model selection under hardware constraints prioritizes fit-for-purpose performance over raw model capability.

0
ProgrammingDEV Community ·

AI Makes Hackathon Completion Easy but Undermines the Learning It Once Forced

A developer and hackathon participant argues that AI tools have fundamentally changed what it means to complete a hackathon project. Before AI, finishing required genuine technical understanding, as builders wrestled with debugging, syntax errors, and steep learning curves that enforced slow but meaningful skill-building. Now, AI removes most of that friction, allowing anyone with a well-crafted prompt to ship a working demo without deeply understanding what they built. Critics say this shift has let 'idea guys' dominate hackathons, diluting the signal that a finished project once sent to recruiters and peers. The author contends that while hackathons still expose newcomers to what is achievable in the industry, the tech community has yet to find a replacement mechanism that drives fast, substantive learning without letting participants skip real comprehension.

0
ProgrammingHacker News ·

Adversarial Fashion Uses Clothing Patterns to Fool AI Surveillance Systems

Adversarial fashion is an emerging design movement that incorporates disruptive visual patterns into everyday clothing to confuse and evade AI-powered surveillance systems. The designs exploit weaknesses in machine learning algorithms, causing cameras and automated recognition tools to misidentify or overlook the wearer. Designers in this space are responding to growing concerns about the spread of AI surveillance in public spaces, often described as a modern panopticon. The movement sits at the intersection of fashion, privacy advocacy, and technology, raising questions about civil liberties in an increasingly monitored world.

0
ProgrammingDEV Community ·

Why AI Workflow Failures Go Unresolved for Weeks: The Ownership Gap Problem

When AI workflows break in production, fixing them is often delayed not by technical complexity but by a lack of clear organizational ownership. Each team member — developers, data scientists, prompt engineers, and ops staff — can only see their own layer of the pipeline, so incident tickets get passed around without anyone diagnosing the root cause. Unlike traditional software, AI workflows rarely throw errors when producing wrong outputs, leaving no stack trace or log entry to guide debugging. Failures typically occur at the intersection of pipeline layers, yet no single person is accountable for the end-to-end workflow. This structural gap is identified as the primary reason AI workflow incidents that could be resolved in hours instead drag on for weeks.

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.

← NewerPage 1260 of 3230Older →