frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Peer-to-peer instant messaging with proof-of-work spam protection

https://github.com/iljah/p2pIM
2•iljah•1h ago
Bitmessage.org still doesn't support Python 3 and over the years I've tried several times to create something similar but each time have run up against unclear/incomplete/missing documentation in Python/Rust/flask/tokio/asyncio/etc. Finally decided to give ChatGPT a real try and with tutoring based on minimal examples managed to have something usable in about a day. Most "difficult" part was having two instances of flask/quart running simultaneously while also having other stuff happen periodically in background.

Novel thing in p2pIM compared to Bitmessage is that messages' PoW decays and that larger messages require better PoW than smaller ones. Thus small messages that are discarded quickly require significantly less PoW than large messages that persist for a long time. p2pIM doesn't support encryption but that should be straightforward to build on top.

Message_v0 class in https://github.com/iljah/p2pIM/blob/main/messages.py defines low level details such as PoW, how many bytes to use for nonce, checksum, etc. Currently they're all only about 10 bytes or hex characters for easier debugging and testing. PoW is calculated as sha256 of timestamp+nonce+checksum, where checksum is sha256 of payload. Adding channel name as fourth item to PoW is on the https://github.com/iljah/p2pIM/blob/main/TODO list. server1.py mentioned at end of README is my previous attempt at this (without AI help) and the one before that is probably https://github.com/iljah/a2amd in Rust.

Tov: TypeScript-like language that compiles to native binaries

https://tov.sh
1•s13k•1m ago•0 comments

Knuth Reward Check

https://www.thomas-huehn.com/knuth-reward-check
2•Curiositry•4m ago•0 comments

Show HN: Health Explorer – See how genes shape health, from DNA to treatment

https://health-explorer.askcyph.ai/
1•dj_io•7m ago•0 comments

Book Publishers Are Quietly Using More AI. Staff Are Revolting

https://www.wired.com/story/book-publishers-are-quietly-using-more-ai-staff-are-revolting/
1•thm•8m ago•0 comments

Misunderstanding Absurdity

https://medium.com/@pheverdotexe/misunderstanding-absurdity-through-false-antithetical-parallelis...
2•Pheverdotexe•11m ago•0 comments

How Protein Took over the World

https://www.ft.com/content/e26574cf-94cc-40d9-921e-5c7417fc5dbd
3•thm•11m ago•0 comments

Ask HN: Have you checked REA(reverse engineer anything) GitHub repo?

1•rahuljha0403•12m ago•0 comments

No portable way to detect string-to-float conversion errors in standard C

https://sebsite.pw/w/20261009-strtod.html
1•signa11•12m ago•0 comments

Hacker News: An Apology

https://lee-phillips.org/byeHN/
1•leephillips•13m ago•1 comments

Turn Apple Shortcuts into Live Activities on Your iPhone

https://apps.apple.com/us/app/live-shortcut/id6476543630
1•andrewfang•14m ago•0 comments

Gauze Corrects LLM Responses

https://github.com/ggeorgovassilis/llm-gauze
1•ggeorgovassilis•14m ago•1 comments

At Robinhood's Mecca for Risk-Loving Traders Everyone Has a Tale of Getting Rich

https://www.wsj.com/finance/at-robinhoods-mecca-for-risk-loving-traders-everyone-has-a-tale-of-ge...
1•thm•14m ago•0 comments

Unintentional Type Theory

https://ncatlab.org/nlab/show/unintentional+type+theory
1•danny00•14m ago•0 comments

Cyril Hilsum dies at 101.He invented flat-screen displays that hold us in thrall

https://www.economist.com/obituary/2026/10/08/cyril-hilsum-invented-the-flat-screen-displays-that...
1•bookofjoe•16m ago•1 comments

The Rulers of the World Have Ticker Symbols

https://thesovereigncapitalist.io/state-capitalism-index/
1•StuntPope•17m ago•0 comments

Hoard – A game save sync and backup where 10 save of a 2 GB size cost 2 GB

https://hoard.services/
1•insaideh•18m ago•1 comments

Show HN: A fullscreen Game of Life in which every board is a runnable program

https://bobbby.online/piet/tiles
1•rhgraysonii•19m ago•0 comments

ZUMA Press

https://www.zumapress.com/aboutzuma/overview.html
1•skibz•20m ago•0 comments

Show HN: Sibuna an open source web application firewall with proof of work

https://github.com/insanai/sibuna
1•vikrantrathore•24m ago•0 comments

The engineering habits that gave Dirac an edge as a physicist

https://www.engineerhistory.com/p/the-engineering-habits-that-gave
1•tylerdane•30m ago•1 comments

Lobbying Is Corruption

https://discuss.google.dev/t/trusted-automation-with-google-antigravity-scaling-secure-finance-in...
2•thetechnogman•30m ago•2 comments

Replacing pyinstaller with 100 lines of code

https://tush.ar/post/packaged/
1•ankitg12•31m ago•0 comments

Being mean to Claude could get you banned as Anthropic introduces new rules

https://www.techspot.com/news/114153-mean-ai-could-get-you-banned-anthropic-introduces.html
1•akyuu•31m ago•0 comments

Orangutan mothers seek out playmates for young

https://www.mpg.de/27017124/orangutan-mothers-seek-out-playmates-for-young
3•gmays•33m ago•0 comments

2025-10-10 front – Hacker News

https://news.ycombinator.com/front?day=2025-10-10
1•ankitg12•33m ago•1 comments

No One Lives Forever decompiled source code

https://github.com/nolffan/nolfsrc
3•nolffan•33m ago•2 comments

Python 3.15

https://astral.sh/blog/python-3.15
2•NavinF•34m ago•0 comments

Why Drug Trafficking Is Now Almost a Human Right in Canada

https://www.city-journal.org/article/canada-drug-trafficking-ruling
1•donsupreme•34m ago•0 comments

Why Alberta farmers are suddenly demanding tractors they can fix themselves

https://www.begiant.ca/stories/ideas/ursa-ag-right-to-repair-tractors
1•rdmuser•35m ago•0 comments

Claude Code and Codex break on different MCP features

https://m3.sineframe.com/blog/claude-code-vs-codex-mcp
1•stag•35m ago•0 comments