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.

Show HN: Turn casual photos into professional headshots with AI

https://portraify.app
1•camel2243•2m ago•0 comments

Hugging Face warns an autonomous AI agent hacked its network

https://www.bleepingcomputer.com/news/security/hugging-face-breach-autonomous-ai-agent-system-int...
1•sbulaev•8m ago•0 comments

Invisible Details

https://invisibledetails.com
1•handfuloflight•9m ago•0 comments

Snake-and-commits: Turn your GitHub contribution graph into a real game of Snake

https://github.com/dahan8473/snake-and-commits
2•thunderbong•11m ago•0 comments

Top American AI Execs Sound Alarm on Chinese Models

https://www.wsj.com/tech/ai/top-american-ai-execs-sound-alarm-on-chinese-models-3c74f8c1
2•Cider9986•11m ago•1 comments

Is OpenCode and Kimi K3 better than Claude Code?

2•vijayst•13m ago•0 comments

A Cap Table for Your Life

https://www.karthikuppu.com/personal-token
2•koopuluri•14m ago•0 comments

Motif-3-Beta

https://huggingface.co/Motif-Technologies/Motif-3-Beta
2•ilreb•16m ago•0 comments

Reductions Network – A Compendium of Reductions

https://reductions.network/
2•o4c•16m ago•0 comments

ML-pokedex – experiments trying to train some models directly on RDF

https://alganet.github.io/ml-pokedex/index.html
2•gaigalas•16m ago•0 comments

Wireless Communication Software Defined Radio (SDR) Course

https://wirelesspi.com/sdr-course/
2•teleforce•16m ago•0 comments

DeepSWE – Best Benchmark for Evaluating AI Coding Agents?

https://www.i-programmer.info/professional-programmer/103-i-programmer/18759-why-software-enginee...
2•aquastorm•16m ago•0 comments

Malicious Agent Skills in the Wild

https://arxiv.org/abs/2602.06547
2•yruzin•20m ago•0 comments

Show HN: Envy - A flat-file, frictionless note-taking application for macOS

https://envynote.app
3•widowlark•20m ago•0 comments

MiniMax M3: How Sparse Attention Makes Long-Horizon Agents Practical

https://twitter.com/omarsar0/status/2074494774292148726
4•gmays•23m ago•0 comments

Kimi Linear: An Expressive, Efficient Attention Architecture

https://arxiv.org/abs/2510.26692
3•ashish01•25m ago•0 comments

Show HN: Shackle – Deterministic runtime governance for AI agents

https://github.com/Fame510/SHACKLE
2•shacklepro•26m ago•0 comments

Show HN: pgwd – PostgreSQL connection alerts with cron exit codes

https://github.com/hrodrig/pgwd
2•hejeroaz•28m ago•0 comments

Replit's Snapshot Engine: The Tech Making AI Agents Safe

https://replit.com/blog/inside-replits-snapshot-engine
2•shenli3514•28m ago•0 comments

People are transcribing your conversations without asking. That puts you at risk

https://werd.io/people-are-transcribing-your-conversations-without-asking-that-puts-you-at-risk/
2•benwerd•33m ago•1 comments

Toll: Constant memory rate limiter at any scale

https://github.com/satmihir/toll
3•jscrab•35m ago•0 comments

So bright the vision (1956) a story about machines writing instead of humans [pdf]

https://s3.us-west-1.wasabisys.com/luminist/EB/S/Simak%20-%20So%20Bright%20the%20Vision.pdf
3•marysminefnuf•36m ago•0 comments

Apollo 11 Guidance Computer (AGC) source code

https://github.com/chrislgarry/apollo-11
2•modinfo•40m ago•0 comments

Cosmonapse – an event-driven protocol for AI agent systems

https://github.com/Cosmonapse/cosmonapse-core
2•aqibkhan026•40m ago•0 comments

Run Ray on TPU, Part 1: The foundations

https://developers.googleblog.com/run-ray-on-tpu-part-1-the-foundations/
2•simonpure•43m ago•0 comments

IEA Predicts First Decrease in Global Oil Demand Since 2020

https://oilprice.com/Energy/Crude-Oil/IEA-Predicts-First-Decrease-in-Global-Oil-Demand-Since-2020...
4•toomuchtodo•43m ago•1 comments

New York blocks large data centers for a year

https://apnews.com/article/new-york-data-centers-moratorium-ai-c1e05b74208a6c570eec7c658ac8f187
10•gmays•44m ago•1 comments

State-by-State Data and ITEP Tax Inequality Index Map

https://itep.org/whopays-7th-edition/
3•speckx•44m ago•0 comments

A PHP server that can handle 10x as many concurrent requests as Nginx+PHP-fpm

https://github.com/Qbix/webserver/blob/main/README.md
2•EGreg•49m ago•0 comments

Oracle could face $7B collateral bill for Wisconsin data centre

https://www.ft.com/content/b37030b6-bda8-4ba9-8e08-e6b88687b8f5
2•toomuchtodo•51m ago•1 comments