01:31 <+bridge> [ddnet] why isn't it reasonable? 😮 02:02 <+bridge> [ddnet] wait, is Zoom being involved as well? 02:04 <+bridge> [ddnet] I meant it in a moral sense, as in Discord Staff members and it's developers have no intention to be (as) corrupt as other well known social media companies. 02:05 <+bridge> [ddnet] Those aren't at fault perhaps 02:47 <+bridge> [ddnet] AFAIK discord does data handling quite badly and collects lots of unnecessary data, like every interaction with discord, e.g. which images you click on, etc. 03:09 <+bridge> [ddnet] ``` 03:09 <+bridge> [ddnet] Looking for WavpackOpenFileInputEx 03:09 <+bridge> [ddnet] Looking for WavpackOpenFileInputEx - not found 03:09 <+bridge> [ddnet] Looking for WavpackCloseFile 03:09 <+bridge> [ddnet] Looking for WavpackCloseFile - not found 03:09 <+bridge> [ddnet] Configuring incomplete, errors occurred! 03:09 <+bridge> [ddnet] ``` 03:09 <+bridge> [ddnet] can't configure cmake on windows, get this error 03:10 <+bridge> [ddnet] Cant tell if thats a real issue, there are usually 03:10 <+bridge> [ddnet] CMake Error - Smth wrong 03:11 <+bridge> [ddnet] Not just not found 03:11 <+bridge> [ddnet] Send full log 03:13 <+bridge> [ddnet] Cant tell if thats a real issue, there are usually 03:13 <+bridge> [ddnet] `CMake Error - Smth wrong` 03:30 <+bridge> [ddnet] doesn't seem like the types of data collection, which a regular user should be afraid of, perhaps only scary, if the user's data collection option is disabled and still gathers a fair amount 04:04 <+bridge> [ddnet] okay i redid it and it works now 🤷 08:28 <+bridge> [ddnet] Even I think that when I’m on my phone xd 08:28 <+bridge> [ddnet] (@Not Keks) 09:13 <+bridge> [ddnet] Xd 09:14 <+Ryozuki> good morning ddevs 09:14 <+bridge> [ddnet] Goodd morning 09:22 <+bridge> [ddnet] You have no way to know their intentions. Perhaps they are the exception to the rule or perhaps they sell bulk data to the highest bidder like every single other tech company their size 09:25 <+ChillerDragon> o/ 09:26 <+ChillerDragon> discord has big chinese investors they want to spy on the west and steal our coding skills to rebuild tw china! 09:26 <+bridge> [ddnet] Either way, that only changes whether they deserve is morally or not. Legally it has been decided, they mishandled user data, end of story 09:27 <+bridge> [ddnet] Ignorance of the law is not a defence. We didn't intend to mishandle data is not a defence 09:27 <+ChillerDragon> lawyer lerato 09:28 <+ChillerDragon> yo bak in da university rokin da ipad? 09:29 <+ChillerDragon> high level languages have so funny features :D like iterating over all method names in a class and turn them into strings 09:29 <+ChillerDragon> like wat xd 09:30 <+ChillerDragon> omg im procrastinating again. I think i have a irc addiction problem :( 09:32 <+bridge> [ddnet] yes you do 09:33 <+ChillerDragon> :c 09:33 <+bridge> [ddnet] AddictDragon 09:34 <+ChillerDragon> is there irc rehab? 09:34 <+bridge> [ddnet] Yes 09:34 <+bridge> [ddnet] download Discord 09:34 <+ChillerDragon> yikes 09:34 <+bridge> [ddnet] withdrawl 09:34 <+ChillerDragon> cold turkey 09:35 <+bridge> [ddnet] exactly 09:35 <+bridge> [ddnet] only way that works anyways 09:35 <+bridge> [ddnet] for problematic use of ic 09:35 <+bridge> [ddnet] for problematic use of irc 09:35 <+ChillerDragon> i might die from withdrawl symptoms 09:35 <+bridge> [ddnet] but u have discord then 09:35 <+bridge> [ddnet] might lower the symptoms 09:35 <+bridge> [ddnet] or increase them 09:35 <+ChillerDragon> you also suggest heroin to someone who wants to get off alcohol huh? xd 09:35 <+ChillerDragon> i mean it works .. xd 09:36 <+bridge> [ddnet] xD 09:36 <+bridge> [ddnet] dont tell them how i got you off alcohol 09:36 <+bridge> [ddnet] this is the only way to fix people from munich 09:37 <+bridge> [ddnet] or bavaria in generalö 09:37 <+ChillerDragon> lul 09:37 <+bridge> [ddnet] heroin ftw 09:37 <+ChillerDragon> hi kids reading irc logs 09:37 <+ChillerDragon> stay in school drugs bad 09:37 <+bridge> [ddnet] At home today. I don't really feel so good 09:38 <+ChillerDragon> F 09:38 <+ChillerDragon> leak pic of your home then :p 09:38 <+ChillerDragon> do you have plants? 09:39 <+ChillerDragon> OMG OK I CLOSE IRC NOW BYE 09:39 <+bridge> [ddnet] marihuana 09:40 <+bridge> [ddnet] No plants house too smol for plants, I'd probably die of hypoxia 09:41 <+bridge> [ddnet] How? Plants produce o2 09:43 <+bridge> [ddnet] Only when they can do photosynthesis. They need o2 at other times 09:43 <+bridge> [ddnet] In a smol house a green plant might end up being a net negative 09:45 <+bridge> [ddnet] xd 09:45 <+bridge> [ddnet] open a window 10:23 <+ChillerDragon> gotta love refactoring code :) one step forward 3 steps back .-. 10:23 <+ChillerDragon> https://zillyhuhn.com/cs/.1668763378.png 10:31 <+bridge> [ddnet] There is some text in your red picture 10:32 <+ChillerDragon> ._. 10:34 <+bridge> [ddnet] ChillerDragon when he got -2 steps forward 10:34 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1043096780532891688/unknown.png 10:35 <+ChillerDragon> lmao 10:42 <+bridge> [ddnet] chillerdragon be like: "where beer" 10:42 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1043098973851885590/unknown.png 10:43 <+bridge> [ddnet] chillerdragon when he doesnt drink for 1 day: "i am clean" 10:43 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1043099189728514078/unknown.png 10:44 <+bridge> [ddnet] 🍻 10:45 <+bridge> [ddnet] Wtf xd 10:54 <+Ryozuki> ill start to hate huffman 10:54 <+Ryozuki> im comparing my bits table to the libtw2 10:54 <+Ryozuki> and some dont match 11:02 <+ChillerDragon> papa @heinrich5991 look i actually managed to build my own snap dissector :) 11:02 <+ChillerDragon> https://zillyhuhn.com/cs/.1668765692.png 11:02 <+ChillerDragon> type 11 is not supported yet ... duh 11:04 <+ChillerDragon> libtw2 docs so good :) 11:55 <+bridge> [ddnet] What are you building it in? C? 12:09 <+bridge> [ddnet] I'm afraid of that. you can't turn it off 12:30 <+bridge> [ddnet] https://lwn.net/SubscriberLink/914458/3f15ae536222685d/ 12:33 <+bridge> [ddnet] Are u planing to contribute?^^ 12:34 <+bridge> [ddnet] hmm, no, not really 12:34 <+bridge> [ddnet] but it's interesting to read about 12:45 <+bridge> [ddnet] C strings being null terminated actually make sub string operations less optimal than if not right 12:46 <+bridge> [ddnet] In rust strings keep track of the size separately 12:46 <+bridge> [ddnet] This allows to make slices without allocating 12:46 <+bridge> [ddnet] To make a substring i c u need to allocate iirc 12:46 <+bridge> [ddnet] To add the null byte 12:47 <+bridge> [ddnet] ye 12:47 <+bridge> [ddnet] or modify it in-place 12:47 <+bridge> [ddnet] But yhe Cstr type they will use doesnt have these efficient slices/substrings 12:47 <+bridge> [ddnet] Cuz they need the null 12:48 <+bridge> [ddnet] yea 12:48 <+bridge> [ddnet] f 12:50 <+Ryozuki> `SELECT r.Map as map, r.Name as name, Min(r.Time) as time, r.Timestamp as timestamp, COUNT(r.Name) as finishes, r.Server as server FROM race r WHERE r.Map = ? GROUP BY Name ORDER BY time ASC;` 12:50 <+Ryozuki> i have this query to get the ranks for a map 12:50 <+Ryozuki> i was wondering if its possible to get the rank number within the query itself 12:51 <+Ryozuki> accounting for the possiblity of same time ranks where the rank would be e.g 1 for both 12:51 <+Ryozuki> which happens when u finish in a team 12:51 <+Ryozuki> iirc the current python code calculates this in-code 12:54 <+bridge> [ddnet] Ryozuki: https://github.com/ddnet/ddnet/blob/56088cb4b090e2354206e6239cfd63727a97686d/src/game/server/scoreworker.cpp#L789-L799 13:27 <+bridge> [ddnet] Oh nice 14:53 <+Ryozuki> i prefer DENSE_RANK 14:54 <+Ryozuki> over RANK 14:54 <+Ryozuki> maybe ddnet should use it too? 14:54 <+Ryozuki> if 3 people have rank 1 14:54 <+Ryozuki> the next rank shown is 4 14:54 <+Ryozuki> it should be 2 14:54 <+Ryozuki> DENSE_RANK does that 14:55 <+bridge> [ddnet] I used RANK() in a job interview once, thanks (I think) @Zwelf for using window functions in DDNet's code and introducing me to them 😄 14:56 <+bridge> [ddnet] I disagree, I prefer RANK over DENSE_RANK. 14:57 <+bridge> [ddnet] Player 1 has 1 second time, player 2 2 second, player 3 3 second. Player 3 is now on rank 3. If player 2 improves their time to 1 second, this should not change the ranking of Player 3, since he is still worse than 2 other players 14:58 <+Ryozuki> hmm i think its fine 14:58 <+Ryozuki> i prefer no gaps 15:00 <+Ryozuki> but anyway since u dont like it 15:00 <+Ryozuki> lucky i read this as i was just doing a pr 15:00 <+Ryozuki> for it 15:00 <+Ryozuki> xd 16:16 <+bridge> [ddnet] Knowing window functions is how I lost an entire point off a 5p question on my introduction to db exam 16:17 <+bridge> [ddnet] Apparently the "correct" answer is using a subquery and a join there 16:43 <+Ryozuki> xD 17:15 <+bridge> [ddnet] Ryozuki: do you know some competion or anything that uses DENSE_RANK instead of RANK? 17:15 <+bridge> [ddnet] I see RANK pretty much everywhere, board games, sport events, … 17:15 <+Ryozuki> hmm idk 17:16 <+Ryozuki> i never rly checked leaderboards where its common to have same-ranks 17:16 <+Ryozuki> e.g in trackmania its incredibly rare to see same times 17:16 <+Ryozuki> i guess cuz they use a more precise lcock 17:16 <+Ryozuki> clock 17:16 <+Ryozuki> oops 17:29 <+bridge> [ddnet] anyone know where DemoPlayer() is defined? 17:30 <+bridge> [ddnet] src/game/client/gameclient.h 17:31 <+bridge> [ddnet] You can use https://ddnet.org/codebrowser/ to find things like that easily 17:31 <+bridge> [ddnet] https://ddnet.org/codebrowser/DDNet/game/client/gameclient.h.html#_ZNK11CGameClient10DemoPlayerEv 17:31 <+bridge> [ddnet] oh nice 17:32 <+bridge> [ddnet] or use an IDE 17:34 <+bridge> [ddnet] yeah visual studio was taking a while for each of my searches 17:34 <+bridge> [ddnet] ah 😦 17:35 <+bridge> [ddnet] I'm used to ctrl-leftclicking in rust code when I use intellij with rust extension 17:35 <+bridge> [ddnet] it's <500ms there, sometimes instant 17:44 <+bridge> [ddnet] Indo that with vin 17:44 <+bridge> [ddnet] Vim 17:44 <+bridge> [ddnet] gd 17:44 <+bridge> [ddnet] I do* 17:44 <+bridge> [ddnet] Stupid mobile 17:53 <+bridge> [ddnet] Vim gang 18:22 <+bridge> [ddnet] I miss how fast ctags was 18:22 <+bridge> [ddnet] why people ask how to exit vim, it WANTS you to exit 18:22 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/1043214681910825040/image.png 18:22 <+bridge> [ddnet] that hasn't always been there IIRC 18:41 <+bridge> [ddnet] Yeah, if you make the mistake of opening vi instead of vim, you'lll get the authentic experience