IRC logs for #openttd on OFTC at 2017-05-08
            
00:36:42 *** Wormnest has quit IRC
01:03:09 *** cosmobird__ has quit IRC
01:12:39 *** HerzogDeXtEr1 has joined #openttd
01:17:56 *** HerzogDeXtEr has quit IRC
01:32:51 *** gelignite has quit IRC
01:33:54 <Wolf01> 'night
01:33:59 *** Wolf01 has quit IRC
02:42:36 *** HerzogDeXtEr has joined #openttd
02:49:11 *** HerzogDeXtEr1 has quit IRC
02:54:35 *** FLHerne has joined #openttd
03:06:43 *** FLHerne has quit IRC
03:25:06 *** glx has quit IRC
04:48:49 *** chomwitt1 has quit IRC
05:35:08 *** Cubey has joined #openttd
05:58:33 *** tokai has joined #openttd
05:58:33 *** ChanServ sets mode: +v tokai
06:01:07 *** Hiddenfunstuff has joined #openttd
06:05:31 *** tokai|noir has quit IRC
06:23:24 *** cHawk has quit IRC
06:47:42 *** cHawk has joined #openttd
07:09:43 *** sla_ro|master has joined #openttd
07:54:36 *** Cubey has quit IRC
08:34:43 *** chomwitt1 has joined #openttd
08:47:27 *** cosmobird__ has joined #openttd
09:02:12 *** andythenorth has joined #openttd
09:10:03 *** Supercheese is now known as Guest2091
09:10:09 *** Supercheese has joined #openttd
09:12:54 *** andythenorth has left #openttd
09:14:24 *** Snail has quit IRC
09:15:14 *** chomwitt1 has quit IRC
09:16:11 *** Guest2091 has quit IRC
09:21:08 *** Supercheese has left #openttd
10:08:05 *** sla_ro|master has quit IRC
11:14:36 *** nekomaster has joined #openttd
11:14:49 <nekomaster> Hmm
11:15:27 <nekomaster> So I'm still trying to figure out how to stretch a heightmap to fit the way google maps projects its map
11:17:02 <crem> What's the projection of heightmap? Google map (in map view) is mercator.
11:18:00 <nekomaster> the map comes from Satellite Data for North america, you can see what I have here for what I want
11:18:01 <nekomaster> https://www.dropbox.com/s/t0k8viw8wx99es7/Canada_4x8K.png?dl=0
11:18:10 *** andythenorth has joined #openttd
11:18:31 <nekomaster> The further north it gets the more squished it gets, though I'm not too too worried about loosing detail as I stretch things
11:18:50 <nekomaster> most of the detail I need is in the bottom part of them ap
11:18:52 <nekomaster> map*
11:22:39 <crem> Yeah, it's not clear to me where is the land border, so it's hard to guess the projection.
11:23:36 <nekomaster> Apparently satellite data is pretty much Equirectangular considering that those satellites orbit around the sides of the earth and barely moves up or down from the equiter
11:27:15 *** andythenorth has left #openttd
11:27:50 <crem> Is it as it's taken from the sattelite? Then it's "vertical perspective" from some low orbit, probably. Sattelites mostly don't fly over equator btw.
11:28:44 <crem> So, one has to guess the lat/long and altitude of the satellite to transform the projection into something else.
11:29:43 <nekomaster> This is the style of DEM I used from Earth Explorer
11:29:43 <nekomaster> https://lta.cr.usgs.gov/GMTED2010
11:31:59 <nekomaster> I might have found something to fix the northern parts
11:32:20 <nekomaster> but this will only work if I can mesh it seamlessly with the southern part of the map
11:38:15 *** nekomaster has left #openttd
11:38:56 *** JacobD88 has joined #openttd
12:14:23 *** nekomaster has joined #openttd
12:16:03 <nekomaster> Hmm, so I used a program called G.Projector to change the equirectangular heighmaps from GTOPO30 data to mercator projection, but I would like something that can better handle and output a large file, plus I figured out the east, west, north and south coords of the map edges
12:16:16 <nekomaster> Is there anything for gimp or another program that can change map perjections?
12:25:17 *** nekomaster has left #openttd
12:48:56 *** TheMask96 has quit IRC
12:51:02 *** nekomaster has joined #openttd
12:52:09 <nekomaster> sorry I keep leaving, I keep finding things and trying them out and I dont get the results i need
12:53:01 <nekomaster> NASA's G.Projector does the job of reprojecting equiretangular maps into mercator maps, but even at its maximum resolution I can only get a usable 2500x2500 size map of canada
12:53:50 <nekomaster> I need some program that can reproject maps and export high resolution images (at least larger then 4096x4096)
12:54:18 *** TheMask96 has joined #openttd
13:39:28 *** Wolf01 has joined #openttd
13:39:37 <Wolf01> o/
13:39:42 <nekomaster> hoi
13:47:29 *** cosmobird_ has joined #openttd
13:48:19 <Wolf01> "Learning Linux Binary Analysis"... I don't think I'll ever do it, but its free :P
13:50:50 *** cosmobird has joined #openttd
13:53:51 *** cosmobird__ has quit IRC
13:56:13 *** cosmobird_ has quit IRC
14:13:49 *** Biolunar has joined #openttd
14:35:28 *** chomwitt1 has joined #openttd
14:44:58 *** UncleCJ has quit IRC
14:46:14 *** FLHerne has joined #openttd
14:55:16 *** Snail has joined #openttd
15:09:33 *** UncleCJ has joined #openttd
15:14:28 *** Snail has quit IRC
15:15:10 *** JacobD88 has quit IRC
15:16:36 *** FR^2 has joined #openttd
15:17:08 *** FR^2 is now known as Guest2108
15:30:51 <quiznilo> mornin'
15:30:57 <nekomaster> hello
15:39:50 *** Gja has joined #openttd
15:42:49 *** Defaultti has quit IRC
15:47:44 *** nekomaster has left #openttd
15:47:56 *** Gja has quit IRC
15:53:37 *** FLHerne has quit IRC
15:56:09 *** JacobD88 has joined #openttd
16:16:19 *** JacobD88 has quit IRC
16:36:55 *** Alberth has joined #openttd
16:36:56 *** ChanServ sets mode: +o Alberth
16:37:15 <Alberth> hihi
16:37:16 <Wolf01> o/
16:55:30 *** sla_ro|master has joined #openttd
17:25:54 *** cosmobird has quit IRC
17:31:43 *** Cubey has joined #openttd
17:48:24 *** efess has quit IRC
17:48:36 *** efess has joined #openttd
17:53:25 *** HerzogDeXtEr1 has joined #openttd
17:56:41 *** efess has quit IRC
17:57:08 *** Progman has joined #openttd
17:57:24 *** TheMask96 has quit IRC
17:58:51 *** HerzogDeXtEr has quit IRC
17:59:47 *** TheMask96 has joined #openttd
18:07:12 *** cosmobird has joined #openttd
18:44:12 *** glx has joined #openttd
18:44:13 *** ChanServ sets mode: +v glx
18:45:01 *** sla_ro|master2 has joined #openttd
18:48:06 *** Biolunar has quit IRC
18:48:09 *** sla_ro|master has quit IRC
18:51:28 *** FLHerne has joined #openttd
18:54:51 *** sim-al2 has joined #openttd
18:57:51 *** cosmobird_ has joined #openttd
19:01:41 *** Wormnest has joined #openttd
19:03:59 *** cosmobird has quit IRC
19:24:46 *** Brumi has joined #openttd
19:28:06 <Brumi> Hey there!
19:28:14 <Brumi> translation issue here:
19:28:27 <Brumi> trying to translate the string STR_INDUSTRY_VIEW_ACCEPT_CARGO_AMOUNT_TEXT
19:29:03 <Brumi> which is "{YELLOW}{CARGO_LONG}{RAW_STRING}" in English, so I obviously want to click "Copy Base" and move on
19:29:18 <Brumi> but I get an error message:
19:29:19 <Brumi> Error: String command for position 1 is wrong, base language uses {STRING}, the translation uses {RAW_STRING}
19:31:15 <Brumi> also getting the same error with STR_INDUSTRY_VIEW_ACCEPT_CARGO_TEXT ("{YELLOW}{STRING}{RAW_STRING}"), so I don't want to blindly replace all RAW_STRINGs with STRINGs
19:38:11 <LordAro> Alberth: ^ :p
19:39:39 *** frosch123 has joined #openttd
19:44:06 *** andythenorth has joined #openttd
19:45:46 <DorpsGek> Commit by translators :: r27869 /trunk/src/lang (hungarian.txt spanish.txt) (2017-05-08 19:45:36 +0200 )
19:45:47 <DorpsGek> -Update from Eints:
19:45:48 <DorpsGek> spanish: 2 changes by SilverSurferZzZ
19:45:49 <DorpsGek> hungarian: 6 changes by Brumi
19:46:28 <glx> Brumi: just use {STRING}
19:48:31 <Brumi> so it will be {YELLOW}{STRING}{STRING} in the second case?
19:48:37 <glx> yes
19:48:42 <Brumi> thanks :)
19:50:09 <Brumi> what's {RAW_STRING} for by the way?
19:52:28 <Alberth> implementation detail
19:52:58 <glx> like STRING1, STRING2, ... :)
19:53:13 <Alberth> ie const char * instead of a text from the lang-file
19:53:36 <Alberth> strgen handles that when compiling the translation
19:54:32 <andythenorth> o/
19:55:29 <Alberth> \o
20:01:58 <supermop_> yo
20:36:20 <Wolf01> glx, happy about new president?
20:36:30 <Wolf01> Also, quak, o/
20:37:33 <frosch123> Wolf01: did you build some kovarex process yet?
20:37:43 <Wolf01> Yep
20:37:45 <supermop_> Wolf01: i am
20:37:49 <frosch123> it puzzles me
20:37:59 <frosch123> it took ages to get enough u235 to get it started
20:38:08 <frosch123> and once it is started you have more you ever need
20:38:41 <Wolf01> You just have to find out those 40 U-235, then with just 1 centrifuge you can fuel a lot of reactors
20:42:00 * andythenorth considers nuclear chain for FIRS
20:42:08 *** FLHerne has quit IRC
20:42:12 <andythenorth> I rejected it before because tiny cargo amounts
20:42:26 <andythenorth> but eh, if I also provide tiny-capacity vehicles :P
20:43:42 *** frosch123 has quit IRC
20:46:57 <glx> Wolf01: not really, but the other option was worse
20:49:44 *** frosch123 has joined #openttd
20:51:02 <frosch123> if you go the heavy-water breeder reactor way, you can have lots of funny cargos
20:51:59 <andythenorth> I was thinking the cargo might be ‘nuclear flasks'
20:52:02 <andythenorth> at 50t each
20:52:07 <andythenorth> that’s more cargo
20:52:21 <andythenorth> but eh, it would be ‘accepts: nuclear flasks; produces: nuclear flasks’ :P
20:53:13 <frosch123> 50t?
20:53:41 <frosch123> wiki lists them from 60t to 123t
20:54:51 <frosch123> andythenorth: https://en.wikipedia.org/wiki/Breeder_reactor#Fuel_efficiency_and_types_of_nuclear_waste <- i thought more of those cargolabels
20:55:04 <frosch123> though many have 5 lettes
20:55:12 <frosch123> but the numbers are smaller than 256
20:58:08 <frosch123> further down there is a cargo flowchart
21:05:16 <supermop_> andythenorth: deliver the equipment
21:11:25 <andythenorth> isotope economy frosch123? o_O
21:13:16 <frosch123> well, the vehicle will be mostly boring
21:13:41 <andythenorth> do it NUTS style
21:13:49 <andythenorth> just draw multiple colors of slug
21:29:57 * andythenorth should ship FIRS v3 before any new ideas :P
21:31:23 *** Progman has quit IRC
21:32:05 *** Alberth has left #openttd
21:47:20 *** sim-al2 is now known as Guest2135
21:47:22 *** sim-al2 has joined #openttd
21:51:51 *** Guest2135 has quit IRC
21:59:41 *** gelignite has joined #openttd
22:21:01 *** JacobD88 has joined #openttd
22:21:58 *** FLHerne has joined #openttd
22:27:11 *** Hiddenfunstuff has quit IRC
22:30:02 <andythenorth> hmm
22:34:06 <supermop_> i owe you an arc furnace
22:38:02 *** JacobD88 has quit IRC
22:45:09 *** gelignite has quit IRC
22:53:26 *** frosch123 has quit IRC
22:54:50 * andythenorth trying to work out a train length scheme
22:54:57 <andythenorth> 4/8 and 8/8 is simple
22:56:18 <andythenorth> I think 6/8 will mostly come out on x.0 or x.5 train lengths
22:56:55 <andythenorth> assuming I provide also a 4/8 brake van (caboose)
23:00:09 * andythenorth counts on fingers
23:09:30 <andythenorth> 6/8 is viable
23:09:35 <andythenorth> 10/8 is a pain in the arse
23:09:51 <andythenorth> it sometimes produces .75 lengths, which are hard to fill :P
23:10:18 <andythenorth> and 10/8 tends to coincide with ‘modern’ trains where no brakevan is used
23:18:09 <Eddi|zuHause> use 12/8
23:23:13 * andythenorth considers it
23:23:21 <andythenorth> will it glitch? :P
23:23:56 * andythenorth could chibi everything to 8/8
23:24:39 *** cosmobird_ has quit IRC
23:24:44 *** sla_ro|master2 has quit IRC
23:25:02 *** cosmobird_ has joined #openttd
23:28:54 <andythenorth> what’s weird?
23:29:07 <andythenorth> 4.6 + 0.5 = 5.0
23:29:16 <andythenorth> that’s what’s weird
23:29:59 <andythenorth> the variant of arithmetic used does make train lengths hard to predict
23:30:32 <andythenorth> is it just round() going for nearest floor or ceil to 1dp?
23:33:22 <andythenorth> Eddi|zuHause: ^ any idea? o_O
23:34:24 <Eddi|zuHause> andythenorth: i once had an exchange with MB where he was trying to work out most of the glitches
23:35:02 <andythenorth> any outcome?
23:35:24 <Eddi|zuHause> besides a dbset that is still not out?
23:35:36 <Eddi|zuHause> it sounded like he was pretty successful
23:37:01 <andythenorth> any idea why 4.6+0.5 = 5.0?
23:40:44 <Eddi|zuHause> no
23:40:50 <andythenorth> thanks
23:40:53 <planetmaker> andythenorth, maybe it's indeed not adding up on the binary level
23:41:01 * andythenorth wondered
23:41:04 <planetmaker> not sure about the accuracy being used in the computations
23:41:10 <Eddi|zuHause> can you express it in /8?
23:41:43 <andythenorth> 4 5/8 + 1/2
23:42:19 <andythenorth> 37/8 + 4/8
23:42:38 <andythenorth> @calc 41/8
23:42:38 <DorpsGek> andythenorth: 5.125
23:42:42 <planetmaker> .6... = 6/10 = 3/5 = 24/40 ~= 5/8
23:42:44 <andythenorth> @calc 37/8
23:42:44 <DorpsGek> andythenorth: 4.625
23:43:00 <planetmaker> .6 might be the issue
23:43:01 <andythenorth> @calc round(37/8)
23:43:02 <DorpsGek> andythenorth: Error: 'round' is not a defined function.
23:43:05 <andythenorth> meh
23:43:15 <planetmaker> @calc ceil(37/8)
23:43:15 <DorpsGek> planetmaker: 5
23:43:29 <planetmaker> @calc rnd(37/8)
23:43:29 <DorpsGek> planetmaker: Error: 'rnd' is not a defined function.
23:43:30 <andythenorth> needs 1dp :)
23:43:38 <planetmaker> @calc floor(37/8)
23:43:38 <DorpsGek> planetmaker: 4
23:44:11 <planetmaker> is length 4 5/8 or 4.6? :)
23:44:34 <andythenorth> not actually sure :P
23:44:42 <andythenorth> it’s a mix of newgrfs, not mine
23:44:46 <Eddi|zuHause> hm, the depot length is actually in 1/16, isn't it?
23:44:47 <planetmaker> oh
23:45:05 <andythenorth> yes it’s in 1/16
23:45:28 <Eddi|zuHause> still, 5.0625 should be rounded to 5.1
23:45:32 <andythenorth> yeah
23:45:38 <andythenorth> that’s what puzzles me
23:46:08 <peter1138> rounded by what
23:46:14 <andythenorth> I am loathe to rework a whole train grf, and still have confusing numbers in depot
23:46:52 <Eddi|zuHause> rounded by the depot display code?
23:47:25 <andythenorth> 2.9 + 0.4 is 3.3
23:47:40 <andythenorth> but 3.9 + 0.4 is 4.2
23:48:09 <planetmaker> @calc 3.9/8
23:48:09 <DorpsGek> planetmaker: 0.4875
23:48:19 <andythenorth> 1.9 + 0.4 is 2.2
23:48:32 <andythenorth> such exciting arithmetic :)
23:48:52 <peter1138> surprised any floats are shown, heh
23:49:45 <Eddi|zuHause> peter1138: i could not convince anybody to display "5 3/16"
23:49:56 <planetmaker> :)
23:50:40 <Eddi|zuHause> the old "number of wagons" display was kinda useless, so it was replaced by tile length
23:50:54 <planetmaker> which is an improvement
23:51:19 <Eddi|zuHause> and rounding to full tiles was too crude
23:53:22 *** Wormnest has quit IRC