SShortSingh.

Programming

0
ProgrammingDEV Community ·

PGSimCity

PGSimCity PGSimCity is an open‑source simulation framework that lets developers prototype city‑scale systems with a focus on performance, extensibility, and realistic traffic modeling. It provides a plug‑in architecture, a built‑in physics engine, and a deterministic event scheduler that makes it possible to reproduce results across machines. In the first 100 words you already know what the library does, why it matters, and how you can start using it. City simulations have grown from toy projects to critical tools in urban planning, logistics, and game development. Traditional engines either s

0
ProgrammingDEV Community ·

S3 vs NFS for Kubernetes: Where Each One Actually Wins

S3 and NFS solve different Kubernetes storage problems. Use NFS or a CSI file driver when pods need shared, POSIX-style read-write-many file access. Use S3-compatible object storage when apps call the S3 API for immutable blobs, backups, and data lakes. RustFS gives you that S3 layer self-hosted under Apache 2.0. Dimension NFS (file) S3 object storage (RustFS) Access protocol NFS v3 / v4 over TCP HTTP REST (S3 API) Concurrent pods ReadWriteMany, native One writer per object; concurrency via versioning / ETag Kubernetes mount csi-driver-nfs (nfs.csi.k8s.io, GA, K8s 1.21+) No native volume type;

0
ProgrammingDEV Community ·

How to write test cases someone else can run

Most test cases are written by the person who built the feature, in a hurry, for themselves. They read fine to the author and fall apart in anyone else's hands: a step that assumes you know where the button is, an expected result that says "works correctly", a check that only passes if you ran the one before it. This post is about writing them so somebody else can run them and reach the same answer you would. That matters more now than it used to, because "somebody else" is increasingly a teammate on a different phone, a client doing acceptance testing, or an AI assistant working through your

0
ProgrammingDEV Community ·

The empty toolbar icon problem

There's a moment every Chrome extension has to survive, and it isn't the Store listing or the marketing site. It's the moment after Chrome says the extension is added. The icon is sitting in the toolbar and nothing useful has happened yet. That moment is quiet, and it's where a lot of small tools fail. Not because the idea was wrong, but because the first session never gave someone a reason to do the one action that makes the product real.

0
ProgrammingDEV Community ·

Pomodoro Timer

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend A friend of mine sometimes has trouble concentrating on their studies, so I made them a simple Pomodoro Timer using Python. Copy the code to a file named main.py. Feel free to use a venv. After you have done that, run the two commands below. You only have to install the PyQt6 package once.

0
ProgrammingDEV Community ·

Testing deep links on a real phone without emailing them to yourself

On a simulator or a phone connected by cable, opening a deep link is one command: # iOS Simulator xcrun simctl openurl booted "myapp://orders/1234" # Android device or emulator over adb adb shell am start -W -a android.intent.action.VIEW -d "myapp://orders/1234" On the phone in your hand, with no cable and no terminal, most of us do something worse. We paste the link into Notes, send it to ourselves in Slack, or email it to our own address, then tap it and hope it opens the right screen. When the order number changes, we do it again. It gets harder when someone else reports the bug. The ticket

0
ProgrammingDEV Community ·

The death of the craft: Why development feels completely empty now.

I’ve been a backend dev for about four years, and lately, I feel like I'm attending the funeral of my own profession every single morning at the daily stand-up. I am grieving a job that, technically, still exists. My title hasn't changed, my salary is the same, but the day-to-day reality of what I actually do is completely unrecognizable. We used to be the ones who built things from the ground up. We were engineers.

0
ProgrammingDEV Community ·

ZipMania: A Windows Archive Manager with In-Archive Previews

ZipMania is a free, open-source archive manager for Windows 10 and 11. It brings archive browsing, file previews, and Windows Explorer integration together in one desktop app. Browse before extracting ZipMania can preview images and text files inside supported archives, so you can check contents without first unpacking everything. It supports common formats including ZIP, 7Z, RAR, EGG, ALZ, and ISO. A ZIP engine designed for parallel processing When creating ZIP archives, ZipMania can process multiple files in parallel.

0
ProgrammingDEV Community ·

Learning Distributed Object Storage with Incus and PGSTY SILO

Aku buat R&D homelab untuk memahami konsep distributed storage, khususnya bagaimana object storage seperti MinIO/SILO menggunakan beberapa storage drives dan nodes untuk menyediakan redundancy dan survive daripada kegagalan storage. Untuk lab ini, aku gunakan: Windows + WSL2 Debian Incus Debian VM PGSTY SILO MinIO Client (mc) ext4 filesystem Tujuan utama bukan untuk membina production storage cluster, tetapi untuk memahami apa yang berlaku apabila storage drive atau node gagal. PGSTY SILO ialah fork daripada MinIO yang mengekalkan compatibility dengan S3 dan MinIO tooling. (github.com) Istilah

0
ProgrammingDEV Community ·

OpenScout: An Autonomous Open-Weight AI Event Scout

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built OpenScout – Personal Open Source Event Notifier, an autonomous AI-powered scout that monitors, aggregates, and ranks developer events, hackathons, and open-source meetups based on deep semantic relevance. I built OpenScout specifically for my close friend, who is deeply interested in open-source development, developer meetups, hackathons, and cutting-edge topics in AI/ML, DevOps, Docker, Kubernetes, and Cloud Computing. Living in India, my friend constantly looked for events in Pune, Mumbai, or global Onli

0
ProgrammingDEV Community ·

How we built a verified dataset of 198 tour group headset rules

We work on a small app for tour guides (Your Next Tours), so we needed that table anyway. This post is about how we built it, what the schema looks like, and the mistakes we tried to avoid. The result is open under CC BY 4.0 on Hugging Face and Kaggle. The first pass was a survey of 228 candidate rules. That list was useful for finding places, but it was not trustworthy.

0
ProgrammingDEV Community ·

Building an AI Code Lab Assistant for a Friend: My Hacktoberfest Weekend Project

Introduction To solve this, I built the AI Code Lab Assistant—a full-stack web application designed to act as an interactive coding mentor, offering real-time code analysis, bug explanations, and helpful suggestions right in the browser. What I Built Interactive Code Workspace: Powered by a clean editor interface where users can paste or write code snippets. Smart AI Debugging: Connects with advanced LLM APIs to analyze code, spot logical or syntax errors, and provide step-by-step fix recommendations. Tailored Explanations: Instead of just giving the answer, it breaks down why an error occurre

0
ProgrammingDEV Community ·

Preço certo, prazo antigo: como conferir as transições de uma proposta em HTML

Uma proposta interativa pode mostrar o preço certo e, ao mesmo tempo, manter o prazo da opção anterior. É fácil não perceber isso quando cada botão é conferido separadamente. Ao organizar um exemplo pequeno em HTML e JavaScript, o critério foi fazer preço, prazo e entregáveis saírem da mesma combinação de dados. São dois pacotes e duas revisões, com valores fictícios. O estado guarda as escolhas, não o resultado: let revision = "first"; let plan = "essential"; Uma tabela contém as quatro combinações.

0
ProgrammingDEV Community ·

Brutalist House: A 3D Spatial Wall & Local AI Color Palette Inspector

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built Brutalist House—a local AI-powered interior color palette generator and interactive 3D spatial room inspector. I built this for a friend who is an interior design enthusiast and architect. They love brutalist architectural aesthetics—unprocessed concrete bases, raw functional zoning, and high-visibility accent pops—but constantly struggled to visualize how a 4-color palette translates onto actual 3D walls in a room. Plain HEX swatches on a flat screen just don't tell you how a room will feel when light hit

0
ProgrammingDEV Community ·

How to scrape any public Telegram channel without the API (no phone number, no login)

There are two usual ways to read a Telegram channel from code, and both are annoying: Bot API: a bot only sees posts from channels where it's an admin, so it can't read someone else's channel. MTProto (Telethon / Pyrogram): works, but needs an api_id/api_hash from my.telegram.org, which is tied to your phone number. You also manage a logged-in session, and risk your account if you scrape hard. There's a third way that most people miss: every public channel has a web preview at https://t.me/s/ . It's plain HTML, needs no login or account, and contains the full post text, date, view count, react

0
ProgrammingDEV Community ·

Install 36 Local Developer Tools in Cursor with DevUtils MCP

AI coding assistants can calculate a hash, decode a JWT, format JSON, or generate a UUID. The problem is not that these operations are difficult. The problem is making the assistant use a defined tool with visible boundaries instead of guessing, switching to an unreviewed web service, or producing a plausible but incorrect result. DevUtils MCP packages a local Model Context Protocol server for Cursor and Claude Code. The plugin currently declares version 1.0.7 and starts devutils-mcp-server through npx.

← NewerPage 717 of 3158Older →