IRC logs for #openttd on OFTC at 2022-11-04
⏴ go to previous day
02:21:19 *** Wormnest has quit IRC (Quit: Leaving)
03:10:38 *** _aD has quit IRC (Quit: leaving)
04:01:56 *** debdog has quit IRC (Ping timeout: 480 seconds)
06:37:28 *** nielsm has quit IRC (Remote host closed the connection)
07:19:46 <petern> Hmm, so explicit conversion is fine but implicit causes issues.
08:53:30 <pickpacket> had some response so far at least
09:04:06 <petern> I once set up GNU Social, that was a pain. And then nobody used it, now Mastodon is the thing, but it's really really horrible to install for something that is meant to be decentralized.
09:04:25 <petern> Pro-tip never write a web app in Ruby, nobody habitually runs Ruby just for fun.
09:09:06 <reldred> I was running misskey til I broke it
09:09:35 <reldred> I’ll build a new one at some point
09:19:47 <pickpacket> petern: I agree with mastodon being horrible. In fact ActivityPub is turning out to be horrible in general
09:20:03 <andythenorth> Elon will look after us
09:20:12 <pickpacket> our lord and saviour
09:20:21 <petern> I've not actually got as far as using it. I don't generally have full compiler suites on my servers, so...
09:22:23 <reldred> I despise Twitter, and I shall take great joy in riding it into the dirt
09:23:48 <petern> > Operator '|' with one operand equal to zero is redundant.
09:23:48 <petern> I could do with ignoring that check 😄
09:24:02 <petern> Redundant but massively useful for clarity.
09:35:05 *** Montana has joined #openttd
10:06:03 *** Flygon_ has joined #openttd
10:11:17 *** Flygon has quit IRC (Ping timeout: 480 seconds)
10:44:16 *** wallabra_ has joined #openttd
10:45:51 *** wallabra has quit IRC (Ping timeout: 480 seconds)
10:45:52 *** wallabra_ is now known as wallabra
11:59:45 <petern> Oh gods that's terrible.
12:00:01 <petern> Well, minor in the grand scheme of things.
12:19:56 <glx[d]> petern: Implicit may introduce unexpected side effects, with explicit you tell the compiler you know what you are doing
12:20:51 <petern> LordAro: I hadn't looked at the network join progress bar. Tiny unscaled thing still. Fixing now 😄
12:21:44 <petern> In fact, making all progress bars "the same" with regards to layout and spacing.
12:24:58 *** ChanServ sets mode: +v tokai
12:25:14 <petern> Server packets are out of order 🙂
12:26:03 <petern> PACKET_SERVER_MAP_SIZE is meant to skip the packet queue, but!
12:26:12 <petern> It gets sent to me after the map has finished downloading.
12:27:27 <petern> So the progress bar doesn't move, because the client doesn't know the map size (which is file size, not number of tiles)
12:30:40 <petern> I will commit my progress bar changes to variable-scaling, though 🙂
12:31:38 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
12:51:09 <dP> Hm, how do I delete embeds on mobile.,.
12:51:19 <petern> Possibly, I just know it's not sent until too late and I'm not inclined to delve into it now.
13:16:17 *** sla_ro|master has joined #openttd
13:35:16 <glx[d]> dP: Enclose the URL in <>
14:04:22 *** nnyby has quit IRC (Ping timeout: 480 seconds)
14:06:49 *** Montana has quit IRC (Quit: Leaving)
14:09:18 *** WormnestAndroid has quit IRC (Remote host closed the connection)
14:15:50 *** sla_ro|master has quit IRC ()
14:25:51 *** WormnestAndroid has joined #openttd
15:06:35 *** sla_ro|master has joined #openttd
15:46:19 *** gelignite has joined #openttd
16:04:13 *** Tirili has quit IRC (Ping timeout: 480 seconds)
16:24:58 *** HerzogDeXtEr has joined #openttd
16:41:48 *** Flygon_ has quit IRC (Read error: Connection reset by peer)
16:52:30 <LordAro> so presumably it wouldn't have worked before JGR's change anyway?
17:11:50 <Rubidium> I guess the TCP MTU is a bit of the problem...
17:12:26 <petern> It's not that, the code is not executed on the server until the map send is completed.
17:15:39 <Rubidium> ah, there are two queues... one in NetworkServer for the "saving" thread, and one in "Core" for the actual sending. We prepend to the first queue, but that would still be near the end of the latter queue
17:16:54 <Rubidium> ah, exactly what JGR says...
17:17:01 <Rubidium> I'm too slow these days
17:17:04 <petern> Hmm, I see, so because I'm testing with a large map, to be able to see the progress bar in the first place, then it manages to send the full map while it's still compressing.
18:28:23 *** Wormnest has joined #openttd
18:45:36 <petern> Look at the bottom of the Summary page instead.
18:46:30 <petern> It's because you marked a function override, but none of the existing override functions are marked as such. C++ allows all-or-nothing.
18:47:23 <petern> Your options are 1) don't mark it as override, 2) mark all the existing override functions as override, in a separate commit (before)
18:52:00 <petern> I'm a bit disappointed that cppcheck hasn't flagged all those missing override keywords for me 😦
18:52:14 <DorpsGek> - Update: Translations from eints (by translators)
18:56:24 <m3henry> petern, yeah, option 2 is the way forward
19:09:45 <petern> Maybe I should install another linter 🙂
19:09:59 <petern> (Well, static analyser really)
19:14:52 *** wallabra has quit IRC (Ping timeout: 480 seconds)
19:18:58 *** wallabra has joined #openttd
19:42:05 <petern> Haha, broken my build environment 😢
19:42:21 <petern> > Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
19:43:27 <m3henry> I noted that -Wextra doesn't raise any warnings in the ottd codebase even though it's not enabled by default, it seems like it would be a free win to have it on by default as there's nothign to fix
19:49:55 <m3henry> Is is possible to interrupt a CI Job so that the new one may begin?
20:00:22 <petern> Urgh, I've got the vcpkg toolchain file set in cmake, but why is it no longer working 😦
20:07:01 <petern> > "CMAKE_PREFIX_PATH": "/src/vcpkg/installed/x64-windows-static"
20:07:06 <petern> Seems to have done the trick, trying to compile.
20:07:12 <petern> Dunno why that's needed now 😦
20:24:23 *** wallabra_ has joined #openttd
20:26:29 *** wallabra has quit IRC (Ping timeout: 480 seconds)
20:26:29 *** wallabra_ is now known as wallabra
20:45:45 <m3henry> Woo, ready for final review
21:11:05 *** Tirili has quit IRC (Remote host closed the connection)
21:29:05 <petern> andythenorth: docks eh?
21:29:44 <andythenorth> animated metal rolling line eh?
21:29:49 <petern> Looks like I don't need to do anything right?
21:30:25 <andythenorth> this is the best way to use them
21:30:51 <petern> Yes, raising a mountain first.
21:41:24 <petern> Goes it throw out chunky bevel option?
21:59:38 <m3henry> Seems more like a "skinny bevels" option
22:02:27 <m3henry> If the default is Chunky, then I see no need for the button
22:03:56 <m3henry> Also at 1440p, the autodetect should probably be picking 2x
22:12:15 <petern> Currently zoom level is based on OS dpi settings rather than window size.
22:28:27 *** Bouke has quit IRC (Quit: User went offline on Discord a while ago)
22:33:50 <petern> Oh. I may have lost my test file for NewGRF docks 😦
22:47:58 <petern> Newp, found it on the old Debian.vhdx which I never deleted...
22:48:09 <petern> Is nml on Windows a thing?
22:49:46 *** gelignite has quit IRC (Quit: Stay safe!)
22:59:30 <andythenorth> builds on corner slopes? 😛
23:01:28 <petern> Rail stations don't because it's "illegal" for a rail tile to end in mid air.
23:01:58 <andythenorth> docks or just stations? 😛
23:02:21 <andythenorth> stations can't have das boots
23:05:26 <petern> You can't exactly load boats at a rail station right...
23:05:27 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
23:07:01 <petern> (Also no loading boats at bus stops)
23:08:24 <petern> Random pier, though...
23:09:03 <petern> I like the way the double-yellow lines just loop around at the end.
23:09:27 <petern> Along with the brief thought of... did they ever load cars on this tiny thing?
23:11:53 <petern> Loading boats onto the railway now...
23:23:31 <m3henry> Mmmm, these bezels are so nice to have back, like playing on my old CRT
23:28:37 <m3henry> I'm guessing TTO style bezels would be a bit harder
23:33:29 <petern> Screenshot from 2013, but possibly made earlier.
23:33:55 <petern> That predates a whole raft of scaling things.
23:35:58 <m3henry> It would be nice to have a delete button to tidy up old files
23:36:13 <petern> Yes, specially on my screenshots directory
23:42:59 <petern> The old original cargo destinations.
23:43:44 <petern> From 2008. Still surprises me how many features are that old.
23:45:44 <petern> Hmm, we lost the Waiting: line at some point. And I forgot it ever didn't have the sort/filter buttons 😄
23:46:28 <petern> But looks like the too-many-passengers-waiting problem existed with that too.
23:56:29 *** HerzogDeXtEr has quit IRC (Read error: Connection reset by peer)
continue to next day ⏵