frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Daily AI-guessed odds of an Iran peace deal, vs. oil/gas prices

https://iranpeacedeal.com/
3•BubTheBuilder•1h ago

Comments

BubTheBuilder•1h ago
Thought it would be fun to see how accurate AI was at analyzing this, given its volatility. I wanted to see if the graph would "converge" like the ones showing the chance of a sports team winning over the course of the game - they usually bounce around before trending one direction at the end of the game.

Every morning a small Lambda checks Google News (war/peace/ceasefire/Hormuz queries), gives the headlines to Claude Haiku, and gets back a probability (0-100%) plus ~500 words (Claude is so generous, need to constrain that) on what moved and why. It's a static site on S3 + CloudFront, and we keep a daily history of it

Anyway the graph was all over the place. So to help gauge its accuracy yesterday I added oil and gas prices overlaid. Turns out they correlate pretty closely *most* of the time. If a deal is reached I'll be interested to see if the graph converges up to that point (showing AI was somewhat smart at predicting), or if it just jumps to 100 in which case it was less... predictive.

Take a look, happy to hear feedback or suggestions.

archleaf•1h ago
So do you think it's making the prediction only on oil prices and not much else?
BubTheBuilder•49m ago
The prompt we use to get the news, from which we make the prediction, doesn't ask about oil or gas prices so the info AI has to make the estimation doesn't take that into account. The oil/gas prices are pulled from separate free APIs (Yahoo Finance) and overlaid, as kind of a sanity-check to see how good the analysis actually was.

Infisical Honey Tokens

https://infisical.com/blog/infisical-honey-tokens
1•vmatsiiako•35s ago•0 comments

Principles for agent-native CLIs

https://twitter.com/trevin/status/2051316002730991795
2•blumpy22•1m ago•0 comments

Wind and solar have saved UK from gas imports worth £1.7B since Iran war began

https://www.carbonbrief.org/analysis-wind-and-solar-have-saved-uk-from-gas-imports-worth-1-7bn-si...
1•DamonHD•1m ago•0 comments

Anthropic working on Orbit, its upcoming proactive assistant

https://www.testingcatalog.com/anthropic-is-working-on-orbit-its-upcoming-proactive-assistant/
1•gmays•2m ago•0 comments

Show HN: Bookstoread.ai – Discover non-fiction books using AI

https://bookstoread.ai
1•yotc•2m ago•0 comments

Subquadratic LLM 12 million tokens ctx [video]

https://www.youtube.com/watch?v=kEiuMnosuxU
1•mrkn1•2m ago•0 comments

Publish to Microsoft Store as a company now free

https://blogs.windows.com/windowsdeveloper/2026/05/07/publish-to-microsoft-store-as-a-company-now...
1•pentagrama•2m ago•0 comments

A Message from Unemployment Purgatory

https://inchwyrm.bearblog.dev/message-from-unemployment-purgatory/
1•speckx•3m ago•0 comments

Neal Katyal: "Harvey predicted many of the questions the Justices asked"

https://twitter.com/neal_katyal/status/2052133764940382262
1•asukumar•3m ago•0 comments

Mojo Lang 1.0 is in beta

https://mojolang.org/
1•visheshdembla•3m ago•0 comments

Coalton

https://coalton-lang.github.io/
1•tosh•4m ago•0 comments

Show HN: Dear ImGui Bundle: Python and C++ apps for desktop, mobile, and the web

https://github.com/pthom/imgui_bundle
1•pstomi•4m ago•0 comments

Plastic Flowers to Protect the Hive

https://phildini.dev/slopsquatting-for-good
1•phildini•5m ago•0 comments

Show HN: BookedKit, a booking-ready EPK builder for musicians and DJs

https://www.bookedkit.com
1•bookedkit•5m ago•0 comments

Turing Award Winner: Disagreeing with Google, Postgres, Future Problems [video]

https://www.youtube.com/watch?v=YPObBOwIrHk
1•ferryth•5m ago•1 comments

Why Talent Transformation Is the Missing Focus of Enterprise AI

https://www.databricks.com/blog/why-talent-transformation-missing-focus-enterprise-ai
1•mc-serious•6m ago•0 comments

Glnc – a CLI for on-chain data, no browser, account, or API key

https://github.com/aryarahimi1/glnc
1•Arya_Rh•7m ago•0 comments

Two player Tetris for VT-100 terminals on vintage Unix [video]

https://www.youtube.com/watch?v=vDSmPMDjP08
1•GaryBluto•9m ago•0 comments

LPython: High performance typed Python compiler

https://lpython.org/
1•tosh•10m ago•0 comments

Can Intrusion Detection for EV Powertrain Networks

https://www.mdpi.com/2079-9292/15/9/1788
1•PaulHoule•10m ago•0 comments

NYC's Multibillion-Dollar Black Box Contracts

https://nysfocus.com/2026/05/06/new-york-city-contracting-master-agreements
1•h2si•11m ago•0 comments

Quantizing Tangent Frames

https://zeux.io/2026/04/30/quantizing-tangent-frames/
1•ibobev•11m ago•0 comments

Testing Vue Components in the Browser

https://jvns.ca/blog/2026/05/02/testing-vue-components-in-the-browser/
2•ibobev•13m ago•0 comments

Links to CSS Colour Palettes

https://jvns.ca/blog/2026/05/04/css-colour-palettes/
2•ibobev•13m ago•0 comments

Hiker finds 6th C. gold sword fitting

https://www.thehistoryblog.com/archives/76004
2•speckx•13m ago•0 comments

Kids can't use computers and this is why it should worry you (2013)

http://www.coding2learn.org/blog/2013/07/29/kids-cant-use-computers/
2•downbad_•13m ago•1 comments

Nobody understands the point of hybrid cars [video]

https://www.youtube.com/watch?v=KnUFH5GX_fI
1•CharlesW•14m ago•0 comments

Show HN: AI Generated Videos for your Code diffs

https://steerable.dev/
1•bmusuku•14m ago•0 comments

Is AI 2027 coming true?

https://secondthoughts.ai/p/is-ai-2027-coming-true
1•baxtr•15m ago•0 comments

Clozure CL

https://ccl.clozure.com/
1•tosh•15m ago•0 comments