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

Powered by YARRSTE version: svn-trunk