IRC logs for #openttd on OFTC at 2022-03-03
            
00:13:33 *** milek7 has quit IRC (Server closed connection)
00:13:33 *** milek7 has joined #openttd
00:27:33 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
00:27:47 *** WormnestAndroid has joined #openttd
01:22:32 *** iSoSyS has joined #openttd
01:23:36 *** iSoSyS has quit IRC ()
02:07:31 *** tokai|noir has joined #openttd
02:07:31 *** ChanServ sets mode: +v tokai|noir
02:14:29 *** tokai has quit IRC (Ping timeout: 480 seconds)
02:16:02 *** Wormnest has quit IRC (Quit: Leaving)
02:28:09 *** Gustavo6046_ has joined #openttd
02:28:19 *** Gustavo6046 has quit IRC (Remote host closed the connection)
02:41:33 *** Aileen[m] has quit IRC (Server closed connection)
02:41:34 *** Aileen[m] has joined #openttd
02:41:57 *** citronbleuv[m] has quit IRC (Server closed connection)
02:41:59 *** citronbleuv[m] has joined #openttd
02:42:21 *** cjmonagle[m] has quit IRC (Server closed connection)
02:42:25 *** cjmonagle[m] has joined #openttd
02:42:45 *** einar[m] has quit IRC (Server closed connection)
02:42:50 *** einar[m] has joined #openttd
02:43:09 *** gdown has quit IRC (Server closed connection)
02:43:10 *** gdown has joined #openttd
02:43:33 *** giords[m] has quit IRC (Server closed connection)
02:43:35 *** giords[m] has joined #openttd
02:43:57 *** hamstonkid[m] has quit IRC (Server closed connection)
02:44:00 *** hamstonkid[m] has joined #openttd
02:44:21 *** Heiki[m] has quit IRC (Server closed connection)
02:44:25 *** Heiki[m] has joined #openttd
02:44:45 *** jeremy[m]1 has quit IRC (Server closed connection)
02:44:51 *** jeremy[m]1 has joined #openttd
02:45:09 *** leward[m] has quit IRC (Server closed connection)
02:45:11 *** leward[m] has joined #openttd
02:45:33 *** vista_narvas[m] has quit IRC (Server closed connection)
02:45:36 *** vista_narvas[m] has joined #openttd
02:46:51 *** Gustavo6046_ has quit IRC (Quit: Leaving)
02:47:02 *** Gustavo6046 has joined #openttd
02:55:35 *** Flygon has joined #openttd
02:57:43 *** glx has quit IRC ()
03:41:51 *** D-HUND has joined #openttd
03:44:55 *** Wuzzy has quit IRC (Quit: Wuzzy)
03:45:14 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:05:02 *** D-HUND is now known as debdog
04:10:00 *** Gustavo6046_ has joined #openttd
04:10:09 *** Gustavo6046 has quit IRC (Read error: Connection reset by peer)
04:10:27 *** Gustavo6046_ has quit IRC ()
04:14:45 *** Gustavo6046 has joined #openttd
04:15:05 *** azubieta60 has quit IRC (Remote host closed the connection)
04:15:48 *** azubieta60 has joined #openttd
04:26:14 *** snail_UES_ has joined #openttd
04:27:33 *** Artea has quit IRC (Server closed connection)
04:27:36 *** Artea has joined #openttd
05:00:10 *** Gustavo6046 has quit IRC (Ping timeout: 480 seconds)
05:18:06 *** snail_UES_ has quit IRC (Quit: snail_UES_)
05:48:21 *** iarp[m] has quit IRC (Server closed connection)
05:48:26 *** iarp[m] has joined #openttd
06:48:21 *** phil[m] has quit IRC (Server closed connection)
06:48:24 *** phil[m] has joined #openttd
06:58:07 *** Gustavo6046 has joined #openttd
07:31:37 *** andythenorth has joined #openttd
07:32:34 *** sla_ro|master has joined #openttd
07:55:56 *** Gustavo6046 has quit IRC (Quit: Leaving)
09:03:08 *** andythenorth has quit IRC (Quit: andythenorth)
09:10:36 *** andythenorth has joined #openttd
11:23:24 *** andythenorth has quit IRC (Quit: andythenorth)
11:27:03 *** andythenorth has joined #openttd
11:50:22 *** sla_ro|master has quit IRC ()
11:58:38 *** iSoSyS has joined #openttd
12:02:48 *** iSoSyS has quit IRC ()
12:43:47 <argoneus> i like trains
13:31:30 *** glx has joined #openttd
13:31:30 *** ChanServ sets mode: +v glx
13:51:24 *** sla_ro|master has joined #openttd
15:18:04 *** nielsm has joined #openttd
15:51:00 *** Wormnest has joined #openttd
16:14:40 *** andythenorth has quit IRC (Quit: andythenorth)
16:20:38 *** gelignite has joined #openttd
16:42:12 *** andythenorth has joined #openttd
17:07:49 <andythenorth> are hidpi external monitors a thing yet?
17:08:10 <andythenorth> if I plug my external display in, it's so lo-res it's not worth bothering
17:09:00 <FLHerne> Yes, there are smallish 4k and 5k monitors
17:10:16 <FLHerne> Dell have an 8K (7,680 x 4,320) 32" display
17:10:23 <FLHerne> but £££ obviously
17:11:55 <andythenorth> I only need it occasionally for doing web design
17:12:56 *** Strom has quit IRC ()
17:14:35 *** Strom has joined #openttd
17:14:35 <Flygon> I want that Dell monitor so bad
17:14:37 <Flygon> Hahaha.
17:14:45 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:18:38 <DorpsGek> [OpenTTD/OpenTTD] srl295 commented on issue #6922: Replace ICU ParagraphLayout with something else? https://github.com/OpenTTD/OpenTTD/issues/6922
17:19:56 <TrueBrain> where is frosch123 .. I have a C++ challenge ... https://godbolt.org/z/Th6YT1G3x :P I want to not have unique_ptr two times, and not have the make_unique at the caller (but I would rather have it in the class) .. but my C++-skills fail me :P
17:34:57 *** lobster has joined #openttd
17:43:02 *** lobster has quit IRC (Ping timeout: 480 seconds)
17:59:18 *** frosch123 has joined #openttd
18:13:42 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #9709: Feature: Build objects by area https://github.com/OpenTTD/OpenTTD/pull/9709
18:25:16 <frosch123> TrueBrain: no idea what you want to do, looks like pImpl somewhat... if you really want to avoid the std::make_unique, then forwards the constructor args to a factory function: https://godbolt.org/z/Er67zcWf6
18:26:05 <TrueBrain> Forward of args.. didn't think of that.. that ain't half bad
18:26:21 <TrueBrain> At least reduces duplication in one place :D
18:26:33 <frosch123> note: you cannot template the constructor, because that only works if all template-args are deducible, which is not the case for T
18:26:38 *** gelignite has quit IRC (Remote host closed the connection)
18:27:03 <frosch123> template constructors are hell, never use them, always prefer static methods :)
18:27:09 *** gelignite has joined #openttd
18:27:27 *** Gustavo6046 has joined #openttd
18:27:33 <TrueBrain> So I found out .... :p
18:27:38 <TrueBrain> Kept hoping it was just me :(
18:28:16 <frosch123> there is just no new T<class-template-args>::T<constructor-template-args>() :)
18:28:50 <frosch123> i once made the mistake to use a templated constructor, and it ran well because everythign could be deduced
18:28:57 <TrueBrain> And also no way to say: this member function doesn't need the template
18:29:22 <frosch123> until there was a case where that did no longer work... and explicit template parameters were needed... so i had to API break
18:30:00 <frosch123> TrueBrain: in the example above you can also make the real constructor private, if you only want to allow the "create" call
18:30:38 <TrueBrain> Yeah .. was planning to do so :D
18:30:59 <frosch123> anyway, i spent half the day debugging boost::python in some legacy code :) i recomment pybind11 for all new code
18:31:32 <TrueBrain> Today I also found out std::condition_variable uses system_clock .. lovely if the clock gets put backwards ...
18:31:38 <TrueBrain> Also fun :p
18:31:56 <frosch123> that sounds like something that is compiler specific :p
18:32:08 <TrueBrain> At least GCC does it
18:32:19 <TrueBrain> Rest becomes irrelevant :p
18:32:25 <TrueBrain> One is enough ...
18:32:54 <TrueBrain> But it is so stupid ...
18:37:14 <frosch123> TrueBrain: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 <- fixed in gcc10?
18:38:04 <TrueBrain> Ah .. stuck on gcc9 ..
18:38:36 <frosch123> the issue was open less than 10 years :)
18:40:45 <Rubidium> frosch123: are you sure? They might have messed with the clock for that ticket ;)
18:42:43 <frosch123> i don't know. as far as i know: the universe and this irc log were created 5 seconds ago by the invisible pink unicorn
18:45:59 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/0d8fbf647b2c819bee0a0883b5fc831aa64e4ee0
18:46:00 <DorpsGek> - Update: Translations from eints (by translators)
18:47:04 <TrueBrain> what also was fun on this fine day, was that someone decided to have a throw in a dtor
18:47:12 <TrueBrain> which meant there were a lot of noexcept(false)
18:47:25 <TrueBrain> which other developers were like: owh, that means the dtor doesn't throw exceptions, let me copy/paste that to even more places!
18:47:30 <TrueBrain> such silliness ...
18:47:34 <TrueBrain> throwing in dtors ...
18:48:19 <frosch123> did you throw stones in return?
18:49:18 <TrueBrain> do a lot of facepalms work too?
18:49:26 <Rubidium> std::bad_exception maybe? ;)
18:49:58 <TrueBrain> had to read up what actually happens when you throw in dtors, was fun
18:50:15 <TrueBrain> forgot how terrible the stack unwinding was :P
18:50:31 <Rubidium> throwing in assignment is already a nightmare
18:50:57 <TrueBrain> so I am now happy to report there are a lot more assert(false) in the code :P
18:51:51 <Rubidium> but... maybe C++23 with std::expected and then just disabling exceptions? After all, if you're in embedded you rather not have exceptions and dynamic casts/RTTI for the sake of space ;)
20:55:02 *** Cthulhux has joined #openttd
20:58:27 <frosch123> hmm, ottd reaches adult age on sunday, what will it do then
20:59:23 <Cthulhux> drink a LOT of booze.
21:08:26 <andythenorth> USA adult age, or europe?
21:12:00 <frosch123> ottd is pretty european
21:44:22 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
21:56:24 *** nielsm has quit IRC (Ping timeout: 480 seconds)
21:56:33 *** sla_ro|master has quit IRC ()
22:04:27 *** _aD has joined #openttd
22:06:29 *** gelignite has quit IRC (Quit: Stay safe!)
22:33:21 *** michi_cc_ has joined #openttd
22:34:30 *** michi_cc is now known as Guest1170
22:34:30 *** michi_cc_ is now known as michi_cc
22:38:17 *** Guest1170 has quit IRC (Ping timeout: 480 seconds)
23:06:20 *** andythenorth has quit IRC (Quit: andythenorth)