You are reading content from Scuttlebutt
@Dominic

I'm giving a talk on pull-streams tonight at auckland node. This is highly relevant to ssb dev, so Aucklanders if you are interested come along.

18:30 at paymark offices on victoria st!

Also, @don will be talking about how he got his vim set up just how he likes it...

@Dominic

oops, ment to tag @jolyon @dangerousbeans

@nichoth
Liked this in #node
@interfect

This is the technology that's so cool that a bunch of the ipfs-js internal modules are named after it, right?

Is your talk going to be on SSB?

@mikey
Liked this in #node
@nico_lost_and_forgotten
Liked this in #node
@juul
Liked this in #node
@Dominic

Yes ipfs also uses pull-streams. Actually, 50% of the significant p2p node.js projects use pull-streams (ssb and ipfs do, but webtorrent and dat don't)

The talk will be on pull-streams, but ssb will get a mention for sure.

@tiago
Liked this
@tiago

video video video! :)

@mix
Liked this in #node
@mix

awesome. @dominic you should make a gathering ... we're almost ready to publish that in patchwork... maybe not in time for the event though D:

@dangerousbeans
Liked this in #node
@dangerousbeans

Oh damn would have been totally up for this but am meeting with hackspace people then going to storytelling with Cortenay and Robin from that red boat at scuttlefloat

@Carlos Galarza
Liked this in #node
@Dominic

oh damn, @dangerousbeans that sounds more interesting than giving my talk, can't really skip out now though... where is that anyway? maybe I'll come by after if it's walkable from downtown

User has chosen not to be hosted publicly
@interfect

@Dominic I mean can I watch the talk on SSB? @tiago has the right idea.

@jfr
Liked this in #node
@don
Liked this in #node
@Dominic

@interfect that isn't implemented yet. but @neftaly filmed it, so I guess it'll be on youtube (...or instant.io!)

The best part was that palpable tension when I live coded a source, sink, and through stream, then pull... then changed stream = stream(args.shift()) to stream = args.shift()(stream) and was like "I think this is correct now" and ran it the first time and it worked.

@dangerousbeans

Ha sweet, sorry I missed it that sounds fun. Can we have a messing around with ssb session sometime? @jolyon @mwilcox + other auckland people

User has chosen not to be hosted publicly
@dangerousbeans

yeh, am around from Monday onwards

@Dominic

sure can do monday

@neftaly

No instant.io, I'm on farm internet atm :sheep:
https://youtu.be/Yn-U6ygClyU

@nichoth

thanks @neftaly for asking about the relationship with fp patterns. I have been wondering about this and want to figure it out better. pull-stream and function patterns are basically the same, but the interface is a little bit different. I think this highlights 2 main uses for streams — pull-stream and node streams are focused on IO, and observables/rxjs are focused on bringing fp patterns to javascript, which is not about performance, but about writing nice, reusable code.

I've been using pull for application code in the browser, and it works pretty well but it feels a little bit weird because they are focused on IO. Implementing something like an either or maybe type, for example is not obvious to me.

@mix

@neftaly thanks for taking the time to record this.
@dominic cool seeing your route into this, it felt really organic and clean. Fucking love that "how do you eat food" metaphor as well.

@nichoth we're using pull-streams + observables extensively in patchwork + patchbay. It's actually really beautiful - you set up a source and drain it into an observable. Then you just plug the observable in somewhere else (in our case, Mutant), and it just updates as stuff arrives.

@Dominic

thanks @mixmix it's observables are very good on the front end. It's funny actually, because I forgot all about observables, and then mutant reminded me about them, and then I used them in flume! I use observables in cases where I need to get the latest value instantly, or wait until it is ready. and sometimes to track the latest value.

Join Scuttlebutt now