IRC logs for #openttd on OFTC at 2024-03-31
β΄ go to previous day
00:01:02 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
00:04:34 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
00:05:13 <emperorjake> silent_tempest: There is a totland to mars GRF and it does change the water
00:06:22 <silent_tempest> emperorjake: Keep scrolling π
00:07:47 <emperorjake> Ah, I recommend Martian Industries as well
01:01:22 *** gelignite has quit IRC (Quit: Stay safe!)
01:11:26 *** nielsm has quit IRC (Ping timeout: 480 seconds)
01:54:46 *** Wormnest_ has quit IRC (Quit: Leaving)
02:06:27 *** APTX has quit IRC (singleton.oftc.net coherence.oftc.net)
02:10:19 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:10:52 *** gnu_jj_ has joined #openttd
02:14:01 *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
03:50:20 *** Eddi|zuHause2 has joined #openttd
03:55:41 *** Eddi|zuHause has quit IRC (Ping timeout: 480 seconds)
04:41:08 <DorpsGek> - Update: Translations from eints (by translators)
04:55:11 <silent_tempest> Does it actually sense to have a global font AA setting and then for each font to have it's own AA setting that might actually conflict with the global setting?
05:40:11 <merni> I don't see why a user would want such a thing
05:40:21 <merni> For that matter how many users are going to know or care what AA even is
05:40:29 <merni> imo AA can remain console-only
05:48:20 <peter1138> The UI can rename it "Font smoothing", but probably not necessary to have an option per size. The surgery results can be checked though.
05:50:21 *** misterbungus has quit IRC (Quit: Ping timeout (120 seconds))
05:50:39 *** misterbungus has joined #openttd
05:51:17 *** tokai|noir has joined #openttd
05:51:17 *** ChanServ sets mode: +v tokai|noir
05:51:45 <merni> I didn't know openttd started a hospital
05:53:21 *** tokai has quit IRC (Ping timeout: 480 seconds)
07:50:49 *** keikoz has quit IRC (Read error: No route to host)
08:07:32 <peter1138> Had intended to do a birthday ride today but it's cloudy, cold and windy, and I need to repair a hole in a tyre.
08:07:38 <peter1138> So I'm playing Doom instead.
08:18:57 *** Eddi|zuHause2 is now known as Eddi|zuHause
08:19:24 <Eddi|zuHause> mathematically speaking, isn't there required to be a hole in a tyre? :)
08:20:05 <peter1138> Well I did only say A hole, not THE hole.
08:21:00 <andythenorth> Mathematically speaking, I am abed
08:21:12 <andythenorth> But coffee will not appear by magic
08:21:54 <Eddi|zuHause> well, mathematically speaking, the clocks are all wrong
08:22:23 <Eddi|zuHause> and i should visit family today
08:48:58 <reldred> I'm filled with the urge to buy more stereo equipment
09:06:52 *** gelignite has joined #openttd
09:12:57 <andythenorth> I have some headphones
09:13:05 <andythenorth> Theyβre in stereo, mostly
09:17:30 <reldred> Oh that reminds me I need to buy those headphones at some point
09:17:44 <reldred> and a cycle trainer and fifty million other things
09:17:52 <reldred> monthly pays are frustrating.
10:07:33 <peter1138> 14 files changed, 378 insertions(+), 180 deletions(-)
10:07:41 <peter1138> Well, that isn't nice π¦
10:20:04 *** rau117 has quit IRC (Quit: User went offline on Discord a while ago)
11:05:29 <peter1138> I guess adding a factory framework makes things a bit more complicated...
11:10:47 <peter1138> > 22 files changed, 690 insertions(+), 195 deletions(-)
11:14:19 <Rubidium> and with that all sprites are now drawn as vector graphics? ;)
11:15:13 <peter1138> No, with that we now use high quality sample rate conversion, and can load sounds in Ogg Opus format.
11:16:39 <peter1138> Two separate features that both rely on the initial change which include not throwing away sample data after it's played.
11:18:28 <peter1138> My Opus version of OpenSFX is about 10% the size.
11:26:27 <peter1138> I think the SVG patch is smaller :p
11:26:45 <peter1138> Actually not, because it includes the SVG renderer in 3rdparty.
11:30:48 <peter1138> But with SVG I'm still not sure how to handle the "m" layer π
11:31:18 <peter1138> And introducing a whole new way of doing colour remapping is out of scope.
12:29:03 <johnfranklin> Happy birthday to Peter?
12:32:09 <truebrain> should we sing a song?
12:33:55 <alfagamma7> A vanilla cake, perhaps?
12:47:23 <truebrain> this is the moment Rubidium finds out you can spend ages on fine-tuning security π It is a difficult world .. π
12:48:24 <alfagamma7> How do you get the discord plugin working again?
12:48:44 <alfagamma7> Something wrong with signature
12:53:10 <Rubidium> truebrain: well... I'm thinking about protocol stability for admin. The would be less cumbersome if the content of the "enable encryption" packet does not depend on the method that was (previously) used for the authentication. Though maybe it makes sense to make the interpretation of the content of the authentication packets mostly opaque. In the context of libottdadmin2 the packet object extracts
12:53:16 <Rubidium> nonce, public key, etc but if we were to add another method, that packet needs to be changed in complicated manners instead of hiding that in the crypto layer like in OpenTTD
12:54:58 <truebrain> it is really hard to follow what you are neck-deep into, I have to admit π
12:56:23 <truebrain> lol, Cloudflare doesn't like uploading PNGs .. all kind of OWASP detection fires π
12:56:31 <truebrain> SQL injection, null character, ...
12:56:33 <truebrain> yes, it is an image π
13:00:48 <_glx_> incorrect content-type in header ?
13:01:14 <truebrain> possibly; good point
13:01:47 <truebrain> right, next issue .. the actual wiki server returns 404 when uploading an image
13:03:35 <_glx_> only when upload fails or is it every time ?
13:04:19 <truebrain> updating text works, hmmm
13:04:23 <truebrain> that kinda follows the same flow
13:06:47 <truebrain> okay, so it is a normal multipart POST, with a correct content-type .. seems Cloudflare just doesn't appreciate it
13:10:21 *** keikoz has quit IRC (Ping timeout: 480 seconds)
13:12:25 <truebrain> still seems we are doing something wrong on POST level ... translator also had issues with Cloudflare's WAF
13:25:01 *** gelignite has quit IRC (Read error: Connection reset by peer)
14:02:19 <brickblock19280> How do I map a shortcut to this key? OEM102
14:06:45 <_glx_> well openttd is based on openttd source π
14:07:06 <talltyler> Source code != game engine
14:07:27 <talltyler> The answer is JGRPP, but I donβt think thatβs what theyβre asking
14:12:49 *** gelignite has joined #openttd
14:24:02 <_glx_> brickblock19280: we only support shift, ctrl and alt
14:28:17 <brickblock19280> I just wanted to use it as a regualar key but I guess that isn't supported then
14:28:40 <brickblock19280> the wiki got me to belive that BACKSLASH would work tho
14:32:35 *** Elysianthekitsunesheher[m] has quit IRC (Quit: Client limit exceeded: 20000)
14:33:07 <_glx_> seems windows first reacts to win key, then openttd receives it, so we could use it, but it's annoying from user POV
14:33:27 <brickblock19280> I wanted to use the one above
14:37:58 <_glx_> ah yes it's received, but not translated by openttd
14:39:55 <_glx_> seems the sdl drivers handle it though
14:41:08 <_glx_> hmm no, BACKSLASH is not this noe
14:42:39 <_glx_> backslash is VK_OEM_5 `\\|` key on US keyboard (next to return key)
14:46:36 *** Wormnest_ has joined #openttd
14:57:20 *** DorpsGek has joined #openttd
14:57:20 *** ChanServ sets mode: +o DorpsGek
15:32:44 <_glx_> stop breaking the wiki π
15:42:08 <truebrain> It ain't broken π
15:43:35 <truebrain> So tempted to reply with: "why?" π
15:52:17 <truebrain> Too bad you can't move cross organisation, but also kinda makes sense π
16:03:55 <kamnet> Happy Birthday peter1138 !
16:04:26 <kamnet> _glx_: LOL. I can't help it
16:11:19 <truebrain> kamnet: you are such a troll, I like it π
16:16:01 <kamnet> Well, it comes with the territory when you become an old far
16:17:32 <peter1138> We're all in our early 20s still...
16:18:03 <_jgr_> Wouldn't that be nice π
16:18:49 <peter1138> Hmm, actually in 2005 I was already past that :S
16:22:40 <kamnet> Today is the 30th anniversary of my 18th birthday.
16:24:20 <truebrain> That took a lot longer than I would like to admit, but I did it!
16:28:04 <peter1138> Happy birthday π
16:28:30 <peter1138> I wonder if that random tt-forums account has done the usual thing...
16:28:36 <_jgr_> Mine was yesterday, this time of year seems to be popular for some reason π
16:29:25 <peter1138> Hmm, not this yeasr.
16:29:45 <truebrain> Also gratz π I had it three days ago π
16:29:59 <truebrain> So yeah .. our parents did sync their clock on this π
16:32:07 <andythenorth> Is there a correlation between month of birth and mildly autism? π
16:32:19 <xarick> I'm being throttled π¦
16:32:54 <peter1138> Get a better ISP then.
16:32:57 <xarick> I have a 12 Mbps upload... they give me this
16:33:04 <xarick> after 1 day of streaming
16:33:19 <peter1138> You've been streaming for a whole day?
16:34:09 <xarick> streaming at 6000 kbps
16:34:43 <_glx_> there's no need to go so high
16:35:04 <peter1138> Hope you got enough subs & bits to make it worth it :p
16:36:09 <_glx_> it's a very clean 1080p60 to me
16:36:38 <xarick> that was my aim, but not with a handicapped connection...
16:37:39 <xarick> look at it at the 2h30m mark
16:37:46 <xarick> it degrades so much it's unbearable
16:40:04 <xarick> should be at the 6000 kbps π¦
16:40:11 <_glx_> but 4500 should be enough
16:42:45 <xarick> just the state of internet in Portugal
16:44:09 <xarick> how it looked 2 days ago
16:44:52 <xarick> they do this throttling on purpose, there's no other explanation
16:54:27 <peter1138> Could be twitch throttling you.
16:54:46 <peter1138> "Nobody is watching, this is wasting our bandwidth" :p
16:58:27 <xarick> going for 720p30 I guess
17:10:51 <peter1138> Why does my environment keep suggesting to use trailing return types...
17:17:41 <silent_tempest> Because secretly it wants you to start coding in Rust?
17:26:05 <silent_tempest> So I added some tooltip strings for the Font Game Options page.
17:26:24 <silent_tempest> I'm planning to reuse them on my Save-Load-Dialog
17:26:49 <silent_tempest> Based on the conventions I see the Save-Load strings have SLO in them.
17:27:01 <silent_tempest> While the GameOptions strings are using GO
17:27:17 <silent_tempest> Is it kosher to re-use an element in a different place?
17:27:37 <silent_tempest> Or duplicate variable changing the name to match each it's used?
17:51:36 *** tokai|noir has quit IRC (Quit: c('~' )o)
18:06:17 <silent_tempest> Do people actually review stuff using the github UI here? I guess I forgot how hard it was for me to use.
18:20:18 <peter1138> Oh wait, "UI", no, website, yes.
18:22:03 <silent_tempest> OpenTTD never lets you get that 100% translation score?
18:24:09 <silent_tempest> peter1138: Yeah I was going to look at the thing you just pushed up but was like "Ew... I can't read or make sense of this on github's website..."
18:24:34 <silent_tempest> Then I started trying to install a difftool, got distracted by Air118's crash since it mentions fonts... Lol
18:25:18 <truebrain> only to find out a difftool shows it identical to how GitHub's website does? π
18:25:39 <silent_tempest> Definitely not π Lol
18:26:04 <silent_tempest> BeyondComparr is by far the best tool I've run accross. But I never got it working on this laptop
18:26:16 <truebrain> there is a contradiction in that sentence π
18:26:34 <silent_tempest> I also haven't tried either π
18:27:04 <silent_tempest> I got it working on the last computer I used for code reviews...
18:27:17 <peter1138> Well, there's not much to that PR, it's just moving a few files and fixing up the includes.
18:27:33 <peter1138> So diff-wise, it's not that exciting π
18:27:40 <truebrain> a change for the fact of changing you say? π
18:27:59 <truebrain> let's check for binaries you sneaked in
18:29:13 <silent_tempest> Going to be honest. If it's like half as complicated as the xz backdoor I won't catch it XD
18:32:45 <truebrain> only half? That is a balsy claim π
18:33:25 <peter1138> Yeah, I'm playing the long game. nearly 20 years so far...
18:33:35 <truebrain> now that is some dedication π
18:33:52 <truebrain> which more state actors would have such dedication
18:34:02 <truebrain> which? lol. wish ..
18:36:36 <peter1138> I only wish they'd pay me π
18:36:53 <silent_tempest> You get a pension at 25 years in right? π
18:41:58 <silent_tempest> silent_tempest: Okay it's working now... π
19:04:01 <silent_tempest> Ah the permanent "temporary change*
19:14:49 <peter1138> Bah, incomplete types with std::unique_ptr still :S
19:31:27 <silent_tempest> I really hate how some of this font code works.
19:31:52 <silent_tempest> SetFont calls CheckForMissingGlyphs which calls InitFontCache..
19:32:40 <silent_tempest> So the actual work of loading the damn fonts is piped through CheckForMissingGlyphs...
19:32:59 <silent_tempest> Which actually touches every font BTW
19:37:43 *** lemuria0685 has joined #openttd
19:37:43 <lemuria0685> Coal doesn't contrast well with the background on the chart
19:41:56 *** keoz has quit IRC (Ping timeout: 480 seconds)
19:52:51 <belajalilija> is it the same in vanilla?
20:02:31 <_jgr_> The cargo colour is set by the GRF
20:08:55 <lemuria0685> I'm using the North American Industry Set or something
20:27:22 <talltyler> The graph background used to be a lighter gray. The industry set probably chose colours before the changed.
20:27:45 <truebrain> in other news, are we ready for tomorrow? Guess we should brush up on the news post, but a backport etc might be needed π
20:30:58 <peter1138> A lot of backports are needed :p
20:41:48 <_glx_> BTW #12404 is most likely a duplicate of #12125
20:42:24 <_glx_> the issue is I'm unable to reproduce it
20:52:40 <_glx_> oh I found something wrong
20:52:41 *** HerzogDeXtEr has joined #openttd
20:53:01 <_glx_> ` this->logfont.lfOutPrecision = ANTIALIASED_QUALITY;` <-- this is wrong
20:56:23 <_glx_> the value is for `lfQuality` and the value (4) is equivalent to `OUT_TT_PRECIS Instructs the font mapper to choose a TrueType font when the system contains multiple fonts with the same name.`
21:00:03 *** Wormnest_ has quit IRC (Ping timeout: 480 seconds)
21:06:19 <michi_cc> Bug report for the backport.py script: If the PR title is longer than some value, the squash check fails as the API doesn't return the full PR title.
21:06:35 <truebrain> PRs to address that are accepted π
21:06:39 <truebrain> also: stop making such long PR titles π
21:06:46 <michi_cc> Wasn't me this time π
21:07:07 <truebrain> but yeah, a `startswith()` instead of a `==` would work I guess π
21:08:11 <michi_cc> Almost, looks like there's a '...' from API that would have to be skiped.
21:08:30 <michi_cc> Better, β¦, not ...
21:11:37 *** virtualrandomnumber has joined #openttd
21:11:57 *** virtualrandomnumber has quit IRC ()
21:17:22 <_glx_> the only possible reason for #12404 and #12125 I can imagine
21:17:58 <truebrain> let's see if preview works on backports π
21:18:48 <truebrain> argh, xz hits ... Windows 2019 is still in the release CI
21:21:03 <truebrain> seemly; also not a real issue, except that it doesn't have xz in cache π
21:22:29 <truebrain> for the actual release it might be okay; we might have all the required stuff in cache
21:22:33 <truebrain> the nightly at least is passing π
21:22:58 <truebrain> so we could backport the "removal of MSVC 2019 support" to 14.0, but it would have been nice if we didn't have to, ofc π
21:23:40 <truebrain> okay, marked it as backport-requested. Does require you to add it to your PR michi_cc π
21:25:42 *** Wormnest_ has joined #openttd
21:27:21 <Rubidium> so, no RC and just the final release?
21:27:50 <truebrain> aren't all final releases RCs in the end?
21:28:28 <_glx_> I added the label to #12406, but I can't really test if it fixes the crash with fonts
21:30:00 <truebrain> GitHub automation not kicking in with 12350? Odd ..
21:37:07 <truebrain> okay, seem most of these PRs really should have zero impact on the quality of our release. The only change that is somewhat large is the one in station_cmd; but I am sure you knew what you were doing π π
21:37:39 <truebrain> smoketest also showed nothing odd
21:37:46 <michi_cc> Well, some NewGRFs stations are broken wight now, so worst case they are still broken, just differently π
21:38:31 <truebrain> tomorrow I will spend some time on a news post; mostly referencing all the other blog-posts
21:38:38 <truebrain> as that is what it has grown down to π
21:38:59 <truebrain> or if anyone wants to do that before, that is fine too, ofc
21:39:28 <_glx_> triggered a build for #12406 (so will be ready if I get replies from any of the 2 issues)
21:40:11 <truebrain> funny, most of the news post is still perfectly fine π
21:40:20 <truebrain> it just needs links to "read more" ... π
21:40:55 <truebrain> and see if there are blog-posts about something not mentioned yet π
21:41:06 <truebrain> owh well, something for tomorrow.
21:41:40 <truebrain> guess we also need a cool 14.0 "OpenTTD Is 20 years old!!!" steam image ... _zephyris , any inspiration? π
21:42:01 <truebrain> maybe the birthday cake, with 14.0 on it?
21:51:37 <_glx_> hmm seems release workflow randomly fails for x86_64 macos
21:51:45 <_glx_> might depend on the runner
21:52:28 <truebrain> Or how "random" is it?
21:53:03 <_glx_> PR build failed to download xz
21:53:34 <_glx_> but latest nightly used the cache, while previous one failed to download xz
21:54:10 <truebrain> As long as retrigger fixes it π
21:57:59 <_glx_> yeah I know it was not successful π
22:03:51 <lemuria0685> _glx_: I assume you are all aware of the xz backdoor drama right now, right? Perhaps try to find an old xz version like 5.2 and use it for the release or something. But I'm not a developer, so I don't know what xz version OpenTTD needs...
22:04:05 <_glx_> Version: 20240116.1 works, Version: 20240325.1 fails
22:04:31 <_glx_> we are aware of the xz problem
22:05:19 <lemuria0685> so what are you gonna do to mitigate the xz problem
22:05:33 <dwfreed> the xz problem is not a problem for openttd
22:05:55 <_glx_> vcpkg reverted to 5.4.4
22:05:58 <peter1138> Only that the github repo is deactivated so we can't download it π
22:06:58 <_glx_> problem is we never build this version in recent runners
22:08:27 <peter1138> It's okay though, I have cheese & whisky.
22:08:56 <_glx_> and I cancelled run #3 because I knew it would fail (from the image version)
22:10:40 *** keikoz has quit IRC (Ping timeout: 480 seconds)
22:12:37 <truebrain> Time to switch to another compression algorithm! π
22:12:56 <peter1138> Didn't dP have a patch for that...
22:13:51 <truebrain> For network saves, yeah
22:14:32 <truebrain> What are the odds there is an alternative lib that can at least decompress xz? π
22:18:28 <_glx_> I let run #4 finish, expecting I could access the artifacts
22:20:38 <truebrain> Per OS, open up the store .. in the logs, there is a link there.
22:21:12 <dwfreed> yeah, the summary page is cached probably a bit too much
22:21:18 <truebrain> dwfreed: Yes trusting a random dudes mirror is the right move atm π
22:21:52 <dwfreed> truebrain: last I checked, sha256 doesn't have any hash collision risk
22:22:25 <_glx_> we won't patch vcpkg π
22:24:33 <truebrain> dwfreed: You never know with these state actors! π
22:25:59 <truebrain> Bit bad luck that GitHub is rolling out a new runner .. meh
22:34:54 *** gelignite has quit IRC (Quit: Stay safe!)
22:48:12 *** Flygon has quit IRC (Read error: Connection reset by peer)
23:22:04 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:34:06 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:42:43 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
continue to next day β΅