IRC logs for #openttd on OFTC at 2020-09-27
            
00:03:43 *** tokai has quit IRC
00:11:42 *** Progman has quit IRC
00:15:32 *** sla_ro|master has quit IRC
00:37:38 *** nielsm has quit IRC
00:43:22 <b_jonas> I rebuilt my drop station for the big steel train line, so now I can finally add more trains to it without crowding them up
00:46:13 <DorpsGek_III> [OpenTTD/DorpsGek] LordAro merged pull request #32: Add: Ability to filter 'issue' messages by action https://git.io/JUVxk
00:47:16 <DorpsGek_III> [OpenTTD/DorpsGek] LordAro created new tag: 1.0.10 https://git.io/JUriW
00:50:44 *** DorpsGek_III has quit IRC
01:20:31 *** HerzogDeXtEr has quit IRC
01:23:54 *** matt21347 has quit IRC
01:39:15 <b_jonas> is there a newgrf that has a train set similar to the default trains, but there are enough electric trains for all three rail types that don't go out of support if I play well past 2050?
01:39:30 <b_jonas> possibly even just the default trains but supported longer?
01:41:13 <b_jonas> I'm playing with the Opengrf+ trains set which fixes wagons so they can carry FIRS cargo currently
01:42:41 <b_jonas> I'm in 2080 only, and there are only maglevs available, and only three of them
01:43:10 <b_jonas> if Lev3 or Lev4 goes out of support, the game will be basically unplayable
01:43:28 <b_jonas> but even now I'd want to run some monorails
01:45:46 *** GT has joined #openttd
01:46:22 <b_jonas> I do have vactrains, but they're not a good replacement for general cargo
01:46:24 *** DorpsGek_III has joined #openttd
01:46:24 <DorpsGek_III> [OpenTTD/team] ALEX11BR opened issue #14: [ro_RO] Translator access request https://git.io/JUrQq
01:46:38 <DorpsGek_III> [OpenTTD/team] DorpsGek commented on issue #14: [ro_RO] Translator access request https://git.io/JUrQq
02:00:37 <b_jonas> I wish that patch that lets autoreplace trains with themselves will get into the release soon
02:02:40 <Eddi|zuHause> @b_jonas what vehicles get phased out depends on your newgrf, the latest introduced vehicle sets the date when the game state gets "frozen"
02:03:07 <b_jonas> Eddi|zuHause: yes, that's why I'm asking for a newgrf
02:03:51 <Eddi|zuHause> and i'd recomment you leave some out instead of adding new ones
02:04:29 <Eddi|zuHause> like, anything that adds futuristic vehicles late in the game
02:05:06 <b_jonas> Eddi|zuHause: but I like powerful fast trains, that's why I'm playing with the vactrains
02:05:35 <b_jonas> perhaps if the time was a bit more spread so every fast train was added later, it might work better
02:06:03 <Eddi|zuHause> b_jonas: the other option would be, you roll back to something like 2050, and enable "vehicles never expire"
02:06:25 <b_jonas> Eddi|zuHause: hmm
02:06:32 <b_jonas> that might work
02:06:40 <b_jonas> wait, there's just a vehicles never expire option?
02:06:44 <b_jonas> then I don't need a newgrf
02:06:49 <b_jonas> I just have to start the game that way
02:07:07 <b_jonas> I've set that
02:07:29 <b_jonas> thank you, I haven't realized that
02:07:33 <Eddi|zuHause> you don't have to start the game with it, you can enable it at any point mod-game
02:08:04 <Eddi|zuHause> and while you're in the settings, enable aotorenew vehicles (with same type)
02:08:36 <b_jonas> yeah, though I'd forget to enable it later probably
02:08:48 <b_jonas> and I can hide vehicles in the list so it doesn't matter much if they don't expire
02:09:04 <b_jonas> as for autorenew, no, I want to manually choose to renew vehicles, even in the late game
02:09:52 <Eddi|zuHause> sure, but i wouldn't hold my breath for that being included
02:10:00 <b_jonas> there's already a patch
02:10:21 <Eddi|zuHause> there's patches for loads of things
02:10:48 <b_jonas> sure, but a recent patch
02:22:28 *** WormnestAndroid has joined #openttd
02:56:08 *** GT has quit IRC
04:29:53 *** WormnestAndroid has quit IRC
04:30:42 *** debdog has joined #openttd
04:32:42 *** WormnestAndroid has joined #openttd
04:34:03 *** D-HUND has quit IRC
04:48:43 *** WormnestAndroid has quit IRC
04:50:52 *** Flygon has joined #openttd
04:55:56 *** WormnestAndroid has joined #openttd
05:17:03 *** WormnestAndroid has quit IRC
05:17:10 *** WormnestAndroid has joined #openttd
07:10:02 *** nielsm has joined #openttd
07:25:23 *** snail_UES_ has quit IRC
08:49:34 *** HerzogDeXtEr has joined #openttd
08:55:09 <DorpsGek_III> [OpenTTD/team] telk5093 opened issue #15: [ko_KR] Translator access request https://git.io/JUob4
08:55:27 <DorpsGek_III> [OpenTTD/team] DorpsGek commented on issue #15: [ko_KR] Translator access request https://git.io/JUob4
09:07:04 *** Wolf01 has joined #openttd
09:10:13 *** gelignite has joined #openttd
09:19:29 *** andythenorth has joined #openttd
09:34:23 *** k-man has quit IRC
09:37:40 *** andythenorth has quit IRC
09:39:01 *** Progman has joined #openttd
09:51:22 *** andythenorth has joined #openttd
09:57:51 *** sla_ro|master has joined #openttd
09:58:42 <andythenorth> yo
10:00:47 <Wolf01> o/
10:05:02 *** k-man has joined #openttd
10:07:07 <DorpsGek_III> [OpenTTD/team] TrueBrain opened pull request #16: Add: [DorpsGek] don't announce issue-related changes done by DorpsGek https://git.io/JUKU7
10:20:47 <DorpsGek_III> [OpenTTD/team] LordAro approved pull request #16: Add: [DorpsGek] don't announce issue-related changes done by DorpsGek https://git.io/JUKk9
10:21:00 <DorpsGek_III> [OpenTTD/team] TrueBrain merged pull request #16: Add: [DorpsGek] don't announce issue-related changes done by DorpsGek https://git.io/JUKU7
10:21:11 <TrueBrain> clearly you had forgotten that LordAro ; but that is okay, I didn't :D
10:21:13 <TrueBrain> :P :P :P
10:21:22 <LordAro> :p
10:27:48 <DorpsGek_III> [OpenTTD/team] LawGain opened issue #17: [de_DE] Translator access request https://git.io/JUKI5
10:40:50 <LordAro> it works \o/
10:40:56 <TrueBrain> you sound surprised
10:41:08 <LordAro> only a little
10:41:45 <DorpsGek_III> [OpenTTD/team] LordAro commented on issue #14: [ro_RO] Translator access request https://git.io/JUrQq
10:41:57 <TrueBrain> it is a lot better like this :P
10:42:13 <DorpsGek_III> [OpenTTD/team] LordAro commented on issue #15: [ko_KR] Translator access request https://git.io/JUob4
10:42:15 <TrueBrain> I also made my email a bit more quiet, also nice :)
10:42:32 <DorpsGek_III> [OpenTTD/team] LordAro commented on issue #17: [de_DE] Translator access request https://git.io/JUKI5
10:42:51 <LordAro> indeed
10:54:39 <andythenorth> errr python strings
10:54:58 <andythenorth> cite=u'Mr Train'
10:54:58 <andythenorth> or cite=""""Mr Train"""
10:54:58 <andythenorth> ??
10:55:04 <andythenorth> (python3)
10:57:25 <TrueBrain> if there is an u for ' or ", it is not Python3 :)
10:57:37 <TrueBrain> (or, a very bad Python programmer at the helm)
10:58:06 <andythenorth> I have been cargo-culting u'' around for a while
10:58:27 <TrueBrain> """ is often called a "docstring", but it is just a multiline string
10:58:27 <andythenorth> so can I just """ ?
10:58:32 <TrueBrain> but you can just "
10:58:37 <TrueBrain> there really is no need for more
10:58:40 <TrueBrain> just "Mr Train"
10:58:42 <TrueBrain> it is a string
10:58:43 <TrueBrain> I mean ..
10:58:45 <andythenorth> some are multi-line
10:58:47 <TrueBrain> why complicate shit?
10:58:55 <TrueBrain> then docstring the multiline
10:58:59 <TrueBrain> but really, use black
10:59:02 <andythenorth> hurrah
10:59:03 <TrueBrain> black will fix what-ever you do wrong here for you
11:00:14 <andythenorth> you don't think that the most fun in programming is making meaningless choices about code layout and whitespace? :o
11:01:04 * andythenorth seeks a black for html markup
11:09:51 <LordAro> oh, "seeks"
11:10:00 <LordAro> i saw "sees" and got excited
11:11:44 <dwfreed> most people don't write raw html anymore
11:14:19 <andythenorth> really?
11:14:25 * andythenorth is shocked
11:14:49 <dwfreed> everything is <insert latest and greatest web framework here> anymore
11:14:52 <andythenorth> how are they making all these web pages then?
11:15:02 <andythenorth> it's not all react.js
11:15:09 <dwfreed> a lot is
11:15:44 <andythenorth> bring some stats, we can talk :P
11:16:10 <andythenorth> but given that 'most' of the internet runs on Wordpress, I suspect you're wrong :|
11:16:36 <dwfreed> Wordpress users don't write html either
11:16:44 <dwfreed> though you're right in that it's not react
11:18:22 <andythenorth> ha
11:18:40 <andythenorth> quite possibly 'most' of the internet runs ok CKEditor
11:18:49 <LordAro> js-only sites make me sad
11:19:01 <andythenorth> in which case I accept your argument and you can send me £50 as your prize
11:19:09 <andythenorth> ok / on /s
11:19:35 <andythenorth> LordAro are there any, except twitter?
11:19:50 <andythenorth> nobody seriously serves a mass audience with js only, except twitter
11:20:03 <LordAro> there are many that display nothing at all ehen js is turned off
11:20:06 <andythenorth> it's a joke idea
11:21:21 <michi_cc> Isn't that idea also called progressive web app?
11:21:34 <TrueBrain> "progressive", it starts white
11:21:35 <TrueBrain> :)
11:23:09 <andythenorth> WP
11:28:46 *** iSoSyS has joined #openttd
11:39:40 <andythenorth> oof too much content in my code :|
11:39:41 <andythenorth> lame
11:45:32 *** matt21347 has joined #openttd
11:59:15 *** frosch123 has joined #openttd
12:01:43 <andythenorth> FLHerne should I add Pacer? :|
12:10:43 <FLHerne> yes
12:11:25 <FLHerne> andythenorth: Do the 141, then you can reuse the same sprite as a Leyland National in Road Hog :p
12:11:34 <FLHerne> (they even have indicators!)
12:11:36 <andythenorth> oof yes
12:15:39 * andythenorth exploring older driving trailers
12:15:41 <andythenorth> https://www.rmweb.co.uk/community/index.php?/topic/147522-gwr-autocoach-query/&tab=comments#comment-3670228
12:15:45 *** k-man_ has joined #openttd
12:16:11 <FLHerne> andythenorth: Everyone does the GWR autotrains
12:16:20 <FLHerne> Why no love for the SR gate stock?
12:18:14 <andythenorth> well now
12:18:24 * andythenorth googles
12:19:10 <FLHerne> http://www.kernowmodelrailcentre.com/LSWR_Gate_Stock/prod_35804.jpg
12:19:23 <FLHerne> Worked with M7s mostly
12:19:39 <FLHerne> 0-4-4Ts are underrepresented in OTTD too
12:19:51 <DorpsGek_III> [OpenTTD/OpenTTD] EmperorJake commented on pull request #7000: Some NewGRF variables concerning railtypes https://git.io/JUK8w
12:20:10 <FLHerne> 'gate' because they had concertina lattice gates instead of doors
12:22:23 *** k-man has quit IRC
12:23:03 <andythenorth> lack of 0-4-4T in Horse
12:23:03 <andythenorth> I could remedy that, but not now
12:49:01 *** andythenorth_ has joined #openttd
12:53:35 *** andythenorth has quit IRC
12:56:31 <DorpsGek_III> [OpenTTD/OpenTTD] michicc reopened pull request #7000: Some NewGRF variables concerning railtypes https://git.io/fhI7h
12:56:55 <michi_cc> Eddi|zuHause: I made some work for you :p
13:04:23 <andythenorth_> oof
13:04:37 <andythenorth_> I think the burden was on me to provide newgrf test cases :|
13:05:19 <andythenorth_> :D
13:25:06 *** Progman has quit IRC
14:03:02 *** iSoSyS has quit IRC
14:06:16 <TrueBrain> frosch123: RuntimeError: dictionary changed size during iteration
14:06:23 <TrueBrain> another error that happens often
14:06:31 <TrueBrain> File "/code/webtranslate/protect.py", line 34, in cleanup_sessions
14:06:52 <frosch123> ah, right we wrote bananas after eints
14:07:04 <frosch123> i think we copied that code from eints to bananas, and fixed it in bananas :p
14:07:27 <TrueBrain> yeah .. that traceback is now thrown every N minutes
14:08:17 <frosch123> i just do the same fix as in bananas :p
14:08:21 <TrueBrain> doesn't that mean nobody can login, I wonder ..
14:08:32 <TrueBrain> hmm, you can
14:08:36 <TrueBrain> it is thrown on login for people
14:11:43 <DorpsGek_III> [OpenTTD/eints] frosch123 opened pull request #15: Fix: Session expiration changed dict while iterating. https://git.io/JUK6K
14:12:08 <frosch123> recycled diff and commit messages from bananas :)
14:26:06 <DorpsGek_III> [OpenTTD/eints] TrueBrain approved pull request #15: Fix: Session expiration changed dict while iterating. https://git.io/JUKXm
14:26:18 <TrueBrain> please tag a new openttd-github-NNN after merging :)
14:26:41 <frosch123> we did force-rebase, right?
14:26:49 <TrueBrain> squash if possible
14:26:49 <DorpsGek_III> [OpenTTD/eints] frosch123 merged pull request #15: Fix: Session expiration changed dict while iterating. https://git.io/JUK6K
14:26:52 <TrueBrain> rebase otherwise
14:27:04 <TrueBrain> owh, the github branch
14:27:11 <TrueBrain> rebase + force push, yes
14:39:08 *** andythenorth_ has quit IRC
14:41:32 <TrueBrain> tag and go? :)
14:43:47 <DorpsGek_III> [OpenTTD/eints] frosch123 created new tag: openttd-github-1.0.2 https://git.io/JUKMd
14:57:07 <frosch123> we'll see in 24 hours :p
14:57:26 <TrueBrain> :D
15:24:32 *** snail_UES_ has joined #openttd
15:26:34 *** snail_UES_ has quit IRC
15:35:53 <DorpsGek_III> [OpenTTD/eints] TrueBrain opened pull request #16: Random bits of code cleanup https://git.io/JUKdA
15:36:00 <TrueBrain> was trying to start with bottle, but I first needed to do that ^^ :P
15:36:54 *** supermop_Home has joined #openttd
15:37:13 <supermop_Home> yo
15:37:48 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #16: Random bits of code cleanup https://git.io/JUKdA
15:38:59 <TrueBrain> hmm, I can add a few more things to that PR
15:39:08 <DorpsGek_III> [OpenTTD/eints] frosch123 approved pull request #16: Random bits of code cleanup https://git.io/JUKF3
15:39:25 <TrueBrain> guess I make a new PR out of the rest :P
15:39:36 <DorpsGek_III> [OpenTTD/eints] TrueBrain merged pull request #16: Random bits of code cleanup https://git.io/JUKdA
15:58:10 <TrueBrain> okay, so now a choice .. I can either patch bottle to be .. nicer, and leave it at that
15:58:15 <TrueBrain> or I can replace it with flask
15:58:20 <TrueBrain> the latter takes a bit more time/effort
15:58:28 <TrueBrain> but a patch on bottle can be difficult to track
15:59:20 <frosch123> i think going for flask requires changing all templates
15:59:35 <frosch123> so, yeah, a "bit more" work :)
15:59:52 <TrueBrain> patching bottle it is I guess? :P
16:16:19 <DorpsGek_III> [OpenTTD/team] matthiasradde opened issue #18: [de_DE] Translator access request https://git.io/JUKpA
16:17:24 <DorpsGek_III> [OpenTTD/team] frosch123 commented on issue #18: [de_DE] Translator access request https://git.io/JUKpA
16:21:46 <DorpsGek_III> [OpenTTD/eints] TrueBrain opened pull request #17: Improve logging of eints and bottle https://git.io/JUKhQ
16:21:57 <TrueBrain> I think this is sufficient to make Sentry useful :)
16:22:25 <TrueBrain> I minimized the changes to bottle as much as I could
16:23:06 <TrueBrain> ofc flake complains :P
16:23:07 <DorpsGek_III> [OpenTTD/eints] TrueBrain updated pull request #17: Improve logging of eints and bottle https://git.io/JUKhQ
16:23:23 *** k-man_ has quit IRC
16:27:46 <DorpsGek_III> [OpenTTD/eints] frosch123 approved pull request #17: Improve logging of eints and bottle https://git.io/JUKjK
16:27:54 <TrueBrain> no comments? :o
16:28:21 <frosch123> i did not see an option to patch bottle at runtime
16:28:30 <TrueBrain> neither did I :(
16:28:45 <TrueBrain> the code is not really ... friendly to monkey-patching :P
16:28:58 <DorpsGek_III> [OpenTTD/eints] TrueBrain merged pull request #17: Improve logging of eints and bottle https://git.io/JUKhQ
16:31:43 *** snail_UES_ has joined #openttd
16:31:52 *** jottyfan has joined #openttd
16:31:55 *** k-man_ has joined #openttd
16:32:26 <TrueBrain> okay ... pushing to staging
16:32:29 <TrueBrain> lets see if it works :D
16:32:52 <TrueBrain> would be nice if Sentry gives more context to errors :P
16:36:22 <TrueBrain> well, this is looking better already
16:36:40 <TrueBrain> version detection is a bit wrong :D
16:36:45 <TrueBrain> 0.0.0-524-g9bc3c4e
16:36:54 <TrueBrain> hmm, force-push
16:36:56 <TrueBrain> lost the tag in the tree
16:36:58 <TrueBrain> makes sense
16:37:33 <TrueBrain> okay, time to get this to production :)
16:37:58 <DorpsGek_III> [OpenTTD/eints] TrueBrain created new tag: openttd-github-1.0.3 https://git.io/JU6ve
16:38:14 <TrueBrain> tnx for the quick reviews frosch123 :) Much appreciated!
16:38:20 <TrueBrain> and now we will see how many errors sentry is going to find :D
16:38:43 <TrueBrain> and we have the first one :P
16:39:19 <TrueBrain> yeah, that error possibly should be removed :)
16:51:44 <TrueBrain> okay, it leaves the socket open that talks to GitHub to fetch the access token etc .. not sure why :P
16:52:10 <frosch123> requests3 has some pooling thingie
16:53:39 <TrueBrain> well, it doesn't leak sockets; some GC picks up on it, and closes them down
16:53:43 <TrueBrain> so no biggy
16:53:47 <TrueBrain> just annoying in the logs, I guess :P
16:53:53 <frosch123> https://urllib3.readthedocs.io/en/latest/reference/index.html#module-urllib3.connectionpool
16:54:00 <frosch123> urllib3, not requests3
16:54:29 <TrueBrain> what Python detects, that all variables pointing to a socket are out of scope, but the socket is still open, basically
16:54:49 <TrueBrain> so it cannot be a connectionpool as they are in a singleton :)
16:56:17 *** sla_ro|master has quit IRC
17:00:19 <TrueBrain> some people download at a rate of speed from the bananas-server, that the S3 backend connection says: this is taking to long, goodbye
17:00:19 <TrueBrain> lol
17:00:47 <TrueBrain> 47 people had a terminated connection because of that since .. 3 months :P
17:01:13 <TrueBrain> well, atm it crashes the server .. guess I should just capture the error, and drop the connection or something
17:01:20 <TrueBrain> or try to recover .. but that is kinda difficult
17:10:44 *** andythenorth has joined #openttd
17:20:55 *** Wormnest has joined #openttd
17:30:00 <andythenorth> hmm there's some text I randomise in docs at compile time
17:30:27 <andythenorth> when I write an S3 synchronisation script that's going to be a car crash
17:31:06 * andythenorth contemplates javascript
17:31:17 <andythenorth> or some predictalble seed
17:33:00 <andythenorth> I have NFI about random seeds, but I imagine there's a literature :P
17:37:37 *** tokai has joined #openttd
17:37:37 *** ChanServ sets mode: +v tokai
17:44:38 *** tokai|noir has quit IRC
17:57:23 *** matt21347 has quit IRC
17:57:26 *** denwa has joined #openttd
18:09:03 *** matt21347 has joined #openttd
18:18:33 *** WormnestAndroid has quit IRC
18:18:36 *** virtualrandomnumber has joined #openttd
18:20:37 *** WormnestAndroid has joined #openttd
18:29:34 *** hryniuk has joined #openttd
18:39:28 *** sla_ro|master has joined #openttd
18:51:59 *** Flygon has quit IRC
19:12:21 *** sla_ro|master has quit IRC
19:15:11 *** Progman has joined #openttd
19:18:34 <DorpsGek_III> [OpenTTD/team] devbotas opened issue #19: [lt_LT] Translator access request https://git.io/JU6Bu
19:20:38 *** jottyfan has quit IRC
19:29:43 <DorpsGek_III> [OpenTTD/team] frosch123 commented on issue #19: [lt_LT] Translator access request https://git.io/JU6Bu
19:51:54 <DorpsGek_III> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://git.io/JU6uA
19:51:54 <DorpsGek_III> - Update: Translations from eints (by translators)
20:30:39 *** WormnestAndroid has quit IRC
20:30:54 *** WormnestAndroid has joined #openttd
21:23:19 *** matt21347 has quit IRC
21:29:53 *** sla_ro|master has joined #openttd
22:06:52 *** frosch123 has quit IRC
22:33:48 *** HerzogDeXtEr has quit IRC
22:54:36 *** Wolf01 has quit IRC
23:30:06 *** sla_ro|master has quit IRC
23:53:03 *** andythenorth has quit IRC
23:59:36 *** k-man_ is now known as k-man