IRC logs for #openttd on OFTC at 2018-09-28
            
00:01:45 *** OtakuSenpai has quit IRC
00:16:53 *** hph^ has quit IRC
00:33:53 *** hph^ has joined #openttd
01:08:57 *** funnel has joined #openttd
01:28:26 *** Wormnest has quit IRC
01:39:30 *** hph^ has quit IRC
01:41:52 *** Thedarkb-T60 has quit IRC
01:57:21 *** hph^ has joined #openttd
03:00:48 *** hph^ has quit IRC
03:19:26 *** Samu has quit IRC
03:20:26 *** hph^ has joined #openttd
03:22:24 *** WWacko1976-work has joined #openttd
04:01:50 *** Supercheese has joined #openttd
04:25:53 *** hph^ has quit IRC
04:26:23 *** hph^ has joined #openttd
04:35:42 *** heffer has quit IRC
05:20:02 *** haudrauf has quit IRC
05:21:01 *** haudrauf has joined #openttd
05:27:40 *** hph^ has quit IRC
06:38:44 *** glx has quit IRC
07:56:29 *** Supercheese has quit IRC
07:56:50 *** Supercheese has joined #openttd
08:22:25 *** rocky113844 has quit IRC
09:46:30 *** roidal has joined #openttd
10:18:15 *** Supercheese has quit IRC
11:34:32 *** Arveen has joined #openttd
12:04:33 *** JacobD88 has joined #openttd
13:07:22 *** JacobD88 has quit IRC
13:10:47 *** chomwitt has joined #openttd
13:42:34 *** Samu has joined #openttd
13:45:25 <Eddi|zuHause> "An easy way to determine if the Apache is 32-bit or 64-bit is to execute the following in the global zone by using dtrace: sudo dtrace -qn 'syscall::: /execname == "httpd"/ { ab = (curpsinfo->pr_dmodel == PR_MODEL_ILP32) ? "32-bit" : "64-bit" ; exit(0); } END { printf("Apache: %s",ab); }'" ... aha, easy...
14:30:52 *** Gustavo6056 has joined #openttd
14:33:10 *** Gustavo6046 has quit IRC
14:33:10 *** Gustavo6056 is now known as Gustavo6046
14:43:49 *** sla_ro|master has joined #openttd
15:07:58 *** tokai|noir has joined #openttd
15:07:58 *** ChanServ sets mode: +v tokai|noir
15:14:23 *** agentw4b has joined #openttd
15:14:57 *** tokai has quit IRC
15:17:49 *** nielsm has joined #openttd
16:16:57 *** Wacko1976 has joined #openttd
16:21:33 *** Wormnest has joined #openttd
16:26:47 *** Wacko1976_ has joined #openttd
16:33:12 *** Wacko1976 has quit IRC
16:35:28 *** rocky113844 has joined #openttd
17:00:53 *** rocky113844 has quit IRC
17:26:48 *** Wormnest has quit IRC
17:54:49 *** Progman has joined #openttd
17:55:49 *** HerzogDeXtEr has joined #openttd
17:56:59 *** Wormnest has joined #openttd
18:06:47 *** chomwitt has quit IRC
18:25:49 *** chomwitt has joined #openttd
18:42:32 *** synchris has joined #openttd
18:48:11 <Samu> i still fail at understanding the full purpose of AIRoad.CanBuildConnectedRoadPartsHere
18:48:31 <Samu> it can return 1, 2 and -1
18:48:39 <Samu> and 0
18:51:56 <Samu> sometimes it returns 1 when i was expecting it to return 0
18:52:59 <Samu> https://imgur.com/TCqX7rm
18:53:28 <Samu> in this image, i was checking if that spot at 9347 was suitable for a drive through road station
18:53:58 <Samu> I used AIRoad.CanBuildConnectedRoadPartsHere(9347, 9348, 9346) and it returned 1
18:54:02 <Samu> why not 0?
19:08:54 <Samu> case SLOPE_FLAT: /* Flat slopes can always be build. */ return 1;
19:08:57 <Samu> this is false
19:09:03 <Samu> and the image shows
19:10:34 *** Stimrol has joined #openttd
19:14:15 *** Wormnest has quit IRC
19:17:35 <Samu> it's not taking into account if the neighbour tiles have foundations :(
19:23:52 *** TheMask96 has quit IRC
19:28:03 *** TheMask96 has joined #openttd
19:46:12 *** andythenorth has joined #openttd
19:46:31 <andythenorth> yo
19:48:21 <andythenorth> is it patches?
19:56:27 *** Wolf01 has joined #openttd
19:56:44 <Wolf01> o/
19:59:02 <andythenorth> yo
20:01:20 <andythenorth> 75% Iron Horse sprites complete :P
20:01:47 *** Thedarkb-T60 has joined #openttd
20:01:49 <Wolf01> What needs to be fixed in NRT?
20:02:08 <Wolf01> Leaving out that +/- sign
20:02:24 <andythenorth> conflicts https://github.com/OpenTTD/OpenTTD/pull/6811
20:02:31 <Wolf01> Meh
20:02:42 <andythenorth> yes
20:02:50 <andythenorth> also it's got no route to trunk
20:02:56 <andythenorth> both peter1138 and TrueBrain have reviewed it
20:03:28 <Wolf01> I don't have route to NRT too, I need to put it on my repo
20:03:29 <andythenorth> so eh, I don't know
20:03:37 <andythenorth> it's just drowned in bureacracy I think
20:04:38 <Wolf01> Same happened with more height levels and other patches, maybe they are waiting for OTTD 2.0
20:32:02 <Wolf01> Mmmh, I must moc the Compilatron with lego... V453000 what do you think?
20:32:22 <peter1138> Not bureaucracy, just nobody doing anything.
20:35:33 <andythenorth> peter1138: have you worked with a bureacracy much? o_O
20:35:36 <andythenorth> you described it
20:36:41 *** frosch123 has joined #openttd
20:38:47 *** Supercheese has joined #openttd
20:39:17 *** glx has joined #openttd
20:39:17 *** ChanServ sets mode: +v glx
20:41:18 *** Wacko1976 has joined #openttd
20:41:24 <andythenorth> le quak
20:42:03 <frosch123> mjour
20:44:32 *** gelignite has joined #openttd
20:46:42 *** Thedarkb-T60 has quit IRC
20:48:02 *** Wacko1976_ has quit IRC
20:49:16 <peter1138> Bureaucracy implies things getting in the way to stop it happening.
20:49:22 *** Wacko1976 has quit IRC
20:53:07 <LordAro> hmm, 18:45 is a bit late to start a 15 mile cycle at this time of year
20:53:08 <LordAro> ah well
20:54:17 *** Thedarkb-T60 has joined #openttd
20:57:40 <Samu> (svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for… … all to see.
20:57:43 <Samu> :p
21:00:23 <Samu> there was no NoAI 10 years ago
21:00:57 <LordAro> nope!
21:01:30 <Samu> this function was never touched in 10 years
21:01:41 <Samu> according to blame girt
21:01:44 <Samu> git
21:01:57 <LordAro> that's the case for most of the codebase, probably
21:02:21 <Samu> https://github.com/OpenTTD/OpenTTD/blame/060248a422a02e4ba7e50b0e4cd7dc30eea414fd/src/script/api/script_road.cpp#L198
21:02:41 *** roidal has quit IRC
21:03:05 <LordAro> well, no
21:03:12 <LordAro> the function definition wasn't changed in 10 years
21:03:37 <LordAro> you can clearly see the rest of the code was touched... 7 or 9 years ago
21:03:53 <LordAro> function signature*
21:04:11 *** Wacko1976 has joined #openttd
21:04:20 <Samu> ah
21:06:48 <Samu> the function isn't properly accounting if it can actually connect to neighbouring tiles, or actually perhaps those neighbours shouldn't been in there in the first place
21:07:17 <Samu> it can be working with unconnectable neighbours
21:10:12 <Samu> https://imgur.com/TCqX7rm - that slope in the middle is flat, and the function returns true immediately at line 228 https://github.com/OpenTTD/OpenTTD/blame/060248a422a02e4ba7e50b0e4cd7dc30eea414fd/src/script/api/script_road.cpp#L228
21:10:26 <Samu> return 1*
21:14:30 <Samu> bug? or am I misunderstanding the purpose? or...?
21:19:42 <peter1138> slope is flat?
21:19:48 <peter1138> is a slope or is it flat?
21:20:15 <peter1138> i don't know where "in the middle" refers
21:21:09 <Samu> tile 9347 has a SLOPE_FLAT
21:21:17 <Samu> in that image
21:22:22 <Samu> tile 9346 has a SLOPE_E
21:23:08 <peter1138> Ok, and?
21:23:21 <Samu> tile 9348 has a SLOPE_S
21:23:55 <peter1138> Carry on.
21:24:35 <Samu> and I used the function AIRoad.CanBuildConnectedRoadPartsHere(9347, 9348, 9346), it returned 1. I was expecting it to return 0
21:25:15 <Samu> the part that return 1 is https://github.com/OpenTTD/OpenTTD/blame/060248a422a02e4ba7e50b0e4cd7dc30eea414fd/src/script/api/script_road.cpp#L228
21:25:51 <Samu> tile 9347 has a SLOPE_FLAT, so return 1 :(
21:40:08 <peter1138> well 9347 CAN have any road part. It's *flat*
21:41:47 *** Thedarkb-T60 has quit IRC
21:47:16 *** Thedarkb-T60 has joined #openttd
21:49:50 <andythenorth> Wolf01: so did you fix it yet? o_O
21:50:04 <Wolf01> Nope
21:51:03 <Wolf01> I'm still looking for my lost developer mood
21:51:55 <andythenorth> it comes it goes
22:03:15 * Wolf01 -> bed?
22:10:37 *** Thedarkb-T60 has quit IRC
22:19:27 <Eddi|zuHause> "serverless code which runs in the fabric of the Internet itself" sounds great.
22:23:41 <peter1138> So it runs on optical fibres alone?
22:24:27 <LordAro> pingfs
22:29:21 <andythenorth> is the internet fabric tartan?
22:29:24 <andythenorth> or burberry?
22:30:28 *** Extrems has quit IRC
22:31:42 *** Extrems has joined #openttd
22:35:08 *** synchris has quit IRC
22:35:19 <Eddi|zuHause> it's a series of tubes, obviously
22:39:03 <andythenorth> https://www.livingstonetextiles.com/wp-content/uploads/2013/09/internet-fabric.jpg
22:39:05 <andythenorth> apparently
22:45:11 <andythenorth> hmm
22:45:17 <andythenorth> progression
22:45:37 <andythenorth> @calc 17*4
22:45:37 <DorpsGek> andythenorth: 68
22:45:53 <andythenorth> new engine gains 150HP
22:46:02 <andythenorth> but wagons are higher capacity, so 68t more cargo
22:46:03 <andythenorth> net result?
22:49:58 *** sla_ro|master has quit IRC
22:52:37 *** gelignite has quit IRC
22:53:45 *** frosch123 has quit IRC
22:59:28 <Samu> why does the function needs neighbour tiles
23:00:04 <Samu> if it's only about itself :(
23:00:29 <Samu> it doesn't make sense
23:06:11 *** andythenorth has quit IRC
23:10:56 <Samu> it can't connect the road parts towards 9346 or 9348, very misleading name for the function
23:11:20 <Samu> i understand now what's its purpose
23:14:17 <Samu> can build connected road parts here while it was accepting a start and a end, i thought it really was about the possibility of a road being entered from 'start', walking the 'tile' and exiting to 'end'
23:14:26 <Samu> misleading
23:35:48 <Wolf01> 'night
23:35:51 *** Wolf01 has quit IRC
23:54:43 *** Progman has quit IRC