Times are UTC Toggle Colours
00:01:41 *** blathijs has joined #openttd 00:05:10 *** Supercheese has joined #openttd 00:12:57 *** snail_UES_ has joined #openttd 00:26:30 *** Thedarkb has quit IRC 00:31:36 <ANIKTHOS> okey change the code and now there are no bugs !?!?!? but i do nto get why the bug was there to begin with grrrrr 00:50:20 *** tokai|noir has joined #openttd 00:50:20 *** ChanServ sets mode: +v tokai|noir 00:55:23 *** Lejving has quit IRC 00:57:31 *** tokai has quit IRC 01:06:41 *** mikegrb_ is now known as mikegrb 01:27:29 *** Supercheese has quit IRC 02:02:58 *** Supercheese has joined #openttd 02:31:23 <ANIKTHOS> anyone here or all sleeping?? 02:35:37 *** muffindrake1 has joined #openttd 02:37:28 *** muffindrake has quit IRC 02:39:33 *** Mahjong2 has joined #openttd 02:45:43 <ANIKTHOS> good night all see you tomorow 02:46:31 *** Mahjong1 has quit IRC 02:48:47 *** Flygon has joined #openttd 02:58:18 *** ANIKTHOS has quit IRC 03:01:53 *** ToffeeYogurtPots has quit IRC 03:03:37 *** ToffeeYogurtPots has joined #openttd 03:15:42 *** glx has quit IRC 03:32:38 *** KouDy has joined #openttd 03:33:43 *** KouDy has quit IRC 03:38:21 *** KouDy has joined #openttd 03:46:38 *** KouDy has quit IRC 03:52:54 *** triolus has quit IRC 04:20:43 *** Thedarkb-X40 has quit IRC 04:26:46 *** Supercheese has quit IRC 04:27:02 *** Supercheese has joined #openttd 04:31:21 *** KouDy has joined #openttd 04:42:16 *** snail_UES_ has quit IRC 05:30:18 *** testuser123 has left #openttd 05:51:03 *** planetmaker_ has joined #openttd 05:55:05 *** Cubey has quit IRC 06:16:11 *** andythenorth has joined #openttd 06:48:10 *** andythenorth has quit IRC 06:55:17 *** andythenorth has joined #openttd 06:55:47 <dihedral> oi 06:59:00 <andythenorth> o/ 07:03:40 *** Flygon_ has joined #openttd 07:10:56 *** Flygon has quit IRC 07:18:16 *** chomwitt has joined #openttd 07:20:45 *** andythenorth has quit IRC 07:24:06 *** gelignite has joined #openttd 07:39:56 *** WWacko1976-work has joined #openttd 07:53:51 *** planetmaker_ has quit IRC 08:07:45 *** sim-al2 is now known as Guest6046 08:07:45 *** sim-al2 has joined #openttd 08:08:47 *** Guest6046 has quit IRC 08:14:19 *** andythenorth has joined #openttd 08:15:00 *** chomwitt has quit IRC 08:21:57 *** chomwitt has joined #openttd 08:22:20 *** Supercheese has quit IRC 08:23:19 *** andythenorth has quit IRC 08:23:56 *** andythenorth has joined #openttd 08:28:49 *** andythenorth has quit IRC 08:51:23 *** ToffeeYogurtPots has quit IRC 08:51:50 *** ToffeeYogurtPots has joined #openttd 09:19:41 *** Thedarkb has joined #openttd 09:29:24 *** andythenorth has joined #openttd 09:45:23 *** gelignite has quit IRC 10:11:06 *** KouDy has quit IRC 10:19:48 *** KouDy has joined #openttd 10:44:14 *** KouDy has quit IRC 11:01:37 *** Wacko1976 has joined #openttd 11:19:40 *** KouDy has joined #openttd 11:22:07 *** roidal has joined #openttd 11:45:07 <peter1138> Well, that's odd. I managed to get 4 portions - 4 days - out of a big bag of crisps. They normally go in one sitting... 11:46:35 <Eddi|zuHause> that never happens 11:47:31 <Eddi|zuHause> with snacks like that, the bag size doesn't matter. as soon as it's open, it's empty 11:49:23 <dihedral> https://9gag.com/gag/azbpwAj/the-biggest-bag-of-cheetos-ive-ever-seen 11:49:25 <dihedral> good luck 12:07:51 <planetmaker> http://lkml.iu.edu/hypermail/linux/kernel/1806.2/05042.html <-- hm, I like how the actual contributors to a specific release are thanked in the release notes. Especially also the distinction between new contributors and returning 12:08:39 <planetmaker> dihedral, I give that bag a half-life time of about 60 minutes :D 12:08:48 <andythenorth> planetmaker: good point 12:08:50 <Eddi|zuHause> i mean, when i buy such stuff i must switch my mental heuristic from "look at the kg price and pick the lower one" to "pick the smaller bag, even though the per kg price is higher" 12:08:57 <andythenorth> and we have lots of new contributors 12:09:11 <planetmaker> yep, that's why :) 12:09:13 <andythenorth> so glad we ditched flyspray and forums 12:09:20 <planetmaker> well... forums? 12:09:37 <Eddi|zuHause> nobody ditched the forum... except some ragequitters 12:09:47 <planetmaker> they still are there. But yeah, seems that switching to github did quite a lot to put some new life to OpenTTD development 12:09:59 <andythenorth> we ditched them as the pipeline for development 12:10:04 <planetmaker> Quite happy to see that. 12:10:05 <andythenorth> we did it by accident years ago 12:10:15 <andythenorth> we just never mentioned it :P 12:10:19 <planetmaker> hehe 12:11:10 <andythenorth> 'Development' should be 'Patchpacks' ;) 12:11:32 <andythenorth> and 'Suggestions' should just be shuttered 12:11:33 <Eddi|zuHause> github tickets are fine for deeper one-to-one or one-to-few communications, but forums are better for things that need a larger audience 12:12:16 <andythenorth> can't we just leave the larger audience to reddit? 12:12:33 <Eddi|zuHause> you cannot have a "we need some input to find a railtype consensus" discussion on github 12:12:45 <Eddi|zuHause> i have never used reddit 12:12:49 <andythenorth> me neither 12:12:51 <andythenorth> but peopl do 12:13:14 <andythenorth> I think the forums are incredibly poor for any form of consensus 12:13:35 <Eddi|zuHause> that may be true, but github is definitely worse 12:14:10 <andythenorth> no argument 12:14:11 *** KouDy has quit IRC 12:14:20 <andythenorth> I don't have a solution for consensus, except irc 12:14:41 <Eddi|zuHause> "democracy is the worst type of government. except for all others" 12:14:46 <andythenorth> that 12:14:55 <andythenorth> I also think forums are accidentally quite toxic 12:15:05 <andythenorth> specifically tt-forums 12:15:27 <Eddi|zuHause> nah, you haven't seen really toxic forums then :p 12:15:33 <andythenorth> I have 12:15:39 <andythenorth> but they're usually deliberate 12:15:50 <andythenorth> ED or whatever 12:16:34 <Eddi|zuHause> i've gotten threatening hatemail from posting into a forum once 12:20:51 *** Wacko1976 has quit IRC 12:24:03 *** Thedarkb has quit IRC 12:25:06 *** TheMask96 has quit IRC 12:28:35 <peter1138> dihedral, cheetos are not crisps, they're just disgusting. 12:29:40 *** TheMask96 has joined #openttd 12:30:27 <peter1138> tt-forums is very tame. 12:30:30 <dihedral> peter1138, but the size of the bag.... 12:30:49 <dihedral> wanna see you finish that off in one sitting 12:30:57 <peter1138> Yeah, no thanks. 12:31:03 <dihedral> :-P 12:31:10 <peter1138> I'm slim these days :p 12:31:12 <dihedral> apparently pm only needs 30 minutes 12:31:38 <peter1138> He said 60 minutes to get through half of it. 12:36:46 <andythenorth> mmm 12:36:48 <andythenorth> tanks 12:37:17 <Eddi|zuHause> i think the problem is the other half :p 12:37:41 <Eddi|zuHause> also, i don't really have a clue what cheetos taste like 12:38:42 <peter1138> Cheesey, but not good cheesey. 12:48:47 *** snail_UES_ has joined #openttd 12:49:44 <andythenorth> it's snail_UES_ 12:49:54 <snail_UES_> hi andythenorth 12:53:30 *** KouDy has joined #openttd 12:55:51 <Eddi|zuHause> i don't actually like cheese 12:56:10 <andythenorth> cheese economy in FIRS? 12:56:45 <Eddi|zuHause> except when it was heated, like on pizza and stuff 12:59:15 *** snail_UES_ has quit IRC 13:05:40 <peter1138> Plenty of nice cheeses that wouldn't work on a pizza. 13:06:55 <andythenorth> manchego? 13:07:19 <peter1138> camembert> 13:07:37 <peter1138> Gruyere 13:07:40 <peter1138> Gorgonzola 13:07:56 <peter1138> Gouda 13:08:07 <peter1138> Roquefort 13:08:22 <peter1138> Damn, now I want a nice cheese platter. 13:08:47 <peter1138> gruyere is perfect for pizza, apparently. oops. 13:09:25 <peter1138> Stilton pizza! 13:12:00 <andythenorth> peter1138 -> sainsburys 13:15:21 *** nielsm has joined #openttd 13:17:07 <peter1138> They have a good range of cheese? 13:19:22 <dihedral> they have good forzen pizza :-D 13:25:48 <peter1138> Meh 13:35:05 <LordAro> peter1138: am without bike until tuesday :( 13:41:18 <peter1138> Oh no! 13:41:30 <peter1138> How come? 13:41:34 <peter1138> Also, just add more :D 13:41:39 *** supermop_work has joined #openttd 13:43:56 <andythenorth> only 1 bike? 13:44:00 <andythenorth> that's admin failure 13:45:24 <LordAro> peter1138: in t'shop get its drivechain replaced 13:45:30 <LordAro> or chainset 13:45:35 <LordAro> i don't know terminology 13:46:00 <LordAro> chain, cassette, rear dereilleur, large chainwheel 13:46:15 <peter1138> :o 13:46:24 <LordAro> much expense 13:46:27 <peter1138> Yeah. 13:46:41 <peter1138> If you wore out a chainring, the chain was long gone :p 13:46:49 <LordAro> but i've not been spending that money on a car, so eh 13:46:53 <peter1138> :D 13:47:09 <peter1138> This is why you have a cheapish steel bike on the side. 13:47:16 <LordAro> i do 13:47:21 <peter1138> Oh. 13:47:21 <LordAro> but it has no rear brake 13:47:30 <peter1138> Oh. Well it needs to be rideable! 13:47:59 <LordAro> and there's a distinct possibility i might be able to get rid of it this weekend anyway 13:49:46 *** KouDy has quit IRC 14:02:45 *** sim-al2 has quit IRC 14:03:32 *** Alberth has joined #openttd 14:03:32 *** ChanServ sets mode: +o Alberth 14:04:05 <peter1138> Rid of it? You need N+1 bikes! 14:04:31 <peter1138> Hmm, maybe I should do a ride this evening. 14:04:44 <peter1138> Or merge NRT when andythenorth updates it. 14:06:51 *** ANIKHTOS has joined #openttd 14:07:21 <ANIKHTOS> hello how are you today?? 14:15:31 <ANIKHTOS> damn i delete yesterday the files i have changed lol now i have to make them again 14:16:22 <nielsm> learn git 14:16:30 <nielsm> and you wouldn't have that problem 14:22:11 <ANIKHTOS> nielsm can i use printif to see if a function is executed?? 14:23:26 <ANIKHTOS> printf(functionname?/) or printif only owrks for variables?? 14:23:55 <nielsm> just put a printf call as the first thing in the function 14:24:06 <nielsm> printf("now inside thefunction"); 14:25:08 <ANIKHTOS> i have the feeling that it skips a function 14:27:02 <LordAro> i can guarantee you have not found a compiler bug 14:27:07 <LordAro> it is an issue in your logic 14:29:09 <ANIKHTOS> if ( _settings_game.game_creation.slow_time_factor==_dayn){ this line 14:29:29 <ANIKHTOS> and this line if (_dayn== _settings_game.game_creation.slow_time_factor){ 14:29:36 <ANIKHTOS> whats the difference lordara?? 14:29:44 <Alberth> none, it's elsewhere 14:29:54 <ANIKHTOS> one makes the game to bug and not execute code 14:29:59 <ANIKHTOS> and the other is okey 14:30:04 <Alberth> proof it 14:30:19 <ANIKHTOS> when i runt the code with ine lien i have bug 14:30:25 <ANIKHTOS> when i run the code with the other line 14:30:28 <ANIKHTOS> i have no problem 14:30:33 <ANIKHTOS> this is not proof?? 14:30:43 <ANIKHTOS> no other change only this line 14:30:54 <Alberth> which two revisions do you talk about? 14:31:33 <ANIKHTOS> if (_dayn== _settings_game.game_creation.slow_time_factor){ this line make the gane to bug 14:31:34 <Alberth> I am sure you are convinced that's the only change, but it defies all logic 14:31:50 <Alberth> I need 2 revision hashes in a git repo 14:32:15 <Alberth> and proof that one of them has a problem and the other one has not 14:33:32 <ANIKHTOS> okey how i make them in the git the 2 hashes 14:34:14 <Alberth> verify a version has a problem, commit, change code, verify there is no problem, commit 14:34:55 <Eddi|zuHause> Alberth: that's missing a bunch of steps like "install git", and "make a clone" :p 14:35:50 <ANIKHTOS> well git is isntalled witht he compiller packages 14:36:11 <Alberth> however I don't see how you are going to get "no problem" after this change 14:37:01 *** Gja has joined #openttd 14:37:05 <ANIKHTOS> well i am not gettign the issue any more 14:37:20 <ANIKHTOS> and thats what i am askign all this days 14:37:39 <ANIKHTOS> the change i amke ought to change nothign but i see a difference in the game 14:37:52 <Alberth> how? 14:37:55 <Eddi|zuHause> so what happens if you change it back? 14:38:07 <ANIKHTOS> i get the bug again 14:38:11 <Alberth> what change are you making exactly 14:38:33 <Alberth> not on chat, in a repository 14:38:55 <ANIKHTOS> can i upload all change file sin the forum??? 14:39:06 <ANIKHTOS> the 2 date.cpp will be changed only by 1 line 14:39:06 <Eddi|zuHause> ANIKHTOS: we need the full code, that is easiest with git 14:39:24 <ANIKHTOS> all changed files are not all the code?? 14:39:29 <Eddi|zuHause> no 14:39:33 <Alberth> you cleaned the project and did a full rebuild between the changes? 14:40:13 <ANIKHTOS> clean ?? delete everythign and try again?? 14:40:14 <Alberth> you are not running a compiler cache? 14:40:26 *** WWacko1976-work has quit IRC 14:40:30 <nielsm> clean means "make clean" 14:40:34 <Alberth> just remove all built artefacts, and build it again 14:40:37 <Alberth> ^ 14:40:47 <nielsm> that's a special make command that removes the compiled files but keeps all source code 14:41:02 <nielsm> to make sure nothing is unintentionally left behind from an old compile 14:41:10 <Eddi|zuHause> all the the temporary files that the compiler creates 14:41:59 <ANIKHTOS> okey wait i will 2 2 fresh compiles 14:42:09 <ANIKHTOS> 1 with one code and 1 witht he other code 14:43:08 <Alberth> result shouldn't change, but it does, so it's about elimination possible other sources of the error 14:45:06 <ANIKHTOS> so is it recomended to use the make clean every time?? 14:45:17 <ANIKHTOS> or compile from cache thats faster?? 14:46:36 <nielsm> a compiler cache can save time recompiling, but you need to be really careful if usince one since it can introduce errors 14:47:38 <andythenorth> peter1138: update what again? 14:48:06 <ANIKHTOS> so not recomended go the slow way 14:49:05 *** Wormnest has joined #openttd 14:50:34 <peter1138> andythenorth, fix the conflict. 14:50:49 <andythenorth> oh such conflicts :) 14:51:01 <peter1138> Easy to resolve :p 14:51:43 <andythenorth> "Was the merge successful [y/n]?" 14:51:46 <andythenorth> "n" 14:52:41 <andythenorth> REMOTE is more likely to be correct, no? 14:54:18 <andythenorth> hmm 14:54:28 <andythenorth> can't resolve the road_gui.cpp conflicts 14:55:12 <andythenorth> it's the fix to https://github.com/OpenTTD/OpenTTD/issues/6659 15:05:56 <peter1138> For the language change, you want the newer text. 15:06:58 <peter1138> For road_gui.cpp you need to apply both sets of changes. 15:08:17 <peter1138> Specifically reapply the "_cur_roadtype_identifier.Pack() << 5 | (_ctrl_pressed << 2)" change to the new code, and make sure DDSP_CONVERT_ROAD is still in place. 15:08:56 <peter1138> Something like https://paste.openttdcoop.org/pbdpjnqul 15:10:11 <nielsm> peter1138 what's so bad about auto? :( 15:11:23 <peter1138> It hides the type. 15:11:36 <peter1138> I realise that's kinda the point. 15:11:46 <peter1138> You don't have to care. But we care ;) 15:14:25 <LordAro> depends on the context, i'd say 15:14:42 <LordAro> shouldn't use auto if there's no reference to the type anywhere 15:14:56 <LordAro> auto foo = bar(); 15:14:57 <LordAro> e.g. 15:15:24 <LordAro> but if it's something like a constructor, or the type really doesn't matter (loop iterators)... 15:15:45 <nielsm> auto bar = foo + 1; // will "obviously" be same type as foo 15:16:37 <andythenorth> where is Wolf? :P 15:16:41 <andythenorth> @seen Wolf01 15:16:41 <DorpsGek> andythenorth: Wolf01 was last seen in #openttd 18 hours, 45 minutes, and 37 seconds ago: <Wolf01> 'night 15:23:29 <nielsm> peter1138 how about lines like this? auto item_size = GetStringBoundingBox(STR_FRAMERATE_VALUE); 15:23:52 <nielsm> IMO that's sufficiently clear 15:24:16 <peter1138> 1. Not really. 15:24:20 <peter1138> 2. We don't do that anywhere else. 15:24:58 <nielsm> auto caption = this->GetWidget<NWidgetLeaf>(WID_FRW_CAPTION); 15:25:08 <nielsm> in that I'd be repeating NWidgetLeaf as the type 15:30:05 * nielsm avoids the problem in a different way 15:30:07 *** cHawk has quit IRC 15:31:43 <ANIKHTOS> great i lost the files and now i can not compile the files i have are missing some changes grrrrrr 15:32:01 <Alberth> maybe you want a BaseWidget :) 15:33:16 <Alberth> widgets are extended with their functionality, but in general you should use the more generic type, imho 15:33:41 <Alberth> learn to use git, ANIKHTOS ? 15:34:01 <nielsm> in this case it's SetDataTip I need from the control 15:34:52 <Alberth> ah, fair enough 15:35:01 *** HerzogDeXtEr has joined #openttd 15:38:32 *** HerzogDeXtEr has quit IRC 15:47:12 <Eddi|zuHause> https://xkcd.com/1313/ <-- i think the alt text from that doesn't work anymore 15:47:30 *** HerzogDeXtEr has joined #openttd 15:50:03 *** KouDy has joined #openttd 15:56:28 <andythenorth> :) 15:56:54 <LordAro> Eddi|zuHause: http://nbviewer.jupyter.org/url/norvig.com/ipython/xkcd1313.ipynb 15:57:30 *** Progman has joined #openttd 15:58:26 <Eddi|zuHause> LordAro: ok, that clarification is necessary :p 16:00:41 *** Thedarkb has joined #openttd 16:03:13 <LordAro> Eddi|zuHause: :p 16:04:20 <ANIKHTOS> i will go to the corner to cry see you all tomorow now i have to figure otu what changes i doen last 2 days :-( 16:04:23 *** ANIKHTOS has quit IRC 16:04:50 <Eddi|zuHause> well, he could have spent these 2 days learning git 16:05:07 <LANJesus> homp 16:05:09 <LANJesus> +w 16:05:55 <Eddi|zuHause> also, usually the second implementation is better anyway. under the assumption that you learned how to avoid the mistakes from the first try 16:05:58 *** Cubey has joined #openttd 16:06:56 *** Progman_ has joined #openttd 16:10:55 *** KouDy has quit IRC 16:11:03 *** Progman has quit IRC 16:11:16 *** Progman_ is now known as Progman 16:11:28 *** cHawk has joined #openttd 16:19:29 *** MasterDesaster has joined #openttd 16:21:20 <MasterDesaster> Hi, I'm currently having an issue with OpenTTD (1.8.0) but can't really find a solution. If I try to pan the minimap everything goes crazy and I'm stuck in a corner of the map. 16:21:36 <MasterDesaster> If anyone would have an idea that would be pretty neat. 16:22:02 <MasterDesaster> The one thread google shows me doesn't have a solution that seems to work for me. 16:22:03 <Eddi|zuHause> uhm, that was meant to be solved? 16:22:25 <LordAro> not fixed in any released version, iirc 16:22:37 <Eddi|zuHause> try a nightly 16:22:53 <LordAro> the workaround is to use arrowkeys 16:23:39 <MasterDesaster> I'm able to scroll the big regular game map but the minimap (the one that shows industries, all the towns with names etc.) is bugging out. 16:23:58 <MasterDesaster> I'll give a nightly build a shot. 16:24:28 <LordAro> it occurs to me a prebuilt nightly might not work either... 16:26:20 *** frosch123 has joined #openttd 16:26:35 *** Flygon_ has quit IRC 16:27:51 <MasterDesaster> Nope, nightly has the same bug for me. Guess I'll just work around it for now then. 16:29:00 <MasterDesaster> Could/Should I report it in some way? 16:29:41 <Eddi|zuHause> wouldn't hurt 16:30:17 <Eddi|zuHause> open a ticket at github.openttd.org 16:31:18 <MasterDesaster> Will do. I'll try to figure out some steps to make it reproduceable. Seems like it migt actually be an issue with my machine ... all of the sudden it's working in the nightly - most of the time. 16:33:45 <Eddi|zuHause> iirc we had some issues a few months ago, where windows changed the way mouse pointer movement was controlled. because when scrolling, we need to know how much the pointer moved, but also move it back to the original position 16:37:14 <MasterDesaster> I'll try to get some testing with a regular mouse. I'm currently on a laptop so the touchpad (dirvers) might be doing funky stuff. 16:38:03 <MasterDesaster> Thanks for your help and input! 16:42:31 <peter1138> Current nightly is out of date. 16:43:00 *** andythenorth has quit IRC 16:43:02 <nielsm> are you on windows, mac, linux? 16:43:39 *** synchris has joined #openttd 16:44:07 <MasterDesaster> Windows 16:44:35 <MasterDesaster> Windows 10 1607 (Enterprise LTSB) 16:44:41 <nielsm> and you're using a touchpad to scroll? 16:44:56 <nielsm> with two-finger gesture scrolling, or click-drag panning? 16:46:12 <MasterDesaster> Those gestures should be off I'll to find them again. ... Looks like the menu for that is currently missing for some reason. 16:47:22 <MasterDesaster> And I can't currently use them to scroll in other programs. 16:47:45 <nielsm> okay 16:48:32 <nielsm> I don't think OTTD does anything to specifically intercept multitouch gestures on windows, just take in "translated" mouse wheel style messages 16:48:47 <MasterDesaster> But it's a good point. After seeing that it kind of works sometimes it's one of the suspicions that popped up for me that the touchpad gestures might be funky. hence the idea to test with a regular mouse 16:49:13 <nielsm> maybe I should dig out my own laptop for a bit... 16:49:34 <nielsm> or try with that HTPC wireless-keyboard-with-touchpad I have around 16:50:59 <MasterDesaster> Don't do too much work. I'm probably some kind of special snow flake. 16:52:01 <Eddi|zuHause> MasterDesaster: doesn't mean the issue shouldn't be isolated and hopefully fixed 16:53:01 <nielsm> okay two-finger gestures in the main view definitely just do zooming for me 16:53:13 *** KouDy has joined #openttd 16:54:11 <nielsm> but can't reproduce any problems with scrolling or moving around the minimap 16:58:21 <MasterDesaster> Changing locaiton, be back in a bit 16:59:56 *** MasterDesaster has quit IRC 17:30:51 <nielsm> peter1138: Have you been able to reproduce any assert(newpoint.x <= lastpoint.x) errors? I mean I could take the line out and the worst that would happen was some visual glitching in a couple corner cases, but fixing it properly is preferable... 17:35:02 <LordAro> nielsm: ooh, i managed that last night - i opened a couple of graphs, turned on fast forward, then opened the sound graph 17:42:18 <LordAro> there was something weire about the graphs on fast forward as well, like it wae only using half the width of the graph to display it 17:42:39 <nielsm> that's because it records 512 points of data 17:42:54 <nielsm> if more than that is required to cover two seconds, it can't render it all 17:47:28 *** glx has joined #openttd 17:47:28 *** ChanServ sets mode: +v glx 17:55:43 <nielsm> but I do reproduce the assert with the sound graph 17:57:07 <nielsm> hmm is there a good way to get a long list of values out of the debugger? :( 17:57:30 <nielsm> I'd really like to fetch the durations and timestamps arrays into excel and look at the numbers 17:59:56 <Alberth> write a function that prints them or writes them to file, call that function from the debugger 18:01:10 <Alberth> maybe you can tune the output of the debugger as well 18:01:18 <Alberth> but no idea :) 18:08:31 *** MasterDesaster has joined #openttd 18:08:36 *** Cthulhux has joined #openttd 18:08:54 <nielsm> made a loop in the code that dumps it all to console 18:12:50 *** MasterDesaster has quit IRC 18:13:28 *** ANIKHTOS has joined #openttd 18:14:02 <ANIKHTOS> i foudn the files only lost last night changes which is nto that important 18:14:20 <ANIKHTOS> now make the 2 clean compiles 18:22:22 *** ToffeeYogurtPots has quit IRC 18:22:54 *** ANIKHTOS has quit IRC 18:23:22 *** supermop_work has quit IRC 18:24:51 *** ANIKHTOS has joined #openttd 18:25:22 <ANIKHTOS> opera auto update grrr does anyone use opera portable?? and knows how to disable auto update?? 18:27:43 *** andythenorth has joined #openttd 18:28:11 *** supermop_work has joined #openttd 18:29:40 *** sla_ro|master has joined #openttd 18:32:11 <nielsm> I'm staring at the numbers and everything looks fine... maybe it's a race? 18:41:09 *** andythenorth has quit IRC 18:41:20 *** iSoSyS has joined #openttd 18:42:51 *** andythenorth has joined #openttd 18:46:09 <ANIKHTOS> i am making a mess in my github account 18:46:58 *** Thedarkb has quit IRC 18:55:36 <Alberth> that's normal while learning git 18:56:35 <andythenorth> ugh 18:56:45 <andythenorth> I don't understand how to do a merge without doing a merge 18:58:33 *** gelignite has joined #openttd 18:59:04 <Alberth> git merge --ff-only ? 18:59:07 *** roidal has quit IRC 18:59:12 <ANIKHTOS> okey i make an empty repository 18:59:50 <Alberth> or git rebase could also do 'merge' 18:59:59 <nielsm> andythenorth, git pull --rebase ? 19:00:15 <andythenorth> yeah but I have conflicts 19:00:28 <andythenorth> it's probably all fine 19:00:35 <Alberth> that will then happen with any option you pick 19:01:00 <andythenorth> the problem I see 19:01:08 <andythenorth> is that I have to make manual edits to resolve the conflict 19:01:14 <andythenorth> but NRT needs to be a single commit 19:01:20 <andythenorth> so eh 19:01:33 <andythenorth> moar git :P 19:01:44 <Alberth> 1 fix conflict 2 rebase -i to fix the commit sequence 19:01:59 <andythenorth> yes 19:09:59 <glx> and of course don't push before the commit sequence is fixed 19:19:39 *** Smedles has joined #openttd 19:19:39 *** Smedles_ has quit IRC 19:25:18 *** Smedles_ has joined #openttd 19:28:26 *** Smedles has quit IRC 19:32:18 <nielsm> okay, the bug was integer overflow 19:33:05 <ANIKHTOS> which bug ?? 19:33:54 <nielsm> in my graph drawing code 19:34:58 <nielsm> https://0x0.st/s9TE.png <- it was drawing at the coordinates in "x", instead of at those in "correct x" 19:36:19 <ANIKHTOS> good you solve it :-_ 19:36:56 <nielsm> multiplying values in the range around 10-20 million with 200 will yield values in the 2 to 4 billion range, which overflows 32 bit integers 19:37:03 <nielsm> obvious in retrospect :) 19:38:35 *** Wolf01 has joined #openttd 19:38:50 <Wolf01> o/ 19:38:56 <ANIKHTOS> hello wolf 19:39:22 <ANIKHTOS> in retrospective a lot is obvious th eproblem is when you are trying to do smehtign there are no obvious 19:39:22 <LordAro> nielsm: ha 19:41:43 <nielsm> pushed :) 19:43:23 <andythenorth> lo Wolf01 19:43:51 <LordAro> nielsm: you've taken a look at the warnings under gcc, right? 19:43:58 <nielsm> not yet 19:44:18 <nielsm> going to check those out when the current CI builds finish 19:45:40 <LordAro> nielsm: ah, i see what you mean about the graph width 19:45:48 <LordAro> still looks really weird though, like it's broken 19:45:54 <LordAro> could it not scale accordingly? 19:46:15 <nielsm> yeah I could try to decrease horz scale to 1 second if data is really tight 19:54:45 <nielsm> any chance of moving the VS projects to use /W4 instead of /W3 ? 19:56:24 *** HerzogDeXtEr has quit IRC 19:57:28 <nielsm> hmm it does make a lot of noise... :s 19:57:59 <LordAro> ha 19:59:04 <nielsm> https://0x0.st/s9Tn.txt 19:59:10 <nielsm> that's with /Wall enabled 20:00:46 <LordAro> that's surely just recompiling framerate_gui.cpp 20:00:50 <nielsm> yes 20:00:52 <LordAro> rather than everything :p 20:01:57 <nielsm> I like that it even produces warnings from the system headers 20:04:13 *** KouDy has quit IRC 20:05:55 <Alberth> padding warnings are a bit silly 20:05:56 <LordAro> about adding padding too, the worst of the warnings 20:06:35 <Alberth> ok, a lot silly :) 20:08:23 *** Alberth has left #openttd 20:11:45 *** KouDy has joined #openttd 20:16:29 <nielsm> hopefully this is better... 20:37:18 *** Smedles has joined #openttd 20:37:18 *** Smedles_ has quit IRC 20:48:58 *** cHawk has quit IRC 20:51:32 *** sla_ro|master has quit IRC 20:56:13 <nielsm> hm one more warning from clang and gcc, pushing a fix for it next time I have other changes anyway 20:57:19 <LordAro> :) 20:59:35 *** cHawk has joined #openttd 21:03:19 *** gelignite has quit IRC 21:04:28 *** andythenorth has quit IRC 21:05:55 *** sim-al2 has joined #openttd 21:06:21 <ANIKHTOS> re writing my code to use less variables 21:23:04 *** synchris has quit IRC 21:23:33 *** andythenorth has joined #openttd 21:35:35 *** nielsm has quit IRC 21:40:09 *** andythenorth has quit IRC 21:41:34 *** frosch123 has quit IRC 22:04:40 <ANIKHTOS> adiso see you all tomorow 22:04:48 *** ANIKHTOS has quit IRC 22:23:31 <Wolf01> 'night 22:23:35 *** Wolf01 has quit IRC 23:04:46 *** Progman has quit IRC 23:17:53 *** supermop_work has quit IRC 23:18:31 *** Wormnest has quit IRC 23:45:00 *** KouDy has quit IRC 23:46:00 *** techmagus has quit IRC 23:49:20 *** snail_UES_ has joined #openttd 23:50:35 *** Gja has quit IRC