IRC logs for #openttd on OFTC at 2025-08-26
            
00:06:46 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
00:57:37 *** Flygon has joined #openttd
01:52:53 <yiffgirl> allowing llmslop anywhere near the code starts a nasty precedent
01:54:13 <yiffgirl> sets, even.
01:55:17 *** tokai|noir has joined #openttd
01:55:17 *** ChanServ sets mode: +v tokai|noir
02:02:15 *** tokai has quit IRC (Ping timeout: 480 seconds)
02:29:50 *** Wormnest has quit IRC (Quit: Leaving)
03:14:49 <DorpsGek> [OpenTTD/OpenTTD] Kyle-McDangersword opened issue #14536: New Zealand Mฤori Localisation https://github.com/OpenTTD/OpenTTD/issues/14536
03:16:24 *** Zathras has joined #openttd
03:18:21 <dh1> rawe!
03:19:41 *** Zathras_11 has quit IRC (Ping timeout: 480 seconds)
04:11:54 *** keikoz has joined #openttd
04:40:55 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/d3d25a39a08ebb381a77d82bd244468d695be7a5
04:40:56 <DorpsGek> - Update: Translations from eints (by translators)
05:19:51 <andythenorth> FWIW, the first place I saw LLMs being used to write code was here
05:20:08 <andythenorth> I was pretty unconvinced prior to that
05:36:21 *** WormnestAndroid has quit IRC (Remote host closed the connection)
05:36:25 *** WormnestAndroid has joined #openttd
05:47:21 <rito12_51026> `Your connection is not private
05:47:21 <rito12_51026> Attackers might be trying to steal your information from www.tt-wiki.net (for example, passwords, messages, or credit cards).
05:47:21 <rito12_51026> net::ERR_CERT_DATE_INVALID`
05:47:28 <rito12_51026> ???
05:55:53 <DorpsGek> [OpenTTD/OpenTTD-TTF] LordAro approved pull request #17: Fix: Lowercase i ogonek right bearing was zero https://github.com/OpenTTD/OpenTTD-TTF/pull/17#pullrequestreview-3154039727
05:59:08 <LordAro> andythenorth: but you were convinced after?
05:59:23 * LordAro ponders whether we need an "official policy"
05:59:56 <LordAro> (which i'm perfectly happy with it being "none at all")
06:01:13 <LordAro> rito12_51026: expired cert. the powers that be have been informed
06:26:48 <andythenorth> LordAro: yes, TB showed convincing results
06:27:01 <andythenorth> at least to the extent of LLMs being fancy autocomplete
06:34:15 <kuhnovic> An LLM is a tool, and tools can be used correctly and incorrectly. At work I use the integrated copilot in VS and it saves me quite a bit of time. It is mostly a fancy autocomplete although it can do much more if you want it to. Including letting it create all kinds of AI slop. The problem arises when people don't check the generated code, or worse, don't understand it. IMO that's not the fault of
06:34:15 <kuhnovic> the LLM, and banning LLM generated code altogether feels wrong to me.
06:38:37 <reldred> It's like a lot of tools in all trades. There are certain tools you don't leave the Apprentice alone with because they'll cut their hands off or otherwise make a mess of the job. Ethics aside, and I can definitely sympathize with the ethical concerns though I am much more a pragmatist, I think it'll be interesting to see what AI/LLM tools survive once the VC's get bored, everyone starts wanting an
06:38:37 <reldred> ROI, and the tools have to start costing what they actually cost to run.
06:39:53 <reldred> Maybe a "No AI/LLM from first time contributors" needs to be the rule, maybe it needs to be a straight up ban. People far smarter than me will have to wrestle with that one.
06:39:54 <andythenorth> well apparently there will be unprecedented economic growth from AI
06:39:58 <andythenorth> allegedly
06:40:02 <andythenorth> which drives the valuations
06:40:03 <reldred> apparently
06:40:25 <andythenorth> this will be achieved by the massive reduction in headcount that most companies will be able to achieve via agentic AI
06:40:29 <reldred> yeah bunch of VC's are allegedly apparently wink wink nudge nudge say no more say no more getting a bit bearish on it.
06:40:34 <andythenorth> what in this picture doesn't work?
06:41:48 <reldred> all I know is that most AI diehards I know are also starting to border on total mental incompetence since they outsourced all their thinking, so it's put me right off it.
06:42:30 <reldred> And a manager once insulted me by asking me to feed all my work emails through chat GPT to 'make them read better' and I refused.
06:42:50 <reldred> not even on the disclosing customer data to a third party system point
06:43:04 <reldred> but just that I was offended he didn't like my writing.
06:44:31 <kuhnovic> Maybe he was hinting at your creative use of profanity. Which I find quite amusing.
06:45:25 <reldred> this email didn't even have any of that! No, the email he didn't like had a bit of a run-on sentence. He could have just said that and I would have been OK with it.
06:46:00 <reldred> But yeah that business was a complete joke
06:46:09 <LordAro> We've done an awful lot of messaging at work along the lines of 'don't put company data into any random LLM'
06:46:37 <reldred> I'm now on the other side of the country earning double what I used to deal with about a quarter of the BS.
06:46:45 <kuhnovic> It is scary that the knee-jerk reaction seem to be "run it through chatGPT" instead of "have another look, use your brain and change it"
06:46:58 <reldred> "use your brain"
06:47:03 <reldred> seems to be the missing element
06:47:51 <reldred> I do think that someone who is mentally disciplined could do great things with it, but it was like the early days of google, we had to have school subjects on using search engines, understanding and citing sources, copyright, etc. etc.
06:47:54 <kuhnovic> LordAro: Where I work they created their own LLM just to avoid leaking IP and customer data
06:48:25 <reldred> Yeah I've heard of some really great success stories of locally created LLM's trained on the internal knowledge base.
06:48:36 <reldred> Airgapped from the outside world
06:48:53 <LordAro> indeed, we've got a couple of those now too, though generally that's just paying money to services that promise not to use the data...
06:48:54 <reldred> And people could just go pepper it with all their dumb questions on things rather than harass the SME's directly.
06:49:50 <LordAro> one of the major things that have been done with it is to implement a wiki search (we use a wiki as a primary source of knowledge), which i still don't really understand the need for
06:50:37 <andythenorth> LLMs as fact searches are terrible
06:50:53 <reldred> Generally yes
06:50:54 <andythenorth> but then so are wikis ๐Ÿ˜›
06:51:02 <reldred> Also generally yes ๐Ÿ˜›
06:51:31 <reldred> But Iโ€™m one of those โ€˜documentation and procedures too often get used as an excuse for an engineer to not understand the work they are doingโ€™ kinda people
06:52:05 <LordAro> for some reason my arguments that people should search for something that's actually on the page didn't wash
06:52:19 <LordAro> or better, change the page so it contains those search terms
06:52:37 <LordAro> i'm not sure why they're expecting google (of old) levels of search
06:53:30 <kuhnovic> Because people think that LLMs can think
06:53:31 <LordAro> reldred: oh i love those. our QA department is great at them
06:54:08 <LordAro> eventually i'll get an answer of it being needed by some external standards document, but it's not like anyone except the QA lead actually knew that
06:54:13 <kuhnovic> reldred: "Just put a note in the documentation so we point them to that"
06:54:29 <reldred> I mean not entirely, I think documentation and procedures are important, I just get annoyed at how they get used sometimes.
06:54:49 <reldred> or maybe I'm just annoyed at shitbirds who can't do their job.
06:57:12 <kuhnovic> Another good example of a tool being used and abused
07:01:23 <reldred> all I can think of now is 'oh shit its bobby WITH THA TOOL!'
07:01:44 <andythenorth> GPT is my friend
07:01:49 <andythenorth> it understands me and cares about me
07:02:04 <reldred> I just stick with having no friends
07:02:08 <reldred> easier that way
07:03:45 <reldred> I left them all behind halfway across the country to go chase money. Feels bad.
07:10:41 <_zephyris> I had fun trying to break AIs, https://arxiv.org/abs/2501.14249
07:15:01 <_zephyris> Linear "thinking" and glorified autocomplete are good, connected thinking not.
07:34:03 <andythenorth> that is interesting ๐Ÿ‘€
07:45:04 *** zai2137 has joined #openttd
07:45:04 <zai2137> _glx_: I see you tried to fix Bee Reward in the past, have you been able to get it working with newer OTTD versions? the value of this.wanted_amount is good, but it seems GSText won't ever print the news message/goal entry properly here
07:45:49 <zai2137> the type of cargo, destination, and the reward are all good. It's only the amount that's missing, as if CARGO_LONG ignored the second param (int)
07:55:25 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris merged pull request #17: Fix: Lowercase i ogonek right bearing was zero https://github.com/OpenTTD/OpenTTD-TTF/pull/17
07:55:30 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris closed issue #16: Spacing of "ฤฏโ€Œ" (U+012F) character is too narrow https://github.com/OpenTTD/OpenTTD-TTF/issues/16
08:20:38 *** toktik has quit IRC (Remote host closed the connection)
08:29:00 *** Flygon has quit IRC (Remote host closed the connection)
08:33:54 *** toktik has joined #openttd
08:38:00 <pickpacket> zai2137: What's Bee Reward?
08:46:49 <zai2137> It's a gamescript which used to work, but due to changes in OTTD (presumably) it stopped working properly
08:49:36 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris updated pull request #19: Feature: Sans town and city icons in private usage range https://github.com/OpenTTD/OpenTTD-TTF/pull/19
08:49:46 <_zephyris> Another day, another rebase
08:51:16 <_zephyris> Presumably would be best to remove TTFs from the repo, only build and upload as a release/to vendor for ottd. Then occasionally update the preview images.
08:54:13 <LordAro> How much effort is it to build the TTF via CI?
09:22:00 *** SigHunter has joined #openttd
09:30:16 <_zephyris> Shouldn't be hard, but I wouldn't know where to start ๐Ÿ˜‰
09:30:26 <LordAro> :D
09:32:16 <LordAro> in theory it's just calling build.sh / make from a github action. Of course, it's always a bit more involved than that (installing dependencies, running extra scripts etc)
09:32:36 <_zephyris> Yeah...
09:33:22 <_zephyris> It should be a simpleish one (`make all`, requiring python, PIL/pillow, fontforge)
09:40:35 <DorpsGek> [OpenTTD/OpenTTD-TTF] 2TallTyler approved pull request #19: Feature: Sans town and city icons in private usage range https://github.com/OpenTTD/OpenTTD-TTF/pull/19#pullrequestreview-3154831718
09:41:23 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris merged pull request #19: Feature: Sans town and city icons in private usage range https://github.com/OpenTTD/OpenTTD-TTF/pull/19
09:41:28 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris closed issue #18: Town and the city sign icons missing https://github.com/OpenTTD/OpenTTD-TTF/issues/18
09:51:04 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris updated pull request #20: Fix: Adjust New Shekel glyphs to match x height https://github.com/OpenTTD/OpenTTD-TTF/pull/20
09:51:38 <DorpsGek> [OpenTTD/OpenTTD-TTF] LordAro approved pull request #20: Fix: Adjust New Shekel glyphs to match x height https://github.com/OpenTTD/OpenTTD-TTF/pull/20#pullrequestreview-3154875290
09:51:48 <LordAro> tbf on the preview images, it's often the only way i can tell what's changed
09:51:58 <LordAro> (with the swipe image diff view)
09:52:15 <_zephyris> Yeah, it is handy like that.
09:52:44 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris merged pull request #20: Fix: Adjust New Shekel glyphs to match x height https://github.com/OpenTTD/OpenTTD-TTF/pull/20
09:52:49 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris closed issue #9: The new shekel currency symbol is too tall https://github.com/OpenTTD/OpenTTD-TTF/issues/9
10:03:52 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris opened pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21
10:04:23 <_zephyris> Might be a good change, not sure TBH.
10:30:43 <_glx_> zai2137: Most likely worked by pure luck when GSText were not properly validated
10:37:09 <DorpsGek> [OpenTTD/OpenTTD-TTF] LordAro commented on pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21#pullrequestreview-3155011906
10:42:30 <zai2137> _glx_: And have you been able to find any resources that'd help you troubleshoot it? I'm confused as to where the error occurs, whether it's due to the type of the variable being passed, the parameter's index or anything else. The value prints nicely, so does the type of the argument. Unfortunately, I haven't had that much experience with C and its derivatives in the past, so there might be a
10:42:30 <zai2137> language-specific troubleshooting step im not aware of.
10:46:38 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris commented on pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21#pullrequestreview-3155048189
10:47:17 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris commented on pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21#pullrequestreview-3155050698
10:50:50 <_glx_> zai2137: In theory there should be some info in script debug window
10:50:52 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris updated pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21
10:51:24 <_glx_> Validation is quite verbose
10:51:46 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris commented on pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21#issuecomment-3223654340
10:52:46 <zai2137> _glx_: Yeah that's the issue. There isn't. There were some validation errors in the repo I cloned, but after tweaking it it no longer throws anything at me. It's as if GSText defaults to "0", even if the parameter is correct
10:56:05 <zai2137> I'll take a look at OTTDs handling of string actions later to check if I see anything suspicious there
10:58:33 <_glx_> Using 14.1, 15-beta or nightly?
11:07:45 *** dh1 has quit IRC (Quit: My Mac has gone to sleep. ZZZzzzโ€ฆ)
11:08:38 *** dh1 has joined #openttd
11:12:27 *** peter1138 has joined #openttd
11:12:27 *** ChanServ sets mode: +o peter1138
11:13:57 <peter1138> What's slopping today?
11:20:05 <peter1138> I haven't yet deleted my fork, so there's that.
11:24:10 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537
11:24:53 <talltyler> Just a proposal, curious to see what others think (leave your comments on GitHub for posterity ๐Ÿ™‚ )
11:26:26 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3223765348
11:29:45 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3223775841
11:35:23 <andythenorth> looking what TB wrote with copilot
11:35:28 <andythenorth> might have mostly been TrueGRF
11:36:22 <andythenorth> oh possibly parts of Bananas
11:36:39 <andythenorth> Iron Horse is significantly LLM generated at this point
11:37:12 <peter1138> Until Iron Horse is upstreamed into vanilla that is your dubious choice.
11:38:24 <ahyangyi> Anyways, that PR makes me reconsider my statement "AI is good at writing tests"
11:38:36 <ahyangyi> AI is good at writing tests that I already know how to write
11:38:39 <andythenorth> AI isn't specifically good at anything
11:38:48 <ahyangyi> AI is specificially bad at something
11:38:52 <andythenorth> LLMs are specifically good at token stream prediction that pleases the end user
11:39:04 <ahyangyi> so might as well call the "not specifically bad" problems "good"
11:39:08 <ahyangyi> *relatively*
11:39:40 * andythenorth lunch
11:39:44 <andythenorth> LLMs don't lunch
11:39:49 * andythenorth does
11:40:47 <ahyangyi> Kind of weird to think that even the slowest AI is also *fasting*
11:48:52 <talltyler> LLMs are specifically good at allowing capitalists to continue their delusion that infinite growth is possible and desirable
11:52:45 <peter1138> > it doesn't know what words mean, just which words fit
11:54:50 <talltyler> Thatโ€™s the best shortest description Iโ€™ve seen ๐Ÿ™‚
11:55:31 <talltyler> Of course some apologists will try to convince us that human brains work the same wayโ€ฆ which is not true. ๐Ÿ˜„
11:59:23 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3223885142
12:01:55 <_zephyris> There is a fundamental attention span/range/distance limitation inherent to LLMs which (currently) is their limit for larger scale reasoning. The open question is how big does that span/range/distance need to be, and is the LLM architecture able to do that within compute availability.
12:02:21 <peter1138> talltyler, it will be true if they keep using it...
12:04:30 <talltyler> Yes, unfortunately. ๐Ÿ™
12:05:17 <_zephyris> Well, on the plus side, OpenTTD-TTF has no open bugs, and all without LLM help!
12:05:27 <DorpsGek> [OpenTTD/OpenTTD] ahyangyi commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3223903581
12:07:17 <_zephyris> How about if I write my own ML model, and use that?
12:07:57 <_zephyris> Sounds silly, but I was experimenting with making and training a pixel art upscale model.
12:09:42 <ahyangyi> Perhaps we can limit it to LLMs.
12:09:45 <zai2137> _glx_: jgrpp 0.65.4, so I'll test on vanilla to see if it's not JGRs fault
12:09:50 <Timberwolf> I tried to train a model once to convert the output of GoRender into properly Simon Foster style sprites (i.e. features perfectly aligned on pixels, that certain "crispness" they have) but never managed to get the reward function right so it'd get stuck on stupid stuff like "change the index of the transparent background by 1"
12:09:51 <ahyangyi> AI is a very vague term
12:10:02 <Timberwolf> Also lack of training data.
12:10:29 <ahyangyi> We certainly cannot ban pathfinders in OpenTTD, even if they were once part of "AI research"
12:11:08 <LordAro> https://www.qemu.org/docs/master/devel/code-provenance.html#use-of-ai-content-generators here's what i was thinking of when i mentioned having a policy
12:11:47 <peter1138> zai2137, what are you testing?
12:13:02 <talltyler> That's a good policy
12:14:21 <zai2137> _glx_: it's always the simplest stuff - it works well on vanilla, thanks for reminding me about that ๐Ÿ˜‰
12:15:24 <zai2137> peter1138: There was an issue with a string not being substituted properly by GSText, while it worked well on previous versions - I thought something might've changed in the game's source
12:15:46 <peter1138> Many things change in the game's source.
12:16:27 <peter1138> Especially with strings as I touched quite a bit of that.
12:16:35 <zai2137> That is exactly what led me to believe something broke in GSText itself
12:17:11 <peter1138> It's possible, though I did actually add a unit test for converting from old to new format for stored GSText strings.
12:17:46 <DorpsGek> [OpenTTD/OpenTTD] diekmann commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3223941577
12:17:51 <peter1138> Some GS are just broken though, like Bee Reward.
12:20:29 <zai2137> peter1138: oh? What do you mean?
12:20:35 <peter1138> (I think that may have been fixed, but then not released.)
12:21:33 <peter1138> For that? The version on bananas has some incorrect strings, but the version on the gitlab repository is corrected.
12:22:17 *** locdev has joined #openttd
12:22:32 *** locdev has quit IRC ()
12:25:10 <peter1138> > https://www.theregister.com/2025/08/26/docker_desktop_bug/ oops
12:26:18 <LordAro> oof.
12:26:30 * LordAro pastes that into the relevant #work channel
12:29:16 <zai2137> peter1138: Yeah that
12:29:49 <peter1138> I guess the author forgot to release? (Who would do such a thing...)
12:33:31 <zai2137> pretty sure they gave up when ottdcoop kicked the bucket
12:41:20 <zai2137> https://cdn.discordapp.com/attachments/1008473233844097104/1409880391816315002/Screenshot_2025-08-26_at_14.39.58.png?ex=68aefcef&is=68adab6f&hm=88ee012ed3f2eb62d6c0edb73dbc64c78b20efbd92070273f83f1ffa1b0e93de&
12:41:20 <zai2137> Anyway, after fixing the strings, the base functionality (generating goals and providing the rewards) seems to be working. I'll be publishing this corrected version on bananas soon, but first I'll see what in JGRPP might be causing these issues. Thanks all for thinking along!
12:52:01 <peter1138> https://gitlab.com/jottyfan/bee-reward/ Well, it was fixed in Jan 2024, long after the OpenTTDCoop services were flaking apart.
12:54:02 <peter1138> Me: prepares a PR, also me: merges the PR, also me: oh crap, perhaps I should've included this as well.
12:57:14 <_glx_> hmm I may have failed when reviewing <https://github.com/OpenTTD/OpenTTD/pull/14193>, doing some tests now to check
13:00:58 <_glx_> indeed I failed, but we are lucky it seems to not cause any side effect
13:08:27 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #14538: Codefix bd1a3fe0: Incorrect handling of squirrel stack https://github.com/OpenTTD/OpenTTD/pull/14538
13:39:16 <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #14538: Codefix bd1a3fe0: Incorrect handling of squirrel stack https://github.com/OpenTTD/OpenTTD/pull/14538#pullrequestreview-3155689703
13:39:42 <peter1138> No idea how that didn't fail.
13:48:27 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
13:48:28 *** WormnestAndroid has joined #openttd
13:49:09 <peter1138> https://fuzzle.me.uk/files/ce934fb9-e80d-46a3-9568-2404307cb88c
13:49:17 <peter1138> Should we continue to support this font configuration? :o
13:53:11 <peter1138> https://fuzzle.me.uk/files/5f0a6fab-bc79-4f4a-9632-b7bfcbd5016e
13:53:38 <peter1138> Side-by-side update takes account of the sprite font height regardless of the configured scalable font size.
13:54:05 <LordAro> i see no reason why not
13:54:13 <peter1138> (Even when the sprite font isn't visible in a string.)
13:54:34 <LordAro> ah, that might be worth considering
13:54:54 <peter1138> This is, of course, and extreme case that nobody normal would be using. But I was surprised by seeing "3" in the font size survey data....
13:56:22 <peter1138> Only occurs if you have smaller-than-default fonts. The more common case is default size or larger-than-default fonts.
13:59:56 <DorpsGek> [OpenTTD/OpenTTD] zephyris commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3224299637
14:00:06 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #14538: Codefix bd1a3fe0: Incorrect handling of squirrel stack https://github.com/OpenTTD/OpenTTD/pull/14538
14:04:22 <_glx_> it didn't fail for a simple reason, registering calls are direct calls and the script main loop is not yet loaded/running, so stack state is less vital
14:17:15 <DorpsGek> [OpenTTD/OpenTTD-TTF] zephyris updated pull request #21: Codechange: Comprehensive refactor of make rules and output structure https://github.com/OpenTTD/OpenTTD-TTF/pull/21
14:20:17 <peter1138> Hmm, PostgreSQL style users-are-just-roles-with-a-password, perhaps.
14:34:25 <DorpsGek> [OpenTTD/OpenGFX2] 2TallTyler commented on pull request #211: Feature: Add city and town icons to sprite font https://github.com/OpenTTD/OpenGFX2/pull/211#pullrequestreview-3155941997
14:37:51 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #13265: Change: Convert Magic Bulldozer to settings https://github.com/OpenTTD/OpenTTD/pull/13265
14:41:01 <rito12_51026> Why functions regarding to signals in `rail_map.h` are not documented with use of comments? Other functions in this file are
14:44:58 <talltyler> No reason besides nobody wrote them ๐Ÿ˜‰
14:49:43 <rito12_51026> Should I then add comments in corresponding metro functions or leave uncommented to match rail ones?
14:50:18 <LordAro> given there's a near-zero chance this 'metro' stuff ever gets into master, you can do whatever you like
14:58:46 <rito12_51026> LordAro: Is there any chance of getting it as a newGRF only feature, same as trams?
15:00:27 <LordAro> I've no idea, all I know is that extending the map array in the way you're going is unlikely to be approved
15:00:41 <LordAro> Not that this should stop you! Some of the best features started out as massive hacks
15:02:53 <rito12_51026> I haven't extended map array, it's size remains as it was
15:03:21 <LordAro> then maybe my information is out of date
15:03:47 <LordAro> the general rule for new stuff is "do it properly" even if what's currently there doesn't
15:04:03 <rito12_51026> I've used all free bits that were there
15:04:54 <_glx_> what would be different between your "metro" and a railtype ?
15:05:35 <LordAro> _glx_: i believe the idea is to be able to build tracks under buildings and roads and things
15:05:40 <LordAro> and possibly stations too
15:05:40 <rito12_51026> LordAro: Ok, should I also add comments in rail_map.h or whould it be multiple things in one PR?
15:05:45 <rito12_51026> yes
15:06:18 <LordAro> rito12_51026: as far as PRs are concerned, keep them focused, don't make unrelated changes that you don't have to
15:06:19 <_glx_> would be better to have that for any railtype
15:06:27 <rito12_51026> stations are a bit problematic though
15:06:35 <LordAro> if you want to add comments to functions that are already there, then by all means PR that separately
15:08:35 <rito12_51026> I have one more question, how to name static variables?
15:09:07 <rito12_51026> I couldn't find example in CODINGSTYLE.md
15:09:11 <LordAro> i don't think we have any particular rules about that
15:09:22 <LordAro> see what existing stuff does (and go with the majority)
15:09:29 <rito12_51026> ok
15:11:06 *** Wormnest has joined #openttd
15:13:04 <DorpsGek> [OpenTTD/OpenGFX2] zephyris commented on pull request #211: Feature: Add city and town icons to sprite font https://github.com/OpenTTD/OpenGFX2/pull/211#pullrequestreview-3156129722
15:13:26 <DorpsGek> [OpenTTD/OpenGFX2] zephyris updated pull request #211: Feature: Add city and town icons to sprite font https://github.com/OpenTTD/OpenGFX2/pull/211
15:14:25 <_zephyris> Sorry talltyler, silly rebasing mistake.
15:20:42 <DorpsGek> [OpenTTD/OpenGFX2] 2TallTyler approved pull request #211: Feature: Add city and town icons to sprite font https://github.com/OpenTTD/OpenGFX2/pull/211#pullrequestreview-3156168362
15:21:10 <talltyler> No worries ๐Ÿ™‚
15:27:07 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler closed issue #14532: [Crash]: Trying to enable dynamic engine in a savegame without any vehicles https://github.com/OpenTTD/OpenTTD/issues/14532
15:30:57 <DorpsGek> [OpenTTD/OpenGFX2] zephyris merged pull request #211: Feature: Add city and town icons to sprite font https://github.com/OpenTTD/OpenGFX2/pull/211
15:31:02 <DorpsGek> [OpenTTD/OpenGFX2] zephyris closed issue #209: Missing town sign icons for town and city https://github.com/OpenTTD/OpenGFX2/issues/209
15:31:37 <davidxn> Out of interest (as I mention it a lot in my videos), is the tendency towards bitwise operations in the OpenTTD code deliberate for efficiency, or a holdover from when the code was in assembly? (For example, calculating when a new quarter is starting by taking the number 1001001001b and checking if its [new month]th bit is 1)
15:33:32 <LordAro> probably both
15:36:48 <peter1138> For reference the value is actually "
15:36:50 <peter1138> ...
15:37:05 <peter1138> For reference the value is actually `1 << 0 | 1 << 3 | 1 << 6 | 1 << 9` rather than 1001001001b.
15:38:17 <_zephyris> https://cdn.discordapp.com/attachments/1008473233844097104/1409924925732421662/image.png?ex=68af2669&is=68add4e9&hm=0829d3dde6d0be68f463bee87fb344b65a96c9e35326b59ac436801ea005bd28&
15:38:17 <_zephyris> On the subject of LLM weirdness...
15:38:30 <peter1138> Anyway, it avoids dividing by 3, which is not really important.
15:41:30 <LordAro> _zephyris: i suppose *technically*
15:42:09 <_zephyris> I'm more worried about the memory not even being plugged in!
15:42:57 <LordAro> oh.
15:42:58 <LordAro> lol
15:43:02 <truebrain> It's wireless!
16:07:17 <_glx_> what I guess as the CPU behind it also look weird
16:17:19 <ahyangyi> Apparently GCC also optimizes "modulo 3" into a sequence of multiplication and various bitwise operations
16:30:34 *** Wolf01 has joined #openttd
16:35:53 *** Smedles has quit IRC (Quit: http://quassel-irc.org - Chat comfortably. Anywhere.)
16:36:08 *** Smedles has joined #openttd
16:38:50 <DorpsGek> [OpenTTD/OpenTTD] diekmann commented on pull request #14533: Codechange: Add unit tests for tile creation https://github.com/OpenTTD/OpenTTD/pull/14533#issuecomment-3224937842
16:39:19 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #14539: Fix 7344dfe651: Hang when clicking on a link in a text file. https://github.com/OpenTTD/OpenTTD/pull/14539
16:40:28 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #14539: Fix 7344dfe651: Hang when clicking on a link in a text file. https://github.com/OpenTTD/OpenTTD/pull/14539#pullrequestreview-3156480302
16:43:19 <peter1138> _zephyris went to the effort of putting hyperlinks in OpenGFX2's readme file. But all add-on content is considered untrusted so none of the links are rendered or treated as such.
16:44:14 *** xava has joined #openttd
16:44:39 *** xava has quit IRC ()
16:55:46 <_zephyris> Oh, that would explain it then... I had wondered what was going on, I assumed it was me.
16:56:13 *** gelignite has joined #openttd
16:56:29 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 opened pull request #14540: Add #14536: Maori (New Zealand) language https://github.com/OpenTTD/OpenTTD/pull/14540
17:00:21 <DorpsGek> [OpenTTD/eints] rubidium42 opened pull request #220: Update: add Maori language https://github.com/OpenTTD/eints/pull/220
17:04:48 *** Flygon has joined #openttd
17:11:26 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #14540: Add #14536: Maori (New Zealand) language https://github.com/OpenTTD/OpenTTD/pull/14540#issuecomment-3225040149
17:14:04 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on pull request #14540: Add #14536: Maori (New Zealand) language https://github.com/OpenTTD/OpenTTD/pull/14540#issuecomment-3225047477
17:18:05 <_glx_> ah indeed we only include english.lng for emscripten
17:21:15 <Rubidium> I already feared that when I wrote it, but alas... it first needed to build to be sure
17:21:58 <peter1138> Why is that? Lack of fonts?
17:24:30 *** Wolf01 is now known as Guest25061
17:24:32 *** Wolf01 has joined #openttd
17:25:19 <_glx_> and fontconfig, and freetype
17:25:36 *** Guest25061 has quit IRC (Ping timeout: 480 seconds)
17:25:39 <_glx_> so we decided it was better to have only english instead of possible ????
17:28:20 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #14539: Fix 7344dfe651: Hang when clicking on a link in a text file. https://github.com/OpenTTD/OpenTTD/pull/14539
17:28:54 <michi_cc> truebrain: Have you seen the STUN issue? Might have solved itself by now of course.
17:28:58 <truebrain> Languages are big; websites should be small ๐Ÿ™‚
17:29:10 <truebrain> michi_cc: I did; I blame peter for saying it won't happen for another few years ๐Ÿ˜›
17:29:42 <truebrain> I restarted redis, solving the issue once more. But clearly it needs a deeper look ๐Ÿ™‚
17:33:00 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14539: Fix 7344dfe651: Hang when clicking on a link in a text file. https://github.com/OpenTTD/OpenTTD/pull/14539#issuecomment-3225100066
17:34:58 <DorpsGek> [OpenTTD/OpenTTD] michicc commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3225105195
17:40:16 *** gelignite has quit IRC (Remote host closed the connection)
17:43:17 *** gelignite has joined #openttd
17:55:59 <peter1138> So... if the requested width is narrower than the widest character in the string, the layouter will get stuck in an infinite loop. Probably then the loop should get if any progress is being made.
17:58:07 <peter1138> check...
18:07:06 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3225198278
18:22:24 <truebrain> Did anyone mail orudge about the cert?
18:24:10 <truebrain> I will throw him an email ๐Ÿ™‚
18:29:43 *** SigHunter has quit IRC ()
18:32:30 *** SigHunter has joined #openttd
18:41:36 *** gelignite has quit IRC ()
18:42:22 <DorpsGek> [OpenTTD/eints] TrueBrain approved pull request #220: Update: add Maori language https://github.com/OpenTTD/eints/pull/220#pullrequestreview-3156870695
18:44:14 <DorpsGek> [OpenTTD/OpenTTD] Kuhnovic commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3225316986
18:49:26 <DorpsGek> [OpenTTD/eints] rubidium42 merged pull request #220: Update: add Maori language https://github.com/OpenTTD/eints/pull/220
18:50:01 <DorpsGek> [OpenTTD/eints] rubidium42 commented on pull request #220: Update: add Maori language https://github.com/OpenTTD/eints/pull/220#issuecomment-3225337313
18:50:36 <DorpsGek> [OpenTTD/eints] TrueBrain commented on pull request #220: Update: add Maori language https://github.com/OpenTTD/eints/pull/220#issuecomment-3225338895
18:50:49 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain approved pull request #14540: Add #14536: Maori (New Zealand) language https://github.com/OpenTTD/OpenTTD/pull/14540#pullrequestreview-3156898372
18:51:30 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on issue #14536: New Zealand Mฤori Localisation https://github.com/OpenTTD/OpenTTD/issues/14536
18:51:37 *** SigHunter has quit IRC ()
18:52:29 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #14540: Add #14536: Maori (New Zealand) language https://github.com/OpenTTD/OpenTTD/pull/14540
18:52:32 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 closed issue #14536: New Zealand Mฤori Localisation https://github.com/OpenTTD/OpenTTD/issues/14536
18:53:10 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3225346568
18:53:17 <truebrain> emailing orudge fixed the cert issue ๐Ÿ™‚
18:54:20 *** SigHunter has joined #openttd
19:03:54 <andythenorth> ๐Ÿ™‚
19:06:17 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on issue #14536: New Zealand Mฤori Localisation https://github.com/OpenTTD/OpenTTD/issues/14536
19:12:13 <peter1138> Well, damn it.
19:12:28 <Rubidium> hmm... if we change strings in English, do those get to eints relatively soon or do we have to wait for the nightly eints-commit cycle?
19:12:50 <peter1138> Now need another excuse not to document station/roadstop flags.
19:13:52 <ahyangyi> "Someone already produced the documentation, but they used AI"
19:13:59 <_glx_> Rubidium: it's updated on next eints run
19:14:16 <_glx_> but a run can be triggered manually if required
19:14:39 <truebrain> Rubidium: eints only talks to OpenTTD repo on the push/pull happening every night. There is no other from/to (unless a human does it, ofc). We removed all other magic ๐Ÿ˜„
19:16:18 <Rubidium> so... I'll wait till tomorrow and not worry about the new language not showing up as translations just yet
19:17:09 <truebrain> Or trigger it manually; but yes, correct ๐Ÿ™‚
19:17:14 <LordAro> does the OTTD group need creating manually?
19:17:24 <truebrain> owh, there is a script for that I think ....
19:17:28 <LordAro> translator group in the OTTD org*
19:17:36 <dh1> does ottd store data about what languages are most used?
19:18:07 <truebrain> https://github.com/OpenTTD/team/blob/main/request_access/__main__.py might do that
19:18:32 <_glx_> dh1: check <https://survey.openttd.org/summaries>
19:18:55 <truebrain> The `--generate-issue-templates`
19:19:00 <truebrain> but can only be done after eints ran
19:19:29 <_glx_> <https://survey.openttd.org/summaries/2025/wk34/14.1#game.settings.language> for last week using 14.1
19:20:04 <LordAro> en_US, en & ru being the top 3 is surprising
19:20:11 <LordAro> (25Q2)
19:20:20 <LordAro> top 3 in that order*
19:20:28 <dh1> hm
19:27:33 <peter1138> Okay, something like that.
19:28:22 <peter1138> Haven't touched NML.
19:38:48 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler updated pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537
19:39:29 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #14537: Doc: Define policy on AI usage in OpenTTD development https://github.com/OpenTTD/OpenTTD/pull/14537#issuecomment-3225501020
19:46:36 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13303: Change: Implement side-by-side font cache, allowing use of multiple fonts. https://github.com/OpenTTD/OpenTTD/pull/13303
19:53:58 <peter1138> https://fuzzle.me.uk/files/448f6104-7e49-44c4-94f6-97b929836fbe
19:54:09 <peter1138> This is probably not exactly what these unicode sequences are meant to look like...
19:54:24 <peter1138> But it did automatically load *something*.
19:56:38 <_zephyris> Reminds me of when printers went haywire in the 90s
19:57:08 <peter1138> https://fuzzle.me.uk/files/f7d81827-17f4-4996-abc5-134fa1211a0b
19:57:13 <peter1138> With Noto Emoji installed...
19:57:35 <LordAro> i guess the question is what it's supposed to be
19:59:22 <peter1138> Depends on the font, but generally a rainbow flag and a trans flag.
19:59:38 <_glx_> font detection using wrong encoding ?
19:59:49 <peter1138> No, it's working entirely correctly.
20:00:13 <peter1138> It's not a single unicode codepoint.
20:00:24 <_glx_> hmm blame symbol fonts then
20:00:53 <peter1138> The first was Symbola, which doesn't know to combine the sequence.
20:01:03 <peter1138> The second is Noto Emoji, which does.
20:01:16 <_glx_> I think windings can have the same issue
20:01:25 <peter1138> Noto Color Emoji does not work in OpenTTD as our font renderer was designed with the assumption that text is monochrome.
20:01:49 <peter1138> Wingdings is probably too ancient to have the glyphs anyway.
20:03:21 <_glx_> we skip SYMBOL_CHARSET fonts for win32 anyway
20:03:39 <_glx_> for auto detect
20:03:45 <peter1138> Dunno, I can only test the Freetype/FontConfig stuff.
20:08:00 <peter1138> Supporting 3 different native (well, FT/FC is not exactly native) font systems is a bit of a pain.
20:09:26 <peter1138> Hmm, well, with the icon fontcache system, I can draw colour sprites.
20:09:41 <peter1138> So potentially we could support colour fonts too. But.
20:11:41 <_glx_> hmm I can see `FC_SYMBOL` exists, so maybe that is true for emoji fonts
20:13:30 <peter1138> Anyway, it's not important.
20:14:46 <peter1138> Automatically loading CJK fonts if CJK characters are detected, without affecting fontsizes, is... quite nice.
20:15:12 <peter1138> (This is separate from language detection, which will affect fontsizes.)
20:15:54 <peter1138> (Also this bit isn't in that PR.)
20:16:37 <peter1138> truebrain, iirc the preview sites are never cleared up either?
20:16:53 <peter1138> (Thinking back to the size of them)
20:17:59 <truebrain> peter1138: Storage is cheap; but if you need 2 minutes to open the preview site, that is another story ๐Ÿ˜‰
20:18:22 <truebrain> and in Emscripten world, you have the download all data
20:18:27 <truebrain> We can't load on-demand (yet?) ๐Ÿ˜›
20:29:36 *** bigyihsuan has joined #openttd
20:29:36 <bigyihsuan> peter1138: will that mean we won't get boxes/question marks/empty space when we use non-latin characters?
20:31:18 <bigyihsuan> if so,<a:yippee:1202488330688667729>
20:35:51 <peter1138> https://fuzzle.me.uk/files/d1f911db-edb0-4a12-9184-718112674793
20:35:55 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #13303: Change: Implement side-by-side font cache, allowing use of multiple fonts. https://github.com/OpenTTD/OpenTTD/pull/13303#pullrequestreview-3157226576
20:36:06 <DorpsGek> [OpenTTD/OpenTTD] github-advanced-security[bot] commented on pull request #13303: Change: Implement side-by-side font cache, allowing use of multiple fonts. https://github.com/OpenTTD/OpenTTD/pull/13303#pullrequestreview-3157227007
20:42:57 <peter1138> Hmm, there's a little bit of overlap of the non-latin glyphs.
21:03:55 *** raxitocl has joined #openttd
21:04:58 <raxitocl> hi, can someone help me? i'm creating a Music Set, but i don't know how to make them appear on the settings
21:11:39 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:13:29 <LordAro> raxitocl: how far have you got?
21:13:57 <_glx_> you can use <https://github.com/OpenTTD/OpenMSX> as reference, the most important part for openttd to be able to see it is the .obm file
21:30:17 <raxitocl> i used openMSX as reference, and the .obm file are inside of the folder, but the game can't detect it
22:03:54 <DorpsGek> [OpenTTD/OpenTTD] Kyle-McDangersword commented on pull request #14540: Add #14536: Maori (New Zealand) language https://github.com/OpenTTD/OpenTTD/pull/14540#issuecomment-3225864450
22:07:48 <DorpsGek> [OpenTTD/OpenTTD] Kyle-McDangersword commented on issue #14536: New Zealand Mฤori Localisation https://github.com/OpenTTD/OpenTTD/issues/14536
22:10:59 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:13:52 *** toktik has quit IRC (Quit: Ping timeout (120 seconds))
22:14:02 *** toktik has joined #openttd
22:15:10 <_glx_> you changed `REPO_SHORTNAME` in <https://github.com/OpenTTD/OpenMSX/blob/master/Makefile.config> raxitocl?
22:17:30 <_glx_> shortname in [metadata] section of the obm is what is used to detect all different obm