IRC logs for #openttd on OFTC at 2020-09-05
            
00:01:19 *** HerzogDeXtEr has quit IRC
01:06:26 *** sla_ro|master has quit IRC
02:03:02 *** iSoSyS has quit IRC
03:10:06 *** Flygon has joined #openttd
03:38:44 *** Wormnest has quit IRC
04:17:41 *** debdog has joined #openttd
04:21:02 *** D-HUND has quit IRC
05:16:09 *** glx has quit IRC
05:27:22 *** WormnestAndroid has quit IRC
05:27:43 *** WormnestAndroid has joined #openttd
06:27:40 *** snail_UES_ has quit IRC
07:39:01 *** tokai|noir has joined #openttd
07:39:01 *** ChanServ sets mode: +v tokai|noir
07:45:28 *** tokai has quit IRC
08:05:47 *** nielsm has joined #openttd
08:10:33 *** Gustavo6046 has quit IRC
08:15:14 *** andythenorth has joined #openttd
08:23:50 * andythenorth attempts to use the cmake build on macOS
08:50:00 *** debdog has quit IRC
09:07:24 <andythenorth> urgh
09:07:36 <andythenorth> yeah building lots of projects on macOS is just fucked
09:12:10 <andythenorth> "The command line tools will search the SDK for system headers by default. However, some software may fail to build correctly against the SDK and require macOS headers to be installed in the base system under /usr/include. If you are the maintainer of such software, we encourage you to update your project to work with the SDK or file a bug report for issues that are preventing you from doing so. As a
09:12:10 <andythenorth> workaround, an extra package is provided which will install the headers to the base system. In a future release, this package will no longer be provided."
09:12:14 <andythenorth> https://developer.apple.com/documentation/xcode-release-notes/xcode-10-release-notes#3035624
09:12:25 *** HerzogDeXtEr has joined #openttd
09:14:14 *** sla_ro|master has joined #openttd
09:17:23 <LordAro> andythenorth: that doesn't seem unreasonable on the face of it
09:17:44 <andythenorth> I am trying various SO workarounds
09:17:57 <andythenorth> "export CPATH=`xcrun --show-sdk-path`/usr/include" works for some people, but not for this
09:18:24 <andythenorth> one recommendation is to disable Apple System Integrity Protection, and copy the headers into /usr/include
09:18:27 <andythenorth> not doing that
09:18:43 <andythenorth> https://apple.stackexchange.com/questions/372032/usr-include-missing-on-macos-catalina-with-xcode-11
09:18:49 <andythenorth> https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th
09:21:52 <LordAro> andythenorth: does the cmake solution not work?
09:22:24 <andythenorth> which one? :)
09:22:40 <LordAro> cmake -DCMAKE_OSX_SYSROOT=...
09:22:51 <LordAro> or however you set variables with cmake
09:23:03 <andythenorth> let's see
09:24:28 <andythenorth> looks hopeful
09:24:31 <andythenorth> gets further
09:24:38 <andythenorth> meh no
09:25:44 <andythenorth> hmm, that might be producing errors in a different order to previously
09:25:50 * andythenorth has to make kids breakfast
09:27:49 *** jottyfan has joined #openttd
09:28:30 <Eddi|zuHause> is that like rehular breakfast, but in the sizw of a kid? :p
09:31:22 <andythenorth> somewhat yes
09:36:34 <andythenorth> "cmake -DCMAKE_OSX_SYSROOT=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk .."
09:36:39 <andythenorth> doesn't solve the issue
09:40:26 *** jottyfan has quit IRC
09:45:13 *** iSoSyS has joined #openttd
09:49:20 <andythenorth> hmm
09:51:00 <andythenorth> I guess the old build had some workaround for this
09:52:45 <andythenorth> in my fork, I could just copy the old makefile stuff back in?
09:53:03 <andythenorth> or rebase out the cmake commits?
09:57:59 <TrueBrain> that is like trying to remove the egg from a cake after the fact ..
09:58:17 <LordAro> the more interesting thing wouls be to work out what's changed
10:11:21 <andythenorth> well I wanted to lay the blame squarely at Apple
10:11:57 <andythenorth> one of the variables is that I've upgraded macOS and Xcode this year
10:12:04 <andythenorth> but the old build works, afaict
10:12:23 *** iSoSyS has quit IRC
10:18:12 *** Progman has joined #openttd
10:31:14 <andythenorth> this looks promising, I might have broken the old build
10:31:17 <andythenorth> which will give information
10:32:06 <andythenorth> urgh bollocks, the old build works at 808c8198d5ab61c457d0351ff7971b75ee17c10a
10:32:10 <andythenorth> now I have to bisect more
10:33:36 <andythenorth> if OpenTTD was just broken for all builds, I could blame Apple
10:41:40 <andythenorth> ok so https://github.com/OpenTTD/OpenTTD/commit/a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643
10:41:46 <andythenorth> is the relevant commit
10:41:59 <andythenorth> my guess is line 18
10:42:27 *** WormnestAndroid has quit IRC
10:42:34 <andythenorth> " no member named 'isunordered' in the global namespace" is the error
10:42:40 *** WormnestAndroid has joined #openttd
10:43:10 <andythenorth> _possibly_ that was masked previously because I had Apple's 10.14 SDK shim to /usr/include at the time
10:43:14 <andythenorth> but no way to prove that now
10:44:55 <nielsm> how about making a jail/chroot build environment... would that be overkill
10:45:19 <nielsm> but I'm surprised apple's compiler isn't able to just set the correct include path on its own
10:46:22 <andythenorth> it's supposed to
10:46:35 <andythenorth> but this SDK removal change is producing bug reports on many projects
10:46:53 <andythenorth> and Apple's view is 'report them to the project for fixes'
10:47:26 * andythenorth wonders if we have any other mac users
10:52:11 <andythenorth> I reverted a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643 from HEAD and tried building with cmake
10:52:15 <andythenorth> now gets to about 92%
10:52:43 <LordAro> %age is meaningless
10:53:14 <andythenorth> oh this failure is because there are conflicts from reverting a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643
10:53:23 <andythenorth> nvm
10:57:17 <andythenorth> ok so I don't know how to remove the change in a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643
11:02:21 <LordAro> https://github.com/OpenTTD/OpenTTD/blob/release/1.10/config.lib#L2461 this is the sysroot stuff in the old system
11:03:35 <andythenorth> my guess is that would also have failed for my system
11:03:55 <LordAro> possible
11:04:10 <LordAro> can you try checking out release/1.10 and trying to build it?
11:05:02 <andythenorth> yup
11:06:14 <andythenorth> yeah 1.10.3 just built
11:07:05 <andythenorth> so that also doesn't include https://github.com/OpenTTD/OpenTTD/commit/a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643
11:07:14 <LordAro> this is true
11:07:39 <LordAro> but i don't believe that's the first use of unordered_map
11:07:49 <LordAro> you could try cherry-picking that commit
11:07:57 <LordAro> not sure if that would work though
11:09:07 <andythenorth> no results for 'unordered_map' in release/1.10
11:09:44 <LordAro> well, you could try adding just that one line :p
11:11:04 * andythenorth tries
11:11:09 <andythenorth> yeah that fails now
11:11:16 <andythenorth> I need to investigate if this is homebrew
11:11:19 <LordAro> interesting
11:11:25 <andythenorth> some people report homebrew causing clang to fail on this
11:11:55 <LordAro> ultimately i do have to question your system - i know we don't have many mac users who compile themselves, but it's not just you
11:12:07 <LordAro> and no one else has reported problems
11:12:56 <andythenorth> well I have tried all the recommended shuffling around of xcode SDKs
11:13:00 <andythenorth> that only leaves brew
11:13:22 <andythenorth> there's nothing else touching deps, afaik
11:14:43 <andythenorth> there are 3 other macs here, I might try one later
11:14:52 <TrueBrain> What is the error btw?
11:15:48 <andythenorth> no member named 'isunordered' in the global namespace
11:15:48 <andythenorth> using ::isunordered;
11:15:50 <andythenorth> and similar
11:16:04 <andythenorth> from Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cmath:328:9:
11:16:29 <andythenorth> it's reported across lots of projects recently
11:16:43 <andythenorth> or variants of it that can't find cmath
11:17:40 <andythenorth> https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th
11:21:04 <TrueBrain> let me guess .. order of include-paths went wonky? :)
11:21:25 <andythenorth> if I've read the SO comments correctly, yes
11:21:29 <TrueBrain> seriously, the whole header-include mess OSes created are INSANE
11:21:32 * andythenorth way out of depth
11:21:52 <andythenorth> we're basically into 'sacrifice chickens and throw salt' at this point
11:21:56 <andythenorth> random SO suggestions
11:21:57 <TrueBrain> I always have this issue when cross-compiling for embedded systems for some reason
11:22:16 <andythenorth> the reasons systems get into such a mess is all these shit 'paste commands from SO' fixes
11:22:29 <andythenorth> I should kill my system with fire every 3 months
11:22:35 <andythenorth> but then I'd get no work done :(
11:24:10 <TrueBrain> on the CF this was an issue for years btw, where we just injected some include-folders to fix the issue :P
11:25:06 <andythenorth> I may have now fucked my system by removing and reinstalling homebrew :D
11:25:21 <andythenorth> apparently valgrind does not compile on macOS currently, and it's a dep for some package
11:25:29 <andythenorth> oh well
11:28:38 <Eddi|zuHause> maybe you should put your OS under quarantine and lockdown whenever you opened stackoverflow
11:28:49 <andythenorth> tempting
11:29:15 <andythenorth> I took a backup yesterday explicitly so I could delete all deps today :P
11:29:35 <andythenorth> meh blitzing brew doesn't work, we require deps to build ottd
11:29:49 <andythenorth> lzma and crap
11:34:16 <andythenorth> oh I may have got a new error, that's exciting
11:34:40 <Eddi|zuHause> yay, progress!!
11:35:51 <andythenorth> nah it's still just cmath
11:36:02 <andythenorth> I changed the SDK and thought I got a new error
11:36:18 <Eddi|zuHause> nay, progress...
11:39:18 *** tokai has joined #openttd
11:39:18 *** ChanServ sets mode: +v tokai
11:39:44 <TrueBrain> hmm .. how do I query IPv6 servers from ingame ..
11:40:07 <andythenorth> not sure how to do this https://github.com/Homebrew/homebrew-core/issues/45061#issuecomment-541010787
11:40:14 <andythenorth> one of the many possible fixes suggested
11:41:09 <TrueBrain> that would change the include-path-order, so that might fix things yes ..
11:41:41 <andythenorth> of the available suggestions
11:41:45 <TrueBrain> in CMakeCache.txt you can find all these variables you can change
11:41:46 <andythenorth> 'format the hard drive and do a clean install'
11:41:59 <andythenorth> 'disable System Integrity Protection'
11:42:01 <andythenorth> hmm
11:42:04 <andythenorth> 'nope'
11:42:33 <TrueBrain> CMAKE_CXX_FLAGS:STRING= for example
11:43:14 <Eddi|zuHause> i "love" it when the "solution" to a problem is "well, i bought a new computer, and it's working fine there"
11:43:40 <TrueBrain> reminding us that upgrading is stupid :)
11:44:13 <andythenorth> "Yeah, I think we're looking for a solution that does not involve disabling a major security feature."
11:44:18 <andythenorth> good call homebrew person
11:45:12 <Eddi|zuHause> now imagine all the millions of forum threads for the past ~30 years that say something along the lines of "disable your virus scanner and firewall"
11:45:55 <Eddi|zuHause> augmented by "run it as administrator" for ~15 years
11:46:23 *** tokai|noir has quit IRC
11:47:06 <TrueBrain> "this application needs Domain Administrator rights .. it is fine!"
11:47:22 <andythenorth> Eddi|zuHause this sounds remarkably similar to the security compliance that has filled my life recently :(
11:47:34 <TrueBrain> hmm ... OpenTTD on Windows doesn't detect IPv6 for me .. why not ...
11:47:48 <Eddi|zuHause> "this pr0n app needs access to your webcam"... surely that never ever leads to problems :p
11:47:54 <andythenorth> oof
11:48:08 <andythenorth> I hate that I have to give some Apple-supplied daemons a password on startup
11:48:09 <TrueBrain> my interface has an IPv6 .. why doesn't OpenTTD consider it for broadcast ..
11:48:23 <andythenorth> any time I type my admin password, I get a rash
11:49:01 <andythenorth> "CMAKE_CXX_FLAGS:STRING=-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk"
11:49:05 <andythenorth> does that look right?
11:49:15 <TrueBrain> owh, it does try to contact over IPv6 .. but why is it failing ..
11:49:32 <TrueBrain> andythenorth: try it ;)
11:49:37 <TrueBrain> you can also set it with cmake -D .... btw
11:49:38 <Eddi|zuHause> TrueBrain: try disabling your firewa... err... :p
11:49:46 <andythenorth> I did try it, same error
11:49:51 <andythenorth> assumed I did it wrong
11:50:12 <andythenorth> this is how brew fixed their version of clang https://github.com/Homebrew/homebrew-core/pull/45304/commits/dafc8a18f67cbfb203495c3cddf3a732fcdf0cf3
11:50:21 <andythenorth> I could try replacing the Apple clang with the brew one
11:50:28 <andythenorth> 'what could go wrong'
11:51:32 <Eddi|zuHause> andythenorth: if giving the correct parameter doesn't do anything to correct the issue, i'd assume the parameter gets overwritten somewhere
11:52:00 <Eddi|zuHause> but i know nothing about cmake
11:52:20 <Eddi|zuHause> i got burnt once, and am afraid to even try it
11:52:32 <Eddi|zuHause> i also haven't updated openttd in months
11:53:09 <andythenorth> this isn't specific to cmake
11:53:27 <andythenorth> the problem is introduced to https://github.com/OpenTTD/OpenTTD/commit/a49fdb7ebbb8d8ce96bcd7bd779b18bcd86d0643
11:53:31 <andythenorth> in / to /s
11:53:36 <Eddi|zuHause> when i get home tonight, someone remind me that i should analyse George's RTT testcase
11:53:50 <andythenorth> std::unordered_map relies on cmath
11:54:09 <andythenorth> and cmath is widely broken on this version of macOS
11:54:38 <andythenorth> maybe I can fix the old pre-cmake build somehow
11:54:43 <Eddi|zuHause> what if you "#include <cmath>" in random places?
11:56:27 <TrueBrain> andythenorth: rm -rf build; mkdir build; cd build; CPLUS_INCLUDE_PATH="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include" cmake ..; make
11:56:29 <TrueBrain> fix the path where needed
11:57:06 * andythenorth tries it
11:57:15 <TrueBrain> from what I read, it has to do with dangling files in your /usr/local/include folder, but who am I to know how your filesystem looks :P
11:57:32 <andythenorth> I deleted everything in /usr/local/include already :)
11:57:57 <TrueBrain> it is just your include-path that are confused, because of the switch OSX made
11:58:04 <andythenorth> yup makes sense
11:58:05 <TrueBrain> so you have some old symlinks somewhere on your disk most likely ..
11:58:08 <TrueBrain> so indeed, reinstall :P
11:58:23 <andythenorth> this was a clean mac in May :P
11:58:25 <andythenorth> ouch
11:58:31 <andythenorth> well maybe March
11:58:49 <andythenorth> everything should just be a disposable appliance :P
11:59:16 <andythenorth> this is why I hate upgrading
11:59:24 <andythenorth> but we have to upgrade now because Compliance
11:59:42 <andythenorth> confidentiality > availability
11:59:58 <andythenorth> Because Apple Upgrades Never Introduce New Vulns
12:00:03 <andythenorth> Ever Never
12:00:12 <andythenorth> FML
12:01:24 <andythenorth> ok so how do I find (and filter) all the symlinks on my system?
12:01:25 * andythenorth googles
12:01:41 <TrueBrain> first try what I wrote, see if that fixes anything ;)
12:02:08 <andythenorth> well it's got a lot further so far
12:03:18 <andythenorth> "find . -type l" looks promising
12:03:32 <TrueBrain> I wouldn't hunt like that :)
12:03:55 <andythenorth> TrueBrain compile works :D
12:04:06 <andythenorth> I won't ask how you do these things :P
12:04:07 <TrueBrain> it seems two things can break OSX: homebrew via /usr/local/include, or CMake because of bad broken library detection inserting too many -isystem in the wrong places
12:04:15 <TrueBrain> well, simple: google
12:04:31 <TrueBrain> https://stackoverflow.com/questions/58498532/cmake-compile-error-when-include-cmath-header in this case
12:04:33 <TrueBrain> it aint magic :P
12:04:46 <TrueBrain> found by googling for "cmake osx cmath"
12:04:48 <andythenorth> oh I have that open :P
12:05:08 <TrueBrain> but I gathered you wouldn't be able to parse the solution in a way you can execute it :P Hence the typy type
12:06:05 <andythenorth> you gathered correctly
12:06:26 <andythenorth> I skipped that answer and moved straight to 'remove everything brew'
12:06:59 <TrueBrain> I would the above solution for now, till you reinstall your system again or Apple gets their act together and help out developers more :P
12:07:14 <TrueBrain> not sure Apple is surviving the horrors it is facing lately :P
12:07:18 <Eddi|zuHause> andythenorth: use debian. it never introduces vulns because it is so stable. :p
12:07:20 <TrueBrain> feels like Apple is the Microsoft of 10 years ago :P
12:07:35 <andythenorth> Apple is one step forward, one step backward currently
12:07:38 <TrueBrain> Eddi|zuHause: and on which planet do you live? :P
12:07:43 <andythenorth> it's a lot of churn, and no benefit
12:07:51 <andythenorth> at least this keyboard is good :P
12:08:05 <Eddi|zuHause> TrueBrain: the one where i make debian jokes from 15 years ago :p
12:08:06 <andythenorth> remarkable when that's the best I can say
12:09:02 <TrueBrain> I like how Microsoft went from this bully in the class to this class representative trying to do good .. just for us to find out there is another bully in the class :D
12:09:40 <andythenorth> this one has nicer shoes
12:09:48 <andythenorth> but yeah
12:09:56 <Eddi|zuHause> if the last ~10000-ish years of human history have taught us anything, then that there's always another bully
12:10:07 <andythenorth> so anyway, it's possible I have dumb symlinks somewhere
12:10:18 <TrueBrain> well, where Microsoft has been able to change, I am not sure Apple can tbh .. time will tell :)
12:10:36 <TrueBrain> andythenorth: or CMake is making your life more difficult
12:10:50 <andythenorth> well the issue is reproducible on commits before cmake
12:11:07 <andythenorth> but there may have been a different fix possible there
12:11:42 <Eddi|zuHause> TrueBrain: that's what decades of code-inbreeding do to your company
12:13:20 <andythenorth> Apple's mac problem is that it's a rounding error in their total revenue
12:13:27 <andythenorth> and they struggle to get good people to work on it
12:13:46 <andythenorth> and then they make unwise changes to try and make it seem cool and relevant
12:14:34 <andythenorth> they don't know if their customers are all the businesses buying a premium laptop for reliability and usability
12:14:40 <andythenorth> or fanboi fuckheads
12:14:57 <andythenorth> but currently they serve neither very well
12:17:47 <andythenorth> right, how do I find symlinks? :P
12:18:39 <TrueBrain> LordAro: btw, I hope the comments of "does black run on your PR?" wasn't the whole review? :P :P
12:18:58 <TrueBrain> andythenorth: don't waste your time on it tbh .. go draw pixels :p
12:19:09 <andythenorth> meh, I hate broken
12:19:30 <andythenorth> broken grows workarounds
12:19:36 <andythenorth> but workarounds are the cause of the broken
12:20:03 <TrueBrain> you now have a fix, which works for all CMake applications .. sooner or later someone makes a better write-up what the real issue is, and how to resolve it ;)
12:20:08 <TrueBrain> let others do the hard work
12:29:54 <TrueBrain> okay, now I have to figure out why UDP packets are not send from WSL2 to the host .. I guess that is a case of firewall :D
12:32:59 <Eddi|zuHause> andythenorth: "find -type l" would be my first guess
12:36:57 <TrueBrain> hmm .. it is not the firewall .. so why are my UDP packets getting lost in transit ..
12:38:55 <TrueBrain> hmm .. when I test it with netcat, traffic is going correctly through the pipe .. mmm interesting ..
12:39:21 *** HerzogDeXtEr has quit IRC
12:43:08 <Eddi|zuHause> is that just me or is the forum somewhat unresponsive
12:45:50 <nielsm> yeah it was really slow when I visited earlier
12:48:43 <andythenorth> same
12:58:46 <Eddi|zuHause> dang, i replaced my wallclock battery, and now i remember that it has problems with full batteries
12:59:01 <Eddi|zuHause> now i have an unreliable clock on the wall
12:59:13 <Eddi|zuHause> that randomly pauses
12:59:19 <Eddi|zuHause> and then resumes
12:59:26 <DorpsGek_III> [OpenTTD/OpenTTD] andythenorth commented on issue #8190: Mac build fails with cmake https://git.io/Jf1a9
12:59:55 <Eddi|zuHause> like, it was 6 hours behind this morning. then i set it, now it's 10 minutes behind again
13:00:06 <andythenorth> I have 3 spare quartz movements for wall clocks
13:00:23 <andythenorth> I had to keep buying them until I found a high-torque version that works :P
13:00:28 <Eddi|zuHause> it works fine if the battery is semi-depleted
13:01:25 *** frosch123 has joined #openttd
13:19:54 <andythenorth> quak?
13:35:50 <frosch123> moo
13:41:09 <TrueBrain> okay, it was the firewall after all .. seemly Hyper-V is a "public" network .. lolz
13:42:46 <TrueBrain> "[8000::e0:57c9:ea9c:d948:c38b]:15" <- I tihnk I made a boo-boo trying to send IPv6s to the client ... what do you think? :D
13:43:36 <andythenorth> I think sometimes paper and pen would be better :P
13:44:58 <TrueBrain> I can remotely crash clients with the master-server :D
13:44:59 <TrueBrain> is that cool?
13:46:13 *** sbr has joined #openttd
13:53:27 <andythenorth> is it the coin miner?
13:56:07 <LordAro> TrueBrain: sounds like a CVE :p
13:56:32 *** andythenorth has quit IRC
13:57:00 *** sla_ro|master has quit IRC
13:57:46 *** glx has joined #openttd
13:57:46 *** ChanServ sets mode: +v glx
13:58:17 <TrueBrain> LordAro: not really :P
14:04:12 <TrueBrain> okay, new master-server is almost done .. it is mostly missing polling GRF information from the server, and cleaning up servers if they haven't reported in after 20 minutes
14:04:27 <TrueBrain> the latter is easy, the first is a bit tricky .. and only needed for the web, not even for the ingame client :)
14:05:09 <LordAro> would anyone miss it if it were gone?
14:05:20 <TrueBrain> fair question; I do not know the answer :)
14:05:37 <TrueBrain> https://servers.openttd.org/en/server/99369 <- it is only to show the "NewGRF in use" section
14:05:52 <TrueBrain> and more specific: only to show GRF name
14:05:59 <TrueBrain> the rest of the information is already there
14:08:23 <TrueBrain> it mainly is an issue if the content is not uploaded to BaNaNaS, which is the case for 2 out of the 3 GRFs of the link I just gave :)
14:08:46 *** sbr has quit IRC
14:09:01 <TrueBrain> wait, no, I do not know that
14:09:10 <TrueBrain> grfcrawler doesn't know it, but that doesn't mean anything
14:09:15 <TrueBrain> no clue where he get his info :P
14:09:21 <glx> crazy idea, get the list from the server, and check if they are on BaNaNaS
14:10:00 <TrueBrain> and what to do after checking? This is not so much as an idea, but only an action :) Not sure what you are aiming at
14:10:27 <TrueBrain> grfcrawler, how-ever it works, does not know about BaNaNaS, it seems
14:10:34 <glx> show the availability on the server page
14:10:56 <TrueBrain> those are nice extensions, but nice-to-have, so for now out of my scope :)
14:11:03 <TrueBrain> I am currently focused on porting the existing code
14:11:12 <TrueBrain> which queries servers for unknown GRFs to get their name
14:11:15 <TrueBrain> which is a pita to implement
14:11:25 <TrueBrain> so the fair question is: does that matter?
14:11:35 <glx> anyway I don't think most user use the servers page to select which one to join
14:12:30 <TrueBrain> we can just not implement that for now, and add it if people did turn out to use it, I guess
14:13:07 <glx> for now you can just put a "server is using NewGRF" message, without details
14:13:19 <TrueBrain> I have the GRFID + MD5
14:13:26 <TrueBrain> just not the name :)
14:14:13 <TrueBrain> does anyone know how this grfsearch thingy works?
14:14:46 <TrueBrain> looking at frosch123 :D
14:16:51 <glx> some kind of "NewGRF: yes/no", maybe also "GameScript: yes/no" but I'm not sur this info is available on server query
14:17:02 <TrueBrain> it is not
14:39:48 <frosch123> you mean the grfcrawler redirect on ottd?
14:49:19 <frosch123> TrueBrain: oh, you mean the links to grfcrawler on the server site?
14:49:31 <frosch123> i guess those can be savely considered deprecated
14:49:43 <frosch123> a "present on bananas" columns would be more useful
14:51:02 <frosch123> though for those not on bananas, you could add the grfsearch.openttd.org thingie
14:52:23 <frosch123> http://grfsearch.openttd.org/?searchgrfid&q=<grfid>:<md5sum>
14:54:10 <frosch123> maybe it is dead :p
14:54:48 <frosch123> yeah, does not look like it works anymore
14:58:58 <frosch123> hmm, it works in-game... what sorcery?
15:01:20 <frosch123> oh, i missed the do= :/
15:01:54 <TrueBrain> :D
15:02:02 <TrueBrain> but who fills the grfsearch database?
15:02:18 <frosch123> we redirect to grfcrawler
15:02:26 <TrueBrain> sorry: who fills the grfcrawler database?
15:02:26 <frosch123> authors enter they stuff manually into grfcrawler
15:02:31 <TrueBrain> ah ..
15:02:35 <TrueBrain> that explains ..
15:02:38 <frosch123> with tt-forums accounts
15:02:45 <TrueBrain> as like a LOT of grfs are not indexed there :)
15:03:08 <frosch123> yes, it's mostly for people who refuse bananas :)
15:03:18 <TrueBrain> gotcha :)
15:03:25 <frosch123> and for old people from ancient times before bananas
15:03:31 <TrueBrain> okay, so we can postpone this all, and let it up to someone else to PR this after-the-fact, k :)
15:04:12 <TrueBrain> that means I now only have to add a simple HTTP API, and I need a simple web-frontend to wrap around that
15:11:08 <supermop_Home> so I've received some Swedish dudes uber receipt email in error
15:11:18 <supermop_Home> rather it is "Bolt" not uber
15:11:57 <frosch123> i also got the receipt for your enlargement pump
15:12:11 <supermop_Home> which informs me there is some kind of tax in Sweden called "Moms"
15:13:23 <supermop_Home> this guy has an email obo from mine so i also got signed up for some kind of running newsletter years ago
15:13:40 <supermop_Home> and never unsubscribed as i find it amusing to try to read it each week
15:16:49 <supermop_Home> this guy started his journey on "Temperature Street"
15:16:55 <supermop_Home> "Temperaturgatan"
15:27:34 *** andythenorth has joined #openttd
15:27:51 <andythenorth> what game shall I play?
15:28:02 <supermop_Home> google map of sweden
15:28:11 <supermop_Home> follow train lines
15:28:17 <supermop_Home> that's what i'm going
15:36:25 <TrueBrain> funny, the API for the MSU is 65 lines of code ..
15:36:26 <TrueBrain> :D
15:42:53 <TrueBrain> https://github.com/TrueBrain/OpenTTD-MasterServer/pull/1 <- nearly there .. only a HTML shim around the API, and it is done :)
15:48:10 <frosch123> TrueBrain: i think the mysql functions in the old masterserver are more than 65 loc :)
15:49:59 <TrueBrain> yeah ..... don't get me started :P
15:50:02 <TrueBrain> I hope I ported all functionality
15:50:08 <TrueBrain> but brrr, that was impossible to figure out for real
15:51:51 <frosch123> 197 656 6824 mysql-database-structure.sql :)
15:53:06 <TrueBrain> in all fairness, the DynamoDB model in Python is 140 lines of code
15:58:25 *** Wolf01 has joined #openttd
16:04:35 *** Progman has quit IRC
16:05:10 <TrueBrain> okay, added a nice fat README :)
16:06:00 <TrueBrain> tomorrow I will write the very simple webapp :) After that I have to move around some GitHub repositories, and than it is ready for testing on staging :D
16:15:14 <TrueBrain> https://github.com/OpenTTD/master-server/pull/1
16:15:21 <TrueBrain> now a real pull-request to a sane repository :)
16:16:42 <TrueBrain> owh, right, I have to jump-start GitHub Actions .. eeeuuuuuhhhhhh
16:23:52 <TrueBrain> https://github.com/OpenTTD/master-server/pull/2 and https://github.com/OpenTTD/master-server/pull/3
16:23:58 <TrueBrain> can someone hit the approve button for me?
16:35:50 <Eddi|zuHause> hm... my LED lights are making some high-pitched noise
16:37:59 <Eddi|zuHause> i mean, the kind of noise you'd expect from a capacitor right before it blows up
16:51:00 <glx> TrueBrain: approved 2 and 3, so 1 can be rebased and validated ;)
16:51:37 *** snail_UES_ has joined #openttd
16:56:36 <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #2: Add: [DorpsGek] announce issues, pull-requests, and tags to IRC https://git.io/JUsQB
16:56:46 <DorpsGek_III> [OpenTTD/master-server] TrueBrain merged pull request #3: Add: [Actions] flake8, black, pytest, and docker build tests https://git.io/JUsQ0
16:56:50 <TrueBrain> tnx glx :)
16:58:48 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
17:10:16 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
17:15:15 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
17:15:23 <TrueBrain> and fixed all the TODOs .. ready for review :)
17:24:34 *** Wormnest has joined #openttd
17:39:28 *** sla_ro|master has joined #openttd
18:11:16 *** snail_UES_ has quit IRC
18:33:13 *** virtualrandomnumber has joined #openttd
18:40:52 <DorpsGek_III> [OpenTTD/master-server] TrueBrain updated pull request #1: Rewritten Master Server in Python https://git.io/JUsHF
18:40:53 <TrueBrain> now even with a history that is somewhat readable :D
18:44:25 *** Flygon has quit IRC
18:55:20 <andythenorth> :)
19:17:56 * andythenorth wonders about making a GS
19:19:14 *** Gustavo6046 has joined #openttd
20:25:15 *** jottyfan has joined #openttd
20:27:12 *** jottyfan has quit IRC
20:42:53 *** Wormnest has quit IRC
20:50:38 *** WormnestAndroid has quit IRC
20:51:04 *** WormnestAndroid has joined #openttd
21:09:42 *** Wormnest has joined #openttd
21:25:43 *** gelignite has joined #openttd
22:02:13 *** Wormnest has quit IRC
22:08:42 *** Progman has joined #openttd
22:14:34 *** frosch123 has quit IRC
22:43:33 *** Wormnest has joined #openttd
23:10:12 *** tokai|noir has joined #openttd
23:10:12 *** ChanServ sets mode: +v tokai|noir
23:16:39 *** andythenorth has quit IRC
23:17:04 *** tokai has quit IRC
23:36:03 *** Wormnest has quit IRC
23:43:25 *** gelignite has quit IRC
23:50:46 *** Wolf01 has quit IRC