IRC logs for #openttd on OFTC at 2021-11-05
⏴ go to previous day
00:07:18 <dP> does steam have any stats for game crashes?
01:36:32 *** Wormnest has quit IRC (Quit: Leaving)
01:56:18 *** tokai|noir has joined #openttd
01:56:18 *** ChanServ sets mode: +v tokai|noir
02:03:15 *** tokai has quit IRC (Ping timeout: 480 seconds)
03:42:17 *** snail_UES_ has joined #openttd
04:13:15 *** pm is now known as Guest4970
04:20:01 *** Guest4880 has quit IRC (Ping timeout: 480 seconds)
04:41:41 *** _aD has quit IRC (Quit: leaving)
04:58:49 *** snail_UES_ has quit IRC (Quit: snail_UES_)
06:28:23 *** NGC3982 has quit IRC (Remote host closed the connection)
06:52:41 *** sla_ro|master has joined #openttd
08:29:42 *** WormnestAndroid has quit IRC (Remote host closed the connection)
10:32:53 <TrueBrain> Yup. You are late to the party :p
10:33:10 <TrueBrain> Useful for local development :)
10:33:35 <LordAro> is it codespaces but without the github bit?
10:33:41 <LordAro> or have i misunderstood what codespaces are?
10:42:42 <TrueBrain> Codespaces are a VM in the cloud linked to devcontainers
10:42:59 <TrueBrain> Where devcontainers is a predefined docker you work in
10:43:15 <TrueBrain> So no need to setup anything, if done correctly
10:43:29 <TrueBrain> It is all an extension on each other basically
10:45:49 <TrueBrain> I really should work on my explanation :p
10:46:21 <TrueBrain> The website PR for example needs 0 setup to build the website. I should make a movie out of it, as words fail to describe it :p
11:37:07 <peter1138> When all yours are really just a webpage, running it in a browser isn't so much effort...
11:37:17 <peter1138> When all your apps are...
11:40:01 <LordAro> "You are using pip version 7.1.0, however version 21.3.1 is available."
11:47:21 *** WormnestAndroid has joined #openttd
12:05:24 <peter1138> Hmm, I ought to go out on the bike this weekend.
12:05:43 <peter1138> (I was ill for a couple of weekends last month, and then the weather was terrible...)
12:07:20 *** andythenorth has joined #openttd
12:15:35 <peter1138> Last time I was out I was in bib-shorts in short sleeve jersey. I guess I'll need more now.
12:24:59 *** sla_ro|master has quit IRC ()
12:33:30 <andythenorth> lol I've broken Clang
12:33:45 <andythenorth> "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc"
12:33:45 <andythenorth> is not able to compile a simple test program.
12:39:04 <peter1138> More like Apple have broken it, am I right?
12:39:29 <andythenorth> I copied everything over from an intel mac, and that worked
12:39:42 <andythenorth> 'worked' until some libs started complaining about wrong arch
12:40:01 <andythenorth> so I am now reinstalling a new version of the ports tree which supports the arm arch
12:40:04 <andythenorth> but clang broke :)
12:40:09 <andythenorth> yeah, I blame Apple
12:40:25 <peter1138> There's your problem, you can't expect a Mac to be compatible with a Mac...
12:42:10 <andythenorth> see also: switching arch before the libs are ready
12:44:55 <peter1138> What do you expect if you only replace the arch?
12:45:04 <andythenorth> visual metaphors
12:45:43 <andythenorth> the internet suggests that there are some pray-and-spray environment vars that can be set
12:45:56 <andythenorth> "this definitely won't go wrong in a few years time"
12:46:10 <peter1138> That's also what happens after a curry.
12:46:35 <andythenorth> curry for tea maybe
12:46:39 <peter1138> LordAro, it's winter-bike time now?
12:46:44 * andythenorth wonders about lunch
12:46:51 * peter1138 wonders about second lunch
12:47:34 <peter1138> Hmm, maybe I should get a drybag for my new phone, or just not take it with me.
12:48:37 <andythenorth> orudge you have openttd compiling on m1? :)
12:48:51 <peter1138> Should probably just have a cheap phone with PAYG SIM for taking on rides...
12:49:14 <LordAro> peter1138: i fitted proper mudguards on my old bike last weekend
12:49:36 <peter1138> I've still got flappy guards on the road bike, and of course proper on the touring bike.
12:52:12 *** virtualrandomnumber has joined #openttd
12:52:28 *** virtualrandomnumber has quit IRC ()
13:08:10 *** andythenorth has quit IRC (Quit: andythenorth)
13:20:53 *** andythenorth has joined #openttd
13:22:37 *** andythenorth has quit IRC ()
13:33:06 *** andythenorth has joined #openttd
13:34:16 *** nielsm has quit IRC (Ping timeout: 480 seconds)
13:35:58 *** andythenorth has quit IRC ()
13:59:35 <orudge> andythenorth: I think I was one of the first people to have OpenTTD compiling on M1 :)
14:00:14 <orudge> andythenorth[m]: personally I prefer to use vcpkg for OpenTTD's dependencies
14:00:29 <orudge> but MacPorts should work too (at least if you want an arm64-only binary)
14:02:29 <glx> I think the main issue is "<andythenorth> I copied everything over from an intel mac, and that worked"
14:02:48 <glx> never a good idea to copy over stuff
14:22:04 *** andythenorth has joined #openttd
14:31:19 *** esselfe has quit IRC (Quit: brb)
14:51:26 *** andythenorth has quit IRC (Quit: andythenorth)
15:05:29 *** andythenorth has joined #openttd
15:48:06 *** gelignite has joined #openttd
16:00:14 * andythenorth does certain evil things
16:00:23 <andythenorth> two copies of the ports tree is probably fine?
16:00:29 <andythenorth> one for x86, one for arm
16:00:48 <glx> easier to manage multi arch with vcpkg
16:01:24 <andythenorth> seems I can install that from brew
16:02:49 * andythenorth now trying to compile grfcodec
16:02:53 <andythenorth> "'boost/bimap.hpp' file not found"
16:03:08 <andythenorth> this is like playing whackamole with deps
16:03:41 <glx> you can check the workflow for the package list
16:03:49 <glx> (though it's done with vcpkg)
16:06:30 <andythenorth> I thought we had mac binaries for grfcodec, seems not :)
16:07:58 *** NGC3982 has joined #openttd
16:08:44 * andythenorth might just intel grfcodec from a backup :P
16:09:02 <andythenorth> I deleted it earlier in the attempt to build an arm native version
16:11:03 <glx> well if you follow workflow steps it should build (look at openttd release workflow for arm details)
16:11:15 <andythenorth> I will try that later :)
16:13:41 <glx> of course workflow assumes libpng is already installed (because it's in the image)
16:14:05 <glx> but for windows it's also done via vcpkg
16:16:13 <glx> ok stupid vcpkg, I wanted to do an upgrade, it removed everything then failed to build new versions because too old vcpkg exe
16:16:47 *** Etua has quit IRC (Remote host closed the connection)
16:18:24 * andythenorth timing intel vs. arm again
16:18:56 <andythenorth> intel Horse compile is slower than I remember
16:19:52 <andythenorth> graphics generation takes half the time on arm
16:22:04 <andythenorth> x86 grfcodec is faster on arm (emulated) than windows
16:22:10 <andythenorth> windows / intel :P
16:22:59 <andythenorth> nmlc timings (with verbose printing) are almost identical arm <-> x86
16:23:11 <andythenorth> python 3.10 on arm vs. pypy3 on intel
16:23:45 <andythenorth> hmm no pypy3 on both, but pypy3 is x86 emulated on arm
16:30:19 *** Wormnest has joined #openttd
16:40:48 *** andythenorth has quit IRC (Quit: andythenorth)
16:50:39 *** andythenorth has joined #openttd
16:54:24 *** Flygon has quit IRC (Quit: A toaster's basically a soldering iron designed to toast bread)
17:00:19 <andythenorth> so full Horse compile is < 30s
17:00:31 <andythenorth> this means I can think about including more complete rosters
17:00:47 * andythenorth has been worried about compile times of 2 or 3 minutes
17:08:43 <andythenorth> hmm ok so switching to intel cmake doesn't fix clang :D
17:08:47 <andythenorth> why would it? :)
17:09:05 <andythenorth> this will be Apple moving headers around or something
17:12:04 * LordAro looks at his build times of upwards of an hour
17:14:05 * andythenorth crosses fingers for a build of openttd working
17:14:26 <andythenorth> I tried the crude solution of rm-ing the build dir
17:14:35 <andythenorth> "now clang isn't broken"
17:16:14 <andythenorth> that's 35 seconds faster than previously on arm
17:16:26 <andythenorth> I replaced the x86 ports tree with arm
17:16:47 <andythenorth> compile with intel libs on arm was 1m 25s
17:16:55 <andythenorth> compile on intel was about 2m 30s or something
17:17:20 <andythenorth> that's less disappointing :)
17:17:34 *** andythenorth has quit IRC (Quit: andythenorth)
17:32:46 *** HerzogDeXtEr has joined #openttd
17:59:24 *** frosch123 has joined #openttd
19:25:20 *** andythenorth has joined #openttd
19:57:30 * andythenorth needs a vcpkg primer :P
19:57:34 <andythenorth> I guess google has one
20:00:59 <andythenorth> fresh clone of grfcodec just builds for me
20:01:13 <andythenorth> I was trying to build the legacy mercurial checkout, waste of time :)
20:03:01 <andythenorth> oh that's interesting, the version I've built is insanely slow :)
20:03:02 <glx> well peter started the move to cmake
20:04:58 <andythenorth> DCMAKE_BUILD_TYPE=Release
20:06:23 <andythenorth> yeah that's fixed
20:06:31 <glx> it's the same for any cmake project
20:06:35 * andythenorth tries switching the arch to arm
20:09:32 <glx> ignore toolchain and vcpkg stuff
20:10:40 <glx> but I would hope it defaults to arm on M1 machine
20:11:07 <andythenorth> `ld: symbol(s) not found for architecture arm64`
20:11:24 <andythenorth> might be libpng problems
20:11:38 <frosch123> does grfcodec work on arm?
20:11:52 <frosch123> or do you run it in the emulator?
20:12:11 <andythenorth> I _think_ the build I have is x86
20:12:15 <frosch123> grfcodec is filled with so much assembly-undefined-behavior, that i would not be surprised if it fails on non-intel machines
20:12:15 <andythenorth> the arm build seems to fail
20:12:32 <andythenorth> it appears to be trying to link to my x86 libpng
20:12:49 <glx> that's why it's easier to use vcpkg
20:12:59 <glx> the triplets handle all that stuff
20:13:56 <andythenorth> -DVCPKG_TARGET_TRIPLET=arm64-osx
20:14:02 <andythenorth> Manually-specified variables were not used by the project:
20:14:02 <andythenorth> VCPKG_TARGET_TRIPLET
20:17:22 <andythenorth> frosch123 slightly related, openttd compile on m1 is 50s now
20:17:37 <andythenorth> using arm deps, not x86, saves 35s :P
20:18:01 <Rubidium> frosch123: grfcodec builds for Debian on their esoteric platforms, so I guess compiling for Apple's arm platform should work
20:19:18 <frosch123> ok, i misworded. i did not doubt it would "compile", i was wondering whether it would generate valid grfs
20:19:19 <Rubidium> and similarly openttd's build on Debian uses grfcodec for the extra GRF, so it at least does not horribly crash with it
20:20:00 <frosch123> i only ran a dedicated server in arm
20:22:08 <Rubidium> too bad the grf is in openttd-data, so the final validity of it can't be checked ;(
20:27:13 <andythenorth> grfcodec builds in place? no dedicated build dir?
20:27:30 * andythenorth trying to adapt to context `cmake -B [build directory] -S . -DCMAKE_TOOLCHAIN_FILE=[path to vcpkg]/scripts/buildsystems/vcpkg.cmake`
20:27:43 <andythenorth> and `cmake --build [build directory]`
20:27:45 <glx> it's the same as any cmake project
20:28:01 <glx> mkdir build; cd build; cmake ..
20:28:07 <LordAro> more that it doesn't stop you from building inplace, unlike OTTD
20:28:26 <andythenorth> yeah that tripped me up :)
20:28:49 * LordAro prefers cmake -B build to mkdir,cd...
20:29:28 <glx> and when trying multiple arch it's nice to used different build dirs
20:35:16 <andythenorth> ok I'm doing wrong things now :P
20:36:09 <michi_cc> Nobody in here would've ever expected that :P
20:37:32 <andythenorth> too many shells open titled 'build'
20:39:34 <andythenorth> `cd build; cmake -DCMAKE_BUILD_TYPE=Release ..` is valid?
20:39:44 <andythenorth> it's putting the build files in ..
20:40:28 <glx> it should put them in build
20:40:54 <glx> oh but it detects the files you created in .. on first try
20:47:46 <andythenorth> can't tell if grfcodec is now running in x86
20:47:59 <andythenorth> but it's 3.3s to compile horse, not 4.5s
21:11:03 *** Mek has quit IRC (Remote host closed the connection)
21:23:56 *** Eddi|zuHause2 has joined #openttd
21:24:11 *** Eddi|zuHause has quit IRC (Remote host closed the connection)
21:24:33 *** pm is now known as Guest5053
21:28:43 *** Guest4970 has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** gnu_jj has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Westie has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** vista_narvas[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** shedidthedog[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** jeremy[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Heiki[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** CornsMcGowan[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** cjmonagle[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** citronbleuv[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** amal[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** karl[m]123456 has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** nolep[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** aperezdc__ has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** yur3shmukcik[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** pothyurf[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** natmac[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** ist5shreawf[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** cawal[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** magdalena[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** josef[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** albert[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** paulus[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** grag[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** ciet[m] has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** TrueBrain has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** orudge has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Cyberdemon has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** azubieta60 has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** TinoDidriksen has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Yexo has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** fonsinchen has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Timberwolf has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** urdh has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** dP has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** SpComb has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** eirc has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Guest149 has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** dihedral has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** Terkhen has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:28:43 *** V453000 has quit IRC (reticulum.oftc.net liquid.oftc.net)
21:30:32 *** yur3shmukcik[m] has joined #openttd
21:30:32 *** vista_narvas[m] has joined #openttd
21:30:32 *** TrueBrain has joined #openttd
21:30:32 *** shedidthedog[m] has joined #openttd
21:30:32 *** pothyurf[m] has joined #openttd
21:30:32 *** paulus[m] has joined #openttd
21:30:32 *** nolep[m] has joined #openttd
21:30:32 *** natmac[m] has joined #openttd
21:30:32 *** magdalena[m] has joined #openttd
21:30:32 *** karl[m]123456 has joined #openttd
21:30:32 *** josef[m] has joined #openttd
21:30:32 *** jeremy[m] has joined #openttd
21:30:32 *** ist5shreawf[m] has joined #openttd
21:30:32 *** Heiki[m] has joined #openttd
21:30:32 *** grag[m] has joined #openttd
21:30:32 *** CornsMcGowan[m] has joined #openttd
21:30:32 *** cjmonagle[m] has joined #openttd
21:30:32 *** citronbleuv[m] has joined #openttd
21:30:32 *** ciet[m] has joined #openttd
21:30:32 *** cawal[m] has joined #openttd
21:30:32 *** aperezdc__ has joined #openttd
21:30:32 *** amal[m] has joined #openttd
21:30:32 *** albert[m] has joined #openttd
21:30:32 *** Cyberdemon has joined #openttd
21:30:32 *** azubieta60 has joined #openttd
21:30:32 *** TinoDidriksen has joined #openttd
21:30:32 *** fonsinchen has joined #openttd
21:30:32 *** Timberwolf has joined #openttd
21:30:32 *** V453000 has joined #openttd
21:30:32 *** Terkhen has joined #openttd
21:30:32 *** Guest149 has joined #openttd
21:30:32 *** liquid.oftc.net sets mode: +oovo orudge Terkhen Terkhen Guest149
21:30:32 *** dihedral has joined #openttd
21:30:32 *** liquid.oftc.net sets mode: +v Guest149
21:31:35 *** ChanServ sets mode: +v orudge
21:32:00 *** jottyfan has joined #openttd
21:53:19 *** Wolf01 has quit IRC (Quit: Once again the world is quick to bury me.)
22:17:01 *** Webster has quit IRC (Remote host closed the connection)
22:17:51 *** Webster has joined #openttd
22:21:02 *** andythenorth has quit IRC (Quit: andythenorth)
22:44:14 *** frosch123 has quit IRC (Quit: be yourself, except: if you have the opportunity to be a unicorn, then be a unicorn)
23:27:11 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler opened pull request #9673: Fix #9579: Object and HQ construction is Construction cost, not Property Ma… https://git.io/JPppY
23:31:14 <DorpsGek> [OpenTTD/OpenTTD] LordAro approved pull request #9673: Fix #9579: Object and HQ construction is Construction cost, not Property Ma… https://git.io/JPppi
23:38:07 *** WormnestAndroid has quit IRC (Ping timeout: 480 seconds)
23:40:11 <DorpsGek> [OpenTTD/OpenTTD] 2TallTyler commented on pull request #9673: Fix #9579: Object and HQ construction is Construction cost, not Property Ma… https://git.io/JPphN
23:48:01 <DorpsGek> [OpenTTD/OpenTTD] James103 commented on pull request #9673: Fix #9579: Object and HQ construction is Construction cost, not Property Ma… https://git.io/JPhe3
23:50:08 <DorpsGek> [OpenTTD/OpenTTD] glx22 commented on pull request #9673: Fix #9579: Object and HQ construction is Construction cost, not Property Ma… https://git.io/JPhe0
continue to next day ⏵