SShortSingh.

Programming

0
ProgrammingDEV Community ·

QuantMLA's INT4/INT2 dual-path cache lifts long-context serving throughput over fivefold

Serving transformers with very long token windows often runs into memory bottlenecks that hinder real-time deployment. The QuantMLA approach uses a dual-path INT4/INT2 key-value cache, which reportedly yields more than five times the whole-job output throughput of a BF16 baseline under long-sequence pressure tests. Conventional BF16 caches grow linearly with sequence length, causing memory preemptions and recomputation that limit practical window sizes. At a 128k-token window, QuantMLA compresses the combined content and RoPE cache by 3.59 times and reportedly avoids preemption entirely. The authors stress that the gain comes from avoiding capacity-driven recomputation rather than from a faster attention kernel, and they caution that positional signals may degrade on tasks requiring fine-grained geometry.

0
ProgrammingDEV Community ·

DeepLearning.AI and AWS Course Covers Source Systems, Batch and Streaming Ingestion, and Pipelines

A learner completed the second course in the DeepLearning.AI and AWS Data Engineering Professional Certificate on October 3, 2026, passing the final exam after hands-on AWS labs. The course covered how source systems generate and update data, how to connect to them, and how to troubleshoot common connection problems. Participants compared batch and streaming ingestion patterns and the ETL and ELT approaches, and built one pipeline of each type on AWS. The material also addressed orchestrating pipelines with infrastructure and pipelines as code, using Apache Airflow, along with monitoring tools for data systems and data quality. The author notes that choosing batch or streaming depends on the use case, while ETL versus ELT depends on whether transformation happens before or after loading.

0
ProgrammingHacker News ·

Nexus-CLI Offers Pure Go Bridge Linking DeepSeek R1/V3 with Claude Code and Ollama

A new open-source tool called Nexus-CLI has been shared on Hacker News, providing a bridge written entirely in Go. It connects DeepSeek's R1 and V3 models with Claude Code and Ollama. The project is hosted on GitHub and had gained three points with no comments at the time of posting. The available source material offers little detail beyond the project's name, description, and link, so its full capabilities are not described here.

0
ProgrammingHacker News ·

Study Argues Asking LLMs for Confidence Scores Is Unreliable

A blog post published on rumple.github.io argues that using large language models to self-report confidence scores is a poor practice. The piece was shared on Hacker News, where it gathered 48 points and 30 comments. The article's central claim is that the confidence values LLMs produce about their own answers do not reliably reflect how accurate those answers are. The source text provided is only metadata, so the specific reasoning and evidence behind this conclusion could not be verified in detail.

0
ProgrammingHacker News ·

Details of a Major PHP Vulnerability Surface Online

A post on jackalsyn.com reportedly discusses a significant security flaw in PHP, shared and circulated via Hacker News. The source material provided is limited to the link and discussion metadata, with no article body available to verify technical specifics. It is not clear from the available information which PHP versions are affected, how the flaw could be exploited, or whether patches exist. The discussion thread on Hacker News had gained five points and no comments at the time of retrieval. Readers should consult the original post and official PHP security advisories for verified details.

0
ProgrammingDEV Community ·

Developer builds Chucka, a personal morning briefing that sends a dashboard and voice note via WhatsApp

A developer built a personal automation called Chucka, also known as MorningDashboard, that sends a daily briefing to their own WhatsApp at 7am. The message includes a dashboard image rendered from live Obsidian vault files, covering top tasks, job pipeline and project status, along with a roughly one-minute voice note. The spoken script is generated by an LLM each morning and includes Melbourne weather, then converted to audio with a three-tier text-to-speech chain. The developer later open-sourced the project on 17 October 2026 and found that a message showing as sent only means it was queued, so the runner now waits for delivery confirmation.

0
ProgrammingDEV Community ·

Cómo aplicar DDD y arquitectura hexagonal en NestJS con un ejemplo práctico

Un servicio NestJS que empieza con controladores y llamadas directas a Prisma se vuelve difícil de cambiar cuando aparecen reglas de negocio como asignación de técnicos o tareas obligatorias. El artículo propone usar Domain-Driven Design para expresar ese comportamiento y la arquitectura hexagonal para controlar las dependencias. Como ejemplo, desarrolla una API de gestión de servicios con TypeScript, NestJS, Prisma y PostgreSQL, organizada en dos módulos: órdenes de servicio y visitas. Las reglas incluyen prioridades según el nivel de servicio, finalización condicionada a actividades completadas y programación de visitas sin solapamientos. El código completo está disponible en GitHub como implementación educativa.

0
ProgrammingDEV Community ·

Python Tutorial Validates Email Lists Using Syntax, DNS and Disposable Checks

A DEV Community how-to explains how to validate an email list in Python without connecting to recipients' mail servers. The method relies on an Apify actor that checks syntax, DNS/MX records, disposable domains and role addresses, avoiding slow SMTP connections that can get a sender's IP flagged. The author notes the tool discloses its own authorship and was built with AI assistance, and that it is a how-to rather than a benchmark. The guide includes sample API code and output, along with statuses such as deliverable_domain, disposable and invalid_domain. It cautions that the tool cannot confirm whether a specific mailbox exists, and that pricing is per validated email.

0
ProgrammingDEV Community ·

Applying DDD and Hexagonal Architecture to a NestJS API: A Practical Guide

The guide addresses a common problem in NestJS applications, where services grow to handle business rules, HTTP concerns, and database work together, making changes and testing harder. It uses a service-management API built with TypeScript, NestJS, Prisma, and PostgreSQL as its example, organized into two modules: service-orders and visits. Domain-Driven Design is used to express business behavior as named operations, while Hexagonal Architecture controls dependencies between the business logic and external technologies. The author presents the example as an educational implementation, acknowledging its concrete limitations alongside its benefits. The complete code is published in a GitHub repository called nest-ddd-hexagonal.

0
ProgrammingDEV Community ·

Scan Finds 8.16 Million WordPress Sites, 5.16 Million Resolving to the US

A measurement session on 20 October 2026 counted about 8.16 million internet-facing WordPress assets, with roughly 5.16 million located in the United States. The analysis notes that US geography largely reflects where cloud hosting regions sit, not where site owners are based. The author argues that the real security risk lies in third-party plugins and themes, whose versions are often invisible to external scanning. Web server totals for Apache httpd and nginx are presented as context for scale rather than as direct security indicators. The piece recommends organizations inventory WordPress installations and track plugin versions internally, using external counts only for completeness checks.

0
ProgrammingDEV Community ·

ServiceNow Updates CAD Exam Blueprint With Six Domains and Study Guidance

ServiceNow revised its Certified Application Developer exam blueprint in January 2026, listing six domains, with four carrying equal 20% weights and two at 10%. The article suggests a 40-hour study split that mirrors these weights and recommends extra practice on scripting. It advises building a small scoped app on a free Personal Developer Instance to cover the blueprint's sub-topics, while noting such instances are reclaimed after 10 days of inactivity. The exam consists of 60 questions in 90 minutes, delivered via Pearson VUE, priced at 300 learning credits or by credit card. No prerequisite is listed, though six months of hands-on experience is recommended, and ServiceNow does not publish the pass mark.

0
ProgrammingDEV Community ·

Choosing the Right Minecraft Export Format for Image Builds

Picking the correct file format depends mainly on your Minecraft edition and the tools you plan to use. For Java Edition players using Litematica, the .litematic format offers an in-game hologram to guide manual placement. WorldEdit or Axiom users are better served by .schem files, while .nbt suits vanilla structure-block workflows within size limits. Commands or datapacks call for .mcfunction files, and Bedrock or manual builders can rely on a labelled PNG blueprint paired with a CSV material list. The article also notes that the format is a handoff between block layout and construction, not a quality setting, so the build's palette and material counts still need checking.

0
ProgrammingDEV Community ·

Audit Flags High-Severity Reentrancy and Access Control Issues in Gate Protocol

A security audit conducted from October 1 to October 18, 2024, reviewed reentrancy and access-control mechanisms in Gate, a cross-chain liquidity platform reportedly holding over $7 billion in user assets. The review identified six access-control issues and four reentrancy issues, with several rated high severity. Auditors warned that these flaws could enable unbounded fund extraction or allow attackers to seize privileged functions such as pausing or upgrading the protocol. The protocol received an aggregate risk score of 8.2 out of 10, and the auditors recommended remediating the high-severity findings before any further capital inflows.

0
ProgrammingDEV Community ·

Long Context Windows Don't Make RAG Obsolete, Argues Developer

A DEV Community author contends that larger model context windows change how much material gets retrieved but do not eliminate the need for retrieval. Anthropic's guidance suggests that knowledge bases under roughly 200,000 tokens can be placed directly into a prompt, especially with caching, though it notes larger bases need scalable solutions. The author cites Google's documentation on per-query token costs and latency, and research such as "Lost in the Middle" and Chroma's "Context Rot" report showing that models struggle to use information buried in long inputs. The piece also argues that retrieval enables document-level updates and per-user access controls that a static stuffed prompt cannot easily provide.

0
ProgrammingDEV Community ·

Android Hardware VP9 Accepts Spatial SVC Mode but Drops the Layers

Android hardware VP9 encoders accept a three-spatial-layer SVC configuration such as L3T3 without error. The bitstream they return is a single flat stream, typically at top resolution with the lower spatial layers missing. Servers expecting multiple layers then treat the stream as broken, even when the network is fine. The behavior has been observed across Samsung, Pixel, Qualcomm, and Tensor devices, and hardware VP9 on Android supports temporal SVC only. Software VP9 (libvpx) produces real spatial layers but costs more CPU and battery, and MediaCodec offers no way to query spatial layering support in advance, so developers must inspect the bitstream to confirm.

0
ProgrammingDEV Community ·

Guide Explains IDOR/BOLA, the Top API Security Flaw, and How to Prove It Safely

Broken Object Level Authorization, commonly called IDOR, ranks first on the OWASP API Security Top 10 (2023) and is a frequent serious flaw in modern APIs. The vulnerability arises when an application verifies that a user is logged in but fails to confirm that the specific object requested belongs to that user. A tutorial walks through how the flaw works, using an example of changing an invoice ID in a request, and describes where object references can appear in requests. It also covers how to test for the bug using two accounts the tester controls, so that no real user data is exposed. The guide emphasizes writing clear reports so that findings are taken seriously rather than dismissed.

0
ProgrammingDEV Community ·

breakcheck: a zero-dependency CLI that flags deprecated dependencies, risky CI workflows and removed APIs

A new open-source tool called breakcheck scans projects locally for signs of future breakage before platforms and vendors remove the features they rely on. It checks package.json, requirements.txt, pyproject.toml, GitHub Actions workflows, Dockerfiles and source code for deprecated packages, unpinned or over-privileged automation, unpinned base images, and APIs being removed. The developers motivating the tool point to recent removals, such as Chrome and Edge dropping XSLT and Python 3.12 removing imp and distutils, along with a wave of GitHub account hijacks that mostly exploited over-privileged automation. Running on Node.js 18+ with no network access or telemetry, it reports findings with suggested fixes and can exit with an error code for use in CI, and it does not yet offer automatic fixes. The project is MIT-licensed and available on GitHub.

0
ProgrammingHacker News ·

Guide Explains Using Touch ID to Secure SSH Keys on macOS

A blog post published on nmattia.com walks readers through configuring SSH keys on macOS that are unlocked with Touch ID. The article is shared on Hacker News, where it has gathered 10 points and 3 comments. The setup aims to replace typing passphrases with biometric authentication when connecting to remote servers. The source material provided is limited to the link and discussion metadata, so the specific technical steps are not detailed here.

0
ProgrammingHacker News ·

Anthropic Explores Using Claude to Shrink the Attack Surface of Software Code

Anthropic has published research on applying its Claude AI model to reduce the attack surface of software code. The work examines how the model might help identify and remove code that could be exploited by attackers. The post is shared on Hacker News, where it has drawn modest early attention. The source material available does not provide details on specific methods, results, or benchmarks.

0
ProgrammingHacker News ·

C# Compiled to WebAssembly Now Produces Smaller Binaries Than Rust

A GitHub project called NetWasm reports that C# code compiled to WebAssembly now yields smaller output than comparable Rust builds. The claim was shared on Hacker News, where the post gathered 25 points and 3 comments. The available material includes only the project link and discussion metadata, so the specific benchmark methodology and size figures are not detailed here. The result suggests progress in .NET's WebAssembly tooling relative to Rust's typical output sizes. Readers should consult the repository for the underlying measurements.

← NewerPage 202 of 2988Older →