IRC logs for #openttd on OFTC at 2025-02-15
            
00:14:54 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
01:31:19 *** Flygon has quit IRC (Read error: Connection reset by peer)
02:21:48 *** gelignite is now known as Guest9169
02:21:51 *** gelignite has joined #openttd
02:29:09 *** Guest9169 has quit IRC (Ping timeout: 480 seconds)
03:45:59 *** Wormnest has quit IRC (Quit: Leaving)
03:47:25 *** D-HUND has joined #openttd
03:50:49 *** debdog has quit IRC (Ping timeout: 480 seconds)
04:27:24 *** gelignite has quit IRC (Quit: Stay safe!)
04:44:45 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/f620ba9d05e234bb56b8aadc9a238f792bf676a7
04:44:46 <DorpsGek> - Update: Translations from eints (by translators)
05:09:18 *** keikoz has joined #openttd
06:43:09 <DorpsGek> [OpenTTD/BaNaNaS] telk5093 opened issue #153: @hilalhikmah uploaded other newgrf violates BaNaNaS TOS https://github.com/OpenTTD/BaNaNaS/issues/153
06:52:32 *** keikoz has quit IRC ()
08:04:25 *** tokai has quit IRC (Quit: c('~' )o)
08:05:28 *** keikoz has joined #openttd
08:13:45 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain closed issue #153: @hilalhikmah uploaded other newgrf violates BaNaNaS TOS https://github.com/OpenTTD/BaNaNaS/issues/153
08:13:48 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain commented on issue #153: @hilalhikmah uploaded other newgrf violates BaNaNaS TOS https://github.com/OpenTTD/BaNaNaS/issues/153
08:21:25 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain opened pull request #154: Add: mention where to report violations in the issue tracker https://github.com/OpenTTD/BaNaNaS/pull/154
08:25:10 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain updated pull request #154: Add: mention where to report violations in the issue tracker https://github.com/OpenTTD/BaNaNaS/pull/154
08:30:15 <DorpsGek> [OpenTTD/bananas-api] TrueBrain opened pull request #494: Codechange: update code to work with latest black https://github.com/OpenTTD/bananas-api/pull/494
08:33:45 <DorpsGek> [OpenTTD/actions] TrueBrain merged pull request #88: Feature: use arm64 runners for arm64 builds https://github.com/OpenTTD/actions/pull/88
08:40:13 <DorpsGek> [OpenTTD/bananas-api] TrueBrain merged pull request #494: Codechange: update code to work with latest black https://github.com/OpenTTD/bananas-api/pull/494
08:41:21 <truebrain> that moment the CI fails because there is a warning ... `Cache not found for keys`
08:41:22 <truebrain> great
08:41:23 <truebrain> 😄
08:47:14 <DorpsGek> [OpenTTD/actions] TrueBrain created new tag: v5.3.0 https://github.com/OpenTTD/actions/releases/tag/v5.3.0
08:47:39 <LordAro> that eslint config looks very "legacy"
08:47:53 <truebrain> it is 🙂
08:48:14 <truebrain> I like that the new version was like: NO. Here is where I draw the line. UPPPGRRRAAADDDDEEEE
08:49:17 <LordAro> mm, and it's so much harder to write
08:49:29 <LordAro> and half the plugins don't support it
08:49:49 <LordAro> at least, that was the case when i tried it a few months ago
08:50:10 <truebrain> I just ran the conversion script and called it a day
08:50:58 <truebrain> wow, the linux arm runner makes things so much quicker
08:53:18 <LordAro> woah
08:53:28 <LordAro> 4s for a complete flake8 run?
08:53:43 <LordAro> oh wait, 7 total. rounding :)
08:53:45 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain updated pull request #154: Add: mention where to report violations in the issue tracker https://github.com/OpenTTD/BaNaNaS/pull/154
08:53:49 <LordAro> but still
08:54:04 <truebrain> flake8 timing didn't change; why does 7s surprise you?
08:54:58 <LordAro> heh
08:55:09 <LordAro> maybe github doesn't include the docker spin up time
08:55:23 <truebrain> it should; it just is really quick. Always has been, as far as I know 🙂
08:55:28 *** D-HUND is now known as debdog
08:55:30 <LordAro> gitlab's jobs aren't nearly that fast
08:55:37 <truebrain> no no no, gitlab is horrible
08:56:16 <LordAro> :c
08:59:37 <truebrain> I was preparing myself to bump the Python in bananas-server to 3.11, only to find out it is already on 3.11
08:59:39 <truebrain> lol
09:00:06 <truebrain> did that in Sept 2023 already
09:00:14 <truebrain> I thought bananas-api was the first one we did, a few months back 😄
09:01:25 <truebrain> `Dependabot encountered an error performing the update Error: (HTTP code 404) no such container - No such image`
09:01:27 <truebrain> well, that is just great
09:01:31 <truebrain> it can't find its own container
09:04:40 *** HerzogDeXtEr has joined #openttd
09:06:46 <peter1138> Well. I appear to still be in bed, not cycling...
09:08:52 <andythenorth> Same
09:09:02 <andythenorth> Except climbing not cycling
09:09:55 <truebrain> #lazy-uk-day ?
09:10:14 <xarick> hi
09:21:13 <LordAro> peter1138: it's very grey & dark outside
09:21:31 <LordAro> truebrain: just in time to upgrade to 3.13?
09:21:42 <truebrain> no, we decided on 3.11 a few weeks ago 🙂
09:22:25 <LordAro> as a minimum version, perhaps?
09:22:44 <truebrain> I do not plan to upgrade any of our software to newer
09:22:52 <truebrain> so not sure how you wage that "minimum" part of that sentence
09:23:30 <LordAro> minimum compatible version and what production runs on doesn't necessarily have to match
09:24:02 <truebrain> In case you didn't know, we pin all our versions and dependencies 🙂
09:24:05 <LordAro> but i guess that doesn't make a huge amount of sense for web services
09:24:18 <truebrain> I do not want to deal with some magic "owh, it is now a different version, and everything is burning" 😛
09:25:20 <LordAro> true
09:25:29 <truebrain> The difference between libraries and applications 🙂
09:26:03 <LordAro> i don't really account for libraries being different for different python versions
09:26:51 <truebrain> it is mostly about predictability 🙂 Sometimes nodes in our cluster crash, or a service crashes. It auto-restarts, but I really really want that to be the same version as has been running for a while 🙂
09:26:59 <truebrain> no midnight "omg, why is everything broken" calls for me please 😄
09:31:04 <truebrain> CodeQL does not appreciate `"([-a-z]*)/([0-9a-f]{8})/([0-9a-f]{8})$`
09:31:12 <truebrain> `Polynomial regular expression used on uncontrolled data `
09:33:27 <truebrain> It is not wrong, but also: meh
09:34:35 *** Wolf01 has joined #openttd
09:35:36 <peter1138> Windows 3.11?
09:36:04 <peter1138> It is grey, dampish, and cold. But also I am getting fatter :(
09:36:23 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13560: Codechange: Use EnumBitSet for CommandFlags. https://github.com/OpenTTD/OpenTTD/pull/13560
09:37:34 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #13559: Codechange: Set CommandTraits with templates instead of macros. https://github.com/OpenTTD/OpenTTD/pull/13559
09:37:37 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13559: Codechange: Set CommandTraits with templates instead of macros. https://github.com/OpenTTD/OpenTTD/pull/13559#issuecomment-2660842540
09:37:43 <andythenorth> ok I have to get up
09:37:44 <andythenorth> coffee
09:38:13 <peter1138> Right, what other stashes can I drop.
09:43:16 <truebrain> so there is a security issue with GitHub actions, which are fixed downstream, but they haven't updated their more upstream actions yet .. so I now have alerts about that, which I cannot resolve, because GitHub has to make a new release for some actions 🙂
09:43:38 <peter1138> Self-host, right?
09:43:45 <truebrain> Just funny to see how even they struggle with fixing things in such a way these time-gaps don't exist 🙂
09:48:23 <truebrain> Going to deploy a new dibridge; for IRC users: we will be right back 🙂
09:49:00 <DorpsGek> [OpenTTD/dibridge] TrueBrain created new tag: v1.4.2 https://github.com/OpenTTD/dibridge/releases/tag/v1.4.2
09:49:12 <LordAro> rip
09:49:50 *** peter1138[d] has quit IRC (Remote host closed the connection)
09:49:50 *** _zephyris has quit IRC (Remote host closed the connection)
09:49:50 *** truebrain has quit IRC (Remote host closed the connection)
09:49:50 *** talltyler has quit IRC (Remote host closed the connection)
09:49:50 *** merni has quit IRC (Remote host closed the connection)
09:49:50 *** yiffgirl has quit IRC (Remote host closed the connection)
09:49:50 *** michi_cc has quit IRC (Remote host closed the connection)
09:49:50 *** florafex has quit IRC (Remote host closed the connection)
09:49:50 *** tionstav has quit IRC (Remote host closed the connection)
09:49:50 *** audigex has quit IRC (Remote host closed the connection)
09:49:50 *** belajalilija has quit IRC (Remote host closed the connection)
09:49:50 *** bohaska has quit IRC (Remote host closed the connection)
09:49:50 *** _jgr_ has quit IRC (Remote host closed the connection)
09:49:50 *** mnhebi has quit IRC (Remote host closed the connection)
09:49:50 *** frosch123 has quit IRC (Remote host closed the connection)
09:49:50 *** xarick has quit IRC (Remote host closed the connection)
09:49:50 *** jfs has quit IRC (Remote host closed the connection)
09:49:50 *** andythenorth has quit IRC (Remote host closed the connection)
09:49:50 *** audunm has quit IRC (Remote host closed the connection)
09:49:50 *** gwyd4016 has quit IRC (Remote host closed the connection)
09:49:50 *** johnfranklin has quit IRC (Remote host closed the connection)
09:49:50 *** wensimehrp has quit IRC (Remote host closed the connection)
09:49:50 *** DorpsGek_vi has quit IRC (Remote host closed the connection)
09:49:50 *** coobies has quit IRC (Remote host closed the connection)
09:49:50 *** _glx_ has quit IRC (Remote host closed the connection)
09:49:50 *** ahyangyi has quit IRC (Remote host closed the connection)
09:49:50 *** reldred has quit IRC (Remote host closed the connection)
09:49:50 *** rotterdxm has quit IRC (Remote host closed the connection)
09:49:50 *** emperorjake has quit IRC (Remote host closed the connection)
09:49:50 *** ufiby has quit IRC (Remote host closed the connection)
09:49:50 *** kuhnovic has quit IRC (Remote host closed the connection)
09:49:50 *** brickblock19280 has quit IRC (Remote host closed the connection)
09:49:50 *** xarothbrook has quit IRC (Remote host closed the connection)
09:49:58 *** DorpsGek_vi has joined #openttd
09:53:07 <DorpsGek> [OpenTTD/DorpsGek] TrueBrain opened pull request #225: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/DorpsGek/pull/225
09:54:43 *** truebrain has joined #openttd
09:54:43 <truebrain> hi
09:54:47 <truebrain> we are back
09:54:49 <truebrain> LordAro
09:54:51 <truebrain> scared?
09:56:13 <truebrain> Now DorpsGek is going to be away for a moment 🙂
09:56:21 <DorpsGek> [OpenTTD/DorpsGek] TrueBrain merged pull request #225: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/DorpsGek/pull/225
09:58:39 *** DorpsGek has joined #openttd
09:58:39 *** ChanServ sets mode: +o DorpsGek
09:59:56 <LordAro> truebrain: very scary
09:59:59 <LordAro> didn't know what to do
10:00:10 <truebrain> I looked in the mirror and I agree: very scary 🙂
10:03:21 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #11766: Add: Support zero-width space {ZWSP} to indicate where strings may additionally break https://github.com/OpenTTD/OpenTTD/pull/11766#issuecomment-2660850886
10:04:12 <peter1138> Ah, peace and quiet for a second...
10:05:15 <truebrain> MWHAHAHAHA
10:05:46 <DorpsGek> [OpenTTD/eints] TrueBrain opened pull request #204: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/eints/pull/204
10:07:17 <peter1138> Hmm, clangd angry. Time to restart.
10:14:10 <DorpsGek> [OpenTTD/eints] TrueBrain merged pull request #204: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/eints/pull/204
10:15:03 <DorpsGek> [OpenTTD/eints] TrueBrain opened pull request #205: Upgrade: Bump vendored bottle to 0.13.2 https://github.com/OpenTTD/eints/pull/205
10:18:03 <DorpsGek> [OpenTTD/eints] LordAro commented on pull request #205: Upgrade: Bump vendored bottle to 0.13.2 https://github.com/OpenTTD/eints/pull/205#pullrequestreview-2619371007
10:19:54 *** andythenorth has joined #openttd
10:19:54 <andythenorth> peter1138: MBP
10:20:21 <DorpsGek> [OpenTTD/eints] TrueBrain commented on pull request #205: Upgrade: Bump vendored bottle to 0.13.2 https://github.com/OpenTTD/eints/pull/205#pullrequestreview-2619371283
10:21:37 <DorpsGek> [OpenTTD/eints] TrueBrain closed pull request #205: Upgrade: Bump vendored bottle to 0.13.2 https://github.com/OpenTTD/eints/pull/205
10:21:40 <DorpsGek> [OpenTTD/eints] TrueBrain commented on pull request #205: Upgrade: Bump vendored bottle to 0.13.2 https://github.com/OpenTTD/eints/pull/205#issuecomment-2660857281
10:25:23 *** Flygon has joined #openttd
10:25:34 <LordAro> truebrain: WT5(?) when :p
10:25:43 <truebrain> we once started on it
10:26:28 <truebrain> but both me and frosch kinda went AWOL a few in 😛 So who knows, maybe we pick it up again 🙂
10:28:26 <andythenorth> grf translations 😛 make it more interesting 😛
10:28:48 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain opened pull request #240: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/game-coordinator/pull/240
10:31:46 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain merged pull request #240: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/game-coordinator/pull/240
10:35:19 <LordAro> andythenorth: wouldn't expect it to be any different - it'd still have to go to a git repo somewher
10:35:22 <LordAro> e
10:35:40 <LordAro> unless you're thinking a complete rework of all translations and they're stored somewhere centrally
10:37:48 <truebrain> okay, deployment of game-coordinator failed horribly 😄
10:37:53 <truebrain> `TypeError: duplicate base class TimeoutError`
10:37:55 <truebrain> wtf is that?!
10:38:43 <LordAro> impressive
10:40:50 <truebrain> just happy I have this "Fail Deployment" button, which stopped the deployment of this new version and reverted it back 🙂 😄
10:43:03 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain opened pull request #241: Update: aioredis merged with redis-py https://github.com/OpenTTD/game-coordinator/pull/241
10:43:23 <truebrain> they claim it is a drop-in replacement; let's see if that is true
10:45:33 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain merged pull request #241: Update: aioredis merged with redis-py https://github.com/OpenTTD/game-coordinator/pull/241
10:45:39 <DorpsGek> [OpenTTD/BaNaNaS] telk5093 commented on issue #153: @hilalhikmah uploaded other newgrf violates BaNaNaS TOS https://github.com/OpenTTD/BaNaNaS/issues/153
10:54:51 <peter1138> Well.
10:55:26 <truebrain> okay, that multiplayer upgrade went .... difficult
10:55:31 <peter1138> I did a lazyweb search for "translator openttd" the other day and the new unfinished version of truebrain and frosch came up first.
10:55:35 <truebrain> I think everything is up on its feet again now, but pffff
10:55:44 <truebrain> peter1138: haha, that is priceless 🙂
10:56:06 <truebrain> hmm, no, something is still weird with the game-coordinator ... wth
10:56:43 <truebrain> `AttributeError: 'TransportSocket' object has no attribute 'close'`
10:56:44 <truebrain> like ... huh?
10:57:39 <truebrain> and also
10:57:40 <truebrain> `AttributeError: 'TransportSocket' object has no attribute 'send'`
10:57:43 <LordAro> :(
10:57:53 <truebrain> I am not sure what happened there ...
10:58:18 <LordAro> https://github.com/mitre/caldera/issues/3049#issuecomment-2400921248
10:59:19 <truebrain> File "/usr/local/lib/python3.11/asyncio/selector_events.py", line 902, in _call_connection_lost
10:59:19 <truebrain> self._sock.close()
10:59:29 <truebrain> I mean ... I sure hope that it isn't an issue INSIDE Python 3.11 😛
10:59:34 <LordAro> that's less than ideal
10:59:59 *** kuka_lie has joined #openttd
11:00:00 <truebrain> weirdly enough, everything does seem to work just fine
11:01:15 <LordAro> can _sock be set to the wrong type somehow?
11:01:51 <truebrain> the trace doesn't really tell me where in my code this was starting at ..
11:08:29 <truebrain> okay, it only happens during the connection-lost handler
11:10:32 <truebrain> https://github.com/python/cpython/issues/111793 At least I am not alone .. just the user reported the issue a bit weirdly 😛
11:11:31 <LordAro> that is a bit odd
11:11:37 <LordAro> which 3.11 release are you using? :p
11:11:42 <truebrain> 3.11.11
11:12:03 <LordAro> probably not going to be fixed by 3.11.7 then
11:13:32 <truebrain> I think the issue is more that I do something on a connection-lost that is no longer allowed or something
11:14:31 <truebrain> no, my code-paths only do some minor internal cleanup
11:17:50 <truebrain> ``` These objects can be safely returned by APIs like
11:17:50 <truebrain> `transport.get_extra_info('socket')`. All potentially disruptive
11:17:50 <truebrain> operations (like "socket.close()") are banned.```
11:17:53 <truebrain> lol
11:18:10 <truebrain> I am not 100% sure asyncio got that memo too 😛
11:19:07 <truebrain> okay, what happens is that the internal socket of `asyncio` is wrapped in a `TransportSocket`, which doesn't allow access to `send` and `close`
11:19:23 <truebrain> so I am guessing either myself or a library uses that socket to create a new selector
11:20:04 <truebrain> ```sock = writer.transport.get_extra_info("socket")
11:20:04 <truebrain> server = await asyncio.get_event_loop().create_connection(
11:20:04 <truebrain> lambda: GameProtocol(DetectGame(connected)),
11:20:04 <truebrain> sock=sock,
11:20:04 <truebrain> )```
11:20:12 <truebrain> I guess that would do it
11:24:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13561: Add: Show cargo types produced by building in house picker. https://github.com/OpenTTD/OpenTTD/pull/13561
11:29:36 <DorpsGek> [OpenTTD/OpenTTD] PeterN dismissed a review for pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515#pullrequestreview-2617855813
11:33:17 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515
11:33:43 <peter1138> Pom-te-pom.
11:33:56 <peter1138> Nowt to do with me guv.
11:35:46 <peter1138> I think that's the suggestion xarick was making ;-)
11:36:25 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515#pullrequestreview-2619385648
11:37:17 <truebrain> okay, the game-coordinator issue isn't an issue due to how I wrote the code. It still deserves fixing 🙂
11:37:30 <truebrain> basically, it fails when querying the server to see if it allows for direct connections
11:37:39 <truebrain> and if that fails, it falls back to STUN
11:37:45 <truebrain> which will always work, even for direct connections 🙂
11:38:59 <peter1138> I've been wondering, is it really an [out], to take a span that to be filled?
11:39:22 <LordAro> it's as much of one as a pointer "to be filled"
11:39:30 <peter1138> True.
11:39:40 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain opened pull request #242: Fix: hand-over the right socket when using a SOCKS proxy https://github.com/OpenTTD/game-coordinator/pull/242
11:40:00 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain updated pull request #242: Fix: hand-over the right socket when using a SOCKS proxy https://github.com/OpenTTD/game-coordinator/pull/242
11:40:01 <peter1138> I guess it makes it clearer that you aren't expected to provide the shape :-)
11:41:49 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain updated pull request #242: Fix: hand-over the non-wrapped socket when using a SOCKS proxy https://github.com/OpenTTD/game-coordinator/pull/242
11:44:10 <truebrain> LordAro: mind taking a look at #242 to see if you can think of a cleaner way in 2 minutes, or whether we just go with this?
11:45:49 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515
11:47:37 <LordAro> truebrain: not immediately obviously, no
11:47:47 <LordAro> not that i've got a huge knowledge of asyncio :p
11:48:12 <LordAro> would recommend an issue as the (removed) deprecation notice recommends, see if anyone knows any better
11:49:04 <DorpsGek> [OpenTTD/game-coordinator] LordAro approved pull request #242: Fix: hand-over the non-wrapped socket when using a SOCKS proxy https://github.com/OpenTTD/game-coordinator/pull/242#pullrequestreview-2619388000
11:49:43 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515#pullrequestreview-2619388280
11:50:29 <DorpsGek> [OpenTTD/game-coordinator] TrueBrain merged pull request #242: Fix: hand-over the non-wrapped socket when using a SOCKS proxy https://github.com/OpenTTD/game-coordinator/pull/242
11:52:19 <truebrain> I guess. I rather rewrite this GC in Go 😛
11:52:51 <truebrain> Current GC still has weird async issues we can't trace ..
11:53:09 <truebrain> So sometimes a server is kicked out wrongfully
11:53:19 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #11766: Add: Support zero-width space {ZWSP} to indicate where strings may additionally break https://github.com/OpenTTD/OpenTTD/pull/11766
11:53:22 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11766: Add: Support zero-width space {ZWSP} to indicate where strings may additionally break https://github.com/OpenTTD/OpenTTD/pull/11766#issuecomment-2660887581
11:56:03 <peter1138> Hmm, do we keep the co-authored-by: lines.
11:56:16 <LordAro> probably should
11:56:21 <LordAro> i think github does actually parse them
11:56:54 <truebrain> It does
11:58:58 *** _glx_ has joined #openttd
11:58:58 <_glx_> truebrain: Isn't that the one where the recommended solution is to use `@v<major>` but dependabot doesn't understand it's really the updated one ?
12:00:27 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #9289: Change: Shortcut varaction chains for callbacks and triggers. https://github.com/OpenTTD/OpenTTD/pull/9289
12:00:30 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #9289: Change: Shortcut varaction chains for callbacks and triggers. https://github.com/OpenTTD/OpenTTD/pull/9289#issuecomment-2660889324
12:01:43 <peter1138> Hmm, Maybe 10063. Hmm.
12:03:20 <truebrain> _glx_: Nah, they didn't update their actions yet, but did update their octokit
12:14:01 <peter1138> Oh, didn't notice it failed :s
12:16:19 <peter1138> Hmm, breakfast?
12:22:29 <DorpsGek> [OpenTTD/OpenTTD] PeterN dismissed a review for pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515#pullrequestreview-2619388280
12:22:32 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515
12:22:50 *** xarick has joined #openttd
12:22:51 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1340297266157719663/image.png?ex=67b1d899&is=67b08719&hm=5bd3016c026b7d3e60d40be7aaf54c5fe6c9d35fda7f90c2fe1e41058192e395&
12:22:51 <xarick> too slow
12:23:08 <xarick> 879 ticks to compute this table
12:29:42 <xarick> 949 ticks to compute all 11 tables
12:30:05 <xarick> hmm... i need to time the older versions
12:30:34 <truebrain> okay, so game-coordinatis running without errors now \o/
12:30:36 <truebrain> w00p
12:31:12 <peter1138> Good work.
12:31:29 <truebrain> Tnx 🙂
12:31:31 <DorpsGek> [OpenTTD/eints] TrueBrain closed pull request #169: Add: Support for ZWSP from OpenTTD#11766. https://github.com/OpenTTD/eints/pull/169
12:31:34 <DorpsGek> [OpenTTD/eints] TrueBrain commented on pull request #169: Add: Support for ZWSP from OpenTTD#11766. https://github.com/OpenTTD/eints/pull/169#issuecomment-2660899819
12:35:00 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1340300330289594418/image.png?ex=67b1db74&is=67b089f4&hm=7adb387e53521f3a6d7d3261a16e0571367add0175212aed3f715de01c69d452&
12:35:00 <xarick> DummyAI no longer errors out...
12:35:32 <DorpsGek> [OpenTTD/master-server] TrueBrain opened pull request #316: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/master-server/pull/316
12:36:00 <xarick> nevermind, game was paused
12:36:03 <xarick> it errors
12:36:07 <xarick> false alarm
12:36:58 <DorpsGek> [OpenTTD/master-server] TrueBrain updated pull request #316: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/master-server/pull/316
12:38:58 <DorpsGek> [OpenTTD/master-server-web] TrueBrain opened pull request #169: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/master-server-web/pull/169
12:40:44 <DorpsGek> [OpenTTD/master-server] TrueBrain updated pull request #316: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/master-server/pull/316
12:42:33 <truebrain> frosch123: in case you read info@, I sent back an email asking for a bit more details.
12:43:43 <DorpsGek> [OpenTTD/master-server-web] TrueBrain merged pull request #169: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/master-server-web/pull/169
12:43:50 <DorpsGek> [OpenTTD/master-server] TrueBrain merged pull request #316: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/master-server/pull/316
12:50:57 <DorpsGek> [OpenTTD/py-helpers] TrueBrain opened pull request #42: Change: drop support for Python 3.8 .. 3.10 https://github.com/OpenTTD/py-helpers/pull/42
12:52:49 <DorpsGek> [OpenTTD/py-helpers] TrueBrain merged pull request #42: Change: drop support for Python 3.8 .. 3.10 https://github.com/OpenTTD/py-helpers/pull/42
12:58:01 <DorpsGek> [OpenTTD/BaNaNaS] frosch123 approved pull request #154: Add: mention where to report violations in the issue tracker https://github.com/OpenTTD/BaNaNaS/pull/154#pullrequestreview-2619404783
12:58:13 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain merged pull request #154: Add: mention where to report violations in the issue tracker https://github.com/OpenTTD/BaNaNaS/pull/154
12:59:06 <truebrain> 😮 that change doesn't actually work ... what did I do wrong ....
12:59:46 <DorpsGek> [OpenTTD/py-helpers] TrueBrain opened pull request #44: Fix: remove unused (and broken) shields in README https://github.com/OpenTTD/py-helpers/pull/44
13:01:45 <DorpsGek> [OpenTTD/py-helpers] TrueBrain merged pull request #44: Fix: remove unused (and broken) shields in README https://github.com/OpenTTD/py-helpers/pull/44
13:02:16 <DorpsGek> [OpenTTD/py-helpers] TrueBrain created new tag: 2.0.0 https://github.com/OpenTTD/py-helpers/releases/tag/2.0.0
13:03:37 *** frosch123 has joined #openttd
13:03:37 <frosch123> That Korean bridge set is from 2013. I doubt they will find the author
13:05:30 <truebrain> Yeah .. I didn't want to go on the look for it, I have to admit. If you report an issue, at least give us concrete evidence to go on. This was, at least for me, to thin to act on
13:06:59 <DorpsGek> [OpenTTD/py-helpers] TrueBrain opened pull request #45: Fix: replace upload-release-asset action https://github.com/OpenTTD/py-helpers/pull/45
13:07:04 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515#pullrequestreview-2619406822
13:07:37 <DorpsGek> [OpenTTD/py-helpers] TrueBrain merged pull request #45: Fix: replace upload-release-asset action https://github.com/OpenTTD/py-helpers/pull/45
13:08:02 <DorpsGek> [OpenTTD/py-helpers] TrueBrain created new tag: 2.0.0 https://github.com/OpenTTD/py-helpers/releases/tag/2.0.0
13:08:06 <truebrain> attempt 2
13:08:25 <truebrain> owh, wtf, another issue .. lovely!
13:09:49 <DorpsGek> [OpenTTD/py-helpers] TrueBrain opened pull request #46: Fix: replace OpenTTD/actions/checkout https://github.com/OpenTTD/py-helpers/pull/46
13:10:41 <DorpsGek> [OpenTTD/py-helpers] TrueBrain merged pull request #46: Fix: replace OpenTTD/actions/checkout action https://github.com/OpenTTD/py-helpers/pull/46
13:10:59 <DorpsGek> [OpenTTD/py-helpers] TrueBrain created new tag: 2.0.0 https://github.com/OpenTTD/py-helpers/releases/tag/2.0.0
13:11:08 <truebrain> Third time is the charm?
13:11:29 <truebrain> `User 'OpenTTD' does not have a verified primary email address.`
13:11:31 <truebrain> so close!
13:14:34 <truebrain> there we go 🙂
13:19:52 <DorpsGek> [OpenTTD/workflows] TrueBrain opened pull request #64: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/workflows/pull/64
13:22:23 <DorpsGek> [OpenTTD/workflows] TrueBrain merged pull request #64: Upgrade: Bump Python to 3.11 https://github.com/OpenTTD/workflows/pull/64
13:24:53 <_glx_> oh so many repo to update, then we can remove OpenTTD/actions/checkout
13:25:44 <truebrain> that ... is already removed?
13:31:13 <_glx_> ah indeed, <https://github.com/OpenTTD/nml/pull/317> had to work around (but I used the not correct way)
13:31:47 <truebrain> `OpenTTD/actions/checkout-pull-request` is something different. That is an action that avoids fetching too many commits, while still fetching the full history
13:32:10 <truebrain> mostly needed for OpenTTD/OpenTTD, to avoid waiting a minute for a git clone to finish
13:33:40 <truebrain> but we use it in most repos for the commit checker
13:34:51 <_glx_> yes because we need to fetch commits to the parent commit
13:35:44 <truebrain> lol .. so `config.yml` does work in the OpenTTD/OpenTTD, but not if I put it in other repos .. wth? 😄
13:36:35 <truebrain> owh, when I copy it one-on-one, it does work .. wth ..
13:36:51 <truebrain> I am a potato
13:39:48 <truebrain> okay, two conditions were wrong .. it doesn't work if you do it without a template in general, and I made a typo in the configuration file
13:39:49 <truebrain> le sigh
13:43:10 <xarick> _glx_: glx
13:43:21 <xarick> selectable version to load is actually bugged
13:43:42 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1340317619026395276/image.png?ex=67b1eb8e&is=67b09a0e&hm=0f07bf4af329288f7a3d7c638ec4d0d41e6763dd2f383b18077c964f078f19bb&
13:43:42 <xarick> i selected 28
13:44:18 <xarick> but it's searching for the version which is highest that can load a v28 save
13:44:26 <xarick> that's not how it's supposed to work
13:44:37 <xarick> so it loads v51
13:44:45 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain opened pull request #155: Change: put the violation suggestion in the README https://github.com/OpenTTD/BaNaNaS/pull/155
13:46:00 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain updated pull request #155: Change: put the violation suggestion in the README https://github.com/OpenTTD/BaNaNaS/pull/155
13:49:34 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain merged pull request #155: Change: put the violation suggestion in the README https://github.com/OpenTTD/BaNaNaS/pull/155
13:51:19 <truebrain> okay ... I think I now updates all our software
13:51:22 <truebrain> that was long overdue 😛
13:51:43 <truebrain> and everything is Python 3.11 now \o/ 🙂
13:54:12 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick commented on issue #13519: [Bug]: Game Script Settings doesn't load the version specified via Ctrl+Click Select Game Script https://github.com/OpenTTD/OpenTTD/issues/13519
13:54:55 * peter1138 back
13:55:20 <truebrain> finally went cycling?
13:55:40 <peter1138> No, I went shopping.
13:55:48 <peter1138> Urgh, overflowing float, really?!
14:02:00 <peter1138> Alright, just make everything double? :o
14:02:29 <DorpsGek> [OpenTTD/OpenTTD] James103 opened issue #13562: [Bug]: Shift clicking arrow buttons for "Increase money by" in Sandbox Options shows cost estimation message https://github.com/OpenTTD/OpenTTD/issues/13562
14:02:30 <peter1138> Ah, sinf.
14:06:16 *** Compu has joined #openttd
14:07:03 *** Compu has quit IRC ()
14:08:09 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13515: Change: Improved tree placement at worldgen https://github.com/OpenTTD/OpenTTD/pull/13515
14:08:13 <peter1138> Possibly maybe.
14:08:52 <peter1138> Game: "Pressing shift always estimates the cost of doing something"
14:09:12 <peter1138> User; "Bug: pressing shift estimates the cost of doing something"
14:10:10 <truebrain> Developer: "Removes users"
14:10:28 <truebrain> it is the only way!
14:18:34 *** Compu has joined #openttd
14:18:54 *** Compu has quit IRC ()
14:40:07 *** virtualrandomnumber has joined #openttd
14:40:30 *** virtualrandomnumber has quit IRC ()
14:42:41 *** talltyler has joined #openttd
14:42:41 <talltyler> Ah, the SkyNet solution
14:43:04 <truebrain> talltyler: when is the next meetup?
14:43:37 <talltyler> Dunno, I just (finally) quit my job that sent me to Europe a few years ago
14:44:17 <talltyler> I’m a contractor for a Scottish game studio now but don’t imagine they’ll fly me over any time soon
14:44:32 <truebrain> Bribe them!
14:44:35 <talltyler> Maybe I’ll do a North America meetup and you’ll have to come here 😛
14:45:01 <truebrain> only if it is in Canada 😛
14:45:02 <talltyler> Or more likely, I’ll get a work visa and move to the UK…
14:45:31 <talltyler> I do not want to discuss politics though, you can infer my reasoning yourself 🙂
14:45:35 <truebrain> Also: gratz on the new job 🙂
14:45:40 <talltyler> Thank you!
14:45:52 *** xarothbrook has joined #openttd
14:45:52 <xarothbrook> Working on an unnamed game with a 6 in the title?
14:45:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13561: Add: Show cargo types produced by building in house picker. https://github.com/OpenTTD/OpenTTD/pull/13561#pullrequestreview-2619424272
14:46:13 <talltyler> xarothbrook: I cannot confirm nor deny 😛
14:46:16 <truebrain> As a commit name showed a few days earlier, I went for a similar track. Just picked a studio a bit more West of yours 😛
14:46:41 <talltyler> Ireland? Iceland?
14:46:50 <truebrain> The latter 🙂
14:47:15 <talltyler> Very cool! Never been but it looks like a beautiful place.
14:47:27 <truebrain> Totally unrelated, I booked a cruise to Iceland for August
14:47:30 <truebrain> really looking forward to it 🙂
14:49:52 <xarothbrook> talltyler: Gratz, also, Scotland is a very nice place... I've been meaning to go, and not just to try out how Irn Bru tastes like.
14:49:59 *** Borg has joined #openttd
14:50:05 <Borg> satan! I mean hi :)
14:50:17 <Borg> I implemented Cargo RR balancing between 2 industries nearby
14:50:31 <Borg> works! :) kinda hacky.. but need to check if cargo is correctly split
14:50:59 <talltyler> RR?
14:51:25 <talltyler> I think JGRPP has a setting to evenly distribute cargo between all industries within the station catchment
14:51:43 <Borg> talltyler: Round Robin
14:51:46 <Borg> ohh nice :)
14:51:53 <Borg> Im using vanilla OpenTTD. so I did it in GRF
14:52:03 <Borg> but of course it can work only with 2 industries
14:52:13 <talltyler> …how is that possible in GRF?
14:52:22 <Borg> with 3 or more .. 3th will not receive cargo
14:52:31 <Borg> talltyler: Opt out cargo acceptance magikery :D
14:52:41 <talltyler> Oh, interesting!
14:52:53 <talltyler> How does the industry know another is within catchment?
14:53:07 <talltyler> *the same catchment
14:53:38 <Borg> talltyler: it doesnt care about catchmen.. every month (when mothly production call back kicks in) industry check for same industry type within 6 tiles.. if it founds one.. it activates RR cargo balancing
14:53:59 <Borg> I implemented it only for Power plants.. and I think only those will have RR cargo balancing
14:54:11 <Borg> for other industries I will leave cargo overflowing
14:54:48 <Borg> okey. it works nicely! just playing the game and monitoring 2 power plants.. cargo is evenly distributed :) not bad
14:54:51 <Borg> Ill keep it
14:54:52 <talltyler> Huh, seems like it would be easier to implement in OpenTTD itself 🙂
14:54:59 <Borg> talltyler: I bet!
14:55:23 <talltyler> I’ve done some silly things with GRFs, then I realized it was easier to change the rules than find loopholes 😛
14:55:40 <Borg> maybe one day.. I will finaly manage to compile OpenTTD on my box
14:55:47 <Borg> but for now.. im happy with vanilla
14:56:10 <Borg> talltyler: its for my BSPI.grf.. Power Plant produce electricity.. and if you have lots of industries you need more Power Plants
14:56:25 <Borg> and I toyed with RR cargo balancing for a while at least for those :)
14:59:03 <Borg> I still need to lookup cargo distribution code in OpenTTD
14:59:24 <Borg> because im suprised that its being distributed to 2 industries on same tick..
14:59:38 <Borg> I tought it will go to 1 industry on one tick.. then to the other
14:59:44 <Borg> seems.. its per wagon
15:02:38 <talltyler> I wouldn’t mind seeing cargo splitting as a feature in vanilla, but I think I’d want a more elegant user experience than a global setting to select “nearest industry to stations sign” or “all industries within station catchment”
15:02:55 <talltyler> Creative thinking required. 🙂
15:03:14 <Borg> I would really love to get EXTRA info in callback
15:03:20 <Borg> for Opt Accept
15:03:26 <Borg> like.. counter at least
15:04:05 <Borg> because for now.. it tries first industry it find. if its opt out.. tries next one.. and next one untill all are tried within catchment area.. or cargo is already distributed
15:04:12 <Borg> currently ci1 and ci2 is unused
15:04:32 <Borg> oh sorry
15:04:38 <Borg> 18 lowest byte is Cargo ID
15:04:58 <Borg> so you can use higher byte for counter
15:05:13 <Borg> and so I could use smarter cargo spliting
15:06:23 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/362
15:07:01 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13561: Add: Show cargo types produced by building in house picker. https://github.com/OpenTTD/OpenTTD/pull/13561
15:07:12 <Borg> yep. its per wagon
15:07:17 <Borg> so cargo is not evenly distributed
15:07:22 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13563: Codefix: 'Declaration hides variable' https://github.com/OpenTTD/OpenTTD/pull/13563
15:12:31 <peter1138> > Variable GROVE_SEGMENTS is not used.
15:12:34 <peter1138> I beg to differ :s
15:12:59 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/362
15:22:53 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #11850: Codechange: Use per-vehicle-type list when ticking vehicles. https://github.com/OpenTTD/OpenTTD/pull/11850
15:22:56 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #11850: Codechange: Use per-vehicle-type list when ticking vehicles. https://github.com/OpenTTD/OpenTTD/pull/11850#issuecomment-2660969889
15:24:54 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13564: Codefix: 'Short global name' https://github.com/OpenTTD/OpenTTD/pull/13564
15:25:07 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #10582: Fix #10574: Force town-buildable roads to be not hidden. https://github.com/OpenTTD/OpenTTD/pull/10582
15:26:27 <DorpsGek> [OpenTTD/OpenTTD] SamuXarick opened pull request #13565: Fix #13519, e4c511d: Select chosen AI/GS version, not the highest compatible version https://github.com/OpenTTD/OpenTTD/pull/13565
15:26:48 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #12772: Codechange: Use function-static instance of WindowDesc list. https://github.com/OpenTTD/OpenTTD/pull/12772
15:28:55 <andythenorth> oof unintended nap
15:29:01 <Borg> bah
15:29:10 <Borg> I miss NAND in VarAction2Advanced
15:29:15 <Borg> is hard to clear flags
15:34:41 <xarick> my poor english
15:38:38 <_glx_> it's not that hard, you just need to combine some AND and XOR
15:39:12 <_glx_> might require temp storage usage too
15:39:13 <peter1138> Borg, do you mean AND NOT?
15:46:52 <peter1138> *shrug*
15:46:53 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13566: Add: [NewGRF] More basic bitwise operators for varact2. https://github.com/OpenTTD/OpenTTD/pull/13566
15:54:23 <Borg> peter1138: no.. but I think its also not really NAND
15:54:41 <Borg> or wait.. it is
15:54:50 <Rubidium> peter1138: but what about ORN and XORN? :D
15:55:08 <Borg> so 110 NAND 010 gives 100
15:55:13 <Borg> Rubidium: those are not really usefull
15:55:20 <Borg> but NAND can be very usefull
15:55:29 <Borg> normaly you do x=x&~a
15:55:33 <Borg> to clear bitfields
15:55:41 <peter1138> Borg, that's ANDN.
15:55:50 <Borg> peter1138: hmm
15:56:04 <Borg> need to lookup those logical operators :)
15:56:53 <peter1138> This is why we can't add them. Nobody knows ;-)
15:57:14 <_glx_> yeah your NAND example feels wrong 🙂
15:58:31 <Borg> okey!
15:58:37 <Borg> it should be called then BCLR
15:58:41 <Borg> like bit clear
15:58:42 <Borg> :)
15:58:55 <_glx_> for me result should be 101
15:59:15 <Borg> _glx_: yeah. perhaps.. as for NAND.. indeed
15:59:19 <Borg> thats not what I want :)
15:59:26 *** Wormnest has joined #openttd
15:59:29 <_glx_> wait 001 actually
15:59:49 <Borg> huh?
15:59:50 <_glx_> ah no 101
16:00:03 <Borg> nevermind :)
16:00:20 <_glx_> 1 for anything other that 1,1
16:00:21 <Borg> NAND is bad name indeed... BCLR sounds much better
16:00:30 <Borg> yep
16:00:45 *** _jgr_ has joined #openttd
16:00:45 <_jgr_> Would you ever use that with something other than a constant?
16:01:07 <Borg> _jgr_: sure
16:01:14 <Borg> I can load flag bit into temporary storage
16:01:26 <Borg> and now.. clearing it.. is cumbersome :) need to negate it via XOR
16:01:32 <Borg> but first I need to confirm its 1
16:02:15 <_jgr_> OR, then XOR would be way to do that without needing to spill anything to temp storage
16:02:41 <Borg> hmm
16:02:46 <Borg> nice one :)
16:02:47 <_glx_> /2r flag, /2^0xFFFFFFFF, /2&value
16:02:47 <Borg> thx
16:03:07 <Borg> yeah.. that one will work too. but jgr's one looks prettier
16:03:38 <Borg> and easier to implement in grf
16:12:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10063: Change: Scale towns/industries by amount of land tiles. https://github.com/OpenTTD/OpenTTD/pull/10063
16:13:28 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10063: Change: Scale towns/industries by amount of land tiles. https://github.com/OpenTTD/OpenTTD/pull/10063#issuecomment-2660987409
17:11:29 <peter1138> Hmm.
17:11:39 <peter1138> Okay, so I have the probability of land industries vs water industries.
17:11:56 <peter1138> And I have the proportion of land tiles...
17:12:51 <peter1138> Are those probabilities based on some assumption about how much land there is...
17:14:15 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/362
17:21:26 <peter1138> Hmm, yeah, default oil rigs only appear around the edges of maps, so scaling by amount of water everywhere... meh
17:37:53 <peter1138> And refineries.
17:38:03 <peter1138> Where are they meant to spawn if most of the edge of the map is water?
17:43:44 *** locosage has joined #openttd
17:43:44 <locosage> iirc at some point I was thinking about oil stuff and amount of water
17:43:56 <locosage> but ended up just increasing the range on distance setting
17:44:07 <locosage> as there doesn't seem to be any universal solution to it
17:51:33 <peter1138> Hmm, do oil rigs never spawn on generation, or have I broken something :D
17:53:08 <_glx_> what's the year ?
17:54:11 <peter1138> 2000.
17:54:19 <peter1138> Oil wells are spawning.
17:57:10 <peter1138> Initial generation probability seems to ignore date anyway.
17:59:30 <peter1138> Okay, creation probability is zero.
17:59:43 <peter1138> Date is ignored.
18:00:07 <peter1138> I mean, that means I don't need to care about scaling land/water industries... at least for vanilla.
18:00:30 * peter1138 FIRS
18:00:35 <Borg> okey I scraped that idea of RR cargo distribution
18:00:49 <Borg> instead, I use adaptive Cargo opt out
18:01:15 <Borg> it will work better as I care only about suficient electricity production.. not true cargo distribution
18:02:24 <peter1138> Okay, 5120 industries. 4801 of them will be land industries, 318 of them will be water. Rounding error I guess.
18:02:46 <peter1138> Then I scale the land industries by amount of land, so that gets reduced to 1199. Water industries stay unscaled, so 318.
18:04:00 <Borg> Bonus is.. I can have more than 2 power plants in cluster :>
18:08:21 *** wensimehrp has joined #openttd
18:08:21 <wensimehrp> hi
18:08:28 <xarick> I need #8430 limitations implemented
18:08:41 <wensimehrp> I thought you're gonna say hi 😦
18:08:53 <xarick> there is a "use case" now
18:10:55 <xarick> hi
18:11:43 <xarick> we can chose which version of scripts to run
18:11:53 <peter1138> OOf, overflow error.
18:12:31 <xarick> TrueBrain, the destroyer of features
18:13:11 <peter1138> What?
18:14:15 <xarick> gonna look into `force_exact_match` see if I can do something
18:16:40 <xarick> 5 years later, I can understand TrueBrains viewpoint
18:17:09 <xarick> handling scripts was messy
18:17:15 <xarick> loading scripts and such
18:17:46 <xarick> messy code, so he makes it cleaner, but at the same time... kills features which is what annoys me
18:19:29 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #10063: Change: Scale towns/industries by amount of land tiles. https://github.com/OpenTTD/OpenTTD/pull/10063
18:20:31 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #10063: Change: Scale towns/industries by amount of land tiles. https://github.com/OpenTTD/OpenTTD/pull/10063#issuecomment-2661033625
18:23:43 <peter1138> And you wonder why he has you on ignore...
18:24:14 <LordAro> "features"
18:25:57 <peter1138> Speaking of which, let's see what else I should close.
18:26:13 <truebrain> on a closing spree?
18:26:26 <truebrain> I closed 52 PRs today!
18:26:31 <truebrain> they were all from 1 person even!
18:26:46 <truebrain> well, "person"
18:28:01 <debdog> ap?
18:28:03 <peter1138> Hmm, was "copy properties of an existing NewGRF entity" still a thing.
18:28:16 <truebrain> ap?
18:28:29 <debdog> artificial person ;)
18:28:40 <truebrain> just a bot; not even more fancy than that 😛
18:28:43 <truebrain> (dependabot, to be more exact)
18:28:49 <debdog> see
18:29:28 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #12523: Add: [NewGRF] Vehicle property to copy properties of an existing definiton. https://github.com/OpenTTD/OpenTTD/pull/12523
18:29:31 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12523: Add: [NewGRF] Vehicle property to copy properties of an existing definiton. https://github.com/OpenTTD/OpenTTD/pull/12523#issuecomment-2661037050
18:30:31 <DorpsGek> [OpenTTD/OpenTTD] drelbszoomer updated pull request #13536: Feature: Linux - Add native ALSA MIDI output support https://github.com/OpenTTD/OpenTTD/pull/13536
18:32:10 <DorpsGek> [OpenTTD/OpenTTD] drelbszoomer updated pull request #13536: Feature: Linux - Add native ALSA MIDI output support https://github.com/OpenTTD/OpenTTD/pull/13536
18:32:58 <peter1138> Hmm, what do I dinner?
18:33:06 <truebrain> food, I imagine
18:33:12 <peter1138> Radical.
18:33:17 <truebrain> I know right!
18:33:24 <DorpsGek> [OpenTTD/nml] glx22 opened pull request #363: Change: [Actions] Use cibuildwheel for releases https://github.com/OpenTTD/nml/pull/363
18:33:35 <frosch123> Iirc in some places we scale coast/sea stuff linearly using the map width, instead of quadratic using map area
18:34:11 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed pull request #12035: Change: Don't treat Humans and AIs differently when it comes to demolishing houses. https://github.com/OpenTTD/OpenTTD/pull/12035
18:34:14 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12035: Change: Don't treat Humans and AIs differently when it comes to demolishing houses. https://github.com/OpenTTD/OpenTTD/pull/12035#issuecomment-2661038615
18:34:19 <xarick> subsidies should scale
18:34:30 <peter1138> frosch123, indeed.
18:34:31 <DorpsGek> [OpenTTD/nml] LordAro approved pull request #361: Codefix: There's a new version of 'black' https://github.com/OpenTTD/nml/pull/361#pullrequestreview-2619476205
18:34:43 <DorpsGek> [OpenTTD/OpenTTD] drelbszoomer updated pull request #13536: Feature: Linux - Add native ALSA MIDI output support https://github.com/OpenTTD/OpenTTD/pull/13536
18:34:51 <peter1138> Only for oil refinery and oil rig.
18:35:22 <DorpsGek> [OpenTTD/nml] glx22 merged pull request #361: Codefix: There's a new version of 'black' https://github.com/OpenTTD/nml/pull/361
18:35:27 <DorpsGek> [OpenTTD/nml] LordAro approved pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/362#pullrequestreview-2619476325
18:35:37 <xarick> would scale based on current era's engines speed/capacity or so
18:35:55 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/362
18:36:30 <peter1138> Objects also have some rules, but I didn't touch them. They already have a scalebywater flag, which complicates that.
18:38:18 <peter1138> For land industries, the scaling for coast is probably okay, if we assume the proportion of land/water is fairly equally distributied. Perhaps.
18:38:42 <DorpsGek> [OpenTTD/nml] glx22 merged pull request #362: Fix: 'pip install nml' fails to build from source https://github.com/OpenTTD/nml/pull/362
18:38:54 <peter1138> -i
18:39:23 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #363: Change: [Actions] Use cibuildwheel for releases https://github.com/OpenTTD/nml/pull/363
18:39:40 <xarick> https://cdn.discordapp.com/attachments/1008473233844097104/1340392099412967494/image.png?ex=67b230eb&is=67b0df6b&hm=6adb0362c44e97ff94a0be30e338c479cf5fbd28b1c0dcfb190bbc15c04d2951&
18:39:40 <xarick> so my shared list approach across multiple tables performs worse than computing it from scratch
18:40:16 <xarick> squirrel is quite interesting
18:40:19 <xarick> or the VM
18:42:43 <peter1138> Hmm, curry perhaps.
18:42:50 <truebrain> yes
18:48:59 <andythenorth> wonder which is better
18:49:19 <andythenorth> variants sharing varact2 graphics chain, with a switch to check specific IDs
18:49:26 <andythenorth> or each variant has own varact2 chain
18:49:37 <andythenorth> probably potato / potato
18:49:54 <truebrain> _glx_: 40 linux wheels? Damn 😄
18:50:02 <truebrain> did not know there even were that many variations 😛
18:50:28 <peter1138> andythenorth, I have no real opinion other than "what the fuck was I thinking with variants"
18:50:33 <_glx_> 60 in total for linux
18:50:49 <truebrain> gonnagetchthemall
18:51:27 <truebrain> (getch is get+catch 😄 )
18:55:06 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1340395983846248559/image.png?ex=67b23489&is=67b0e309&hm=26fb7fc9f1baca2d9551c599a33f55702158cb85ed89616c6ef8449954995781&
18:55:06 <andythenorth> nothing wrong with variants like this
18:55:10 <andythenorth> good use of it
18:57:57 <peter1138> Mmm, hot food. Curry. Mmm.
18:58:01 <wensimehrp> peter1138: can a station tile read other station tiles' badges?
19:11:22 <peter1138> They should be able to but whether I have coded that yet is another matter.
19:12:13 <LordAro> truebrain: gonnagetsthemall
19:12:39 <peter1138> It's slightly awkward as it requires multiple parameters, so temp registers come into play.
19:34:49 <DorpsGek> [OpenTTD/nml] LordAro approved pull request #363: Change: [Actions] Use cibuildwheel for releases https://github.com/OpenTTD/nml/pull/363#pullrequestreview-2619483800
19:52:53 <peter1138> cheesewheel?
19:54:44 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13564: Codefix: 'Short global name' https://github.com/OpenTTD/OpenTTD/pull/13564#pullrequestreview-2619486168
19:59:29 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13361: Codechange: use std::string as backing for textbuf https://github.com/OpenTTD/OpenTTD/pull/13361#pullrequestreview-2619486777
20:05:59 <Rubidium> peter1138: I'm tempted to approve #13515 (improved tree placement), but I'm wondering whether the PR's name should be made more specific (especially for the changelog). Something like 'Change: Make tree placement at world generation look more organic"
20:06:32 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13564: Codefix: 'Short global name' https://github.com/OpenTTD/OpenTTD/pull/13564
20:10:56 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13361: Codechange: use std::string as backing for textbuf https://github.com/OpenTTD/OpenTTD/pull/13361
20:14:00 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #13361: Codechange: use std::string as backing for textbuf https://github.com/OpenTTD/OpenTTD/pull/13361#pullrequestreview-2619488335
20:14:44 *** Borg has quit IRC (Quit: leaving)
20:15:08 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13361: Codechange: use std::string as backing for textbuf https://github.com/OpenTTD/OpenTTD/pull/13361#pullrequestreview-2619488457
20:15:40 <peter1138> Okay, well, rename it :)
20:20:02 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #13515: Change: Make tree placement at world generation look more organic https://github.com/OpenTTD/OpenTTD/pull/13515#pullrequestreview-2619489056
20:36:26 <DorpsGek> [OpenTTD/nml] glx22 merged pull request #363: Change: [Actions] Use cibuildwheel for releases https://github.com/OpenTTD/nml/pull/363
20:39:47 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
20:45:37 <DorpsGek> [OpenTTD/OpenTTD] JGRennison opened pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567
20:45:53 <DorpsGek> [OpenTTD/nml] glx22 updated pull request #346: Update: changelog for 0.7.6 https://github.com/OpenTTD/nml/pull/346
20:50:39 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567#issuecomment-2661096425
20:50:55 <DorpsGek> [OpenTTD/nml] audigex commented on pull request #342: Codechange: Vendor in latest ply version https://github.com/OpenTTD/nml/pull/342#issuecomment-2661096502
20:52:54 <DorpsGek> [OpenTTD/nml] glx22 commented on pull request #342: Codechange: Vendor in latest ply version https://github.com/OpenTTD/nml/pull/342#issuecomment-2661097273
20:52:58 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13361: Codechange: use std::string as backing for textbuf https://github.com/OpenTTD/OpenTTD/pull/13361
20:54:05 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13515: Change: Make tree placement at world generation look more organic https://github.com/OpenTTD/OpenTTD/pull/13515
20:55:48 <truebrain> \o/
20:56:33 <DorpsGek> [OpenTTD/OpenTTD] JGRennison closed pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567
20:56:36 <DorpsGek> [OpenTTD/OpenTTD] JGRennison commented on pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567#issuecomment-2661098341
20:56:52 <truebrain> lol @ ply: `it is maintained as a mature library` .. last modified date? 2 years ago 😄
20:57:07 <truebrain> some ambitions died 🙂
20:57:33 <peter1138> Well, someone will probably complain that the number of trees isn't exactly the same.
21:01:36 <locosage> 13515 looks overly complex for what it achieves
21:01:59 <locosage> feels like just some wiggly function on distance and angle could've done the same
21:05:01 *** yiffgirl has joined #openttd
21:05:02 <yiffgirl> PeterNviaGitHub: just as i finished making my visualizer lol
21:05:02 <yiffgirl> it's actually quite fascinating. i'm not quite sure how it works, but `s`, `t`, and `d` are essentially "which side of line N is this point on".
21:05:02 <yiffgirl> as long as the point is within the triangle, they all share the same sign, but as soon as you cross one line, you're on the other side and thus at least one of the three don't match
21:05:43 <xarick> dP is the master of algorithms
21:07:04 <yiffgirl> eg: `s = (side2width * distanceFromVertex2.y) - (side2height * distanceFromVertex2.x)`
21:07:04 <yiffgirl> i'm not sure why that works but it's so interesting
21:08:51 *** johnfranklin has joined #openttd
21:08:51 <johnfranklin> I overslept and missed dinner
21:09:32 <truebrain> never too late for dinner!
21:10:41 <peter1138> If you miss dinner, then the next one is supper.
21:10:57 <peter1138> And yes, predictably all the experts come out after something is merged.
21:11:23 <yiffgirl> i'm just happy it's in
21:11:38 <yiffgirl> no more ugly diamonds!
21:13:54 <frosch123> yiffgirl: In case you really want to know: The sign of the determinant tells the orientation of the vectors
21:14:14 <yiffgirl> frosch123: the determinant?
21:14:23 <frosch123> https://en.m.wikipedia.org/wiki/Determinant
21:15:33 <truebrain> yiffgirl: it is pretty 😄
21:15:57 <peter1138> Thanks for contributing.
21:16:57 <truebrain> what else will you be working on yiffgirl ? 😄
21:18:03 <yiffgirl> truebrain: there was that tree spreading pr.
21:21:33 <yiffgirl> other than that my general plan is to work on anything tagged stale that i think looks cool
21:21:33 <yiffgirl> probably more work on my newgrfs before that though
21:22:01 <truebrain> 😄 nice 🙂
21:25:43 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567#issuecomment-2661110606
21:26:25 <truebrain> (I like faster regression runs 😛 )
21:28:00 <peter1138> Bumping the version number should be fine. I only bumped it to 3.16 because that was the highest version in the source at the time.
21:28:13 <peter1138> Well
21:28:19 <peter1138> That's in the wrong place.
21:28:35 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567#issuecomment-2661111320
21:28:40 <peter1138> That's in the right place.
21:28:44 <truebrain> 😄
21:34:47 <DorpsGek> [OpenTTD/OpenTTD] JGRennison reopened pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567
21:34:56 <DorpsGek> [OpenTTD/OpenTTD] JGRennison updated pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567
21:35:26 <peter1138> Let's hope the CI doesn't complain now :D
21:37:23 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568
21:42:56 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568#pullrequestreview-2619499130
21:43:03 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568#pullrequestreview-2619499141
21:43:58 <peter1138> Ah.
21:45:43 <DorpsGek> [OpenTTD/OpenTTD] PeterN requested changes for pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568#pullrequestreview-2619499301
21:45:43 <truebrain> peter1138: CI likes it just fine 🙂
21:47:46 <truebrain> su has been typing for the last 10 minutes now
21:47:48 <truebrain> I am scared 😛
21:48:04 <yiffgirl> hm. my last comment on that spreading pr [slightly edited for clarity]:
21:48:04 <yiffgirl> > my intent was to make this forest spreading a new spreading setting rather than relying on the "improved" placement, but i'm realizing that doing so would involve changing the spreading options from
21:48:04 <yiffgirl> >
21:48:04 <yiffgirl> > - no spreading
21:48:04 <yiffgirl> > - spread only in rainforests
21:48:05 <yiffgirl> > - spread everywhere
21:48:05 <yiffgirl> >
21:48:07 <yiffgirl> > to
21:48:07 <yiffgirl> >
21:48:09 <yiffgirl> > - no spreading
21:48:09 <yiffgirl> > - spread only in rainforests
21:48:11 <yiffgirl> > - spread only when near many other trees
21:48:11 <yiffgirl> > - spread only in rainforests, near many other trees
21:48:13 <yiffgirl> > - spread everywhere
21:48:13 <yiffgirl> >
21:48:15 <yiffgirl> > which is a bit more complexity than i was bargaining for. i'd like your feedback before i go ahead with it.
21:48:15 <yiffgirl> i think that probably still needs addressing? or maybe it's just bikeshedding and i shouldn't bother with making spreading interact with rainforests
21:48:27 <yiffgirl> truebrain: lol
21:49:46 <andythenorth> wave form collapse 😛
21:50:39 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567#pullrequestreview-2619499981
21:53:23 <frosch123> yiffgirl: "Spreading in rainforest" is related to original TTD and the lumbermill industry. It can only be built in rainforest and cuts actual trees
21:56:40 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568
21:58:49 <yiffgirl> i think then that i should go with
21:58:49 <yiffgirl> - no spreading
21:58:49 <yiffgirl> - spread only in rainforests
21:58:49 <yiffgirl> - spread only when near other trees
21:58:49 <yiffgirl> - spread everywhere
21:58:51 <yiffgirl> and have the "only in rainforests" setting use the current spread mechanism
22:10:15 <peter1138> What if there is no new option, and "spread everywhere" means "spread everywhere, biased to near other trees"?
22:14:25 <peter1138> Hmm, why does trying to overbuild stations (or otherwise modify) someone elses station not give the usual "... owned by" error.
22:15:30 <peter1138> The owned by error only appears if you try to destroy or remove it.
22:16:52 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568#pullrequestreview-2619502642
22:19:20 <peter1138> Sped up Windows CI tests by ~ 10 seconds or so? Or just a coincidence...
22:19:45 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #13567: Codechange: Use ZIP_LISTS for cmake regression output line iteration https://github.com/OpenTTD/OpenTTD/pull/13567
22:25:47 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:29:04 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #13569: Codechange: Use EncodedString for error messages. https://github.com/OpenTTD/OpenTTD/pull/13569
22:32:25 <xarick> is it possible to use references in squirrel
22:39:22 *** kuka_lie has quit IRC (Quit: leaving)
22:44:00 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #13568: Codechange: rework StringFilter to not need MallocT anymore https://github.com/OpenTTD/OpenTTD/pull/13568
22:46:35 <yiffgirl> peter1138: funny you should say that,
22:46:35 <yiffgirl> https://github.com/OpenTTD/OpenTTD/pull/12712#pullrequestreview-2088240734
22:47:23 <peter1138> Sorry I don't remember things from 9 months ago...
22:47:51 <yiffgirl> not a problem, just funny
22:48:32 <peter1138> Well, diamonds, eh?
22:50:29 <yiffgirl> if i recall right people seemed divided on if it should be a new thing or if it should overwrite an old thing, even on the original pr.
22:53:17 <peter1138> Well.
22:53:20 <peter1138> Always the case :p
22:53:26 <peter1138> Looking at Zorg's last post.
22:53:50 <peter1138> The shape is best in the second picture, although perhaps too many trees.
22:54:11 <peter1138> The JGRPP picture is... weird?
22:54:50 <peter1138> Hmm, I think I can split off the error-company changes first.
22:55:29 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:56:39 <peter1138> But maybe the idea of "trees: low, med, high" is viable.
22:56:59 <peter1138> But then maybe not.
22:57:29 <peter1138> Hm.
22:58:35 <yiffgirl> plant a new tree only if tree count <= some number, perhaps?
22:59:39 <yiffgirl> the jgr picture seems like it was just uniform but less dense
22:59:44 <peter1138> After 3 years my map is filled with trees :D
22:59:57 <peter1138> The uniformness is not nice.
23:01:39 <yiffgirl> yeah.
23:01:40 <yiffgirl> trees turning the entire map into a completely uniform mass has been my biggest issue with the game for a long while.
23:03:32 <peter1138> Hmm.
23:03:37 <yiffgirl> which is maybe a bit silly of me that that's what irks me the most, but still
23:07:45 <peter1138> Hmm, why is the tree growth algorithm not changable in game...
23:08:05 <peter1138> Or... does that only affect world gen. That would make sense.
23:10:13 <peter1138> Hmm.
23:22:13 <peter1138> Maybe something like water flooding...
23:33:55 <peter1138> Hmm.
23:34:38 <peter1138> If you simply limit growth, then tree clumps "migrate" a bit.
23:47:36 <peter1138> Oh, that's why my trees are growing so fast.
23:47:42 <peter1138> Wallclock :D
23:48:07 <peter1138> It's set to 120, so my "after 3 years" was actually "after 30 years"
23:49:01 <peter1138> This needs an algorithm with built in hysteresis.