Times are UTC Toggle Colours
00:02:13 <DorpsGek_III> [OpenTTD/nml] glx22 opened pull request #108: Codechange: [Actions] Upload standalone executable to GitHub release https://git.io/JfqJv 00:25:34 <mcbanhas> Is it possible to make UI elements semi-transparent at this point? 00:25:56 <mcbanhas> I mean, does the engine support it? 00:40:45 *** mcbanhas has quit IRC 01:14:24 *** adikt has joined #openttd 01:39:34 *** Flygon has joined #openttd 02:01:00 *** Wormnest_ has quit IRC 02:11:29 *** glx has quit IRC 02:15:33 <FLHerne> Is there any case in which the value of a variable read by ActionD can change during one loading pass? 02:15:54 <FLHerne> Other than the grf directly writing to that variable 02:17:49 *** ahmet has joined #openttd 02:17:56 <ahmet> hi 02:18:34 <FLHerne> ahmet: Good morning :-) 02:19:16 <FLHerne> [timezones may vary] 02:19:30 <ahmet> where are you from? 02:19:35 <FLHerne> UK 02:19:53 <FLHerne> It's 3am, I was about to sleep 02:20:09 <FLHerne> And you? 02:20:16 <ahmet> Turkey 02:20:19 <ahmet> great to see who played this game! 02:21:14 <ahmet> This game is very enjoyable in quarantine days 02:24:04 <FLHerne> Yes, I've been playing more than I had been 02:25:48 <ahmet> The buttons in the game are very small. It hasn't changed for years. My fingers hurt after hours 02:26:05 <ahmet> but i never quit :))) 02:26:27 *** debdog has joined #openttd 02:26:28 <FLHerne> You can make them bigger somehow 02:27:24 <FLHerne> https://wiki.openttd.org/FAQ_troubleshooting#The_User_Interface_buttons_are_too_small 02:27:45 <ahmet> wow 02:27:46 <FLHerne> There's a NewGRF "OpenGFX+ BigGUI" that makes them bigger 02:27:53 <ahmet> thank you! 02:28:21 <ahmet> I don't want to keep you from sleep.. :)) 02:28:21 <FLHerne> Enabling it as a 'static' grf as shown on the wiki will mean it's active in multiplayer too 02:28:32 <FLHerne> Even if the server doesn't use it 02:29:13 <FLHerne> Yes, bedtime for me. Goodnight. :-) 02:29:46 *** D-HUND has quit IRC 02:30:16 *** ahmet has quit IRC 03:09:41 *** Wormnest_ has joined #openttd 04:02:01 *** snail_UES_ has quit IRC 04:02:17 *** Wormnest_ has quit IRC 05:18:28 *** berndj has quit IRC 05:18:29 *** syr has quit IRC 05:19:10 *** berndj has joined #openttd 05:20:32 *** syr has joined #openttd 05:21:12 *** Hirundo has quit IRC 05:21:12 *** avdg has quit IRC 05:23:37 *** TinoDidriksen has quit IRC 05:23:56 *** avdg has joined #openttd 05:24:26 *** Hirundo has joined #openttd 05:24:30 *** XeryusTC has quit IRC 05:24:40 *** TinoDidriksen has joined #openttd 05:25:11 *** TinoDidriksen is now known as Guest23449 05:26:56 *** XeryusTC has joined #openttd 05:27:38 *** Guest23449 is now known as TinoDidriksen 06:02:30 *** sla_ro|master has joined #openttd 06:29:00 *** Wolf01 has joined #openttd 06:45:21 *** andythenorth has joined #openttd 07:53:24 <DorpsGek_III> [OpenTTD/nml] andythenorth opened issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 07:53:52 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #108: Codechange: [Actions] Upload standalone executable to GitHub release https://git.io/JfqOv 08:22:03 <TrueBrain> morning 08:24:33 <LordAro> can confirm 08:27:39 <TrueBrain> happy you did 08:27:49 <TrueBrain> lets migrate BaNaNaS, I would say .. see how that goes .. 08:28:10 <TrueBrain> lot of moving parts .. lets see what the best order is .. 08:30:55 <orudge> I was just coming on here to see how things were going with that and the old VPSes :D 08:30:56 <Wolf01> I think the first thing should be "put everything readonly" :P 08:32:05 <TrueBrain> orudge: I think we just let them expire; for now I don't see a reason to create new ones :) 08:32:12 <TrueBrain> but today will tell ;) 08:32:17 <TrueBrain> otherwise I have 2 days to install new VPSes 08:32:30 <TrueBrain> honestly, only 40 dollar per year for 2, so .. not a real issue ofc, but meh :) 08:33:44 <orudge> Yeah 08:34:17 <orudge> Are the contents of the old VPSes (or one of them at least) backed up somehere just in case? :D 08:34:33 <TrueBrain> they are the backups :) 08:34:48 <TrueBrain> it is just an nginx with rsync access 08:34:56 <TrueBrain> and all the binaries we have 08:34:58 <orudge> OK 08:35:12 <TrueBrain> but I will logon to them today/tomorrow to make sure about that :D 08:35:34 <orudge> I also host an OpenTTD mirror or two of some sort, if I remember correctly 08:35:40 <TrueBrain> you do :) 08:35:45 <TrueBrain> US and UK I think 08:35:58 <TrueBrain> these two VPSes do CA and FR 08:36:19 <TrueBrain> but that traffic on all of them should disipate today :P 08:36:34 <orudge> Yes 08:36:37 <TrueBrain> it should already been reduced for a while now btw 08:36:52 <TrueBrain> not sure if you have graphs of these, but like last year or something it should be noticable lower 08:37:59 <orudge> Possibly, I haven't really been paying attention :D 08:38:06 <TrueBrain> okay, time to deploy everything on AWS already .. that requires some certificates to be made .. this is going to take a while :D 08:38:25 <TrueBrain> also not that important; just a bit of stats-nerding :D 08:38:45 <TrueBrain> your DNS admin panel is a bit weird sometimes btw .. it reset all the TTLs :P 08:40:38 <TrueBrain> k, changed the TTL to 60 for the domains I am about to move .. that should make the transition a bit smoother for most users 08:41:32 <orudge> TrueBrain: yes, probably, while performing a server transfer. It's not really designed for the purpose we're using it for. :) If it's easier to host the DNS on Amazon or soemthing then feel free. 08:41:51 <TrueBrain> over time, maybe :) 08:42:06 <TrueBrain> we already have an AWS zone for openttd.org, but .. not all records are there yet 08:42:07 <TrueBrain> SO MANY RECORDS 08:42:08 <TrueBrain> :P 08:42:13 <TrueBrain> I am happy you are doing it still :) 08:56:41 <andythenorth> happy launch day TrueBrain ! 08:56:49 * andythenorth going afk, that work thing I mentioned :P 08:56:53 <andythenorth> GL HF 08:56:56 *** andythenorth has left #openttd 09:01:28 *** Samu has joined #openttd 09:11:04 <DorpsGek_III> [OpenTTD/website] TrueBrain opened pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqn4 09:11:16 <TrueBrain> possibly I have been blablaing a bit too much, but I would love input :) 09:18:35 <DorpsGek_III> [OpenTTD/website] TrueBrain updated pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqn4 09:19:38 <Samu> hello 09:25:50 <DorpsGek_III> [OpenTTD/website] LordAro commented on pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqnx 09:26:01 <LordAro> TrueBrain: reads fine, imo 09:26:51 <TrueBrain> cool, tnx :) 09:28:31 <milek7> 'ABSOLUTELY nothing.' vs 'should solve many of the issues with BaNaNaS, like proper UTF-8 support, being able to change the name of your content, being able to edit existing content' 09:28:34 <milek7> seems contradictory 09:33:19 <TrueBrain> yup :) 09:35:46 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain opened pull request #32: Cache one endpoint, and tweak text about downloads https://git.io/JfqcG 09:35:56 <TrueBrain> I wonder if frosch123 is going to see this .. :D 09:36:32 <TrueBrain> I kinda need that cache to be in there before we go live :P We have too many NewGRFs :D 09:39:32 <TrueBrain> okay, everything deployed to AWS without issue .. I love CDK :) 09:44:36 <DorpsGek_III> [OpenTTD/website] TrueBrain updated pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqn4 09:59:08 <TrueBrain> okay, NSIS installer still works on new infra, that makes me really happy to see :) 09:59:33 <Artea> hello 10:06:21 <TrueBrain> okay .. sometimes, when moving towards production, you can find these nasty bugs ... in nginx, you can only have 1 "stream{}" block .. that makes writing configurations a bit more difficult :P 10:12:08 <TrueBrain> right, that was an easy fix 10:12:24 <TrueBrain> k, lunch time, after that, I am going to put BaNaNaS v1 on read-only :) 10:12:45 <TrueBrain> LordAro: if you have some time, I would love to get https://git.io/JfqcG merged before we go live :) 10:13:51 <DorpsGek_III> [OpenTTD/bananas-frontend-web] LordAro approved pull request #32: Cache one endpoint, and tweak text about downloads https://git.io/JfqC7 10:14:52 <TrueBrain> ty kind! 10:14:53 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain merged pull request #32: Cache one endpoint, and tweak text about downloads https://git.io/JfqcG 10:20:20 <LordAro> TrueBrain: i'd suggest that the more "pythonic" way of doing it would be via a function decorator 10:20:41 <LordAro> then you could just add @cache_api(60 * 5) to the top :) 10:31:22 <TrueBrain> Fully agree. Would be a lot cleaner 10:36:52 <TrueBrain> Possibly Flask has a decorator for it .. owh well, this works for sure for now :p 10:37:52 <LordAro> https://cachetools.readthedocs.io/en/stable/#cachetools.func.ttl_cache seems quite nice 10:45:41 <TrueBrain> I normally use that .. no clue why I didn't this time .. wanted to have it fixed I guess :p 10:45:58 <LordAro> :) 10:48:35 *** mcbanhas has joined #openttd 10:48:44 <mcbanhas> Howdy 10:49:29 <mcbanhas> Is it possible to set transparency for UI elements? Does it the engine support it currently? 10:50:18 <LordAro> nope 10:52:33 <mcbanhas> So how is transparency currently handled in map objects? Are those dithered silhouettes or something similar? 10:52:58 <TrueBrain> alright .. lets put some things in read-only mode, and do this thing .. 10:54:29 <mcbanhas> Hmm, no it doesn't look like dithering. 10:57:16 <TrueBrain> oef ... am I really going to do this? These changes always make me nervous :D 11:11:50 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.0 https://git.io/JfqlN 11:13:48 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain created new tag: 1.0.0 https://git.io/Jfqlp 11:14:02 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain created new tag: 1.0.0 https://git.io/Jfq8e 11:14:15 <DorpsGek_III> [OpenTTD/binaries-redirect] TrueBrain created new tag: 1.0.0 https://git.io/Jfq8f 11:14:18 <TrueBrain> RELEASE ALL THE THINGS 11:22:35 <TrueBrain> uploading with 500 mbit/s to AWS :D I love that speed :P 11:27:20 <TrueBrain> https://github.com/OpenTTD/BaNaNaS <- in case anyone wants to see our database :P 11:33:43 <TrueBrain> haha, it takes too long for bananas-server to read that repo, that is is being killed as "unresponsive" 11:33:44 <TrueBrain> :D 11:35:56 <TrueBrain> it takes 3 minutes to reload everything :D 11:35:57 <TrueBrain> lolz 11:36:06 <TrueBrain> this is going to be an issue, but not an issue for now :P 11:37:24 <TrueBrain> I need some testers .. add these to your host files: https://gist.github.com/TrueBrain/b4ae5090a9b8aefbf352b6f550386c72 11:37:35 <TrueBrain> can you test ingame, if everything works? Browsing, downloading, etc? 11:37:54 <TrueBrain> don't upload junk, it is production after all; but see if https://bananas.openttd.org works for you, etc 11:38:01 <TrueBrain> just some more eyes on this before I change DNS for everyone :) 11:38:35 <TrueBrain> I will be back in like 2 hours or so, and would like to flip the switch by then :) 11:38:56 <TrueBrain> test older clients, test latest, etc etc 12:04:54 *** Yexo has joined #openttd 12:04:55 *** ChanServ sets mode: +o Yexo 12:15:12 *** glx has joined #openttd 12:15:12 *** ChanServ sets mode: +v glx 12:32:11 <Yexo> TrueBrain: bananas.openttd.org works fine, in-game content works fine, but http://content.openttd.org/ and https://binaries.openttd.org/ don´t work for me 12:32:45 <Yexo> Without changing host-file http://content.openttd.org/ redirects to https://bananas.openttd.org/en, and binaries redirects to an empty page from http://fr.binaries.openttd.org/index.html 12:44:32 <glx> they moved 12:45:13 <glx> binaries are now on cdn.openttd.org 12:47:53 <LordAro> glx: the redirect should probably work though 12:48:39 <LordAro> not sure what the issue with content redirecting to bananas is though? 12:49:33 *** Yexo is now known as Guest23464 12:49:38 *** Yexo has joined #openttd 12:49:39 *** ChanServ sets mode: +o Yexo 12:50:21 *** Yexo has quit IRC 12:54:06 <glx> ah yes redirect works, but only for some url 12:55:36 *** Guest23464 has quit IRC 12:59:12 *** Wormnest_ has joined #openttd 13:03:20 *** Gustavo6046 has quit IRC 13:30:33 <Samu> what is the equivalent of "sizeof(x)" in squirrel? I'm trying to copy a function from c++ to squirrel 13:31:20 <Samu> x is a uint32, if that matters 13:31:33 <LordAro> what do you think, Samu ? 13:36:27 <Samu> 4? 13:37:34 <_dp_> it's already a bat sign if you need sizeof of anything in squirrel... 13:37:48 <_dp_> *bad :) 13:38:48 <Samu> I'm copying ROR 13:38:52 <Samu> rotate right 13:39:12 <Samu> it has a sizeof(x) in it 13:41:30 <Samu> seems to be 4 13:41:45 <Samu> but what if it's not always 4? :( 13:42:09 <LordAro> then you've got bigger problems 13:50:30 *** nielsm has joined #openttd 13:50:41 <FLHerne> mcbanhas: That's done using recolour sprites https://newgrf-specs.tt-wiki.net/wiki/RecolorSprites 13:51:49 *** Wormnest_ has quit IRC 13:52:56 <FLHerne> mcbanhas: Basically, it remaps the colour palette of whatever's underneath it 13:53:46 <FLHerne> So it's easy to do one colour of "transparency", but you couldn't make complex multicoloured things transparent in a practical way 13:54:25 <FLHerne> (you'd need a different sprite for each colour in the overlay, AIUI) 13:55:41 <TrueBrain> Yexo_: tnx a bunch for testing, good that it works :D And yes, I stopped routing http for content.openttd.org, because .. nobody should be using that 13:55:51 <TrueBrain> and binaries.openttd.org should give a 404 page .. I guess I can redirect that to the frontpage :D 13:57:56 <FLHerne> You could have semi-transparent backgrounds with opaque text 13:58:03 <DorpsGek_III> [OpenTTD/binaries-redirect] TrueBrain opened pull request #3: Add: redirect / to the cdn too https://git.io/Jfqgq 13:58:10 <FLHerne> But personally I dislike transparency in UI anyway 13:58:41 <TrueBrain> okay, I guess that means it is time to flip the switch ... I am scared :P 14:00:08 *** syr has left #openttd 14:01:58 <TrueBrain> guess we should merge the news post about it first .. 14:02:05 <TrueBrain> WTB: an approval :D 14:06:05 <DorpsGek_III> [OpenTTD/website] TrueBrain commented on pull request #157: Include final URL https://git.io/Jfqgi 14:10:45 *** sla_ro|master has quit IRC 14:12:17 <Samu> my rotate right is always returning -1, I'm doing something wrong 14:21:44 <Samu> btw why am I getting negative numbers? 14:24:40 <glx> -1 is 0xFFFF so all bits are set 14:25:24 *** Wormnest_ has joined #openttd 14:34:14 <Samu> how do i make 0 - 1 = 4294967295 in squirrel? 14:35:22 <FLHerne> Samu: Squirrel doesn't have unsigned integers 14:38:49 *** Yexo has joined #openttd 14:38:49 *** ChanServ sets mode: +o Yexo 14:47:02 *** Yexo has quit IRC 14:47:20 <Samu> I'm trying to implement the randomizer in squirrel, but i was hoping it to use unsigned integers, I think i managed it somehow 14:47:46 <Samu> this.state[0] = (s + ROR(t ^ 0x1234567F, 7) + 1) & 0xFFFFFFFF; 14:49:02 <LordAro> that's way too low level 14:49:14 <LordAro> just use rand() 14:49:46 <Samu> I need it to be randomizing equally on multiple instances of the same ai 14:50:04 <LordAro> do you really? 14:50:08 <Samu> so, not really random 14:50:43 <Samu> just behave randomlishy 14:51:04 <glx> but if all instance use the same random, it's no longer random 14:53:06 <glx> really just use AIBase.Rand() 14:53:09 <Samu> the AI "randomly" picks 2 locations and tries to connect them 14:53:37 <Samu> i want the 2nd instance of the same AI to also do the same, on the exact locations that the 1st instance tried 14:53:44 <LordAro> why? 14:53:52 <LordAro> that would just mean they're competing with each other 14:53:56 <Samu> going to compare pathfinding speed 14:54:13 <glx> use a scenario and fixed location then 14:54:27 <LordAro> consider the possibility that in a real game you might have 2 instances of your AI running at the same time 14:54:29 <glx> no need to implement a fake random 14:54:33 <LordAro> what you're trying to test here is 2 separate games 14:59:41 <milek7> srand(0); rand(); 14:59:49 <milek7> i think squirrel stdlib does have rand? 15:00:04 <LordAro> http://www.squirrel-lang.org/doc/sqstdlib2.html#d0e1519 yup 15:02:43 *** sla_ro|master has joined #openttd 15:02:49 *** rotterdxm has joined #openttd 15:05:26 <DorpsGek_III> [OpenTTD/OpenTTD] giordy commented on issue #7611: Accident/disaster news not always showing https://git.io/fj0cI 15:20:25 <DorpsGek_III> [OpenTTD/OpenTTD] embeddedt commented on issue #7611: Accident/disaster news not always showing https://git.io/fj0cI 15:26:46 <mcbanhas> FLHerne, I see. I do like a little transparency, sorta like how they did in OpenRCT2. It makes the GUI a bit more lightweight on some elements. 15:27:15 <mcbanhas> And it's always nice to let the player customize that. 15:29:16 <mcbanhas> https://github.com/OpenTTD/OpenTTD/issues/8094 You take elements like what's being suggested here, apply some transparency, and they become a lot less obstructive. 15:35:09 <rotterdxm> i am very much in favor of this 15:35:21 <rotterdxm> JGR has something like that already but it´s just yellow box w/ text 15:36:46 <mcbanhas> Yeah I think RCT2/Locomotion has a similar feature. 15:50:11 <DorpsGek_III> [OpenTTD/nml] FLHerne commented on issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 15:50:21 <FLHerne> peter1138: ^ 16:01:50 <Samu> rand() does not exist 16:01:57 <Samu> the squirrel one 16:02:13 <LordAro> math.rand() 16:02:15 <LordAro> read the documentation 16:04:40 <nielsm> the word "math" does not occur in the squirrel 2 documentation 16:04:53 <LordAro> because it's in the stdlib, not the language 16:06:04 <Samu> the index "math" does not exist 16:06:27 <peter1138> Cos the word is maths ;D 16:07:28 <LordAro> src/3rdparty/squirrel/sqstdlib/sqstdmath.cpp:static SQInteger math_rand(HSQUIRRELVM v) 16:07:31 <LordAro> well it's definitely there. 16:08:19 <DorpsGek_III> [OpenTTD/OpenTTD] EgyLynx commented on issue #8083: Add currency Unit - Indian Rupee https://git.io/Jvjtc 16:08:24 <peter1138> LordAro, shall I play games or ride bike? 16:08:36 <DorpsGek_III> [OpenTTD/nml] PeterN commented on issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 16:08:48 <LordAro> peter1138: have you done your daily exercise yet today? 16:08:52 <LordAro> if not, then bike :p 16:08:58 <peter1138> I... went up the stairs a few times... 16:09:28 <LordAro> ah right, math.{s,}rand are guarded by EXPORT_DEFAULT_SQUIRREL_FUNCTIONS 16:09:29 <peter1138> Hmm, road or trail. 16:09:31 <LordAro> which is not defined. 16:09:43 <peter1138> Road, trail, or chair hehe 16:10:29 <LordAro> probably why AIBase.Rand exists 16:10:59 <TrueBrain> any chance any of you wants to review either (or both) https://github.com/OpenTTD/website/pull/158 / https://github.com/OpenTTD/binaries-redirect/pull/3 ? :) 16:12:00 <LordAro> TrueBrain: redirect - why not just make it a "if anything else, redirect to cdn root ? 16:12:15 <LordAro> s/ \?/" ?/ 16:12:17 <TrueBrain> because I don't like those kind of wildcards; what good does it do? 16:12:28 <LordAro> fewer 404s 16:12:38 <TrueBrain> and people not realising they have the wrong URL 16:12:42 <LordAro> true 16:12:46 <DorpsGek_III> [OpenTTD/binaries-redirect] LordAro approved pull request #3: Add: redirect / to the cdn too https://git.io/JfqoD 16:12:47 <TrueBrain> I rather deal with 404s, which I can monitor, and see if something odd is happening 16:12:58 <TrueBrain> I also don't like certificate wildcards btw :P 16:13:36 <DorpsGek_III> [OpenTTD/binaries-redirect] TrueBrain merged pull request #3: Add: redirect / to the cdn too https://git.io/Jfqgq 16:13:56 <DorpsGek_III> [OpenTTD/website] LordAro commented on pull request #158: Create 2020-04-27-new-bananas.md https://git.io/JfqoQ 16:14:32 <DorpsGek_III> [OpenTTD/website] TrueBrain updated pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqn4 16:14:39 <DorpsGek_III> [OpenTTD/nml] glx22 commented on issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 16:14:50 <TrueBrain> I like the "commit suggestion" thingy :D 16:18:47 *** sla_ro|master has quit IRC 16:19:01 *** sla_ro|master has joined #openttd 16:19:01 <LordAro> TrueBrain: as long as you don't care about the commit history :p 16:19:09 <TrueBrain> squash ftw! 16:19:21 <DorpsGek_III> [OpenTTD/website] LordAro commented on pull request #158: Create 2020-04-27-new-bananas.md https://git.io/JfqKJ 16:19:35 <DorpsGek_III> [OpenTTD/website] TrueBrain updated pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqn4 16:19:48 *** andythenorth_ has joined #openttd 16:19:57 <DorpsGek_III> [OpenTTD/website] LordAro approved pull request #158: Create 2020-04-27-new-bananas.md https://git.io/JfqKL 16:20:14 <DorpsGek_III> [OpenTTD/binaries-redirect] TrueBrain created new tag: 1.0.1 https://git.io/JfqKt 16:20:20 <TrueBrain> tnx LordAro :) 16:22:41 <DorpsGek_III> [OpenTTD/website] TrueBrain merged pull request #158: Create 2020-04-27-new-bananas.md https://git.io/Jfqn4 16:28:38 *** andythenorth has joined #openttd 16:28:44 <TrueBrain> wb andythenorth 16:28:46 <TrueBrain> survived your day? 16:29:28 <andythenorth> survivable 16:30:42 <FLHerne> peter1138: Thanks. But if they're shared, why does the map store 6 bits each? 16:31:03 <peter1138> Becuase you can have both on a tile 16:31:16 <FLHerne> Oh, and there can be more than 32 of either one 16:31:50 <FLHerne> Other way - if the map stores them orthogonally, why is there a shared limit? :P 16:32:02 *** andythenorth_ has quit IRC 16:32:10 <FLHerne> (besides "no-one wants 128 different categories of road vehicle") 16:32:34 <peter1138> Because they're both road types 16:32:48 <peter1138> Basically it makes lots of things much simpler 16:33:38 <FLHerne> Hm 16:34:07 <peter1138> There was originally a shed load of code to differentiate them 16:34:18 <FLHerne> Do roadtype and tramtype labels also share a namespace? 16:34:24 <peter1138> But it made loads of things way overcomplicated. 16:34:25 <peter1138> Yes. 16:34:43 <FLHerne> The NFO docs are wrong too, then :P 16:34:55 <glx> FLHerne: saw the code segment I linked ? 16:35:01 <peter1138> Wouldn't surprise me 16:35:13 <FLHerne> "Note that labels are not shared between features, so the same label can be used for multiple items. For example, the label "RAIL" can be used for a railtype, roadtype, tramtype, and cargotype simultaneously without conflict." 16:36:05 <peter1138> Fix it then :p 16:36:19 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #9: Fix: use a deterministic way to set a content-id https://git.io/JfqKH 16:36:21 *** Flygon has quit IRC 16:36:31 <andythenorth> per the GH issue, the nfo docs are wrong OBIWAN 16:36:39 <TrueBrain> and hopefully the last patch before going live .. this patch allows me to scale the server up, which is going to be needed :D 16:36:57 <FLHerne> That makes it not a trivial NML fix, then :P 16:37:19 <andythenorth> hmm 16:37:26 <andythenorth> there's always another thing :) 16:37:36 <TrueBrain> LordAro: I would appreciate it if you could check my sanity, and that this is a valid way to make deterministic ids :D 16:39:10 <LordAro> https://docs.python.org/3.8/library/uuid.html perhaps? 16:39:27 <Eddi|zuHause> FLHerne: nml can probably use "RAIL" (in quotes) but not RAIL (without quotes) as label multiple times 16:40:00 <TrueBrain> LordAro: I meant in relation to my PR. But no, uuid doesnt solve anything. I need it to be deterministic, not random :) 16:40:04 <Eddi|zuHause> as without quotes it is also an Identifier, which cannot be reused 16:40:25 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 commented on pull request #16: Format the elements in the page header https://git.io/Jfq6J 16:40:25 <DorpsGek_III> [OpenTTD/bananas-frontend-web] auge8472 closed pull request #16: Format the elements in the page header https://git.io/JfIW0 16:41:48 <LordAro> TrueBrain: idk, i'd have to actually spend time working out what what it's doing :p 16:42:06 <TrueBrain> I understand .. I can talk you through it, if that helps 16:42:09 <TrueBrain> but I hope my comments would 16:42:23 <TrueBrain> nothing else code-wise is related btw; this is very much on its own 16:43:19 <Eddi|zuHause> TrueBrain: i don't know the context, but if you want deterministic, you're looking at (cryptographic) hash functions 16:43:28 <TrueBrain> so .. check the PR :P 16:45:02 <TrueBrain> basically, I have 32bits. So I took the last 24bits from the md5sum, which currently has no collisions. But to be prepared, I added a counter, by sorting any collision based on their upload date 16:45:12 <FLHerne> Eddi|zuHause: What's the distinction supposed to be? 16:45:19 <TrueBrain> so if you are the 4th collision, your number is (4 << 24) + md5sum[-3:] 16:45:22 <FLHerne> I thought that was just a syntax limitation 16:45:28 <TrueBrain> well, 3 << 24, but who is counting 16:45:55 *** gelignite has joined #openttd 16:46:15 <TrueBrain> so if you know the md5sum, you can guess the content-id, which is fine, because we tell you the content-id when we tell you the md5sum :P 16:46:25 <Eddi|zuHause> i don't think md5 counts as a cryptographic hash function anymore :p 16:46:39 <TrueBrain> it very much still is a crypto hash function .. it will never lose that state 16:46:42 <TrueBrain> it is not a safe one, sure 16:46:48 <TrueBrain> but RC4 is also still a crypto function :) 16:47:18 <milek7> you can't just take whole md5 as contentid? 16:47:21 <TrueBrain> I am not looking to be crypto-secure here; I am looking for a way to have deterministic content-ids over multiple runs :) 16:47:34 <TrueBrain> I hate repating myself, but "basically, I have 32bits." 16:47:37 <TrueBrain> I started with that ;) 16:47:53 <Eddi|zuHause> FLHerne: the easiest definition of "cryptographic hash function" is that small differences in input data lead to unpredictable changes in the output data 16:48:19 <FLHerne> Eddi|zuHause: I meant between RAIL and "RAIL" ? 16:48:45 <FLHerne> I know about hash functions, fwiw ;-) 16:49:03 <Eddi|zuHause> "RAIL" is a 4-letter string, RAIL is an identifier, which in addition to being used for the "RAIL" label gets mapped to the position in the translation table 16:49:16 *** Progman has joined #openttd 16:50:02 <TrueBrain> okay, looking this over, this should be fine. content-id is stable, and without knowing the md5sum, unknown 16:50:05 <TrueBrain> perfect :) 16:50:30 <TrueBrain> md5 collisions are prevented by the API, so we should be good 16:51:25 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain updated pull request #9: Fix: use a deterministic way to set a content-id https://git.io/JfqKH 16:51:43 <FLHerne> Eddi|zuHause: Where does that apply? In NML's roadtype table code, identifiers are converted to StringLiterals immediately 16:52:12 <FLHerne> There's no difference in how they're handled 16:52:13 <Eddi|zuHause> FLHerne: the RAIL identifier can be used in switches and properties, that take a table index 16:54:08 *** frosch123 has joined #openttd 16:55:33 <milek7> maybe take 32bit from md5, and xor with counter? 16:55:38 <milek7> iterating 24bit is doable 16:55:39 <FLHerne> Which is also true of `railtype("3RDR")` or so, no? 16:56:15 <FLHerne> I still don't see where there's any semantic difference 16:57:03 <FLHerne> Eddi|zuHause: ^ 16:57:11 <Eddi|zuHause> yes, it's basically a shortcut 16:57:17 <milek7> but then counter could collide.. so no 16:58:09 <FLHerne> Eddi|zuHause: So why > nml can probably use "RAIL" (in quotes) but not RAIL (without quotes) as label multiple times ? 16:58:17 <TrueBrain> milek7: honestly, I am more interesting if my current solution works, instead of seeing if there are other solutions ;) Pretty sure there are plenty, but if this works, it works :) 16:58:35 <FLHerne> Internally, they do exactly the same thing, unless I've missed something 16:59:30 <milek7> what happens when more than 2^8 24-bit-part collisions? 17:00:13 <TrueBrain> I buy everyone cake 17:00:34 <TrueBrain> some cosmic event has hit the rays at the exact right spot, and I should have bought a lottery ticket as I would be rich 17:01:09 <Eddi|zuHause> FLHerne: when you define a railtype translation table, and use RAIL, then it creates a RAIL identifier, which evaluates to the position in the RTT, if you then define a tramtype translation table, and try to use the RAIL label there, it tries to create another RAIL identifier, which it cannot, because it already exists 17:01:41 <FLHerne> Eddi|zuHause: Oh, I see 17:01:49 <Eddi|zuHause> and that second RAIL identifier could potentially require you to evaluate to a different position 17:02:06 <FLHerne> That's actually a completely different issue to the one we have :P 17:03:01 <FLHerne> Well, not quite, it makes it less bad 17:03:03 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain updated pull request #9: Fix: use a deterministic way to set a content-id https://git.io/JfqKH 17:03:16 <TrueBrain> but okay milek7 , it now crashes if that happens. Just to let everyone know when I have to buy cake. 17:04:20 <FLHerne> NML *will* let you use "BLAH" for both roadtype and tramtype, despite those actually conflicting 17:04:51 <FLHerne> ...except it won't, because andy forgot to add the `roadtype()` and `tramtype()` builtins, so you can't use them :P 17:05:06 <FLHerne> So it has to be an identifier, and those conflict 17:05:16 <Eddi|zuHause> that's probably a faulty specification because of how it went back and forth between tramtypes being something completely different or being mashed into roadtypes 17:05:19 <FLHerne> andythenorth: Well planned 17:05:49 <FLHerne> Eddi|zuHause: Yes - all of the NFO docs, NML docs and NML implementation are wrong 17:07:59 <FLHerne> Hm, I think it can actually be used wrong atm 17:13:41 <TrueBrain> frosch123: I build a Python script to do the conversion :) 17:14:57 <andythenorth> FLHerne the existence of so many NRT grfs suggest it works despite the poor patch :( 17:14:59 <andythenorth> oof 17:15:12 * andythenorth will be back shortly, beer has run out 17:16:16 <DorpsGek_III> [OpenTTD/bananas-server] frosch123 approved pull request #9: Fix: use a deterministic way to set a content-id https://git.io/Jfqip 17:16:26 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #9: Fix: use a deterministic way to set a content-id https://git.io/JfqKH 17:17:01 <FLHerne> In global_constants: `railtype_table = {'RAIL': 0, 'ELRL': 1, 'MONO': 1, 'MGLV': 2}` 17:17:20 <frosch123> TrueBrain: did you publish that script? 17:17:26 <TrueBrain> see your PM 17:18:32 <frosch123> usually notifications work 17:18:35 <frosch123> not this time? 17:18:50 <TrueBrain> you are asking us about your own IRC client? :P 17:19:29 <frosch123> yeah, notification did not work... 17:19:44 <glx> FLHerne: I think the major issue is the distinction between roadtype an tramtype in nml while in nfo they are the same thing 17:20:46 <TrueBrain> frosch123: my suggestion with that script is that we make PRs out of these changes 17:20:50 <TrueBrain> not that we cannot self-approve 17:20:58 <TrueBrain> but just because it makes the risk on fucking up lower :P 17:21:25 <DorpsGek_III> [OpenTTD/OpenTTD] sheepo99 commented on pull request #7786: Add: Help and manuals window https://git.io/JfqPq 17:21:51 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.1 https://git.io/JfqP3 17:22:08 <TrueBrain> okay, after this is live, I will scale that server up with 1 .. and after that, time to change some DNS settings :D 17:22:39 <TrueBrain> just over 2 months of hard work leading up to this moment .. PAM PAM PAMMMMMMMMM 17:23:47 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain commented on issue #8: Content-id are not deterministic over runs https://git.io/Jft1F 17:23:47 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain closed issue #8: Content-id are not deterministic over runs https://git.io/Jft1F 17:24:56 *** andythenorth has quit IRC 17:25:09 <Samu> new record! 17:25:20 <Samu> 174 ticks! 17:25:27 <frosch123> TrueBrain: you remove the openttd name. why not keep it? 17:25:29 <Samu> but requires 8091 17:25:33 <Samu> pr #8091 17:25:38 <TrueBrain> frosch123: is it useful to keep? 17:25:50 <TrueBrain> and because this was easier to script :D 17:26:40 <TrueBrain> I simply did not consider it useful, tbh .. keeping things for the keep .. meh. It is always in the git history, was my reasoning 17:26:45 <TrueBrain> but I am not married to either one :) 17:26:56 <frosch123> i guess one can grep r1 17:27:06 <Samu> unless im doing this wrong 17:27:10 <Samu> this is a new record 17:27:32 <frosch123> anyway, your push is missing a that branch option, that i can't remember, any always c&p from the git error message 17:27:48 <frosch123> but, i guess, that's get fixed on first usage :) 17:28:07 <TrueBrain> no, that was the intention :) 17:28:11 <TrueBrain> git throws an error 17:28:13 <TrueBrain> you copy/paste that 17:28:16 <TrueBrain> and it pushes it :P 17:28:21 <TrueBrain> I hate when scripts push shit for me 17:28:27 <TrueBrain> this was the cheapskate way of showing what to do :P 17:28:33 <frosch123> haha :) 17:28:39 <TrueBrain> I always depend on that error 17:28:41 <TrueBrain> I cannot remember it 17:28:43 *** andythenorth has joined #openttd 17:28:50 <TrueBrain> and because I copy the spaces in front of it, it also never hits my bash-history 17:29:37 <TrueBrain> okay, scaling up bananas-server .. I tested what I could 17:29:47 <TrueBrain> I have backups 17:29:54 <TrueBrain> what could possibly go wrong, right? :D 17:30:05 * Xaroth grabs a bag of popcorn 17:30:21 <TrueBrain> I liked you more when you weren't active on IRC 17:30:30 <Xaroth> Love you too. 17:30:32 <TrueBrain> <3 17:30:46 <Xaroth> And you would've done the same :P 17:30:52 <TrueBrain> yup :D 17:30:59 <TrueBrain> in fact, I am doing the same 17:31:02 <TrueBrain> as .. what else is there 17:31:09 <TrueBrain> DNS TTL is 60 seconds, so meh 17:32:36 <Wolf01> Hmm, I can't understand which one of the n-hundred piece of electronics is hissing in my room 17:33:01 <Wolf01> It seem to be... everywhere 17:33:44 <frosch123> maybe it's an insect 17:34:55 <TrueBrain> okay .. there goes the DNS ... 17:35:51 <Samu> ah rats, it was too good to be true after all, I was doing this bad 17:36:07 <Wolf01> It could be the phone charger, I know it does that, but not when I get near :E 17:36:21 <TrueBrain> lol .. and that moment you make a typo in the DNS entry 17:36:22 <TrueBrain> oops 17:36:33 <TrueBrain> happy with the 60 TTL :D 17:37:17 <TrueBrain> k .. ingame and https://bananas.openttd.org/ should be switched now 17:37:32 <TrueBrain> binaries not yet; I will give it some time for people to stop using it, before we start to redirect it :) 17:37:41 <FLHerne> peter1138: Sorry, I'm confused again :-/ 17:38:22 <FLHerne> "Do road and tramtype labels also share a namespace" -> <peter1138> Yes. 17:38:30 <TrueBrain> oops ... healthcheck killed the server .. hmm .. oops :D 17:38:39 *** mcbanhas_ has joined #openttd 17:39:01 <frosch123> FLHerne: no, they do not. but you cannot define a roadtype and a tramtype with the same label 17:39:24 <DorpsGek_III> [OpenTTD/website] TrueBrain created new tag: 1.3.8 https://git.io/JfqXU 17:39:51 <FLHerne> But there are separate properties to set railtype and tramtype tables, and to test whether a label is defined 17:40:32 <frosch123> FLHerne: from the spec point, they are entirely separate. just peter considered it to complicated, and deleted the implementation that separated them 17:40:41 <frosch123> FLHerne: so, just assume they are separate 17:41:05 <FLHerne> So will Act7 condition 12 "Tramtype label is defined" evaluate as true if the corresponding roadtype label is set? 17:41:11 <frosch123> no 17:41:12 <DorpsGek_III> [OpenTTD/OpenTTD] nielsmh commented on pull request #7786: Add: Help and manuals window https://git.io/JfqXm 17:41:33 <FLHerne> frosch123: "but you cannot define a roadtype and a tramtype with the same label" ok, so what happens if you do? 17:41:39 *** iSoSyS has joined #openttd 17:41:46 <frosch123> the grf probably gets disabled 17:41:55 <frosch123> no idea 17:41:58 <frosch123> just guessing 17:42:19 <TrueBrain> oops, container is out of memory .. let me fix that quick :) 17:42:20 <glx> tramtype and roadtype are merged in openttd anyway 17:42:49 <nielsm> https://github.com/OpenTTD/OpenTTD/issues/8083#issuecomment-620082031 <-- can anyone translate? 17:42:49 <frosch123> glx: that is a shitty implementation detail 17:42:59 <FLHerne> glx: But clearly they aren't actually fully merged, because arbitrary bits of the NFO spec treat them separately 17:44:30 <frosch123> FLHerne: again, assume everything treats them separately 17:44:52 *** mcbanhas has quit IRC 17:45:34 <FLHerne> frosch123: Except they aren't, because of the shared set of labels and ID count... 17:45:40 <Samu> 183 ticks, it's still 1 tick less than the previous record 17:45:57 <frosch123> FLHerne: in case you didn't notice. i quit ottd dev because of the shittiness of the nrt implementation 17:46:14 <FLHerne> I think I missed that 17:46:24 <frosch123> FLHerne: so, implement nml according to the intention of the spec. not according to whatever hacks the implementation does 17:46:38 <FLHerne> Anyway, it exists, so nmlc shouldn't let you define broken grfs 17:46:53 <frosch123> no, you are reinforcing bugs, never do that 17:47:09 <Eddi|zuHause> i'm leaning towards frosch123's opinion. the spec wins. if openttd doesn't implement the specs, it needs to be fixed 17:47:56 <Eddi|zuHause> it doesn't help that the half-assed specs were written by the same people that attempted the implementation 17:48:20 <FLHerne> Ok 17:48:34 <FLHerne> So...just bump the limit to 64 of either 17:48:41 <glx> I can see 2 mapping tables of 64 elements anyway 17:48:42 <frosch123> 63 :) 17:49:10 <glx> yeah 63 17:49:32 <FLHerne> And when someone makes a grf with 64 of both, and OTTD rejects it, tell them the spec says that and OTTD is broken 17:49:48 <frosch123> TrueBrain: what magic is that "read more" thing :o 17:50:02 <TrueBrain> we wrote that in for montlhy posts 17:50:27 <FLHerne> frosch123: Should that also apply to railtypes? 17:50:36 <frosch123> lol, i din't notice, i guess i read the news from the vcs 17:50:44 <FLHerne> It looks like currently NML allows a range of 0..63 17:50:48 <glx> railtypes is an old feature 17:50:51 <FLHerne> Which is 64 17:50:57 <frosch123> FLHerne: no, 64 railtypes 17:51:14 <FLHerne> So why do roadtypes specifically have one less? 17:51:14 <frosch123> roadtypes have one less to indicate "no road"/"no tram" in the maparray 17:51:24 <FLHerne> Oh, right 17:51:31 <FLHerne> So is that 0, or 63? 17:51:31 <frosch123> this case does not exist for railtypes, since there are no rail tiles without rail 17:51:52 <TrueBrain> hmm .. pods are still running the memory limit 17:51:53 <TrueBrain> lol 17:51:54 <frosch123> FLHerne: grf ids start at 0, ottd concatenates all newgrf ids into a global range 17:51:55 <TrueBrain> that was rather unexpected tbh 17:51:57 <FLHerne> Oh, doesn't matter, OTTD does it 17:52:05 <Eddi|zuHause> well, there's non-track-station-tiles, that actually are a giant hack and do have a track anyway :p 17:53:21 <frosch123> aw, all my old bookmarks with the /en/ are broken :p 17:54:31 <TrueBrain> haha, you never wrote redirects for those? 17:54:34 <TrueBrain> tssk :) 17:55:08 <frosch123> most endpoints do not match 17:55:31 <frosch123> i think i tried to match /manager/tos, in case it was linked somewhere 17:56:15 <TrueBrain> okay, I see why the pods run out of memory .. they fetch the whole file from S3 .. I was hoping it was streaming it a bit more 17:56:20 <TrueBrain> so when ever someone downloads a huge file, it crashes :P 17:57:56 <TrueBrain> anyway, all DNS entries are changed .. so we will see if we forgot anything :D 18:00:48 <frosch123> ow... i just noticed how silly "only for savegames" is for scenarios/heightmaps... 18:01:00 <TrueBrain> yeah, sorry, my mistake 18:01:05 <TrueBrain> you had "Not Available" 18:01:12 <TrueBrain> which annoyed me 18:01:23 <TrueBrain> so I replaced it with "Ingame only" and "only for savegames" 18:01:30 <TrueBrain> but didn't consider scenarions / heightmaps :D 18:01:32 <frosch123> well, "savegames-only" and "new-games" is as pointless :) 18:01:36 <TrueBrain> fair 18:01:40 <andythenorth> what did I miss 18:01:46 <TrueBrain> the world exploded 18:01:47 <TrueBrain> but it is okay 18:01:48 <Xaroth> everything 18:01:55 <frosch123> andythenorth: we switched universe 18:01:55 * andythenorth was away-from-brain 18:02:05 <andythenorth> is NRT de-merged then? 18:02:25 <TrueBrain> okay, bananas-server is now up to 512 MB RAM (reservation-wise) 18:02:26 <frosch123> we have a better bananas, but unfortunetely there is a global pandemy instead 18:02:28 <TrueBrain> that seems to be more stable 18:02:39 <frosch123> we are lucky are noone remembers the other universe 18:03:13 <andythenorth> there's a new bananas? :o 18:03:16 <andythenorth> is the UI better? 18:03:33 <frosch123> it got older and wider 18:03:42 <andythenorth> widererer 18:04:45 <Xaroth> weirder ? 18:04:59 <andythenorth> what does reddit think of it? 18:05:08 <TrueBrain> no crashes for 5 minutes, this is getting somewhere :) 18:05:48 <andythenorth> table top OpenTTD https://i.redd.it/5yj3tjy6pcv41.png 18:06:17 <frosch123> can the ships reach the other side? 18:06:51 <frosch123> hmm, or is that wetrail? 18:07:32 <frosch123> nah, only looked like that when zoomed out :p 18:07:58 <andythenorth> needs a ship tunnel 18:09:05 <TrueBrain> ~0.5 mbit/s of traffic I pulled towards AWS 18:09:07 <TrueBrain> seems fine 18:09:15 <TrueBrain> how do I check that the ingame content download uses the HTTP? 18:09:17 <TrueBrain> any easy way? 18:09:22 <frosch123> anyway, i am still unsure about tb's newspost... "make a ticket in the correct repository, and we will look into it." <- is that trolling? 18:10:27 <TrueBrain> you think people are not competent enough? :) 18:10:38 <TrueBrain> (and yes, that post is full of trolls :P) 18:11:09 <TrueBrain> we might want to point to a specific repo for bugs surrounding BaNaNaS, tbh :) 18:11:16 <TrueBrain> and let us move it to the correct repo 18:12:15 <frosch123> maybe -d net=7 shows something 18:13:12 <milek7> it prints error if http failed 18:13:25 <TrueBrain> dbg: [net] [tcp/http] downloading 35522 bytes 18:13:29 <TrueBrain> if that comment is not a lie .. 18:13:46 <frosch123> i looked into the source first :) 18:13:51 <frosch123> looks like it works :) 18:14:03 <TrueBrain> funny, OpenTTD now connects to 3 different IPs to get content :) 18:14:12 <TrueBrain> I am happy AWS just assigns them :P 18:14:32 <TrueBrain> k, redeploying main website, to reduce its memory reservation :D 18:17:36 <frosch123> hmm, we have no dorpsgek.yml in bananas 18:18:19 <TrueBrain> no, I was not sure we would want that 18:18:22 <TrueBrain> feel free to make a PR :) 18:18:32 <frosch123> https://github.com/OpenTTD/BaNaNaS/pull/1 18:18:33 <TrueBrain> we have no favicon in frontend-web, it seems 18:18:42 <frosch123> andy added one 18:18:48 <frosch123> is it broken? 18:18:55 <TrueBrain> I get 404s on it 18:18:57 <frosch123> it works for me 18:19:06 <frosch123> i am on ipv4, if that matters 18:19:12 <TrueBrain> GET /favicon.ico HTTP/1.1[0m" 404 - 18:19:29 <TrueBrain> IPv4, IPv6, it all ends up in the same container :) 18:19:35 <frosch123> TrueBrain: clear your cash 18:19:42 <TrueBrain> I am reading logs :) 18:19:43 <frosch123> the url is /static/favicon.ico 18:19:50 <TrueBrain> ah, yeah, that never works 18:20:02 <TrueBrain> when people hit the 404 18:20:06 <TrueBrain> it tries /favicon.ico 18:20:07 <TrueBrain> :) 18:20:18 <TrueBrain> I am not sure I like my own commit message btw frosch123 :) 18:20:38 <TrueBrain> well, approved anyway :) 18:20:41 <frosch123> sounds like something for the wishlish, when we have nginx in front of it 18:21:30 <TrueBrain> yeah, we should still do something with all that 18:21:34 <frosch123> how long does it take to take effect? 18:21:54 <TrueBrain> your PR? How ever long the GitHub Action takes 18:21:57 <frosch123> does it reload everything, so 2 minutes block? 18:22:23 <TrueBrain> yes 18:22:26 <TrueBrain> and a backtrace :) 18:22:32 <frosch123> :) 18:22:47 <TrueBrain> so this is weird .. it does a 'git fetch' and a checkout of HEAD 18:22:51 <TrueBrain> and it says: cannot find ref 18:22:51 <TrueBrain> .. 18:22:53 <TrueBrain> righhttt 18:23:44 <TrueBrain> looking at the amount of 404s, a redirect from /en/newgrf to /newgrf would be a good idea 18:23:47 <TrueBrain> owh well :D 18:24:06 <LordAro> why not /en/* to /* ? 18:24:32 <TrueBrain> go for it 18:25:02 *** andythenorth has quit IRC 18:25:14 <TrueBrain> takes 3 minutes to fetch an update from GitHub, according to this pod 18:25:15 <TrueBrain> wth 18:25:21 <TrueBrain> the initial fetch slow, sure 18:25:26 <TrueBrain> but every after .. should not be that slow 18:25:42 *** Gustavo6046 has joined #openttd 18:26:18 <TrueBrain> owh, no, this was a new pod that was created because it took too long 18:26:19 <TrueBrain> lolz 18:26:29 <TrueBrain> the reload mecanism is .. not really okay :P 18:26:54 <frosch123> haha, is there a limit of the number of pods? 18:27:05 <TrueBrain> how do you mean? 18:27:34 <frosch123> when a new pod starts because the previous one took too long to start 18:28:06 <TrueBrain> no, starting is working fine now (just takes 3+ minutes) 18:28:16 <TrueBrain> the reload took such a long time, the pod was killed before it could finish 18:29:01 *** andythenorth has joined #openttd 18:29:43 <FLHerne> frosch123: If we're being really pedantic about the spec, it says there can be 64 roadtypes :P 18:30:07 <FLHerne> So should we *be* that pedantic, or go with 63? 18:30:30 <frosch123> FLHerne: sadly ttdp no longer exists. we always made a majority decision between ottd, ttdp and specs :) 18:30:41 <frosch123> FLHerne: 63 18:31:40 <andythenorth> where is the spec now? o_O 18:31:56 <frosch123> is it gone? 18:32:05 <andythenorth> I only know of one spec, and it's marked as outdated https://wiki.openttd.org/Frosch/NotRoadTypes 18:32:09 <andythenorth> :P 18:32:12 <TrueBrain> WARNING socket.send() raised exception. <- tnx for spamming, socket 18:32:39 <FLHerne> andythenorth: https://newgrf-specs.tt-wiki.net/wiki/Action0/Roadtypes 18:32:51 <andythenorth> yes there's that one, but it appears to be wrong 18:33:36 <andythenorth> it's nice though that we label the 'spec' the thing that was retrospectively constructed from 'what have we built here' 18:34:02 <andythenorth> maybe we should have RFC bureaucracy and comittees? :) 18:34:50 <DorpsGek_III> [OpenTTD/OpenTTD] sheepo99 commented on pull request #7786: Add: Help and manuals window https://git.io/JfqMB 18:36:06 <frosch123> andythenorth: i changed 6 numbers in the spec, can you find more palces? 18:37:11 <andythenorth> frosch123 yes, I'll change them, thanks 18:37:39 <andythenorth> searching '64' won't work though :| 18:37:52 <frosch123> TrueBrain: https://github.com/OpenTTD/BaNaNaS/pull/2 <- next test case is ready, when needed 18:38:23 <TrueBrain> give me a few to clean up some errors, and to see if I can figure out why reloads fail :) 18:38:28 <peter1138> Oh well. 18:38:40 <peter1138> I see I fucked everything up. 18:38:50 *** peter1138 has left #openttd 18:39:35 *** spnda has joined #openttd 18:39:52 <DorpsGek_III> [OpenTTD/nml] FLHerne opened pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqMK 18:39:59 <FLHerne> ^ does that sum it up? 18:40:09 <spnda> Uh, I just got a email about https://github.com/OpenTTD/BaNaNaS/pull/2. I can also review it. Is this some permission error? 18:40:48 <andythenorth> frosch123 can't find any more 18:41:16 <frosch123> spnda: you can review it, but it should not matter 18:41:20 <andythenorth> 'I fucked everything up' is my default position 18:41:23 <andythenorth> come back peter :P 18:41:34 <andythenorth> it's software, of course it's fucked up :) 18:41:51 <spnda> frosch123: Well, this is what the email says: You can view, comment on, or merge this pull request online at: 18:41:53 <frosch123> spnda: i think you can review all prs on all repos, you just cannot merge 18:42:23 <frosch123> spnda: i guess it's the same text for everyone 18:42:46 <frosch123> spnda: but please, try to press merge :) 18:43:08 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqM9 18:43:19 <spnda> It needs an approving review first, should I just try it out? 18:43:33 <frosch123> sure 18:43:34 <andythenorth> oh that's the PR not the ticket sorry :P 18:43:46 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 18:44:24 <spnda> oh yeah, the review doesn't count as an approving review. 18:44:38 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqMb 18:45:45 <DorpsGek_III> [OpenTTD/nml] FLHerne commented on pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqMx 18:46:05 <DorpsGek_III> [OpenTTD/nml] frosch123 approved pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqDe 18:47:37 <andythenorth> nielsm FWIW I enjoy this https://user-images.githubusercontent.com/1062071/67160830-0ac58f80-f355-11e9-8078-aeed926ccb92.png 18:47:44 <andythenorth> it's bizarrely retro 18:49:49 <nielsm> I definitely did make that layout thinking of 90's game menus 18:50:22 <DorpsGek_III> [OpenTTD/nml] andythenorth merged pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqMK 18:51:01 <DorpsGek_III> [OpenTTD/nml] andythenorth commented on issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 18:51:01 <DorpsGek_III> [OpenTTD/nml] andythenorth closed issue #109: Roadtypes and Tramtypes size is 63 not 15 or 64 https://git.io/JfqYj 18:51:01 *** heffer has quit IRC 18:51:15 <FLHerne> andythenorth: I think we should have waited for peter's opinion there 18:51:20 <TrueBrain> okay, the reload fails because git decides to do a gc action, and gitpython doesn't understand that .. 18:51:33 * _dp_ wish someone would actually think of 20's UI design instead 18:51:58 <andythenorth> FLHerne he already said they're shared though? :) 18:52:06 <andythenorth> _dp_ 1920s? 18:52:47 <nielsm> more steampunk 18:53:07 <_dp_> andythenorth, 2120s :p 18:53:07 <FLHerne> andythenorth: Yes, but currently we're ignoring that 18:53:33 <andythenorth> _dp_ https://designrshub-designrshub.netdna-ssl.com/wp-content/uploads/2013/01/retro_user_interface_templates7.jpg 18:53:50 <FLHerne> i.e. nml will now let you produce grfs that OTTD won't load, until someone fixes one or the other 18:54:09 <andythenorth> What is 20's style UI design anyway? We're waiting for the flat fad to disappear. 18:54:34 <andythenorth> Most UI design is currently low density, not sure OpenTTD works with that 18:54:53 <frosch123> FLHerne: that applies to many things 18:55:07 <TrueBrain> I see that milek7 found a bug :P 18:55:08 <nielsm> I'd like the UI to be somewhat more defined on high res displays, eventually 18:55:08 <Eddi|zuHause> andythenorth: i'm not entirely sure any of the words you use have any meaning behind them 18:55:28 <nielsm> e.g. scale the single-pixel borders into two and four pixel borders 18:55:32 <TrueBrain> people can spam the API with new uploads :P 18:55:35 <andythenorth> Eddi|zuHause I may just be a cat 18:55:44 <TrueBrain> milek7: stop doing that ;) 18:55:44 <DorpsGek_III> [OpenTTD/nml] FLHerne commented on pull request #110: Fix: Correct limit of available road/tramtypes. https://git.io/JfqyJ 18:55:48 <milek7> :( 18:55:54 <milek7> i'm trying to get that cake :D 18:55:59 <andythenorth> TrueBrain I don't like to release too often, it wrecks my download counts 18:56:10 <andythenorth> I'll never win if I keep shipping, the way to win is to not maintain grfs 18:56:11 <TrueBrain> milek7: pretty sure I have you banned before you get that cake 18:56:29 <Eddi|zuHause> the cake is a lie. 18:56:34 <andythenorth> OMG WHERE ARE THE DOWNLOAD COUNTS? 18:56:37 <andythenorth> who made this UI? 18:56:47 <andythenorth> also we've got overflow issues :D https://bananas.openttd.org/package/newgrf 18:56:48 <LordAro> /kick andythenorth 18:56:51 <Eddi|zuHause> do we have up and downvotes yet? 18:57:49 <TrueBrain> milek7: I really do not want to know why you spend time in creating predefined md5sums, but okay :P 18:58:05 <TrueBrain> of course if people want to abuse a system, they can ;) Lucky, we have other policies in place .. like IP bans :P 18:58:46 <milek7> well, if it would crash service, this is rather important issue 18:59:10 <TrueBrain> so .. you want to proof a point? And instead of being constructive, you decided the destructive route? 19:01:02 <milek7> isn't that what staging is for? 19:01:14 <spnda> what is this new user migration for bananas 19:02:16 <spnda> how do I access all my old GRFs huh 19:02:37 <frosch123> spnda: there is a big link on the front page 19:02:54 <andythenorth> There is! 19:02:56 <andythenorth> I am reading it 19:03:00 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain opened pull request #53: Fix: work around an issue with GitPython being confused if the GC kicks in https://git.io/Jfqyr 19:03:02 <andythenorth> the page, not just the link 19:03:07 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #10: Fix some issues found in production https://git.io/Jfqyo 19:03:08 * andythenorth reads the link text over and over again 19:03:19 <TrueBrain> milek7: I rather have you help me find solutions :) 19:03:28 <TrueBrain> but I appreciate your academic mindset ;) 19:03:37 <andythenorth> frosch123 (now may not be the time) any ideas for the terrifying coop account? :D 19:03:42 <andythenorth> I used it to upload all my grfs 19:03:57 <andythenorth> I guess about 20 people have the creds unchanged for 10 years 19:04:02 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 approved pull request #53: Fix: work around an issue with GitPython being confused if the GC kicks in https://git.io/JfqyX 19:04:03 <spnda> well, i saw that i need to post something on the forums that i want my account to be migrated. i'm sure there's a better way to do this though 19:04:18 <frosch123> TrueBrain: i assume terminate on second fail is intentional? 19:04:28 <TrueBrain> frosch123: yes; it should only happen once, basically 19:04:32 <spnda> "we will change your content over to your GitHub account". What does that mean anyway? 19:04:46 <spnda> Is it just an internal thing or do you create new repositories or something 19:04:58 <TrueBrain> andythenorth: we need to add "Teams" :) 19:05:05 <andythenorth> GH Teams ! 19:05:07 <frosch123> spnda: we are removing openttd's account system 19:05:29 <TrueBrain> andythenorth: funny enough, that is not a bad idea! 19:05:32 <spnda> hmm okay 19:05:38 <TrueBrain> andythenorth: not difficult to implement, so yeah ... 19:05:56 <TrueBrain> spnda: after you understand what is going on, and you have suggestions to improve that text so others understand it quicker, please do let us know! 19:06:32 <frosch123> andythenorth: do you want to keep the coop account, or make it all yours? 19:06:34 <spnda> Ok nice, will do 19:07:05 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain dismissed a review for pull request #53: Fix: work around an issue with GitPython being confused if the GC kicks in https://git.io/JfqyX 19:07:05 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain updated pull request #53: Fix: work around an issue with GitPython being confused if the GC kicks in https://git.io/Jfqyr 19:07:09 <spnda> In your example forums post you said "Link to thread: <copy here the URL of your thread>", which thread do you mean. Just any thread that I created for my own GRF? 19:07:16 <andythenorth> so table overflow....ellipsis truncate links, or replace absolute urls with some text? https://bananas.openttd.org/package/newgrf 19:07:37 <andythenorth> also did anyone volunteer to write a UI framework yet? :P 19:07:40 <TrueBrain> spnda: it is refering to 19:07:41 <TrueBrain> Is the URL of any of your content linking to tt-forums.net? 19:07:41 <TrueBrain> Are you the topic starter of this thread? 19:07:44 <TrueBrain> that thread 19:07:58 <spnda> Ah okay 19:08:02 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 approved pull request #53: Fix: work around an issue with GitPython being confused if the GC kicks in https://git.io/Jfqyh 19:08:08 <TrueBrain> again, any rewording, very much welcome :) 19:09:02 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain opened issue #54: Support teams https://git.io/JfqSf 19:09:52 <TrueBrain> frosch123: still not really sure why reload failed .. but lets start with these fixes, and see where that brings us 19:10:01 <DorpsGek_III> [OpenTTD/bananas-api] frosch123 commented on issue #54: Support teams https://git.io/JfqSf 19:10:10 <spnda> So, I would just send for example "Forum Thread: https://www.tt-forums.net/viewtopic.php?p=1215894, GitHub: "https://github.com/spnda", right? 19:10:24 <TrueBrain> sounds about right 19:10:31 <TrueBrain> and we are new to this too, so explore with us what works :) 19:10:44 <spnda> Why not have a form on the new bananas page that automates this? 19:11:52 <andythenorth> spnda that starts from 'why is everything not finished yet?' premise :) 19:11:59 <andythenorth> why is not world peace? 19:12:08 <spnda> ok sorry 19:12:21 <andythenorth> nah, it's a valid suggestion 19:12:24 <TrueBrain> spnda: we considered it; given less than 200 people will use it, it was considered this being the least amount of work overall for everyone; still on the fence about it :) 19:12:42 <TrueBrain> we can make a Google Form, I guess :P 19:12:43 <LordAro> and setting up a system to send emails is quite tricky 19:13:00 <TrueBrain> not the worst idea tbh .. just some external tool to ask you a few questions 19:13:05 <spnda> yeah google forms could make it a bit easier aswell 19:13:07 <TrueBrain> did not consider it :) 19:13:15 <TrueBrain> feel up to setting that up? :D :) 19:13:33 <spnda> Uhm, I wouldn't mind 19:13:33 <TrueBrain> (personally a bit busy fixing these darn production bugs :P) 19:14:03 <TrueBrain> and hoping people review my PRs :P 19:14:10 <TrueBrain> I hate needing approval of others :P 19:15:51 <Eddi|zuHause> imagine seeking approval from others, and never getting it... 19:16:14 <Eddi|zuHause> i think they wrote books about that :p 19:16:59 <TrueBrain> :D 19:17:12 <TrueBrain> dickhead :P (sorry, you deserved that :D It was a good joke :D) 19:17:46 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain merged pull request #53: Fix: work around an issue with GitPython being confused if the GC kicks in https://git.io/Jfqyr 19:17:49 <TrueBrain> 1 PR down, 1 to go :) 19:18:32 <frosch123> oh, that one got lost in the spam 19:18:46 <TrueBrain> I can imagine that happening 19:18:51 <TrueBrain> my mailbox has 400+ emails of the last week 19:19:01 <TrueBrain> (GitHub related) 19:19:14 <frosch123> i mean irc spam 19:19:17 <spnda> TrueBrain: Would you say an application that asks for the OpenTTD account e-mail and a GitHub profile url should suffice? 19:19:21 <frosch123> mailbox is compeltely hopeless 19:19:50 <TrueBrain> spnda: no; those questions we asked are with a reason :) 19:20:05 <TrueBrain> we need some way to proof you are you on GitHub too 19:20:11 <TrueBrain> and knowing someones email .. is not one of those ways 19:20:25 <TrueBrain> that is why we suggest a PM from tt-forums 19:20:47 <TrueBrain> as when you created a thread about some content, and that thread is in the content, and you are the topic starter .. it is VERY likely you are who you say you are 19:20:50 <DorpsGek_III> [OpenTTD/bananas-server] frosch123 approved pull request #10: Fix some issues found in production https://git.io/JfqSw 19:20:58 <TrueBrain> the same, sending an email from that address to us, shows you own that email address 19:21:01 <frosch123> all of them are copies from the api, right? 19:21:03 <TrueBrain> just knowing it, not enough 19:21:12 <spnda> yes, that is very true 19:21:12 <TrueBrain> frosch123: yes 19:21:17 <TrueBrain> I am very good at copy/paste :) 19:21:40 <TrueBrain> FUCK 19:21:40 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #10: Fix some issues found in production https://git.io/Jfqyo 19:21:44 <TrueBrain> I fucked that up :P 19:21:46 <TrueBrain> misclicked :D 19:21:50 <TrueBrain> now we have a weird commit :P 19:22:07 <TrueBrain> owh well, we will have to live with it 19:22:15 <TrueBrain> pretty sure andythenorth won't approve of it when ever he makes the changelog :P 19:22:33 <DorpsGek_III> [OpenTTD/bananas-api] TrueBrain created new tag: 1.0.1 https://git.io/JfqSi 19:23:27 <frosch123> ah, that's what hell looks like... you have to write all the changelogs that you postponed in your life 19:23:40 <TrueBrain> :D 19:23:43 <TrueBrain> that .. would be horrible 19:24:08 <spnda> just noticed that this sentence makes no sense "I would like to migrate the author of my BaNaNaS content to GitHub." 19:24:16 <Eddi|zuHause> i think that's the intention of hell... to be horrible :p 19:24:29 <TrueBrain> spnda: to me it does :D But I am pretty sure from an outside perspective it is weird :P 19:24:33 <TrueBrain> every BaNaNaS content has an author 19:24:37 <TrueBrain> all authors are now linked to OpenTTD accounts 19:24:45 <TrueBrain> and the question is: change this into a GitHub account 19:24:50 <TrueBrain> again, better wording, pleaaasseee :D 19:24:52 <spnda> Maybe rephrase it like "I would like to migrate my BaNaNaS content to GitHub." 19:25:01 <TrueBrain> the content is not being migrated 19:25:06 <TrueBrain> (well, we already did, sort of :P) 19:25:15 <TrueBrain> it is only the "who has access to make changes" 19:25:29 <spnda> Ok, then "I would like to migrate my BaNaNaS account to GitHub" 19:25:39 <TrueBrain> sounds good 19:26:11 <TrueBrain> as I am sure you have more of those changes to make it more clear, could I ask you to fork the repo and make a PR out of it? https://github.com/OpenTTD/bananas-frontend-web/blob/master/webclient/templates/user_migration.html is the file in question 19:26:19 *** Lejving has quit IRC 19:26:32 *** Lejving has joined #openttd 19:26:33 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.2 https://git.io/JfqS7 19:27:08 <TrueBrain> seems sentry doesn't eally like my version numbering .. it thinks 1.0.0 is older than 0.0.0-53-<hash> 19:28:32 <spnda> Oh nice you've got a repository for it 19:28:55 <TrueBrain> everything is now publicly available, source-wise, and auto-deployable :) 19:28:58 <TrueBrain> so go nuts :P 19:29:12 <TrueBrain> (we might have spend a bit too much time on a system used by ~200 people more than once :P) 19:29:16 <spnda> Also sent you a account migration pm on tt-forums 19:29:17 <TrueBrain> I am still depressed by that fact frosch123 :D 19:29:37 <frosch123> TrueBrain: luckily you did not notice before it was done :) 19:29:40 <milek7> how to use that server locally? 19:29:45 <TrueBrain> clearly those emails no longer arrive in my mailbox .. I got 5 PMs :P 19:29:46 <milek7> 2020-04-27 21:22:03 ERROR Server returned invalid status code 400. Authentication failed. Error: {'message': "audience is not one of the following: dict_keys(['developer'])"} 19:29:47 <frosch123> TrueBrain: anyway, think of the download users :) 19:30:43 <Eddi|zuHause> how is that an invalid status code? 19:31:29 <LordAro> Eddi|zuHause: invalid status, code 400 19:32:00 <TrueBrain> I see even andythenorth send me a PM on the forums ... seems office365 doesn't accept mails from tt-forums .. something for orudge possibly? :) 19:32:56 <TrueBrain> milek7: not sure what you mean, your information is a bit fragmented 19:33:09 <TrueBrain> it seems you have the API running, as a local dev, which is good 19:33:21 <TrueBrain> after that .. I guess you connect with your own tool? 19:33:25 <TrueBrain> or a modified ape 19:33:30 <TrueBrain> which handshakes via GitHub normally 19:33:34 <TrueBrain> but in a dev-API, that is not enabled 19:33:46 <TrueBrain> not sure if there is code for the bananas-frontend-cli to work around that 19:33:52 <milek7> so unmodified frontend-cli won't work? 19:33:52 <TrueBrain> I only tested it against the staging API 19:34:04 <TrueBrain> not sure it has code for the development flow; honestly, I do not know 19:34:16 <frosch123> TrueBrain: ok, i have access to my content again :) 19:34:35 <frosch123> meanwhile we have 2 testcases for next round 19:34:41 <TrueBrain> good 19:34:42 <Samu> new record! 178 ticks, this time for real 19:34:59 <TrueBrain> milek7: you can enable GitHub authentication for the API; you just need to create a GitHub OAuth App for that 19:35:23 <TrueBrain> or write the code for the CLI to work with development flow. We welcome any PR, ofc :) 19:36:38 <frosch123> hmm, i think it would have been smarted if we had asked for the bananas content site, instead for the forum topic 19:36:50 <TrueBrain> change it! :) 19:36:59 <TrueBrain> now we have to CTRL+F indeed :) 19:38:41 <TrueBrain> hmm .. I don't get it 19:38:45 <TrueBrain> the api works fine, also for reloading now 19:38:48 <TrueBrain> the server .. not so much 19:38:53 <TrueBrain> it is also a lot slower to start up 19:38:57 <TrueBrain> with the same repository checked out 19:40:08 <TrueBrain> owh, one is over SSH, the other over HTTPS 19:40:19 <TrueBrain> the SSH is so much slower, it seems 19:40:28 <TrueBrain> euh, faster 19:41:04 <TrueBrain> could it be IPv6 or something .. hmm 19:41:54 <TrueBrain> no, github.com has no AAAA record 19:44:00 <andythenorth> what eh, did I do something wrong in a former life? 19:44:06 <andythenorth> is that why I have to write the changelogs? 19:44:13 <andythenorth> TBF LordAro does the hardest one 19:45:38 <Samu> 177 ticks now :) 19:46:08 <TrueBrain> ssh vs http are equal in speed .. so .. what is going on .. I think GitPython is just retarded .. 19:46:43 <TrueBrain> guess ... I am just going to use "os.system" 19:47:10 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 opened pull request #33: Change: Slightly change migration message template, to make it easier… https://git.io/Jfq9i 19:48:03 <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain approved pull request #33: Change: Slightly change migration message template, to make it easier… https://git.io/Jfq9P 19:48:07 <frosch123> TrueBrain: funny, libsubversion and pyperforce are also meh 19:48:29 <TrueBrain> I cannot find what the difference is between API and Server for this speed difference 19:49:21 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 merged pull request #33: Change: Slightly change migration message template, to make it easier… https://git.io/Jfq9i 19:51:32 <TrueBrain> hmmm .. 30k log messages in a few seconds 19:51:35 <TrueBrain> that sounds bad :P 19:55:09 <_dp_> what's up with the version order on https://servers.openttd.org/en/ ? 19:55:21 <_dp_> first 1.9.3 then jgrpp... 1.10.1 last :( 19:56:03 <frosch123> i can put 1.10.1 on top 19:56:16 <frosch123> but it will still sort alphabetic, not numeric :) 19:56:42 <Eddi|zuHause> i thought natural sorting was a solved issue? 19:57:09 <Eddi|zuHause> as in, there should be a library method to do that? 19:57:15 <frosch123> yes, but smart-assery isn't 19:57:49 <Eddi|zuHause> i'm sorry, but that is my raison-d'être 20:01:09 <orudge> [20:32:23] <TrueBrain> I see even andythenorth send me a PM on the forums ... seems office365 doesn't accept mails from tt-forums .. something for orudge possibly? :) <-- hmm, that might explain why I've not had any e-mails from TT-Forums lately, only just noticed :D 20:01:23 <andythenorth> what are emails? :P 20:02:46 <Eddi|zuHause> i think i've totally lost track of what weekday it is 20:03:17 <TrueBrain> orudge: my lack of emails dates back to march 2019 :P 20:03:39 <orudge> TrueBrain: I only moved my personal e-mails to O365 about a month ago :) 20:04:21 <TrueBrain> ah :D 20:04:46 <orudge> "The IP address you submitted 94.130.0.50 was successfully delisted. This may take up to 30 minutes to take effect." 20:04:49 <orudge> so, we'll see 20:07:11 *** heffer has joined #openttd 20:13:52 <TrueBrain> tnx orudge :) 20:14:01 <TrueBrain> okay, found the bug that is causing a lot of logs to be generated 20:16:37 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #11: Fix: stop sending data if the other end closed the connection https://git.io/JfqHH 20:16:51 <TrueBrain> okay, now to find why GitHub is so slow for one, and not for the other .. 20:20:02 <DorpsGek_III> [OpenTTD/nml] glx22 updated pull request #108: Codechange: [Actions] Upload standalone executable to GitHub release https://git.io/JfqJv 20:21:48 <DorpsGek_III> [OpenTTD/bananas-server] frosch123 approved pull request #11: Fix: stop sending data if the other end closed the connection https://git.io/JfqQf 20:21:59 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #11: Fix: stop sending data if the other end closed the connection https://git.io/JfqHH 20:22:29 <TrueBrain> except for the HTTPS vs SSH, I don't see why they differ so much in timing .. 20:23:37 <TrueBrain> switch them both to SSH, and see if that solves the issue, I guess? 20:23:52 *** andythenorth has quit IRC 20:24:07 <TrueBrain> it is very consistent in its timing at least 20:24:32 <TrueBrain> 4 seconds vs 110 seconds .. lol 20:26:56 *** nielsm has quit IRC 20:27:47 *** andythenorth has joined #openttd 20:30:54 <Eddi|zuHause> of all the weird things steam dose, the thing i find worst is the "community" page... 20:30:54 <frosch123> ah, windows users :) 20:31:17 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #12: Add: also allow git to be checked out over SSH https://git.io/JfqQz 20:31:21 <Eddi|zuHause> if i go to the start page, it shows me random screenshots of games i don't have, don't play, and am not interested in 20:31:25 <TrueBrain> frosch123: hopefully the last one of the night; this is mostly a copy from the API 20:31:39 <frosch123> people started putting their newgrfs onto github. someone pushed nml and 7z binaries with it 20:31:54 <Eddi|zuHause> and also fan-translations into german of random games that i also don't have and i'm not interested in 20:32:33 <DorpsGek_III> [OpenTTD/bananas-server] frosch123 approved pull request #12: Add: also allow git to be checked out over SSH https://git.io/JfqQr 20:32:43 <frosch123> TrueBrain: i didn't dare make a tag for the frontend :) 20:32:54 <TrueBrain> why not? 20:33:13 <frosch123> to not disrupt stuff 20:33:18 <TrueBrain> owh, no worries 20:33:19 <TrueBrain> go for it 20:33:36 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #12: Add: also allow git to be checked out over SSH https://git.io/JfqQz 20:34:08 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 created new tag: 1.0.1 https://git.io/JfqQP 20:35:28 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.3 https://git.io/JfqQM 20:35:41 <TrueBrain> release all the things! 20:35:56 <TrueBrain> okay, the logs of the last 30 minutes are empty; that is a good sign at least 20:36:03 <TrueBrain> and nobody yelled that anything is burning 20:36:12 <TrueBrain> I am very curious about our AWS bill tomorrow 20:36:14 <TrueBrain> but that will be fine 20:37:05 <frosch123> did you reply to the forum pm after merge? 20:37:08 <orudge> TrueBrain: AWS is sponsored at the moment, right? At least, I haven't paid any bills lately... 20:37:20 <TrueBrain> we have free credits, yes :) 20:37:29 <TrueBrain> frosch123: I did not, sorry 20:37:32 <TrueBrain> would you mind? 20:37:33 <frosch123> wasn't it a single-time lump sum? 20:37:43 <frosch123> TrueBrain: i will, when we have all 3 20:37:47 <frosch123> copy&paste :) 20:37:51 <TrueBrain> sure 20:37:59 <TrueBrain> after this deployment, I hope merges work :) 20:40:47 <TrueBrain> at least over 5000 downloads already over the new network 20:40:52 <TrueBrain> in .. 2 hours? 20:41:06 <TrueBrain> because we use CloudFront, stats are a bit delayed .. takes a while for all regions to report in 20:41:22 <frosch123> that sounds like a lot 20:41:27 <TrueBrain> the load balancer has almost nothing to do, which is funny 20:41:30 <frosch123> but it is prime time 20:41:37 <TrueBrain> yeah .. and I see a lot of files downloaded exactly the same amount 20:41:41 <TrueBrain> I still find that fishy 20:41:52 <TrueBrain> but I now have better logs, so I can do some statistics on it :) 20:43:27 <frosch123> where does servers.openttd.org run these days? 20:43:46 <frosch123> i thought it was the last thing on the old box 20:44:23 <orudge> the wiki is still on the old box too, I assume 20:44:30 <TrueBrain> frosch123: it is 20:44:40 <TrueBrain> wiki is not on the old old old box 20:44:42 <TrueBrain> if that makes sense :P 20:44:56 <frosch123> then i don't get it. i wanted to update the "latest version" to "1.10.1", but it did not work 20:45:03 <frosch123> i killed it, but it still runs the old thing 20:45:10 <frosch123> it doesn't even die :p 20:45:14 <orudge> How many old boxes do we have? :D 20:45:22 <TrueBrain> do you really want a count? 20:45:37 <TrueBrain> frosch123: what did you kill? 20:45:50 <TrueBrain> I see openttd_live still running since this morning 20:45:51 <frosch123> orudge: it's a Matryoshka 20:46:13 <frosch123> TrueBrain: svc -d django_live 20:46:28 <TrueBrain> I never learnt how svc worked 20:46:51 <TrueBrain> I mostly do: ps aux | grep openttd_live 20:46:57 <TrueBrain> and I kill .. what-ever process feels most sensible 20:47:05 <TrueBrain> the "python ./manage" ones always come to mind 20:48:44 <TrueBrain> oops, I made a boo-boo ... configuration is not being accepted .. 20:48:59 <DorpsGek_III> [OpenTTD/bananas-frontend-web] spnda opened pull request #34: Some reformulations https://git.io/Jfq7m 20:50:00 <frosch123> spnda: sorry, i changed one sentence an hour ago 20:50:03 <frosch123> you need to rebase 20:50:13 <spnda> yeah just noticed noo 20:51:28 <TrueBrain> that moment the system tells you you screwed up, but you cannot find why 20:52:10 <DorpsGek_III> [OpenTTD/bananas-frontend-web] spnda updated pull request #34: Some reformulations https://git.io/Jfq7m 20:52:48 <Samu> arf, the idea of caching the path so far for every node, is becoming a bad idea the more I think of it 20:53:03 <frosch123> haha, now i killed too much 20:53:04 <Samu> it requires too much memory 20:53:35 <spnda> TrueBrain: Any documentation on the bananas api yeT? 20:53:47 <TrueBrain> see the news post :) 20:53:49 <frosch123> spnda: read the news post, it's all there 20:54:00 <TrueBrain> any questions, let me know! 20:54:11 <Samu> granted, I'm testing absurd distances, who in their right mind do a 500~ tiles away ship route 20:55:33 <TrueBrain> I do not understand what I did wrong .. 20:55:37 <TrueBrain> locally it works 20:55:45 <TrueBrain> on the cluster, it dies a horrible death 20:56:12 <glx> always hard to debug 20:56:27 <glx> when you can't reproduce locally 20:56:27 <frosch123> _dp_: 1.10.1 is now on top, but it will be forgotten again next release :) 20:57:26 <TrueBrain> especially as a near-identical copy is running fine 20:57:37 <TrueBrain> and I hate just trying again, assuming it magically fixed itself or what-ever 20:58:24 <glx> and it just fails without telling anything I assume 20:58:28 <TrueBrain> nevertheless, that is what I am going to do .. 20:58:39 <TrueBrain> it tells me it cannot do "git fetch", but I have no clue why not 21:00:02 <TrueBrain> nope, it really fails 21:00:04 <TrueBrain> ugh .. what am I missing 21:00:27 <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 commented on pull request #34: Some reformulations https://git.io/Jfq7V 21:01:07 <frosch123> TrueBrain: api or server? 21:01:21 <TrueBrain> server 21:04:39 <TrueBrain> it seems something to do with my CDK (AWS deployment 21:04:42 <TrueBrain> but I cannot see what .. 21:08:28 <glx> ssh fails ? 21:08:34 <TrueBrain> I am guessing it does 21:08:51 <TrueBrain> but the exact same code works for the API 21:08:53 <glx> as that's the most recent change 21:10:10 <TrueBrain> it is also the change I am pushing, where I change the GitHub URL from HTTP to SSH 21:10:26 <TrueBrain> when I use the same setup, the same variables etc, it does work here fine 21:11:14 <TrueBrain> owh shit 21:11:15 <TrueBrain> I remember 21:11:16 <TrueBrain> fuck me 21:11:20 <glx> the key ? 21:11:23 <TrueBrain> no 21:11:26 <TrueBrain> this took waaayyyy too long 21:12:59 <TrueBrain> that moment you fixed an issue before 21:13:01 <TrueBrain> but forgot 21:13:14 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #13: Fix: add github.com to the known_host https://git.io/Jfq7N 21:13:28 <glx> oups 21:13:39 <DorpsGek_III> [OpenTTD/bananas-frontend-web] spnda updated pull request #34: Some reformulations https://git.io/Jfq7m 21:14:19 <DorpsGek_III> [OpenTTD/bananas-server] glx22 approved pull request #13: Fix: add github.com to the known_host https://git.io/Jfq7h 21:14:46 <TrueBrain> hmm ../bin/sh: 1: ssh-keyscan: not found 21:14:47 <TrueBrain> oops 21:15:18 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain dismissed a review for pull request #13: Fix: add github.com to the known_host https://git.io/Jfq7h 21:15:18 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain updated pull request #13: Fix: add github.com to the known_host https://git.io/Jfq7N 21:15:22 *** Progman has quit IRC 21:15:24 <TrueBrain> I think I am done with the day :P Starting to slip up more and more :P 21:15:24 <glx> it looked good :) 21:15:31 <TrueBrain> yeah ... and I failed at copy/pasting 21:15:43 <TrueBrain> that was the second reason it didn't work .. no ssh client :D 21:16:32 <TrueBrain> okay, this was just really really silly :P 21:16:34 <DorpsGek_III> [OpenTTD/bananas-frontend-web] spnda updated pull request #34: Some reformulations https://git.io/Jfq7m 21:16:34 <TrueBrain> well, it builds now :) 21:16:36 <DorpsGek_III> [OpenTTD/bananas-server] glx22 approved pull request #13: Fix: add github.com to the known_host https://git.io/Jfq5I 21:17:18 <glx> yeah ssh client helps a lot to use ssh :) 21:17:21 <spnda> Sorry about that commit, accidentally put the changes into frosch's commit 21:17:23 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #13: Fix: add github.com to the known_host https://git.io/Jfq7N 21:17:46 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.4 https://git.io/Jfq5q 21:17:52 <TrueBrain> okay .... a new attempt ... 21:18:18 <TrueBrain> tnx a lot spnda 21:19:02 <TrueBrain> lately I have been so focused on writing proper Dutch, that clearly my English is slipping even more .. who am I kidding, I never wrote good grammar :P 21:19:42 <spnda> Me neither, asked my mum for some help as she's an english teacher 21:19:49 <TrueBrain> CHEATER 21:19:50 <TrueBrain> :P 21:21:07 <TrueBrain> frosch123: that indeed works a lot better, the bananas link 21:21:53 <TrueBrain> orudge: mail works again, sweet :) 21:23:24 <frosch123> next test-case :) 21:23:30 <frosch123> and yes, a lot easier 21:23:59 *** Samu has quit IRC 21:24:19 <TrueBrain> I am pretty happy with the setup .. every new deployment of the server, it first starts a new one 21:24:23 <TrueBrain> it updates the NLB with the new one 21:24:24 <orudge> TrueBrain: I've actually moved mail sending for tt-forums to mailgun, though I have asked that the server IP be unblocked anyway 21:24:30 <TrueBrain> if deprecates the old one .. it updates the NLB with it 21:24:38 <TrueBrain> it waits 30 seconds for people to be done 21:25:00 <TrueBrain> orudge: nevertheless: \o/ :D 21:25:23 <TrueBrain> okay .. lets roll out: use-ssh, again .. 21:26:38 <TrueBrain> anyway, mostly what I was rambling about: despite the server being upgraded, nobody should have any notice of this happening .. at least, that is what should happen. No clue if that is true ofc :D 21:28:02 <frosch123> still no angry mob on the forums... why do you force us to register to github? 21:29:05 <andythenorth> there is time yet :) 21:29:19 <orudge> You could have used TT-Forums authentication ;) (At least, TT-Forums now acts as a SAML provider for TT-Wiki) 21:29:27 <TrueBrain> nope, even over SSH it is as slow ... wtf ... 21:29:50 <TrueBrain> how can one pod be this much slower than another .. that makes absolutely no sense to me 21:33:35 <TrueBrain> this is something to look into further another day, I guess 21:33:44 <TrueBrain> I ... simply don't know why one is this much slower than the other 21:34:02 <frosch123> spnda: can you squash those 2 commits somehow. the diff github displays makes no sense at all 21:34:20 <frosch123> github has a lot of issues if diffs have non-ascending time stamps 21:36:50 <spnda> yeah i'll push now 21:36:50 <DorpsGek_III> [OpenTTD/bananas-frontend-web] spnda updated pull request #34: Some reformulations https://git.io/Jfq7m 21:37:07 *** Yexo has joined #openttd 21:37:07 *** ChanServ sets mode: +o Yexo 21:38:02 <TrueBrain> frosch123: I am going to hold off on merging those access-tickets, as currently when people modify their content, I am not sure everything is reloaded properly 21:38:14 <TrueBrain> I cannot find why the server is this much slower 21:43:18 *** sla_ro|master has quit IRC 21:43:40 <TrueBrain> in my local docker it works fine, which suggests it is a network issue .. but how would that be possible .. 21:44:30 <frosch123> the server consumes the complete bandwidth :) 21:45:20 <TrueBrain> AH! It is not the GitHub connection! 21:45:21 <frosch123> how often does the server access the disk? maybe it's i/o limited? 21:45:28 <TrueBrain> I forgot there is one HUGE difference between API and Server 21:45:34 <TrueBrain> the Server does an S3 file listing 21:45:53 <TrueBrain> that is what is taking so long 21:46:12 <glx> removing empty files ? 21:46:17 <glx> heu folders 21:46:32 <TrueBrain> 6400 files 21:46:36 <TrueBrain> takes a while to list, it seems 21:47:01 <frosch123> does it only do that on restart? or also when notified about new content? 21:47:07 <Yexo> @seen zuu 21:47:07 <DorpsGek> Yexo: zuu was last seen in #openttd 3 weeks, 2 days, 0 hours, 29 minutes, and 19 seconds ago: <Zuu> Yes some of the devzone projects have been moved there but not all yet. 21:47:31 <TrueBrain> frosch123: both; it needs to know the new md5sums too 21:47:37 <TrueBrain> yes, this I can reproduce 21:47:37 <TrueBrain> pfft 21:47:55 <glx> progress :) 21:47:58 *** xT2 has joined #openttd 21:48:15 *** ST2 has quit IRC 21:48:20 *** xT2 is now known as ST2 21:48:21 <TrueBrain> it walks all the folders, one by one 21:48:22 <TrueBrain> that is silly 21:49:17 <glx> could spawn workers recursively I guess 21:49:57 <TrueBrain> no, I don't need to make this many API calls 21:50:02 <TrueBrain> I thought I already fixed that .. I did not :P 21:50:45 <TrueBrain> when you list on S3, you get all childs, if you want to or not :P 21:50:47 <glx> "todo" post-it should have fall on the floor behind desktop ;) 21:53:41 <TrueBrain> ah, no, it does not recurse .. that was why I did it like this .. but that is just silly 21:53:44 <TrueBrain> as doing .. euh ... 21:53:56 <TrueBrain> 1500 API calls 21:53:57 <TrueBrain> is going to be slow 21:55:14 * andythenorth must to sleep 21:55:15 <andythenorth> GL 21:55:37 <TrueBrain> sleep well 21:56:06 <Yexo> Good night 21:58:59 <TrueBrain> down to 5 seconds 21:59:00 <TrueBrain> lolz 21:59:12 <andythenorth> yexo :) 21:59:14 <andythenorth> also bye 21:59:19 *** andythenorth has quit IRC 21:59:21 <frosch123> TrueBrain: wow :) 22:00:40 *** iSoSyS has quit IRC 22:00:53 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened pull request #14: Fix: only make one call to S3 (instead of 1500) https://git.io/JfqdE 22:00:56 <TrueBrain> one more for the road 22:03:27 <TrueBrain> first data suggests we pushed 10GB in 1 hour 22:03:30 <TrueBrain> @calc 10 * 24 * 30 22:03:31 <DorpsGek> TrueBrain: 7200 22:03:40 <TrueBrain> given this is the peak, sounds about right 22:03:45 <TrueBrain> this bill is going to be EXPENSIVE :P 22:03:52 <DorpsGek_III> [OpenTTD/bananas-server] frosch123 commented on pull request #14: Fix: only make one call to S3 (instead of 1500) https://git.io/Jfqdr 22:04:31 *** rotterdxm has quit IRC 22:04:33 <frosch123> TrueBrain: as long as that are not our api calls :p 22:04:36 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain updated pull request #14: Fix: only make one call to S3 (instead of 1500) https://git.io/JfqdE 22:04:53 <TrueBrain> no, that is the BaNaNaS CDN :) 22:05:36 <TrueBrain> our API traffic doesn't even show up 22:05:39 <TrueBrain> our main website pulls more 22:05:55 <TrueBrain> can't even see when it went live 22:06:15 <TrueBrain> anyway, I will be dropping CloudFlare an email, to see if they mind offloading a bit of our traffic 22:06:21 <TrueBrain> they can always say no, but .. it might help in our bill 22:06:27 <TrueBrain> and 7TB is nothing for them 22:07:08 <TrueBrain> and nicely spotted frosch123 ; that went okay by accident :D 22:07:20 <TrueBrain> (it would request {content_type}/None, which doesn't exist :P) 22:08:27 <frosch123> i have no idea how that diff works 22:08:39 <frosch123> i only see the whole cache being invalidated 22:08:49 <frosch123> how does that save api calls? 22:08:53 <TrueBrain> sorry? 22:09:03 <TrueBrain> the whole PR you mean? How it works? 22:09:04 <frosch123> doesn't it still scan everything on refresh? 22:09:11 <TrueBrain> yes, with 1 API call 22:09:28 <TrueBrain> reload_md5sum_mapping clears the cache, and after that runs through the whole directory structure 22:09:38 <TrueBrain> s3 does 1 call, to get the whole S3 bucket 22:09:44 <TrueBrain> and after that does the filtering himself 22:10:08 <TrueBrain> next scan, it clears the cache again, does 1 API call, and off we go 22:10:22 <DorpsGek_III> [OpenTTD/bananas-server] frosch123 approved pull request #14: Fix: only make one call to S3 (instead of 1500) https://git.io/Jfqd7 22:10:33 <frosch123> ok, i thought the api call is non-recursive 22:10:35 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain merged pull request #14: Fix: only make one call to S3 (instead of 1500) https://git.io/JfqdE 22:10:39 <TrueBrain> I thought so to 22:10:41 <TrueBrain> then I didn't 22:10:42 <TrueBrain> then I did 22:10:44 <TrueBrain> but it is :P 22:11:15 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain created new tag: 1.0.5 https://git.io/JfqdN 22:11:34 <TrueBrain> S3 is a bit confusing, as it isn't a filestorage, but an objectstorage, with keys that look like paths, and in the GUI, you can browse them as paths 22:11:36 <TrueBrain> :D 22:12:00 <TrueBrain> okay .. this should fix the long-ass times to reload 22:12:59 <TrueBrain> in other good news: 0 errors/warnings from both API and Server 22:13:08 <TrueBrain> Frontend has a few, but mostly 404s about URLs that ar egone 22:13:32 <TrueBrain> and shit like: /data/admin/allowurl.txt 22:13:34 <frosch123> well, noone did anything 22:13:35 <TrueBrain> as if that ever existed 22:13:47 <TrueBrain> the server is bombarded with requests 22:13:47 <frosch123> no commits to BaNaNaS 22:13:50 <TrueBrain> the frontend has some requests 22:13:56 <TrueBrain> but yeah, no manager activity yet :D 22:14:25 <TrueBrain> 25 seconds to boot now 22:14:32 <TrueBrain> that is a lot better over the 3-ish minutes we had 22:15:24 <frosch123> the script works nicely :) 22:15:43 <TrueBrain> owh, you have been collecting them I see 22:15:44 <TrueBrain> nice :) 22:15:45 <frosch123> do you want to do the 4 migrations today? or still wait for tomorrow? 22:15:49 <TrueBrain> yes 22:16:14 <TrueBrain> I love saying yes to these kind of questions :D 22:16:53 <frosch123> so far everyone was already registered on github 22:16:59 <frosch123> one guy only for 2 week though 22:17:08 <TrueBrain> shit, "WARNING socket.send() raised exception." is back 22:17:09 <TrueBrain> ugh 22:17:26 <TrueBrain> I tested that I fixed that issue 22:17:27 <TrueBrain> grr 22:18:29 <TrueBrain> k, one minor fix .. the reload-script had a timeout of 30s 22:18:31 <TrueBrain> that is not sufficient 22:18:51 <TrueBrain> we really should look into improving read-speed, but .. not today 22:20:46 <TrueBrain> owh, I see why those warnings still happen 22:20:51 <TrueBrain> fine, I will make an exception out of it .. 22:21:30 <TrueBrain> not today .. hopefully it doesn't happen too much, otherwise we also have a CloudWatch bill to pay :P 22:21:36 <TrueBrain> (you pay for log-storage) 22:22:14 *** Speedy` has quit IRC 22:23:42 <TrueBrain> bah, read timeout 22:23:45 <TrueBrain> getting there :D 22:23:53 <frosch123> btw. technically we still keep the openttd login in the data. we never update the display-name :) 22:24:08 <TrueBrain> very true 22:24:19 <TrueBrain> not sure that is a good or bad idea, now I think about it :P 22:24:27 <TrueBrain> we should make it configurable for the user 22:25:06 <Yexo> TrueBrain: can you search bananas for author? 22:25:16 <TrueBrain> not atm 22:25:30 <TrueBrain> we currently simply reimplemented v1 :) But we can consider any and all additions 22:25:35 <TrueBrain> (within reason :P) 22:25:42 <frosch123> Yexo: not via the frontend, but if you want to https://github.com/OpenTTD/BaNaNaS 22:25:46 <Yexo> sorry, poorly phrased: can you (literally you, not anyone) search by author? 22:25:58 <TrueBrain> yes; you can too, if you want to 22:26:04 <TrueBrain> what frosch123 says :) 22:26:05 <TrueBrain> why? 22:26:06 <Yexo> Ah, thanks 22:26:20 <frosch123> Yexo: everything is public, except the md5sum of the content 22:26:28 <Yexo> Your user migration asks for links to content 22:26:44 <frosch123> only one 22:26:49 <frosch123> you need to remember one :) 22:26:54 <Yexo> Oh, ok 22:26:58 <Yexo> I wasn sure about that 22:27:04 <TrueBrain> it says so in the text :P 22:27:06 <frosch123> also we know who you are 22:27:12 <TrueBrain> do we? really? 22:27:13 <TrueBrain> :D 22:27:21 <TrueBrain> tell us a joke in a language nobody would expect! 22:29:51 <TrueBrain> okay frosch123 , it is somewhat stable 22:29:57 <TrueBrain> not the stable I would like, but good enough for now 22:30:04 <TrueBrain> reloads are painful, and a pod drops over from time to time 22:30:12 <TrueBrain> but with a recover time of < 1 minute, I do not really care 22:30:13 <frosch123> Yexo: https://github.com/OpenTTD/BaNaNaS/pull/7 22:30:53 <TrueBrain> frosch123: and we do hav eto pace merges btw, I am not sure yet what happens when two arrive at the same time 22:31:02 <TrueBrain> I will need to add a queue in front for this :) 22:31:35 <frosch123> i just leave the merges to you 22:31:38 <Yexo> Thanks 22:31:48 <TrueBrain> "only" "at most" 200 people he said .. the spam in my mailbox .... :P 22:31:52 <TrueBrain> frosch123: that is fine, tnx :) 22:32:15 <frosch123> i have one left, last one for today 22:33:06 <DorpsGek_III> [OpenTTD/bananas-server] TrueBrain opened issue #15: Raise exception if connection is gone https://git.io/JfqFH 22:33:13 <TrueBrain> okiedokie 22:33:42 <TrueBrain> Yexo: you can now access your content? Just to confirm it really works :D 22:34:01 <frosch123> haha, frontend is blocked by someone :) 22:34:16 <frosch123> 15 seconds to logout :) 22:34:19 <TrueBrain> yeah, we need to fix those odds and ends :) 22:34:41 <Yexo> Yes, I can now see my content after logging in 22:34:50 <TrueBrain> reloading needs to be more clever .. either it needs to read the diff, or it needs to not block everything :P 22:34:58 <TrueBrain> Yexo: cool, means automation works :D 22:35:10 <Yexo> Nice :) 22:35:14 <TrueBrain> Python is so horrible for this .. fucking GIL 22:35:21 <frosch123> TrueBrain: do you want a copy of my pm replies? 22:35:32 <TrueBrain> CC me in one 22:35:39 <TrueBrain> might be a good idea anyway, so we can see if one of us replied 22:36:11 <TrueBrain> frosch123: https://github.com/OpenTTD/bananas-frontend-web/pull/34 <- this was okay now? 22:36:36 <spnda> did you guys remove download statistics 22:36:36 <frosch123> TrueBrain: it's not rebased or something 22:36:38 <frosch123> all weid 22:36:46 <TrueBrain> owh, indeed 22:36:58 <TrueBrain> okay, something to fix tomorrow 22:37:47 <frosch123> i wonder when forums blocks me for sending too many pms :p 22:38:01 <Yexo> Does https://github.com/OpenTTD/BaNaNaS get updates when people upload content? 22:38:05 <TrueBrain> spnda: yes, no more download stats that serves no real purpose .. but .. I hope to replace it soon with stuff that is useful :D 22:38:15 <TrueBrain> Yexo: it is the database, yes :) 22:38:17 <spnda> :(( 22:38:19 <frosch123> Yexo: yes, after 15 minutes 22:38:23 <Yexo> Cool :) 22:38:46 <TrueBrain> spnda: don't be sad; be happy we now have a framework where we can build on 22:38:48 <Yexo> Means I can actually figure out which/how many AIs use a certain library 22:38:49 <spnda> TrueBrain: I always loved to see my GRFs hit 10k downloads 22:38:53 <TrueBrain> instead of .. a 13 year old something nobody wants to touch :P 22:39:01 <spnda> Welp, then I might have a PR the next days to implement it again 22:39:11 <TrueBrain> well, if you like, sure 22:39:14 <TrueBrain> talk to me first, but yeah 22:39:26 <TrueBrain> basically, what I want to do, is implement download stats over the last N days 22:39:33 <TrueBrain> instead of a "total" that has no real meaning 22:39:36 <spnda> Oh yeah 22:39:38 <TrueBrain> and show that per versions, and per package 22:39:41 <spnda> So graphs and stuff could be made 22:39:47 <TrueBrain> yeah, trends 22:40:01 <TrueBrain> means you can compare things 22:40:02 <spnda> Well, one could add some kind of Map to each version yaml 22:40:07 <TrueBrain> might give more insight 22:40:18 <TrueBrain> Map? 22:40:36 <spnda> Like, { "SomeDate": NumOfDownloads, "AnotherDate": NumOfDownloads } 22:40:52 <spnda> would obv be different in YAML though 22:41:11 <TrueBrain> it shouldn't go in the repository 22:41:14 <TrueBrain> that would be very noisy 22:41:23 <TrueBrain> I was thinking using DynamoDB 22:41:30 <TrueBrain> cheap and "just works" 22:41:45 <frosch123> night 22:41:48 <spnda> oh so something in the backend 22:41:49 <spnda> night 22:41:50 <TrueBrain> night frosch123 22:41:52 <TrueBrain> and tnx :) 22:41:54 *** frosch123 has quit IRC 22:42:34 <TrueBrain> yeah, tracking stats in files is difficult 22:42:42 <TrueBrain> but okay .. I have to get some sleep too 22:42:46 <TrueBrain> we use AWS, so we can use what-ever 22:42:53 <TrueBrain> as long as it doesn't cost a gassilion in money 22:43:02 <TrueBrain> so draw something up 22:43:08 <TrueBrain> and we can talk :) 22:43:10 <TrueBrain> for now, good night 22:43:14 <spnda> Good night 22:43:23 <spnda> And yeah, I'll try to come up with something 22:47:38 *** Wolf01 has quit IRC 22:48:40 *** Yexo has quit IRC 22:54:24 *** mcbanhas_ has quit IRC