Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
tedd pasta
@azdez:matrix.org
[m]
@Manuel-777: have you checked out bugout? https://github.com/chr15m/bugout i always wondered which is more decentralized, trystero or bugout. trystero uses trackers which if its a public tracker then it can get overloaded with traffic, bugout uses webtorrent.
though, i don't know if one is better than the other, in fact thats what i wanna find out. check out bugout and tell us/me your initial thoughts about how it would compare to trystero. i looked at both but i still have no idea how one compares ot the other, other than bugout uses webtorrent(so by extension that means dht) and trystero uses webrtc with public trackers.
Mark Nadal
@amark
@Manuel-777 @azdez:matrix.org call tonight?
@rogowski already has PANIC tests for stuff like this.
tedd pasta
@azdez:matrix.org
[m]
checked the repo, looks like bugout relies on trackers too(not dht). @amark: wish i could but this week i'll be spending extra time at the office(training for my new position). my knowledge is very general and basic, but i hope @Manuel-777 joins you. i have been reading his posts here and its interesting.
Deniz
@KerimD
Why does db.get('courses').map().once(...) loop 2 times with only 1 item in the set? Can I prevent it from doing that? (PS: I am not updating the node from within it)
Connor Davis
@connor-davis
I agree with you on that statement @amark LoneWolf Started off with react and it just didn't work out well for me, and then I moved to SolidJs and now it works really well with gun
Also @amark In terms of the way that peers work, does gun like switch between peers everytime it wants to send out data or do all peers get the same data? Because my concern always has been about how much storage will be available and what happens when a peer gets full
Robin Bron
@finwo
@amark There's nothing more inconsistent than "the browser". That's why standards have been developed for loading things which chrome-like browsers follow and polyfills/shims for them for cross-browser compatibility.
Emad Kheir
@Emad-salah
Hey @amark, I've updated PR #1170 as requested, let me know if anything else needs fixing!
Mac16661
@Mac16661
@amark I found the bug I was trying to console log ack.sea.
Connor Davis
@connor-davis
LoneWolf now has messaging!
localhost_3000_ (1).png
And All the jazzz
Connor Davis
@connor-davis

LoneWolf | Messenger | 2021 https://lonewolf-web.web.app/

It is ready to test if you wanna test it with me 😁 and you can add me as a friend using @cnnrdvs

2 replies
Manwë
@Manwe-777
@connor-davis sent you a friends request! One issue tho, messages should be encrypted, as it is now (even if we are not firends) I can see all your conversations
Connor Davis
@connor-davis
Yeah
I know eventually they will, just taking it 1 day at a time
Um
Can you send me your username
Manwë
@Manwe-777
:D
Connor Davis
@connor-davis
I accepted and I think there is a bug
else just send me another so I can see in the console
Mac16661
@Mac16661
how can I get data posted in user graph ?
Manwë
@Manwe-777
lets see (im Manwë btw, the ë works on Gun but UIs might need to handle it)
Connor Davis
@connor-davis
Ok we are now friends
Refresh your browser quick
Theres a bug where it doesnt autogenerate certificates for messaging
I sent you a message :)
Manwë
@Manwe-777
oh yeah got the certs error haha
andre-dietrich
@andre-dietrich
Hi everyone ... I am testing GunDB as a backend for creating Classrooms with LiaScript (an interpreter for interactive Markdown)... It works pretty well... Is there a free gunServer somewhere, that can be accessed by anyone? I was trying heroku in the free version, but this will not wake up the server, I had to do it manually ...
Mac16661
@Mac16661
You can create you own node server for gun peer within 3 lines of code
andre-dietrich
@andre-dietrich
Thx, I know... I was just curious, if there are some public servers, that can be used by anyone for small amounts of data ...
1 reply
davay
@davay42
i use glitch.com for that. Server on a free tier wakes up in a couple of seconds - ok for testing purposes
lain
@lain:iwakura.xyz
[m]
does content addressing not work for objects?
it works for string and numbers, but when i try with an object i get Data hash not same as hash!
rococtz
@rococtz:matrix.org
[m]
lain: You can try to stringify object
Or if it's a gun object that you try to hash, you only need to hash its soul (which looks like an id, it's a string)
1 reply
soury boy
@kislball
Hello! I'm looking into using Gun for my side project, it looks really well! Since secret/trust/grant methods are deprecated, I was trying to understand their inner workings. But I still don't get it. Can someone explain how only granted pub keys can read/write data?
rococtz
@rococtz:matrix.org
[m]
@kislball: public space - everyone can read, everyone can write
user space ( gun.user().get('...').put(...) ) - everyone can read, only the owner can write. The owner can use SEA.certify to grant others write access to his user space (under certain parts or to certain people)
but in gun there is no such thing as restrict read. everyone can read everything. if you are worried about people reading your private data, then you have to encrypt (using SEA.encrypt) and this way they can still read it, but it won't mean anything to them
certify is easy to use. You just assume nobody can write anywhere. Then you generate a certificate saying "Bob can write under /messages" or "Anyone can write under /messages/{someGuysPublicKey} "
People will have to use that certificate when they try to write under your user graph
soury boy
@kislball
Thanks, now that makes sense for me. I dunno how can I write policies. As I found out, it uses LEX but there is no docs about it. Are there any?
rogowski
@rogowski
rococtz
@rococtz:matrix.org
[m]
@kislball: there are plenty of example in here: https://gun.eco/docs/SEA.certify
lain
@lain:iwakura.xyz
[m]
if i use .map().once(...) is there a way to know when its done?
after its iterated through all the items
WILL
@WillWang002_twitter
How many people can you support in chat function use GunDB?
Jake
@wayjake
My question is when you call .once() how do we better understand what requests are being made under thr hood? Ie) is it fetching from peers vs. local cache?