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 21-hour dip could help explain Tabby's star's decade-long dimming mystery

https://phys.org/news/2026-07-hour-dip-tabby-star-decade.html
1•rbanffy•26s ago•0 comments

Restoring the Java Ring on a Japanese TV Show [video]

https://www.youtube.com/watch?v=LF5PrzP9YTs
1•kidmin•52s ago•0 comments

JIT – just-in-time secrets for your Mac, gated by Touch ID

https://github.com/jitpass/jit
1•bukershok•1m ago•0 comments

Sovereign Tech Fellowship for Rust Maintenance (June-July 2026 Report)

https://kobzol.github.io/rust/2026/08/03/stf-june-july-2026.html
1•Tomte•2m ago•0 comments

Dbctl – a terminal-native DB client with built-in SSH/SSM tunneling

https://github.com/stivio00/dbctl
1•stivio00•3m ago•0 comments

Transfer Files with QR Codes

https://decimen.app/
1•ramsj•5m ago•0 comments

Hank Green apologizes for relying too heavily on ChatGPT

https://mashable.com/life/hank-green-chatgpt-ai-apology
1•bjourne•5m ago•0 comments

Google Chrome may soon block New Tab hijacker extensions by default

https://www.bleepingcomputer.com/news/google/google-chrome-may-soon-block-new-tab-hijacker-extens...
2•Brajeshwar•5m ago•0 comments

3.2-Gigapixel LSST Camera Captures over Half a Million Galaxies

https://petapixel.com/2026/08/02/3-2-gigapixel-lsst-camera-captures-over-half-a-million-galaxies/
1•larodi•5m ago•1 comments

eek! it's a tiny rust LLM proxy in ~1k loc

https://github.com/Liana64/eek
1•saidarembrace•6m ago•1 comments

A quine in Piet – a GIF image that prints itself [video]

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

DARPA Lift Challenge – Aug 3 – Main Broadcast [video]

https://www.youtube.com/watch?v=KEGWvve7rls
1•stefan_•7m ago•0 comments

AUR malware wave forces Arch Linux to disable every package push

https://runtimewire.com/article/aur-malware-wave-forces-arch-linux-to-disable-every-package-push
3•ryanmerket•8m ago•0 comments

PostScript: Idle Frontier and on developing games with AI

https://ljvmiranda921.github.io/projects/2026/08/03/idle-frontier/
1•ljvmiranda•8m ago•1 comments

Installing Jcode on Nix/NixOS: A Practical Unofficial Guide

https://grigio.org/installing-jcode-on-nix-nixos-a-practical-unofficial-guide/
1•grigio•8m ago•0 comments

Words are all you need

https://iamwillwang.com/notes/words-are-all-you-need/
1•wxw•9m ago•0 comments

Devtools must be open source

https://blog.exe.dev/devtools-must-be-open-source
1•bryanmikaelian•11m ago•0 comments

Apple launches legal challenge against UK attempt to access encrypted user data

https://www.ft.com/content/2cc9c96a-0e5b-4c33-a95a-3d11072a145c
3•alephnerd•12m ago•0 comments

Hypothetical scenario; Post AI cryptography?

https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/w4o-VCza_so
1•dogeprotocol•12m ago•0 comments

Show HN: FlaskTrack – Laboratory operations software built for modern biotech

https://flasktrack.com/
1•boredumb•13m ago•0 comments

Utah produced more power from solar than any other source in May, a new first

https://www.sltrib.com/news/environment/2026/08/03/utah-sets-solar-power-record/
2•toomuchtodo•13m ago•2 comments

Ingredient in Viagra may stop cancer spread

https://www.timesofisrael.com/in-world-first-israeli-scientists-find-active-ingredient-in-viagra-...
1•BaudouinVH•14m ago•1 comments

A Markdown wiki outscored every AI agent memory product we benchmarked

https://verginglabs.com/
1•SmithersBot•15m ago•0 comments

iOS 27: Media Intelligence Framework to analyze video content and group faces

https://antongubarenko.substack.com/p/ios-27-media-intelligence-framework
1•busymom0•15m ago•0 comments

Why Substack Is Collapsing: Subscription Model Has Maxed Out

https://sgcarney.substack.com/p/the-real-reason-that-substack-is
3•bookofjoe•15m ago•0 comments

Andy Pavlo Joins ClickHouse to Establish ClickHouse Labs

https://clickhouse.com/blog/andy-pavlo-joins-clickhouse
3•nikolay_sivko•18m ago•0 comments

CEO

https://millstrategy.com/public/
2•kingofrome•18m ago•0 comments

Dualism

https://pluralistic.net/2026/08/03/andor/
2•hn_acker•19m ago•0 comments

Aviation Herald sued, posts retraction, but censorship demand follows

https://avherald.com/h?article=53c8958a
2•cf100clunk•21m ago•0 comments

Rebuilding Postgres for 300x faster analytics: batching, fusion, and SIMD

https://malisper.me/how-we-made-postgres-hundreds-of-times-faster-the-query-engine/
1•malisper•22m ago•0 comments