02:42 <+bridge> [ddnet] if someone could compile ddnet in release mode on windows with msvc and with debug symbols, that'd be awesome ๐Ÿ™‚ 02:45 <+bridge> [ddnet] I'd like to take a look at the annoying aio bug 02:45 <+bridge> [ddnet] @Learath2 unrelated, in 0c13c8cebb09b7798309ea0317a2e85885fb5697, you only print utf16 characters that consist of one code unit to the windows console. is this intentional? 07:12 <+bridge> [ddnet] @heinrich5991 that's a pretty crude hack tbh, I barely have an idea why it works 11:15 <+bridge> [ddnet] @archimede67 mon son est revenu mais que lorsque j'allume mon pc avec un certain casque 12:28 <+bridge> [ddnet] xd 14:14 <+bridge> [ddnet] @heinrich5991 I think that commit was after hours of messing around, I didn't really want to think much after it started working 14:15 <+bridge> [ddnet] okay 14:15 <+bridge> [ddnet] also it seems to be leaking memory ๐Ÿ˜› 14:21 <+bridge> [ddnet] ggwp 14:21 <+bridge> [ddnet] xd 14:26 <+bridge> [ddnet] imagine spending 8 hours trying to figure out why windows won't just print what you tell it to print on the console 14:27 <+bridge> [ddnet] turns out the console is a special device in windows and it only accepts utf16 14:27 <+bridge> [ddnet] because its windows 14:27 <+bridge> [ddnet] wot 14:27 <+bridge> [ddnet] utf16 14:27 <+bridge> [ddnet] why xd 14:28 <+bridge> [ddnet] I guess bill gates thought 16 was a nice number 14:28 <+bridge> [ddnet] ๐Ÿ˜‚ 14:40 <+bridge> [ddnet] @Learath2 but you don't output utf8 14:40 <+bridge> [ddnet] *utf16 14:40 <+bridge> [ddnet] you only output utf16 without surrogate pairs 14:41 <+bridge> [ddnet] (have you tried characters outside the bmp?) 14:42 <+bridge> [ddnet] idk what I output tbh, I just know that if you encode the codepoints in utf16, shove that in a wchar array and pass that to `WriteConsoleW` it looks correct on the console 14:43 <+bridge> [ddnet] I'm pretty sure things outside the bmp won't look correctly 14:45 <+bridge> [ddnet] @heinrich5991 I think I wasn't sure if the wchar can hold characters that consist of two code units 14:46 <+bridge> [ddnet] I think wchar_t is a code unit 14:46 <+bridge> [ddnet] so you need two wchar_ts for each code unit outside the bmp 14:46 <+bridge> [ddnet] I believe wchar_t was implementation defined in size 14:47 <+bridge> [ddnet] also the way i output to the console isn't complete, it fails to work with redirects 14:48 <+bridge> [ddnet] wchar_t is probably not implementation defined in size on windows 14:48 <+bridge> [ddnet] have to check `GetConsoleMode` and if it's redirected you need to use `WriteFile` instead 14:49 <+bridge> [ddnet] Anyways, I think `WriteConsoleW` takes a byte array, not specifically `wchar_t` so could probably drop that 14:49 <+bridge> [ddnet] WriteConsoleW probably takes wchar_t tbh 14:50 <+bridge> [ddnet] ah no 14:50 <+bridge> [ddnet] const void * 14:50 <+bridge> [ddnet] well msdn doesn't say so 14:51 <+bridge> [ddnet] https://docs.microsoft.com/en-us/windows/console/writeconsole 14:51 <+bridge> [ddnet] @heinrich5991 btw are you thinking of cleaning that up? 14:51 <+bridge> [ddnet] not right now 14:51 <+bridge> [ddnet] no 14:52 <+bridge> [ddnet] I wanted to fix the stupid aio thing 14:52 <+bridge> [ddnet] but it just doesn't work ๐Ÿ˜ฆ 14:52 <+bridge> [ddnet] or rather, I can't find a mistake 14:52 <+bridge> [ddnet] wait you can reproduce it? 14:52 <+bridge> [ddnet] you can reproduce it with the testcases IIRC 14:52 <+bridge> [ddnet] not sure 14:53 <+bridge> [ddnet] I think I was the last person that can reproduce it reliably, and I upgraded to win10, haven't tested whether it happens still 14:53 <+bridge> [ddnet] on my computer it was an instant crash with aio stdout 14:53 <+bridge> [ddnet] like a 100% of the time 14:54 <+bridge> [ddnet] really. 14:54 <+bridge> [ddnet] also in the debugger? 14:54 <+bridge> [ddnet] you even tried to debug it with teamviewer after i gave up iirc ๐Ÿ˜„ 14:54 <+bridge> [ddnet] yep 14:54 <+bridge> [ddnet] argh 14:54 <+bridge> [ddnet] but it crashed deep in ntdll or system32 14:54 <+bridge> [ddnet] because of an invalid pointer I guess 14:54 <+bridge> [ddnet] should've tried harder 14:54 <+bridge> [ddnet] not one that I could see 14:54 <+bridge> [ddnet] ok 14:55 <+bridge> [ddnet] can you try whether you can still reproduce it? 14:55 <+bridge> [ddnet] well I can install msvc and try again, maybe it still happens ๐Ÿ˜„ 14:55 <+bridge> [ddnet] ๐Ÿ‘ 14:55 <+bridge> [ddnet] where does one even get msvc? ๐Ÿ˜› 14:55 <+bridge> [ddnet] msvs it's called, these days 14:55 <+bridge> [ddnet] https://visualstudio.microsoft.com/ 14:56 <+bridge> [ddnet] top left is msvs, rest is unrelated products :< 14:56 <+bridge> [ddnet] oh, need the ide aswell right, that will take some time to download 14:56 <+bridge> [ddnet] I currently have around 20-200KB/s. can you beat that? ๐Ÿ˜› 14:56 <+bridge> [ddnet] that sounds horrible 14:56 <+bridge> [ddnet] what happened to germany? ๐Ÿ˜› 14:56 <+bridge> [ddnet] aio is async io? 14:57 <+bridge> [ddnet] yes 14:57 <+bridge> [ddnet] does it work on linux 14:57 <+bridge> [ddnet] yes 14:57 <+bridge> [ddnet] is it enabled there? 14:57 <+bridge> [ddnet] I don't know if by chance, but probably 14:57 <+bridge> [ddnet] yes 14:57 <+bridge> [ddnet] @Learath2 I'm on the train, so I guess it's okayish 14:57 <+bridge> [ddnet] oh, that's great for train internet 14:57 <+bridge> [ddnet] at least they provide free internet for everyone these days 14:57 <+bridge> [ddnet] I get 5 MB/s at home 14:58 <+bridge> [ddnet] which is good 14:58 <+bridge> [ddnet] :o 14:58 <+bridge> [ddnet] :monkaS: 14:58 <+bridge> [ddnet] much better then back in turkey where I got 0.8 MB/s 14:58 <+bridge> [ddnet] at uni I got 600MB/s ^^ 14:58 <+bridge> [ddnet] but literally everyone else gets a 800mbps link here, just my stupid old apartment 14:58 <+bridge> [ddnet] bytes or bits? 14:58 <+bridge> [ddnet] (not via wifi though. bytes) 14:58 <+bridge> [ddnet] i got 600/600 on home xd 14:59 <+bridge> [ddnet] 600mbps? 14:59 <+bridge> [ddnet] uh nice >D 14:59 <+bridge> [ddnet] uh nice ๐Ÿ˜„ 14:59 <+bridge> [ddnet] 70mb/s 14:59 <+bridge> [ddnet] @Ryozuki fast.com 14:59 <+bridge> [ddnet] plz 14:59 <+bridge> [ddnet] i got 75ko 14:59 <+bridge> [ddnet] i got 75kb 14:59 <+bridge> [ddnet] french detected ๐Ÿ˜› 14:59 <+bridge> [ddnet] 14:59 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583640628781383701/unknown.png 14:59 <+bridge> [ddnet] I wish I got 600/600 at home ๐Ÿ˜› 14:59 <+bridge> [ddnet] ew 14:59 <+bridge> [ddnet] never knew that site 14:59 <+bridge> [ddnet] xd 14:59 <+bridge> [ddnet] best speed test site 14:59 <+bridge> [ddnet] no clutter 14:59 <+bridge> [ddnet] I've been begging them for the last 3 years to get fibre 15:00 <+bridge> [ddnet] barcelona got fibre everywhere and its more worth to have it than dsl nowadays xd 15:00 <+bridge> [ddnet] which site 15:00 <+bridge> [ddnet] the office building next to us already has it so it's not too too hard to get a couple more fibres routes 15:00 <+bridge> [ddnet] fast.com 15:00 <+bridge> [ddnet] but the guy who owns the apartment, he is so old :/ 15:00 <+bridge> [ddnet] @Learath2 I KNOW 15:00 <+bridge> [ddnet] i was on a old building before 15:00 <+bridge> [ddnet] and they didnt want fibre 15:00 <+bridge> [ddnet] i have 46Mbps 15:01 <+bridge> [ddnet] they were fcking 70 year old 15:01 <+bridge> [ddnet] xddd 15:01 <+bridge> [ddnet] lucky i moved 15:01 <+bridge> [ddnet] and the best is that 15:01 <+bridge> [ddnet] oh, visual studio seems smaller nowadays 15:01 <+bridge> [ddnet] instalation was paid by the company 15:01 <+bridge> [ddnet] not ourselves 15:01 <+bridge> [ddnet] but old ppl dont understand shit 15:02 <+bridge> [ddnet] it pissed me for lot of years 15:02 <+bridge> [ddnet] xd 15:02 <+bridge> [ddnet] to be honest I'd be okay with paying the price if it wasn't absolutely insane 15:03 <+bridge> [ddnet] what's insane? 15:03 <+bridge> [ddnet] (i dont pay it, but i think its 30-50 month the internet) 15:03 <+bridge> [ddnet] if I want them to route one for me it's around 2000e to route it, and 300e contribution fee every month for 3 years in addition to the regular fee 15:03 <+bridge> [ddnet] @Learath2 I think you only installed the installer ๐Ÿ˜„ 15:03 <+bridge> [ddnet] xd 15:04 <+bridge> [ddnet] If the apartment owner gets 80% of the residents to agree, they waive the 2000e, and the 300e is split up between everyone so it's nothing 15:04 <+bridge> [ddnet] being able to download at 70mb/s and play tw without lag is pure pleasure :danAmazing: 15:04 <+bridge> [ddnet] @heinrich5991 lol I didn't mean that small ๐Ÿ˜› 15:04 <+bridge> [ddnet] I thought it'd be around 5-6gb but it's only 3 15:04 <+bridge> [ddnet] https://github.com/ddnet/ddnet/pull/1757 15:05 <+bridge> [ddnet] what should i do with this 15:06 <+bridge> [ddnet] I think: make it a message to the user to execute this command 15:06 <+bridge> [ddnet] why not just execute it ourselves? 15:06 <+bridge> [ddnet] thats what im doing rn 15:06 <+bridge> [ddnet] does it get executed on a logout/login? 15:07 <+bridge> [ddnet] wat 15:07 <+bridge> [ddnet] ah idk 15:07 <+bridge> [ddnet] because we're not necessarily installing into the system, but maybe just into some packaging folder 15:07 <+bridge> [ddnet] but the tool operates on the whole system 15:08 <+bridge> [ddnet] @heinrich5991 okay how do i cmake here? 15:08 <+bridge> [ddnet] in msvs? 15:08 <+bridge> [ddnet] yes 15:08 <+bridge> [ddnet] https://forum.ddnet.tw/viewtopic.php?f=16&t=5765 15:08 <+bridge> [ddnet] just sent this link to someone else 4 hours ago ๐Ÿ˜„ 15:09 <+bridge> [ddnet] hmm my copy seems to be missing cmake somehow 15:09 <+bridge> [ddnet] i don't see the targets 15:10 <+bridge> [ddnet] let me check if i installed all the correct components 15:10 <+bridge> [ddnet] ๐Ÿ˜‰ 15:12 <+bridge> [ddnet] yeah that makes more sense 15:12 <+bridge> [ddnet] I clicked the wrong c++ thing 15:12 <+bridge> [ddnet] an extra 1.16gb download 15:12 <+bridge> [ddnet] for the worst compiler ever created by mankind ๐Ÿ˜› 15:12 <+bridge> [ddnet] :poggers: 15:12 <+bridge> [ddnet] @Learath2 what u prefer, gcc or clang 15:13 <+bridge> [ddnet] I think I like clang more, but I'm pretty neutral really 15:13 <+bridge> [ddnet] i think clang is smarterwith errors 15:13 <+bridge> [ddnet] my position is that msvc can go to hell 15:13 <+bridge> [ddnet] xd 15:13 <+bridge> [ddnet] windows bad 15:13 <+bridge> [ddnet] Imagine not supporting C99 in 2019 15:13 <+bridge> [ddnet] let alone C11 15:13 <+bridge> [ddnet] i think there is c18 now 15:13 <+bridge> [ddnet] clang caused gcc to catch up with error messages 15:13 <+bridge> [ddnet] it fixes bugs in c11 15:13 <+bridge> [ddnet] wat? 15:14 <+bridge> [ddnet] butdoesnt introduce anything 15:14 <+bridge> [ddnet] ah c17 15:14 <+bridge> [ddnet] https://en.wikipedia.org/wiki/C18_(C_standard_revision) 15:14 <+bridge> [ddnet] @heinrich5991 I think c17 didn't come out in time so they named it c18 15:14 <+bridge> [ddnet] caused some drama in ##C ๐Ÿ˜› 15:14 <+bridge> [ddnet] why? 15:14 <+bridge> [ddnet] :lol: 15:14 <+bridge> [ddnet] someone changed the topic to C18 15:14 <+bridge> [ddnet] because ISO changed the name to C18 15:14 <+bridge> [ddnet] itsn ot like they are adding lot of stuff to be late lol 15:15 <+bridge> [ddnet] but the working group hadn't changed the name yet 15:15 <+bridge> [ddnet] C18 will be superseded by C2x 15:15 <+bridge> [ddnet] i wonder if c20 or c22 15:15 <+bridge> [ddnet] so we discussed for a couple hours whether we care about what ISO says or what the WG says ๐Ÿ˜› 15:15 <+bridge> [ddnet] c21 looks bad 15:16 <+bridge> [ddnet] C++ has some horrible error messages, there was discussion about that in #c++ a month or so ago 15:16 <+bridge> [ddnet] yeah 15:16 <+bridge> [ddnet] with templates 15:16 <+bridge> [ddnet] and stuff 15:16 <+bridge> [ddnet] it goes insane 15:16 <+bridge> [ddnet] whether it's the standards committees job to get better error messages or is it just up to the compilers 15:17 <+bridge> [ddnet] well, it kind of depends on the standard whether it's feasible to provide good error messages 15:19 <+bridge> [ddnet] okay it compiles \o/ 15:19 <+bridge> [ddnet] now let me enable aio 15:20 <+bridge> [ddnet] yeah sadly it works now that i upgraded 15:21 <+bridge> [ddnet] also the tests 15:21 <+bridge> [ddnet] let me figure out how to run them ๐Ÿ˜› 15:21 <+bridge> [ddnet] select testrunner in the green run arrow menu 15:25 <+bridge> [ddnet] passed all tests 15:25 <+bridge> [ddnet] run it a couple of times 15:25 <+bridge> [ddnet] passes just fine 15:27 <+bridge> [ddnet] I guess that bug is lost to us forever ๐Ÿ˜› 15:27 <+bridge> [ddnet] either way, aio dbg_logging in windows won't really work unless you use WriteConsole 15:27 <+bridge> [ddnet] `build/testrunner --gtest_filter=Async.NonDivisor --gtest_repeat=-1 --gtest_break_on_failure` 15:27 <+bridge> [ddnet] windows consoles are just broken 15:27 <+bridge> [ddnet] pls 15:28 <+bridge> [ddnet] where do builds go? 15:28 <+bridge> [ddnet] uh 15:28 <+bridge> [ddnet] in a deep folder 15:28 <+bridge> [ddnet] its not on ur cwd 15:28 <+bridge> [ddnet] xdd 15:28 <+bridge> [ddnet] start ddnet sv and right click it to find the path iguess 15:29 <+bridge> [ddnet] CMakeBuilds in your home folder or so 15:29 <+bridge> [ddnet] oh did they change it 15:29 <+bridge> [ddnet] i dont use vs since years xd 15:30 <+bridge> [ddnet] nah, it's special for cmake builds 15:30 <+bridge> [ddnet] they changed it apparently 15:31 <+bridge> [ddnet] it's now in, ~/source/repos//out 15:32 <+bridge> [ddnet] lets see if it bresks 15:32 <+bridge> [ddnet] breaks* 15:32 <+bridge> [ddnet] I'm on iteration 4000 ๐Ÿ˜› 15:35 <+bridge> [ddnet] @heinrich5991 I don't think this will fail tbh 15:35 <+bridge> [ddnet] it's been fine for 20k iterations 15:41 <+bridge> [ddnet] @heinrich5991 when can I stop? ๐Ÿ˜„ 15:48 <+bridge> [ddnet] you can stop 15:48 <+bridge> [ddnet] lol. 10k iterations on linux cost 17s 15:48 <+bridge> [ddnet] apparently my fix for console printing unicode wasn't correct either 15:49 <+bridge> [ddnet] it doesn't work on windows 10 15:55 <+bridge> [ddnet] do you know how to look at memory in vs? 15:55 <+bridge> [ddnet] nop 15:55 <+bridge> [ddnet] very useful debugger 15:55 <+bridge> [ddnet] xd 15:55 <+bridge> [ddnet] whats ur prob already? 15:57 <+bridge> [ddnet] trying to get windows to render unicode correctly in the console 15:58 <+bridge> [ddnet] ah 15:58 <+bridge> [ddnet] does it work or not at all? xd 16:06 <+bridge> [ddnet] `[2019-05-30 14:06:40][chat]: Learath2: รขโ„ขยซ` 16:06 <+bridge> [ddnet] supposed to be a music note 16:07 <+bridge> [ddnet] ah 16:07 <+bridge> [ddnet] xd 16:07 <+bridge> [ddnet] but 16:08 <+bridge> [ddnet] @Learath2 which console? 16:08 <+bridge> [ddnet] the actual console 16:08 <+bridge> [ddnet] discord down? 16:09 <+bridge> [ddnet] MSDN says "For the most consistent results, applications should use Unicode, such as UTF-8 or UTF-16, instead of a specific code page." 16:09 <+bridge> [ddnet] I'm trying my very best to use utf-8 but it just doesnt work... 16:09 <+bridge> [ddnet] this? 16:10 <+bridge> [ddnet] omg pls discord upload 16:10 <+bridge> [ddnet] 16:10 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583658387921829889/unknown.png 16:10 <+bridge> [ddnet] @onby i think its just our private chat xd 16:10 <+bridge> [ddnet] on a msvc blog, they shamelessly post this 16:10 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583658403772104724/5-Buffers-Bart-600x321.png 16:10 <+bridge> [ddnet] I think they are the ones that need to learn how to fucking use utf-8 16:10 <+bridge> [ddnet] discord is censoring me 16:10 <+bridge> [ddnet] yes @archimede67 that one 16:10 <+bridge> [ddnet] it works fine for me 16:11 <+bridge> [ddnet] are you on windows 10? 16:11 <+bridge> [ddnet] ye 16:11 <+bridge> [ddnet] amazing, it works on some computers, doesn't on others 16:11 <+bridge> [ddnet] even better 16:12 <+bridge> [ddnet] @archimede67 can you join the server and send some weird character? 16:12 <+bridge> [ddnet] xd ok 16:13 <+bridge> [ddnet] lol 16:13 <+bridge> [ddnet] xd 16:13 <+bridge> [ddnet] i'm funny huh 16:13 <+bridge> [ddnet] @archimede67 send a ๐‘€Œ 16:13 <+bridge> [ddnet] lul 16:13 <+bridge> [ddnet] I hope that didn't crash everyones client :p 16:14 <+bridge> [ddnet] wait 16:14 <+bridge> [ddnet] i don't have the chat line for that message xd 16:14 <+bridge> [ddnet] 16:14 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583659435264704512/unknown.png 16:14 <+bridge> [ddnet] yeah, i told you it's very broken 16:14 <+bridge> [ddnet] xd 16:19 <+bridge> [ddnet] turns out the windows console can only understand ucs-2, so wchar_t seems to be the correct choice after all @heinrich5991 16:22 <+bridge> [ddnet] @Learath2 unicode symbols work for me too, on windows 10. but this ๐‘€Œ doesnt 16:22 <+bridge> [ddnet] the line is just gone 16:22 <+bridge> [ddnet] also @heinrich5991 I remembered why I didn't allow characters from the SMP 16:22 <+bridge> [ddnet] windows console just can't handle utf16 16:23 <+bridge> [ddnet] it can only handle ucs2 16:23 <+bridge> [ddnet] @fokkonaut yeah that's a character from the SMP 16:23 <+bridge> [ddnet] it just causes the logger to return without printing anything 16:23 <+bridge> [ddnet] why 16:24 <+bridge> [ddnet] because windows console can't handle utf16 16:24 <+bridge> [ddnet] it only understands ucs2 16:24 <+bridge> [ddnet] for real? 16:25 <+bridge> [ddnet] embarrassing 16:25 <+bridge> [ddnet] yeah, it's straight out of the 90s ๐Ÿ˜› 16:26 <+bridge> [ddnet] is there no way to fix it#? 16:26 <+bridge> [ddnet] windows is embarasing ye 16:26 <+bridge> [ddnet] discord lagging ouuuuut 16:26 <+bridge> [ddnet] yeah discord bad 16:26 <+bridge> [ddnet] lets go to irc 16:27 <+bridge> [ddnet] i am 16:27 <+bridge> [ddnet] @fokkonaut no fixing it, the console is just the way it is 16:30 <+bridge> [ddnet] 16:30 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583663424118980608/unknown.png 16:30 <+bridge> [ddnet] lmao i can see emojis 16:30 <+bridge> [ddnet] gg irc 16:30 <+bridge> [ddnet] well it's not irc you should congratulate 16:30 <+bridge> [ddnet] ik xD 16:30 <+bridge> [ddnet] irc just passes along bytes as they are 16:31 <+bridge> [ddnet] it's the wonder of proper utf8 support on most linux terminals 16:31 <+bridge> [ddnet] maybe i installed some fonts 16:31 <+Ryozuki> Learath2: discord works so bad rn 16:31 <+bridge> [ddnet] yeah, idk what's up with it 16:31 <+Ryozuki> Learath2: on debian i saw also the emoji but not colored 16:31 <+Ryozuki> i guess i got some font installed 16:32 <+bridge> [ddnet] depends on the terminal and the fonts 16:32 <+Ryozuki> im using same terminal 16:32 <+Ryozuki> termite 16:32 <+bridge> [ddnet] then it's the fonts prolly 16:33 <+bridge> [ddnet] ๐Ÿ˜ก ๐Ÿ’ฉ 16:33 <+Ryozuki> lmao 16:33 <+bridge> [ddnet] xd 16:33 <+bridge> [ddnet] 16:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583664245317697546/unknown.png 16:33 <+bridge> [ddnet] visual studio seems convinced I'm dereferencing a NULL pointer 16:33 <+bridge> [ddnet] but I'm not :/ 16:34 <+bridge> [ddnet] wdym by dereferencing a null pointer 16:34 <+bridge> [ddnet] ah i see what it means 16:34 <+bridge> [ddnet] its safe to free a null pointer if thats what u meant 16:34 <+bridge> [ddnet] dereferencing is * 16:34 <+bridge> [ddnet] ah 16:35 <+bridge> [ddnet] it's trying to say I forgot a null check 16:35 <+bridge> [ddnet] is it safe? 16:35 <+bridge> [ddnet] ah 16:35 <+bridge> [ddnet] but because it's autistic it says im dereferencing NULL 16:35 <+bridge> [ddnet] clion best 16:35 <+bridge> [ddnet] or 16:35 <+bridge> [ddnet] the clang server 16:36 <+bridge> [ddnet] https://clang.llvm.org/extra/clangd/ 16:36 <+bridge> [ddnet] lmao they got a screenshoot of vscode 16:36 <+bridge> [ddnet] ah but u are on vs studio 16:38 <+Ryozuki> https://github.com/Shougo/deoplete.nvim/wiki/Completion-Sources i found a nice plugin for vim 16:40 <+bridge> [ddnet] apparently there is a literal macro for `IsWindowsXPOrGreater` 16:40 <+bridge> [ddnet] we have a `os_is_winxp_or_lower` ๐Ÿ˜› 16:40 <+bridge> [ddnet] @Ryozuki I think most people I know using vim only use the built in autocompletion 16:41 <+bridge> [ddnet] it's supposed to be pretty decent when you have a ctags file 16:42 <+bridge> [ddnet] well know u now one who doesnt 16:42 <+bridge> [ddnet] :pepeH: 16:53 <+bridge> [ddnet] 16:53 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583669442383183897/unknown.png 16:54 <+bridge> [ddnet] :poggers: 16:54 <+bridge> [ddnet] :poggers::poggers::poggers::poggers: 16:54 <+bridge> [ddnet] @Learath2 can ur vanilla vim do this tho 16:54 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583669662802509834/unknown.png 16:55 <+bridge> [ddnet] probably not 16:55 <+bridge> [ddnet] i don't use vim 16:55 <+bridge> [ddnet] I'm not sure if I want to invest time in getting fluent with vim 16:55 <+bridge> [ddnet] and all modern plugins are asynchronous nowadays 16:55 <+bridge> [ddnet] it sorely needs a way to properly navigate around 16:55 <+Ryozuki> vim even with plugins is blazing fast 16:56 <+Ryozuki> and all modern plugins are asynchronous nowadays 16:56 <+Ryozuki> fcking discord 16:56 <+bridge> [ddnet] sublime text is already blazing fast 16:56 <+bridge> [ddnet] vim is hard ๐Ÿ˜ฆ 16:56 <+bridge> [ddnet] and vscode isn't far behind even though it's an electron app 16:56 <+bridge> [ddnet] i have fun using vim 16:56 <+bridge> [ddnet] and learning it 16:57 <+bridge> [ddnet] specially when u learn it 16:57 <+bridge> [ddnet] u notice the amount of power 16:57 <+bridge> [ddnet] in ur hands 16:57 <+bridge> [ddnet] I'm pretty decent at using vim 16:57 <+bridge> [ddnet] but it needs time to be configured to ur likings 16:57 <+bridge> [ddnet] like ricing ur desktop 16:57 <+bridge> [ddnet] xd 16:57 <+bridge> [ddnet] still not as fast as I am with my mouse though 16:57 <+bridge> [ddnet] u can spend all day 16:58 <+bridge> [ddnet] i can go to defintion too 16:58 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583670582013329409/unknown.png 16:58 <+bridge> [ddnet] ooooh, haven't played nethack in a while 16:58 <+bridge> [ddnet] 16:58 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583670659045916674/unknown.png 16:58 <+bridge> [ddnet] yeah I'm done coding for the day ๐Ÿ˜› 16:59 <+bridge> [ddnet] xd 16:59 <+bridge> [ddnet] @Ryozuki do you have some refactoring tool? 17:00 <+bridge> [ddnet] it has a rename option but it needs tweaking 17:00 <+bridge> [ddnet] cuz after it wont find the symbol 17:00 <+bridge> [ddnet] mm 17:00 <+bridge> [ddnet] i guess i need to rerun cmake 17:00 <+bridge> [ddnet] to make compile_commands.jsoon again 17:00 <+bridge> [ddnet] but im not sure 17:01 <+bridge> [ddnet] https://github.com/uplus/vim-clang-rename 17:01 <+bridge> [ddnet] i would try this 17:01 <+bridge> [ddnet] but im lazy rn 17:02 <+bridge> [ddnet] ima play nethack too 17:07 <+bridge> [ddnet] @Ryozuki play on nethack.alt.org so I can watch 17:09 <+bridge> [ddnet] i need to learn how to play tho xd 17:09 <+bridge> [ddnet] oof 17:09 <+bridge> [ddnet] hjkl 17:09 <+bridge> [ddnet] ima register 17:10 <+bridge> [ddnet] whats diferent about 3.6.2 and .1 17:11 <+bridge> [ddnet] if you are just starting out just play the new one 17:11 <+bridge> [ddnet] couple bug fixes, couple balance things 17:12 <+bridge> [ddnet] you'll want to turn off the numberpad setting btw 17:13 <+bridge> [ddnet] uh im completly lost xd 17:13 <+bridge> [ddnet] press capital y 17:14 <+bridge> [ddnet] okay 17:14 <+bridge> [ddnet] shift+O 17:14 <+bridge> [ddnet] space a couple times 17:14 <+bridge> [ddnet] one more 17:14 <+bridge> [ddnet] h 17:14 <+bridge> [ddnet] enter 17:14 <+bridge> [ddnet] a enter 17:14 <+bridge> [ddnet] now hjkl should work to move ๐Ÿ˜› 17:15 <+bridge> [ddnet] you can also use the diagonals, yubn 17:15 <+bridge> [ddnet] i for inventory 17:15 <+bridge> [ddnet] whats nethack 17:16 <+bridge> [ddnet] old terminal roguelike 17:16 <+bridge> [ddnet] how can i know what i have equipped 17:16 <+bridge> [ddnet] check your inventory 17:17 <+bridge> [ddnet] yeah nothing to equip rn 17:17 <+bridge> [ddnet] im poisoned xd 17:17 <+bridge> [ddnet] but that ring of conflict is very useful in a pickle ๐Ÿ˜› 17:18 <+bridge> [ddnet] no you aren't, that message is just "wrong" it just means you took more damage 17:18 <+bridge> [ddnet] , to pick up 17:18 <+bridge> [ddnet] but wizards shouldn't really wear plate mail ๐Ÿ˜› 17:18 <+bridge> [ddnet] y xd 17:19 <+bridge> [ddnet] it's too heavy ๐Ÿ˜› 17:19 <+bridge> [ddnet] where can i find controls 17:19 <+bridge> [ddnet] a good website? 17:19 <+bridge> [ddnet] good question, I have no idea 17:19 <+bridge> [ddnet] https://nethackwiki.com/mediawiki/images/a/ac/Nethack_Keyboard_Commands.pdf maybe? 17:20 <+bridge> [ddnet] https://nethackwiki.com/wiki/Commands is more complete though 17:20 <+bridge> [ddnet] is # some path without light or smth? 17:22 <+bridge> [ddnet] # is corridor 17:22 <+bridge> [ddnet] you are a wizard right? 17:22 <+bridge> [ddnet] y 17:22 <+bridge> [ddnet] you can use a spell with shift Z 17:22 <+bridge> [ddnet] #off-topic lets move there xd 17:22 <+bridge> [ddnet] oh yeah true this is #developer ๐Ÿ˜› 17:25 <+bridge> [ddnet] xd 17:33 <+bridge> [ddnet] fstd: do you still play nethack? 17:58 <+bridge> [ddnet] fstd is here? i just started using pstd service ๐Ÿ˜ƒ it rocks 17:58 <+bridge> [ddnet] you can add a ?c at the end to use c syntax highlighting ๐Ÿ˜› 17:58 <+bridge> [ddnet] ikr best 17:59 <+bridge> [ddnet] ?lua and ?nim also works 17:59 <+bridge> [ddnet] doc said only c 17:59 <+bridge> [ddnet] nim lol 17:59 <+bridge> [ddnet] yo btw do we have a file naming convention? Seems like vanilla used all lowercase and together like gamecontext.cpp and some newer ddnet files use snake case like name_bans.cpp 17:59 <+bridge> [ddnet] yeah possible that those are not in the doc, I think I added nim without saying anything ๐Ÿ˜› 18:00 <+bridge> [ddnet] lowercase and together is more prevalent 18:00 <+bridge> [ddnet] src/engine/shared/network_client.cpp 18:00 <+bridge> [ddnet] ah thats vanilla as well huh? 18:00 <+bridge> [ddnet] i dont get it 18:01 <+bridge> [ddnet] xd 18:01 <+bridge> [ddnet] don't ask 18:01 <+bridge> [ddnet] xc 18:01 <+bridge> [ddnet] dfq does prevalent even mean 18:02 <+bridge> [ddnet] ye so we should kill the subvalent imo 18:02 <+bridge> [ddnet] (i can also invent words :p) 18:02 <+bridge> [ddnet] xDD 18:04 <+fstd> Learath2: haven't played in a long time, you? 18:05 <+bridge> [ddnet] I'm starting again, but my config is gone ๐Ÿ˜ฆ 18:05 <+bridge> [ddnet] lol he is actually here 18:05 <+bridge> [ddnet] always track configs on github hehe 18:07 <+bridge> [ddnet] oh its a ascii game nice 18:07 <+bridge> [ddnet] is it only ascii textures or is it actually cli? 18:07 <+bridge> [ddnet] cli 18:08 <+bridge> [ddnet] awesome 18:09 <+bridge> [ddnet] i didnt know cli games are a thing i thought im the only person on planet who enjoys it 18:09 <+bridge> [ddnet] xD 18:10 <+fstd> Learath2: but you're not ingame are you? 18:11 <+bridge> [ddnet] no i quit when i noticed my config was toast 18:17 <+bridge> [ddnet] rq 18:32 <+bridge> [ddnet] u 18:33 <+bridge> [ddnet] 18:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583694473284812811/unknown.png 18:33 <+bridge> [ddnet] do it 18:33 <+bridge> [ddnet] 18:33 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583694519988518962/unknown.png 18:33 <+bridge> [ddnet] didnt help 18:33 <+bridge> [ddnet] xD 18:34 <+bridge> [ddnet] are there different types of all and alphabetical sort? xd or what am i not getting here 18:35 <+bridge> [ddnet] probably 18:35 <+bridge> [ddnet] or u just did shit idk 18:35 <+bridge> [ddnet] 18:35 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583695108130734080/unknown.png 18:36 <+bridge> [ddnet] looks pretty all and sort to me 18:36 <+bridge> [ddnet] ye 18:40 <+bridge> [ddnet] `character_dummymodes.cpp` has to be under `character.h` 18:41 <+bridge> [ddnet] @ChillerDragon 18:44 <+bridge> [ddnet] you added a new file? 18:45 <+bridge> [ddnet] yes he did 18:45 <+bridge> [ddnet] but not sorted correctly 18:46 <+bridge> [ddnet] Hmm 18:46 <+bridge> [ddnet] @ChillerDragon did you read my message 18:46 <+bridge> [ddnet] Ye 18:46 <+bridge> [ddnet] Then do so 18:46 <+bridge> [ddnet] It makes sense 18:46 <+bridge> [ddnet] Ofc it does 18:46 <+bridge> [ddnet] But I wonder why it looks like this 18:46 <+bridge> [ddnet] ? 18:47 <+bridge> [ddnet] what 18:49 <+bridge> [ddnet] ah nvm got confused 18:50 <+bridge> [ddnet] but it didnt help 18:50 <+bridge> [ddnet] @ChillerDragon just make sure that the order in cmakelists.txt is the same as in your folder if you sort it alphabetically 18:51 <+bridge> [ddnet] yes i piped it through the sort command 18:51 <+bridge> [ddnet] i expect that to be sorted 20:18 <+bridge> [ddnet] @ChillerDragon try piping through `LC_ALL=C sort` 20:19 <+bridge> [ddnet] @heinrich5991 does my pr looks good to you or is there some bugs/things wrong? 20:24 <+bridge> [ddnet] awesome that worked @heinrich5991 ur a fokin wizard 20:25 <+bridge> [ddnet] @archimede67 inline in class definition doesn't do anything btw 20:27 <+bridge> [ddnet] i dont understand why inline is in classes by default 20:32 <+bridge> [ddnet] @archimede67 the first thing that would probably need to get fixed is that the thread still accesses some stuff from the main thread 20:33 <+bridge> [ddnet] namely `pSnapshotDelta` and `pConsole` 20:33 <+bridge> [ddnet] ah, CSnapshotDelta *might* be threadsafe, let me check 20:33 <+bridge> [ddnet] (but `pConsole` isn't) 20:34 <+bridge> [ddnet] (and it might be good to factor out the `CDemoEdit` out of `client.h` and `client.cpp` 20:34 <+bridge> [ddnet] oh you think? 20:34 <+bridge> [ddnet] so it has its own file, 20:34 <+bridge> [ddnet] ? 20:36 <+bridge> [ddnet] yes 20:36 <+bridge> [ddnet] `CSnapshotDelta` is *not* threadsafe 20:37 <+bridge> [ddnet] hmmm 20:37 <+bridge> [ddnet] but i need it to init the demoeditor 20:38 <+bridge> [ddnet] then you need to create your own instance 20:38 <+bridge> [ddnet] for each thread 20:38 <+bridge> [ddnet] of CSnapshotDelta? 20:42 <+bridge> [ddnet] yes 20:43 <+bridge> [ddnet] and for `pConsole` ? 20:48 <+bridge> [ddnet] patch CDemoRecorder to also work with a NULL `pConsole` I guess 20:48 <+bridge> [ddnet] k 20:48 <+bridge> [ddnet] thx! 21:14 <+bridge> [ddnet] @heinrich5991 where should I put the new file? 21:14 <+bridge> [ddnet] src/engine/client/ 21:14 <+bridge> [ddnet] ok thanks 21:30 <+bridge> [ddnet] uff 21:30 <+bridge> [ddnet] 21:30 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/583738946626912285/unknown.png 21:38 <+bridge> [ddnet] ok fixed xd 21:51 <+bridge> [ddnet] @heinrich5991 I need the CSnapshotDelta from the client to make the demoeditor work properly 22:43 <+bridge> [ddnet] why? 22:43 <+bridge> [ddnet] idk, if not the demo is buggy 22:45 <+bridge> [ddnet] @archimede67 I mean if there's a way the client's CSnapshotDelta becomes the way it is, then you can just put your own copy through the same process 22:53 <+bridge> [ddnet] my own copy? 22:58 <+bridge> [ddnet] so creating a thing exactly like the `m_SnapshotDelta` in the client that i pass in my thread? 23:10 <+bridge> [ddnet] is there a reason why rainbow color changing was made impossible on ddnet? 23:11 <+bridge> [ddnet] maybe coz of last update with colors 23:11 <+bridge> [ddnet] no its been removed long ago 23:11 <+bridge> [ddnet] ah 23:11 <+bridge> [ddnet] idk then sry 23:15 <+bridge> [ddnet] @Im 'corneum I for example would remove it because it looks attention-grabbing 23:17 <+bridge> [ddnet] then it seems to me its the same reason that emoticon spam was removed. but as it was brought back why dont you reactivate rainbow? 23:51 <+bridge> [ddnet] I would also remove emote spams ๐Ÿ˜›