Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 08:17
    Orimay synchronize #1191
  • 08:11
    Orimay synchronize #1191
  • Jan 19 18:24
    julesl23 opened #1192
  • Jan 16 08:22
    davay42 updated the wiki
  • Jan 16 08:20
    davay42 updated the wiki
  • Jan 16 06:22
    Orimay opened #1191
  • Jan 16 05:22

    amark on master

    Update README.md (#1181) (compare)

  • Jan 16 05:22
    amark closed #1181
  • Jan 16 05:22
    amark commented #1181
  • Jan 15 00:46
    mbround18 commented #404
  • Jan 15 00:39
    mbround18 commented #404
  • Jan 15 00:38
    mbround18 commented #404
  • Jan 15 00:38
    mbround18 commented #404
  • Jan 15 00:38
    mbround18 commented #404
  • Jan 15 00:29
    mbround18 commented #404
  • Jan 14 23:39
    Orimay synchronize #1189
  • Jan 14 23:36
    Orimay synchronize #1189
  • Jan 14 23:35
    Orimay synchronize #1189
  • Jan 14 14:13
    shemeshg edited #1190
  • Jan 14 12:55
    shemeshg opened #1190
Mark Nadal
@amark
I actually don't know how to create zoom links cause I use meething all the time
thanks connor
Martti Malmi
@mmalmi
I’ve used meet.google.com
Mark Nadal
@amark
:+1: if someone is missing zoom let's use meet.google
does everyone have zoom?
Manwë
@Manwe-777
I used it on the web, im ok with either
Mark Nadal
@amark
@Manuel-777 did we lose you? Your next on your DHT
libensveto
@libensveto_twitter
has anyone had success transplanting iris to react native?
Jasper Molgvits
@jaspermolgvits_gitlab
Why do some messages with gun.get('db').map().once() just not arrive? Everything else seems to be working great, but every tenth message seems to get lost (...at SEA?). There's even no error message on any side.
Mark Nadal
@amark
@u007 yes - were you able to copy it into a github issue that we can copy/replicate from? Then let's jump on a call to debug.
@lain:iwakura.xyz :clap: @finwo . Yeah I don't use BigInts, was this peculiarventure/webcrypto polyfill? Browser does not need that, they have the real WebCrypto already.
@Zlynt GUN only syncs data you are subscribed to, not all data, so it works well on mobile.
@fsvieira thanks @jaspermolgvits_gitlab for trying to help out, but yeah, it looks like (I can confirm) its not triggering. That's not good, I have a ton of tests around this, but this is clearly not working. Hmm I wonder why I haven't seen this before, but good catch on both of these (I'm surprise dthe other one isn't axe issue), will you open issue with this as well. I'd like to treat this with higher priority - by chance you have time to get on a call with me and we debug together? Oh wow, you already figured out its an issue with localStorage. Yeah, still definitely a bug, this should work in-memory same as not. That help hint to me that it may be a simple bug with assuming an ack will be received when it won't.
@lain:iwakura.xyz :clap: @Manuel-777 ! And BTW, its easy to make immutable history, just .set( rather than .put( or use frozen space.
@petertjmills :wave: :) https://github.com/brysgo/graphql-gun to save the day! Tho its not upgraded to latest yet, so may need an old version of GUN.
No no no, GUN is tiny, my target is 9KB but with default adapters its like 16KB, which is a fraction of ReactJS or other libraries. Its super tiny, no browser dependencies.
@azdez:matrix.org you can check out the early preview of pagination with https://gun.eco/docs/RAD#lex :) tho may be buggy. Arrays are .set( or you can just stringify the array if you want it atomic.
@aspirational:matrix.org hi! :) you could always cheat and do something like var chain = gun.get('thing'); thing.watch = thing.watch || thing.on(callback).
@nouman22194_twitter :wave: hiiiiiii!! :) :clap: @connor-davis . Tho AXE is pretty buggy right now, so don't have high hopes.
@sammosna hmm I don't think their gitter is @resession ,
@dweorh_twitter .off() is broken in latest, will you screen-call with me to get it fixed? Should only take 20min.
@libensveto_twitter Iris already working in React Native! And with the new fix from @aethiop should be ready to go with latest GUN too.
@jaspermolgvits_gitlab every 10th message? Interesting, the CPU scheduler handles things in chunks of 9. Can you jump on a call with me to show me?
Jasper Molgvits
@jaspermolgvits_gitlab
I'd be happy to call you, I'm about to pull my hair out
How would I go about doing that?
Mark Nadal
@amark
@jaspermolgvits_gitlab oh hey
you still on?
Jasper Molgvits
@jaspermolgvits_gitlab
Yeah
Mark Nadal
@amark
yes we can jump on call just a second....
(do you have twitter tho, to DM? my phone gets beeped there. Pretty much have all notifications for everything else off since so overwhelmed. @marknadal )
Jasper Molgvits
@jaspermolgvits_gitlab
Sure, let me download the app
Mark Nadal
@amark
nah
youc an DM via website
I don't want you to have to download an app lol
libensveto
@libensveto_twitter
@aethiop v nice react native app, is there a version with iris-lib functionality somewhere?
libensveto
@libensveto_twitter

when trying to duct tape the two together i get

Unhandled Rejection (TypeError): Cannot read properties of undefined (reading 'user')

pointing to err in session.js

  iris.Channel.initUser(State.public, key);
Filipe Vieira
@fsvieira
Hi @amark thanks for the response but i cant make the call. I will open an issue on github. If necessary we can schedule a call on another day.
tedd pasta
@azdez:matrix.org
[m]

``` const gun = Gun()

let test = gun.get('test').get('testing').set({hello: 'bye'})

let tests = gun.get('test').get('testing')

test.once(data => {
console.log('set', data)
tests.unset(data).once(datas => {
console.log('unset', datas)
})
})```

when i run this, i get the following.

set { _: { '#': 'kwo8ie14Z19Vzch0tFtv', '>': { hello: 1638405799817 } }, hello: 'bye' } unset { _: { '#': 'test/testing', '>': { kwo8ie14Z19Vzch0tFtv: 1638405799818 } }, kwo8ie14Z19Vzch0tFtv: { '#': 'kwo8ie14Z19Vzch0tFtv' } }

@sammosna: Sam Mosna that is what i get after using unset, no more "hello" property, replaced with the randomized key
hillct
@hillct
Well, I’m back a it, but find myself with a rather noon quesion, afer so many months away. Gun appears to mount it’s Socket.io instance at / (express root). IS here a simple way to mount i elsewhere, or alternatively, re-use the socket.io instance for non-Gun messaging?
SiJinmin
@SiJinmin
I want to learn cryptography, I remember that the gun document recommend a awesome online tutorial for cryptography, but I lost the link of the tutorial, can anyone remember it and send it to me? thanks.
1 reply
Emad Kheir
@Emad-salah

Hi @amark! I've opened up a PR that fixes the YSON issues related to emoji handling and line breaks as well, and includes a couple of performance improvements for the YSON functionality! amark/gun#1170

Let me know if you need me to fix up anything and I'll get to it asap :)

Robin Bron
@finwo
@amark I assumed the error was due to the inclusion of sea, which uses the ed25519 code that raises that error if I remember correctly. Is there a version of gun/sea which uses the "native" webcrypto instead of the polyfill?
St4z 
@4mgh0z_twitter
davay
@davay42
Hey! I wonder if creating a local only Gun instance and arranging a peer for it to connect later is currently an option? I recall there were issues with that in previous versions @amark
davay
@davay42
And is changing peers on running gun instances a reliable practice?
Barłomiej Bąk
@dweorh_twitter
@amark hey Mark, sure, I tried to investigate it by myself for the last couple of days, but I'm still more a user of gun than a developer :)
Filipe Vieira
@fsvieira
Hi, @amark I have open the issue on github (amark/gun#1172)
James
@u007
anyone know why this login does not work on nodejs? but works on my reactjs?
const gun = SEA.GUN({ peers: gunHosts });
  const user = process.env.GUNROOTUSER as string;
  const pass = process.env.GUNROOTPASS as string;
  console.log('logging in', user, pass);
  gun.user().auth(user, pass, (e: any) => {
    //why no callback?
    console.log('logged in?', e);
    if (e.err) {
      throw new Error(e.err);
    }
    console.log('login ok!');
  });
im not getting any callback
annd my gun peers: [ 'http://localhost:8765/gun' ]
James
@u007
ive open the issue amark/gun#1173
James
@u007
hi i have run im getting gun.user().get is not a function
gun.user().auth(userid, pass, (e) =>{
  gun.user().get('profiles')// gun.user().get is not a function
}
Mark Nadal
@amark

NEW TUTORIAL OUT!!!!
https://twitter.com/marknadal/status/1466473190427967497 <--- Making a poor man's Unreal Engine Nanite in WebGL! Gonna hook this up with GUN to make games like the last demo.
2 replies
Ok, will catch up on chat now/soon
hillct
@hillct
@amark Do not go and reinvent he wheel. Start here https://aframe.io/
@amark or if you’re web-based is not critical, consider here… https://github.com/openmetaversefoundation
lain
@lain:iwakura.xyz
[m]
using gun for login/user identity, as well as for multiplayer stuff like syncing player positions
what would be a good way of linking a user with an Ethereum wallet? i guess you could just have the user enter the public address of their wallet, but would there be a way to do it where you could prove ownership of the address? with signing their wallet or something
Mark Nadal
@amark
@libensveto_twitter bleh bleh bleh. Maybe ping @aethiop on twitter directly.
@fsvieira thank you!
@azdez:matrix.org awesome! so it is working.
@hillct yes, var gun = GUN(), dam = gun.back('opt.mesh'); dam.say({msg}); 2nd param is peer, if you have one, else it sends to all connected.
@SiJinmin :fire: :clap: @zman2013 !
@Emad-salah :clap: :+1: :clap: :+1: :clap: :+1: oh awesome awesome awesome!
@finwo by default it uses Browser native. Its only non-browsers (NodeJS/React-Native, etc.) that need polyfills.
@4mgh0z_twitter sure, what do you want to do? Its not an app, nobody uses it. Deleting it is fine.
@davay42 maybe ask @mmalmi ? He's done peer rotation before. Or maybe @connor-davis or others.
@dweorh_twitter :+1:
@u007 it might not be logging in if the other peers don't ack and if it locally can't find data, we'd need to sit down to review sorry :( but seems like a bug, thanks for opening to track & replicate. I'm not sure if I have time this weekend. What's your timing?
@lain:iwakura.xyz @rogowski <3 :)
@hillct aframe is awesome. The other, the site didn't load :( . The problem is no invented wheel works purely inside a WebWorker with a remote security isolated DOM, because majority of browsers have CSP leaks. While I don't like React, I wanted to support it + other frameworks as default, so I wouldn't have to do any work :( but I can't get even projects I like (aframe, etc.) to run with the proper security settings. So if I have to do custom bindings, I'd rather have 0-dependencies, and make a friendly environment that'll allow other devs to re-add back in threejs/aframe etc.
@lain:iwakura.xyz yeah people sign something in metamask and then save it into GUN (or even login, tho that isn't the best), so cross-signing is the correct way to go.