Sender | Message | Time |
---|---|---|
9 Oct 2024 | ||
Mooling | 木泠 | In reply to @ifiguero:matrix.orgIf the client does not receive any message for a long time, will this timed out warning be triggered? | 03:51:36 |
Mooling | 木泠 | Or is there another reason for this timed out warning? | 03:52:07 |
nex (she/it) | If you set a limit on your sync timeout then yes, not receiving a sync response in x milliseconds will give you that warning You will also get that warning if you try to perform an operation that either the homeserver takes forever to respond to, or you have a poor network connection and the connection is dropped | 11:06:35 |
nex (she/it) | That warning means that the previous request will be retried iirc. There's some related config options in [Async]ClientConfig | 11:07:02 |
nex (she/it) changed their display name from public static void main string args to #include<stdio.h>. | 11:21:08 | |
10 Oct 2024 | ||
nex (she/it) changed their display name from #include<stdio.h> to using System;. | 05:05:04 | |
nex (she/it) changed their display name from using System; to use "fmt". | 23:33:18 | |
11 Oct 2024 | ||
nex (she/it) changed their display name from use "fmt" to nex (she/it). | 01:49:01 | |
ifiguero | something like that, because the client<->server is HTTP, you kinda go back and forth, and if the server don't reply your request in a timeout then you probably have to retry it. That is implented on the AsyncClient on the async def _send method that also handles being rate limited by the server. | 15:39:54 |
ifiguero | given that its perfectly normal to ger a server timeout once in a while, and that the method already handles the retry by itself. it might serve you to diagnose in case poor connection or overloaded homeservr. | 15:41:08 |
18 Oct 2024 | ||
Josh | Question About Power Levels To modify power levels in nio, we need to use room_put_state AFAIK: Synapse requires sending the full power level dictionary to the server when making modifications. Otherwise, values that are not explicitly set might get overwritten (or deleted). Is that correct? I can’t seem to find a straightforward way to access this information in the correct schema structure, other than by fetching room events and modifying the last power level event as a base. The clients (rooms) have a It would be helpful to have a function that returns the server schema from here, perhaps something like a to_dict or to_json function. (Easy to implement, happy to do it) Additionally, it appears that power levels in the object aren’t synced correctly; they seem to get updated only partially (this might be a separate issue). Am I on the wrong track here? I’d appreciate clarification before opening a ticket. ;) | 12:42:29 |
13 Oct 2024 | ||
nex (she/it) | Hey @Paarth Shah - Github Maintainer, are you still working on that PR that converts the dataclasses to pydantic objects? | 10:04:47 |
nex (she/it) | I'm encountering some pain with dataclass validation errors and it has breathed a new life in my desire for pydantic 🥴 | 10:05:13 |
18 Oct 2024 | ||
Mooling | 木泠 | What happens when I cannot receive messages from Matrix after setting next_batch in client.sync_forever(timeout=5, since=next_batch) ? | 12:48:57 |
Mooling | 木泠 | If since=next_batch is not set, my program works fine. | 12:50:01 |
Josh | nex (she/it): Off Topic question. When did you send this message? It says Sunday 13.10 but gets shown after may last message from today? | 12:59:18 |
nex (she/it) | In reply to@winduu:matrix.orgCan you not room_get_state m.room.power_levels and modify that? | 12:52:42 |
Josh | Download Bildschirmfoto 2024-10-18 um 14.59.52.png | 13:00:11 |
nex (she/it) | don't quote me on the function name | 12:52:46 |
nex (she/it) | In reply to@winduu:matrix.orgoctober 13th, 2024, at 11:04AM BST | 13:00:49 |
nex (she/it) | In reply to@nex:nexy7574.co.ukAre you running synapse by any chance? | 13:00:56 |
nex (she/it) joined the room. | 13:01:35 | |
nex (she/it) | . | 13:01:43 |
nex (she/it) | cmon backfill | 13:01:47 |
nex (she/it) | Download image.png | 13:02:00 |
nex (she/it) | CC Josh | 13:02:07 |
nex (she/it) | I've got federation issues with synapse servers from my homeserver for some reason. Presumably something I've configured wrong. The event will have only just come through because of backfil | 13:04:24 |
nex (she/it) | * I've got federation issues with synapse servers from my homeserver for some reason. Presumably something I've configured wrong. The event will have only just come through because of backfill | 13:04:25 |
Josh | Ah thanks! (Ill answer in this thread). No, just using elements with matrix acc, no fed, thus i was wondering. Ahh, ok, that is extreme strange behavior, it should not be possible to forge timing via federation or at all. | 13:11:04 |
Josh | In reply to @nex:nexy7574.co.ukI certainly could, but that is an extra request, for data that already is or should be available - thus not straightforward. The web clients don't do it either. - This why I thought I'm maybe doing something wrong. | 13:15:01 |