Config
Log for #openttd on 4th May 2024:
Times are UTC Toggle Colours
00:03:56  <_glx_> peter1138: not related at all, it's ```    /// a (hopefully) large enough character buffer
00:03:56  <_glx_> std::array<char, 64> number_buffer{{}};
00:04:08  <_glx_> inside json.hpp
00:04:15  <peter1138> Ah okay.
00:09:24  <_glx_> `auto buffer_ptr = number_buffer.begin();` then `*buffer_ptr = '-';` if needed, then `buffer_ptr += n_chars;` (with n_chars being the number of digits), then it's filled backward via some `*(--buffer_ptr) = ...`
00:10:11  <_glx_> could be a compiler bug
00:10:14  <peter1138> Yeah, I'm assuming json.hpp is fine and it's compiler being silly.
00:11:52  <peter1138> Trying to find an SD card reader so I can write a fresh 64 bit Pi OS to it, to then try out Linux Arm64 myself.
00:12:15  *** Xaroth92328 has quit IRC
00:15:38  *** Xaroth92328 has joined #openttd
00:16:07  <peter1138> Hmm, this is a RISC OS image.
00:16:10  <peter1138> Not sure I really need that ๐Ÿ˜„
00:23:24  *** Xaroth92328 has quit IRC
00:23:46  *** Xaroth92328 has joined #openttd
00:41:15  <peter1138> Oh, of course, there's no longer a default username and password to login remotely.
00:58:21  *** tokai|noir has joined #openttd
00:58:21  *** ChanServ sets mode: +v tokai|noir
01:04:53  *** tokai has quit IRC
01:09:01  *** ufo-piloot has joined #openttd
01:17:16  *** ufo-piloot has quit IRC
01:18:14  *** patrick[m] has quit IRC
02:17:41  *** gnu_jj_ has joined #openttd
02:20:53  *** gnu_jj has quit IRC
02:33:41  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12598: Codechange: use vector instead of manual memory management for decompressing text files https://github.com/OpenTTD/OpenTTD/pull/12598#pullrequestreview-2039203372
02:41:49  *** Wormnest has quit IRC
02:44:12  <peter1138> silent_tempest: Yeah, ARM v7l. But only when you boot a 32-bit OS. When you boot the 64-bit version it says it's ARM 8 (but doesn't have the descriptive text.)
02:44:26  <peter1138> That's quite... weird ๐Ÿ˜„
02:56:50  <peter1138> Generating ... baseset metadata file needs to be optimised, hehe
02:58:07  *** debdog has joined #openttd
02:59:50  *** dihedral has quit IRC
03:01:29  *** D-HUND has quit IRC
03:04:07  *** dihedral has joined #openttd
03:17:21  <DorpsGek> [OpenTTD/OpenTTD] PeterN opened pull request #12621: Cleanup: Remove TileMatrix that hasn't been used for 4+ years. https://github.com/OpenTTD/OpenTTD/pull/12621
03:27:04  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12621: Cleanup: Remove TileMatrix that hasn't been used for 4+ years. https://github.com/OpenTTD/OpenTTD/pull/12621#pullrequestreview-2039216856
03:29:14  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #12619: Codechange: Use vectors instead of CallocT/free for cache checks. https://github.com/OpenTTD/OpenTTD/pull/12619#pullrequestreview-2039217153
03:31:48  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 updated pull request #12598: Codechange: use vector instead of manual memory management for decompressing text files https://github.com/OpenTTD/OpenTTD/pull/12598
04:31:37  *** Smedles has quit IRC
04:31:40  *** Smedles has joined #openttd
04:41:12  <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/60cf37e0d175a0fe45615f3bc4459afa7b17d41a
04:41:13  <DorpsGek>   - Update: Translations from eints (by translators)
04:57:15  <merni> peter1138: does someone want to approve 12209 now? ๐Ÿ˜„
05:18:41  *** salut3585 has joined #openttd
05:18:41  <salut3585> can I use lowerCamelCase ?
05:22:57  <merni> https://github.com/OpenTTD/OpenTTD/blob/master/CODINGSTYLE.md
05:31:09  *** keikoz has joined #openttd
05:33:18  <andythenorth> peter1138: chocks away
06:16:56  *** nielsm has joined #openttd
06:35:55  *** fiddeldibu[m] has quit IRC
06:37:45  *** freu[m] has quit IRC
06:40:16  *** Ox7C5 has joined #openttd
07:06:46  *** HerzogDeXtEr has joined #openttd
07:37:45  <salut3585> https://cdn.discordapp.com/attachments/1008473233844097104/1236220205923827783/image.png?ex=66373748&is=6635e5c8&hm=e23288b016de0dfc2fefedd159ced71afdb293a315cf4576cb4a529f1fa5da5b&
07:37:45  <salut3585> According to the style description, I can't use Enum this way. But I think it's better this way. Do you think it's possible to break the role's style description?
07:44:20  <salut3585> https://cdn.discordapp.com/attachments/1008473233844097104/1236221862095228942/image.png?ex=663738d3&is=6635e753&hm=dfb8a92491eb686e3380139737616850149e0a705645676d78652c8ea74b9373&
07:44:20  <salut3585> In this case, we may run the function with unexpected values.
07:44:21  <salut3585> if I follow the style description the code will become unclear
07:48:21  <_jgr_> Have you considered using an existing enum such as DiagDirDiff for this?
07:51:08  <_jgr_> It doesn't make sense to use radians when the only sensible rotations are assigned to the tile grid
08:06:34  <jfs> I think the question here is, what are you trying to achieve in the end? why do you need free rotation instead of only the predefined angles?
08:11:25  <salut3585> maybe DiagDirDiff would be good for this. Thank you
08:12:16  *** kstar892[m] has quit IRC
08:21:36  *** calbasi[m]1 has quit IRC
08:28:45  *** Wolf01 has joined #openttd
08:28:56  *** gretel[m] has quit IRC
08:34:50  <peter1138> Is it still compiling?
08:37:03  <peter1138> > ssh: connect to host 192.168.12.14 port 22: No route to host
08:37:05  <peter1138> I'm going with no.
08:38:36  <peter1138> Stopped at linkgraphjob.cpp. A way to go yet, then.
08:42:03  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12621: Cleanup: Remove TileMatrix that hasn't been used for 4+ years. https://github.com/OpenTTD/OpenTTD/pull/12621
08:42:24  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12619: Codechange: Use vectors instead of CallocT/free for cache checks. https://github.com/OpenTTD/OpenTTD/pull/12619
08:43:07  <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #12620: Doc: Re-order release instructions to not tell the world prematurely https://github.com/OpenTTD/OpenTTD/pull/12620#pullrequestreview-2039294007
08:45:27  <DorpsGek> [OpenTTD/OpenTTD] zacc commented on discussion #12384: Road transport - pathfinder doesn't see traffic on the roads, which intensifies existing traffic jams https://github.com/OpenTTD/OpenTTD/discussions/12384
08:47:11  <tateisukannanirase> I've noticed that sometimes the vehicle `cur_speed` can be >0 when the vehicle is in gridlock of vehicles converging in multiple directions. This seems to be reflected in the UI too. Is there an alternative way to tell if a vehicle is moving or not?
09:04:18  <peter1138> Oh, it crashed again, 15+ minutes ago. Sigh.
09:14:34  <peter1138> Can I run swap over NFS? ๐Ÿ˜„
09:15:17  <peter1138> Actually, memory. Memory over NFS.
09:16:50  <peter1138> [ 38%] Building CXX object CMakeFiles/openttd_lib.dir/src/network/network_command.cpp.o
09:16:50  <peter1138> virtual memory exhausted: Cannot allocate memory
09:16:54  <peter1138> Poof
09:25:34  <DorpsGek> [OpenTTD/OpenTTD] PeterN approved pull request #12598: Codechange: use vector instead of manual memory management for decompressing text files https://github.com/OpenTTD/OpenTTD/pull/12598#pullrequestreview-2039305784
09:36:09  <truebrain> peter1138: oof
09:38:18  <peter1138> 1GIB RAM not enough ๐Ÿ˜ฆ
09:39:03  <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler merged pull request #12620: Doc: Re-order release instructions to not tell the world prematurely https://github.com/OpenTTD/OpenTTD/pull/12620
09:39:04  <truebrain> I noticed that before
09:39:13  <truebrain> also, clang and gcc differ in their requirements ๐Ÿ˜›
09:39:51  <peter1138> Okay, so Raspberry Pi 5 8GB?
09:40:01  <peter1138> ยฃ80 on Amazon ๐Ÿ˜ฎ
09:40:15  <truebrain> I have a few Pis in my house, I can connect one or two a bit later today
09:40:24  <truebrain> (the 8GB variants)
09:40:33  <peter1138> Me too, they're all older 1GB or less though.
09:40:56  <truebrain> now mostly first waiting to see if talltyler received an email I send him ๐Ÿ˜„
09:41:16  <truebrain> and trying to remember how to manage accounts for various of sites ..
09:42:20  <_jgr_> Sounds like you'd be better off cross compiling than trying to do it actually on the device
09:42:45  <peter1138> Okay, with std::deque,. CreateNewNode() took 518ยตs.
09:42:54  <peter1138> For 1,000,000 calls.
09:43:04  <peter1138> I think this is fine.
09:44:29  <truebrain> owh, the AWS bill this month was 50 dollar less than last month. That is a nice change.
09:44:39  <truebrain> seems 14.0 does have its effect ๐Ÿ˜›
09:51:44  <andythenorth> \o/
09:51:54  <andythenorth> I will send you the bill for my MBP later
09:53:30  <truebrain> ghehe, I do have 8GB Pis here, but I "repurposed" their disks, so I don't have a boot medium for them ๐Ÿ˜„
09:53:40  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on pull request #12409: Codechange: Replace Array/FixedSizeArray with std::deque. https://github.com/OpenTTD/OpenTTD/pull/12409#issuecomment-2094101430
09:53:40  <andythenorth> can you boot them from the cloud?
09:53:47  <truebrain> I do not have PXE setup in my network, no
09:54:04  <peter1138> What kind of nerd are you?!
09:54:11  <truebrain> I know right ๐Ÿ˜ข
09:54:14  <andythenorth> does your TV have storage?
09:54:18  <peter1138> Wait, why don't I have a PXE setup?
09:54:44  <peter1138> (Do Pis support netbooting? Hmm)
09:54:49  <truebrain> I did find a random 8GB SD .. what will be on it?
09:54:55  <peter1138> RISC OS.
09:55:12  <truebrain> GCODE!
09:55:20  <DorpsGek> [OpenTTD/OpenTTD] PeterN merged pull request #12409: Codechange: Replace Array/FixedSizeArray with std::deque. https://github.com/OpenTTD/OpenTTD/pull/12409
09:55:24  <truebrain> okay, so a very slow SD .. that is not going to do any good ๐Ÿ˜›
09:55:35  <peter1138> Deep in the heart of Yapf. RIP.
09:57:22  <peter1138> I hope Xarick is okay. We've not had a woe-the-game-is-ruined moment for a while ๐Ÿ™‚
09:58:57  <andythenorth> I'm sure LC will deliver on that at some point
10:00:19  <truebrain> peter1138: you wanted 32bit of 64bit?
10:00:42  <peter1138> 64 bit, that's what the bug report is against.
10:03:06  <peter1138> So ยฃ80 for a Pi 5 8GB... and then add on the a power supply, and a case and... yeah, that's probably about the price of a mac M3 now?
10:03:56  <peter1138> Oh but they are kinda awkward to Linux on.
10:09:04  <truebrain> okay, I found an USB stick, and I am now booting my Pi 4B 8GB ๐Ÿ˜›
10:10:25  <truebrain> I only don't have an adapter for the HDMI, so I am always just hoping the wifi configuration "just works" ๐Ÿ˜›
10:11:37  <truebrain> yeah, it is alive!
10:11:58  <peter1138> Hehe
10:13:19  <truebrain> see your DM ๐Ÿ˜› Go nuts on it ๐Ÿ˜›
10:13:38  <truebrain> well, stay on the device; I do not give you permission to scan my network ๐Ÿ˜„
10:14:11  <_jgr_> I'm still running my Pi Model B, with a half GB of RAM
10:14:14  <truebrain> (I can do too what ever you were trying; I just don't know what you were trying ๐Ÿ˜„ )
10:14:52  <_jgr_> I haven't tried to build or run OpenTTD on it in recent times ๐Ÿ˜›
10:15:03  <truebrain> building will fail, we now know ๐Ÿ˜›
10:18:51  <peter1138> Hmm, this appears to be significantly faster than the Pi 3B.
10:19:29  <peter1138> Well, I'll go with noticably. Maybe not significantly.
10:19:37  <truebrain> ๐Ÿ˜„
10:19:52  <truebrain> 4 cores go brrooooeeemmmmm
10:20:04  <peter1138> cmake optimistically says it's 46% of the way through compiling...  after finishing the languages ๐Ÿ˜„
10:20:18  <peter1138> I have 4 cores too, but with 1GB RAM that doesn't help.
10:25:01  *** reldred has quit IRC
10:28:21  <peter1138> > [ 65%] Building CXX object CMakeFiles/openttd_lib.dir/src/network/network_command.cpp.o
10:28:25  <peter1138> It passed that.
10:29:14  <truebrain> up to 14.3% memory on one of the compile-steps already
10:29:20  <truebrain> nom nom nom, memory, nom nom
10:29:42  <peter1138> templates ehj?
10:30:30  <peter1138> Hmm, I guess with an NVMe adapter it won't fit in a standard case.
10:33:01  <truebrain> this Pi is passively cooled atm ... it is hot hot hot
10:33:07  <truebrain> so there is some thermal trottling going on at ๐Ÿ˜›
10:33:17  <Eddi|zuHause> so it's actively hotted? :p
10:33:28  <truebrain> (I used to have them actively cooled, but I was too lazy to connect that ๐Ÿ˜› )
10:56:07  <truebrain> right, added some active cooling
10:56:10  <truebrain> should help with performance ๐Ÿ˜„
10:56:25  <truebrain> also figured out why emails were not arriving; stupid spam filters ๐Ÿ˜› ๐Ÿ˜›
10:56:54  <peter1138> Well, it already finished, so it should be cool now ๐Ÿ™‚
10:57:18  <peter1138> Now, why do we 1) not have a cli bootstrap or 2) not have a dummy baseset for dedicated builds...
10:57:45  <truebrain> 2) has been a question for 15 years already ๐Ÿ˜›
10:57:50  <truebrain> "because nobody did that"? ๐Ÿ˜„
10:57:59  <kuhnovic> TB put his pi in a bath of mineral oil. Active cooling ftw.
10:58:20  <peter1138> It used to matter when we had a vehicle position hash that relied on sprite sizes.
10:59:33  <truebrain> introducing a lot of cooling at once has an interesting effect on the board
10:59:46  <peter1138> Oh/
11:00:10  <truebrain> as in, I can hear the PCB "changing size" (what is the right english word .. contract?)
11:00:37  <peter1138> Cool, this build does not crash.
11:00:49  <peter1138> Either we fixed it, or the debug report does not have enough information.
11:00:57  <truebrain> \o/
11:02:40  <peter1138> OIkay, so mine is a debug build not relwithdebinfo.
11:02:54  <peter1138> (I figured debug would be useful for, you know... debugging)
11:03:02  <truebrain> how dare you! ๐Ÿ˜›
11:05:30  <peter1138> Is this Pi OS or proper Debian?
11:06:24  <DorpsGek> [OpenTTD/OpenTTD] zacc closed pull request #12558: Change: [RoadStop] For DriveThroughRoadStop, calculate the occupied level based on actual vehicles in the stop in that tick. https://github.com/OpenTTD/OpenTTD/pull/12558
11:06:27  <DorpsGek> [OpenTTD/OpenTTD] zacc commented on pull request #12558: Change: [RoadStop] For DriveThroughRoadStop, calculate the occupied level based on actual vehicles in the stop in that tick. https://github.com/OpenTTD/OpenTTD/pull/12558#issuecomment-2094122200
11:07:41  <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #12609: [Crash]: Segmentation fault on dedicated server launch (Linux arm64) https://github.com/OpenTTD/OpenTTD/issues/12609
11:08:35  <peter1138> I have no clue but the fact it reports errors in json.hpp for them makes me think it's not doing C++20 right ๐Ÿ™‚
11:12:55  <truebrain> It is the RaspOS default OS stuff
11:13:03  <truebrain> I can install an older version if that helps
11:31:35  <truebrain> even if that would allow you to reproduce, the solution would still be to upgrade the OS, I guess ๐Ÿ˜„
11:31:51  <truebrain> anyway, I assume you no longer need access peter1138 ?
11:32:38  <peter1138> I think you are right, if that's the problem it needs an upgrade. So I guess no longer. Thanks!
11:33:02  <truebrain> no worries
11:33:14  <peter1138> Although surprising that it compiles and fails, instead of failing to compile.
11:33:49  <truebrain> indeed
11:43:01  *** Flygon has quit IRC
11:44:56  <tateisukannanirase> Does anybody know how DestinationID in the order framework can be compared to a RoadStop instance?
11:45:04  <peter1138> It can't.
11:45:31  <peter1138> Vehicles are ordered to stations, not specific road stops.
11:45:54  <peter1138> So DestinationID will be the StationID.
11:45:55  <tateisukannanirase> Ah, that makes sense.
11:46:11  <peter1138> You can compare the station referenced on the tile instead of going via RoadStop.
11:48:58  <tateisukannanirase> Got it, thanks for the quick reply!
11:50:57  *** evoke0 has joined #openttd
11:56:35  <tateisukannanirase> Found `GetStationIndex(tile)` function ๐Ÿ‘
12:03:47  <peter1138> `uint64_t flags;       ///< stores which blocks on the airport are taken. was 16 bit earlier on, then 32`
12:03:51  <peter1138> Useful comment at the end...
12:07:42  <_glx_> So max size of an airport is 64 tiles
12:08:12  <peter1138> No, it's the number of blocks, which is a logical group, not each tile.
12:22:45  <peter1138> Hmm, no point touching queue.cpp, that'll be removed ๐Ÿ™‚
13:14:37  <rau117> https://cdn.discordapp.com/attachments/1008473233844097104/1236304981724758116/image.png?ex=6637863d&is=663634bd&hm=bca6ba071805bf9f71443df2da31ef4aba9dd20c9d1db60dfeb3ea7efb41b706&
13:14:37  <rau117> tiny little bug-report aka ยซi'm lazy to go to githubยป
13:14:37  <rau117> Openttd survey page have no links to openttd.org, the logo button leads to survey.openttd.org
13:16:11  <rau117> https://cdn.discordapp.com/attachments/1008473233844097104/1236305376891375767/image.png?ex=6637869b&is=6636351b&hm=a140ce6f228a1c9773bdd6727581e5d900efcf3a18a7d345a948de4cf763d621&
13:16:11  <rau117> tiny little bug-report aka ยซi'm lazy to go to githubยป
13:16:11  <rau117> Openttd survey page have no links to openttd.org, the logo button leads to survey.openttd.org
13:16:45  <peter1138> Pull Requests live here: <https://github.com/OpenTTD/survey-web/pulls>
13:34:05  <DorpsGek> [OpenTTD/OpenTTD] arb103 commented on issue #12609: [Crash]: Segmentation fault on dedicated server launch (Linux arm64) https://github.com/OpenTTD/OpenTTD/issues/12609
14:03:28  <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1236317274915209347/image.png?ex=663791b0&is=66364030&hm=fe5085d3c684ef2f436afb8073714999b73da80ecd8c96666b9b2ec23107ce34&
14:03:28  <peter1138> Forgot to unbunch
15:04:40  *** Smedles has quit IRC
15:04:43  *** Smedles has joined #openttd
15:12:36  *** Wormnest has joined #openttd
15:38:39  <peter1138> Ok so
15:43:06  <DorpsGek> [OpenTTD/OpenTTD] rubidium42 merged pull request #12598: Codechange: use vector instead of manual memory management for decompressing text files https://github.com/OpenTTD/OpenTTD/pull/12598
15:51:39  <peter1138> Hmm, servicing intervals are a bit wonky.
16:10:43  <talltyler> Just a bit ๐Ÿ˜„
16:12:41  <peter1138> Mine were 150 days
16:12:44  <peter1138> No
16:12:48  <peter1138> Mine were 150 minutes.
16:12:52  <peter1138> Which is a bit too long.
16:18:01  <locosage> or too short depends on how you deal with servicing ;)
16:18:21  <peter1138> Servicing is off, so this only affects autoreplace.
16:19:31  <locosage> ah, yeah, I guess it's kinda long then
16:20:13  <locosage> now when I see "minutes" in openttd my first thought is how long is that in real time ๐Ÿ˜œ
16:21:22  <locosage> because I remember they're suposed to be real but aren't
16:25:53  <peter1138> If it says minutes it means minutes.
16:26:08  <locosage> only on 37tps
16:35:47  *** Smedles has quit IRC
16:35:48  *** Smedles has joined #openttd
16:41:37  *** Wolf01 is now known as Guest3450
16:41:39  *** Wolf01 has joined #openttd
16:44:44  *** XYZ has joined #openttd
16:47:48  *** Guest3450 has quit IRC
16:52:53  <_glx_> 27
16:54:13  <locosage> right, 37ms
16:55:22  <_glx_> hmm 27ms -> 37tps, I was confusing the units
16:59:00  <locosage> lol, I though I was confusing them
16:59:03  <locosage> whatever, one of those xD
17:31:29  <peter1138> https://cdn.discordapp.com/attachments/1008473233844097104/1236369622098378803/ssstwitter.com_1714834761034.mp4?ex=6637c270&is=663670f0&hm=537dbf01cfa1e21c47a0750a629e04b94f55f7ca68bba804963865dcb56e14a0&
17:31:29  <peter1138> When you leave 90 degree turns on...
17:34:32  <wensimehrp> that is 180
17:36:50  <audigex> Technically itโ€™s probably about 170
17:36:56  <audigex> If weโ€™re being pedants
18:00:19  <peter1138> When we are ever not pedantic here?
18:05:03  <jfs> if you were to build that in TT, it would be a 90 deg turn
18:34:24  *** gelignite has joined #openttd
18:36:28  <truebrain> So glad the joke has to be explained ๐Ÿ˜›
19:49:17  *** wormnest[m] has quit IRC
20:36:28  <ahyangyi> I love how each wagon hits that buffer stop in the other track
21:03:50  *** jinks has quit IRC
21:04:16  *** jinks has joined #openttd
21:16:20  *** Flygon has joined #openttd
21:49:14  *** keikoz has quit IRC
21:50:15  <DorpsGek> [OpenTTD/team] khamper opened issue #558: [lt_LT] Translator access request https://github.com/OpenTTD/team/issues/558
21:55:53  *** Ox7C5 has quit IRC
22:02:37  *** Wolf01 has quit IRC
22:13:30  *** HerzogDeXtEr has quit IRC
22:16:28  <Timberwo1f> Mew calendar saves reveal how long you've been playing a particular save. Not sure how I feel about knowing the number of hours.
22:57:17  <truebrain> Haha, that high of a number ๐Ÿ˜›
23:47:18  *** nielsm has quit IRC

Powered by YARRSTE version: svn-trunk