Time Nick Message 00:39 MTDiscord It turns out Bien_ simply needed to ask that question, then they faded out of existence 09:08 Guest20 Palestine people are playing Minetest: https://trends.google.com/trends/explore?date=all&q=Minetest 09:42 muurkha In Gaza or in the West Bank? 16:48 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Add rotation support for wallmounted nodes in 'ceiling' or 'floor' mo… 1308ee6d8 https://github.com/minetest/minetest/commit/08ee6d8d4b19016dabe3b88f8d50a39cff03bd79 (152024-01-17T16:47:06Z) 19:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Send initial dummy packet as empty 13abf3142 https://github.com/minetest/minetest/commit/abf3142b267d9dcf5829cf890b1f6b0a49754bfa (152024-01-17T19:05:57Z) 19:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Remove weird command procession limit 139f684ea https://github.com/minetest/minetest/commit/9f684eac928e7e089bd9c2d80571c9cf3485805c (152024-01-17T19:05:57Z) 19:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Time out when reliables can't be delivered 133987318 https://github.com/minetest/minetest/commit/3987318f09f4aabc21ca5cb89394038248973e42 (152024-01-17T19:05:57Z) 19:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Do not allocate packet quota to half-open connections 13050152e https://github.com/minetest/minetest/commit/050152eb90bc6bed54c28817d156ff8cdd085638 (152024-01-17T19:05:57Z) 19:06 MinetestBot 02[git] (16 newer commits not shown) 20:37 MTDiscord If Bien_ hadn't faded out of existence then they'd already know the answer to their own question. 20:49 MinetestBot 02[git] 04appgurueu -> 03minetest/minetest: Docs: Recommend against using PseudoRandom 13a8cf10b https://github.com/minetest/minetest/commit/a8cf10b0b523bf4c3234be29b0dd51e719cb00c1 (152024-01-17T20:48:17Z) 20:50 MTDiscord @Lars were you the one who recommended to me to use math.random and just swap around seeds for deterministic pseudorandom sequences instead of using PcgRandom? 20:51 MTDiscord Yes 20:51 MTDiscord If you want maximum performance on JIT, I'd probably still recommend that 20:51 MTDiscord of course it was lars, who other than the one who wrote this page on random number generators https://github.com/minetest/minetest_docs/blob/master/doc/random.adoc :) 20:52 MTDiscord But the purpose of this commit is just to establish that PcgRandom is basically strictly better than PseudoRandom 20:52 MTDiscord Comparing math.random and PcgRandom is a bit trickier, though again if you want perf on JIT, yeah you'll want math.random. Maybe I should document that too. 20:52 MTDiscord What if I'm more concerned with portability than performance? Like having the sequence always be the same even if some platforms use a weird C rand function... 20:52 MTDiscord Then you shouldn't do that I suppose. That's a good point actually... 20:53 MTDiscord Might have to make spiraling down mapgen even slower :juanchi_face: 20:53 MTDiscord Though tbh if you play spiraling down on the same platform you should be fine 20:54 MTDiscord There are trade offs to be made I suppose. I've got a handful of low volume cases though where I can tolerate some speed loss for the stronger consistency. Assuming of course that Pcg actually IS platform independent as implemented. 20:54 Desour have you tried reimplemating PseudoRandom or PcgRandom with luajit btw, for comparison? 20:55 MTDiscord I've also considered whether other RNG functions like ALFGs could work well for me. 20:55 MTDiscord LuaJIT ships its own PRNG btw 20:55 MTDiscord so on LuaJIT builds, it should be portable 20:55 MTDiscord if LuaJIT was more stable, I'd honestly consider dropping PUC for JIT 20:55 MTDiscord I'd prefer implementations that are not dependent on the underlying implementation. If you get different results based on JIT vs PUC then that would annoy me. 20:56 MTDiscord Back of the napkin math says if you try to play Spiraling Down on PUC you'll have to wait like a second for mapblocks per chunk to generate :juanchi_face: 20:56 Desour if you implement PseudoRandom/PcgRandom in luajit, you can fall back to minetest's C++ implementation on PUC 20:57 MTDiscord indeed 20:57 MTDiscord As long as they're compatible, yeah. JIT should offer some performance benefits, potentially, depending on how smart LuaJIT is these days. 20:58 MTDiscord well, in conclusion, there is a theoretical issue where if you took Spiraling Down, played it on platform A, then moved to platform B, all while using PUC, you would get mapblocks which don't match 20:58 Desour (and luajit has 64 bit numbers (e.g. 1ULL), for anyone who wants to do this) 21:59 Noriel hi! 21:59 Noriel this is my first time using IRC 21:59 MTDiscord Hi, what's up? 22:00 Noriel good, I was looking for a place to ask people about minetest, and I came across IRC 22:00 Noriel wbu? 22:01 MTDiscord I'm one of those people you can ask about Minetest, so what's the matter? :) 22:02 Noriel nothing complicated, I'm just trying out technic mod, and was wondering if trees are the only way to get leaves 22:02 Noriel also, just wanted to say I love minetest :D 22:09 Mantar Noriel: try the treecapitator mod, and enable "drop leaves" in the settings, it cuts the whole tree down in one go, and keeps leaves intact 22:16 Noriel thanks Mantar! :D 22:16 Mantar yw 23:06 MTDiscord sfan5, are you open to PRs for a better WorldEdit GUI? Not that Im going to jump into that now, but that is a thing I have considered because I get annoyed at the workflow and bugs in the GUI often enough