Config
Log for #openttd on 6th September 2020:
Times are UTC Toggle Colours
00:19:16  *** daspork_ has joined #openttd
00:20:13  *** APTX_ has joined #openttd
00:21:07  *** APTX has quit IRC
00:21:07  *** daspork has quit IRC
00:21:07  *** k-man has quit IRC
00:32:56  *** k-man has joined #openttd
00:53:29  *** Progman has quit IRC
01:33:47  *** glx has quit IRC
02:02:45  *** Flygon has joined #openttd
03:33:03  *** snail_UES_ has joined #openttd
03:41:00  *** WormnestAndroid has quit IRC
03:42:28  *** WormnestAndroid has joined #openttd
03:48:37  *** WormnestAndroid has quit IRC
03:50:42  *** WormnestAndroid has joined #openttd
04:00:42  *** snail_UES_ has quit IRC
05:48:36  *** nielsm has joined #openttd
06:37:33  *** andythenorth has joined #openttd
07:13:46  *** sla_ro|master has joined #openttd
07:29:39  *** Progman has joined #openttd
08:29:21  *** frosch123 has joined #openttd
08:42:37  *** iSoSyS has joined #openttd
08:43:39  *** Wolf01 has joined #openttd
08:54:08  *** gelignite has joined #openttd
08:56:11  *** WormnestAndroid has quit IRC
08:56:24  *** WormnestAndroid has joined #openttd
12:06:34  *** andythenorth has quit IRC
12:34:22  <TrueBrain> https://github.com/OpenTTD/MasterServer/blob/a6be9858f385fd0e092836682a25c5142cf9923e/src/shared/date.cpp#L64
12:34:25  <TrueBrain> that function ....
12:36:38  <DorpsGek_III> [OpenTTD/OpenTTD] LordAro approved pull request #8305: Fix: Only check houses for cargo when generating subsidies with towns https://git.io/JUGVx
12:37:16  <LordAro> TrueBrain: nice
12:41:23  <TrueBrain> someone really did some math on that ...
12:48:35  <TrueBrain> hmm .. you cannot see the current date on a dedicated server?
12:48:36  <TrueBrain> awh
12:53:17  <frosch123> hmm, i am not sure ruby is really an improvement over perl...
12:54:36  <TrueBrain> it was suppose to be?
12:55:06  <frosch123> i thought that was its plan
12:58:31  *** WormnestAndroid has quit IRC
13:00:06  *** WormnestAndroid has joined #openttd
13:08:23  *** iSoSyS has quit IRC
13:11:26  <TrueBrain> okay, now sorting the serverlist .. eeuuuhhhh
13:11:27  *** glx has joined #openttd
13:11:27  *** ChanServ sets mode: +v glx
13:11:43  <TrueBrain> lets see if we can do that in such way we never have to do it manually again
13:12:30  <frosch123> randomly drop servers which include "city" or "goal" in their name?
13:13:40  <TrueBrain> I was thinking of making a navigation with "Latest", "Official", "JGRPP", "Other"
13:13:46  <TrueBrain> where you only see servers of that type
13:13:51  <TrueBrain> would that be an improvement?
13:14:01  <frosch123> what is "latest"?
13:15:04  <glx> same as latest on the website
13:15:25  <glx> maybe call it stable
13:15:30  <frosch123> set with some gh action on release?
13:16:39  <TrueBrain> fetched every hour
13:16:47  <TrueBrain> but sure, "stable" works for me
13:17:06  <frosch123> hmm, are we talking about the in-game server list? or the website server list?
13:17:19  <glx> website I think :)
13:17:23  <TrueBrain> I am not touching OpenTTD client; staying far away from that
13:17:27  <TrueBrain> :P
13:18:07  <frosch123> did you figure out a purpose for the website except for answering "is my server advertised properly"?
13:18:22  <TrueBrain> was that question ever asked?
13:19:07  <frosch123> i thought there were some questions wrt. what is needed :) but i did not follow the discussion
13:20:28  <TrueBrain> only that we are dropping NewGRF info, that we talked about
13:20:34  <frosch123> but when people ask for how to debug their clients not finding their server, the answer used to be: check servers.openttd.org to figure out whether server or client is at fault
13:21:58  <glx> oh with #7981 it could be possible to lauch openttd from the website
13:24:27  <TrueBrain> anyway, that was not my question nor really helping :P
13:25:20  <glx> hehe, but yeah filtering on the website would be a nice feature
13:26:42  <TrueBrain> I wonder if I could hardcode "jgrpp"
13:27:04  <TrueBrain> we don't really have a place that indexes these things
13:27:28  <frosch123> we have a fixed format for the version
13:27:53  <TrueBrain> patchpacks can violate that :)
13:27:56  <frosch123> so you could do the reverse of what findversion used to do
13:28:14  <frosch123> and just split at the last "-" to dynamically create a list of branches
13:28:38  <TrueBrain> check the current server-list ;) The one non-official patchpack out there does not follow findversion :)
13:29:53  <frosch123> hmm, so i misremeber the findversion format? i thought it was "{branch}-{version}"
13:30:58  <TrueBrain> "20200813-master-g3db7cf54fd"
13:31:26  <TrueBrain> even findversion used the "tag"
13:31:37  <TrueBrain> and there is no absolute truth in that, when looking at patchpacks
13:31:52  <TrueBrain> the official releases always use major.minor.patch-beta etc
13:32:00  <TrueBrain> and jgrpp uses jgrpp-major.minor.patch
13:32:02  <TrueBrain> which is all fine
13:32:05  <TrueBrain> but there isn't a single truth
13:33:12  <TrueBrain> but anyway, that was not really the question
13:33:22  <TrueBrain> I want to make a button "Stable" / "Official" / "JGRPP"
13:33:31  <TrueBrain> and I wonder if I can hardcode the latter or not .. if I can do something more clever there
13:33:42  <TrueBrain> currently we only have jgrpp
13:33:53  <TrueBrain> not sure if it is worth the effort now to make that into anything more
13:33:55  <frosch123> and no nightlies :)
13:34:07  <TrueBrain> we rarely have nightlies, like .. there currently are no nightlies public
13:34:55  <frosch123> maybe just sort the versions by popularity
13:35:30  <TrueBrain> again, not what I am talking about :)
13:35:46  <TrueBrain> https://servers.openttd.org/en/ <- I want to add more buttons next to "Servers" in the navigation
13:35:49  <TrueBrain> named: "Stable"
13:35:52  <TrueBrain> "Official"
13:35:54  <TrueBrain> "JGRPP"
13:36:05  <frosch123> oh, that's what you mean with button
13:36:06  <TrueBrain> I wonder if hardcoding "JGRPP" is a good idea or not
13:36:21  <frosch123> i thought you just wanted a inner-page#link
13:36:31  <TrueBrain> "I was thinking of making a navigation with "Latest", "Official", "JGRPP", "Other"" <- that is how I started my story :P
13:37:12  <frosch123> i already have difficulties with "latest" and "official" :)
13:37:34  <frosch123> would a nightly go into latest? or would get dropped into the category of ancient releases?
13:38:25  <frosch123> does "official" mean "unmaintained servers that need upgrading"?
13:38:40  <frosch123> "better don't play here"?
13:38:56  <TrueBrain> I think you are greatly overthinking this, and trying ... "van een mug een olifant maken"
13:39:02  <TrueBrain> pretty sure you have something closely relating to that saying :P
13:39:16  <frosch123> yes, we do
13:39:33  <TrueBrain> I want to split out JGRPP servers from the official ones
13:39:39  <TrueBrain> what we label shit, I do not care :P
13:39:53  <TrueBrain> and currently we make a difference between "latest" release, and all others
13:40:00  <TrueBrain> not sure that is needed
13:40:26  <frosch123> it assumes that everyone should play latest, while the rest should upgrade
13:40:39  <frosch123> but the same holds for "latest jgr" and "jgr from 3 years ago"
13:41:07  <TrueBrain> how is upgrading relevant in this story? Not really following your thoughts here :(
13:41:43  <frosch123> ok, what is your intention for splitting out anything then?
13:41:53  <frosch123> why not a single list with everything?
13:42:28  <TrueBrain> because jgrpp is now drowning in a list of official servers
13:42:39  <TrueBrain> and if you visit that site, you most likely either want to see the official ones
13:42:40  <TrueBrain> or jgrpp
13:42:43  *** Progman has quit IRC
13:42:45  <frosch123> or maybe a query param to filter for specific version string, so people can link to servers.openttd.org?version=jgrpp-0.36.0
13:42:48  <TrueBrain> basically, just being more friendly for patchpacks
13:44:11  <frosch123> anyway, i still think, if you do categories, it should detect them by itself, based on popularity
13:44:37  <TrueBrain> as there is no set way of defining a version, that is near-impossible
13:44:42  <TrueBrain> it can only be correct for the current set, basically
13:44:47  <frosch123> but i also think it is fine, if people could just link from extern sites to specific filters
13:45:09  <TrueBrain> so a filter is fine, which still leaves the question: what do we put in the navigation :)
13:45:34  <frosch123> "all servers", "servers with version with specific prefix", "servers with exact version"
13:46:00  <frosch123> i don't think it needs a navigation
13:47:12  <frosch123> a navigation only makes sense, if people are supposed to discover new versions through that page, and then you would need to provide a download link at least
13:47:51  <TrueBrain> that would be the next step, yes :P
13:54:09  <TrueBrain> okay ... sorting seems to be working now .. and better than the current solution .. lolz
13:54:46  <TrueBrain> we are missing flag-images of 7 countries
13:55:01  <TrueBrain> I wouldn't know where we got them from
13:57:02  <frosch123> they are in openttd.grf
13:57:24  <TrueBrain> I need them in a gif format :P
13:57:35  <TrueBrain> I am missing flag 29 .. 35
13:58:41  <frosch123> https://github.com/OpenTTD/OpenTTD/blob/master/media/baseset/openttd/flags.png
13:58:59  <TrueBrain> if someone can extract 29 .. 35 in gif format, that would be swell
13:59:10  <frosch123> maybe you can do some html magic to crop the image to the desired flag
13:59:11  <TrueBrain> https://media.openttd.org/images/server/0_lang.gif <- example of current gif
13:59:29  <TrueBrain> yeah, but maybe I am completely and utterly done with this HTML + CSS crap :P
13:59:38  <TrueBrain> this was really a horrible 3 hours of my life :(
13:59:48  <frosch123> then drop them :)
14:00:23  <TrueBrain> given all that remains is that someone makes me 6 GIFs, I am not going to drop them completely ;)
14:00:24  <frosch123> i think more people are annoyed about flags representing languages than there are people noticing them missing
14:00:50  <TrueBrain> lol, I haven't heard that debate in years :P But I remember it was a thing
14:01:33  <TrueBrain> I also always wonder what a language of "All" means
14:01:36  <TrueBrain> like .... wuth?
14:01:57  <frosch123> i thought it means "saying anything results in kick"
14:02:14  <TrueBrain> but okay, as mentioned, I just want this nightmare to be over, so people can make PRs if they want it fixed
14:10:16  <TrueBrain> https://github.com/OpenTTD/master-server-web/pull/1 and https://github.com/OpenTTD/master-server-web/pull/2
14:10:22  <TrueBrain> if anyone would be so kind to approve those :)
14:15:04  <TrueBrain> and to rant a bit more: I really really do not enjoy writing webapps anymore, as it turns out :P I am fine with most other parts of the web, but HTML, CSS, and all the weird shit around that .. fuck me :P But okay, the web part is done, and looks mostly the same as the current servers.openttd.org :) (minus shit we removed, minus things that annoyed me :P)
14:18:18  <TrueBrain> frosch123: I btw simply copied bananas-frontend-web, and changed shit :P That made it go a lot quicker :D
14:39:27  <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain merged pull request #1: Add: [DorpsGek] announce issues, pull-requests, and tags to IRC https://git.io/JUG6I
14:39:47  <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain merged pull request #2: Add: [Actions] flake8, black, pytest, and docker build tests https://git.io/JUG6Y
14:40:52  <TrueBrain> tnx glx :)
14:41:00  <glx> easy to review ;)
14:41:27  <glx> as it's basically copy paste from other repos
14:41:58  <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain opened pull request #3: Add: initial version of a web-frontend for the Master Server API https://git.io/JUGiD
14:42:29  <TrueBrain> it sure is
14:42:38  <TrueBrain> as in, it really is :P
14:42:54  <TrueBrain> even the commit messages :D
14:43:49  <TrueBrain> right, tomorrow I will deploy all this to staging
14:43:54  <TrueBrain> see if it really works :)
14:44:04  <TrueBrain> (it does in dev, but .. that is not saying all :P)
15:15:17  *** Wormnest has joined #openttd
15:42:07  <frosch123> what... you added unittests to the master-server :)
15:42:49  <TrueBrain> Yeah ... not sure why :p
15:51:32  <DorpsGek_III> [OpenTTD/master-server] frosch123 approved pull request #1: Rewritten Master Server in Python https://git.io/JUG15
15:52:15  <frosch123> i think the reformatting of the tuples after the black update was about that flake warning
16:07:22  <DorpsGek_III> [OpenTTD/master-server-web] frosch123 commented on pull request #3: Add: initial version of a web-frontend for the Master Server API https://git.io/JUGMp
16:11:38  <DorpsGek_III> [OpenTTD/master-server] TrueBrain dismissed a review for pull request #1: Rewritten Master Server in Python https://git.io/JUG15
16:11:38  <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
16:13:17  <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain updated pull request #3: Add: initial version of a web-frontend for the Master Server API https://git.io/JUGiD
16:14:39  <frosch123> flake before push :)
16:14:43  <TrueBrain> yeah yeah :P
16:14:44  <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain updated pull request #3: Add: initial version of a web-frontend for the Master Server API https://git.io/JUGiD
16:15:03  <TrueBrain> and the frontend-web is missing a test-case .. hmm .. lets add that
16:16:13  <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain opened pull request #41: Add: [Actions] test if the Docker image can be build https://git.io/JUGDZ
16:16:27  <TrueBrain> owh, more GitHub files are missing it seems ..
16:17:38  <TrueBrain> there we go :)
16:17:39  <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
16:24:59  *** gelignite has quit IRC
16:40:18  *** andythenorth has joined #openttd
16:49:27  *** Flygon has quit IRC
17:00:40  *** sla_ro|master has quit IRC
17:01:16  <andythenorth> Timberwolf you're doing a US set? o_O
17:23:53  *** Progman has joined #openttd
17:33:24  *** Markk_ has joined #openttd
17:35:19  *** Markk has quit IRC
17:35:19  *** Markk_ is now known as Markk
17:36:55  *** jottyfan has joined #openttd
17:40:06  <andythenorth> hmm my game has £2bn bank balance, the numbers go up / down fast enough to trigger motion sickness
17:44:32  *** jottyfan has quit IRC
17:45:18  <Timberwolf> andythenorth: I really hope not :)
17:51:27  <andythenorth> my advice is: start lots of projects
17:51:39  <andythenorth> get over-confident by shipping some of them
17:51:50  <andythenorth> then wonder how the hell you'll ever finish the rest
17:51:57  <andythenorth> winning strategy
18:02:53  *** gelignite has joined #openttd
18:17:35  *** Wormnest has quit IRC
18:18:17  *** sla_ro|master has joined #openttd
18:19:18  *** WormnestAndroid has quit IRC
19:03:26  *** WormnestAndroid has joined #openttd
19:09:38  *** Wormnest has joined #openttd
19:14:12  <TrueBrain> frosch123: with your comments fixed, these PRs can be merged? :)
19:15:20  <DorpsGek_III> [OpenTTD/master-server] frosch123 approved pull request #1: Rewritten Master Server in Python https://git.io/JUGQN
19:16:48  <DorpsGek_III> [OpenTTD/master-server-web] frosch123 approved pull request #3: Add: initial version of a web-frontend for the Master Server API https://git.io/JUGQx
19:18:34  <TrueBrain> ty :)
19:25:23  *** jottyfan has joined #openttd
19:25:31  <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
19:26:25  *** iSoSyS has joined #openttd
19:26:52  <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain merged pull request #3: Add: initial version of a web-frontend for the Master Server API https://git.io/JUGiD
19:29:40  <TrueBrain> and to finish the spree off, how about https://github.com/OpenTTD/bananas-frontend-web/pull/41 ? :D
19:32:00  <frosch123> does that count to our docker pull quota?
19:32:10  <DorpsGek_III> [OpenTTD/bananas-frontend-web] frosch123 approved pull request #41: Add: [Actions] test if the Docker image can be build https://git.io/JUG7g
19:32:53  <TrueBrain> they all do
19:33:08  <TrueBrain> but I will switch these repos to the GitHub variant soon
19:33:20  <DorpsGek_III> [OpenTTD/bananas-frontend-web] TrueBrain merged pull request #41: Add: [Actions] test if the Docker image can be build https://git.io/JUGDZ
19:33:34  <TrueBrain> hopefully someone else does the OpenTTD CI :)
19:34:22  <frosch123> do we have anyone who likes ruby?
19:34:36  <TrueBrain> nobody likes ruby
19:34:53  <TrueBrain> sorry, that was not helpful :(
19:34:54  *** jottyfan has quit IRC
19:35:07  <frosch123> well, some people like apple, so i thought it was worth a try
19:35:33  <andythenorth> I have met people who like ruby
19:35:36  <andythenorth> they are not here though
19:38:04  <TrueBrain> given what we have seen from LordAro , I am sure he knows Ruby :)
19:39:10  <LordAro> no.
19:39:31  <TrueBrain> that sounds very definite :)
19:39:58  <TrueBrain> frosch123: but what are you doing that you have to touch Ruby?
19:40:17  <frosch123> gollum wiki does not work the way it promises to work
19:40:48  <frosch123> the wikicloth gem that is supposed to render mediawiki markup completely fails with templates
19:40:57  <LordAro> i know python quite well
19:41:03  <frosch123> at first i thought it was some configuration setting, but now i am convinced that it is a bug
19:41:03  <LordAro> ruby is just broken python
19:42:05  <frosch123> whenever it wants to transclude a template, it tries to modify a frozen string... or so it says. so it may be easy to fix, if you know ruby or how to debug it
19:42:42  <frosch123> but those are only guesses on my side :)
20:03:41  <TrueBrain> LGTM found 2 (very minor) issues with my 1500 lines of MasterServer code .. I am happy with that result :D
20:04:00  <TrueBrain> frosch123: last I worked with Ruby, I guessed my way through it all
20:04:03  <TrueBrain> never understood what I did
20:04:15  <TrueBrain> in result, someone else had to fix my PR to be ... workable :P
20:11:28  <andythenorth> imitating me :(
20:11:31  <andythenorth> unfair
20:16:41  <frosch123> it's even the second time today
20:16:49  <frosch123> earlier he complained about html and css
20:23:45  <TrueBrain> I learn from the best!
20:34:17  *** sla_ro|master has quit IRC
21:09:49  *** frosch123 has quit IRC
21:10:12  *** tokai has joined #openttd
21:10:13  *** ChanServ sets mode: +v tokai
21:17:08  *** tokai|noir has quit IRC
21:50:34  *** andythenorth has quit IRC
22:01:43  *** Wolf01 has quit IRC
22:25:49  *** Progman has quit IRC
22:36:34  *** namad7 has joined #openttd
22:39:17  *** namad7 has quit IRC
22:52:19  *** gelignite has quit IRC
22:55:22  *** nielsm has quit IRC
23:03:57  *** bunburya has joined #openttd
23:39:59  *** iSoSyS has quit IRC

Powered by YARRSTE version: svn-trunk