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