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.

Chrrp – alternative to Twitter, X, and Reddit

https://www.gochrrp.com
1•EatYoBroccoli•2m ago•1 comments

Cat and Tape = Experiment (video)

https://www.youtube.com/watch?v=1gl7xr5rftc
1•novia•5m ago•0 comments

Sqz: Compress LLM context to save tokens and reduce costs

https://github.com/ojuschugh1/sqz
1•sea-gold•7m ago•1 comments

Show HN: MemReader: From Passive to Active Extraction for Long-Term Agent Memory

https://arxiv.org/abs/2604.07877
3•MemTensor•9m ago•0 comments

North Korea uses AI to industrialize attacks on developers

https://expel.com/blog/inside-lazarus-how-north-korea-uses-ai-to-industrialize-attacks-on-develop...
4•mtlynch•9m ago•0 comments

A hair dryer at a Paris airport broke Polymarket weather markets

https://xcancel.com/aaronjmars/status/2047017251270734309
1•olalonde•10m ago•1 comments

Show HN: Stackrate – dev-to-dev peer review platform for honest app feedback

https://stackrate-waitlist.netlify.app
1•thlangu•10m ago•0 comments

That Moment You Realize the Agent Is Retarded

https://gist.github.com/metacratic/dff3cce161312e242c2881ca571c6e28
1•pixelbro•11m ago•2 comments

Hyperscalers Go to Orbit

https://orbitaleconomics.substack.com/p/orbital-economics-post-17-apr-21
1•valgin2150•12m ago•0 comments

The Sony Hack: Mistakes Part 1

https://podcasts.apple.com/us/podcast/the-sony-hack-mistakes-part-1/id1119389968?i=1000761654448
1•gmays•16m ago•0 comments

Chronicle

https://developers.openai.com/codex/memories/chronicle
2•gmays•23m ago•0 comments

Show HN: Preflight – Test your MCP server before submitting to Claude/OpenAI

https://m8ven.ai/preflight
4•mengjiang•26m ago•0 comments

Nothing Matters

https://martinrue.com/nothing-matters/
1•afisxisto•28m ago•0 comments

What's new in JavaScript (and what's coming next)

https://neciudan.dev/whats-new-in-javascript
2•thunderbong•36m ago•0 comments

Flipbook – self hosted static viewers for media, documents and browser replays

https://flipbook.browserbox.io/
1•keepamovin•37m ago•0 comments

ElastAlert is dead, long live Clickdetect

https://clickdetect.souzo.me/blog/2026/04/19/elastalert-is-dead-long-live-clickdetect/
1•souzo•38m ago•0 comments

For $700 a Month, Sleeping Pods Make SF More Affordable

https://www.kqed.org/news/12080289/700-a-month-sleeping-pods-make-sf-more-affordable-but-at-what-...
5•harambae•38m ago•1 comments

Computerising Hyerogliphic Scripts [video]

https://www.youtube.com/watch?v=Vhx-hRyh6BM
1•downboots•39m ago•0 comments

Linkages to Trisect an Angle

http://www.takayaiwamoto.com/Greek_Math/Trisect/Linkage/Linkage_Tri.html
1•downboots•40m ago•0 comments

Pepperlot

https://pepperlot.com
1•alexrusulot•42m ago•0 comments

When oil prices spike, where does the money go?

https://theconversation.com/when-oil-prices-spike-where-does-the-money-go-280763
2•thelastgallon•42m ago•0 comments

Pressure, Temperature, and Phase Changes Within Supercritical CO2 Pipelines

https://www.mdpi.com/2227-9717/14/7/1039
2•PaulHoule•43m ago•0 comments

Windows 9x Subsystem for Linux

https://codeberg.org/hails/wsl9x
2•pabs3•44m ago•1 comments

Arch Linux Now Has a Bit-for-Bit Reproducible Docker Image

https://antiz.fr/blog/archlinux-now-has-a-reproducible-docker-image/
3•maxloh•45m ago•0 comments

A Generation Lost in the Bazaar – Quality happens when someone is responsible (2012)

https://queue.acm.org/detail.cfm?id=2349257
1•pabs3•46m ago•0 comments

Photographing Rocket Chute Deployment at 10 Km

https://hackaday.com/2026/04/22/photographing-rocket-chute-deployment-at-10-km/
2•y1n0•49m ago•0 comments

Test-foundry – QEMU-based Windows VM testing for kernel drivers and UEFI apps

https://github.com/jc-lab/test-foundry
3•joseph2024•49m ago•1 comments

Habitual coffee intake modifies host physiology and cognition

https://www.nature.com/articles/s41467-026-71264-8
3•gogobio•49m ago•1 comments

FlashDrive: Flash Vision-Language-Action Inference for Autonomous Driving

https://z-lab.ai/projects/flashdrive/
1•gmays•51m ago•0 comments

Microsoft looked at buying Cursor before SpaceX deal

https://www.cnbc.com/2026/04/22/microsoft-looked-at-buying-cursor-before-spacex-deal-sources-say....
1•mfiguiere•53m ago•0 comments