Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Sep 30 03:31
    Alengeorge-01 commented #1279
  • Sep 29 21:58
    draeder commented #1279
  • Sep 29 21:55
    draeder commented #1279
  • Sep 28 07:58
    mmalmi commented #1282
  • Sep 28 04:07
    Alengeorge-01 commented #1279
  • Sep 28 04:07
    Alengeorge-01 commented #1279
  • Sep 28 04:06
    Alengeorge-01 commented #1279
  • Sep 27 23:41
    amark closed #1283
  • Sep 27 23:41
    amark commented #1283
  • Sep 27 23:39
    amark commented #1280
  • Sep 27 23:25
    amark edited #1279
  • Sep 27 23:24
    amark commented #1279
  • Sep 27 23:21
    amark closed #1273
  • Sep 27 23:21
    amark commented #1273
  • Sep 27 23:16
    amark commented #1271
  • Sep 27 23:10
    amark commented #1282
  • Sep 27 23:02
    amark commented #1277
  • Sep 27 22:59
    amark commented #1024
  • Sep 27 22:48
    amark commented #1275
  • Sep 24 23:36
    syonfox updated the wiki
Connor Davis
@connor-davis
Inspired by Discord and Whatsapp @libensveto_twitter
libensveto
@libensveto_twitter
its v clean i like it
[whispers - get us off gitter be our saviour]
Connor Davis
@connor-davis
Hehehe, I will have to build "room" chats into it :)
Manwë
@Manwe-777
wait @connor-davis you're writing Gun's graph to the dht? haha
Connor Davis
@connor-davis
Well not necessarily, I am relaying it over the dht
Manwë
@Manwe-777
thats rad, I thought you were just using it for handshaking ! :D
Connor Davis
@connor-davis
Nah XD
Im still learning the inner workings of how stuff gets transferred in Gun
See what happens is that the client connects to the dht and from there I get the dht to relay the data to the other sockets.
What I am excited about more so is being able to expand the capabilities, for e.g. I have built a p2p file sharing app with hyperswarm/dht that allows the desktop app (electron) to act as a server and a client, so if someone is "hosting" then someone connects to their http connection that is relayed over the dht and the "client" connects to that relay and can perform axios get requests etc, now this enables that to work in theory :)
Connor Davis
@connor-davis
But as well as that, now imagine this:
You have gun-relays that connect to eachother using the dht and the dht allows them to query data from eachother, simple enough because in nodejs you can pipe data from one relay to another, so when one asks for data, whoever has the data can send it to them. The same can work for a browser client, it connects to the dht and the dht can forward that get request to all on the network and whoever has it sends it to the client. This dht-relay will open those doors if we use it correctly, together. We basically need to work together as a community on this.
Manwë
@Manwe-777
That could work yeah, I cant imagine a regular dht being as fast or reliable to handle too many things floating around though, but then again thats what Mark noticed when designing AXE over a traditional solution like this.
Have you seen this one ? https://www.npmjs.com/package/trystero Im testing it to get two browsers connected and it works like a charm, its webrtc so it probably does not scale but it could be interesting
Connor Davis
@connor-davis
Agreed. Theres always a way however, the nice thing with hypercores dht is it is key based, so if I dont want my messaging app to be connected to your dht for instance, then it doesnt need to be. So it can scale I guess. At the end of the day its up to the infrastructures design.
lain
@lain:iwakura.xyz
[m]
hey guys, im trying to use user.recall(), but it doesn't save the alias. the user alias is set to the public key, is this supposed to happen?
this is user.is after i refresh the page
lain
@lain:iwakura.xyz
[m]
well i can still get the alias using gun.user(pub), still weird that alias isnt available in user.is though
rococtz
@rococtz:matrix.org
[m]
lain: just some quick note, don't rely too much on alias, it can be misleading. The alias is not guaranteed to be unique. You can have multiple people with the same username/alias. It's best to work with pubkey and some custom display name that is saved by the user in his own subgraph
1 reply
lain
@lain:iwakura.xyz
[m]
also ive been getting these warnings from webpack, is there a way to fix this?
dont know what they mean, idk if its an issue or not
WILL
@WillWang002_twitter
@WillWang002_twitter :) yupe check yourPeer||localhost:8765/stats.html
seems not work. do you mean 'relaypeer/stats.html'? which get a responce of 404
Mark Nadal
@amark
@theaspirational after you or someone else does a screen call with me to upgrade it to latest!!! Who wants to?
@connor-davis :fire: . Wednesday 11am CA it is! w00! ( @lmangani + @Manuel-777 you replied but didn't confirm time? @Dletta )
Yes, so AXE would filter even DHT subscriptions, shouldn't be too hard to add that to what you have already!
@u007 I wonder if it is the AXE bug being aggressive about cutting things off in NodeJS when it shouldn't? try GUN({axe: false
@jaspermolgvits_gitlab @kuhlmann.markus:matrix.kusys.de @u007 humm? just npm start or 1-click deploy it. Am I misunderstanding the Q?
@connor-davis @Manuel-777 nice thoughts, tho I think infrastructure should be automated, not require app devs to design it.
@lain:iwakura.xyz bleh I thought that bug got fixed? If you do pubkey login or register then it might not know of an alias. but yeah, seems wrong. Ah, tho @rococtz:matrix.org comment is a much more important point :+1: .
Tell webpack to use gun's prebuilt file so it doesn't try to build it again. Decade of package.json did this automatically, not sure why they changed/broke that.
@WillWang002_twitter are you running default? If you hit up other relay peers /stats.html you see it there. Not if you have a custom server tho.
9 replies
Connor Davis
@connor-davis
Yeah, @amark What I mean is that app devs should be allowed to choose whether they want other peoples relays to store their data or not
Mark Nadal
@amark

UPDATE:
I'm gonna aggressively start pushing towards and testing against encrypted p2p webgl gaming.
If you didn't already see 1 of the demos, this is latest: https://twitter.com/marknadal/status/1465135435965878273
I then found out FireFox let's me push more triangles to screen than I can natively in Rust! (see my other tweet, I'm mind boggled by it) tho Chrome sucks, so that could be an adoption hiccup without downsampling.
This initiative will be split into 2 main categories:
(A) actually implementing a micro-game based on some sci-fi stories I have (or yours?)
(B) migrating learnings from (A) to an reusable p2p tools for it and R&D into stuff like Nanite-in-browser and AI-based evolutionary physic simulations.
If you'd like to help build a game, I'll be doing video calls teaching people how to learn webgl & stuff, let me know if you want to join.
this includes like cool interactive art projects and data visualizations ( and @i001962 & @noctisatrae are helping build a long run pipeline/platform for this, with a whole browser-based advanced statistical error tracker)
ok, gotta wake up in 5 hours :( cheers, cya!
(oh last comment: eventually one of these games is gonna explode, and AXE already cant handle the existing millinos of users, so we need need need DHT team to get things scaling ASAP! For the existing users, let alone for intense apps like gaming, will be even more performance/benchmark needing!)
Connor Davis
@connor-davis
Sweet @amark
James
@u007
@amark ive a stopper issue with nodejs where it hang on auth function, can u help?
lain
@lain:iwakura.xyz
[m]
lain
@lain:iwakura.xyz
[m]
ill try esbuild out
Robin Bron
@finwo
Unless you're doing a lot of metadata reflection things in typescript, esbuild works pretty well (and fast) for most platforms (node, browser, etc)
lain
@lain:iwakura.xyz
[m]
still getting the warnings with esbuild
Robin Bron
@finwo
Then at least it's not webpack specific.
@amark Any idea what section of gun may produce that warning?
lain
@lain:iwakura.xyz
[m]
i think it might be causing issues with my vercel build of the site but not 100% sure
it works locally, but on the vercel site im getting this error
may be unrelated to gun tho
Robin Bron
@finwo
That's trying to perform regular math between a bigint and a number, so probably something like bigint(5) * 12
6 replies
Manwë
@Manwe-777
yeah @amark 11am CA works for me too !
lain
@lain:iwakura.xyz
[m]
i dont use bigints anywhere, wasn't sure if gun did or something
Zlynt
@Zlynt
Greetings,
Does anyone know if Gun uses too much data when being used in a mobile app (when compared to a mobile app using a centralized architecture)?
James
@u007
Ya i think tend to sync data from all peers including clients
Robin Bron
@finwo
The n notation, so the 19n for example, are bigints
@lain:iwakura.xyz That line is fully using bigints, not mixing types, so that issue is rather odd
lain
@lain:iwakura.xyz
[m]