Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 15 01:41

    amark on manhattan

    yeah, adapter errors (like out … git glitch? (compare)

  • May 14 17:24
    capitalistdog commented #1073
  • May 13 14:15
    capitalistdog commented #1073
  • May 13 14:14
    capitalistdog commented #1073
  • May 13 14:14
    capitalistdog commented #1073
  • May 12 20:21
    garbados opened #1074
  • May 11 02:48

    amark on manhattan

    yield generating test data (compare)

  • May 11 01:23

    amark on manhattan

    merge new panic tests into here… add panic utils fix long streaming timeout/expi… (compare)

  • May 10 19:36

    amark on master

    Update README.md (compare)

  • May 10 16:39
    capitalistdog commented #1073
  • May 10 02:53
    amark closed #1071
  • May 10 02:53
    amark commented #1071
  • May 10 02:53
    amark commented #1073
  • May 08 20:49
    capitalistdog edited #1073
  • May 08 20:48
    capitalistdog edited #1073
  • May 08 20:47
    capitalistdog edited #1073
  • May 08 20:46
    capitalistdog opened #1073
  • May 06 07:40

    amark on master

    version bump (compare)

  • May 01 23:33
    nsreed commented #1005
  • May 01 23:30
    nsreed closed #1072
Mark Nadal
@amark
@aniquetahir yeah :/ once I get the new version of GUN out I'm hoping to focus on finishing the DHT so all the relay peers will automatically rotate to improve its decentralizedness
COVID-19
@Gillcovid19
Hi I am covid-19, I want to ask a question, will you answer me?
Mark Nadal
@amark
@Gillcovid19 as in you are sick? Or (?)
Anique
@aniquetahir
@amark given an ip address for a signalling server, a browser node can connect to it to find peers. Whats stopping the browser from looking up signalling nodes from random ips just like in torrents(Chord/DHT)?
just need to find one signalling server and youre connected to the network
COVID-19
@Gillcovid19
Don’t you know, what program is GUN?
You are so interesting, don’t you have an IP address yourself? I open it to you. What permissions do you have to use IP addresses, and the third-party charging system will not be used by anyone. In the past, hackers used to create imitation programs to launder money. Now It’s no longer possible to use it. My company will naturally go to Github to talk about it, and if it is, they will definitely give it to you. If you don’t respond, just wait.
fgutica
@fgutica
Messing around with gun and I'm just wondering if a system is built using gun, what's stopping a malicious user from connecting to a relay peer and flooding some 'table' that others are subscribed to with junk data essentially performing a ddos. Is there any way to allow only certain clients to connect? Is there a way to do it just with SEA authentication, rather than with the token method seen in the restrict examples?
Anique
@aniquetahir
@fgutica some proof of work/stake can be implemented on top to prevent this. Proof of stake can be as simple as reputation of ip addresses stored in peers.
Mark Nadal
@amark
@aniquetahir because of "NAT traversal" 😕
@fgutica yes you can restrict writes. But I think it is better to have open systems and I'm working to scale things even more. PoW is a good idea too!
If you can, everyone moved to discord http://chat.gun.eco
fgutica
@fgutica
@amark I want whatever I'm building to be as open as possible but just thinking of what strategies can be leveraged to prevent things such as ddos attacks, brute forcing and spamming in general that can be detrimental to end user's experience. How could PoW be leveraged in this type of system?
fgutica
@fgutica
on the relay/signaling nodes is where this PoW would be implemented before any put happens?
Lexi
@Lexi:matrix.org
[m]
Hello! Is anyone working on the Web Ontology Language (OWL) for GUNDB? Or something similar?
Mark Nadal
@amark
@fgutica <3 <3 great, then I highly recommend rolling with the defaults and then as/if the gun network encounters any problems, let me/us address it at the protocol layer instead. Or are you offering to help contribute to protocol stuff now? :)
@Lexi:matrix.org helllloooo! You'd probably enjoy @dletta 's graph viewer as it visualizes just how easy it is or would be to set up whatever ontologies you want. :) Much easier in GUN than other systems, thanks to graphs!
1 reply
Lexi
@Lexi:matrix.org
[m]
Similar to how wikidata.org works
Koji Saruya
@koji117

Hi, I am very new to Gun and hoping to get some useful advice for my issue.

I am getting QuotaExceededError when I add data with more than 10mb and I assume this is because Gun uses localstorage.

However, in my understanding, Gun uses indexdb which can accomodate much more than 10mb. So I explicitly disable localstorage with

const gunDB = Gun({
    localStorage: false
 })

Now, I am getting multiple error messages below

{
  "err": "Error: No ACK yet.",
  "lack": true
}

Am I missing some module that is required by indexdb plugin? My import statement is like below.

import Gun from 'gun'
import 'gun/sea.js'
import 'gun/lib/radix.js'
import 'gun/lib/radisk.js'
import 'gun/lib/store.js'
import 'gun/lib/rindexed.js'

Could somebody pinpoint what I am doing wrong?

Mark Nadal
@amark
@Lexi:matrix.org didyou get it started? :)
@koji117 it should "just work" after that, tho I've only done it with script tags, but hopefully that isn't the issue. SOrry for delay, gone over the weekend. Willing to join the discord? Everyone went there :P even tho I liked gitter. http://chat.gun.eco
Jamie Skinner
@chalupagrande
Hi all,
I'm new here. Just looking into Gun, and it seems really powerful.
Quick question: It says that Gun would not be good for a banking solution, but what about just basic payment processing. Is there a way to link into something like stripe? or plaid? that would take care of the banking aspect?
Lexi
@Lexi:matrix.org
[m]
@amark: Hey Mark, thanks for getting back at me! Is there a way to make the visualGraph work locally without a server?
Mark Nadal
@amark
@chalupagrande @Lexi:matrix.org oh no no no!! Gitter didn't notify me of your message till just now. I'm so sorry, most people moved to discord (there is suppose to be a bot that bridges the two, but it seems broken), please check out http://chat.gun.eco if you can.
Hmm, I'd say it is fine if you are referencing banking transactions, but not using it to handle banking transactions (why? Cause GUN is "AP" of the "CAP Theorem" http://gun.eco/docs/CAP-Theorem , it will give you cached responses if you're offline rather than erroring and telling you are offline and it can't look up your global bank balance)
visualGraph should already! Just point it to your localhost? Ping @dletta or mayb eopen a github issue for him to see.
Lexi
@Lexi:matrix.org
[m]
But I need to run something on localhost, right? I hoped it would be possible with in browser Javascript only @amark
Thanks
Mark Nadal
@amark
@Lexi:matrix.org it look slike you can use any peer, so no need to run your own.
did you try using it with just an empty peer / no peer?
Lexi
@Lexi:matrix.org
[m]
No, just assumed it wouldn't be possible :-) Will try!
Mark Nadal
@amark
:thumbsup:
metehan
@metehan
I moved to discord
bye
Mark Nadal
@amark
:clap:
eleitl
@eleitl:matrix.org
[m]
Howdy. When trying sudo docker run --name=nab-mirror -p 3333:3333 notabug/nab --evict --lmdb --pistol --peer https://notabug.io/gun --render
I'm running into the following issue:

ca7202bf294b: Pull complete
Digest: sha256:f0f67072fa4a72c7ce2923c08582eb08d5846258ce1d23f739fa4349d82cf91c
Status: Downloaded newer image for notabug/nab:latest
---START---
Hello wonderful person! :) Thanks for using GUN, feel free to ask for help on https://gitter.im/amark/gun and ask StackOverflow questions tagged with 'gun'!
/notabug/server-build/index.js:116
throw error;
^

ReferenceError: navigator is not defined
at Object.parcelRequire.raSv../hooks (/notabug/server-build/index.js:5710:19)
at newRequire (/notabug/server-build/index.js:47:24)
at localRequire (/notabug/server-build/index.js:53:14)
at Object.parcelRequire.r56j../hooks (/notabug/server-build/index.js:5833:28)
at newRequire (/notabug/server-build/index.js:47:24)
at localRequire (/notabug/server-build/index.js:53:14)
at Object.parcelRequire.V7B4./Auth (/notabug/server-build/index.js:7531:15)
at newRequire (/notabug/server-build/index.js:47:24)
at localRequire (/notabug/server-build/index.js:53:14)
at Object.parcelRequire.Qlyb./NabContext (/notabug/server-build/index.js:8277:16)

Web_developer
@DannyRome524
Hi Everyone.
I am new to GunDB and I tried chat app with https://github.com/gundb/gatling
But unfortunately, it doesn't work quite well. I fixed some bugs(like use 'gun':amark/gun#dev instead of 'gun':amark/gun#develop in package.json/dependencies), but there are more and more issues to run perfectly.
Does anyone have whole completed project with it?
Lexi
@Lexi:matrix.org
[m]
Hello! I'm interested in GUNDB as well, but have not started working with it yet. What does Gatling do/what is it for?
eleitl
@eleitl:matrix.org
[m]
It seems this channel is not being monitored very well. I would check out the official Discord.
cliffchristianson
@cliffchristianson
Yes, things have moved to discord, I know D3x0r has implemented gundb in his sack.vfs framework, I'm sure there are hundreds of others
Mark Nadal
@amark
@eleitl:matrix.org @DannyRome524 @Lexi:matrix.org @eleitl:matrix.org @cliffchristianson HEY HEY HEY :) :) :) :) so sorry I must have missed this, everyone in the community moved to Discord ( http://chat.gun.eco ) and the bot/bridge seems down. I liked gitter, but... community matters. Please move there if you can!
@eleitl:matrix.org navigator sounds like Browser, so maybe you're running the frontend code not the backend?
@DannyRome524 oh good :) I think you found the discord, and hopefully liking Iris so far?
@Lexi:matrix.org :wave: :wave: :wave: hiiii! :)
@eleitl:matrix.org yes thanks for the reminder to everyone.
@cliffchristianson and thank you! Please all do ping me on discord so I know your names, I'd love to hear your backgrounds/story and what you'r etrying to build!
Vladimir Myshkovski
@vladimirmyshkovski

Hi everyone!

I am trying to make data available only to record using the following algorithm:

1) I write data to the user graph.

var post  = {
    title: 'someTitle',
    text: 'Hello, World!'
}
gun.user().get('posts').get('1').put(post);

2) Write the same data to the public graph:

gun.user().get('posts').get('1').put(post).once(function(data, id) {
    gun.get('posts').get('1').put(this)
});

But, after that, I can rewrite this post by another user:

gun.get('posts').get('1').get('title').put('otherTitle');

What's wrong?
How I can store read only data in public graph?

Mark Nadal
@amark
@vladimirmyshkovski just seeing this, I noticed you already switched over to http://chat.gun.eco discord?