IRC logs for #openttd on OFTC at 2020-11-10
            
00:01:02 *** WormnestAndroid has quit IRC
00:01:29 *** WormnestAndroid has joined #openttd
00:17:23 *** Progman has quit IRC
00:22:17 *** Gustavo6046 is now known as Guest5429
00:22:21 *** Gustavo6046 has joined #openttd
00:23:56 *** Guest5429 has quit IRC
00:34:07 *** WormnestAndroid has quit IRC
00:34:32 *** WormnestAndroid has joined #openttd
01:57:16 *** Flygon has joined #openttd
02:15:00 <DorpsGek_III> [OpenTTD/team] dimaspaf14 opened issue #80: hey buddy, im indonesian guy, i want to help this game https://git.io/JkTq0
02:43:51 <DorpsGek_III> [OpenTTD/OpenTTD] TinCanTech opened issue #8339: [Game-play] Stopped vehicles started after reloading network game https://git.io/JkTYo
03:01:44 <FLHerne> This guy has the weirdest issues
03:06:44 *** Wormnest has quit IRC
03:21:56 *** azubieta has quit IRC
03:38:44 <DorpsGek_III> [OpenTTD/OpenTTD] Eddi-z commented on issue #8339: [Game-play] Stopped vehicles started after reloading network game https://git.io/JkTYo
03:40:47 *** azubieta has joined #openttd
04:43:50 *** debdog has joined #openttd
04:46:26 *** glx has quit IRC
04:47:14 *** D-HUND has quit IRC
05:04:49 <DorpsGek_III> [OpenTTD/OpenTTD] TinCanTech commented on issue #8339: [Game-play] Stopped vehicles started after reloading network game https://git.io/JkTYo
05:15:17 <DorpsGek_III> [OpenTTD/OpenTTD] TinCanTech commented on issue #8339: [Game-play] Stopped vehicles started after reloading network game https://git.io/JkTYo
06:22:44 <Eddi|zuHause> hm, i tried playing space chem, but my save was corrupted. i managed to recover it (turns out it's an sqlite database), but some of the levels are still corrupted an there's no way to reset them
06:29:29 <dwfreed> space chem is simple enough that you can also just start over :D
06:30:03 *** tokai has joined #openttd
06:30:03 *** ChanServ sets mode: +v tokai
06:30:08 <Eddi|zuHause> not the research network levels :p
06:30:50 <dwfreed> I haven't played the game in years
06:31:03 <dwfreed> got really hard at one point and I gave up
06:31:18 <Eddi|zuHause> that's where the game gets good :)
06:32:53 <Eddi|zuHause> "sort randomized H and He inputs into separate H2 and He outputs. btw, you don't have a sensor, only connectors"
06:37:01 *** tokai|noir has quit IRC
07:01:43 *** snail_UES_ has quit IRC
07:50:08 *** sla_ro|master has joined #openttd
08:45:23 *** HerzogDeXtEr has joined #openttd
08:51:01 *** longtomjr has joined #openttd
09:19:24 *** andythenorth has joined #openttd
10:01:41 *** Mek has quit IRC
10:02:42 *** Mek has joined #openttd
11:01:00 *** WormnestAndroid has quit IRC
11:01:13 *** WormnestAndroid has joined #openttd
11:29:15 <TrueBrain> Page name "Category/en/Main Page" is invalid, as it is automatically generated.
11:29:16 <TrueBrain> w00p
11:44:23 *** frosch123 has joined #openttd
11:48:27 <TrueBrain> Page name "bla" is missing either a language or a namespace (wikilink "[[bla]]").
11:48:27 <TrueBrain> Page name "y'o"l)o" contains """, which is not allowed (wikilink "[[y'o"l)o]]").
11:54:41 <frosch123> who created pages with so stupid names?
11:58:48 <TrueBrain> Page name "Template/edt/Bla" is in language "edt" that does not exist (template "{edt/Bla}").
11:58:58 <TrueBrain> not the best error, but hopefully it helps a bit more
12:05:02 <andythenorth> yo
12:06:52 <TrueBrain> Namespace "Category" cannot be used as tempalte (template "{{Category:en/Bla}}").
12:06:56 <TrueBrain> minus the typo, ofc
12:07:25 <frosch123> why? that should be okay
12:08:57 <TrueBrain> I did not implement it, so it is not :P
12:08:58 <TrueBrain> :D
12:09:39 <TrueBrain> Page name "File/bla.png" is missing a language code (wikilink "[[File:bla.png]]").
12:11:21 <TrueBrain> Page name "File/en/bla" in the File namespace should end with wither ".png", ".gif", or ".jpeg" (wikilink "[[File:en/bla]]").
12:11:34 <frosch123> most usages of [http://wiki.openttd.org/...] are because people do no know about [[:Category:...]] and [[:File:...]]
12:11:51 <TrueBrain> so easy to fix \o/
12:14:16 <TrueBrain> and it now no longer replaces wikilink that are wrong with a link .. :D
12:14:35 *** iSoSyS has joined #openttd
12:14:38 <TrueBrain> okay, error-messages need work, but otherwise, I think this is an improvement :P I will push to staging later today :)
12:15:28 <frosch123> i'll give my best to break it again :)
12:18:15 <TrueBrain> :D
12:25:31 <TrueBrain> right, now to see how to cleanly fix the recursion issue ... hmm
12:29:08 <TrueBrain> do I depend on the Python recursion depth exception, or do I check for it myself, I wonder ..
12:29:17 <TrueBrain> lunch first
12:36:24 *** iSoSyS has quit IRC
12:53:45 <TrueBrain> Template "Page:en/Main Page" transcluded more than 10 times in the same Page.
13:04:00 <TrueBrain> frosch123: how did you get NBSP in there?
13:04:03 <TrueBrain> copy/paste seems to fail for me :P
13:07:11 <TrueBrain> got it by manipulating the URL :)
13:12:48 <TrueBrain> 11 commits to fix all kinds of stuff :D
13:12:59 <TrueBrain> and 2 in wikitexthtml
13:21:56 <TrueBrain> funny, metadata is corrupted, and it is not recovering on its own :P
13:22:05 <TrueBrain> not sure why ..
13:24:21 <frosch123> copy&paste worked for me for NBSP. for RTL chars i had to put between regular chars for c&p to work
13:24:35 <frosch123> i use kcharselect for such stuff
13:24:45 <TrueBrain> yes, I had to do the same for NBSP
13:24:53 <TrueBrain> well, not via copy/paste, that never worked
13:24:55 <TrueBrain> but I could replicate it :)
13:25:25 <TrueBrain> ah, the new version does recover metadata cleanly, good
13:26:24 <TrueBrain> feel free to try to break it again frosch123 :D
13:26:34 <TrueBrain> https://wiki.staging.openttd.org/en/javascript.mediawiki
13:26:38 <TrueBrain> looks pretty nice to me :)
13:27:03 <TrueBrain> hmm ... recursion limit is hit a lot with --validate-all
13:27:07 <TrueBrain> let me see what that is about ..
13:27:37 <frosch123> lol
13:27:47 <TrueBrain> ah, yes, I did not really do recusion ... I just limited the amount of times the same template could be transcluded
13:27:51 <TrueBrain> which is not completely the same
13:30:15 <TrueBrain> ~1300 new errors frosch123 , sorry :P
13:30:16 <TrueBrain> - Page name "en/Manual/Base Set/Trains/SH "40"" contains """, which is not allowed (wikilink "[[en/Manual/Base Set/Trains/SH "40"|BR '87' (SH "40")]]").
13:30:29 <TrueBrain> I suggest replacing " with '
13:30:45 <TrueBrain> - Page name "" contains a folder that is empty, which is not allowed (wikilink "[[#estacions-avancades|estació avançada]]").
13:30:50 <TrueBrain> and that is a bug in my code :D
13:31:14 <frosch123> TrueBrain: https://wiki.staging.openttd.org/en/javascript <- i suggest to add CSP headers :)
13:31:23 <frosch123> allow inline css, forbid inline js
13:31:39 <frosch123> try the "click me"
13:31:44 <TrueBrain> ah, yes, I should
13:31:57 <TrueBrain> I only considered <style>, but you of course also have the inline crap
13:32:08 <TrueBrain> will do so shortly
13:33:17 *** Gustavo6046 has quit IRC
13:40:14 *** Gustavo6046 has joined #openttd
13:53:10 <frosch123> - Linked page "de/Bauen"" does not exist (wikilink "[[de/Bauen|Bauen]]"). <- now i have many of those
13:53:16 <frosch123> about 30k :)
13:54:00 <frosch123> you add a " somewhere
13:54:37 <TrueBrain> haha
13:54:43 <TrueBrain> stupid VSCode
13:54:48 <TrueBrain> when I hit a ", it adds an extra "
13:54:52 <TrueBrain> not always the right thing to do
13:54:55 <TrueBrain> - Page name "" contains a folder that is empty, which is not allowed (wikilink "[[File:|center|300x200px]]").
13:54:58 <TrueBrain> that happens a lot too btw
14:00:01 <TrueBrain> hmmm .. how to get inline style to work with a CSP header ...
14:00:47 *** snail_UES_ has joined #openttd
14:01:32 <frosch123> style-src-attr <source>
14:02:01 <frosch123> "style-src-attr unsafe-inline" probably
14:02:16 <TrueBrain> "default-src 'self'; style-src 'self' 'unsafe-inline'"
14:02:23 <TrueBrain> anything I am missing?
14:03:59 <TrueBrain> (style-src-attr is not really supported by many browsers)
14:04:25 <frosch123> it falls back on style-src, so should be fine
14:05:10 <TrueBrain> well, what I wrote works, that I know :)
14:05:17 <TrueBrain> the question is if I am missing anything or could add anything :D
14:05:41 <frosch123> all pages should have a html content type in their header
14:05:55 <frosch123> otherwise the 'self' probably allows including them as js or css
14:06:27 <TrueBrain> that will not result in any sane output, but yes :)
14:06:35 <TrueBrain> and that is already the case, if I did everything correctly :)
14:08:20 <frosch123> pushed new ', poor "
14:09:33 <TrueBrain> guess this now also disallows people linking to images outside of the wiki
14:09:34 <TrueBrain> which is nice
14:09:38 <TrueBrain> any other headers I should be setting?
14:12:10 <frosch123> 3 cookies, 1 from us, 2 from aws
14:12:18 <TrueBrain> yup
14:12:24 <frosch123> our is httponly
14:12:28 <frosch123> so fine
14:12:30 <TrueBrain> ours disappears when you log out now, and only appears if you login
14:14:57 <TrueBrain> - Namespace ":category:user" is an unknown namespace (wikilink "[[:Category:user:extrazi/Callbacks/Pl|PL]]").
14:14:58 <TrueBrain> ghehe
14:15:20 <TrueBrain> still a bunch of " in names btw
14:15:51 <frosch123> the category:user one has to wait until we get a decision, whether to migrate that stuff or not
14:15:54 <TrueBrain> - Page name "en/Archive/Compilation and Ports/Compiling on GNU∕Linux and *BSD" contains "*", which is not allowed (wikilink "[[en/Archive/Compilation and Ports/Compiling on GNU∕Linux and *BSD]]").
14:15:55 *** TrueBrain has quit IRC
14:16:04 *** TrueBrain has joined #openttd
14:16:30 <frosch123> ah, so i have to look for a fancy unicode alternative to *
14:16:36 <TrueBrain> ... lol
14:16:51 <TrueBrain> why ... did I get banned .....
14:17:08 <frosch123> to catch up with me?
14:17:09 <longtomjr> lol
14:17:15 <LordAro> TrueBrain is a bot confirmed
14:17:21 <TrueBrain> but .... why?
14:17:23 <longtomjr> "autokilled: Possible spambot. Mail support@oftc.net if you think this is in error. (2020-11-10 13:15:55)"
14:17:24 <TrueBrain> I mean, what is wrong with that line?
14:17:40 <longtomjr> dunno, maybe mail support@oftc.net and ask
14:18:02 <TrueBrain> yeah, pretty sure it is not important enough to waste anyones time but my own on it
14:18:05 <LordAro> send it again to see if it's repeatable :p
14:18:11 <TrueBrain> but it does makeyou curious :)
14:18:18 <TrueBrain> as there isn't UTF-8 in there, I think
14:18:24 <TrueBrain> owh, there is
14:18:25 <TrueBrain> a /
14:18:26 <TrueBrain> :D
14:18:33 <TrueBrain> I blame frosch123 :P
14:18:54 <frosch123> i also got banned for a /, but a different one
14:18:56 <longtomjr> Is UTF-8 a trigger for spambot filters?
14:19:10 <frosch123> longtomjr: all the / seem to be
14:19:12 <TrueBrain> - Page name "en/Community/NewGRF/Цистерна обр. 1908 г..jpeg" contains "..", which is not allowed (wikilink "[[File:en/Community/NewGRF/Цистерна обр. 1908 г..jpeg]]").
14:19:17 <TrueBrain> frosch123: now that is a fun one :)
14:19:48 <frosch123> we probably also have T.I.M..png
14:20:06 <TrueBrain> seems not
14:20:20 <TrueBrain> only 4 images
14:20:25 <TrueBrain> I am sure you are willing to rename those :P
14:20:29 <frosch123> imo remove the ".." thing, leading "." should be enough
14:21:03 <TrueBrain> "should" "would" "could" :P
14:22:14 <TrueBrain> I already don't like wildcard URL routes in applications .. not really willing to part from a simple 'if ".." in URL'
14:22:25 *** TrueBrain has quit IRC
14:22:35 <longtomjr> lol
14:22:42 *** TrueBrain has joined #openttd
14:22:46 <longtomjr> beep boop
14:22:49 <TrueBrain> and now I am being banned for identifying to nickserv
14:22:51 <frosch123> they have the same rule :)
14:22:57 <TrueBrain> OFTC is a bit weird :P
14:23:00 <frosch123> TrueBrain: yes, same for me
14:23:09 <frosch123> dwfreed fixed it for me
14:23:12 <TrueBrain> I can join fine, but not claim my nick ...
14:23:17 <TrueBrain> that makes very little sense, tbh
14:23:30 <TrueBrain> you would think, that claiming my nick makes me less likely to be a bot?
14:23:32 <TrueBrain> owh well :P
14:25:02 <TrueBrain> you would also think that an identified nick that has been active on your network for over 10 years should not be banned for "being a spambot" :P
14:25:08 <TrueBrain> a bit of heuristics doesn't kill anyone :D
14:25:38 <frosch123> i like pretending you got banned for using ..
14:25:50 <TrueBrain> :D
14:26:58 <frosch123> also, everyone knows you did not change your identify pw for over 10 years
14:27:34 <TrueBrain> haha, well, yes, if it was a new connection, I can fully understand that
14:27:44 <TrueBrain> but this connection was up for .. how many days? :)
14:27:49 <TrueBrain> with how many lines of text?
14:28:04 <longtomjr> must be a bot if it types this much
14:28:04 <TrueBrain> I am not maintaining an IRC network, so it is easy to judge the complexity of it all, I do get that
14:28:08 <TrueBrain> it is just funny :)
14:28:40 <TrueBrain> I know how SOCs operate, and there too it is easy to have a detection rule that hits traffic, without context
14:28:51 <TrueBrain> any company that automated the follow-up, often regrets it very quickly
14:29:05 <TrueBrain> a human looking at context reduces the amount of disruptions drastically :)
14:29:11 <TrueBrain> (but consumes a lot more man-power)
14:29:37 <TrueBrain> it is a complex world :)
14:29:50 <andythenorth> and people need training and 1-to-1s and all that jazz
14:29:58 * andythenorth prefers newgrfs
14:30:03 <longtomjr> they need food to operate
14:30:09 <andythenorth> lunch!
14:31:52 <frosch123> sixteen pointed asterisk
14:31:59 <frosch123> ... i am sure the number is important
14:32:12 <andythenorth> you reading alt texts?
14:32:54 <frosch123> i am looking a unicode chars to use instead of ntfs reserved chars
14:33:15 <frosch123> and the amount of unicode chars that should be "use a different font" is insane
14:33:59 <longtomjr> There has to be some reason for them though
14:34:20 <frosch123> there are 6 asterisk chars which only differ in weight/boldness
14:34:59 <frosch123> "light five spoked asterisk".."extremely heavy five spoked asterisk"
14:35:13 <frosch123> then the same for 6 an 8 spokes
14:35:42 <longtomjr> Some of them have different shapes
14:36:50 <andythenorth> 'because we can'
14:36:51 <andythenorth> ?
14:37:47 <longtomjr> These are part of the dingbats block
14:39:06 <longtomjr> Miscellaneous Symbols: "Not to be confused with Miscellaneous Symbols and Pictographs or Miscellaneous Symbols and Arrows."
14:41:06 <andythenorth> were terrible mistakes made at some point?
14:41:12 <andythenorth> or is life just disorder?
14:43:57 <FLHerne> Neither, really
14:44:05 <TrueBrain> https://github.com/TrueBrain/TrueWiki/pull/61 <- frosch123 , fine bla..png is allowed now
14:44:18 <TrueBrain> well, not yet when creating a page
14:44:20 <TrueBrain> let me fix that ..
14:44:49 <FLHerne> One goal of Unicode is that you should be able to round-trip stuff from any other encoding into it and back without losing information
14:45:50 <FLHerne> So it has to distinguish between any characters that some other encoding distinguished between, even if that doesn't really make sense now
14:46:48 <FLHerne> OTOH, when someone came up with Dingbats as "a font you can use for your symbols", it kind of made sense to put differently-formatted versions of each symbol in the same font
14:48:37 <frosch123> we just need to get the ottd logo into some font
14:49:06 <frosch123> TrueBrain: \o/
14:49:12 <TrueBrain> with that PR now frosch123 , you can create a page named "en/../Category/en/./Bla", and it will in fact create "Category/en/Bla" for you
14:51:17 <frosch123> TrueBrain: do you need to check for leading / now?
14:51:25 <TrueBrain> I hope I did it correct, otherwise I just blame you frosch123 :P
14:51:32 <TrueBrain> hmm .. good question
14:51:33 <frosch123> os.isabspath or something
14:51:59 <frosch123> at least we already disallow :, so no c:\ :)
14:52:11 <andythenorth> frosch123 svg-to-font is a thing....
14:52:48 <frosch123> andythenorth: yes, but we would have to ship it with something popular, so it is unicode conversion relevant
14:53:12 <andythenorth> Microsoft Teams!
14:53:17 <andythenorth> that's popular?
14:55:33 <TrueBrain> frosch123: a nice added bonus now is, that if you make a page pointing to /Category/en/Bla, it will do the right thing (and remove the first /)
14:57:13 <frosch123> all those things remain errors when used in [[ ]] {{ }}, right?
14:58:03 <TrueBrain> hmm ... ish
14:58:27 <TrueBrain> see, this is why I wanted to keep a simple ".." check
14:58:28 <TrueBrain> pfft
14:58:31 <frosch123> the goal was to reject invalid syntax, not to interpret it in some silly way :)
14:58:55 <frosch123> TrueBrain: the path != normpath(path) check was fine
14:59:18 <TrueBrain> the thing is, and why this is complex, there are 3 places paths are validated
14:59:23 <TrueBrain> all with different expected output
14:59:30 <TrueBrain> having ".." in path everywhere, was simple
15:01:03 <TrueBrain> okay, links still don't render if you fuck it up, so this will have to do
15:01:13 <TrueBrain> there are only minor differences
15:01:36 <TrueBrain> for example, en/Bla/.bla is a perfectly valid page-name as far as the pre-check goes
15:01:40 <TrueBrain> we only banned it for other reasons (hidden files)
15:02:14 <TrueBrain> but okay, the post-check picks it up
15:02:28 <TrueBrain> basically, there is a difference between invalid URLs, and invalid PageNames
15:02:43 <TrueBrain> the first shows a 404, without any styling what-so-ever
15:02:46 <TrueBrain> as .. fuck you :P
15:02:49 <TrueBrain> the second shows a nice error page
15:04:24 <LordAro> TrueBrain: i hope you're writing lots of nice tests :)
15:05:39 <TrueBrain> LordAro: yes; zero, to be exact :P
15:06:10 <LordAro> :o
15:11:37 <frosch123> we can use the wiki data from 1 months ago for all the tests :)
15:12:45 <TrueBrain> that would only test the renderer :P
15:13:27 <frosch123> it also has links with leading /
15:13:32 <frosch123> and ..
15:13:52 <TrueBrain> https://github.com/TrueBrain/TrueWiki/pull/63 should make you a bit happy :P
15:14:54 <TrueBrain> LordAro: I can do you one worse: NOBODY is reviewing my PRs :P
15:17:49 <frosch123> maybe 5j9 takes revenge and reports insane corner case bugs :)
15:18:17 <TrueBrain> you would be surprised how much I would welcome that :)
15:18:32 <LordAro> TrueBrain: i'm surprised you're bothering with PRs at all :p
15:18:38 <LordAro> 63 of them, no less
15:18:41 <TrueBrain> LordAro: checks! :D
15:18:49 <LordAro> you only need 1 PR for that! :p
15:18:56 <TrueBrain> prevents me from forgetting black and flake :P
15:19:20 <frosch123> so, they are actually reviewed :)
15:19:46 <TrueBrain> I guess :P
15:22:56 <DorpsGek_III> [OpenTTD/team] frosch123 commented on issue #80: hey buddy, im indonesian guy, i want to help this game https://git.io/JkTq0
15:23:08 <TrueBrain> YOU FOUND A BUDDY
15:23:29 <frosch123> weren't you waiting for someone to add an individual message?
15:23:38 <TrueBrain> just ... not there :)
15:23:40 <TrueBrain> but I take it :P
15:24:41 <TrueBrain> poeh, indexing all the links is expensive (memory-wise)
15:25:00 <TrueBrain> up to 83MB of RAM, with a burst of 93MB
15:25:15 <frosch123> still less than eints?
15:25:18 <TrueBrain> yes
15:25:28 <TrueBrain> and than mediawiki
15:25:34 *** nielsm has joined #openttd
15:25:38 <TrueBrain> honestly, it is laughable, 93MB RAM .. I mean ...
15:25:40 <TrueBrain> it is cute
15:26:01 <frosch123> i had a k6 with 96mb ram
15:26:09 <TrueBrain> k6?
15:26:14 <frosch123> amd k6
15:26:17 <TrueBrain> ah
15:26:20 <frosch123> pentium age
15:26:23 <TrueBrain> well, you could run TrueWiki on it! :P
15:26:44 <TrueBrain> right, all links are now indexed too, so you can see where a page is being used :D
15:26:55 <TrueBrain> and it prevents you from renaming :D
15:27:11 <TrueBrain> when a page is in a navigation template
15:27:14 <TrueBrain> the list is LONG :P
15:27:38 <frosch123> ah, you changed the format of the errors :) i wondered why there are still so many issues
15:27:46 <frosch123> but i need to adjust my filter script
15:28:00 <TrueBrain> yeah, sorry, I made it a bit more verbose
15:28:03 <TrueBrain> and a dot behind every line
15:28:35 <TrueBrain> hmm ... "used on pages" clearly failed for templates .. I click on a template from View Source, and it tells me it is not used anywhere
15:28:38 <TrueBrain> so that is a lie :P
15:38:03 <TrueBrain> right, that are a lot of issues fixed today :D
15:43:13 <TrueBrain> frosch123: don't forget to synchronize all language folders over all namespaces
15:43:23 <TrueBrain> with a .keep or what-ever in them to make them valid from a git perspective
15:43:47 <TrueBrain> [[File:Template/en/Manual/Base Set/Cargos/Cargo.png|128px|center]] <-fun links :D
15:46:14 <TrueBrain> frosch123: I fixed the one "Table attribute" error on the live-wiki
15:46:52 <frosch123> oh, i wanted to do that this morning, but forgot again :)
15:46:53 <frosch123> thanks :)
15:47:39 <TrueBrain> those things I can do :D
15:47:43 <TrueBrain> other errors ... not really :P
15:48:23 <TrueBrain> https://wiki.staging.openttd.org/File/en/Main%20Page.png <- well, that "Used on pages" is a lie ..
15:48:26 <frosch123> what folders do you need synced? just File/langcode or more?
15:48:51 <TrueBrain> all languages in all namespaces
15:48:59 <frosch123> ok :)
15:49:00 <TrueBrain> people cannot create a language
15:49:06 <TrueBrain> that has to be done via a PR
15:49:08 <TrueBrain> so they need to be in sync :)
15:50:15 <TrueBrain> my recursion depth check isfunny
15:50:19 <TrueBrain> your page still explodes
15:50:21 <TrueBrain> it does render
15:50:23 <TrueBrain> but .. holy crap :P
15:50:44 <frosch123> it takes some time to load :)
15:51:39 <frosch123> and you have to scroll some to get to the source
15:52:05 <TrueBrain> [[File:{{PAGENAME}}.png|left|middle]] <- so that is why it is not being picked up .. I do not replaces those variables I guess :P
15:52:56 <TrueBrain> hmm, no, they should
15:52:58 <TrueBrain> interesting :D
15:53:11 <frosch123> TrueBrain: the template works fine
15:53:16 <frosch123> just it's example usage does not
15:53:18 <frosch123> no way to fix that
15:54:03 <TrueBrain> I am also fine with it .. but it is fun nevertheless :D
15:54:24 <frosch123> it took some effort to make sure the images have the same path as the pages :p
16:03:00 <TrueBrain> :D
16:03:07 <TrueBrain> do I want to know the LoC of your migration script? :P
16:04:24 *** tokai|noir has joined #openttd
16:04:24 *** ChanServ sets mode: +v tokai|noir
16:05:19 <frosch123> 1463 *py, 2678 *json parameters
16:05:27 <TrueBrain> lolz
16:05:41 <TrueBrain> TrueWiki is 2474 :D
16:06:07 <TrueBrain> well, wikitexthtml 2829
16:06:10 <TrueBrain> but still :P
16:08:41 <TrueBrain> https://wiki.staging.openttd.org/File/en/Main%20Page.png <- w00p, it now shows the correct page \o/
16:11:26 *** tokai has quit IRC
16:12:33 <frosch123> yay, i was not scolded for naming a file Main Page :)
16:13:08 <TrueBrain> yeah, as it is "Main Page.png" :P
16:13:20 <TrueBrain> I now outright banned files without extension from being created
16:13:22 <TrueBrain> lot easier :P
16:15:34 <frosch123> oh, looks like i broke a template when simplifying them
16:15:58 <TrueBrain> my fault / your fault? :D
16:16:25 <frosch123> well, i causes all those [[File:]] :)
16:16:36 <TrueBrain> ah :D
16:16:42 <TrueBrain> well, there are not that many :P
16:16:56 <frosch123> all caused by the same template
16:18:01 <TrueBrain> Easy fix :D
16:36:43 <frosch123> https://wiki.staging.openttd.org/Folder/ <- haha, that "[[LICENSE]]"
16:37:58 <TrueBrain> Haha, fails validation ofc
16:38:00 <TrueBrain> Oops
16:40:30 <frosch123> https://wiki.staging.openttd.org/en/EchtSchnell/%C3%A4%C3%B6%C3%BC <- no error for that first category
16:42:43 <frosch123> categories are truely magical things
16:42:49 <frosch123> sent you a sendry
16:42:53 <frosch123> sentry?
16:43:54 <TrueBrain> Received :p
16:45:04 <frosch123> yay, i can make a category a subcategory of itself :) (no bug)
16:45:41 <TrueBrain> :D magicccc
16:50:52 <frosch123> entering random urls is my new hobby
16:51:01 <TrueBrain> Owh boy ...
16:51:12 <andythenorth> frosch123 is a chaos monkey
16:51:16 <andythenorth> automate automate automate
16:52:40 <frosch123> automate tank driving?
16:54:44 <andythenorth> automate automating
16:54:51 <andythenorth> let's make a chaos monkey generator generator
17:18:59 *** Flygon has quit IRC
17:29:16 *** Wormnest has joined #openttd
17:54:21 *** heffer has quit IRC
18:06:58 *** heffer has joined #openttd
18:09:40 *** tokai has joined #openttd
18:09:40 *** ChanServ sets mode: +v tokai
18:16:42 *** tokai|noir has quit IRC
18:20:39 <LordAro> pNew_string = malloc(strlen(pText_tmp)+1*sizeof(char));
18:20:41 <LordAro> hmm.
18:22:53 <TrueBrain> You never know .. an implementation might change the size of char :p :p
18:23:29 <LordAro> it would have to be wildly off-spec to produce anything other than 1 :p
18:23:57 <Eddi|zuHause> i don't see the problem
18:24:38 <TrueBrain> LordAro: pretty sure it would break the time continuum :D
18:24:39 <LordAro> well ignoring the fact that i could replace the whole block of code with strdup...
18:25:05 <LordAro> Eddi|zuHause: the standard is very explicit about sizeof(char) == 1
18:25:36 *** gelignite has joined #openttd
18:25:39 <TrueBrain> as it, it is one of the few things everyone agrees on :P
18:26:07 <TrueBrain> possibly the author of that lovely piece of code was original a Windows API programmer, and was confused with wchar_t :P
18:27:03 <LordAro> that's not a bad shout, actually :p
18:27:23 <Eddi|zuHause> so the real problem is "hold on, we should probably zoom out a bit in this fractal of misfeatures"
18:28:39 *** longtomjr has quit IRC
18:38:14 *** glx has joined #openttd
18:38:14 *** ChanServ sets mode: +v glx
18:45:59 <TrueBrain> frosch123: fixed https://wiki.staging.openttd.org/Folder/ and https://wiki.staging.openttd.org/en/EchtSchnell/%C3%A4%C3%B6%C3%BC and https://wiki.staging.openttd.org/Folder/Page/en/EchtSchnell
18:46:09 <TrueBrain> (license, invalid categories, and files in /Folder)
18:46:37 <TrueBrain> I really really REALLY do love this auto-deploy stuff ... it makes deployments so much easier/smoother/faster
18:50:06 <frosch123> "Cookie “AWSALB” will be soon rejected because it has the “sameSite” attribute set to “none” or an invalid value, without the “secure” attribute." <- i guess not our problem
18:52:01 <DorpsGek_III> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JkkoF
18:52:01 <DorpsGek_III> - Update: Translations from eints (by translators)
18:53:26 <TrueBrain> where did you read that frosch123 ?
18:53:49 <frosch123> in the browser console
18:54:34 <frosch123> "To know more about the “sameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite"
18:54:59 *** longtomjr has joined #openttd
18:55:06 <frosch123> https://wiki.staging.openttd.org/en/EchtSchnell/%C3%A4%C3%B6%C3%BC <- Media: does not work. not sure whether I care :)
18:59:06 <TrueBrain> I didn't add support for it, no :)
18:59:12 <TrueBrain> couldn't figure out what the difference was between media and file
18:59:38 <frosch123> File links to https://wiki.staging.openttd.org/File/en/MyImage.png
18:59:46 <frosch123> Media links to https://wiki.staging.openttd.org/uploads/en/MyImage.png
19:00:42 <frosch123> s/File/:File/ in the former :)
19:00:58 <TrueBrain> ah .... like that
19:01:00 <TrueBrain> I guess that makes sense
19:01:05 <TrueBrain> sure, I will put it on my todo
19:01:19 <TrueBrain> what an freaking idiots are those who thought up this schema ...
19:01:30 <frosch123> no idea about the usecase, just in case you want to sell truewiki to atlassian or so :p
19:01:59 <TrueBrain> haha :D
19:03:55 *** Wolf01 has joined #openttd
19:04:43 <frosch123> the other day i learned that "wiki" means "quick", so truewiki is even more fitting
19:06:37 *** Progman has joined #openttd
19:23:02 <TrueBrain> :D Ghehe
19:26:52 <TrueBrain> I can btw always disable the AWS cookies
19:27:04 <TrueBrain> they just help with people going to the same instance in the backend
19:27:10 <TrueBrain> otherwise, they carry no value
19:27:46 <TrueBrain> bit weird that AWSALBCORS does have the SameSite and Secure, but the AWSALB doesn't :P
19:32:13 <TrueBrain> ah, okay, the AWSALBCORS exists because of this change Chrome already made and FF will make
19:32:21 <TrueBrain> AWSALB can be dropped without issue
19:32:29 <TrueBrain> I just .. cannot disable it being sent :P
19:33:06 <Wolf01> I can stop it being received :P
19:34:36 <TrueBrain> I think I will disable it for our whole cluster honestly
19:34:46 <TrueBrain> in these days, every cookie you sent ticks people off
19:34:51 <TrueBrain> and it only helps us during a deployment
19:34:57 <TrueBrain> which is rare enough for me to not really care
19:35:28 <TrueBrain> it would, in theory, allow me to run 2 stateful instances of the same service next to each other .. but .. we are not going to do that anyway
20:04:25 <TrueBrain> right, AWSALB cookies are GONE
20:04:47 <TrueBrain> we are now very poor, and don't give cookies out to anyone except when you login :P
20:12:04 <TrueBrain> right, and time to deploy a DNS change which I might come to regret ... we will see :P
20:14:07 *** longtomjr has quit IRC
20:14:25 <TrueBrain> we have 287 records ... I think I am going to remove ~50 .. maybe more :P
20:24:19 *** iSoSyS has joined #openttd
20:28:46 <TrueBrain> 185 now ... :D Well, that was a good cleanup :P
20:29:17 <TrueBrain> now here is hoping nothing broke :P
20:31:04 <frosch123> i have no idea what you are doing :)
20:32:23 <TrueBrain> I trashed aws.openttd.org :P
20:32:39 <TrueBrain> I used that when the DNS was not at AWS, to CNAME from old DNS to AWS DNS
20:32:49 <TrueBrain> but .. as DNS is now at AWS .. we don't need that anymore :)
20:33:06 <TrueBrain> and nobody should have been using those DNS entries .....
20:33:09 <TrueBrain> should ............
20:33:10 <TrueBrain> :P
20:33:27 <andythenorth> if I buy an ARM mac can we port OpenTTD? :P
20:33:28 <frosch123> pretty sure you broke someones heating
20:33:29 <TrueBrain> there were only 102 records under aws.openttd.org :D
20:33:43 <andythenorth> it's ridiculous how much my computer and OS choice is driven by OpenTTD :P
20:33:45 <TrueBrain> andythenorth: nobody tried building OpenTTD on ARM yet?
20:33:51 <TrueBrain> cannot imagine there being any real issues, honestly
20:33:58 <andythenorth> well it's weird Apple Silicon ARM
20:34:09 <andythenorth> Apple marketing says it's a few clicks to switch and takes 5 mins
20:34:12 <andythenorth> so that can't be true
20:34:23 <TrueBrain> yes, "driven by" .. pick the OS and hardware that is least like to run OpenTTD, but is "officially" supported
20:34:24 <TrueBrain> you go girl :P
20:34:27 <andythenorth> yes
20:34:37 <andythenorth> funny isn't it
20:36:33 <TrueBrain> I wonder what happens if I start an ARM ECS cluster, and try to run the OpenTTD services on it :P
20:36:39 <TrueBrain> pretty sure I don't want to find out :D
20:39:03 <TrueBrain> it is 20% cheaper!! :P
20:39:15 <andythenorth> less watts
20:39:48 <TrueBrain> no, 11%
20:40:00 <TrueBrain> I mean, that counts for something, or something
20:41:56 * andythenorth reads forums
20:42:00 <andythenorth> done
20:43:14 <TrueBrain> read anything interesting?
20:43:31 <andythenorth> some newgrf author talking about Horses
20:43:34 <andythenorth> so no
20:43:41 <TrueBrain> he also keeps uploading new versions
20:43:42 <TrueBrain> so annoying
20:43:52 <andythenorth> what does reddit think?
20:44:06 <andythenorth> not a lot
20:44:06 <frosch123> it doesn't think, mostly
20:44:19 <andythenorth> it mostly just exists
20:44:41 <frosch123> i am not sure whether reddit is for reading. maybe it's just for writing
20:44:50 <andythenorth> roflmao lol etc
20:46:04 <TrueBrain> hmm .. guess I should license TrueWiki under AGPL ... before I know it, AWS is running it as SaaS :P
20:46:33 <andythenorth> will your contributors allow multiple licenses?
20:46:54 <TrueBrain> let me ask
20:47:01 <TrueBrain> yeah, I answered I do
20:48:54 <frosch123> did you already trademark the name?
20:49:02 <TrueBrain> haha :D
20:49:15 <TrueBrain> I did check it was unique :P
20:50:16 <TrueBrain> holy crap, .io domains are expensive as fuck
20:50:19 <TrueBrain> why do people buy those?
20:50:40 <frosch123> .fail was also expensive
20:51:12 <TrueBrain> so many domains I see on Hacker News etc are .io
20:51:14 <TrueBrain> but ... 50 euro a year?
20:51:17 <TrueBrain> boy ...
20:51:50 <Wolf01> https://img-9gag-fun.9cache.com/photo/aAeAKqE_460swp.webp ahahah lol
20:52:48 <TrueBrain> nice :D
20:59:40 <andythenorth> .farm is cheep
20:59:43 <andythenorth> cheap *
21:02:55 <dwfreed> TrueBrain: sorry, removed the akill; going to see why it tripped (it's hitting the unicode lookalike regex, but the character doesn't appear to be unicode lookalike at first glance)
21:04:24 *** supermop_Home has joined #openttd
21:04:33 <supermop_Home> yo
21:04:51 *** nielsm has quit IRC
21:04:53 <frosch123> dwfreed: the / was a special unicode, no normal /
21:05:11 <frosch123> we are using those fancy chars on our new wiki :)
21:06:20 <dwfreed> ah, yeah, don't do that :P
21:07:28 <dwfreed> that unicode slash is used a lot by spambots in "URLs" they spam to bypass traditional URL detection, so it's definitely not getting removed from the list
21:08:45 <frosch123> ah, that's what it is about :)
21:09:48 <FLHerne> TrueBrain: Also, with .io you're rewarding the British government for its illegal occupation of the Chagos Islands and deportation of the residents :-/
21:09:58 <FLHerne> So yeah, don't buy one
21:11:14 <Wolf01> Also, with... neetflix time
21:12:17 <andythenorth> FLHerne are there any ethical problems with .farm?
21:12:49 <TrueBrain> Cheers dwfreed
21:13:17 <TrueBrain> We won't try to trip it again :D
21:13:40 <TrueBrain> FLHerne: TIL, tnx :)
21:14:51 <TrueBrain> Yippie, identified and not killed \o/
21:16:02 <frosch123> TrueBrain: finally pushed again. now it's your turn to find more errors again :)
21:16:17 <FLHerne> andythenorth: Unless you have a philosophical objection to ICANN screwing up the domain namespace, no :p
21:16:54 <TrueBrain> I will do tomorrow :D
21:17:00 <TrueBrain> How many errors left?
21:18:03 <frosch123> 16691 unfiltered, 53 filtered (not fixable, or false positive)
21:18:29 <frosch123> both numbers are line counts, some errors take 1 line, some 2
21:18:55 <TrueBrain> Nice :D
21:19:13 <TrueBrain> So when are you going to so a full export?
21:19:58 <frosch123> today i did nothing i planned yesterday :p only new stuff
21:20:22 <frosch123> maybe tomorrow evening
21:20:44 <TrueBrain> Very exciting :D
21:21:43 <TrueBrain> Tomorrow I will walk through everything, see if I can find anything wrong .. but honestly, I think we are really close being ready :)
21:26:53 <frosch123> https://github.com/frosch123/gollum-test-data/blob/master/Template/en/.keep <- i added those everywhere
21:26:58 *** Lejving has quit IRC
21:27:06 <frosch123> maybe you have a better message :)
21:27:53 <frosch123> maybe i should name them .truewiki and include advertisement?
21:29:07 <TrueBrain> Hahaha
21:29:17 <TrueBrain> I always use empty .keep files
21:29:23 <TrueBrain> Anything works honestly
21:32:43 <TrueBrain> We need a banner somewhere on how to add a new language
21:32:57 <TrueBrain> I think in the root of namespaces
21:33:24 <frosch123> we need a whole page on how the wiki is structured :)
21:33:42 <TrueBrain> README :p
21:33:45 <frosch123> maybe even an issue template to provide translations for the folders
21:33:58 <TrueBrain> Guess next to License
21:34:47 <frosch123> nah, either it is editable by users, so a normal wiki page, or it is truewiki docs and in truewiki repo
21:35:06 <TrueBrain> Fair
21:35:08 <frosch123> next to license is only for github stuff, and i do not expect regular visitors to read the wiki there
21:35:39 <TrueBrain> So a bit what is in the README.md already, but a bit more user orientated
21:39:17 <frosch123> i made a list last week or so. some things are already covered by the truewiki readme meanwhile: explain [[Translation:]], how to use sections (do not put your new page into en/, but sort it properly). purpose of sections like manual, development, community, and archive. meaning of "Main Page" in folders. differences from mediawiki, like transclude Page:.
21:39:43 <frosch123> not everything fits into truewiki readme :)
21:39:49 <frosch123> some is very ottd wiki specific
21:40:30 *** iSoSyS has quit IRC
21:41:44 <TrueBrain> Yup
21:41:53 <TrueBrain> So two readmes :)
21:42:04 <TrueBrain> A layout in wiki-data
21:42:12 <TrueBrain> And a syntax in truewiki
21:43:06 <TrueBrain> We need a wiki to explain the wiki :D
21:43:49 <TrueBrain> I might add a '--generate', so I can publish a repo via GitHub Pages, and indeed write the manual in the wiki
21:43:53 <TrueBrain> That would be cool
21:44:29 <frosch123> yes, that sounds cool
21:44:43 <frosch123> you cannot login though :)
21:44:57 <TrueBrain> Maybe migrate the wiki first btw
21:45:11 <TrueBrain> Just to keep the priorities in check :)
21:45:34 <frosch123> lol, yes, those items are at the bottom of the list :)
21:45:45 <frosch123> even after add js
21:52:30 *** gelignite has quit IRC
22:16:27 <andythenorth> hmm
22:16:38 <andythenorth> I can probably remap CC to arbitrary other palette ranges?
22:18:15 <frosch123> yes, pink for example
22:19:04 <frosch123> or water cycle, unless you plan to use it on vehicles :)
22:19:20 <frosch123> ah, you do on ships
22:27:24 <andythenorth> I was mostly thinking delightful browns
22:27:26 <andythenorth> for realism
22:29:53 <frosch123> oh, i thought you were still looking into 3cc
22:35:13 <andythenorth> I am doing fake CC :)
22:35:22 <andythenorth> 3CC would be better for players + UX
22:35:35 <andythenorth> but for now I am just using newgrf parameters :P
22:36:56 <andythenorth> if we knew what we know now, 3CC would have been better than all those vehicle type colours
22:36:57 <andythenorth> but eh
22:37:15 <frosch123> hmm, i actually do not know whether action6 works for recolour sprites
22:38:04 <frosch123> pretty sure it would work in ttdp
22:39:32 <frosch123> yeah, won't work in ottd
22:39:53 <frosch123> so no grf parameters to configure recoloring :)
22:40:40 <andythenorth> currently just switches CC recolourings on a parameter
22:41:10 <andythenorth> https://github.com/andythenorth/iron-horse/blob/master/src/templates/procedures_colour_mapping.pynml#L7
22:45:06 *** Lejving has joined #openttd
22:56:50 *** Wolf01 has quit IRC
23:02:55 *** frosch123 has quit IRC
23:12:27 *** andythenorth has quit IRC
23:25:45 *** sla_ro|master has quit IRC
23:29:17 *** Progman has quit IRC
23:40:17 *** supermop_Home has quit IRC