SShortSingh.

Programming

0
ProgrammingDEV Community ·

Route planning for Southeast Asia without self-hosting OSRM

Ask anyone who has run OSRM in production and they will tell you the same story: the routing engine is wonderful, and the server it runs on is a monster. The planet-wide graph wants 128 GB of RAM and a day of preprocessing. Even a Southeast Asia extract — the region many of us actually ship for — means tens of gigabytes of memory, multi-hour osrm-extract runs, and a recurring maintenance chore every time OpenStreetMap data is refreshed. There is a hidden tax beyond the hardware, too. Someone has to babysit the pipeline: re-run the preprocessing when the OSM extract updates, watch memory pressu

0
ProgrammingDEV Community ·

The Company Behind Cursor's Vector Search Just Killed the Vector-First Database

Last month I watched a teammate spend two days migrating 4 million embeddings from Postgres into a dedicated vector database because a benchmark blog post scared him. The migration added a second database, a sync job, and a new failure mode. His queries got 30 ms faster. Nobody using the product noticed. I thought about him when I read turbopuffer's September 30 post, RIP, vector database.

0
ProgrammingDEV Community ·

2% bias, 98% noise: what I built, and cut, for a hackathon judging engine

2% bias, 98% noise: what I built, and cut, for a hackathon judging engine The sample event Hackathon Raptors gave us for Dogfood 2026 has 41 projects, 30 judges and 126 finished reviews. When my judging engine split the judges' disagreement into "this judge is just more generous" and everything else, generosity came out at about 2%. That number ended up deciding most of what I built and most of what I cut. Dogfood's brief was the same for every team: in 72 hours, build the submission and judging platform Raptors will run their own events on. I entered solo.

0
ProgrammingDEV Community ·

Running a Zero-Cost Social Auto-Poster on Cloudflare Workers

The 48-Runs-a-Day Problem Scheduling a social media auto-poster to run every thirty minutes results in forty-eight unattended executions per day. While setting up a basic scheduled event to call a platform API is straightforward, the naive approach fails operationally within days. Long-lived platform tokens eventually expire, cron redeliveries trigger duplicate posts, and unhandled provider errors burn through daily quotas while flooding your inbox with success alerts. For a related implementation, see Normalize Cloudflare Workflows Trigger Payloads. Running this workload reliably on a serverl

0
ProgrammingDEV Community ·

WordPress CVE-2026-87902: an Unauthenticated Path Traversal That Escalates into Remote Code Execution

WordPress CVE-2026-87902: an unauthenticated path traversal that escalates into remote code execution Opening A critical WordPress core vulnerability began attracting exploitation attempts within days of its disclosure, and the pattern is unusually consistent for an early campaign. CVE-2026-87902 is a path traversal issue in the template resolution logic of WordPress core, rated 9.2 on the CVSS scale. It requires no authentication and no user interaction. Public reporting attributes the first confirmed exploitation attempt to 22 September 2026 at 11:49 UTC, with 68 distinct attempts recorded b

0
ProgrammingDEV Community ·

I Run a Lottery Model That Publishes Its Own Failures — 51 Draws of Mark Six Data

Most lottery prediction sites show you their wins. Mine shows you the misses — every single one, on a public status page. Here's why I built it that way, and what 51 draws of Hong Kong Mark Six data actually look like under an honest model. I maintain three independent number generators for Mark Six (6 numbers out of 49, plus an extra number): Science — frequency, recency, and omission-gap weighting over the last 51 draws Physics — ball-machine simulation priors (order statistics, positional bias) Mystic — a deliberately non-statistical baseline (numerology rules) as a control group Yes, the t

0
ProgrammingDEV Community ·

EF Core 10 Is INSANE - Overview of Game Changer features

Introduction Most EF Core releases are a bag of small quality-of-life fixes. EF Core 10 has a few of those too, but it also lands several changes that remove long-standing workarounds: you no longer hand-write a GroupJoin plus SelectMany plus DefaultIfEmpty to get a left join, you no longer have one all-or-nothing global query filter, and you can now do vector similarity search against SQL Server without a bolt-on. This video runs through the headline features against a small blog/book/author model on .NET 10 and SQL Server. Here is what each one is and when you would reach for it. 🎬 Watch th

0
ProgrammingDEV Community ·

I Got Tired of 200MB node_modules in Admin Dashboards, So I Built One With Zero Dependencies

Every time I evaluate admin dashboard templates for internal tools, micro-SaaS backends, or client projects, I run into the exact same frustration: 200MB+ node_modules folders Heavy client-side framework lock-in Complex bundlers (Vite, Webpack, Turbopack) requiring constant dependency maintenance Fragile build chains that break when packages upgrade I wanted to challenge this pattern and explore how far modern web fundamentals can go. So I built the Maxic Fintech & SaaS Admin Kit using 100% semantic HTML5, CSS custom properties (design tokens), and modular vanilla JavaScript. Zero npm packages

0
ProgrammingDEV Community ·

Market Analysis: The Microsoft X Hijack and the Weaponization of Brand Authority in the Crypto Era

The recent compromise of Microsoft’s official X (formerly Twitter) account, utilized to promote the "Clippy" memecoin, represents far more than a localized cybersecurity breach. For global investors navigating the intersection of traditional finance and decentralized assets, this incident serves as a critical case study in the weaponization of "trust leverage." It highlights a systemic vulnerability where the established authority of a global IT titan is converted into a high-velocity vehicle for market manipulation. The Mechanics of Psychological and Technical Exploitation The sophistication

0
ProgrammingDEV Community ·

Week 2: Learning Python, Cloud, DevOps, Terraform, SSH, and CLI Basics

Note: These are my learning notes from my current phase. I am keeping them as I wrote them so I can look back and see my progress. This section talks about computer langauges from Low level languges to high level language, the compiler and interpreted languages. Numbers: integers, floating-point numbers, and complex numbers Strings: Are character sequences. List are ordered group of elements tuples are ordered immutable collections of elements.

0
ProgrammingDEV Community ·

React Native ve FastAPI ile Yapay Zeka Destekli Mobil Uygulama Mimarisi: SafeBite AI

Yapay zeka modellerini mobil bir uygulamaya entegre etmek ilk bakışta basit bir API çağrısı gibi görünse de; ağ gecikmesi, görsel boyutu optimizasyonu ve deterministik veri çıkışı alma gibi konular işin içine girdiğinde ciddi bir mühendislik mimarisi gerektiriyor. Bu yazıda, yakın zamanda iOS App Store'da yayına aldığım SafeBite AI uygulamasının teknik mimarisini, mobil kamera akışından API'ye kadar uzanan hattı ve karşılaştığım optimizasyon problemlerini nasıl çözdüğümü paylaşıyorum. 📲 Uygulama Linki: SafeBite AI - iOS App Store Uygulamanın uçtan uca akışı temel olarak üç katmandan oluşuyor:

0
ProgrammingDEV Community ·

Make Your Buttons Dodge the Cursor with a Wrium Plugin

Most buttons just sit there and wait to be clicked. This one doesn't. Wrium Evasive Button is a small plugin for Wrium that makes a button (or any interactive element) smoothly dodge the cursor when you get close. It's silly on purpose, but it turns out to be surprisingly useful. Smart form validation: the submit button stays out of reach until the required fields are valid Gamified forms and playful login screens Interactive confirmations where the "wrong" choice is hard to click Smooth, physics-style gliding along walls, with no teleporting or sticking at edges Movement limited to the parent

0
ProgrammingDEV Community ·

ERROR_SERVICE_DISABLED Fix for Windows 10 & 11

To fix ERROR_SERVICE_DISABLED, enable the disabled service from an administrator Command Prompt. Run the sc config command to set Windows Update and BITS to automatic start, then use net start to launch them. Restart your PC afterward, and the update or feature that failed should run normally. Search for cmd in the Start menu, right-click it, and pick Run as administrator. Type sc config wuauserv start= auto and press Enter.

0
ProgrammingDEV Community ·

I built Magnus AI, a voice assistant that helps my friend Vashkar plan meals around his allergies

This is a submission for the Hacktoberfest Weekend Challenge: Build for a Friend My friend Vashkar Ghosh has to plan his meals around his allergies. That means reading labels, double-checking ingredients and searching for safe options, again and again. So I built him Magnus AI, a voice-first assistant for Windows. Instead of typing and searching, he can just say what he needs. He tells Magnus what he can't eat, and Magnus suggests meals that avoid those ingredients and keeps his preferences saved for next time.

0
ProgrammingDEV Community ·

Asynchronous ERP Sync Engine: High-Throughput Webhook Ingestion & Durable Queue Orchestration

Processing inbound e-commerce order webhooks directly against downstream ERP systems (such as Odoo or SAP) exposes core applications to third-party API latency, rate limits, and transient network failures. The async-erp-sync-engine microservice decouples webhook ingestion from execution, accepting payloads in under 10ms while ensuring durable background processing via BullMQ and Redis. The microservice separates the HTTP intake layer from worker processing loops so client webhooks are never blocked: ERP / Shopify ┌────────────────────────────────────┐ Webhook POST ────────────▶│ Express HTTP S

← NewerPage 686 of 3154Older →