IRC logs for #openttd on OFTC at 2020-11-22
            
00:01:35 *** jottyfan has quit IRC
00:02:22 *** andythenorth has quit IRC
00:02:58 <milek7> I've got my magic plot
00:03:01 <milek7> https://i.imgur.com/elv9PqF.png
00:06:24 *** WormnestAndroid has quit IRC
00:06:48 *** WormnestAndroid has joined #openttd
00:11:48 *** Wolf01 has quit IRC
00:42:28 *** m1cr0man has quit IRC
00:42:52 *** m1cr0man has joined #openttd
01:40:40 *** Flygon has joined #openttd
01:46:54 *** nielsm has quit IRC
02:02:25 *** gelignite has quit IRC
02:15:51 *** glx has quit IRC
02:16:03 *** glx has joined #openttd
02:30:42 *** Progman has quit IRC
05:07:01 *** glx has quit IRC
07:30:32 *** sla_ro|master has joined #openttd
08:25:38 *** longtomjr has joined #openttd
08:35:23 *** andythenorth has joined #openttd
08:50:14 <andythenorth> yo
08:54:10 <longtomjr> hi
09:27:19 *** tokai|noir has joined #openttd
09:27:20 *** ChanServ sets mode: +v tokai|noir
09:29:32 *** jottyfan has joined #openttd
09:34:16 *** tokai has quit IRC
09:43:54 <andythenorth> wonder if I can read random bits from a neighbouring vehicle
09:46:55 <andythenorth> maybe 0x7A
09:53:26 *** Wolf01 has joined #openttd
10:13:10 *** Progman has joined #openttd
10:36:45 *** nielsm has joined #openttd
11:06:40 <TrueBrain> milek7 / LordAro : you don't make a backup of S3 data because you are afraid S3 loses your data (they have 11 9s? in integrity?); you do it because someone might (accidentally) remove the S3 bucket :)
11:08:52 <TrueBrain> meh; search engines still haven't updated the wiki .. that is annoying
11:10:29 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain commented on pull request #37: Add: support more than one CDN url https://git.io/Jkrc8
11:11:05 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain commented on pull request #37: Add: support more than one CDN url https://git.io/JkrcE
11:12:04 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain commented on pull request #37: Add: support more than one CDN url https://git.io/Jkrci
11:19:05 <DorpsGek_III> [OpenTTD/bananas-server] LordAro commented on pull request #37: Add: support more than one CDN url https://git.io/JkrCs
11:19:47 <TrueBrain> you didn't know %r? I am shocked :P
11:19:49 <TrueBrain> :D <3
11:19:58 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #37: Add: support more than one CDN url https://git.io/Jk3oL
11:20:16 <TrueBrain> %r can print ANY Python object, where %s needs a str function defined :)
11:21:00 <TrueBrain> I fucking hate the Google Admin bla ... I cannot access the search-index state, as I need to do "something" in the admin panel, just that "something" is completely unclear
11:23:19 <andythenorth> TrueBrain is this google search console?
11:23:51 <TrueBrain> yeah .... finally found it, after having to click through several links in the help ...
11:25:33 <TrueBrain> now how to tell it to crawl ....
11:27:19 <TrueBrain> "Indexing requests are currently suspended"
11:27:21 <TrueBrain> well, that was not useful
11:28:29 <TrueBrain> October 14, ongoing - The "Request Indexing" feature of the URL Inspection Tool has been disabled in order to make some technical updates. We expect it to be re-enabled in the coming weeks. In the meanwhile, Google continues to find and index content through our regular methods, as covered here.
11:28:30 <andythenorth> yeah indexing requests are currently suspended
11:28:32 <andythenorth> since oct
11:28:32 <TrueBrain> riiggghhhhttttt
11:28:38 <TrueBrain> "temporary" ... lol
11:28:41 <andythenorth> they are crawling
11:28:47 <andythenorth> I have some pages indexed within 1 hour of publishing
11:28:51 <andythenorth> others have been waiting days
11:29:00 <TrueBrain> the new ones are indexed on google, it seems
11:29:01 <andythenorth> you could try submitting a site map, but eh
11:29:05 <TrueBrain> but the old ones are there too still :P
11:29:13 <andythenorth> yeah, removal requests seem to be stuck
11:29:36 <andythenorth> you can do temporary removals, but getting it to find a permanent 404 and delete...
11:29:39 <TrueBrain> ironic, I pressed the "test live URL" on one URL
11:29:40 <andythenorth> I am having issues
11:29:43 <TrueBrain> it tells me: yup, this is not working
11:29:52 <TrueBrain> but ... I AM KEEPING IT IN MY INDEX NEVERTHELESS MWHAHAHAHAHAHAHA
11:30:50 <TrueBrain> owh, mediawiki has a lot of pages marked as "noindex", funny .. did not know :)
11:31:30 <andythenorth> you could try 410 old paths
11:31:36 <andythenorth> I don't know how well that works
11:31:49 <andythenorth> I assume it keeps 404 indexed for a period, in case it's temporary error
11:32:22 <TrueBrain> it has 1000+ of the new URLs crawled, but not indexed
11:32:54 <TrueBrain> and over a 1000 (out of the 8k) are already marked as 404, but still indexed :)
11:33:38 <TrueBrain> the 16th it already picked them up
11:34:48 *** HerzogDeXtEr has joined #openttd
11:35:47 <TrueBrain> "Crawled - currently not indexed: The page was crawled by Google, but not indexed. It may or may not be indexed in the future; no need to resubmit this URL for crawling."
11:35:50 <TrueBrain> well, that is helpful ..
11:37:09 <TrueBrain> andythenorth: "Currently Google treats 410s (Gone) the same as 404s (Not found)"
11:37:18 <andythenorth> hmm that makes sense
11:37:30 <andythenorth> is there a site map?
11:37:44 <andythenorth> presumably we could generate one if not?
11:38:44 <TrueBrain> yeah, we could
11:38:50 <nielsm> wouldn't it be best to make as many as possible of the old links be "moved permanently" status pointing to the new url?
11:39:17 <nielsm> although that would probably mean having a straight up database mapping them
11:39:31 <TrueBrain> nielsm: that has been talked over several times already, and it the discussion keeps turning up: no, that is not useful :)
11:39:46 <TrueBrain> but I think we all expected search engines to be quicker with this, honestly
11:40:17 <nielsm> do links from forum posts and such still work?
11:40:26 <TrueBrain> nielsm: the main issue is that many pages got moved or even removed
11:40:51 <TrueBrain> lot of the more popular search results for example pointed to pages that had wrong information
11:40:53 <TrueBrain> like .. flat-out wrong :P
11:41:32 <TrueBrain> one bug I do want to fix today, is that on some URLs it returns a very ugly 404, instead of a more prettier 404, from which you can visit the wiki again
11:41:49 <TrueBrain> and I will see if I can dynamically generate a sitemap, if that helps search engines :)
11:42:01 <TrueBrain> nielsm: unlikely; but frosch123 has the details on these questions :)
11:45:44 <andythenorth> hello nielsm also :)
11:45:48 *** tokai has joined #openttd
11:45:48 *** ChanServ sets mode: +v tokai
11:47:01 <TrueBrain> lol ... should we add "hreflang" header for translated pages?
11:47:05 <TrueBrain> or would that be messy :P
11:48:23 <TrueBrain> wow .. doing that in the sitemap will make the sitemap huge, but we will see if it stays < 50MB :)
11:52:39 *** tokai|noir has quit IRC
11:54:09 <andythenorth> I use this for site audit, it's actually legit not SEO snake oil https://ahrefs.com/website-checker
11:54:28 <andythenorth> probably overkill here, but eh
11:55:09 *** jottyfan has quit IRC
12:05:44 *** frosch123 has joined #openttd
12:13:14 <Wolf01> Hi TrueBrain, did you read about 404 errors on search engines results, like https://wiki.openttd.org/Company_Colours ?
12:21:16 <frosch123> Wolf01: every single wiki url without an language in the url will give you a 404
12:21:49 <frosch123> no need to post a 404 url. i know 10k of them
12:22:25 <Wolf01> So they don't default to english and won't get migrated?
12:22:32 <andythenorth> oof I should write an S3 uploader
12:22:34 <andythenorth> for grf docs
12:22:44 <andythenorth> manual upload is error prone :P
12:23:15 <frosch123> Wolf01: there are 3 options. redirect nothing, redirect top 100, redirect all 10k
12:23:37 <frosch123> "redirect top 100" failed because there is no "top 100"
12:26:25 <Wolf01> I suspect redirect all is not nice either too
12:26:53 <andythenorth> hmm is 100MB of Iron Horse a wise idea?
12:27:25 <frosch123> most users go to the wiki via search engines, so most issues would be solved if search engines would report the new urls
12:28:00 <frosch123> maybe after the search engines are solved, there may be a handful of static links on other sites that may be worth redirecting
12:29:16 <frosch123> maybe the professional excel homework assistance can help us
12:31:11 <Wolf01> The problem is that there seem not to be a new url, there is an archived one
12:33:37 <frosch123> Wolf01: https://github.com/frosch123/gollum-test-data/blob/master/fullmap.json https://github.com/frosch123/gollum-test-data/blob/master/redirects.json
12:40:40 <DorpsGek_III> [OpenTTD/team] frosch123 commented on issue #92: [id_ID] Translator access request https://git.io/Jk21x
12:46:36 <andythenorth> frosch123 any reason not to get random bits from a neighbouring vehicle?
12:46:44 <andythenorth> var 7A appears to offer it
12:47:34 <frosch123> don't use 7A. use 5F
12:47:44 <andythenorth> oh I missed that
12:48:10 <andythenorth> is that documented?
12:48:35 <frosch123> https://newgrf-specs.tt-wiki.net/wiki/VariationalAction2#Variable
12:48:50 <andythenorth> thanks
12:49:13 <andythenorth> now I have to remember how to mask and shift :)
12:49:30 <frosch123> it's some 8 in the var[] syntax
12:51:02 * andythenorth such copy paste from elsewhere
13:04:45 <andythenorth> 3 bytes of random data
13:04:50 <andythenorth> what's the range of possible results?
13:05:04 <frosch123> there is only one byte for vehicles
13:05:16 <frosch123> noone bothered to add more
13:07:02 <andythenorth> so 256 possible results?
13:07:14 <frosch123> yes
13:07:21 <andythenorth> I have a stupid expansion of all the possible results in a switch
13:07:22 <andythenorth> for reasons
13:16:57 <frosch123> TrueBrain: https://github.com/frosch123/wiki-data/issues/new/choose <- do those look reasonable?
13:19:46 <DorpsGek_III> [OpenTTD/wiki-data] frosch123 opened pull request #4: Add: issue templates https://git.io/JkrV9
13:26:02 <andythenorth> anyone remember if temp storage is localised within a varact2 procedure?
13:26:31 <frosch123> no, it's for the whole callback
13:27:03 <frosch123> otherwise you could not pass any parameters to procedures :)
13:27:12 <andythenorth> I thought it would be
13:27:20 <andythenorth> it's puzzling why it works in that case :P
13:27:51 <andythenorth> maybe it's luck :P
13:30:09 <andythenorth> yeah I'm writing over storages that are expired at that point
13:34:02 *** jottyfan has joined #openttd
13:45:34 <TrueBrain> Wolf01: tnx for telling, and yeah, we know :) I am a bit disappointed how long it takes search engines to update honestly .. now creating a sitemap to speed up that process .. hopefully that will help :)
13:45:46 <Wolf01> :)
13:46:15 <TrueBrain> frosch123: I would guess that "main folder" is rather unclear to many
13:47:03 <TrueBrain> and that table would require us to maintain it, but I am fine with that
13:47:05 <TrueBrain> looks good otherwise
13:48:34 <DorpsGek_III> [OpenTTD/wiki-data] TrueBrain requested changes for pull request #4: Add: issue templates https://git.io/Jkr6L
13:55:05 *** JacobD88 has joined #openttd
13:55:38 <Wolf01> TB: it wouldn't be a problem if it just was to add /en/ or change the _ with %20 (this one was tricky too), the problem is that page had a totally different path and I needed to search for it looking on other pages to find a link and the it didn't even contain the info I needed :P
13:56:03 <Wolf01> *and then*
13:56:48 <TrueBrain> yeah ... as soon as search engines are updated, that is not a problem anymore
13:56:53 <TrueBrain> till then ... it is a bit annoying
13:56:57 * andythenorth wonders if var 0x61 is documented
13:56:59 <andythenorth> yeah must be
13:57:01 <TrueBrain> hmm .. sitemaps needs absolute URLs .. that is annoying too
13:58:52 <andythenorth> var[0x61, 0, 0x0000FFFF, 0xC6] <-I assume that's 0x61, offset, mask, var num
13:59:03 <TrueBrain> what is going on with your x's?
13:59:19 <andythenorth> is there font oddness?
13:59:21 <TrueBrain> some are UTF-8, others are ASCII :P
13:59:39 <andythenorth> dunno
13:59:46 <andythenorth> some are pasted some are not
13:59:53 <TrueBrain> can be my client btw, but it looks weird as fuck :P
13:59:53 <andythenorth> I guess the client is pseudo-clever
14:00:23 <andythenorth> oof this bitmaths stuff :)
14:00:41 <frosch123> TrueBrain: it's your client
14:02:36 <andythenorth> what is the second param on var 61 doing
14:02:42 * andythenorth clueless :D
14:03:53 <frosch123> for var 5F replace the 0 with an 8
14:04:26 <andythenorth> and the mask?
14:04:28 <andythenorth> I guessed var[0x61, 8, 0x00FF0000, 0x5F]
14:04:33 <frosch123> think of the first 3 params as a triple to identify a variable
14:04:49 <frosch123> err, the last 3 params
14:04:56 <frosch123> well, whatever
14:05:09 <frosch123> 0x61, 8, 0x00FFFFFF, 0x5F
14:05:09 <andythenorth> no idea how I'm going to slice a single bit out of this using params passed to the procedure :D
14:05:43 <andythenorth> maybe I hit the limit of possibility here :)
14:09:20 <andythenorth> seems var[0x61, 8, 0x000000001, 0x5F] picks the last bit
14:09:22 <TrueBrain> holy crap, the sitemap is a bit big :)
14:09:50 <frosch123> what does it contain? just a list of all urls? or more?
14:10:33 <andythenorth> maybe get_bits() will pick these out
14:10:59 <TrueBrain> all URLs and if an URL has a translation what that translation is
14:11:23 <TrueBrain> but tha tlast part is not working, it seems
14:11:50 <TrueBrain> should categories and files also be searchable, I wonder ..
14:12:00 <TrueBrain> it can contain useful information in the mediawiki thingy, of course
14:12:06 <frosch123> no, only Page/
14:12:10 <frosch123> no templates or categories
14:13:00 <TrueBrain> being able to search for categories can be useful, not?
14:13:12 <andythenorth> hmm this does seem to get a useful result
14:13:14 <andythenorth> getbits(var[0x61, 8, 0x00FFFFFF, 0x5F], LOAD_TEMP(${temp_storage_ids.random_bits_offset}), LOAD_TEMP(${temp_storage_ids.random_bits_count}))
14:13:43 <andythenorth> but it's not the same as using getbits(random_bits, LOAD_TEMP(${temp_storage_ids.random_bits_offset}), LOAD_TEMP(${temp_storage_ids.random_bits_count}))
14:13:48 <frosch123> TrueBrain: hmm, okay, then everything :)
14:13:49 <andythenorth> results vary
14:17:30 <TrueBrain> frosch123: the Folder/ I am going to skip; that doesn't seem to add value
14:17:51 <frosch123> true, did not think of those
14:18:09 <TrueBrain> mostly checking if my sanity is intact :)
14:18:35 <andythenorth> maybe the mask is picking out different bits?
14:18:36 <frosch123> haha, you still have hope?
14:19:07 <andythenorth> {'var': 0x5F, 'start': 8, 'size': 8},
14:19:31 <andythenorth> nml definition of random_bits
14:22:41 <TrueBrain> Content-Length: 6126122
14:22:44 <TrueBrain> 6 MiB of sitemap data :P
14:22:45 <TrueBrain> lol
14:22:51 <TrueBrain> well, it is below 50MB, so it is fine
14:26:21 *** y2kboy23 has quit IRC
14:28:52 *** y2kboy23 has joined #openttd
14:31:42 *** iSoSyS has joined #openttd
14:47:40 <DorpsGek_III> [OpenTTD/wiki-data] frosch123 updated pull request #4: Add: issue templates https://git.io/JkrV9
14:48:37 <DorpsGek_III> [OpenTTD/wiki-data] frosch123 commented on pull request #4: Add: issue templates https://git.io/JkrHJ
14:50:22 <DorpsGek_III> [OpenTTD/wiki-data] TrueBrain approved pull request #4: Add: issue templates https://git.io/JkrHR
14:50:52 <TrueBrain> https://github.com/TrueBrain/TrueWiki/pull/93 <- I think this is going to work ...
14:50:54 <TrueBrain> let's find out! :D
14:52:00 <TrueBrain> can I check if the XML is a valid sitemap before merging, I wonder .. hmm
14:55:04 <TrueBrain> XML Validation Results - No issues detected
14:55:06 <TrueBrain> w00p
14:57:25 <TrueBrain> LordAro: are the two VPSes ready for use, or did you want to fix the 2 remaining things before that time?
15:04:13 <DorpsGek_III> [OpenTTD/wiki-data] frosch123 merged pull request #4: Add: issue templates https://git.io/JkrV9
15:06:40 *** glx has joined #openttd
15:06:40 *** ChanServ sets mode: +v glx
15:11:51 *** jottyfan has quit IRC
15:14:24 <TrueBrain> right .. tried 10 sitemap validation tools, 10 different results .. this is funny :P Owh well, to production with this, we will see if Google understands it
15:15:10 *** m1cr0man has quit IRC
15:15:29 *** Flygon has quit IRC
15:16:15 *** m1cr0man has joined #openttd
15:17:09 <frosch123> the new error message is a bit lolz, but what can you do :)
15:17:45 <frosch123> many google links to the wiki have _ in the page title. so the new 404 is: "_ is invalid in page names" :)
15:18:12 <frosch123> people can click on the main page now though
15:19:33 <TrueBrain> that is exactly why I did this ;)
15:19:46 <TrueBrain> the plain 404 error was completely unintentional
15:23:29 <TrueBrain> 10994 pages in the sitemap
15:23:35 <TrueBrain> now added to Google Search Console
15:23:42 <TrueBrain> hopefully that helps a bit with speeding up the search engine resulsts
15:25:04 <TrueBrain> owh, all the "Main Page" entries are wrong in the site map :D oops
15:29:20 *** longtomjr has quit IRC
15:34:24 *** y2kboy23 has quit IRC
15:38:05 *** JacobD89 has joined #openttd
15:39:02 <TrueBrain> andythenorth: should URLs in a sitemap be url encoded, or just html escaped?
15:39:11 <TrueBrain> information about this is rather conflicting :P
15:40:05 <TrueBrain> most examples only use simple characters .. like ... yeah ...
15:41:07 <TrueBrain> I think it should be done .. but funny enough, the Google Search Console now tells me some URLs are not in the sitemap, which are all because in the sitemap is the escaped variant, so it seems
15:41:12 <TrueBrain> what-ever, we will see what google indexes :)
15:41:24 *** JacobD88 has quit IRC
15:56:59 <andythenorth> TrueBrain sorry no idea :)
15:57:02 <andythenorth> I never make any
15:57:11 <TrueBrain> it is okay .. it is a mess :P
15:57:16 <andythenorth> google always wants me to add one
15:57:24 <andythenorth> but it has 100% index coverage of my sites, so eh
15:58:03 * andythenorth wonders why random bits vary
15:58:08 <andythenorth> do I have to read more nml internals? :P
16:00:00 <andythenorth> https://github.com/OpenTTD/nml/blob/master/nml/expression/functioncall.py#L273
16:01:43 <TrueBrain> okay, because of the navigation header on the wiki, google shows a nice breadcrumb too with the results .. that is pretty sweet, honestly
16:02:04 *** WormnestAndroid has quit IRC
16:02:17 *** WormnestAndroid has joined #openttd
16:02:30 <TrueBrain> or it uses the URL for that .. what-ever :P
16:02:40 <TrueBrain> no, seems to be the navigation
16:02:44 <TrueBrain> it is skipping the language indicator
16:02:57 <andythenorth> can we include rich results? :P
16:03:48 <andythenorth> hmm maybe I imagined the different random result
16:03:57 <TrueBrain> "OpenTTD | Installation FAQ - OpenTTD Wiki" <- not sure why Google adds "OpenTTD Wiki" to it, honestly
16:03:58 <andythenorth> I can't repro a difference now
16:04:44 *** y2kboy23 has joined #openttd
16:04:45 <andythenorth> me neither TrueBrain, I don't see that in source?
16:04:59 <TrueBrain> also weird .. sometimes it does this as title: "Developers - OpenTTD"
16:05:00 <TrueBrain> on new URLs
16:05:05 <TrueBrain> but .. that is not the title of the page :P
16:05:32 <andythenorth> title of root is "OpenTTD | OpenTTD's Wiki"
16:05:36 <andythenorth> maybe Google is parsing that
16:05:41 <andythenorth> it usually respects page titles as set
16:05:54 <andythenorth> meta descriptions get rewritten algorithmically
16:06:07 <andythenorth> but title is normally what the author sets, for accessibility amongst other reasons
16:06:34 <TrueBrain> it is the title of the old wiki
16:06:35 <andythenorth> https://www.lockedownseo.com/google-can-rewrite-titles-descriptions/#:~:text=Adding%20the%20Brand%20Name,results%20with%20your%20home%20page.
16:06:46 <andythenorth> yeah ok, so they do rewrite
16:06:58 <andythenorth> clearly google doesn't rewrite *my* titles because I am awesome :D
16:07:31 <TrueBrain> it seems that google noticed it was mostly the content of an older page
16:07:33 <TrueBrain> changed the URL
16:07:37 <TrueBrain> but not yet the metadata of it
16:07:39 <TrueBrain> or something :)
16:08:03 <TrueBrain> google for "site:wiki.openttd.org/en" and be surprised about the randomness
16:08:11 <TrueBrain> I FOUND YOUR RANDOMNESS andythenorth !
16:08:51 <andythenorth> lol
16:12:35 <TrueBrain> lol, I can see how many other websites link to the wiki
16:12:36 <TrueBrain> that is funny
16:12:43 <TrueBrain> #3 is Todo_list :P
16:12:49 <TrueBrain> #4 is User:Zuu :D
16:13:03 <TrueBrain> (from tt-forums, btw)
16:13:03 *** iSoSyS has quit IRC
16:13:44 <andythenorth> frosch123 random now works reliably in articulated vehicles, (afaict, it's random) :) Thanks!
16:15:47 <frosch123> TrueBrain: so we finnally have our top 100?
16:16:07 <TrueBrain> well, I gave you a top 100 already, but this is another top 100, yes
16:16:26 <TrueBrain> 2cc-trains, newgrf, cheat, todo_list, main_page .. that is it, basically :P
16:16:28 <frosch123> should we add redirects for these?
16:17:57 <frosch123> andythenorth: i am so glad we added "zero all registers before each callback" some years ago :)
16:18:27 <TrueBrain> top 30 externally linked: https://gist.github.com/TrueBrain/c5b8de22a6ece764cb9cb91614b2b52e
16:18:52 <TrueBrain> NewGRF_development_tools is 90% from tt-wiki :P
16:19:14 <frosch123> what are the numbers?
16:19:22 <TrueBrain> there is a header ;)
16:19:33 <frosch123> yes, but it makes no sense to me :)
16:19:42 <TrueBrain> Target, the target URL
16:19:46 <TrueBrain> Page, how many pages refer to it
16:19:52 <TrueBrain> Incoming, how many domains
16:20:05 <TrueBrain> euh, my header is off, but you get the point
16:20:12 <TrueBrain> target, links, sites
16:20:16 <TrueBrain> is a better way of saying it :P
16:20:23 <frosch123> ok, so because the old {{other_languages}} linked to the main page, it has 24k?
16:20:24 <TrueBrain> Main_Page, 17k comes from openttd.org :P
16:20:39 <TrueBrain> 5k from tt-forums
16:20:49 <TrueBrain> 91 from reddit, and smaller numbers after
16:21:45 <frosch123> so, how to add redirects? should truewiki gain a feature for that?
16:21:54 <TrueBrain> I still wonder if it is worth it
16:22:21 <TrueBrain> most of these numbers are generated by openttd.org itself, it seems
16:22:45 <TrueBrain> Google found the wiki on an alternative URL, and indexed it .. lol .. I can fix taht ..
16:22:54 *** longtomjr has joined #openttd
16:22:57 <andythenorth> maybe this should be an nml builtin? o_O https://github.com/andythenorth/iron-horse/blob/master/src/templates/procedures_alternative_var_random_bits.pynml
16:23:32 <andythenorth> extensible nml, using procedures :P
16:23:56 <TrueBrain> lol .. it even mentions URLs on openttd.org that haven't existed in years now
16:24:39 <frosch123> andythenorth: do you need a cool name for your nml library?
16:24:51 <andythenorth> nml.farm
16:24:58 <TrueBrain> frosch123: https://gist.github.com/TrueBrain/d62697df625bbb39615ace719598d9a2 <- this is Community page
16:25:28 <frosch123> do we have 15k pages on openttd.org?
16:25:45 <frosch123> no, only 1200
16:26:21 <TrueBrain> most of them are old URLs that really do not exist anymore
16:26:27 <frosch123> no idea how to get to 16k links
16:26:32 <TrueBrain> not sure when google considers a link REALLY death :P
16:27:02 <TrueBrain> but it picked them up from the navigation bar on every news item etc
16:27:34 <TrueBrain> those github.com hits, are all the forks of OpenTTD, basically
16:27:54 <andythenorth> forks!
16:27:56 <andythenorth> how rude!
16:28:10 <frosch123> yes, but the jekyll website only 445 pages
16:28:17 <TrueBrain> of that whole list ... only https://www.tt-forums.net/viewtopic.php?p=1162667&sid=4045e2a0b6be6c4ef4f91000ea2b4c7c#p1162667 was the first REAL hit
16:28:36 <TrueBrain> frosch123: it has the previous website crawled too, including all translations (which were not really translations)
16:28:48 <frosch123> lol, translations :)
16:28:50 <TrueBrain> basically, you can just ignore that openttd.org number honestly
16:29:22 <TrueBrain> a page like 2cc_Trainset is used a bit more
16:29:41 <frosch123> it's probably linked from some forum's user signature
16:29:44 <TrueBrain> 4500 links from tt-forums, but tt-forums is indexed at least 3 times (3 different domains)
16:30:00 <TrueBrain> owh, 6 different ways
16:30:10 <TrueBrain> yes, a signature :)
16:30:15 <frosch123> zuu has 4554 posts
16:30:25 <TrueBrain> Purno, in a random case I opened
16:30:44 <frosch123> so, 1579 links is kind of incomplete
16:30:54 <TrueBrain> the reddit links are also funny
16:31:19 <TrueBrain> https://gist.github.com/TrueBrain/c71f86d75d7f2718dfb7265805f449a1
16:31:30 <TrueBrain> 2 URLs, but 6 hits :P
16:31:50 <TrueBrain> so the numbers sound HUGE, but in reality ....
16:32:15 <TrueBrain> and a lot of stale links ...
16:32:35 <TrueBrain> https://www.tt-forums.net/viewtopic.php?p=903868#p903868 <-this signature explains "Todo list"
16:32:50 <frosch123> planetmaker: fix your signature!
16:33:11 <TrueBrain> https://www.linguee.com/english-dutch/translation/15+game+levels.html <- this is also responsible for a lot of these hits
16:33:15 <frosch123> i think i moved that page into the archive though :p
16:33:36 <TrueBrain> ~20k sites .. not even counting the links
16:33:49 <frosch123> what? 15 game levels?
16:33:51 <TrueBrain> so I have a REALLY hard time finding legit cases
16:34:32 <frosch123> ok, so still the same: wait for search engines to update. in 50 years check the log for 404s
16:35:33 <TrueBrain> basically
16:35:42 <TrueBrain> the logs from the server were a lot more useful :P
16:35:49 <TrueBrain> not sure what Google thinks to add with these pages ...
16:36:19 <TrueBrain> I guess now we wait for Google to process the sitemap or something
16:42:06 <TrueBrain> Bing Webmaster services could not be reached :(
16:42:11 <TrueBrain> seems I cannot do the same for Bing atm :P
16:42:11 <frosch123> pff. i just took a look at bananas urls. the first one to wiki.openttd.org is a site that was already "deleted" on the old wiki
16:42:52 <frosch123> lol, same for the second
16:43:02 <frosch123> i guess same author
16:43:49 *** jottyfan has joined #openttd
16:44:04 <andythenorth> bing is about 10% of my search traffic, and that's unusually high I'm told
16:44:05 <frosch123> 3rd the same, 4th links to an overview page instead of a content-specific page...
16:44:10 <frosch123> why are our users so stupid?
16:44:13 <andythenorth> so we could wait for Bing to recover
16:44:22 <TrueBrain> bing allows you to use CNAMEs to validate a domain .... but it doesn't seem to invalidate its cache ...
16:44:23 <andythenorth> frosch123 because people?
16:44:39 <andythenorth> same as "why can't andythenorth bit-shift correctly?"
16:45:01 <andythenorth> what colour should tarpaulins be on cargo wagons?
16:45:10 <andythenorth> CC is ugly, it blends with the vehicle
16:45:18 <frosch123> whether-dependant
16:45:28 <TrueBrain> "We did not detect verify.bing.com in the CNAME records for the host."
16:45:28 <andythenorth> yes!
16:45:33 <TrueBrain> ........ IT IS FUCKING TWATS
16:45:44 <andythenorth> or like in Blitz, where there is different camo for temperate, snow, desert
16:45:53 <andythenorth> Blitz is basically OpenTTD
16:48:03 <andythenorth> hmm I could do tarpaulins in the poo brown-green colour
16:48:04 <andythenorth> realism
16:50:54 <frosch123> *weather, just in case
16:51:13 <andythenorth> I figured :)
16:51:21 <andythenorth> extensible nml vars for 'rain'
16:51:27 <TrueBrain> Bing tells me the sitemap has 11 URLs :P
16:51:33 <TrueBrain> not sure Bing, but that is a lie :D
16:51:46 <frosch123> they probably estimate from the file size
16:52:03 <frosch123> at ms, they need a few kib to store an url
16:52:52 <TrueBrain> I am just going to close that window now
16:53:26 <TrueBrain> guess Bing doesn't like the hreflang or what-was-it-called ..
16:54:18 <frosch123> so 11 global.yaml link to something at openttd.org, i can fix 2, 6 were dead before or never existed, 3 we deleted independently from the wiki
16:55:50 <frosch123> both rb and me linked to dev.openttd.org for one set each. the 3rd one links to noai.openttd.org, but replacing that with coop is just a different kind of dead link
16:56:12 <andythenorth> what OpenTTD colour is the sheet on this wagon? :P https://paulbartlett.zenfolio.com/img/s/v-10/p336463390-4.jpg
16:56:43 <andythenorth> oh it's CC_PALE_GREEN
16:56:43 <andythenorth> ok
16:56:52 <andythenorth> very close match
16:58:00 <frosch123> mostly 24 to 31
16:58:35 <frosch123> maybe 88 to 95
17:01:10 <frosch123> oh, it's not even on coop
17:01:36 <frosch123> maybe it never existed on noai.openttd.org, and the author just c&p some url, because they thought that was a requirement
17:03:35 <TrueBrain> noai.openttd.org only ever served the documentation for NoAI
17:03:37 <TrueBrain> (which it still does)
17:03:43 <TrueBrain> URLs changed, but content-wise nothing changed
17:04:03 <frosch123> we once hosted ais and ai libraries in hg on ottd
17:04:13 <TrueBrain> on hg.openttd.org, yes
17:04:24 <frosch123> http://noai.openttd.org/projects/show/lib-event <- so that was never a thing?
17:04:51 <TrueBrain> not as far as I can remember ... but ... 13 years of development, I might be wrong
17:04:58 <frosch123> https://www.tt-forums.net/viewtopic.php?p=807077#p807077 <- there are tons of links of that form
17:05:37 <TrueBrain> only developers ever had write-access on openttd.org
17:07:04 <TrueBrain> it might have been in the very early days of NoAI, but .. shrug
17:07:08 <TrueBrain> haven't exited for years at least
17:07:57 <TrueBrain> last updated, 2009-08-05
17:08:01 <TrueBrain> so yeah, they once did exist
17:09:17 <TrueBrain> script that was providing that ran up to 2018 :P
17:09:37 <TrueBrain> it basically made every AI / Library upload to BaNaNaS available via another URL
17:10:31 <TrueBrain> pretty sure that was not compliant with the ToS
17:10:55 <frosch123> https://www.tt-forums.net/viewtopic.php?f=65&t=50260 <- look, who's the annoying one? :)
17:11:00 <TrueBrain> so yeah, I stand corrected, there was something on noai.openttd.org
17:11:07 <TrueBrain> but that "projects" folder is nowhere to be found
17:12:02 <TrueBrain> but I see you found the date it was deprecated :P
17:12:26 <glx> <andythenorth> maybe this should be an nml builtin? o_O https://github.com/andythenorth/iron-horse/blob/master/src/templates/procedures_alternative_var_random_bits.pynml <-- I don't understand the return part
17:13:35 <andythenorth> glx is there a way to just return the checked value?
17:13:47 <andythenorth> obvs. I could STORE_TEMP and read it later
17:13:53 <andythenorth> but I wanted to yield the result to the caller
17:13:57 <glx> you mean computed value ?
17:13:59 <andythenorth> yes
17:14:05 <glx> just retrun
17:14:09 <glx> *return
17:14:16 <glx> without nothing else
17:15:15 <glx> "return; returns the computed value directly as a callback result. Note that the maximum value for callback results is 32511 (0x7EFF)." <-- from wiki about switches
17:15:20 * andythenorth tests
17:15:38 * andythenorth never read how switches work, I just cargo cult them :)
17:16:45 <andythenorth> thanks glx
17:22:18 <frosch123> https://github.com/OpenTTD/BaNaNaS/pull/71/files <- 2 of 11 urls fixed. the rest was already dead before the new wiki
17:57:30 *** jottyfan has quit IRC
18:01:59 *** otetede has joined #openttd
18:07:15 *** JacobD89 has quit IRC
18:22:59 *** Wormnest has joined #openttd
18:23:21 <DorpsGek_III> [OpenTTD/OpenTTD] Berbe commented on pull request #7286: Add #2155: newheightmapgame command https://git.io/JkoZD
18:26:02 <DorpsGek_III> [OpenTTD/OpenTTD] Berbe updated pull request #7286: Add #2155: newheightmapgame command https://git.io/fhNZl
18:33:40 *** gelignite has joined #openttd
18:57:16 <TrueBrain> frosch123: it tells me the commit is out-of-date
19:02:01 *** jottyfan has joined #openttd
19:02:03 <frosch123> that's a harsh check
19:02:16 <frosch123> there is only one more commit in master, and it does not touch the same files
19:02:31 <TrueBrain> normally it is better at indicating that it is a merge-free commit
19:04:13 <frosch123> i disabled that requirement
19:04:21 <frosch123> it's silly if it works like that
19:04:32 <TrueBrain> it normally doesn't, honestly
19:04:38 <TrueBrain> it detected something odd, it seems
19:06:10 <frosch123> the explanation of that setting says, "This ensures pull requests targeting a matching branch have been tested with the latest code"
19:06:32 <TrueBrain> did they change that recently or something?
19:06:34 <frosch123> so they want to test whether changing apples breaks any oranges
19:07:03 <frosch123> it's not enabled on openttd
19:07:37 <frosch123> it's not enabled on nml
19:07:43 <TrueBrain> https://github.blog/changelog/2020-11-16-packages-organization-admins-access-to-containers/ <- they finally fixed this :D
19:07:45 <frosch123> so, was it freshly enabled on bananas?
19:07:59 <TrueBrain> maybe we never noticed it was enabled?
19:08:16 <TrueBrain> normally we don't approve PRs, we just use our admin powers to merge :P
19:20:56 *** Gustavo6046 has quit IRC
19:21:21 *** Gustavo6046 has joined #openttd
19:35:04 *** jottyfan has quit IRC
19:49:29 *** jottyfan has joined #openttd
20:08:04 *** longtomjr has quit IRC
20:08:46 * andythenorth draws trains
20:13:06 <frosch123> TrueBrain: duckduck also works for site:wiki.openttd.org/en
20:13:17 <frosch123> it may even make sense to make the search language specific
20:13:22 <TrueBrain> yup
20:13:24 <TrueBrain> was planning to do so :)
20:54:49 *** Wormnest has quit IRC
20:59:11 *** WormnestAndroid has quit IRC
21:00:08 *** WormnestAndroid has joined #openttd
21:03:11 *** virtualrandomnumber has joined #openttd
21:05:52 *** otetede has quit IRC
21:24:16 *** Wormnest has joined #openttd
21:30:43 *** frosch123 has quit IRC
21:46:01 *** debdog has joined #openttd
21:49:32 <andythenorth> too much democracy! https://www.tt-forums.net/viewtopic.php?p=1238354#p1238354
22:25:51 *** WormnestAndroid has quit IRC
22:26:06 *** rptr_ has joined #openttd
22:26:39 *** WormnestAndroid has joined #openttd
22:33:44 *** gelignite has quit IRC
22:41:15 *** andythenorth has quit IRC
23:09:05 *** sla_ro|master has quit IRC
23:18:31 *** andythenorth has joined #openttd
23:53:36 *** andythenorth has quit IRC
23:54:35 *** nielsm has quit IRC