Config
Log for #openttd on 14th July 2022:
Times are UTC Toggle Colours
2022-11:40:18  *** lobstarooo has joined #openttd
11:40:55  *** lobstarooo_ has joined #openttd
11:48:05  *** lobster has quit IRC
11:48:05  *** lobstarooo_ is now known as lobster
11:48:29  *** lobstarooo has quit IRC
12:23:31  *** andythenorth has quit IRC
12:27:11  *** andythenorth has joined #openttd
12:33:34  *** andythenorth has quit IRC
12:41:29  *** andythenorth has joined #openttd
12:47:17  *** Smedles has quit IRC
12:47:27  *** Smedles has joined #openttd
12:50:32  *** andythenorth has quit IRC
13:02:13  *** andythenorth has joined #openttd
13:09:58  *** WormnestAndroid has quit IRC
13:10:16  *** WormnestAndroid has joined #openttd
13:16:43  *** andythenorth has quit IRC
13:28:05  *** andythenorth has joined #openttd
13:38:55  <Samu> @calc 1183/2251
13:38:56  <DorpsGek> Samu: 0.5255442025766326
13:39:30  <Samu> wow, only takes 52% of the time, that was a great improvement
13:46:41  <Samu> I created 2 methods for checking whether the so called UsedTiles list conflict with another UsedTiles list
13:47:36  *** sla_ro|master has quit IRC
13:47:46  <Samu> the first method, the original, stores all tiles and checks conflicts by searching if a tile is on the other list
13:49:26  <Samu> the second method, stores only the start and end tile and treats them as only 1 item, it checks conflicts by doing some min_x, max_x, min_y, max_y etc... computations
13:49:45  <Samu> so far the results impress me
13:49:52  <Samu> 2nd method is faster
13:52:42  <Samu> it's funny because the 2nd method requires much more code that the first, and ends doing better
13:55:09  <Samu> first method fast forwards faster though... https://i.imgur.com/ZNqSCsY.png
14:18:51  *** nielsm has joined #openttd
14:46:44  *** glx has joined #openttd
14:46:44  *** ChanServ sets mode: +v glx
14:52:03  <glx> there are new boto3 and botocore version everyday, maybe "ignore this minor version" could be an option for them
15:33:02  *** HerzogDeXtEr has joined #openttd
15:33:26  <TrueBrain> glx: guess we should put the schedule on weekly, to reduce their spam
15:33:29  <TrueBrain> But .. effort
15:34:05  <TrueBrain> Ignoring is tricky, as then it won't update for months :p
15:34:19  <TrueBrain> (The minor doesn't change often ..)
15:34:31  <TrueBrain> But yeah, their release frequency is very annoying
15:34:51  <glx> changelog show they just add more and more stuff everyday
15:35:58  <TrueBrain> we could also make it a ruleset that boto* only updates monthly, I think
15:36:01  <TrueBrain> the syntax suggests that might be possible
15:36:57  <glx> and I fear at one point a new boto* version will break another lib
15:37:27  <TrueBrain> https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#ignore .. just not sure if you can put the same file twice under dependabot
15:37:37  <TrueBrain> will try that out after dinner :)
15:48:29  <glx> https://github.com/dependabot/dependabot-core/issues/2165 <-- seems we are not the only ones to be annoyed by some deps
15:54:05  *** Montana has joined #openttd
16:24:05  <TrueBrain> They seem to suggest you can't do what I suggest .. sad
16:24:30  <glx> would really be a nice addition
16:31:21  *** Wormnest has joined #openttd
16:34:27  *** Smedles has quit IRC
16:35:00  *** Smedles has joined #openttd
16:38:24  *** frosch123 has joined #openttd
16:38:36  *** Montana has quit IRC
16:39:31  <frosch123> DorpsGek: do you read info@ ?
16:39:43  <frosch123> you have been identified as being particular helpful to new contributors
16:39:54  <frosch123> and are asked to participate in a survey on how to lower entry barriers
16:40:25  <glx> haha
16:41:14  <frosch123> he's such a good boy :)
17:04:48  *** andythenorth has quit IRC
17:11:54  *** WormnestAndroid has quit IRC
17:12:03  *** WormnestAndroid has joined #openttd
17:12:48  *** WormnestAndroid has joined #openttd
17:24:52  *** sla_ro|master has joined #openttd
17:35:44  <TrueBrain> and all because of https://github.com/OpenTTD/OpenTTD/issues/5006
17:35:45  <TrueBrain> lol
17:36:16  <TrueBrain> I do appreciate they send the request twice
17:36:18  <TrueBrain> just to be sure
17:41:57  <frosch123> yep, based on that you can gues how they made their statistics :)
17:42:14  <frosch123> label "good first issue", and dorpsgek as "owner" with 10 comments :)
17:44:26  <frosch123> hmm, no, dorpsgek is not even a public member
17:56:29  *** andythenorth has joined #openttd
18:35:29  <TrueBrain> DorpsGek isn't? Hmm .. that might be a reason the request to make the OpenTTD Discord official kept failing ..
18:36:11  <TrueBrain> ah, it is only in a secret group .. lol
18:38:29  <frosch123> only very few people are public members
18:38:33  <frosch123> most are only visible to members
18:38:50  <TrueBrain> I keep forgetting how much more info I see as owner of those orgs :P
18:39:28  <TrueBrain> it is funny, I can downgrade people to "private", but I cannot upgrade them to "public" :D
18:41:34  <TrueBrain> btw, find of the day: https://godbolt.org/z/MPsYfvajx
18:41:40  <TrueBrain> any other integer fails compiling
18:41:47  <TrueBrain> and this just throws, always
18:41:50  <TrueBrain> I expected more of the compiler
18:42:03  <frosch123> yeah, c legacy :)
18:42:27  <frosch123> 0 is identical to NULL, and is thus applied to char*
18:42:27  <TrueBrain> yeah, stupid
18:42:42  <TrueBrain> I mean, at least it should be able to detect compile-time that it will ALWAYS throw
18:42:57  <TrueBrain> I was missing an overload in my case, so it took a while before I noticed this
18:43:25  <frosch123> i think i saw some suggestion to add another overload to catch nullptr_t
18:43:32  <frosch123> but i guess it did not make it
18:43:55  <frosch123> std::string::string(nullptr_t) = delete;
18:46:21  *** andythenorth has quit IRC
18:47:02  <Rubidium> https://godbolt.org/z/KvocPWf33 <- it somewhat did make it...
18:47:12  <frosch123> https://cplusplus.github.io/LWG/lwg-closed.html#466
18:47:38  <TrueBrain> Rubidium: std::string& != std::string :)
18:48:08  <Rubidium> https://github.com/cplusplus/papers/issues/887
18:49:04  <frosch123> ah, yes, that issue is somewhat newer than my link
18:50:12  <frosch123> TrueBrain: indeed, your godbolt fails to compile with gcc trunk and --std=c++23 :)
18:50:29  <Rubidium> https://godbolt.org/z/64scoGezW <- and with MSVC it fails too
18:50:29  <frosch123> so, implemented \o/
18:50:57  <Rubidium> so... when C++23?
18:51:12  <TrueBrain> frosch123: guess time to upgrade the compiler at work ..... :D
18:51:46  <frosch123> i still do not have c++17 at work :p
18:52:19  <TrueBrain> I saw an opportunity and took it, so I have that going for me :)
19:01:57  *** gelignite has joined #openttd
19:42:12  <Samu> i wanted to implement a simple feature, the consecutive turns
19:42:29  <Samu> if there is a turn after another, a cost would be added
19:43:03  <Samu> but after some digging, the way turn costs are handled are very weird
19:43:44  <Samu> the cost is not added for the immediately new tile, but for a previous tile, or even 2 previous tiles
20:03:17  <Samu> checking for a turn requires 4 tiles...
20:03:40  *** Alkel_U3 has quit IRC
20:04:07  <Samu> and the turn is for the crossing of the 2nd tile to the 3rd tile
20:04:50  <Samu> if i wanna check for consecutive turns, i'm gonna need 5 tiles
20:05:04  <Samu> I don't see another way around this
20:09:43  *** Flygon has quit IRC
20:25:37  *** Venemo has quit IRC
20:26:00  *** Venemo has joined #openttd
20:31:45  *** nielsm has quit IRC
20:32:08  *** frosch123 has quit IRC
20:36:55  <peter1138> Grrr
20:37:01  <peter1138> Stupid average speeds
20:41:28  <peter1138> https://dogbolt.org/ Haha
20:57:18  *** HerzogDeXtEr has quit IRC
21:03:34  <dwfreed> peter1138: what's funny is that for the first ctf challenge sample and the default decompilers, only hex-rays actually gives the value of the secret
21:06:58  <dwfreed> also has the best decoding of the encrypt function
21:53:59  *** JamesRoss[m] has joined #openttd
22:02:17  *** gelignite has quit IRC
22:06:14  *** Samu has quit IRC
22:53:21  <FLHerne> > Devs not baking monetisation into the creative process are "fucking idiots", says Unity’s John Riccitiello
22:53:33  <FLHerne> almost everyone here is an idiot then
23:12:41  *** sla_ro|master has quit IRC
23:23:11  *** Smedles has quit IRC
23:23:44  *** Smedles has joined #openttd

Powered by YARRSTE version: svn-trunk