SShortSingh.

Programming

0
ProgrammingDEV Community ·

Our structured data named a founder, and the fix was to name nobody

Five sites, five separate repositories, one hand-copied TypeScript file. That file is the only reason a crawler can tell the five domains come from one company rather than being five unrelated sites that link to each other. It has been rewritten three times in three days, and every rewrite was driven by the same rule: the structured data is not allowed to say anything the page does not say. The first shape was the obvious one. A PUBLISHER constant with a name and an @id, a list of the apps, and every site emitting the same publisher identifier.

0
ProgrammingDEV Community ·

Building Maliklang V1: An Open-Source Offline Compiler Architecture for Hinglish Logic 🚀

Hello Developers! 👋 I wanted to share Maliklang V1, an open-source, independent programming infrastructure built specifically to run code entirely offline, using Hinglish programming logic. 💡 The Core Problem Most modern coding languages and developer platforms strictly enforce English-centric syntax and high-bandwidth cloud execution dependencies. For local developers, student coders, or infrastructure builders working in data-isolated environments or rural setups on consumer-grade hardware, this creates double the friction. Maliklang V1 was designed to completely smash these traditional te

0
ProgrammingDEV Community ·

Reading a canvas back doubles its memory: numbers from three engines

getImageData on the full canvas. For a long time our memory estimate for a large image was "width × height × 4". That number is right for the canvas itself, and it is exactly half of what the component actually holds once it reads the pixels back. The numbers below come from a round of measurements on an Apple M4 with 16 GB, using three engine builds: the Chromium 149 open-source build, a WebKit 26.5 build and a Firefox 151 build. None of them is the browser you download, so read nothing here as Chrome, Safari or release Firefox behavior.

0
ProgrammingDEV Community ·

Building a Weather CLI App in Python (Beginner Project)

📌 Quick Info Topic: Building a real command-line app with Python Target Audience: Beginners who know the basics and want a first project Goal: Combine everything you've learned into one working tool "I'd learned variables, loops, functions, APIs, and JSON. But I hadn't built anything real. So I built a weather app — and it taught me more than any tutorial." A command-line tool where you type: python weather.py Karachi And it prints: Weather in Karachi: Temperature: 32.4°C Wind speed: 12.5 km/h No Frameworks. No GUI. Just Python + an API.

0
ProgrammingDEV Community ·

I tested my CRS calculator against the Canadian government's own code on 5,000 random profiles

Canada picks skilled immigrants through Express Entry, and every candidate gets a CRS score (Comprehensive Ranking System, out of 1,200). The score decides who gets invited, so people check it obsessively — and dozens of websites offer "CRS calculators". When I looked at the popular ones, many were simply wrong. In March 2025 the government (IRCC) removed the points for job offers, which used to be worth 50 or 200 points. A year and a half later, several well-ranked calculators still asked about job offers, and one still claimed a job offer was worth 600 points.

0
ProgrammingDEV Community ·

SafeBite

SafeBite is a full-featured, zero-anxiety desktop meal planner built specifically for my friend Buddy, who suffers from severe dietary triggers and allergies to three of the most pervasive staples in Indian and vegetarian cuisine: 🚫 Paneer (Indian Cottage Cheese) 🚫 Curd / Dahi (Yogurt) 🚫 Brinjal / Baingan (Eggplant / Aubergine) The Problem It Solves For someone with these specific intolerances, deciding what to eat every single day is a stressful minefield. In traditional home cooking and restaurant menus, paneer, curd, and brinjal are frequently hidden — blended into makhani gravies, used

0
ProgrammingDEV Community ·

Understanding RocketMQ Rust Through One Message

Architecture and deployment evaluation When an order service publishes an event, the interesting question is what happens after the send call returns. Which process accepted the message? What reached storage? What happens if the response disappears, the consumer restarts, or a database update succeeds just before progress is saved? Those questions are a useful way to explore RocketMQ-Rust.

0
ProgrammingDEV Community ·

DockForge — AI-Powered Dockerfile Generator

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend I built DockForge, an AI-powered Docker engineer that turns a software repository into a working Docker setup. I built it for a friend who often works on projects that run perfectly on their machine but become painful to containerize. Instead of manually figuring out the runtime, dependencies, package manager, ports, build commands, system packages, and startup configuration, DockForge analyzes the repository and generates a Docker setup tailored to the project. The goal isn't just to generate a Dockerfile that lo

0
ProgrammingDEV Community ·

Request Smuggling in the ASGI Stack: Starlette and LiteLLM

Request Smuggling in the ASGI Stack: Starlette and LiteLLM Why framework-level parsing flaws travel far A web framework that parses requests incorrectly affects every application built on it, and the fix has to be applied in each of those deployments. Two 2026 CVEs make the point in the Python ecosystem. CVE-2026-48710 in the Kludex Starlette framework is described as HTTP request or response smuggling leading to authentication bypass, and CVE-2026-59822 in BerriAI LiteLLM is described as improper authentication. Both were added to CISA's Known Exploited Vulnerabilities catalog on 2 September

0
ProgrammingDEV Community ·

J'ai publié 8 livres et guides sans dépenser un seul euro : le pipeline complet

Il y a trois semaines, je n'avais aucun produit en ligne. Aujourd'hui, huit guides sont en vente sur ma boutique, et une nouvelle sortie est prévue chaque lundi. Le plus intéressant n'est pas le contenu. C'est le pipeline. Chaque livre suit le même chemin : Un thème est choisi dans une liste (productivité, IA, freelance, organisation…) Le contenu est rédigé en markdown Un script Python convertit le markdown en EPUB compatible Amazon KDP Le même contenu devient un PDF propre pour la vente directe L'API de la boutique crée le produit, téléverse le fichier, met en vente La partie clé : les étapes

0
ProgrammingDEV Community ·

How to check if ChatGPT recommends your brand: a 30-minute manual audit

More and more people skip the search results page entirely. They open ChatGPT, Perplexity or Gemini, type a question like "what's the best invoicing tool for freelancers?", and pick one of the two or three names the answer gives them. Forget keywords for a moment. AI assistants receive full questions, often with context. Write 15 to 20 of them, split into three groups: Discovery questions: "what tools help with X?", "how do small teams handle Y?"- Comparison questions: "X vs Y", "alternatives to Z", "is X worth it?"- Problem questions: the pain your product solves, phrased the way a frustrated

← NewerPage 662 of 3152Older →