Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
rococtz
@rococtz:matrix.org
[m]
florausdt: Instead of helping 20 people earn 50k each, I want her to help me earn 50k, 20 times. Is that possible?
Mark Nadal
@amark
uggh, spammers. I don't like banning/blocking powers but gonna use it, hopefully at least for good.
not even sure how... gonna try typing random commands (then will catch up with chats later tonight)
how do I give you admin powers @rococtz:matrix.org ?
I tried to just add your non-matrix one, let me know if that worked. Will try matrix one now too.
didn't seem to work.
Mark Nadal
@amark
holy cow, who targeted the spammers at us via matrix?
c!
@im.maddie:matrix.org
[m]
just curious, since HAM does conflict res, does it store time data in a data node? i have an application that needs to prove the time something was created (a simple date object and even it's associated hash can easily be copied from another user's graph) and i reckon that info might be of use in this case
Mark Nadal
@amark
@voidwalker09:matrix.org cause then your keypair needs to be on that HTTP server :/ I mean if you own/control it, probably fine - but most people don't use their own HTTP servers?
@nour-dev :clap: @adam_blvck:matrix.org :clap: @draeder
@alen_george_gitlab check @bresnow 's work, he's got React / SSR + GUN working.
@ceniei:matrix.org :clap: @jabis . Also consider: I think useCallback gets called multiple times by React, which inside you then .on( which creates new subscription listeners each time - therefore accumulating more & more listeners over time.
@verschmelzen:matrix.org :+1: offline/local-first p2p!
@azdez:matrix.org RAD isn't upgraded to latest, and LEX queries were in beta... so they're probably not working well at all. Book is a much better approach & should clean a lot of things up, but I need help with it: any people willing to contribute tests?
@alen_george_gitlab :clap: @adam_blvck:matrix.org . Tho I also want to make sure it is not a bug in the YSON parser - can you paste sample JSON data that is erring into a GitHub issue so I can test it against YSON? What version of GUN did this happen in?
@RamiMetry :clap: @adam_blvck:matrix.org . I think Adam wrote a tutorial to help on this? What was that link? There is also https://github.com/aethiop/jot tutorial too - RN requires a bit of setup currently for it to work cause RN does weird magic to make native, so please try both of those & variations. Oh, and ah + @jabis had an important point.
@sascha1337 (?)
@lightningx10 correct, I'm pretty sure NTS not upgraded to latest so it is also not working.
@dev1n:matrix.org :clap: @rococtz:matrix.org :clap: @draeder @Lexi:matrix.org . Tho this maybe you want to kill the sockets instead: https://gun.eco/docs/DAM#removing-peers ?
@jerushan06:matrix.org :clap: @adam_blvck:matrix.org correct, encrypting the data keeps it secure & private. :) GUN can protect data better than centralized systems.
@sascha1337 :wave: :)
@Tarbez :clap: @Lexi:matrix.org :clap: @Lexi:matrix.org :clap: @Manwe-777 :clap: @rococtz:matrix.org . @connor-davis !
@verschmelzen:matrix.org @Lexi:matrix.org the new way ACKs to PUT are handled is how we're doing the 1-1 WebRTC handshaking. root.ask(function(ack){}) builds a TCP/HTTP-like req/res ontop of GUN's otherwise UDP-like messaging system. It doesn't do anything itself, it just returns an ID that it associates with your callback, message IDs on wire are like var msg = {'#': root.ask(cb), ...} which you root.on('out', msg) (be careful: you might need to in it versus out, it depends!) then another machine just has to ACK that msg ID, so you var reply = {'#': 'asdf', '@': msg['#'], ...}that gets sent out or in. You could keep chaining these, where the reply itself may want a reply so you do instead: var reply = {'#': root.ask(cb), '@': msg['#'], ...} and so on...
Everybody else, please IGNORE the above. Working at a wire protocol adapter level... is extremely easy to shoot yourself in the foot (every wire has to be connected properly, or it will disconnect everything else). For those who are deeply interested in building stuff like this (WebRTC adapters, SEA, etc.) I'm happy to jump on a call & teach you directly (jus tpromise you'll update docs).
@frudas:matrix.org tell me more about LogRocket interference??? Kinda heard of this once before, but the other person didn't clarify. Can you put an easy jsbin together for us to check? & link to it in github issue?
(anyone who adds a github issue, BTW, needs to tag me here. Github doesn't email me anymore.)
@worldpeaceenginelabs woah, this looks REALLY cool (fireship's new framewor... ahem, library!).
@computervillain_twitter well produced video but dissapointingly lacking meaning - it just talks about talking about things :( .
@im.maddie:matrix.org Gun.state.is(data_node, keyName) 1 of the few internal utilities I kept :P
1 reply
note it has no formal guarantees, its jut the UTC of when the write happened.
Bo
@worldpeaceenginelabs
@amark yes it does, and so easy to use 😍 1. what about Bun? did you manage to run Gun with it? 2. i think the cross-component thing fits awesome into the decentralization stack related to Gun, dont you think? decentralized database, decentralized frameworks... Decentralize!!! ✊ @draeder
Sascha1337
@sascha1337:matrix.org
[m]
wooooohoooohooooooo that post above! holy smokinggun!
c!
@im.maddie:matrix.org
[m]
@amark since it is a part of the node, though, if the UTC time were to be messed with is it safe to assume that it would trigger some mismatch alerts?
Frudas
@frudas:matrix.org
[m]
hi, on console is now showing " 0 length key!" in nodejs deployment
@amark: /\
what´s that
Sascha1337
@sascha1337:matrix.org
[m]
im gonna contribute to rod and gun and rs-gun
fam, what are the differences, problems with the RUST GUN
compared to the js
rococtz
@rococtz:matrix.org
[m]
@amark: sorry, I don't think I use the non-matrix account anymore. I am only using this one
Norman Reed
@nsreed
book-tests.gif
trying to exhaustively test path/character permutations to break rad/book. So far, I haven't found anything that breaks it.
davay
@davay42
@nsreed what about long paths? Of 2-3 pubkeys in lengh
Bradley Matusiak
@bmatusiak
🤟 Long days no time.. hope to get back here soon!
Daniel Raeder
@draeder

trying to exhaustively test path/character permutations to break rad/book. So far, I haven't found anything that breaks it.

@nsreed This is great! Thank you for helping with book tests

Adm
@Adm-iral
Hey, im having a hard time syncing my relay server with my peers. I have a node server set up as Relay and 2 browsers as clients/peers (A-chrome/B-firefox). Changes from A are only visible on A and changes from B are only visible on B. Meanwhile the servers "!" has both entries from A and B. Any help or guidance ?
c!
@im.maddie:matrix.org
[m]
can i create a timegraph (https://gun.eco/docs/Timegraph) within a user (ex gun.user().get('timegraph').time(foo))?
not sure if a userspace node counts as top-level
soulofmischief
@soulofmischief
.open() and .load() don't return a valid node and so Gun.state.is fails to work and I'm left without timestamps
Architectural reasons for this?
I know I can either go back to .on()/.once() and just resolve each key manually, or just resolve the node again using the key inside of .open()/.load()
not sure what's the idiomatic path, like whether I am using .open()/.load() in the wrong context for my needs, the lib is just incomplete, etc

uggh, spammers. I don't like banning/blocking powers but gonna use it, hopefully at least for good.

I'm actually going to use gun to prototype a decentralized chat app idea I had where, among other things, users decide who to block, and can also subscribe to user/community-supplied global/server-wide blocklists

1 reply
soulofmischief
@soulofmischief
so you could add this user to your blocklist but only users who have subscribed to your blocklist will have the messages hidden
still democratic, no one holds the keys
the more interesting aspect is that all "chat rooms" are just views comprised of various tags and filters. When messages are sent from a given view, the same set of tags is added to the message itself so that only others with the same view or some superset of the view will see it
so if you wanted to create a chat room for gun, you'd just add https://gun.eco or whatever to the tag list of your view or create a new view with the tag
automatically exists, no setup required
still working out the precise mechanisms for elevating trust democratically so that you can at least have your blocklist prioritized/highlighted over others, post notices, etc
soulofmischief
@soulofmischief
since all tags implicitly exist, and no one owns a tag, it's completely democratic and ad-hoc. you can create the chat rooms you want by combining various tags of interest, block/highlight users as you see fit and carve out your own community
3 replies
Steven Franssen
@stevenfranssen:matrix.org
[m]
i will add to your concept that you make chat and forums one thing, share the same backend but have different display options
@soulofmischief: maybe you can work on intergrating this with iris.to ?
Steven Franssen
@stevenfranssen:matrix.org
[m]
@soulofmischief: there is so many ways to do filters, have you looked at cabal.chat ? , their method of filtering is quite simple and effective, a user either selects other users as their moderator or an admin, both those roles can then filter content for you but the admin can also select other moderators and admins and so on that casade more filtering for you
soulofmischief
@soulofmischief

i will add to your concept that you make chat and forums one thing, share the same backend but have different display options

I would like to do this for sure, and have given thought to how to synthesize these two experiences... but what is the difference between a forum and chat room today? To me, it's simply the pace. That, and each message doesn't come with arguably redundant details

6 replies
So perhaps simply a tag that requires a certain time period between posts?
6 replies
so that anyone who wants to engage in only slow conversation can simply opt in

@soulofmischief: maybe you can work on intergrating this with iris.to ?

i think iris.to is an amazing product, my thoughts would be to package as much as I can with this chat app into modular libraries to allow others to use the pieces they want

soulofmischief
@soulofmischief
I tried out cabal once but I didn't stick with it. This concept of users choosing moderators sounds right on point. Perhaps the simplest way to democratize knowledge about who a new user should knight would just be to show a sorted list of everyone with elevated trust
2 replies
the cascading is good too, especially if there is an easily-accessed toggle both globally and per-room and clear visual indicators on how much more censorship you participate in during cascading mode
4 replies
Ala Obeidat
@ala-obeidat
asd