frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: I simulated closing the Strait of Hormuz on real oil trade data

https://globaloilnetwork.staffinganalytics.io/
3•eliotho•49m ago

Comments

eliotho•40m ago
Author here. What started as a numerical experiment for a paper turned out to be something else.

The model: I take UN Comtrade data for crude trade flows, build an oil flow routing matrix (with countries as nodes, extending it to include maritime chokepoints) and simulate how the network is stressed by the closure of the Strait of Hormuz. Each country has oil reserves that deplete sequentially, in an event-driven simulation.

The math is basically Eisenberg-Noe interbank contagion, but for oil. Instead of bank defaults, nodes are limited by their “capped” production limits. The inventories evolve as a multi-dimensional Skorokhod problem, which sounds complicated but just means "inventory can't go negative and the shortfall propagates through the routing matrix."

What’s really surprising: In the Hormuz scenario, even though France’s sourcing doesn’t come from Hormuz at all, the endogenous pricing mechanism (prices spike, so every country inflates its safety-stock targets) pushes its reserve depletion 4.5 weeks EARLIER than in a fixed-price model. Nothing physical happened to it, deliveries dropped 0.0%. Its buffer gets eaten purely by the precautionary math of its own hedging policy responding to the global price. Meanwhile the countries that actually got hit (Japan loses 85% of flow) survive slightly LONGER, because high prices destroy demand and stretch their reserves.

Preemptive comments: - “Exporter reserves depleting in 5 weeks is absurd." Yes if you consider them as storage. Here, they are export-capacity slack (calibrated as a percentage of geological reserves). Importer buffers are the real story (IEA 90-day stockholding mandates). - There is no sanctioned/unreported trade: Fair, for example Iran-China trade is underrepresented. The tool is a stress-test and not a forecast. Adding the data is potentially an interesting follow-up exercise. - There is not explicit rationing, buffers drain mechanically: The model is just a baseline. - Costs are constant: In reality they are variable and a function of the oil price.

Engineering notes (since it’s HN): Frontend is globe.gl, backend is ~600 lines of Flask with LLM assistance from the manuscript numerical example (outputs reproduce the paper’s tables)

Paper with proofs: [https://arxiv.org/abs/2607.17491] Try it yourself! Close Malacca or Suez instead (the sliders also tell an interesting pricing story).

Show HN: Haystack – writes and ships your marketing work, you approve each one

https://www.inhaystack.com
1•zakihasan•3m ago•1 comments

Can We Lower Construction Costs with Cheaper Labor or Materials?

https://www.construction-physics.com/p/can-we-lower-construction-costs-with
1•crescit_eundo•4m ago•0 comments

Show HN: ShotsGlow – Windows screenshot editor with on-device background removal

https://shotsglow.com
1•iamMXFSCHR•5m ago•0 comments

Against Slop(py Judgment)

https://spencerkier.substack.com/p/against-sloppy-judgment
1•jger15•6m ago•0 comments

Anthropic is subsidizing our AI coding at 13x. How long will it last?

https://modelplane.ai/blog/ai-coding-subsidy-multiple
5•bassamtabbara•7m ago•0 comments

Apple Maps to power navigation experience for Ford UEV Platform

https://www.apple.com/newsroom/2026/07/apple-maps-to-power-navigation-experience-for-ford-uev-pla...
1•frizlab•7m ago•0 comments

Show HN: Free API keys for open models (Llama, Qwen, GPT-OSS, Gemma)

https://app.tensormux.com/pages/login.html
1•KRISH2832•7m ago•0 comments

Short sellers notch $15.5B profit as SpaceX shares slip -Ortex

https://www.reuters.com/business/media-telecom/short-sellers-notch-155-bln-profit-spacex-shares-s...
3•1vuio0pswjnm7•8m ago•0 comments

Securing Services with Rootless Containers

https://blog.coderspirit.xyz/blog/2026/07/06/securing-services-with-rootless-containers/
2•speckx•9m ago•0 comments

Google hit with $1B EU fine, in 'constructive' talks to avoid more penalties

https://www.reuters.com/world/google-hit-with-1-billion-eu-fine-first-under-landmark-rules-2026-0...
1•1vuio0pswjnm7•9m ago•1 comments

Water exposed to air plasma increases plant biomass by 75% [video]

https://www.youtube.com/watch?v=brfSLxoHUps
1•simonjgreen•10m ago•0 comments

Buying an ETL Tool? Here's the Ultimate Guide to Making the Right Choice

https://hevodata.com/data-builders-newsletter/buying-an-etl-tool/
1•MetricHub•10m ago•0 comments

Ray tracing massive amounts of animated geometry using tetrahedral cages

https://gpuopen.com/learn/ray-tracing-massive-amounts-animated-geometry/
1•LorenDB•10m ago•0 comments

Alphabet's cash burn raises alarm for Big Tech as AI spending climbs

https://www.reuters.com/business/retail-consumer/alphabets-cash-burn-raises-alarm-big-tech-ai-spe...
26•1vuio0pswjnm7•10m ago•5 comments

I asked 6 LLMs to design 100 software systems

https://opinion-radar.com/o/the-llm-stack-census-9f02ee?lang=en
1•mat6661•10m ago•0 comments

AI Companies Are Trying to Hide a Staggering Amount of Debt

https://futurism.com/artificial-intelligence/ai-companies-hide-debt-off-balance-sheet
2•technewssss•11m ago•0 comments

Glue bonds to nonstick surfaces and wipes clean with ethanol

https://cen.acs.org/materials/adhesives/glue-bonds-nonstick-surfaces-wipes-clean/104/web/2026/07
2•gmays•11m ago•0 comments

The AI Con

https://www.penguin.co.uk/books/468070/the-ai-con-by-hanna-emily-m-bender-and-alex/9781529949902
2•BodyCulture•13m ago•0 comments

Proxying inference requests in 6ms with Pingora, Envoy, and Spanner

https://modal.com/blog/serverless-servers
1•birdculture•14m ago•0 comments

Invoice PDFs in the browser, and the CJK font rabbit hole it took

https://invoices-generator.net/
2•xty_hello•14m ago•0 comments

Industrialism and the Slippery Slope

https://seths.blog/2026/07/authenticity-vs-the-slippery-slope/
1•herbertl•16m ago•0 comments

Codey – A multi-agent workbench for Claude Code, Codex and OpenCode

https://github.com/its-ahoh/codey
1•ahoh_tech•16m ago•0 comments

DeepSeek Liang Wenfeng Investor Meeting – Audio to Text Transcript [pdf]

https://github.com/demo-zexuan/liang-wenfeng-investor-meeting-2026-7-22/blob/master/%E6%A2%81%E6%...
1•chewz•16m ago•0 comments

The case of the slow-to-get-going Ethernet port

https://blog.yuo.be/2026/02/22/the-case-of-the-slow-to-get-going-ethernet-port/
2•speckx•18m ago•0 comments

AMD to launch next generation of AI infrastructure to challenge Nvidia

https://www.reuters.com/business/amd-expected-launch-next-generation-ai-infrastructure-challenge-...
2•VWWHFSfQ•19m ago•0 comments

But what is cross-entropy? – Compression is Intelligence Part 2 [video]

https://www.youtube.com/watch?v=GlYgs6v2YfU
1•surprisetalk•19m ago•0 comments

OpenAI and Anthropic unite against open-weight AI risks to their bottom line

https://www.axios.com/2026/07/22/openai-anthropic-open-models-trump-china
8•yogthos•20m ago•3 comments

Orcas filmed ramming one of the heaviest fish so hard it explodes

https://phys.org/news/2026-07-orcas-ramming-world-heaviest-fish.html
1•pseudolus•21m ago•0 comments

The Usefulness of Useless Knowledge (1939) [pdf]

https://faculty.lsu.edu/kharms/files/flexner_1939.pdf
2•jxmorris12•22m ago•0 comments

When Security Means Asking Permission

https://kryptprivacy.com/articles/when-security-means-asking-permission.html
1•clausemint•22m ago•0 comments