SShortSingh.

Programming

0
ProgrammingDEV Community ·

Linux process monitoring has evolved from /proc polling to eBPF tracepoints

Linux process monitoring has moved through three generations: polling /proc, using ptrace and exec hooks, and now eBPF tracepoints. Early /proc polling is simple and portable but lossy, misses short-lived processes, scales poorly, and lacks parent-child lineage. The ptrace approach gives precise per-syscall visibility but severely slows traced workloads and only covers processes already known to be attached to. Modern eBPF tracepoints run in kernel space without stopping the traced task, providing lossless, kernel-attributed data suited to fleet-wide monitoring, though they require BTF and kernel 5.8 or newer. The article also stresses practical correctness: using short time windows for detection, matching on binary path and inode rather than spoofable names, and keying process state by PID plus start time to handle PID recycling.

0
ProgrammingDEV Community ·

Hisaab: Open-source Android app uses on-device Gemma 4 to read bank SMS without internet access

A developer built Hisaab, an Android app that analyzes Indian bank SMS alerts to track spending and flag suspicious transactions. The app runs the Gemma 4 E2B model directly on the phone, and it has no internet permission, so financial messages never leave the device. Regex handles exact amounts and due dates, while fixed rules decide when to alert, keeping the model away from money figures. Gemma is used only to identify merchants and categories and to write a short morning summary. Alerts for mismatched bills, duplicate charges, unusual payments, and new auto-debits appear as notifications with "It was me" and "Not me" options.

0
ProgrammingDEV Community ·

Why compilers alone cannot turn messy code into provably faster algorithms

An article on DEV Community argues that the long-held belief that a sufficiently smart compiler could replace code with faster, provably equivalent algorithms runs into Rice's Theorem, which makes most semantic program properties undecidable. It describes what current tools actually do: compilers like GCC and LLVM optimize within a fixed algorithm, MLIR and XLA rewrite declared tensor graphs, and superoptimizers such as STOKE search small instruction sequences. The piece contrasts these formal methods with AI transformers, which can infer intent and suggest algorithmic upgrades but offer no soundness guarantees. The author concludes that neither approach is sufficient alone and that the future lies in a feedback loop combining compilers and AI.

0
ProgrammingHacker News ·

Building a VGA Display Driver in SystemVerilog, From the Bottom Up

A blog post on lukaswerner.com describes the author's project of writing a VGA display driver in SystemVerilog. The approach builds the design bottom-up, starting from low-level hardware components. The post was shared on Hacker News, where it received 13 points and no comments at the time of capture. The available source text contains only the link and metadata, so specific technical details of the implementation are not reported here.

0
ProgrammingDEV Community ·

Microsoft Patches Critical Unauthenticated RCE Flaw CVE-2026-70024 in IIS

Microsoft published CVE-2026-70024 on October 13, 2026, describing a stack-based buffer overflow in Windows Internet Information Services. The flaw can be reached over the network without credentials or user interaction, and it carries a CVSS 3.1 score of 9.8 with high impacts on confidentiality, integrity and availability. Public sources do not document an affected function, trigger format or proof of concept, and CISA's assessment records no known exploitation. Defenders are advised to check whether hosts run builds below the fixed version, watch for unusual child processes or outbound connections from IIS worker processes, and apply the October 2026 cumulative update.

0
ProgrammingDEV Community ·

Fleet Monitoring for Linux: Managing 100+ Servers Without Kubernetes

The article argues that fleet monitoring is distinct from Kubernetes monitoring and proposes an agent-per-host design, with one static binary on each machine feeding a shared backend and dashboard. It contends that many single-host monitoring tools break down at around 100 nodes because they store state keyed by hostname and assume a single machine-id, which makes tracking rebuilt or re-imaged hosts unreliable. The author's tool, Talus, is described as using a machine-id identity and per-machine license seats so that events from different hosts can be correlated by ID rather than by log searches. Deployment is presented as the first practical hurdle at scale, addressed through a single installable package, a one-time root requirement for eBPF attachment followed by privilege dropping, and license reactivation when nodes are re-imaged. The article also cites cross-host timing of suspicious activity as the key use case and lists fleet pricing at $30 per node per year starting from three nodes.

0
ProgrammingDEV Community ·

Deploying Agno Agents to Production as a REST API with HiveGate

Running an Agno agent in a script takes only a few lines of Python, but serving it to thousands of users requires an HTTP endpoint, per-user conversations, persistent history, API keys, and containerized deployment. The article presents HiveGate, an MIT-licensed FastAPI service built on Agno, as a way to handle these needs. It contrasts HiveGate with Agno's own AgentOS, which suits agents defined in code, while HiveGate targets agents acting in users' Google or Microsoft accounts and agents managed as data via an API. Agents are created with a POST request, with the template stored as a versioned prompt in Postgres that can be updated without redeploying. Chat requests require user and session identifiers, which tie into Agno's Postgres-backed history and per-user memory.

0
ProgrammingHacker News ·

Sixteen Years After Deepwater Horizon, Deep-Sea Life Shows Little Sign of Recovery

A report marking sixteen years since the Deepwater Horizon disaster finds that deep-sea ecosystems have shown limited signs of recovery. The source material is a brief digest from Yale Environment 360 that was shared on Hacker News, where it gathered modest attention. The available text provides only a link and engagement metrics, so the specific scientific findings, sample sizes, and data behind the conclusion cannot be confirmed here. Readers seeking details on the affected species or the methods used would need to consult the original article.

0
ProgrammingHacker News ·

Steam Users Request No-AI Filter as Next Fest Fills With AI-Generated Games

Steam users are calling for a filter that would hide games made with artificial intelligence, according to an IGN article. The complaints centre on the Steam Next Fest demo event, where many titles reportedly appear to be AI-generated low-quality projects. Critics describe the flood of such games as 'slop,' expressing frustration that they crowd out genuine developer work. The article was shared on Hacker News, where it drew 47 points and 14 comments. The request reflects wider concern among players about how generative AI is affecting discoverability on the platform.

0
ProgrammingHacker News ·

IKEA 3D Guide: A Web Project Offering Visual Assembly Instructions

A web project titled 'IKEA – 3D Guide' has been shared on Hacker News, linking to an external page at sael.net. The item drew 18 points and 2 comments on the discussion forum. The source text provided contains only the link and engagement metrics, without a detailed description of the project's features. Readers wanting specifics would need to visit the linked page directly.

0
ProgrammingHacker News ·

Study Probes Why Workplace Meetings Keep Multiplying

A working paper published by the National Bureau of Economic Research examines the reasons behind the growing number of meetings in organizations. The item was shared on Hacker News, where it gathered 20 points and 5 comments. The source material provided is limited to a link and discussion metadata, so the paper's specific findings and methodology are not described here. Readers seeking the study's conclusions would need to consult the NBER paper directly.

0
ProgrammingHacker News ·

Jev Cards Pits Players Against a Vision Model in Picture Quizzes

A developer has released Jev Cards, a picture quiz game built around TypeSafe's Jev model, which has vision capabilities. Jev views an image and a question and selects an answer or taps a location in roughly a quarter of a second. Players can compete against Jev solo, with a leaderboard for each mode, or challenge friends in live matches where Jev joins as another player. The project's code is open source, and the creator plans to add more cards over time, though the newest ones remain private for a period. The creator disclosed that they work at Opper, which was used to run Jev and create the cards, though the game does not require Opper to play or run.

0
ProgrammingHacker News ·

Penmentor Uses Claude to Mark Up Handwritten Math Work Like a Teacher

A developer has shared Penmentor, a project that applies Claude to feedback on handwritten mathematics. The tool is designed to annotate a student's written work in the way a teacher would during grading. It was posted as a Show HN project on Hacker News, where it received 8 points and no comments at the time of the listing. The source material provides limited detail beyond the project's GitHub repository, so specifics about features and accuracy are not available.

0
ProgrammingHacker News ·

Respan Launches Open-Source Rust AI Gateway Built on a Plugin Architecture

Respan, a Y Combinator W24 startup, has launched an open-source AI gateway written in Rust that uses a small core with everything else built as plugins. The design covers LLM providers, protocols such as MCP and voice, modalities like images and video, and features including fallbacks, PII redaction, and smart routing. The company says it grew out of a wrapper around LiteLLM that became hard to maintain, and that a failed LiteLLM upgrade in January led it to redesign the gateway. Developers can add their own providers and features as plugins without changing the core, and the gateway translates between API formats so applications can use models from other vendors. The project is inspired by Nginx's minimal-core approach.

0
ProgrammingHacker News ·

Guide Explores Linking Real-Time Live Streaming to Video-on-Demand

A Red5 blog post, shared on Hacker News, discusses how real-time live streaming can be connected to video-on-demand delivery. The article is presented as a how-to guide on bridging these two streaming approaches. It was posted to Hacker News, where it gathered 5 points and one comment at the time of capture. The source text provided is limited to the link and engagement metrics, so the specific technical steps are not described in detail here.

0
ProgrammingHacker News ·

Facebook reportedly plans fee for posting more than two links a month

A post on Mastodon by user AshleyGullen claims that Facebook is now charging users who share more than two links per month. The claim was shared on Hacker News, where it gained modest attention with 11 points and 2 comments. The source material is a social media post and a discussion thread rather than an official announcement from Meta. No confirmation from Facebook or its parent company was included in the available information. Details such as how the fee works and when it takes effect remain unverified.

0
ProgrammingHacker News ·

Blogger Recounts Being Banned from the r/java Subreddit

A blog post by developer S.J. Hannah describes the author being banned from the r/java subreddit. The article was shared on Hacker News, where it received 11 points and 8 comments. The provided text includes only the post's metadata and links, so the specific reasons for the ban and the subreddit's response are not detailed here. Readers would need to consult the original blog post for the author's full account.

0
ProgrammingHacker News ·

Show HN: Tool to run Claude Code unattended in a sandbox with a dollar spending cap

A developer has shared a Show HN project on Hacker News that lets Claude Code run without supervision inside a contained environment. The tool enforces a spending limit, capping costs at under one dollar per session. The project is hosted on GitHub and drew five points and one comment on the forum. The source material provides little detail beyond the project description and linked repository.

0
ProgrammingDEV Community ·

Developer's self-scan finds own repo still on retiring macos-14 runner image

On October 19, GitHub began rolling the ubuntu-latest label to Ubuntu 26.04 and started a first brownout of the macos-14 image ahead of its November 2 retirement. The author ran their RunnerDriftAudit scanner on five repositories and found eleven high-severity floating or retired runner labels, including one iOS project still pinned to macos-14. Switching that workflow to macos-15 fixed it, with CI passing on the new image the same morning. The author deliberately left other floating labels in place where they serve as intentional tests, and noted that unpinned actions/checkout@v4 references remain unfixed. The scanner is a free, open-source, single-file Python tool.

0
ProgrammingDEV Community ·

Deleted Open Files Keep Disk Space Until the Writing Process Exits

A cleanup that removes camera clips can leave disk usage unchanged if a process still holds one of the files open. On Linux, removing a name does not release the space while a file descriptor remains open. In tests on ext4 using a stand-in recorder, a deleted 200 MiB file kept its space allocated until the writing process exited. The author found the process with lsof and /proc, and noted that truncating the file through /proc freed space but left the writer with a sparse file. The behavior matches the unlink(2) documentation, which keeps the file in existence until the last descriptor closes.

← NewerPage 275 of 3052Older →