IRC logs for #openttd on OFTC at 2022-08-26
            
00:43:27 *** giords[m] has joined #openttd
00:47:50 *** cjmonagle[m] has joined #openttd
01:12:57 *** cawal[m] has joined #openttd
01:42:30 *** karl[m]123456 has joined #openttd
02:18:53 *** Wormnest has quit IRC (Quit: Leaving)
02:53:27 *** D-HUND has joined #openttd
02:56:46 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:59:44 *** olmvnec[m] has joined #openttd
04:40:20 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
04:40:23 *** WormnestAndroid has joined #openttd
04:50:43 *** smoke_fumus has joined #openttd
04:51:07 *** lastmikoi has quit IRC (Quit: ZNC - http://znc.in)
04:56:01 *** D-HUND is now known as debdog
05:00:07 *** smoke_fumus has quit IRC (Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/)
05:14:38 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
05:17:02 *** WormnestAndroid has joined #openttd
05:39:14 *** Flygon has joined #openttd
06:14:41 *** nielsm has joined #openttd
06:23:42 *** philip[m]1 has joined #openttd
06:24:58 *** kolcon1 has quit IRC (Ping timeout: 480 seconds)
06:34:53 *** kolcon1 has joined #openttd
06:35:52 *** gdown has joined #openttd
06:41:10 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on issue #9977: [Crash]: Console command `clear` can stack overflow and crash https://github.com/OpenTTD/OpenTTD/issues/9977
06:43:40 <LordAro> ha
06:44:02 <LordAro> but why does it crash?
06:44:16 <LordAro> size isn't underflowing, surely?
06:44:29 <LordAro> under/over
06:44:56 <LordAro> oh wait, stack overflow
06:46:52 <nielsm> I'm thinking it should be replaced with a std::deque
06:47:15 <nielsm> and maybe truncating to something reasonable once in a while
06:47:40 <LordAro> does it need a deque? a vector would suffice, surely?
06:48:30 <LordAro> or, hmm, cutting elements off the front of a vector isn't necessarily particularly fast, is it?
06:48:40 <LordAro> it is if it's just an array :p
06:48:44 * LordAro hasn't woken up yet
06:48:56 <nielsm> yeah cutting off the front of a vector requires moving everything up
06:49:12 <nielsm> a deque is designed to be efficient for adding and removing on both ends
06:49:26 <LordAro> aye
06:55:54 <dwfreed> O(1) vs O(n)
06:56:10 <dwfreed> n*m for m removals
07:11:53 <nielsm> hmm...
07:11:56 <nielsm> IConsolePrint(TC_LIGHT_BLUE, "OpenTTD Game Console Revision 7 - {}", _openttd_revision);
07:12:17 <nielsm> does changing the internals of the console warrant bumping that revision 7 to 8, perhaps?
07:12:25 <nielsm> the external interface is unchanged
07:25:46 <dwfreed> if the behavior is nominally the same, I would say no
07:41:54 *** Wolf01 has joined #openttd
07:53:56 <DorpsGek> [OpenTTD/OpenTTD] nielsmh opened pull request #9978: Fix #9977: Use a deque rather than linked list for console buffer https://github.com/OpenTTD/OpenTTD/pull/9978
08:03:32 *** dP has quit IRC (Remote host closed the connection)
08:03:43 *** DorpsGek_v has joined #openttd
08:04:11 *** TrueBrain has joined #openttd
08:04:11 <TrueBrain> funny, it seems all puppets were connected to the same IRC host 😄 Well, guess that happens with GeoDNS or something 😉
08:04:16 <TrueBrain> either way, we are back jfs- 🙂
08:04:29 <LordAro> you went away?
08:04:38 <LordAro> nielsm: some warnings for you to fix
08:04:44 <nielsm> the discord bridge died
08:04:56 <TrueBrain> no, IRC had a netsplit! 😛
08:05:26 <LordAro> oh so it did
08:07:20 <peter1138> Hmm, only 50 miles planned tomorrow morning, that means it'll be... pacey.
08:07:54 <LordAro> trouble is you've proved you can do it now
08:08:02 <LordAro> builds expectations
08:09:08 <DorpsGek> [OpenTTD/OpenTTD] nielsmh updated pull request #9978: Fix #9977: Use a deque rather than linked list for console buffer https://github.com/OpenTTD/OpenTTD/pull/9978
08:11:38 <peter1138> I'll bring a rope, literally towed :D
08:12:11 *** virtualrandomnumber has joined #openttd
08:12:30 *** virtualrandomnumber has quit IRC ()
08:12:46 <peter1138> Going past Silverstone, that's going to be busy.
08:15:26 <dwfreed> TrueBrain: make sure the bridge is resolving irc.oftc.net for every connection
08:15:36 <dwfreed> TrueBrain: and not just resolving it once and reusing that
08:16:05 <TrueBrain> I did exactly that 🙂
08:16:19 <TrueBrain> the OS can still cache ofc
08:16:33 <dwfreed> glibc does no caching
08:16:49 <dwfreed> unless you're running nscd, which would be the actual cacher there
08:16:51 <TrueBrain> no, but nss could .. but I don't expect that to be active in the AWS images 🙂
08:17:58 <TrueBrain> but despite that, it looks all but one connection was made to the same IRC host 🙂
08:22:58 <TrueBrain> more the question is I guess why it took 10-ish hours before the first puppet noticed it was no longer connected to IRC .. I need to look into this part of the irc-library I am using
08:24:57 <nielsm> the irc protocol has a PING command clients can send, and the server responds back with whatever parameter the client gave
08:25:05 <nielsm> no idea if that's any use here
08:32:15 <nielsm> wow, the msys2 build checks take ages to run
08:33:13 <nielsm> also is it time to put an ARM based build in the pipeline?
08:33:51 <nielsm> actually, is the mac build already dual-arch?
08:35:06 <LordAro> for like a year
08:38:23 * NGC3982_ tries to irc ping
08:38:26 *** NGC3982_ is now known as NGC3982
08:39:42 <nielsm> right, on the topic of irc ping, I'm pretty sure that most ircds already do send a PING to the client if there hasn't been any other communication with it for a while, and closes the connection if there's no response
08:40:30 <dwfreed> yeah, the ircd sends pings to idle clients
08:40:46 <dwfreed> but clients can also send pings to make sure the connection is still alive
08:42:48 <dwfreed> idle TCP sockets produce no traffic (even with SSL), and the particular failure mode here was that all network connectivity to the ircd was just completely dropped, so no resets made it through, and thus clients would not know the connection was dead unless they were checking
08:42:51 <peter1138> If the client knows the server will send a ping, then it can also determine its connection is lost by the lack of ping.
08:43:01 <peter1138> But that's dependent on the client library.
08:43:20 <dwfreed> peter1138: this would need to be heuristically determined, as different networks have different ping times
08:43:42 <dwfreed> and for a rather active client, you may never actually see a ping from the ircd
08:44:15 <dwfreed> (libera's ping time is 120 seconds since the last activity from the client, oftc's is 240 seconds)
08:44:52 <dwfreed> both libera and oftc only send pings if the client hasn't sent them anything in that timeframe
08:49:50 <nielsm> nearly 40 minutes for the msys2 compile check
08:50:44 <LordAro> msys slow
09:24:08 <peter1138> https://twitter.com/SurreyRoadCops/status/1562902496229888003 Police bike :D
09:25:03 <Hutchinson[m]> Hello, Are you interested in making $1,500 plus additional $500 for diligence and hardwork in two weeks (legit) by sparing just 15/30 minutes of your time every 48hrs without no start up fee ? If yes get back to me for more details
09:25:03 <Hutchinson[m]> https://t.me/+rRk2pLTli4AzYjk0
09:25:15 *** peter1138 sets mode: +b *!*hutchins_@2001:470:1af1:101::*
09:25:17 *** Hutchinson[m] was kicked by peter1138 (Hutchinson[m])
09:26:30 <dwfreed> peter1138: murdered, you can remove the ban (it's a bit too generic, anyway)
09:27:25 <peter1138> It's a single /64 block, and has a username in it.
09:27:57 <LordAro> peter1138: nice!
09:28:01 <dwfreed> and covers every matrix user who's name begins with hutchins_
09:28:08 <dwfreed> s/who's/whose/ words are hard
09:29:05 <dwfreed> that single /64 is everybody using the matrix.org bridge
09:29:09 <peter1138> That's their problem.
09:29:39 <dwfreed> the spammers are never the same twice, so there's no point in keeping it
09:30:24 <peter1138> This is more spammy than the spammer. The ban is on a timer, it'll go.
09:31:13 *** peter1138 sets mode: -b *!*hutchins_@2001:470:1af1:101::*
10:08:38 *** WoozyDragon4018 has joined #openttd
10:08:38 <WoozyDragon4018> https://media.discordapp.net/attachments/737826409707470860/820642095520940052/image0-9.gif
10:11:19 <DorpsGek> [OpenTTD/OpenTTD] nielsmh opened pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979
10:13:27 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on issue #9935: [Bug]: SSE4.1 is mandatory when SSE optimizations are enabled https://github.com/OpenTTD/OpenTTD/issues/9935
10:19:25 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on issue #9935: [Bug]: SSE4.1 is mandatory when SSE optimizations are enabled https://github.com/OpenTTD/OpenTTD/issues/9935
10:21:14 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979#pullrequestreview-1086745720
10:24:01 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on issue #9919: [Bug]: Enterprises are closed without any warning https://github.com/OpenTTD/OpenTTD/issues/9919
10:29:13 <DorpsGek> [OpenTTD/OpenTTD] nielsmh updated pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979
10:30:35 <DorpsGek> [OpenTTD/OpenTTD] LordAro commented on pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979#issuecomment-1228331322
10:31:24 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979#issuecomment-1228332013
10:45:10 <DorpsGek> [OpenTTD/OpenTTD] nielsmh updated pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979
10:52:27 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979#pullrequestreview-1086778571
10:52:42 <LordAro> oh, lol, CI disagrees
10:55:40 <nielsm> gah... I'll look at it in a bit, working on something else rn
10:56:17 <LordAro> i'd almost suggest that the whole global debuglevel array should be converted to a map
10:56:21 <LordAro> but that's probably a bit much
10:56:36 <LordAro> would save the .find inside a loop though
10:57:11 <LordAro> could just do debug_level = new_levels :)
10:57:25 <nielsm> nah doesn't work like that
10:57:40 <nielsm> the actual debug levels are stored in individual global int variables
10:57:54 <nielsm> the DebugLevel struct has a _pointer to_ the debug level value
10:58:04 <LordAro> but they don't have to be?
11:07:28 <peter1138> Oh shit it's lunch time already. And I just had a snack, oops.
11:13:07 <LordAro> so it is
11:14:50 <DorpsGek> [OpenTTD/OpenTTD] nielsmh commented on issue #9923: [Bug]: Property maitenance cost is very high for airport https://github.com/OpenTTD/OpenTTD/issues/9923
11:25:53 <DorpsGek> [OpenTTD/OpenTTD] nielsmh dismissed a review for pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979#pullrequestreview-1086778571
11:25:56 <DorpsGek> [OpenTTD/OpenTTD] nielsmh updated pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979
11:43:28 <nielsm> LordAro: the const issue is fixed now!
11:49:27 <nielsm> I think that's enough code work for today
11:51:41 <peter1138> I had "truffle flavoured" smoked salmon. Such posh.
11:53:06 <FLHerne> any good?
11:55:52 *** WormnestAndroid has quit IRC (Remote host closed the connection)
11:56:51 *** WormnestAndroid has joined #openttd
11:58:42 <FLHerne> there are cargo barges going past my window every half-hour or so https://www.flherne.uk/files/IMG_20220826_110743.jpg
11:59:43 <FLHerne> going upstream empty https://www.flherne.uk/files/IMG_20220826_100558.jpg
12:02:15 *** ely-the-kitsune has quit IRC (Ping timeout: 480 seconds)
12:06:02 *** andythenorth has joined #openttd
12:06:02 <andythenorth> FLHerne: Does it have flat docks?
12:06:34 <FLHerne> the dock is itself a boat, so I guess so :p
12:06:38 <FLHerne> I had a picture
12:06:39 <andythenorth> Are these on the Trent at Attenborough?
12:07:47 <FLHerne> No, on the Severn at Upton-on-Severn
12:08:01 <FLHerne> https://www.flherne.uk/files/IMG_20220825_172810.jpg is the loading 'dock'
12:08:19 <FLHerne> it's an old barge repurposed as a big mooring pontoon, with a conveyor over top
12:08:27 <FLHerne> I haven't passed the unloading point yet
12:08:40 <andythenorth> These are sort of in FISH ish
12:08:57 <andythenorth> I used them for some tiny barge thing
12:09:22 <FLHerne> they look a bit bigger to me than FIRS' really tiny barge
12:09:28 <FLHerne> er, FISH
12:09:50 <FLHerne> scale is weird though
12:10:20 <FLHerne> tbh I've never had a good idea of what size of vessels FISH is supposed to be, I just buy the ones that look right :p
12:11:08 <FLHerne> hm, probably it is the size of the FISH tiny-barge, just different proportions
12:11:14 <FLHerne> these ones are short and wide
12:11:33 <FLHerne> roughly 200t load I think
12:11:48 <FLHerne> the internet said 350 but that seems clearly wrong
12:12:07 <FLHerne> even modelling it as a cuboid across max dimensions it doesn't displace that much water
12:12:48 <FLHerne> here comes another one now
12:13:19 <andythenorth> Boats scale is hard to judge
12:13:28 <andythenorth> Bulldozers are the same
12:14:09 <andythenorth> From a photo with no context a ship could be 1000 grt or 10000 grt
12:14:44 <FLHerne> yeah, but in this case I'm viewing them repeatedly from a few yards away around several other boats of known dimensions ;-)
12:15:17 <andythenorth> I think the FISH one was 40-80 ft
12:15:35 <FLHerne> this is the one that went past just now https://www.flherne.uk/files/IMG_20220826_131257.jpg
12:16:09 <FLHerne> they're about 70ft long and 20ft wide
12:16:23 <FLHerne> and 4-5 feet of the side disappears when loaded
12:30:02 *** ely-the-kitsune has joined #openttd
12:50:45 <peter1138> That's a long fish. How much did it weigh?
12:53:11 <andythenorth> 5 kg
12:58:06 *** nielsm has quit IRC (Ping timeout: 480 seconds)
13:45:47 *** NickSpielt has joined #openttd
13:45:47 <NickSpielt> Dude, frее subsсriрtion fоr 3 mоnths DISCОRD NITRО - https://cutt.ly/qXLSOav
13:46:53 <peter1138> Discord scams eh?
13:48:41 *** CleoWaterdev has joined #openttd
13:48:41 <CleoWaterdev> yea lol
13:49:02 <CleoWaterdev> Discord Moderator: sry for ping but pls remove
13:50:09 *** Chris[d] has joined #openttd
13:50:09 <Chris[d]> I've seen less convincing scams
13:50:10 *** Brickblock1 has joined #openttd
13:50:10 <Brickblock1> He got hacked
13:50:28 <CleoWaterdev> Chris[d]: yea but still haha
13:51:19 <peter1138> "got hacked" got tricked into giving permissions
13:53:42 <CleoWaterdev> peter1138: got tricked to clicking on a link and entering discord credentials lmaoo
13:57:35 <DorpsGek> [OpenTTD/OpenTTD] glx22 opened pull request #9980: Fix #9935: Use more selectivity when building SSE specific code https://github.com/OpenTTD/OpenTTD/pull/9980
15:30:32 *** HerzogDeXtEr has joined #openttd
15:36:29 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #9978: Fix #9977: Use a deque rather than linked list for console buffer https://github.com/OpenTTD/OpenTTD/pull/9978#pullrequestreview-1087144260
15:44:11 *** virtualrandomnumber has joined #openttd
15:44:26 *** virtualrandomnumber has quit IRC ()
15:50:06 <DorpsGek> [OpenTTD/OpenTTD] frosch123 approved pull request #9980: Fix #9935: Use more selectivity when building SSE specific code https://github.com/OpenTTD/OpenTTD/pull/9980#pullrequestreview-1087164072
15:58:30 <DorpsGek> [OpenTTD/OpenTTD] frosch123 approved pull request #9979: Fix #9940: Print debuglevel parse errors to console when changed from console https://github.com/OpenTTD/OpenTTD/pull/9979#pullrequestreview-1087174100
16:29:59 *** gelignite has joined #openttd
16:45:10 *** Wormnest has joined #openttd
17:31:50 *** Wormnest has quit IRC (Quit: Leaving)
17:36:22 <DorpsGek> [OpenTTD/OpenTTD] glx22 merged pull request #9980: Fix #9935: Use more selectivity when building SSE specific code https://github.com/OpenTTD/OpenTTD/pull/9980
17:36:25 <DorpsGek> [OpenTTD/OpenTTD] glx22 closed issue #9935: [Bug]: SSE4.1 is mandatory when SSE optimizations are enabled https://github.com/OpenTTD/OpenTTD/issues/9935
17:49:16 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
17:54:37 *** WormnestAndroid has joined #openttd
18:32:23 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
18:50:37 <DorpsGek> [OpenTTD/OpenTTD] frosch123 merged pull request #9967: Fix: [NewGRF] Default value of RailVehicleInfo::railveh_type was inconsistent with other default properties. https://github.com/OpenTTD/OpenTTD/pull/9967
18:58:33 <DorpsGek> [OpenTTD/OpenTTD] DorpsGek pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/dcdc8d187caeba709756057c903009813282f9b7
18:58:34 <DorpsGek> - Update: Translations from eints (by translators)
18:58:56 *** WormnestAndroid has quit IRC (Read error: Connection reset by peer)
18:59:09 *** WormnestAndroid has joined #openttd
19:07:46 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
19:10:08 *** WormnestAndroid has joined #openttd
19:15:51 *** Venemo_ has quit IRC ()
19:16:02 *** Venemo has joined #openttd
19:45:29 <DorpsGek> [OpenTTD/nml] frosch123 commented on pull request #211: Feature: support for vehicle var 4E, date_of_last_station_departure https://github.com/OpenTTD/nml/pull/211#issuecomment-1228856244
19:45:32 <DorpsGek> [OpenTTD/nml] frosch123 closed pull request #211: Feature: support for vehicle var 4E, date_of_last_station_departure https://github.com/OpenTTD/nml/pull/211
19:50:50 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
19:52:03 *** WormnestAndroid has joined #openttd
19:58:33 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
20:08:37 <DorpsGek> [OpenTTD/OpenTTD] Andrew350 commented on issue #9923: [Bug]: Property maitenance cost is very high for airport https://github.com/OpenTTD/OpenTTD/issues/9923
20:10:46 <DorpsGek> [OpenTTD/nml] frosch123 commented on pull request #247: Add: Translate ternary operator into varact2 if needed https://github.com/OpenTTD/nml/pull/247#pullrequestreview-1087475777
20:13:24 <DorpsGek> [OpenTTD/nml] frosch123 approved pull request #257: Codechange: improve error reporting for procedure calls missing '()' https://github.com/OpenTTD/nml/pull/257#pullrequestreview-1087480721
20:38:25 <andythenorth> so much nml 🙂
21:19:43 *** gelignite has quit IRC (Quit: Stay safe!)
21:54:00 <DorpsGek> [OpenTTD/nml] glx22 merged pull request #257: Codechange: improve error reporting for procedure calls missing '()' https://github.com/OpenTTD/nml/pull/257
22:30:30 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
22:35:33 *** WormnestAndroid has joined #openttd
22:55:36 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)