Better HN
topnewbestaskshowjobs
Log inSign up

b_fiive

256 karma · joined Sep 5, 2018 (8y ago) · 60 submissions

caretaker at https://github.com/n0-computer/iroh
Submissions

comment 5mo ago · link · parent

sup steb, this is expede's work!

comment 8mo ago · link · parent

Now, see. that's what I said as well. But the rest of the team was tired of me trying to name the hosted iroh "n0des", which I'm now ready to admit was a stretch. And so now here we are spelling n0q as noq. c'est la vie.

comment 8mo ago · link · parent

It's been a draft for a long while, and was only recently approved

comment 8mo ago · link · parent

disclosure: I work on the team behind noq. Can't emphasize enough that the quinn maintainers are really lovely people, and quinn is an excellent project.

comment 9mo ago · link · parent

worm-blossom crew is just a delightful bunch of humans doing really great work

comment 1y ago · link · parent

delighted to hear! iroh-blobs is Rüdiger's love letter to BLAKE3, and hot dang has he taken this piece of machinery quite far. Much of this is covered in the post, but some highlights:

* fetch any sub-sequence of bytes, verified on send & receive * fetch sub-sequences of bytes in collections (sets of blobs / directories) * store on disk, inlining small blobs into the database for faster lookups * fan in from disk & the network * "multi-provider" fan in that can re-plan a fetch on the fly * should land support for WASM compilation (browsers) soon! https://github.com/n0-computer/iroh-blobs/pull/187

We're hard at work on making the API more ergonomic, but as a foundational protocol it's truly impressive. Rudi has been working with the BLAKE3 authors on both perf testing & the hazmat API.

disclosure: I work on iroh

comment 1y ago · link · parent

Yep! It's totally usable for games, and used in a few! One of my favs is the godot engine plugin: https://github.com/tipragot/godot-iroh

QUIC can do both reliable & unreliable streams, as can iroh

comment 1y ago · link · parent

sibling comment with links to docs is the more accurate, but to summarize, it's some of both:

* all connections are always e2ee (even when traffic flows through a relay)

* relays are both for connection negotiation, and as a fallback when a direct connection isn't possible

* initial packet is always sent through the relay to keep a fast time-to-first-byte, while a direct connection is negotiated in parallel. typical connections send a few hundred bytes over the relay & the rest of the connection lifetime is direct

comment 1y ago · link · parent

yes, to an extent. It will time out if the connection completely dies for more than the timeout interval, but all connections are designed to survive changes to network changes like IP address or network interface (eg: switching from WiFi to ethernet, or cellular)

comment 1y ago · link · parent

same team behind dumbpipe makes sendme, which is much closer to this use case! https://github.com/n0-computer/sendme

comment 1y ago · link · parent

it's p2p. dumbpipe is hardcoded to use a public set of relays that we run for free (we being number 0, the team that make iroh & dumbpipe).

we can definitely add a config argument to skip the hardcoded relays & provide custom ones!

comment 1y ago · link · parent

Thanks for the heads up! We've fixed: https://github.com/n0-computer/dumbpipe.dev/pull/11

comment 1y ago · link · parent

less configuration. more reliable. less pure p2p (iroh uses relays)

comment 1y ago · link · parent

ah very sorry, I can see how this isn't all that clear. In the comment you've mentioned when I say "custom protocol" I mean a custom QUIC ALPNs: https://datatracker.ietf.org/doc/html/rfc7301

When we talk to mainline it's for discovery, which is separate from iroh connections, which always uses QUIC. Specifically: our fork of quinn, an implementation of QUIC in rust. Iroh is tightly coupled to quinn, and isn't swappable. Getting no_std support for us basically boils down to "can we get quinn to support no_std?". For that, see: https://github.com/quinn-rs/quinn/issues/579

comment 1y ago · link · parent

yep totally doable. You'd use iroh configured with mainline, Then write a custom protocol for the grpc bit: https://www.iroh.computer/docs/protocols/writing

We use this a bunch for writing rpc protocols on iroh: https://github.com/n0-computer/irpc , but there's no reason you couldn't write one with grpc.

comment 1y ago · link · parent

keys are always ED25519, we use raw public key bytes, without prefixes.

Applications are more than welcome to use prefixes, but the use of ED25519 is not configurable

comment 1y ago · link · parent

Yeah, no_std is going to be very hard. We need a no_std implementation of QUIC that can be wielded by mere mortals first, which I don't think we'll be able to start on for at least a year.

Right now we can get down to an ESP32, which we think is a decent start.

comment 1y ago · link · parent

There's no reason this _can't_ be built. The thing that's missing is simulating a raw UDP socket.

We could adapt the pattern from dumbpipe wrapping a TCP listner: https://github.com/n0-computer/dumbpipe?tab=readme-ov-file#t... which is exactly the "here join this ticket" you're describing

comment 1y ago · link · parent

(disclosure: I work on iroh): you're selling yourself short! All of this is accurate, except for maybe the BGP stuff :)

Dumb Pipe & Sendme me are indeed demos, we do provide a set of default, public relays to use for free. The relay code is also open source, and if you want to pay us we can run a network for you.

We try to provide a few different options for discovery, the one we think has the most general utility is a custom DNS server, but both local mDNS and Bittorrent Mainline are also pluggable options.

comment 1y ago · link · parent

hey I work on this! AMA!

comment 1y ago · link · parent

I don't know much about the fund itself, but https://www.indie.vc/ seems like their whole thesis is this middle path.

comment 1y ago · link · parent

I work on iroh, and this is exactly correct. It doesn't do locally discovery by default, but can be configured to discover devices on local networks. Docs link above is the best place to start, and here's a code example to compliment: https://github.com/n0-computer/iroh/blob/main/iroh/examples/...

comment 1y ago · link · parent

If you're a rust fan we make a similar library, that's all-in on "p2p-QUIC", with pre-baked protocols to import on top: https://github.com/n0-computer/iroh

comment 1y ago · link · parent

I switched recently from vscode, and it's now my daily driver. I mainly edit rust & typescript, experience has been great. I did need two critical keybindings for toggling the terminal: https://gist.github.com/b5/8a03cee3cf6321ee65ffcb28899c4362 , and documentation was a little thin on how to set it up

25.

The Twelve Networking Truths (1996)(rfc-editor.org ↗)

1 points · by b_fiive · 1y ago · discuss

26.

Why We Forked Quinn(iroh.computer ↗)

5 points · by b_fiive · 2y ago · discuss

27.

Dial devices by ED key with iroh-DNS(iroh.computer ↗)

1 points · by b_fiive · 2y ago · discuss

28.

Iroh v0.15.0 – Shut me down(iroh.computer ↗)

5 points · by b_fiive · 2y ago · discuss

12