Minetest logo

IRC log for #minetest-dev, 2019-03-25

| Channels | #minetest-dev index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:25 ANAND joined #minetest-dev
00:39 paramat joined #minetest-dev
00:46 argyle77 joined #minetest-dev
00:56 Foz joined #minetest-dev
01:13 Cornelia joined #minetest-dev
01:31 paramat #8417 is now ready
01:31 ShadowBot https://github.com/minetest/minetest/issues/8417 -- Stabilise 'day night ratio' to fix object brightness flicker by paramat
01:38 p_gimeno hm...
01:40 p_gimeno The instability probably comes from the formula for linear interpolation. That formula is not monotonic and has problems. I suggest an alternate formula here: http://math.stackexchange.com/questions/907327/accurate-floating-point-linear-interpolation
01:45 p_gimeno applied to this case: return f < 0.5 ? values[i-1][1] + f * td0 : values[i][1] - (1.0 - f) * td0;
01:47 p_gimeno sorry, make that 1.0f so there's no double rounding
01:49 p_gimeno and 0.5f
01:49 p_gimeno so with these fixes: return f < 0.5f ? values[i-1][1] + f * td0 : values[i][1] - (1.0f - f) * td0;
01:52 p_gimeno hm, I've swapped the operands I think
01:57 p_gimeno ah no I haven't, but it's not td0, it's like this: return f < 0.5f ? values[i-1][1] + f * (values[i][1] - values[i-1][1]) : values[i][1] - (1.0f - f) * (values[i][1] - values[i-1][1]);
02:07 paramat what are the problems? that seems more intensive
02:11 paramat hm not monotonic
02:11 paramat i guess that might cause a blip when using very slow time speeds
02:11 p_gimeno yeah it might oscillate at some other values
02:12 paramat not sure, because the function converts to an integer when returning, so any blip might not have an effect
02:13 p_gimeno also, it seems too easy a mistake to change the table and not realize the values below
02:13 paramat maybe i can consider this in the follow up PR, which will be more suitable for such an improvement
02:14 p_gimeno sure
02:15 paramat that imperfect linear interpolation method is used a lot in MT and is more readable
02:15 p_gimeno well, lerp(A, B, t) is even more readable
02:15 paramat yes good point about changing the table values
02:16 paramat i'll correct that
02:16 paramat the monotonic issue, i guess any blip will be tiny? as it's due to flat imprecision?
02:17 paramat *float
02:17 p_gimeno yes but it might happen in the frontier of an integer if you're unlucky
02:17 paramat hm yeah
02:18 p_gimeno it was indeed happening at the endpoints
02:18 paramat yeah =)
03:41 paramat joined #minetest-dev
05:25 Ruslan1 joined #minetest-dev
06:18 xerox123 joined #minetest-dev
06:19 xerox123_ joined #minetest-dev
06:29 kaeza joined #minetest-dev
07:11 ANAND https://github.com/minetest/minetest.github.io/pull/165
07:13 ANAND !title
07:13 ShadowBot customize.html: Fix outdated intro by ClobberXD · Pull Request #165 · minetest/minetest.github.io · GitHub
07:39 Beton joined #minetest-dev
08:03 kaeza joined #minetest-dev
08:05 Megaf joined #minetest-dev
08:46 YuGiOhJCJ joined #minetest-dev
08:54 proller joined #minetest-dev
09:14 Megaf joined #minetest-dev
09:16 proller joined #minetest-dev
10:11 Megaf_ joined #minetest-dev
10:31 calcul0n joined #minetest-dev
11:12 Fixer joined #minetest-dev
12:55 p_gimeno what is the 'high_precision_fpu' setting for? it seems unused to me
13:08 sfan5 given to irrlicht on init IIRC
13:09 sfan5 no idea what it does with that
13:10 p_gimeno ah, thanks
13:44 nerzhul hello team, i opened a PR about an android crash, i think it happens in some conditions when leaving world and/or app
14:14 p_gimeno I see an issue but not a PR
14:31 nerzhul oops :) yes an issue :D
14:33 diemartin joined #minetest-dev
14:57 Player-2 joined #minetest-dev
14:57 benrob0329 joined #minetest-dev
15:07 kaeza joined #minetest-dev
15:22 Cornelia joined #minetest-dev
15:29 Megaf joined #minetest-dev
15:41 Lia joined #minetest-dev
16:04 Megaf joined #minetest-dev
16:11 Megaf_ joined #minetest-dev
16:49 nerzhul i just published a tiny maintenance PR for master
16:49 nerzhul #8425
16:49 ShadowBot nerzhul: Error: Delimiter not found in "Connection timed out."
16:49 nerzhul #8425
16:49 ShadowBot https://github.com/minetest/minetest/issues/8425 -- Cleanups around the mapgen init by nerzhul
16:52 argyle77 joined #minetest-dev
17:27 Megaf joined #minetest-dev
17:31 kaeza joined #minetest-dev
17:45 tzh joined #minetest-dev
17:48 ensonic joined #minetest-dev
17:50 proller joined #minetest-dev
18:04 ssieb joined #minetest-dev
18:36 Megaf joined #minetest-dev
18:41 kaeza joined #minetest-dev
19:03 ensonic joined #minetest-dev
19:42 ensonic joined #minetest-dev
20:02 clavi when using a Postgres backend, does it matter what locale the database is in?
20:09 Cornelia joined #minetest-dev
20:14 proller joined #minetest-dev
20:46 YuGiOhJCJ joined #minetest-dev
21:04 sofar clavi: no, not for map data anyway
21:07 paramat joined #minetest-dev
21:25 clavi ok thanks
21:33 ssieb joined #minetest-dev
22:20 ANAND joined #minetest-dev
22:29 benrob0329 joined #minetest-dev
22:29 benrob0329 joined #minetest-dev
23:36 paramat !seen ShadowNinja
23:36 ShadowBot paramat: I saw ShadowNinja in #minetest-dev 1 year, 8 weeks, 4 days, 21 hours, 43 minutes, and 3 seconds ago saying "(The reason the server-side code is so bad is mainly because of compatability)"
23:36 paramat god grief
23:36 paramat *good
23:38 Lone-Star joined #minetest-dev

| Channels | #minetest-dev index | Today | | Google Search | Plaintext