SShortSingh.

Programming

0
ProgrammingDEV Community ·

Developer Shares Low-Cost Method to Run Claude Coding Sessions From a Phone

A DEV Community author describes how to write code, research, and design documents with Claude from a mobile phone for about $20 per month, using the Pro plan instead of the pricier Claude Max plan. The Max plan lets users run Claude remotely on an Anthropic-hosted server and push to GitHub by default, which the author contrasts with the cheaper alternative. The approach relies on a self-hosted web server, a phone terminal app, and a shell alias that launches a tmux session running Claude with remote control on that server. Users can open a separate Claude session per project and optionally install the GitHub CLI so Claude can create repositories or push code. The piece is written in a humorous, anecdotal tone rather than as a formal guide.

0
ProgrammingDEV Community ·

SlothFlow AI: A Lightweight Browser Productivity Dashboard for Everyday Tasks

SlothFlow AI is a browser-based productivity dashboard built for people who want to manage everyday responsibilities with less effort. It bundles tools for turning brain-dump notes into structured task lists, summarizing long text, creating categorized grocery lists, and generating a routine based on energy level. The project is written in plain HTML, CSS, and JavaScript and can be opened directly in a browser, with tasks and checklists stored locally on the device. Its creator plans to add an open-weight language model that runs in the browser, aiming for smarter summaries and personalized plans without relying on a paid cloud AI service. The project was submitted to the Hacktoberfest Open-Source AI Challenge.

0
ProgrammingDEV Community ·

Developer builds enterprise AI dashboard using only vanilla JavaScript, no frameworks

A developer set out to create a data-heavy, enterprise-style interface without React or any other framework, relying solely on HTML, CSS, and native ES6+ JavaScript with no bundlers or npm packages. The dashboard includes animated KPI counters, hand-built Canvas 2D line and donut charts, a simulated AI assistant that streams text letter by letter, and multi-tenant workspace switching. The author aimed to show that modern browsers are capable on their own and that the approach yields near-instant performance. The project also served as an exercise in DOM manipulation, state management, advanced CSS Grid, event delegation, and the Canvas API. The live demo and source code are published on GitHub.

0
ProgrammingDEV Community ·

Explaining JavaScript Closures Through a Bank Account Example

A DEV Community article explains closures in JavaScript as functions that retain access to variables from their outer scope after that scope has finished running. It illustrates the concept with a bank account example, where a balance variable stays private while inner deposit and balance-check functions can still read and update it. The piece walks through how the returned functions preserve access to the local variable without exposing it directly. It also outlines practical uses of closures, including data privacy, callbacks, function factories, and maintaining state. The article closes by defining a closure as a function together with its surrounding lexical environment.

0
ProgrammingDEV Community ·

Converting Browser cURL Commands to Production Code Without Manual Errors

Developers often copy a successful API request from browser DevTools as a cURL command, then struggle to reproduce it in backend code. Hand-translating these commands is tedious and error-prone, largely because of Bash escaping quirks, a large set of exported headers that mostly don't matter, and confusion over which data flag or payload format to use. Mismatches between raw data strings and JSON headers can also produce hard-to-diagnose 400 errors in libraries like Python's requests. The article demonstrates idiomatic equivalents in Node.js using native fetch, in Python with requests, and in Go using net/http, which involves more boilerplate. It also argues that automating the conversion avoids these pitfalls and reduces the technical debt of copying dozens of headers.

0
ProgrammingDEV Community ·

LazyList AI: A minimalist task organizer that sorts to-dos into three buckets

Developer Md Faisal built LazyList AI, a lightweight task organizer for the Hacktoberfest Open-Source AI Challenge Week 3 under the 'Slow and Steady' theme. The app takes a raw list of tasks and sorts them into three categories: Do Now, Do Later, and Skip or Simplify, aiming to reduce decision fatigue and productivity guilt. It is built with vanilla HTML, CSS, and JavaScript in a single zero-dependency file and can be tested live in a browser. By default it uses a rule-based keyword classifier, with an optional mode that uses the compact open-weight qwen2.5:0.5b model via a local Ollama instance. The project is publicly available on GitHub.

0
ProgrammingDEV Community ·

How to Convert PDFs to Markdown for RAG and Chatbots, and When to Skip It

Markdown preserves headings, lists and tables as plain text, making it a practical intermediate format between PDFs and vector stores. PDFs with a real text layer convert cleanly, while scanned documents require OCR first. Tables, multi-column layouts and repeated headers are common failure points, so outputs should be checked before embedding. The article notes that headings provide natural chunk boundaries, support smaller context and enable source citations. It also advises checking for a text layer with a viewer or a PyMuPDF script, and compares a web converter for single documents with open-source libraries for batch jobs.

0
ProgrammingDEV Community ·

Cash-on-delivery orders in Egypt turn delivery apps into accounting systems

Many online orders in Egypt are still paid in cash to couriers at the door, so money bypasses payment gateways and must be tracked manually. The author, founder and CTO of the logistics platform Rahwan run by Giantrex, describes the difficulty of tracking funds among vendors, couriers, and the platform. Each party is given a wallet, and an append-only transactions table records every movement with its reason and a balance snapshot. When an order is delivered, credits and debits across the three wallets must net to zero, which lets any discrepancy be traced to a specific order.

0
ProgrammingHacker News ·

Terence Tao Launches Community Hub for Revising OpenAI's Math Write-Ups

Mathematician Terence Tao has announced a community hub called oai-math-revised, aimed at revising write-ups of mathematical work produced by OpenAI. The project invites community participation in reviewing and improving those documents. The announcement was posted on Tao's blog and shared on Hacker News, where it drew modest early attention. The source material provided is limited, so details such as specific revisions, timelines, and governance of the hub are not described here.

0
ProgrammingDEV Community ·

Quy trình bốn bước giúp tóm tắt tài liệu kỹ thuật dài bằng AI mà không bỏ sót chi tiết

Bài viết chia sẻ cách dùng chatbot AI để tóm tắt tài liệu kỹ thuật dài như RFC hay tài liệu API mà không làm mất các chi tiết quan trọng. Thay vì cắt văn bản theo số ký tự cố định, tác giả khuyên nên chia theo từng mục như xác thực, endpoint, mã lỗi và giới hạn. Mỗi phần được trích xuất theo một yêu cầu cụ thể, chẳng hạn liệt kê tham số bắt buộc, giới hạn hệ thống và những điều tài liệu không nói rõ, đồng thời yêu cầu AI chỉ dùng thông tin có trong văn bản. Các kết quả sau đó được gộp thành bảng tra cứu nhanh, đánh dấu những mâu thuẫn giữa các phần vì đó thường là nguồn gốc của lỗi. Cuối cùng, người đọc nên kiểm tra chéo vài dòng với tài liệu gốc và kiểm tra chính sách công ty trước khi đưa tài liệu nội bộ vào công cụ AI công cộng.

0
ProgrammingDEV Community ·

TornadoVM 7 Lets Java Code Run on GPUs and FPGAs, GrapheneOS Gains Bank App Support

TornadoVM 7 has been released, dynamically compiling standard JVM bytecode into OpenCL, CUDA, or SPIR-V so Java programs can execute on GPUs and FPGAs. The update improves memory handling and reduces data transfer overhead between host and device. Separately, about a dozen major banking apps have started explicitly allowing verified GrapheneOS installations despite strict hardware attestation and Play Integrity checks. This lets privacy-focused Android users keep the hardened operating system without giving up mobile banking. The roundup also highlighted OBS Studio 33 and a community remaster of the 1990s game One Must Fall 2097.

0
ProgrammingDEV Community ·

Loan Match Uses One AI Call to Match 10,000 People With Personal Loans

A developer built Loan Match, a system that takes a CSV of people, reads lender websites daily, and emails each person a tailored list of loans they may qualify for, with reasons. The design began from fixed requirements rather than tool choice, and the file bypasses the API entirely: the browser uploads directly to S3 in checksummed chunks via presigned URLs, since API Gateway's size and timeout limits would fail on large files. A queue sits between S3 and the Lambda processor, providing visible retries, a dead-letter queue for failures, and a concurrency cap to protect the database. The Lambda streams rows in constant memory, normalizes messy spreadsheet data, and bulk-loads valid records into PostgreSQL, rejecting the whole import if more than 20% of rows are invalid. The author reports that the Go rewrite loads one million rows in about six seconds.

0
ProgrammingDEV Community ·

Supermicro Unveils 4U Server With 160 Hot-Swap NVMe Drive Bays

At FMS 2026, Supermicro showcased the ASG-4116S-NU160R, a 4U server that houses 160 NVMe SSD bays. The system uses standard 2.5-inch U.2 drives rather than a newer EDSFF form factor, which far exceeds the typical 24 to 48 drives found in comparable high-density servers. Its two-level slide-out tray separates the hot-swap drives from the CPU, memory, and networking, while central PCIe switches manage the connectivity that a single CPU could not provide directly. Each bay runs at PCIe 4.0 x1, and power and cooling are handled by redundant 2600W supplies and rear fans. The design aims to reduce server count, ports, and power overhead for large flash storage deployments.

0
ProgrammingDEV Community ·

Raspberry Pi 5 RAM Upgrades Blocked by Firmware Since 2024, Documentation Now Surfaces

Hobbyists had long upgraded Raspberry Pi 5 memory by swapping the LPDDR4X chip, a practice that ended when bootloader EEPROM releases dated 2024-09-23 and later began rejecting memory that differs from factory provisioning. Boards with swapped chips now fail SDRAM initialisation and will not boot, signalled by eight flashes of the green ACT LED. Raspberry Pi Ltd, the trading company, says the restriction targets resellers who fitted larger chips to low-RAM boards and sold them as higher-capacity models. The behaviour was only publicly documented in September 2026 by Jeff Geerling, while the official changelog does not mention a memory check, and a 2025 forum issue offers the clearest evidence.

0
ProgrammingDEV Community ·

Signal Adds Optional Phone-Number-Free Sign-Up, Paid via Zero-Knowledge Credentials

Signal has introduced an optional registration path that does not require a phone number, currently in its Android 8.28.0 beta released 16 September 2026. Accounts are identified by an Account ID and Account Key rather than any verified personal detail, and a one-time in-app purchase of about 3 USD in the US serves as the anti-spam measure. Zero-knowledge proofs, reused from Signal's donation badge system, are used so the payment cannot be linked to the new account. Google Play still records the purchase on the user's side, a limitation Signal acknowledges, and additional payment methods are planned. The feature is Android-only and unavailable on devices without Play Services for now.

0
ProgrammingDEV Community ·

NCFA Outlines Five Commercial Paths for Developers Building on Open Banking

The National Crowdfunding & Fintech Association of Canada has identified five commercial opportunities for financial software developers in open banking. The UK processed 351 million open banking payments in 2025, which the article cites as evidence of measurable demand. The proposed opportunities include financial intelligence tools for lenders, consent and compliance infrastructure, embedded finance for business software, and programmable payments. Canada is implementing consumer-driven banking in stages, so read-access capabilities can be used now while write access and payment initiation come later. The NCFA says developers entering this space need to start with the customer and financial process rather than just the technical documentation.

0
ProgrammingDEV Community ·

Session Management II: Adding Context Compaction to a Basic AI Agent

This tutorial continues a series on building a basic AI agent from scratch, focusing on session management. Long-running sessions eventually exceed the model's context window and become slow and costly, so the author adds context compaction. The harness estimates token usage before each request and automatically compacts once it passes 80% of the token budget, or on demand via a manual command. Compaction splits the conversation at the latest user-turn boundary so tool calls and results stay paired, then summarizes older turns with a separate, low-temperature LLM call while the full transcript remains on disk. The summary is inserted as a clearly labeled untrusted-data user message to reduce prompt-injection risk, and the summarization call's usage is tracked in the session's cost estimate.

0
ProgrammingDEV Community ·

14 Places to Launch Developer Tools in 2026, From Weekly Launchpads to Directories

A founder has compiled a shortlist of 14 platforms where developers can share new tools such as APIs, CLIs, SDKs, and open-source libraries in 2026. The list spans weekly launch competitions, technical communities like Show HN, and open-source discovery directories. Each option is described by its best use case and its trade-offs, since some suit an initial launch while others help projects be found long after release. The author discloses that their own platform, SemiLaunch, is the top pick, so the list is a practical founder's perspective rather than an independent popularity ranking. The piece also notes that listing terms and costs change, so creators should check each site's current submission rules.

0
ProgrammingDEV Community ·

Developer asks which part of shipping software takes longest beyond core features

A developer reflects on how much software development time goes into work outside the core product, such as authentication, databases, infrastructure, integrations, and deployment. They say they built Mudbase BaaS to address some of these backend challenges. They also mention exploring how AI-assisted development and code execution could simplify parts of the process. The post invites other builders to share which stage, from prototype to working application, they find most frustrating.

← NewerPage 31 of 2878Older →