Guild icon
DDraceNetwork
Development / developer
Development discussion. Logged to https://ddnet.tw/irclogs/ Connected with DDNet's IRC channel, Matrix room and GitHub repositories — IRC: #ddnet on Quakenet | Matrix: #ddnet-developer:matrix.org GitHub: https://github.com/ddnet
Between 2021-05-28 00:00:00Z and 2021-05-29 00:00:00Z
Avatar
it's over 9000
Avatar
in 15.5 I can spam refresh and create tons of tasks. and sometime trigger some io error.
Avatar
In case of impatience and master is responding slowly, it might create more unnecessary load on the master. Plus, it makes the list seemingly more slow since the list only updates after the last http request is done.
Avatar
[2021-05-28 12:08:54][http]: http https://info2.ddnet.tw/info?name=fokkonaut [2021-05-28 12:08:54][http]: http https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:54][http]: task done https://info2.ddnet.tw/info?name=fokkonaut [2021-05-28 12:08:55][http]: task done https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:55][http]: http https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][http]: task done https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][serverbrowse_http]: found master, url='https://master2.ddnet.tw/ddnet/15/servers.json' time=2437ms [2021-05-28 12:08:57][http]: http https://master4.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][http]: task failed. libcurl error: Could not resolve host: master4.ddnet.tw [2021-05-28 12:08:57][http]: http https://master3.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][http]: task failed. libcurl error: Could not resolve host: master3.ddnet.tw [2021-05-28 12:08:57][http]: http https://master1.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][http]: http https://master1.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:58][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:58][serverbrowse_http]: found master, url='https://master1.ddnet.tw/ddnet/15/servers.json' time=201ms [2021-05-28 12:08:58][serverbrowse_http]: determined best master, url='https://master1.ddnet.tw/ddnet/15/servers.json' time=201ms [2021-05-28 12:08:58][http]: http https://master1.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:58][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json That is a bit spammy on startup, no?
Avatar
It's a bit spammy on IRC
kek 1
10:11
it seems ok for me
Avatar

Checklist

  • [ ] Tested the change ingame
  • [ ] Provided screenshots if it is a visual change
  • [ ] Tested in combination with possibly related configuration options
  • [ ] Written a unit test if it works standalone, system.c especially
  • [ ] Considered possible null pointers and out of bounds array indexing
  • [ ] Changed no physics that affect existing maps
  • [ ] Tested the change with [ASan+UBSan or valgrind's memcheck](https://github.com/ddnet/ddnet/#using-addresssanitizer--u...
Avatar
As reported by fokkonaut on Discord. Not sure if we lose relevant information. Previously: ``` [2021-05-28 12:08:54][http]: http https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:55][http]: task done https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:55][http]: http https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][http]: task done https://master2.ddnet.tw/ddnet/15/servers.json [2021-05-28 12:08:57][serverbrowse_http]: found master, ur...
Avatar
Http requests should get an id so we can associate results to requests
13:51
(In the log)
Avatar
CMake Error (dev) at CMakeLists.txt:236 (message): DATA does not contain every file from directory data
14:58
pepeH
15:02
oh ok i got it
Avatar
badaae5 [http]: http -> [http]: fetching - def- 67611a5 Merge #3857 - bors[bot]
Avatar
bcdb3e0 Reduce spamminess of http server browser - def- 7e9b0fc Merge #3858 - bors[bot]
Avatar
@heinrich5991 could we add something to the protocol to let the server signal that it's experiencing connectivity issues?
Avatar
@Learath2 atomic integer counter?
Avatar
One thing I've been missing with the new serverlist is the ability to see that a server is under ddos
Avatar
Avatar
heinrich5991
@Learath2 atomic integer counter?
Yeah, that's what I was thinking too for the ID
Avatar
add a field to the server info once we have the true http master?
Avatar
Doesn't the underlying collection server have some idea of the ping?
Avatar
maybe also improve the client connecting dialog
15:29
@Learath2 does the ping increase for servers under attack? I'd guess at most the packet loss rate increases
Avatar
hm, I've seen GER2 spike to double the ping before during an attack, but not all attacks do that yeah
Avatar
I should have used a template parameter for the alignment...
15:56
I should stop committing quickly
Avatar
Ah, I didn't because I didn't want to move the implementation of Allocate and AllocateFromChunk into the header file
16:05
When are they going to get rid of that silly requirement anyway? 😦
Avatar
or of header files in general. are C++ modules a step into that direction?
Avatar
not really afaik
Avatar
mh, I guess I'll have to leave it like this, a shame since aligning to 16 optimizes extremely well
16:09
s/16/powers of two/
16:09
if I could somehow convey that Alignment > 0 it would also help make it branchless
16:13
https://godbolt.org/z/36aKeT87v look how much prettier the 16 version is 😦
Avatar
I'd say that thinking about this applies optimization at the wrong place. e.g. handling of bans or finding client ID from IP address are things that happen a couple of orders of magnitude more often
16:13
and they use a very basic hashmap and linear lookup
Avatar
Ofc it's not worth it, it's just annoying that I can't do it correctly to begin with without making it ugly
16:14
It's not that the correct way is inherently more complex
Avatar
I see
16:19
if my function is correct, I even removed the conditional ^^
Avatar
uhm I considered this one too but then I wasn't quite sure of negating an unsigned 😄
16:21
I think(tm) the standard says that wraps around
Avatar
the standard says it wraps around
16:23
but I don't know if integer promotion rules will mess with me
Avatar
Hmhm, is 2^32 - n % 16 perhaps equivalent to the result we are looking for?
Avatar
yes
Avatar
ah, some mathematrickery
16:26
pf, this is about at the bounds of my C++ knowledge, I think it's fine
Avatar
##C says is fine, I'd guess C++ also uses the same rules
Avatar
Matrix is probably the greatest example of computerppl overcomplicating things, I have not seen a system this convoluted in quite some time
Avatar
I would like to see matrix and xmpp communicating
17:19
but e2ee across different platforms probably needs to wait until mls is finished, so maybe in… 10 years?
17:20
Avatar
3716bec masterserver -> master server, serverlist -> server list - def- bb3fc8d Update languages files - def- 6fd5679 Update German translation - def- 992cd86 Merge #3848 - bors[bot]
Avatar
72f3b77 Use "occupado" spawn spots when nothing else is left - def- e5e2e46 Merge #3837 - bors[bot]
Avatar
jo guys i got an question and would be happy if someone can help me. So i wanna try to use my 144hz with 60 hz on Teeworlds. But if i set this it gets completly buggy. Anyone have an idea/time to help me?
Avatar
what does "completely buggy" mean?
18:12
what do you see? what would you like to see instead?
Avatar
how to add gui_cursor.png to assets?
Avatar
[quakenet] Ryozuki BOT 2021-05-28 20:43:41Z
Avatar
the irony is amazing
Avatar
зелёный няша крипер 2021-05-28 20:59:26Z
20:59
Omg
Avatar
All fonts look red with slight black background like this: !screenshot_2021-05-29_00-35-25 Pinpointed #3798 with git bisect. System:
  • Debian 10 (Gnome 3.30.2 on xorg)
Exported 70 message(s)