IRC logs for #openttd on OFTC at 2020-09-29
⏴ go to previous day
00:25:06 *** Gustavo6046 has joined #openttd
04:19:49 *** azubieta has joined #openttd
06:02:34 *** DorpsGek has joined #openttd
06:02:34 *** ChanServ sets mode: +o DorpsGek
07:32:30 *** Gustavo6046 has joined #openttd
08:02:44 *** sla_ro|master has joined #openttd
08:03:51 *** andythenorth has joined #openttd
08:52:34 *** Smedles has joined #openttd
09:31:26 *** WormnestAndroid has quit IRC
09:31:38 *** WormnestAndroid has joined #openttd
09:36:41 *** andythenorth has joined #openttd
10:16:28 *** andythenorth has left #openttd
10:37:43 *** supermop_Home_ has quit IRC
10:38:03 *** andythenorth has joined #openttd
12:16:41 *** arikover has joined #openttd
12:43:30 <DorpsGek_III> [OpenTTD/eints] TrueBrain opened pull request #20: Fix: change footer to point to new home for eints https://git.io/JU1WQ
12:43:55 <TrueBrain> I do not know if this is okay to do; but I am sure frosch will tell me off if it is not :)
13:53:00 *** arikover has joined #openttd
14:23:55 <andythenorth> 13/8 articulated auto-coach x 2, and a 6/8 engine = 2 tiles
14:28:13 <FLHerne> The ones in the photo aren't articulated?
14:28:26 <FLHerne> 2 tiles is a useful length for little branches
14:28:41 <andythenorth> no, but they have to have the control gear, so they're effectively one unit for game terms
14:28:56 <andythenorth> dunno how I'd get mail capacity in :P
14:32:15 *** snail_UES_ has joined #openttd
16:08:24 <TrueBrain> I guess he changed his mind? :)
16:11:53 <TrueBrain> I am looking into adding GitHub OAuth to mediawiki, but holy crap
16:12:01 <TrueBrain> I remember why I really REALLY do not like mediawiki
16:12:17 <TrueBrain> its a complete shit-show :P
16:41:21 *** greeter has joined #openttd
17:07:52 *** arikover has joined #openttd
17:13:31 *** Wormnest has joined #openttd
17:31:55 <TrueBrain> nice follow-up FLHerne :)
17:32:14 <TrueBrain> okay ... I found a mediawiki extension that works (after writing some PHP .. I feel dirty) with Github Oauth
17:32:44 *** gelignite has joined #openttd
17:34:56 <TrueBrain> the mediawiki docker uses index.php in the URL
17:35:47 <andythenorth> TrueBrain are you religious? I could go to church and light a candle for your soul (PHP sins)
17:35:54 * andythenorth is not religious, but likes fire
17:36:20 <TrueBrain> I feel dirty .. that doesn't make it a sin, you silly :P
17:36:38 <andythenorth> I don't know about these things TBH
17:37:43 *** ChanServ sets mode: +v tokai
17:40:11 <Eddi|zuHause> do you know this problem when you have a remote desktop session within a teamviewer session, and get totally lost on which of the 3 taskbars you have to click on to do a thing?
17:49:40 <TrueBrain> okay, I have 3 plugins I don't know why we have them, and we have namespaces I do not understand ..
17:49:57 <TrueBrain> otherwise, it seems I have mediawiki running in a docker of sorts .. now I need to import the current content :P
18:19:41 *** arikover has joined #openttd
18:48:42 *** frosch123 has joined #openttd
19:05:06 *** Progman has joined #openttd
19:09:47 *** arikover has joined #openttd
19:16:35 *** arikover has joined #openttd
19:26:08 <DorpsGek_III> [OpenTTD/eints] frosch123 approved pull request #20: Fix: change footer to point to new home for eints https://git.io/JUMTz
19:46:07 *** sla_ro|master has joined #openttd
19:47:52 *** innocenat_ has joined #openttd
19:48:05 *** mindlesstux has joined #openttd
20:01:36 <TrueBrain> Nice!! I see no issues by looking it over; let's see if glx wants to review it properly :D
20:08:02 <frosch123> TrueBrain: you found a way to host the wiki database?
20:10:42 <TrueBrain> It won't be cheap, but it buys some time to fix this properly
20:11:10 <TrueBrain> As in, old server vs AWS db, old server is more expensive :p
20:11:21 <TrueBrain> Anyway, I am just exploring if it can be done
20:12:55 <LordAro> i've also been playing around with a clang-format file again
20:13:17 <LordAro> can't get the "data tables" to be formatted nicely
20:13:34 <LordAro> (and that's leaving aside the window definitions, which will have to be excluded from formatting)
20:14:25 <frosch123> can't you exclude src/table ?
20:14:36 <LordAro> i don't mean those tables
20:15:11 <LordAro> i mean things like `int foo[] some_array_literal = {\n foo(),\n bar()\n};`
20:15:46 <LordAro> it likes to turn it into (assuming it goes over the line length limit) `int foo[] some_array_literal = {foo(),\n bar()};
20:48:56 <TrueBrain> frosch123: simply put, how it looks currently, it will cost between 10 and 20 dollar a month to run the database in AWS .. which is rather absurd for what it does :P
20:49:09 <TrueBrain> so there is an incentive to move to a less .. demanding way of serving a wiki
20:51:00 <frosch123> parserfunctions are used in all the templates
20:51:16 <frosch123> i don't remember any graphviz stuff
20:51:27 <frosch123> checkuser allows admins to see ips of users or so
20:51:32 <TrueBrain> if you open the URL of parserfunctions, it reads most functions are now part of the base
20:51:38 <TrueBrain> just .. no clue if that includes everything :P
20:53:41 <frosch123> the url only tells me that it is bundled with mediawiki
20:53:45 <frosch123> but you still need to activate it
20:55:01 <TrueBrain> the wording is so incredibly weird to me
20:55:02 <frosch123> so, we only need an oauth add-on, rest is configuration
20:55:14 <TrueBrain> "Since MediaWiki 1.15, ParserFunctions has incorporated most (but not all) of the functions from the StringFunctions extension, which may be enabled or disabled "
20:55:23 <TrueBrain> what does 1.15 have to do with an extension
20:55:28 <TrueBrain> but okay, I will just leave it activated :)
20:55:35 <TrueBrain> the oauth is running
20:55:45 <frosch123> that is the wrong paragraph you are reading
20:55:50 <frosch123> you need to read the red box at the top
20:55:52 <TrueBrain> it was ... a challenge, to find an extension that worked, was maintained, and understood Github
20:55:54 <LordAro> 1.15 is the version that the extension was bundled with the base install
20:56:09 <LordAro> most extensions are not on github, they're on mediawiki's internal git
20:56:09 <TrueBrain> frosch123: gotcha ... totally missed that box ..
20:56:17 <TrueBrain> so ... yeah ... I no longer see those :D
20:56:19 <frosch123> 1.15: integrate add-on "stringfunctions" into add-on "parserfunctions". 1.18: bundle "parserfunctions" with main
20:56:35 <TrueBrain> so don't download, only activate, I can do that :D
20:56:50 <TrueBrain> and we drop GraphViz en CheckUser
20:57:05 <TrueBrain> that leaves me puzzled with what those namespaces are :D
20:57:30 <LordAro> largely unused, i would think
20:57:38 <frosch123> most of the manual is in main, "manual" only contains like 2 pages or so
20:57:55 <frosch123> same with "scenario"
20:57:56 <TrueBrain> so I can drop that statement?
20:58:13 <frosch123> if you migrate the pages into main
20:58:28 <LordAro> Manual:foo -> Manual/foo should do
20:58:33 <frosch123> no idea whether we can move the pages and then delete the namespace
20:58:36 <TrueBrain> I wouldn't know how to migrate anything :D
20:58:46 <frosch123> TrueBrain: then keep the namespaces :)
20:58:48 <TrueBrain> can we already move the pages? :)
20:59:01 <frosch123> if we keep all the wiki-mess, the namespaces are the smallest problem
20:59:12 <TrueBrain> what would you suggest?
20:59:27 <TrueBrain> Member of groups:Autoconfirmed users, Users
20:59:55 <TrueBrain> I have disabled "real name" and "email"
21:00:05 <TrueBrain> as that requires more scope in the oauth, for .. no real reason
21:00:14 <TrueBrain> so you cannot receive emails because of Wiki updates
21:02:16 <DorpsGek_III> [OpenTTD/DorpsGek] TrueBrain opened pull request #33: Add: [Actions] CodeQL analyze on push/pull-request https://git.io/JUMst
21:02:31 <frosch123> TrueBrain: in my list there is also a "OpenTTD" and "OpenTTD talk" namespace
21:02:46 <LordAro> i think those are the defaults
21:02:48 <TrueBrain> the list I just gave you is how the current mediawiki is configured :)
21:03:03 <LordAro> config just defines extras
21:04:01 <TrueBrain> anyway frosch123 , I was considering just copying the database, and let mediawiki do its automigration magic
21:04:13 <TrueBrain> if there are better ways ..
21:04:23 <TrueBrain> but again, I see this as plan B, if we cannot get gollum to work properly
21:04:43 <TrueBrain> so 105/106 did go wrong, funny :P
21:04:57 <frosch123> noone noticed in 15 years :)
21:05:01 <TrueBrain> anyway, this means absolutely nothing to me, sadly .. I don't know nor understand mediawiki :P
21:05:25 <frosch123> well, each page has a namespace and a title
21:05:31 <frosch123> the namespace is an interger, the title is a string
21:05:56 <frosch123> the integer is mapped with your configuration to a name, though there are also defaults
21:06:25 <frosch123> maybe "openttd" is also some kind of default, since it is < 100
21:07:56 <TrueBrain> 5 minutes to analyze DorpsGek via CodeQL (instead of lgtm.com, which is the same)
21:08:31 <LordAro> did it find anything different?
21:08:55 <TrueBrain> no, it runs the same CodeQL as far as I can tell
21:08:59 <TrueBrain> but it integrates with GitHub better
21:09:08 <TrueBrain> let me find a repo with alerts
21:09:32 <TrueBrain> no, lgtm scans for more, I now notice
21:10:54 <DorpsGek_III> [OpenTTD/master-server] TrueBrain opened pull request #13: Add: [Actions] CodeQL analyze on push/pull-request https://git.io/JUMs9
21:10:59 <TrueBrain> lets try a repo of which I know has an alert
21:12:01 <TrueBrain> another mail from GitHub about a change in their API? We haven't used that for a while now ..
21:12:36 <TrueBrain> ah, no, I know .. configuration :D
21:16:24 <TrueBrain> clearly it does not scan for unused local variable :)
21:23:32 <TrueBrain> okay, by default it only runs a very few amount of checks
21:24:47 <TrueBrain> documentation is still a big vague, but that happens with new stuff
21:26:47 <DorpsGek_III> [OpenTTD/DorpsGek] TrueBrain updated pull request #33: Add: [Actions] CodeQL analyze on push/pull-request https://git.io/JUMst
21:29:45 <DorpsGek_III> [OpenTTD/DorpsGek] TrueBrain updated pull request #33: Add: [Actions] CodeQL analyze on push/pull-request https://git.io/JUMst
21:31:45 <TrueBrain> very unclear how this works :P
21:33:33 <DorpsGek_III> [OpenTTD/DorpsGek] TrueBrain closed pull request #33: Add: [Actions] CodeQL analyze on push/pull-request https://git.io/JUMst
21:33:38 <DorpsGek_III> [OpenTTD/master-server] TrueBrain closed pull request #13: Add: [Actions] CodeQL analyze on push/pull-request https://git.io/JUMs9
21:33:48 <TrueBrain> will fiddle with it some more in less noise :)
21:55:23 *** HerzogDeXtEr has joined #openttd
22:49:22 *** virtualrandomnumber has joined #openttd
23:54:04 *** innocenat__ has joined #openttd
23:55:06 *** mindlesstux_ has joined #openttd
23:55:47 *** mindlesstux_ has joined #openttd
23:56:07 *** mindlesstux_ has joined #openttd
23:57:08 *** innocenat__ is now known as innocenat_
23:57:15 *** mindlesstux_ has joined #openttd
continue to next day ⏵