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.

Orgasmic meditation' company founder gets 9 years in prison in forced labor case

https://www.nbcnews.com/news/us-news/orgasmic-meditation-companys-founder-gets-9-years-prison-for...
1•JumpinJack_Cash•23s ago•0 comments

Markup – A private cross-service home for AI-generated HTML

https://sproutmarkup.com/
1•giandlr•2m ago•0 comments

Athena, a local command room for AI coding agents

https://github.com/luckeyfaraday/Athena
1•luckeyfaraday•3m ago•0 comments

Package Managers need global hooks

https://captnemo.in/blog/2026/06/17/package-managers-need-hooks/
2•evakhoury•3m ago•0 comments

Show HN: Oh – verbatim memory of your past Claude/Codex coding sessions

https://oh-landing-mu.vercel.app/
1•21J3phy•3m ago•0 comments

Hunter-gatherers in Siberia died of a plague outbreak 5,500 years ago

https://arstechnica.com/science/2026/06/hunter-gatherers-in-siberia-died-of-a-plague-outbreak-550...
1•Bender•4m ago•0 comments

The Harness Is Also Onboarding

https://blog.tacoda.dev/the-harness-is-also-onboarding-7b93536cb9c2
1•tacoda•4m ago•0 comments

Show HN: A local first agentic canvas workspace

https://www.slashspace.ai
1•praneethpike•5m ago•0 comments

A 98-qubit trapped-ion quantum computer with all-to-all connectivity

https://www.nature.com/articles/s41586-026-10676-4
2•bookofjoe•5m ago•0 comments

Show HN: Talking to My Terminal with Local Speech-to-Text and Pi Coding Agent

https://www.agenticcodingweekly.com/p/talking-to-my-terminal-with-local-speech-to-text-and-pi-cod...
1•primaprashant•6m ago•0 comments

Show HN: Give Your ORM Superpowers

https://github.com/neul-labs/ormai
1•dipankarsarkar•7m ago•0 comments

Kalambo Structure

https://en.wikipedia.org/wiki/Kalambo_structure
1•speckx•7m ago•0 comments

Buy Willow and Make Me Rich

https://willowai.app/why/
1•aliparnan•7m ago•0 comments

Introducing Static Components - Allowing a Low JS approach in ASP.NET Core

https://static-components.techgems.net/
1•cjimenezber•8m ago•1 comments

Show HN: FlurryPORT – Capture and replay webhooks to localhost

https://flurryport.dev/try
1•spillcoffee•8m ago•0 comments

Gambling provides a rocking of the emotions to put you in a babylike state

https://statmodeling.stat.columbia.edu/2026/06/18/gambling-provides-a-gentle-rocking-of-the-emoti...
1•SVI•9m ago•0 comments

WC 2026 live scores and bracket tracker in a single HTML file

https://wcbracket26.org/
1•lamwesterhoff•10m ago•0 comments

TerraPower in Deal with Meta for Eight Natrium 345 MW Advanced Nuclear Plants

https://neutronbytes.com/2026/01/09/terrapower-in-mega-deal-with-meta-for-eight-natrium-345-mw-ad...
4•mpweiher•10m ago•0 comments

Commodore Computers Is Making a Distraction-Free Cell Phone

https://www.ign.com/articles/commodore-computers-is-making-a-distraction-free-cell-phone
1•bananamogul•10m ago•0 comments

US Supreme Court drug users cannot be prohibited from firearms [pdf]

https://www.supremecourt.gov/opinions/25pdf/24-1234_g2bh.pdf
2•agensaequivocum•10m ago•1 comments

A website that lists websites to submit your website to

https://www.submission.directory/
2•azeemkafridi•11m ago•0 comments

Pixel Screenshots no longer exclusively uses on-device AI

https://9to5google.com/2026/06/17/pixel-screenshots-cloud-ai/
1•josephcsible•11m ago•0 comments

Hippopotamuses in Colombia

https://en.wikipedia.org/wiki/Hippopotamuses_in_Colombia
1•kaonwarb•11m ago•0 comments

Changes to iOS in Brazil

https://developer.apple.com/news/?id=dhwadr2x
2•johnbehnke•11m ago•0 comments

Fishtank, the Unhinged Future of Reality TV

https://www.wired.com/story/interactive-violent-gross-inside-fishtank-the-unhinged-future-of-real...
2•jarboot•11m ago•0 comments

Show HN: A dead simple ADR skill workflow

https://github.com/backnotprop/adr
1•ramoz•11m ago•0 comments

Creating Amazon EKS clusters that span VPCs, regions, and accounts

https://github.com/jicowan/eks-cross-region-nodes
1•jicowan•12m ago•1 comments

Google workspace threatening to block Firefox

https://tales.fromprod.com/2026/169/google-workspace-threatening-to-block-firefox.html
2•RichardoC•14m ago•0 comments

The New Election Threat: Disinformation Inside the Answer

https://willrobinson.substack.com/p/a-scottish-post-the-new-election
2•benwerd•15m ago•0 comments

Uber and Lyft Use Artificial Intelligence to Price Rides

https://www.consumerreports.org/money/questionable-business-practices/uber-lyft-different-prices-...
4•gmays•16m ago•1 comments