frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: Would you retry this timed-out job?

1•realavdulmouhd•8m ago
Imagine your worker makes a POST to a vendor API to purchase a shipping label. It times out. This could be because the vendor has created the label and charged you, however it could also just be because the request hasn’t come through. Either way the DB will show that this job was started and no response received.

The standard answer here is to make it idempotent. But let’s say that the vendor does not accept the idempotency key. You can de-dupe the job on your side as much as you like but retrying the POST will result in another label being purchased. The lookup endpoint is also slow so if you try to find the label straight after the timeout it will return a not found.

I would mark this job in an unknown state and have another worker look up the label. If it is still unknown then send it to ops with the order ID and original request time. The issue here is you’ll have orders waiting in a queue. If the vendor has a bad afternoon then you’ll have a lot of mess to sort out manually.

Have any of you been in this situation in production? How did you decide when to stop trying to look up the label and purchase another one? And how long did you wait before purchasing another label? Did this change as you reached a high enough volume that having ops check it wasn’t an option?

0rwx Framework for AI Usage

https://0rwx.com/
1•mzhaase•4m ago•0 comments

Ask HN: Would you retry this timed-out job?

1•realavdulmouhd•8m ago•0 comments

ChatGPT Desktop forwards your SSH agent to remote machines

3•DenGorbachev•14m ago•0 comments

"What Good Is a New-Born Baby?"

https://www.americanheritage.com/what-good-new-born-baby
1•Betelbuddy•14m ago•0 comments

My Idea of a New Web

https://demo.bonbonweb.org/
2•tosh•16m ago•0 comments

Show HN: Nearby Share:I built a browser-based file transfer tool

https://nearbyshare.app
1•jumpdong•17m ago•0 comments

Anthropic IPO meets AI backlash

https://www.cnbc.com/2026/11/07/anthropic-ipo-ai-data-center-backlash.html
2•Betelbuddy•19m ago•0 comments

Show HN: A 40MB TTS model hand-ported to run in the browser (TS and WGSL)

https://ttslab.dev
1•MbBrainz•23m ago•0 comments

Stock market casino: the rising stakes of 'gamified' investing

https://www.ft.com/content/47831fae-3ecd-4fc0-9921-fd1933d75cd4
2•porridgeraisin•25m ago•0 comments

European governmental DNSSEC: policy and promotion drive adoption

https://internetcleanup.foundation/2026/11/european-governmental-dnssec-policy-and-promotion-driv...
1•aequitas•30m ago•0 comments

Ask HN: Will Humans Become Useless?

2•misano•33m ago•2 comments

Endlessly self-injection-locked photonic integrated lasers (2026)

https://www.nature.com/articles/s41566-026-01985-1
1•peter_d_sherman•36m ago•0 comments

OpenConche: Modern engine for Chocolatier games (2007-2009)

https://github.com/open-conche/OpenConche
1•openconche•40m ago•1 comments

Turn text or photos into 360° panoramas with AI

https://ai360generator.com
1•terrybeer24•42m ago•0 comments

Tech giant Nvidia to investigate CEO's affair with suspected Chinese spy

https://www.bbc.co.uk/news/live/cm78p221e313t
3•iamflimflam1•43m ago•0 comments

The Tragedy of the Oxide Root of Trust

https://danielmangum.com/posts/tragedy-oxide-rot/
2•hasheddan•45m ago•0 comments

Stop Measuring Developer Productivity

https://leaddev.com/reporting/stop-measuring-developer-productivity
2•theanonymousone•49m ago•0 comments

'A new age of climate extremes': Earth accumulating heat at accelerating rate

https://www.theguardian.com/environment/2026/nov/09/cop31-climate-extremes-earth-global-heating
2•ljf•53m ago•0 comments

ESP32 Tailscale gateway with WoL and other recovery functions

https://mattboxx.github.io/esp32-tailnet-gateway/
1•Mattboxx•53m ago•1 comments

Show HN: CodeHub – Turning release notes into pictures so that it is fun to read

https://www.nadary.com/codehub
1•forza2026•55m ago•0 comments

Asahi Linux forbids using AI to contribute

https://asahilinux.org/llm-policy/
1•jiwidi•55m ago•0 comments

IAL Paper Tracker – free tracker for Edexcel IAL students

https://www.ialpapertracker.com/
1•elvanlatief•59m ago•0 comments

PixelOS

https://pixelos.net/
2•emilburzo•1h ago•0 comments

500 Lines or Less: A Simple Object Model

https://aosabook.org/en/500L/a-simple-object-model.html
1•signa11•1h ago•0 comments

The Dose Makes the Poison

https://en.wikipedia.org/wiki/The_dose_makes_the_poison
1•num42•1h ago•0 comments

Making the Iron Giant Live

https://animationobsessive.substack.com/p/making-the-iron-giant-live
2•vinhnx•1h ago•0 comments

370 Books in 20 months: South African author defends her use of AI

https://www.enca.com/lifestyle/370-books-20-months-sa-author-defends-her-use-ai
2•theanonymousone•1h ago•0 comments

Tracking AI's Real-Time Footprint on the Labor Market

https://hai.stanford.edu/news/tracking-ais-real-time-footprint-on-the-labor-market
2•T-A•1h ago•0 comments

Next-Concept Modeling: Fast, Parallel Coarse-to-Fine Text Generation

https://arxiv.org/abs/2610.14162
21•theanonymousone•1h ago•2 comments

Whoops, I context-switched one too many times

https://jesseduffield.com/Whoops-I-context-switched-one-too-many-times/
3•porridgeraisin•1h ago•0 comments