IRC logs for #openttd on OFTC at 2020-09-12
            
00:20:13 <DorpsGek_III> [OpenTTD/bananas-api] FilmBoy84 commented on issue #59: Base-music tarballs created are incompatible with OpenTTD client https://git.io/JJuy0
00:30:59 *** Wolf01 has quit IRC
00:36:17 *** nielsm has quit IRC
00:41:27 *** Progman_ has joined #openttd
00:46:17 *** Progman has quit IRC
00:47:33 *** sla_ro|master has quit IRC
00:48:48 *** HerzogDeXtEr has quit IRC
00:52:42 * _dp_ error: ‘pain’ is not a member of ‘std’; did you mean ‘pair’?
00:57:52 <dwfreed> that's totally wrong :D
01:27:16 *** Wormnest has quit IRC
01:30:34 *** gelignite has quit IRC
03:40:32 *** Progman_ has quit IRC
04:23:05 *** tokai|noir has joined #openttd
04:23:05 *** ChanServ sets mode: +v tokai|noir
04:29:53 *** tokai has quit IRC
04:48:49 *** Flygon has joined #openttd
05:02:59 *** snail_UES_ has quit IRC
05:07:09 <DorpsGek_III> [OpenTTD/OpenTTD] HaloFire1985 left a comment on commit: Update: Changelog for 1.9.2 and prepare for release https://git.io/JUl3W
05:10:42 <DorpsGek_III> [OpenTTD/OpenTTD] HaloFire1985 opened pull request #8306: Keep Sake https://git.io/JUl3u
05:11:06 <DorpsGek_III> [OpenTTD/OpenTTD] HaloFire1985 closed pull request #8306: Keep Sake https://git.io/JUl3u
05:11:14 <DorpsGek_III> [OpenTTD/OpenTTD] HaloFire1985 reopened pull request #8306: Keep Sake https://git.io/JUl3u
05:48:33 *** supermop_Home_ has quit IRC
07:43:32 <DorpsGek_III> [OpenTTD/OpenTTD] TrueBrain closed pull request #8306: Keep Sake https://git.io/JUl3u
07:49:17 <TrueBrain> dwfreed: yeah, I remember the days that you could scan, and find, for SOCKS proxies :P And good point :)
07:50:03 <TrueBrain> Luckily, we use AWS, with sane Security Groups, that basically only allow traffic that should be allowed .. no public interface has "all open" rule, only "open port N on protocol X" :D
07:50:18 <TrueBrain> and the SOCKS port is not going to be part of the "allow" :P
07:50:24 <TrueBrain> (only on the private interface)
08:24:17 *** nielsm has joined #openttd
08:42:25 *** Wolf01 has joined #openttd
09:01:48 *** sla_ro|master has joined #openttd
09:06:42 *** HerzogDeXtEr has joined #openttd
09:23:50 *** Eddi|zuHause has quit IRC
09:24:58 *** Eddi|zuHause has joined #openttd
09:28:31 *** guru3_ has joined #openttd
09:29:28 *** labs[m] has quit IRC
09:29:28 *** jact[m] has quit IRC
09:30:28 *** nolep[m] has quit IRC
09:31:29 <LordAro> TrueBrain: i thought we moved off digitalocean because of the terrible ipv6 support? :p
09:31:49 <TrueBrain> DigitalOcean had -no- IPv6 support
09:32:04 <TrueBrain> but yeah, I did not expect this shit tbh ..
09:32:28 *** twom[m] has quit IRC
09:32:43 *** dave[m] has quit IRC
09:32:46 <LordAro> well as long as the proxy will not occasionally fall over and need manually restarting, it's still an improvement
09:32:57 <TrueBrain> exactly :)
09:32:58 *** johanna[m] has quit IRC
09:33:13 *** freu[m] has quit IRC
09:33:33 *** guru3 has quit IRC
09:35:18 *** linda[m] has quit IRC
09:36:43 *** dekeract[m] has quit IRC
09:37:33 *** ciet[m] has quit IRC
09:37:38 *** gretel[m] has quit IRC
09:38:43 *** udo[m] has quit IRC
09:39:13 *** philip[m] has quit IRC
09:41:56 *** labs[m] has joined #openttd
09:42:18 *** albert[m] has quit IRC
09:42:23 *** Heiki[m] has quit IRC
09:43:48 *** julie[m] has quit IRC
09:49:22 *** jact[m] has joined #openttd
09:53:45 *** nolep[m] has joined #openttd
09:54:11 *** Progman has joined #openttd
10:11:22 *** twom[m] has joined #openttd
10:13:41 *** freu[m] has joined #openttd
10:15:13 *** Gustavo6046 has quit IRC
10:17:38 <DorpsGek_III> [OpenTTD/master-server] TrueBrain opened pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUll4
10:17:48 <TrueBrain> okay, that solves 1 of the two issues ... now lets see about the second ..
10:19:46 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUll4
10:22:31 *** ciet[m] has joined #openttd
10:23:48 *** dave[m] has joined #openttd
10:25:55 *** linda[m] has joined #openttd
10:26:11 *** udo[m] has joined #openttd
10:27:09 *** gretel[m] has joined #openttd
10:34:08 <TrueBrain> ugh, the other bug is ... an odd thing in PynamoDB ..
10:34:12 *** dekeract[m] has joined #openttd
10:34:25 <TrueBrain> an empty string is changed to None, which means the field is not written to the database
10:34:37 <TrueBrain> on reading the record, PynamoDB goes: THIS FIELD IS NOT THERE, PANIC
10:34:49 <TrueBrain> ... so why did you change an empty field to None in the first place, if you don't allow reading it back?
10:34:51 <TrueBrain> ugh ..
10:38:06 *** albert[m] has joined #openttd
10:38:11 *** johanna[m] has joined #openttd
10:38:22 *** Heiki[m] has joined #openttd
10:43:12 *** julie[m] has joined #openttd
10:58:15 <DorpsGek_III> [OpenTTD/master-server] TrueBrain opened pull request #8: Several smaller bugs and improvements found while running in production https://git.io/JUl8C
10:58:53 *** philip[m] has joined #openttd
10:59:13 <TrueBrain> and I forgot to run black AGAIN
10:59:45 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #8: Several smaller bugs and improvements found while running in production https://git.io/JUl8C
10:59:59 <TrueBrain> you would think I would learn, but alas, I do not :)
11:01:23 <LordAro> set up your editor to run it on save :p
11:01:37 <TrueBrain> pre-commit hook would be better tbh :P
11:01:51 <TrueBrain> but okay, with these two PRs, and some changes in the infra, we should be able to go live again :)
11:02:10 <TrueBrain> at least, all my pre-checks indicate that :P
11:05:03 <dwfreed> TrueBrain: check out https://pre-commit.com/ :)
11:05:23 <TrueBrain> cool :)
11:11:21 <DorpsGek_III> [OpenTTD/master-server] LordAro approved pull request #8: Several smaller bugs and improvements found while running in production https://git.io/JUl4k
11:13:22 <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #8: Several smaller bugs and improvements found while running in production https://git.io/JUl8C
11:13:36 <DorpsGek_III> [OpenTTD/master-server] TrueBrain closed issue #5: Allow settings a table name prefix https://git.io/JUCEy
11:13:54 <DorpsGek_III> [OpenTTD/master-server] LordAro approved pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUl4Z
11:14:10 <DorpsGek_III> [OpenTTD/master-server] TrueBrain dismissed a review for pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUl4Z
11:14:10 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUll4
11:14:13 <TrueBrain> sorry, just forced pushed an rebase :P
11:14:43 <LordAro> bleh
11:14:55 <DorpsGek_III> [OpenTTD/master-server] LordAro approved pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUl4c
11:15:00 <TrueBrain> tnx LordAro :)
11:15:11 <TrueBrain> now I need to figure out how to run a socks proxy on AWS in a proper way :)
11:17:16 <TrueBrain> read: learn how to make a service in systemd :P
11:19:45 <dwfreed> systemd service units are dead simple for basic uses (one of few positives); just make sure you have Restart=on-failure
11:19:49 <dwfreed> and you'll be fine
11:24:33 <TrueBrain> and now I indeed know how to do this ... :P I appreciate it, but I am still none-the-wiser :)
11:25:25 <dwfreed> copy an existing one :D
11:25:54 <TrueBrain> but WHICH one, that is the trick :)
11:28:00 <dwfreed> if you have /lib/systemd/system/rsync.service, that's a good one
11:28:04 <dwfreed> it's very simple
11:28:22 <dwfreed> Restart=on-failure goes under the [Service] section
11:28:32 <TrueBrain> tnx :)
11:28:45 <dwfreed> ssh.service is a bit more complex, but demonstrates some other common options
11:29:04 <TrueBrain> it just needs to run a Python app :)
11:29:09 <TrueBrain> and reboot on any failure
11:30:01 <dwfreed> https://www.freedesktop.org/software/systemd/man/systemd.service.html manpage
11:31:06 <TrueBrain> https://gist.github.com/TrueBrain/2a61a3489decb127c7d2d61a72e61184 <- guess that should do
11:31:31 <dwfreed> yes
11:32:02 <dwfreed> drop that in /etc/systemd/system, then systemctl enable pproxy.service
11:32:39 <TrueBrain> tyvm :)
11:32:59 <dwfreed> note that will run as root by default
11:33:16 <dwfreed> add User=foo to run as foo user (also under [Service])
11:34:40 <TrueBrain> not a bad idea
11:35:30 <TrueBrain> does it need a systemctl reload, or what is it called?
11:35:36 <TrueBrain> or will enable just work after dropping in the file?
11:36:42 <dwfreed> 'systemctl daemon-reload' may be needed before enable or start will work
11:36:51 <dwfreed> note that enable does not start the unit
11:37:02 <TrueBrain> I assumed as much :)
11:37:10 <TrueBrain> cool .. I will test this in a sec .. now a private DNS ..
11:39:38 <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #7: Add: support SOCKS proxy for new outgoing connections https://git.io/JUll4
11:46:36 <TrueBrain> Failed to start pproxy.service: Unit is not loaded properly: Invalid argument.
11:46:38 <TrueBrain> boooeeeee
11:47:18 <TrueBrain> pproxy.service lacks both ExecStart= and ExecStop= setting. Refusing.
11:47:27 <TrueBrain> I think something else went wrong :D
11:50:21 <TrueBrain> okay, service works, but application does not .. hmm
11:52:16 <TrueBrain> right, logs don't really show why it failed .. hmmmmmm
11:54:04 <TrueBrain> there we go!
11:54:14 <TrueBrain> tnx dwfreed :) That was relative painless :D
12:00:57 <TrueBrain> right .. now the scary part: redeploy some major parts of the AWS infra :D
12:10:59 <TrueBrain> well, first lunch I guess, because .. brrr :P
12:21:01 *** frosch123 has joined #openttd
12:31:02 <TrueBrain> frosch123: https://www.staging.openttd.org/security.html <- good enough, you think?
12:41:11 <frosch123> do you have redirects installed?
12:41:18 <frosch123> the urls are linked from the official CVE entries
12:41:57 <frosch123> oi, you replaced the svn revs with git hashes :)
12:42:29 <TrueBrain> yeah ... I made it nice and clean :)
12:42:34 <TrueBrain> and no, redirects I still have to do
12:42:38 <TrueBrain> but that will be easy enough :)
12:43:11 <frosch123> where does the "login" at the bottom come from?
12:43:34 <frosch123> oh, main website still has that :p
12:45:20 <TrueBrain> lolz .. well, if you can PR that, it will be gone soon ;)
12:45:35 <TrueBrain> the "patch" files were the most interesting
12:45:38 <TrueBrain> they are generated
12:45:44 <TrueBrain> the on-disk patch is just the diff
12:45:51 <TrueBrain> the rest is added based on the information of the CVE
12:49:37 <frosch123> i like how the code changes over time in the diffs
12:49:51 <frosch123> from crappy old C declaring all vars at the top
12:50:05 *** gelignite has joined #openttd
12:50:11 <frosch123> to fixing signedness stuff
12:51:07 <TrueBrain> :D
12:52:15 <TrueBrain> okay, SOCKS proxy is running .. now some minor tweaks to the infra to get it "just right" ..
12:58:01 <DorpsGek_III> [OpenTTD/website] somini commented on pull request #157: Include final URL https://git.io/JUlRD
12:59:30 <DorpsGek_III> [OpenTTD/website] TrueBrain commented on pull request #157: Include final URL https://git.io/JUlRH
13:03:01 <DorpsGek_III> [OpenTTD/website] somini commented on pull request #157: Include final URL https://git.io/JUlR5
13:04:05 <TrueBrain> okay .. who has an IPv6 connection and can run a modified server? :D
13:08:06 <FLHerne> IPv6 on the server?
13:08:19 <FLHerne> I have that, but not at home :-(
13:11:44 <TrueBrain> I think I enabled it on my own server ... we will see :D
13:15:15 <_dp_> I probably can, at least it does ping6
13:16:25 <TrueBrain> hmm .. SOCKS proxy doesn't work in full chain ... this will be fun to find the issue :P
13:19:07 <TrueBrain> okay, that was the firewall
13:19:09 <TrueBrain> fine
13:19:20 <TrueBrain> [2020-09-12 13:18:59] dbg: [net] [udp] advertising on master server successful (IPv6)
13:22:15 <TrueBrain> right, time to finetune the firewall first ..
13:32:52 *** emeraldsnorlax[m] has joined #openttd
13:35:15 <TrueBrain> right, there we go :) Okay ... this should work now ... famous last words? :P
13:36:33 <DorpsGek_III> [OpenTTD/website] TrueBrain opened pull request #166: Fix 38fd927: don't end "url" with a slash; it results in double slash https://git.io/JUl0a
13:40:51 <TrueBrain> [OpenTTD/master-server] TrueBrain created new tag: 1.0.2 https://git.io/JUl0D
13:46:03 <DorpsGek_III> [OpenTTD/website] LordAro approved pull request #166: Fix 38fd927: don't end "url" with a slash; it results in double slash https://git.io/JUl07
13:46:17 <DorpsGek_III> [OpenTTD/website] TrueBrain merged pull request #166: Fix 38fd927: don't end "url" with a slash; it results in double slash https://git.io/JUl0a
14:03:23 <TrueBrain> okay, time to flip the switch again, and see if the new master-server holds this time :P
14:06:28 <frosch123> looks like you slipped and revealed your true bot nature
14:07:41 <TrueBrain> yeah, I need to fix .dorpsgek.yml for that repo :P
14:07:42 <TrueBrain> too lazy :)
14:07:59 <TrueBrain> hmm .. there are servers advertising, but they don't have their firewall configured correctly :P
14:08:58 <_dp_> yeah, I probably have some of those
14:09:07 <_dp_> doesn't matter, they're just for testing
14:10:08 <TrueBrain> they are spamming my logs! :P
14:10:24 <TrueBrain> but most servers are getting through :)
14:10:41 <TrueBrain> 40 IPv4 and 8 IPv6 so far, will takes ~15 minutes for the rest to arrive
14:11:11 <_dp_> what api url should I use btw, https://api.master.openttd.org/server ?
14:11:18 <TrueBrain> so those that fail querying, are most likely their local firewall issues .. I hope at least :) The IPs that fail so far also never made it to the old MSU, so I guess
14:11:21 <TrueBrain> yes
14:11:55 <TrueBrain> that page caches for 5 minutes I believe, but a server only updates every 15
14:14:14 <TrueBrain> owh, the amount of used memory is also a lot lower than I expected ... <50MB
14:14:23 *** gelignite has quit IRC
14:15:46 <TrueBrain> lol, seems https://servers.openttd.org/ could have used a redirect from /en/ to / :P
14:15:55 <TrueBrain> we didn't do that for BaNaNaS either, so meh :P
14:19:11 <TrueBrain> sentry remains empty .. seems this version is a lot more stable :D
14:21:13 <_dp_> oh, I restarted my pc today so spammy servers aren't mine :p
14:22:01 <TrueBrain> the IPs are also all over the place, so I didn't really expect them to be :D
14:22:12 <TrueBrain> there is 1 IPv6 with many ports, of which none of them reply :p
14:23:24 <TrueBrain> the amount of traffic on the NLB did increase drastically .. seems master-server uses more traffic than content-server (excluding downloads, ofc)
14:24:33 <TrueBrain> "There are 105 clients, 270 IPv4 servers and 58 IPv6 servers in this list."
14:24:34 <TrueBrain> w00p
14:24:56 <TrueBrain> hmm .. sorting of servers is not as it should :P
14:36:19 <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain opened pull request #6: Small improvements notices after going live https://git.io/JUlEP
14:36:59 <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain updated pull request #6: Small improvements notices after going live https://git.io/JUlEP
14:37:05 <TrueBrain> every ... fucking ... single ... time .... I need a pre-commit hook :P
14:40:20 <DorpsGek_III> [OpenTTD/master-server] TrueBrain opened pull request #9: Fix: don't log every time a server is not responding https://git.io/JUlED
14:40:27 <TrueBrain> there ... as this is too spammy in the logs :P
14:40:45 <Eddi|zuHause> but once you go through the trouble of making it into a pre-commit-hook, you'll also remember it so it won't ever trigger :p
14:43:03 <TrueBrain> ~30 servers are announcing with a wrongly configured firewall ...
14:43:19 <DorpsGek_III> [OpenTTD/master-server-web] frosch123 approved pull request #6: Small improvements notices after going live https://git.io/JUlE9
14:43:46 <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain merged pull request #6: Small improvements notices after going live https://git.io/JUlEP
14:44:11 <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain created new tag: 1.0.1 https://git.io/JUlEQ
14:44:15 <DorpsGek_III> [OpenTTD/master-server] frosch123 approved pull request #9: Fix: don't log every time a server is not responding https://git.io/JUlE7
14:44:25 <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #9: Fix: don't log every time a server is not responding https://git.io/JUlED
14:44:58 <TrueBrain> [OpenTTD/master-server] TrueBrain created new tag: 1.0.3 https://git.io/JUlEd
14:45:00 <TrueBrain> :P
14:45:02 <TrueBrain> tnx frosch123 !
14:45:44 <TrueBrain> owh, and frosch123 .. I forgot we old accounts system was still running on the Django .. so I cannot shut down the old VM yet :P
14:46:42 <TrueBrain> we = the, what-ever :P
14:47:46 <frosch123> so the oldest part stays the longest?
14:47:54 <frosch123> i guess you have to peel the onion from the outside
14:48:00 <TrueBrain> sadly, yup ...
14:48:05 <TrueBrain> well, I can shutdown another VM now, so that is a bonus
14:48:09 <TrueBrain> and I can restrict even more traffic
14:48:28 <TrueBrain> I think tomorrow I am going through the old nginx web forwarder, to see which subdomains it replies to .. and move them all away
14:48:33 <TrueBrain> that would be a good day too :D
14:49:11 <TrueBrain> cool, all the servers on master-server list I can query ingame too, except for 2 .. guess that server just went offline :D
14:52:09 <frosch123> https://servers.openttd.org/listing/%C3%9F <- sometimes software suprises me
14:52:38 <TrueBrain> this new master-server should be fully UTF-8 compatible
14:52:44 <TrueBrain> mostly because I did absolutely nothing with it :D
14:52:50 <TrueBrain> and in Python3 .. that is mostly enough :P
14:52:57 <TrueBrain> I liked my server-name .. I put trains in it :D
14:53:05 <TrueBrain> I am shocked nobody does that ..
14:53:39 *** Eddi|zuHause has quit IRC
14:53:56 <frosch123> Eddi|zuHause should file a bugreport that python should support proper uppercase ẞ
14:54:09 <frosch123> oh, the force is strong in him
14:54:15 <TrueBrain> bah, a sentry entry ..
14:54:16 <frosch123> he must have anticipated that
14:54:22 <TrueBrain> and one very odd one ..
14:54:23 *** Eddi|zuHause has joined #openttd
14:55:30 <frosch123> [14:53] <TrueBrain> I am shocked nobody does that .. <- probably because the in-game serverlist is not as advanced as your browser
14:55:54 <TrueBrain> owh, the sentry entry happened because of the roll-over
14:56:01 <frosch123> and i think ottd will even strip the private-range chars that we use for the sprite train symbol
14:56:35 <TrueBrain> it showed them as a weird icon
14:56:40 <TrueBrain> I assumed my font ingame didn't support it
14:59:57 <frosch123> "2607:5300:60:1bde::1:4030" <- is that how you print ipv6 addresses? i thought it was "[2607:5300:60:1bde::1]:4030
15:00:19 <TrueBrain> make a pull request! :D
15:00:54 <frosch123> is that an answer?
15:01:05 <TrueBrain> that is me agreeing with you :)
15:01:07 <frosch123> are the [ ] optional? or required?
15:01:17 <TrueBrain> it is better readable with them
15:01:24 <LordAro> i don't think it's technically necessary
15:01:42 <TrueBrain> and in the example your give, the current format is even wrong
15:01:46 <frosch123> how do you distinguish ip and port then?
15:01:50 <TrueBrain> as :: resolves to "as many 0's as needed"
15:01:55 <LordAro> hmm yes
15:01:56 <TrueBrain> so it is unclear there is a port there :P
15:02:15 * LordAro runs away again
15:04:01 <TrueBrain> https://servers.openttd.org/server/5d4d6487f43f1eaf0d743873a7e2084c <- but frosch123 , just look at that .. it is so pretty!
15:04:26 <TrueBrain> https://servers.openttd.org/listing/jgrpp <- I really like this :) It is a nice addition :)
15:04:31 <frosch123> ah, those are trains... i was wondering the other day what they were...
15:04:43 <frosch123> i think i settled for aliens
15:04:54 <TrueBrain> use a better font!
15:06:56 <frosch123> https://servers.openttd.org/server/82b5a418334b4369fba4709aac3a8a18 <- you have hard competition though
15:09:36 <_dp_> Current date: 19353-06-30 xD
15:11:11 <DorpsGek_III> [OpenTTD/master-server-web] frosch123 opened issue #7: Display of ipv6 addresses https://git.io/JUlui
15:13:03 <TrueBrain> frosch123: pretty sure that the fix took more time than the issue :P
15:13:45 <frosch123> no, i would have to clone and clone and branch and commit and push and pr
15:16:42 <frosch123> oh, i can use the gh editor for that
15:18:20 <frosch123> hmm, i think that would make a branch on the official repo though
15:20:41 <DorpsGek_III> [OpenTTD/master-server-web] frosch123 opened pull request #8: Fix #7: distinguish ipv6 address and port. https://git.io/JUluh
15:21:20 <frosch123> ok, looks like i could skip 3 of the 6 steps that way
15:21:43 <frosch123> though it is completely untested now :p
15:21:52 <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain approved pull request #8: Fix #7: distinguish ipv6 address and port. https://git.io/JUlzv
15:22:03 <TrueBrain> just those dots at the end of commit messages
15:22:07 <TrueBrain> that makes no sense .... :P
15:22:40 <frosch123> hey, i already continued with lowercase after :
15:22:41 <frosch123> just for you
15:23:28 <DorpsGek_III> [OpenTTD/actions] dependabot[bot] opened pull request #5: Build(deps): Bump node-fetch from 2.6.0 to 2.6.1 in /deploy-aws https://git.io/JUlzk
15:23:42 <DorpsGek_III> [OpenTTD/actions] dependabot[bot] opened pull request #6: Build(deps): Bump node-fetch from 2.6.0 to 2.6.1 in /deployments-create https://git.io/JUlzt
15:23:57 <DorpsGek_III> [OpenTTD/actions] dependabot[bot] opened pull request #7: Build(deps): Bump node-fetch from 2.6.0 to 2.6.1 in /deployments-update https://git.io/JUlzm
15:24:09 <frosch123> how many will follow?
15:24:18 <DorpsGek_III> [OpenTTD/actions] dependabot[bot] opened pull request #8: Build(deps): Bump node-fetch from 2.6.0 to 2.6.1 in /checkout-dispatch https://git.io/JUlzO
15:25:18 <DorpsGek_III> [OpenTTD/master-server-web] frosch123 merged pull request #8: Fix #7: distinguish ipv6 address and port. https://git.io/JUluh
15:25:20 <DorpsGek_III> [OpenTTD/master-server-web] frosch123 closed issue #7: Display of ipv6 addresses https://git.io/JUlui
15:26:33 <LordAro> uh, why are there 3 PRs apparently for the same thing?
15:26:34 <frosch123> does the list on staging magically fill with the real servers? or does it stay empty unless you patch your server?
15:26:50 <frosch123> LordAro: 4
15:29:20 <_dp_> meanwhile... https://i.imgur.com/2Zx3eKV.png
15:30:36 <frosch123> boo, c&p
15:30:46 <_dp_> :p
15:34:35 <_dp_> ppl keep doing events with breakdowns and I got too annoyed building stupid depots everywhere xD
15:36:19 <frosch123> just cheat with overflow depots before the loading station
15:36:57 <_dp_> it's bad if loading time is too long
15:37:10 <_dp_> so I build overflow before and forced service after
15:40:08 <_dp_> https://i.imgur.com/wEnY9ld.png
15:40:12 <_dp_> not overflow but whatever
15:41:31 <_dp_> also it super annoying whet people in same company are fighting for service interval :p
15:44:32 *** gelignite has joined #openttd
15:44:33 <_dp_> why are some ppl even setting it to 5%, doesn't it just screw all the pathfinding?
15:44:57 <TrueBrain> frosch123: someone would have to add a server for it to show up on staging :P It is no longer shared
15:46:16 <TrueBrain> Invalid file descriptor: -1 <- wtf is asyncio doing? :P
15:47:25 <TrueBrain> "socket.accept() out of system resource"
15:47:28 <TrueBrain> owh, this is bad ..
15:47:40 <TrueBrain> something is not closing sockets ...
15:51:17 *** Progman has quit IRC
15:57:44 <DorpsGek_III> [OpenTTD/master-server] TrueBrain opened pull request #10: Fix: close the UDP socket when we are done with it https://git.io/JUlgm
15:57:54 <TrueBrain> I think this solves it, but very hard to validate ..
16:02:50 <frosch123> try..finally :) poor with...-fanboys
16:03:01 <DorpsGek_III> [OpenTTD/master-server] frosch123 approved pull request #10: Fix: close the UDP socket when we are done with it https://git.io/JUlgc
16:03:26 <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #10: Fix: close the UDP socket when we are done with it https://git.io/JUlgm
16:03:45 <TrueBrain> what I didn't know, that if a task is cancelled, an exception is thrown inside the task
16:03:50 <TrueBrain> the reason finally-statements do hit
16:03:52 <TrueBrain> pretty nice
16:04:16 <TrueBrain> [OpenTTD/master-server] TrueBrain created new tag: 1.0.4 https://git.io/JUlg8
16:04:24 <TrueBrain> we will see in an hour if this fixed anything :D
16:06:26 <TrueBrain> okay, I can confirm that fixes leaking fds :D
16:06:33 <TrueBrain> I forgot in linux you can just see how many fds are open
16:07:23 <frosch123> i know how to use /proc, but you can see that inside an aws container?
16:07:38 <TrueBrain> no, I was reproducing this locally
16:07:41 <TrueBrain> and that was easy enough :D
16:07:46 <Eddi|zuHause> there's "lsof"
16:07:57 <TrueBrain> or just "ls /proc/<pid>/fd | wc -l"
16:08:25 <frosch123> know your tools :)
16:09:37 <TrueBrain> either way, fd-leak should be gone now :)
16:09:43 <TrueBrain> how silly of me .. leaking fds :P
16:10:12 <TrueBrain> and I absolutely love sentry :) Shows really quickly what is going wrong where :)
16:10:57 <TrueBrain> I also like the infra btw ... the pods crashed, but there was a new one running before anyone would really notice :)
16:12:46 <DorpsGek_III> [OpenTTD/master-server-web] TrueBrain created new tag: 1.0.2 https://git.io/JUlg1
16:12:52 <TrueBrain> let's bring your [] fix online :)
16:14:12 <DorpsGek_III> [OpenTTD/website] TrueBrain created new tag: 1.4.0 https://git.io/JUlgS
16:14:20 <TrueBrain> and let's bring the new security pages to production :)
16:14:38 <frosch123> now you are just flipping switches :p
16:14:42 <TrueBrain> yes :D
16:14:51 <TrueBrain> it is sad, the moment you realise the infra is more active than the game :P
16:14:53 <TrueBrain> just saying :D
16:15:21 <TrueBrain> and yes, I really do enjoy that I can just punch a few buttons and in a moment we have a brand new version online .. I absolutely love it
16:24:44 *** gelignite has quit IRC
16:25:03 <TrueBrain> frosch123: https://servers.openttd.org/server/001efd7d2278cb0a9c4400c1db3ebae7 much better :)
16:25:57 <frosch123> i was scary to edit via gh interface and not test it :)
16:38:00 <TrueBrain> Pfft, have a bit of faith :p
16:38:59 <frosch123> i am a c++ programmer. [] have very different meaning in a lot of places :p
16:39:43 *** arikover has joined #openttd
17:05:36 *** sla_ro|master has quit IRC
17:24:25 *** arikover has quit IRC
17:42:43 *** sla_ro|master has joined #openttd
17:57:21 *** debdog has joined #openttd
18:13:58 *** Gustavo6046 has joined #openttd
18:16:23 *** Wormnest has joined #openttd
18:16:39 *** Progman has joined #openttd
18:17:45 *** Flygon has quit IRC
19:08:41 <Wolf01> https://www.pixelstech.net/images/fun/normal/capthcha-all-boxes-bug.jpg
19:10:00 <Eddi|zuHause> Wolf01: that will be a great AI when fully trained :)
19:10:46 <frosch123> the bugs are the two functions who have english names
19:23:40 <Wolf01> Added by the developer after decompiling?
19:31:27 <frosch123> decompiled javascript?
19:46:33 <Wolf01> Unminified and prettified
20:22:06 <TrueBrain> No sentry errors anymore so far .. guess it is stable :D
20:23:26 <frosch123> no more mysql :)
20:25:05 <TrueBrain> Valid point :D
20:25:24 <TrueBrain> Another VM I can delete \o/
20:25:35 <frosch123> does the wiki have its own instance?
20:29:28 <TrueBrain> No .... I just ignore its existence.. it is easier that way
20:30:22 <TrueBrain> Tomorrow I am first going to check out your wiki work, and how rusty my Ruby is ...
20:36:18 *** gelignite has joined #openttd
20:57:45 <Eddi|zuHause> i'm assuming ruby gets more rusty when you learn rust? :p
20:59:59 <_dp_> everything gets
21:00:07 * _dp_ missing rust enums in c++
21:05:05 <Eddi|zuHause> i've never actually looked into what rust actually is
21:06:13 <frosch123> it has the stuff that modern c++ is about, but without the legacy stuff that c++ has to suffer from
21:10:39 *** frosch123 has quit IRC
21:40:33 <TrueBrain> the master-server database size is current a wopping 300 kB
21:45:54 <_dp_> TrueBrain, whoa, bigdata :p
21:46:52 *** supermop_Home_ has joined #openttd
22:21:24 <TrueBrain> and it uses ~2 RCU and 6 WCU (in case you know DynamoDB) .. which is ... 2 euro a month? :P
22:21:28 <TrueBrain> (well, it is within the free-tier
22:21:46 <TrueBrain> cheapest database evah
22:35:59 <_dp_> I did some dynamodb years ago but only thing I remember is that I had to do some stupid crap with data schema to reduce costs
22:41:48 *** WormnestAndroid has quit IRC
22:42:11 *** WormnestAndroid has joined #openttd
22:45:42 <TrueBrain> it is a very simple database
22:45:45 <TrueBrain> and very fast
22:45:56 <TrueBrain> but only a single index, with at most a single "filter" that is quick/cheap
22:46:34 <TrueBrain> so it took me a bit of time to model something for the master-server that worked :P
22:46:38 <TrueBrain> total of 2 tables and 6 indexes :D
23:02:52 *** virtualrandomnumber has joined #openttd
23:05:15 *** gelignite has quit IRC
23:17:16 *** sla_ro|master has quit IRC
23:43:24 *** WormnestAndroid has quit IRC
23:44:31 *** WormnestAndroid has joined #openttd
23:45:27 *** heffer has quit IRC
23:52:17 *** Smedles_ has joined #openttd
23:53:49 *** Smedles has quit IRC
23:56:27 *** heffer has joined #openttd