Minetest logo

IRC log for #minetest-dev, 2018-07-21

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

All times shown according to UTC.

Time Nick Message
00:11 red-001 joined #minetest-dev
00:41 YuGiOhJCJ joined #minetest-dev
02:05 paramat 4 hrs bug tracing, getting close: https://github.com/minetest/minetest/issues/7570#issuecomment-406762640
02:24 paramat joined #minetest-dev
02:58 shacharr joined #minetest-dev
03:18 Tmanyo joined #minetest-dev
03:31 Tmanyo joined #minetest-dev
05:13 Tmanyo joined #minetest-dev
05:21 Cornelia joined #minetest-dev
07:25 nerzhul i push an android build update
07:26 nerzhul merging #7563
07:26 ShadowBot https://github.com/minetest/minetest/issues/7563 -- Disable shaders GUI on unsupported drivers by numberZero
08:14 wowaname joined #minetest-dev
08:30 troller joined #minetest-dev
08:55 Darcidride joined #minetest-dev
09:43 proller joined #minetest-dev
09:59 Gael-de-Sailly joined #minetest-dev
10:09 lhofhansl joined #minetest-dev
10:10 lhofhansl Just merged #7555 (sorry forgot to send a note here first)
10:10 ShadowBot https://github.com/minetest/minetest/issues/7555 -- Reduce ABM checks. by lhofhansl
10:12 lhofhansl Also updated #7544
10:12 ShadowBot https://github.com/minetest/minetest/issues/7544 -- Allow an optional readonly base database by lhofhansl
10:37 Fixer joined #minetest-dev
10:38 DI3HARD139 joined #minetest-dev
10:53 Krock joined #minetest-dev
11:02 ensonic joined #minetest-dev
11:09 Taoki joined #minetest-dev
11:15 rdococ joined #minetest-dev
11:44 p_gimeno Krock: your coding lacks an implicit '1' bit at the start of the mantissa, that's probably why you can't encode large numbers. You have redundant encodings, so you can't encode every float number that way.
11:48 Krock the mantissa and exponent are both signed integers in this case. mantissa with 23 bits and the exponent with 9 bits
11:50 Krock and there's a loss because the exponent is not shifted by 127 as in the IEEE format
11:51 Krock the sign bit in the IEEE float format is already included in the mantissa here
12:05 p_gimeno by redundant encodings I mean that you can encode 1 as e.g. mantissa 1 exponent 0, or mantissa 2 exponent 1
12:05 p_gimeno err
12:05 p_gimeno I mean or mantissa 2 exponent -1
12:06 p_gimeno gtg now, back in ~1h
12:12 Krock oh, I see what you meant. Combinations that result in the same value
12:26 Wuzzy joined #minetest-dev
12:58 shacharr joined #minetest-dev
13:26 Player-2 joined #minetest-dev
13:27 p_gimeno yes, meaning you can't have a 1:1 mapping
13:30 p_gimeno the implicit '1' in the mantissa solves that issue, it's only absent for denormals
13:30 p_gimeno whether to support denormals is a different question... it's probably not worth the trouble
13:44 Gael-de-Sailly joined #minetest-dev
15:00 nerzhul joined #minetest-dev
15:07 lisac joined #minetest-dev
15:54 Corvus_ joined #minetest-dev
16:01 IcyDiamond joined #minetest-dev
16:11 lhofhansl joined #minetest-dev
16:13 lhofhansl Any ideas on #7573?
16:13 ShadowBot https://github.com/minetest/minetest/issues/7573 -- Android fog color does not match sky color
16:15 lhofhansl Looks like the far cloud box is simply not drawn. Looking at the code there's no difference there for Android.
16:27 Icedream joined #minetest-dev
16:28 Raven262 joined #minetest-dev
16:30 snowmondaykernel joined #minetest-dev
16:35 snowmondaykernel Good day! I have mod update that is impotant but wasn't accepted by mod developer. I have no github account. Can someone host a mod for me on github?
16:35 Icedream joined #minetest-dev
16:40 red-001 snowmondaykernel, talk about that sort of stuff on #minetest , #minetest-dev is for core dev
16:40 red-001 and second you can just make an account
16:40 red-001 all you really need is an email address and 5 minutes
16:43 snowmondaykernel red-001, where can you get an email address without using phone number?
16:44 Icedream joined #minetest-dev
16:51 Icedream joined #minetest-dev
16:55 Krock joined #minetest-dev
16:59 Krock p_gimeno: I saw the git repo and the SO question, but I'm not sure whether we want such a sophisticated way to transmit float values. It's also a matter of speed
17:13 Icedream joined #minetest-dev
17:20 Icedream joined #minetest-dev
17:54 ensonic joined #minetest-dev
18:17 Player-2 joined #minetest-dev
19:16 Gael-de-Sailly joined #minetest-dev
19:53 paramat joined #minetest-dev
20:32 paramat game#2150
20:32 ShadowBot https://github.com/minetest/minetest_game/issues/2150 -- Beds: Add white simple and fancy beds by paramat
20:39 proller joined #minetest-dev
20:45 p_gimeno Krock: I understand, but the point here is that such code would be a fallback for machines where floats are not IEEE-compliant, which would probably be zero of the machines supported by Minetest. The speed impact would apply to machines that don't have IEEE floats. I think it's a fair compromise, given how unlikely it is that any such machine can even run Minetest.
20:49 p_gimeno See https://stackoverflow.com/questions/2724359/are-there-any-modern-platforms-with-non-ieee-c-c-float-formats about machines without IEEE floats. Summary: some embedded systems (where Minetest can't run), some old GPUs (where Minetest can't run), and that's about all.
20:50 Krock how about fast math?
20:51 Krock I'm however not sure what tricks GCC uses to speed things up
20:51 p_gimeno I'm thinking in terms of network exclusively. If you mean whether fast math uses IEEE floats, yes it does. It may omit denormal support, though, among other things.
20:52 p_gimeno But lacking denormal support would mean that you would never get a denormal to transmit over a network, and that if you got a denormal from a network, it would be automatically truncated to zero.
20:54 p_gimeno One area of concern is endianess. You'd need to have several different functions to handle several different kinds of endianess.
20:54 p_gimeno er, endianness*
20:57 p_gimeno I think there are 4 combos to support: 0 1 2 3, 3 2 1 0, 2 3 0 1, 1 0 3 2
20:58 Krock the network code already handles this for integers
20:59 p_gimeno the situation is a bit worse for floats, in that they don't necessarily have the same endianness as integers, and there's no hton for floats
21:49 lhofhansl left #minetest-dev
22:53 Cornelia joined #minetest-dev

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