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.

Voice Commanding the PRETTY Spacecraft over Amateur Radio (To Play Doom)

https://doom.lb6aj.net/
1•austinallegro•1m ago•0 comments

Stripe Lands in Minecraft

1•MetroidMincraft•2m ago•1 comments

Wysiwyg Markdown Editor

https://phcode.io/markdown-editor.html
1•charlypa•3m ago•0 comments

The Monty Hall Problem

https://www.usu.edu/math/schneit/StatsHistory/ProbabilityPrompts/MontyHall
1•andsoitis•5m ago•0 comments

Why Do We Tolerate Elon Musk's Racist Commentary?

https://www.nytimes.com/2026/07/29/opinion/elon-musk-far-right-remigration.html
1•vrganj•6m ago•1 comments

DeepSeek announced to raise its API price tremendously

1•alexwwang•7m ago•0 comments

The Zillion Encodings of NOP [video]

https://www.youtube.com/watch?v=8BvAKvcW31A
1•edward28•7m ago•0 comments

Two simple tests to see how your fitness compares with Elite older athletes

https://www.washingtonpost.com/wellness/2025/10/16/fitness-test-senior-athletes/
1•gurjeet•9m ago•0 comments

Teamsters sue California over self-driving truck rules

https://www.politico.com/news/2026/08/05/teamsters-sue-california-self-driving-truck-rules-01026055
1•JumpCrisscross•11m ago•0 comments

Two sizes fit most: Postgres and ClickHouse

https://clickhouse.com/blog/ai-best-of-breed-data-stack
1•saisrirampur•12m ago•0 comments

Touring the Consensus, Six Months In

https://theconsensus.dev/blog/2026/08/05/touring-the-consensus-six-months-in.html
1•tosh•14m ago•0 comments

How to Build an LLM-Powered Database Query Bot for Your Web App in 1 Day

https://www.semicolonandsons.com/articles/how-to-build-an-llm-powered-database-query-bot-for-web-...
1•shantanuo•15m ago•0 comments

Smalltalk Report from 1991 to 1996

https://github.com/Ducasse/SmalltalkReportPDFArchive
1•matt_d•16m ago•0 comments

Ask HN: Which model is best for pair-programming?

1•bridgettegraham•18m ago•2 comments

Caesars Entertainment – Responsible Gaming Exclusion

https://caesarsrewards.custhelp.com/app/answers/detail/a_id/650/~/caesars-entertainment---respons...
1•gregsadetsky•19m ago•0 comments

Half of vaccines are binned – 'fridge-free' versions could change that

https://www.bbc.co.uk/news/articles/ce85qe8j0nzo
2•asplake•19m ago•0 comments

Nevada Gaming Commission Excluded List

https://www.gaming.nv.gov/divisions/enforcement-division/excluded-persons-and-most-wanted/exclude...
1•gregsadetsky•20m ago•0 comments

The State of MPI: Current Standard and Future Plans

https://hpc.fau.de/2026/06/16/nhr-perflab-seminar-mpi-state-of-the-union-june-30-hybrid/
1•matt_d•27m ago•0 comments

Crime Pays but Botany Doesn't

https://www.crimepaysbutbotanydoesnt.com/reading-list
2•DarkContinent•27m ago•0 comments

Python string literals are kinda funny

https://sebsite.pw/w/20260806-pystrings.html
2•jandeboevrie•29m ago•0 comments

I Am Once Again Asking for Your Support

https://joinhandshake.com/ai/opportunities/software-engineer/
2•mazaltime•34m ago•4 comments

Why AI agents are not more popular outside the tech industry

https://betocmn.com/blog/why-ai-agents-are-not-more-popular-outside-the-tech-industry/
1•thedreammachine•35m ago•0 comments

Lester Wire

https://en.wikipedia.org/wiki/Lester_Wire
1•jaredwiener•35m ago•0 comments

Shrinking Ruby Hashes

https://byroot.github.io/ruby/performance/2026/08/05/shrinking-ruby-hashes.html
2•jandeboevrie•36m ago•0 comments

Building a better MCP server and proving it

https://clickhouse.com/blog/benchmarking-the-clickstack-mcp-server-with-hdx-evals
1•mikeshi42•37m ago•0 comments

AI Agents Think and Act

2•vinithavn01•37m ago•0 comments

Edalex Expands Its Consulting Practice with Skills-First Services

https://www.edalex.com/news/edalex-rich-skill-descriptor-rsd-library-openrsd-integrated-new-muzzy...
1•edalex•39m ago•0 comments

A Primer to ML Compilers

https://aramesh10.github.io/ml-compilers-primer/
2•matt_d•39m ago•0 comments

Show HN: 66 Lines of Markdown compiled to a 7k lines Postgres back end

https://www.forgx.dev/
1•imrozim•42m ago•0 comments

Clark Code

https://www.clarkchat.com/clark-code
1•stan_kirdey•43m ago•1 comments