IRC logs for #openttd on OFTC at 2020-10-16
⏴ go to previous day
00:11:55 *** hylshols7qui[m] has quit IRC
00:12:01 *** ist5shreawf[m] has quit IRC
00:37:28 *** tonyfinn[m] has joined #openttd
00:38:13 *** jeremy[m] has joined #openttd
00:43:19 *** khavik[m] has joined #openttd
00:52:28 *** yoyo[m] has joined #openttd
00:52:33 *** rudolfs[m] has joined #openttd
01:02:41 <rptr_> man i feel slow. can't code
01:16:17 *** nartir[m] has joined #openttd
01:16:58 *** cawal[m] has joined #openttd
01:19:35 *** dave[m] has joined #openttd
01:36:21 *** pina[m] has joined #openttd
01:37:02 *** twom[m] has joined #openttd
01:38:21 *** linda[m] has joined #openttd
01:39:54 *** patrick[m] has joined #openttd
01:41:24 *** amal[m]1 has joined #openttd
01:43:13 *** ciet[m] has joined #openttd
02:01:09 *** iarp[m] has joined #openttd
02:07:52 *** julie[m] has joined #openttd
02:08:18 *** fiddeldibu[m] has joined #openttd
02:10:44 *** olmvnec[m] has joined #openttd
02:11:05 *** labs[m] has joined #openttd
02:13:05 *** hylshols7qui[m] has joined #openttd
02:29:33 *** ist5shreawf[m] has joined #openttd
05:09:36 *** snail_UES_ has joined #openttd
06:09:54 *** azubieta has joined #openttd
08:04:06 *** sla_ro|master has joined #openttd
08:19:11 *** andythenorth has joined #openttd
08:41:53 *** andythenorth has joined #openttd
09:17:19 <rptr_> andythenorth, how is your train pack
09:17:40 <andythenorth> it's a bit sleepy
09:17:44 <andythenorth> and should exercise more
11:08:27 *** WormnestAndroid has quit IRC
11:08:40 *** WormnestAndroid has joined #openttd
11:29:24 *** HerzogDeXtEr has joined #openttd
12:37:45 <andythenorth> I should use more engines on my steel trains
12:37:53 <andythenorth> steel is much heavier than coal or grain
14:26:03 *** snail_UES_ has joined #openttd
15:34:58 <rptr_> any way to prevent exception stack traces if i catch an exception ?(ai)
15:37:27 *** supermop_Home_ has joined #openttd
15:52:59 <Eddi|zuHause> doesn't a stack trace mean you DIDN'T catch the exception?
15:59:51 *** ChanServ sets mode: +v tokai
16:06:19 <LordAro> choochoo is the age old example of this
16:06:41 <LordAro> throws (and catches) exceptions all over the place, and fills the console
16:12:01 <Eddi|zuHause> that seems like a misplaced debuglevel
16:25:00 <LordAro> the only thing i remember about it was pm telling someone else that it wasn't possible to make go away
16:45:53 <Eddi|zuHause> nah... the impossible just takes a bit longer :)
16:49:02 *** arikover has joined #openttd
17:00:23 <rptr_> i would like to add it as a feature, LordAro, would be really useful
17:00:37 <rptr_> sort of like Java i guess. exception.printStackTrace, or if it is caught at the top level, print it automatically
17:01:01 <rptr_> i am coding a simple AI again, and i like using exceptions for some error handling
17:01:23 <rptr_> surely it could be fixed
17:06:22 <LordAro> i've no idea where it's coming from
17:06:32 <LordAro> could be deep within the squirrel library for all i know
17:10:07 <rptr_> it also gives "no error specified" or some crap like that. may just be that i am not creating correct exception classes
17:10:48 <rptr_> it does terminate the script if the exception is not caught, but if it is the trace is still printed. so i guess it is in squirrel
17:23:42 <rptr_> compiled squirrel just now, running a tiny test program: try{throw 1;} catch(e){print("gotcha");} // prints "gotcha"
17:31:01 *** Wormnest has joined #openttd
17:57:56 *** frosch123 has joined #openttd
18:16:08 *** Progman has joined #openttd
19:07:16 <Wolf01> So, HTC Vive Pro or Cosmos?
19:10:43 *** tokai|noir has joined #openttd
19:10:43 *** ChanServ sets mode: +v tokai|noir
19:14:11 <Wolf01> Oh, today I could have started my 2 weeks trip to Japan... if it wasn't for this virus
19:29:05 <supermop_Home_> I too was supposed to be in japan this autumn
19:51:48 <DorpsGek_III> - Update: Translations from eints (by translators)
20:51:08 <frosch123> does anyone know the implications of importing a gpl-3 python library?
20:54:36 <TrueBrain> .... which library is GPLv3?
20:54:44 <TrueBrain> that is such a stupid idea ..
20:54:53 <TrueBrain> for OpenTTD the implications are very low .. as we are too GPLv3 :P
20:55:02 <milek7_> Wolf01: or valve index?
20:55:03 <TrueBrain> reminds me .. I have to change the license of openttd-helpers :D
20:55:04 <frosch123> TrueBrain: the library you contributed to this week
20:55:11 <TrueBrain> it is? Darn ... I will have to ask him :P
20:56:04 <TrueBrain> for OpenTTD this really is not an issue, but it is not that great
20:56:08 <frosch123> so, i wonder whether truewiki also has to be gpl-3. or whether python does not count as "linking"
20:56:37 <TrueBrain> it does, and it does have to be GPLv3
20:56:42 <TrueBrain> owh, we normally do GPLv2
20:56:47 <TrueBrain> yeah, that is a bit of an issue
20:57:53 <LordAro> TrueBrain: i thought we were gpl-2?
20:58:01 <azubieta> sorry for the spam :(
20:58:11 <Wolf01> <milek7_> Wolf01: or valve index? < I prefer not being tied to a specific platform
20:59:35 <milek7_> isn't vive based on steamvr too?
20:59:40 <TrueBrain> LordAro: I ... just said that
20:59:50 <TrueBrain> always read to the end of the conversation before commenting :P :P
21:00:25 <LordAro> azubieta: 3 updates isn't spam, don't worry :p
21:00:44 <azubieta> I'm dealing with the commit checker
21:01:00 <LordAro> azubieta: reasonably sure it's not something that should run on push/pr though
21:01:24 <LordAro> should run on release/nightly... which hasn't been converted to GH actions yet
21:01:57 <FLHerne> LordAro: Well, it would make testing the PRs easier :p
21:02:22 <FLHerne> And it's Microsoft's CPU time...
21:04:51 <azubieta> it's built from sources with audio working
21:12:59 <azubieta> Hurrah, the checker is happy now :)
21:13:44 <azubieta> the build should also pass, please take a look at it. I'll be around in case you have comments or questions.
21:14:51 <TrueBrain> LordAro: well, it is a start for the release pipeline, I guess ^^ :)
21:15:52 <TrueBrain> turns out 45 users have an annoying banner when visiting our wiki .. some bug in the system doesn't reset when you visit your talk page .. and it keeps telling you the talk page changed :P
21:16:31 <glx> probably not as annoying as the banner on wikipedia
21:16:35 *** gelignite has joined #openttd
21:20:26 <TrueBrain> frosch123: fixed the issue in our own library too ^^ :D
21:20:47 <TrueBrain> really completely forgot this is an issue with GPL :)
21:21:56 <TrueBrain> trailing whitespaces error .. lol
21:22:07 <frosch123> i get a yearly invitation to a 45 minutes training class about that :p
21:23:01 <TrueBrain> I could use that too, it seems :D
21:23:24 <frosch123> ok, it's not about licenses, it's more about "ask legal before visiting the toilet"
21:24:58 <TrueBrain> the main discussion here is, is a Python library "linking"
21:25:12 <TrueBrain> Python doesn't link at all :P
21:25:18 <azubieta> do you want me to remove all the introductory comments on the github workflow ?
21:25:36 <FLHerne> azubieta: The ones that are true seem useful :-)
21:26:28 <FLHerne> I don't think it matters either way really
21:27:00 <FLHerne> Things like "# The type of runner that the job will run on" -> "runs-on: ubuntu-20.04" are a bit pointless
21:27:24 <azubieta> I had to patch the timidity conf file to make it work properly that's why I'm running appimage-builder twice. That should be fixed in future appimage-builder versions.
21:28:12 <azubieta> Ok, I'll remove them to avoid giving false information
21:29:06 <FLHerne> I mean, that one's not false, it's just kind of self-explanatory without it
21:29:25 <FLHerne> I suppose there's a risk of them becoming false if someone forgets to change them
21:29:54 <LordAro> azubieta: a comment about why appimage-builder is being run twice (with a link to an issue?) would be iseful
21:34:26 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain merged pull request #47: Change: Some minor layout and css improvements https://git.io/JUxep
21:35:38 <LordAro> azubieta: exactly, so link to that
21:35:56 <LordAro> so someone can work out in future if the workaround is still required
21:36:01 <azubieta> do you want the comment to be part of the commit or just in the PR ?
21:36:21 <glx> comment in the workflow yes
21:44:01 <TrueBrain> why that sudo there? :P
21:46:12 <azubieta> the bundle is built inside docker and it get root permissions on the outside, that's why we need sudo
21:48:50 <TrueBrain> it is weird anyway that you need to patch something outside of appimage .. doesn't that defeat a bit the purpose of an "appimage.yml"?
21:48:57 <TrueBrain> you would think you can patch stuff there, not?
21:49:13 <TrueBrain> so if someone does a git clone, and builds the appimage himself, it doesn't work the same way
21:51:31 <azubieta> I'm working on that, I'm the maintainer of the appmage-builder project
21:51:53 <azubieta> I wonder what was I thinking that didn't included it from the first time
21:52:14 <TrueBrain> honestly, and don't take this the wrong way, I wonder if it would be a good idea to accept this PR at this stage
21:52:24 <TrueBrain> as these kind of small things will lead to confusion with people
21:53:35 <azubieta> Well the recipe (AFAIK) produces good AppImages so you will be able to have nightly builds that run on every GNU/Linux distribution right now
21:54:07 <TrueBrain> OpenTTD itself is far from using GH to release nightlies atm, so this sadly doesn't help for that at this moment in time :)
21:54:17 <rptr_> oh man. came back after an hour or so and i had gone into negative. poor network was constipated completely
21:54:38 <glx> yeah releases are still on the azure side
21:55:05 <TrueBrain> hopefully someone ports that soon, but time is always a relative thing :D
21:55:08 <glx> we moved CI to github to ease reviewing
21:55:21 <TrueBrain> no, to avoid it stop working on the 1st of November glx :)
21:55:28 <TrueBrain> pretty sure otherwise it still wouldn't have happened :P
21:55:41 <TrueBrain> deadlines tend to do the weirdest things :D
21:55:58 <glx> but having the errors directly visible in the PR is a good benefit :)
21:56:18 <TrueBrain> not doubting that; I was referring to the timeline :D
21:56:37 <azubieta> well you can use AppImage for testing PR too
21:56:53 <TrueBrain> what benefit does that introduce?
21:57:21 <glx> how you mean providing artifacts for all CI builds ?
21:57:23 <azubieta> you can download the produced binary without having to build it locally
21:57:50 <TrueBrain> why are there more than one way of defining how it should be build?
21:58:41 <TrueBrain> (where the URL I just gave seems to be the "official" approach?)
22:01:29 <azubieta> While both tools use deb packages to fulfill the application dependencies, they produce different bundles. with pk2appimage you need to use the oldest still supported distribution to make a forward compatible bundle. appimage-builder is a new tool/approach that bundles glibc and other tricks to allow producing the AppImages in newer system but also
22:01:29 <azubieta> to patch fixed paths at runtime (this feature is unique to appimage-builder) which allows, by example, to run the embed timidity server
22:02:10 <TrueBrain> good answer, just not to the question I asked :D Why are the YML formats differ, while they contain mostly the same content?
22:03:25 <azubieta> well, it wasn't meant to be compatible from the beginning. The pkg2appimage doesn't have the "runtime concept"
22:04:19 <azubieta> in the case of AppImage there is no one tool to make them all, there are tools that work better for certain scenarios (applications)
22:04:36 <TrueBrain> sadly, they have this repositories under their organization as second entry :D
22:04:40 <TrueBrain> understand that it is confusing ;)
22:05:17 <TrueBrain> anyway, adding AppImages to PRs has very limited value for OpenTTD, as most people who would want to download that, will be Windows users, I am afraid :D
22:05:31 <FLHerne> TrueBrain: We have an OpenTTD/nml repo, but you're still allowed to use m4nfo :p
22:05:45 <TrueBrain> FLHerne: but the SPEC format is the same :)
22:05:52 <TrueBrain> I was not arguing the tools ;)
22:06:06 <FLHerne> The appimage-building tools are tools
22:06:19 <azubieta> indeed, the AppImage project is maintained by probonod, he has the last word on what goes in the organization. Also he decided to keep not only appimage-builder but also linuxdeploy and linuxdeployqt as external projects
22:06:19 <TrueBrain> yes ........ again ..... not talking about the tools :)
22:06:32 <TrueBrain> not sure where you lost me FLHerne , but I keep talking about the YML file that defines how to build :)
22:06:35 <TrueBrain> not the tool building it :)
22:07:18 <TrueBrain> azubieta: meh; that is a bit sad :) Only pollutes; but not something you can help :)
22:07:43 <TrueBrain> possibly it is a good idea to name "appimage.yml" to "appimage-builder.yml" in that case
22:07:48 <TrueBrain> just to create a bit of separation there
22:07:54 <FLHerne> TrueBrain: They build in completely different ways, so of course the build instructions aren't the same
22:08:12 <TrueBrain> FLHerne: it is not "of course"; if you checked the formats, you would see they are very similar
22:08:22 <TrueBrain> and you can argue all you want, but clearly this is not obvious to the outsider
22:08:26 <TrueBrain> so not sure what you are aiming at :)
22:08:37 <TrueBrain> google for "appimage yml", and you find the pkg2appimage repo
22:09:08 <glx> yes content looks very similar, except the syntax
22:09:28 <TrueBrain> ingredients -> apt, and you are there, I think :P
22:09:31 <glx> maybe the builder could use an extended version of the standard
22:09:41 <TrueBrain> glx: yeah, I expected something like that, tbh :)
22:09:52 <TrueBrain> but if they are really 2 different projects, it is fine; just unclear from the outside
22:10:02 <TrueBrain> inside the yml is also no indication for what project it builds
22:10:18 <TrueBrain> bit like you see only a "requirements.txt" .. good luck understanding that :D
22:11:17 <glx> I would default to python (without looking at the other files around this "requirements.txt")
22:11:34 <TrueBrain> annyyywwaaayy, more to the point about this PR: adding an AppImage any user can download on any PR might not be wise; the last time we talked about something similar, we came to the conclusion it should only happen when a developer says: OK
22:11:43 <TrueBrain> to prevent people making malware PRs, misleading people into downloading it
22:11:45 <glx> but it's probably easy to tell with context for this txt file :)
22:11:57 <TrueBrain> glx: but it requires you to know pip :)
22:12:05 <TrueBrain> if you never heard of pip .. good luck finding out what the fuck is going on :P
22:12:20 <TrueBrain> as the example here .. I just did: google, appimage yml, show me what you got :)
22:12:25 <TrueBrain> did not end well for me :P
22:12:43 <TrueBrain> (again, I don't mean anything bad here; just telling what I see, hoping it helps azubieta out :)
22:13:26 <TrueBrain> anyway, back to what I was saying: this is the reason the CI never published binaries; not because we couldn't, just because we cannot trust a PR :D
22:13:27 <glx> and I agree, producing artifacts should not be enabled by default
22:14:31 <TrueBrain> and just to be perfectly clear: I have nothing against appimage, etc :) Just in case people get confused for some reason :D
22:16:39 <TrueBrain> if I can add one more request, and it depends on the same as patching that file: ideally you also want downloading of opengfx and friends inside the appimage definition file too, I think
22:17:09 <TrueBrain> that makes all references, of course for the real binary of course, self-contained inside a single file
22:17:23 <glx> indeed, would make sense to include that in the "definition" file
22:17:24 <TrueBrain> s/of course for/with the exception of/
22:17:58 <milek7_> about PR testing, maybe building emscripten build would be useful? :P
22:18:18 <TrueBrain> is your PR merged? :)
22:19:09 <TrueBrain> so it would always fail? :P
22:22:51 <rptr_> my client is nagging me but i want to code my AI :(
22:23:01 <rptr_> why can't i be 14 instead
22:24:31 <frosch123> 14? 10 or 16 would be okay. but 14?
22:25:07 <rptr_> at 10 i wouldn't be coding an AI, at 16 maybe
22:29:16 <TrueBrain> milek7_: but it is not a bad idea that, if that PR lands, to also validate emscripten doesn't break, by adding it to the CI. This can, as far as I care, be done in the PR, or in a follow-up PR
22:30:58 <TrueBrain> while writing out my comment, I also noticed the yaml file doesn't have a comment mentioning for what tool it is a definition
22:31:10 <TrueBrain> with all the YAML files already, I started to fancy the ones that do
22:31:37 <TrueBrain> okay, files in .github/workflows is also obvious, but for the other yml files .. it can be a bit unclear
22:31:48 <TrueBrain> guess I should fix all the .dorpsgek.yml tbh :)
22:31:57 <frosch123> do we have a yamf.yaml ?
22:32:25 <TrueBrain> I find it cute Python went for TOML
22:32:30 <TrueBrain> betting on a losing horse is always fun
22:32:56 <TrueBrain> I do like how they made clear for what you are creating a definition
22:33:00 <glx> at least most moved away from xml ;)
22:33:01 <TrueBrain> it is rather verbose
22:33:12 <TrueBrain> owh, yes, the XML fan-boys
22:33:23 <TrueBrain> didn't we had someone on the website repo claiming it was the thing to use?
22:34:33 <TrueBrain> "Also, implementing a single XML file would be more clean" <- ah, yes, I remember well
22:34:45 <TrueBrain> FLHerne: EVEN better
22:35:17 <TrueBrain> or, if I can shoot for the sky, make it a CPack :)
22:35:21 <TrueBrain> but now I am -really- pushing it
22:36:14 <TrueBrain> I love how there is still a TODO there :P
22:36:22 <TrueBrain> pretty sure it doesn't work :D
22:37:30 <TrueBrain> pretty sure our most beloved and has-been-here-for-years Debian maintainer is going to cry a bit when 1.11 rolls out of the shop :P
22:38:01 <azubieta> TrueBrain thanks for the comments, I guess that renaming the yml file to appimage-builder.yml will give a clearer hint of which tool must be used
22:38:20 <TrueBrain> and I honestly would add self-promotion in the yml :)
22:38:37 <TrueBrain> it is a really good way for others to make it easy to find your tool; and only your tool :D
22:39:16 <TrueBrain> I like the: we are not telling you were to find us, but here is a link if you want to modify me
22:39:18 <azubieta> good idea, adding it right away
22:40:05 <TrueBrain> I am full of good ideas; sadly, they are often overshadowed by bad ideas :P
22:40:57 <TrueBrain> frosch123: did you read my issue on wikitextparser? The library was build to do minor changes to wikitext, like URL change, template adjustments, etc ... seem I have been .. stretching what it was build for .. and kicking ass while doing so :D
22:41:16 <TrueBrain> (well, not me, the library)
22:41:23 <frosch123> yes, but does that stop you?
22:41:35 <TrueBrain> 30ms vs 800ms ... fuck Ruby
22:41:38 <TrueBrain> it can go sit in a corner now
22:41:47 <TrueBrain> and let the real boys (read: Python) do the work
22:42:37 <TrueBrain> owh, he fixed rowspan .. let me test it :D
22:44:39 <frosch123> hmm... why is it pushing so much... did i mess up lfs?
22:45:01 <TrueBrain> LFS should be: enable it, and forget about it
22:45:09 <TrueBrain> but I don't have that much experience with it otherwise
22:45:31 <frosch123> well, i added another folder to it
22:46:54 <TrueBrain> that makes me really happy
22:47:27 <TrueBrain> care to explain the logic? :D
22:47:52 <TrueBrain> (I can guess to a certain extend)
22:48:01 <frosch123> i sorted pages into more subfolders to separate the gold from the rice
22:48:11 <TrueBrain> why not Templates in the language folders too?
22:48:23 <TrueBrain> "Sorry, we had to truncate this directory to 1,000 files. 3,576 entries were omitted from the list."
22:48:45 <TrueBrain> what language is "mp" btw?
22:49:23 <TrueBrain> wow, en/Main is empty :D
22:49:28 <TrueBrain> (well, almost empty)
22:49:38 <TrueBrain> you have been busy my friend :)
22:49:55 <frosch123> some languages have typos
22:50:09 <frosch123> some Fr was written Ft
22:51:04 <TrueBrain> are all the links also updated with your new folder setup?
22:52:06 <TrueBrain> okay, I get your layout otherwise; forget about my Template question
22:52:17 <TrueBrain> guess my only OCD-related issue is, that there is no root folder for content
22:52:29 <TrueBrain> Category / File / Template / Content?
22:52:47 <frosch123> ah, yes, that's something i wanted to ask you
22:52:56 <frosch123> i can do either, but links would not include that top level then
22:53:11 <FLHerne> TrueBrain: I think I can see a flaw in your security argument
22:53:23 <TrueBrain> just one? But which did you had in mind :)
22:53:30 <frosch123> TrueBrain: oh, and LICENSE.mediawiki is a weird thing
22:53:33 <rptr_> whoever read AI code: any tip on which AI has the "nicest" building code?
22:53:36 <FLHerne> Namely, that the current PR just built a downloadable AppImage as an artifact
22:53:39 <rptr_> i found the ChooChoo builder code a bit confusing
22:53:40 <frosch123> i want to put it into the top folder, so gh sees it
22:53:50 <frosch123> but then the wiki cannot see it
22:54:11 <TrueBrain> we write the wiki .. we can do anything!
22:54:11 <FLHerne> Thus "people will generate artifacts in malicious PRs" is a moot point, because you can already do it
22:54:21 <FLHerne> You just have to add the workflow in the malicious P
22:54:42 <TrueBrain> but we don't promote anyone to download those
22:54:47 <TrueBrain> which is the difference ;)
22:55:02 <TrueBrain> it is never about someone not able to mislead people
22:55:06 <TrueBrain> it is about what we promote
22:55:14 <TrueBrain> as someone can just compile what-ever and link it in the PR body
22:56:31 <TrueBrain> sadly, GitHub doesn't allow you to restrict the things as I would, with a Security Officer hat on, but what can you do ..
22:57:11 <frosch123> TrueBrain: btw. i used wikitextparser to replace links/templates this time :)
22:57:27 <frosch123> i did not check many pages. but hopefully it has less artefacts
22:57:55 <frosch123> also, i am not here tomorrow. so you have to live with this till sunday :p
22:58:23 <TrueBrain> I will move folders around myself, but this is already really awesome :)
22:59:02 <TrueBrain> btw FLHerne , I suspect GitHub is going to change this sooner or later, that it runs the workflow of the PR, and not of the target branch (which is silly in my opinion that it does this) .. as I am still waiting for the attack where people make a lot of PRs in many projects which start a coinminer
22:59:05 <frosch123> ah, i also reexported from the real wiki this afternoon. so it has all your template fixes
22:59:22 <TrueBrain> that makes me really happy!
22:59:31 <TrueBrain> you have been really busy :D
23:00:02 <frosch123> it was less work than expected
23:01:06 <TrueBrain> you removed the python files to render categories and translations?
23:01:14 <frosch123> separate the english pages from the rest via script, separate baseset vehicles (seriously, how many page?), separate xyz.... put linked translations into the same categories :)
23:01:20 <TrueBrain> are those files still up-to-date, or is it an updated folder?
23:01:54 <TrueBrain> updated .. outdated ...
23:02:03 <frosch123> index.py is in the other repo
23:02:11 <TrueBrain> owh, of course, DUHHHH
23:02:42 <TrueBrain> well ... I am scared to load it, but let me try this real quick ..
23:02:43 <andythenorth> oof I looked away and loads of chat happened
23:02:53 <andythenorth> I was only playing tanks for a few...minutes
23:02:53 <TrueBrain> andythenorth: please, don't look away again
23:02:58 <andythenorth> about 480 minutes
23:03:03 <TrueBrain> this TrueBrain kept talking and talking
23:03:09 <TrueBrain> like .. does he NEVER shut up?
23:03:16 <frosch123> andythenorth: you can have the next shift of talking, if you want
23:03:56 <TrueBrain> @kick andythenorth no more tanks!
23:03:56 *** andythenorth was kicked by DorpsGek (no more tanks!)
23:04:04 <frosch123> do we still have these stats? "andy talked 15 lines in a row with no interaction"?
23:04:11 <TrueBrain> dammit, 1001 kicks ...
23:04:42 <LordAro> TrueBrain: you ruined it!
23:04:49 *** andythenorth has joined #openttd
23:04:58 <TrueBrain> LordAro: yes .. and it feels really shitty tbh
23:04:58 <andythenorth> I thought 2 wouldn't be a kick, and 3 would
23:05:01 <TrueBrain> it was in the moment :P
23:05:39 <frosch123> TrueBrain: that is more than 1 kick per week over the channel history
23:05:53 <TrueBrain> it was stats starting from 2009, I think
23:06:20 <TrueBrain> did not realise that number yet :D
23:06:24 <TrueBrain> but andythenorth ruined it
23:06:26 <TrueBrain> so .. yeah .. that ...
23:07:16 <TrueBrain> hmm .. "File" folder .. what do I think about that ..
23:07:30 <TrueBrain> there is also File: syntax in mediawiki, to get the metadata of a file
23:08:05 <TrueBrain> but you don't want to allow overwriting images, I guess?
23:08:14 <frosch123> shall i revert to uploads? i thought File was easier for you
23:08:37 <TrueBrain> I was more wondering how we want to do the links
23:08:46 <frosch123> TrueBrain: overwriting images is important
23:08:59 <frosch123> otherwise people make a mess with "image 1", "image 2"
23:09:03 <TrueBrain> okay, so we will have /File/ for files, and /File: for metadata :)
23:09:14 <TrueBrain> dunno .. we figure something out :)
23:09:35 <frosch123> if you want the File: metadata pages, i'll rather add "uploads" again
23:10:00 <TrueBrain> well, it is about: what do we see in the GitHub repo vs what are the URLs
23:10:11 <TrueBrain> I like the File folder, as that is what you read in the mediawiki files
23:10:20 <TrueBrain> I can still name the URL "uploads" :)
23:10:56 <TrueBrain> how things are called on disk, doesn't have to be how it is called in the URL
23:11:01 <frosch123> i configured lfs to track a directory
23:11:08 <frosch123> so if you want file metadata, we need two directories
23:11:17 <TrueBrain> owh, metadata is: history
23:11:33 <TrueBrain> that is what I meant, tbh :P
23:11:39 <TrueBrain> now I understand the misunderstanding :D
23:12:08 <frosch123> every uploaded file has a wikipage
23:12:14 <frosch123> which describes the file textually
23:12:25 <frosch123> it's important for the real wikipedia, because it states license and stuff
23:12:38 <TrueBrain> well, that is the same
23:12:41 <TrueBrain> but that from git log
23:12:54 <TrueBrain> I did not know you could translate it etc
23:13:20 <TrueBrain> so yeah, I am going to ignore this for now; something we can talk about sunday :P
23:14:21 <TrueBrain> frosch123: is "AI:" gone? :D
23:14:36 <TrueBrain> IT IS! I am your biggest fan :D
23:14:48 <TrueBrain> no more pages with a : in them
23:15:02 <frosch123> yay, lucky me :) i added code to remove it, but did not check the result :)
23:16:22 <TrueBrain> something went wrong with the translations :D
23:17:04 <frosch123> oh, so i need to change the script
23:18:25 <TrueBrain> it is still named "uploads/"
23:18:30 <TrueBrain> the languages are just all called MAIN
23:18:50 <TrueBrain> <img src="/uploads/Main/Flag.png"/><br/>MAIN</a></div>
23:19:24 <TrueBrain> but I will change that tomorrow into a mediawiki template I think
23:20:08 <frosch123> TrueBrain: are you aware how categories work?
23:20:22 <TrueBrain> haven't looked into them
23:20:25 <TrueBrain> I am scared of them
23:20:52 <frosch123> because "translations" as templates adds more problems than it solves :) i tried it
23:21:01 <TrueBrain> no no, not what I meant
23:21:05 <TrueBrain> you now render them as HTML
23:21:12 <TrueBrain> I am going to change that into rendering as wikitext, I think
23:21:17 <TrueBrain> so it uses [[File:]] for images
23:21:55 <TrueBrain> hmm .. "Gameplay Manual" link is pointing to /en/, not /en/OpenTTD
23:22:09 <frosch123> TrueBrain: btw. what do you think about showing all files of the current directory in some panel on the left?
23:22:36 <frosch123> it would remove the need for many categories, if people could just browse directories
23:22:48 <TrueBrain> we will have to experiment a bit with that, I think
23:23:00 <frosch123> previously pages had categories "manual" and "scenario", but those are folders now
23:23:43 <TrueBrain> even on that page it is wrongly linked
23:24:52 <frosch123> oh right. there's another file i wanted to share
23:25:11 <TrueBrain> I like this folder structure a lot
23:25:13 *** WormnestAndroid has quit IRC
23:31:32 <frosch123> TrueBrain: i think i fixed the .translation
23:31:56 *** Wormnest has joined #openttd
23:32:11 <frosch123> which will be handy if you want to compare old wiki vs new wiki
23:32:32 <TrueBrain> can you also share you latest index.php (via gist if you like)?
23:32:51 <frosch123> php? what do you think of me?
23:33:43 *** WormnestAndroid has joined #openttd
23:33:51 <TrueBrain> I like the language "Trash" we now have :)
23:34:15 <TrueBrain> (no, the .translation is still not completely correct :P)
23:34:23 <frosch123> those are pages i will check on sunday, whether i sorted them correctly, then delete them
23:34:33 <rptr_> is there a "go to tile index" feature? :)
23:34:43 <frosch123> rptr_: yes, console "scrollto"
23:35:19 <frosch123> TrueBrain: funnily that script becomes easier again, if we add a "Pages/" or similar :)
23:35:30 <TrueBrain> Pages, that is the better word
23:35:35 <TrueBrain> well, locally I already have that, tbh :P
23:36:26 <frosch123> TrueBrain: did you pull?
23:37:07 <TrueBrain> I might have been stupid, let me check :D
23:37:37 <frosch123> except the usual suspects Fr and Pl
23:37:57 <frosch123> not sure whether they just translated the most pages, or whether they just messed up more :)
23:38:49 <TrueBrain> owh, you renamed it to /File
23:38:53 <TrueBrain> we really need this to be wikitext :D
23:40:07 <TrueBrain> I was wondering why if I run it it was broken again
23:40:11 <TrueBrain> it was not completely me \o/ :D
23:42:19 <frosch123> ah.. i see why the link to "OpenTTD" is broken :)
23:42:30 <frosch123> it's because that's also a namespace name
23:44:57 <TrueBrain> but some languages are in there twice :P
23:45:04 <TrueBrain> well, not something for tonight to figure out :)
23:45:12 <frosch123> yes, that's when the translators did not properly link them
23:45:25 <frosch123> it's kind of intentional, so you can see their bugs
23:45:40 <TrueBrain> and a lot of broken links ..
23:46:19 <TrueBrain> hmm .. my detection clearly is broken
23:46:38 <TrueBrain> there we go, a lot better
23:47:03 <TrueBrain> "en" is no longer first language :P
23:48:26 <TrueBrain> [[Translation:Template/en/Table of contents]] <- inside "Table of contents" template
23:48:29 <TrueBrain> which is used on many pages :P
23:48:39 <TrueBrain> should templates have that marker?
23:50:23 <frosch123> i pushed some link fixes
23:50:43 <TrueBrain> can you also move all languages into Pages folder?
23:50:53 <TrueBrain> (otherwise I keep fixing that locally :D)
23:53:23 <rptr_> which way is north? -Y?
23:53:37 <TrueBrain> andy left, I am lost :(
23:54:15 <frosch123> i know a lot of wiki pages suddenly :p
23:55:37 <rptr_> ok, buildrail makes sense now
23:56:19 <rptr_> beautiful roundabout :D
23:57:52 <TrueBrain> frosch123: but am I right to assume the [[Translation]] tag in Templates is a mistake, or is that really useful?
23:58:27 <frosch123> translators put them there
23:58:32 <frosch123> but we can delete them :)
23:59:08 <frosch123> TrueBrain: ah, i guess they were inside <noinclude> before, and i broke that
23:59:15 <TrueBrain> that looks pretty good
23:59:48 <frosch123> i think i'll add the Page/ on sunday
continue to next day ⏵