IRC logs for #openttd on OFTC at 2020-09-21
            
00:02:42 *** Progman has quit IRC
00:05:41 <azubieta> FLHerne the exclude list is to avoid certain packages that are only required in a regular system
00:05:57 <azubieta> notice that appimage builder uses apt to resolve the application dependencies
00:06:20 <azubieta> you can learn more about appimage-builder here https://appimage-builder.readthedocs.io/
00:08:57 *** andythenorth has quit IRC
00:10:33 *** nielsm has quit IRC
00:31:16 *** Gustavo6046 has quit IRC
00:31:32 *** Gustavo6046 has joined #openttd
00:36:15 *** sla_ro|master has quit IRC
00:49:19 *** matt21347 has quit IRC
01:29:25 *** HerzogDeXtEr has quit IRC
01:30:30 *** Wormnest has quit IRC
01:46:26 *** Gustavo6046 has quit IRC
02:11:54 *** Gustavo6046 has joined #openttd
02:39:34 *** Gustavo6046 is now known as Guest1431
02:39:37 *** Gustavo6046 has joined #openttd
02:40:57 *** Guest1431 has quit IRC
04:38:34 *** Flygon has joined #openttd
04:55:52 *** D-HUND has joined #openttd
04:59:13 *** debdog has quit IRC
06:38:51 *** namad7 has joined #openttd
06:40:20 *** supermop_Home has quit IRC
06:41:44 *** namad7 has quit IRC
08:48:23 *** WormnestAndroid has quit IRC
08:48:36 *** WormnestAndroid has joined #openttd
09:04:24 *** jottyfan has joined #openttd
09:16:52 *** Gustavo6046 has quit IRC
09:29:14 *** andythenorth has joined #openttd
09:33:17 *** sla_ro|master has joined #openttd
09:38:29 <TrueBrain> that moment that eints trolls you .. "Try harder!"
09:38:30 <TrueBrain> it tells me
09:41:39 <TrueBrain> ugh ... libraries that don't allow http for localhost should be shot
09:55:31 <andythenorth> moin
10:16:16 <TrueBrain> okay, dockerizing eints was pretty easy
10:16:26 <TrueBrain> just had to write a wrapper for the config.xml ... I had to write xml .. I need a bath now
10:20:57 <FLHerne> TrueBrain: You mean you haven't been ensuring that all the OTTD webpages are valid XML as well as HTML? :-(
10:21:03 <FLHerne> ;p
10:21:33 * FLHerne used to be religious about that, before realizing it was completely pointless
10:28:17 <TrueBrain> same :)
10:28:21 <TrueBrain> and no, I don't do HTML anymore
10:28:23 <TrueBrain> I leave that to others
10:28:26 <TrueBrain> or I don't do it :P
10:38:48 *** arikover has joined #openttd
10:47:17 <DorpsGek_III> [OpenTTD/eints] TrueBrain opened pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
10:48:39 <DorpsGek_III> [OpenTTD/eints] TrueBrain opened pull request #9: Dockerize eints https://git.io/JUur2
10:51:32 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
10:52:19 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #9: Dockerize eints https://git.io/JUur2
10:52:31 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
10:52:51 <TrueBrain> right, that should be sufficient for now
10:52:56 <TrueBrain> now I have to wait for frosch :D
11:00:11 <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on issue #8310: when I logged in to 1M city mania the error window pops up... https://git.io/JU0EE
11:00:16 <andythenorth> hmm work
11:00:22 * andythenorth had better leave the channel
11:00:26 *** andythenorth has left #openttd
11:12:41 <DorpsGek_III> [OpenTTD/eints] LordAro commented on pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUuo0
11:14:00 <TrueBrain> LordAro: I regret my choice of looking into eints; I am not going to do anything more :P So I am going to leave all the vim stuff just fine where they are :P
11:16:43 <LordAro> hehe
11:17:14 <DorpsGek_III> [OpenTTD/eints] TrueBrain commented on pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUuoX
11:18:00 <TrueBrain> in general, if you need spaces to make things readable, you are most likely already doing it wrong in Python ^^ :P
11:19:20 <DorpsGek_III> [OpenTTD/eints] TrueBrain commented on pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUuoS
11:19:38 <LordAro> "in general"
11:23:42 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
11:23:51 <TrueBrain> now I saw the folding markers, I could not unsee them :(
11:24:02 <TrueBrain> I left a little rant about it :P I just .. had to ...
11:24:13 <TrueBrain> it is not constructive :P
11:26:56 <TrueBrain> I just wish all editor-wars would be over, and everything that adds to readability applies to all editors :)
11:28:39 <TrueBrain> and what is wrong with generals LordAro ? :)
12:00:31 *** jottyfan has quit IRC
12:01:39 <TrueBrain> meh, getting this to run in AWS will be a bit of a pita ..
12:02:29 <TrueBrain> it stores 340MB in JSON data ..
12:04:48 *** arikover has quit IRC
12:05:16 *** arikover has joined #openttd
12:07:47 <TrueBrain> well, that is including 5 backups, of which I am not sure if they ever have been useful
12:07:50 <TrueBrain> @calc 340 / 6
12:07:50 <DorpsGek> TrueBrain: 56.6666666667
12:07:54 <TrueBrain> so more like 60MB
12:11:26 <TrueBrain> so EFS it is, I guess .. don't really see another way :)
12:11:40 <TrueBrain> which also means it cannot be multi-instance
12:11:47 <TrueBrain> (well, it can, but the code-base cannot :P)
12:23:09 *** iSoSyS has joined #openttd
12:43:07 <TrueBrain> so this is quiet a thing needed to run eints on AWS .. lol .. I need to add EFS as storage backend to the eints instance. Additionally, I need to make a lambda with another EFS storage, so it can do git checkout and pushes, and can communicate with the eints API to link git and eints together ..
12:43:29 <TrueBrain> well, if I do a shallow checkout, I might be able to do the lambda without EFS
12:54:21 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
13:00:37 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #9: Dockerize eints https://git.io/JUur2
13:06:24 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #9: Dockerize eints https://git.io/JUur2
13:06:28 <TrueBrain> and now with sentry support, sweet
13:08:32 *** sla_ro|master2 has joined #openttd
13:10:38 *** sla_ro|master has quit IRC
14:57:35 *** iSoSyS has quit IRC
15:26:37 *** nielsm has joined #openttd
15:30:41 *** arikover has quit IRC
16:12:02 <Eddi|zuHause> i think for the past half year or so i haven't understood a single word you said
16:12:42 <Eddi|zuHause> possibly two years, who knows :p
16:28:38 <TrueBrain> poor Eddi, being left behind :(
16:32:00 <TrueBrain> I am however surprised that you didn't say: the past 15 years or so :P
16:34:57 <Eddi|zuHause> i'm fairly sure there were two or three things that i actually understood back then :p
16:35:47 <TrueBrain> I was more insulting myself, but I like how you turned it around :)
17:26:53 *** namad7 has joined #openttd
17:27:11 <DorpsGek_III> [OpenTTD/OpenTTD] ipatix opened issue #8313: OpenTTD does not find GM.CAT when named uppercase. https://git.io/JUudP
17:28:00 *** Wormnest has joined #openttd
17:40:42 *** namad7 has quit IRC
17:50:29 *** Flygon has quit IRC
18:09:31 *** andythenorth has joined #openttd
18:24:13 *** Progman has joined #openttd
18:38:10 *** frosch123 has joined #openttd
18:41:39 <TrueBrain> evening frosch123 :) You wanted to drop redmine support, right? I made the Docker work for development, github and ldap .. adding redmine support is ... bloating the Docker image :P
18:41:58 *** tokai has joined #openttd
18:41:58 *** ChanServ sets mode: +v tokai
18:42:03 <TrueBrain> also, I looked into using a database-like structure for the eints data .. in the way it is currently loaded, there is no AWS service that will help us
18:42:21 <frosch123> i am still catching up, i only just learned that you found my "try harder" :p
18:42:24 <TrueBrain> the best way seems to be to mount a persistent filesystem in the container .. downside is, that means only 1 eints instance can run at any given time :)
18:42:29 <TrueBrain> :D
18:42:39 <TrueBrain> I found out what I had to try harder with ;)
18:43:05 <TrueBrain> the save() of the JSON data is easy to make in a database-like object, where on a new string on that string is stored
18:43:12 <TrueBrain> but the load ... the load is all over the place, and basically reads: READ ALL NOW
18:43:22 <TrueBrain> which will take a bit of work to make that more database-like :D
18:43:31 <frosch123> yep
18:43:43 <TrueBrain> I expected save to be the issue tbh :P
18:44:00 <frosch123> i have the other half though. some python thingie that reads all lang files from git history and puts them into sqlite
18:44:45 <TrueBrain> but mainly, I kept finding odd quirks in the code, that made me go: huh? for like 15 minutes .. doesn't make it easy to make changes :P
18:44:51 <TrueBrain> like the LRU around load() .. or, sorry, get()
18:45:03 <TrueBrain> it is some weird-ass code, of which I am sure parts honestly don't do anything at all :)
18:45:23 <andythenorth> did I write it?
18:45:27 <frosch123> yeah, there is some evolution in it
18:45:39 <frosch123> i think it was meant for 3 newgrf with 10 strings each
18:45:45 <TrueBrain> and the endless amount of classes in a single file, makes my editor go woooooooooooo
18:45:45 <frosch123> then came xussr with 3k strings
18:45:50 <frosch123> and then ottd with 5k strings
18:45:56 <TrueBrain> :D
18:46:10 <TrueBrain> I wrote WT3, I know the horrors of writing a WT :P
18:47:21 <TrueBrain> https://github.com/OpenTTD/eints/blob/deb34a1f5ebb2ea1d99efe541abf2845f85238d2/webtranslate/config.py#L419 <- pretty sure that block does nothing
18:47:42 <TrueBrain> as in: lru === self.lru before line 423
18:48:52 *** tokai|noir has quit IRC
18:51:23 *** snail_UES_ has joined #openttd
18:54:19 *** Wolf01 has joined #openttd
18:54:37 *** HerzogDeXtEr has joined #openttd
19:02:08 <TrueBrain> btw, the black PR, if you have any local patches yourself, it is pretty easy to update them after such PR would be merged: run black yourself over your patch, commit it, and rebase
19:02:14 <TrueBrain> it should resolve it just fine :)
19:02:35 <TrueBrain> possibly you have to merge the flake8 commit too, but that is less likely, as the flake8 commit is just small bits and pieces
19:03:13 <TrueBrain> I am also fine not doing that PR btw; was mostly wondering how much it would fix for us
19:03:59 <frosch123> blake is fine. i just wondering how to explain you that readable code is more important than writeable code
19:05:26 *** gelignite has joined #openttd
19:05:43 <TrueBrain> pretty sure we are adults, so that is a bit of a rude way of putting it ;) but we long figured out we come from different places in those regards; )
19:06:06 <TrueBrain> you consider it writable vs readable, I consider it maintable vs endless discussions about personal preference ;)
19:06:29 <TrueBrain> there is nothing essential wrong with either; I just prefer the one over the other ;)
19:06:43 <DorpsGek_III> [OpenTTD/OpenTTD] stormcone commented on issue #8292: Game cutting of savefile name after charecters with diacritics. https://git.io/JJMxx
19:08:22 <TrueBrain> so "explaining it to me" is a rude way of putting: you prefer what LordAro suggests ;) Which is fine, that PR is waiting for how you want it; not how I want it :)
19:08:42 <frosch123> well, then :) i disagree with removing the alignment from project_type.py
19:08:48 <frosch123> it makes it compeltely unmaintainable
19:09:03 <frosch123> i do not care about short tables. but that big one is hard to get right
19:09:11 <TrueBrain> make a comment, I will change it
19:12:00 <TrueBrain> just realise what you have is an opinion, not a fact, from your experience. Other people carry different :P The main point is, we have to avoid a constant debate about coding styles, as they are rather pointless .. it is the same as debating if a house should be white or pink :P
19:12:29 <LordAro> fight fight fight fight
19:12:41 <TrueBrain> I think we are not even close to fighting, are we?
19:12:45 <TrueBrain> am I missing something? :(
19:12:51 <LordAro> aw
19:13:57 <DorpsGek_III> [OpenTTD/eints] frosch123 commented on pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUuxL
19:14:35 <TrueBrain> I always wonder what would happen if we would work together professionally
19:15:02 <TrueBrain> as I am pretty sure that most of the disagreements are born from either not understanding eachother (language issues etc) or having a different background / history / experience on the subject
19:15:08 <frosch123> we would spend more times writing requirements documentes
19:15:11 <TrueBrain> in my day-to-day job this is resolved in minutes :P
19:15:37 <TrueBrain> I have seen many software companies over the years ... requirements documents RARELY is something that is available :P
19:15:52 <LordAro> i've been having similar arguments about code formatting at work in recent weeks
19:16:16 <frosch123> i have a french parent company. i have considered wriiting a script that swaps subject and object in all sentences, to help reading their texts :p
19:16:27 <LordAro> some people are "i don't like autoformatters" and others are "give me autoformatters or give me death"
19:16:30 <andythenorth> I have agreed to not argue about formatting any more
19:17:28 <TrueBrain> LordAro: I have been the architect of some pretty decent-sized software projects after the last few years .. there are always those people in any group, I noticed .. I also noticed it rarely takes more than an hour to convince them all of way A
19:17:35 <DorpsGek_III> [OpenTTD/OpenTTD] stormcone commented on issue #8310: when I logged in to 1M city mania the error window pops up... https://git.io/JU0EE
19:17:37 <TrueBrain> surprisingly, that way A is never something I set out before that meeting :P
19:17:45 <TrueBrain> and it is always different per project
19:17:56 <TrueBrain> as it doesn't fucking matter, as long as the freaking team agrees on it
19:18:00 * andythenorth reads a style guide
19:18:01 <andythenorth> "Andy says: Indent your markup to show you care. I can't read markup if it isn't correctly indented, and I will be pissy and judgemental about it, which is boring for all concerned."
19:18:01 <andythenorth> "I prefer four spaces; but I won't be pissy if your editor is set up to use two spaces and you can't change it, indenting correctly is vastly more important than the number of spaces."
19:18:03 <frosch123> TrueBrain: oh, there is no problem with the availability of requirement documents. the problem is missing content in the important places :)
19:18:38 <TrueBrain> what pissed me off over the years: okay, so we have this piece of software that makes millions of years ... show me a picture how all components interact .. FUNCTIONAL level please
19:18:41 <TrueBrain> dead silence
19:18:55 <TrueBrain> what is this with big software projects and having zero overview of what interacts with what
19:19:07 <andythenorth> I am guilty of this
19:19:12 <andythenorth> and it bothers me vastly
19:19:23 <frosch123> TrueBrain: i thought it's more about the "age" than the "big"
19:19:37 <andythenorth> I think it's more about the complexity
19:19:40 <andythenorth> number of involved parts
19:19:46 <andythenorth> ways things can fuck up in prod.
19:19:50 <andythenorth> places vulns can creep in
19:19:55 <TrueBrain> I don't care what causes it .. it pisses me off till no end :)
19:20:14 <andythenorth> do you hear a lot of rationales about why documentation at that level is just not possible?
19:20:39 <frosch123> "someone who left long ago wrote this, i do not know how it works, i do trial and error to achieve my task" <- iterate that 3 times, and you have the expected structure
19:20:58 <andythenorth> we have a lot of post-hoc rationalisations for why it's not possible to have a system overview doc
19:20:59 <TrueBrain> I don't understand, especially if there were architects before me
19:21:07 <TrueBrain> like ... how do you work if you don't have a functional overview
19:21:08 <andythenorth> but it boils down to "we just don't know how to do it"
19:21:17 <TrueBrain> sometimes people start to draw (there and then) a technical overview
19:21:27 <TrueBrain> but ... I just .. ugh
19:21:39 <TrueBrain> making the drawing is piss easy
19:21:49 <frosch123> TrueBrain: ok, in my case the companies ported fortran and assembly to C in the early 90s. i don't think there were architects
19:21:51 <TrueBrain> but how do you sell a product if you don't know what it does? :P
19:22:01 <andythenorth> TrueBrain we find out what it does via customer support :P
19:22:09 <LordAro> some people i work with don't even have a technical overview
19:22:09 <TrueBrain> but there have been by now, not frosch123 ? :) So someone would like to know, not? :)
19:22:17 <LordAro> they just bash the keyboard until the test starts passing
19:22:24 <TrueBrain> it is like .. "here is a car"
19:22:25 <TrueBrain> what is in it?
19:22:28 <TrueBrain> I dunno, figure it out
19:22:34 <TrueBrain> how is the engine connected to the wheels?
19:22:38 <andythenorth> magic!
19:22:40 <TrueBrain> I dunno, just test it, we will see if it works
19:22:40 <andythenorth> and bees!
19:22:42 <TrueBrain> you might crash
19:22:43 <TrueBrain> you might not
19:22:45 <TrueBrain> YOLO!
19:22:45 <LordAro> probably bees.
19:23:08 <andythenorth> sometimes I accidentally wander into hackernews or slashdot comments or something
19:23:12 <TrueBrain> and I get it, as when I write software myself, an overview is also not the first thing
19:23:25 <TrueBrain> but companies that make a lot of money .. you would think there is more guidance ..
19:23:30 <TrueBrain> I think I am getting old and grumpy ..
19:23:32 <andythenorth> short reminder how bullshit there is masquerading as 'proper computer science'
19:23:36 <andythenorth> or 'proper maths'
19:24:03 <andythenorth> a lot of programmers would better server the world by fronting up "I dont know" and "this is just my preference"
19:24:19 <andythenorth> serve *
19:24:22 <andythenorth> sever* ?
19:24:25 * andythenorth doesn't know
19:24:28 <andythenorth> I have NFI
19:24:37 <andythenorth> how old is 'old'?
19:26:25 <LordAro> TrueBrain: getting?
19:26:26 <LordAro> :p
19:27:55 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
19:27:56 <TrueBrain> Love you too LordAro
19:28:48 <TrueBrain> changing formatting back is challenging if you don't want to copy/paste :P
19:29:01 <TrueBrain> and I fucked something up, didn't I .. lol
19:29:47 <TrueBrain> ah, no, flake8 doesn't listen to # fmt statements
19:29:55 <TrueBrain> how can you make flake8 ignore the next N statements .. hmm
19:30:10 <LordAro> i think there is such a thing as a noqa block
19:30:51 <TrueBrain> and this is why I don't like exceptions :P :P :P :P :P
19:31:48 <frosch123> there is no exception. you format all python code with black.
19:32:03 <frosch123> the problem is when there is non-python stuff included in python source files
19:32:18 <TrueBrain> petty sure that table is Python :P
19:32:19 <frosch123> i don't consider those tables python code
19:32:21 <TrueBrain> :D
19:32:27 <frosch123> just like i do not consider src/tables in ottd C code
19:32:38 <TrueBrain> honestly, it also shouldn't be in Python. But that is a difficult change :D
19:32:47 <TrueBrain> and it should be in its own file
19:32:52 <TrueBrain> which is also the solution to this problem :P
19:33:20 <LordAro> i was gonna say, probably easiest to do it that way
19:33:56 <TrueBrain> I have been putting these kind of tables in metalanguages like YAML .. mostly I like it a lot more
19:34:05 <TrueBrain> as it is both clear it is NOT Python (and just a Table of meta-data)
19:34:18 <TrueBrain> and it allows non-Python people to modify it, without them going: I AM NOT A PROGRAMMER
19:36:24 <frosch123> i always wondered about those {{{ in eints code
19:36:38 <TrueBrain> if LordAro wouldn't have known, I wouldn't have either :P
19:36:41 <frosch123> now i learned that vim is to blame :)
19:37:57 <frosch123> TrueBrain: anyway, thanks for formatting :)
19:38:07 <LordAro> you can do nml next
19:38:14 <LordAro> my effort has stalled
19:38:37 <TrueBrain> frosch123: np :) Can't say it was fun :P
19:38:48 <TrueBrain> still battling the ParameterInfo atm :D
19:38:50 <frosch123> LordAro: haha, if there is one way to turn the team against you. on the first day reformat their code
19:40:37 <frosch123> i wonder whether i can incorporate that into my live somehow... have me or someone start a new job, and on the first day run an autoformatter over the code and commit
19:40:44 <frosch123> i would like to see the faces :)
19:40:58 <TrueBrain> that .. is ... a ... horrible idea :P
19:41:56 <frosch123> there was that guy who retired, and on his last day he committed all modifies that were somehow left over on his machine
19:42:16 <frosch123> people had to discuss whether to look at the diff, or just revert it in good faith :p
19:42:38 <LordAro> haha
19:42:57 <LordAro> i definitely accumulate uncommitted changes
19:44:18 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
19:44:31 <TrueBrain> I did "git stash list", or what-ever the syntax is, on my last day of a job
19:44:34 <TrueBrain> I decided to simply drop them :P
19:45:01 <TrueBrain> okay, the splitting of files makes that file a lot more readable :)
19:45:05 <TrueBrain> I now understand the intend
19:45:08 <TrueBrain> so that was helpful :)
19:45:46 <TrueBrain> there, project_type table unformatted, passing black and flake :P
19:46:13 <TrueBrain> now it is a patch-killer btw .. just be aware of that :)
19:46:30 <frosch123> TrueBrain: so you were none of those admins, who reset all passwords with random on their last day?
19:46:45 <LordAro> TrueBrain: why the noqa on the NL/CURL_PARAMETER ?
19:47:00 <TrueBrain> given my last job called me several times after I left, pretty sure they still like me there :)
19:47:07 <TrueBrain> LordAro: let me add a comment
19:47:13 <LordAro> :)
19:47:25 <LordAro> frosch123: as good a day as any to test your data recovery procedures :p
19:47:29 <TrueBrain> frosch123: it might surprise you, but I am a pretty decent guy :P
19:47:36 <TrueBrain> (it really does surprise me :D)
19:48:13 <TrueBrain> LordAro: meh, the comment would read: "because I am lazy"
19:49:20 <frosch123> maybe they are plotting to murder you
19:49:39 <TrueBrain> cats are!
19:50:18 <frosch123> LordAro: hmm, not sure... but i think it also involved calling all customers to get assigned a new maintainance account
19:50:19 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
19:50:54 <TrueBrain> I really cannot believe people do this shit on their last day just out of spite ..
19:51:01 <TrueBrain> integrity gone ..
19:51:42 <TrueBrain> well, I have worked for years in the business where integrity is kinda a big deal (something with cybersecurity ...) .. guess that changes you a bit, whether you like it or not :D
19:52:23 <frosch123> you can also bundle your leave-notice with a consulting contract :p
19:53:14 <frosch123> also, github still sorts commits by date :/
19:53:15 <TrueBrain> well, that is kinda implied these days, not? :)
19:53:30 <TrueBrain> what order do you prefer? By subject? :P
19:53:52 <TrueBrain> how GitHub now shows it, is the order I have the patches in, btw
19:54:04 <DorpsGek_III> [OpenTTD/OpenTTD] abmyii commented on issue #8310: when I logged in to 1M city mania the error window pops up... https://git.io/JU0EE
19:54:42 <TrueBrain> or do you mean the History of a branch?
19:54:54 <TrueBrain> didn't they change that from author date to commit date or something?
19:55:02 <frosch123> _dp_: can we assign #8310 to you?
19:55:30 <frosch123> TrueBrain: i always look at the "commits" tab. and i doubt you split the files after formatting
19:55:51 <TrueBrain> the black PR? It is 5 commits
19:55:57 <TrueBrain> and the order you see in GitHub, is what I made out of it
19:56:11 <TrueBrain> black -> flake8 -> vim -> splitting -> actions
19:56:47 <TrueBrain> you don't like the order / commits? :D
19:57:42 <frosch123> don't tempt me :)
19:57:57 <TrueBrain> I was too lazy to flip vim / splitting
19:58:07 <TrueBrain> and I wanted the splitting in a new commit, so you could see what I did :P
19:58:31 <DorpsGek_III> [OpenTTD/eints] frosch123 approved pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUupj
20:00:31 *** HerzogDeXtEr1 has joined #openttd
20:01:39 <frosch123> lol... i was surprised how you succeeded in removing config.xml so fast. but you use the command line to generate one :)
20:02:09 <TrueBrain> could not think of another way :)
20:03:15 <frosch123> technically you are missing configs for ldap, so maybe also unsupport ldap?
20:03:56 <TrueBrain> good point; if you think that is fine
20:03:59 <TrueBrain> I can also add the ldap lines
20:04:04 <TrueBrain> just .. pretty sure nobody is going to use it :P
20:04:39 <frosch123> we have one backend per user :) redmine for devzone, ldap for old ottd, github for new ottd :)
20:04:40 <DorpsGek_III> [OpenTTD/eints] TrueBrain merged pull request #8: Run black and flake over the code and make fixes where needed https://git.io/JUurz
20:05:02 <frosch123> the github config is by far the easiest
20:05:42 <frosch123> for redmine we have a weird conversion table to map isocodes to group names
20:05:50 <frosch123> because people did not want to name groups by isocode
20:06:26 *** HerzogDeXtEr has quit IRC
20:07:41 <frosch123> TrueBrain: in case, i was ambiguous: imo remove ldap. it needs individual patching for group names, so you need the speical "openttd" branch
20:08:36 <TrueBrain> people are weird :)
20:09:45 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #9: Dockerize eints https://git.io/JUur2
20:09:51 <frosch123> do you want to include the git scripts in the docker container, or shall they run outside?
20:09:53 <TrueBrain> did not remove ldap from the codebase, but did from the 'run' and requirements
20:10:31 <TrueBrain> what I think we will have on AWS is this: eints runs in a docker with the current dockerfile, and the "translator" hack changes from localhost to anythng starting with "10."
20:10:46 <TrueBrain> a Lambda runs every day that downloads the scripts from "master", and executes them
20:10:58 <TrueBrain> to do the upload and download to/from eints/git
20:11:04 <TrueBrain> so they don't have to be in the Docker for us
20:11:18 <TrueBrain> it is, how ever, polite to do that, but I also don't like adding stuff we don't test
20:12:25 <TrueBrain> and as you might have read, I need help with the "help" strings .. I really could not figure out some of them :D
20:12:28 <frosch123> why is flake8 in requirements.txt?
20:12:56 <TrueBrain> ooooooppsss
20:14:31 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #9: Dockerize eints https://git.io/JUur2
20:14:31 <TrueBrain> nicely spotted sir :)
20:14:45 <TrueBrain> okay, the first of November we will have 1 problem with Docker Hub .. and that is our base image
20:14:55 <TrueBrain> we pull "python3.8-slim" from Docker Hub
20:15:01 <TrueBrain> that will be interesting
20:36:08 <DorpsGek_III> [OpenTTD/eints] frosch123 commented on pull request #9: Dockerize eints https://git.io/JUzeI
20:37:13 *** Gustavo6046 has joined #openttd
20:37:20 <DorpsGek_III> [OpenTTD/eints] frosch123 commented on pull request #9: Dockerize eints https://git.io/JUzeq
20:39:10 <TrueBrain> tnx frosch123 :) Happy it is not only me :P
20:41:15 <DorpsGek_III> [OpenTTD/eints] TrueBrain commented on pull request #9: Dockerize eints https://git.io/JUze8
20:41:35 <frosch123> i think in the beginning there was this idea, that people download english.txt, and after 2 months upload their translation, after N other people translated some other things
20:41:46 <frosch123> and eints would have to decide which translation is really new
20:43:41 *** sla_ro|master2 has quit IRC
20:44:31 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #9: Dockerize eints https://git.io/JUur2
20:45:00 <frosch123> http://devs.openttd.org/~frosch/runrunrun.png <- i thought gh was trolling me... but apparently the function is called "run" :)
20:45:17 <TrueBrain> yup ..
20:45:26 <TrueBrain> "run" in "run" .. not even "run.py" :P
20:45:29 <TrueBrain> :D
20:46:09 <TrueBrain> honestly, it should be renamed webtranslate/main.py
20:46:23 <TrueBrain> my client ate _, didn't it?
20:46:27 <DorpsGek_III> [OpenTTD/eints] frosch123 approved pull request #9: Dockerize eints https://git.io/JUzer
20:46:29 <TrueBrain> _ _ main _ _.py :)
20:46:47 <frosch123> TrueBrain: it even put emphasis on removing it :)
20:48:04 <DorpsGek_III> [OpenTTD/eints] TrueBrain merged pull request #9: Dockerize eints https://git.io/JUur2
20:48:10 <TrueBrain> tnx frosch123 ; tomorrow I will see if I can deploy this on AWS :)
20:48:20 <TrueBrain> will be fun if it works :)
20:48:29 <frosch123> you know the magic scripts and cron jobs in the eints vm?
20:48:41 <TrueBrain> I found them today, yes :P Took me a while to remember :)
20:48:46 <TrueBrain> but the openttd branch has the important bits
20:48:56 <TrueBrain> can I overwrite the "openttd" branch btw, or do you want to keep "openttd-oauth"?
20:49:33 <frosch123> i like openttd-oauth more, i considered renaming the other one to openttd-ldap
20:49:40 <TrueBrain> sounds good
20:49:43 <frosch123> it was useful yesterday, when i had to rollback :)
20:49:50 <TrueBrain> so in that branch is eintsgit.py I believe, which does everything I need :)
20:50:06 <frosch123> no, there is more :p
20:50:09 <TrueBrain> it needs that other script in the same folder to work, and does the rest via API
20:50:15 <TrueBrain> there are 3 cronjobs, and 2 shellscripts
20:50:23 <TrueBrain> the 2 shellscripts call eintsgit.py
20:50:26 <TrueBrain> anything else? :)
20:50:36 <frosch123> yes, but those 2 shellscripts are not in the repo
20:50:46 <TrueBrain> no, and that is fine
20:50:50 <TrueBrain> it is what the lambda will be doing too
20:51:24 <frosch123> the modifies in the working copy are from yesterday. i renamed the project from "openttd-trunk" to "openttd-master" in the oauth branch
20:51:33 <frosch123> and made the same change to the ldap branch without commit
20:51:51 <TrueBrain> ah :)
20:51:55 <TrueBrain> makes sense
20:52:48 <TrueBrain> what I suspect that happens, is that we end up with a near similar setup as the current VM
20:52:57 <TrueBrain> only Lambda for cronjob
20:53:05 <TrueBrain> and eints-data on AWS EFS
20:53:13 <TrueBrain> hopefully that idea works :P
20:55:09 <TrueBrain> and ofc I will deploy it on staging first, so we can test it properly :D
20:58:32 <frosch123> are you sure?
20:58:47 <frosch123> wouldn't that imply a openttd-staging with the lang files?
20:59:10 <TrueBrain> sort-of; most likely I will do a truebrain/openttd-eints-test
20:59:15 <TrueBrain> with just a few language files or what-ever
20:59:42 <frosch123> haha, on devzone we had a sandbox project that was a copy of some firs version
20:59:52 <frosch123> some people translated it to 100%
21:00:20 <frosch123> the famous "sandbox" newgrf :)
21:00:54 <TrueBrain> :D
21:01:08 <TrueBrain> well, for AWS a staging has been shown to be very valuable, as I will run into IAM issues :D
21:01:16 <frosch123> oh right... i wanted to write on that user's talk page
21:05:47 <frosch123> let's see whether this works
21:08:45 *** supermop_Home has joined #openttd
21:08:49 <supermop_Home> yo
21:29:59 <andythenorth> hi
21:34:06 *** Progman has quit IRC
21:34:55 *** Progman has joined #openttd
21:56:34 *** gelignite has quit IRC
22:29:21 *** frosch123 has quit IRC
22:51:09 *** andythenorth has quit IRC
23:24:02 *** HerzogDeXtEr1 has quit IRC
23:26:27 *** Progman has quit IRC
23:52:25 *** Wolf01 has quit IRC