SShortSingh.

Programming

0
ProgrammingDEV Community ·

TDengine Flaw CVE-2026-42542 Lets Single Packet Crash Industrial Database Service

Ridge Security disclosed CVE-2026-42542 on September 23, 2026, a high-severity vulnerability in TDengine's unauthenticated RPC processing on TCP port 6030. An integer underflow in the message-length calculation causes a signed-to-unsigned wrap-around, passing an oversized value to memcpy and triggering an out-of-bounds heap access that crashes the taosd process. An attacker with network access to the port — including from a compromised internal host on a flat OT network — can repeatedly send crafted packets to sustain a restart loop and create gaps in data ingestion. The confirmed impact is Denial of Service; remote code execution has not been verified. TDengine users are advised to upgrade to version 3.4.1.6 or later and restrict network access to TCP/6030.

0
ProgrammingDEV Community ·

Vim Basics: A Beginner's Guide to Modes, Editing, and Saving Files

Vim is a keyboard-driven command-line text editor and an enhanced version of the classic Unix 'vi', widely used for editing code and plain-text files. It operates through three primary modes: Normal mode (activated by Esc), Insert mode (activated by pressing 'i'), and Command mode (accessed by typing ':' in Normal mode). Users can open a file by running 'vim filename' in the terminal, and Insert mode allows them to type and edit content directly. To save changes, users type ':w' and press Enter, while ':wq' saves and exits simultaneously. For those who wish to exit without saving, the command ':q!' discards all changes and closes the editor immediately.

0
ProgrammingDEV Community ·

Angular Developer Reveals Hidden Screen Reader Pitfalls in Combobox Accessibility

A frontend developer with 13 years of experience built ngx-generic-combobox, an Angular 22 component using Signals, to address real-world accessibility gaps in combobox UI elements. The project found that passing automated ARIA audits does not guarantee usability with screen readers, as issues around focus management, announcements, and dynamic list changes are often overlooked. A key fix involved using virtual focus with aria-activedescendant so keyboard users can continue typing while navigating options, since moving real DOM focus to list items breaks text input. The component also uses a live region to announce result counts politely, avoiding interruptions mid-keystroke, and implements a two-step Escape key behavior to prevent accidental data loss. These decisions, the developer notes, apply broadly across frameworks and highlight the gap between technical ARIA compliance and genuine assistive technology support.

0
ProgrammingDEV Community ·

File Notification APIs on Linux, Android, and Windows Leak User Activity, Researchers Find

Researchers from Graz University of Technology have disclosed a side-channel attack that exploits file change notification systems on Linux, Android, Windows, and macOS to infer user activity without elevated privileges. Unprivileged local processes and Android apps requiring no special permissions can monitor file notification events to estimate keystroke timing, browsing destinations, and WhatsApp media interactions without accessing file contents. On Linux, the technique also enables UI spoofing, where a fake KDE Plasma authentication screen overlays the legitimate one to steal credentials entered by the victim. The severity is rated high because the attack requires only local code execution, and a proof-of-concept has been published, though active exploitation in the wild has not been confirmed. Partial mitigations exist on Linux, while Windows mitigations are disabled by default.

0
ProgrammingDEV Community ·

AI Agents Explained: How They Differ From Chatbots and Why It Matters

AI agents are a new generation of systems built on large language models that can plan, execute, and review multi-step tasks autonomously, going well beyond simple question-and-answer chatbots. Unlike traditional automation tools that follow fixed rules, AI agents understand context and adapt when conditions change, such as locating information on a redesigned webpage. Their work cycle consists of four phases: perceiving inputs, planning steps, executing actions using external tools, and reviewing results before proceeding. Practical use cases include competitive price monitoring, customer support, content creation, invoice follow-ups, and sales outreach. Despite their advantages in saving time and reducing human error, experts stress that human oversight remains essential for sensitive tasks, and access permissions should be carefully controlled.

0
ProgrammingDEV Community ·

Auto Memory vs CLAUDE.md: Claude Code Reliability Tested Across Fresh Sessions

A developer experiment tested whether a single fact stored in Claude Code's auto memory system could reliably guide behavior in new sessions, the same way a CLAUDE.md instruction does. Across four fresh sessions, the auto memory line succeeded on the first attempt in three cases and after one retry in the fourth, while the CLAUDE.md line succeeded first-attempt in all four sessions. Sessions with neither mechanism in place failed to recover in any of the four runs, tested on Claude Code version 2.1.278. The experiment was prompted by a reader's challenge to actually measure whether captured memories influence later sessions, rather than assuming they do. Both memory systems load text at session start as context rather than enforced configuration, meaning neither mechanism guarantees behavior — a distinction the researchers noted as key to interpreting the results.

0
ProgrammingDEV Community ·

Anthropic Adds Invisible Watermark to Claude Outputs for AI Transparency

Anthropic has begun rolling out an invisible text watermark across Claude models and platforms, including its API, Claude Code, and cloud partner outputs. The watermark uses a SynthID-Text approach and is designed to help authorized parties verify whether content was AI-generated, without being detectable by ordinary readers. Anthropic developed the feature partly to comply with the EU AI Act and the EU Code of Practice on Transparency of AI-Generated Content, which it signed alongside roughly 190 other organizations. The company also plans to attach C2PA-based Content Credentials to certain supported files such as images, and a private-preview detection API for regulators and entities with transparency obligations is in the works. Anthropic clarifies that the watermark is not a search-ranking signal and does not affect content quality, though detection is probabilistic and heavy editing can reduce its reliability.

0
ProgrammingDEV Community ·

Malicious 'sckit' Package Found Hidden in MemOS AI Framework on npm and PyPI

Security researchers discovered a supply chain attack in which a malicious component called 'sckit' was embedded within legitimate MemTensor MemOS releases distributed through npm and PyPI package registries. Unlike typical malware, the payload does not activate during installation but instead triggers when affected Python packages are imported, the OpenClaw gateway is started, or a memory-recall hook is invoked. Once active, platform-specific binaries scan developer workstations, CI runners, and OpenClaw hosts for credentials including tokens from GitHub, npm, PyPI, cloud services, and Slack, then transmit stolen data to domains under skyleen.fr. The attack was rated critical severity by Semgrep, which published its analysis on September 23, 2026, with corroborating findings from Aikido and StepSecurity. Organizations are advised to block affected package versions, rotate credentials, use short-lived tokens in CI pipelines, and restrict outbound connections to unapproved domains.

0
ProgrammingHacker News ·

HomelabFest Conference Scheduled for St. Louis in September 2027

HomelabFest, a community event centered around home server and self-hosting enthusiasts, has announced its upcoming gathering will be held in St. Louis. The event is slated for September 2027, giving attendees and organizers considerable lead time to prepare. The announcement was shared via the official HomelabFest website. Details about specific dates, venue, and programming have not yet been fully disclosed in the initial announcement.

0
ProgrammingDEV Community ·

How Pixel Budgeting Prevents PDF-to-Image Timeouts in Property Management Apps

Developers handling PDF-to-image conversions in property management systems often misdiagnose timeouts as broken files, when the real cause is an unbudgeted rendering workload. Page geometry and total output pixel count — calculated using page dimensions, DPI, and page count — should be assessed before any conversion job is scheduled. Doubling the DPI quadruples output pixels due to a square-law effect, meaning a 40-page lease at 300 DPI represents a far heavier workload than it appears. Privacy and completeness rules are equally critical: no unredacted page should reach preview storage, and a preview should only be marked ready once every admitted page has been successfully rendered and redacted. Teams are advised to set explicit policy limits on pages, pixels, and in-flight memory, routing oversized requests to asynchronous queues rather than blocking interactive workers.

0
ProgrammingDEV Community ·

Developer automates full Kubernetes HA cluster setup on a single KVM host

A developer frustrated by repeatedly rebuilding a homelab Kubernetes cluster by hand created a shell script that automates the entire process with a single command. The script provisions six VMs on one KVM host, configures HAProxy as a load balancer, initializes a three-node control-plane cluster using kubeadm with stacked etcd, and adds two worker nodes with ingress-nginx. It uses Rocky Linux 9 cloud images with cloud-init to avoid manual OS installation, and runs node preparation steps in parallel to cut setup time to roughly 10–20 minutes. The script is divided into idempotent stages, so a failed run can be resumed from the point of failure rather than restarted from scratch. The project is aimed at homelab enthusiasts and those studying for the Certified Kubernetes Administrator exam, and has been published with a full README.

0
ProgrammingDEV Community ·

Go developer builds ginboot to cut boilerplate in Gin-based HTTP services

A Go developer created ginboot, a lightweight framework layer built on top of the popular Gin HTTP library, to eliminate repetitive handler code across services. The tool addresses recurring patterns such as request binding, error handling, and CRUD repository setup that developers typically rewrite for every new Gin project. In ginboot, handlers return a typed value and an error instead of manually writing JSON responses, with the framework automatically handling binding failures and error-to-status-code mapping at route registration time. It also provides a generic MongoDB repository, structured API error types, and opinionated defaults for config loading and health endpoints. The project is positioned not as a new HTTP stack but as a set of conventions that preserve full access to the underlying Gin context and ecosystem.

0
ProgrammingDEV Community ·

GitHub Copilot App vs JetBrains Air: A Java Dev Compares Agentic IDEs

A Java developer with a long history of using IntelliJ tested two AI-first IDEs — GitHub Copilot App and JetBrains Air — to evaluate their agentic coding capabilities. The GitHub Copilot App impressed by autonomously resolving a Java toolchain certificate error and opening Swagger docs directly within the IDE, reducing manual setup steps. However, its use of git worktrees made it difficult to manually browse or edit the codebase alongside the tool, forcing the developer to keep IntelliJ open separately. JetBrains Air, a new offering from the makers of IntelliJ, places the AI prompt front and center with a familiar interface and supports multiple AI providers including Claude and Gemini. The developer found Air's cleaner UI appealing, though the full comparison between the two tools was still underway at the time of writing.

0
ProgrammingDEV Community ·

Developer releases CLI tool Agent Pigeon to summarize coding agent session history

A developer has released Agent Pigeon, an open-source command-line tool that parses local session histories from Claude Code and Codex and generates concise flight reports. The tool is designed to surface key activity — including edits, verification checks, and fail-to-pass sequences — from lengthy coding-agent runs in a scannable format. Users can invoke it with a single npx command, and a compare mode allows side-by-side review of two sessions. The developer noted several limitations, including unreliable read attribution for Codex and heuristic-based verification detection that may miss custom scripts. After encountering false positives during testing, live interruption features were dropped in favor of read-only observation of completed sessions.

0
ProgrammingDEV Community ·

How One Developer Escaped 'Tutorial Hell' After 40 Hours of Passive Learning

A self-taught developer has shared a structured method for breaking out of 'tutorial hell,' a common trap where learners watch coding courses extensively but struggle to build anything independently. The core problem, as described, is that tutorials present pre-solved problems, removing the productive struggle that drives real skill development. The proposed three-step system involves completing a tutorial once, rebuilding the project from scratch without guidance, and then adding features the tutorial never covered. This remix phase is highlighted as the critical point where passive consumption shifts to active problem-solving. The approach has reportedly been adopted within the author's IT club as a practical alternative to accumulating courses without building a portfolio.

0
ProgrammingHacker News ·

Jury holds Facebook liable for deceiving users in Cambridge Analytica scandal

A jury has found Facebook liable for deceiving its users in connection with the Cambridge Analytica data scandal. The case centers on how Facebook misled users about the extent to which their personal data was being collected and shared with third parties. Cambridge Analytica, a political consulting firm, had harvested data from millions of Facebook users without their explicit consent. The verdict marks a significant legal development in the long-running fallout from the 2018 scandal that drew global scrutiny to Facebook's data practices.

0
ProgrammingDEV Community ·

DOGFOOD Platform Makes Hackathon Results Cryptographically Verifiable and Recomputable

A new open-source hackathon platform called DOGFOOD, built by Hackathon Raptors over 72 hours, allows anyone to independently recompute and verify judging results without trusting the host. Judges score each criterion from 1 to 5, organizers assign weights per criterion, and a bias-correction model removes individual judge leniency before ranking projects. Results are bundled with raw scores, the rubric, methodology parameters, and source code, then cryptographically signed using an Ed25519 key, so any altered score is flagged as unverified. The platform also publishes uncertainty bands alongside rankings, openly acknowledging when adjacent scores are statistically tied rather than implying false precision. The project is available under the MIT license at github.com/zkasuran/dogfood-portal and requires no cloud account or hosted database to run.

0
ProgrammingDEV Community ·

Developer Builds AI Agent That Monitors Blood Sugar and Suggests Corrective Meals

A developer has published a tutorial demonstrating how to build a proactive health agent using LangGraph, the Dexcom CGM API, and OpenAI. Unlike conventional health apps that simply log data after the fact, the system continuously monitors real-time blood glucose readings and triggers an AI-driven response when abnormal trends are detected. When a rapid sugar spike or crash is identified, the agent uses OpenAI function calling to analyze the metabolic trend and recommend or order a corrective meal through a delivery API. The architecture is built as a state machine graph in LangGraph.js, allowing the system to loop back and reassess if glucose levels have not stabilized or if meal options fail nutritional criteria. The tutorial requires Node.js, a Dexcom developer sandbox account, and OpenAI API access, and is intended as a blueprint for production-ready AI wellness applications.

0
ProgrammingDEV Community ·

Abliterated AI Models Lose Instruction-Following Before General Knowledge, Study Finds

Abliteration is a weight-editing technique that removes a model's refusal behaviour by projecting a 'refusal direction' out of its activation space, requiring no retraining. A new analysis finds that the primary casualty of this process is not general knowledge or prose quality, but instruction-following and structured-output compliance, such as adhering to JSON schemas or tool-call syntax. Standard evaluations — chatting with the model and checking it doesn't refuse — fail to detect this degradation, making abliterated models appear functional until they are integrated into systems that parse their output. The author recommends testing format compliance independently of answer correctness, scoring binary adherence to an output contract across multiple requests. An additional unconfirmed observation suggests that abliteration damage may compound with quantisation loss, meaning abliterated models degrade faster down a quantisation ladder than their unmodified counterparts.

0
ProgrammingDEV Community ·

LLM providers often silently cap context windows far below advertised limits

A developer running hosted chat and coding agents on open-weight models found that most API providers serve only around 32K tokens of context, regardless of the much larger figures stated on model cards. The advertised context window reflects the model weights, but the actual limit is set by the infrastructure operator, who must balance memory costs against serving capacity. The critical issue is not the cap itself but that it is rarely documented and fails silently — requests are simply truncated from the front without any error or warning. This causes subtle but serious problems in agentic and RAG workflows, where lost context can make a model appear incompetent at long tasks when the real culprit is a hidden serving limit. The developer calls for providers to expose the effective context ceiling per request through model metadata or response headers, rather than forcing developers to reverse-engineer it from error messages.

← NewerPage 911 of 3181Older →