IRC logs for #openttd on OFTC at 2023-09-22
β΄ go to previous day
00:05:59 <_glx_> upgraded wsl ubuntu from 20.04 to 22.04, I now have python 3.10.12, still the wrong version
02:43:01 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:43:31 *** D-HUND is now known as debdog
05:27:28 *** keikoz has quit IRC (Ping timeout: 480 seconds)
05:43:31 *** nielsm has quit IRC (Ping timeout: 480 seconds)
06:34:14 <andythenorth> _glx_: found my bug, there is also a switch named `flood_loader_silo`
06:35:02 <andythenorth> the nmlc error report was accurate, but I was missing the cause until I searched all of the nml
06:35:55 <andythenorth> FIRS suffixe most spritesets names with `_spriteset` by convention, I'll add the same to chips
07:37:35 <peter1139> When do I get annoyed enough by bootstrap to start writing everything 'manually'?
07:44:28 <peter1139> Why does I still have enginepool patches from 2008?
07:45:41 <peter1139> Actually I think I know why... that must have been when I upgraded from an Athlon 800 to a Core 2 Quad.
09:15:47 <peter1139> pickpacket, time for a mug of tea.
09:17:41 <pickpacket> peter1139: I'm on my fifth cup for the day
09:18:18 <pickpacket> but only because I slept over at my gf's place and slept in so I didn't have time for a pot before work
09:18:42 <pickpacket> I guess it would be my ninth or something on an ordinary day
09:19:00 <pickpacket> so yes, definitely time for a mug :)
09:20:52 *** Shump has quit IRC (Quit: Page closed)
09:32:47 <peter1139> I had coffee first :)
09:35:05 <ahyangyi> what kind of tea π
09:38:30 <pickpacket> ahyangyi: black. Mostly English Breakfast today
10:12:17 <peter1139> I'm English, as a drink "tea" always means "a tea bag of normal unspecified black tea"
10:48:17 <andythenorth> peter1139: do your own CSS framework
10:49:07 <andythenorth> if it helps at all, when I was writing CSS, I often wrote my own components, Bootstrap is used mostly for grid / reset
10:49:12 <andythenorth> and form controls
10:52:55 <peter1139> Yeah. Handling breakpoints (width limits) is a pain with BS, you need to apply different styles to so many things.
11:04:35 <andythenorth> Is it using the sass compile? Or vendored output?
11:07:04 <ahyangyi> andythenorth: Good idea
11:07:12 <ahyangyi> I should also use andy's own components π
11:07:57 <peter1139> Sass because I needed to tweak the theme. That means I can reuse breakpoints in my own custom things, BUT...
11:08:05 <peter1139> Not with the way they do it :p
11:17:06 <alfagamma7> But they keep stretching way too much
11:17:22 <alfagamma7> Has to do with my limited knowledge
11:18:12 <peter1139> Wider and wider monitors have made all this stuff harder. You used to design for 640x480, then 800x600, then 1024x768...
11:19:30 <peter1139> So many different sizes now...
11:20:27 <alfagamma7> Ignore previous message
11:20:51 <peter1139> When your interface has a lot of table data, you need to design your tables to hide columns depending on the width.
11:20:57 <peter1139> And BS5 makes that a right pain.
11:21:56 <peter1139> I could do with browser support for "hide this column if it won't fit"
11:22:27 <alfagamma7> What do you intend to build though
11:22:31 <peter1139> You can of course do that with custom CSS, but not with BS5.
11:23:27 <peter1139> I intend to build the platform that $dayjob requires :p
11:24:11 <alfagamma7> Best of luck tinkering!
11:24:36 <peter1139> (This is already in place, of course, but I'm getting fed up with BS5)
11:24:55 <peter1139> I wonder what happens if it delete it.
11:29:46 <peter1139> "d-none d-md-table-cell" for every cell in a column, yum.
11:36:17 <peter1139> Oh god, I can't even cheese it with :nth-child() on a specific table, because depending on access rights the column layout isn't the same...
11:39:05 <peter1139> I wish CSS would let you apply classes onto a selector...
11:39:47 <peter1139> Then I could at least abbreviate the style list.
11:47:54 <pickpacket> hrm. I tried fixing imports for NML so that nml/main.py can run directly without being imported by a wrapper. But then the ast package name collides with an import of the same name in the inspect library and nothing rund
11:48:12 <pickpacket> I guess I have to run it from the top level somehow.
12:19:18 <truebrain> the new WSL2 update is interesting .. you can now have your network in "mirrored" mode, meaning it act (and feels) like the same interface as on Windows. Meaning .. IPv6 support, no more port forwarding between the two, easy access to and from the network .. it is pretty nifty
12:19:42 <truebrain> does require Windows 11, Insider Build (release-channel), but that is not the point π
12:21:18 <truebrain> WSL2 is becoming more and more native to the Windows setup π
12:22:21 <_glx_> hope it will come to windows 10 at some point (like they did for WSLg)
12:23:18 <truebrain> or, install Win11! π
12:25:43 <_glx_> I don't have any compatible machine
12:26:00 <truebrain> sucks π¦ It is pretty good .. especially WSL π
12:26:15 <truebrain> now they need to solve how files are stored .. as a vhdx is just annoying for backup reasons
12:26:29 <truebrain> they did add that you can make the vhdx spares now, so if you remove files, it actually gets smaller
12:43:22 *** virtualrandomnumber has joined #openttd
12:44:09 *** virtualrandomnumber has quit IRC ()
13:07:55 *** ST2 has quit IRC (Read error: Connection reset by peer)
13:08:15 <andythenorth> Tables are particularly faff because they want the class on the cell
14:03:27 <truebrain> I think the new WSL version (that is a pre-release btw) is doing something similar now
14:10:09 <truebrain> I just never checked what the size was before I ran that tool .. it is now 380GB .. which is about what the ext4 is also telling me π
14:10:25 <truebrain> I might need to clean up ....
15:32:13 <_glx_> using an assert seems unsafe here, as asserts are normally disabled in release
15:46:24 <peter1139> Read the linked duplicate :)
15:47:35 <peter1139> Eh, I didn't write as much there as I thought. Oh well.
15:50:19 <peter1139> We have loads of asserts like that all over the place.
15:52:17 <peter1139> Maybe run the main game loop in a big exception handler, and throw exceptions instead, (but likely not in these accessors)
16:02:46 <andythenorth> Itβs interesting that spriteset and switch can use the same name, and thatβd valid nml, but it wonβt compile
16:03:26 <andythenorth> Is there any case for enforcing unique names?
16:33:16 <talltyler> _glx_: They were using 13.0, when we forgot to disable asserts π
16:37:27 <talltyler> Oh, you posted as such in another channel
16:42:01 <peter1139> And it doesn't need to be a road type issue itself... if a vehicle set is changes and switches IDs from road to tram or vice-versa, that'll cause issues.
16:42:46 <peter1139> We don't store vehicle railtype/roadtype in the savegame, so it can only come from the loaded NewGRFs. That means it's not really possible to know what happened.
16:53:51 *** peter1139 is now known as peter1138
16:54:02 <peter1138> Maybe if I do this that IRC bot will know :D
17:01:22 <peter1138> Hmm, how would these appear in the in-game readme viewer?
17:13:01 <frosch123> the binaries only include our readme, no 3rdparty license texts
17:13:29 <frosch123> looks like this is okay for zlib, mit and boost
17:13:41 <frosch123> but for the unicode license it may be wrong
17:14:36 <frosch123> it depends how we define "associated documentation" π
17:18:45 <frosch123> "* file name: scrptrun.h" <- at least I am not the only one with typing issues
17:33:41 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:40:16 <_glx_> andythenorth: names duplicates are checked for each type, but not between them
17:40:56 <alfagamma7> Openttd recode in rust when *a very big /s*
17:41:16 *** gelignite has joined #openttd
17:45:58 <peter1138> An error is an error, regardless of language.
17:46:28 <peter1138> It would just 'crash' in a different way :)
18:15:16 <peter1138> Hmm, did we have a function to teleport a vehicle to the nearest depot...
18:17:01 <peter1138> There is code to do it, but it's not in a function.
18:17:59 <peter1138> And I think it uses the pathfinder, which means it needs to be on a valid tile.
18:18:32 <peter1138> That... is a lot of NewGRFs.
18:18:42 <alfagamma7> LordAro: π mate!
18:19:09 <andythenorth> teleporting at least stuck vehicles would occasionally be very useful
18:19:16 <andythenorth> for grf authors at least π
18:20:28 <alfagamma7> I can ping members on IRC
18:37:40 <DorpsGek> - Update: Translations from eints (by translators)
19:04:26 <frosch123> kamnet: your bananas account should now list 96 items, good luck with the mess :p
20:17:11 <kamnet> frosch123: π€£π€£π€£
20:17:49 <kamnet> I'll... ahhh.... deactivate a few things first.
20:31:53 *** nielsm has quit IRC (Ping timeout: 480 seconds)
20:37:19 * andythenorth bear coding here
20:37:30 <andythenorth> maybe ground tile should be magical
21:00:23 *** keikoz has quit IRC (Ping timeout: 480 seconds)
21:13:34 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
21:17:32 *** antarticdoof has joined #openttd
21:17:32 <antarticdoof> my very very bad job of using Mircosoft Paint Editor to mess with a bottom sprite of a png just to make it look like a GE B23-7 which I had for 2 months.
22:17:59 *** ChanServ sets mode: +v tokai
22:25:05 *** tokai|noir has quit IRC (Ping timeout: 480 seconds)
23:52:39 *** gelignite has quit IRC (Quit: Stay safe!)
continue to next day β΅