Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Oct 11 12:38
    mmalmi commented #748
  • Oct 09 01:56
    LiamKarlMitchell commented #787
  • Oct 08 17:41
    mboperator commented #692
  • Oct 08 09:12
    TheBolliwood commented #827
  • Oct 06 14:10
    sirpy commented #814
  • Oct 04 18:58
    mmalmi synchronize #760
  • Oct 03 00:12
    JamieRez opened #827
  • Oct 02 06:37

    mmalmi on 0.2019.930

    (compare)

  • Oct 01 20:54
    JamieRez closed #821
  • Oct 01 06:32
    rm-rf-etc commented #824
  • Oct 01 06:32
    rm-rf-etc commented #824
  • Oct 01 06:32
    rm-rf-etc commented #824
  • Oct 01 06:10
    rm-rf-etc commented #824
  • Oct 01 06:09
    rm-rf-etc commented #824
  • Sep 30 21:27

    amark on master

    drop chat example until DOM bug… (compare)

  • Sep 30 21:06

    amark on master

    unbuild & delete plugins changi… (compare)

  • Sep 30 20:36

    amark on master

    update panic test Merge branch 'master' of http:/… (compare)

  • Sep 30 20:06
    amark commented #823
  • Sep 30 18:29

    amark on master

    Added better error handling int… Merge pull request #825 from Dl… (compare)

  • Sep 30 18:29
    amark closed #825
Mark Nadal
@amark
@sirpy seems like mid mornings (CA time) for me would match with you. @Lightnet (?)
Rob
@rm-rf-etc

@sirpy it seems like the others all want Friday and don't want to do weekend days. @amark, @Dletta, @QVDev, @rogowski, correct?

@mhelander would you be able to join our meeting for .grant and .trust functionality?

I prefer weekend days but I can make certain times on Friday work.
sirpy
@sirpy
fridays I can only do mornings here. which is middle of the night in the US
Mark Nadal
@amark
Thursdays 10am or 11am CA time?
Rob
@rm-rf-etc
I won't be available but someone else can record
Jachen Duschletta
@Dletta
I work a 7 to 4 schedule PST but Fridays work, Weekend is family time, I could make something work... Worst case, if it’s recorded I might not need to be there, but I can scroll up and gove baseline
Mark Nadal
@amark

EVERYONE SUBMIT TIMES THAT DO WORK DON'T WORK

Rob
@rm-rf-etc
to where?
You need a shared calendar
Mark Nadal
@amark
figured just faster easier here
I did build an (ugly) calendar app tho
Daniel Lugo
@danlugo92
Hey guys. user.pair() raises a deprecation warning. What whould I be using instead? I'm doing this and it's working great:
    // runs in browser A
    const s2 = async bobEpub => {
      const alice = user.pair();

      if (typeof user.is !== "object") {
        throw new TypeError("user.is not an object");
      }

      if (typeof bobEpub !== "string") {
        throw new TypeError("bobEpub is not an string");
      }

      const sec = await SEA.secret(bobEpub, alice);
      const enc = await SEA.encrypt("secret message", sec);

      console.log(enc);
    };

    // runs in browser B
    const s3 = async (encodedMsg, aliceEpub) => {
      const bob = user.pair();
      const sec = await SEA.secret(aliceEpub, bob);
      const msg = await SEA.decrypt(encodedMsg, sec);

      console.log(msg); // "secret message"
    };
Daniel Lugo
@danlugo92
sorry about offtopic
Mark Nadal
@amark
@danlugo92 not off topic! :) this is exactly what chat room is for :)
I know it looks ugly, but user._.sea
this is intentional, because your keypair may not always be available in the JS app, because the goal of SEA is that it might be running all cryptographic operations in a browser extension, secure enclave, or hardware wallet.
Daniel Lugo
@danlugo92
Thanks a lot. It should go without saying that user._.sea is super sensitive info right?
(crypto newbie here)
Mark Nadal
@amark
@danlugo92 yes!
@rm-rf-etc that didn't do anything :/
Rob
@rm-rf-etc
@amark what happens?
Mark Nadal
@amark
it added something but nothing happens/shows
Daniel Lugo
@danlugo92
@amark thanks
Rob
@rm-rf-etc
Screenshot 2019-09-17 13.48.15.png
@amark google calendars are not the most intuitive, but this is a public calendar. Tell me if this works for you.
sirpy
@sirpy
@amark @mhelander opened #819 SEA on react-native!
Rob
@rm-rf-etc
I reached out to a local meetup in SF, asking to present. They said the next opening is in March. I'm going to commit to doing it.
Jachen Duschletta
@Dletta
This is for Weir? Cool!!
Rob
@rm-rf-etc
Yes
Jachen Duschletta
@Dletta
Nice 30 minutes, you’ll likely have 5 minutes of setting up the app with weir and gun and then 25 minutes of QA, :P
Rob
@rm-rf-etc
LOL. Hopefully I can get from 0 to live in 10 minutes, but we'll see once I start practicing. I'm actually most worried about losing time on page layout, so I'll probably put some extra practice emphasis on installing of react-bootstrap and doing some basic column layouts
Lightnet
@Lightnet
@amark canada bc time >.>;; 9am to 9pm >.>;;
been working on R&D for which rust lang package for testing gunjs build which took longer and might need to read how the code work correctly XD.
Jachen Duschletta
@Dletta
@TensorTom Mark calls it functional programming
Rob
@rm-rf-etc

Hmm... the problem with trying to let developers drive changes in a bucket from another bucket, is the potential to create event loops. It would be great if the framework would provide a solution to detect these before run-time but that's really hard to do. We could have a system where changes in bucketA sometimes drive bucketB, and bucketB sometimes drives bucketA, and there's no event loop. Like this: bucketA.state.a -> bucketB.state.a, and bucketB.state.b -> bucketA.state.b, and this would be okay, but we wouldn't be able to know which properties will be changed by which reducers. Even if we try to parse the reducer logic, it could have conditions, like

if (thing) {
  return { propA: false };
} else {
  return { propB: false };
}

So dependent on thing, we either change propA or we change propB. I think there's no way to evaluate the results other than fuzzing, and that's hard.

I think redux / flux address this by requiring only 1 store, which I think will be the right direction. That would mean we can only have 1 bucket, which means buckets will need support for multiple data structures somehow.

oi.

Rob
@rm-rf-etc
React, on the other hand, sometimes gets into cyclical loops, and they handle it by just detecting when it happens and throwing an error.
Jachen Duschletta
@Dletta
@rm-rf-etc What if you create a 'shared bucket' that has 2 different buckets underneath. The shared bucket could reference items from both buckets so you can treat them as one bucket from the front end, but in the backend they are still different buckets for intents and purposes of datastructure?
mimiza
@mimiza
@amark congratulations! gun does not depend on node-webcrypto-ossl any more! yahoooo
mimiza
@mimiza
I think if gun allows developers to create custom space (just like ~@) with their own custom keys (~#, %$ etc...) and rules, its gonna be awesome. For example: I would like to create a ~wallet$ space where only some special pub keys can write in (using sea sign/verify) or the "owner" of the token (based on the last receipt of the blockchain) can create a new "block". Then we can create a wallet.
Mika
@mhelander
@rm-rf-etc @amark sorry for being quiet... I can try to join, would prefer outside office hours if possible.
Mika
@mhelander
@sirpy I've made some comments, mostly cosmetic and/or coding style.
mimiza
@mimiza
var a = {}, b = {}
a.b = b
b.a = a
console.log(a)
Hey guys, this code generates an infinite object (just like gun). But I wonder if it consumes device resources!?
Robin Bron
@finwo
Hi mimiza, this fully depends on the javascript engine you're running on. All that I know register a reference to the same memory-block on the objects, so no more resources are used than any other assignment.
Cale
@trosel

Here's a thought: What if we started going around to various self-hostable, open-source apps and just started submitting PRs where the user logins are replaced with SEA instead of their existing centralized database logins lol

Make a best practices guide for swapping user logins to SEA and do it guerrilla style lol

narnikgamarnik
@narnikgamarnikus
Is there a way to use a gun similar to, for example, peerjs, to only transmit data, but not write to them?
Duane Johnson
@canadaduane
@amark neo4j folks are announcing a new graph query language standard, GQL: https://neo4j.com/press-releases/query-language-graph-databases-international-standard/