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.

fff

https://github.com/dmtrKovalenko/fff
1•tosh•1m ago•0 comments

Uber, Lyft riders often see different fares for the same trip

https://ktla.com/news/uber-lyft-riders-different-fares-same-trip/
1•lxm•1m ago•0 comments

It's a Mother*& Ing Website

https://rnotte.art/its-a-mothering-website/
1•speckx•2m ago•0 comments

Agents-Collab.md – A live handoff protocol for multi-agent projects

https://github.com/Rlealbarili/Agents-Collab.md
1•Rlealbarili•2m ago•0 comments

Ekam – a shared canvas where 576 strangers each hand-paint one tile

https://ekam.ink
1•premaanshvyas•2m ago•0 comments

Improving token efficiency in GitHub Copilot

https://code.visualstudio.com/blogs/2026/06/17/improving-token-efficiency-in-github-copilot
2•soheilpro•2m ago•1 comments

I Analyzed All 30,093,975,536 Battleship Boards So You Don't Have to [video]

https://www.youtube.com/watch?v=ZBdajiTz48k
1•tantalor•2m ago•0 comments

Renewables shield Spanish consumers from elevated gas prices [pdf]

https://ember-energy.org/app/uploads/2026/06/Report-PDF-Renewables-shield-Spanish-consumers-from-...
1•leonidasrup•3m ago•0 comments

Firefox Roadmap and Team AMA next week

https://old.reddit.com/r/firefox/comments/1u7cyh7/introducing_the_firefox_roadmap_ama_next_week/
1•alberto-m•3m ago•0 comments

You don't know XPT files

https://kolistat.com/blog/xpt-files/
1•caerbannogwhite•3m ago•0 comments

Negative Karma

1•firatsarlar•4m ago•0 comments

Setting the temperature to zero will make an LLM deterministic?

https://www.zansara.dev/posts/2026-03-24-temp-0-llm/
1•zansara•5m ago•0 comments

A Day in the Life of an Enshittificator [video]

https://www.youtube.com/watch?v=T4Upf_B9RLQ
2•tobadzistsini•5m ago•1 comments

Why stdx is not on crates.io

https://kerkour.com/stdx-cratesio
5•Keyb0ardWarri0r•7m ago•0 comments

The Superpower No One Warned Me Abou

https://www.adhdwithsofia.com/blog/adhd-burnout-vs-normal-burnout-why-rest-alone-doesnt-fix-it
1•MelloS•7m ago•0 comments

ZCode

https://zcode.z.ai/en
2•chvid•10m ago•0 comments

The LCD7-Panel-LIME2: A Ready-to-Mount Linux Touch Panel Computer

https://olimex.wordpress.com/2026/06/17/introducing-the-lcd7-panel-lime2-a-ready-to-mount-linux-t...
3•jandeboevrie•10m ago•0 comments

Versioning the Harness Itself

https://blog.tacoda.dev/versioning-the-harness-itself-38ddf7abffe0
2•tacoda•11m ago•0 comments

Elon – Official Movie Trailer – The Story of Tesla – Based on a True Story[video]

https://www.youtube.com/watch?v=o-GbEHKeMM8
3•pgroverman•11m ago•1 comments

See What's Next for Firefox

https://www.firefox.com/en-US/whatsnext/
3•birdculture•12m ago•0 comments

Show HN: How to Read a Dosa Menu

https://dosadecoder.com/
2•michaeljnatkin•12m ago•0 comments

A Hidden Infrastructure: Arbuscular Mycorrhizal Fungi Networks

https://a-hidden-infrastructure.spun.earth/story
2•tinkelenberg•13m ago•0 comments

The Rape of Britain

https://world.hey.com/dhh/the-rape-of-britain-610412f8
5•Tomte•15m ago•3 comments

FP8 GEMM Optimization on AMD CDNA4 Architecture

https://rocm.blogs.amd.com/software-tools-optimization/cdna4-gemm-kernels/README.html
2•skidrow•16m ago•0 comments

How Claude Code Broke My Git Worktree

https://medium.com/@Koukyosyumei/how-claude-code-completely-broke-my-git-worktree-fc74effc9c4e
2•syumei•16m ago•0 comments

Show HN: Infinite – query your GA4/Stripe/PostHog data locally, on your machine

https://github.com/Infinite-Labs-AI/infinite-os
2•RiverXR•16m ago•0 comments

Europe's housing shortages are worse than America's

https://www.worksinprogress.news/p/europes-housing-shortages-are-even
2•bensouthwood•16m ago•0 comments

Occupancy Math on the AMD MI355X: A From-First-Principles Guide

https://indianspeedster.github.io/blog/occupancy-math-mi355x/
2•skidrow•17m ago•0 comments

Horizons

https://ssd.jpl.nasa.gov/horizons/
2•andsoitis•17m ago•0 comments

Show HN: Agentspace – long-running YOLO agent sessions in Docker

https://github.com/ImreC/agentspace
3•Notch123•18m ago•0 comments