00:09 < bridge> What's wrong with that 01:01 < bridge> is it only in nightly 01:02 < bridge> most likely 01:03 < bridge> not like you could tell the difference unless youre playing infclass or other mods 01:06 < bridge> i have been playing those lately 08:40 < bridge> <0xdeen> @tsfreddie Is it possible to rebase MomentCap on current DDNet? I couldn't get it to build, tried here: https://github.com/TeeworldsCN/MomentCap/pull/3 09:59 < bridge> can you compile the last commit from 2022 09:59 < bridge> learath changed some client code maybe that's borked. 10:00 < bridge> or maybe i borked it 10:00 < bridge> the last commit from 2022 should still be able to compile 11:02 < bridge> <0xdeen> no, we didn't support arm macos back then and I don't have another computer anymore 😄 11:03 < bridge> ah 11:03 < bridge> still in japan rn 11:04 < bridge> the client code is just a few console commands, and a hacked gameloop somewhere to do screenshots 11:05 < bridge> should be less than 100 lines i think? maybe manually porting it would be easier 11:05 < bridge> <0xdeen> Yeah, I was hoping that we can just rebase that, not sure if I'll have time this weekend though 11:05 < bridge> You could try to run the app with only 1 core 11:06 < bridge> If macos supports it: 11:06 < bridge> `taskset --cpu-list 1 ./DDNet` 11:06 < bridge> <0xdeen> nope 11:06 < bridge> <0xdeen> I think taskset is Linux only 11:06 < bridge> maybe wait until im back. i'll be back in like 6 days i think. 11:22 < bridge> <0xdeen> Maybe someone else can help: https://github.com/TeeworldsCN/MomentCap/pull/4 13:51 < bridge> @0xdeen could you try to build this branch https://github.com/MilkeeyCat/MomentCap/tree/hacky_hack 15:18 < bridge> https://cdn.discordapp.com/attachments/293493549758939136/1335253058292289606/image.png?ex=679f7ed0&is=679e2d50&hm=2762ace89dd26081799bb56506936cd2fe798f2591b5a63938bfd54c74d2af5f& 15:19 < bridge> @robyt3 wdym? 15:28 < bridge> he means you should switch to dark mode 15:48 < bridge> i have it on discord 15:48 < bridge> I dont use github 15:48 < bridge> dont judge 15:51 < bridge> https://www.baeldung.com/ops/git-squash-commits 18:36 < bridge> i do 18:36 < bridge> ```sh 18:36 < bridge> git reset --soft ddnet/master 18:36 < bridge> git add -A 18:36 < bridge> git commit -m "mymsg" 18:36 < bridge> git push --force 18:36 < bridge> ``` 18:36 < bridge> xd 18:36 < bridge> i do 18:36 < bridge> ```sh 18:36 < bridge> # git remote add ddnet https://github.com/ddnet/ddnet 18:36 < bridge> # git fetch ddnet 18:36 < bridge> git reset --soft ddnet/master 18:36 < bridge> git add -A 18:37 < bridge> git commit -m "mymsg" 18:37 < bridge> git push --force 18:37 < bridge> ``` 18:41 < bridge> I do 18:41 < bridge> ``` 18:41 < bridge> git rebase -i HEAD~N 18:41 < bridge> (do the rebase) 18:41 < bridge> git push --force 18:41 < bridge> ``` 18:43 < bridge> I also usually do this one, just more used to it, but the soft reset and re-commit is also fine 18:43 < bridge> Often I don't want to destroy the entire history but just tidy it up, so `rebase -i` is more convenient 20:03 < bridge> everyone asks how to squash commits but no one asks why squash commits 20:07 < bridge> to make the tree look cleaner 20:08 < bridge> but then again its still a tree for some reason, you can merge prs in a single commit 20:17 < bridge> chairn taught me this one 20:35 < bridge> u can change head to the commit before the wanted 20:40 < bridge> https://github.com/orhun/ratzilla 20:41 < bridge> https://orhun.dev/ratzilla/demo/ 21:00 < bridge> unironically the github graphic for discord previews is so perfect 21:22 < bridge> <0xdeen> ``` 21:22 < bridge> <0xdeen> /Users/deen/git/MomentCap/src/engine/shared/http.h:125:7: error: no template named 'optional' in namespace 'std' 21:22 < bridge> <0xdeen> 125 | std::optional m_ResultDate = {}; 21:22 < bridge> <0xdeen> | ~~~~~^ 21:22 < bridge> <0xdeen> ``` 21:25 < bridge> <0xdeen> Ah, this helps: 21:25 < bridge> <0xdeen> ``` 21:25 < bridge> <0xdeen> diff --git a/CMakeLists.txt b/CMakeLists.txt 21:25 < bridge> <0xdeen> index d52862185..56dc3c556 100644 21:25 < bridge> <0xdeen> --- a/CMakeLists.txt 21:25 < bridge> <0xdeen> +++ b/CMakeLists.txt 21:25 < bridge> <0xdeen> @@ -161,12 +161,12 @@ endif() 21:25 < bridge> <0xdeen> 21:25 < bridge> <0xdeen> if(NOT MSVC) 21:25 < bridge> <0xdeen> if(CMAKE_VERSION VERSION_LESS 3.1 OR TARGET_OS STREQUAL "mac") 21:25 < bridge> <0xdeen> - check_cxx_compiler_flag(-std=gnu++11 FLAG_SUPPORTED_std_gnu__11) 21:25 < bridge> <0xdeen> + check_cxx_compiler_flag(-std=c++17 FLAG_SUPPORTED_std_gnu__11) 21:25 < bridge> <0xdeen> if(FLAG_SUPPORTED_std_gnu__11) 21:25 < bridge> <0xdeen> if(CMAKE_CXX_FLAGS) 21:25 < bridge> <0xdeen> - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=gnu++11") 21:25 < bridge> <0xdeen> + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17") 21:25 < bridge> <0xdeen> else() 21:25 < bridge> <0xdeen> - set(CMAKE_CXX_FLAGS -std=gnu++11) 21:25 < bridge> <0xdeen> + set(CMAKE_CXX_FLAGS -std=c++17) 21:25 < bridge> <0xdeen> endif() 21:25 < bridge> <0xdeen> endif() 21:25 < bridge> <0xdeen> endif() 21:25 < bridge> <0xdeen> ``` 21:28 < bridge> <0xdeen> Got it working with some more hacks on top, thanks @milkeeycat 21:39 < bridge> @milkeeycat https://github.com/indutny/bitcode 21:39 < bridge> ill port something like this to rust 23:09 < bridge> what version are the test servers running? the "dont kill on practice" stuff would be.. really great on #⚡death and #⚡pile_of_needles 23:46 < bridge> 2.2 probably