:IF: Friends - the messenger you'll never want to move away from

:smiley: but at least having the laptop (and thinking on how to use it right) made me start with that autonomi-client wrapper … it makes using the network such a bliss from python :heart_eyes:

8 Likes

python = :heart:

3 Likes

okay - since the deployment deadline is approaching rapidly I did a last minute function check of the currently online version

for already connected friends connecting seems to work reliably (in circumstances where webRTC without turn server work)
…for friendship requests the constant changing of RSA keys is a pain and can be a bit troublesome to connect to a new friend … it’s a bit sad I first went for the refactor before making key derivation static … but with some persistence and maybe removing/re-adding a friend it establishes the connection … I’ll try to finish the refactor and get my bugs out asap but generally speaking the app does work and is compatible to the latest dweb version :slight_smile: (and the network is fast enough to establish webRTC connections : )

14 Likes

okay - quick note - found some good internet and made good progress in the refactor :slight_smile: I expect to be releasing a new version of friends with smoother flows and less errors in ~3 days or so =)

10 Likes

:warning: BREAKING CHANGE - NO OLD IDENTIFIERS/FRIENDSHIPS ARE VALID ANYMORE :warning:

(friends removes those automatically during the migration process; you don’t need to do anything but you won’t find your “old friends” with profile IDs/ public names previous to this post)


okay … it took me longer and I had more overlooked race conditions (due to developing against alpha) where I suddenly got overlapping queries …

previous users of Friends will see the following message and have lost all their friends + public IDs (and they did get a new Peer ID … sorry about that breaking change …)


one note about Network performance:

it’s totally possible that you need to wait for a while for a working connection … I repeatedly see long waiting times for many operations on mainnet … so sadly friends still needs patient users …


next on my list is offline messages … I just wanted to push this new version with better inner structure and static (deterministically derived) RSA keys out so that everything needed should be patience (or possibly an f5 at some point if a crucial GET failed / returned an old version of a scratchpad … which can happen …) … and not the correct timing on top of that to do an f5 (for correctly timed rsa key generation / reading) when sending friendship requests …

my public ID as always: riddim

enough programming for tonight :smiley:

10 Likes

@riddim

Do you see a friend request from me yet?

3 Likes

sorry bad timing my friend - you’re a bit on your own … I just got ill

just accepted your request - will leave it running so they should connect … but will get some rest in my bed … and probably won’t answer ;D …

Sadly I cannot work on this while I won’t go to my day job … so I guess I’ll be out of business for a few days now …

6 Likes

Get well soon @riddim

8 Likes

I’ll do my best - and I’m sure you’ll find other competent friends in this forum

3 Likes

@storage_guy strangely I see good enough performance that it should work … but then I get “Connection state changed: failed” do you use a vpn or so? :open_mouth:

im over here

a6b880328ccaa4d15800071204f2c26ac0f1cd499762547f4aed020bc492f99a29236618a66fcd6a115462e7dd695b09
2 Likes

Thanks, Request sent.

My Public ID is southside also HammerLord

@zettawatt yes all working perfect with you! :smiley: I really need to add offline messages and chat history :smiley:

6 Likes

That capital L is a nasty trap :smiley:

2 Likes

I have no friends :worried:

b2b842d57f02c2914a0b65176007a0d23d37a9f91080a311a325ce955092df79ea6a28cc3fb13562d2e554210998be07

EDIT: offline again as I’m messing with dweb code!

5 Likes

just accepted you :frowning:

2 Likes

Sorry folks, still messing with code. Good news though, I have literarrrrly just got a PoC working for embedding a dweb server in a Tauri app as well as starting from the CLI. I had one or the other a while ago but two in one was a challenge.

9 Likes

It’s all good - I’m fighting with the offline message concept right now xD …

step 1 was making all attachments uploads to the network → for not having to embed large gifs/images into the message history but only pointers … that is running fine locally (not uploaded to autonomi yet; there’s no point without history persisting :wink: )

when we have offline messages and therefore reliable communication even without live-connections (even though slower without active webRTC connection) then I will reconsider priorities with mobile support and bundling with dweb for mobile :slight_smile: would be pretty awesome to use friends from my phone xD

and @happybeing maybe we should talk about the changing ports on app versions behavior again at some point … due to the changing port I need to allow messages from friends on every update … which is of course not really an issue but somewhat annoying nonetheless :open_mouth:

6 Likes

Friends wanted, apply here :grin: :

Friends with benefits preferred but plutonic requests will be considered too.

85577e930f74ac4441133c413fb688286ff1bddaf390f9785b6109580a9d277c96fcaaf54b8224b15491e0e85fbc297c

5 Likes