Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 18 22:18
    bioshazard edited #1019
  • Oct 18 22:17
    bioshazard edited #1019
  • Oct 18 22:09
    bioshazard commented #935
  • Oct 18 22:09
    bioshazard commented #935
  • Oct 18 22:08
    bioshazard opened #1019
  • Oct 18 17:29
    capitalistdog commented #1017
  • Oct 18 17:28
    capitalistdog closed #1017
  • Oct 18 17:28
    capitalistdog commented #1017
  • Oct 17 08:28
    amark commented #1015
  • Oct 17 07:28
    amark closed #1018
  • Oct 17 07:28
    amark commented #1018
  • Oct 16 17:22
    kunaimaster opened #1018
  • Oct 16 17:21
    yisiliu commented #1015
  • Oct 16 17:08
    capitalistdog commented #1017
  • Oct 16 17:05
    danlugo92 commented #1017
  • Oct 16 16:28
    capitalistdog commented #1017
  • Oct 16 16:25
    amark commented #1017
  • Oct 16 16:25
    capitalistdog edited #1017
  • Oct 16 16:24
    capitalistdog opened #1017
  • Oct 16 16:01
    amark commented #1015
gunchatbridge
@gunchatbridge
[D] adam-ai: <@178314946201780224> thanks for the data models guide. I have some quick questions for you:
1- is the gun stack stable for us to use in production or does it still need more work ? If it isn't we can spin up a stable alternative in the short term and help make gun stable to go into production.
2- is there any particular use cases you have considered for dAIML ? If there is overlap with what we are developing then we can leverage your thinking to develop something you really want to see deployed. I have my own ideas that I think would be very interesting tech.
3- how can we help you and the gun team make gun better? What tasks do you need worked on? If we know what you need done overall we can see how best we can fit into the Dev horizon.
gunchatbridge
@gunchatbridge
[D] skyfall: <@!674252123168440330> could you elaborate on your dAIML project
gunchatbridge
@gunchatbridge
[D] JerryZhang: I have a question about Radix storage engine, I read from the doc that it's the default engine : "The Radix Storage Engine (RSE) is the default."But when I try to push some file into GUN, it seems that there is still a limitation of 5Mb. Then I want to use Radix storage engine to get more storage space :
[D] JerryZhang: I use vue-gun by initializing it in this way: Vue.use(VueGun, { peers: ['.../gun', ' .../gun'], radisk: true, localStorage: false }); But after I Refresh my Browser, I couldn't get data from GUN, Is there anything wrong with my code?
gunchatbridge
@gunchatbridge
[D] JerryZhang: I encode my file into base64 code, then I push it into gun in this way :this.$gun.get('myfiles').get(item.name).put(code)
Sebastian Castañeda
@isbincApps
Hi @amark, i didn't talk about push notifications with anyone
gunchatbridge
@gunchatbridge
[D] JerryZhang: If I enable local Storage and push a file larger than 5Mb, My console will have the following tips: QuotaExceededError: Failed to execute 'setItem' on 'Storage': Setting the value of 'gun/' exceeded the quota. Consider using GUN's IndexedDB plugin for RAD for more storage space, https://gun.eco/docs/RAD#install
[D] skyfall: @isbincApps <@!636489182214357002> would be able to help you with decentralized push notifications
[D] skyfall: <@!731834120887468073> vue-gun is really old not maintained I would suggest using pure gun

[D] JerryZhang: <@!470186445945176065> Yes I noticed this, so Yesterday I ask the author in GitHub and his replay is : ```Unless there’s a compat change with this library and Gun, you should be able to use whatever version of Gun you want. Simply pass your gun instance into the constructor.

The package declaration for the Gun dep declares “*”, so npm/yarn should pick up whatever version you already have installed on your project or the latest version.```

gunchatbridge
@gunchatbridge
[D] skyfall: oh then have you imported the files necessary for indexdb to work
[D] skyfall: and also are you using peers that have storage built in them or running a peer locally
[D] JerryZhang: Since I'm not using the pure GUN, I'm not sure how to import it.... I think I can ask the author of vue-gun about how.
[D] JerryZhang: I run my GUN peer in server
[D] skyfall: try importing these where you are init gun import 'gun/lib/rindexed' import 'gun/lib/radix' import 'gun/lib/radisk'
[D] skyfall: <@!731834120887468073> so is your relay peer running locally
[D] JerryZhang: OK I will try it and I will run a relay peer locally
gunchatbridge
@gunchatbridge
[D] JerryZhang: <@!470186445945176065> thankyou, I succeed upload a file larger than 5M and disable localStorage
gunchatbridge
@gunchatbridge
[D] skyfall: nah no problem mate
[D] dschol:
[D] Dyno: Welcome <@733524279072653363>!!! GUN (https://github.com/amark/gun) is a P2P protocol for syncing data used by 8M+ people monthly across Internet Archive, HackerNoon, DTube (decentralized youtube), Notabug (p2p reddit), & more. Please try the 5min tutorial (https://gun.eco/docs/Todo-Dapp) to get started!
gunchatbridge
@gunchatbridge
[D] 阳铠行:
[D] Dyno: Welcome <@733547398885933087>!!! GUN (https://github.com/amark/gun) is a P2P protocol for syncing data used by 8M+ people monthly across Internet Archive, HackerNoon, DTube (decentralized youtube), Notabug (p2p reddit), & more. Please try the 5min tutorial (https://gun.eco/docs/Todo-Dapp) to get started!
gunchatbridge
@gunchatbridge
[D] skyfall: <@!733547398885933087> welcome to the community, feel free to ask any question you have about gun
gunchatbridge
@gunchatbridge
[D] sirpy: <@!94026508217090048> i've noticed you need to also add "rfs:false" to use s3
gunchatbridge
@gunchatbridge
[D] adam-ai: <@!470186445945176065> in the near term my team and I are looking at utilising GUNdb as a graph datawarehouse for our AI as a Service app. Once we are comfortable with GUNdb we will begin working on distributed AI algos. One of the user cases of our app is setting up data co-ops for farmers to share and benefit from combined data. I will be looking to develop this into a distributed AI to help small-holder farmers living in poverty level up their farming -> a 10% increase in regional farm output can reduce regional poverty by 5%. There are 500 million small-holder farms worldwide providing food for 80% of the global population and supporting over 1 billion farmer people who live in poverty. In Australia data-driven decision making has proven to boost broadacre farm yield by 10% and our farms are very sophisticated/efficient. So I feel this is not only a worthy cause but a very promising one also.
gunchatbridge
@gunchatbridge
[D] skyfall: I am really interested in distributed AI and would love to learn from you guys <@!674252123168440330>
[D] adam-ai: <@!470186445945176065> happy to collaborate
gunchatbridge
@gunchatbridge
[D] sirpy: <@!327202141552771072> which version of 2020 are you using?
[D] JamesRez: <@491228220520136704> looks like I’m using the master branch of the github. Not sure if this is much different than 2020.520 or not.
gunchatbridge
@gunchatbridge
[D] sirpy: <@!327202141552771072> are you facing any issues currently?
gunchatbridge
@gunchatbridge
[D] blevvys: hey, im currently getting this gun.js:2417 WebSocket connection to 'ws://localhost:8765/gun' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
[D] blevvys: thx for the help
gunchatbridge
@gunchatbridge
[D] Mark Howe: > <@!725671138742763530> [...] I'm middle of fixing this with a custom CPU scheduler and JSON parse module, but have to rewrite every for loop in GUN to use this new scheduler to prevent these hiccups. So if you're willing to hold on [...]
<@!178314946201780224> Many thanks for looking into this. Is there an issue I could track, to know when it would make sense to try again?
gunchatbridge
@gunchatbridge
[D] JerryZhang: I realize that If I want to sync or upload a file larger(more than 50Mb), it's very easy to cause Crash in GUN, I think I have to split it into several mini file to upload it.... SO this is a base phenomenon of GUN or I make some mistake? I just use base64 Coding whatever file it uploads 😅 this.$gun.get('myfiles').get(item.name).put(code) and decode it locally......
[D] JerryZhang: I try to upload a file about 100Mb, and it CRASH ...
gunchatbridge
@gunchatbridge
[D] Heisenberg: Hi <@!178314946201780224> Sorry for my late response, I've been away! Trying to catch up with the progress made and topics discussed. So with respect to my original questions and whether I was satisfied with the replies I received from the community, I would still prefer them getting answered by you 😉 as I believe they're pretty fundamental to the concept of GUN. I will paste the two questions below:
**1.** If you want to build a forum, and any user can post to the forum, but you don't want any of the data to be public in GUN how would you go about storing it?

Like you want to be able to let users query their own posts but also want to be able to return all posts to someone just browsing, and users should only be able to edit their own posts, and only the application itself should be able to read ALL the posts.
Based on the security stuff earlier mentioned, I actually think this could lead to some pretty bad vulnerabilities. In order to associate all the posts belonging to a specific forum you would have to store that association, but if so that means that any peer who can write to the forum would have to be able to know the id/key of the forum to add or remove from it, so theoretically you could just overwrite the whole thing, unless the server has some protections against that. And even if the server has protections, someone could insert a malicious server that could find the key of the forum and remove it or alter the data.

Recapulating, like I just want to know how you would go about having shared data that can only be readable by the application where pieces of it can only be editable by individual users.

**2.** How do you prevent a malicious peer/server from removing or editing stored data by replacing the reference. My impression of GUN based on the docs is that it is great if you want to store data specific to individual users, but building a shared state that is private that the app can read I really don't understand how that can be done.
gunchatbridge
@gunchatbridge
[D] Dletta: <@731834120887468073> Gun isn’t necessarily optimized for big files. I recommend chunking and slowly populating the chunks
gunchatbridge
@gunchatbridge
[D] Capitalist Dog: Galaxy brain move is to use gun to exchange torrent magnets
gunchatbridge
@gunchatbridge
[D] RandomAnalyticsGuy: What keeps content addressing from being vulnerable to a 50% attack?
OpenCo
@opencoca
Heya folks. The demo doesn't seem to be running the gun.on('auth', function() once a user logins in.
OpenCo
@opencoca
99 percentlies
@99percentlies_gitlab
Hello Wonderful People. I have a small query. I noticed that user.trust() api is broken/ not working with the current gun release (0.2020.520). I'm wondering if there is any workaround to replicate this functionality ? i.e to give write access to a private user's graph. thanks in advance
Darren Hunter
@darrenahunter
Hi - is there anything specific that is required to have a Gun websocket resume connection say post a timeout or a user closing the lid on a laptop and reopening
I dont see the session reestablish
Mark Nadal
@amark
@isbincApps @opencoca @99percentlies_gitlab @darrenahunter oh no! gitter <-> discord bridge broken? I definitely don't want to miss you all!!! :fire: :zap: :tada: :fire: :zap: :tada: :fire: :zap: :tada: WELCOME WELCOME WELCOME!!! <3 :)
I think 520 broke the Todo Tutorial :( extremely embarrassing and I need to get that fixed. If you launch a local peer or your own peer I think it should work tho. Thank you for reporting.
A couple people have built their own user.trust( alternatives with SEA directly ( https://gun.eco/docs/SEA ) , they're mostly on discord now tho so would you mind joining there & I'll tag them for you?
Hm, this has to do with connections retrying for 2 minutes before "giving up", I guess that happens when laptop closes too, so when it opens it doesn't retry - which is bad, is there a Browser event to detect laptop having been reopened? Maybe I need to add code that checks "last awake" and assume "reopen" event if longer than X min or something. Anybody have better idea?
and then automatically start retrying connections
Darren Hunter
@darrenahunter
will move to discord thanks
Rajat
@cuterajat26_gitlab
Hi everyone, help needed to solve this error on the server side - error:10067066:elliptic curve routines:ec_GFp_simple_oct2point:invalid encoding