SShortSingh.

Programming

0
ProgrammingDEV Community ·

GPUStack and vLLM in Production: Capping KV Cache to Prevent Out-of-Memory Crashes

A small on-prem team running four mixed-GPU nodes replaced ad hoc Docker wrappers with GPUStack, a control plane that places models across available GPUs and exposes an OpenAI-compatible endpoint. The platform worked as advertised, but its VRAM placement estimate ignores activation peaks, CUDA graph capture, and real prompt lengths, treating context as a fixed budget rather than a per-sequence cost. Running a 70B model under long-prompt traffic caused repeated worker out-of-memory crashes, which the team traced to KV cache growth multiplied by concurrency. They stabilized deployments by pinning max context length, lowering GPU memory utilization, capping concurrent sequences, and disabling host swap, with a similar approach applied to llama-box on the heterogeneous node. The write-up also notes a separate throughput decline over time that was still under investigation.

0
ProgrammingDEV Community ·

Five Habits That Turn a Vibe-Coded Demo Into a Working Product

Agent-generated apps can run well on the builder's own machine yet fail elsewhere, because local tools, leftover environment settings, or uncommitted files hide the real problems. The article recommends cloning the project into an empty folder and following the README to catch these gaps early. It also urges storing secrets in git-ignored environment files, reviewing agent-written changes carefully (especially around data, payments, login, and secrets), and testing failure cases such as empty inputs or a down dependency. For multi-service apps, it suggests a single startup command with readiness checks, and it closes by advising a usability test with someone who has not seen the app before.

0
ProgrammingDEV Community ·

Udhaar Book turns photos of shop credit notebooks into tracked balances and reminders

A developer has built Udhaar Book, an open-source tool that reads a photo of a shopkeeper's handwritten credit ledger, known as a khata. An open-weight AI model extracts the entries, with a deterministic parser as a fallback when no API key is available. The shopkeeper must confirm every line before anything is recorded, and the app tracks running balances per page. Reminders are generated in English, Hindi, or Marathi, with amounts pulled from the ledger rather than the model. The project runs at no cost using free-tier models and a local SQLite file, and was submitted to a Hacktoberfest challenge.

0
ProgrammingDEV Community ·

Node.js Daily Shipment Reports Use Durable Jobs for Subscriber Email Delivery

The article explains a design for scheduling daily shipment report emails to subscribers in a Node.js backend. It recommends using cron to start a single coordinator, which then creates one durable, idempotent delivery job per subscriber. The author argues that email fan-out, rather than the single scheduled trigger, drives most of the cost and that a delivery ledger provides proof of delivery per recipient. Recovery after crashes is simplified by recording attempts and terminal states, with acknowledgements determining which unfinished work is retried. The piece also weighs whether to retain full rendered message bodies or only compact metadata, a choice it says should be governed by compliance requirements.

0
ProgrammingDEV Community ·

Leakage-Aware Model Predicts Diabetic Hospital Readmission Using 100,000 Encounters

The author built a model to predict hospital readmission for diabetic patients using roughly 100,000 hospital encounters from 1999 to 2008. Records were grouped by patient so that no individual appeared in both training and test sets, guarding against data leakage. The model reached a ROC-AUC of about 0.69, clearly beating a majority-class baseline that identified no readmitted patients, though gradient boosting offered little gain over logistic regression. The decision threshold was chosen on training data, and calibration showed predicted risk closely matched observed risk. The author stresses that the model was trained on US data and would need local validation before any use in Kenya or other settings.

0
ProgrammingDEV Community ·

FramePilot: Local AI Tool Turns Freelance Video Briefs Into Billable Project Plans

A developer built FramePilot, a local-first AI assistant aimed at freelance videographers and small production teams. The tool converts a rough client brief into service packages, scope boundaries, production checklists, and a delivery timeline. It also produces pricing estimates based on the creator's own hours, rates, and expenses, rather than AI-generated market prices. An editable client pitch and optional upsell suggestions are included to help creators communicate their value. The project was submitted to the Hacktoberfest 2026 Week 2 Side Hustle challenge and runs locally using a Gemma model through Ollama.

0
ProgrammingDEV Community ·

Leadfinder helps Lagos freelancers find and pitch local businesses via WhatsApp

A new tool called Leadfinder is aimed at freelancers in Lagos who sell video editing, web design, and social media services to local businesses. It lets users search Google Maps or audit a specific business, scoring each one from 1 to 5 based on verifiable website and online presence problems. Gemma, an open-weight AI model, reviews each business's website and lowest-rated reviews to generate a short, evidence-based WhatsApp pitch. The app also supports saving leads to a board, tracking them through pitch stages, and setting follow-up reminders. The project was submitted to the Hacktoberfest Open-Source AI Challenge.

0
ProgrammingDEV Community ·

ReLoopAI Uses AI to Turn Everyday Waste Into Business Ideas

Developer Nawedullah has built ReLoopAI, an AI-powered web app that helps users find business opportunities in discarded materials. For a chosen waste type, the app suggests three ideas for reuse or recycling, along with estimated startup costs, selling prices, and profit projections. The tool is aimed mainly at students, beginners, and people interested in small-scale sustainable ventures. Its financial figures are described as rough AI-generated estimates rather than guaranteed outcomes, and the creator notes that real implementation still requires research into safety and local regulations. The frontend is built with React and Vite and hosted on Vercel, while the FastAPI backend, which uses Google's Gemini API, is deployed on Render.

0
ProgrammingDEV Community ·

UK Sellers Face New US Customs Code Requirement for Parcels Under Tariff Changes

A UK craftsman who sells wooden curtain poles on Etsy describes new rules requiring a 10-digit US customs code on every parcel shipped to America. The end of the $800 duty-free threshold in August 2025 and Etsy's duties-paid requirement from 9 July 2026 have made accurate classification costly for small sellers. The US Postal Customs process also began requiring the codes on 24 July 2026, drawn from a schedule of roughly 20,000 lines. To address this, the author built Tariff Desk, a fine-tuned 8B model that suggests codes, matches rulings from US Customs about two-thirds of the time, and asks clarifying questions when descriptions are vague. The tool is offered free, with paid packs and plans aimed at sellers and their assistants.

0
ProgrammingDEV Community ·

Researchers and developers explore offline payments on blockchains

Digital payments remain hard to complete in rural areas or where mobile networks are unreliable, since the obstacle is often connectivity rather than account access. Both traditional and decentralized finance researchers are investigating ways to keep payments functional without a constant internet connection. The article highlights Solana's support for offline transaction signing, which can separate preparing and signing a payment from broadcasting it, though its standard QR-based flow alone does not prevent double-spending. It also cites a June 2026 IEEE paper describing an air-gapped Bitcoin protocol that uses Taproot and QR codes, letting a receiver claim funds with a secret and allowing senders to recover them after a timeout. The author introduces PAT, a Solana-based project intended for a Colosseum hackathon, as part of this emerging work.

0
ProgrammingDEV Community ·

TutorSaathi AI: Open-source AI assistant to help English tutors build Hindi-learner materials

TutorSaathi AI is a new open-source, AI-powered teaching assistant built for English tutors and coaching centers serving Hindi-speaking students. It is designed to speed up tasks like making worksheets, quizzes, translations, and practice exercises, while offering students daily conversation prompts and personalized practice. The planned features include Hindi-to-English translation with explanations, progress tracking for tutors, and a free tier with affordable premium options for tutors. The application is planned as a full-stack web app using Next.js, Gemma as the open-weight AI model, and MongoDB Atlas, with outputs to be reviewed because AI explanations can be wrong. Source code, setup instructions, and documentation are to be published in a public repository.

0
ProgrammingDEV Community ·

Most VPNs Claim No Logs, But Few Are Independently Audited

An analysis of 377 VPN services found that 303, or 80%, publish a no-logs policy, though the phrase alone reveals little since most providers use it. Only 35 services have an independent audit verifying that claim, and many promising no logs say nothing about the connection IP address. Just 27 services meet three checks: a no-logs policy, an independent audit, and a policy stating connection IPs are not stored. The data was compiled from published policies, with providers that stayed silent on a point counted as 'not published' rather than 'no'.

0
ProgrammingHacker News ·

Essay Argues Personal Software Factories Are a Waste of Time

A post on Hacker News points readers to an essay by Peter P. arguing that personal software factories are not worth the effort. The article is shared on the platform, where it has received 52 points and 52 comments. The provided material contains only the link, the discussion thread, and engagement figures, so the specific reasoning the author offers is not available here. The piece is one of several items discussed on the community's front page at the time of posting. Readers wanting the author's full argument would need to consult the original article.

0
ProgrammingDEV Community ·

Why a Polished Store Page Sells Nothing Without Distribution

A creator who spent a weekend perfecting a store page logged 14 views and zero sales in a week, while identical assets on stock marketplaces produced sales. The author found that stock platforms accept bulk uploads via metadata CSVs, but each requires a different column count, and a wrong header is rejected at upload. Duplicate submissions risked flags, so the author built a plain-text ledger to track what had already been posted. The piece also notes that proper cover images and converting notes to styled PDFs helped turn raw files into sellable products. The author credits packaging and distribution, rather than art quality, for scaling the project to 39 products.

0
ProgrammingDEV Community ·

FreelanceCanvas Uses Local Gemma to Draft Client Proposals From Briefs

A developer built FreelanceCanvas, an open-source tool that helps freelancers turn a client brief or PDF into a complete proposal. The app looks up the client, searches the freelancer's past projects for relevant work, and sends the combined context to Gemma running locally through Ollama. Its output includes a client snapshot, a milestone schedule with a price estimate, a short risk list, and an optional audio script. The project is designed to degrade gracefully, falling back to basic profiles or templates when optional services or keys are unavailable. It was submitted to the Hacktoberfest Open-Source AI Challenge.

0
ProgrammingDEV Community ·

Campaign compromises 23 AI projects in 74 minutes via MCP server supply chain

A campaign known as Deadbugz reportedly compromised 23 AI projects within 74 minutes by exploiting a dependency on a malicious MCP server rather than a flaw in the projects' own code. The attack appears to have been prepared in advance and run against a pre-selected target list. Researchers cite postmark-mcp as the first malicious MCP server identified in the wild, one that functioned as advertised while also performing hidden actions. Independent counts put the public MCP server population above 21,000, with many packages receiving little security review. In response, Cisco AI Defense released three open source scanners, MCP Scanner, A2A Scanner and Skill Scanner, to automate parts of dependency review.

0
ProgrammingDEV Community ·

Enforcing link expiry at read time instead of relying on a background sweeper

A developer building a short-link service added an optional time-to-live after users requested temporary links for event invites, one-time documents, and agent handoffs. The first approach used a periodic sweeper to delete expired rows, but this made the database the source of liveness and introduced timing gaps. The redesign checks expiry at read time, with the sweeper serving only as a garbage collector for already-expired rows. The redirect handler returns the same 410 response whether a link never existed or has expired, so callers cannot distinguish the two cases. The author notes that links still expire correctly even when the sweeper is not run, and presents the approach as a general principle for ephemeral resources.

0
ProgrammingDEV Community ·

ConfiDict: A Private AI Vocabulary Coach That Grades Your Own Definitions

ConfiDict is a local-first vocabulary trainer built for the Hacktoberfest Open-Source AI Challenge, designed to help learners focus on the words they understand least. Instead of self-grading flashcards, users write definitions in their own words, and a locally run open-weight Gemma model rates each answer as strong, correct, partial, or incorrect with brief feedback. Each word carries a visible 0-100 confidence score, and a daily five-card session is drawn from the 15 lowest-scoring words using weighted randomness. Intended users include exam candidates preparing for IELTS, TOEFL, or GRE, adults improving workplace vocabulary, and tutors sharing curated word lists. The project is MIT-licensed, stores all data in the browser via IndexedDB without accounts or backend storage, and uses React, Vite, Ollama, and Vitest.

0
ProgrammingDEV Community ·

Scaleway Expands GPU Zones With AMD and NVIDIA Clusters in Europe

Scaleway announced at its ai-PULSE 2026 event on 13 October 2026 that it is adding new GPU clusters in Stockholm and Copenhagen to its existing Paris GPU Zone. The Stockholm cluster will use AMD Instinct MI355X accelerators, while Copenhagen will deploy NVIDIA B300 hardware. The company is also adding two availability zones in Milan, bringing its Italian region to three, and plans six more zones in 2027 across Stockholm and Frankfurt. Scaleway further cited a European inference chip partnership and an expanded model catalogue exceeding 40 models, though the release gave no specifications or dates for the chip.

0
ProgrammingDEV Community ·

SAP Previews AI Agent Tools for Migrating Custom ABAP Code at TechEd Berlin

SAP TechEd Berlin, running 27 to 29 October, will feature sessions on using AI agents to move custom code during ECC migrations. SAP says custom code, including thousands of Z programs, often slows down the shift to SAP Cloud ERP Private. The planned toolchain spans planning in SAP Cloud ALM through mass remediation with the Custom Code Migration Agent in SAP Joule for Developers. The article notes that success hinges on how many agent-generated fixes pass review and testing without changes. The author, who has not yet seen the sessions, frames the event as a preview and highlights SAP's clean core levels, which replaced the older three-tier model in August 2025.

← NewerPage 356 of 3101Older →