IRC logs for #openttd on OFTC at 2020-10-18
            
00:00:43 *** tokai|noir has joined #openttd
00:00:43 *** ChanServ sets mode: +v tokai|noir
00:07:21 *** tokai has quit IRC
00:10:57 *** Wolf01 has quit IRC
00:14:04 *** Xunie has joined #openttd
00:14:36 *** Xunie is now known as Guest3696
00:15:29 *** Xunie_ has joined #openttd
00:17:31 *** Xunie_ has quit IRC
00:22:20 *** Guest3696 has quit IRC
00:34:34 <rptr_> is there some overview of all players'/ais' numbers? like num stations, trains, etc, in graph/ overview form?
00:35:06 <Eddi|zuHause> not that i know of
00:35:29 <rptr_> would that be considered not appropriate? i think i read that things should not be added that were not in the original TTD game?
00:35:56 <Eddi|zuHause> that does not sound like a useful rule
00:36:00 <rptr_> ok
00:36:07 <rptr_> i'm sure i read it somewhere!
00:36:54 <Eddi|zuHause> the only real rule i know of is "no war stuff"
00:37:13 <glx> haha there are many things in openttd that were not in original TTD
00:37:20 <rptr_> hm. well i haven't played ttd so i don't know how many of the things in menus etc were not in original TTD
00:37:36 <glx> more visible one being newgrf ;)
00:37:37 <rptr_> maybe that i read was someone's opinion on the forum/bug tracker
00:37:40 <rptr_> true
00:37:54 <rptr_> i guess i was talking about fundamental stuff like user interface, adding a new menu/window
00:38:03 <rptr_> i guss cargo flow is new and not in ttd
00:38:09 <Eddi|zuHause> we already have a graph menu
00:38:44 <Eddi|zuHause> while you're there, the graphs we have are in serious need of an overhaul :)
00:38:50 <rptr_> :o
00:39:48 <rptr_> maybe you don't find the player overview idea (i am comparing AIs right now) useful. but i had something in mind like graphs for trains/rail pieces/planes or just a table of numbers
00:40:00 <rptr_> sort of like if you click a company and it tells you the number of rail pieces etc, but all in one page
00:40:37 <glx> company windows shows the vehicle numbers IIRC
00:43:13 <rptr_> yes, but not all companies' numbers in one window
00:44:17 <rptr_> Eddi|zuHause, what needs to be fixed with the graphs?
00:48:40 <Eddi|zuHause> rptr_: i don't really remember right now. i think people complained the most about the payment graph
00:49:01 <rptr_> ah yeah. it was a bit confusing to me at first
00:50:29 <Eddi|zuHause> what i was missing in particular was some kind of histogram what actual points of the payment graph my network currently delivers
00:51:26 <rptr_> i usually look at the timetable of a train and check how long it travelled, but not very easy i guess
00:52:24 <rptr_> might be good to have it on the trains themselves as well
00:53:20 <rptr_> hm that sounds really cool, what you said
00:54:42 <rptr_> so like, overlaying the current graph over a histogram? so you could see the volume of each transit-time for e.g. coal
00:54:55 <rptr_> i guess overlaying isn't necessary
00:56:29 <Eddi|zuHause> the graph has these rectangle nodes, they could be made bigger depending on the volume transported
00:58:03 <Eddi|zuHause> another thing that might be useful with the graph is to set the axis to a time, speed, or distance
01:00:20 <rptr_> https://i.imgur.com/yGP6UxL.png
01:01:16 <rptr_> it would have to take into account the timespan though
01:01:19 <Eddi|zuHause> that might work, but how are you handling multiple selections?
01:01:31 <rptr_> i am not, that's just GIMPed
01:01:41 <rptr_> or you mean hypothetically? not sure
01:01:56 <Eddi|zuHause> hypothetically
01:02:01 <rptr_> could just draw them in order so they overshadow each other, or accumulate
01:02:05 <rptr_> so you'd get a rainbow box
01:02:09 <rptr_> grey, red, white, all together
01:02:16 <rptr_> (that's not really a rainbow :p)
01:02:29 <Eddi|zuHause> hm...
01:02:44 <Eddi|zuHause> i'm not 100% convinced
01:03:00 <rptr_> might as well make it a new window then
01:03:56 <rptr_> blob:https://imgur.com/154dc346-e87a-49cb-9b28-d89c25557c0b
01:04:25 <Eddi|zuHause> that's not a working link
01:04:39 <rptr_> god i hate imgur
01:04:43 <rptr_> https://i.imgur.com/xeq7YmL.png
01:04:57 <rptr_> doesn't work even when i allow it in noscript
01:05:09 <rptr_> so that is an "addition" histogram if that makes sense
01:06:17 <Eddi|zuHause> yeah, i knew what you meant.
01:12:20 *** gelignite has quit IRC
01:27:53 *** rptr_ has quit IRC
02:03:34 *** HerzogDeXtEr has quit IRC
02:04:14 *** Progman has quit IRC
02:04:40 *** Flygon has joined #openttd
02:52:19 *** rptr_ has joined #openttd
02:56:19 <DorpsGek_III> [OpenTTD/OpenTTD] Cin316 commented on issue #8300: Low framerate on macOS https://git.io/JUqTu
03:14:33 *** rptr_ has quit IRC
03:32:43 *** WormnestAndroid has joined #openttd
03:55:48 *** WormnestAndroid has quit IRC
03:56:13 *** WormnestAndroid has joined #openttd
04:14:18 *** glx has quit IRC
04:19:06 *** Wormnest has joined #openttd
04:19:17 *** debdog has joined #openttd
04:20:44 *** WormnestAndroid has quit IRC
04:20:47 *** WormnestAndroid has joined #openttd
04:22:45 *** D-HUND has quit IRC
04:33:08 *** Wormnest has quit IRC
04:44:34 *** heffer has quit IRC
04:45:25 *** heffer has joined #openttd
05:09:51 *** tokai has joined #openttd
05:09:51 *** ChanServ sets mode: +v tokai
05:16:31 *** tokai|noir has quit IRC
05:42:20 *** heffer_ has joined #openttd
05:42:59 *** heffer has quit IRC
05:51:28 *** rptr_ has joined #openttd
07:09:54 *** nielsm has joined #openttd
07:47:11 <rptr_> is there a configure option to enable debugging symbols?
07:47:15 <rptr_> (autotools)
07:50:20 <rptr_> found it
08:07:20 *** Flygon_ has joined #openttd
08:08:20 *** snail_UES_ has quit IRC
08:10:19 *** Flygon has quit IRC
08:10:51 *** andythenorth has joined #openttd
09:10:39 *** sla_ro|master has joined #openttd
09:17:49 *** Wolf01 has joined #openttd
09:20:01 *** andythenorth has quit IRC
09:22:53 *** supermop_Home_ has quit IRC
09:30:24 *** longtomjr_ has joined #openttd
09:31:38 *** andythenorth has joined #openttd
09:37:10 <andythenorth> yo
09:42:05 <DorpsGek_III> [OpenTTD/team] Aswn opened issue #59: [ta_IN] Translator access request https://git.io/JTWuw
09:44:29 *** Progman has joined #openttd
09:44:43 <rptr_> hi
09:44:46 <andythenorth> lol someone tried to make my Iron Horse fake train https://www.ebay.co.uk/itm/OO-Gauge-Lima-Class-52-Hybrid/114468967793?hash=item1aa6e1d571:g:HLcAAOSwbq5fi3Vb
09:45:07 <andythenorth> https://grf.farm/iron-horse/2.8.0/html/firebird.html
09:45:15 <rptr_> andythenorth, huh? they made a model based on your train?
09:45:25 <andythenorth> IRL no, but convergent evolution
09:45:45 <andythenorth> they did with plastic what I did with pixels
09:46:07 <andythenorth> mine is better TBH :)
09:46:23 <rptr_> your set is very nice
09:46:32 <rptr_> i just wish there was a nice friendly server with nice newgrfs ._.
09:47:15 <rptr_> andythenorth, do you draw every perspective from scratch, or render a 3d model?
09:47:22 <andythenorth> from scratch
09:47:46 <rptr_> oh! there's a HK/MTR set. that brings back memories
09:47:52 <andythenorth> mostly actually from copy-paste
09:48:03 <rptr_> not sure if i actually recognise the trains. just the logo
09:48:13 <rptr_> getting an MTR pass took like 2 months
09:48:31 <rptr_> andythenorth, i guess if i did one i'd take an existing and draw over
10:22:18 <TrueBrain> I do not understand why a [[Category:]] is a link, and when a marker of: add this to this category .. mediawiki is really really weird and inconsistent
10:22:22 <TrueBrain> morning all :)
10:23:26 <andythenorth> hi TB
10:23:47 <rptr_> hi
10:24:06 <andythenorth> well we know _why_ but we don't know _why_
10:24:15 <andythenorth> stuff is made by people
10:28:19 <rptr_> LordAro, re. call stack being printed after catching an exception. i backported 1 LOC from latest squirrel and changed 1 setting in Squirrel.cpp. would that be worth a pull request? i really think if exceptions work properly that would be great
10:30:45 <rptr_> perhaps an AIError.PrintCallStack() would be useful
10:32:25 * rptr_ can run ChooChoo without stack traces \o/
10:42:52 <LordAro> rptr_: i think that would be worth a PR
10:43:25 <LordAro> (certainly the former, and *maybe* the latter)
10:44:05 <rptr_> i am so happy. now i can use exceptions. :p
10:48:58 <andythenorth> so when is daylength?
10:49:04 * andythenorth playing game
10:49:16 <rptr_> andythenorth, adjustable daylength?
10:49:22 <andythenorth> anything
10:49:42 <rptr_> i don't know what you mean
10:50:36 <andythenorth> new generations of vehicles arrive about too quickly
10:50:46 <andythenorth> ideally they would be about 1.5x slower in my games
10:51:24 <andythenorth> I could just change the newgrfs, but then dates look a bit weird
10:53:52 <DorpsGek_III> [OpenTTD/OpenTTD] rptr opened pull request #8331: Fix: don't notify caught exceptions https://git.io/JTWre
10:54:06 <rptr_> can't you modify when vehicles arrive? i thought that already existed
10:55:36 <DorpsGek_III> [OpenTTD/OpenTTD] rptr closed pull request #8331: Fix: don't notify caught exceptions https://git.io/JTWre
10:55:56 <DorpsGek_III> [OpenTTD/OpenTTD] rptr reopened pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWre
11:00:34 <andythenorth> I could just change the dates
11:00:38 <andythenorth> intro dates
11:01:10 <andythenorth> current solution is just to use date cheat and set the year back occasionally
11:01:27 <DorpsGek_III> [OpenTTD/OpenTTD] rptr updated pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWre
11:05:21 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWrb
11:13:59 <DorpsGek_III> [OpenTTD/OpenTTD] rptr commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWoi
11:14:52 <andythenorth> who invented a 'freeze time' mode?
11:14:53 <andythenorth> was it TB?
11:17:22 <Eddi|zuHause> that sounds unlikely
11:18:22 <Eddi|zuHause> i would think either Wolf01 or alberth
11:18:25 <TrueBrain> wtf is "freeze time"?
11:19:16 <Eddi|zuHause> TrueBrain: one where the game progresses but the date doesn't advance
11:19:16 <andythenorth> some kind of 'stop the date'
11:19:35 <TrueBrain> what is the obsession with people of stopping time? :P
11:19:36 <Eddi|zuHause> transport fever 2 has that
11:20:15 <Eddi|zuHause> TrueBrain: mostly people who want to play with steam trains instead of maglev
11:20:28 <TrueBrain> so buy a slower CPU :P
11:20:32 <TrueBrain> (I am trolling, btw)
11:20:39 <andythenorth> I tried searching logs but eh
11:20:45 <andythenorth> Boredom Ensued
11:20:55 <Eddi|zuHause> TrueBrain: my CPU is probably slower than yours :p
11:21:43 <TrueBrain> ugh @ html library of Python
11:21:52 <TrueBrain> it seems to be fixing "&SF" into "&SF;"
11:21:56 <TrueBrain> but it should be "&amp;SF"
11:22:00 <TrueBrain> facepalm
11:22:30 <Eddi|zuHause> sounds like a job for a regex :p
11:22:56 <TrueBrain> it is not wrong perse to do this .. there are a few codes that don't need the ;
11:23:01 <TrueBrain> HTML is annoying like that
11:23:42 <Eddi|zuHause> yeah, i got a bit confused about that when i hand-coded html like 20 years ago
11:31:25 <TrueBrain> I hate libraries that do all kind of things "extra" for you
11:31:30 <TrueBrain> the Python "html" lib is really one of them :P
11:36:30 <DorpsGek_III> [OpenTTD/OpenTTD] rptr commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTW6o
11:36:42 <Eddi|zuHause> you can hopefully configure some of those "extra" things
11:36:50 <TrueBrain> nope
11:37:14 <TrueBrain> it uses regex to figure out the HTML, and it doesn't give enough information to me to reconstruct the original input
11:37:29 <TrueBrain> so I get "sf", with input "&sf;" and "&sf"
11:37:30 <DorpsGek_III> [OpenTTD/OpenTTD] rptr commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTW6M
11:37:57 <rptr_> wait, is it an actual problem for you that steam trains are phased out?
11:38:19 <rptr_> i prefer them too, but i'm sure i've played on always-steam servers
11:38:20 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTW69
11:39:16 <Eddi|zuHause> rptr_: there is a setting to not phase them out. but then you still have the new trains that are obviously superior
11:39:32 <TrueBrain> and not playing with them is SO DIFFICULT or something :P
11:40:14 <DorpsGek_III> [OpenTTD/OpenTTD] rptr commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTW6p
11:40:26 <Eddi|zuHause> it breaks the immersion :p
11:41:19 <DorpsGek_III> [OpenTTD/OpenTTD] rptr commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWiJ
11:41:29 <rptr_> sorry for spamming git :P
11:41:43 <rptr_> can't you remove trains with newgrf or something?
11:42:51 <andythenorth> I can control all the trains I want
11:43:21 <Eddi|zuHause> sure, you can make a newgrf that fits one single person's needs
11:43:26 <andythenorth> the specific issue is that upgrades come in waves, it's kind of the only way to do it
11:43:37 <Eddi|zuHause> but the next person would need a slightly different newgrf
11:44:17 <rptr_> so, you want new steam trains to come out, but history should end at a certain point? :p
11:44:26 <Eddi|zuHause> and that doesn't scale well when the number of people goes up
11:45:44 <andythenorth> I find that by the time I've replaced all the trains of one generation
11:45:47 <andythenorth> and tuned the network
11:45:52 <andythenorth> it's time for the next generation
11:46:03 <andythenorth> and unlike building, you can't replace trains in pause mode
11:46:55 <andythenorth> I could just adjust the intro dates, but I'd have to do it for all the vehicle newgrfs I use
11:47:08 <andythenorth> also realism reasons :P
11:47:08 <rptr_> yeah that is annoying. and i never upgrade from electric to mono or mono to maglev. yurk
11:47:17 <rptr_> probably more realistic to not upgrade anyway
11:47:32 <andythenorth> I have to use ffwd a lot when replacing trains
11:47:38 <andythenorth> to get them into depot
11:47:44 <andythenorth> so the game goes by quite fast
11:47:51 <rptr_> what was that game someone mentioned above, some other transport game...
11:48:05 <TrueBrain> that moment you find a random "LEFT-TO-RIGHT MARK" in the input .. wutttttt
11:48:27 <Eddi|zuHause> but that brings us back to the original problem of all daylength patches: you need to dive into the code and decouple simulation time progression from date progression
11:48:44 <rptr_> can you change dates in gamescript?
11:48:52 <Eddi|zuHause> no
11:49:52 <Eddi|zuHause> rptr_: transport fever 2
11:52:19 <rptr_> is Cities: Skyline/-s any good?
12:01:10 <Eddi|zuHause> sure
12:01:24 <Eddi|zuHause> if you have lots of RAM...
12:06:07 <Wolf01> <Eddi|zuHause> i would think either Wolf01 or alberth <- one of us probably, my long term memory doesn't work well anymore, I can't load memories and I'm paging constantly, working slowly as my brain is still electrochemical... I might need a soft reset
12:09:40 <Eddi|zuHause> they say covid longterm effects are some kind of brain-fogginess :)
12:10:42 <Wolf01> Nah, this is just stress
12:17:06 <rptr_> the first time i was actually concerned about getting sick w/ covid was after hearing about the brain fog. otherwise "i can probably take it"
12:17:20 <rptr_> i'm still convinced i got some brain damage from that flu at age 14...
12:36:55 *** HerzogDeXtEr has joined #openttd
12:52:03 <DorpsGek_III> [OpenTTD/OpenTTD] rptr updated pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWre
12:52:36 <DorpsGek_III> [OpenTTD/team] glx22 commented on issue #59: [ta_IN] Translator access request https://git.io/JTWuw
12:52:43 <DorpsGek_III> [OpenTTD/OpenTTD] rptr commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWyN
12:57:53 <FLHerne> andythenorth: I can't see anyone paying £30 for that somehow
13:02:15 <andythenorth> optimism
13:10:26 *** gelignite has joined #openttd
13:11:54 <DorpsGek_III> [OpenTTD/OpenTTD] LordAro commented on pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTW9R
13:20:51 *** Xunie has joined #openttd
13:24:32 <Wolf01> <Eddi|zuHause> i would think either Wolf01 or alberth <- something about it on 4th april, but also I think we referred to the transport fever 2 date freeze feature
13:45:29 *** frosch123 has joined #openttd
13:52:12 <DorpsGek_III> [OpenTTD/OpenTTD] rptr updated pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWre
13:56:56 * andythenorth considers 'Wales & West Country' FIRS economy
13:57:23 <LordAro> West Country was always my favourite TTD map
13:57:30 <andythenorth> like FIRS Temperate Basic, only not laughably basic
13:57:59 <andythenorth> this is silly https://grf.farm/firs/4.0.0-alpha-3/html/economies.html#temperate_basic
14:00:18 <rptr_> firs is so nice :)
14:06:44 <andythenorth> hmm
14:06:44 <andythenorth> I think I extended the 'ports are the hubs' beyond reason https://grf.farm/firs/4.0.0-alpha-3/html/economies.html#steeltown
14:06:44 <andythenorth> it's quite hard to build stations to pickup 6 different cargos and deliver 2
14:06:44 <andythenorth> or pick up 6 and deliver 4
14:07:07 <longtomjr_> Being able to use boats makes it easier in a lot of cases though
14:07:38 <longtomjr_> but with default station spread it probably ends up a bit tricky
14:08:47 <rptr_> firs only has 4 economies now?
14:08:54 <rptr_> there used to be some other ones i think
14:09:00 <andythenorth> I removed extreme
14:09:04 <andythenorth> I'm going to add more
14:09:42 <rptr_> more industries = better :D
14:12:00 <rptr_> you could build spaceship parts, Civ 2 style
14:15:02 <Eddi|zuHause> the civ2 spaceship looked weird. civ1 spaceship was nice
14:16:51 <rptr_> didn't know it had one. i wish civ 2 had the resource feature of civ 3, then it'd be perfect
14:18:56 <Wolf01> Never completed one in civ2
14:19:31 <rptr_> i still want to make some mars map. fund farms and dig for water to terraform and win(?). don't know what capabilities game script has
14:19:46 <rptr_> in ottd that is
14:22:57 <FLHerne> andythenorth: Yes please, that's my ideal industry
14:23:18 <FLHerne> economy
14:23:57 <FLHerne> andythenorth: Have you considered customs posts? :p
14:24:05 <FLHerne> Placed only on land map edges
14:24:32 <andythenorth> Railroad Tycoon had Warehouses
14:24:38 <andythenorth> ports-without-sea
14:24:55 <LordAro> TrueBrain: https://github.com/LordAro/OpenTTD/runs/1271090206#step:4:14 any ideas?
14:25:02 <andythenorth> border posts might solve some problems
14:25:29 <andythenorth> e.g. WAWC would need quicklime, but I'd rather import it
14:26:02 <rptr_> sheep and coal
14:28:12 <andythenorth> sheep and coal
14:28:13 <andythenorth> and cider
14:30:33 <andythenorth> FLHerne would including Customs Posts on the borders of Wales / Cornwall be political?
14:30:39 <andythenorth> Cymru / Kernow?
14:32:20 <FLHerne> Emmets
14:32:40 <FLHerne> Go to beaches and hotels, and have an extra-slow loading time because of all the surfboards
14:33:08 <longtomjr_> It looks like the pr that changed the display speed in nml introduced a breaking change
14:33:15 <FLHerne> Oh, and castles
14:33:17 <longtomjr_> for 0.5.3
14:33:32 <longtomjr_> Error: (TypeError) "new_ottd_display_speed() takes 3 positional arguments but 4 were given".
14:33:32 <FLHerne> I've never seen castles as an OTTD industry, but it would be pretty
14:33:42 <longtomjr_> (sorry not sure if this is a good time)
14:33:52 <FLHerne> longtomjr_: Sorry, that's probably my fault
14:34:06 <FLHerne> longtomjr_: Is the relevant NML public?
14:34:15 <longtomjr_> yep, on pip3
14:34:21 <longtomjr_> I saw you added another param there
14:34:46 <longtomjr_> added in 'mul'
14:35:04 <longtomjr_> assume the easy workaround is just to make mul 1
14:36:40 <FLHerne> longtomjr_: Oh, you're calling it from Python
14:36:49 <longtomjr_> yep
14:36:58 <FLHerne> I don't *think* we promise to maintain a stable Python API
14:37:07 <longtomjr_> ah no worries then
14:37:14 <FLHerne> Especially if you're calling odd internals :p
14:37:45 <longtomjr_> working on recompiling the finnish trainset
14:37:51 <longtomjr_> so not my fault :P
14:38:04 <andythenorth> FLHerne I don't think we promise much at all :)
14:38:07 <longtomjr_> anyways, let me try and figure out what is going on.
14:38:13 <longtomjr_> thanks for the help and sorry for bothering
14:38:19 <FLHerne> longtomjr_: And yes, making 'mul' 1 will give you the same behaviour
14:38:24 <andythenorth> mostly we just count ourselves lucky if we keep up with openttd and have some docs :P
14:38:24 <longtomjr_> ty
14:38:32 <FLHerne> Are you using custom speed units or something?
14:38:39 <FLHerne> Sorry, afk for a bit, RL intrudes
14:38:48 <FLHerne> But I'll read anything you say in a bit :p
14:39:18 <TrueBrain> LordAro: honestly no clue. But do we still want to support i386?
14:39:30 <longtomjr_> Wait, this might still be a bug, the error comes from /lib/python3.8/site-packages/nml/actions/action0properties.py"
14:39:49 <LordAro> TrueBrain: looks like it might be some missing executable on the container, judging by https://github.com/docker/for-linux/issues/246
14:39:58 <LordAro> not sure what yet though
14:40:08 <LordAro> TrueBrain: no particular reason why not, tbh
14:40:32 <LordAro> i imagine i'd have the same trouble with the 16.04 amd64 container anyway
14:41:12 <longtomjr_> FLHerne, https://github.com/OpenTTD/nml/blob/0.5.3/nml/actions/action0properties.py#L337
14:41:22 <longtomjr_> that line is the one throwing the error
14:41:44 <TrueBrain> Fair enough. I can help looking what goes wrong later today.. I have seen it before, just cannot remember what solved it ..
14:42:16 <LordAro> no rush :p
14:42:37 *** rptr_ has quit IRC
14:42:59 *** rptr_ has joined #openttd
14:45:23 <longtomjr_> FLHerne, this is the script on my end causing the issue: https://hg.openttdcoop.org/frissrails/files/46d2c71804936b5c53a30084bce3c4811fbc36be/nmlc_monkey
14:46:00 <longtomjr_> or rather that same script, in the finnish trainset repo
14:48:26 <longtomjr_> # Monkey patch for nml to correct display speed rounding errors,
14:48:27 <longtomjr_> # until some nml dev fixes it in upstream
14:48:38 <longtomjr_> I am guessing this is not needed anymore
14:49:23 <rptr_> any industry which generates passengers from passengers? would make sense for a tourist attraction like a castle
14:49:27 <longtomjr_> so yep, error on my end
14:51:21 *** heffer_ has quit IRC
15:00:21 *** glx has joined #openttd
15:00:21 *** ChanServ sets mode: +v glx
15:09:37 <FLHerne> rptr_: FIRS has Hotels which are basically the same thing
15:09:42 <FLHerne> But castles would be more scenic
15:11:17 <andythenorth> ECS has one
15:11:30 <FLHerne> longtomjr_: Yes, if you monkeypatch internal functions, you get to keep both pieces ;-)
15:11:35 <andythenorth> https://www.tt-wiki.net/wiki/ECS_Town_Vector._Tourists_centre._NeuSchwanstein_Castle
15:11:37 <frosch123> ecs castles are a puzzle game
15:11:52 <FLHerne> longtomjr_: Also, the change that breaks your patch also removes the reason for it
15:12:10 <longtomjr_> yep, figured that ouyt
15:12:16 <longtomjr_> *out, thanks
15:12:19 <andythenorth> industry terraforming :P
15:12:33 <andythenorth> specify height relative to N tile :P
15:12:35 <longtomjr_> and sorry for the false positive
15:20:22 *** iSoSyS has joined #openttd
15:24:15 *** heffer has joined #openttd
15:24:44 <andythenorth> Wales and West Country economy would be better with regions
15:24:58 <andythenorth> maybe I could use map xy to force industry location
15:25:07 <andythenorth> hmm, but what if some of map is just sea?
15:25:09 <andythenorth> always problems :P
15:25:33 <rptr_> i do find that random locations of industries don't make much sense
15:25:54 <rptr_> makes sense to have farms concentrated mostly in one place, unless it's one big farmland
15:26:02 <rptr_> (for example)
15:26:22 <rptr_> well i think the last time i played firs there were some clusters of farms. not sure if intentional
15:26:32 <glx> you can craft a scenario manually :)
15:26:44 <rptr_> ._.
15:26:46 <rptr_> i don't like that!
15:27:33 <glx> usually only one type of industry is allowed per town
15:30:02 <glx> and newgrf industries can use complex checking of surroundings before being built, but that can prevent them totally if the checks are very specific (like in ECS)
15:30:15 *** matt21347 has joined #openttd
15:33:57 *** andythenorth has quit IRC
15:35:10 <rptr_> is ECS the one with the weird creatures on the industries?
15:50:00 <TrueBrain> LordAro: very weird issue, as executing the commands locally works fine
15:50:16 <TrueBrain> I remember similar issues when using alpine, and not everything being installed
15:50:21 <TrueBrain> but .. that is not this :D
15:51:51 <TrueBrain> LordAro: maybe try 18.04, see if there is any difference?
15:52:24 <TrueBrain> (in general, 16.04 .. maybe we should drop support for that :D 2 new versions are out, and we said to support n-1 :D)
16:17:01 <LordAro> TrueBrain: it's still supported generally, no real reason why we shouldn't support it either
16:17:21 <TrueBrain> LordAro: not that long ago we said we were only going to do n-1, as otherwise it was not doable really
16:17:28 <TrueBrain> we said that for MacOS, but also for Debian
16:17:39 <TrueBrain> not sure why we want to change that again .. but okay, if you want to hurt yourself, I am not stopping you :D
16:17:45 <TrueBrain> but I would start by trying if 18.04 works
16:17:47 <TrueBrain> and work from there
16:18:09 <TrueBrain> (as I think 20.04 has no i386 anymore?)
16:18:48 <TrueBrain> "Ubuntu Linux 16.04 LTS reaches the end of its five-year LTS window on April 30th 2021" <- or just drag this on for a few more months, and you don't have to feel bad anymore
16:20:38 <glx> I think 20.04 still has i386
16:20:45 <glx> at least in packages
16:20:59 <TrueBrain> I can never remember .. they were dropping i386 on one of these main streams :P
16:21:30 <TrueBrain> (about freaking time tbh ... i386 is like ppc :D)
16:21:53 <TrueBrain> ah, they wanted to drop, but too many people were: MAMMIE, THIS IS NOT FAIR
16:22:00 <TrueBrain> so they added i386 for 20.04
16:22:38 <TrueBrain> but in that case LordAro , start with 20.04, and work from there :)
16:22:52 <glx> they also have ppc64el and s390x
16:22:54 <TrueBrain> it is a lot easier if you know it is because you trying to support a 4 year old something ;)
16:23:04 <DorpsGek_III> [OpenTTD/eints] Aswn opened issue #29: Unable to use STRING1 or anyother non standard modifiers in translations https://git.io/JTlq9
16:23:20 <TrueBrain> well, I agree with their statement that supporting 0.001% is a bad idea, as it is very much untested at that point
16:24:21 <TrueBrain> LordAro: if it is 16.04, and if your code just works on 20.04, we have a direction to search for what goes wrong :)
16:24:23 <LordAro> glx: no, full i386 was dropped in 19.10
16:24:23 <DorpsGek_III> [OpenTTD/eints] glx22 commented on issue #29: Unable to use STRING1 or anyother non standard modifiers in translations https://git.io/JTlq9
16:24:35 <TrueBrain> LordAro: https://ubuntu.com/blog/statement-on-32-bit-i386-packages-for-ubuntu-19-10-and-20-04-lts
16:24:36 <TrueBrain> was reverted ;)
16:24:46 <LordAro> yes, *packages*
16:24:57 <TrueBrain> define "full" ;)
16:25:05 <LordAro> there's no i386 release
16:25:08 <TrueBrain> they were "fully" going to drop i386 :P
16:25:31 <TrueBrain> anyway, please also remember that GitHub Actions Checkout needs a relative new git version (2.18 I believe)
16:25:38 <LordAro> mm
16:25:41 <glx> yeah I guess the installer is 64bit only, but when upgrading existing install you can still use i386
16:25:42 <TrueBrain> otherwise revision detection might fail (as it will download an archive)
16:25:55 <TrueBrain> so in general, I say what I said last time we talked about this: do the checkout on the host, not in a container ;)
16:26:45 <DorpsGek_III> [OpenTTD/eints] TrueBrain commented on issue #29: Unable to use STRING1 or anyother non standard modifiers in translations https://git.io/JTlq9
16:27:26 <LordAro> mm, maybe
16:27:45 <LordAro> a lot of repeated "runs-on" though :p
16:32:50 <TrueBrain> but it avoids having to deal with stuff that is not important :)
16:32:57 <TrueBrain> you only want to use the container to compile
16:33:10 <TrueBrain> but again, if you want to hurt yourself, I am not stopping you :D
16:33:22 <TrueBrain> I would advise: get it to work first, optimize it later ;)
16:33:52 <TrueBrain> and talking about hurting yourself. ... comparing HTML with mediawiki is PAINFUL
16:33:58 *** nielsm has quit IRC
16:34:33 *** sla_ro|master has quit IRC
16:37:42 <rptr_> what other way do parts of openttd check/print based on debug levels apart from _debug_*_level and DEBUG(...)?
16:38:10 <rptr_> can't seem to find a place where _debug_script_level==5 causes output to the in-game console and stdout
16:40:14 <DorpsGek_III> [OpenTTD/OpenTTD] rptr updated pull request #8331: Fix: [NoAI] don't notify caught exceptions https://git.io/JTWre
16:41:37 *** supermop_Home_ has joined #openttd
16:43:09 *** iSoSyS has quit IRC
16:46:53 *** nielsm has joined #openttd
16:58:58 <TrueBrain> why do I keep finding bugs in Wiki templates ... most of this stuff could never really work tbfh :P
16:59:35 *** Flygon_ has quit IRC
17:11:46 *** rptr_ has quit IRC
17:20:35 *** longtomjr_ has quit IRC
17:32:28 *** Wormnest has joined #openttd
17:35:25 *** sla_ro|master has joined #openttd
17:36:38 <TrueBrain> owh boy ... <small><<Back to the <a href=""></a></small> ...
17:36:45 <TrueBrain> how to learn anything that the << should be escaped
17:36:46 <TrueBrain> lol
17:37:09 <TrueBrain> it now sees "back" as a tag, and "to the <a href="">" as the attributes
17:37:09 <TrueBrain> lol
17:48:57 *** snail_UES_ has joined #openttd
18:23:15 *** snail_UES_ has quit IRC
18:24:10 *** snail_UES_ has joined #openttd
18:56:20 <Eddi|zuHause> obviously you need AI, and blockchain... :p
18:59:49 *** andythenorth has joined #openttd
19:10:27 <andythenorth> more cloud needed
19:11:31 <frosch123> it's dark, you can't even see the clouds
19:14:14 <TrueBrain> I am finding so many bugs in mediawiki ... I hope they are all fixes in newer versions ..
19:14:27 <TrueBrain> my new favorite: <dl><dt><dl><dd></dt></dl></dd></dl>
19:14:30 <TrueBrain> find the error :P
19:14:53 <glx> easy
19:15:01 <glx> the order doesn't match
19:15:11 <TrueBrain> cannot believe the crap a browser can still render :P
19:15:44 <andythenorth> browsers put up with all sorts of shit
19:16:07 <andythenorth> they are the multi-wheel run-flat-tyre truck of the industry
19:16:14 <andythenorth> set a few land mines off under them, they keep going
19:16:25 <andythenorth> I mean...they even run javascript
19:17:06 <glx> well most can probably still handle IE6 weirdness
19:17:28 <TrueBrain> right ... more fixes ... more HTML that renders exactly the same ...i getting there .. now lets check all pages starting with an 'a' :D
19:18:55 <frosch123> don't fool us. we know that wiki pages start capitalized
19:19:02 <TrueBrain> I really wonder what is easier .. to just fix every page to be sane, or to make the render accept the insanity :P
19:19:17 <TrueBrain> by now, I just lowercased every URL .. got so sick of those differences :P
19:19:45 <TrueBrain> hmm .. somehow I managed to render </td></li></ul></tr> .. that can never be correct :D
19:20:40 <TrueBrain> so sometimes mediawiki changes "a: b" into "a:b", and sometimes it does not .. I am so happy if I can let this all go, and just go with frosch123's dataset
19:20:50 <TrueBrain> (currently comparing against live-wiki, as .. well, .. ugh
19:23:10 <TrueBrain> wtf ... check https://wiki.openttd.org/Advanced_Settings/Economy .. search for "feed service" .. now check the source ..
19:23:17 <TrueBrain> how .... why ...... huh?
19:23:59 <TrueBrain> this is just ... wuth?
19:24:25 <frosch123> you mean the [[link]]trails?
19:24:34 <frosch123> they are not supported by wikitextparser, not me
19:24:38 <frosch123> they are just stupid
19:25:44 <TrueBrain> yes, that with "[[negative income with feeder service]]s", the "s" is inside the <a></a>
19:25:47 <TrueBrain> it clearly is NOT
19:25:51 <TrueBrain> it can go fuck itself
19:26:01 <TrueBrain> (and only for the text it is inside, not for the URL)
19:26:10 <frosch123> yes, that's the stupid mediawiki feature, that noone supports
19:26:26 <frosch123> i only learned about it when figuring out gollum stuff
19:26:29 <TrueBrain> but why .. just why ...
19:26:34 <TrueBrain> "owh, you were stupid, let me fix it for you"
19:27:15 <frosch123> TrueBrain: it's a shortcut: [[foobar]]s == [[foobar | foobars]]
19:27:27 <TrueBrain> ... but why?
19:27:35 <TrueBrain> I don't understand these things .. it only makes for very unreadable source :(
19:27:35 <frosch123> when the page title is singular, but the grammar requires something else
19:27:44 <frosch123> it works for languages which append stuff
19:27:49 <frosch123> but fails for others
19:27:52 <TrueBrain> it works for English, basically
19:27:53 <TrueBrain> :P
19:28:36 <frosch123> ask that the guys who added std::chrono:january/05/2005 as valid syntax to c++
19:29:00 <TrueBrain> ... wuth?
19:29:12 <TrueBrain> let me see if I can recover some sanity here, I think it just ran out of the door
19:29:58 <TrueBrain> meh, still no clue how to fix <<Back from working .. how do I know that it is not a tag .. hmmmm
19:30:08 <TrueBrain> guess, check if there is another < in the tag
19:30:11 <TrueBrain> hmm, that would work
19:35:09 <frosch123> how is "<< back" different from "a < b" ?
19:35:21 <TrueBrain> it is <<Back, not << Back
19:35:22 <TrueBrain> space :)
19:35:31 <TrueBrain> it will have issues with a<b too
19:35:40 <TrueBrain> but solved now :)
19:39:01 <TrueBrain> funny, wikitextparser considers ) in URLs as valid
19:39:15 <TrueBrain> so http://www.example.com) becomes an URL, instead of without the )
19:39:25 <TrueBrain> meh .. #care
19:40:27 <TrueBrain> -59%</b>
19:40:28 <TrueBrain> +41.682419659735345%</b>
19:40:32 <TrueBrain> owh boy, this will be interesting :D
19:40:50 <LordAro> that happens in so many places i automatically do (http://foo.com )
19:41:18 <LordAro> TrueBrain: ohho
19:41:47 <TrueBrain> -breakdowns</td>
19:41:47 <TrueBrain> +breakdowns0</td>
19:41:49 <TrueBrain> that is also an odd one
19:41:51 <TrueBrain> lets dive in :)
19:43:05 <TrueBrain> the source .. really says "0"
19:43:10 <TrueBrain> but .. I guess .. this is ... PHP ...
19:43:19 <TrueBrain> empty("0") == true after all, in that language
19:43:53 <frosch123> thanks, i was happy without knowing that
19:44:09 <TrueBrain> https://www.php.net/manual/en/function.empty.php
19:44:15 <TrueBrain> just reading it makes me laugh EVERY single time
19:44:27 <TrueBrain> that "" is empty, and that 0 is empty, okay .. ish
19:44:29 <TrueBrain> but "0"
19:44:32 <TrueBrain> that is just hilarious :)
19:44:46 <LordAro> non empty string
19:44:53 <LordAro> it's the same in python :p
19:45:09 <TrueBrain> if "0" == True: THIS NEVER RUNS
19:45:27 <LordAro> (well, "false", rather than "empty")
19:45:35 <LordAro> if "0": does though
19:45:51 <TrueBrain> .... it can go fuck itself then
19:46:11 <TrueBrain> I do not know if I want to fix this or not ...
19:46:18 <TrueBrain> the parameter is "0"
19:46:24 <TrueBrain> it is used in the template as {{2}}
19:46:30 <TrueBrain> and nothing is printed
19:47:01 <frosch123> TrueBrain: some of those wiki parser libs wrote "this does not try to be bug-to-bug compatible with mediawiki"
19:47:08 <frosch123> that's sound like a good approach
19:47:17 <LordAro> sounds like something is using python boolean logic instead of emulating php's
19:47:27 <TrueBrain> yeah, well, let me show you something, just to make you giggle ..
19:47:32 <TrueBrain> LordAro: there is no boolean logic involved, that is the point
19:47:55 <LordAro> ok, "logic to determine whether something is empty"
19:48:13 <TrueBrain> it is printing a parameter ..
19:48:17 <TrueBrain> there should be no logic involved
19:48:19 <TrueBrain> you say: give me a 0
19:48:22 <TrueBrain> you should get a zero :P
19:48:29 <TrueBrain> no clue why mediawiki makes that more complicated
19:48:36 <TrueBrain> anyway .. frosch123 : https://gist.github.com/TrueBrain/8b4226455ddd1b11d146a85e32ce5896 <- I am not being bug-compatible :P
19:48:42 <LordAro> depends what the template is doing
19:48:43 <TrueBrain> so many seds to make comparing possible :D
19:48:49 <TrueBrain> LordAro: printing the variable! That is all!
19:48:55 <TrueBrain> it really just reads: {{2}}
19:48:57 <TrueBrain> no logic, nothing
19:49:01 <TrueBrain> just .. printing the damn variable :P
19:49:02 <LordAro> that is.odd
19:49:09 <TrueBrain> ..... glad you caught on :)
19:49:27 <glx> php likes to complicate simple stuff anyway
19:50:16 <LordAro> but ultimately, i'd say a parser does need to replicate php's behaviour
19:50:46 <TrueBrain> I completely and fully disagree :)
19:50:51 <TrueBrain> it needs to output good HTML
19:50:53 <LordAro> actual bugs, sure, leave those. but language 'design decisions' should be followed
19:51:07 <TrueBrain> good luck finding any "design decision" with mediawiki :P
19:51:11 <TrueBrain> it is all ... "what is implemented"
19:51:16 <LordAro> well, yes
19:51:20 <TrueBrain> even their versions from one version to the other can render different things
19:51:28 <LordAro> that's what the quotes were signifying
19:51:39 <TrueBrain> so it is easy to say from a distance these kind of things, but reality is a whole lot more suckier :)
19:51:55 <DorpsGek_III> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JTlKk
19:51:55 <DorpsGek_III> - Update: Translations from eints (by translators)
19:52:13 <TrueBrain> there are many things in our wiki that are easier to fix and simply no longer allow, than to implement the PHP behaviour
19:52:28 <TrueBrain> like this "0" .. fixing it in the template is a lot more effective :)
19:52:56 <TrueBrain> the other lovely thing is: when to escape in URLs .. which is completely random, by the looks
19:52:57 <LordAro> i don't doubt
19:53:14 <LordAro> but something like empty("0") == true should be followed
19:53:22 <TrueBrain> "should" ..
19:53:27 <TrueBrain> please, sod off :P
19:54:03 <LordAro> you're the one that wants to accurately reproduce the output!
19:54:07 <TrueBrain> something something, high horse, something something .. andythenorth , I have a new NewGRF idea for you :D
19:54:25 <TrueBrain> no, LordAro , I do not; I want to validate that my renderer renders our wiki correctly after conversion
19:54:27 <LordAro> that's not a mediawiki paraer weirdness, that's a fundamental part of php
19:54:32 <TrueBrain> there are several ways to reach that goal
19:54:32 <LordAro> parser*
19:54:49 <TrueBrain> you are either being a total dick, or totally misunderstood what I was running into
19:54:56 <TrueBrain> so let me run it again by you, and you can pick :D
19:55:04 <TrueBrain> {{Template|0}} is called
19:55:08 <TrueBrain> Template reads: {{1}}
19:55:12 <TrueBrain> Mediawiki outputs ""
19:55:17 <TrueBrain> my render outputs "0"
19:55:37 <TrueBrain> this is, most likely, due to the fact they use PHP and empty("0") == "" or something silly (I do not know, I have not checked their code)
19:55:48 <TrueBrain> only question is: is "" correct or "0" correct
19:55:57 <LordAro> right
19:56:00 * frosch123 votes for "0"
19:56:04 <LordAro> i thought it was the other way around
19:56:23 <LordAro> -/+ do not make it clear :p
19:56:49 <TrueBrain> - is mediawiki, + is my render, of course :) How else do you compare? Old -> new, right? :D
19:57:00 <TrueBrain> anyway, I assumed you weren't being a total dick, no worries :)
19:57:58 <TrueBrain> it is just this wikitext parser called "mediawiki" ... and our version being ANCIENT ... it is starting to get the better of me :P
19:58:37 <TrueBrain> -<a href="/%d0%9d%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b8_%d0%98%d0%98/ru" title="настройки ии/ru">
19:58:38 <TrueBrain> +<a href="/%d0%9d%d0%b0%d1%81%d1%82%d1%80%d0%be%d0%b9%d0%ba%d0%b8_%d0%b8%d0%b8/ru" title="настройки ии/ru">
19:58:40 <frosch123> oh, i would bet on current mediawiki still behaving that stupid
19:58:41 <TrueBrain> these diffs crack me up too :)
19:59:16 <TrueBrain> (uppercase vs lowercase)
20:01:35 <TrueBrain> I do understand why wikitext never became a standard, and that markdown exists, btw
20:01:52 <LordAro> TrueBrain: i can't see any difference there at all
20:02:07 <TrueBrain> LordAro: %d0%98 -> %d0%b8, after the _
20:02:12 <TrueBrain> 9 vs b
20:02:19 <TrueBrain> took me a texteditor highlight to find that
20:02:39 <LordAro> ah, that's the last character on the line of my current terminal
20:02:48 <LordAro> which is why i missed it
20:03:34 <TrueBrain> also something I cannot seem to get right, when the "alt" text of an image is the filename and when not
20:03:39 <TrueBrain> I gave up .. who cares anyway ..
20:04:15 <TrueBrain> also "fun", mediawiki renders <pre> blocks in <code> blocks :)
20:05:13 <TrueBrain> -<span style="width:0%; height:2px; background:#7fff00; float:left">
20:05:13 <TrueBrain> +<span style="width:0.0%; height:2px; background:#7fff00; float:left">
20:05:15 <TrueBrain> ah ... / vs //
20:05:44 <LordAro> frosch123: fyi, with mediawiki 1.31, i get the '0'
20:05:56 <frosch123> aw :)
20:06:05 <LordAro> hence, a bug that shouldn't be replicated :p
20:06:08 <LordAro> i wasn't wrong!
20:06:16 <TrueBrain> lolz :P
20:06:27 <TrueBrain> I have to say this, but know I am smiling: dickhead
20:06:50 <LordAro> love you too, TrueBrain
20:06:54 <TrueBrain> :D
20:06:57 <TrueBrain> that was funny :)
20:07:06 <TrueBrain> but good to know they also notice it was a garbage thing to do :P
20:07:20 <LordAro> since i'm now at a computer again, i will do a bit more on the release workflow
20:07:26 <TrueBrain> I like I keep finding bugs this way :) Took for-ever to write the compare script, but it is nice it shows me what I am doing wrong
20:07:31 <TrueBrain> LordAro: \o/
20:08:25 <TrueBrain> owh, I really have to do something with the <nowiki> stuff ...
20:08:34 <TrueBrain> I just hope wikitextparse does something with it :P
20:08:37 <TrueBrain> I honestly do not know :)
20:09:21 <TrueBrain> plenty of tests mentioning it
20:09:23 <TrueBrain> so I tihnk it does
20:09:40 *** urdh has quit IRC
20:12:41 <TrueBrain> -<table border="1" class="wikitable sortable">
20:12:41 <TrueBrain> +<table border="1" padding="4" class="wikitable sortable">
20:12:50 <TrueBrain> how ... just .. why ..
20:12:57 <LordAro> TrueBrain: https://github.com/actions/checkout/issues/334 found this
20:13:54 <TrueBrain> well, you are not alone, that is good
20:14:08 <TrueBrain> still curious if it does work with newer Ubuntus
20:14:13 <TrueBrain> as the amd64 did work in your build
20:14:29 <LordAro> apparently not - i386/ubuntu:18.04 had some problem
20:14:33 <TrueBrain> I wonder if it is an issue where a syscall cannot be executed
20:14:43 <TrueBrain> or something in those lines
20:15:00 <TrueBrain> and 20.04?
20:15:05 <TrueBrain> worth a shot possibly?
20:15:25 <LordAro> i386/ubuntu:20.04 doesn't exist
20:15:27 <TrueBrain> so why is mediawiki ignoring "padding", I wonder ..
20:15:33 <LordAro> which is why i never added it to CompileFarm :p
20:15:37 <TrueBrain> it doesn't? Awh ... I assumed they would have made it :P
20:15:53 <TrueBrain> dist-upgrade an 18.04 :P
20:15:55 <TrueBrain> no, just kidding
20:16:02 <TrueBrain> what is a bit odd that you can execute the "apt update" etc
20:16:35 *** urdh has joined #openttd
20:16:38 <LordAro> well we had to - cached apt packages got too out of date for the mirrors
20:16:40 <TrueBrain> but really .. a checkout on the host is most likely your solution, as I think the cmake will also just work
20:17:03 <TrueBrain> yes, you have to; what I mention, is that it is odd that you can execute apt update, but the actions/checkout doesn't work
20:17:10 <TrueBrain> so the docker is working, and responding okay
20:17:24 <TrueBrain> it is somehow the way actions/checkout interacts with it, that is the issue, it seems
20:17:42 <LordAro> it's really difficult to do mixed host/container commands though, as far as i can tell?
20:18:01 <LordAro> there's some comments in linked issues that suggest that it's due to node being missing in the container
20:18:17 <TrueBrain> install it and find out :P
20:18:27 <LordAro> that's my next step :)
20:18:36 <LordAro> step after that is to work out why FindVersion.cmake is not working
20:19:10 <TrueBrain> because git is too old
20:19:15 <TrueBrain> we have been over that, haven't we? :D
20:19:43 <LordAro> it's returning a result that suggests that git doesn't exist at all (.git dir doesn't)
20:19:52 <TrueBrain> yes ...
20:19:59 <TrueBrain> because you used an old git, and it fetched an archive
20:20:05 <TrueBrain> check the run results, the checkout step
20:20:07 <TrueBrain> it mentions it in there
20:20:08 <LordAro> oooh
20:20:14 <LordAro> yes, that makes sense
20:20:24 <TrueBrain> not the first time we have this conversation about that :P :D
20:20:40 <TrueBrain> this is why I suggest the checkout on host :) Can't you set per step if it needs to run in the container or something?
20:20:41 <LordAro> it's a very confusing fallback behaviour!
20:20:46 <TrueBrain> it is
20:20:52 <TrueBrain> and I would rather have it just fails
20:21:02 <LordAro> i don't think so, as far as i can tell from the docs
20:21:21 <TrueBrain> If you do not set a container, all steps will run directly on the host specified by runs-on unless a step refers to an action configured to run in a container.
20:21:26 <TrueBrain> so it is possible, but how .. hmm
20:21:29 <TrueBrain> and yes, docs are not clear :P
20:22:47 <TrueBrain> owh, an action can be a Dockerfile
20:22:50 <TrueBrain> right, forgot about that
20:22:51 <LordAro> https://github.com/LordAro/OpenTTD/runs/1271828244?check_suite_focus=true and then these this one
20:22:59 <LordAro> s/these/there's/
20:23:18 <TrueBrain> install ca-certifications :)
20:23:27 <LordAro> good call
20:23:34 <LordAro> curious that it's only required for that one though
20:23:48 <TrueBrain> git clone https: ..
20:23:52 <TrueBrain> apt normally uses http still
20:23:58 <TrueBrain> you need to install .. https-transport ?
20:23:59 <TrueBrain> to fix that
20:25:08 <TrueBrain> https://github.com/github/actions-cheat-sheet/blob/master/actions-cheat-sheet.adoc#workflow-syntax
20:25:40 <LordAro> yeah, i thought it might be that
20:25:45 <TrueBrain> it seems you can do: make a single job to do a checkout, and use that for the others
20:25:52 <TrueBrain> might even save a bit of time :D
20:26:29 <TrueBrain> I think it requires you to stash the source btw
20:26:30 <TrueBrain> not sure
20:26:36 <TrueBrain> I know it does share some data automatically
20:26:49 <TrueBrain> bit of trying, lot of `run: ls` steps, etc
20:27:07 <LordAro> aye
20:27:10 <LordAro> thanks :)
20:28:22 <LordAro> dunno how that will work with a matrix either
20:28:31 <LordAro> don't exactly want multiple dockers trying to compile the same sources :p
20:28:51 <TrueBrain> make the build folder out-of-tree and you will be fine
20:29:16 <TrueBrain> mkdir /build
20:29:17 <TrueBrain> :P
20:29:22 <LordAro> ha
20:29:30 <TrueBrain> I love cmake for this :)
20:30:53 <TrueBrain> hmm .. can I make a sed that removes all spaces from the style attribute alone? :D
20:44:14 <TrueBrain> made .. something .. for that, lol
20:44:20 <TrueBrain> it is ugly :D Who cares .. just to test stuff :)
20:47:19 <LordAro> TrueBrain: i386 containers fail when downloading artifacts in the same way as they do when trying to checkout repo :p
20:47:32 <TrueBrain> :(
20:47:57 <TrueBrain> other solution is a tiny bit more meh
20:48:04 <TrueBrain> but you can make a Dockerfile in os/linux or what-ever
20:48:20 <TrueBrain> which does the installing, and an entrypoint which does the cmake
20:48:25 <TrueBrain> what is in CompileFarm basically
20:48:37 <TrueBrain> and you can do "uses: ./os/linux/bla"
20:48:42 <TrueBrain> which will build and run the Dockerfile
20:48:46 <TrueBrain> it is really meh
20:52:42 <TrueBrain> mod.c3.a8le_d.27acc.c3.a9l.c3.a9ration_des_trains
20:52:43 <TrueBrain> :D
20:52:59 <LordAro> how curious
20:54:09 *** y2kboy23 has quit IRC
20:54:21 *** y2kboy23 has joined #openttd
20:59:07 <TrueBrain> time to overload our wiki again ... the API is freaking slow :P
21:01:33 *** Feuersalamander has quit IRC
21:01:37 <TrueBrain> sometimes I get OSError: [Errno 101] Network is unreachable
21:01:43 <TrueBrain> not sure .. what to think of that
21:03:54 *** arikover has joined #openttd
21:05:14 <frosch123> are you using a bot account?
21:07:42 <TrueBrain> no
21:07:46 <TrueBrain> should I? :)
21:08:16 <frosch123> who knows, it's php
21:08:28 <TrueBrain> I now use a session; that is already a huge improvement
21:08:31 <TrueBrain> 1 socket to do everything with :)
21:09:31 <TrueBrain> so much pages are just absolute crap
21:09:40 <TrueBrain> both from a content, but also from a structure
21:12:03 <TrueBrain> still some tables that fail parsing
21:12:12 <TrueBrain> some places where I parse a list, and mediawiki does not
21:12:17 *** heffer has quit IRC
21:13:08 <TrueBrain> and I absolutely LOVE how things like {{{updated}}} is also translated into all the languages ...... lol
21:13:26 <TrueBrain> can we agree to keep all variables and functions just in english? :)
21:14:56 <frosch123> we can only make the english pages look good. translators have to fix the rest by hand
21:15:10 <LordAro> TrueBrain: https://github.com/actions/runner/blob/2709cbc0eae592e6004b016c52c04382f19c7683/src/Runner.Worker/Handlers/StepHost.cs#L126-L161 so i found why it is the way that it is
21:15:51 <TrueBrain> owh, so the error was not from the line above
21:15:53 <TrueBrain> makes sense .. lol
21:16:49 <TrueBrain> just to check for node12 or node12_alpine ..sounds sane :P
21:17:50 <LordAro> mm
21:17:55 <TrueBrain> frosch123: I am also scanning other languages, and even categories now I see, to check for my render .. but yeah, I was hoping to avoid fixing other languages :D
21:18:05 <LordAro> not sure why that works for the x64 containers though... am investigating..
21:18:08 <TrueBrain> I am basically just hitting every URL in your full.json :P
21:18:09 <LordAro> https://github.com/LordAro/OpenTTD/runs/1271808860?check_suite_focus=true this is a bit broken
21:18:54 <TrueBrain> btw, LordAro , in case you missed it: there is a TODO in the part that should produce .deb files in CMake
21:19:08 <TrueBrain> seems nobody really implemented it / tested it
21:19:13 <TrueBrain> just so I have said it explicit :D
21:19:49 <LordAro> TrueBrain: i was intending on testing the debs before making a PR :p
21:19:54 <LordAro> but i am a long way from that yet :p
21:20:02 <LordAro> interestingly, none of the containers have a `node12`
21:20:07 <LordAro> so why is it working for some of them..
21:20:19 <TrueBrain> not sure it needs it .. :P
21:20:34 <TrueBrain> you can fake the /etc files and see what that does? :D
21:20:55 <LordAro> it's nothing to do with the /etc files
21:21:00 <LordAro> other than the alpine switch
21:21:24 <LordAro> it must actually be failing in the calling function
21:21:36 <TrueBrain> frosch123: do you also have a json of pages (on their original URL) you are keeping?
21:21:43 <TrueBrain> or are we keeping them all currently?
21:21:55 <TrueBrain> "xargs: unmatched double quote; by default quotes are special to xargs unless you use the -0 option" <- pfft, what a way to go :(
21:22:58 <frosch123> TrueBrain: fullmap contains everything that is not in redirects.json, trash.json or in one of the namespaces i ignore (user pages, talk pages, mediawiki/internal pages)
21:23:25 <TrueBrain> ah .. I am using "jq" to read the JSON, so matching stuff is not easy :P
21:23:28 <frosch123> trash.json will grow slightly, but not much
21:23:37 <TrueBrain> I don't have trash.json atm, but that will be fine :)
21:24:12 *** heffer has joined #openttd
21:27:17 <TrueBrain> meh, to get ride of the capital issue, I need to do a lookup after all .. bah
21:28:05 <frosch123> doesn't my conversion fix all capitalisation issues?
21:28:37 <TrueBrain> I dunno; I am testing against the live site atm, as because of the changes, it was very hard to validate HTML
21:28:55 <TrueBrain> (I am checking the live HTML with the rendered one, basically)
21:29:05 <TrueBrain> meant I had to rewrite the URLs again :P
21:32:39 <glx> LordAro: wouldn't it be better to build source package with cmake and use that in containers ?
21:34:10 <LordAro> not significantly
21:40:53 <LordAro> https://github.com/LordAro/OpenTTD/runs/1271999934?check_suite_focus=true#step:3:35
21:40:56 <LordAro> GOTCHA
21:41:30 <LordAro> of course a x86 container can't execute a 64bit binary
21:41:47 <TrueBrain> I believe I mentioned earlier that it looks like invalid syscalls :P
21:41:58 <TrueBrain> bit silly of a GitHub Runner to do this, I guess
21:42:09 <TrueBrain> means you cannot execute node-actions on a container
21:42:13 <TrueBrain> but you can do "run"
21:42:19 <TrueBrain> and most likely Dockerfiles
21:42:44 <TrueBrain> but as your git is too old anyway, this is a problem left or right :)
21:43:30 <LordAro> it'd be easier to make it work if it didn't hardcode a magical mysterious path
21:43:51 <TrueBrain> _w is workspace on host
21:44:14 <LordAro> well that removes the need to use upload/download artifacts
21:44:36 <LordAro> kinda hacky and all "using undocumented features", but eh
21:44:49 <TrueBrain> still not sure how you are going to get over the git-version issue :)
21:45:07 <LordAro> well i can do the checkout on host
21:45:12 <LordAro> git version isn't an issue for cmake
21:45:50 <glx> oh and as I think the workspace is shared for all containers you can't use the same "build" dir
21:46:22 <LordAro> mkdir build${{matrix.container}}
21:46:24 <LordAro> fixed.
21:46:27 <LordAro> :p
21:46:39 <TrueBrain> at least put a - in there
21:51:56 <andythenorth> oof naming of things
21:52:01 * andythenorth Port vs. Wharf
21:52:07 <andythenorth> completely not obvious
21:56:09 <LordAro> CMake Error at /usr/share/cmake-3.5/Modules/TestBigEndian.cmake:51
21:56:16 <LordAro> i'll be honest, i wasn't expecting that
21:57:31 <TrueBrain> ha, lol, no :)
21:57:59 <TrueBrain> hmm, even if I look up what the correct name is for wiki pages, even than I have a diff because of casing difference
21:58:01 <TrueBrain> wuthhhhh
22:00:53 <TrueBrain> ah, redirects .. ugh
22:01:41 <TrueBrain> there we go
22:02:58 <TrueBrain> another thing I haven't figured out .. sometimes it makes [1] from link-text
22:03:01 <TrueBrain> no clue when/why/how
22:05:09 <TrueBrain> okay, first 20 pages validate fully now .. \o/
22:08:38 *** frosch123 has quit IRC
22:22:17 *** gelignite has quit IRC
22:25:51 <TrueBrain> okay .. ran 1100 pages .. 680 pass, 450 have a diff, and 25 fail to render .. over 50% done, I guess :P
22:27:08 <TrueBrain> +<a href="/user:0" title="user:0">
22:27:08 <TrueBrain> +0</a>
22:27:12 <TrueBrain> lol .. guess why that happened :P
22:35:24 *** Wolf01 has quit IRC
22:35:30 *** sla_ro|master has quit IRC
22:48:34 *** arikover has quit IRC
22:52:55 <andythenorth> uff
22:52:59 <andythenorth> or uuff
23:04:29 <supermop_Home_> ok
23:08:58 *** Extrems has quit IRC
23:21:07 <Eddi|zuHause> TrueBrain: that sounds like "Error Code: 0. No Error"
23:22:45 *** HerzogDeXtEr has quit IRC
23:40:49 *** andythenorth has quit IRC
23:48:49 *** matt21347 has quit IRC