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

Powered by YARRSTE version: svn-trunk