SShortSingh.

Programming

0
ProgrammingDEV Community ·

Why total queue depth misleads when one Service Bus queue serves many customers

A SaaS platform uses a single shared Service Bus queue to link its cloud product with customers' on-premises systems. The author favors having an outbound-polling agent pull from the broker over inbound HTTP triggers, since the queue absorbs customer outages as backlog instead of failures. Fairness between tenants is handled with per-tenant session IDs, with dedicated queues reserved for high-volume exceptions. The article argues that alerting on aggregate active message count hides a single stuck tenant, as in a case where one customer's credentials failed and their data sat unsynced for days. Instead, it recommends tracking the age of each tenant's oldest unprocessed message, which distinguishes a busy tenant from a broken one.

0
ProgrammingDEV Community ·

Why a form-validation engine should wait for a second repeat before adding a new rule

A developer received three near-identical requests to block certain characters across different form fields, prompting a decision about whether to keep adding one-off checks or formalize a pattern. The team had already built a generic field-validation registry with a shared hook, so each new field needs only a configuration object. The author proposes a rule: new named presets are added only once the same logic is needed in two or more places, and until then requests go through a custom escape hatch. This avoids permanently growing the registry's API with rarely used kinds. An exception was made for restricted characters, which was promoted to a preset immediately because it clearly applied to every text field in the app. The author suggests the real test is whether future callers can be named with confidence.

0
ProgrammingDEV Community ·

MuTracer 0.1.5 path-traces a small Houdini plant in WebGPU, with limits

A developer tested MuTracer 0.1.5 on a small Houdini plant and got a usable WebGPU path-traced still image in which vertex colors and instance tints survived. Two double-sided alpha-masked cards kept their cutout silhouettes, while a WebGL attempt lost its context and produced no completed image. The tests ran on a single Windows system with an NVIDIA RTX 5070 Ti, Three.js 0.186.1 and Chromium 155, at 640 × 480 with 64 samples per pixel. Convergence took a median of about 118 ms across three warm runs, though the author notes this does not predict a first-time user's shader compile, which took about 10 seconds in an earlier pilot. The author cautions that the animated production scene was not converted, since its custom wind code was untested and its geometry was frozen.

0
ProgrammingDEV Community ·

How to Install Xdebug with PIE and Keep It Off in Production

Xdebug's install page now marks PECL as deprecated and recommends installing via PIE with the command pie install xdebug/xdebug. PIE compiles the extension from source on Linux and macOS, so build tools and PHP development headers are required, while Windows uses a prebuilt binary. The installer writes the zend_extension line into a configuration file and loads it after OPcache, so php.ini does not need manual editing. Xdebug's features are controlled by xdebug.mode, and enabling unnecessary modes can noticeably slow PHP, so users should restrict them to where they are needed. The guide also shows how to set options in a separate local ini file and use the XDEBUG_MODE environment variable for targeted runs such as CI coverage.

0
ProgrammingDEV Community ·

Houdini and Blender Export Identical Plant Geometry, Differing Mainly in File Size

A test compared Houdini 22 and Blender 5.2 by exporting the same controlled plant from shared prototypes and fixed placements. Both exports retained 6,076 triangles, three vertex-color groups and two wind attributes, with a maximum position difference of 0.000000082 metres. Two early failures, degenerate leaf tips and lost colours in the first Blender material setup, surfaced only through checking the data rather than the export button. The author stresses the study measures editable assembly and deliverable data, not which application is faster or better for procedural modelling in general. The GLB files differed in size and normal handling, so file size alone does not indicate exporter efficiency.

0
ProgrammingDEV Community ·

Meshopt compression cuts Three.js GLB size 59% and halves local first-frame time

A test of Three.js GLB loading compared a raw 319,648-byte plant model with a meshopt-compressed version of 130,296 bytes, with decoded vertex data confirmed identical. Across 20 local WebGPU trials on Chromium with an RTX 5070 Ti, the smaller file lowered the median time to first frame on fresh URLs from 35.7 ms to 17.6 ms. Cached loads were much closer in timing, and the first raw trial included a large shader compilation cost. The author notes these results cover only local loading and do not reflect internet delivery, new-device startup, or mobile thermal behavior. The report also separates first-frame budgets from steady frame-rate budgets and includes CSV data, timing logs, and a reproduction package.

0
ProgrammingDEV Community ·

Zentro v0.10.0 open-sources its free SQL IDE core under GPL-3.0

Zentro, a desktop SQL IDE for Windows, macOS and Linux built with Go, Wails, React and TypeScript, has released version 0.10.0 with its free core now published under the GPL-3.0-only license. The project supports PostgreSQL, MySQL, SQL Server and SQLite and is organized around projects rather than individual connections. Its commercial Pro layer remains closed source and separate from the public repository, making Zentro an open-core product rather than fully open source. Users can choose the official build, which includes automatic updates and a 30-day Pro trial, or a manually updated Community Edition compiled from public source. The release also adds features such as SSH tunnels, a terminal, ERD improvements, an AI assistant that works with users' own API keys, and expanded keyboard navigation.

0
ProgrammingDEV Community ·

Territorial.io: A Browser Strategy Game Built Around a Single Resource

Territorial.io is a real-time strategy game that runs in a web browser with no account or installation required. Its only resource is population, which land generates and which serves as the army, with the share committed to an attack determining its success. Attacks along long borders cost more troops than narrow ones, so compact territories tend to hold up better than sprawling ones. The game was created by independent German developer David Tschacher, who started it in 2020 and released it in 2021, and it now has a map-making community and official mobile versions. It loads quickly and is free to play.

0
ProgrammingHacker News ·

How closely can pure functional programming match C's performance?

A post on rtfeldman.com examines how near purely functional programming can get to the speed of C. The source is a Hacker News submission that gathered 19 points and one comment at the time it was indexed. The provided material contains only the link and engagement metrics, not the article's full text, so its specific findings and benchmarks cannot be confirmed here. The discussion centers on the performance gap between functional language design and C's low-level, manually managed model. Readers interested in the actual results should consult the original article directly.

0
ProgrammingDEV Community ·

Neo4j Graph-Based Recommendation Engine Scales to 25M Daily Active Users

A DEV Community article examines using Neo4j's graph database to power high-throughput matching in dating apps. It argues the main challenge is computing relationship-based scores on a constantly changing, densely connected graph under tight latency targets. The author contrasts relational stacks, where multi-join queries slow sharply at peak load, with graph traversals that handle multi-hop neighborhoods more efficiently. The piece also weighs trade-offs including write latency under Raft consensus, operational complexity, developer productivity, and cost as edge counts grow. It closes with practical guidance on cluster sizing, write buffering, traversal depth limits, caching of top matches in Redis, and observability.

0
ProgrammingDEV Community ·

Brain-Computer Interfaces Raise New Questions on Neurorights and Ethics

An analysis examines the shift from external AI assistants toward direct brain-computer interfaces (BCIs) that connect to the human brain. The author distinguishes between 'read' technologies, which raise privacy and data confidentiality concerns, and 'write' technologies, which modulate brain activity and affect autonomy and agency. A typology of human-machine hybridization is outlined, ranging from suggestion systems to deep implants. While fully merged mind-machine systems remain speculative, current BCIs already help restore speech and movement for people with severe disabilities. The piece argues that neurorights protecting mental integrity from commercialization and manipulation must be developed in response.

0
ProgrammingDEV Community ·

AWS Data Fabric Tutorial Shows How to Connect, Govern, and Query Customer Data

The article explains that organizations store data across databases, applications, data lakes, and streaming platforms, making unified discovery and governance difficult. It describes a data fabric as an architecture rather than a single product, assembled from AWS services such as S3, Glue, Lake Formation, Athena, Redshift, DataZone, and Bedrock. A conceptual design illustrates how diverse sources flow through ingestion into S3 and then into a catalog and governance layer before reaching query tools. To demonstrate the approach, the tutorial walks through a small customer orders dataset: uploading a CSV to S3, cataloging it with a Glue crawler, and querying it in Athena. The guide stresses securing buckets, setting proper IAM permissions, and verifying inferred column types before production use.

0
ProgrammingDEV Community ·

ประกอบไปป์ไลน์ CI ด้วย AI agent: จาก requirement ถึง pull request ต้องเขียนไฟล์อะไรบ้าง?

โดย Nokka (นก-กา) | ตอนที่ 6 จาก 7 ของชุด "สร้างซอฟต์แวร์ด้วย AI" | ตรวจสอบข้อมูล ณ 23 ต.ค. 2026 บทความนี้เขียนโดย AI (deepseek-v4.1-flash · ผู้ให้บริการโมเดล: ollama-cloud) ผ่าน Hermes Agent ภายใต้การควบคุมและตรวจสอบคุณภาพโดยมนุษย์ - Nokka (นก-กา) ห้าตอนที่ผ่านมาพูดถึงเครื่องมือแยกชิ้น บทนี้จะเอามันมาต่อกันเป็นสายงานเดียว เป้าหมายไม่ใช่ระบบอัตโนมัติเต็มรูปแบบ แต่เป็นระบบที่ทุกขั้นมีหลักฐานว่าทำอะไรไปแล้ว และมีจุดที่คนต้องเซ็นรับ ผมจะเขียนตามลำดับที่ทีมจริงทำ และบอกตรง ๆ ว่าส่วนไหนผมรันเองได้ในเครื่องนี้ ส่วนไหนได้แค่อ่านเอกสาร ก่อนจะพูดถึง agent ต้องตอบก่อนว่า requirement มาจากไหน ถ้าคำตอบคือ

0
ProgrammingDEV Community ·

Custom Sign Forge shares lessons from building a 10-language B2B signage website

Custom Sign Forge, a B2B site for custom commercial signage, runs ten language versions across six product families, built with Astro, React, Cloudflare Workers, D1 and private R2 storage. The developers focused on keeping product pages, imagery, enquiry flows and search metadata consistent as the site expanded, rather than just adding a language switcher. They use stable URLs with language prefixes, avoid redirecting visitors by IP or browser language, and keep customer-entered text and enquiry records unchanged when the interface language changes. Their checks extend beyond counting translated strings, covering navigation, validation messages, RTL layout for Arabic, and image cropping suited to each asset's purpose. Each locale also carries its own HTML language, title, canonical URL and reciprocal hreflang links, with post-deployment checks in Search Console.

0
ProgrammingDEV Community ·

Metadata-only fixes clear several veraPDF PDF/UA failures, tested on 24 files

Running veraPDF on PDFs from report generators, invoice templates or Word often flags 8 to 15 PDF/UA-1 rule failures. Some require real work, such as a tagged export pipeline, but several are simple catalog or metadata entries. The author tested veraPDF 1.28.2 on 24 files before and after a metadata-only fix using pikepdf. Rules tied to language, document title display, XMP title metadata and tab order were resolved reliably, while MarkInfo Marked was only valid for files that already had a structure tree. The article includes a short Python script and advises choosing a meaningful title rather than a file name.

0
ProgrammingDEV Community ·

Job classifier mislabeled 1,200 postings, distorting pay figures for remote roles

A developer who publishes a free dataset of job postings with stated pay ranges found that one fifth of the corpus was sitting in an "other" category, signaling a classifier failure rather than a labeling choice. The original keyword-based classifier matched titles in a fixed order, so roles like Sales Engineer and Support Engineer were wrongly filed as engineering, and short keywords like "data" misfired on titles such as Data Center Technician. After restructuring the classifier into prioritized passes, the "other" bucket fell from 1,726 to 680 postings, with about 1,200 postings reassigned mostly to sales, support, and finance families. The correction also changed a previously published finding: the remote-versus-on-site pay gap within role families shrank from about 11.5% to 6.2%, though the direction of the difference held.

0
ProgrammingDEV Community ·

Why manual YouTube creator tracking fails for Indian D2C brands, and how PulseROI automated it

Spreadsheet-based tracking of YouTube influencer campaigns breaks down once an Indian D2C brand runs more than about three creator partnerships at once. Manual links and screenshots leave data fragmented, with UTM errors and outdated view counts making it hard to tell whether a campaign drove real conversions. PulseROI's first attempt, a daily Node.js script that queried the YouTube Data API per video and wrote results to a Neon PostgreSQL database, failed in production due to exhausted API quotas and Vercel function timeouts. The team fixed this by batching up to 50 video IDs per request and capping each fetch with a 25-second timeout to stay within serverless limits. The account is a technical write-up from the company's engineering perspective, not an independent report.

0
ProgrammingDEV Community ·

Baad Mein: a browser-based AI that sorts your WhatsApp self-chat into a daily to-do card

A developer built Baad Mein, a tool that reads a user's exported WhatsApp chat with themselves, where people store notes to deal with later. It runs Google's Gemma 4 E2B model locally inside the browser tab, processing the notes slowly in batches and saving progress so work resumes after interruptions. The result is a morning card listing upcoming deadlines, money owed, shopping items, uncertain notes, sensitive data such as OTPs and card numbers to delete, and stale items the user can drop. The project was submitted to a Hacktoberfest open-source AI challenge, and a demo with a made-up chat is available.

0
ProgrammingDEV Community ·

Как диагностировать сбои VLESS-подключения: время, DNS, SNI и логи клиента

Разработчик сервиса Unlimited VPN описывает практическую методику поиска причин, по которым VLESS-соединение не работает. Сначала предлагается определить уровень сбоя: доступность сервера по сети, установку защищённого рукопожатия, проксирование трафика и разрешение доменных имён. Значительной частой причиной отказа названо расхождение системного времени между клиентом и сервером, особенно на Android TV-приставках. Автор советует читать журнал клиента, ища первую ошибку после подключения, и различать таймауты, сбросы соединения и проблемы DNS. Также рекомендуется импортировать конфигурацию целиком, а не вручную, и сравнивать работу через разные сети и устройства. Материал содержит рекламный фрагмент о собственном сервисе автора.

← NewerPage 47 of 2886Older →