frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: How to Foreshadow?

2•ksec•1y ago
Are there any way where I can foreshadow certain things and only have it revealed at a certain date? With Proof this was written way before its current happening time?

Comments

codetrotter•1y ago
Make a PDF or whatever kind of document containing the things you want to reveal.

Make a hash sum of the file.

Publish the hash of the document somewhere. Like on your Mastodon timeline or on Reddit, or on HN, or as an ad in a national printed newspaper.

Make sure the text is pretty long though. If you write something super short someone could guess the hash for it.

Write a short comment along with the hash. Something like:

“My prediction will be revealed on Dec 31 2025. Sha256 a9774a1a6ebf564cc408cfd86b5f2c06c13d830e143989714d958d34f325db13.”

When time comes, publish the document.

codetrotter•1y ago
Another alternative is to encrypt the document with a very strong pass key, and publish only the encrypted document now along with an announcement that the key to decrypt it will be published on such and such date.

If you are on a platform that doesn’t support posting attachments you can use IPFS or similar to host the encrypted file.

pvg•1y ago
If you write something super short someone could guess the hash for it.

You can skip the pdf and unless the thing is so short/predictable you can guess it outright, nobody is going to 'guess' the hash. E.g. 'I made up a random 64 byte sequence, here's its cryptographic hash, guess the sequence' - that doesn't happen.

codetrotter•1y ago
If the sentence is too short it might be possible to guess.

It’s not going to consist of random bytes.

Imagine for example that a high profile celebrity accused of murder has successfully defended himself in court and on that day he tweets:

I have something to reveal, but I won’t be telling you until the year 2135. Sha256 73fa194342af6b6e355e129fafd9b19d2a63589b1e3c6e2b5d94a7ca1b3e25f6

If this happens to be a short sentence related to recent events, don’t you think someone will figure out what he wrote pretty soon?

pvg•1y ago
You can just pad or HMAC the short sentence.
codetrotter•1y ago
Absolutely. Padding it falls under making sure the text is not too short.
gus_massa•1y ago
Bonus points if it's a platform where you can't delete the posts. Or you number the posts like

> My prediction 683 will be revealed on Dec 31 2025. Sha256 a9774a1a6ebf564cc408cfd86b5f2c06c13d830e143989714d958d34f325db13.

> My prediction 684 will be revealed on Nov 7 2025. Sha256 17147091grhef7wy89908409849rwiruriwu87w980241989171n109288021982.

It would even be better to add it to a blockchain to ensure there is no backdating.

"Houston, we have 1 problem(s)."

https://unsung.aresluna.org/houston-we-have-1-problems/
1•Looky1173•58s ago•0 comments

Anduril CEO Warns AI and Defense Valuations Are Becoming Dangerously Overvalued

https://finance.yahoo.com/technology/ai/articles/anduril-ceo-warns-ai-defense-180112499.html
2•jack1689•2m ago•0 comments

Musk's Starlink Socks Customers with $1500 'High Demand' Surcharge

https://www.techdirt.com/2026/07/13/musks-starlink-socks-customers-with-1500-high-demand-surcharge/
3•defrost•3m ago•0 comments

Open source AI matters more than ever, according to Hugging Face's Clem Delangue

https://techcrunch.com/podcast/open-source-ai-matters-more-than-ever-according-to-hugging-faces-c...
1•jack1689•5m ago•0 comments

Show HN: A Sims-style house builder in the browser (Three.js, no back end)

https://github.com/ch-bas/threejs-sims-house-builder
2•ch-bas•5m ago•1 comments

Show HN: OSS Web Based AI Video Studio (Vivijure)

1•skyphusion•7m ago•0 comments

I Stopped Destructuring Everything

https://allthingssmitty.com/2026/07/13/i-stopped-destructuring-everything/
1•AllThingsSmitty•8m ago•0 comments

Show HN: Costbase – See what each of your AI apps costs, without a proxy

https://costbase.co
2•yidaman•9m ago•0 comments

The Emperor's New Xerox

https://ianreppel.org/the-emperors-new-xerox/
2•mvac•11m ago•0 comments

Show HN: Hypothesis Prism, a graph representation of a paper's hypothesis

https://hypothesisprism.com
1•ayasamadzelkava•11m ago•0 comments

The Chinese Communist Party turns 105 amidst technological splendor

https://english.elpais.com/international/2026-07-10/the-chinese-communist-party-turns-105-amidst-...
2•geox•14m ago•0 comments

UK Bans Support for Iran's Islamic Revolutionary Guard Corps

https://www.bbc.co.uk/news/articles/cz0jkj7e87go
1•jjgreen•15m ago•0 comments

Christopher Nolan says people disdain AI, idea it'll replace humans is nonsense

https://www.theguardian.com/film/2026/jul/13/christopher-nolan-odyssey-director-comments-ai-artif...
2•thm•17m ago•0 comments

Borrow-Checking Surprises

https://www.scattered-thoughts.net/writing/borrow-checking-surprises/
1•surprisetalk•17m ago•0 comments

Building AI Agents? Here Are Some Anti-Patterns to Avoid

https://machinelearningmastery.com/building-ai-agents-here-are-some-anti-patterns-to-avoid/
1•eigenBasis•17m ago•0 comments

TeamBrain – Git-Native Shared Memory for Claude Code, Cursor and Codex

https://teambrain-site.netlify.app/
1•DonatienMigue•19m ago•0 comments

MCP with Keycloak, Claude, Codex and a Whole Lot of Coffee

https://blog.priyavijai-kalyan2007.workers.dev/mcp-via-keycloak-with-claude-codex-coffee/
1•oldnewthing•19m ago•0 comments

Major Setbacks for Nvidia Kyber NVL144

https://twitter.com/SemiAnalysis_/status/2073874671498387899
1•doener•20m ago•0 comments

Hoarding in Summer

https://matt-schellhas.medium.com/hoarding-in-summer-fdaf9ec1834d
1•mooreds•26m ago•0 comments

Agentgateway adds token exchange, JWT-assertion, and Entra OBO

https://agentgateway.dev/blog/2026-07-12-agentgateway-token-exchange-jwt-assertion-entra-obo/
1•mooreds•27m ago•0 comments

AI boom to drive €6.8B in water spend for European data centres by 2036

https://www.watermagazine.co.uk/2026/07/13/ai-boom-to-drive-e6-8-billion-in-water-spend-for-europ...
1•technewssss•29m ago•0 comments

A Linux compatible kernel written in Zig that runs Linux binaries in the browser

https://github.com/michaelkremenetsky/linuxemu
2•michaelkrem•30m ago•0 comments

Alomware Toolbox: Windows tool prevents OLED screen burn-in

https://www.computerbild.de/artikel/Tipps-Windows-Alomware-Toolbox-Windows-Tool-verhindert-OLED-B...
1•BarryGuff•30m ago•1 comments

Mistral, Europe's AI Darling, Fails FLI Safety Index

https://mrkt30.com/mistral-europes-ai-darling-fails-fli-safety-index/
2•technewssss•30m ago•0 comments

MongoDB Query Mistakes That Return the Wrong Results

https://visualeaf.com/blog/mongodb-query-mistakes-wrong-results/
2•mike_codes•32m ago•0 comments

A restaurant menu demonstrates the frightening power of inflation

https://tipswatch.com/2026/07/12/a-restaurant-menu-demonstrates-the-frightening-effects-of-inflat...
1•mooreds•35m ago•0 comments

Show HN: Live MRR in your X bio, on autopilot. Screenshots expire–Nuvio doesn't

https://www.nuvio.so
2•launchpact_io•37m ago•0 comments

Intel Invests €5B to Expand Manufacturing in Europe

https://newsroom.intel.com/intel-foundry/intel-invests-5-billion-euro-to-expand-manufacturing-in-...
1•osnium123•37m ago•0 comments

ITR 3 vs. ITR 4 Difference: Key Rules, Benefits and Process – SMFG India Credit

https://www.smfgindiacredit.com/knowledge-center/itr-3-vs-itr-4-difference.aspx
1•saumyaraut11•37m ago•0 comments

Leak of San Francisco Police Drone Footage Exposes Reality of Urban Surveillance

https://www.wired.com/story/sfpd-drone-video-leak-surveillance/
8•nozzlegear•38m ago•1 comments