frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: How to Foreshadow?

2•ksec•11mo 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•11mo 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•11mo 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•11mo 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•11mo 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•11mo ago
You can just pad or HMAC the short sentence.
codetrotter•11mo ago
Absolutely. Padding it falls under making sure the text is not too short.
gus_massa•11mo 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.

A Gopher Meets a Crab

https://miren.dev/blog/gopher-meets-crab
1•radimm•4m ago•0 comments

Scott Aaronson on quantum: "Will you heed my warnings NOW?"

https://scottaaronson.blog/?p=9718
1•bwesterb•5m ago•0 comments

I took an algorithm to court in Sweden. The algorithm won

https://www.theguardian.com/commentisfree/2026/apr/30/i-took-an-algorithm-to-court-in-sweden-the-...
1•nickcotter•5m ago•0 comments

How does your team handle cloud cost optimisation?

https://www.kloudaudit.eu/
1•leumasj•6m ago•0 comments

The Czech Prime Minister just reacted to our video

https://www.youtube.com/watch?v=nzDuj42HJ1o
1•dataflow•6m ago•0 comments

Siddharth on X: "Software Is Eating the World (But This Time)"

https://twitter.com/siddharthvader_/status/2049161016156762441
1•kiyanwang•9m ago•0 comments

Ask HN: Recommended Gemini CLI extensions/skills for token consumption

1•elC0mpa•10m ago•0 comments

We never get to what matters

https://yewjin.substack.com/p/why-we-never-get-to-what-matters
1•kiyanwang•14m ago•0 comments

AI Coding Tools Ranked by Community Sentiment: 4 Weeks of Reddit/HN Data (2026)

https://murmure.cc/state-of-ai-devtools-2026
1•ianalyze•14m ago•0 comments

Why the US keeps getting richer while Britain stagnates

https://www.thetimes.com/business/economics/article/why-us-richer-than-uk-rlkshqvq9
2•petethomas•15m ago•0 comments

Hot Updates in Postgres

https://boringsql.com/posts/hot-updates/
1•radimm•15m ago•1 comments

FujiNet Go 800 – Atari800 Emulator for Android – FujiNet

https://fujinet.online/2026/04/23/fujinet-go-800-atari800-emulator-for-android/
1•rbanffy•17m ago•0 comments

Chinese firm revives the drive-in cinema with film-projecting headlights

https://www.thetimes.com/uk/technology-uk/article/chinese-firm-drive-in-cinema-film-projecting-he...
2•petethomas•18m ago•1 comments

Claude Code Opus 4.7: 16B cache reads across 8 sessions, forensic JSONL data

https://github.com/anthropics/claude-code/issues/38350
1•biniruprojects•23m ago•0 comments

Banana Pi Announces RISC-V Based BPI‑SM10 Developer Kit and K3 Pico‑ITX AI SBC

https://forum.banana-pi.org/t/banana-pi-major-release-based-on-spacemit-k3-launching-bpi-sm10-dev...
1•fork-bomber•27m ago•0 comments

Visualize Any Repository

https://gitdiagram.com
1•ahmedkhaleel•29m ago•1 comments

How AI Is Changing Programming Language Usage

https://cacm.acm.org/news/how-ai-is-changing-programming-language-usage/
2•adunk•29m ago•0 comments

Guess at lost Bitcoin, right in the browser

https://satoshiguesser.com
1•jumploops•29m ago•0 comments

One of the most common knee surgeries does not help and may be harmful

https://www.eurekalert.org/news-releases/1126327
2•u1hcw9nx•31m ago•0 comments

Show HN: I built a zero-tracking news hub to escape doom scrolling at (AGE 17y)

2•blazeeofsun•34m ago•0 comments

Meta shares slide as it hikes AI spending forecast, youth social media backlash

https://nypost.com/2026/04/29/business/meta-shares-slide-as-tech-giant-hikes-ai-spending-forecast...
1•1vuio0pswjnm7•37m ago•0 comments

Apple's self-designed AI server chip "Baltra" may be manufactured by TSMC

https://technode.com/2026/04/09/apples-self-designed-ai-server-chip-baltra-may-be-manufactured-by...
1•mgh2•37m ago•0 comments

Indie English Bookstore in Tokyo

https://featherheartbooks.com/
3•agnishom•38m ago•0 comments

Meta bumped 2026 capex forecast up to $145B for AI boom investors flinched

https://fortune.com/2026/04/29/meta-zuckerberg-145-billion-ai-spending-roi/
3•1vuio0pswjnm7•39m ago•2 comments

Claude Code is inspecting repos and can auto-switch to extra usage

https://twitter.com/theo/status/2049645973350363168/photo/1
3•mlitwiniuk•42m ago•1 comments

Experimenting with an ISP-style billing model for AI usage

1•rNetAi•46m ago•0 comments

Tracking Migration to the United States

https://trackmigrations.org
1•Areibman•46m ago•0 comments

Gemini CLI not working for 100s of paying users for more than a month

https://github.com/google-gemini/gemini-cli/issues/24517
1•krisgenre•47m ago•0 comments

Show HN: Task Manager for AI Agents (MCP, Opensource)

https://github.com/agentrq/agentrq
3•mrtnx•52m ago•0 comments

KeyStruck – Confirm what shortcut you just pressed without watching the menu bar

https://bendansby.com/apps/keystruck.html
2•webwielder2•54m ago•0 comments