IRC logs for #openttd on OFTC at 2018-08-11
            
00:04:54 *** Wormnest has quit IRC
00:31:16 *** chomwitt has joined #openttd
01:21:20 *** nielsm has quit IRC
01:23:42 *** Progman has quit IRC
02:27:44 *** glx has quit IRC
02:35:54 <DorpsGek_II> [OpenTTD/OpenTTD] JGRennison opened pull request #6883: Fix: Depot building cost does not include foundation build cost (#6875) https://github.com/OpenTTD/OpenTTD/pull/6883
02:46:45 *** Supercheese has quit IRC
03:05:58 *** Supercheese has joined #openttd
03:26:13 *** chomwitt has quit IRC
03:30:43 <snail_UES_> michi_cc: thanks for looking into that
03:52:50 *** ToBeFree has joined #openttd
03:57:02 *** ToBeFree has quit IRC
05:51:04 *** haudrauf has quit IRC
05:52:23 *** haudrauf has joined #openttd
06:09:19 *** wodencafe has quit IRC
06:09:58 *** Supercheese has quit IRC
06:10:20 *** Supercheese has joined #openttd
06:21:22 *** chomwitt has joined #openttd
06:25:28 *** juzza1 has joined #openttd
06:48:02 *** Alberth has joined #openttd
06:48:02 *** ChanServ sets mode: +o Alberth
07:18:41 *** chomwitt has quit IRC
07:18:56 *** chomwitt has joined #openttd
07:29:04 *** chomwitt has quit IRC
07:29:19 *** chomwitt has joined #openttd
07:40:26 *** chomwitt has quit IRC
07:40:40 *** chomwitt has joined #openttd
07:42:41 <k-man> i need a compact terminus design. for 8 platorms
07:42:47 <k-man> any suggestion of which to build
07:49:51 <k-man> can you build this with path signals? https://wiki.openttd.org/File:Sharedepicterminus.png
07:58:32 *** andythenorth has joined #openttd
07:59:50 *** keoz has joined #openttd
08:04:51 *** snail_UES_ has quit IRC
08:06:12 <peter1138> That doesn't look compact.
08:11:46 <andythenorth> yo
08:23:22 <Alberth> k-man: a large part of the fun can be found in figuring out the layout of such things, try building something, and improve it
08:23:31 <Alberth> and yes, path signals can be used.
08:23:40 <Alberth> moin andy, peter
08:26:29 <SpComb> plus making it fit in whatever space it is that you have available, not just green-field
08:35:23 *** nielsm has joined #openttd
08:38:18 <andythenorth> lo nielsm
08:38:24 <andythenorth> today I can poke at nml
08:38:37 <andythenorth> give or take some chores I have to do :)
08:40:46 <nielsm> cool
08:41:31 <peter1138> Today I will be... cycling.
08:41:53 <nielsm> also fyi I'll be difficult to reach for the next 3 weeks, I'm traveling to japan on vacation from wednesday
08:42:09 <nielsm> and back on the 31st
08:51:49 <Alberth> nice, have fun!
09:19:53 <k-man> thanks Alberth
09:21:16 <Alberth> basically it avoids the "plop pre-designed thing down, add long straight tracks, buy trains, done!"
09:22:08 <peter1138> But copy & paste!
09:22:28 <Alberth> for extra challenge don't use flat landscape, and don't change it
09:22:39 *** chomwitt has quit IRC
09:24:35 <Alberth> peter: play with aircraft? copy/paste out of the box then!
09:26:27 <peter1138> Nah, haven't got time to fire up X-Plane this morning.
09:28:26 <Alberth> time seems such a scarce thing, nobody seems to have any
09:31:02 <andythenorth> I don't have time to discuss that
09:32:57 *** chomwitt has joined #openttd
09:52:28 *** Wolf01 has joined #openttd
09:52:31 <Wolf01> o/
09:52:44 <Wolf01> Mmmh, the script timer doesn't work at all
09:53:29 <Wolf01> Yesterday worked, today it performed join exactly as the same time of the identify command
10:03:35 *** agentw4b has joined #openttd
10:05:26 *** agentw4b has quit IRC
10:16:10 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints https://github.com/OpenTTD/OpenTTD/pull/6881#issuecomment-412259916
10:17:23 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints https://github.com/OpenTTD/OpenTTD/pull/6881#issuecomment-412259966
10:18:11 <TrueBrain> LordAro: ^^ is funny :D I cannot see any way to write a regression test :)
10:18:37 <TrueBrain> as it would require building a rail where the railtype is more than 4 bits :)
10:19:00 <LordAro> i thought the issue was building any rails?
10:19:11 <TrueBrain> I doubt it is currently broken :P
10:19:12 <LordAro> that's how i read it, anyway
10:19:29 <TrueBrain> a << 4 | 1 << 8 ... becomes a << 6 | 1 << 8
10:19:42 <TrueBrain> so all I can see, that bits 4,5 were 0, instread of the desired value
10:19:50 <TrueBrain> which only happens for railtypes that use those bits
10:19:53 <TrueBrain> or am I wrong?
10:20:15 <TrueBrain> he said: could not build rail tracks, but I doubt that is true
10:20:40 <LordAro> i feel there's an easy way to find out... :>
10:21:04 <TrueBrain> ah, no, you could test rails to the other axis
10:21:13 <TrueBrain> that is one bit that did change
10:23:18 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints https://github.com/OpenTTD/OpenTTD/pull/6881#issuecomment-412260239
10:23:39 <TrueBrain> LordAro: no, you are aboslutely right. Tracks will work for what ever AXIS 0 is
10:23:43 <TrueBrain> just not for any other :P
10:24:11 *** agentw4b has joined #openttd
10:24:28 <TrueBrain> so I hope/assume the regression set has one with 0 bits :)
10:24:34 <TrueBrain> and it just needs one with non-zero bits :P
10:25:04 *** agentw4b has quit IRC
10:26:55 <LordAro> bin/ai/regression/tst_regression/main.nut:1007
10:26:57 <TrueBrain> in the next PR you see lovely the regression hit on a cost change, rightfully :D
10:27:05 <LordAro> ^^
10:27:31 <TrueBrain> 4 years no change to regression? Oh my ....
10:28:14 <TrueBrain> leave that location for JGR if you like LordAro :) Might make it a bit easier :)
10:28:38 <TrueBrain> but indeed, only one direction is build .. silly :D
10:30:17 <DorpsGek_II> [OpenTTD/OpenTTD] LordAro commented on pull request #6881: Fix: Script/AI construction of rail track and waypoints https://github.com/OpenTTD/OpenTTD/pull/6881#issuecomment-412260585
10:30:32 *** agentw4b has joined #openttd
10:30:52 <TrueBrain> owh, the AI API hasnt really changed in 4 years .. that would also explain why regression isnt touched that long :P
10:31:07 <LordAro> ^^
10:31:40 <TrueBrain> I need to learn DorpsGek_II to mark things as rotten, that after 3 months he closes stuff after notifying the user every month or so about it
10:32:01 <Wolf01> That's andy's job :P
10:32:17 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6780: Change: Refactor window ticks into game ticks and realtime events. https://github.com/OpenTTD/OpenTTD/pull/6780#issuecomment-412260680
10:33:02 <DorpsGek_II> [OpenTTD/OpenTTD] TrueBrain commented on pull request #6784: Ship cpu hog workaround for #6145 https://github.com/OpenTTD/OpenTTD/pull/6784#issuecomment-412260722
10:33:08 <TrueBrain> or mine, it seems :P
10:33:18 <LordAro> pretty sure all of peter1138's stuff was just waiting on a review
10:33:31 <TrueBrain> he himself didn't label it as such, so .. *shrug*
10:33:48 <TrueBrain> second one for sure needs a few lines of extra code
10:34:02 <LordAro> i think they predate your PR labels :p
10:34:07 <TrueBrain> nope
10:34:09 <TrueBrain> open the link
10:34:11 <TrueBrain> :)
10:34:16 <TrueBrain> ITS RIGHT THERE! :P
10:34:46 <LordAro> :<
10:35:17 <TrueBrain> (and you can add labels to PRs that exist before the label did :P)
10:35:19 <TrueBrain> :D
10:40:09 *** Supercheese has quit IRC
10:40:30 *** Supercheese has joined #openttd
10:44:03 <TrueBrain> so LordAro, how is cmake going? :D
10:44:30 <LordAro> :<
10:44:43 <TrueBrain> wiki in a docker? :(
10:44:55 <LordAro> :<<
10:45:13 <TrueBrain> you are as bad in this as I am :P
10:45:27 <LordAro> :p
10:52:00 *** Supercheese has quit IRC
10:57:12 <TrueBrain> do I read this right ... the NML version is the version of Python it is running on? :D
10:57:20 <TrueBrain> ah, no variable reusage :D
10:57:22 <TrueBrain> lolz
10:57:52 <TrueBrain> ah, no git support (yet)
10:58:05 <TrueBrain> and no tags .. hmm
10:58:44 <Alberth> I thought we have nml 4 already?
10:59:05 <TrueBrain> the git version on github suggests no version I can find :D
10:59:23 <TrueBrain> the version is fully auto-detected, from what I can tell .. and only supports hg, from what I can spot
10:59:24 <TrueBrain> so I dunno :D
10:59:51 <Alberth> makes sense, fr0sch is still working on it afaik
11:01:01 <TrueBrain> ah, commit with a tag 0.4.5 :)
11:01:09 <TrueBrain> seems the tags never made it onto github yet
11:01:16 <TrueBrain> guess frosch should push the tags :D
11:01:27 <TrueBrain> (possibly he doesnt know you need to do that separately :)
11:01:28 <Alberth> possibly :)
11:01:37 *** eirc has joined #openttd
11:01:47 <Alberth> tbh, it's silly it doesn't happen by itself
11:02:22 <TrueBrain> happens if 'tags' are just another ref .. but yeah
11:02:52 <TrueBrain> it always feels to me that is an implementation detail which ended up in the workflow :P
11:03:39 <Alberth> git-devs are very much technically correct, and not user-oriented
11:03:59 <TrueBrain> indeed
11:04:22 <TrueBrain> hmm .. so do I experiment with GCP some more .. havent heard back yet from them, which means exactly nothing in either direction ..
11:04:36 <TrueBrain> always tricky .. how much effort do you put into something that might not happen :D
11:04:53 <Alberth> depends on the amount of fun you're having :p
11:05:55 <TrueBrain> there is also the risk that if you find out how awesome it is, the slap in the face when it doesnt happen is too great :P
11:06:21 <Alberth> hmm, good point, beter not get too excited :p
11:09:48 <Alberth> venturing into action A, breaking the idea that each sprite is self-contained :)
11:16:18 <TrueBrain> oh-oh! :P
11:17:21 <Alberth> so far, I have been decoding 5 sprites in 2 weeks, not very fast :p
11:17:35 <TrueBrain> what are you trying to do? :)
11:19:45 <Alberth> at the highest level, extend nml with station support, below that, understand chips code (an example), below that understand actions, below that, decode grf from its bytes
11:20:06 <TrueBrain> :D I never understood NewGRF .. so I can only imagine :D
11:20:22 <Alberth> it's just assembly language :p
11:20:45 <Alberth> except no mnemonics
11:23:31 <TrueBrain> so when are we porting AIs to NewGRF? :D
11:25:09 <michi_cc> After we've ported OTTD to a modern language :p
11:25:12 <Alberth> https://paste.openttdcoop.org/pu9btw6op action A decoder (line 16), just read bytes, and interpret it as values
11:25:43 <Alberth> c++ not modern? :o
11:25:53 <TrueBrain> I think he means Go :P
11:26:07 <LordAro> or rust!
11:26:28 <Alberth> ah, go is silly, no non-deterministic choice in receive
11:26:42 *** Wormnest has joined #openttd
11:27:13 <michi_cc> node.js of course, inside a browser based execution environment :)
11:27:35 <TrueBrain> YES! That sounds like a perfect idea! Let me reopen a few issues ;)
11:32:22 <TrueBrain> lol, I am reading how GCP did their CI pipeline .. it is pretty nifty
11:32:31 <TrueBrain> you don't need a Jenkins or something fo rit
11:32:40 <TrueBrain> and it is designed to rune very step in a Docker
11:32:53 <TrueBrain> finally a company that understand that running code in a shared env is a stupid idea if you allow random PRs :)
11:35:01 <TrueBrain> so they made it stupidly easy to run multiple steps, each step in their own docker
11:37:28 *** madmax28 has joined #openttd
12:04:37 <andythenorth> o/
12:05:26 <Wolf01> o/
12:22:51 *** Alberth has left #openttd
12:24:41 *** Progman has joined #openttd
12:33:54 *** chomwitt has quit IRC
13:37:14 *** keoz has quit IRC
14:10:25 *** agentw4b has quit IRC
14:15:33 *** chomwitt has joined #openttd
14:25:04 *** wodencafe has joined #openttd
14:49:12 <peter1138> Hmm, can I make git run a regression test before accepting a commit? (Locally, of course)
14:50:04 <peter1138> I may need to rephrase that, it's got to be possible. My real question is, has anyone already done it and can share the incantation so I don't have to figure it out myself? :)
15:01:07 *** madmax28 has quit IRC
15:06:02 <LordAro> peter1138: there's the ottd githooks repo
15:06:22 <LordAro> nothing that goes as far as running regression tests though, i think
16:08:25 *** eirc has quit IRC
16:08:47 *** frosch123 has joined #openttd
16:10:28 *** eirc has joined #openttd
16:15:03 <frosch123> TrueBrain: tags are pushed
16:15:41 <TrueBrain> \o/
16:15:58 <frosch123> i thought "--all" was all :p
16:16:21 <TrueBrain> nothing ever is .. -Wall are not all warnings, and git push--all doesntpush tags :D
16:16:29 <TrueBrain> always something with these programs :P
16:16:38 <frosch123> good comparison :)
16:19:23 *** DanMacK has joined #openttd
16:26:00 <andythenorth> yo DanMacK
16:26:29 *** chomwitt has quit IRC
16:31:12 <DanMacK> Hey Andy
16:52:51 *** snail_UES_ has joined #openttd
17:40:15 <andythenorth> so
17:40:19 <andythenorth> should I play tanks?
17:40:23 <andythenorth> or do newgrf?
17:45:31 <snail_UES_> andythenorth: how about laying down a good plan for new cargoes? :)
17:49:39 <andythenorth> that requires the nml patch :P
17:51:45 <snail_UES_> why?
17:52:52 <andythenorth> 16 in / 16 out at industry
17:53:39 <snail_UES_> you can still code in NFO :p
17:53:46 <andythenorth> oof
18:45:08 *** DanMacK has quit IRC
19:17:56 *** tokai|noir has joined #openttd
19:17:56 *** ChanServ sets mode: +v tokai|noir
19:25:07 *** tokai has quit IRC
19:32:11 *** Alberth has joined #openttd
19:32:11 *** ChanServ sets mode: +o Alberth
20:10:35 *** Alberth has left #openttd
20:33:05 *** Supercheese has joined #openttd
21:30:55 *** glx has joined #openttd
21:30:55 *** ChanServ sets mode: +v glx
21:38:07 *** mindlesstux has quit IRC
21:51:34 *** frosch123 has quit IRC
22:23:15 <andythenorth> nielsm: so where's your nml fork? o_O
22:24:08 * andythenorth has played tanks until literally all fun has been drained
22:24:14 <andythenorth> and then some more :x
22:28:52 <nielsm> https://github.com/nielsmh/nml
22:44:33 *** andythenorth has quit IRC
22:45:18 *** andythenorth has joined #openttd
22:45:20 <andythenorth> thanks
22:45:26 <andythenorth> computer crashed :(
22:59:00 *** andythenorth has quit IRC
23:13:32 <michi_cc> snail_UES_: You need to have 10 04 in your Action 0 (i.e. bit 2 of the railtype flags set).