IRC logs for #openttd on OFTC at 2023-09-22
            
00:05:59 <_glx_> upgraded wsl ubuntu from 20.04 to 22.04, I now have python 3.10.12, still the wrong version
00:09:16 <_glx_> it requires 3.11 since <https://github.com/andythenorth/chips/commit/619fb19289f816df24b9606c1adb40febe63d7c7#diff-51246e53255db77c9edad496f074aa1bdbf8dbdc11f89a02040115c9ab4fa7f0>
00:53:35 <johnfranklin> Use Anaconda?
02:39:41 *** D-HUND has joined #openttd
02:43:01 *** debdog has quit IRC (Ping timeout: 480 seconds)
02:43:31 *** D-HUND is now known as debdog
02:55:28 *** Flygon has joined #openttd
03:39:24 *** keikoz has joined #openttd
05:00:30 *** nielsm has joined #openttd
05:27:28 *** keikoz has quit IRC (Ping timeout: 480 seconds)
05:43:31 *** nielsm has quit IRC (Ping timeout: 480 seconds)
06:29:07 <DorpsGek> [OpenTTD/team] cristianeme opened issue #451: [es_MX] Translator access request https://github.com/OpenTTD/team/issues/451
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:05:48 <DorpsGek> [OpenTTD/team] robert5800 opened issue #452: [nl_NL] Translator access request https://github.com/OpenTTD/team/issues/452
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.
07:47:54 <peter1139> https://fuzzle.org/~petern/ottd/diagstations.png Nice
09:14:15 *** Shump has joined #openttd
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:33:19 <pickpacket> :O
09:33:22 <pickpacket> No!
09:33:25 <pickpacket> Heathen!
09:35:05 <ahyangyi> what kind of tea πŸ˜›
09:38:30 <pickpacket> ahyangyi: black. Mostly English Breakfast today
09:47:54 <ahyangyi> Nice
10:12:17 <peter1139> I'm English, as a drink "tea" always means "a tea bag of normal unspecified black tea"
10:28:22 <alfagamma7> Tea
10:28:28 <alfagamma7> Coffee is better
10:48:17 <andythenorth> peter1139: do your own CSS framework
10:48:20 <andythenorth> was it lunch?
10:48:41 <peter1139> Almost.
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:19 <andythenorth> Lol no
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> Hmm
11:17:06 <alfagamma7> I used grids
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:19:42 <alfagamma7> Use viewport?
11:19:54 <peter1139> What?
11:20:27 <alfagamma7> Ignore previous message
11:20:30 <peter1139> Ok.
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:30 <alfagamma7> Just curious
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:25:26 <peter1139> What a mess :D
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:47:58 <pickpacket> *runs
11:48:12 <pickpacket> I guess I have to run it from the top level somehow.
12:01:21 *** keikoz has joined #openttd
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:26:32 <truebrain> or so they claim
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:05 *** ST2 has joined #openttd
13:08:15 <andythenorth> Tables are particularly faff because they want the class on the cell
13:18:47 <_glx_> I just used <https://github.com/okibcn/wslcompact> to compact my ubuntu vhdx from 10736 MB to 6954 MB
13:26:05 *** nielsm has joined #openttd
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 ....
14:10:26 <truebrain> possibly
14:39:43 <DorpsGek> [OpenTTD/OpenTTD] SammieBiscuits opened issue #11332: [Crash]: https://github.com/OpenTTD/OpenTTD/issues/11332
15:20:27 <peter1139> ...
15:22:42 <DorpsGek> [OpenTTD/OpenTTD] PeterN commented on issue #11332: [Crash]: https://github.com/OpenTTD/OpenTTD/issues/11332
15:22:45 <DorpsGek> [OpenTTD/OpenTTD] PeterN closed issue #11332: [Crash]: https://github.com/OpenTTD/OpenTTD/issues/11332
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
16:59:49 <DorpsGek> [OpenTTD/OpenTTD] frosch123 opened pull request #11333: Doc: Link 3rdparty licenses from README. https://github.com/OpenTTD/OpenTTD/pull/11333
17:00:31 <peter1138> remeinaing :-)
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:16 <peter1138> Indeed
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:38:25 <_glx_> nah it's for 8.3
17:39:22 <andythenorth> stations time
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:42:03 <LordAro> alfagamma7: https://docs.rs/sdl2/latest/sdl2/ off you go
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:16:52 <peter1138> Ah, no.
18:17:01 <peter1138> There is code to do it, but it's not in a function.
18:17:38 <DorpsGek> [OpenTTD/BaNaNaS] frosch123 opened pull request #143: Change: add kamnet as maintainer for all GarryG content. https://github.com/OpenTTD/BaNaNaS/pull/143
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:20:28 <alfagamma7> Amazing huh
18:24:49 <peter1138> g
18:30:51 *** Wolf01 has joined #openttd
18:37:09 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 commented on pull request #11333: Doc: Link 3rdparty licenses from README. https://github.com/OpenTTD/OpenTTD/pull/11333#pullrequestreview-1640471509
18:37:39 <DorpsGek> [OpenTTD/OpenTTD] eints-sync[bot] pushed 1 commits to master https://github.com/OpenTTD/OpenTTD/commit/f8303b03970c9e2df001a36dc4321d6d9da906c6
18:37:40 <DorpsGek> - Update: Translations from eints (by translators)
19:00:39 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain approved pull request #143: Change: add kamnet as maintainer for all GarryG content. https://github.com/OpenTTD/BaNaNaS/pull/143#pullrequestreview-1640500390
19:00:46 <DorpsGek> [OpenTTD/BaNaNaS] TrueBrain merged pull request #143: Change: add kamnet as maintainer for all GarryG content. https://github.com/OpenTTD/BaNaNaS/pull/143
19:01:03 <DorpsGek> [OpenTTD/OpenTTD] frosch123 updated pull request #11333: Doc: Link 3rdparty licenses from README. https://github.com/OpenTTD/OpenTTD/pull/11333
19:02:30 <DorpsGek> [OpenTTD/OpenTTD] frosch123 commented on pull request #11333: Doc: Link 3rdparty licenses from README. https://github.com/OpenTTD/OpenTTD/pull/11333#pullrequestreview-1640502589
19:04:26 <frosch123> kamnet: your bananas account should now list 96 items, good luck with the mess :p
19:10:53 <DorpsGek> [OpenTTD/OpenTTD] rubidium42 approved pull request #11333: Doc: Link 3rdparty licenses from README. https://github.com/OpenTTD/OpenTTD/pull/11333#pullrequestreview-1640512333
19:13:38 <DorpsGek> [OpenTTD/team] glx22 commented on issue #452: [nl_NL] Translator access request https://github.com/OpenTTD/team/issues/452
19:14:34 <DorpsGek> [OpenTTD/team] glx22 commented on issue #451: [es_MX] Translator access request https://github.com/OpenTTD/team/issues/451
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:12 <andythenorth> hmm
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> https://cdn.discordapp.com/attachments/1008473233844097104/1154889240056959157/Dash_7s_messing_around.png
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 *** tokai has joined #openttd
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!)