IRC logs for #openttd on OFTC at 2021-03-14
⏴ go to previous day
00:12:48 *** nielsm has quit IRC (Remote host closed the connection)
00:34:18 *** sla_ro|master has quit IRC ()
00:56:05 *** jottyfan has joined #openttd
01:28:14 *** Progman has quit IRC (Remote host closed the connection)
01:49:45 *** jottyfan has joined #openttd
02:14:09 *** jellyknight has joined #openttd
02:21:36 *** gelignite has quit IRC (Ping timeout: 480 seconds)
02:25:36 *** jellyknight has quit IRC (Quit: Stay safe!)
03:52:07 *** Wormnest has quit IRC (Quit: Leaving)
03:54:21 *** D-HUND has quit IRC (Ping timeout: 480 seconds)
03:58:58 *** Marco has quit IRC (Read error: Connection reset by peer)
04:11:39 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
04:57:07 *** Wuzzy has quit IRC (Quit: Wuzzy)
06:47:04 *** snail_UES_ has quit IRC (Quit: snail_UES_)
07:00:35 *** andythenorth has joined #openttd
07:09:10 *** didac has quit IRC (Remote host closed the connection)
08:01:40 *** Smedles has joined #openttd
08:32:06 *** jottyfan has joined #openttd
08:49:02 <DorpsGek> [OpenTTD/OpenSFX] TrueBrain opened pull request #34: Fix: [Actions] don't rebuild a release every night https://git.io/JqW2v
08:49:05 <DorpsGek> [OpenTTD/OpenGFX] TrueBrain opened pull request #60: Fix: [Actions] don't rebuild a release every night https://git.io/JqW2f
08:50:50 *** Progman has joined #openttd
09:10:42 <andythenorth> lol FIRS is so bad
09:11:08 <andythenorth> a whole class of industries don't consume the cargo that's delivered
09:11:15 <andythenorth> only a JGRPP noticed, because JGRPP can report that
09:12:06 * andythenorth will make it all ok again
09:14:40 * andythenorth had better learn how industry code works
09:16:25 *** sla_ro|master has joined #openttd
09:29:59 <Wolf01> I think today I'll destroy something, better if I stay on the bed all day
09:30:34 <Wolf01> I already put my medications in the coffee
10:03:53 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #8856: Fix: if bootstrap failed, it could end with an empty screen instead of error https://git.io/JqWVE
10:04:21 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #8856: Fix: if bootstrap failed, it could end with an empty screen instead of error https://git.io/JqC6D
10:08:07 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #8794: Feature: Show rail/road/tram NewGRF name in Land Area Information window https://git.io/JqWVa
10:15:37 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #8858: Doc: Clarify comment that SND_05_TRAIN_THROUGH_TUNNEL is only for ste… https://git.io/JqWVN
10:16:18 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain closed issue #8857: Clarify that SND_05_TRAIN_THROUGH_TUNNEL is for steam trains only https://git.io/JqCyd
10:16:21 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #8858: Doc: Clarify comment that SND_05_TRAIN_THROUGH_TUNNEL is only for ste… https://git.io/JqChW
10:21:36 *** Gustavo6046 has quit IRC (Ping timeout: 480 seconds)
10:31:00 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #8845: Feature: zstandard compression for network games https://git.io/JqWrY
10:34:01 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8845: Feature: zstandard compression for network games https://git.io/JqWrr
10:34:20 *** gelignite has joined #openttd
10:37:18 <TrueBrain> LordAro: am I misunderstanding this, or does std::array a predefined length?
10:40:24 *** jottyfan has quit IRC (Quit: jottyfan)
10:40:28 <TrueBrain> that would make such definition a lot more annoying
10:40:42 <TrueBrain> I would assume a compiler optimizes a const std::vector to something like that, honestly :)
10:41:07 <LordAro> and i'm not sure i'd assume that
10:41:21 <TrueBrain> defining the length upfront is annoying code-wise :P
10:41:24 <LordAro> don't all the formats have an if & else section?
10:41:36 <TrueBrain> it just is annoying to count and maintain
10:41:40 <TrueBrain> but okay, I don't mind changing it
10:41:46 <LordAro> it gets added to once every 10 years
10:41:52 <LordAro> it's not exactly difficult :p
10:41:52 <TrueBrain> I was just surprised it required the length upfront, and cannot autodetect that :P
10:42:12 <TrueBrain> and of course I am getting the weirdest errors now
10:42:16 <TrueBrain> as template errors are the worst
10:42:43 <_dp_> why not just keep it a regular array?
10:43:00 <TrueBrain> because dealing with pointers yourself is not the nicest
10:43:07 <TrueBrain> `for (const SaveLoadFormat *slf = &_saveload_formats[0]; slf != endof(_saveload_formats); slf++) {`
10:43:28 <TrueBrain> I assumed OpenTTD would like a bit of C++ magic there :)
10:44:13 <TrueBrain> okay, compared to std::vectors, std::arrays are a lot harder to use :D You really need to typedef that to get iterators etc nicely
10:44:35 <TrueBrain> okay, std::array does have some magic for autodetecting type and length
10:44:38 <TrueBrain> but it has to do both
10:44:46 <_dp_> huh? range for works with regular arrays
10:45:31 <TrueBrain> I am always shocked how not-helpful such remarks are
10:54:33 <_dp_> TrueBrain, you don't need to deal with any pointers if all you do is just iterating the array
10:54:51 <_dp_> also this looks quite suspicious...
10:57:36 <TrueBrain> LordAro: it seems you cannot ctor std::arrays in the std::vector or [] ways .. not sure how to do that otherwise; suggestions are welcome :)
10:58:06 <_dp_> though I guess it's fine since even without lzo format should still be in array
10:58:21 <DorpsGek> [OpenTTD/OpenGFX] glx22 approved pull request #60: Fix: [Actions] don't rebuild a release every night https://git.io/JqWMf
10:58:44 <DorpsGek> [OpenTTD/OpenSFX] glx22 approved pull request #34: Fix: [Actions] don't rebuild a release every night https://git.io/JqWMT
10:58:58 <DorpsGek> [OpenTTD/OpenGFX] TrueBrain merged pull request #60: Fix: [Actions] don't rebuild a release every night https://git.io/JqW2f
10:59:03 <DorpsGek> [OpenTTD/OpenSFX] TrueBrain merged pull request #34: Fix: [Actions] don't rebuild a release every night https://git.io/JqW2v
11:00:24 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8845: Feature: zstandard compression for network games https://git.io/JqWDq
11:02:14 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8845: Feature: zstandard compression for network games https://git.io/JqnwH
11:02:59 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8845: Feature: zstandard compression for network games https://git.io/JqWy3
11:05:02 <TrueBrain> ugh, MSVC doesn't support this part of the c++17 specs
11:05:31 <TrueBrain> owh, or did I screw it up with rebasing .. hmmm
11:06:26 <TrueBrain> it really is part of the c++17 specs
11:07:03 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8845: Feature: zstandard compression for network games https://git.io/JqnwH
11:07:06 <TrueBrain> both clang and MSVC don't support it ..
11:09:25 <_dp_> that huge weird loop in SaveWithFilter can probably be just a couple std::find_if calls
11:09:47 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain commented on pull request #8845: Feature: zstandard compression for network games https://git.io/JqWHP
11:11:08 <TrueBrain> ooowwwhhh .. I think I simply forgot to include <array>
11:11:11 <TrueBrain> but it magically works on GCC
11:13:08 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain updated pull request #8845: Feature: zstandard compression for network games https://git.io/JqnwH
11:13:39 <TrueBrain> well, that is just very odd
11:14:53 <TrueBrain> but weird that the constructor of std::array works different from std::vector .. owh well
11:20:50 *** frosch123 has joined #openttd
11:43:33 <frosch123> the ##plural is so that it is a valid GS translation, which eints understands
11:50:49 <TrueBrain> that is all eints need?
11:50:52 <TrueBrain> that is awesome frosch123 :D
11:51:48 <frosch123> shall i set it up on eints-staging?
11:52:00 <TrueBrain> why not, it is not like we use that for anything else :P
11:52:03 <frosch123> i think, i only need to find the secrets
11:52:22 <TrueBrain> eints-staging should sync with eints on staging every night
11:52:27 <TrueBrain> and we can manually run that workflow
11:52:35 <TrueBrain> it does trigger a translations commit on OpenTTD too :P
11:52:50 <TrueBrain> well, adding a new project etc doesn't happen automatically, I guess
11:52:51 <frosch123> are the more texts on steam? did i find all of them?
11:53:45 <frosch123> i'll just add the project for now
11:53:52 <frosch123> then we can adjust the templates to make it look nice
11:53:59 <frosch123> then we can setup the sync scripts
11:54:43 <TrueBrain> these are all the blobs you can translate on Steam
11:55:09 <frosch123> i deduplicated the first abstract
11:55:19 <frosch123> so looks like i got all
11:57:42 <TrueBrain> I expected eints would need more headers :P
11:57:59 <TrueBrain> I did look at our patches in openttd-github branch; most can just be pushed into master with minor modifications
12:00:54 <TrueBrain> owh, sorry frosch123 , I thought you meant making the commit in eints-staging repo :D
12:00:59 <TrueBrain> as we have that to link to staging :P
12:01:18 <frosch123> i don't want to make any commits. i want to use the eints api to add a project on staging
12:02:14 <TrueBrain> you need translators account access for that?
12:02:41 <frosch123> yes, iirc you use basicauth, so that should work from my machine just as well
12:02:52 <TrueBrain> you have the secret for that account?
12:03:11 <frosch123> no :) do i find it in github, or in onepassword?
12:03:26 <TrueBrain> it isn't in 1password, so let me look it up from the AWS Secret store :)
12:05:32 <TrueBrain> also added the production one
12:09:31 *** Gustavo6046 has joined #openttd
12:12:04 <TrueBrain> frosch123: owh, btw, Steam doesn't need translating into all languages we support
12:12:07 <TrueBrain> it is a much smaller subset
12:27:22 <frosch123> that's something eints does not know about
12:27:35 <frosch123> eints allows the same languages for all projects
12:27:35 <TrueBrain> we add translations to it, not?
12:27:45 <TrueBrain> well, what-ever, honestly
12:28:15 <frosch123> maybe we can do some magic with authentication teams
12:29:25 <frosch123> but it may be easier if we just add all the unsupported translations, and set all texts to "not supported by steam"
12:29:36 <frosch123> maybe translators are smart enough to not translate them :)
12:29:41 <TrueBrain> you have high hopes :P
12:29:55 <TrueBrain> we can also just let them translate it, and if Steam adds it, we have it already :P
12:30:15 <TrueBrain> well, I seriously doubt they will add esperanta, or what is it called
12:30:41 <frosch123> rubidium killed piglatin
12:31:24 <frosch123> did you just mentally switch to factorio?
12:32:08 <TrueBrain> what has factorio have to do with killing pigs? :D
12:32:33 <frosch123> ah, you meant "bacon"
12:33:02 <TrueBrain> that is because I played too much Factorio :D
12:34:48 <frosch123> owh... steam-data uses "main" instead of "master"
12:35:02 <TrueBrain> the default for GitHub has become "main", yes
12:35:06 <TrueBrain> you can change it to "master" if you like
12:35:11 <frosch123> i wonder whether our script cares about the branch name
12:35:49 *** HerzogDeXtEr has joined #openttd
12:35:54 <frosch123> git_branch = "master" <- it does care
12:36:36 <frosch123> TrueBrain: he, that's the page where i noticed :) i was copying repo settings from another project
12:37:44 <andythenorth> anyone fancy adventures in graphviz?
12:37:49 * andythenorth predicts an answer
12:39:24 <TrueBrain> GitLab switches too :P
12:56:56 <TrueBrain> "error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MTd_StaticDebug'" <- I sometimes hate error messages so much
12:57:01 <TrueBrain> no indication which side is which
12:57:07 <TrueBrain> is the library release? or the binary?
13:31:19 <andythenorth> frosch123 is this likely repeatable? But for colours that have to work on both black (payment rate chart), and on light brown (cargoflow, cdist minimap)
13:34:39 <frosch123> are you suggesting to make the graph background light brown? :p
13:35:23 <frosch123> pretty sure it is repeatable
13:39:52 *** sla_ro|master has quit IRC ()
13:41:11 <andythenorth> frosch123 we could make the industry chain background black? :P
13:42:34 <frosch123> please PM zorg about that
13:52:49 <_dp_> dark mode for openttd! :p
13:53:26 <andythenorth> making the interface newgrf-editable would be nice
14:03:40 <frosch123> TrueBrain: where does eints get its config.xml from?
14:03:49 <TrueBrain> dynamically generated via parameters
14:03:53 <frosch123> i thought everything was in the Dockerfile
14:04:05 <frosch123> is there a different Dockerfile somewhere?
14:04:09 <TrueBrain> that is the bootstrap I wrote, where you can use --bla to create a config.xml
14:04:48 <frosch123> then i don't get it... main.py defaults to allowed game-script projects, but staging denies them
14:04:48 <TrueBrain> generates a config.xml
14:05:04 <TrueBrain> and on the AWS deployment, we set a shitdown of those arguments
14:05:36 <frosch123> ah, that's what i was looking for :)
14:06:07 <TrueBrain> I can change that into anything you like
14:07:31 <andythenorth> there aren't enough left
14:08:35 <andythenorth> I need about 15-20 new ones
14:14:08 <DorpsGek> [OpenTTD/aws-infra] frosch123 opened pull request #9: Change: enable all project-types for eints to support base-set and steam-data translations. https://git.io/JqRvH
14:14:28 <frosch123> untested :) i googled what click's "multiple=True" means
14:15:13 <TrueBrain> meh, AWS has issues reaching OVH
14:15:56 <frosch123> ohoh, anything "issues reaching OVH" sounds like a long-term issue currently
14:16:56 <TrueBrain> <project-types>openttd newgrf game-sript</project-types>
14:17:03 <TrueBrain> that is what should be in config.xml?
14:17:20 <TrueBrain> frosch123: nah, the VPSes are up just fine, it is just a routing issue that just pop'd up
14:18:18 <frosch123> yes, separated by blanks
14:19:34 <TrueBrain> deploying to staging for verification ...
14:22:10 <TrueBrain> well, at least I am happy to see the fallback to serving it via S3 works fine
14:22:14 <TrueBrain> just a bit more expensive :P
14:22:24 <TrueBrain> lets hope the peering issue resolves itself
14:24:00 <TrueBrain> you know it is a peering issue if both staging and production fail :D
14:24:49 <TrueBrain> frosch123: deployment on staging done; does that fix the issue? :D
14:27:46 <DorpsGek> [OpenTTD/aws-infra] TrueBrain approved pull request #9: Change: enable all project-types for eints to support base-set and steam-data translations. https://git.io/JqR6b
14:31:52 <frosch123> hmm, still says "no access"
14:32:01 <TrueBrain> "Warning: Strings displayed here may have string commands that are not used in translating" <- weird error?
14:32:53 <frosch123> yeah, no idea where's that from
14:33:46 <frosch123> but looks like i misremembered
14:33:48 <TrueBrain> STR_OVERIVEW_LICENSE_TEXT <- typo! :P
14:33:55 <frosch123> "create language" is a separate permission
14:34:34 <TrueBrain> we also need to fix capitalization .. "Steam Store Page" they call it :)
14:34:46 <TrueBrain> at least Steam is with a capital :P
14:35:15 <frosch123> "OpenTTD's Steam Store Page"? or just "Steam Store Page"?
14:35:25 <TrueBrain> the first, I would say
14:35:45 <TrueBrain> awh, I don't have access to any language ofc :P
14:36:01 <TrueBrain> I never removed myself from that? Lol
14:36:18 <frosch123> ok, i uploaded the other translations for opengfx
14:36:42 <frosch123> now we have two options: create the steam-valid translations as empty files, or enable the "start translating" button
14:36:47 <TrueBrain> permission-wise, that all just works
14:36:58 * andythenorth did a colour 'algorithm' using 'eyes'
14:37:06 <TrueBrain> frosch123: well, if we do the first, I guess we can just not upload it for languages not supported?
14:37:28 <TrueBrain> so for languages we support and Steam doesn't, they simply cannot create the language? (because they don't have permissions?)
14:37:40 <frosch123> yes, but we also disallow people adding a ido translation to opengfx
14:37:57 <frosch123> we always have to add a stub manually then
14:38:35 <TrueBrain> so the ability to add languages is global
14:38:52 <TrueBrain> euhm .. yeah, okay, enabling start translating button makes most sense than, I guess?
14:39:11 <frosch123> oh wait, eints has permissions per project
14:39:20 <frosch123> let's try whether it works
14:39:29 <DorpsGek> [OpenTTD/aws-infra] TrueBrain merged pull request #9: Change: enable all project-types for eints to support base-set and steam-data translations. https://git.io/JqRvH
14:39:34 <DorpsGek> - Change: enable all project-types for eints to support base-set and steam-data translations. (#9) (by frosch123)
14:39:49 <TrueBrain> AWS still cannot reach OVH VPSes
14:39:53 <TrueBrain> I start to worry :P
14:42:03 <frosch123> ok, that weird message is displayed for all base languages, i guess it's a feature :p
14:43:39 <frosch123> it refers to "RAW_STRING" vs "STRING
14:43:56 <frosch123> so is displayed for all base languages in "openttd" and "game-script" projects
14:44:00 <frosch123> but not for "newgrf"
14:44:28 <TrueBrain> the warning is not really descriptive, and I think even bad English :P
14:44:37 <TrueBrain> but my English parser might require updating
14:44:43 <frosch123> probably written by a dutch
14:44:50 <TrueBrain> it is how it reads, yes :D
14:49:12 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
14:51:57 <frosch123> i'll rebase the openttd-github branch now
14:53:06 <TrueBrain> frosch123: k; I will deploy this change of yours to production too now
14:53:45 <Gustavo6046> It does feel like I'm touching a bit of TTD territory that is immortalized in the hearts of the seasoned players (as in, people who've played the OG TTD before OpenTTD, or something). So I assume getting a good answer will be easy!
14:54:09 <Gustavo6046> (I will also assume there will be 200 distinsct suggestions to use X distinct junction design.)
14:54:25 <Gustavo6046> (Don't worry, I will check them out one by one <3)
14:55:49 <_dp_> Gustavo6046, good aswer is easy but understanding it is a bit hard
14:56:19 <_dp_> everything else you can build by combining them
14:57:36 <Gustavo6046> One common theme with my rail tracks is not having enough space to do a certain stunt, like not enough space between two lines to make a proper diagonal junction, or not enough tangible length in a line to get enough space for a *proper* signal wait up to yet another junction.
14:57:41 <TrueBrain> frosch123: deployed on production
14:57:50 <Gustavo6046> _dp_: mhm, I see.
14:58:04 <Gustavo6046> that's how I tend to do it too, minus the bridge
14:58:11 <Gustavo6046> oh hey, hence my problems
14:59:13 <frosch123> ok, force-pushed the branch, let's see whether staging gets something new
15:04:09 *** virtualrandomnumber has joined #openttd
15:04:36 *** virtualrandomnumber has quit IRC ()
15:05:07 <Gustavo6046> TrueBrain: my neural English parser usually works fine, but is currently under below ideal condition of operation, due to the presence of unusually high levels of serotonin for the time of the day-night cycle.
15:05:15 <Gustavo6046> Let's just say I didn't sleep very well lol
15:05:55 <TrueBrain> mine never works, and I don't have an excuse :'(
15:15:34 <DorpsGek> - Update: bump dependencies of NLB (by TrueBrain)
15:15:35 <DorpsGek> - Fix: route 443 via NLB back to ALB, so certificates work for those domains (by TrueBrain)
15:15:36 <DorpsGek> - Fix: rollover services that can have only 1 instance running better (by TrueBrain)
15:15:37 <DorpsGek> - Fix: tune DorpsGek to use slightly less memory (by TrueBrain)
15:15:45 <TrueBrain> right, that is done too ..
15:16:06 <TrueBrain> AWS interruptions are still ongoing .. it is coming and going atm
15:16:30 <TrueBrain> hopefully it sorts itself out soon
15:20:33 *** sla_ro|master has joined #openttd
15:21:51 <TrueBrain> windy indeed ... ugh .. terrible the last few days
15:21:51 <supermop_Home> quite the same here today
15:23:33 <TrueBrain> frosch123: I love how you reverted commits that only exist in the openttd-github branch :D
15:24:09 <TrueBrain> I guess you can only create a language if you already have permission for that language?
15:24:15 <TrueBrain> and that is the reason I don't see any button to press?
15:24:35 <TrueBrain> owh, via the language there are buttons to press
15:24:49 <TrueBrain> "You are about to add the Ido (io_IO) language as translation language to the OpenTTD's steam store page project. Are you sure? "
15:25:01 <TrueBrain> returns an Access Denied after that :P
15:25:28 <frosch123> i have de_DE permission, i can create a new translation for opsnmsx, but not for steam-data
15:25:31 <TrueBrain> so the permission check should be earlier, I guess
15:25:46 <TrueBrain> same! I just did for nl_NL :D
15:26:09 <TrueBrain> but the button shouldn't show for steam-data :P
15:26:28 <frosch123> ok, the language-page does not check permissios correctly
15:26:33 <frosch123> but the profile page works
15:26:47 <TrueBrain> so it is already in there, just somewhere a boo-boo
15:27:18 <TrueBrain> nice work frosch123 , really nice :D
15:27:41 <TrueBrain> we should move the manual too, I just noticed :)
15:27:58 <TrueBrain> we can use a GitHub page for that, I guess .. I will look at that tomorrow or so
15:28:09 <frosch123> good, because i have no idea how that works :)
15:28:20 <frosch123> shall we put this to production now?
15:28:33 <TrueBrain> don't we first need syncs?
15:28:38 <frosch123> then we can add the basesets, steam-data and update the workflow thingie
15:28:50 <frosch123> i only wanted to do that for production
15:28:59 <frosch123> so we don't need even more projects
15:29:05 <TrueBrain> owh, the syncs are done purely in the workflow, aren't they?
15:29:42 <TrueBrain> "what is the worst that can happen" :P
15:30:21 <TrueBrain> it is going to be nice to have Steam Store Page translated in all languages :D
15:30:25 <TrueBrain> will look so much better :)
15:30:31 <TrueBrain> sadly, it is manually copy/pasting
15:30:33 <frosch123> ah, i need to add the stub pages for steam-data
15:30:35 <TrueBrain> so terrible to do, but what-ever
15:30:49 <TrueBrain> and fix the typo, if you haven't already :)
15:31:00 <frosch123> i'll only fix it on production :p
15:31:19 <frosch123> oh, wait, that typo...
15:31:19 <TrueBrain> STR_OVERIVEW_LICENSE_TEXT <- would have to be done in git :P
15:31:24 <frosch123> i thought the project name
15:31:50 <TrueBrain> I am surprised it doesn't need metadata to indicate which language it is btw
15:32:04 <frosch123> that's your fault :)
15:32:14 <frosch123> you wrote GS to use the filename as key
15:32:24 <TrueBrain> really? Ugh, what a horrible way to do it
15:32:38 <TrueBrain> I will call my past self and will tell myself how I feel about that
15:35:55 <andythenorth> more NML optimisation warnings
15:36:05 * andythenorth is making code extra complicated to remove them
15:36:18 <TrueBrain> working around optimizations, nice :D
15:36:49 <andythenorth> it's getting fiddly
15:37:14 <andythenorth> the compile sometimes relies on being able to return a constant
15:37:23 <andythenorth> just for simplicity
15:37:28 <andythenorth> but nmlc hates that
15:39:19 <TrueBrain> okay, no interruptions for 8 minutes .. AWS and OVH might be friends again
15:39:21 <frosch123> pff, i assume norwegian is bokmal on steam?
15:39:35 <TrueBrain> frosch123: I do not think anyone really knows :P
15:39:41 *** m1cr0man has quit IRC (Quit: G'luck)
15:39:41 <andythenorth> maybe I can insert a spurious range check
15:40:11 <TrueBrain> but given 85+% (according to wikipedia) uses bokmal, lets assume as such frosch123 :D
15:40:21 <andythenorth> if I check a spurious var which can never be reached
15:40:29 <andythenorth> then that won't return a constant
15:40:44 <andythenorth> can game date go negative?
15:40:51 <frosch123> TrueBrain: i'll remap "Spanish - Latin America store localization" to "spanish_MX" :)
15:41:01 <Gustavo6046> I've heard ya guys like MIDI
15:41:11 <Gustavo6046> i made it yesterday
15:41:13 <TrueBrain> frosch123: sounds good to me :)
15:41:26 <TrueBrain> I do have to remember that ...
15:41:29 <TrueBrain> but I will survive :P
15:41:37 <TrueBrain> frosch123: or can we leave a ## meta thing how Steam calls it?
15:41:39 <TrueBrain> just for my sanity?
15:41:54 <frosch123> no, eints does not support that
15:41:56 <andythenorth> meh, nmlc knows if I used constant in the var check
15:41:58 <frosch123> but we can add it to the readme
15:42:01 <TrueBrain> frosch123: a comment?
15:42:22 <frosch123> only the base language can contain comments, and they are copied to translations
15:42:33 <TrueBrain> and no metadata entries that eints doesn't know
15:42:55 <andythenorth> I need a var which nmlc will see as a var
15:43:07 <andythenorth> but some value for it that will never be reached
15:43:31 <TrueBrain> but I do not think that helps
15:44:26 <andythenorth> if I do 'current_year - current_year' will nmlc detect that is a constant?
15:45:45 <andythenorth> oh maybe I can check ttd_platform
15:46:31 *** m1cr0man has joined #openttd
15:47:14 <andythenorth> ttd_platform seems to work
15:49:18 <andythenorth> removes 13 warnings
15:49:40 <andythenorth> is that an expensive var to check?
15:58:02 <andythenorth> is it a thing in C++ to have to rewrite code to avoid compiler optimisation?
15:58:04 *** Wormnest has joined #openttd
15:58:07 <andythenorth> or is just a grf thing?
16:00:30 <_dp_> though not so much to avoid optimisation than to avoid compiler bug
16:01:20 <andythenorth> specifically I'm not trying to avoid optimisation
16:01:31 <andythenorth> it's the warnings I'm trying to avid
16:02:14 <andythenorth> it makes the code a lot more complex though
16:02:37 <andythenorth> I have so many conditions for things like 'list length is 1 | list length > 1'
16:03:05 <andythenorth> because lists of length 1 will earn me a warning from nmlc
16:05:23 * andythenorth is bored of this
16:05:26 <andythenorth> does something else
16:06:49 <Gustavo6046> TrueBrain: technically, the longer the wait, the lesser the chance you will survive the set of circumstances in life until you finish waiting :p
16:06:54 <Gustavo6046> although it's generally negligible
16:13:56 <frosch123> oh, my md is invalid
16:21:40 *** y2kboy23 has quit IRC (Ping timeout: 480 seconds)
16:24:12 <Gustavo6046> When I want to see a vehicle's destination, I want to open a separate viewport at it, rather than to scroll the main one. Is that possible in any way?
16:24:13 *** y2kboy23 has joined #openttd
16:24:19 <Gustavo6046> Maybe add a ctrl-click hidden feature for that button?
16:24:38 <frosch123> yes, that's the behavior in 1.11
16:25:13 <Gustavo6046> I assume that means it's not out yet?
16:25:25 <Gustavo6046> frosch123: from what I read in the page, though, it just scrolls.
16:26:10 <frosch123> yes, it's not documented for each button. but all the viewport buttons behave the same now
16:26:26 <Gustavo6046> frosch123: hm? they didn't before?
16:26:28 <frosch123> click to scroll, ctrl-click for extra viewport
16:26:38 <Gustavo6046> yeah they didn't, idk what I was thinking
16:26:47 <Gustavo6046> obviously the viewport window is different from the ""viewport"" that a vehicle window is
16:26:55 <andythenorth> but more fragmented compile
16:27:32 <Gustavo6046> andythenorth: I've seen a lot of reoccurring words in the online content browser lately. Things like NML, 2cc (two company colours? what does that have to do with the mega train set?), etc
16:27:52 <andythenorth> normally when templating, it's considered good style to try and avoid the templater knowing too much about the data
16:27:52 <Gustavo6046> But I do have a proper FIRS + vehicle sets NewGRF list setup
16:28:01 * andythenorth has thrown that out of the window
16:28:50 <andythenorth> usually the goal is to build a simple data structure, and feed that to the templater, and let it run
16:28:55 <Gustavo6046> andythenorth: C++ templating should be used sparingly. Templated classes can only be implemented in the header whence they're defined, unless you want to deal with users having to declare derivations to be implemented manually before each use case.
16:29:05 <Gustavo6046> And putting them in the header hurts the compiler. A lot.
16:29:13 <Gustavo6046> I wish there was a better approach to generic programming inC++.
16:30:39 <andythenorth> and the templating is a code generator
16:31:17 <andythenorth> the templating is full of conditional case handling of two kinds
16:31:47 <andythenorth> the first kind was to optimise for compile speed, by trying to eliminate unnecessary paths
16:32:02 <andythenorth> the second kind is to work around the optimisation that nmlc now does
16:32:21 <andythenorth> neither have any relation to the logic of the grfs, except as a source of bugs
16:35:04 <Gustavo6046> andythenorth: ohh, okay
16:35:33 <Gustavo6046> my bad! I dunno what I was thinking
16:37:22 <glx> andythenorth: why not just disable optimisation warnings in nmlc ?
16:38:11 <glx> I know it's not configurable yet, but it's easy to comment them
16:39:17 <glx> they are 3 lines to comment in switch.py
16:40:26 *** snail_UES_ has joined #openttd
16:42:36 <glx> hmm would it be better if I used print_info for those ?
16:48:15 <andythenorth> glx sometimes they discover stupid things for me
16:48:28 <andythenorth> like code paths that will ALWAYS be a constant for the whole grf
16:48:55 <glx> yeah, but it's optimised anyway, so no really important
16:49:00 <andythenorth> the ideal would be some line-by-line suppression, but that's too complicated
16:49:22 <glx> unless the constant is unintended
16:49:32 <andythenorth> it's usually intended
16:50:34 <andythenorth> one of my goals it reduce the size of what I feed to nml, because the parse step used to be achingly slow
16:50:56 <andythenorth> so discovering constants is good for that, because removing them makes nml parse faster
16:51:03 <andythenorth> but maybe I'm wasting my life :P
16:51:35 <glx> you're basically doing the optimisation by hand after nmlc found them :)
16:52:05 <andythenorth> which used to be necessary because nmlc is (was?) so slow
16:52:49 <andythenorth> not sure if that is still relevant
17:24:33 <TrueBrain> sorry frosch123 ; it is really minor, but 1 comment :)
17:25:15 <frosch123> damn, i checked it 3 times for the link, but missed that one :)
17:25:26 <TrueBrain> wauw, OpenGFX and OpenMSX have a lot of translations, but OpenSFX not many
17:25:32 <TrueBrain> guess they got removed when the sentence changed?
17:27:07 <frosch123> also, i need to make another eints release. turns out they git-sync script does not have enough command line options :)
17:27:13 <TrueBrain> you did this a lot quicker than I would have :D
17:27:29 <DorpsGek> [OpenTTD/steam-data] frosch123 merged pull request #1: Language mapping, language stubs and IRC announcements https://git.io/JqzcR
17:27:53 <frosch123> well, i skipped the "replace openttd-github branch with something else" step :)
17:28:07 <TrueBrain> LordAro: so, RC1 tonight? :)
17:28:30 <andythenorth> glx I changed it locally to print_info, I think it's better :)
17:28:33 <TrueBrain> frosch123: true :) But I will take care of that next week :P This is just too annoying, and we will screw up :P
17:28:38 <frosch123> TrueBrain: do you feel like writing a post in the translator chat? to point to translations for the 4 new projects
17:39:26 <TrueBrain> I love that we can reach our translators like this
17:40:32 <TrueBrain> 22 languages without translator .. slightly better than before the news
17:41:03 <TrueBrain> and de_DE still in the lead
17:43:43 <glx> would probably need a little modification of print_info to accept pos
17:43:49 *** J0anJosep has joined #openttd
17:45:10 <andythenorth> presumably I can suppress them with debug level
17:45:55 <J0anJosep> I cannot create the localization ca_ES for Steam in the translator tool.
17:46:04 <glx> info is level 2, warning is level 1
17:46:19 <TrueBrain> J0anJosep: I wrote that in the post; Steam doesn't support all languages we do :)
17:46:30 <TrueBrain> suggestions on better wording to make that clear for others?
17:46:53 <andythenorth> seems I have verbosity 4
17:46:56 <TrueBrain> as you won't be the last for asking :D
17:47:02 <andythenorth> think that gives me the count of switches etc
17:47:26 <frosch123> TrueBrain: de_DE is also in the lead with amount of fake translators :p
17:47:39 <frosch123> both eddi and me are in the team, with no intention to translate anything
17:47:56 <andythenorth> I think verbosity 4 gives me the timings for each nml step
17:48:05 <LordAro> removing inactive translators is probably something we should do at some point
17:48:12 <LordAro> maybe once every 6 months or something
17:48:18 <TrueBrain> I am sure frosch123 is already writing a script :P
17:48:20 <glx> yup level 4 is for timing, and it's level max
17:48:27 <andythenorth> maybe I can filter the print_info messages from stdout
17:48:32 <LordAro> yes, RC1 this evening
17:48:50 <TrueBrain> LordAro: cool! With or without zstd? (in other words: do I update the changelog now or later :D)
17:49:17 <TrueBrain> well, it is what I kinda have been pushing :P
17:49:35 <LordAro> too late in release cycle :>
17:49:45 <TrueBrain> and a review will take some effort
17:49:49 <TrueBrain> more than the ones currently available :D
17:50:05 <TrueBrain> (no judgement; merely an observation :))
17:50:07 <LordAro> i wouldn't have an issue with merging straight after branching though :p
17:50:18 <TrueBrain> well, proper review first please :D
17:50:29 <TrueBrain> I did my best to minimize it, but SaveLoad is just an old mess
17:50:36 <TrueBrain> it is a class without being a class
17:50:51 <TrueBrain> maybe rewriting it into a class first solves a lot of other issues too :P
17:51:02 <TrueBrain> anyway, let me update the changelog!
17:52:46 <TrueBrain> I guess we branch first, and move this PR to that branch
17:52:52 <TrueBrain> after that, bump master to 1.12, right?
17:54:20 <TrueBrain> I can change which branch it targets, not?
17:54:22 <LordAro> doesn't really matter if changelog goes in before or after branching
17:54:43 <TrueBrain> you get a dropdown :)
17:55:05 <LordAro> run eints before branching, too
17:55:16 <TrueBrain> yeah, we will wait for the eints commit, good point :)
17:55:29 <TrueBrain> I prepare the 1.12 PR
17:55:40 <TrueBrain> and I await approval on 1.11-RC1 PR, both in OpenTTD and website
17:55:47 <TrueBrain> then we wait for eints
17:55:50 <TrueBrain> and we can go go go :D
17:56:03 <andythenorth> "when you hit Edit" <- misread that as "when you hit Eddi", started planning an intervention
17:56:21 <LordAro> andythenorth: same, oddly
18:01:07 <TrueBrain> so we do need that intervention .. just not for me :P
18:03:40 <TrueBrain> and we have the first translation for the Steam page :D
18:04:03 <TrueBrain> I am so happy we have such active translators
18:10:33 <frosch123> 120 PRs in 4 weeks? really?
18:13:00 <TrueBrain> I just copy/pasted. . I did not validate :P
18:13:06 <frosch123> yes, you linked that :) but i did not expect that
18:13:47 <TrueBrain> we really did a lot last month
18:14:52 <frosch123> 1/3 seems to be you
18:15:54 <TrueBrain> lot of external contributions too
18:17:37 <frosch123> it has a lot of repetition of "our 1.11 series" in the beginning. but meh, we are no writers :)
18:19:24 <TrueBrain> I had fun with that, I have to say :D
18:19:50 <TrueBrain> I also considered not announcing RC1, honestly
18:20:02 <TrueBrain> but if we can only get a few more testers, it is worth it
18:20:42 <frosch123> do we no longer do debian changelogs?
18:21:16 <TrueBrain> that is all part of CPack now
18:21:29 <TrueBrain> and that has no changelog specific for Debian, as far as I know :)
18:21:39 <TrueBrain> we violate a lot of Debian rules :P
18:21:46 <TrueBrain> but our deb is not meant to be in the official repos :D
18:24:02 <glx> opensfx is not translatable for me (fr not in the list)
18:24:15 <TrueBrain> glx: you can click "Create" from your profile, not?
18:24:20 <frosch123> glx: go to "profile"
18:25:01 <TrueBrain> frosch123: but why not?! Don't you like it?
18:26:08 <TrueBrain> frosch123: I cannot handle the weird fps glitches in that movie :P
18:28:20 <frosch123> well, i guess the next baseset will be drawn by an AI
18:28:32 <TrueBrain> would be interesting to see, honestly :)
18:31:45 <frosch123> TrueBrain: btw. i would be interested whether the eints memory usage changed. there is now more than one project, and i think it reloads projects from disk whenever a user clicks on another project
18:32:30 <frosch123> i was already suprised there was no noticeable lag when loading the openttd project
18:34:12 <supermop_Home> frosch123 I think catenary seems to be 'working as intended' now, but I am a little curious about a couple artifacts of the bounding boxes, hoping to learn a bit more about what is going on to work around
18:35:26 <supermop_Home> also wondering how catenary height is defined. I noticed that a roadtype doesn't draw catenary if a bridge is right over it, but will draw it if the bridge is two levels above
18:37:10 <frosch123> it's the same as for rails iirc
18:41:47 <andythenorth> FIRS: around 2000 checks like 'climate == CLIMATE_TROPIC || nearby_tile_height(0, 0) >= snowline_height || construction_state == 0'
18:41:57 <andythenorth> which I can consolidate to a function call :P
18:42:30 <andythenorth> assuming will it be faster?
18:42:48 <andythenorth> only one way to know :P
18:43:59 <andythenorth> can I use procedures from spritelayout though? :P
18:44:44 <andythenorth> I can LOAD_TEMP from a spritelayout
18:44:52 <andythenorth> so I think there's a chance
18:45:27 <glx> spritelayout are kind of action 2 IIRC
18:50:40 <Wuzzy> Problem with string in Steam front page:
18:50:42 <Wuzzy> "OpenTTD is free and open-source software, licensed under the GNU General Public License version 2.0"
18:51:08 <Wuzzy> The license verision is actually just 2, not 2.0 (GPL version 2.0 doesn't exist)
18:53:46 <andythenorth> in a makefile, if I'm doing something like: nmlc -c -l generated/lang --verbosity=4 --grf=generated/firs.grf generated/firs.nml | grep -v "nmlc info:"
18:54:00 <andythenorth> can I make grep take a list of strings, or partial strings?
18:54:18 <andythenorth> filtering out "nmlc info:" hides some things I want to see
18:54:31 <andythenorth> but the messages I want to suppress come in multiple flavours
18:57:00 <DorpsGek> [OpenTTD/OpenGFX] Wuzzy2 opened issue #61: Two “technical” strings appear in eints that shouldn't be translatable https://git.io/JqVWc
19:01:53 <DorpsGek> - Update: Translations from eints (by translators)
19:03:30 <Wuzzy> Alright, I have just completed the German translation for the new projects that have just appeared in eints. Enjoy! 🙂
19:10:28 <TrueBrain> I hate to beg, but it feels like begging at this point :D
19:12:23 <TrueBrain> wow .. eints destroyed the ability for master to build
19:12:34 <TrueBrain> "warning: Unwanted UTF-8 character U+0009 in sequence"
19:12:51 <TrueBrain> frosch123: how to resolve that?
19:13:00 <michi_cc> Perfect timing for releasing :P
19:13:56 <TrueBrain> and yeah .. now that needs resolving first .. why did we want to wait for eints? >:D
19:14:48 <TrueBrain> at least that can already go to staging
19:15:46 <TrueBrain> \9 is horizontal tab
19:16:25 <michi_cc> A manual commit could easily remove that, but I guess eints would just put it back tomorrow?
19:17:21 <TrueBrain> that is exactly the part I don't know :D
19:17:50 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain opened pull request #8863: Fix 217071aa: spanish translation contained an invalid character https://git.io/JqVoz
19:18:12 <DorpsGek> [OpenTTD/OpenTTD] michicc approved pull request #8863: Fix 217071aa: spanish translation contained an invalid character https://git.io/JqVoH
19:23:04 <LordAro> been a while since a translation had to be manually fixed
19:23:44 <TrueBrain> with WT2, it was pretty common :P
19:25:02 <TrueBrain> 4 out of 5 frontpage news messages are authored by me, oops :P
19:26:51 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain merged pull request #8863: Fix 217071aa: spanish translation contained an invalid character https://git.io/JqVoz
19:27:08 <TrueBrain> right, okay ... now branch first, merge after
19:27:46 <TrueBrain> stupid DorpsGek doesnt even announce that :P
19:27:58 <DorpsGek> [OpenTTD/OpenTTD] TrueBrain dismissed a review for pull request #8859: Doc: Prepare for 1.11.0-RC1 release https://git.io/JqVVk
19:28:03 <TrueBrain> awh, that dismisses the review?
19:28:44 <DorpsGek> [OpenTTD/OpenTTD] LordAro requested changes for pull request #8859: Doc: Prepare for 1.11.0-RC1 release https://git.io/JqVDb
19:28:56 <TrueBrain> but but but LordAro ! WTF! :P
19:29:14 <TrueBrain> huh, I did sort the list LordAro .. where is it not?
19:29:31 <TrueBrain> and your comments talk in riddles .. this is really difficult to understand what you are saying :(
19:30:20 <TrueBrain> yeah, it is in that order you say ..
19:31:26 <LordAro> 8819 is in the wrong place
19:31:44 <LordAro> just the one, thought it was more, but that was just comments getting in the way
19:32:20 <TrueBrain> I just used the "git log" order, I have to admit
19:32:28 <TrueBrain> but you were referencing the PR numbers, okay :)
19:32:36 <TrueBrain> your text made it sound like it was feature/add/change/fix that went wrong
19:33:23 <TrueBrain> sorting on PR is such silliness :P
19:34:01 <TrueBrain> tnx for the edit LordAro , that is a lot better :P
19:36:55 <TrueBrain> sorting on the PR number feels really weird :) Not sure why that became a rule :P
19:37:37 *** otetede has joined #openttd
19:38:37 <TrueBrain> I do not want to know how much effort that took you to get right for the other releases LordAro :)
19:39:19 <TrueBrain> guess this is what happens if you put enough people with OCD in a single room :P
19:39:43 <TrueBrain> I am looking when this started, just for giggles
19:39:47 * LordAro feels marginally appreciated
19:40:00 <TrueBrain> it is a lot of effort to make OCDers happy :D And it is worth it!
19:40:13 <TrueBrain> 1.10 beta was the first doing this
19:40:34 <LordAro> i think i've done more or less all of them GH releases
19:41:01 <TrueBrain> I would like to propose a change, and just use the gitlog order for 1.12 :)
19:41:06 <LordAro> would've thought i would've done it that way round from the start
19:41:28 <TrueBrain> as man, it is difficult to sort things by numbers at the end of a sentence :P
19:41:48 <LordAro> but then we would have to change all the 1.10 & 1.11 releases!
19:42:03 <TrueBrain> .... I repeat: we have a lot of OCDers in this room :P
19:44:48 <TrueBrain> LordAro: anything else? (like, anything is fine by me :D)
19:46:14 <TrueBrain> nightly of today failed, but .. fuck that, we are making it a release anyway
19:53:34 *** jottyfan has joined #openttd
19:57:07 <TrueBrain> you do know you only get 1 round of comments, right? :P
19:59:10 <LordAro> ...not my fault you merged before my answer
19:59:19 <LordAro> i'm on my phone, updates are a little slow
20:00:11 <TrueBrain> you had 24 hours! Bad excuse :P
20:00:22 <TrueBrain> And merged? I didn't merge anything yet :)
20:00:27 <TrueBrain> well, a lot, not this :)
20:01:52 <frosch123> LordAro: TrueBrain: eints merges translations from translators and from git
20:01:59 <frosch123> you can add a new translation via git fine
20:02:13 <frosch123> but you cannot revert to an old translation, because eints will think you did not get the new one yet
20:02:21 <TrueBrain> LordAro: ugh, the "max sprite zoom" naming has been debated to death and back :P
20:06:56 <TrueBrain> LordAro: tnx a lot btw, for all this feedback; you put a lot more effort in it then I expected :) It is appreciated!
20:07:02 <TrueBrain> I made some more changes based on what you mentioned
20:07:06 <TrueBrain> a few more had the tense wrong
20:07:14 <TrueBrain> please give it another look :D
20:08:13 <LordAro> oh wait, you merged the 1.12 PR, not the release PR
20:08:41 <_dp_> there are two bootstrap empty screen fixes that can probably be merged together
20:08:56 <_dp_> as they don't appear any different in just those short descriptions
20:09:00 <TrueBrain> LordAro: I was impatiently waiting for your feedback; I am not just going to merge something you just commented on :P I can be an ass, but not rude :P
20:11:25 <_dp_> yeah, now it looks better
20:11:34 <TrueBrain> right, I think I now all got them in the present tense
20:13:28 <TrueBrain> I keep finding things that are worded poorly, but okay .. enough is enough :D
20:19:11 <DorpsGek> [OpenTTD/OpenGFX] glx22 commented on issue #61: Two “technical” strings appear in eints that shouldn't be translatable https://git.io/JqVWc
20:27:25 *** jottyfan has quit IRC (Quit: jottyfan)
20:27:56 *** jottyfan has joined #openttd
20:34:32 *** otetede has quit IRC (Read error: Connection reset by peer)
20:36:46 <TrueBrain> I wish LordAro typed harder on his mobile :P :D
20:40:04 <LordAro> TrueBrain: am making dinner :p
20:40:11 <LordAro> what are you waiting on?
20:40:17 <TrueBrain> your approval on the PR, duh :)
20:40:27 <TrueBrain> and enjoy your dinner :)
20:42:30 <andythenorth> late stage of a FIRS beta, ideal time to refactor a bunch of templates? o_O
20:42:41 <TrueBrain> noooooooooooooooooooooooooooooooooooooo
20:48:12 <frosch123> poor brain getting no love :)
20:50:48 <TrueBrain> well, I am not doing this for myself :P
20:51:34 *** J0anJosep has quit IRC (Quit: Konversation terminated!)
20:52:00 <TrueBrain> hmm .. the PR is strictly seen still blocked, but given earlier reaction, I am sure he doesn't mind I overrule that block :D
20:52:18 <TrueBrain> lets see if it entered the right branch ..
20:53:40 <TrueBrain> and now to see if GHA still works correctly from a branch
20:57:00 <TrueBrain> bah, eints sorts strings
20:57:07 <TrueBrain> instead of keeping them in the order the source is in
20:57:35 <TrueBrain> I was like: let me copy over some of the already translated entries
20:57:41 <TrueBrain> but .. that is less simple than I was hoping :D
20:58:05 <TrueBrain> I should script it :)
20:59:00 <frosch123> huh, eints keeps the order of the base language
20:59:08 <TrueBrain> in the interface, no
20:59:56 <TrueBrain> yeah, but that is annoying as fuck to navigate between languages
21:00:05 <TrueBrain> and to copy paste is tricky from there
21:00:39 <TrueBrain> Firefox mostly makes the word-wrapping really annoying
21:00:46 <frosch123> but yes, you can add a script to steam-repo itself
21:01:11 <frosch123> though we did nout yet setup the sync :)
21:01:38 <TrueBrain> were you busy with that btw?
21:01:44 <TrueBrain> or something I can start on tomorrow or so?
21:03:20 <frosch123> i need to extend the script, which i started
21:03:32 <frosch123> and then you need to figure out, how to add git-checkouts to the container :)
21:03:36 <frosch123> i have no idea how that works
21:03:56 <frosch123> i'll write that in the workflow PR
21:03:57 <TrueBrain> workflows does that, not?
21:04:05 <andythenorth> can't reference a switch from hide_sprite in a spritelayout
21:04:29 <frosch123> workflows does push/pull, but not clone
21:04:39 <TrueBrain> all the checkouts and commits happen outside the running AWS
21:04:41 <frosch123> and yes, I extended that yml already
21:05:18 * andythenorth reads about advanced spritelayouts
21:05:25 <TrueBrain> I do think eints itself doesn't have a clone with him anymore
21:05:27 <TrueBrain> I might be mistaken :D
21:05:31 <TrueBrain> it has been a while :P
21:05:33 <frosch123> i was looking for git commands
21:05:39 <frosch123> but it is yml magic
21:06:09 <frosch123> ok, so i'll PR it, and then let you debug it :)
21:07:19 <andythenorth> something something magic registers in advanced spritelayouts :)
21:08:02 <TrueBrain> frosch123: sounds like a good deal to me :D
21:08:21 <glx> andythenorth: but you can maybe use a global variable (translated to action D IIRC)
21:08:48 <andythenorth> sounds even more magic :)
21:08:57 <andythenorth> I can just put values in a register earlier in the chain
21:09:19 <andythenorth> I'm trying to avoid nml having to expand this 2400 times in spritelayouts
21:09:21 <andythenorth> "climate == CLIMATE_TROPIC || nearby_tile_height(0, 0) >= snowline_height || construction_state == 0"
21:09:40 <glx> I think if you check generated NFO you'll see it actually translate your test in action D
21:10:04 <glx> and it does that each time
21:10:50 <glx> so using a global variable will do the same, but only once
21:11:21 <TrueBrain> haha, translations are too long for the summary ...
21:11:27 <TrueBrain> it has a maximum amount of characters :D
21:11:37 <andythenorth> glx sounds like witchcraft? :)
21:11:52 <andythenorth> global, but this needs calculated per tile?
21:12:52 <TrueBrain> so far only German is an issue :D
21:13:54 <frosch123> does eints checkout both OpenTTD and eints-sandbox in both staging and production?
21:14:10 <TrueBrain> frosch123: I think eints doesn't check out anything
21:15:04 <TrueBrain> the link I send you, line 42 checks out OpenTTD, 49 does eints-staging, line 77 does the exports for staging (so only to/from eints-sandbox) and line 88 does to production
21:15:18 <TrueBrain> line 83/84 show what it does for staging
21:15:32 <frosch123> yes, but the checkouts do not distinguish testing/production
21:15:50 <TrueBrain> eints-sandbox is only used by staging, and OpenTTD only by production
21:16:01 <TrueBrain> I wouldn't add the new ones to staging btw
21:16:06 <TrueBrain> as we didn't want to make more repos :)
21:17:02 <TrueBrain> not sure what kind of distinction you were expecting here, but if you like you can make 1 workflow for staging and 1 for production
21:17:11 <andythenorth> glx looking at similar optimisations to spritelayouts, I think I just stick the values in a register earlier in the chain
21:18:38 <DorpsGek> [OpenTTD/OpenTTD] pelya opened issue #8864: GDB is terribly slow when starting OpenTTD on Debian 10 https://git.io/Jqrev
21:19:01 <glx> haha slow debug, so surprising
21:21:01 <LordAro> that is.. a bizarre issue to raise
21:22:06 <glx> happens to me in MSVC sometimes, usually it's because it's downloading some pdb after windows update
21:24:03 <TrueBrain> it takes a while for me too, just not 2 minutes
21:24:06 <TrueBrain> more like 20 seconds or so
21:24:11 <TrueBrain> 150MB binary .. it takes a bit of time
21:24:14 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on issue #8864: GDB is terribly slow when starting OpenTTD on Debian 10 https://git.io/Jqrev
21:24:16 <TrueBrain> guess if you have a slow disk ..
21:24:34 <TrueBrain> blame it on Python :D
21:25:47 <TrueBrain> okay, pushed RC1 on Steam as "default"
21:25:59 <TrueBrain> a bit weird, but now all checkboxes are marked
21:29:12 <TrueBrain> well, honestly, mostly I did it to make sure that is Steam does something weird and releases the game too early
21:29:17 <TrueBrain> at least there is a proper version
21:29:44 <TrueBrain> ugh, OpenSFX and OpenGFX decided to release .. which rebuilds the website ..
21:29:50 <TrueBrain> I WANT TO RELEASE A NEW VERSION! LET ME! :P
21:30:23 <glx> but I'm in "beta and RC" channel
21:30:36 <TrueBrain> glx: switch to default, and nothing changes :)
21:30:43 <TrueBrain> I guess I should upload OpenSFX 1.0.0 too
21:31:25 <glx> it downloaded something after the switch
21:32:19 <TrueBrain> it can take a bit of time before it is available to you
21:32:23 <TrueBrain> restarting Steam also does the trick
21:33:59 *** WormnestAndroid has quit IRC (Remote host closed the connection)
21:34:12 *** WormnestAndroid has joined #openttd
21:34:33 <TrueBrain> I mostly noticed when switching branches, Steam doesn't see an update instantly
21:34:42 <TrueBrain> but only when switching branches I noticed this :P
21:34:46 <TrueBrain> otherwise it is near instantly available
21:35:09 <andythenorth> oof cutting out 2400 checks for which tree to show, guess how much compile time saved?
21:35:10 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
21:35:23 *** WormnestAndroid has joined #openttd
21:35:47 <frosch123> off... is there a python method to convert [ [a ,b], [c, d], [e, f] ] into [a,b,c,d,e, f]?
21:36:09 <glx> ah yes after restart it updated
21:36:34 <TrueBrain> frosch123: yes, but I can never remember which
21:36:37 <_dp_> frosch123, itertools.chain
21:36:39 <andythenorth> around 1s on a compile that was 12s
21:36:45 <glx> wow difference between 1.10.3 and 1.11.0-RC1 is impressive
21:36:54 <andythenorth> for a feature used by maybe 4 industries out of 8 or so
21:37:01 <DorpsGek> andythenorth: 0.08333333333333333
21:37:09 <TrueBrain> with "v = [ [a, b], [c,d]]", I believe "*v" does the trick
21:37:19 <TrueBrain> hmm, no, but there was this weird shorthand :P
21:37:22 <andythenorth> * 4 industries out of 80 :P
21:37:26 <TrueBrain> glx: nice aint it :D
21:37:52 <glx> (but it's just more frequent screen updates)
21:37:58 * andythenorth also cut 0.4MB off a 4.8MB grf
21:38:06 <TrueBrain> owh, right: itertools.chain(*v)
21:38:09 <TrueBrain> that was the trick :)
21:38:20 <TrueBrain> glx: it is crazy how much that does for the "feel" :D
21:38:25 <TrueBrain> I love how stupid humans really are
21:38:38 <TrueBrain> frosch123: and in Python3: list(itertools.chain(*v))
21:38:43 <glx> well mouse is more responsive during the scan too
21:38:43 <TrueBrain> as otherwise you have an iterator :P
21:38:52 <TrueBrain> try 1kx1k world gen :D
21:38:59 <TrueBrain> that I am still most happiest about :)
21:40:47 <glx> andythenorth also cut 0.4MB off a 4.8MB grf <-- not bad
21:41:13 <andythenorth> mostly just the forest industry
21:42:37 <TrueBrain> people reply very lovely on Twitter :D
21:42:48 <TrueBrain> I updated all socials for 1.11.0-RC1
21:42:59 <TrueBrain> I always forget how @topic works
21:43:18 <glx> oh I should open twitter to retweet
21:44:59 *** andythenorth has quit IRC (Quit: andythenorth)
21:45:24 <glx> and of course I don't see the tweet, they should have changed some setting again
21:47:36 <TrueBrain> I see you found the tweet :P
21:47:51 <LordAro> @topic set 1 1.11.0-RC1, 1.10.3
21:47:51 <DorpsGek> LordAro: Error: You don't have permissions to perform this action.
21:48:07 <glx> @topic set 1 1.11.0-RC1, 1.10.3
21:48:07 *** DorpsGek changes topic to "1.11.0-RC1, 1.10.3 | Website: *.openttd.org (source: github, translator: translator, server list: servers, wiki: wiki) | Don't ask to ask, just ask | 'Latest' is not a valid version, 'Most recent' neither | English only"
21:48:28 <TrueBrain> LordAro: I told you to register to nickserv and make a PR to add yourself a long time ago :P
21:48:57 * glx just copied LordAro's line
21:52:40 <TrueBrain> this time Twitter is a lot quicker than reddit
21:52:44 <TrueBrain> last time it was the other way around
21:52:44 <frosch123> ah damn, the script needs more changes than expected :/
21:52:51 <frosch123> i'll finish this tomorrow then
21:53:12 <TrueBrain> you have no idea how happy I am you are picking this up :D
21:53:16 <frosch123> we added some extra paranoia checks, like eints not adding languages to openttd
21:53:26 <frosch123> but we want that for the other projects :)
21:53:30 <TrueBrain> yeah, we can be real paranoia :D
21:53:45 <TrueBrain> maybe we should let that go ;)
21:54:03 <TrueBrain> "After I found JGRPP, I haven't even been bothered to download vanilla OTTD."
21:54:21 <TrueBrain> tempted to tell him he doesn't have to worry, all features added in vanilla are also available in JGRPP :P
21:54:48 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
22:14:27 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
22:37:05 *** Progman has quit IRC (Remote host closed the connection)
22:49:08 *** nielsm has quit IRC (Ping timeout: 480 seconds)
23:15:42 *** sla_ro|master has quit IRC ()
23:22:03 <Gustavo6046> git master is not 1.11
23:22:24 <TrueBrain> you are absolutely correct
23:24:11 <TrueBrain> why you ask/notice/mention this?
23:26:11 <Gustavo6046> TrueBrain: I built from master expecting it to be 1.11 for some reason lol
23:26:16 <Gustavo6046> I'm dumb, don't pay too much attention to that
23:26:25 <TrueBrain> but we switched today :)
23:26:28 <TrueBrain> master is now heading for 1.12
23:26:36 <TrueBrain> release/1.11 is in feature-freeze
23:27:24 <Gustavo6046> that would probably be /usr/bin/openttd rather than /usr/local/bin/openttd
23:27:50 <Gustavo6046> it's not installing to /usr/local/bin
23:27:56 <TrueBrain> why install at all?
23:28:02 <TrueBrain> you can just run it from your build folder :)
23:28:07 <Gustavo6046> it's in /usr/local/games/openttd
23:37:00 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:45:26 <DorpsGek> [OpenTTD/OpenTTD] pelya commented on issue #8864: GDB is terribly slow when starting OpenTTD on Debian 10 https://git.io/Jqrev
23:48:41 <peter1138> Was using Debian 5 a serious idea?
23:50:31 <milek7> I have gdb 10.1 and it launches in ~5 seconds
23:50:54 <milek7> mostly spent on symbol loading
23:53:35 <DorpsGek> [OpenTTD/OpenTTD] Milek7 commented on issue #8864: GDB is terribly slow when starting OpenTTD on Debian 10 https://git.io/Jqrev
continue to next day ⏵