




















std::io::Write I need to write to a String what is the best way to do that?Vec<u8> and then going ot a string from there

Cursor wraps an in-memory buffer and provides it with a [Seek] implementation.
Vec also works
























.fetch() has a performance penalty over .fetch_all() in sqlx?




"~/Library/Preferences/DDNet-Server-Launcher.plist",
"~/Library/Saved Application State/org.DDNetClient.app.savedState",
"~/Library/Application Support/Teeworlds/" (edited)





























--format json (edited)






























sqlx::error::Error isn't Copy so I don't really see how I can get it out of the closure










e escape
FnMut closure body
--> src...




[2021-06-14 21:47:23][http]: fetching https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-14 21:47:23][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-14 21:47:23][http]: fetching https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-14 21:47:24][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-14 21:47:24][http]: fetching https://info2.ddnet.tw/info?name=%5EpDetektiv%20Keks
[2021-06-14 21:47:27][http]: task failed. libcurl error: Operation too slow. Less than 500 bytes/sec transferred the last 10 seconds
[2021-06-14 21:47:27][http]: fetching https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-14 21:47:28][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-14 21:47:34][http]: task failed. libcurl error: Operation too slow. Less than 500 bytes/sec transferred the last 10 seconds
looks like the main reason it sometimes is so slow is bcs info2.ddnet.tw doesnt respond?
or just generally slow connection to that server









































ddnet-serverlist-urls.cfg next to your settings_ddnet.cfg and make the only line https://heinrich5991.de/teeworlds/temp/servers-2021-06-14.json























[2021-06-15 01:41:22][serverbrowse_http]: found master, url='https://master1.ddnet.tw/ddnet/15/servers.json' time=0ms
[2021-06-15 01:41:22][http]: fetching https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-15 01:41:22][http]: task done https://master1.ddnet.tw/ddnet/15/servers.json
[2021-06-15 01:41:24][serverbrowse_http]: found master, url='https://master2.ddnet.tw/ddnet/15/servers.json' time=967ms
[2021-06-15 01:41:24][serverbrowse_http]: found master, url='https://master3.ddnet.tw/ddnet/15/servers.json' time=20ms
[2021-06-15 01:41:24][serverbrowse_http]: determined best master, url='https://master1.ddnet.tw/ddnet/15/servers.json' time=0ms
0ms







