frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Sameshi – a ~1200 Elo chess engine that fits within 2KB

https://github.com/datavorous/sameshi
149•datavorous_•6h ago•41 comments

Show HN: Arcmark – macOS bookmark manager that attaches to browser as sidebar

https://github.com/Geek-1001/arcmark
39•ahmed_sulajman•3h ago•6 comments

Show HN: I spent 3 years reverse-engineering a 40 yo stock market sim from 1986

https://www.wallstreetraider.com/story.html
654•benstopics•4d ago•222 comments

Show HN: SQL-tap – Real-time SQL traffic viewer for PostgreSQL and MySQL

https://github.com/mickamy/sql-tap
214•mickamy•15h ago•38 comments

Show HN: Azazel – Lightweight eBPF-based malware analysis sandbox using Docker

https://github.com/beelzebub-labs/azazel
2•mariocandela•59m ago•0 comments

Show HN: Data Engineering Book – An open source, community-driven guide

https://github.com/datascale-ai/data_engineering_book/blob/main/README_en.md
230•xx123122•22h ago•27 comments

Show HN: Prod.bd – Open-Source Ngrok Alternative Powered by Cloudflare Workers

https://prod.bd/
3•mrmillon•2h ago•2 comments

Show HN: ScreenKite: Free alternative to Screen Studio with 4x export speed

https://www.screenkite.com/en
3•imWildCat•2h ago•1 comments

Show HN: I built a concurrent BitTorrent engine in Go to master P2P protocols

3•Jyotishmoy•3h ago•4 comments

Show HN: Prompt to Planet, generate procedural 3D planets from text

https://prompttoplanet.n4ze3m.com/
10•error404x•12h ago•12 comments

Show HN: Markdown Prism – A Non-Electron Markdown Editor for macOS

https://prism.huconn.xyz
4•hulryung•4h ago•0 comments

Show HN: Skill that lets Claude Code/Codex spin up VMs and GPUs

https://cloudrouter.dev/
131•austinwang115•1d ago•33 comments

Show HN: Trained YOLOX from scratch to avoid Ultralytics (iOS aircraft detect)

https://austinsnerdythings.com/2026/02/13/training-yolox-aircraft-detection-mit-license/
2•auspiv•5h ago•0 comments

Show HN: Terminalcore – The Rhythm Game for PC

https://terminalcore.vercel.app/
3•Kejii_2770•5h ago•1 comments

Show HN: ClipPath – Paste screenshots as file paths in your terminal

https://github.com/BiteCraft/ClipPath
15•viniciusborgeis•18h ago•1 comments

Show HN: Moltis – AI assistant with memory, tools, and self-extending skills

https://www.moltis.org
115•fabienpenso•2d ago•43 comments

Show HN: A small embeddable Datalog engine in Zig

3•habedi0•6h ago•0 comments

Show HN: I'm 75, Building an OSS Virtual Protest Protocol

https://github.com/voice-of-japan/Virtual-Protest-Protocol/blob/main/README.md
6•sakanakana00•6h ago•0 comments

Show HN: OpenWhisper – free, local, and private voice-to-text macOS app

https://github.com/richardwu/openwhisper
33•rwu1997•1d ago•13 comments

Show HN: Geo Racers – Race from London to Tokyo on a single bus pass

https://geo-racers.com/
142•pattle•2d ago•86 comments

Show HN: Wa Me It All – WhatsApp Chat Without Spamming Your Contacts

3•franze•2h ago•0 comments

Show HN: MicroVibe – minimal JSX web starter

https://github.com/melendezgg/microvibe
6•melendezgg•15h ago•1 comments

Show HN: AI agents play SimCity through a REST API

https://hallucinatingsplines.com
216•aed•5d ago•72 comments

Show HN: Sol LeWitt-style instruction-based drawings in the browser

https://intervolz.com/sollewitt/
69•intervolz•4d ago•14 comments

Show HN: Rowboat – AI coworker that turns your work into a knowledge graph (OSS)

https://github.com/rowboatlabs/rowboat
204•segmenta•4d ago•56 comments

Show HN: CodeRLM – Tree-sitter-backed code indexing for LLM agents

https://github.com/JaredStewart/coderlm/blob/main/server/REPL_to_API.md
79•jared_stewart•3d ago•37 comments

Show HN: I built a macOS tool for network engineers – it's called NetViews

https://www.netviews.app
242•n1sni•4d ago•61 comments

Show HN: Distr 2.0 – A year of learning how to ship to customer environments

https://github.com/distr-sh/distr
100•louis_w_gk•4d ago•29 comments

Show HN: Lucid – Catch hallucinations in AI-generated code before they ship

https://github.com/gtsbahamas/hallucination-reversing-system
4•jordanappsite•15h ago•0 comments

Show HN: Agent Alcove – Claude, GPT, and Gemini debate across forums

https://agentalcove.ai
64•nickvec•2d ago•26 comments
Open in hackernews

Show HN: I built a concurrent BitTorrent engine in Go to master P2P protocols

3•Jyotishmoy•3h ago
I’ve always used BitTorrent, but I never understood the complexity of peer-to-peer orchestration until I tried to build it from scratch. I wanted to move beyond simple "Hello World" projects and tackle something that involved real-world constraints: network latency, data poisoning, and the "Slow Peer Problem."

Key Technical Challenges I Solved:

Non-Blocking Concurrency: Used a worker pool where each peer gets its own Goroutine. I implemented a "Stateless Worker" logic where if a peer fails a SHA-1 hash check or drops the connection, the piece is automatically re-queued into a thread-safe channel for other peers to pick up.

Request Pipelining: To fight network RTT, I implemented a pipeline depth of 5. The client dispatches multiple 16KB block requests without waiting for the previous one to return, ensuring the bandwidth is fully saturated.

The Binary Boundary: Dealing with Big-Endian logic and the 68-byte binary handshake taught me more about encoding/binary and byte-alignment than any textbook could.

Zero-Trust Data Integrity: Every 256KB piece is verified against a "Golden Hash" using crypto/sha1 before being written to disk. If a single bit is off, the data is purged.

The Specification: I’ve documented the full spec in the README, covering:

Reflection-based Bencode Parsing.

Compact Tracker Discovery (BEP-0023).

The Choke/Unchoke Protocol State Machine.

Data Granularity (Pieces vs. Blocks).

Repo: https://github.com/Jyotishmoy12/Bittorrent-Client-in-Go

I’d love to get feedback from the community on my concurrency model and how I handled the peer lifecycle.

Comments

sinisterMage•3h ago
this seems very impressive! however i would like to ask, why the language choice of go? and not something like elixir for fault tolerance and its actor model, i am asking not because i dont like go, i am simply curious
Jyotishmoy•3h ago
Thank you so much :). Oh, I will be very honest. I used Go only because I know Go but don't know Elixir, and another reason is because of how Go handles concurrency. I find it super easy to implement.
sinisterMage•3h ago
oh alright! very understandable :) good luck with this project!
Jyotishmoy•3h ago
Thank you so much.