SShortSingh.

Programming

0
ProgrammingDEV Community ·

Validate a UPS 1Z number before you call any tracking API - the check digit is free

If your app accepts tracking numbers from users, you are almost certainly treating two very different failures as one. "This number does not exist" and "this number cannot exist" look identical at the API layer - both come back as not found - but only one of them is worth retrying. UPS parcel numbers give you a way to tell them apart for free, before any network call. The last character of a 1Z number is a check digit computed from the fifteen before it. Disclosure up front: I work on 24hTrack, a free package tracker.

0
ProgrammingDEV Community ·

RoadCalm: A Hands-Free, Open-Weight AI Driving Companion for Safer Roads

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass RoadCalm is a privacy-first, hands-free calm-driving companion built to prevent road rage and defuse driver agitation using local open-weight AI. Tagline: Stay calm. Stay focused. Get there safely. Most driving apps do the opposite of "touching grass"—they bombard drivers with flashing turn notifications, speed cameras, popups, and route alternatives that steal attention away from the road.

0
ProgrammingDEV Community ·

Why Port 2375 Alone Overstates the Docker Problem

Why Port 2375 Alone Overstates the Docker Problem The CARBONATO advisory names TCP port 2375 as the typical way into an exposed Docker host. That detail is operationally useful, and it is easy to over-read. If a team treats "port 2375 is open" as equivalent to "Docker Remote API is exposed without authentication", it will over-count its own risk and misallocate response effort. port="2375" -> 1,437,638 app="Docker" && port="2375" -> 1,032 That gap spans three orders of magnitude. It is the distance between a port number and a product identity.

0
ProgrammingDEV Community ·

GemTrail: The AI That Tells You to Put Your Phone Away

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Most modern AI applications are designed to optimize for screen time—infinite chat feeds, constant notifications, and endless scrolling. GemTrail was built around the exact opposite philosophy: "The AI should help the user explore the real world, not keep the user staring at the screen." GemTrail is an AI-powered outdoor field observation companion. Instead of an unreliable computer-vision camera classifier that guesses gemstone names with false certainty, GemTrail serves as a patient natural observation co

0
ProgrammingDEV Community ·

Small SaaS Checkout Reconstruction with a Cheap Metrics Dashboard API (Node.js)

Short answer: instrument the checkout as a small state machine, preserve a correlation ID across its stages, and choose a metrics backend only after proving that its query path can reconstruct one failed purchase. For a small media SaaS, a plain metrics API can support internal charts and low-volume counters or gauges; it cannot replace Grafana Cloud or Datadog when the SLO requires alert routing, distributed traces, or deep drill-downs. The deciding constraint is incident reconstruction. A chart that says 17 checkouts failed is useful for impact, but the on-call engineer also needs to separat

0
ProgrammingDEV Community ·

I Deleted a Kubernetes Pod on Purpose — Here's What Actually Happened

If you're learning Kubernetes, here's a question you should be able to answer: What happens when a production Pod suddenly disappears? Not theoretically. Let's actually think through it. Imagine your application has: 3 Pods ↓ frontend frontend frontend Then someone runs: kubectl delete pod frontend-7d8f9c6d-x82lm The Pod disappears. Your first reaction might be: "Oh no!

0
ProgrammingDEV Community ·

Find an Open-Source Issue Nobody Has Claimed Yet

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 1: Touch Grass Finding a good first issue on GitHub is easy. Finding one that is actually unassigned, relevant to your skills, and worth contributing to is much harder. I built Hacktoberfest Starter to help developers find open-source issues that are actually available to work on. You add your skills and proficiency levels, and the app searches for relevant issues, filters out issues that appear to be already claimed or unsuitable, and helps you identify the issues that are a good match. The goal is simple: spend less tim

0
ProgrammingDEV Community ·

29,151,855 Matches on Port 5060: The Signalling Layer Nobody Maps

29,151,855 Matches on Port 5060: The Signalling Layer Nobody Maps Session Initiation Protocol is how voice and video calls are set up, and port 5060 is where that signalling lives. A ZoomEye query for port="5060" returned 29,151,855 matches, and at that size the question worth asking is what the number actually contains. The query port="5060" was executed on 25 September 2026 with sub_type=all and pagesize 1. The result was 29,151,855 total matches. As before, the number is a match total rather than a sample of live call servers.

0
ProgrammingDEV Community ·

A daily feed of EU tenders you can still bid on

Every public contract above the EU thresholds has to be published on TED (Tenders Electronic Daily), the EU's official procurement journal. That's thousands of notices a week from more than 30 countries, in two dozen languages. If you sell IT, consulting, construction or almost anything else to the public sector, your next contract is probably in there. TED's own search works, but it's built for one-off lookups, not for a daily list of only the tenders you can still bid on. Here's how to set that up in a few minutes.

0
ProgrammingDEV Community ·

A Book Recommender That Nails Harry Potter and Fumbles Seven Plays

Let me start with the good result. I asked my book recommender for books similar to Harry Potter and the Order of the Phoenix, and it returned: Rank Recommended title Similarity 1 Harry Potter and the Chamber of Secrets 0.782 2 Harry Potter and the Sorcerer's Stone 0.778 3 Harry Potter and the Half-Blood Prince 0.768 4 Harry Potter and the Prisoner of Azkaban 0.765 5 Harry Potter Boxed Set, Books 1-5 0.764 Nice. Now the other one. I asked for books similar to Seven Plays: Rank Recommended title Similarity 1 Buried Child 0.458 2 See You Around, Sam! 0.263 3 Sam Walton: Made In America 0.246 The

0
ProgrammingDEV Community ·

How to Rewrite WooCommerce Product Descriptions in Bulk with Claude or ChatGPT (in Small, Reviewed Batches)

Most WooCommerce catalogues have the same problem hiding in them. The first fifty products got real descriptions because someone cared at launch. The next few hundred got the supplier's two lines, a copy of the product title, or nothing at all. Nobody plans to fix them, because opening products one by one in wp-admin is a week of tabs. AI looks like the obvious answer, and store owners are trying it.

0
ProgrammingDEV Community ·

Node.js SaaS Error Tracking API: Backend Heartbeats, Optional React Source Maps

For a Node.js SaaS app, use an error tracking API for diagnosis, but detect a scheduled healthtech import that produces no result with a durable completion heartbeat for every expected backend run. The deciding constraint is rarely whether the tracker can capture a stack trace. It is whether the on-call engineer can distinguish an intentionally empty import from a scheduler, queue, credential, or downstream failure, while the platform owner can assign the resulting telemetry cost to the tenant and import class that caused it. TL;DR: keep exception events for diagnosis, but make a small, backen

0
ProgrammingDEV Community ·

Why I built a tactile desktop tear-off notepad with Tauri v2 and Rust instead of Electron

Whenever I needed to jot down a quick two-minute thought or run a quick inline calculation, opening full workspace apps felt excessive. I didn't need relational databases, complex workspaces, or 400MB of background RAM usage—I just wanted a scratchpad that sits on the desk like a real piece of paper. So I built notey. The physical tear: Tearing off a note plays a crisp audio cue and triggers a confetti pop, then automatically moves the sheet into a searchable local archive so nothing is lost. Micro-utilities: Inline arithmetic evaluation (typing 18 * 6 = computes inline), checklists, and PNG s

0
ProgrammingDEV Community ·

Lovable Cloud Storage Quota: Why You Hit It and What to Do

The message usually shows up on a Tuesday. Somebody's app has been live for six weeks, users are uploading things, and the Cloud usage bar in Lovable is suddenly orange. They search "lovable supabase storage quota", find three forum threads that disagree with each other, and email us. So this is the post we keep half-writing in those emails. Worth getting straight first, because it explains everything else.

0
ProgrammingDEV Community ·

Find federal contracts to bid on, without a SAM.gov API key

If you sell to the US government, SAM.gov is where the opportunities are: solicitations, sources-sought notices (RFIs), presolicitations and awards. Searching it by hand every day is slow. The official API looks like the answer until you find that a personal API key allows only about 10 requests a day. Here's how to get every open opportunity in your NAICS codes as a clean spreadsheet, and then as a daily feed, without an API key. One row per notice: title, notice type, agency, NAICS and PSC codes, set-aside, place of performance, posted date, response deadline, full description, points of con

← NewerPage 626 of 3148Older →