09:31 <+bridge> interesting, `operator=` departs from references to mean rebinding (same as `std::reference_wrapper`, apparently) 11:44 <+bridge> chillerdragon: _insert heino yap about how bad default arguments are hrhr_ 11:44 <+bridge> hrhrhher 11:44 <+bridge> chillerdragon: _insert heino yap about how bad default arguments are hrhr_ 11:44 <+bridge> hrhrhhr 12:12 <+bridge> since I have the c++ experts available: I have a class that is not cheaply constructible. I want to have a local variable of it, initialized with one of two alternatives — how do I do this? 12:12 <+bridge> I see my options with `?:` or creating a new function that can return that instance, if I want to use an `if`-`else`-construct 12:14 <+bridge> (in rust, I'd do something like this: 12:14 <+bridge> ```rs 12:14 <+bridge> let object = if alternative { 12:14 <+bridge> Class::one() 12:14 <+bridge> } else { 12:14 <+bridge> Class::two() 12:14 <+bridge> } 12:14 <+bridge> ``` 12:14 <+bridge> yeah I think it's either that or applying and using std::unique_ptr 12:14 <+bridge> or an IIFE I guess 12:15 <+bridge> or 12:15 <+bridge> ```rs 12:15 <+bridge> let object; 12:15 <+bridge> if alternative { 12:15 <+bridge> object = Class::one(); 12:15 <+bridge> } else { 12:15 <+bridge> object = Class::two(); 12:15 <+bridge> } 12:15 <+bridge> ``` 12:15 <+bridge> I see, thanks 🙂 12:15 <+bridge> (in rust, I'd do something like this: 12:15 <+bridge> ```rs 12:15 <+bridge> let object = if alternative { 12:15 <+bridge> Class::one() 12:15 <+bridge> } else { 12:15 <+bridge> Class::two() 12:15 <+bridge> }; 12:15 <+bridge> ``` 13:10 <+bridge> Regardless shouldn't optimizer remove redundant set from default construction (assuming it doesn't have side effects) 13:13 <+bridge> the object is expensive to construct, I doubt that the compiler would be able to elide it 16:45 <+bridge> add vote "unfinished by everyone in team of vote caller" PLEASE 16:45 <+bridge> When playing 2+team, so hard to find unfinished maps 16:45 <+bridge> @Moderator 16:45 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519715142634311801/image.jpg?ex=6a3e9084&is=6a3d3f04&hm=25a764c9c5ffa50e8ed0ac150023917653acd429caf4a7c25387df64f0d77532& 16:45 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519715143175639050/image.jpg?ex=6a3e9085&is=6a3d3f05&hm=f56708736706a68a5f8ec81d8fd889d1d2f6defc27e40930853fa4e1d35f1f91& 16:45 <+bridge> Cant compare more than 2 players in ddnet ranks on site 16:53 <+bridge> so what should i do? 16:53 <+bridge> its really random and i cant play on ddnet client since it doesnt have fastinput 17:04 <+bridge> bro 17:04 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519719862094663761/1.jpg?ex=6a3e94ea&is=6a3d436a&hm=42450c0f1d4432502e1ae5343b418febe263560591f199ba7097aaff90b0d2f1& 17:04 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519719863101161625/2.jpg?ex=6a3e94ea&is=6a3d436a&hm=8df5fc15e13be6d1af224ad051baafac5a00e1a3ece1048c9e308f245505d74d& 17:04 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519719863977906388/3.jpg?ex=6a3e94ea&is=6a3d436a&hm=1a0e4be68b32ee7f4706ddf9dcc06d8ada8eeea2e20c65df9d2d98c6f27e4d64& 17:04 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519719864544006154/4.jpg?ex=6a3e94ea&is=6a3d436a&hm=2d6036daf9e5c6d548812d9c5cc166af06fb071f719635b6173fb4889e4da532& 17:08 <+bridge> Why dont u go to tatergroup and tell him his client does crash? 17:09 <+bridge> there is a hard solution you probably don't like and another solution you'd hate :/ 17:10 <+bridge> you can switch OS or revert the windows update, or keep waiting for new drivers hoping the problem fixes itself eventually 17:11 <+bridge> I wonder if this change came with the never nvidida driver for you and you might just need to revert to 595 17:20 <+bridge> i got the same crash before on a previous driver update so i dont think thats the issue, so its probably windows version 17:20 <+bridge> i guess ill just hope for a new driver update that hopefully fixes it 17:20 <+bridge> and i dont really want to switch os 17:26 <+bridge> You do can 17:26 <+bridge> https://ddnet.org/compare/Pioooooo/1/2/ 18:34 <+bridge> Trough a slash all nicknames? 18:37 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519743292403748954/waterfox_Q2evRkOLtV.png?ex=6a3eaabc&is=6a3d593c&hm=352a51bca70fe318664b5efcca5fa82846aa80eba543e8830d2c6739405ed636& 18:59 <+bridge> actually yes https://ddnet.org/compare/Pioooooo/Assa/ 18:59 <+bridge> 18:59 <+bridge> only 3 moderates to do for me and Pioo 21:33 <+bridge> hello im back 21:33 <+bridge> ChillerDragon: did volleybot compile? 22:11 <+bridge> hi back im fox 22:13 <+bridge> volleybot is going down regardless :P hopefully he can figure out the boticus 22:15 <+bridge> yo 22:16 <+bridge> is there a library like mineflayer.js for ddnet 22:16 <+bridge> to create bots 22:16 <+bridge> of any languages 22:17 <+bridge> https://github.com/swarfeya/teeworlds-library-ts 22:18 <+bridge> is it js or cpp 22:18 <+bridge> typescript 22:18 <+bridge> u could open and check in 0.1 s 22:20 <+bridge> nah the ts in the url stands for something else 22:22 <+bridge> zoomer slang you wouldnt get it 22:22 <+bridge> 🥀 22:23 <+bridge> bad 22:24 <+bridge> https://xkcd.com/1053/ 22:42 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519804914983899246/image.jpeg?ex=6a3ee420&is=6a3d92a0&hm=747c88d4777317cc5e43374a349efb01794265cc657436bae282b8a70d2ae516& 22:42 <+bridge> https://cdn.discordapp.com/attachments/293493549758939136/1519804915558645760/image.jpeg?ex=6a3ee420&is=6a3d92a0&hm=6e657b51524314f362c193acd253303b0bf0a5164db44c5274dba1f4ff0b3877& 22:59 <+bridge> Today I reached new level of stupidity while trying to debug why my cmake monstrosity doesn't work. I had an include like `#include ""` and I didn't notice it what's wrong with it for a looong time :pepeW: 23:08 <+bridge> just use CLion 23:09 <+bridge> Today I reached new level of stupidity while trying to debug why my cmake monstrosity doesn't work. I had an include like `#include ""` and I didn't notice what's wrong with it for a looong time :pepeW: 23:09 <+bridge> its modifies/shows errors 23:58 <+bridge> or dont use cmake