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.

Hyperion Entertainment BV and Amiga Corporation Reach Settlement

https://www.hyperion-entertainment.com/index.php/news/38-corporate
1•doener•12s ago•0 comments

The Indo-European Family Tree

https://djbinder.com/language-tree/
1•benbreen•29s ago•0 comments

AI detectors, the new clergy of authenticity – The Great Work Heist

https://geraldoaugustoseabra.substack.com/p/ai-detectors-the-new-clergy-of-authenticity
1•newsgames•49s ago•0 comments

Please add min-release-age to your .npmrc

https://www.endorlabs.com/learn/npm-malware-compromises-keyv-and-cacheable-with-500m-weekly-downl...
1•scj13•1m ago•1 comments

The Scary, Scary Singularity

https://markmcdonaldthoughts.substack.com/p/the-scary-scary-singularity
1•paulpauper•1m ago•0 comments

Show HN: SIEMatic, a fair-sourced observability and security platform

https://github.com/mcindi/siematic
1•ilovetux•2m ago•0 comments

The Knowledge Chipper: An Agentic Coding Story

https://jg.gg/2026/08/04/the-knowledge-chipper/
1•jgbbrd•3m ago•0 comments

A peek into the physics of squeaky sneakers

https://physicstoday.aip.org/quick-study/a-peek-into-the-physics-of-squeaky-sneakers
1•akshatjiwan•3m ago•0 comments

So how does lightning locating work?

https://www.counting-stuff.com/so-how-does-lightning-locating-work/
1•speckx•4m ago•0 comments

Claude Code Free Access

https://www.bestmillionstartups.com/best/how-to-use-claude-code-for-free-2026
1•brevn•4m ago•0 comments

ChatGPT Dreaming: Reverse-engineering how its new memory system works

https://husain-zaidi.com/chatgpt-dreaming/
1•husainhz7•4m ago•1 comments

ArXiv

1•fred123123•7m ago•0 comments

Anti-Zionism gains protection by UK law

https://twitter.com/Tracking_Power/status/2084576698092163259
2•newspaper1•7m ago•0 comments

A Mass Shooter's Harrowing History with ChatGPT

https://www.motherjones.com/media/2026/08/openai-chatgpt-fsu-mass-shooting-chat-logs/
1•cdrnsf•7m ago•0 comments

Zillow Lays Off 500

https://www.zillow.com/news/how-were-organizing-for-the-path-ahead/
1•banku_brougham•7m ago•1 comments

AI is finding bugs faster than humans can fix them

https://www.zdnet.com/article/ai-is-finding-bugs-faster-than-humans-can-fix-them-how-enterprise-s...
1•CrankyBear•7m ago•0 comments

Tool to check Index funds for Immigration exposure

https://inkstickmedia.com/are-your-investments-fueling-for-profit-immigrant-detention/
1•verifier•8m ago•0 comments

The Backrooms, and Parallels to Our "Almost-Things"

https://shannadige.com/blog/backrooms-latent-space/
2•shannadige•9m ago•0 comments

US used 'virtually all' long-range precision missiles during Iran war

https://www.militarytimes.com/industry/techwatch/2026/08/04/us-used-virtually-all-long-range-prec...
2•Jimmc414•9m ago•0 comments

A unified API for AI model routing

https://developers.googleblog.com/a-unified-api-for-ai-model-routing/
2•xnx•9m ago•0 comments

AI coding agents pass tests. Can they write idiomatic Laravel?

https://laravel.com/blog/idiomatic-laravel-ai-coding-agents
2•pushpak1300•9m ago•0 comments

Tests for a PDF

https://blog.lvmbdv.dev/posts/tests-for-a-pdf/
3•majorchord•10m ago•0 comments

Mistral's Shieldstral: 3B open-weights model for multimodal moderation

https://mistral.ai/news/shieldstral/
3•riadsila•10m ago•0 comments

A game made only with sine waves [video]

https://www.youtube.com/watch?v=Qr3VsZYQy4s
2•linkdd•11m ago•0 comments

Show HN: Blender for AI Agents

https://www.mixar.app
3•namanbhargava18•11m ago•1 comments

The Math Behind "Water-Efficient AI Data Centres" Is Laughably Wrong [video]

https://www.youtube.com/watch?v=8bbe-Ev-Yns
1•mrkeen•13m ago•0 comments

The Truth About Babylon Berlin

https://art-for-a-change.com/blog/2018/04/the-truth-about-babylon-berlin.html
1•lbrito•13m ago•0 comments

Show HN: I Repurposed Unit Tests to Show How Much Coding Agents "Improvise"

https://github.com/RudderCode/Rudder
1•vivekyyy•13m ago•0 comments

Workers Drilling in Romania Broke into a Cave Sealed for 5.5M Years

https://travelandtannins.com/workers-drilling-in-romania-broke-into-a-cave-sealed-for-5-5-million...
1•yk•14m ago•0 comments

RWX raises $12M as the eng bottleneck moves from writing code to validating it

https://www.rwx.com/blog/series-a
1•dan_manges•15m ago•0 comments