Config
Log for #openttd on 25th September 2018:
Times are UTC Toggle Colours
00:15:44  *** Gustavo6056 has joined #openttd
00:21:54  *** snail_UES_ has joined #openttd
00:23:02  *** Gustavo6046 has quit IRC
00:23:02  *** Gustavo6056 is now known as Gustavo6046
00:38:57  *** Mazur has quit IRC
00:54:44  *** reldred has quit IRC
00:54:48  *** reldred` has joined #openttd
00:55:16  *** reldred` is now known as reldred
01:01:02  *** Mazur has joined #openttd
01:14:44  *** Laedek has quit IRC
01:14:55  *** Laedek has joined #openttd
01:15:40  *** Gustavo6056 has joined #openttd
01:17:33  *** Flygon has joined #openttd
01:20:45  *** Laedek has quit IRC
01:23:02  *** Gustavo6046 has quit IRC
01:23:02  *** Gustavo6056 is now known as Gustavo6046
01:35:26  *** WWacko1976-work has joined #openttd
01:51:15  *** crem4 has quit IRC
01:51:36  *** crem4 has joined #openttd
01:57:56  *** ST2 has quit IRC
01:58:01  *** ST2 has joined #openttd
01:58:44  *** Vadtec has quit IRC
01:58:52  *** Vadtec has joined #openttd
01:59:32  *** k-man has quit IRC
01:59:55  *** k-man has joined #openttd
02:16:02  *** Gustavo6056 has joined #openttd
02:21:24  *** Supercheese has joined #openttd
02:23:03  *** Gustavo6046 has quit IRC
02:23:03  *** Gustavo6056 is now known as Gustavo6046
02:39:15  *** urdh has quit IRC
02:39:57  *** urdh has joined #openttd
03:00:02  *** rocky113844 has quit IRC
03:11:25  *** glx has quit IRC
03:15:59  *** Gustavo6056 has joined #openttd
03:23:03  *** Gustavo6046 has quit IRC
03:23:03  *** Gustavo6056 is now known as Gustavo6046
03:36:40  *** Laedek has joined #openttd
03:36:54  *** haudrauf has quit IRC
03:37:12  *** Laedek has quit IRC
03:37:54  *** haudrauf has joined #openttd
04:00:25  *** Laedek has joined #openttd
04:10:27  *** Sheogorath has quit IRC
04:10:31  *** Sheogorath has joined #openttd
04:15:58  *** Gustavo6056 has joined #openttd
04:23:37  *** Gustavo6046 has quit IRC
04:23:37  *** Gustavo6056 is now known as Gustavo6046
04:26:37  *** snail_UES_ has quit IRC
04:56:51  *** OsteHovel has quit IRC
04:57:02  *** OsteHovel has joined #openttd
05:09:55  *** Supercheese has quit IRC
05:10:19  *** Supercheese has joined #openttd
05:16:24  *** Gustavo6056 has joined #openttd
05:22:07  *** Gustavo6046 has quit IRC
05:22:07  *** Gustavo6056 is now known as Gustavo6046
05:40:48  *** Supercheese has quit IRC
06:13:04  *** gelignite has joined #openttd
06:16:17  *** Gustavo6056 has joined #openttd
06:22:43  *** Gustavo6046 has quit IRC
06:22:43  *** Gustavo6056 is now known as Gustavo6046
07:16:35  *** Gustavo6056 has joined #openttd
07:23:18  *** Gustavo6046 has quit IRC
07:23:18  *** Gustavo6056 is now known as Gustavo6046
08:03:45  *** Laedek_ has joined #openttd
08:10:48  *** Laedek has quit IRC
08:16:03  *** avdg has quit IRC
08:16:23  *** avdg has joined #openttd
08:16:47  *** Gustavo6056 has joined #openttd
08:16:51  *** Ammler has quit IRC
08:17:23  *** Ammler has joined #openttd
08:18:52  *** Gustavo6- has joined #openttd
08:23:26  *** Gustavo6056 has quit IRC
08:23:26  *** Gustavo6046 has quit IRC
08:23:26  *** Extrems has quit IRC
08:23:26  *** rocky1138 has quit IRC
08:23:26  *** Ttech has quit IRC
08:23:26  *** cHawk has quit IRC
08:23:26  *** ccfreak2k has quit IRC
08:23:27  *** Gustavo6- is now known as Gustavo6046
08:23:35  *** rocky1138 has joined #openttd
08:24:35  *** Ttech has joined #openttd
08:26:57  *** Extrems has joined #openttd
08:28:44  *** ccfreak2k has joined #openttd
08:30:27  *** Lejving_ has quit IRC
08:30:48  *** Lejving_ has joined #openttd
08:31:15  *** Yotson has quit IRC
08:31:20  *** Yotson has joined #openttd
08:35:22  *** cHawk has joined #openttd
08:35:27  *** TheMask96 has joined #openttd
08:36:51  *** eirc has quit IRC
08:37:08  *** eirc has joined #openttd
08:45:39  *** argoneus has quit IRC
08:45:40  *** argoneus has joined #openttd
09:16:47  *** Gustavo6056 has joined #openttd
09:22:32  *** Gustavo6046 has quit IRC
09:22:32  *** Gustavo6056 is now known as Gustavo6046
10:17:10  *** Gustavo6056 has joined #openttd
10:18:34  *** Samu has joined #openttd
10:22:03  *** Gustavo6046 has quit IRC
10:22:03  *** Gustavo6056 is now known as Gustavo6046
10:30:45  <LordAro> https://github.com/google/yapf hey, google is stealing our whimsical acronyms
10:30:56  <peter1138> Heh
10:54:16  *** Samu has quit IRC
10:54:27  *** debdog has quit IRC
10:54:30  *** debdog has joined #openttd
10:58:26  *** Samu has joined #openttd
11:02:05  <Samu> yapf  A formatter for Python files
11:02:27  *** kaane has quit IRC
11:03:57  <Samu> looks like I need to edit Graph AyStar to point it to the "Efficient" versions of my functions
11:04:11  <Samu> i was hoping i wouldn't have to
11:05:33  *** kaane has joined #openttd
11:17:23  *** Gustavo6056 has joined #openttd
11:21:37  *** Gustavo6046 has quit IRC
11:21:37  *** Gustavo6056 is now known as Gustavo6046
11:35:34  *** gelignite has quit IRC
11:55:27  <Samu> when will mister efficience comes online?
11:55:49  <LordAro> when you stop asking
11:56:17  <Samu> :p
12:01:07  <Samu> 	if (from - to == 1) return 1; 	if (from - to == -1) return 2; 	if (from - to == map_size_x) return 4; 	if (from - to == -map_size_x) return 8;
12:01:20  <Samu> would a switch/case be faster in here? less op,s i mean
12:17:26  *** Gustavo6056 has joined #openttd
12:17:28  <Eddi|zuHause> we should sue google for infringement...
12:23:15  *** Gustavo6046 has quit IRC
12:23:15  *** Gustavo6056 is now known as Gustavo6046
12:29:39  <peter1138> Samu, profile it :p
12:52:07  *** snail_UES_ has joined #openttd
12:58:37  <Samu> 	local diff = from - to; 	switch (diff) { 		case 1: return 1; 		case -1: return 2; 		case map_size_x: return 4; 		case -map-size_x: return 8; 		default: assert(false); 	}
12:58:56  <Samu> why is a default always needed?
13:05:55  *** snail_UES_ has quit IRC
13:17:18  *** Gustavo6056 has joined #openttd
13:17:50  <LordAro> it's not
13:17:55  <LordAro> just good practice
13:21:00  *** IcyPalm has joined #openttd
13:24:55  *** Gustavo6046 has quit IRC
13:24:55  *** Gustavo6056 is now known as Gustavo6046
13:42:13  <Samu> attempt to negate a bool? uh what?
13:44:35  <Samu> case map_size_x: return 4;
13:44:44  <Samu> it's complaining about this line, i dont get it
13:47:07  <FLHerne> Cases have to be constexprs
13:48:11  <Samu> https://paste.openttdcoop.org/pwtccbjkr got this
13:49:07  *** nielsm has joined #openttd
13:49:29  <Samu> ah, doctor efficiency!
13:49:34  <Samu> hello, i was waiting for u
13:50:22  <Samu> i couldn't make your yesterday code to work without asserting
13:50:41  <FLHerne> Not me
13:56:14  *** IgnoredAmbience has left #openttd
14:05:54  *** IcyPalm has quit IRC
14:05:57  *** IcyPalm has joined #openttd
14:09:39  *** IcyPalm has quit IRC
14:09:47  *** IcyPalm has joined #openttd
14:17:35  *** Gustavo6056 has joined #openttd
14:24:39  *** Gustavo6046 has quit IRC
14:24:39  *** Gustavo6056 is now known as Gustavo6046
14:30:14  *** Flygon has quit IRC
14:34:15  <Samu> nielsm: hi
14:59:51  <Samu> hmm, can't compare arrays
14:59:58  <Samu> for equality
15:00:06  <Samu> why :(
15:00:22  <Samu> assert(array1 == array2) always false :(
15:00:23  *** sla_ro|master has joined #openttd
15:02:58  <Samu> https://paste.openttdcoop.org/phrvnxhrz - this part is costly
15:03:01  <Samu> how to fix?
15:03:08  <Samu> too many ops
15:04:26  <Samu> this function is probably the most used in the entire pathfinder. for every tile it test builds a bridge of every size, in all 4 directions
15:04:50  <Samu> ahem, every "allowed size"
15:07:52  <Samu> okay, i lie
15:08:05  <Samu> the most used is GetDirection, because every tile has a direction
15:08:17  <Samu> but that one is much cheaper
15:09:34  *** GroovyNoodle has joined #openttd
15:16:04  *** WWacko1976-work has quit IRC
15:17:50  *** Gustavo6056 has joined #openttd
15:18:25  <GroovyNoodle> Long text comming: I have a problem with my server. I had a raspberry pi running a dedicated server. It worked great! When I decided to upgrade the raspberry, I snapped the SD-card in half.. So I re-made the whole server, copied the old config (the only thing I had backed up) and started it. It can be reached if you use the IP, but it refuses to show up on the master server. Is this because my old one is
15:18:25  <GroovyNoodle> there (shown as offline) with the same IP? As it is a new raspberry the MAC-adress on the network is different.. The local adress is locked at the same as it was with the prevoius one.
15:20:22  <GroovyNoodle> I have tried with both the newly generated network_id I got when I recompiled the server, in the config, and with the old one from the previous config.
15:24:58  *** Gustavo6046 has quit IRC
15:24:58  *** Gustavo6056 is now known as Gustavo6046
15:25:41  <planetmaker> GroovyNoodle, the presence of an old server in the server list does not have any influence anywhere whatsoever
15:26:09  <planetmaker> it only means that it was once seen. It will be updated if another server from the same IP contacts the master server
15:26:42  <planetmaker> Is your network config in all parts the same, especially do you allow the master server talk back to your server?
15:26:58  <planetmaker> i.e. are the ports open in all devices they need be?
15:27:08  <planetmaker> check also the router
15:27:40  <GroovyNoodle> Yes, the ports are the same, as I only changed the local ip, 192.168.1.26, to bind to the new mac-adress
15:27:54  <GroovyNoodle> I have no firewall on the pi blocking the ports
15:29:25  <GroovyNoodle> sorry, typed a bit confusing. All the required ports are open to 192.168.1.26. And I bound the new mac-adress of the new pi to that adress.
15:29:34  <GroovyNoodle> So no port config in the router has been changed
15:34:31  <Eddi|zuHause> you sure there is no ip conflict?
15:37:28  <Eddi|zuHause> check the following two things: 1) can you connect to the server (from inside the game) within your network, using the internal ip address. 2) can someone from outside the network join using your public ip address?
15:38:30  <GroovyNoodle> I can connect to the server, so can other people who use the ip-adress. I'm using a VPN, so the server even think I'm outside my own network..
15:39:23  <GroovyNoodle> "[2018-09-25 17:29:04] dbg: [net] [udp]   we are not receiving the acknowledgement from the server" from the console
15:39:41  <GroovyNoodle> both udp and tcp are forwarded
15:39:56  <Eddi|zuHause> then the udp forwarding fails
15:40:14  <GroovyNoodle> Easy fix?
15:40:29  <Eddi|zuHause> either outgoing or incoming udp packets are dropped
15:41:08  <GroovyNoodle> Can this be caused by anything in the config file?
15:41:20  <nielsm> Samu, you can perhaps do some caching of bridge types at the start of each year
15:41:33  <Eddi|zuHause> most likely by your router config
15:41:41  <nielsm> perhaps just pick a single preferred bridge type of each length every year
15:42:10  <Eddi|zuHause> or some firewall you didn't think you had
15:42:39  <GroovyNoodle> No firewall comes with raspbian, and it's a clean install (+ottd)
15:42:49  <GroovyNoodle> I will try rebooting the router later then
15:43:19  <GroovyNoodle> It SHOULD be correct, but something won't update then even if I save the settings..
15:46:38  <Samu> I see
15:46:44  *** Progman has joined #openttd
15:47:18  *** Gja has joined #openttd
15:56:48  *** rocky113844 has joined #openttd
16:00:29  *** TheMask96 has quit IRC
16:02:46  *** TheMask96 has joined #openttd
16:08:03  *** HerzogDeXtEr has joined #openttd
16:11:47  *** sushibear has joined #openttd
16:11:49  *** frosch123 has joined #openttd
16:11:54  *** Gja has quit IRC
16:17:51  *** Gustavo6056 has joined #openttd
16:24:04  *** Gustavo6046 has quit IRC
16:24:04  *** Gustavo6056 is now known as Gustavo6046
16:38:30  <Samu> i fail at using tables
16:40:21  <Samu> the index rawin does not exist
16:47:57  <acklen> squirrel tables or iptables?
16:50:41  <nielsm> or html tables or sql tables or...
16:51:47  <nielsm> or perhaps wooden tables???
16:56:33  <Samu> it didn't save much
16:56:44  <Samu> so i assume i'm doing something wrong
16:56:55  <Samu> from 289 to 284 ops
16:57:19  <Samu> also tried using AIList
16:57:22  <Samu> same result
16:59:07  <Samu> it's also worse than my previous method
16:59:16  <Samu> 276 is best i got so far
16:59:19  <Samu> which is still a lot
17:00:44  <Samu> here's mine https://paste.openttdcoop.org/pkxot9vj7
17:01:45  <Samu> the original https://paste.openttdcoop.org/phrvnxhrz
17:03:36  *** Wolf01 has joined #openttd
17:03:45  <Wolf01> o/
17:04:35  <Samu> could try
17:04:43  <Samu> _AIVehicle = AIVehicle
17:06:20  <nielsm> those are tiny tiny gains, better would be seeing if you can simplify the algorithm  itself
17:06:55  <Samu> from 276 to 268
17:06:59  <Samu> it's still something
17:07:45  <nielsm> really, try caching the best bridge for all lengths at the start of each year
17:07:48  <Samu> well apparently i failed to do the caching
17:08:11  <nielsm> so you avoid the calls to AIBridgeList_Length and bridge_list.Begin
17:08:18  <nielsm> and bridge_list.Empty()
17:08:22  <nielsm> IsEmpty
17:08:50  <Samu> i tried, but i either did it wrong, or it's worse
17:08:57  <Samu> not every year though
17:08:57  *** Progman has quit IRC
17:09:17  <Samu> i used in on Class Road thing
17:09:36  <Samu> the constructor
17:09:38  <nielsm> afaik the selection of bridges can change at year start and otherwise not
17:10:54  <Samu> I don't know how to do that :(
17:11:43  <nielsm> somewhere in the daily loop, if date is 1/1 then plan doing a bridge availability update some time soon
17:12:10  <Samu> so, that means outside the pathfinder
17:12:19  <Samu> hmm
17:15:43  <Samu> ... the way i had it, it would print messages listing a type of bridge for every length. this was only printed once per pathfind instance, so it wasn't repeatedly recreating it, but... i dunno what delegation means
17:15:49  <Samu> or no delegation
17:17:48  <Samu> if (Road._bridge_lengths.rawin(i) && AIBridge.Buildblabla (blabla, Road._bridge_lengths.rawget(i), bla bla
17:17:58  *** Gustavo6056 has joined #openttd
17:18:51  *** Gja has joined #openttd
17:22:09  *** Gustavo6046 has quit IRC
17:22:09  *** Gustavo6056 is now known as Gustavo6046
17:24:20  <Samu> max_bridge_length is 10 at default
17:24:37  <Samu> for (local i = 2; i < 10; i++) {
17:24:56  <Samu> local bridge_list = AIBridgeList_Length(3);
17:25:13  <Samu> local target = cur_node + 2 * (cur_node - last_node);
17:27:21  <Samu> trying this
17:27:24  <Samu> for (local i = 2; i < this._max_bridge_length;) {
17:27:31  <Samu> local target = cur_node + i * (cur_node - last_node);
17:27:39  <Samu> local bridge_list = AIBridgeList_Length(i++);
17:27:49  <Samu> wondering if it works
17:29:33  <Samu> yep, down to 252
17:29:54  <Samu> but, is it still doing the same thing?
17:31:34  <Samu> AIBridgeList_Length(i++); what is the value that is in there?
17:31:38  <Samu> 2 or 3?
17:31:55  <nielsm> i++ returns the old value before incrementing the variable
17:32:07  <nielsm> so if i==2 before that line, the function is called with 2 as the parameter
17:32:14  <Samu> oh no
17:32:17  <nielsm> and the variable is incremented after the function call
17:32:24  <nielsm> try ++i instead
17:32:30  <Samu> ++i, ok
17:33:42  <Samu> well, the assert is comparing lengths
17:33:49  <Samu> number of pushed items
17:33:53  <Samu> seems to match so far
17:34:34  <Samu> assert(get_tunnels_bridges.len() == get_tunnels_bridges_efficient.len());
17:36:01  <Samu> wondering if the assert is working :p
17:36:08  *** andythenorth has joined #openttd
17:36:11  <Samu> gonna make it fail on purpose
17:36:43  <Samu> local bridge_list = AIBridgeList_Length(i); :p
17:37:28  <andythenorth> can't font size just be set by changing font?
17:38:36  <Samu> yep, i got an assert, so it seems ++i or i++ work the same
17:39:03  <Samu> or maybe not
17:39:17  <Samu> you were right
17:39:19  <Samu> ++i works
17:39:24  <Samu> i++ does assert
17:40:49  <Samu> that means 260
17:40:57  <Samu> 252 was in error
17:44:43  *** colde has quit IRC
17:44:44  *** colde has joined #openttd
17:46:18  <Samu> i see these tiles are pushed twice
17:46:32  <Samu> would be better if they could be pushed only once :o
17:47:52  <Eddi|zuHause> andythenorth: what do you mean?
17:48:16  <andythenorth> https://github.com/OpenTTD/OpenTTD/issues/6918
17:50:15  <Eddi|zuHause> that depends... font size of the ingame sprite font cannot be changed. and setting a truetype font can have a separate font size, but there is no GUI for that
17:50:59  <Eddi|zuHause> however, you should be able to override the sprite font with a (static) newgrf
17:51:04  <Samu> nielsm: https://paste.openttdcoop.org/p5in21sxi
17:51:23  <Samu> do you see the tiles being pushed twice?
17:51:30  <Samu> how would i avoid it from happening
17:52:31  <Samu> they're collected first, then they're being moved again inside that foreach
18:15:28  <andythenorth> such ticket bot?
18:15:30  <andythenorth> nope?
18:15:31  <andythenorth> https://github.com/OpenTTD/OpenTTD/issues/6919
18:15:46  <andythenorth> peter1138: ^ remind me what it got stuck on? o_O
18:16:55  <peter1138> My Hyper-V guest became unusably slow after the April Windows update, and so I have not had a development environment since then.
18:18:10  *** Gustavo6056 has joined #openttd
18:21:21  <andythenorth> oof
18:21:31  <andythenorth> not the expected answer :D
18:21:40  <andythenorth> I thought it was UI crap blocking it
18:21:44  *** Gustavo6046 has quit IRC
18:21:44  *** Gustavo6056 is now known as Gustavo6046
18:26:58  *** Supercheese has joined #openttd
18:28:34  *** gelignite has joined #openttd
18:34:31  *** Laedek_ has quit IRC
18:47:49  <Eddi|zuHause> hm, somehow they changed something on google maps, and now it is incredibly slow to load
18:48:21  <Eddi|zuHause> like, it does not keep up with slowly scrolling along a road
18:48:55  <Wolf01> They changed the api and again half of the calendars on the apps are borked
18:49:19  <Eddi|zuHause> not using any apps. just firefox
18:49:44  <Wolf01> Me too, web apps which use google calendar :P
18:50:34  <Wolf01> Also I had problems with FF on gmaps since they implemented the 3D version... but I must blame my slow connection too
18:52:29  <andythenorth> sometimes I wonder
18:52:37  <andythenorth> if stuff just stopped changing for a bit
18:52:42  <andythenorth> what might go wrong
18:52:58  <andythenorth> we spend so much engineering time just addressing upstream and downstream change
18:53:04  <andythenorth> that we hardly do any work on our products
19:07:02  <Wolf01> If something works fine, why change it?
19:08:25  <andythenorth> becuase upstream :P
19:08:32  <andythenorth> upstream of upstream
19:18:28  *** Gustavo6056 has joined #openttd
19:21:50  <Eddi|zuHause> thing is, things don't ever "work fine" (CVEs etc.), so not changing isn't a solution either
19:23:00  *** Gustavo6046 has quit IRC
19:23:00  *** Gustavo6056 is now known as Gustavo6046
19:24:43  *** murr4y has quit IRC
19:25:00  *** murr4y has joined #openttd
19:25:15  *** innocenat has quit IRC
19:25:26  *** innocenat has joined #openttd
19:31:09  *** frosch123 has quit IRC
19:32:32  *** innocenat has quit IRC
19:32:32  *** Supercheese has quit IRC
19:32:32  *** colde has quit IRC
19:32:32  *** rocky113844 has quit IRC
19:32:32  *** nielsm has quit IRC
19:33:21  *** innocenat has joined #openttd
19:33:25  *** colde has joined #openttd
19:33:53  *** nielsm has joined #openttd
19:34:15  *** Supercheese has joined #openttd
19:35:03  *** rocky113844 has joined #openttd
19:40:35  *** gelignite has quit IRC
19:41:20  *** Gja has quit IRC
19:57:10  *** sla_ro|master has quit IRC
20:00:15  *** Progman has joined #openttd
20:18:20  *** Gustavo6056 has joined #openttd
20:21:55  *** Gustavo6046 has quit IRC
20:21:55  *** Gustavo6056 is now known as Gustavo6046
20:30:00  *** m3henry has joined #openttd
20:31:16  <m3henry> https://youtu.be/HddFGPTAmtU
20:37:47  *** Tharbakim has quit IRC
20:38:03  *** Tharbakim has joined #openttd
20:38:19  <peter1138> andythenorth, hmm, well, I set up a VNC server instead of using hyper-v's desktop mode and... it's back to normal performance.
20:38:24  <andythenorth> oof
20:38:29  <andythenorth> weird :)
20:39:22  <peter1138> Yeah I figured as much, the actual VM performance is fine, it's just the emulated graphics is shitty.
20:41:37  <peter1138> Even OpenTTD plays okay.
20:42:11  <andythenorth> fair
20:46:02  <peter1138> Maybe I should... consider... dual-booting again.
20:47:55  *** Wormnest has joined #openttd
20:52:57  <andythenorth> seems like a hassle :P
20:56:37  <peter1138> It is. Linux does weird things with an HTC Vive plugged in.
21:00:17  <andythenorth> one day, computers that work :P
21:12:51  <andythenorth> oh FFS
21:13:01  <andythenorth> apple upgraded clang and my compile broke again
21:14:08  <andythenorth> src/economy.cpp:702:20: error: expected expression
21:14:09  <andythenorth>                 c->cur_economy = {};
21:14:27  *** Progman has quit IRC
21:18:22  *** Gustavo6056 has joined #openttd
21:19:05  <Samu> 305/658/642/100/576/569/584/617/653/695
21:21:22  <Samu> 257/519/516/89/468/466/-9528/505/505/530
21:21:39  <Samu> something doesn't make sense
21:24:32  *** Gustavo6046 has quit IRC
21:24:32  *** Gustavo6056 is now known as Gustavo6046
21:26:03  <andythenorth> Apple LLVM version 10.0.0 (clang-1000.11.45.2)
21:30:25  <nielsm> does CXXFLAGS contain any --std=c++03 or other old version?
21:30:25  <nielsm> if not, tryh adding CXXFLAGS=--std=c++11 to the configure commandline
21:30:25  <nielsm> oh it's -std=c++11
21:30:25  <nielsm> a single - before std
21:31:10  * andythenorth tries
21:32:25  * andythenorth wonders whether to add a new issue :P
21:32:28  <andythenorth> or reuse the previous one
21:32:30  <andythenorth> https://github.com/OpenTTD/OpenTTD/issues/6880
21:32:35  <andythenorth> whackamole
21:32:41  <andythenorth> nielsm: that compiles :)
21:32:53  <nielsm> add a note to the existing issue
21:33:21  <nielsm> gcc also understands that flag
21:34:13  <nielsm> so question really is whether to just officially adopt c++11 and reject any compiler not understanding the -std=c++11 flag, or thoroughly vacuum the code of any c++11 feature usage
21:35:00  <Samu> 306/257/659/519/643
21:35:33  <andythenorth> I've updated issue
21:35:50  <LordAro> andythenorth: oh dear
21:35:56  <LordAro> your version is now "10" again
21:36:01  <andythenorth> it's aces eh
21:36:24  <andythenorth> aren't upstream updates brilliant? :|
21:37:05  <LordAro> ha
21:37:18  <LordAro> nielsm: personally i'd say the former
21:37:28  <LordAro> given that's what we're going for with the cmake stuff
21:37:34  <LordAro> but that's a way off being done
21:39:16  <LordAro> andythenorth: only CXXFLAGS is required, fwiw
21:39:37  <andythenorth> thanks
21:39:40  <andythenorth> also bedtime :P
21:39:44  <nielsm> ditto
21:39:46  <nielsm> gn
21:39:46  <andythenorth> so it's resolvable eh
21:40:03  <nielsm> I'd warmly welcome official c++11 adoption
21:40:28  <LordAro> quite a lot of people would at this point :p
21:40:34  <LordAro> but inertia is hard
21:40:50  <nielsm> for initialization syntax, range-for loops, auto type inference, and lambdas
21:41:27  <nielsm> might break compilation on os'es that only have ancient compilers
21:41:32  <nielsm> that's their problem imo
21:41:44  <LordAro> yeah
21:42:26  <nielsm> so anyway yeah bedtime
21:42:42  <Samu> 257/519/516/89/468 vs 306/659/643/101/577
21:43:29  <Samu> @calc (257+519+516+89+468)/(306+659+643+101+577)
21:43:29  <DorpsGek> Samu: 0.808836395451
21:43:46  <Samu> 81%, not too bad
21:44:02  *** GroovyNoodle has quit IRC
21:47:15  *** andythenorth has left #openttd
21:50:29  *** nielsm has quit IRC
21:52:31  *** Wolf01 has quit IRC
21:59:31  <m3henry> I'm about 60% of the way through re-nuking SmallVector now
22:00:11  *** Extrems has quit IRC
22:00:19  *** Extrems has joined #openttd
22:00:58  *** glx has joined #openttd
22:00:58  *** ChanServ sets mode: +v glx
22:02:49  <m3henry> And It'll definitely be wanting c++11 support
22:02:54  <m3henry> So I'm happy about this :3
22:17:51  *** Thedarkb-T60 has joined #openttd
22:18:50  *** Gustavo6056 has joined #openttd
22:21:12  *** tokai has joined #openttd
22:21:12  *** ChanServ sets mode: +v tokai
22:25:55  *** Gustavo6046 has quit IRC
22:25:55  *** Gustavo6056 is now known as Gustavo6046
22:27:52  *** rocky113844 has quit IRC
22:29:30  *** Wormnest has quit IRC
22:36:49  <Samu> @calc 120/127
22:36:49  <DorpsGek> Samu: 0.944881889764
22:37:59  <Samu> https://imgur.com/a/Obgxcvp
22:38:06  <Samu> I'm kinda disappointed
22:38:31  <Samu> saved only 7 days
22:42:40  *** Extrems` has joined #openttd
22:44:42  *** Extrems has quit IRC
22:44:42  *** Extrems` is now known as Extrems
22:54:22  *** m3henry has quit IRC
23:06:14  *** HerzogDeXtEr has quit IRC
23:16:22  <Samu> @calc 543/587
23:16:22  <DorpsGek> Samu: 0.925042589438
23:17:54  <Samu> @calc (956+819+804+779+761)/(1031+870+853+825+799)
23:17:55  <DorpsGek> Samu: 0.940840566469
23:18:14  *** haudrauf has quit IRC
23:18:35  <Samu> @calc 727/785
23:18:35  <DorpsGek> Samu: 0.926114649682
23:18:57  *** Gustavo6056 has joined #openttd
23:19:12  *** haudrauf has joined #openttd
23:20:28  <Samu> real gains not even 10%, sad
23:23:41  *** Flygon has joined #openttd
23:24:54  *** Thedarkb-T60 has quit IRC
23:25:52  *** Gustavo6046 has quit IRC
23:25:52  *** Gustavo6056 is now known as Gustavo6046
23:31:44  *** haudrauf has quit IRC
23:32:45  *** haudrauf has joined #openttd
23:34:09  *** snail_UES_ has joined #openttd

Powered by YARRSTE version: svn-trunk