00:35 <+bridge> [ddnet] @alien1344 what is ur issue 00:36 <+bridge> [ddnet] ah the one in question i see 00:37 <+bridge> [ddnet] that should be pure monitor setting 00:59 <+bridge> [ddnet] @Jupstar ✪ Yeah I'm getting that feeling - I'll try HDMI as opposed to DP and see if that fixes it 01:00 <+bridge> [ddnet] Thanks for the help anyway 🙂 09:05 <+bridge> [ddnet] @Jupstar ✪ i remember u talking about which linker was faster, maybe u can try https://github.com/rui314/mold, made by the creator of llvm ld 09:05 <+bridge> [ddnet] > It looks like mold has achieved the goal. It can link Chromium in 2 seconds with 8-cores/16-threads, and if I enable the preloading feature (I'll explain it later), the latency of the linker for an interactive use is less than 900 milliseconds. It is actualy faster than cat. 09:06 <+bridge> [ddnet] :poggers: 09:07 <+bridge> [ddnet] Sounds good 14:58 <+ChillerDragon> looks like ger2 and ger3 have a unconfigures nginx and apache running. Is this a feature or a bug? :D 14:59 <+ChillerDragon> i was exploring ddnet a bit while i wondered how i should configure my apache 15:49 <+bridge> [ddnet] ChillerDragon: For GER2: It's configured, but on a hostname you don't know :D. For GER3: We don't run that server anymore, so that belongs to someone else, let me remove the dns entry 15:52 <+bridge> [ddnet] Actually, it's not a secret. https://info.ddnet.tw/info is on GER2 for old clients since we used to hardcode our root certificate, which doesn't play well with Cloudflare 15:52 <+bridge> [ddnet] New clients access https://info2.ddnet.tw/info 16:00 <+ChillerDragon> yea well sure idk if its configured or not i mean it just shows the default page i mean 16:00 <+ChillerDragon> good ol' legacy support :D 20:14 <+bridge> [ddnet] @heinrich5991 https://blog.rust-lang.org/2021/02/26/const-generics-mvp-beta.html 20:14 <+bridge> [ddnet] 🙂 20:14 <+bridge> [ddnet] 🙂 20:15 <+bridge> [ddnet] @heinrich5991 i think this solves this kind of thing: 20:15 <+bridge> [ddnet] ```rust 20:15 <+bridge> [ddnet] async fn index(path: web::Path<(String, String)>, json: web::Json) -> impl Responder { 20:15 <+bridge> [ddnet] let path = path.into_inner(); 20:15 <+bridge> [ddnet] format!("{} {} {} {}", path.0, path.1, json.id, json.username) 20:15 <+bridge> [ddnet] } 20:16 <+bridge> [ddnet] ``` 20:16 <+bridge> [ddnet] this is a endpoint in actix 20:16 <+bridge> [ddnet] the parameters are called extractors 20:16 <+bridge> [ddnet] i think they are limited to 10 rn 20:16 <+bridge> [ddnet] but with const generics it could be infinite right? 20:17 <+bridge> [ddnet] hmm i wonder if this was it 20:18 <+bridge> [ddnet] > An extractor can be accessed as an argument to a handler function. Actix-web supports up to 10 extractors per handler function. Argument position does not matter. 20:19 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814939630008926248/unknown.png 20:19 <+bridge> [ddnet] i wonder if const generics can fix this 20:19 <+bridge> [ddnet] too advanced for me 20:19 <+bridge> [ddnet] help 20:19 <+bridge> [ddnet] brain melt 20:19 <+bridge> [ddnet] ? 20:19 <+bridge> [ddnet] i only understand c# console.writeline() 20:19 <+bridge> [ddnet] This is the ugliest thing I've ever seen, what is this for? 😄 20:19 <+bridge> [ddnet] @Learath2 to make the extractors thing a breeze on ur function 20:19 <+bridge> [ddnet] sorry for interrupting the coding conversation here, bye 20:20 <+bridge> [ddnet] @Learath2 did u see my index function 20:20 <+bridge> [ddnet] u can ask what u want in the parameter 20:20 <+bridge> [ddnet] e.g i want the session 20:20 <+bridge> [ddnet] u put session: Session 20:21 <+bridge> [ddnet] the magic that does this is that 20:21 <+bridge> [ddnet] but its limited rn 20:21 <+bridge> [ddnet] due to no const generics 20:21 <+bridge> [ddnet] Ah, this is very common in PHP. Good to see they added a way to do it in rust 20:21 <+bridge> [ddnet] to 10 20:21 <+bridge> [ddnet] Symfony calls it depencency injection, it makes it sooooo pretty to code 20:21 <+bridge> [ddnet] yeah 20:21 <+bridge> [ddnet] its pretty af 20:24 <+bridge> [ddnet] @Learath2 20:24 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814940965508087808/unknown.png 20:24 <+bridge> [ddnet] :monkalaugh: 20:26 <+bridge> [ddnet] Symfony goes one step further, you can just put a security annotation up top and get the user injected 20:26 <+bridge> [ddnet] im sure u can do that 20:26 <+bridge> [ddnet] with a guard 20:26 <+bridge> [ddnet] or a middleware 20:26 <+bridge> [ddnet] idk rn 20:59 <+bridge> [ddnet] @Learath2 ok its not const generics 20:59 <+bridge> [ddnet] it needs this https://github.com/rust-lang/rfcs/issues/376 20:59 <+bridge> [ddnet] variadic generics 21:00 <+bridge> [ddnet] :monkalaugh: 22:25 <+bridge> [ddnet] hello i have simple question, how want use cmake (with windows terminal not vs) for build ddnet So I created a build folder in the source code of ddnet but I don't know what to write to only compile the server :KEKW: 22:25 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814971544933498890/unknown.png 22:26 <+bridge> [ddnet] *build folder = test 22:57 <+bridge> [ddnet] which version of msvs do you hae installed? 23:03 <+bridge> [ddnet] what is msvs xd i just installer cmake on the official web site and i se windows command prompt 23:03 <+bridge> [ddnet] what is msvs xd i just installer cmake on the official web site and i use windows command prompt 23:03 <+bridge> [ddnet] microsoft visual studio 23:03 <+bridge> [ddnet] 19 23:03 <+bridge> [ddnet] ha 23:03 <+bridge> [ddnet] ah 🙂 23:03 <+bridge> [ddnet] why 23:03 <+bridge> [ddnet] because you need a compiler 23:03 <+bridge> [ddnet] i have mongw 23:03 <+bridge> [ddnet] mingw 23:04 <+bridge> [ddnet] ah, you want to compile with mingw? 23:04 <+bridge> [ddnet] can you open a mingw shell? 23:04 <+bridge> [ddnet] i dont have shell just installation manager 23:05 <+bridge> [ddnet] i only know how to compile 1 cpp file not i folder 23:05 <+bridge> [ddnet] show me how you compile one cpp file 23:05 <+bridge> [ddnet] hmm g++ 123.cpp -o 123 23:06 <+bridge> [ddnet] can you try mingw32-make --version? 23:06 <+bridge> [ddnet] can you try `mingw32-make --version`? 23:06 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814981798231539772/unknown.png 23:06 <+bridge> [ddnet] nice 23:07 <+bridge> [ddnet] then try `cmake -G "MinGW Makefiles" ..` 23:08 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814982222083915826/unknown.png 23:09 <+bridge> [ddnet] ah, cd to the build folder first 23:09 <+bridge> [ddnet] same 23:11 <+bridge> [ddnet] can you screenshot the error again please? 23:12 <+bridge> [ddnet] ha sorry that work 23:12 <+bridge> [ddnet] what does the command say now? was it successful? 23:13 <+bridge> [ddnet] -- Configuring done 23:13 <+bridge> [ddnet] -- Generating done 23:13 <+bridge> [ddnet] and now? 23:13 <+bridge> [ddnet] if i want build ddnet server what i do? 23:14 <+bridge> [ddnet] cmake --build . 23:14 <+bridge> [ddnet] `cmake --build . --target DDNet-Server` 23:16 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814984287887425628/unknown.png 23:17 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814984424030076938/unknown.png 23:17 <+bridge> [ddnet] look for an error, those are mostly just warnings 23:17 <+bridge> [ddnet] error 2? 23:18 <+bridge> [ddnet] that's the result of another error 23:18 <+bridge> [ddnet] look for an error like C:\...\system.c: error: ... 23:19 <+bridge> [ddnet] i dont see that 23:21 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c: At top level: 23:21 <+bridge> [ddnet] cc1.exe: warning: unrecognized command line option '-Wno-nullability-completeness' 23:21 <+bridge> [ddnet] CMakeFiles\engine-shared.dir\build.make:774: recipe for target 'CMakeFiles/engine-shared.dir/src/base/system.c.obj' failed 23:21 <+bridge> [ddnet] mingw32-make.exe[3]: *** [CMakeFiles/engine-shared.dir/src/base/system.c.obj] Error 1 23:21 <+bridge> [ddnet] CMakeFiles\Makefile2:432: recipe for target 'CMakeFiles/engine-shared.dir/all' failed 23:21 <+bridge> [ddnet] mingw32-make.exe[2]: *** [CMakeFiles/engine-shared.dir/all] Error 2 23:21 <+bridge> [ddnet] CMakeFiles\Makefile2:558: recipe for target 'CMakeFiles/DDNet-Server.dir/rule' failed 23:21 <+bridge> [ddnet] mingw32-make.exe[1]: *** [CMakeFiles/DDNet-Server.dir/rule] Error 2 23:21 <+bridge> [ddnet] Makefile:357: recipe for target 'DDNet-Server' failed 23:21 <+bridge> [ddnet] mingw32-make.exe: *** [DDNet-Server] Error 2``` 23:21 <+bridge> [ddnet] this is suspicious 23:21 <+bridge> [ddnet] this is the result of an earlier error 23:22 <+bridge> [ddnet] it says: "recipe for target … system.c" failed 23:22 <+bridge> [ddnet] it says: "recipe for target … system.c failed" 23:22 <+bridge> [ddnet] that means it tried to build system.c, but it failed. the command output above should say why it failed 23:25 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:20: error: expected ';' before 'ShellExecuteA'``` 23:25 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:10: error: 'uintptr_t' undeclared (first use in this function)``` 23:25 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3395:1: warning: control reaches end of non-void function [-Wreturn-type]``` 23:25 <+bridge> [ddnet] this is alls error i seen look that started to crash here 23:25 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814986528585547806/unknown.png 23:25 <+bridge> [ddnet] look at my picture 23:26 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:20: error: expected ';' before 'ShellExecuteA'``` 23:26 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:10: error: 'uintptr_t' undeclared (first use in this function)``` 23:26 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3395:1: warning: control reaches end of non-void function [-Wreturn-type]``` 23:26 <+bridge> [ddnet] this is alls error i seen look, that started to crash here 23:26 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814986528585547806/unknown.png 23:26 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:20: error: expected ';' before 'ShellExecuteA'``` 23:26 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3387:10: error: 'uintptr_t' undeclared (first use in this function)``` 23:26 <+bridge> [ddnet] ```C:\Users\noasc\Documents\DDNet-15.3.2\src\base\system.c:3395:1: warning: control reaches end of non-void function [-Wreturn-type]``` 23:26 <+bridge> [ddnet] this is alls error i see look, this started to crash here 23:26 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814986528585547806/unknown.png 23:36 <+bridge> [ddnet] `error: expected ';' before 'ShellExecuteA'` ah, that's the problem 23:38 <+bridge> [ddnet] add `#include ` to the top of src/base/system.c 23:55 <+bridge> [ddnet] the red is my bad but after i dont know 23:55 <+bridge> [ddnet] https://cdn.discordapp.com/attachments/293493549758939136/814994028910084166/unknown.png 23:57 <+bridge> [ddnet] did you maybe mis-spell ConAddWeapon? 23:58 <+bridge> [ddnet] yep 23:59 <+bridge> [ddnet] im autistic 23:59 <+bridge> [ddnet] try recompiling and see if there's still an error