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 2020-02-01 00:00:00Z and 2020-02-02 00:00:00Z
Avatar
Whoever finds me a clean-ish way to abstract out argument parsing from CConsole gets a cup of coffee
Avatar
@ChillerDragon don't think so. I don't like deleting released maps
Avatar
the prediction margin graphs are now absoulutely useless. i have mega laggs but the line stays straight
Avatar
ChillerDragon 2020-02-01 10:44:58Z
@deen yea me neither i just accidentally messed up one map and would like to reset it
Avatar
Jao knows well how to delete ranks
Avatar
@ScReeNy you know well how to be cringykek
Avatar
theres nothing "cringy" here
Avatar
ChillerDragon 2020-02-01 16:32:25Z
thanks @fokkonaut
16:32
16:32
also here pls
16:32
thats what people mostly read and what gets previewed by github
Avatar
ask @deen
Avatar
ChillerDragon 2020-02-01 16:40:47Z
oh u have no permissions for that?
16:40
i do not understand github permissions
Avatar
@heinrich5991 can you take a look at a commit for me?
Avatar
wasnt it Command s Manager?
Avatar
Well, you usually omit the plural in that case
20:14
Do you think this looks cleaner? I didn't finish it, but it'll also work for the serverside, reducing the code duplication
Avatar
i dk
Avatar
Thanks for the feedback
Avatar
didnt really review yet
Avatar
@Learath2 I like it
Avatar
@heinrich5991 1 quick thing I wasn't sure about, do you think I should expose SCommand? The functions accessing it's internals via index look a little dirty to me
Avatar
dont you think you should make a cpp file too?
Avatar
Probably, this was quicker for testing around
20:54
I should split the implementation so oy doesn't chomp my head off
Avatar
@Learath2 expose it I guess, const pointer
21:07
I'd call it CComand though, I think
Avatar
@heinrich5991 Yeah, it'd also need getters so it'd be more of a class then a struct
Avatar
@Learath2 is buf[0] = '\0'; faster than mem zeroing it?
Avatar
@Ryozuki I actually have no idea 😛
21:15
I'd guess memzeroing the entire thing would be better, but that's not safe with non PODs
Avatar
i think mem zeroing might be easier for debugging
21:15
you can recognize a 0 value faster
21:15
or idk
21:16
whats PODs
21:16
Moving & self-storage containers for local or long-distance moves. PODS has flexible moving & storage solutions for homes & businesses. Call (855) 706-4758.
21:16
poggers
Avatar
Plain old Data
Avatar
I guess this wont have a vtable so it should be fine. Tbh I'm not much of a C++ person so Im not always familiar with the intricacies
21:18
I'm sure its unsafe to memzero if it does have a vtable
Avatar
i bed POD is safe to memzero
21:18
bet*
Avatar
not entirely sure tbh if you go the language lawyer way
21:23
but in practice, yes
21:28
@Learath2 it wouldn't need getters as long as you only have arrays
Avatar
@heinrich5991 how? Make the members public?
Avatar
ye
Avatar
I guess if I never hand out a non const pointer it should be safe
Avatar
and return const references
Avatar
@heinrich5991 ?
Avatar
?
22:29
@Learath2 ?
Avatar
Const references to what?
Avatar
just what you said about const pointers
22:47
I just said references accidentally
Exported 60 message(s)