SShortSingh.

Programming

0
ProgrammingHacker News ·

OpenArch Brings PyTorch Implementations of Modern LLM Architectures to GitHub

A developer named anuj0456 has published OpenArch, an open-source repository on GitHub offering PyTorch-based implementations of modern large language model architectures. The project aims to provide accessible, ready-to-use code for researchers and practitioners working with LLMs. OpenArch was shared on Hacker News, where it attracted a small but engaged audience. The repository serves as a practical reference for those looking to study or build upon contemporary LLM design patterns using PyTorch.

0
ProgrammingDEV Community ·

Scribe Jam Challenges Developers to Build Niche Markdown and Docs Tools in 7 Days

Scribe Jam is a seven-day online hackathon running from September 14 to 21, 2026, focused on building single-page web apps that improve documentation, markdown formatting, or technical writing for a specific niche audience. Participants must use HTML, CSS, and JavaScript, with at least 50% of the build assisted by AI tools, and must submit a live demo link along with their AI prompts. The challenge was announced by the creator of Scribe, a markdown formatting tool built in 48 hours, following the conclusion of a previous event called the KODA Code Jam. The winning entry will receive exclusive features within the KODA AI platform, a featured interview on a Dev.to blog, and a permanent champion badge, while all participants earn recognition in a Hall of Champions. Submissions are accepted at scribejam.netlify.app, with the winner to be announced on September 23, 2026.

0
ProgrammingDEV Community ·

Power BI Data Modelling: Fact Tables, Relationships, and Schema Explained

Power BI enables organizations to convert raw data into actionable insights, but accurate analysis depends on a well-structured data model. Data modelling involves organizing data from multiple sources into related tables using keys, rather than storing everything in a single flat table. Three common structural approaches exist: flat tables, star schemas, and snowflake schemas, each with distinct trade-offs in complexity, performance, and scalability. A star schema, which connects a central fact table to surrounding dimension tables, is generally recommended for Power BI due to its efficiency and ease of DAX calculation. Understanding relationships, filter propagation, and Power Query joins is essential for building reliable and maintainable Power BI reports.

0
ProgrammingDEV Community ·

MindSpark lets you store private mind maps as JSON files in your own git repo

MindSpark is a browser-based mind mapping tool that saves diagrams as private JSON files directly in a user-controlled git repository. The app supports GitHub, GitLab, and Gitea/Forgejo, automatically committing every change to a repository named mindspark-maps. This approach gives users full version history and complete ownership of their data. MindSpark runs entirely client-side with no intermediary server, and supports both OAuth and access tokens for secure authentication. It also features keyboard-driven editing for a streamlined user experience.

0
ProgrammingDEV Community ·

Why HTTP 200 Does Not Confirm a Job Application Was Actually Received

A developer building an automated job-application tool found that common signals used to mark an application as 'sent' — including button clicks, HTTP 200 responses, self-written database entries, and thank-you page detection — are all unreliable indicators of successful submission. Applicant tracking systems frequently return a 200 status code even for validation errors or failed submissions, making the response code an insufficient receipt. The developer argues that only employer-side confirmation, such as an ATS confirmation email or a verified post-submit screen, should be accepted as proof of delivery. To address this, the tool was redesigned to withhold a 'submitted' status unless such verifiable evidence is obtained, and to explicitly flag what confirmation is still pending when it cannot be. The product, AI Applyd, supports major ATS platforms and uses a remote MCP server to integrate with AI tools like Claude and ChatGPT, handling account creation, captcha solving, and resume tailoring automatically.

0
ProgrammingDEV Community ·

Web Speech API brings voice dictation and text-to-speech to PWAs with caveats

A developer has added voice input and audio playback to FieldKit, a field-notes progressive web app, using the browser-native Web Speech API. The SpeechSynthesis feature, which reads notes aloud, is broadly supported across major browsers and works offline, while SpeechRecognition is well-supported only in Chromium-based browsers and Safari, with Firefox offering no practical support. Implementing text-to-speech requires just a few lines of code, while speech-to-text needs vendor-prefix normalisation and careful configuration to stream words in real time as the user speaks. A key privacy concern is that Chrome sends audio to a cloud service for recognition processing, whereas Safari can perform on-device recognition after the user grants permission and installs the relevant language pack. The developer emphasises that apps handling potentially sensitive content must clearly disclose this cloud-processing behaviour to users rather than burying it in fine print.

0
ProgrammingHacker News ·

Real Browser Viewports Show 1080p Screens Render Only 920px in Height

A new report published on screensize.net reveals that screens with a 1080p resolution actually display only around 920 pixels of vertical space in real browser viewports. The study is based on data collected from 1,000 actual browser viewport measurements, highlighting the gap between nominal screen resolution and usable browser height. The difference is largely attributed to browser chrome elements such as toolbars, address bars, and system UI components that consume vertical space. The findings have practical implications for web designers and developers who often assume full 1080px height availability when designing layouts. The report was shared on Hacker News as a community submission aimed at raising awareness about real-world viewport dimensions.

0
ProgrammingDEV Community ·

How to Spend Your First Week on a New Project Without Breaking Anything

A software architect advises that new technical leads should spend their entire first week observing and documenting a project rather than making any fixes. The recommended approach, called 'Track 0,' involves one-on-one interviews with every team member — developers, DevOps, support, and product — to surface problems people already know but have never formally recorded. Simultaneously, a service inventory map should be built by inspecting what is actually running on servers, which often differs significantly from official architecture diagrams. Critical risks are then separated into real 'landmines' versus unfounded 'legends' through targeted investigation. The week concludes with a plain-language, one-page document listing the top five highest-impact risks, reviewed by the team before being shared with management.

0
ProgrammingDEV Community ·

How a CLAUDE.md File Saves Developers From Repeating AI Instructions

Developers using Anthropic's Claude AI often waste time re-entering the same project instructions at the start of every new session. A CLAUDE.md file, placed in a project's root directory and committed to Git, lets Claude read persistent instructions automatically across sessions. The file works best when instructions are specific and concrete — detailing folder structures, exact CLI commands, and domain rules like data formats — rather than vague directives such as 'write clean code' or 'follow best practices.' For larger projects, sub-directory CLAUDE.md files can provide tailored guidance to different parts of the codebase, such as separate frontend and backend sections. The approach helps entire teams share consistent AI guidance without manual repetition, improving both accuracy and development speed.

0
ProgrammingDEV Community ·

CS Student Documents Shift from Python to Go and Rust Systems Programming

A first-year Software Engineering student has announced a transition from Python web development to systems programming, focusing on Go and Rust. The student has set up a development environment using Windows 10 with WSL 2 (Debian), VS Code, and Docker, and has already compiled a first Go program. Over the next year, the student plans to master low-level concepts such as memory management, pointers, and asynchronous I/O, while building multiple projects. The longer-term goal is to develop security agents for the Linux kernel using Rust by the third year of study. The student intends to document the entire learning journey on Dev.to and share code publicly on GitHub.

0
ProgrammingDEV Community ·

Developer Uses Coding Metaphors to Reflect on Revisiting a 12-Year-Old Heartbreak

A software developer recently discovered an old personal archive on a hard drive containing remnants of a 12-year-old relationship. Using programming terminology, they described the experience as 'recompiling legacy code' that caused unexpected emotional disruption. The developer documented the reflective process as a technical investigation, complete with metaphors like firewall rules and background processes to represent unresolved feelings. The full write-up, framed as a code repository post-mortem, has been made publicly available on GitHub and a personal website in French.

0
ProgrammingDEV Community ·

H2 vs PostgreSQL schema mismatch caused silent production enum failure

A batch job in production began failing with an invalid enum error after a migration that had passed cleanly in an H2-based test environment. The root cause was a divergence between test and production migration scripts: H2 stored the status field as a plain VARCHAR, while PostgreSQL enforced it as a native three-value enum — ACTIVE, INACTIVE, and ARCHIVED. A legacy status value, LEGACY_HIDDEN, was silently accepted by H2 but correctly rejected by PostgreSQL's stricter type enforcement. The team switched to Testcontainers running the real PostgreSQL migration script, and the same failure surfaced immediately in a local test run. The incident highlights that in-memory test databases like H2 can miss entire classes of schema-level errors when production uses database-native constraints or enum types.

0
ProgrammingDEV Community ·

Developer builds CoffeeQL, a Rust-based universal query language for four databases

A developer has released CoffeeQL v0.3.1, an open-source query language written in Rust that provides a single unified syntax for querying PostgreSQL, MongoDB, MySQL, and Redis. The project was motivated by the cognitive overhead of constantly switching between four different query syntaxes in a typical backend engineering workflow. CoffeeQL uses a custom readable syntax — such as users[].where(id = 1).give(name, email) — and internally translates queries to the appropriate database format. The library is available on both npm via WebAssembly and PyPI via Python bindings, with 265 tests currently passing. The upcoming v0.4.0 release is planned to add actual query execution support, with full CRUD operations across all supported databases.

0
ProgrammingDEV Community ·

Step-by-Step Guide: Connecting Microsoft Intune with Apple Business Manager for iPhone Enrollment

IT administrators can use Automated Device Enrollment (ADE) to automatically enroll corporate iPhones into Microsoft Intune during initial device setup, eliminating the need for manual staging. The process requires completing prerequisites in sequence, including setting the MDM authority, obtaining an APNs certificate, and creating an enrollment program token that links Apple Business Manager (ABM) with Intune. Devices must be associated with ABM either through an Apple-authorized reseller at the time of purchase or manually via Apple Configurator, with reseller-purchased devices receiving stronger management controls and no provisional release period. Once devices are assigned to the MDM server in ABM and an enrollment profile is created and assigned in Intune, iPhones can be handed directly to users straight out of the box. ADE also enables Supervised mode, which grants administrators broader control over device settings, app installation restrictions, and feature management compared to manual enrollment methods.

0
ProgrammingDEV Community ·

ERC-4626 Vault Test Reveals How Attackers Can Wipe Out Depositor Shares

ERC-4626 is a standard that gives tokenized vaults a shared interface for deposits, withdrawals, and share accounting, where users receive shares proportional to their contribution. A developer exploring vault behavior built a Foundry test suite, originally intended as a hardened base contract, to examine edge cases in exchange-rate fairness. One local test demonstrated a known attack vector: an attacker deposited one base unit of an 18-decimal token, then donated 10,000 tokens directly to the vault, causing the next depositor's 50-token deposit to yield zero shares. The test showed the attack is costly for the attacker too, who lost roughly 4,975 tokens due to OpenZeppelin's virtual asset accounting preventing full recovery of the donation. The project highlights that vault behaviors like donation accounting and post-redemption asset handling depend heavily on implementation choices, making a single universal protective base contract insufficient.

0
ProgrammingDEV Community ·

SensorFlow: Open-Source Stack Lets Teams Self-Host Product Analytics Safely

SensorFlow is an open-source, self-hosted analytics pipeline built to help engineering teams migrate away from third-party analytics platforms without rewriting existing client integrations. The stack connects Sensors Data SDK event uploads to a Go-based ingestion service, stores data in ClickHouse, and surfaces it through Apache Superset for SQL-defined metrics and dashboards. The project targets the riskiest part of any analytics migration — the event-ingestion boundary — by allowing teams to move infrastructure control incrementally across web, mobile, and backend clients. It is not a full replacement for platforms offering session replay, feature flags, or experiment tooling, and is intended specifically for teams willing to operate ClickHouse in production. The maintainers are seeking community feedback on ingestion compatibility, schema design, and production reliability.

0
ProgrammingDEV Community ·

How to Build a Terraform Drift Detection and Remediation Pipeline in CI

Terraform drift occurs when real cloud infrastructure diverges from the declared configuration, often due to manual console changes, third-party automation, or cloud provider-assigned defaults. Left undetected, drift can cause a scheduled terraform apply to silently revert emergency fixes or generate noisy, untrustworthy plan diffs that engineers begin to ignore. The proposed solution is a scheduled CI job that runs a plan, classifies detected drift, and opens a pull request or issue for human review before taking any action. For low-risk, narrowly scoped cases, the pipeline can also remediate automatically, but only after meeting strict prerequisites such as remote state with locking, pinned CLI versions, and read-only cloud credentials. Key technical requirements include using a supported locking backend like S3 native locking or Terraform Cloud, committing the lock file, and ensuring CI credentials are properly scoped to prevent false positives and state corruption.

0
ProgrammingDEV Community ·

Developer Guide: Handling M-Pesa STK Push Timeouts and Webhook Validation in Node.js

A technical guide published on DEV Community outlines common failure points when integrating African payment gateways such as M-Pesa, Paystack, and Flutterwave into Node.js backends. The article identifies three key issues: STK Push timeouts caused by late PIN entry or dropped network requests, inconsistent phone number formatting, and unvalidated webhook payloads that expose systems to spoofing. The guide proposes a TypeScript-based solution using a phone number normalizer function to standardize Kenyan phone formats before sending payment requests. It also recommends using the Zod library for strict runtime validation of incoming webhook payloads to prevent malformed or malicious data from reaching the database. Additionally, a background polling function is suggested to reconcile pending transactions when webhook callbacks are never received by the server.

0
ProgrammingDEV Community ·

Developer launches Nakshora, a sub-4ms JIT CSS framework with built-in AI training files

A developer has released Nakshora, an open-source CSS framework built around a custom TypeScript JIT compiler that generates only the used styles from a 3,000-plus utility catalog in approximately 4 milliseconds. The framework ships with single-class helpers for design trends like Glassmorphism, Brutalism, and Neon Cyber, eliminating the need to stack multiple utility classes for complex UI patterns. A notable feature is its built-in AI training assets — including an llms.txt file, a corpus.json, and a supervised fine-tuning dataset — designed to prevent AI coding assistants from hallucinating incorrect class names. Nakshora supports Vite, PostCSS, and a standalone CLI, producing zero-runtime JavaScript and roughly 15KB of minified CSS per typical project. The full monorepo has been released under the MIT licence, with documentation available at nakshora.bsdc.info.bd and source code on GitHub.

0
ProgrammingDEV Community ·

DFlash Diffusion-Based Draft Model Tested on Gemma-4, Falls Short of Native Assistant

Researchers at Z-Lab, UC San Diego, developed DFlash, a speculative decoding technique that uses diffusion models to predict multiple tokens simultaneously during LLM inference. Unlike traditional autoregressive draft models, DFlash borrows noise-removal mechanisms from image generation to generate draft tokens in parallel, and claims to outperform existing approaches like EAGLE-3. An independent hands-on test was conducted on an RTX 3060 GPU using llama.cpp, pitting DFlash against Gemma-4-12B's own built-in Assistant draft model on a JavaScript coding task. DFlash did not outperform Gemma-4's native Assistant model in this real-world setup, contrasting with vendor-reported benchmarks. The results highlight that DFlash's strengths and limitations depend heavily on the target model and testing environment, particularly when competing against a well-optimized, model-specific draft system.

← NewerPage 1270 of 3231Older →