IRC logs for #openttd on OFTC at 2024-05-16
            
00:53:11 *** yiffgirl has joined #openttd
00:53:11 <yiffgirl> feature request: a real-time clock window/toolbar/etc I can glance at from time to time so I don't end up playing at ungodly hours without realising it the night before an appointment 😩
00:54:16 <yiffgirl> not that it would actually stop me, I'd just realise it was happening rather than suddenly being hit with it
00:54:27 <emperorjake> Just play on windowed mode
00:55:08 <yiffgirl> yeah but that takes away a fraction of screenspace from my trains!!
00:55:41 <yiffgirl> also just in case, this is all in jest
01:16:12 <wensimehrp> yiffgirl: I think there are various tools that does that. If you're on Windows you could use xbox game bar and some extensions to show a clock.
01:16:59 <wensimehrp> There is also a patch on the forums that adds a real-time clock I think.
01:18:27 <wensimehrp> Nevertheless I'm +1 to that change
01:18:30 <efessel> Speaking of time, I've noticed the `14` release runs faster in `Calendar` mode - which is supposed to be legacy mode. Was anything changed wrt ticks per day with the latest release?
01:21:22 <efessel> https://cdn.discordapp.com/attachments/1008473233844097104/1240474139584888872/image.png?ex=6646b111&is=66455f91&hm=61af078732218baea27c268a315cd6bd04548c17d432cffc9cc4f216ffe3bee4&
01:21:33 <efessel> These two games were started at the same time 🤔
01:29:14 <talltyler> Yes, milliseconds per tick was changed slightly
01:29:51 <talltyler> https://github.com/OpenTTD/OpenTTD/pull/10607
01:31:07 <efessel> ahhhh that explains it. Thank you talltyler
01:59:33 *** Wormnest has quit IRC (Quit: Leaving)
02:44:58 *** D-HUND has joined #openttd
02:48:20 *** debdog has quit IRC (Ping timeout: 480 seconds)
03:28:29 <DorpsGek> [OpenTTD/OpenTTD] CI - Nightly workflow was not successful https://github.com/OpenTTD/OpenTTD/actions/runs/9105816363
04:06:01 *** keikoz has joined #openttd
04:41:14 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/26113e3622a8bb2af1fb5f01b1e3460c735e1a34
04:41:15 <DorpsGek> - Update: Translations from eints (by translators)
05:26:06 *** keikoz has quit IRC (Ping timeout: 480 seconds)
05:55:43 *** HerzogDeXtEr has joined #openttd
06:02:03 <johnfranklin> English problem.
06:02:03 <johnfranklin> It seems that "passenger amount" is used. However, can "amount" be used for countable nouns?
06:02:23 <johnfranklin> "passenger number"... weird
06:08:31 *** Ox7C5 has quit IRC (Ping timeout: 480 seconds)
06:18:54 <pickpacket> my longplay map is getting pretty epic. It takes persistence and patience to work on it!
06:55:37 <LordAro> johnfranklin: i'd probably go with "amount of X", but probably need more context
07:21:04 *** SigHunter_ has quit IRC ()
07:23:43 *** SigHunter has joined #openttd
07:36:18 <peter1138> Minhe is having fun
07:36:26 <peter1138> Uh
07:36:38 <peter1138> MingW
07:36:45 <peter1138> Stupid phone!
07:43:02 <peter1138> Ah, yeah, I think it's correct.
07:45:54 <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12689: Fix: Compile failure with newer C++ compiler on MinGW. https://github.com/OpenTTD/OpenTTD/pull/12689
07:49:11 <LordAro> gotta love how only mingw picked up on that
07:50:00 <peter1138> First search hit mentioned gcc 14, which is newer than anything I have. But yeah 🙂
07:50:22 <LordAro> ooh, that'll probably be the only CI that's running gcc 14
07:50:28 <LordAro> rolling release
07:50:31 <LordAro> fun
07:50:33 <peter1138> Yup.
07:51:42 <peter1138> Hmm, I think there may be more 🙂
07:53:18 <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #12689: Fix: Compile failure with newer C++ compiler on MinGW. https://github.com/OpenTTD/OpenTTD/pull/12689
07:53:22 <peter1138> It is not the easiest of things to search in the code for.
07:57:06 *** XYZ has joined #openttd
07:57:19 *** merni has quit IRC (Quit: User went offline on Discord a while ago)
07:58:53 <peter1138> Woah, Hilton have a very strange way of taking payments online.
08:01:46 *** XYZ_ has quit IRC (Ping timeout: 480 seconds)
08:02:52 <peter1138> Payment link is blocked by adblock for being a tracking link, heh.
08:03:14 <peter1138> And then it looks phishy. But hey, not my account so we'll see :p
08:04:51 <peter1138> Well, PR CI still builds, so that's good 🙂
08:33:34 *** Flygon has joined #openttd
08:49:37 *** keikoz has joined #openttd
09:18:07 <DorpsGek> [OpenTTD/OpenTTD] ladysadie opened pull request #12690: Feature: Add font resizing sliders to the game options UI. https://github.com/OpenTTD/OpenTTD/pull/12690
09:18:23 <silent_tempest> Take 2...
09:38:30 <DorpsGek> [OpenTTD/OpenTTD] ladysadie updated pull request #12690: Feature: Add font resizing sliders to the game options UI. https://github.com/OpenTTD/OpenTTD/pull/12690
09:45:33 <peter1138> "Huh, why is this field still showing as uppercase when I removed the CSS that shows it as uppercase?"
09:45:36 <peter1138> > Caps-lock was on
09:46:50 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
09:54:02 *** SigHunter has joined #openttd
10:11:41 <andythenorth> best of reasons
10:12:02 <andythenorth> I filed a bug yesterday about Firefox not loading tracking scripts
10:12:20 <peter1138> Is that by design?
10:12:28 <peter1138> Seems like good design to me.
10:12:47 <andythenorth> told the SaaS vendor it was fine not to load tracking scripts, but if they were going to have a JS-based form validation script, they needed to be sure Firefox wasn't blocking it as tracking
10:13:12 <andythenorth> https://cdn.discordapp.com/attachments/1008473233844097104/1240607981750714489/image.png?ex=66472db8&is=6645dc38&hm=50c1293c0b6dd1e7c2b0ace28ef3c172ecfd37d0cf473d00800076977e3bcdda&
10:13:12 <andythenorth> then I checked my custom FF settings
10:13:13 <andythenorth> oops
10:13:40 <peter1138> Blocking tracking content is going to be normal.
10:13:50 <peter1138> At least for non-Chrome users.
10:13:53 <peter1138> Google would never.
10:13:59 <andythenorth> I think in the long run I am right, but my support ticket yesterday was...wrong 😛
10:14:08 <peter1138> No, they should just not track you.
10:14:30 <peter1138> I guess... if it's not tracking you, then...
10:15:04 <andythenorth> they do need to make sure that FF / mozilla only blocks their tracking script, not their form submit / validation script
10:15:09 <andythenorth> Safari manages it
10:15:27 <andythenorth> but I had thrown some shade at them that turned out to be PEBKAC, so I had to shamefaced ask them to close the ticket
10:15:34 <peter1138> Or just fall back to server-side validation when scripts aren't working.
10:16:10 <peter1138> I disagree, it's not a PEBKAC if normal settings causes it to not work. Blocking tracking content is a normal setting.
10:16:28 <andythenorth> well
10:16:44 <andythenorth> now I feel validated 😛
10:16:53 <andythenorth> but my bug report was factually inaccurate
10:23:10 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
11:03:57 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12689: Fix: Compile failure with newer C++ compiler on MinGW. https://github.com/OpenTTD/OpenTTD/pull/12689#pullrequestreview-2060408058
11:07:31 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #12689: Fix: Compile failure with newer C++ compiler on MinGW. https://github.com/OpenTTD/OpenTTD/pull/12689#issuecomment-2114935521
11:09:23 <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12689: Codefix: Compile warning with newer C++ compiler on MinGW. https://github.com/OpenTTD/OpenTTD/pull/12689
11:10:43 *** SigHunter has joined #openttd
11:31:45 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
11:34:31 *** felix has quit IRC ()
12:12:26 *** SigHunter has joined #openttd
12:23:00 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
12:26:07 *** SigHunter has joined #openttd
12:50:25 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
12:55:40 *** SigHunter has joined #openttd
13:16:42 *** felix has joined #openttd
13:30:40 <peter1138> Hmm, is there a way to tell if a language file uses latin/cyrillic, or something else like arabic, cjk, etc?
13:33:23 <peter1138> I want to avoid the Ransom Note effect 🙂
13:46:54 <peter1138> Hmm, can't go by language content as they include latin characters when referring to names.
13:54:16 <ahyangyi> Why, I don't like the Latin letters in many CJK fonts
13:59:45 <peter1138> Yeah, that's why.
14:01:37 <_glx_> but issue when mixing fonts is different height
14:02:13 <peter1138> I want to avoid mixing latin fonts. Mixing latin & e.g. CJK is fine.
14:02:58 <_glx_> yeah the ugliest was vietnamese in your screenshots
14:05:46 <ahyangyi> I see
14:15:16 <Rubidium> peter1138: maybe add a bit in the language header?
14:21:12 <peter1138> That was indeed a thought.
15:21:40 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
15:22:06 *** SigHunter has joined #openttd
15:44:35 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
15:50:28 <andythenorth> Naptime?
15:58:46 *** SigHunter has joined #openttd
17:46:59 <LordAro> yes
18:01:04 <peter1138> Oh
18:06:53 <peter1138> I found some rabbit holes with my font fallback branch 🙂
18:08:35 <talltyler> Rabbit holes? In OpenTTD? No…
18:09:19 <peter1138> IKR
18:27:24 <andythenorth> We should add RabbitHoles to the grf spec
18:27:31 <andythenorth> OpenTTD 18
18:28:40 <peter1138> They are definitely already there.
18:29:04 <peter1138> See variants. See cargo subtypes. See road types.
18:31:37 <talltyler> RabbitHoles or FootGuns?
18:38:41 *** Wolf01 has joined #openttd
18:47:24 *** EriTheSwitch has joined #openttd
18:48:55 <EriTheSwitch> Hello! Is steam social integration something that makes sense for non-steam (i.e. distro) packaging?
18:50:03 <peter1138> Not really. It only works if the game is started via Steam.
18:50:07 <peter1138> (I believe)
18:50:16 <andythenorth> RabbitHole labels
18:50:41 <andythenorth> Standardised RabbitHole Scheme, v2
18:50:57 <peter1138> Reserve yours now
18:51:03 <EriTheSwitch> Seems to be the case, since it fails to initialize, but wanted to make sure it's not just and issue on my end
18:51:11 <andythenorth> FlatRabbitHoles
18:51:12 <EriTheSwitch> Thank you!
18:51:24 <LordAro> iirc it has to be signed by our private key as well to work
18:51:34 <LordAro> i think there's some sort of key checking going on somewhere anyway
18:52:12 <EriTheSwitch> Yeah, I'm grabbing the official precompiled package for this reason
18:52:33 <EriTheSwitch> So Discord integration is the only one that makes sense to provide on linux rn, right?
18:52:47 <Rubidium> though if it's in a distro, you can sign the plugin with your own key and update the key in openttd
18:53:59 <EriTheSwitch> Since I'm just making an AUR package, that's not really something I can do, but thanks for suggestion!
18:55:13 <peter1138> Hmm , I wonder which FontCache I should choose for an empty string... 🙂
18:57:07 <EriTheSwitch> By the way - does anyone by any chance know if Discord Game SDK has a proper license somewhere? I *think* I should include it, but wasn't really able to find anything that looks like it.
19:06:11 <_glx_> Might be easier to not include any plugin and let users get them if they want
19:07:01 <EriTheSwitch> Yeah, I'm making a package for the Discord plugin
19:08:19 <EriTheSwitch> So that it could be installed and updated trivially
19:10:52 <EriTheSwitch> (As a side note - I think MIT license text must be included with pre-built plugins? Which it currently is not.)
19:13:37 <bootmii> after all, are the Discord, Galaxy, and Steam plugins all GPL compatible?
19:13:46 <bootmii> MIT is but are they MIT?
19:13:58 *** Xaroth92328 has quit IRC ()
19:14:35 <LordAro> truebrain went to great pains to ensure they were compatible
19:14:47 *** Xaroth92328 has joined #openttd
19:14:54 <LordAro> you may like to have a read of https://github.com/OpenTTD/OpenTTD/pull/11628
19:14:59 *** ufo-piloot_ has quit IRC (Remote host closed the connection)
19:15:17 *** ufo-piloot has joined #openttd
19:16:37 *** asymptotically2_ has joined #openttd
19:17:35 *** herms6 has quit IRC (Quit: Ping timeout (120 seconds))
19:17:45 <LordAro> (also, note the build flag that allows/disallows invalid social plugin signatures)
19:17:45 *** asymptotically2 has quit IRC (Write error: connection closed)
19:17:45 *** ialokin has quit IRC (Quit: ZNC 1.8.2+deb3.1 - https://znc.in)
19:18:14 *** Xaroth92328 has quit IRC ()
19:18:33 *** LordAro has quit IRC (Quit: ZNC - http://znc.in)
19:18:33 *** LordAro has joined #openttd
19:18:35 *** asymptotically2_ is now known as asymptotically2
19:18:40 *** guru3_ has quit IRC (Read error: Connection reset by peer)
19:18:42 *** dihedral has quit IRC ()
19:18:57 *** ialokin has joined #openttd
19:19:03 *** herms6 has joined #openttd
19:19:25 *** dihedral has joined #openttd
19:19:37 <LordAro> that was weird, my connection to libera & OFTC timed out within 2 minutes of each other
19:19:53 <peter1139> ZNC said it was regular disconnect
19:23:21 *** guru3 has joined #openttd
19:24:13 *** Xaroth92328 has joined #openttd
19:24:14 *** Wormnest has joined #openttd
19:25:40 <dwfreed> LordAro: apparent network issue with a sponsor; same sponsor provides a libera server, you may have been on that server on libera too
19:26:20 <LordAro> that'd do it
19:30:40 <peter1138> Hmm, okay, this code does not work after all, it just appeared to 😦
19:31:09 <LordAro> was it in fact only working due to another different bug?
19:36:51 <peter1138> Not in this case 🙂
19:37:20 <peter1138> Okay, so I have an architecture problem 😦
19:37:34 <peter1138> We have a text line, and that line has a layout, and multiple runs.
19:37:52 <peter1138> What I need, is a text line, and the line has multiple runs, and each run has a layouter.
19:38:07 <peter1138> But it's the layouter than splits the line into runs.
19:38:17 <peter1138> Soooo.
19:38:52 <peter1138> Maybe I need a text line, split into layouter-runs, which then has its own runs within it.
19:39:57 <peter1138> It "appears" to work, but actually anything with mixed truetype/sprite font glyphs now uses the fallback layouter for all of it.
19:40:09 <peter1138> So it appears to work, but isn't going to be correct.
19:40:32 <peter1138> I knew there was more to it than me "oh, it works" moment last week :p
19:43:18 <peter1138> Hmm, or I somehow make the Shape() part of it understand fallback stuff.
20:06:47 <peter1138> Okay... ICU uses utf-16?
20:06:51 <peter1138> What the actual shit.
20:13:03 <peter1138> Okay, seems they all, Uniscribe and CoreTExt too.
20:20:43 <_glx_> windows uses ICU internally 😉
20:27:52 <peter1138> And I keep calling it ICU because that's what TB called it, but it's HarfBuzz...
20:38:31 <peter1138> Hmm, I guess the ubidi stuff is ICU?
20:38:35 <peter1138> Dunno.
21:08:06 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1240772792098488361/image.png?ex=6647c736&is=664675b6&hm=ee3a0c0963d78f5317780be5657ad7e36da5d9f267f0c91bd852c9c0b1a28888&
21:08:06 <peter1138> Damn
21:11:17 <wensimehrp> jgbp
21:11:32 <peter1138> That's ")GBP ("
21:12:13 <_glx_> bug in drawing code or in the string itself
21:12:30 <peter1138> Bug in layouting.
21:14:33 <_glx_> https://cdn.discordapp.com/attachments/1008473233844097104/1240774414459605005/image.png?ex=6647c8b8&is=66467738&hm=bdc68060403889e2be42b9b28cd85cd3f3e9aeb26896270d73fae780919ea4a7&
21:14:33 <_glx_> yup it's fine in 14.1 on windows
21:15:18 <peter1138> Oh don't worry about that, it's entirely in the code I've written here.
21:17:38 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1240775193220091976/image.png?ex=6647c972&is=664677f2&hm=f430b25c97eb24d7fe337d4ba5de936f7cfa3876ab8dc058af06cfefb8303ff6&
21:17:38 <peter1138> As I suspected...
21:17:41 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:17:45 <peter1138> 1 is RTL, 0 is LTR.
21:55:01 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:09:19 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1240788197164843048/image.png?ex=6647d58e&is=6646840e&hm=a91ae16830dd60253393cd0abea6875286023ca51a0dcae716ebb1b281faa648&
22:09:19 <peter1138> lol\
22:09:59 <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1240788364052140062/image.png?ex=6647d5b6&is=66468436&hm=a323cb277241394c09f34a3c4bf737bc734dbc8a49d6f3e4004bd189d6b10d6b&
22:09:59 <peter1138> If it's stupid but it works, is it still stupid?
22:10:03 <peter1138> (Yes, it is stupid)
22:10:48 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:16:16 <_glx_> and it will probably break in different place
22:16:44 <peter1138> I think you're over-estimating the ability to not break here 😄
22:17:51 <_glx_> yeah mixing LTR and RTL is always a problem, unless putting explicit markers I think
22:20:38 <peter1138> What I'd like to find out is where these characters are being swapped "normally"...
22:23:12 <_glx_> it's a combo of itemizing and layouting
22:23:25 <peter1138> Although of course from my moutput (and debug) they are not swapped earlier. Hmm.
22:23:59 <peter1138> My debug output above is after itemizing, so it's not itemizing that swaps them.
22:32:29 <peter1138> (And of course, it's not that the characters are swapped in the string either.
22:32:55 <peter1138> i.e. `]` is replaced with `[` without a matching pair.
23:13:45 <peter1138> Hmm, step 1, ItemizeBidi is "xxx (" + "GBP" + ")"
23:22:10 *** EriTheSwitch has quit IRC (Quit: Page closed)
23:49:31 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
23:52:36 <_glx_> that feels wrong