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