SShortSingh.

Programming

0
ProgrammingDEV Community ·

OpenGameBuilder Turns a One-Sentence Description into a Playable Game with Local LLMs

OpenGameBuilder is an open-source tool that lets users create small games from a short description, using a local model such as Gemma 4. It builds on a world engine that draws everything in code, so a world file of only about 551 bytes of JSON can produce a full village. Users pick a world and a game type, press Play, and download the result as a single offline HTML file. The project aims to help teachers, game masters, and small game makers who cannot draw or animate. Its developers also describe a royalty model in which the tools are free and fees apply only to games that earn over US$500.

0
ProgrammingDEV Community ·

How HTTP chunked transfer encoding works, with Go and Python examples

This DEV Community article explains HTTP chunked transfer encoding, which lets a server send a response body in pieces without knowing its total length in advance. It describes common use cases such as long-running computations that emit output gradually, large files served from disk, real-time data feeds, and server-sent events. The wire format is broken down, with each chunk prefixed by its size in hexadecimal and a zero-length chunk marking the end of the response. The piece also includes practical implementations of the technique, one written in Go and one in Python, that stream output over raw sockets.

0
ProgrammingDEV Community ·

SubScribe Field OS: Offline Voice Tool Turns Spoken Site Changes into Billable Documents

SubScribe Field OS is an open-source, local-first voice system that helps small construction subcontractors document out-of-scope work. A worker can describe a change in plain speech, such as moving electrical boxes because of a duct obstruction, and receive a structured, contract-referenced PDF within seconds. The stack runs entirely on the device, combining offline transcription tuned to trade vocabulary, schema-validated routing with a local Gemma model, and a contract search index so no client documents leave the hardware. The developer argues that recovering even one unbilled change order per month could justify the tool, and that avoiding per-token cloud fees keeps processing costs at zero per document.

0
ProgrammingDEV Community ·

Engineer Questions Pricing Rounding Logic Written by Principal Engineer

While tracing an unusual result in the pricing service, a developer noticed a rounding step applied before a discount rather than after, which looked incorrect. The code was written three years earlier by the team's principal engineer, and the developer acknowledged they might be missing context. The article advises turning the suspicion into a concrete, reproducible test with a real order example, then raising it openly as a question with evidence in the ticket or team channel. Whether the behavior turns out to be intentional or a genuine bug, the author argues the process of careful reading and clear questioning is the valuable takeaway. The piece was written by Asael Shinder and published on DEV Community.

0
ProgrammingDEV Community ·

QR generator bug caused a warehouse barcode to scan as a different product

A developer's barcode generator produced a Code 128 label for a warehouse bin, "BIN-7742-A", that was valid under the format spec. Two weeks after printing, the scanner returned the wrong item, almonds, because the leading character was read as a control code, shifting the decoding. The label was technically correct Code 128 but encoded a different string than intended. The developer fixed it by adding mod 103 checksum validation, refusing payloads that could be misread as control codes unless raw mode is explicitly requested, and exposing both encoded and decoded values in the API response. The episode underscores that a scannable barcode is not necessarily one that scans as the intended value.

0
ProgrammingDEV Community ·

LedgerLens: Open-Source Local AI Turns Handwritten Shop Ledgers into Structured Data

LedgerLens is an open-source tool designed to help small shopkeepers, vendors, and freelancers in India digitize paper ledgers written in Hindi, English, or a mix of both. The local-first agent runs on a standard laptop without a GPU, extracting structured entries such as dates, parties, amounts, and credit or debit types from photos of handwritten records. It validates and normalizes extracted data while flagging low-confidence entries for human review, rather than silently altering amounts. Unlike cloud-based accounting apps, it keeps sensitive financial records on the user's device, using open-weight models served through Ollama. The project was built for the Hacktoberfest Open-Source AI Challenge under the Side Hustle theme.

0
ProgrammingDEV Community ·

Mindleau Adds a One-Time Remove Ads Purchase to Its Local-First Flutter App

The developer behind Mindleau, a free iOS and Android brain dump journal and mood tracker, has added a single in-app purchase that removes all ads. The purchase is a one-time, non-consumable payment handled through RevenueCat, which verifies receipts on its servers and reports an ads_free entitlement tied to the user's Firebase ID. A PurchaseService manages the entitlement and caches it locally so paying users never see ads, even when offline or while waiting for the store to respond. Ads are controlled by an AdService that reads the purchase state at startup and listens for changes, and the Google Mobile Ads SDK is not started for users who have paid. The design also requires the app to keep working if purchases fail, and the third-party RevenueCat SDK must be disclosed in the privacy policy and store labels.

0
ProgrammingDEV Community ·

ACP, UCP y AP2: los protocolos que permitirán a agentes de IA comprar en tiendas online

Los protocolos del comercio agéntico son reglas comunes que permiten a un agente de IA descubrir productos, pagar y acreditar que actúa en nombre de un cliente. Los principales son ACP, impulsado por OpenAI y Stripe, y UCP, de Google, para comprar, además de AP2 para autorizar pagos y los protocolos de Visa y Mastercard basados en Web Bot Auth para identificar al agente. Las tiendas pequeñas y medianas no necesitarán implantarlos manualmente, ya que llegarán a través de su plataforma o pasarela de pago, aunque sí deberán mantener datos de producto legibles por todos ellos. Según el texto, estos estándares buscan evitar integraciones a medida por cada tienda, de forma similar a lo que supuso HTTPS para el comercio electrónico.

0
ProgrammingDEV Community ·

Disney Agrees to Hire Most of Character.AI's Staff in a Bid That Could Be Topped

A court filing indicates Disney has agreed to hire the majority of Character.AI's workforce as part of a stalking horse bid for the company. The vast majority of employees who were offered jobs have accepted them, according to the filing. Because a stalking horse bid is an initial offer that rival buyers can outbid, the Disney arrangement may serve as a baseline rather than the final price. The deal is therefore a talent-focused move rather than a completed acquisition. Analysts note that users and developers relying on Character.AI's products or contracts should plan for both a Disney-led outcome and a competing bid.

0
ProgrammingHacker News ·

Agent-Skills.market launches as a site listing skills for AI agents

A new website called Agent-Skills.market was shared on Hacker News, where it received 7 points and one comment. The site appears to be a marketplace or directory for skills intended for AI agents. The source material provides only the site's URL, its Hacker News discussion link, and basic engagement metrics. Beyond these details, no further information about the platform's features, creators, or launch date is available from the item.

0
ProgrammingDEV Community ·

Selective RabbitMQ dead-letter replay: move only matching messages with a Python script

Replaying an entire RabbitMQ dead-letter queue resends messages that should not be retried, such as orders and declined payments. Basic get-and-requeue loops fail because requeued messages return to the head of the queue. The article's approach keeps unwanted messages unacknowledged while reading onward, then returns them all with a single negative acknowledgement. Matching messages are republished with publisher confirms and mandatory routing before the original is acked, and dead-letter headers are stripped. Tests on classic and quorum queues reportedly preserved the order of the messages left behind and kept nothing moved if a failure occurred.

0
ProgrammingDEV Community ·

llama.cpp UI Adds HuggingFace Hub Model Discovery and Synced Sidecar Downloads

A recent pull request brings a Discover Models view into the llama.cpp UI, letting users search and filter GGUF models hosted on HuggingFace Hub without leaving the app. Previously, users had to locate and download quantized models manually, and draft sidecar files such as dflash or mtp had to be tracked separately. The new view shows download buttons that reflect live states like queued, in progress, or paused, and lists draft files as sub-items under their main model. The download subsystem in common/download.cpp was extended so that downloading a main model automatically queues its sidecars, with pause, resume, and cancel applying to all related files together. The change also includes settings toggles to enable or disable the Discover integration and to filter out unsupported models.

0
ProgrammingDEV Community ·

BillBuddhi: Local-First AI Tool Turns Invoices into Reviewable Ledgers

BillBuddhi is an open-source prototype aimed at Indian freelancers and small businesses, built by a developer for a Hacktoberfest AI challenge. The tool accepts invoice images and text-based PDFs, extracting text with Tesseract OCR and pypdf before a local Gemma model running through Ollama suggests structured fields such as supplier, tax components, and totals. Users can correct the extracted values, review basic consistency flags, and export confirmed entries to CSV. The project is built with Python and Streamlit, and its creator stresses that it is not accounting software and does not provide GST compliance or tax advice. Running the model locally is presented as a way to keep sensitive financial data under the user's control.

0
ProgrammingDEV Community ·

How to Convert HEIC Photos to WebP for Faster Websites Without Uploading Them

Large photos are often the heaviest files on a web page, and iPhone HEIC images cannot be displayed by most browsers. The article recommends WebP, which typically yields files 25–34% smaller than JPG at similar visual quality and supports transparency. It advises converting only key images such as banners, product photos and large files first, and checking results for artifacts, file size and dimensions. A browser-based converter can handle HEIC-to-WebP conversion locally, so photos are not uploaded to a server. The piece also recommends using a picture element with a JPG fallback and keeping original HEIC files for future edits.

0
ProgrammingDEV Community ·

HisabMate: Local-First AI Ledger for Indian Microbusiness Credit Records

HisabMate is an open-source, local-first digital version of the traditional bahi-khata credit ledger used by small Indian shopkeepers and tradespeople. It keeps customer data on the owner's own machine, using exact integer-paise arithmetic and SQLite storage rather than cloud accounts or subscriptions. A local language model via Ollama assists with transaction entry, but the application code alone validates and calculates balances. The developer says the project is not publicly deployed and has no paying users yet, so the target market remains a hypothesis. The project was submitted to a Hacktoberfest open-source AI challenge.

0
ProgrammingDEV Community ·

GitHub Copilot to Retire Three Models on November 16, 2026

GitHub will remove Claude Opus 4.8, Claude Opus 5, and GPT-5.6 Terra from Copilot on November 16, 2026. Its suggested replacements are Claude Opus 5.5 for the Claude models and GPT-6.1 Sol or GPT-6 Luna for GPT-5.6 Terra. The one exception is Claude Opus 4.8, which stays available to individual Copilot subscribers on annual plans. The article notes this is the third round of retirements in a recurring pattern and urges developers to audit pinned model names in their code, scripts, and CI pipelines. Anthropic's own API continues to offer these models until at least mid-2027.

0
ProgrammingHacker News ·

Guide Explores Using Tmux to Manage Claude Code Sessions and Send-Keys Limits

A guide published at crystl.dev examines how the terminal multiplexer tmux can be used alongside Claude Code, Anthropic's AI coding tool. It covers managing sessions and using send-keys to pass input to running processes. The article also discusses the practical limits, or ceiling, of this approach. The item was shared on Hacker News, where it received 4 points and no comments at the time of capture.

0
ProgrammingDEV Community ·

QuoteCraft Uses Open-Weight AI to Turn Client Requests into Freelance Quotations

QuoteCraft is an open-source tool that converts informal client project descriptions into structured, professional quotations for freelancers and small agencies. It generates a project overview, deliverables, timeline, itemized pricing, and assumptions, which can be edited with totals recalculated automatically before PDF export. The application is built with Python, Streamlit, Groq, Pandas, and ReportLab, using the open-weight GPT-OSS-20B model accessed through Groq's inference API. The developer highlights that the architecture is not tied to one proprietary model provider and could be adapted to other hosted or local open-weight deployments. The project was submitted to the Hacktoberfest Open-Source AI Challenge.

0
ProgrammingDEV Community ·

Proxylity Releases AWS CDK Library for Serverless UDP Gateway Listeners

Proxylity has released @proxylity/cdk-udp-gateway, an AWS CDK construct library for its UDP Gateway service. The UDP Gateway provides managed UDP, WireGuard, or DTLS listener endpoints that deliver inbound datagrams in batches to AWS destinations such as Lambda, SQS, and S3. Previously, developers had to provision these listeners by hand-writing CloudFormation custom resources, including manually built IAM roles and least-privilege policies. The new library lets developers define the service in typed TypeScript, Python, or other supported languages instead. The article explains the library's layered design, with a faithful low-level layer kept separate from higher-level ergonomic constructs.

← NewerPage 326 of 3078Older →