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-06-23 00:00:00Z and 2021-06-24 00:00:00Z
Avatar
@heinrich5991 do you think requesting the 2 best master servers and taking the first result, instead of only the best is reasonable? E.g. cloudflare has better ping for me, but sometimes it has these weird delays, and it would only switch the master after restart Or does that create too much overhead /and or just shifts the problem(the 2nd master server could be ddosed too for example) Edit: https://github.com/Jupeyy/ddnet/commit/e740ffb0e77c54f34015d08bb35af01f9d7950da (edited)
06:02
as far as i see it does request new master as soon as refresh is called twice? (but i cannot get the code path to execute, maybe it just requires a m_State == STATE_REFRESHING too) (edited)
Avatar
tencent cdn sometimes does the same thing. Like if it is cached it goes instantly, but if the cache misses, it ranges from tens of ms or 5 whole seconds. It's disgusting.
06:12
and apparently my hk vps that has a 1gb data bandwidth cap isn't enough for serving master lol. We're running about 40gigs daily.
06:12
kek
06:13
s/1gb/1tb per month/
06:13
hello, brain. please work. ok thanks
06:14
I can afford a better one if I actually get payed for my new job tho.
06:14
paid*
Avatar
rich man
06:15
but ddnet could also buy it i guess
Avatar
A 2tb hongkong vps from tencent is like 600cny for a year (with deals). So it's not that bad.
06:18
(so less than €80
06:18
I wish mainland server was this cheap tho
Avatar
iisnt hongkong mainland
06:22
monkalaugh
06:22
monkalaugh
Avatar
don't stop tsfreddies revolution
Avatar
If you Google hongkong it is Chinese special administrative region
06:23
Alongwith Macau
Avatar
ik i was joking cuz the situation
06:23
monkaS
Avatar
It's like china, but special
Avatar
its ok tsfreddie, in future we can show the iirc logs and say, it all started here
Avatar
I can already feel cancelled
Avatar
wait, is client choose best server everytime when i open it?
Avatar
But like for real tho, we could've try hosting a hongkong server because we do have some, but we really don't want to because the "situation". It'll be a warzone in the hk server and we probably don't know how to label them anyway.
Avatar
Avatar
nori
wait, is client choose best server everytime when i open it?
It choose the best server for fetching serverlist
Avatar
situation monkalaugh
Avatar
Avatar
Ryozuki
ik i was joking cuz the situation
You used it first
Avatar
yeah i love it
Avatar
Btw was it still going on
Avatar
Haven't heard about anything lately
Avatar
china probs won whathever they were doing
Avatar
Prob
Avatar
thats prob good for china
06:28
xd
06:28
if u dont hear about it better
06:28
monkalaugh
06:30
i think hongkong was a strategic place for muricans
Avatar
I think murica actually manipulate basically any place around mainland china.
06:33
What's the most peaceful country in the world if there's any.
06:35
Probably somewhere in eu if I were to take a guess
Avatar
probs denmark
06:35
or something like that
Avatar
"Iceland According to the Global Peace Index 2020, Iceland was the most peaceful country in the world with an index value of 1.078."
Avatar
its ez when ur just 200k ppl
06:36
xd
Avatar
xD
Avatar
and its cold outside
06:36
u just stay at h ome
06:36
no riot
06:36
greenthing
06:37
cold > warm
06:37
i think in the future coast cities will be flooded
06:37
so i have to go somewhere else
06:37
and more cold
06:37
monkalaugh
06:37
prepare for the disaster
Avatar
where are you
Avatar
barcelona
Avatar
that's a place that sounds really cool in Chinese
Avatar
you dont know F.C Barcelona?
06:38
kek
Avatar
Anything country name that has 4 or more syllables are cool
06:38
how do u write it
06:38
in chinese symbols
Avatar
巴塞罗那
Avatar
Taiwan calls it 巴賽隆納
Avatar
Hongkong calls it 巴塞隆納
06:40
Probably
Avatar
Barcelona is a major cultural, economic, and financial centre in southwestern Europe,[8] as well as the main biotech hub in Spain.[9] As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).
06:40
we are beta +
06:40
poggers
Avatar
Actually even Spain is three characters
Avatar
is that short for a name
Avatar
Chinese is like one syllable per char
06:42
So we have three syllables for Spain
Avatar
wouldnt it be spa-in
06:42
s-pain
06:42
feelsbadman
Avatar
But the word Spain is one right?
06:43
S pa in
06:43
西班牙
Avatar
i guess
Avatar
Was it as fun for you guys as I feel about being involved in such a global community?
06:45
I'm assuming you guys are pretty used to it. Well Asians are usually only involved within their own country.
06:46
I already feels pretty cool just by chatting with you guys.
06:46
kek
Avatar
its pretty normal to see ppl from lot of places
06:46
btw lot of asians come here for tourism
Avatar
I can imagine
06:48
I mean you can't rid of Chinese people anywhere. Even if you go to a college that is supposed to have the least Chinese students. You still get at least a dozen of Chinese students hanging out together.
06:48
We have the number 😂
Avatar
my college was pretty diverse
06:49
most diverse in my state
Avatar
hehe it had 1 chinese = diverse
Avatar
How was University of Oregon btw
06:50
It's like I just gave them money and they let me in.
06:51
That doesn't sound like how university should work
Avatar
i mean with money u can enter any private uni
06:51
and i think in murica all are private
Avatar
Capitalism
Avatar
unless it is a rly presitigious uni
Avatar
Not sure if we should just allow them whenever someone is muted Fixes #3929

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...
Avatar
cuz they dont need ur mony probs
06:52
or there are too many ppl wanting to give their mony
06:52
poggers
Avatar
/randomteam
Avatar
what r u doing with tshock btw
06:53
setting up a server?
06:53
its rly sad they closed down the servers and went for discord/gh discussions
06:53
forums*
Avatar
I'm losing track of the conversation
Avatar
☕⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools. - Pryaxis/TShock
Avatar
anticheat
Avatar
oh look
06:54
☕⚡️TShock provides Terraria servers with server-side characters, anti-cheat, and community management tools. - Pryaxis/TShock
Avatar
Chinese doc is actually pretty common I think?
Avatar
not rly
06:55
atleast what i frequent
Avatar
[quakenet] deen BOT 2021-06-23 06:55:35Z
it's common in chinese companies
Avatar
I like that Chinese docs usually have a QQ group listed
Avatar
i was setting up a tshock server and ur name came up in the forums (what i posted)
Avatar
DDraceNetwork, a mod of Teeworlds. Contribute to Jupeyy/ddnet development by creating an account on GitHub.
08:04
fetches from 2 masters
08:04
if smbdy wants to test
08:07
for me this improves the situation quite a bit, cloudflare is really random from fetch times
Avatar
thanks for putting more bandwidth pressure on master2
08:09
I'm kidding
Avatar
when i was writing the the code i accedentially DoS'ed the masters xd
08:10
atleast it started alot of jobs
Avatar
Cool
Avatar
dunno how curl also rate limits
08:10
xD
08:11
but my bandwidth sucks anyway >D
Avatar
Ye it's probably fine
08:12
08:13
You're probably not requesting from master2 anyway
08:13
monkalaugh
Avatar
yeah that too 😄
Avatar
That 16mbps spike is pretty pog tho
09:21
29c95bc Still allow lock/unlock/practice while sv_chat_initial_delay is set - def- 0393ac0 Merge #3930 - bors[bot]
10:11
the true safest language?
10:11
monkalaugh
10:13
Avatar
i don't believe in languages
Avatar
ada is probs older than u
10:13
monkaS
Avatar
prob
Avatar
First appeared: February 1980; 41 years ago
Avatar
not older than my dad. that's a win for me.
Avatar
i found a rly funny crate description
Avatar
Avatar
Ryozuki
monkalaugh
Ada has always been great for critical applications
Avatar
If anyone is familiar with significant figures, what do you do if you have no significant figures remaining in your result?
16:44
Does that mean I have to use actual uncertainties now?
Avatar
chillerdragon BOT 2021-06-23 17:03:17Z
my 2nd try of asking on how to reproduce the ddnet macOS builds. My github actions build does not run on one users mac who can use ddnet just fine :(
Avatar
um, can he run our github actions build just fine or can he run our official release just fine
17:08
they are built VERY differently
Avatar
chillerdragon BOT 2021-06-23 17:37:11Z
he can run official release just fine but not my github build so i want to build the very different official build so my mac users can use the best haxbot client
17:38
The magic scripts that make DDNet run. Contribute to ddnet/ddnet-scripts development by creating an account on GitHub.
17:38
but i remember having trouble with cross compile :/
Avatar
chillerdragon BOT 2021-06-23 17:48:49Z
@deen: u mind sharing the macOS SDK?
Avatar
why does SDL_main not handle all the mac specific stuff?
17:52
isnt that the whole sense of it
17:52
or is the macsdk even needed for libc?
Avatar
chillerdragon BOT 2021-06-23 18:02:46Z
Yea the github actions build and also my manual build seem to link /usr/local/opt/freetype/lib/libfreetype.6.dylib which is put there by brew i think and non dev macs will not find it. I know this issue but i forgot the fix. Wasnt it something like cmake .. -DPREFER_BUNDLED_LIBS=ON but that did not help.
Avatar
im just impressed how hard to is apparently, just static link all libs problems solved xd
Avatar
chillerdragon BOT 2021-06-23 18:09:59Z
yes they are shipped in the app folder but idk how to properly link
Avatar
Apple doesn't like people sharing the SDK, if you have a mac you can get it from there, or you can google around for other sources
Avatar
chillerdragon BOT 2021-06-23 18:19:22Z
I think I broke my mac it’s Stuck downloading xcode since hours
Avatar
I've achieved peak rust: for<'f> fn(&'f ctx, &'f msg, &'f args) -> Pin<Box<dyn Future<Output=CommandResult> + Send + 'f>> (edited)
18:53
Now I just need to figure out a proc macro to take my function async fn name(ctx, msg, args) -> CommandResult to fn name(ctx, msg, args) -> pinboxwhatevermess
18:53
Async rust is almost as ugly as C++ 😄
Avatar
Original message was deleted or could not be loaded.
o/
Avatar
that's not an admin concern, but a mod concern
18:54
in the future, can you please not mention bot clients by name?
Avatar
No advertising bot clients by name ^^
Avatar
We can detect said bot with very high accuracy, sucks to get caught but you should just wait out your ban and never use it again
Avatar
@TheDominator murpi said to dm them, let's not discuss it here
Avatar
Yeah it was probably murpi that banned you anyway, so ask him
Avatar
anyways this is not the channel for it regardless
Avatar
Give your developers flexible features for project management that adapts to any team, project, and workflow—all alongside your code.
18:56
future look of github issues
Avatar
Avatar
lynn
in the future, can you please not mention bot clients by name?
wtf i didn't advertise cheat client, just mentioned (edited)
18:57
are rules such
18:57
"don't promote" ...
Avatar
Avatar
Learath2
Async rust is almost as ugly as C++ 😄
18:58
it uses lot of emojis but i think its a good webpage
18:59
they list all the issues people have
18:59
etc
18:59
as stories
18:59
this is something u wouldnt be able to change in c++
19:00
This document is a collaborative effort to build a shared vision for Async Rust. Our goal is to engage the entire community in a collective act of the imagination: how can we make the end-to-end experience of using Async I/O not only a pragmatic choice, but a joyful one?
Avatar
What a weird way to write a technical document, why does it have to make me feel like I'm reading a kindergarten meeting log?
Avatar
yeah i thought that too
19:00
but well
19:01
they list the status quo
19:01
so know the current problems
19:01
xd
19:01
19:02
i dont think its a bad way
Avatar
Learath2 needs concrete future types so he doesn't have to pin box everything
Avatar
Original message was deleted or could not be loaded.
Some things are automatic some things are manual
Avatar
@Learath2 u are barbara
19:03
haha
19:04
justatest
Avatar
Streams were not too bad. Boxing futures were by far the most annoying thing I've done
19:05
Give me your ip in a DM, I'll check what was detected
Avatar
Original message was deleted or could not be loaded.
this
19:10
almost this tho
19:11
or not xd
19:11
dk
Avatar
Avatar
gerdoe
"don't promote" ...
yes i know the wording should change, and i advocated for this in the past
Avatar
requesting for monofont in votemenus
Avatar
DDraceNetwork, a cooperative racing mod of Teeworlds - ddnet/ddnet
20:44
Avatar
dbg_msg makes it weird
Avatar
dont think this is a bug is it, its just some flushing that isnt atomic under windows
21:10
is the log a console log, or logfile?
Avatar
console log
21:11
interesting that if i use refreshing ip instead refreshing ip addresses it becomes fine (edited)
21:11
also, also
21:11
there is console-> print in m_pMasterServer->RefreshAddresses(Nettype);
Avatar
mh yeah dunno if thats random, but if its a bug it should be debugable
Avatar
so i think this line really useless
21:12
no its not random
21:12
on my machine xd
21:14
also i have question about dbg_msg in CConsole::Print(...)
21:14
is it really necessary?
Avatar
why not
Avatar
void CConsole::Print(int Level, const char *pFrom, const char *pStr, ColorRGBA PrintColor) { dbg_msg(pFrom, "%s", pStr); char aBuf[1024]; Format(aBuf, sizeof(aBuf), pFrom, pStr); for(int i = 0; i < m_NumPrintCB; ++i) { if(Level <= m_aPrintCB[i].m_OutputLevel && m_aPrintCB[i].m_pfnPrintCallback) { m_aPrintCB[i].m_pfnPrintCallback(aBuf, m_aPrintCB[i].m_pPrintCallbackUserdata, PrintColor); } } }
21:16
logging on all levels -> OUTPUT_LEVEL_DEBUG
21:16
but dbg_msg is just dbg_msg xd
Avatar
console is also used by client
21:17
where it makes more sense
21:17
e.g. f1 console
Avatar
doesn't client register it's own callback for logging
21:22
m_PrintCBIndex = Console()->RegisterPrintCallback(g_Config.m_ConsoleOutputLevel, SendRconLineAuthed, this); server does this
Avatar
yeah but dbg_msg is always there
Avatar
okey xd
21:34
after deleting this line there is no mess
Exported 268 message(s)