SShortSingh.

Programming

0
ProgrammingDEV Community ·

VIDRAFT Pre-Trains a 46M-Parameter Language Model on Inference-Only NPUs, Without GPUs

VIDRAFT has pre-trained a small language model called VKORE-46M-NPU entirely on a first-generation inference-only NPU, avoiding GPUs at every training stage. The 46-million-parameter model was trained from random initialization on a public dataset and can generate short English stories. The company implemented backpropagation through its own VKORE software layer, since the chip's vendor offers no training stack for it. A matched GPU run showed a 0.99 correlation in loss trajectories, indicating numerically consistent training, though the company stresses this is not a claim of matching GPU training speed. The model and comparison materials are publicly available on Hugging Face, with detailed implementation methods promised in a forthcoming paper.

0
ProgrammingDEV Community ·

ScopeLedger: a local AI tool for spotting out-of-scope client requests

ScopeLedger is an open-source tool built by a developer for freelancers and small agencies to handle 'one more thing' requests that expand fixed-price projects. Users paste agreed deliverables alongside new client requests, and a locally run Gemma model suggests whether each ask is included, may be extra work, or needs discussion, with checkable source lines. The owner reviews and overrides every classification, sets the rate and effort, and exports a change-order draft without sending invoices or assuming client agreement. The author plans a $19 one-time local tool but says the price is unvalidated and no paying users have been acquired yet. Evaluation on eight synthetic development cases showed Gemma 3 4B matching six, a result the author notes is not a held-out benchmark.

0
ProgrammingDEV Community ·

OG image generator rendered blank cards for titles containing ampersands

A developer's social-card generator produced solid, text-free 1200x630 images for any title containing an ampersand. The cause was a text-measurement path that treated the raw string as if it had already been HTML-escaped, so sequences like Q&A were read as entity references and drawn as empty text. The failure was silent, with no exception or log entry, and the image still returned a successful response. The fix was to escape input before layout and drawing, and to add a guard that refuses to render when measured text width is zero. The developer concludes that monitoring for image generators should check actual pixel content rather than relying on HTTP status codes alone.

0
ProgrammingDEV Community ·

Why stock store views fail to become sales, and the per-asset metric that reveals it

A creator uploading to Adobe Stock saw 2,400 views but only 3 downloads, a 0.12% conversion rate, and initially blamed the artwork. The real issue was misreading views as success rather than as diagnostic data about how buyers find and evaluate files. Assets with use-case titles, such as wedding invitation borders, outsold generic object titles in the same portfolio, showing that buyers must grasp a file's purpose in a second. The author recommends tracking sales per 100 views for each asset rather than a portfolio average, which hides strong and weak work. The piece also covers strict CSV header requirements across platforms, the cost of duplicate uploads, and a ledger script used to prevent them.

0
ProgrammingDEV Community ·

Top open-weight AI models now perform similarly, shifting competitive advantage to systems and data

Leading open-weight language models such as Qwen, Llama, Mistral, and DeepSeek have converged in performance on routine enterprise tasks, with the gap between them narrowing in 2026. The article argues that model weights alone no longer offer a lasting competitive edge, since enterprises value integration, governance, latency guarantees, and accountable support. It suggests that defensible advantages now come from proprietary data pipelines, evaluation harnesses, tool integrations, and operational discipline. Teams are advised to abstract the model layer with pinned, swappable versions and to gate promotions behind private evaluation suites. The author concludes that investment should prioritize domain data and integration depth over chasing the newest model.

0
ProgrammingDEV Community ·

Mounting Amazon S3 as a Windows Drive in 2026: Comparing rclone, Mountain Duck and ScsDriver

A guide explains how to mount Amazon S3 storage as a local drive letter on Windows so applications can read and write files directly without syncing copies. It compares three approaches: the free, open-source rclone command-line tool, the Mountain Duck app priced at $39 to $69, and the lightweight ScsDriver WebDAV client at $5.50 lifetime. Benchmarks on a 200 Mbps link show ScsDriver with an nginx gateway reconnecting in under three seconds, versus six to eight seconds for rclone. The author recommends rclone for free use, Mountain Duck for a polished GUI, and ScsDriver for the cheapest option with fast reconnects.

0
ProgrammingDEV Community ·

Audit Flags Governance and Oracle Risks in Steakhouse Financial's $2.47B Yield Protocol

A security researcher published a technical audit of Steakhouse Financial, a DeFi vault aggregator with roughly $2.47 billion in total value locked across Ethereum and select layer-2 networks. The review covered the latest production release and found the core arithmetic largely sound, with some edge-case overflow risks in fee distribution. The most serious concerns cited were a single-key emergency execution path in the governance timelock, reliance on a single price feed for certain assets, and a reentrancy exposure in the strategy router. The report also flagged a missing Merkle proof check on layer-2 to layer-1 withdrawals and weak quorum enforcement for governance votes. The auditor concluded the protocol is generally well engineered but identified centralization and oracle issues as the most severe risks.

0
ProgrammingDEV Community ·

Verifying JWT Signatures in the Browser Without Server Uploads

Developers often paste JWTs and signing secrets into public online debuggers to inspect claims and verify signatures. This practice risks exposure because server-side tools may log inbound tokens, and a pasted HMAC secret could be considered compromised. Sending customer claims with personal data to third-party servers can also breach GDPR and HIPAA requirements. The article describes how JWT verification can instead run entirely in the browser using the Web Crypto API, so no data leaves the machine. It also explains that a JWT consists of three Base64URL-encoded segments: header, payload, and signature.

0
ProgrammingDEV Community ·

Use Compose healthchecks so your app waits for Postgres to accept connections

A common Docker Compose problem is an app container crashing because it tries to reach Postgres before the database has finished initializing. Plain depends_on only waits for the database container to start, not for the server to be ready. The recommended fix is adding a healthcheck to the database service and setting the app's depends_on condition to service_healthy. The article's example uses pg_isready on a Postgres 16 image, checked every five seconds with ten retries. It also covers escaping variables with double dollar signs, keeping the database off the host network, and using named volumes for persistence.

0
ProgrammingDEV Community ·

Building a Home Personal Cloud on 2026 Hardware for About $332 Upfront

A writer who once paid $120 a year for Dropbox now runs 16 TB of personal cloud storage at roughly $25 a year in electricity. The build uses a Beelink N100 mini PC, two 8 TB NAS-grade drives in a ZFS mirror, a UPS battery backup, and a microSD boot drive, totaling about $332 upfront. The author explains why they chose this over a Synology NAS, citing cost, the locked-in operating system, and a desire to learn the underlying Linux stack. Key lessons include using NAS drives rather than desktop drives, which failed after 14 months, and buying a UPS after a power blip corrupted the ZFS pool. The software stack includes Ubuntu, Nextcloud for WebDAV access, ScsDriver to mount storage as a Windows drive, and Tailscale for secure remote access.

0
ProgrammingHacker News ·

Ito: A New Lua Library for Building Terminal UIs

Two Neovim enthusiasts created Ito, a Lua library for building terminal user interfaces, after finding existing agent harnesses like Pi too JavaScript-centric for their taste. Their harness, Uji, is designed to be minimal at its core, with built-in abstractions and provider definitions all configurable in Lua. The team also built a custom canvas implementation exported as WebAssembly, which powers a website where users can experiment with building Lua-based UIs. The project includes an llms.txt file to support AI-assisted coding. The library and harness are available on GitHub, and the post was shared on Hacker News with few comments so far.

0
ProgrammingHacker News ·

Tiny Little Office: A Small Website Drawing Attention on Hacker News

A website called Tiny Little Office was shared on Hacker News, where it received 29 points and 5 comments. The source material provides only the page link and basic engagement figures, with no description of the site's content or purpose. Readers can visit the linked site directly to see what it offers. The discussion thread on Hacker News contains the community's responses to the post.

0
ProgrammingDEV Community ·

Triaging Vulnerabilities: How Product Security Turns Scanner Findings into Risk Decisions

The article argues that a high CVSS score or scanner alert alone does not establish real product risk, and that the analysis must continue beyond the tool output. It describes a triage sequence that checks whether a finding applies to the product, whether the vulnerable path is reachable, how exploitable it is, and what an attacker could gain and reach next. The author stresses that business impact, blast radius, and available compensating controls should shape the response, rather than severity alone. The piece is aimed at AppSec newcomers, senior engineers who own risk decisions, and leads who need a repeatable vulnerability-management process. It frames the workflow as a reasoning model that should be adapted to each team's stack and environment.

0
ProgrammingDEV Community ·

Building a WhatsApp lead bot with human handover and fallback handling

A developer describes how they run a WhatsApp lead bot for a Dubai business, focusing on production concerns beyond basic reply logic. The bot uses the unofficial Baileys library for the WhatsApp connection and OpenRouter for model calls, with JSON files storing session, lead and follow-up state. It tries six LLM models in order with timeouts and sends a fixed reply if all fail, and it pauses automatically when a prospect asks for a human, alerting the owner. The author also covers an owner-controlled ignore list, a scheduler that sends at most one follow-up during Dubai business hours, and cautions about WhatsApp restrictions and UAE personal data law.

0
ProgrammingDEV Community ·

Certified Backstage Associate Exam: Candidate Passes With a Score of 80

A developer reported passing the Certified Backstage Associate exam, scoring 80 against a passing mark of 75. The certification is one of the CNCF exams that count toward the Golden Kubestronaut track, and it consists of 60 multiple-choice questions in 90 minutes focused on how the Backstage framework works rather than hands-on cluster operations. The author said the exam is weighted across four domains, with customizing Backstage carrying the largest share at 32 percent. Their account stresses understanding frontend versus backend plugins, the layered app-config.yaml structure, and entity descriptor formats in the software catalog. They also noted that ingestion troubleshooting for entities that fail to appear was the area they had underestimated most.

0
ProgrammingDEV Community ·

PromoForge: a gaming creator's tool for automating YouTube promotion on X

A small gaming YouTuber, behind the Chambers Plays Games channel, built PromoForge to cut down on the manual work of promoting videos. The tool connects to the YouTube Data API, fetches public videos, and generates tweets with game-specific hashtags that can be scheduled via CSV export, Buffer, or X's API. It also offers audience growth features for X and YouTube, such as discovering matching accounts and planning follows that the user must approve before any action is taken. The project is a successor to the author's earlier Microcosm retweet bot from 2018, which is now archived. The post serves as a build log covering the first ten days of development.

0
ProgrammingDEV Community ·

Developer Builds Reusable Unity Framework to Speed Up Future Game Projects

After repeatedly rewriting the same systems across several game projects, a developer decided to create a reusable Unity package. The initial plan covered menus, AdMob integration, object pooling, and game state management, but was later expanded after realizing future needs like analytics would otherwise require tedious upgrades. The framework now includes Google Analytics for deeper player behavior insights beyond AdMob's data, and Google Play Games services for achievements and leaderboards. AdMob was chosen to keep ads within the Google ecosystem, while Unity UI Extensions was adopted to speed up complex interface creation. The developer acknowledges that the added services increase bloat and file size, which remains a concern.

0
ProgrammingDEV Community ·

Monday.com and Airtable Layoffs Raise Questions About Whether AI Is Really the Cause

Monday.com cut roughly 20% of its workforce, a plan first disclosed in a July 2026 SEC filing that tied it to a strategic shift toward its AI Work Platform and a leaner structure. Its founders explicitly rejected the idea that the cuts were meant to replace people with AI, saying the aim was not cost reduction, and said most savings would go back into people, products and AI. Bending Spoons is cutting a large part of Airtable's staff weeks after acquiring it, with its leadership framing the move as a belief that small teams ship more while pointing to new AI-focused features. The author found no independent evidence that AI absorbed the eliminated work at either company, and noted that media outlets, rather than the companies, often supply the AI link. A tracker cited in the piece found that employers gave AI as the sole reason in only 23 of 259 AI-linked cuts.

0
ProgrammingDEV Community ·

Rocket Pool Security Audit Flags Reentrancy and Access-Control Risks

An independent security audit dated 14 October 2026 reviewed Rocket Pool, a decentralized liquid-staking protocol holding roughly $1.27 billion in total value locked. The review focused on reentrancy vulnerabilities and access-control design across the protocol's Ethereum and Layer 2 contracts. It found no classic reentrancy bugs in the current mainnet deployment, but flagged design patterns that could become exploitable after future upgrades or new cross-chain bridge integrations. Auditors also raised concerns about inconsistent permission modifiers and upgrade admin keys held in a multisig without a timelock. The protocol was assigned an overall risk score of 7 out of 10, with recommendations for proactive remediation.

0
ProgrammingDEV Community ·

How to read a Shopify store's product catalog via its public products.json feed

Most Shopify stores publish their full public catalog as JSON by appending /products.json to the store's domain, requiring no API key, app, or HTML scraping. The feed returns product titles, descriptions, prices, variants, SKUs, availability flags, and image URLs, which is useful for price comparisons, catalog audits, or exporting a store's data. Developers can page through large catalogs by requesting up to 250 products per page until an empty response, and the endpoint allows cross-origin browser requests. Stores that disable the feed or place it behind a password page will return a 404 or HTML instead of JSON. The article advises spacing requests a second or two apart to avoid rate limiting, and notes that the feed only exposes public data without stock counts.

← NewerPage 430 of 3109Older →