IRC logs for #openttd on OFTC at 2018-04-21
            
00:10:37 *** frosch123 has quit IRC
00:15:36 *** Mahjong1 has joined #openttd
00:19:21 <Wolf01> 'night
00:19:24 *** Wolf01 has quit IRC
00:23:06 *** Mahjong has quit IRC
00:36:14 *** Wormnest has quit IRC
00:51:34 *** Smedles_ has joined #openttd
00:56:57 *** snail_UES_ has joined #openttd
00:58:00 *** Gja has quit IRC
00:58:52 *** Smedles has quit IRC
01:00:34 *** Progman has quit IRC
01:15:13 <Thedarkb-X40> OpenMSX is better than the original TTD soundtrack.
02:16:36 *** muffindrake has quit IRC
02:22:12 *** muffindrake has joined #openttd
02:36:28 *** FLHerne has quit IRC
03:14:30 *** ToBeFree has joined #openttd
03:44:44 *** Flygon has joined #openttd
03:52:21 *** ToBeFree has quit IRC
04:02:14 *** FLHerne has joined #openttd
04:16:22 *** FLHerne has quit IRC
04:21:41 *** Thedarkb1 has quit IRC
04:27:31 *** Supercheese has quit IRC
04:27:46 *** glx has quit IRC
04:27:48 *** Supercheese has joined #openttd
04:58:34 *** iSoSyS has quit IRC
05:01:24 *** muffindrake1 has joined #openttd
05:03:15 *** muffindrake has quit IRC
05:09:59 *** ToffeeYogurtPots has quit IRC
05:22:41 *** HerzogDeXtEr1 has joined #openttd
05:29:39 *** HerzogDeXtEr has quit IRC
06:26:05 *** tokai|noir has joined #openttd
06:26:05 *** ChanServ sets mode: +v tokai|noir
06:33:02 *** tokai has quit IRC
06:55:23 *** snail_UES_ has quit IRC
07:05:28 *** Pikka has joined #openttd
07:20:17 *** sla_ro|master has joined #openttd
07:25:02 *** Compu has quit IRC
07:33:36 *** Compu has joined #openttd
08:14:57 *** Wacko1976 has quit IRC
08:18:33 *** andythenorth has joined #openttd
08:19:47 <andythenorth> o/
08:20:41 <andythenorth> Pikka hi hi
08:21:16 <Pikka> hihihi
08:21:38 <andythenorth> I lost your tracking table link :)
08:21:47 <andythenorth> what haps for 2020-ish?
08:21:53 <andythenorth> nothing?
08:22:06 <Pikka> nothing, no futurisms
08:23:18 <andythenorth> nothing I can steal then :P
08:23:30 <Pikka> I relented and added some 21st century, but just the voyager, an EMU, and the class 70
08:23:42 <Pikka> sadly not :)
08:24:10 <andythenorth> I have a Velaro thing, a class 88 thing
08:24:17 <andythenorth> the problem is that stats are topped out really
08:24:34 <andythenorth> nvm
08:27:48 <andythenorth> I guess the 73 will go on even longer
08:27:52 <andythenorth> I have it twice already
08:27:53 <andythenorth> :P
08:28:08 <Pikka> mmm, electrodiesels
08:33:11 <andythenorth> loads of them in Horse
08:33:18 <andythenorth> bazillions
08:33:50 <Pikka> brazilians
08:33:54 <andythenorth> guess I'll be doing a UK Traxx http://images.archant.co.uk/polopoly_fs/1.1021383.1315958260!/image/1726190890.jpg_gen/derivatives/landscape_630/1726190890.jpg
08:33:57 <andythenorth> it's fake enough
08:42:57 <andythenorth> and an Ultra 73
08:44:18 <Pikka> I dunno about electrodiesels, or 3rd rail in general... it's a bit of a faff
08:49:38 <andythenorth> mine work on ELRL
08:49:56 <andythenorth> no 3rd rail, it's a faff
08:53:04 <andythenorth> dunno why I'm doing 2020 stuff
08:53:08 <andythenorth> I got talked into it :P
08:53:14 <andythenorth> same with 1860
08:57:26 *** Supercheese has quit IRC
08:57:43 *** Supercheese has joined #openttd
08:59:29 <Pikka> 20th century is good... modelrailwaytimes, interesting steam->diesel/electric transitions, there's planes and trucks, the industries and economy mostly make sense
09:01:00 <andythenorth> 1860 is too slow
09:01:05 <andythenorth> 2020, nothing much changes
09:01:18 <andythenorth> 1900-2000 is the best window
09:01:37 <Pikka> yarr
09:04:29 *** sla_ro|master has quit IRC
09:05:16 *** Cubey has quit IRC
09:15:30 <peter1138> Do I need a Heavy Lift Lego helicopter?
09:15:57 <Pikka> where?
09:16:05 <andythenorth> the orange and white one?
09:16:16 <peter1138> 42052
09:17:31 <andythenorth> I didn't
09:17:34 <andythenorth> enough Lego
09:29:46 <peter1138> Probably
09:34:03 <andythenorth> such livery groups
09:34:09 * andythenorth testing it
09:36:18 <andythenorth> http://dev.openttdcoop.org/attachments/download/8989/group_liveries_1.png
09:36:34 <Pikka> noice
09:36:58 *** Supercheese has quit IRC
09:40:59 <andythenorth> notice the bug :)
09:42:01 <Pikka> si
10:04:26 *** Progman has joined #openttd
10:04:32 <andythenorth> "Mail Rail" or "Rail Mail"
10:04:33 <andythenorth> ?
10:04:43 <andythenorth> https://en.wikipedia.org/wiki/British_Rail_Class_325
10:10:10 <Pikka> Rail Mail Rail
10:10:27 <Pikka> "postal train services"
10:11:20 <Pikka> Royal Mail Rail Rail Mail?
10:11:34 *** Progman has quit IRC
10:14:09 *** Progman has joined #openttd
10:15:28 *** HerzogDeXtEr1 has quit IRC
10:18:21 *** HerzogDeXtEr has joined #openttd
10:31:10 *** frosch123 has joined #openttd
10:45:23 <frosch123> hmm, i am kind of disappointed how invisible CONTRIBUTING.md is
10:45:47 <frosch123> it's only mentioned in a small box on the right, and only on the first issue/PR you open
10:46:14 <frosch123> you kind of have to actively look for it
11:05:07 <TrueBrain> the first issue/PR should be enough :D
11:06:28 <TrueBrain> frosch123: reason why you did approve 6736 and not merge it? (before I merge it and you say: NOOOO :D)
11:08:01 <andythenorth> frosch123: link Contributing from README?
11:08:15 <andythenorth> README also overlaps CONTRIBUTING somewhat, notably in the bug reporting
11:11:34 *** Wolf01 has joined #openttd
11:13:29 <Wolf01> Moin
11:14:51 <Pikka> boin
11:22:49 *** FLHerne has joined #openttd
11:24:57 *** synchris has joined #openttd
11:28:34 <peter1138> - $(Q)cp "$(ROOT_DIR)/readme.txt" "$(BUNDLE_DIR)/"
11:28:35 <peter1138> + $(Q)cp "$(ROOT_DIR)/README.md" "$(BUNDLE_DIR)/"
11:28:40 *** Wormnest has joined #openttd
11:28:41 <peter1138> Oh no! That misalignment!
11:29:43 <TrueBrain> yeah, I saw .. I was annoyed someone tried to align it to start with
11:29:48 <peter1138> :D
11:30:13 <TrueBrain> but I am really not going to ask a first-time-contributor to fix my OCD :P
11:46:26 <Wolf01> Isn't that what f-t-c are for? :D
11:49:47 <Wolf01> So I can still safely use andy's NRT repository?
11:50:47 <andythenorth> I haven't rebased it
11:51:15 <andythenorth> I don't think we can do any more on NRT currently
11:51:21 <Wolf01> Ok
11:51:31 <andythenorth> needs rebasing
11:51:42 <andythenorth> but it's a mess, so I don't know if the rebase is worth it
11:51:54 <Wolf01> Restart from scratch :D
11:51:58 <andythenorth> I have temporarily quit on NRT
11:52:03 <Eddi|zuHause> what's an .md file anyway?
11:52:07 <andythenorth> markdown
11:52:23 <andythenorth> Wolf01: we might actually need to restart from scratch tbh
11:52:34 <Wolf01> Just another way to call .txt with wikicode
11:53:00 <Eddi|zuHause> <andythenorth> README also overlaps CONTRIBUTING somewhat, notably in the bug reporting <-- there's a few things you can't say often enough
11:53:11 <andythenorth> well
11:53:25 <TrueBrain> https://github.com/OpenTTD/OpenTTD-CF/pull/7 <- WTB, reviewer :)
11:53:27 <andythenorth> I agree, but one of the frustrations I have in open source is being told 2 ways to do stuff
11:53:31 <andythenorth> and then being told I've done it wrong
11:53:48 <andythenorth> if there's no canonical way, then there's no way to enforce standards
11:54:15 <andythenorth> and giving contributors a public bollocking for doing it wrong when there's no 'right' is really toxic
11:54:28 <TrueBrain> yup
11:54:31 <Wolf01> +1
11:55:34 <andythenorth> I have a soapbox about this
11:55:42 <Eddi|zuHause> so what's the problem here? just make sure readme and contributing don't contradict each other?
11:55:50 <andythenorth> yes
11:55:55 <andythenorth> but then we have to maintain both
11:56:19 <andythenorth> and also https://wiki.openttd.org/Readme.txt
11:56:51 <andythenorth> and also https://www.openttd.org/en/development
11:57:24 <andythenorth> anyway, it's just work :P
11:57:53 <Eddi|zuHause> that wiki page is terribe, why is it there?
11:58:21 <Eddi|zuHause> it even managed to copy-paste the UTF8 wrong
12:00:28 <andythenorth> :P
12:00:28 <peter1138> Wolf01, I reviewed NRT, I'm fairly happy with it barring the TODOs. I think it could do with some logical splitting up, but I don't think the development history is particularly useful (all those merges, and fixes of things which are not going to be relevant)
12:00:33 *** Stimrol has joined #openttd
12:01:01 <andythenorth> I wondered if we could take the big diff, and logically split it into a handful of commits
12:01:02 <Wolf01> Yup, I agree
12:01:07 <peter1138> Wolf01, Like a patch that introduces and uses RTIDs without actually changing anything would be good.
12:01:29 <andythenorth> we can trash my repo, start a new branch in one of our forks
12:01:47 <peter1138> With my own patches I always find it's easier to clean and split up once it's mostly completed, anyway.
12:01:48 <Wolf01> Could be a good thing to do
12:01:54 <frosch123> TrueBrain: i want to give more people the opportunity to approve things :)
12:02:06 <TrueBrain> but you approved it :P
12:02:13 <TrueBrain> :D
12:03:08 <Wolf01> I could start my own version of NRT with blackjack and hookers, which ends up doing the very same of andy's version :D
12:03:27 <Wolf01> But without savegame compatibility
12:03:51 <andythenorth> Pikka: I tried to do an RES Systems livery http://dev.openttdcoop.org/attachments/download/8972/horse_res.png
12:03:54 <andythenorth> now I have regret
12:04:23 <Pikka> why, what's wrong with it?
12:04:26 <andythenorth> it's not 2CC
12:04:34 <andythenorth> and it looks bad on Scooby Doo
12:04:42 <Pikka> hmm
12:04:46 <Pikka> 2cc is overrated :D
12:04:57 <andythenorth> I have turned to the wrong pikka for help :(
12:05:22 <peter1138> frosch123, once it's approved nobody else gets an option to approve it.
12:05:36 <andythenorth> maybe I could colour remap 2CC to a range of dark colours :P
12:05:44 <andythenorth> BAD FEATURE
12:05:58 <Pikka> so you get a different dark colour depending on your 2cc?
12:05:59 <frosch123> hmm, i though it approved something which glx already had approved
12:06:02 <TrueBrain> frosch123: is it me, or didn't he change the game_changelog.hpp? I expect a few lines of API additions there?
12:06:04 <Pikka> sounds like some work :P
12:06:10 <Pikka> for a quantity of benefit
12:06:18 <frosch123> TrueBrain: i saw changes
12:06:30 <andythenorth> Pikka: it's showboating for no real outcome :P
12:06:32 <TrueBrain> it still reads: no changes
12:06:35 <peter1138> Wolf01, as long it's compatible with master ;)
12:06:37 <andythenorth> it won't even be fun :P
12:06:47 <Pikka> well you should definitely do it then
12:07:14 <TrueBrain> frosch123: nevermind, I am blind
12:07:14 <andythenorth> or I could just invent a 2CC livery
12:07:15 <frosch123> TrueBrain: https://github.com/OpenTTD/OpenTTD/pull/6736/files#diff-ad7c5b18f9e8282eec2f7015f4d64eb0
12:07:15 <Wolf01> I would just bump the savegame version to 9000 or such
12:07:28 <TrueBrain> frosch123: the 1.8.0 line was throwing me a curve-ball there :D
12:08:13 <peter1138> Ah the unrelated changes issue.
12:08:17 <frosch123> TrueBrain: if it was for OCD i would only have written "GSClient" for the new class instead of every method
12:09:03 <TrueBrain> frosch123: I just asked for another change, so you can still do that :)
12:09:35 <frosch123> TrueBrain: you replaced "dirname $0" with "amd64" is build.sh. intentional?
12:09:45 <TrueBrain> frosch123: yes; first parameter changed
12:09:51 <TrueBrain> check the function :)
12:10:04 <frosch123> it's the only change in the file
12:10:11 <TrueBrain> the function is in another file :)
12:10:59 <TrueBrain> build_linux now takes "arch, distro distro_tag, image_name"
12:11:13 <TrueBrain> instead of "pwd, distro, distro_tag, image_name"
12:15:40 <TrueBrain> tnx frosch123
12:16:00 <frosch123> i deny any responsibility, my mouse button just slipped :)
12:16:06 <TrueBrain> :P
12:16:39 <TrueBrain> that leaves mingw .. and after that the always annoying MSVC ..
12:16:58 <frosch123> if mingw works, is there an advantage to msv?
12:16:59 <Eddi|zuHause> frosch123: like that politician whatsherface?
12:17:05 <frosch123> crash.dump or something?
12:17:16 <TrueBrain> MSVC delivers much better quality binaries we noticed over time
12:17:27 <TrueBrain> both faster, smaller, etc
12:17:33 <TrueBrain> (as if MSVC knows Windows better :P)
12:18:05 <frosch123> i am sure msvc devs have a love-hate relationship with windows
12:18:08 <TrueBrain> but I think I am first going to look if we can use vspkg for OpenTTD, instead of openttd-useful
12:18:17 <TrueBrain> as openttd-useful is not so useful :)
12:33:22 <Wolf01> https://9gag.com/gag/a1omDD6
12:33:35 <Wolf01> Ok, now somebody should make a grf for that
12:38:32 <andythenorth> voxels
12:40:54 <Eddi|zuHause> cubicles!
12:41:08 <Eddi|zuHause> Wolf01: i'm fairly sure you can do that with motion counter
12:49:11 <TrueBrain> hmmmmm ... voxel engines ......
12:57:48 *** ZehMatt has joined #openttd
12:58:06 <Wolf01> I already started a voxel train set, not really good at drawing :(
12:58:10 <ZehMatt> hello everyone
12:59:01 <ZehMatt> I've been wondering now that OpenTTD is on GitHub, why not setup a chat room on gitter?
12:59:21 <TrueBrain> how is one chatroom better than the next? :)
12:59:35 <ZehMatt> well Gitter has an github feed
12:59:39 <andythenorth> I am going to write a bot :)
12:59:44 <TrueBrain> and IRC does not ? :)
12:59:58 <ZehMatt> not that im aware of?
13:00:07 <ZehMatt> unless theres a special bot
13:00:11 <TrueBrain> in #openttd.notice all code-related activity is reported :)
13:00:23 <TrueBrain> out-of-the-box serviced by GitHub :)
13:00:57 <ZehMatt> unicode
13:00:57 <TrueBrain> same works for HipChat, Slack, Discord, and all those other fancy chatty solutions :)
13:01:11 <ZehMatt> well I dont mind
13:01:12 <ZehMatt> just wondering
13:01:26 <andythenorth> thanks for suggesting :)
13:01:27 <TrueBrain> IRC has been our home for many many many years :)
13:01:38 <ZehMatt> i personally love irc
13:01:44 <ZehMatt> but more and more abonden it :p
13:01:56 <andythenorth> I will abandon it when there is a clear winner
13:01:59 <andythenorth> I am waiting
13:02:05 <andythenorth> slack was supposed to win, but hasn't
13:02:15 <TrueBrain> https://xkcd.com/1782/
13:02:20 <andythenorth> I know that one :P
13:02:24 <andythenorth> snapchat might win
13:02:26 <andythenorth> dunno
13:02:27 <TrueBrain> andythenorth: honestly, we dont need a winner; just consensus :)
13:02:30 <andythenorth> same
13:02:36 <ZehMatt> i also have another question, I submitted a patch a while ago on the forums but didn't get much attention, is it worth to do a PR instead?
13:02:55 <ZehMatt> well up to this day I have no idea if the patch is actually wanted or not
13:02:57 <TrueBrain> ZehMatt: first you can check what state it is in on GitHub (same number)
13:03:17 <TrueBrain> we did a massive cleanup
13:03:28 <ZehMatt> lets see
13:03:47 <frosch123> flyspray issues got imported to github
13:04:09 <frosch123> hardly anyone reads forums
13:04:27 <frosch123> you can post the link to the topic here though, if you want a short opinion
13:04:42 <TrueBrain> frosch123: that conclusion (of forums) is not really based on anything :P
13:04:53 <TrueBrain> N = 1 is not a statistical correct way of working :D
13:05:04 <ZehMatt> well by the looks its still the same code
13:05:08 <andythenorth> I read forums 50 times a day
13:05:12 <ZehMatt> https://www.tt-forums.net/viewtopic.php?f=33&t=82535 and thats the patch im talking about
13:05:13 <andythenorth> and I am not anyone
13:05:29 <TrueBrain> owh, I misread, you posted it on the forums
13:05:35 <TrueBrain> yeah, I assumed FlySpray .. stopped reading after the f :P
13:05:35 <ZehMatt> oh, yeah
13:05:43 <TrueBrain> sorry frosch123 :)
13:05:46 <ZehMatt> having those windows on my 144hz screens hurts my eyes ;(
13:05:55 <Eddi|zuHause> ZehMatt: in general, you post to the forum if you want user feedback, and on the github to get developer feedback
13:06:17 <ZehMatt> ?
13:06:27 <TrueBrain> owh, even mp4s :)
13:06:47 *** synchris has quit IRC
13:06:49 *** vlanik2[m] has joined #openttd
13:07:37 <ZehMatt> im just wondering if its worth it doing a PR instead now
13:08:01 <Eddi|zuHause> it can't really hurt, i'd say
13:08:52 <TrueBrain> ZehMatt: do look at your patch in terms of unneeded changes and coding style.
13:09:04 <ZehMatt> yes, I would do it better
13:09:09 <frosch123> it does not affect gameplay, so someone who knowns windows will be able to give an objective review :)
13:09:11 <ZehMatt> with git theres an easy way :p
13:09:30 <TrueBrain> and Windows-only stuff tends to be put in os/ folders
13:09:36 <ZehMatt> ah ok
13:09:42 <ZehMatt> well it shouldnt be windows specific
13:09:49 <ZehMatt> ive done something like that on orct2 aswell
13:10:01 <ZehMatt> GetTickCount has a poor resolution
13:10:03 <frosch123> #include <windows.h> <- pretty windows specific :p
13:10:32 <ZehMatt> video/win32_v.cpp < that too?
13:10:45 <TrueBrain> ZehMatt: and be careful not changing too much in a single commit; having both the resolution change and moving of when stuff is drawn, might make reviewing more annoying
13:10:58 <TrueBrain> ZehMatt: its in the name there :D
13:11:11 <TrueBrain> you can also go for something like timer_win32.cpp I guess?
13:11:17 <ZehMatt> hm yeah
13:11:22 <ZehMatt> anyway im comfortable with git
13:11:23 <TrueBrain> but core/time_func for sure is deceptive :)
13:11:25 <ZehMatt> not so much with patches
13:11:48 <ZehMatt> https://github.com/OpenRCT2/OpenRCT2/pulls?q=is%3Apr+author%3AZehMatt+is%3Aclosed
13:11:54 <ZehMatt> done my fair share of training here :p
13:11:54 <frosch123> ZehMatt: "core" is pretty generic container/bitmagic stuff, i would put the time methods directly into video/win32_v.cpp
13:12:57 <TrueBrain> and you made GetHPFLocalTime public, but it is never used :) Unused functions are not needed :)
13:13:27 <TrueBrain> so yeah .. gitify, cleanup, and PR the shit out of it :P
13:13:41 <ZehMatt> well yeah I stated in the forum that it will be used for something else later
13:13:47 <ZehMatt> i dont remember what
13:13:48 <ZehMatt> lol
13:13:56 <TrueBrain> exactly the problem with unused code :D
13:13:58 <ZehMatt> been sitting in the forums for a while now
13:14:01 <TrueBrain> it sounds like a good idea at the time ;)
13:14:31 <ZehMatt> anyway thanks for the info, I'll try to find some time today or tomorrow to revisit this
13:14:43 <TrueBrain> GitHub will patiently await your PR :D
13:14:44 <ZehMatt> and you guys moving to github, very appreciated
13:15:35 <TrueBrain> tnx :)
13:17:22 <andythenorth> mumble mumble liveries
13:17:36 *** synchris has joined #openttd
13:18:04 <TrueBrain> you and your liveries ... what is your obsession with them anyway?
13:19:25 <andythenorth> I don't know
13:19:55 <andythenorth> makes better sprites though
13:20:09 <andythenorth> helps find the best shape
13:20:18 <ZehMatt> so
13:20:31 <ZehMatt> does OpenTTD now include the required dependencies as submodules?
13:20:43 <TrueBrain> which dependencies?
13:20:58 <Pikka> when your prototype is BR in the 80s and 90s, it's difficult not to get carried away with liveries. :)
13:20:59 <ZehMatt> sdl, zlib, png
13:21:20 <TrueBrain> ZehMatt: those are mostly optional; so no. Also, most of our targets already have them from their own distro :)
13:21:53 <TrueBrain> and smaller binaries is always nicer :)
13:22:12 <ZehMatt> okay
13:22:25 <TrueBrain> it is mostly that Windows is the odd one out here :D
13:22:30 <andythenorth> Pikka: probably also NA, Europe etc :)
13:22:36 <TrueBrain> vspkg makes it a bit easier, but OpenTTD has yet to adept that :)
13:23:43 <andythenorth> shall I post my 'possibly 83 85 86' sprite for comparison :)
13:24:11 <TrueBrain> ugh, apt-extracttemplates is horribly slow :(
13:30:23 *** iSoSyS has joined #openttd
13:31:04 <frosch123> andythenorth: a 83-85-86 is quite a long engine
13:31:20 <frosch123> also they missed some wheels
13:31:21 <andythenorth> no no I compress it :P
13:31:33 <andythenorth> it's a montage of pieces :P
13:36:31 <Pikka> hmmm
13:37:01 <Pikka> 2-10-10-10-10-10-2 for narshorse? :D
13:43:25 *** andythenorth has quit IRC
13:43:34 *** Stimrol has quit IRC
13:44:01 *** andythenorth has joined #openttd
13:45:44 <andythenorth> Pikka: probably not enough
13:46:05 <frosch123> any recommendation for how to document database table layouts?
13:46:17 <frosch123> if not, i'll try graphviz :p
13:48:41 <FLHerne> Pikka: Wow, just saw your new blog post. 2x UKRS is awesome! :o
13:49:03 <Pikka> :D
13:50:33 *** Stimrol has joined #openttd
13:51:58 <Wolf01> What where when? Did you finish it already?
13:52:18 <Eddi|zuHause> frosch123: surely there must be some enterprisey uml thingie
13:53:22 <frosch123> yes, but they are not free and they have non-diffable binary/compressed formats
13:53:42 <frosch123> i can also do ascii art :p
13:53:48 <Eddi|zuHause> then i can't help you :p
13:54:17 <Eddi|zuHause> i learned some database design for university, but forgot everything about it immediately
13:54:52 <Pikka> Wolf01, UKRS3? not *quite* finished, no.
13:54:58 <Eddi|zuHause> and now i have to look up the simplest sql commands every time
13:55:12 <frosch123> drop table?
13:55:19 <Wolf01> frosch123: can plantuml help? Uses graphwiz and adds some stuff on top
13:55:59 <Eddi|zuHause> frosch123: or update (what?) (where?) (in which order?)
13:56:22 <frosch123> ah, there are plenty of tools in debian already, plantuml is one of them
13:56:46 <frosch123> it's called text-to-UML converter, sounds good :)
13:57:20 <frosch123> oh, there is also postgresql-autodoc
13:57:34 <ZehMatt> DELETE DATABASE 'begone';
13:57:34 <frosch123> hmm, but that is too chicken-egg
13:58:25 <frosch123> "funny way for visual programming in perl" <- i do not even want to know ...
13:58:31 *** Arveen3 has quit IRC
13:58:46 <Eddi|zuHause> stop, you've dived into the deep end!
13:58:48 *** andythenorth is now known as Guest498
13:58:48 *** andythenorth has joined #openttd
14:00:27 *** Guest498 has quit IRC
14:14:18 *** sla_ro|master has joined #openttd
14:35:05 *** Arveen has joined #openttd
14:45:51 *** andythenorth is now known as Guest503
14:45:53 *** andythenorth has joined #openttd
14:49:17 *** Guest503 has quit IRC
14:57:06 *** supermop has joined #openttd
15:10:26 *** Thedarkb has joined #openttd
15:11:14 <TrueBrain> okay ... lets see what clang 6.0 has to yell about our source ..
15:11:21 *** iSoSyS has quit IRC
15:15:15 <LordAro> much the same as clang4
15:17:09 <TrueBrain> bah; docker run has no --pull
15:17:11 <TrueBrain> stupid
15:21:36 <TrueBrain> I think I now fixed that when it fails, you can just click Details, and see why it failed .. instead of having to open the line above
15:21:40 <TrueBrain> hopefully that helps new people mostly :)
15:22:37 <LordAro> :)
15:24:34 <TrueBrain> docker hub is a bit weird today ... slow connections, hangs from time to time ..
15:35:48 <TrueBrain> and a week later, and no reply once again from AWS .. seems they are either incapable of replying, or just dont give a shit :( Getting annoying .. not even a reply: tnx for your email, we will get back to you, or anything
15:35:54 <TrueBrain> it is like: HELLO?! ANYONE HOME?!
15:36:29 <LordAro> sure you sent it to the right place? :p
15:36:37 <LordAro> 2 working days is usually as long as you wait
15:36:38 <TrueBrain> 3rd place I tried now
15:36:38 <frosch123> it's like info@ :p
15:36:52 <TrueBrain> frosch123: with the huge difference that they are a business :P
15:37:10 <TrueBrain> first I tried Support Center .. got a reply within 48 hours totally unrelated to my questions
15:37:24 <TrueBrain> second was the Sales form on their website .. 2 weeks later, still nothing
15:37:33 <TrueBrain> third was an email to one of their listed email addresses .. big silence
15:39:27 <LordAro> sounds like you need to get lucky with their support centre
15:40:48 <TrueBrain> at least I am happy with GitHub .. they do reply to their emails
15:40:56 <LordAro> :)
15:40:58 <andythenorth> I am very surprised AWS have any staff tbh
15:41:06 <LordAro> did you get a response about the PR/rebase issues?
15:41:12 <TrueBrain> yeah; they resolved it
15:41:20 <LordAro> :)
15:41:24 <LordAro> did they give any details?
15:41:34 <TrueBrain> nah; didnt ask for it either
15:41:54 <LordAro> fair
15:42:28 <TrueBrain> andythenorth: you are surprised their milion dollar industry has staff? :P
15:43:59 *** andythenorth has quit IRC
15:44:32 <TrueBrain> so clang 6.0 has the pool mutex thingy, and ini_set thingy as warning
15:44:40 *** andythenorth has joined #openttd
15:45:03 <LordAro> not seen an ini_set thingy before
15:45:21 <TrueBrain> its hiding between all the mutex warnings :)
15:45:35 <TrueBrain> BaseSound::ini_set
15:45:37 <TrueBrain> similar error
15:45:57 <LordAro> interesting
15:46:34 <LordAro> https://github.com/LordAro/OpenTTD/commit/1ef27df426cfa5d586c76813064470e8949ae049 oh no, i have seen it before
15:46:56 <TrueBrain> our new peter1138 :( *I have a patch for that*
15:46:57 <TrueBrain> ffs
15:47:04 <LordAro> lol
15:47:07 <LordAro> not even close
15:47:52 <TrueBrain> we can do without the rant in the commit message, and make it 2 commits, and get it in PRs or something :P
15:49:13 <TrueBrain> Gestalt deprecation .. guess something for michi_cc to clean up :D
15:49:31 <TrueBrain> okay, OSX CI works, and validates :)
15:49:54 <andythenorth> \o/
15:49:56 <andythenorth> yay
15:50:01 <peter1138> hi
15:50:15 <frosch123> LordAro: didn't that patch fail to compile with gcc or something?
15:50:52 <LordAro> frosch123: see the commit message :p
15:51:21 <frosch123> oi, progres :)
15:59:23 <LordAro> TrueBrain: frosch123: tada
15:59:55 <andythenorth> Pikka: shall I electrify Scooby Doo? o_O
16:01:03 <TrueBrain> LordAro: okay, the old code was a bit weird... SmallStackPool using a variable defined in station.cpp .. that feels a bit random :D
16:02:52 <Pikka> probably, andythenorth
16:03:18 <andythenorth> :P
16:03:20 <andythenorth> maybe later
16:03:22 <LordAro> TrueBrain: little bit :)
16:03:25 <andythenorth> biab
16:03:25 *** andythenorth has left #openttd
16:03:33 <TrueBrain> too bad LordAro your new patch doesnt run against clang 6.0 on the CI now .. so I cannot see what it does :D
16:03:41 <LordAro> oh, your clang6 hasn' be- yes
16:04:15 <frosch123> maybe you can arrange a trade?
16:04:40 <TrueBrain> I can do something a lot more evil :D
16:04:52 <TrueBrain> just cancelled the CI build, and injected my Jenkinsfile :D
16:05:43 <TrueBrain> LordAro: but do I get it right, that there can be only 1 SmallStackPool?
16:05:59 <TrueBrain> or is the templating also taking care of the singleton being per usage?
16:06:36 <frosch123> there is one pool per template parameters
16:06:54 <LordAro> ^
16:07:01 <LordAro> i've not changed any functionality
16:07:11 <TrueBrain> Templates make my head spin :P
16:07:38 <LordAro> nested templates make my head spin :p
16:08:12 <frosch123> light bulbs are so old fashioned
16:08:26 <frosch123> stop screwing them in
16:11:03 <TrueBrain> trying to understand this piece of code requires more brainpower than I would like ... ugh
16:11:23 <LordAro> frosch123<lightbulb>::screw();
16:12:32 <TrueBrain> okay, so StationIDStack is the only one using the SmallStack
16:12:51 <LordAro> TrueBrain: no, i don't properly understand why there's a problem in the first place, nor how the solution works, only that it does :p
16:13:13 <TrueBrain> LordAro: honestly, that is not helping .. that even makes me more scared :P
16:13:14 <LordAro> TrueBrain: it's quite probable that you could replace it with std::stack or something
16:13:17 <LordAro> TrueBrain: :p
16:13:34 <TrueBrain> just the typedef that was on line 38 is so fucked up
16:13:36 <frosch123> std::stack won't work
16:13:37 <TrueBrain> it makes things worse
16:13:49 <frosch123> it's not a stack, but a DAG iirc with shared noes
16:13:51 <frosch123> *nodes
16:14:12 <TrueBrain> so initial in src/station.cpp the singleton was created
16:14:14 <frosch123> anyway, looks fine to me
16:14:23 <TrueBrain> just impossible to read ..
16:15:01 <frosch123> i can't quite remember whether we prefix static methods with the classname, but probably we do
16:16:08 <TrueBrain> a static in a header file .. ugh :P
16:16:29 *** snail_UES_ has joined #openttd
16:17:28 <TrueBrain> either way, clang 6.0 shows a lot less now :)
16:17:37 <LordAro> :)
16:18:14 <LordAro> you can probably add Werror to the CI now
16:18:25 <TrueBrain> I was thinking of injecting it indeed
16:18:34 <TrueBrain> (CFLAGS="-Werror" ./configure)
16:18:39 <LordAro> exactly
16:18:51 <TrueBrain> but I think OSX is going to fail
16:18:54 <LordAro> wouldn't want to change the build system itself - all the weird platforms that wouldn't go so well
16:18:55 <TrueBrain> deprecated functions
16:19:18 <TrueBrain> and 3 other things I would like to do: mingw, msvc, and see if we can run a matrix of all configuration settings
16:19:57 *** kais58 has quit IRC
16:21:01 <TrueBrain> seems today we will merge the 40th PR :)
16:21:19 <TrueBrain> still a shitload of triage to do .. ugh :P
16:21:31 <frosch123> you will have to reject PRs if you want them to overtake the commit numbers
16:21:58 <frosch123> may make a controversial close reason :)
16:22:24 <TrueBrain> I don't follow, sorry :D
16:28:15 <TrueBrain> hmm .. one serious warning on OSX file .. null pass to a callee that requires a non-null argument
16:29:00 <TrueBrain> now do mine LordAro!
16:30:22 <LordAro> TrueBrain: aah, i don't even remotely know objc
16:30:32 <TrueBrain> not yours to fix :)
16:30:36 <TrueBrain> but I meant my PR :)
16:31:00 <Rubidium> LordAro: you know it's name, that's more than the vast majority of humans... so you're relatively seen quite familiar with it ;)
16:31:15 <LordAro> TrueBrain: well i can't merge :p
16:31:17 <LordAro> Rubidium: nooo
16:31:24 <TrueBrain> tnx LordAro :)
16:34:44 *** Thedarkb has quit IRC
16:42:43 *** Thedarkb has joined #openttd
16:48:50 <peter1138> Hmm, what happened to the sunshine...
16:50:36 * Pikka checks outside
16:51:20 *** Thedarkb has quit IRC
16:52:31 <TrueBrain> hmm .. how to get mingw libraries ...
16:52:39 <LordAro> TrueBrain: msys2
16:52:54 <LordAro> (the wiki page is about 5 years out of date)
16:53:07 <TrueBrain> now try again, knowing I am cross-compiling via Dockers :)
16:53:27 <LordAro> well.
17:01:10 *** Wacko1976 has joined #openttd
17:01:44 <ZehMatt> time to get productive
17:02:20 <TrueBrain> oh-oh
17:03:22 <TrueBrain> meh; appears I have to compile the dependencies myself .. I hate that ..
17:04:07 <LordAro> TrueBrain: i'd imagine it'd be easier to get a windows machine
17:04:14 <LordAro> then you can do mingw & msvc
17:04:24 <TrueBrain> I think you have no clue :D
17:04:31 <TrueBrain> Docker doesnt work on Windows .. not really anyway
17:04:46 <LordAro> well fine, don't use docker for them
17:04:56 <TrueBrain> and that is fine how? :)
17:05:02 <TrueBrain> that means I cannot accept a random PR
17:06:42 <LordAro> https://blogs.msdn.microsoft.com/heaths/2017/09/18/installing-build-tools-for-visual-studio-2017-in-a-docker-container/ well MS seems to think it works fine
17:06:47 <LordAro> what am i missing?
17:06:50 <TrueBrain> they think a lot of things
17:06:56 <TrueBrain> I invite you to try :)
17:07:10 <TrueBrain> Microsoft is very good in hiding little details
17:07:38 <LordAro> heh, true
17:08:17 <TrueBrain> its really bad: Windows Dockers run in Hyper-V (and ONLY in Hyper-V)
17:08:28 <TrueBrain> Hyper-V is ONLY available on Windows 10 Pro (and Windows Server 2016)
17:08:39 <TrueBrain> it is nothing what it looks like
17:09:00 <TrueBrain> it wouldn't even surprise me if it runs a minimialized kernel, and is not a container at all :P
17:09:03 <TrueBrain> but I never checked that out
17:09:29 <TrueBrain> but Hyper-V suggests strongly to me that it is virtualization, not containerization
17:09:36 <TrueBrain> (which are 2 completely different things)
17:09:44 <LordAro> mm
17:09:46 <TrueBrain> but, Microsoft can act like they jumped on the wagon and now support Docker or something
17:10:14 <TrueBrain> also, an instance that can run Windows Docker, cannot run Linux Dockers
17:10:20 <TrueBrain> which is pretty much annoying as fuck
17:10:45 <TrueBrain> I have a MSVC Docker which kinda works .. but ugh .. it is such shit
17:11:29 <TrueBrain> hmm, mingw zlib is available via debian . .but no other packages
17:11:32 <TrueBrain> such shame
17:12:52 <TrueBrain> running a Win10 in a VM with 3GB RAM for a few months shows a Low memory over time
17:12:53 <TrueBrain> lol
17:13:17 <TrueBrain> disk is completely full
17:13:19 <TrueBrain> lol
17:13:20 <TrueBrain> with what?! :D
17:15:00 <ZehMatt> genworld_gui.cpp(903): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
17:15:02 <ZehMatt> hm
17:15:08 <ZehMatt> that should be probably fixed
17:15:16 *** kais58 has joined #openttd
17:15:43 <peter1138> Why does everyone else get these compiler warnings that I don't see
17:16:01 <TrueBrain> because compiling with 'make 2>/dev/null' is a stupid idea to begin with
17:16:01 <ZehMatt> depends on what compiler you are using
17:16:11 <peter1138> TrueBrain :D
17:16:16 <TrueBrain> <3 :)
17:17:11 <ZehMatt> error LNK2001: unresolved external symbol __iob_func
17:17:19 <ZehMatt> but this seems not so nice
17:17:22 <Wolf01> Mmmh, no way to rebase from VS, or at least I don't seem to be able to do the same steps of CLI
17:18:16 <peter1138> VS is pretty basic
17:19:06 <Wolf01> It has rebase, but not as I need :P
17:19:36 <peter1138> I couldn't be arsed with faffing about setting up the library paths all the time, so use a Linux VM :p
17:19:50 <ZehMatt> no thanks
17:20:06 <Wolf01> I use a vcxproj.user file for that, I just copy it and done
17:20:33 <peter1138> Wolf01, I saw something about that but couldn't figure out how to set it up.
17:20:37 <peter1138> Please share :D
17:21:56 <Wolf01> https://paste.openttdcoop.org/ps8ymayxf
17:22:35 <TrueBrain> someone should check out how easy it is to use vspkg over openttd-useful, really :)
17:22:37 <Wolf01> I declared 2 env variables, but you can put the direct paths
17:23:40 <ZehMatt> there we go, compiled
17:25:36 <ZehMatt> ok
17:25:45 <ZehMatt> one suggestion
17:25:59 <ZehMatt> please do not make the intermediate directory the same as the output directory :s
17:26:36 <ZehMatt> having the output between all the object files isnt exactly structured imho
17:26:39 <TrueBrain> GitHub welcome PRs i all shapes and forms
17:26:45 <Wolf01> So, where did I pushed now?
17:26:54 <ZehMatt> i might as well just do that
17:27:03 <ZehMatt> but i guess i have to fix all the solutions
17:27:15 <frosch123> they are generated
17:27:22 <TrueBrain> not "fix", as that suggests broken. Change :)
17:27:34 <ZehMatt> well lets first define where it should go
17:27:34 <frosch123> so you need to change the generation script :)
17:27:50 <ZehMatt> my proposal would be $(SolutionDir)..\binaries\$(Platform)\$(Configuration)\
17:28:04 <ZehMatt> or $(SolutionDir)..\output\$(Platform)\$(Configuration)\
17:28:16 <TrueBrain> build directories should be called just that .. build. Never binaries. binaries is where resulting binaries are. Not in between.
17:28:23 <frosch123> afaik you have to put it into a specific path so it runs
17:28:32 <frosch123> otherwise it won't find language packs
17:28:53 <TrueBrain> on linux we put the resulting binary in bin/, where the lang/ are too
17:28:58 <ZehMatt> ah ok
17:29:03 <ZehMatt> so ill just use that then
17:29:24 <TrueBrain> hmm .. the moment you reboot a Windows machine, and it doesn't come back up .. surprised? Nope!
17:29:53 <Wolf01> I could say the same of my ubuntu installation
17:30:52 <ZehMatt> or mint
17:31:14 <ZehMatt> i doubt any OS is safe from never coming back :D
17:33:23 <TrueBrain> the difference is I know how to debug linux boot failures .. windows ... is more of a black box :D
17:36:41 <Wolf01> TrueBrain: I rebased from upstream/master got only 2 commits, committed to origin/master, github still showing 52 commits behind OpenTTD/master, what is happening?
17:36:56 <TrueBrain> did you do: git fetch upstream ?
17:37:06 <Wolf01> Heh
17:37:20 <Wolf01> Forgot to add that command
17:38:00 <ZehMatt> so yeah
17:38:06 <ZehMatt> i have to still fix all templates
17:38:09 <ZehMatt> not the script
17:38:21 <ZehMatt> took me a while to understand what its doing lol
17:39:23 <TrueBrain> again, 'fix' is not the right word for this context :)
17:39:42 <ZehMatt> from where i see it, its broken
17:39:44 <TrueBrain> 'fix' suggests broken; opinions cannot be broken :)
17:39:56 <TrueBrain> and then we strongly disagree :) It is a choice :)
17:39:58 <ZehMatt> linux is doing it fine, no?
17:40:07 <ZehMatt> puts it into bin
17:40:11 <TrueBrain> and you might dislike the choice .. but it is what was defeault for MSVC for years :)
17:40:27 <ZehMatt> ok then time to change/fix that
17:40:30 <TrueBrain> so I am not against change .. just make sure people understand its a change towards an opinion :)
17:40:43 <TrueBrain> not a change towards "correctness"
17:49:33 <TrueBrain> so .. the Windows VM's disk was full .. I shut it down, it wants to do an update .. I kill it, extend the disk size ... but it refuses to boot without doing to update ... ffs .. YOUR DISK IS FULL! You are not going to be able to do the update .......
17:50:02 <TrueBrain> but it insists on trying ..
17:54:03 <TrueBrain> Wolf01: did that fix it? :)
17:54:09 <Wolf01> YEs
17:54:14 <TrueBrain> cool :)
17:54:16 <Wolf01> Thx
17:54:48 <TrueBrain> possible might be good to write something on the wiki ? :)
18:05:52 <ZehMatt> eh
18:07:15 <ZehMatt> it complains about my commit message
18:09:01 <ZehMatt> jeez
18:13:33 <Wolf01> peter1138: I'm trying to split the NRT patch to just introduce RTIDs, but I find it difficult to split at the right point... to me it looks like all-or-nothing
18:14:01 <peter1138> Heh, I dunno if it's achievable, indeed.
18:14:56 *** supermop has quit IRC
18:15:50 <Wolf01> The core part is composed bt RTIDs in place of the RoadTypes enum, but it needs subtypes too, map array changes, a bit of accessors
18:16:28 <Wolf01> UI, newgrfs and conversion could come after
18:16:49 <Wolf01> But also the compatibility check part should be part of core
18:19:20 <frosch123> oh, i only have python 3.5 and i uses a 3.6 feature
18:19:28 <TrueBrain> oh-oh
18:19:29 <TrueBrain> RUN
18:19:31 <TrueBrain> :D
18:20:44 <frosch123> Wolf01: what if the inital RTID class only has the basetype member?
18:21:47 <Wolf01> Yep, I could try that
18:27:49 *** Flygon has quit IRC
18:31:26 *** Pikka has quit IRC
18:34:23 <TrueBrain> owh Windows owh Windows ... first you update my machine 3 times to 100% .. and now you only show blackness ..
18:37:13 <Wolf01> Give it time
18:37:47 <TrueBrain> owh, I HAVE ICONS!
18:39:16 *** andythenorth has joined #openttd
18:40:47 *** Cubey has joined #openttd
18:40:52 <andythenorth> o/
18:41:10 <peter1138> yes
18:46:42 <andythenorth> I broke webster
18:47:05 *** snail_UES__ has joined #openttd
18:50:01 *** snail_UES_ has quit IRC
18:50:02 *** snail_UES__ is now known as snail_UES_
18:51:18 <andythenorth> peter1138: not cycling? o_O
18:51:30 <peter1138> Already been out
18:53:40 <andythenorth> group liveries? o_O
18:53:49 <peter1138> Already fiddling
18:53:51 <peter1138> ;)
18:54:24 <andythenorth> it's quite 'interesting' at the moment
18:54:36 <peter1138> I'm changing the UI totally.
18:55:00 <peter1138> Already fixed things like moving vehicles between groups.
18:55:06 <peter1138> Although not RV chains yet.
18:57:01 *** glx has joined #openttd
18:57:01 *** ChanServ sets mode: +v glx
18:57:55 <TrueBrain> LordAro: and this is why I didnt want to try Docker on Windows ... such a horrible experience doing that on a VM :P
18:58:43 <TrueBrain> last updated .. May 2017
18:58:45 <TrueBrain> owh boy
18:58:59 <TrueBrain> lets play: how many times does it need to reboot before all updates are installed!
18:59:32 <TrueBrain> if you take a shot every time it reboots .. you will be drunk .. well, no, not really, as it takes such an amount of time between the cycles, you can get pregnant and have the baby before it is done ...
19:00:32 <frosch123> don't drink during pregnancy
19:00:58 <TrueBrain> pffff, don't tell me I cannot drink when my wife is pregnant!
19:01:14 <frosch123> "eating for 2" vs "drinking for 3" :)
19:01:51 <LordAro> TrueBrain: yay
19:12:51 *** snail_UES_ has quit IRC
19:17:52 <Wolf01> avail_roadtypes = (RoadTypes)c->avail_roadtypes | ROADTYPES_ROAD; // road is available for always for everybody
19:17:52 <Wolf01> in
19:17:52 <Wolf01> return HasBit(c->avail_roadtypes | ROADTYPES_ROAD, rtid.basetype); // road is available for always for everybody
19:17:52 <Wolf01> is right?
19:32:41 <TrueBrain> so Windows updater is stuck at: Preparing to install updates 0%
19:32:45 <TrueBrain> :(
19:32:57 <glx> just slow not stuck
19:33:06 <TrueBrain> its saying that for 30 minutes ..
19:33:12 <TrueBrain> but I guess you are right
19:33:13 <glx> probably downloading stuff, or trying to
19:33:16 <TrueBrain> just very very very very very slow
19:33:21 <TrueBrain> no, downloading went prtty okay
19:33:25 <TrueBrain> it did that before :)
19:33:45 <TrueBrain> its using 100% CPU .. so it must be doing something :D
19:35:19 <frosch123> mining :)
19:35:34 <TrueBrain> haha, infecting the Windows Updater with a Cryptominer :D
19:35:40 <glx> I remember doing 1709 upgrade 2 times, just because the first time I shutdown the computer at the "end" instead of rebooting
19:35:40 <TrueBrain> that would really work ... nobody would notice it for a long time :P
19:36:07 <glx> oh and the first time it took 14h to do it, 12h the second time
19:36:50 <glx> but I was using the computer normally during the upgrade so it could have slowed things
19:37:51 <glx> and yes shutdown and restart later is not a reboot for windows 10 :)
19:41:07 <TrueBrain> OEH OEH OEH OEH!
19:41:08 <TrueBrain> 5%
19:41:49 <Rubidium> TrueBrain: it's probably just running the virus scanner and Windows defender on all the stuff it just downloaded ;)
19:42:10 <TrueBrain> I doubt you installed a virus scanner on that machine :P
19:42:28 <glx> windows defender should be enough for it
19:43:15 <Rubidium> TrueBrain: Windows already installs a virus scanner but allows you to pay to install an unsafer one ;)
19:43:27 <TrueBrain> I know; not what I said :)
19:43:31 <TrueBrain> you created this VM
19:43:35 <TrueBrain> and I doubt you did more than needed :D
19:43:44 <glx> oh there are free alternatives too
19:44:04 <Rubidium> TrueBrain: exactly, I didn't uninstall it
19:44:13 <glx> I think you can't
19:44:34 <glx> as it's deeply integrated in the system even if disabled
19:45:11 <glx> it's like uninstalling IE, it just hides it
19:48:45 <Wolf01> Mmmh, since when VS finds references on comments O_o
19:49:16 <glx> it even has github integration :)
20:00:31 <TrueBrain> so when it was done installing, there was an error, and it is downloading again .. lol ? :(
20:01:05 <TrueBrain> I should just click the window away and check back in a few hours I guess :D
20:05:13 *** Thedarkb has joined #openttd
20:14:52 <andythenorth> hmm
20:15:03 <andythenorth> actually realistic liveries are a disaster at 1x zoom
20:15:10 * andythenorth should sack this one I'm drawing
20:16:49 <peter1138> Hmm, can scrollbars scroll multiple widget... oh, it's a single matrix anyway. DUH.
20:17:23 <peter1138> Holy shit, that bit actually works.
20:20:48 <peter1138> https://imgur.com/a/OB0T2zw
20:21:51 <peter1138> > Tesco
20:29:01 <TrueBrain> bug #6742 .. what do you guys think .. bug or not? :D
20:29:35 <TrueBrain> well, something is a bug .. either that you can build it, or that you need CTRL for it :D
20:30:05 <frosch123> yes, that inconsistency is known, noone made a pr :)
20:30:14 <TrueBrain> but what is correct? :)
20:30:28 <frosch123> competitor stations should be ignored
20:31:38 <TrueBrain> tnx :)
20:31:45 <TrueBrain> good-first-issue it is :)
20:32:07 <LordAro> could've sworn i've aeen #6742 as a not-a-bug before
20:32:36 <TrueBrain> *shrug* I havent seen it during cleanup I think
20:33:32 <TrueBrain> Windows still hasnt installed the first 7 patches ...
20:33:44 <TrueBrain> what a horrible experience :(
20:33:46 <frosch123> i found #4185 on my list :)
20:33:56 <Wolf01> Mmmh, I think I need to implement also RoadTypeIdentifiers <- (plural), with all the pack/unpack functions, or make loops in place of Roadtypes
20:34:43 <Wolf01> But now, /me -> pub
20:34:53 <TrueBrain> seems they went another way in that bug report .. no clue why they did so difficult about it .. but yup, 8 year old bug :)
20:34:58 <TrueBrain> enjoy Wolf01
20:49:45 *** Wacko1976 has quit IRC
20:57:11 <TrueBrain> I wonder why Windows updates are so slow .. there is no disk IO, there is no memory IO, there is no CPU ..
20:57:21 <TrueBrain> is it processing my update in the cloud or something?
20:57:29 <glx> it's windows, don't ask ;)
20:57:29 <TrueBrain> 23% ...... ugh
20:58:11 <TrueBrain> at least it is the latest update it is upgrading too ..
20:58:21 <TrueBrain> just so I can find out of Hyper-V works ... quiet curious if it does
20:58:24 <TrueBrain> and how fast/slow :P
21:02:40 *** Gja has joined #openttd
21:14:12 <michi_cc> TrueBrain: The null-pointer OSX warning is bogus (at least the one I know about :) And the only way to get rid of the Gestalt warning is by strictly compiling 10.10+ only.
21:28:07 <andythenorth> engine type A | type B | none of the above? http://dev.openttdcoop.org/attachments/download/8990/horse_ultra_shoebox.png
21:38:01 <andythenorth> ok Type B
21:38:09 <FLHerne> TBH, I can't see the difference :P
21:38:20 <FLHerne> Oh, pantos?
21:40:54 <andythenorth> cab window + roof
21:41:00 *** supermop has joined #openttd
21:41:01 <andythenorth> one looks longer and more brute
21:41:18 <FLHerne> Ah
21:41:20 <andythenorth> one looks smaller and dainty
21:41:23 <FLHerne> B is better
21:41:29 <andythenorth> yup
21:45:25 <TrueBrain> michi_cc: it says that the Gestalt is deprecated in 10.8 .. I assume that means they added somethat better, not?
21:45:37 <TrueBrain> owh, Windows update is at 25%! 2% in ..... 1 hour ....
21:47:22 <michi_cc> TrueBrain: With 10.10 :p
21:47:32 <andythenorth> I should have done this livery eh :P
21:47:33 <andythenorth> https://www.flickr.com/photos/jmupton2000/11669126135
21:48:03 <TrueBrain> michi_cc: that is silly ... but it is OSX .. so meh
21:48:25 <TrueBrain> I dont see an issue targetting 10.10+ tbh
21:48:43 <andythenorth> :o I did do this livery, by accident http://www.ekmpowershop4.com/ekmps/shops/morrismodels/images/hornby-r3045-class-73-electro-diesel-loco-gatwick-express-73202-david-berry-3473-p.jpg
21:48:48 <TrueBrain> 10.9 or 10.10 .. doubt it makes a difference
21:49:05 *** supermop has quit IRC
21:52:18 <FLHerne> andythenorth: Oh, I assumed it was https://farm8.static.flickr.com/7573/16054805671_9799452503_b.jpg
21:52:23 <LordAro> michi_cc: the warning implies that thr NS stuff was already added
21:52:27 <LordAro> is that not the case?
21:52:31 <TrueBrain> lets see ... internet says 10.8 is 1.6% and 10.9 is 4% ... 10.10 is 11% and up
21:52:38 <andythenorth> FLHerne: to be strictly accurate, it was
21:52:39 <FLHerne> (in which case type A is technically more accurate, but meh)
21:52:44 <TrueBrain> so < 5% ..
21:55:19 <michi_cc> LordAro: Apple has deprecated lots of stuff without a replacement... Apparently somebody noticed with 10.10 that version detection is somewhat important.
21:55:41 <andythenorth> Apple's OS X shoes are currently clown shaped
21:56:10 <andythenorth> for 10 years choosing lock-in at least got a high quality OS
21:56:16 <andythenorth> now...just lock-in
21:56:23 <andythenorth> and soon, proprietary CPUs
21:56:49 <TrueBrain> I think andythenorth is really sour about 10.13 :P
21:57:03 <andythenorth> I am sour about macs that cost 2x what they used to, and don't work
21:57:13 <andythenorth> the root password vuln was awful
21:57:29 *** supermop has joined #openttd
21:57:36 <glx> it was fun to follow on twitter ;)
21:58:44 <TrueBrain> still at 25% :(
21:59:09 <glx> I told you, took 12h to do on my machine
21:59:11 <TrueBrain> incredible ...
21:59:17 <TrueBrain> how bad can you write software :(
21:59:28 <TrueBrain> it is really not doing anything .. the machine is sitting near idle
21:59:43 <TrueBrain> like they dont give a fuck, as it has been like that for ever ..
21:59:48 <glx> and the important step is reboot at the end, no shutdown :)
22:00:14 <TrueBrain> I remember when I worked for a company that hosted Windows Server
22:00:19 <TrueBrain> the monthly update round was HORRIBLE
22:00:26 <TrueBrain> was clicking it at 0900 in the morning
22:00:30 <TrueBrain> and HOPING it was done around 2200
22:00:37 <TrueBrain> and that was the monthly update :(
22:00:54 <TrueBrain> back then it just too for ever to do DRM stuff, if I understood it correctly
22:00:59 <andythenorth> OS X updates have bricked my macs before
22:01:21 <andythenorth> and they're getting less optional :P
22:01:21 * andythenorth is boring now
22:01:28 <TrueBrain> and I wouldnt mind if updates are slow
22:01:32 <TrueBrain> but it is stuck at 25% for over an hour
22:01:35 <TrueBrain> that is just ... BAD design
22:01:49 <TrueBrain> owh, and it is only PREPARING to install
22:01:51 <TrueBrain> it is not even installing
22:01:54 <TrueBrain> dunno what is worse
22:01:58 <TrueBrain> well, yelling at it helped: 30% now
22:02:19 <glx> the more you look at it, the slower it goes
22:02:29 <TrueBrain> I just proofed you wrong :P
22:02:39 <TrueBrain> while watching a tv serie it did 0% .. while yelling at it, it did 5%!
22:03:47 <frosch123> will anyone shout at me if i use sqlalchemy in bananas2?
22:04:25 <TrueBrain> I am sure someone will; but we will just mute that person
22:04:28 <glx> try MSSQL ;)
22:05:28 <frosch123> i learned various fancy terms today :)
22:05:41 <TrueBrain> cloud?
22:05:43 <TrueBrain> machine learning?
22:05:48 <TrueBrain> private cloud?
22:06:11 <frosch123> nah, older... "active record" and "data mapper" patterns
22:08:27 <TrueBrain> and how did that make you feel?
22:08:29 *** Zexaron has joined #openttd
22:11:00 <TrueBrain> update went from 33% to 98% .. LOL
22:11:19 <frosch123> they confused me. the former seems more popular, but the latter seems way better :p
22:12:33 <TrueBrain> first is better named ORM
22:12:34 <TrueBrain> the second is weird
22:12:48 <TrueBrain> but if you pick SQLAlchemy, you will be using the first anyway :)
22:12:55 <LordAro> frosch123: i could object...
22:13:05 <TrueBrain> @kick LordAro muted
22:13:05 *** LordAro was kicked by DorpsGek (muted)
22:13:11 <TrueBrain> told you I would mute them :)
22:13:13 <frosch123> TrueBrain: both are ORM, and SQLAlchemy used the second
22:13:17 *** LordAro has joined #openttd
22:13:20 <LordAro> so rude
22:13:22 *** Thedarkb has quit IRC
22:13:24 <TrueBrain> you were warned :P
22:13:28 <LordAro> i said "could"
22:13:35 <TrueBrain> frosch123: SQLAlchemy has 2 ways to access the DB, which is rather annoying
22:13:42 <TrueBrain> if you use the "latest" and advised method
22:13:50 <TrueBrain> I am sure you will be fine :)
22:13:57 <TrueBrain> if you use the old method .. you are in for some though times
22:14:02 <LordAro> my only experience of it is being locked to some weird prerelease version, as the program made use of a feature that was removed
22:14:06 <TrueBrain> (it works fine when you start out .. but soon hit a few walls :P)
22:15:39 <TrueBrain> (and their new method uses their old method in the background ... just to make matters worse)
22:15:45 <TrueBrain> honestly, I never found a good ORM in Python
22:15:50 <TrueBrain> Django ORM is pretty nifty
22:15:56 <TrueBrain> but it comes with so many additional shit .....
22:17:17 <TrueBrain> few things about SQLAlchemy that might be useful: don't think you understand the engine and/or session, and change the defaults; you don't understand, and you will make matters worse :P
22:17:40 <TrueBrain> use declarative bases .. don't use Table()
22:17:56 <TrueBrain> use a session; don't worry about multithreading
22:18:39 <TrueBrain> define relations over their PK; and a PK should be an auto-incremental int .. not some combination of other shit :P
22:18:50 <TrueBrain> (but that is generic database design :P)
22:19:18 <TrueBrain> don't think you can write better queries; shooting yourself in the foot is a nice thing to do from time to time, but not a long time survival plan :P
22:19:19 <frosch123> yay, i used auto-increment int :)
22:19:50 <TrueBrain> believe that was the more important ones I had people doing wrong :P
22:20:03 <TrueBrain> especially the configuration of engine/session ..... seen so many bugs because of that :P
22:20:33 <TrueBrain> write the ORM, not the database you picked, basically :D
22:21:14 <TrueBrain> tnx michi_cc :D
22:21:48 <TrueBrain> ORMs are these things ........ people can fuck it up so badly .... :P
22:22:17 <TrueBrain> I like the SQLAlchemy getting started :) It is nice :)
22:22:26 <frosch123> ok, found what you meant with old/latest. seems like i only looked at "latest" examples so far
22:22:35 <TrueBrain> just keep doing that
22:22:38 <TrueBrain> do not look into Table
22:22:39 <TrueBrain> STAY AWAY
22:22:41 <TrueBrain> :P
22:22:55 <frosch123> i would not have found them, if you hadn't said :p
22:23:07 <TrueBrain> its in the getting started, first section even :)
22:23:18 <TrueBrain> and a lot of people go like: OWH! But I dont need the ORM! I can just make a Table and do it ALL BY MYSELF
22:23:27 <TrueBrain> dont be that guy (tm)
22:23:47 <TrueBrain> owh, and please, PLEASE, don't delete entries :)
22:23:48 <frosch123> well, i came from the other direction
22:23:50 <TrueBrain> mark them as deleted
22:23:59 <frosch123> i wanted an ORM, and found sqlalchemy looking best
22:24:06 <TrueBrain> owh, and a bit of GDRP for BaNaNaS wouldnt hurt btw
22:24:10 <TrueBrain> what do we store why, and for how long
22:24:27 <TrueBrain> and if a user wants his information removed (don't delete, anonymous), how to do that best
22:24:30 <frosch123> yes, partly written
22:24:43 <frosch123> also who can see and delete stuff
22:24:55 <TrueBrain> nice :)
22:25:02 <TrueBrain> design with security in mind :)
22:25:10 <TrueBrain> or rather these days: design with privacy in mind :)
22:25:46 <frosch123> well, writing cruds is boring, so i try to make interesting by trying by best :p
22:26:37 <frosch123> got the plantuml working to auto-generate docs
22:26:49 <frosch123> pretty ugly colors by default, but i guess i do not care :p
22:27:03 *** Maraxus has joined #openttd
22:28:02 <TrueBrain> what is cool btw for BaNaNaS2, if you like, is make the webserver backend a solid API defined in something like Swagger
22:28:16 <TrueBrain> so anyone can make a frontend for it
22:28:29 <TrueBrain> and of course make a default HTML frontend, but allow others to make any kind of frontend
22:28:49 <frosch123> i went for a 3-layer architecture
22:28:59 <frosch123> layers 1 and 2 wouldn't know anything about web or html
22:29:07 <TrueBrain> there are many ways to create a 3-layer system .. what layers do you consider the 3 :D
22:29:21 <TrueBrain> (so many people have so many opinions about this ...)
22:29:40 <frosch123> 1 is the ORM. 2 does queries, modifications and permission checks. 3 does interfaces
22:30:12 <TrueBrain> 3 layer normally means (or classical): presentation (HTML), business layering (API-ish), and data layering (ORM shit)
22:30:26 <frosch123> 2 also contains the bundling and bananas-specific content repackaging
22:30:40 <frosch123> yes, i mean the same 3 layers
22:30:43 <TrueBrain> 1 <-> 2 is over HTTP via, for example, JSON; 2 <-> 3 is normally internal calls via a well defined API
22:31:10 <TrueBrain> data layer only knows about storing, but doesnt understand at all what the connections are
22:31:18 <TrueBrain> business doesnt care how things are stored, just knows what to do in what order :P
22:31:20 <TrueBrain> k k :)
22:31:42 <frosch123> oh, i only have them internally in the packages, no external communication.
22:31:50 <TrueBrain> (strictly seen the API is in a presentation layer to, above the business layer, but this is often an unneeded abstraction)
22:32:16 <frosch123> but i want to content_server and possibly musad to be alternative level 3
22:32:44 <TrueBrain> that is not really possible; content_server implements the datalayer and the business layer currencly :)
22:32:46 <TrueBrain> as does musad
22:33:09 <TrueBrain> musa does the presentation layer
22:33:13 <TrueBrain> and does the OpenTTD client
22:33:18 <frosch123> i don't want to use them 1:1, but rather implement similar apis
22:33:31 <TrueBrain> ah, so the API facing the presentation layer, basically
22:33:45 <TrueBrain> (API doesnt have to be an REST API , just to be clear; just any defined interface)
22:33:57 *** Gja has quit IRC
22:34:06 <frosch123> my content_server would be a compatbiility layer from current bananas protocol to bananas2 layer2
22:34:07 <TrueBrain> Swagger really helped me define the API towards the web last time I did this btw
22:34:19 <TrueBrain> so a proxy on top of the business layer
22:34:21 <TrueBrain> good idea :)
22:34:51 <TrueBrain> so you are not really doing the content_server and musad, but more a proxy layer for the OpenTTD client and musa?
22:35:31 <TrueBrain> the protocol OpenTTD client speaks is very primitive, but that will be somewhat of a challange .. misses a bit of documentation ... "documented by code"
22:35:36 <TrueBrain> but I am sure we can help out with that :)
22:36:04 *** sla_ro|master has quit IRC
22:36:10 <TrueBrain> I am not sure writing a musa proxy is worth the effort .. but if we can, why not
22:36:14 <frosch123> i have an old vm with a content server, i can figure it out by trial and error if nothing else helps :p
22:36:21 <TrueBrain> you have the source
22:36:25 <TrueBrain> might be easier :D
22:36:47 <TrueBrain> well, the source is still on SVN, but you can access that :P
22:36:57 <frosch123> and yes, not sure whether musa makes sense
22:37:24 <frosch123> i want to add some "staging" state to bananas2
22:37:28 <TrueBrain> if you want opinions on your design or reviews of code etc, just yell :P
22:37:31 <TrueBrain> staging?
22:37:45 <frosch123> which allows you to upload packages in parts, and only when you are done you can commit it to public
22:37:57 <peter1138> bananas2, eh?
22:38:02 <TrueBrain> yes; I would assume it would have that for sure :D
22:38:11 <TrueBrain> everything-or-nothing sucks
22:38:40 <TrueBrain> I would assumed "published" is just a state something is in
22:38:50 <TrueBrain> others being "draft" or "archived" or "deleted/hidden"
22:39:05 <TrueBrain> (by no accident, what you see also in things like email applications etc :D)
22:39:05 <frosch123> pretty much the 4 states i have :p
22:39:33 <TrueBrain> what might be nice, if you can "publish at this date"; but that is gold-plating, a nice-to-have
22:39:49 <frosch123> but now... the world's most popular api tooling... should i really read that?
22:40:14 <TrueBrain> many websites publish their API via it
22:40:39 <TrueBrain> RAML is a good alternative
22:40:55 <frosch123> the other day i tried to read the documentation of something written by fbook. it was all management-speak, and you had to dig very deep to find any information... source seemed to be undocumented
22:41:43 <TrueBrain> https://editor.swagger.io/ and get rocking
22:42:02 <TrueBrain> and remember: if you cannot define it in a tool like this, YOU are doing it wrong; not the tool :D
22:42:17 <TrueBrain> (that is why I like these tools .. it keeps me from doing stupid shit)
22:42:29 <frosch123> they are on freenode
22:42:32 <TrueBrain> I once rewrote the OpenTTD website via RAML in API
22:42:55 <TrueBrain> sadly, it meant it required Javascript .. which was a bridge to far for me :P
22:42:55 <peter1138> Hmm, blank pagae.
22:42:57 <peter1138> -a
22:43:16 <TrueBrain> what is cool and silly about Swagger .. you can generate client and server code from it :P
22:43:19 <frosch123> it needs to load some javascript libraries :)
22:43:59 *** Gja has joined #openttd
22:44:01 <TrueBrain> but this only defines your interface between the presentation layer and the business layer
22:44:01 <frosch123> then you get a page which is mostly black on the left, and mostly white on the right
22:44:17 <frosch123> maybe you can get some 3d picture out of it
22:44:18 <TrueBrain> in Python it is hard to define a good strict-separated interface between business and data
22:44:33 <TrueBrain> euh .. if you load that page properly, there is an example in there
22:44:40 <TrueBrain> a full API about pets
22:44:50 <frosch123> yes, there is text on top of those colors :p
22:45:04 <TrueBrain> do I want to know what kind of shitty browsers you use? :P
22:45:30 <peter1138> One that has a plugin that distrusts javascript by default :p
22:45:35 <frosch123> don't worry, it looks like it is supposed to, i just made fun of the design
22:45:47 <TrueBrain> anyway, there are a few libraries that help you separate in Python .. but they are all shit. At work we wrote our own .. just to give an indication of shitty-ness
22:47:18 <TrueBrain> and for BaNaNaS2, Python3.6 can be very valuable, if you hadnt notice
22:47:23 <TrueBrain> co-routines can really help out
22:47:30 <TrueBrain> especially as some jobs will take some time
22:47:38 <TrueBrain> (and are I/O bound)
22:47:54 <TrueBrain> just remember co-routines has nothing to do with multithreading if things are CPU-bound :D
22:48:52 <TrueBrain> and in HTTP API design, possibly think about how you want to do long-polls. There are several solutions for that .. but there will be some time between someone posting their new file, and it being processed .. currently it keeps the HTTP connection open, which is the worst way of solving it :D
22:49:06 <TrueBrain> common is to give a ticket back, which you can poll on another URL to get the status :)
22:49:37 <TrueBrain> and just to throw a lot of possibilities your way: authorization and authentication, I have a lot of good experiences with JWT
22:49:49 <TrueBrain> it can be used as the bearer token in the OAuth2 mechanism
22:50:06 <TrueBrain> but if not a JWT, an API key would be really good :)
22:50:13 <TrueBrain> (over keeping username/password)
22:50:28 <frosch123> it will be some weeks until i hit that point :p
22:51:05 <TrueBrain> just don't go over authentication and authorization too quick; a session cookie is very out-dated concept :D
22:52:13 <frosch123> no worries, i have no experience with this :p i try to only look at new docs
22:54:45 <peter1138> Yeah, API keys are good. Allows you to implement 2FA for the authentication side.
22:55:04 <TrueBrain> allows you to trust apps without giving them all your keys :P
22:55:32 <peter1138> Yeah. You can have a key with limited rights.
22:55:36 <TrueBrain> I so hate when I download a 3rd party app which looks awesome ... and then asks for my username/password :(
22:55:45 <TrueBrain> the limitation of the key is not my worry :)
22:56:01 <TrueBrain> I just want to be able to revoke that one app when ever I feel like it .. and see a history page what he did ...
22:56:04 <peter1138> Eh, I mean implementation side :p
22:56:36 <TrueBrain> I rarely care that apps keep me logged in .. just as long as I can boot them on a minute notice :)
22:56:48 <TrueBrain> but we will get there when we get there :)
22:56:54 <TrueBrain> reminds me, we should revamp the Master Server too ..
22:57:02 <TrueBrain> are there any new requirements for him?
22:58:10 <TrueBrain> guess it should understand patchpacks a bit better .. in the version string is a bit childish
22:58:50 <frosch123> TrueBrain: main requirement is being able to transmit more data
22:59:02 <frosch123> currently we are limited to a single udp packet
22:59:11 <TrueBrain> yup
22:59:19 <frosch123> but people want to transmit a lot more, like more add-on information, all game settings, ...
22:59:21 <TrueBrain> hard to overcome in the current classical setup
22:59:32 <TrueBrain> do we mind if we add openssl to OpenTTD?
22:59:37 <TrueBrain> (mainly for TLS connections)
22:59:47 <frosch123> also, we definitely need to get rid of all the mysql-flavored sql functions
22:59:49 <TrueBrain> (well, mainly for HTTPS)
23:00:34 <TrueBrain> https is also related to BaNaNaS .. optiomal, I would like to switch openttd.org to https only
23:00:36 <TrueBrain> currently we can't
23:00:55 <TrueBrain> I see the same happening for download mirrors .. more and more want to be https only
23:01:01 <frosch123> not sure whether central user authentication via master server is a good or bad feature
23:01:25 <frosch123> but it was discussed before
23:01:32 <TrueBrain> I am strongly considering publishing a proposal for that :P
23:01:47 <frosch123> well, currently there are various competing competitive servers
23:02:01 <TrueBrain> based on a draft from 2013 .. lol ...
23:02:09 <frosch123> some of them seem to clearly not like each other
23:02:12 <TrueBrain> but being able to add OpenSSL to OpenTTD is pretty important for that
23:02:37 <TrueBrain> what I would suggest, is to have OpenTTD by default work with our AS (Authentication Server)
23:02:44 <TrueBrain> but allow patchpacks to create their own
23:02:49 <TrueBrain> link the MS to the AS
23:02:58 <TrueBrain> and allow our website to list any MS we whitelist
23:03:16 <TrueBrain> (possibly by them uploading their patchpack to BaNaNaS2)
23:04:01 <frosch123> do you mean multiple AS, or multiple MS?
23:04:04 <TrueBrain> both
23:04:13 <frosch123> what's the point of multiple MS?
23:04:33 <TrueBrain> bit tomato tomato honestly; we can always make it so we host those multiple MS
23:04:43 <TrueBrain> it is just easier to code if there is a one-on-one relation between an AS and MS
23:04:46 <TrueBrain> but those are details :)
23:04:52 <TrueBrain> easier to make 1 from n, than n from 1 :)
23:05:15 <TrueBrain> hell, we can even make it so we host alternatives ASes :)
23:05:25 <TrueBrain> allow people to create their own "domain" so to say :P
23:05:28 <TrueBrain> sky is the limit :D
23:05:40 <TrueBrain> but, OpenSSL .. yay or nay? :)
23:05:48 <frosch123> yay :)
23:06:06 *** supermop has quit IRC
23:06:16 <TrueBrain> as wit https capabilities ... things get easier
23:06:20 <TrueBrain> no custom protocols and shit :P
23:06:24 <frosch123> also, should bananas2 have authentication domains? like "openttd ldap" and "github ldap" (do they use ldap"?
23:06:37 <frosch123> or openid or whatever
23:06:43 <TrueBrain> github has "apps" which use OAuth2
23:07:12 <TrueBrain> and I do not know .. sounds like a good idea .. but somehow I am also tempted to say: lets move it to GitHub
23:07:18 <frosch123> anyway, it feels weird to me that you need different accounts for bug tracker, wiki, bananas
23:07:26 <TrueBrain> yes, exactly
23:07:33 *** Maraxus has quit IRC
23:08:20 <TrueBrain> so I would prefer if you at least support GitHub .. and for compatability having OpenTTD LDAP might be good
23:08:39 <TrueBrain> so yeah, multiple domains :D
23:08:53 <TrueBrain> github/TrueBrain vs OpenTTD/TrueBrain :D
23:09:05 <TrueBrain> possibly allow people to link them to a single account :)
23:09:22 <TrueBrain> guess we can do the same with wiki
23:09:23 <frosch123> i allow multiple owners for projects
23:09:36 <TrueBrain> yes; but that is not what I meant :D
23:09:37 <frosch123> so both tbs can own a project and kick each other out
23:09:53 <TrueBrain> I like what GitHub did .. I can add multiple email address to my account
23:09:56 <TrueBrain> they all identify me
23:10:15 <frosch123> yes, i think i have 3 :p
23:10:19 <TrueBrain> so if you logon to BaNaNaS2 for the first time, it create an account .. would be nice if you can link other authentications to that same account
23:10:40 <TrueBrain> (that also splits the "user" from the "authentication" part, which is very good :D)
23:10:43 <frosch123> ok, one relation more :)
23:10:56 <TrueBrain> and if that all works out, we can consider dropping our own SSO, for example :P
23:11:16 <TrueBrain> but that ist down the road
23:11:30 <TrueBrain> okay .. I will draft some AS/MS stuff soon-ish
23:11:43 *** FLHerne has quit IRC
23:11:46 <TrueBrain> how I see it now, it will also be a Python app, and have many things in common with BaNaNaS2
23:12:00 <TrueBrain> also solves the UDP issue etc
23:12:07 <TrueBrain> streaming JSON! :D
23:12:15 <TrueBrain> (yes, that is posible)
23:12:48 <frosch123> yes, i would hope MS2 would just stream some JSON between any versions of ottd
23:13:05 <TrueBrain> where did OpenTTD Server go to? :o
23:13:22 <TrueBrain> lost connectivity with it ... :P
23:13:32 <TrueBrain> website still works ...
23:13:34 <TrueBrain> weird ..
23:13:46 <TrueBrain> I hope it is not the Windows update I am running onit :D
23:13:50 <frosch123> secure also works for me
23:14:00 <TrueBrain> ah, my connection is back .. weeiirrrrdddd
23:14:40 <TrueBrain> yeah .. and I think the same happens as with BaNaNaS2 .. MS2 will talk JSON, but has a proxy to talk the old protocol :P
23:14:59 <TrueBrain> we just have to make sure it doesnt get too big
23:15:14 <TrueBrain> I guess that also means we can add a rating system for servers or something
23:15:20 <TrueBrain> similar to BaNaNaS2 ..
23:15:24 <frosch123> are there schema definitions for json?
23:15:26 <TrueBrain> so many similarities between the two :)
23:15:32 <TrueBrain> there are ....... but you dont want to :)
23:15:40 <TrueBrain> basically, define your API
23:15:47 <TrueBrain> and only consider JSON a serialization method
23:16:03 <TrueBrain> JSON is not part of the API, basically .. just a means to transmit the data
23:16:10 *** Gja has quit IRC
23:16:20 <TrueBrain> as JSON Schema is REALLY terrible :(
23:16:21 *** FLHerne has joined #openttd
23:16:27 <frosch123> well, i wonder whether we get issues with people can transfer any data via master server
23:16:40 <frosch123> or whether it should check the content beyond json syntax
23:16:41 <TrueBrain> no, you can validate via the API definition just fine :)
23:17:03 <TrueBrain> so basically you convert the JSON to an internal definition, which should match the API
23:17:25 <TrueBrain> I personally like the Data Transfer Object pattern for it
23:17:32 <frosch123> i mean stuff like: some ottd fork transmitting ladder/highscore information from server to client
23:17:41 <frosch123> which regular ottd does not know about
23:17:46 <TrueBrain> ah; so chunking
23:17:56 <TrueBrain> I think they should be on different endpoints tbh
23:18:19 <TrueBrain> and if a server supports an endpoint a client is not using, no problem
23:18:23 <frosch123> but i am unsure whether that has any security implications
23:18:30 <TrueBrain> if a server is not supporting one a client expets .. 404 :)
23:18:45 <TrueBrain> if done right, there isnt any security issue :)
23:18:50 <TrueBrain> but ladder/highscore is a good point
23:18:57 <TrueBrain> as that can be per-server, but also AS-wide
23:19:02 <TrueBrain> or MS-wide
23:19:06 <TrueBrain> MS/AS wide? :)
23:19:31 <TrueBrain> I would like to have something like GameScripts running on MS/AS .. a "challange" mode
23:19:38 <TrueBrain> where you have to go through different "levels"
23:19:46 <TrueBrain> dynamically spin-up servers locked for that user
23:19:53 <frosch123> well, i won't work on competitive stuff, but i am fine if other can add stuff if they want to
23:19:54 <TrueBrain> I have batshit crazy ideas :D
23:20:14 <TrueBrain> any reason for that? Or just to draw the line somewhere?
23:20:30 <TrueBrain> and like GameScript .. it can be used in tons of ways .. but it is meant to add a challenge :)
23:20:56 <frosch123> i just have no interest to play ottd competitive,
23:20:59 <TrueBrain> hmm ... would also allow MMO-like domains ...
23:21:25 <TrueBrain> what I used to try, back in 2005, was to get .. I believe I called them "ports" in multiplayer
23:21:32 <TrueBrain> what I really disliked about coop, that others could spend my money
23:21:36 <TrueBrain> I just wanted to share their tracks
23:21:44 <TrueBrain> so you could place ports, where trains could go over tracks of other players
23:21:45 <frosch123> also, i considered exploring level-like scenarios, but did not come up with a single idea that i would like to play :p
23:21:47 <TrueBrain> but you paid for that
23:21:54 <frosch123> i guess i am more of a sandbox player
23:22:14 *** rocky1138 has quit IRC
23:22:16 <TrueBrain> I like the cooperative competitor stuff :)
23:22:28 <TrueBrain> like head-to-head ..together yet alone :)
23:22:36 <TrueBrain> just my mistrust of others :D
23:22:46 <peter1138> JSON savegame ? ;p
23:22:53 <TrueBrain> go for it
23:22:57 <frosch123> i have hopes that peters livery branch removes the demand for infra sharing :)
23:23:08 <TrueBrain> I still hav eno clue what all that shit is
23:23:12 <TrueBrain> I keep reading livery here, livery there
23:23:13 <peter1138> frosch123, uh... very unlikely.
23:23:16 <TrueBrain> yet nothing I can .. understand :P
23:23:29 <peter1138> TrueBrain, s/livery/colours/
23:23:31 <frosch123> from my point of view the "subsidiaries patch" in miniin was only about giving parts of the fleet different colors
23:23:38 <andythenorth> TrueBrain: there are 16 colours, and they can be combined :P
23:23:53 <TrueBrain> andythenorth / peter1138: not helping .. at all
23:23:58 <frosch123> while the "different companies" aspecs what just pointless layers on top of it
23:23:59 <andythenorth> oops I crashed it again
23:24:12 <TrueBrain> frosch123: yup
23:24:20 <TrueBrain> I never understood that patch
23:24:25 <TrueBrain> (or why people wanted to play it)
23:24:38 <TrueBrain> some form of segmentation, or something
23:24:40 <peter1138> infra sharing is about co-op play but still running your own company
23:24:55 <TrueBrain> infra sharing I fully understand .. but only in a multiplayer context
23:24:57 <frosch123> just give each person their own vehicle group, done
23:25:01 <TrueBrain> subsidiaries patch was that for single player ...
23:25:22 <TrueBrain> frosch123: not that easy .. for example, I love to make big mainlines, and I hate to fiddle with passengers
23:25:30 <TrueBrain> a friend of mine loves to fiddle with passengers, but hate mainlines
23:25:37 <TrueBrain> so I like to ONLY share my mainline with him
23:25:43 <TrueBrain> keep away from my coalmine line!
23:25:57 <TrueBrain> that is shit I like :D
23:26:10 <TrueBrain> but I still am not 1 bit closer to what the fuck liveries shit refers to
23:26:13 <TrueBrain> reffffffers
23:26:14 <frosch123> did any infra sharing patch ever open only parts of the network?
23:26:15 <TrueBrain> fucking HTTP headers
23:26:21 <TrueBrain> frosch123: mine did :) "ports"
23:26:34 <TrueBrain> even had GUIs, "being late" penalties, etc
23:26:55 <andythenorth> I tried infrasharing in JGR
23:27:02 <andythenorth> it's totally weird, and really hard to use
23:27:16 <TrueBrain> well, I wrote 3 versions in total, but ports was most natural
23:27:23 <TrueBrain> places where 2 network touched
23:27:42 <TrueBrain> just 2 big issues back then: PF was shit (no YAPF)
23:27:46 <FLHerne> The problem with that version is the lack of control
23:27:55 <TrueBrain> and some person was against multiplayer gameplay patches
23:28:10 <TrueBrain> back in 2004 .. lol .. that was near impossible to get in
23:28:17 <TrueBrain> gameplay was purely for single player
23:28:34 <TrueBrain> but .... I have much bigger ideas .... connect multiple servers! :D
23:28:50 <TrueBrain> "trade posts"!! :P
23:29:03 <FLHerne> I do like IS - it's nice as a late-game sort of thing
23:29:04 <frosch123> well, all people who posted on forums about connecting multiple servers, were douchebags :p
23:29:17 <TrueBrain> pfew, I never posted it on the forums
23:29:19 <TrueBrain> :P
23:29:42 <TrueBrain> anyway, MS2/AS first .. guess we need a bit more input
23:30:03 <FLHerne> "I've got my network serving <here>, you're serving <there>, why don't we add a connection <here> and run some through trains?"
23:30:09 <frosch123> will you promise to never write sql functions?
23:30:28 <FLHerne> Single-company MP is frustrating at the start of games, while you're still funding-limited
23:30:31 <TrueBrain> I cannot. I can promise to never again write sql functions that end up in non-debug code :)
23:30:49 <frosch123> fair :)
23:31:06 <FLHerne> The other player(s) tend to hog stuff, so you end up with lots of half-built ideas and negative money without serious co-ordination
23:31:25 <TrueBrain> once we had a dev who was going to redo the game balance itself
23:31:29 <TrueBrain> too bad he never finished it
23:31:35 <frosch123> that'
23:31:36 <TrueBrain> I still miss those kind of changes
23:31:39 <frosch123> that's pointless
23:31:49 <FLHerne> Game balance itself?
23:31:50 <TrueBrain> like ... why on earht does this coal mine keep selling me stuff for the same price .....
23:31:51 <frosch123> ottd only has a single currency
23:31:56 <FLHerne> Oh, like that
23:32:04 <frosch123> and money always behave exponential, in all games
23:32:05 *** bwn has quit IRC
23:32:07 <TrueBrain> the idea was pretty much: a power station supplied by 3 companies will no longer pay so much for coal
23:32:16 <TrueBrain> forcing people to be smart
23:32:18 <andythenorth> there was a huge PDF
23:32:20 <andythenorth> about it all
23:32:24 <FLHerne> Hm
23:32:24 <TrueBrain> he dia a lot of work for it
23:32:26 <andythenorth> yada yada yada
23:32:27 <TrueBrain> just ... never finished it
23:32:31 <TrueBrain> as it goes
23:32:33 <frosch123> that's why all grand strategy games have 6+ currencies
23:32:34 <peter1138> Ooh, managed to crash it :D
23:32:38 <TrueBrain> I never finished making my heighmap generator public :D
23:32:50 <FLHerne> That sounds like it would just aggravate the existing thing where people just build as far as possible apart and try to never interact
23:33:13 <peter1138> I never finished fixing landscape variety
23:33:15 <frosch123> some of them are pretty much constant over the whoel game
23:33:16 <TrueBrain> what I once tried to do, was allow different models to plug onto OpenTTD
23:33:23 <andythenorth> NewEconomy
23:33:33 <TrueBrain> as we can never settle on a model we all like/enjoy
23:33:36 <FLHerne> (because there's rarely any benefit from competing, except in blatant ways like pinching output that are usually against server rules)
23:33:56 <TrueBrain> even in single player I am annoyed that a coal mine->powerstation line can survive for my whole game
23:33:59 <TrueBrain> in what world does that make sense
23:34:12 <TrueBrain> and why do bigger cities not need more power stations?
23:34:23 <frosch123> there were newgrf with depleting coal mines, i hated them :p
23:34:33 <FLHerne> Electrical grid?
23:34:34 <TrueBrain> yes .. depleting coal mines is not fixing the issue :)
23:34:50 <TrueBrain> various of shit has been tried to fix it in several ways ..
23:35:10 <frosch123> the thing i like about ottd is: after it set up something, it keeps running. i only need to bother about expanding, rarely about maintenane
23:35:11 <TrueBrain> that is why I like Game Script .. at least allows to set goals (even per city)
23:35:24 <TrueBrain> and it is what I dislike frosch123 :D
23:35:31 <TrueBrain> but like I said, there is not 1 fits-all model :)
23:35:59 <TrueBrain> the current balance was thought up in 1995 .. and it still stands, somewhat
23:36:05 <TrueBrain> it was just never improved :)
23:36:16 <TrueBrain> for example, what if you drop credits, and make wood, coal, etc your resources
23:36:27 <frosch123> as said, i don't believe you cano improve balance as long as there is only "money" :)
23:36:29 <TrueBrain> get iron to make trains, etc :P
23:36:39 <TrueBrain> whole other genre
23:36:41 <TrueBrain> but .. who cares! :D
23:36:42 <frosch123> ever starcraft has two currencies: minerals and gas
23:36:54 <TrueBrain> so why stuck with 1 frosch123? :D
23:37:02 <TrueBrain> or maybe better: why can I not exceed 1? :)
23:37:06 <TrueBrain> well, GameScripts can :)
23:37:10 <TrueBrain> or GoalScripts :P
23:37:17 <TrueBrain> somewhat
23:37:26 <frosch123> people even whine about town authorities :p
23:37:39 <TrueBrain> you need different modes
23:37:42 *** bwn has joined #openttd
23:37:48 <TrueBrain> otherwise it is lost before it begon
23:37:58 <frosch123> yes, more forks :)
23:38:12 <TrueBrain> not sure if forks is the way to go .. but at least some way to change behaviour on that level
23:38:20 <TrueBrain> we have NewGRFs which go a lot further than gfx
23:38:28 <TrueBrain> GameScripts handle part of the joy
23:38:38 <TrueBrain> not sure both combined cannot do everything .. but .. yeah ..
23:38:46 <frosch123> i think cargodist vs. timetables vs. conditional orders pretty much shows the limits of a single ottd fork
23:39:12 <TrueBrain> it needs some form of modularity
23:39:23 <TrueBrain> I am not sure that forks is the solution
23:39:35 <TrueBrain> we once tried GPMI .. which allowed it via libraries .. (got burned before it could be tried :P)
23:39:46 <TrueBrain> GameScript is a niche market .. as is NewGRF
23:39:54 <TrueBrain> people are afraid to try it ... hell, even I dont touch NewGRFs
23:40:01 *** synchris has quit IRC
23:40:03 <TrueBrain> so possibly you are right forks will :)
23:40:23 <TrueBrain> just makes me wonder if we should make a more "core" like framework
23:40:32 <TrueBrain> like the 2D engine, networking, save/load, ..
23:40:43 <frosch123> i would love a new savegame format :p
23:40:44 <TrueBrain> time will tell :)
23:40:53 <TrueBrain> I just read that peter1138 is going to make JSON the new format
23:40:56 <TrueBrain> I am sure he has a patch for that
23:40:57 <peter1138> :p
23:41:00 <peter1138> xml
23:41:05 <peter1138> infact json as xml
23:41:31 <TrueBrain> my current stack of jobs is: Windows Docker (or an attempt towards that), after that getting release back up (at least, a nightly)
23:41:37 <TrueBrain> and make a draft for MS2/AS
23:41:53 <TrueBrain> if there was anything else that needs to be done, lemme know btw :)
23:41:53 <frosch123> if the savegame contains a json header which names the bit layout in the map array, we can remap the bits when loading, and get rid of all of the savegame conversion code
23:42:07 <TrueBrain> not all, but a lot :)
23:42:51 <frosch123> peter1138: what json format?
23:42:56 <peter1138> https://www.ibm.com/support/knowledgecenter/en/SS9H2Y_7.1.0/com.ibm.dp.doc/json_jsonxconversionexample.html
23:42:59 <peter1138> :p
23:43:15 <TrueBrain> let me revoke your push rights ..
23:43:26 <peter1138> It was a throw away comment, I have no plans for json
23:43:36 <TrueBrain> bullshit :P
23:43:39 <TrueBrain> you promised to do it now!
23:43:43 <peter1138> haha
23:44:01 <andythenorth> TrueBrain: liveries innit http://dev.openttdcoop.org/attachments/download/8977/horse_but_liveries_2.png
23:44:05 <frosch123> oh, how about using XSLT for savegame conversion :p
23:44:14 <andythenorth> I quit in cold rage
23:44:17 <andythenorth> if you XSLT
23:44:18 <TrueBrain> let me be clear about XSLT: FUCK OFF :P
23:44:30 <andythenorth> we XSLT-ed an app while a dev was on long term leave
23:44:34 <TrueBrain> andythenorth: yes, bunch of red trains (still no clue)
23:44:35 <peter1138> XSLT of JSONx, yeah...
23:44:44 <andythenorth> XSLT is devil
23:44:57 <andythenorth> TrueBrain: see how the red and white make different shapes? o_O
23:45:18 <TrueBrain> not really?
23:45:21 <andythenorth> ok
23:45:28 <TrueBrain> not sure what to look for :(
23:45:34 <TrueBrain> (there is a reason I stay away from NewGRF :P)
23:45:39 <andythenorth> just keep 1CC and 2CC same :)
23:45:45 <TrueBrain> all I see that the numbers are poorly aligned versus the flag
23:45:48 <TrueBrain> which annoys me
23:45:57 <andythenorth> NOW I CAN NEVER UNSEE THAT :(
23:46:11 <TrueBrain> and the numbers are 2 pixels too high
23:46:12 <andythenorth> I will not sleep
23:46:13 <TrueBrain> which is also annoying
23:46:22 <TrueBrain> my OCD triggers on that heavily
23:46:26 <andythenorth> mine too now
23:46:27 <TrueBrain> 1CC? 2CC?
23:46:31 <andythenorth> company colors
23:46:35 <andythenorth> colours
23:46:48 <TrueBrain> I do like how organic the trains look
23:47:06 <andythenorth> they're actually not organic at all
23:47:07 <TrueBrain> owh, the doors of 47/48 are of a different colour
23:47:11 <andythenorth> very regular patterns
23:47:19 <andythenorth> but so are fractals :P
23:47:41 <TrueBrain> I said they LOOK organic
23:47:44 <andythenorth> anyway when I talk 'livery' I mean 3 things
23:47:48 <frosch123> most trains look like they are from austria :p
23:47:49 <TrueBrain> I never assumed they really were :P
23:47:50 *** supermop has joined #openttd
23:48:02 <andythenorth> 1) copying IRL trains, I should ignore this
23:48:07 <frosch123> or lithuania
23:48:15 <peter1138> right, sleepy time
23:48:18 <andythenorth> 2) choice of 2 liveries when player flips train in depot
23:48:23 <andythenorth> 3) choice of company colours
23:48:40 <TrueBrain> I really do not know what the word livery means, it seems ... let me look it up
23:48:53 <peter1138> for some reason i have a plan to meet up at the bottom of the hills at 9am tomorrow.
23:48:55 <TrueBrain> a special uniform worn by a servant
23:48:56 <andythenorth> colourway, branding, colour scheme etc
23:48:56 <TrueBrain> hmmm
23:49:07 <TrueBrain> ah, branding, yes, I know branding
23:49:13 <peter1138> in this case it's just short for colour scheme.
23:49:20 <TrueBrain> ah; that makes somewhat sense :)
23:49:22 <TrueBrain> tnx :)
23:49:30 <peter1138> and it's pointless faff tbh
23:49:36 <TrueBrain> the dictonary strongly disagrees with livery meaning any of that :P
23:49:43 <peter1138> not what andythenorth is doing, but the stuff in openttd
23:49:50 <peter1138> which idiot put that in anyway
23:49:53 * peter1138 sighs
23:50:06 <andythenorth> it's "great"
23:50:08 <andythenorth> like Frosites
23:50:11 <andythenorth> Frosties *
23:50:12 <TrueBrain> owh, there is the meaning of livery in the dictonary
23:50:39 <TrueBrain> I hate that word now
23:50:54 <TrueBrain> back to the pixel imperfection .. is that ingame, or because of NewGRFs?
23:51:05 <peter1138> It's ingame.
23:51:10 <andythenorth> oh yeah, the translation has also 'colour scheme' on the company window, and 'livery' on the colour scheme window :P
23:51:10 <TrueBrain> wtf ... why nobody fix?
23:51:20 <peter1138> Find an old version and see what it should be like ;)
23:51:29 <TrueBrain> and who made it fugly like this?
23:51:30 <TrueBrain> :(
23:51:36 <peter1138> I only recently fixed some group icons, which had been broken for years.
23:51:45 <TrueBrain> why nobody cares :(
23:51:47 <peter1138> Well... the 2x ugly is... my fault? can't remember
23:52:02 <TrueBrain> eye for perfection shows quality! :P
23:52:06 <andythenorth> 2x is best thing ever
23:52:23 <TrueBrain> owh, I remember the initial 2x zoom patches
23:52:26 <TrueBrain> those were fugly :D
23:52:37 <TrueBrain> off by one issues on the borders ... so lovely :D
23:52:43 <TrueBrain> and people YELLING why they werent accepted yet (the patches)
23:52:46 <TrueBrain> good old times :D
23:52:57 <TrueBrain> why are we all still here? Being yelled at is a bit the normal .... :P
23:53:15 <TrueBrain> macohistic I guess .. how do you write that in english
23:53:25 <peter1138> Damn, 0.4.5 doesn't compile ;(
23:53:35 <TrueBrain> WUTH??!!?? lets fix that!
23:53:47 <TrueBrain> Windows Update is at 33% with Working on updates
23:54:13 <peter1138> 1.0.0 doesn't either, hmm
23:54:29 <peter1138> I guess I can't build an old version to compare ;P
23:54:33 <TrueBrain> let me guess, you are trying to compile it with PowerShell? :P
23:54:44 <peter1138> dos of course
23:54:57 <TrueBrain> BeOS!
23:55:05 <frosch123> oh, another thing....
23:55:09 <TrueBrain> oh-oh
23:55:20 <frosch123> i have checkouts of all of the version branches
23:55:26 <TrueBrain> tnx btw andythenorth; really never knew the meaning of livery being vehicle colours :D
23:55:30 <frosch123> with changes to make them compile again (with tons of warnings)
23:55:34 <andythenorth> :)
23:55:46 <TrueBrain> frosch123: go for it? :)
23:55:51 *** supermop has quit IRC
23:55:54 <frosch123> i guess i'll push them to my own github
23:55:59 <frosch123> not sure whether to pr them
23:56:00 <TrueBrain> make PRs for it :)
23:56:06 <TrueBrain> nostalgic reasons :)
23:56:06 <peter1138> yapf/yapf_road.cpp:361:23: error: cannot convert 'bool' to 'Depot*' in return
23:56:10 <peter1138> well...
23:56:33 <TrueBrain> sounds horrible!
23:56:36 <frosch123> TrueBrain: i use them for quickly checking when something was broken, like your alignment stuff
23:56:40 <TrueBrain> its either a NULL, or invalid pointer :P
23:56:46 <frosch123> TrueBrain: anyway, alignment is nearly impossible with custom fonts
23:56:56 <TrueBrain> yeah .. I know ..
23:57:09 <TrueBrain> you first need to preprocess the font to detect baseline
23:57:13 <TrueBrain> as the baseline in the font is ALWAYS FUCKING WRONG
23:57:21 <TrueBrain> (I so not miss my days as web developer)
23:57:51 <andythenorth> also bed
23:57:53 <TrueBrain> I used to do that ... calculate the correct baseline for a font, and adjust CSS based on it ... so horrible :P
23:57:55 <TrueBrain> sleep well andythenorth
23:58:06 <andythenorth> baseline tipped me over the edge :P
23:58:15 <frosch123> :p
23:58:17 <andythenorth> don't need to revisit the hours I've spent on that
23:58:21 <TrueBrain> :D
23:58:29 <andythenorth> at least visual diff helps
23:58:32 <andythenorth> also bye
23:58:33 *** andythenorth has left #openttd
23:59:54 <Wolf01> He quits and I'm back