IRC logs for #openttd on OFTC at 2020-10-23
            
00:11:58 *** jottyfan has quit IRC
00:16:29 *** nielsm has quit IRC
01:32:05 *** Laedek has joined #openttd
02:34:35 *** Flygon has joined #openttd
03:23:23 *** Progman has quit IRC
03:26:44 <Eddi|zuHause> what's "a rainy country"? guyana? brazil? india?
03:44:30 <DorpsGek_III> [OpenTTD/OpenTTD] azubieta updated pull request #8329: Build AppImage https://git.io/JTZha
04:13:16 <DorpsGek_III> [OpenTTD/OpenTTD] azubieta updated pull request #8329: Build AppImage https://git.io/JTZha
04:13:58 *** D-HUND has joined #openttd
04:17:19 *** debdog has quit IRC
04:17:42 <DorpsGek_III> [OpenTTD/OpenTTD] azubieta commented on pull request #8329: Build AppImage https://git.io/JT2q0
04:31:18 *** Wormnest has quit IRC
05:31:22 *** glx has quit IRC
05:48:23 *** snail_UES_ has quit IRC
05:50:29 *** snail_UES_ has joined #openttd
05:52:20 *** snail_UES_ has joined #openttd
05:53:26 *** snail_UES_ has joined #openttd
05:54:12 *** snail_UES_ has joined #openttd
05:54:14 *** snail_UES_ has quit IRC
05:54:48 *** snail_UES_ has joined #openttd
05:55:25 *** snail_UES_ has joined #openttd
05:56:31 *** snail_UES_ has joined #openttd
05:57:22 *** snail_UES_ has joined #openttd
06:03:08 *** snail_UES_ has joined #openttd
06:11:33 *** snail_UES_ has quit IRC
06:28:44 *** snail_UES_ has joined #openttd
06:36:54 *** snail_UES_ has quit IRC
07:05:10 *** snail_UES_ has joined #openttd
08:04:42 *** sla_ro|master has joined #openttd
08:10:59 *** andythenorth has joined #openttd
08:22:42 *** andythenorth has quit IRC
08:38:35 <DorpsGek_III> [OpenTTD/team] marioerro opened issue #62: [es_ES] Translator access request https://git.io/JT2gd
08:59:13 *** longtomjr_ has joined #openttd
09:06:23 *** andythenorth has joined #openttd
09:19:38 *** andythenorth has quit IRC
09:31:05 *** andythenorth has joined #openttd
09:55:27 *** andythenorth has quit IRC
09:59:06 *** Smedles has joined #openttd
10:18:49 *** iSoSyS has joined #openttd
10:20:08 *** Progman has joined #openttd
10:20:16 *** supermop_Home_ has quit IRC
10:45:20 *** iSoSyS has quit IRC
11:02:51 *** jottyfan has joined #openttd
11:08:39 *** arikover has joined #openttd
11:10:48 *** jottyfan has quit IRC
11:12:20 *** jottyfan has joined #openttd
11:14:20 *** jottyfan has quit IRC
11:14:26 *** jottyfan has joined #openttd
11:15:47 *** jottyfan has joined #openttd
11:15:56 *** jottyfan has joined #openttd
11:18:06 *** jottyfan has joined #openttd
11:40:15 *** andythenorth has joined #openttd
11:47:43 <andythenorth> some TrueBrain dude has posted in the forums
11:47:48 <andythenorth> dunno who it is
11:47:56 <longtomjr_> FalseBrain?
11:48:43 <TrueBrain> IT WASNT ME!
11:48:48 <TrueBrain> well, it wasn't Hitler either
11:48:53 <LordAro> security breach!
11:48:58 <LordAro> lock everything down
11:49:09 <LordAro> /kick TrueBrain IMPOSTER
11:49:17 <TrueBrain> whoop, whoop, whoop, slow-whoop, ALARMA
11:50:02 <LordAro> TrueBrain: did you fix the wiki page? :p
11:50:37 <TrueBrain> https://wiki.openttd.org/Special:RecentChanges <- which ones?
11:50:50 <LordAro> the one suggested in the thread you replied to :p
11:51:13 <TrueBrain> what is there to fix?
11:51:18 <TrueBrain> owh, that
11:51:20 <TrueBrain> no
11:51:21 <TrueBrain> sorry :P
11:51:28 <LordAro> shame.
11:51:30 <TrueBrain> I found it an odd suggestion
11:51:33 <TrueBrain> so I just left it there
11:51:38 * andythenorth is having the day off
11:51:46 <TrueBrain> enjoy andythenorth :)
11:51:50 * LordAro is just not doing any work today
11:51:56 <TrueBrain> (as that should include no OpenTTD, no tanks, no Horse :P)
11:52:01 * longtomjr_ is fighting with terraform
11:52:07 <TrueBrain> me neither! Mostly as I don't have a job :P
11:52:58 <longtomjr_> run failed, whoop whoop
11:52:58 <TrueBrain> I did make my render twice as fast; it also fails on most pages now :P
11:53:27 <LordAro> in actuality, i'm writing emails ("we know it sucks, the lawyers made us do it this way") and preparing for a meeting
11:53:53 <LordAro> TrueBrain: replacing the code with `exit(0);` does make things faster in my experience
11:53:53 <longtomjr_> The quickest way to render is to not render - Confucius
11:54:02 <LordAro> usually
11:54:07 <TrueBrain> LordAro: well, 300 pages do work fine, so I did not do that :D
11:54:32 <TrueBrain> just 5000 more are failing :P Mostly because whole snippets are not rendered :D
11:55:36 <TrueBrain> did you know you cannot <nowiki> the <onlyinclude> tag, but you can with any other?
11:56:04 <TrueBrain> did you know only <nowiki> and <onlyinclude> work inside a <pre> tag?
11:56:16 <TrueBrain> wikitext is fun as fuck, as you can see the PHP order of execution behind it :P
11:56:51 <longtomjr_> me and your definition of fun might differ
11:57:09 <TrueBrain> well, welcome to #openttd I would say :P
11:57:14 <TrueBrain> that happens .. A LOT :P
11:59:12 * andythenorth likes trains
11:59:22 <TrueBrain> choo choo
11:59:38 <longtomjr_> well, I am fighting with k8s, terraform, prometheus and some other stuff, and secretly enjoying it, so not like I should judge
11:59:42 <LordAro> andythenorth: nono, that's dangerously close to the game
11:59:45 <LordAro> we don't talk about the game here
11:59:51 <andythenorth> did I just lose?
11:59:53 <longtomjr_> just regex
11:59:56 <LordAro> andythenorth: oh no
12:00:21 <LordAro> longtomjr_: nice.
12:01:01 <LordAro> i get to deal with ansible, home-grown-CI-server-written-in-python-and-php and dev stuff in basically every language you can think of
12:01:04 <LordAro> primarily Ada
12:01:15 <longtomjr_> do you enjoy it though?
12:01:30 <LordAro> sure :p
12:01:32 <longtomjr_> or has arson become an option?
12:02:02 <longtomjr_> Also, sounds really interesting
12:02:27 <LordAro> oh, several of these bits are getting deleted with extreme prejudice at some future point
12:02:30 <LordAro> it is!
12:03:02 <longtomjr_> Aerospace?
12:03:10 <LordAro> C/C++/Ada/Java/Python/Perl/Bash/Make/several-in-house-languages makes for a fun combination
12:03:26 <LordAro> aerospace-adjacent
12:03:56 <TrueBrain> Perl ... brrrrrr
12:03:58 <longtomjr_> Ah, that sounds like fun mix.
12:04:19 <TrueBrain> I had a colleague that could write Perl faster than most of us could any other language .. it was scary ..
12:04:35 <TrueBrain> also difficult to convert his PoC to real code :P
12:06:58 <TrueBrain> ah, found the bug ... I forgot to check if a tag existed before regexing it
12:07:05 <TrueBrain> turns out that left an empty body instead :D
12:10:18 <TrueBrain> we have 1 (!) page that uses "templatedata" .. mostly as that extension is not enabled, I guess :P
12:10:50 <LordAro> it's a very helpful plugin if you have visualeditor :p
12:11:21 <TrueBrain> it sounds nice indeed; it does how-ever require all templates to use it
12:11:22 <TrueBrain> not 1 :P
12:12:09 <LordAro> doesn't need *all*
12:12:20 <TrueBrain> more than 1? :)
12:12:24 <LordAro> just the ones that people actually use :p
12:12:35 <TrueBrain> in general that is a bit my issue with the current state of our wiki .. it is a random mess of random people having the best intentions ..
12:12:49 <TrueBrain> so many things are partial, or just not there
12:13:10 <TrueBrain> well, if we get this into GitHub, we can at least "sed" a lot of problems away
12:13:23 <TrueBrain> and adding templatedata sounds like a solid idea tbh
12:18:19 <TrueBrain> I want Python 3.9 "match" operator ..
12:18:22 <TrueBrain> maybe I should just install 3.9
12:21:12 <andythenorth> I need to draw this https://www.alamy.com/wintershall-potash-plant-with-salt-mountain-monte-kali-k-s-kali-gmbh-werra-valley-aerial-view-herring-werra-hessen-image281869897.html
12:21:19 <andythenorth> but not the salt mountain
12:21:39 <TrueBrain> get cracking!
12:21:49 <andythenorth> yes
12:39:41 <arikover> "but not the salt mountain": I seem to recall seeing this from the ICE... Is it possible that Berlin-Frankfurt trains go there? Or did I imagine that?
12:41:44 *** tokai has joined #openttd
12:41:44 *** ChanServ sets mode: +v tokai
12:42:03 <arikover> andythenorth: After playing train whack, I discovered the Iron Horse alternative liveries (finally!). Nice! Do they work with a var43 (Player Info) call?
12:48:28 *** tokai|noir has quit IRC
13:41:12 <andythenorth> err
13:41:15 * andythenorth can't remember
13:41:54 <andythenorth> arikover yes var 43
13:43:13 *** arikover has quit IRC
13:44:16 *** arikover has joined #openttd
13:48:54 <FLHerne> TrueBrain: Which thing? PEP-622/634 (the overengineered pattern-matching statement) isn't in 3.9
13:49:31 <TrueBrain> it isn't?
13:49:32 <TrueBrain> 3.10?
13:49:34 <TrueBrain> awh :(
13:49:56 <TrueBrain> I have too many "if / elif / elif" statements atm :P
13:50:02 <TrueBrain> which means I will dictify it
13:50:06 <TrueBrain> but that is not adding to readability :)
13:50:20 <FLHerne> I don't think it's been accepted for 3.10 yet
13:50:32 <TrueBrain> ... they should hurry
13:50:34 <FLHerne> Seems likely to be though
13:50:38 <TrueBrain> one of the more lovely things about Rust
13:50:47 <TrueBrain> takes a bit getting used to
13:50:52 <TrueBrain> but boy, it makes things so much smaller and neater
13:53:38 * andythenorth reads
14:00:33 <FLHerne> When I read the original draft, I thought "ugh this is horribly overcomplicated"
14:00:55 <FLHerne> It seems to have lost some fluff in the revisions
14:01:19 <TrueBrain> which is pretty common
14:01:21 <TrueBrain> shoot for the starts :)
14:01:23 <TrueBrain> stars
14:01:25 <TrueBrain> typing harddddd
14:03:50 *** arikover has quit IRC
14:04:20 *** arikover has joined #openttd
14:10:58 *** Speeder has quit IRC
14:10:59 <TrueBrain> 10% of the rendering time is only to add <pre>s at the right place ... lol? :)
14:11:00 *** Speeder has joined #openttd
14:14:21 <longtomjr_> Are you rendering every page on visit?
14:14:43 <TrueBrain> I am currently only rendering; the word "visit" has no meaning in this context :)
14:14:52 *** glx has joined #openttd
14:14:52 *** ChanServ sets mode: +v glx
14:15:55 <longtomjr_> Ah, is the render time a concern?
14:16:26 <TrueBrain> it is more about the absurdity
14:17:08 <longtomjr_> Ah yep. How does mediawiki do it?
14:17:20 <longtomjr_> or do we not want to know
14:17:24 <TrueBrain> not sure .. the place <pre> is done in their pipeline appears weird
14:17:30 <TrueBrain> but I tried reading that code ..
14:17:34 <TrueBrain> it is over 10k LoC
14:17:39 <TrueBrain> so .. yeah, I didn't read it :P
14:17:56 <longtomjr_> goodness, that seems like a lot for just rendering pre
14:18:08 <TrueBrain> no, their renderer is 10k LoC :)
14:18:12 <TrueBrain> pre is somewhere in there
14:18:13 <longtomjr_> Ahhh
14:24:32 <TrueBrain> https://github.com/wikimedia/mediawiki/tree/master/includes/parser <- in case you are curious :)
14:39:23 *** arikover has quit IRC
14:42:34 *** andythenorth has quit IRC
14:45:38 <TrueBrain> people ... have been translating the "sandbox" page .. which is just a dump of people trying out stuff .. lol?
14:47:38 <LordAro> delete!
14:47:50 <TrueBrain> pretty sure frosch has that in his trashcan already :)
14:49:58 *** rptr_ has joined #openttd
15:04:51 *** iSoSyS has joined #openttd
15:06:59 *** iSoSyS has quit IRC
15:12:52 *** WormnestAndroid has quit IRC
15:13:04 *** WormnestAndroid has joined #openttd
15:13:30 *** nielsm has joined #openttd
15:29:52 <TrueBrain> funny, I now do not do <pre> stuff for any templates you include, and nothing changed :)
15:29:55 <TrueBrain> that is a huge speed boost :P
15:30:55 <LordAro> very good
15:31:13 <LordAro> will that break some obscure template though? :p
15:32:56 <TrueBrain> in 5000+ pages, nothing
15:33:05 <TrueBrain> it also doesn't make sense tbh
15:33:11 <TrueBrain> the whole <pre> stuff doesn't make sense :D
15:33:35 <TrueBrain> very tempted to, once this hits GitHub, to just replace them all with proper <pre> blocks and make that the rule :)
15:35:47 <TrueBrain> the only diff I now have, is that links are no longer clickable in pre-blocks
15:35:54 <TrueBrain> in generated-pre-block, I have to say
15:57:16 *** andythenorth has joined #openttd
16:34:08 <andythenorth> ok let's stop reading the comments
16:34:13 * andythenorth mumbles to self
16:45:13 *** rptr_ has quit IRC
16:50:18 <longtomjr_> comments?
16:56:11 *** jottyfan has quit IRC
17:06:17 *** nielsm is now known as Guest4132
17:12:13 *** Guest4132 has quit IRC
17:28:55 *** snail_UES_ is now known as Guest4135
17:28:57 *** snail_UES_ has joined #openttd
17:31:07 <andythenorth> youtube
17:36:13 *** andythenorth has quit IRC
17:38:56 *** Wormnest has joined #openttd
17:43:57 *** andythenorth has joined #openttd
17:45:16 *** Speeder_ has joined #openttd
17:49:52 *** Flygon has quit IRC
17:51:19 *** Speeder has quit IRC
18:23:43 *** frosch123 has joined #openttd
18:33:42 *** gelignite has joined #openttd
18:49:37 *** andythenorth has joined #openttd
19:10:05 *** andythenorth has joined #openttd
19:39:04 *** rptr_ has joined #openttd
19:42:30 <rptr_> how do i get an openttd wiki account?
19:43:28 <LordAro> you don't
19:43:30 <LordAro> not at the moment
19:44:11 <rptr_> ok.
19:44:53 <LordAro> (it's being reorganised and rewritten)
19:45:05 <rptr_> ah
19:54:53 <rptr_> good!
20:16:26 *** nielsm has joined #openttd
20:40:59 *** rptr_ has quit IRC
20:47:20 <DorpsGek_III> [OpenTTD/team] glx22 commented on issue #62: [es_ES] Translator access request https://git.io/JT2gd
20:52:26 <andythenorth> is it beer time?
20:54:22 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #8329: Build AppImage https://git.io/JTaP5
21:00:57 *** Wolf01 has joined #openttd
21:09:54 *** longtomjr_ has quit IRC
21:28:09 <DorpsGek_III> [OpenTTD/OpenTTD] azubieta commented on pull request #8329: Build AppImage https://git.io/JTaME
21:46:04 *** iSoSyS has joined #openttd
21:52:01 <TrueBrain> frosch123: did we ever add anything to BaNaNaS so you can hide stuff from the webpage? For the in-game client you can set an unrealistic max version of course .. but did we do anything for the site? Can't remember :D
21:52:44 <frosch123> yes, we added 3 options for that
21:52:53 <frosch123> but none is available via gui, only via PR
21:53:22 <frosch123> there is "archived" which hides it, and there is "replaced-by" which hides it and links to the replacement
21:53:39 <TrueBrain> ah, not via the GUI, that confused me :D
21:53:54 <TrueBrain> I like how you say 3, and then give 2 :P
21:54:12 <frosch123> well, you already gave one
21:54:23 <TrueBrain> :D
21:55:36 <frosch123> ah, the third one is setting availability to savegames-only for all versions
21:57:47 <TrueBrain> ah, ofc :)
21:57:53 *** iSoSyS has quit IRC
22:10:45 *** rptr_ has joined #openttd
22:18:38 <andythenorth> is it naptime?
22:19:24 <Wolf01> Always
22:24:12 <andythenorth> hmm
22:24:32 <andythenorth> is there a very fast way to get a count of adjacent sea tiles?
22:24:45 <andythenorth> without pathfinding, but rather walking the map array somehow?
22:25:23 * andythenorth wants to stop sea industries building in small lakes, but doesn't need a water route to map edge
22:29:11 <andythenorth> hmm wouldn't work, might be just a small amount of open sea along one edge, industries wouldn't build in that case
22:37:15 <rptr_> andythenorth, how do you code firs anyway? is it a game script?
22:38:31 *** gelignite has quit IRC
22:44:19 <andythenorth> newgrf
22:45:33 *** sla_ro|master has quit IRC
22:52:31 *** rptr_ has quit IRC
23:06:20 <DorpsGek_III> [OpenTTD/OpenTTD] glx22 commented on pull request #8329: Build AppImage https://git.io/JTaQr
23:10:34 *** nielsm has quit IRC
23:25:31 *** Wolf01 has quit IRC
23:51:29 *** andythenorth has quit IRC
23:53:49 *** frosch123 has quit IRC