Times are UTC Toggle Colours
00:37:43 *** sim-al2 has joined #openttd 00:38:14 *** chomwitt has quit IRC 00:43:34 *** bryjen has joined #openttd 01:12:06 *** Samu has quit IRC 01:24:57 *** FLHerne has quit IRC 01:33:00 *** Gustavo6046 has quit IRC 03:07:21 *** glx has quit IRC 04:09:13 *** Supercheese has joined #openttd 04:19:54 *** zeta has quit IRC 04:20:37 *** zeta has joined #openttd 04:38:42 *** Cubey has quit IRC 04:42:48 *** sla_ro|master has joined #openttd 05:02:20 *** sla_ro|master has quit IRC 05:04:28 *** bryjen has quit IRC 05:15:45 *** sim-al2 has quit IRC 05:52:09 *** sim-al2 has joined #openttd 06:15:10 *** Supercheese has quit IRC 06:36:26 *** andythenorth has joined #openttd 06:43:33 *** Vadtec has quit IRC 06:43:33 *** Warrigal has quit IRC 06:43:33 *** _dp_ has quit IRC 06:43:33 *** fiatjaf has quit IRC 06:43:33 *** Maarten has quit IRC 06:43:34 *** nauticalnexus has quit IRC 06:43:34 *** APTX_ has quit IRC 06:43:34 *** ccfreak2k has quit IRC 06:43:34 *** supermop_home has quit IRC 06:43:34 *** Speedy has quit IRC 06:43:34 *** Tharbakim has quit IRC 06:43:34 *** Sylf has quit IRC 06:45:21 *** Sylf has joined #openttd 06:45:21 *** APTX_ has joined #openttd 06:45:21 *** _dp_ has joined #openttd 06:45:21 *** fiatjaf has joined #openttd 06:45:21 *** Warrigal has joined #openttd 06:45:21 *** nauticalnexus has joined #openttd 06:45:21 *** Maarten has joined #openttd 06:45:21 *** supermop_home has joined #openttd 06:45:21 *** Speedy has joined #openttd 06:45:21 *** Tharbakim has joined #openttd 06:45:21 *** ccfreak2k has joined #openttd 06:45:21 *** Vadtec has joined #openttd 06:47:21 *** LongyanG has quit IRC 06:47:23 *** LongyanG has joined #openttd 06:56:31 *** tokai has joined #openttd 06:56:31 *** ChanServ sets mode: +v tokai 07:03:29 *** tokai|noir has quit IRC 07:15:55 *** Mazur has quit IRC 07:20:08 *** andythenorth has quit IRC 07:25:08 *** Mazur has joined #openttd 07:53:26 *** stefino has joined #openttd 08:12:41 *** stefino has joined #openttd 08:14:07 *** stefino has quit IRC 08:59:56 *** PressureLine has joined #openttd 09:00:13 <PressureLine> why are speed limited (train) orders not a thing? 09:14:34 <Eddi|zuHause> because they are? 09:15:06 <Eddi|zuHause> where you can set the loading/travelling times, you can also set a speed limit 09:33:12 <PressureLine> in timetable 09:33:19 <PressureLine> but not 'normal' orders 09:33:27 <PressureLine> anyway. poos then bed 09:33:38 *** PressureLine has quit IRC 09:37:37 <Eddi|zuHause> sometimes i don't understand people 09:38:21 <Eddi|zuHause> "i want feature X" ... "feature X is there" ... "but i want feature X HERE" 09:38:43 <V453000> yes 09:38:45 <V453000> fuck people 09:50:09 <SpComb> sounds like an UI issue 09:50:46 <__ln__> *a UI issue 09:52:43 <Rubidium> everything is UI issue 09:59:22 *** _dp_ has quit IRC 10:06:36 <V453000> or just U issue :P 10:07:04 <Rubidium> isn't that User Input? 10:07:21 <V453000> can be user's output :P 10:09:15 *** Gja has joined #openttd 10:24:23 *** FLHerne has joined #openttd 11:13:28 *** Samu has joined #openttd 11:34:02 *** Gja has quit IRC 11:46:31 *** TheMask96 has quit IRC 11:48:53 *** TheMask96 has joined #openttd 11:58:24 <Samu> when we can't send aircraft to hangar, the summary message and detailed message are the same 11:59:22 <Samu> "Can't send aircraft to hangar... Can't send aircraft to hangar..." 12:04:49 <Samu> unable to find local hangar would fit well for detailed message 12:11:13 *** Gustavo6046 has joined #openttd 12:16:14 *** Gja has joined #openttd 12:43:20 *** Flygon has quit IRC 12:52:21 *** Gustavo6046 has quit IRC 12:57:14 *** Gustavo6046 has joined #openttd 12:57:54 *** Gustavo6046 has joined #openttd 12:59:05 *** Gustavo6046 has quit IRC 12:59:43 *** Gustavo6046 has joined #openttd 13:09:18 *** stefino has joined #openttd 13:19:58 *** stefino has quit IRC 13:25:40 *** stefino has joined #openttd 13:27:56 *** tokai|noir has joined #openttd 13:27:56 *** ChanServ sets mode: +v tokai|noir 13:29:06 *** Thedarkb1 has quit IRC 13:34:54 *** tokai has quit IRC 13:58:05 *** debdog has quit IRC 14:00:23 *** debdog has joined #openttd 14:08:22 *** Gja has quit IRC 14:16:34 *** Thedarkb1 has joined #openttd 14:20:51 *** Gustavo6046 has quit IRC 14:26:34 *** Gustavo6046 has joined #openttd 14:26:52 *** Gustavo6046 has quit IRC 14:30:29 *** Gustavo6046 has joined #openttd 14:30:40 *** Thedarkb1 has quit IRC 14:31:27 *** Samu has quit IRC 14:31:38 *** Samu has joined #openttd 14:50:12 *** debdog has quit IRC 14:50:53 *** Gustavo6046 has quit IRC 14:53:51 *** debdog has joined #openttd 14:56:12 *** sim-al2 has quit IRC 15:18:45 *** Alberth has joined #openttd 15:18:45 *** ChanServ sets mode: +o Alberth 15:18:51 <Alberth> o/ 15:20:32 <Samu> hi :) 15:22:09 <Samu> check this https://paste.openttdcoop.org/p13ckykxj 15:23:02 <Samu> line30 to 50 15:25:57 <Samu> the original https://hg.openttd.org/trunk.hg/file/f4cc55fdf952/src/aircraft_cmd.cpp#l113 15:29:02 <Samu> this apparently is enough to prevent the aircraft from getting stuck at depot when servicing, automatic servicing,manual sent, etc... 15:29:08 <Samu> but it's a bit more strict 15:29:38 <Samu> only valid for aircraft with range 15:31:14 <Alberth> lines 42 to 50, the computations for next and current destination are independent, aren't they? 15:31:55 <Samu> sometimes there's only 1 destination 15:32:08 <Alberth> yes 15:32:31 <Alberth> but you can make it a sequence of checks, I think 15:33:23 <Alberth> if 'next is valid' and not 'next in range' continue; 15:33:23 <Alberth> if 'current is valid' and not 'current in range' continue; 15:33:31 <Alberth> or is that wrong? 15:34:11 <Alberth> you may want to deal with current first though as it's more logical to do before the next destination 15:35:32 *** chomwitt has joined #openttd 15:38:49 <Samu> trying to understand 15:40:36 <Samu> if cur_dest is valid, and distance > aircraft limit, continue 15:41:59 <Samu> if not, dont continue yet, but check next_dest 15:42:50 <Samu> if next_dest is not valid, continue anyway 15:44:11 <Samu> hmm, i'll eventually have to repeat code, for the case cur_dest not being valid at the start? 15:46:04 <Alberth> I don't know, it's very hard to read that code 16:07:43 <Samu> ok, gonna try rewriting it in another manner 16:08:52 *** Samu_ has joined #openttd 16:08:59 <Samu_> my connection, grrr 16:09:12 <stefino> hi, guys..if I send PM message here and user is offline, will the message show to him when he turn on? thx 16:09:35 *** Samu has quit IRC 16:18:58 <Samu_> uint max_range = v->acache.cached_max_range_sqr; 16:19:12 <Samu_> this shall make code easier to the eyes :) 16:24:26 *** Cubey has joined #openttd 16:26:53 *** supermop_ has quit IRC 16:35:25 *** chomwitt has quit IRC 16:36:18 *** Progman has joined #openttd 16:40:32 <Samu_> Alberth: https://paste.openttdcoop.org/phdne9rqy 16:40:37 <Samu_> doesn't look much better 16:40:43 <Samu_> what do you say? 16:42:35 <LordAro> stefino: no 16:50:34 <Alberth> If you delete the == UINT_MAX comparison in lines 47 and 48, then line 46 is covered by those lines too, I think 16:51:04 *** Gustavo6046 has joined #openttd 16:53:02 <Alberth> https://paste.openttdcoop.org/pxkgvwdad covers all 3 lines 16:54:09 <Samu_> really? that simple? 16:54:23 <Alberth> I think so, but try it 16:54:50 <Alberth> it can be simplified further, but first this :) 16:55:33 <Samu_> testing 16:56:14 <Alberth> actually, reasoning about it is better 16:56:36 <Alberth> you have 8 cases 16:57:08 <Alberth> both current and bext can be a) invalid, b)valid and in range, c)valid and out of range 16:57:35 <Alberth> hmm, 8 cases make no sense :p 16:58:16 <Samu_> they can both be invalid 16:58:33 <Samu_> in that case, doesn't need to do a continue 16:59:23 *** johannes_ has joined #openttd 17:00:19 <johannes_> Hello, I wanted to install an openttd screensaver on Windows 7, but only found a forum article from 2008. Is this the only Windows compatible screensaver? 17:00:33 *** Stimrol has joined #openttd 17:05:23 *** ingelan has joined #openttd 17:06:20 <Samu_> seems to be working correclty Alberth 17:09:09 <Samu_> i'm planting random airports, to see what happens 17:09:22 <Samu_> and so far, no issues with dest too far 17:10:57 *** ToffeeYogurtPots has joined #openttd 17:15:13 <Samu_> i got some more code after this 17:16:51 <Samu_> automatic servicing is still behaving correctly 17:17:01 <Samu_> here's my code https://paste.openttdcoop.org/plmhkfy3k 17:17:50 <Samu_> line 42 17:17:59 <Samu_> is where FindNearestHangar is called 17:19:10 *** Progman has quit IRC 17:19:15 <Samu_> it's subjected to another DistanceSquare checking, at line 49 17:19:53 <Alberth> ok 17:20:22 <Alberth> next simplification is to use 0 instead of UINT_MAX 17:20:47 <Alberth> since 0 is always in range, you don't need to check for UINT_MAX 17:24:40 <Samu_> I see 17:25:10 <Samu_> sometimes the distance is really 0 17:25:50 <Samu_> 0 > max_range is false 17:26:13 <Samu_> cur_dist != UINT_MAX 17:26:24 <Samu_> is also false, yeah, looks like you're right 17:26:33 *** sla_ro|master has joined #openttd 17:28:06 <Samu_> if (cur_dist > max_range || next_dist > max_range) continue; 17:28:30 *** Thedarkb has joined #openttd 17:30:50 <Samu_> much prettier indeed 17:33:24 *** frosch123 has joined #openttd 17:34:48 <Alberth> o/ 17:35:02 <frosch123> hoi 17:38:22 *** HerzogDeXtEr has joined #openttd 17:49:34 *** Gja has joined #openttd 17:57:23 *** glx has joined #openttd 17:57:23 *** ChanServ sets mode: +v glx 18:05:22 *** Gustavo6046_ has joined #openttd 18:08:04 *** Wolf01 has joined #openttd 18:08:18 <Wolf01> o/ 18:11:11 *** Gustavo6046 has quit IRC 18:11:20 *** Thedarkb has quit IRC 18:16:28 *** Thedarkb has joined #openttd 18:31:07 *** Gustavo6046__ has joined #openttd 18:36:13 *** Gustavo6046__ has quit IRC 18:36:58 *** Gustavo6046 has joined #openttd 18:38:21 *** Gustavo6046_ has quit IRC 18:58:04 *** ToBeFree has joined #openttd 19:04:49 *** Wormnest has joined #openttd 19:12:59 *** ingelan has left #openttd 19:36:39 *** andythenorth has joined #openttd 19:36:45 <Alberth> o/ 19:36:51 <Wolf01> o/ 19:37:18 <V453000> yo 19:37:29 <Wolf01> "Predictive Analytics with Python" might be interesting 19:44:14 <Alberth> what's Analytics here? 19:44:24 <Wolf01> https://www.packtpub.com/packt/offers/free-learning 19:45:33 *** Gja has quit IRC 19:46:38 <Samu_> reading books, ugh... 19:46:55 <Samu_> not my strong point 19:47:05 <Wolf01> We noticed 19:47:07 <Alberth> I got that, but what is Analytics? I can't place it 19:47:29 <Alberth> or Predictive Analytics, for that matter 19:48:04 <Wolf01> Data set analysis and prediction models based on what you got from the analysis? 19:48:31 *** quiznilo has joined #openttd 19:48:51 <Alberth> hmm, prediction models, that sounds useful 19:49:52 <Wolf01> Something like statistics I think 19:49:55 <Wolf01> Big data 19:50:42 *** Gja has joined #openttd 19:50:55 <Alberth> statistics would be boring, I know that :p 19:51:04 <Alberth> it's a predictive model though :p 20:01:46 <andythenorth> hi 20:23:12 *** none has joined #openttd 20:24:35 *** none has joined #openttd 20:29:24 *** ToffeeYogurtPots has quit IRC 20:33:01 *** gelignite has joined #openttd 20:51:21 *** Alberth has left #openttd 20:52:35 <johannes_> Hey, does anyone know an openttd screensaver for Windows 7? I found one in a forum, but this was from 2008 21:07:37 *** ToBeFree has quit IRC 21:11:53 *** stefino has quit IRC 21:16:28 *** Samu_ has quit IRC 21:17:39 *** sla_ro|master has quit IRC 21:36:39 *** gelignite has quit IRC 21:40:11 *** frosch123 has quit IRC 21:44:00 *** none has quit IRC 21:44:19 *** none has joined #openttd 21:48:07 *** sim-al2 has joined #openttd 21:52:43 *** andythenorth has quit IRC 22:07:30 *** Stimrol has quit IRC 22:10:53 <Wolf01> 'night 22:10:56 *** Wolf01 has quit IRC 22:15:20 *** Samu has joined #openttd 22:20:39 *** Gustavo6046 has quit IRC 22:21:15 *** Gustavo6046 has joined #openttd 22:23:11 *** Progman has joined #openttd 22:25:08 *** Gja has quit IRC 22:29:46 *** Gja has joined #openttd 22:48:57 *** Wormnest has quit IRC 22:51:52 *** Gustavo6046 has joined #openttd 22:59:03 *** HerzogDeXtEr has quit IRC 23:01:53 *** Thedarkb has quit IRC 23:16:46 *** Progman has quit IRC 23:27:34 *** Thedarkb has joined #openttd 23:59:02 *** Samu has quit IRC