SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Builds Offline Bengali Voice Dialer for Android After Months of Model Failures

A software developer set out to build an offline Android voice dialer for his elderly, non-English-speaking mother, allowing her to call contacts by speaking Bengali nicknames. Testing multiple Whisper models on a MacBook revealed serious limitations: the small model transcribed Bengali in the wrong script, while the medium model produced fragmented, inconsistent output. The large-v3-turbo variant performed best on desktop but took 55–60 seconds to process audio when ported to Android via whisper.cpp JNI, making it impractical. Switching to the sherpa-onnx framework — a production ASR runtime from the k2/Kaldi team — cut inference time to around 2 seconds using the same model files. The project ultimately succeeded after resolving undocumented configuration issues, including a silent transcription bug tied to language token handling in sherpa-onnx v1.13.7.

0
ProgrammingDEV Community ·

A Practical Guide to Lists and Tuples in Python for Data Science

Python offers several built-in data structures that play a foundational role in data science workflows, including lists and tuples. Lists are mutable, ordered collections defined with square brackets that support mixed data types and can be modified using methods like append(), insert(), extend(), remove(), and pop(). Elements in a list can be accessed via positive or negative indexing, and slicing allows retrieval of multiple elements using a start, stop, and optional step value. Tuples function similarly to lists but are immutable, meaning their contents cannot be changed after creation, and are defined using parentheses. Both structures support indexing and slicing, making them versatile tools for organizing and accessing data in Python.

0
ProgrammingDEV Community ·

FoxyInvoice Dev Log: How One App Enforces Multi-Tenant Data Isolation

Developer blog series FoxyInvoice has published Chapter 4, detailing the security and data isolation architecture of its multi-tenant invoicing platform. The system uses JWT-based authentication with Argon2id password hashing and Google SSO, issuing short-lived access tokens that carry tenant identity on every API call. Data isolation is enforced at the ORM level via EF Core global query filters and a save interceptor that stamps every database row with the caller's tenant ID, making cross-tenant data leaks structurally difficult to introduce. Role-based access control maps to granular permission strings enforced across API routes, UI rendering, and middleware layers, while an audit interceptor logs before-and-after snapshots of all entity changes. Additional safeguards include nightly off-site database backups with size validation, GDPR-compliant data export and deletion workflows, Stripe-delegated card handling to avoid PCI scope, and a secrets gate via gitleaks to prevent credentials from entering the repository.

0
ProgrammingHacker News ·

The One-Electron Universe: The Hypothesis That All Electrons Are One

The one-electron universe is a theoretical hypothesis in physics suggesting that all electrons in the universe are actually a single electron moving back and forth through time. The idea was proposed by physicist John Wheeler in a 1940 phone call to Richard Feynman, who later referenced it in his Nobel Prize lecture. Under this theory, electrons traveling forward in time appear as electrons, while those moving backward in time appear as positrons. Although the concept is scientifically intriguing, it has notable problems, including the observed imbalance between electrons and positrons in the universe. The hypothesis remains a thought-provoking but largely speculative idea in theoretical physics.

0
ProgrammingDEV Community ·

Seven Pre-Submission Checks Every Engineer Should Run on PCB Gerber Files

Engineers preparing PCB designs for fabrication are advised to verify their exported Gerber files independently, rather than relying solely on how the design appears in the authoring software. A practical seven-step review workflow covers confirming package completeness, loading all layers into a dedicated Gerber viewer, and checking that the board outline is closed and correctly dimensioned. Common errors such as displaced drill files, misidentified layers, and content outside the board boundary can go undetected until the manufacturing package itself is inspected. Reviewers are also urged to compare the file set against both the intended layer stack and the manufacturer's submission requirements before sending. The guidance applies whether the files were self-generated, received from a client, or being approved without access to the original design tool.

0
ProgrammingHacker News ·

w64devkit Windows Dev Toolkit Sees Major Updates Over the Past Year

The w64devkit project, a portable C and C++ development kit for Windows, has undergone notable changes over the past year. Developer Chris Wellons documented the updates in a blog post published on September 20, 2026. The post outlines improvements and modifications made to the toolkit during that period. w64devkit is widely used by developers seeking a lightweight, self-contained build environment on Windows. The update summary attracted attention on Hacker News, sparking community discussion.

0
ProgrammingDEV Community ·

Dojo Feed Logs 100% User Retention and Viral Memes in First 72 Hours Post-Launch

Dojo Feed, a community platform developed by HYNAWEB, launched on September 17, 2026, and recorded full retention among all registered users within its first three days. The platform uses a gamification system featuring XP points, daily streaks, belt progression, and a 'Tech Wars' voting feature to drive consistent user activity. Organic user behavior, including self-generated inside jokes and informal posts, emerged without any platform intervention, signaling early community identity formation. Key metrics from the September 17–20 analysis period included 5+ daily active users, 396 XP earned by the top user in 48 hours, and at least 8 organic posts. HYNAWEB plans to build on this momentum through a three-phase growth strategy involving developer community outreach, new content categories, and algorithmic feed enhancements.

0
ProgrammingDEV Community ·

Bangladeshi Developer Launches 11 Free Privacy-Friendly Web Tools With No Signup

Maruf Hossain, a web developer from Meherpur, Bangladesh, has built MARUF-X-HUB, a collection of over 11 free web tools accessible without any signup, ads, or usage limits. The toolkit includes utilities such as a video downloader, AI image generator, Unicode font converter, age calculator, and an interactive browser terminal with over 60 commands. Built using vanilla JavaScript, Node.js, and Python on a Cloudflare-hosted stack, the project deliberately avoids heavy frameworks to prioritize speed and user privacy. Hossain also developed an open-source Messenger chatbot called Maruf-bot, which users can fork and deploy independently in roughly 15 minutes. The project is ongoing, with plans to add more tools tailored to Bangladeshi users and expand public API offerings for developers.

0
ProgrammingDEV Community ·

Developer Seeks External Validators for Evidence-Focused Multi-Agent AI System SSI V5

Independent R&D developer Jan Kes has built SSI V5, an experimental multi-agent architecture designed to make evidence, provenance, and rollback central to system design rather than afterthoughts. The system features two separate cores — BODY_FROZEN for execution and DIRECTOR for orchestration — along with six experimental agents, and completed 720 paired missions across drone and humanoid scenarios in a software laboratory setting. A public GitHub repository serves as an evidence mirror, publishing sanitized run reports and test artifacts while keeping the proprietary source code private. The developer explicitly states that reported millisecond-range timings reflect software-flow measurements only, not physical robot or drone response times, and makes no claims of physical-world validation, safety certification, or production readiness. Kes is now seeking universities, robotics teams, and AI researchers willing to define externally frozen acceptance criteria for an independent validation pilot of the system.

0
ProgrammingHacker News ·

Report Claims ChatGPT Gains User Browsing Data Through Ad Tracking

A report circulating on Hacker News alleges that ChatGPT is accessing user activity from other websites through an advertising data collector. The claim suggests that ad-tracking infrastructure may be feeding behavioral data into OpenAI's chatbot. The article was shared on Hacker News but attracted minimal engagement, with no comments and only 4 points. Insufficient detail is available in the source to independently verify the specific technical claims made. Users concerned about privacy implications are advised to consult more detailed investigative reporting on the matter.

0
ProgrammingHacker News ·

Singapore Launches Incentive Program to Encourage Reading Over Screen Time

Singapore has introduced a government-backed initiative that rewards residents financially for reading books instead of using their phones. The program is designed to promote literacy and reduce excessive screen time among the population. Participants can earn monetary incentives or credits by engaging with books through the scheme. The initiative reflects Singapore's broader push to foster lifelong learning and healthier digital habits among its citizens.

0
ProgrammingDEV Community ·

Solo Dev Fixes 6 Detection Gaps in Open-Source AI Security Gateway AegisGate

The developer behind AegisGate, an open-source self-hosted AI security gateway, discovered that the tool caught only 52.32% of real-world AI-led attacks observed over the past 90 days. An internal audit revealed six blind spots, including undetected server-side template injection, base64-obfuscated payloads, and conversational model-theft queries that bypassed pattern-based rules. The tool also missed variant phrasings for system prompt extraction and direct requests to disable safety mechanisms or expose sensitive system data. All six gaps were closed in a single development session by adding seven new regex detection patterns to the tool's existing multi-layered stack. The fixes highlight how quickly novel AI attack techniques are becoming commodity methods, narrowing the window for defenders to respond.

0
ProgrammingDEV Community ·

Why Measuring Web Request Bottlenecks Matters More Than Upgrading Your VPS

A developer writing on DEV Community argues that slow website performance should be diagnosed methodically rather than fixed by instinctively upgrading server hardware. A web request passes through multiple stages — DNS lookup, TCP connection, TLS handshake, server processing, and database queries — and any one of them can be the real culprit. Tools like curl and metrics such as Time To First Byte (TTFB) can help pinpoint which layer is causing delays before any infrastructure changes are made. The author cautions against premature complexity, noting that adding resources like Kubernetes or extra RAM will not resolve an application-level or database bottleneck. The core advice is to measure first, identify the proven bottleneck, and only then decide what needs to be optimized or scaled.

0
ProgrammingHacker News ·

Sherline Tools Ceases Operations, Ending Decades of US Manufacturing

Sherline Tools, a well-known American manufacturer of precision miniature machine tools, is shutting down its operations. The company has announced it will cease US production, marking the end of a long-running domestic manufacturing presence. Sherline was widely respected among hobbyists, machinists, and small-scale manufacturers for its lathes and milling machines. The closure represents a notable loss for the niche precision tooling market in the United States.

0
ProgrammingDEV Community ·

Developer Builds Free Sudoku API Using Rust and WebAssembly for Speed and Portability

A developer has launched a free public Sudoku generation API called Sudoku100, with its core engine written in Rust and compiled to WebAssembly. The system uses a backtracking algorithm to fill a 9x9 grid with randomized candidate digits, then removes cells based on a difficulty target ranging from beginner to extreme. Puzzles at harder difficulty levels undergo a uniqueness check to ensure only one valid solution exists, preventing poor user experience. Compiling Rust to WebAssembly allows the same binary to run both in the browser and on the server, ensuring consistent puzzle output across environments. The developer chose WebAssembly specifically because Sudoku generation is CPU-intensive, making compiled code significantly faster than interpreted JavaScript at scale.

0
ProgrammingDEV Community ·

Developer ships bug that shrank 1080p video to 480p in the name of quality

A developer building a client-side video compression tool discovered a critical bug that caused a 1080p, 30fps clip to be downscaled to 480×270 resolution — ostensibly to preserve quality. The flaw stemmed from using a bits-per-pixel threshold designed for first-generation camera footage, which does not account for videos already compressed by messaging apps or prior exports. The tool's resolution-ladder logic read a re-encoded clip's naturally low bitrate as quality damage, then compounded the error by running the ladder against an already-reduced bitrate budget. In one case, a 77.5 MB source was downscaled from 1858×1660 to 806×720 just to achieve a pixel density higher than the original already had. The developer, who built the tool solo over roughly two weeks, publicly documented all six bugs shipped during that period.

0
ProgrammingDEV Community ·

Developer Builds Free AI Tool to Help Learners Escape Tutorial Hell

A developer on DEV Community has created a free web tool called SkillPilot aimed at helping learners overcome 'tutorial hell', a common cycle of consuming courses without making real progress. The tool asks users to input their target goal, current skill level, and available weekly hours, then generates a personalised five-stage learning path. The path specifies what to learn, what projects to build, and what to skip, reducing the decision fatigue that often stalls self-taught learners. SkillPilot requires no account or payment to use and is currently available online.

0
ProgrammingDEV Community ·

Developer builds Tree-sitter syntax highlighting for Monkey language in Neovim

A developer has begun building a full development environment for Monkey, a small interpreted programming language originally created while learning Go from the book 'Writing An Interpreter In Go'. The project's first step focuses on adding syntax highlighting using Tree-sitter, a widely adopted parsing library that produces real syntax trees and handles incomplete or invalid code gracefully. Monkey supports core features like integers, booleans, functions as first-class citizens, closures, and built-in utilities such as len() and puts(). The Tree-sitter grammar covers all Monkey constructs, is tested against a corpus, and is integrated into Neovim. Future phases of the project plan to add LSP support and eventually use Monkey to solve an Advent of Code problem.

0
ProgrammingDEV Community ·

Understanding JavaScript's Event Loop: A Visual Beginner's Guide

Developer Lydia Hallie published an introductory article on JavaScript's Event Loop on DEV Community in November 2019. The piece uses visual aids to help beginners understand how the Event Loop works under the hood in JavaScript. The Event Loop is a core mechanism that allows JavaScript, a single-threaded language, to handle asynchronous operations efficiently. The article proved highly popular within the developer community, garnering over 4,450 reactions. It remains a widely referenced resource for those starting out with JavaScript and web development.

← NewerPage 1092 of 3217Older →