IRC logs for #openttd on OFTC at 2024-12-04
        
        
        
            โด go to previous day
01:02:40  *** gelignite has quit IRC (Quit: Stay safe!)
 
01:21:02  *** Wormnest has joined #openttd
 
01:46:18  *** Wormnest has quit IRC (Quit: Leaving)
 
02:04:30  *** herms has quit IRC (Quit: bye)
 
02:14:54  *** gnu_jj has quit IRC (Ping timeout: 480 seconds)
 
02:33:08  *** tokai|noir has joined #openttd
 
02:33:09  *** ChanServ sets mode: +v tokai|noir
 
02:39:56  *** tokai has quit IRC (Ping timeout: 480 seconds)
 
03:58:01  *** debdog has quit IRC (Ping timeout: 480 seconds)
 
04:57:57  *** greeter has quit IRC (Remote host closed the connection)
 
05:01:03  *** greeter has joined #openttd
 
05:57:24  *** keikoz has quit IRC (Ping timeout: 480 seconds)
 
06:32:04  *** speeder_ has joined #openttd
 
06:39:36  *** speeder has quit IRC (Ping timeout: 480 seconds)
 
07:00:34  *** XYZ has quit IRC (Read error: Connection reset by peer)
 
07:08:56  *** XYZ_ has quit IRC (Ping timeout: 480 seconds)
 
07:46:59  *** XYZ has quit IRC (Read error: Connection reset by peer)
 
08:54:35  <johnfranklin> Is โhippy bath dayโ aussie accent?
 
09:12:51  <peter1138> Nah, it's just a sillyism.
 
09:14:13  *** reldred has joined #openttd
 
09:14:13  <reldred> Itโs a bad joke. Hippies only bathe once a year at most, birthdays come once a year at most as well ๐
 
09:37:45  *** XYZ_ has quit IRC (Read error: Connection reset by peer)
 
09:39:29  *** XYZ has quit IRC (Read error: Connection reset by peer)
 
09:46:35  *** mindlesstux has joined #openttd
 
09:47:19  *** XYZ_ has quit IRC (Read error: No route to host)
 
09:58:57  *** clark_l has joined #openttd
 
09:58:57  <clark_l> I'm trying to understand the save game format and the docs/savgame_format.md is helping.
 
09:58:57  <clark_l> I've got stuck trying to understand processing CH_TABLE, particularly at the 'INDY' chunk.
 
09:58:57  <clark_l> I can find the chunk (first 4 bytes) and chunk type (next byte).
 
09:58:57  <clark_l> The bit I'm particularly stuck with is understanding GAMMA. The pseudo code doesn't seem to make sense in my head.
 
09:58:59  <clark_l> The next byte in my example returns 129 and that is >127. Would that suggest I need to use two bytes? I'm just confused.
 
10:21:06  <dih> what value are you expecting?
 
10:24:02  <clark_l> dih: To be honest, I'm not sure.
 
10:24:02  <clark_l> The documentation says that the value held is the length of the header plus 1.
 
10:24:02  <clark_l> However, the documentation also suggests that for values <=127 it uses 1 byte.
 
10:39:25  <_jgr_> The gamma format is just a way to encode an integer using a variable number of bytes
 
10:40:06  <_jgr_> The way it's encoded is separate from what the integer happens to mean
 
10:41:05  <_jgr_> So, you should decode it into an integer first, the compare with/subtract one afterwards
 
10:47:51  <truebrain> For a Python reference implementation
 
10:47:51  <truebrain> For a Rust reference implementation
 
10:50:58  <truebrain> Heiki: Somewhat. It was 60 days ago since we last told GitHub to really keep running the sync, so it stopped again. I pressed the resume button, so it will run again in a few hours, for the next 60 days. Then this repeats again.
 
10:51:23  <truebrain> Long response to say: tnx for the poke ๐
 
10:55:32  <peter1138> I think if we were doing it now we'd just use a straight 32 bit value. And then curse when we needed 64 bit for some reason...
 
10:57:40  <xarick> oh no, Windows updates
 
10:58:23  <truebrain> For absolutely no reason other than someone posting the link, we are #2 on HN ๐
 
11:15:04  <xarick> 15 minutes to update from 23h2 to 24h2
 
11:39:40  <xarick> can't believe it was so easy
 
11:40:17  <xarick> DistanceSquare > 51 and everything falls into place
 
11:40:40  <xarick> and DistanceMax remains at > 6
 
11:50:08  <xarick> I still have divergences. This finally proves that the queueing is not foolproof
 
11:51:47  <peter1138> Probably the tile loop in between can update the desert/tropic state.
 
11:52:20  <peter1138> Well, not probably, definitely. That's why it's there.
 
11:54:01  <peter1138> It seems you are building a list of tiles to process, which is then out of date when you come to process it.
 
11:55:01  <xarick> gonna experiment Direction instead of DiagDirection, see it it helps
 
12:03:12  <xarick> wondering if I could implement this circle thing into TileArea
 
12:04:12  <xarick> CircularTileIterator lol
 
12:09:30  <xarick> just updating from 50 to 51
 
12:09:58  <xarick> now I'm looking into solving this
 
12:10:27  <xarick> gonna figure a way to observe what's really happening in that queue
 
12:13:44  <xarick> emplace_front doesn't exist?
 
12:16:08  <peter1138> You can do vector.emplace(vector.front(), ...)
 
12:16:23  <peter1138> But it's "slow" because it has to move every existing element.
 
12:23:21  <xarick> trying to add the neighbour of the neighbour, lol
 
12:25:14  <xarick> i wanted to avoid a brute force check
 
12:43:23  *** Flygon has quit IRC (Read error: Connection reset by peer)
 
12:59:46  <peter1138> Jesus what a ... rabbit hole I've dug myself into.
 
13:06:41  <merni> Was there a rabbit at the end?
 
13:07:15  <peter1138> What do you mean "end"?
 
13:22:31  <xarick> 4417219 us barelly faster
 
13:22:45  <xarick> well, it's still 0,6 less seconds
 
13:36:46  *** nielsm has quit IRC (Ping timeout: 480 seconds)
 
13:43:33  <johnfranklin> Hmm, is rabbit hole in English a metaphor
 
13:45:47  <johnfranklin> Then openttd is an endless rabbit hole for me ๐
 
13:46:04  <andythenorth> It comes from Alice
 
13:47:58  <peter1138> Alice? The the fuck is Alice?
 
13:48:06  <peter1138> I still can't write words.
 
13:48:52  <andythenorth> Stop trying? ๐
 
13:49:33  <johnfranklin> Today is Oliver Twist
 
13:50:00  <johnfranklin> (It is translated into โLonely Child in the city of fogโ in Chinese)
 
13:51:12  <_glx_> the title telling the full story ๐
 
13:52:20  <andythenorth> Chicken saltimbocca?
 
13:54:17  <johnfranklin> I ate some expensive sushi and raw salmon, as birthday lunch
 
13:54:41  <peter1138> Birthday Hangover cures?
 
13:55:00  <johnfranklin> I donโt drink.
 
13:55:33  *** kuka_lie has joined #openttd
 
13:55:40  <andythenorth> Did I finish FIRS yet?
 
14:02:51  <andythenorth> Need to release FIRS 4 and 5 :p
 
14:03:42  <merni> Isn't skipping version numbers all the rage
 
14:16:03  <andythenorth> FIRS 4 was done, but Iโve changed classes, so eh ๐
 
14:30:08  <LordAro> today i am bisecting git
 
14:30:25  <LordAro> not bisecting with git, bisecting git
 
14:58:08  <xarick> my 4k video playback is stuttering after the windows update to 24h2 ๐ฆ
 
15:08:25  <kuhnovic> Anyone using an ultrawide monitor here? I want to get one but I can't decide between 34 and 38 inch hehe
 
15:18:50  <peter1138> kuhnovic: I have 2 ร 32", partner has 1 ร 34" UW
 
15:19:15  <peter1138> The 34" is obviously not as much space, but it is a big chunk of screen.
 
15:20:29  <kuhnovic> 2 x 32 is also pretty sweet, but I just really want that single screen experience
 
15:42:41  <peter1138> > Your script made an error: parameter 2 has an invalid type 'null' ; expected: 'integer'
 
16:28:01  <peter1138> LordAro: Something about merges
 
16:55:18  <LordAro> peter1138: can confirm
 
17:23:05  *** gelignite has joined #openttd
 
17:50:01  <peter1138> If only there was a way to edit Wiki pages.
 
17:51:29  <peter1138> I don't have close rights there, so I'll leave the comment to someone else.
 
17:56:24  *** Wormnest has joined #openttd
 
18:04:14  <peter1138> Oh, that null was nothing I changed.
 
18:06:18  *** virtualrandomnumber has joined #openttd
 
18:06:56  *** virtualrandomnumber has quit IRC ()
 
18:25:46  *** spy0016158 has joined #openttd
 
18:25:46  <spy0016158> brianpefiskviaGitHub: I've solved the issue and added a comment
 
18:29:56  <spy0016158> LordAroviaGitHub: do I have the authority to update the wiki?? I'm new here
 
18:31:58  <LordAro> anyone with a github account does :)
 
18:32:39  <spy0016158> LordAro: OK I'll have a go tomorrow.
 
18:33:26  <LordAro> pretty much all of those wiki pages should probably just be deleted and replaced with a link to COMPILING.md
 
18:34:10  <LordAro> though that's not a walkthrough like the wikipages are tbf
 
18:37:05  <peter1138> Those are mostly ancient pages, hence Archive in the path.
 
18:42:15  <kuka_lie> i use them if i compile openttd to like debian (has version 12)
 
20:03:05  <peter1138> Hmm, this is just growing.
 
20:42:15  <andythenorth> my life is all branches and stacked PRs ๐
 
20:42:28  <andythenorth> I've forgotten what shipping is ๐
 
20:44:22  <peter1138> Hmm, de-inlining saved a bit but not much.
 
20:44:37  <peter1138> And now there'll be function calls all over the place.
 
21:23:31  *** kuka_lie has quit IRC (Quit: leaving)
 
21:24:29  <xarick> interesting difference
 
21:30:37  <xarick> the height of the tile in the void matters... and I'm skipping it in my algorithm because it's not inside the map
 
21:31:51  *** Extrems has joined #openttd
 
21:33:04  <xarick> what can I do about it? This is in phase 1
 
21:44:09  *** gelignite has quit IRC (Quit: Stay safe!)
 
21:45:19  <peter1138> Hmm, what's my churn rate...
 
22:13:29  <peter1138> Quite high. And my count of active instances goes negative, which is... alarming.
 
22:27:24  *** keikoz has quit IRC (Ping timeout: 480 seconds)
 
22:56:47  <xarick> i am bored, and did this
 
23:05:45  <xarick> I'm disappointed with myself
 
23:07:27  *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
 
23:43:09  <xarick> from 1.9 seconds to 3.9 ๐ฆ
 
23:47:18  <xarick> no change, just fixing the trailing whitespace
 
continue to next day โต