frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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.

Real Singles Near You Tonight

http://layana.meet2live.online
4•EmmaJohnsonftr•1m ago•2 comments

The Booing Will Continue Until Commencement Speeches Improve

https://gizmodo.com/the-booing-will-continue-until-commencement-speeches-improve-2000762929
1•makerdiety•3m ago•0 comments

Show HN: Lightweight, OpenSource, zero-dependency App tour & user onboarding SDK

https://www.npmjs.com/package/@qocial/tour
1•qocialApp•3m ago•0 comments

Show HN: Treasury – Ask your money anything

https://treasury.sh/
1•junead01•3m ago•0 comments

A Language for Describing Agentic LLM Contexts

https://arxiv.org/abs/2605.01920
1•mpweiher•10m ago•0 comments

Conifer, launching June first (free and open source): local inference runtime

https://conifer.build/feedback/
2•loctran0323•12m ago•0 comments

Show HN: MailMark – Cold email tool where you own your domain and mailboxes

1•debasishbarai•18m ago•0 comments

A PR proposes to stabilize the Rust allocator API

https://github.com/rust-lang/rust/pull/156882
1•afdbcreid•18m ago•0 comments

Hyper – an API framework for Bun, distributed as source

https://hyperjs.ai/
1•mmcclure•18m ago•0 comments

QuickGrab – Magic Video Downloader

https://quickgrab.app/
1•exhunter•21m ago•0 comments

TrapDoor Cross-Ecosystem Crypto Stealer Campaign

https://haltingproblems.com/analysis/trapdoor-cross-ecosystem-crypto-stealer/
1•s4mw1se•22m ago•0 comments

Show HN: Voxxy – a minimal, fast voice-to-text app for macOS

https://www.voxxy.io
9•mrguenter•24m ago•0 comments

Anita Calculators: The Technology Explained

http://www.anita-calculators.info/html/the_technology_explained.html
2•rolph•25m ago•0 comments

Flying planes in a geese formation could save carbon emissions

https://www.virgin.com/about-virgin/latest/how-flying-in-a-geese-formation-could-save-carbon-emis...
1•simonebrunozzi•28m ago•1 comments

Show HN: I built a TikTok style video debate app

https://tussup.com
1•frantzarty•28m ago•0 comments

AI agents just got their own web browser via a Firefox fork

https://blog.adafruit.com/2026/05/19/ai-agents-just-got-their-own-web-browser-via-a-firefox-fork/
2•MilnerRoute•38m ago•1 comments

Best TTS models, a blind benchmark

https://techstackups.com/articles/best-tts-2026-blind-benchmark/
1•sixhobbits•45m ago•1 comments

West Coast Cities Turn to Vacancy Taxes to Grapple with Housing Crisis

https://www.theurbanist.org/west-coast-cities-turn-to-vacancy-taxes-to-grapple-with-housing-crisis/
3•harambae•49m ago•0 comments

Rank My Salary

https://rankmysalary.com
3•zakkishahh•49m ago•0 comments

A collection of small, low stakes and low effort tools

https://delphi.tools/
1•anyonecancode•50m ago•0 comments

Ask HN: I only use 30% of my Claude max x5 all model quota

2•firemelt•51m ago•1 comments

Cheap attack drones break through Israel's Iron Dome

https://www.dw.com/en/cheap-attack-drones-break-through-israels-iron-dome/a-77235132
2•Teever•53m ago•0 comments

Machine Code For Beginners (1983) [for the Z80/6502]

https://drive.google.com/file/d/0Bxv0SsvibDMTcHNXalEtYkVtU00/view?resourcekey=0-YtCcUG7ytBL-ls8gc...
3•peter_d_sherman•54m ago•0 comments

AI poses "urgent threat" to student learning and the HSC

https://www.smh.com.au/national/nsw/ai-poses-urgent-threat-to-student-learning-and-the-hsc-202605...
2•classichasclass•55m ago•0 comments

Spoqify – Un-personalize your Spotify playlists

https://spoqify.com/
4•eiiot•1h ago•1 comments

Curing US Healthcare, Part III: The Future

https://paulkrugman.substack.com/p/curing-us-healthcare-part-iii-the
2•rbanffy•1h ago•0 comments

Show HN: Simple Sprite Sheet Generation

https://github.com/acatovic/ai-game-studio
1•armcat•1h ago•0 comments

The political polarization of health outcomes in the USA

https://www.nature.com/articles/s41562-026-02474-9
24•geox•1h ago•6 comments

Show HN: 18 y/o – built the world's first behavioural intelligence platform

https://www.assemblr.net/
1•adityahv•1h ago•0 comments

Ask HN: Why didn't the C64 come with Simons' BASIC in the box from 1983 onward?

4•amichail•1h ago•1 comments