SShortSingh.
Back to feed

Patrick Stewart Has Died

0
·1 views

Article URL: https://www.nytimes.com/2026/10/29/arts/television/patrick-stewart-dead.html Comments URL: https://news.ycombinator.com/item?id=50294770 Points: 47 # Comments: 3

Read the full story at Hacker News

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Daily Python Script Flags Ad Spend Anomalies Using Exported Platform CSVs

A marketing approach is outlined for catching overspending across Meta, Google, and TikTok ad accounts without API access. Each platform's CSV exports use different column names, so they are mapped to a single shared schema before analysis. Yesterday's spend per campaign is compared against its median over the previous 14 days, and campaigns exceeding a set ratio or appearing with no history are flagged. A minimum spend threshold filters out noise from very small campaigns. The author recommends reviewing the flagged output each morning and pairing spend checks with conversion data to compare cost per result.

0
ProgrammingDEV Community ·

Offline-First Driver Apps: Handling Sync, Conflicts and GPS Gaps

Delivery driver apps are often built in offices with reliable Wi-Fi, but drivers frequently lose signal in garages, warehouses and rural areas. The article argues that apps should treat the phone as the primary workspace and let the server catch up when a connection is available. It recommends designing for three states, online, offline and a slow connection that is effectively useless, using short timeouts. Local storage such as SQLite, combined with an outbox queue of pending actions, lets drivers complete tasks instantly. To prevent duplicate records when a retry follows a lost response, each action carries an idempotency key that the server uses to return the original result.

0
ProgrammingDEV Community ·

Script Checks JSON-LD Consistency Across Multilingual Site Versions

Multilingual websites often let structured data drift between language versions, such as differing phone numbers or missing addresses. Search engines and AI assistants may read these mismatches as conflicting facts about the same organisation. The article presents a short Python script that fetches JSON-LD from English, Chinese, and Japanese pages and compares core fields like url, logo, telephone, email, and sameAs. Fields such as description are expected to vary and are excluded from the comparison. The author suggests running the check in CI after deploys or weekly via cron, and notes common issues like inconsistent phone formats, stale social links, dropped script tags, and invalid JSON.

0
ProgrammingDEV Community ·

Git Séance tool recovers deleted functions from git history using semantic search

A developer built Git Séance, a local command-line tool that scans every version of every file across branches to find functions that no longer exist at HEAD. Instead of requiring the exact function name as git log -S does, users can describe what a deleted function did and get ranked matches. The tool reports when each function was introduced, when it was removed, and the commit responsible, and can restore its last live version. It uses EmbeddingGemma 2, an open-weight model, so all processing happens on the user's machine and repository history stays local. The developer demonstrated it on two of their public repositories, a coding agent and a map library.