IRC logs for #openttd on OFTC at 2024-05-16
⏴ go to previous day
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:33 <efessel> These two games were started at the same time 🤔
01:29:14 <talltyler> Yes, milliseconds per tick was changed slightly
01:31:07 <efessel> ahhhh that explains it. Thank you talltyler
01:59:33 *** Wormnest has quit IRC (Quit: Leaving)
02:48:20 *** debdog has quit IRC (Ping timeout: 480 seconds)
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:23:43 *** SigHunter has joined #openttd
07:36:18 <peter1138> Minhe is having fun
07:43:02 <peter1138> Ah, yeah, I think it's correct.
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:51:42 <peter1138> Hmm, I think there may be more 🙂
07:53:22 <peter1138> It is not the easiest of things to search in the code for.
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 🙂
09:45:33 <peter1138> "Huh, why is this field still showing as uppercase when I removed the CSS that shows it as uppercase?"
09:46:50 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
09:54:02 *** SigHunter has joined #openttd
10:12:02 <andythenorth> I filed a bug yesterday about Firefox not loading tracking scripts
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> then I checked my custom FF settings
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: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:10:43 *** SigHunter has joined #openttd
11:31:45 *** SigHunter has quit IRC (Ping timeout: 480 seconds)
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: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
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: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:58:46 *** SigHunter has joined #openttd
18:06:53 <peter1138> I found some rabbit holes with my font fallback branch 🙂
18:08:35 <talltyler> Rabbit holes? In OpenTTD? No…
18:27:24 <andythenorth> We should add RabbitHoles to the grf spec
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: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:16 <andythenorth> RabbitHole labels
18:50:41 <andythenorth> Standardised RabbitHole Scheme, v2
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: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: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:18:14 *** Xaroth92328 has quit IRC ()
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:57 *** ialokin 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: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: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: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: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?
21:12:13 <_glx_> bug in drawing code or in the string itself
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: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: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)
continue to next day ⏵