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

Powered by YARRSTE version: svn-trunk