Readit News logoReadit News
wngr commented on Futurelock: A subtle risk in async Rust   rfd.shared.oxide.computer... · Posted by u/bcantrill
lowbloodsugar · 5 months ago
I know this is going to sound trite, but “don’t do that”. It’s no different than deciding to poll the win32 event queue inside an a method you executed in response to polling the event queue. Nested shit is always going to cause a bug. I guess each new generation just has to learn.
wngr · 4 months ago
It’s not nested, that’s the thing.
wngr commented on Our modular, high-performance Merkle Tree library for Rust   github.com/bilinearlabs/r... · Posted by u/bibiver
anonymousDan · 5 months ago
Is it concurrent or sequential?
wngr · 5 months ago
What does that mean in the context of a Merkle tree?!
wngr commented on Why haven't local-first apps become popular?   marcobambini.substack.com... · Posted by u/marcobambini
robmccoll · 6 months ago
I wonder about the categories of apps for which offline first with potentially infinitely delayed sync provides a better experience and how large those really are.

It seems like most of those are apps where I'm creating or working on something by myself and then sharing it later. The online part is almost the nice-to-have. A lot of other apps are either near-real-time-to-real-time communication where I want sending to succeed or fail pretty much immediately and queueing a message for hours and delivering it later only creates confusion. Or the app is mostly for consuming and interacting with content from elsewhere (be that an endless stream of content a la most "social media", news, video, etc. or be it content like banking apps and things) and I really mostly care about the latest information if the information is really that important at all. The cases in those apps where I interact, I also want immediate confirmation of success or failure because it's really important or not important at all.

What are the cases where offline-first is really essential? Maybe things that update, but referencing older material can be really useful or important (which does get back to messaging and email in particular, but other than something that's designed to be async like email, queueing actions when offline is still just nice-to-have in the best cases).

Otherwise the utility of CRDTs, OT, et al. is mostly collaborative editing tools that still need to be mostly online for the best experience.

wngr · 6 months ago
Apart from small software studios with non-SaaS business models, there is just no viable local-first (offline-first with infinitely delayed sync) application category, in the consumer space. Consider military applications with heterogenous and constraint networks, where assets might need to coordinate p2p under adversarial jamming. There might be applications, where AP (choosing Availability and Partion Tolerance, cf CAP theorem) makes sense.
wngr commented on Kagi for Kids   help.kagi.com/kagi/plans/... · Posted by u/ryanjamurphy
7thaccount · a year ago
Yeah that works. I've done piano, jujitsu, hockey, and half a dozen other things with my kid. If they ask to do something I let them, but make them do a commitment. If they hate it, they can stop when the season is over and try something else. The tricky part is to balance ensuring they learn not to quit just because something is hard, with not making them do something for too long that they've just figured out is not for them. Piano and gymnastics were a big no, while they fell in love with the right jujitsu gym.

Not everything has to be competitive or official either. Like you can just go to the community pool during the summer without joining a swim team. I think some parents forget this, but this was normal for previous generations.

So my kid has a few extra curricular activities and then I also do plenty of activities with them at the house like play chess or card games or whatever. They're also watching some of my old favorite sci-fi shows with me. Nearly all of YouTube kids is steaming garbage designed to turn your kid into a mindless consumer. Netflix kids is pretty good though. There are a lot of shows that have character progression and multi season plot arcs that cover complex subjects. Avatar the Last Airbender is an example of a show I was comfortable with my 7 year old watching without worrying about brain rot. Mind you, I think all screen time needs a limit.

wngr · a year ago
That’s a great, nuanced view! Thanks for sharing!
wngr commented on Palantir suggests 'common operating system' for UK govt data   theregister.com/2025/03/2... · Posted by u/rntn
sorokod · a year ago
Given the anti Europe stance expressed in the leaked Signal chat [1] any consideration of embedding Palantir in the fabric of European life is to say the least, foolish.

[1] https://www.theguardian.com/world/2025/mar/25/stunning-signa...

wngr · a year ago
One might even say PATHETIC.
wngr commented on Show HN: Decentralized robots (and things) orchestration system   docs.p2p.industries... · Posted by u/hannesfur
hannesfur · a year ago
You are right. At the moment, we are an opinionated wrapper, but we take a different approach to discovery than other libp2p-based networks with our custom batman-adv-based neighbor discovery.

Abstractions for collaboration are currently in the works, and we hope to release that soon. The work on consensus has already started. Your suggestions seem all very interesting, and we'll definitely consider them. We are also currently in the process of talking to potential users to build handy and approachable abstractions for them.

I saw that [freenet](https://docs.freenet.org/components/contracts.html) went with CRDTs, but I think they made it too complicated. We were thinking about a graph (or wide-column) with an engine similar to Kassandara and a frontend like (or ideally just) SurrealDB.

I remember that iroh moved away from libp2p when they dropped IPFS compatibility and moved to a self-built stack: https://www.iroh.computer/blog/a-new-direction-for-iroh When we got started, the capabilities of iroh didn't really fit our bill, but it seems like it's time to reevaluate that. As a former contributor to rust-libp2p, I never quite got the frustration with libp2p that many people have, Iroh included, especially since many of the described problems seemed fixable, and I would have preferred if they did that instead, and libp2p remains the shared base people build these things on.

I remember Actyx being a rust-libp2p user, but I wasn't aware that they failed. Do you have more info? How and why? It would be great if we could learn from them.

Grammar will be reviewed ;) thank you!

wngr · a year ago
> I remember Actyx being a rust-libp2p user, but I wasn't aware that they failed. Do you have more info? How and why? It would be great if we could learn from them.

They (we?) unfortunately never found product-market-fit. Actyx targeted the SME factory space with a p2p application platform. Turns out that developers in general don’t want to deal with the additional complexities of anything lesser than strong consistency, especially if they don’t fully drank the distribute-everything kool-aid. And SMEs don’t really bother either.

Philosophically decentralization is the right thing to do, but I’m thinking more and more that federation might actually be the compromise in the long run, at least for consumer apps. The only valid use cases for p2p edge devices with loose connectivity are in military applications.

wngr commented on Show HN: Decentralized robots (and things) orchestration system   docs.p2p.industries... · Posted by u/hannesfur
wngr · a year ago
Great idea combining batman with libp2p! You guys have the heart in the right place :-).

Currently, your project seems to be an opinionated wrapper ontop of libp2p. For this to become a proper distributed toolkit you lack an abstraction to for apps to collaborate over shared state (incl. convergence after partition). Come up with a good abstraction for that, and make it work p2p (e.g. delta state based CRDTs, or op-based CRDTs based on a replicated log; event sourcing ..). Tangentially related, a consensus abstraction might also be handy for some applications.

Also check out [iroh](https://github.com/n0-computer/iroh) as a potential awesome replacement for p2p; as well as [Actyx](https://github.com/Actyx/Actyx) as an inspiration of similar (sadly failed) project using rust-libp2p.

Oh, and you might want to give your docs a grammar review.

Kudos for showing!

wngr commented on My little sister's use of ChatGPT for homework is heartbreaking   old.reddit.com/r/ChatGPT/... · Posted by u/ajdude
Pet_Ant · a year ago
I don't know how that helps. Watching TV with my kid has been the best way to teach him I've found. There are great videos and shows that you can watch together and then discuss afterwords. Baking videos. Chemistry. Physics. History. Seeing something on TV is great way to fire up the imagination and inspiration for real world activities.
wngr · a year ago
I totally agree with you, but those shows are not what parent means.
wngr commented on Show HN: connet – A P2P reverse proxy with NAT traversal   github.com/connet-dev/con... · Posted by u/Ingon
r3trohack3r · a year ago
This looks great!

Have you seen the libp2p project? Might help get you pluggable NAT traversal and transport strategies plus peer discovery. We’ve been using rust-libp2p for building an overlay network and have had decent success.

wngr · a year ago
Also take a look at iroh [0]. It doesn't come with the bloat of ipfs, provides robust core building blocks. They really figured out NAT traversal.

[0]: https://github.com/n0-computer/iroh

u/wngr

KarmaCake day38January 1, 2019View Original