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.

The Oracle Problem

https://pilgrima.ge/p/the-oracle-problem
1•paulpauper•1m ago•0 comments

Is Claude's Constitution Aligned with Planetary Flourishing?

https://cathalharte.ch/essay-is-claudes-constitution-aligned-with-planetary-flourishing.html
1•paulpauper•2m ago•0 comments

Scientists discover unexpected way to make pancreatic cancer cells self-destruct

https://www.sciencedaily.com/releases/2026/06/260622091512.htm
1•jonbaer•2m ago•0 comments

Tracing Codex's 640TB-a-year SQLite writes

https://querydoctor.com/blog/tracing-codexs-640tb-year-sqlite-writes
1•thunderbong•2m ago•0 comments

Syncpen: A Markdown writing app your AI can write in (Claude, Cursor, Cowork)

https://www.syncpen.io/
1•airbuzz•3m ago•0 comments

WhatsApp Coding – Managing Google Antigravity 2.0 via a mobile chat proxy

https://github.com/rajibbora1965/WhatsAppCoding
1•rajibbora•5m ago•0 comments

Modular Cognitive Architecture Emerges in Large Language Models

https://pengrui-han.github.io/LLM_Modularity_Page/
1•pulisse•6m ago•0 comments

BullRun – free global stock screener with an MCP server

https://bull-run.org/
1•ferinator•7m ago•1 comments

Firms that adopt AI grow headcount 10% over the two years following adoption

https://ramp.com/data/ai-jobs-impact
2•nreece•10m ago•0 comments

What ORMs have taught me: just learn SQL (2014)

https://wozniak.ca/blog/2014/08/03/1/index.html
1•ciconia•10m ago•0 comments

Why do teams keep losing context, and why hasn't any tool fixed it?

1•rihabzt•12m ago•0 comments

Trump's second-term windfall: $1.4B

https://www.politico.com/news/2026/06/30/trump-crypto-windfall-disclosures-00983207
1•Alien1Being•12m ago•0 comments

Vektor Slipstream v1.7.4: Effort Control and Real Memory Search

https://medium.com/@vektormemory/vektor-slipstream-v1-7-4-effort-control-real-memory-search-e62d4...
1•vektormemory•14m ago•0 comments

The Virtual Drug That Created Fortnite

https://comuniq.xyz/post?t=1339
1•01-_-•22m ago•0 comments

Chinese tech makes desalinating seawater cheaper than producing bottled water

https://www.scmp.com/news/china/science/article/3358699/chinese-tech-makes-desalinating-seawater-...
2•01-_-•23m ago•0 comments

IBM claims first sub-1 nanometer chip technology

https://arstechnica.com/gadgets/2026/06/ibm-claims-worlds-first-sub-1-nanometer-chip-technology/
1•surprisetalk•27m ago•0 comments

A new Plaza Accord for global currencies wouldn't work

https://www.economist.com/finance-and-economics/2026/06/30/a-new-plaza-accord-for-global-currenci...
1•petethomas•30m ago•0 comments

Ireland is big tech's lapdog – and that compromises its EU presidency

https://www.theguardian.com/commentisfree/2026/jun/30/ireland-big-tech-lapdog-eu-presidency-digit...
1•TMWNN•31m ago•0 comments

Single header Parser Combinators for C

https://github.com/steve-chavez/CParseC
2•steve-chavez•31m ago•0 comments

The fat cats of state government

https://scottvanvoorhis.substack.com/p/serving-the-public-or-serving-themselves
1•sbvanvoorhis•36m ago•0 comments

Vinton Cerf Is Retiring from Google

https://techcrunch.com/2026/06/30/the-father-of-the-internet-is-finally-retiring/
3•coloneltcb•39m ago•0 comments

Leash: Browser Without URL Bar

https://www.leash.ax
1•bergie•42m ago•0 comments

Russia's plan to drill in Arctic revives controversial theory of 'endless oil'

https://www.science.org/content/article/russia-s-plan-drill-superdeep-holes-arctic-revives-contro...
3•Tomte•43m ago•0 comments

Private equity fund investors turn to debt-like deals in downturn

https://www.ft.com/content/4675b8bb-4047-458a-be01-90c2aff29219
2•petethomas•44m ago•2 comments

Trump reports over $1.4B in income from crypto ventures

https://www.reuters.com/world/us/trump-reports-more-than-14-billion-income-crypto-ventures-2026-0...
12•kaycebasques•45m ago•3 comments

CertAlloc–An O(1) memory allocator formally verified -TLA+ and CBMC

https://github.com/thedevilhimselfcodes/CertAlloc
2•VindanaSandun•47m ago•0 comments

Found a great blog on Advance Threat Intel

1•RawatManish•49m ago•0 comments

America can switch off AI. Europe must switch gears before it's too late

https://www.euronews.com/my-europe/2026/06/30/america-can-switch-off-the-worlds-ai-europe-must-sw...
6•TMWNN•49m ago•1 comments

1M Context: Making Long-Horizon Tasks Stable and Practical

https://docs.z.ai/guides/llm/glm-5.2
2•Alien1Being•51m ago•0 comments

Ferrari and BMW join Tesla, China in switch from copper to cheaper aluminium

https://www.reuters.com/business/autos-transportation/ferrari-bmw-join-tesla-china-switch-copper-...
6•gostsamo•53m ago•0 comments