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.

A Universe from Three Sectors: Recovering TradeWars 2002's Map from Its RNG Seed

https://mattmichie.com/2026/07/14/a-universe-from-three-sectors/
1•influx•4m ago•0 comments

Looking for a remote internship (Fall/Winter/Spring 2026)

1•cnnadozi•4m ago•0 comments

JOBCV.IO - Free Resume Maker Online – Build Your Professional CV

https://jobcv.io/en
1•grossos•5m ago•1 comments

Cross sectioning insects in an electron microscope with a femtosecond laser

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

Casberi: Apps in one feed, no account, everything on-device

https://casberi.app
1•alexchopan•7m ago•0 comments

Manage your Claude Code agents in Raycast

https://github.com/vmc-7645/claude-fleet
1•vmc_7645•8m ago•1 comments

Laptop touchpad stopped registering clicks? try this

2•LandOfMightDev•9m ago•0 comments

Deep dive: Quad storage for optimal throughput and latency

https://blog.canoozie.net/four-integers-and-a-lot-of-wrong-assumptions/
1•jtregunna•10m ago•1 comments

OpenAI Launches Hardware for Codex

https://www.theverge.com/ai-artificial-intelligence/965901/openai-hardware-codex-micro-launch
1•thunderbong•11m ago•0 comments

Consultant Bench

https://innolitics.com/articles/consultant-benchmark/
1•innolitics•13m ago•1 comments

The lost joy of music piracy

https://www.pigeonsandplanes.com/read/music-piracy-what-cd-oink-nine-inch-nails-streaming
3•mcgin•20m ago•0 comments

How TypeScript devs can avoid getting pwned by malicious packages

https://builtbystef.com/blog/supply-chain-security/
1•builtbystef•23m ago•0 comments

Reynard: A real Firefox web browser for iOS 13 or later

https://github.com/minh-ton/reynard-browser
1•AbuAssar•31m ago•0 comments

Stop saying that AI is just a tool and it only matters how it is used

https://www.frank.computer/blog/2025/05/just-a-tool.html
5•cratermoon•36m ago•4 comments

Business Finance Tips for Small Business Owners in the UAE and India

https://adilrashidlone.substack.com/p/business-finance-tips-for-small-business
2•digitaldaddyme•36m ago•0 comments

Panix – the oldest commercial Internet provider in New York

https://panix.com/
1•uproarchat•38m ago•0 comments

Show HN: Complete the survey and get personal free AI toothpaste recommendation

https://tpmme.me
1•notlibrary•39m ago•0 comments

Which founders created the most wealth for others?

https://wealth-creators-omega.vercel.app
2•probe•40m ago•0 comments

Don't Pee on My Leg and Call It Science

https://stager.tv/?p=4381
1•the-mitr•41m ago•0 comments

Show HN: AI Starter Templates in NextJS and OpenAI

https://suhasbhairav.com/ai-templates
1•bsuhas•43m ago•1 comments

WSJ: The AI Backlash Has Tech Executives Fearing for Their Lives

https://www.wsj.com/us-news/the-ai-backlash-has-tech-executives-fearing-for-their-lives-30c43972
10•testfoobar•49m ago•4 comments

AI Is Not a Tool

https://theconvivialsociety.substack.com/p/your-ai-is-not-a-tool
6•crowdhailer•50m ago•2 comments

How to make AI safe and free of America and China

https://www.economist.com/leaders/2026/07/15/how-to-make-ai-safe-and-free-of-america-and-china
3•andsoitis•1h ago•0 comments

Beware Change-Blocking Priors

https://www.overcomingbias.com/p/beware-change-blocking-priors
3•paulpauper•1h ago•0 comments

There is no AI in Team

https://arnoldkling.substack.com/p/there-is-no-ai-in-team
3•paulpauper•1h ago•0 comments

Show HN: A Lightweight, open-source always-on-top local AI desktop companion

https://github.com/Rupak182/heychat/releases/tag/v0.1.0
2•Rupak182•1h ago•0 comments

An Interactive Map of AI

https://artifipedia.com/map
16•ceprompts•1h ago•8 comments

Crystal ML Library: Autograd, Tensors, Neural Networks, Optimizers

https://github.com/skuznetsov/cogni-ml
3•zX41ZdbW•1h ago•0 comments

My Throw Decides My Aim

https://thegustafson.com/blog/my-throw-decides-my-aim
10•usernotfoundrn•1h ago•1 comments

If you want to create a button from scratch, you must first create the universe

https://madcampos.dev/blog/2026/07/accessibility-from-scratch/
33•treve•1h ago•4 comments