Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Feb 25 20:34

    amark on manhattan

    must be defined undefined (compare)

  • Feb 25 20:29

    amark on manhattan

    put debug (dbg) (compare)

  • Feb 25 11:32

    amark on manhattan

    undo temporary test file serve stats DO NOT PUBLISH! ECHO TEST. (compare)

  • Feb 22 07:33

    amark on manhattan

    fix large records saving to RAD TEMPORARY test (compare)

  • Feb 22 03:46

    amark on manhattan

    woops, what? (compare)

  • Feb 22 00:41

    amark on manhattan

    -log +stat, not gets or dbg yet… (compare)

  • Feb 19 19:47

    amark on manhattan

    fix .pub on account check (compare)

  • Feb 19 12:38
    jussiry opened #906
  • Feb 18 20:25
    Dletta commented #784
  • Feb 18 20:21
    rumkin commented #784
  • Feb 17 20:39

    amark on manhattan

    3rd rewrite, have batched acks. (compare)

  • Feb 17 20:18
    rumkin commented #784
  • Feb 17 20:18
    rumkin commented #784
  • Feb 17 20:18
    rumkin commented #784
  • Feb 17 20:17
    rumkin commented #784
  • Feb 17 19:25
    Dletta commented #784
  • Feb 17 19:20
    rumkin commented #784
  • Feb 17 19:06
    Dletta commented #784
  • Feb 17 15:01
    rumkin commented #784
  • Feb 14 03:40
    robhicks edited #905
gunchatbridge
@gunchatbridge
[D] jabis: @danlugo, 'undefinedk.....' so you probably passed something undefined for SEA.sign/verify/where-ever 🙂
[D] danlugo92: still inspecting logs. I think I passed undefined to SEA.decrypt()
[D] danlugo92: (as the 2nd argument)
Alex Zanfir
@AlexZan
I need a sort of middleware to check before the write on the recieving clients, which is why the CRDT solution is the only thing i can think of for now
gunchatbridge
@gunchatbridge
[D] danlugo92: still not sure if my fault but looks like SEA returned an empty string from secret(), usually when it does fail it returns undefined, not an empty string.
gunchatbridge
@gunchatbridge

[D] danlugo92: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object. at Function.from (/home/daniel/workspace/api/node_modules/gun/sea.js:103:17) at Object.SEA.opt.fall_verify (/home/daniel/workspace/api/node_modules/gun/sea.js:488:27) at async Object.SEA.verify (/home/daniel/workspace/api/node_modules/gun/sea.js:451:18) NO! Unverified data. { '~FKnpLyAtFDkVuiOaiYA3fR9xh3lNBylycsIrcliGXB4._M4Hxhj3fp6QEiwskCcCoJBYNW8BB8qtsjNS2awulUY': { _: { '#': '~FKnpLyAtFDkVuiOaiYA3fR9xh3lNBylycsIrcliGXB4._M4Hxhj3fp6QEiwskCcCoJBYNW8BB8qtsjNS2awulUY', '>': [Object] }, lastSeenApp: 1582660735239 } }

I don't call SEA.from() directly anywhere?

gunchatbridge
@gunchatbridge
[D] sirpy: <@!178314946201780224> still suffering from the .get bugs, would love to have debug session
[D] circles: relevant to p2p uber <@!178314946201780224> https://www.youtube.com/watch?v=Nnh5TQ60hek

[D] jabis: <@!447932418477916160>

First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.
    at Function.from (/home/daniel/workspace/api/node_modules/gun/sea.js:103:17)
    at Object.SEA.opt.fall_verify (/home/daniel/workspace/api/node_modules/gun/sea.js:488:27)
    at async Object.SEA.verify

SEA.verify you're passing something other than, string. Buffer, ArrayBuffer, Array...

[D] jabis: maybe that undefined of yours
[D] danlugo92: I only use SEA.secret, decrypt and encrypt
[D] danlugo92: And I have my own methods that check that the values are populated strings before passing them to actual SEA
[D] jabis: yes where secret, decrypt and encrypt would pass it down to verify
gunchatbridge
@gunchatbridge
[D] jabis: that error you pasted clearly showed that stringified id had undefined in it
[D] danlugo92: ok
[D] danlugo92: so I just checked and I don't do the parameters check for encrypt
[D] danlugo92: (for secret at least)
[D] danlugo92: will probably catch it now, thanks
[D] jabis: thus somewhere you passed on along illegal stuff to SEA which won't throw by default, it just compounds to next and next and next if you don't catch 'em yourself
[D] jabis: perhaps SEA.throw = true; before instantiation would reveal more exactly where, also you can check SEA.err for last error - prolly the same as in that stack
[D] jabis: also that unverified data could come from that failed write attempt and be stuck on your localstorage write "queue", so clearing localStorage gun/ and reloading could clear it if it's a repeating error
gunchatbridge
@gunchatbridge
[D] danlugo92: TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object. at Function.from (/home/daniel/workspace/api/node_modules/gun/sea.js:103:17) at Object.SEA.opt.fall_verify (/home/daniel/workspace/api/node_modules/gun/sea.js:488:27) at async Object.SEA.verify (/home/daniel/workspace/api/node_modules/gun/sea.js:451:18) (node:20733) UnhandledPromiseRejectionWarning: TypeError: First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object. at Function.from (/home/daniel/workspace/api/node_modules/gun/sea.js:103:17) at Object.SEA.opt.fall_verify (/home/daniel/workspace/api/node_modules/gun/sea.js:488:27) at async Object.SEA.verify (/home/daniel/workspace/api/node_modules/gun/sea.js:451:18) (node:20733) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
[D] jabis: well there you go, add .catch's to your await SEA.* and abort going forward if you run into an error 🙂
[D] danlugo92: Yeah I did enable SEA.throw, but that trace doesnt trace back to my own code, I roughly know where it's happening (gun.user(publickey).get(foo).get(bar).load(...))
gunchatbridge
@gunchatbridge
[D] jabis: well the error comes from a .put operation where you have no right to do so, and after that your listeners will be defunct
[D] jabis: ~FKnpLyAtFDkVuiOaiYA3fR9xh3lNBylycsIrcliGXB4._M4Hxhj3fp6QEiwskCcCoJBYNW8BB8qtsjNS2awulUY is a public key (aka user-space) path where you will need it's keypair.priv to write to - and if you're logged onto another user your .put would be signed by your user, not the other keypair user, resulting in an error too
gunchatbridge
@gunchatbridge
[D] sirpy: <@!178314946201780224> watching your freeism talk, regarding value, economists actually do go and ask people how much they value things when there's not market value existing, the problem with asking, is that a person doesnt have all the information to answer this. How much does someone value the park near his house? he might give a number, but than you can ask and what about the birds in the park? the o2 the trees produce and so on, its simply impossible for a person to answer that or be aware of all the components or the future costs of effects caused by removing the park.
regarding identity checkout BrightID its also a web of trust based identity solution
I didnt understand how would giving prices in ratios work, ratio relative to what?
gunchatbridge
@gunchatbridge
[D] sirpy: <@!178314946201780224> also i have to comment that your "socialist" friends are not really socialists. they are more like "social-democrats"=capitalism has its flaws, like inequality, so lets put some measures by the government to take from the rich and redistribute and they rationalize it by saying "he doesnt value each dollar as much"
true socialists are more about creating a system that doesnt have the flaws of capitalism to begin with, for example kibutzim/worker co-ops, distribute the income equally to begin with, so you dont need to take anything from the rich
[D] sirpy: but that's understandable as socialism was a tabu in the US in the past 50 years, so people dont really know what it is.
[D] sirpy: please recommend to your socialists friends to watch Prof Richard Wolff Economic Update excellent show on youtube
[D] sirpy: social democards are capitalists they just acknowledged it has issues and they need to be addressed by society=government
gunchatbridge
@gunchatbridge
[D] circles: <@!491228220520136704> you should post it in <#621574835448840192>
Alex Zanfir
@AlexZan
anyone know how i would add a tag to an existing item that already has another tag, using: https://github.com/Stefdv/gun-tag ?
gunchatbridge
@gunchatbridge
[D] marknadal: <@!648558515463651338> nice! :D
<@!280426612900757504> cool! 👏
@kalabhairavar <@!341438665790193666> WELCOME WELCOME WELCOME TO THE COMMUNITY!!!!! ⭐ 🎉 🤗 🎉 🤗 🎉 ⭐ !!! How'd you hear about us? 🙂 🙂 :)
<@!203666215502217216> holy cow, that tweet thread DEFINITELY proved not pre-fab stuff, I'm considering (and I don't buy ANYTHING other than food) buying a PS4 for this.
@godwwinpeace22 ( <@!643725783021649926> (?)) IndexedDB has had bad support, tho recently in the manhattan branch I've been improving performance significantly. 10sec is terrible, I apologize for that! I'm gonna try to get manhattan published to master/npm within the month or so, but you can try manually (altho note: currently it breaks your data, so if you're OK with that, give it a try, but warning!!).
@AlexZan ... did you get help?
<@!159175656083554304> <@!470186445945176065> it does not look open source? That is sad 😦
[D] marknadal: <@!535370860521979914> some of your API examples are slightly off, for instance, can't gun.get('top-level').put(gunRef) you probably mean .set(gunRef)? Same thing with, don't think you can .get(gunRef)
<@!447932418477916160> those logs were for debugging why current version of RAD incorrectly saves data to wrong files, accidentally got left on, the manhattan branch significantly fixes most of these things (however currently breaks data, getting that fixed) and hopefully merged within month or so. Or maybe you switched to manhattan and it broke your data already? Or <@!621087760496853023> maybe you know?
It is actually possibly maybe sorta kinda starting to look stable with HackerNoon 😛 tho (3.3K concurrent peers connected right now, $0 hardware, saving data on every page load) the next site up has 18K concurrent connected peers, and GUN bugging out - will be fixing that too.
<@!648558515463651338> <@!535370860521979914> nice sounding progress 🙂 !
<@!491228220520136704> <@!447932418477916160> <@!621087760496853023> yes, me too, would love to do a debug session, I'm getting pretty close to having manhattan out, possibly do it then? else any fix would be stale when manhattan becomes master.
<@!203666215502217216> click
<@!491228220520136704> this will be fun discussion to continue 😄 😄 :D
Yo <@!635601430413049859> see @AlexZan (?)
[D] marknadal: lol... 20K+ concurrent peers online right now, that is crazy, you all! Think about that!
Kicking my butt to fix all these bugs I have 🤞 will have all these branched updates to master/npm hopefully soon for you all.
I know many of you are depending on it! I'm working hard!
Alex Zanfir
@AlexZan
@amark not yet no, still uncertain how to do this. For now I am just implementing a requesting client check, and ill try to figure out how to check on the reciving client afterwards with some middleware, I am guessing CRDT
gunchatbridge
@gunchatbridge
[D] circles: > and I don't buy ANYTHING other than food
Same 😆 (something about Jack Dorsey neo-monastics lol)
gunchatbridge
@gunchatbridge
[D] circles: !! Archive has used GUN before. Brave now using Archive. Through the transitive properties, Brave may as well collaborate with ERA in the near future <@!178314946201780224> https://blog.archive.org/2020/02/25/brave-browser-and-the-wayback-machine-working-together-to-help-make-the-web-more-useful-and-reliable/
gunchatbridge
@gunchatbridge

[D] Kakolukia: > <@!178314946201780224> Thank you for your response.

So, basicly there's no way to set a whole node containing data to null, one can only null the text data "inside" the node and mark it as dead in some custom way?
Could someone please tell me: Is there some way (or convention) for thombstoning a (root) node? Thanks!

gunchatbridge
@gunchatbridge
[D] buin2009:
[D] Dyno: Welcome <@682015664528949259>!!! 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] unplugged:
[D] Dyno: Welcome <@446826069614395412>!!! 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] rogowski: Guys. Changing the version from master tomanhattan can damage your old data!

So far I have realized that there is a problem with serialization. Either RAD input or output. I tried, but I didn't know how to fix. If someone wants try to find the spot ...

See the difference between the rad files for each version. The data in the files are the result of creating a user test with the passwordtest.

[D] rogowski: An this the manhattan data.
gunchatbridge
@gunchatbridge
[D] rogowski: So, when change the version, somenthing like this is happening:
/// old data loaded from master format, after manhattan unserialize/serialize
":": "{\":\":{\"ek\":{\"ct\":\"3r4h5AyaOF9LG

/// new generated user - only manhattan
":": "{\":\":\"{\\\"ek\\\":{\\\"ct\\\":\\\"vew0Olmoe8PGI
gunchatbridge
@gunchatbridge
[D] rogowski:
gunchatbridge
@gunchatbridge
[D] huhsame: sdf
gunchatbridge
@gunchatbridge
[D] huhsame: Hello all and <@!178314946201780224> . I need a help about how to use gun instance on server side. please, check this stackoverflow question. https://stackoverflow.com/questions/60408502/how-to-put-data-in-gundb-at-server-side-as-a-peer