Config
Log for #openttd on 21st November 2024:
Times are UTC Toggle Colours
00:24:40  <peter1138> Okay, now I know how this all works.
00:24:51  <peter1138> Roughly.
00:25:10  <peter1138> Deleting and never touching again 😉
02:00:14  *** Wormnest has quit IRC
02:32:16  *** tokai has joined #openttd
02:32:16  *** ChanServ sets mode: +v tokai
02:39:00  *** tokai|noir has quit IRC
02:48:30  *** Wormnest has joined #openttd
03:00:09  *** herms has quit IRC
03:02:26  *** Wormnest has quit IRC
03:03:30  *** herms has joined #openttd
03:11:22  *** godbed has joined #openttd
03:11:36  *** Zathras has joined #openttd
03:14:50  *** debdog has quit IRC
03:15:00  *** D-HUND has quit IRC
03:46:43  *** Zathras is now known as debdog
04:20:33  *** aperezdc has quit IRC
05:46:02  *** Flygon has joined #openttd
06:12:39  *** aperezdc has joined #openttd
07:44:38  <DorpsGek> [OpenTTD/OpenTTD] felixprigge updated pull request #12683: Fix: Timetable precision https://github.com/OpenTTD/OpenTTD/pull/12683
08:31:32  *** HerzogDeXtEr has joined #openttd
08:33:46  <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #12683: Fix: Timetable precision https://github.com/OpenTTD/OpenTTD/pull/12683#pullrequestreview-2450606508
08:36:20  <DorpsGek> [OpenTTD/OpenTTD] PeterN updated pull request #13073: Add: NewGRF Badges feature https://github.com/OpenTTD/OpenTTD/pull/13073
08:36:51  <peter1138> "good"
09:02:13  <peter1138> Brrr, fingers coooold
09:03:10  <Rubidium> and you got no hot cup of tea in them?
09:04:38  <peter1138> My coffee's gone cold as well.
09:47:19  <orudge> truebrain: any chance you might be able to have a look at https://github.com/OpenTTD/appstore-data/pull/12 when you have some free time?
09:47:35  <truebrain> orudge: I do have it on my list, but free time is an issue 😛
09:47:41  <orudge> :D
09:47:42  <orudge> No worries
09:47:45  <truebrain> I only need to check out if eints will pick this up correctly
09:47:51  <orudge> I know the feeling
09:48:08  <truebrain> the rest of the PR is fine by me; worst case, something breaks ... 😛
09:48:27  <truebrain> so soon I just want to merge it, and see what eints does
09:48:34  <truebrain> but I need to make sure I have a backup etc first 😄
09:48:36  <orudge> It shouldn't really affect anything else, but yes, I'm hoping it gets picked up, then folk translate it :)
09:50:30  <truebrain> That would be the dream 😄
10:07:41  *** XYZ has quit IRC
10:29:57  <peter1138> Stupid smart thermostat.
10:30:30  <peter1138> Likes to reset itself to 16.5°C during the day...
10:32:20  <exceptik> comfy temperature
10:33:21  <peter1138> I'm warm enough apart from fingers.
10:35:44  <exceptik> then its time for a smoke break, suddenly it becomes even warmer
10:47:43  <peter1138> Ew
11:44:54  <exceptik> replace smoke with tea 😆
11:51:11  *** XYZ has joined #openttd
11:58:11  <_glx_> It's my turn to get snow
11:58:58  <johnfranklin> I wore some very thin trousers, I regretted.
11:59:39  <_glx_> Why? Summer is over
12:00:20  <johnfranklin> I wore them yesterday and it was not cold, since I also wore down coats
12:00:39  <johnfranklin> And it was warmer inside buildings
12:00:49  <johnfranklin> But today is much colder
12:29:50  <DorpsGek> [OpenTTD/OpenTTD] felixprigge commented on pull request #12683: Fix: Timetable precision https://github.com/OpenTTD/OpenTTD/pull/12683#issuecomment-2491011194
12:31:56  <peter1138> ```ScriptListMap *list_items = &list->items;
12:31:56  <peter1138> for (auto &it : *list_items) {```
12:32:00  <peter1138> Good use of pointers there.
12:32:25  <kuhnovic> References? Never head of
12:32:36  <peter1138> It does not even need a reference.
12:32:58  <kuhnovic> That too
13:03:42  <peter1138> Hmm, the sprite sorters a bit complex eh?
13:04:14  <locosage> just a tiny bit 😅
13:04:49  <peter1138> JGRPP changes it all.
13:05:32  <peter1138> But using a temporary std::stack and a temporary std::forward_list seems not cache friendly.
13:05:53  <locosage> wonder why
13:06:07  <locosage> is jgrpp sort order the same?
13:07:59  <peter1138> The algorithm is different because JGRPP has all sorts of optimisations.
13:08:25  <peter1138> The "but using" refers to vanilla code, not JGRPP.
13:11:06  <locosage> ah, well, I compared quite a lot of options and stack+list list is the best I came up with
13:12:03  <peter1138> Lots of pointers and allocations in a list.
13:12:27  <peter1138> std::stack is a deque so it's a chunk at least.
13:13:41  <locosage> I tried vector instead of list, was slower
13:13:56  <locosage> <https://github.com/OpenTTD/OpenTTD/pull/7962#issuecomment-586487781>
13:16:26  <locosage> don't remember why exactly but it removes stuff from the middle it seems
13:47:51  <johnfranklin> Everyday pasta
13:53:44  <peter1138> Someone's having a Discord 'call'.
13:54:15  <peter1138> Go on there and make eating noises at them.
14:02:54  <peter1138> z-buffer instead of sorting?
14:03:54  <peter1138> (Doesn't work with alpha)
14:08:38  <_jgr_> The vanilla sprite sorter works better if you sort a whole full-screen's worth in one go
14:09:50  <_jgr_> I took the approach of just slicing the screen up in that case, which also allows sorting and drawing the slices to be done in parallel
14:10:50  <_jgr_> The one in my branch is close to the old vanilla sprite sorter
14:30:07  <peter1138> How many recolour sprites though?
14:30:49  <peter1138> And no, I don't think lots of recolour sprites is wrong, although if any of them are the same and could be reused then that would reduce memory usage.
14:34:42  <peter1138> (grf-py's trick of deduplicating sprites doesn't work for recolours, and the deduplication only applies to the file, they're still separate sprites in game)
14:35:56  <peter1138> ParentSpriteToDraw is a bit too big to just be moved around quickly...
14:36:06  <peter1138> Hmm.
14:55:47  *** nielsm has joined #openttd
15:12:18  <xarick> Copilot is learning the coding style of openttd quite easily
15:13:49  <_glx_> "learning"
15:14:39  <xarick> eh, I guess that's why they're called machine learning
15:17:29  <xarick> I need a way to compound kdtree with townindustries in a manner that you guys can accept
15:18:30  <xarick> currently they're separate, but they operate on the same thing which is counting industry types
15:18:37  <xarick> I want to unify that somehow
15:19:12  <xarick> Once I have achieved that, I will PR
15:34:20  <LordAro> machine learning is applied to the initial training, not the output
15:34:34  <LordAro> it's not learning anything from you talking to it
15:34:48  <LordAro> other than a bit more context, perhaps
15:49:38  *** XYZ_ has joined #openttd
15:50:59  *** XYZ has quit IRC
16:11:41  *** ufo-piloot has quit IRC
16:12:53  *** ufo-piloot has joined #openttd
16:36:15  <peter1138> Correct, prop 28 is required for prop 32 to do anything.
16:37:57  <peter1138> Changing how it works so that it can work without 28 might make it easier to describe?
16:39:34  <peter1138> Currently, if you want classes 0 or 1, you set 28 to 0b11. If you want classes 0 and 1, you need to set 28 to 0b11 and 0x32 to 0b11.
16:40:44  <peter1138> Would it make more sense to allow setting just 0x32 to 0b11?
16:41:03  <peter1138> Filter might be a way to describe it.

Powered by YARRSTE version: svn-trunk