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.

The Network as a Program [video]

https://www.youtube.com/watch?v=CHHZwari_qA
1•simonpure•1m ago•0 comments

Autoresearch found a 3-year-old bug in our query engine

https://posthog.com/blog/autoresearch-query-bug
1•robbie-c•2m ago•0 comments

Maladaptive Daydreaming

https://www.bbc.com/future/article/20260528-the-people-who-are-addicted-to-daydreaming
1•hi41•3m ago•0 comments

DuckDuckGo makes its 'no-AI' search engine easier to access as its traffic booms

https://techcrunch.com/2026/06/01/duckduckgo-makes-its-no-ai-search-engine-easier-to-access-as-it...
2•jaredwiener•3m ago•0 comments

Futurelock and You [video]

https://www.youtube.com/watch?v=HmvphjGJHcA
1•smklein•4m ago•1 comments

QBE 1.3 Released

https://c9x.me/compile/release/qbe-1.3.html
2•s3graham•5m ago•0 comments

The Newest Instagram "Exploit" Is the Goofiest I've Seen

https://www.0xsid.com/blog/meta-account-takeover-fiasco
7•ssiddharth•5m ago•0 comments

Soybean oil linked to metabolic and neurological changes in mice

https://news.ucr.edu/articles/2020/01/17/americas-most-widely-consumed-oil-causes-genetic-changes...
1•bilsbie•7m ago•0 comments

We gave an AI agent eyes. It didn't even use them

https://www.agentvoyagerproject.com/captains-log/2
1•pmkelly4444•7m ago•0 comments

Erin Brockovich takes aim at data center secrecy

https://techcrunch.com/2026/05/31/erin-brockovich-takes-aim-at-data-center-secrecy/
3•Brajeshwar•8m ago•0 comments

Anthropic Files to Go Public, Setting Stage for Huge I.P.O.

https://www.nytimes.com/2026/06/01/technology/anthropic-ipo.html
4•jbegley•9m ago•0 comments

AI Savings Misses 'Should Be Making Executives Uncomfortable,' Bain Says

https://www.bloomberg.com/news/articles/2026-06-01/bain-finds-corporate-ai-investments-based-on-r...
1•toomuchtodo•11m ago•0 comments

Message Queues and Brokers Help with Temporal Decoupling

https://carlosblanco.github.io/architecture/backend/2026/05/25/message-queues-brokers-temporal-de...
2•carlosomar2•12m ago•0 comments

Show HN: Tok - A Claude Code token counter (no ANTHROPIC_API_KEY required)

https://github.com/samjoch/tok
2•samjoch•13m ago•0 comments

Show HN: Valdr - Valkey/Redis in safe Rust, passes >99% of Valkey test suite

https://github.com/ianm199/valdr
2•ianm218•13m ago•2 comments

I Let Agents Run a Retail Store. Here Is What Happened

https://shish.substack.com/p/i-let-agents-run-a-retail-store-here
2•frans•14m ago•0 comments

Trying to get Claude to help me buy a car

https://developerwithacat.com/blog/202606/ai-car-search/
2•mmarian•14m ago•1 comments

Show HN: Get new long-tail keywords in your inbox every week

https://www.longtailkeyword.io
1•onion92•15m ago•0 comments

"No way to prevent this" say users of only package manager

https://xeiaso.net/shitposts/no-way-to-prevent-this/supply-chain/2026-redhat-javascript-clients/
2•speckx•17m ago•1 comments

The Triumph of the Digital Age Stanley's Finest

https://stanleysfinest.com/index.html
1•shrubby•18m ago•0 comments

Programmatic Tool Calling for Any MCP

https://r33drichards.github.io/mcp-js/concepts/mcp-pass-through/
1•someguy101010•19m ago•1 comments

How to get into Y Combinator: notes from a W23 alum

https://github.com/iCarossio/y-combinator
1•iCarossio•20m ago•0 comments

Iran issues warning for northern Israel residents

https://breakingthenews.net/Article/Iran-issues-warning-for-northern-Israel-residents/66411193
5•us321•21m ago•0 comments

Anthropic confidentially files for US IPO

https://www.reuters.com/business/ai-giant-anthropic-confidentially-files-us-ipo-2026-06-01
3•m-hodges•22m ago•0 comments

Red Hat Cloud Services Publish Pipeline Compromised, Shipped Malicious NPM

https://safedep.io/redhat-cloud-services-hit-by-mini-shai-hulud-npm-worm/
1•birdculture•22m ago•0 comments

Aurora DSQL: The Adjudicator

https://marc-bowes.com/dsql-adjudicator.html
1•steepben•23m ago•0 comments

I Turned Off My Phone for a Month and Used a Landline

https://nymag.com/strategist/article/replacing-iphone-with-landline-phone.html
1•mrjaeger•24m ago•0 comments

Macron announces 93B euros in 'Choose France' investments

https://www.euractiv.com/news/macron-announces-93-bn-euros-in-choose-france-investments/
3•jruohonen•26m ago•0 comments

Show HN: A multi-carrier shipping rate aggregator for the EU

https://jetsend.eu/en-es
1•jetsend•26m ago•0 comments

I ran a few local LLM models on my MacBook Air M3, these are the results

https://prasadkhake.com/blog/16gb-mac-llm
2•robertlangdon•27m ago•0 comments