Time Nick Message 10:17 Oblomov well, this is nice https://lwn.net/Articles/826134/ (lua 5.4) 13:55 sfan5 the close thing is interesting 13:56 specing dumb if you ask me, close should be called automatically if a destructor is defined 13:58 specing and why did they bother with adding const, they could've added instead and made everything const by default. PLus its shorter to write. 14:00 sfan5 they seem to love breaking changes but making every variable const by default does seem excessive 14:01 sfan5 the thing with destructors is if you want those you are automatically forced to implement copy and move semantics 14:01 sfan5 far from trivial 14:02 sfan5 this is the same underlying reason why you can "just" add C++'s RAII to C 14:02 sfan5 (plus name mangling) 14:02 sfan5 can't* 14:04 sfan5 what does work in C is __attribute__((cleanup(...))) and surprise it's conceptually just like 14:06 specing I don't see why copy/move semantics would need implementing. Lua objects function like a shared pointer already, and copying is explicit (table.deepcopy?) 14:08 sfan5 would you prohibit a destructor on userdata? 14:08 sfan5 wait nvm 14:09 sfan5 it looks like you're right and that's not needed at all 16:42 MTDiscord Is it possible to change a player's nametag height? I can't find anything relevant in lua_api.md, beyond hiding it and doing a custom one via HUD text. 16:43 MTDiscord It seems to be hard-coded to 2 nodes above the bottom of the player, no matter the player's eye_heigh or collisionbox. 17:40 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Settings: semi-automatic callback cleanup 13e3813cf https://github.com/minetest/minetest/commit/e3813cf027c9fb6d086db087f13557f86eb4730a (152024-10-17T17:38:49Z) 17:40 MinetestBot 02[git] 04SmallJoker -> 03minetest/minetest: Clean up header includes related to settings.h 134975afb https://github.com/minetest/minetest/commit/4975afb5ff375c5ce004615f98aeffce7c0455ff (152024-10-17T17:38:49Z) 17:40 MinetestBot 02[git] 04ALiwoto -> 03minetest/minetest: Fix getDimension throwing error if there is \r at end of line (#15299) 13f2ab887 https://github.com/minetest/minetest/commit/f2ab887644f627ced3d91f589f7617cc0d647c27 (152024-10-17T17:39:11Z) 17:45 Desour @goodclover: pos.Y = m_prop.selectionbox.MaxEdge.Y + 0.3f; in GenericCAO::updateNametag() 17:46 MTDiscord mmm I hadn't set selectionbox so was assuming it was being copied from collisionbox… but there's no reason something else might not have set it… 17:48 MTDiscord Setting selectionbox to nil fixed it! Thanks! 17:48 Desour I guess when nametags are lua hud (#9270), pos will be configurable 17:48 ShadowBot https://github.com/minetest/minetest/issues/9270 -- Treat built-in hotbar, nametags, minimap, crosshair like Lua HUD elements 17:48 Desour np! 17:48 Desour !next 17:48 MinetestBot Another satisfied customer. Next! 17:53 ireallyhateirc gotta rename the bot to LuantiBot :P 19:12 SwissalpS LMTB = LuantiMinetestBot 19:16 ireallyhateirc Linmt = Luanti is not minetest 19:29 sfan5 GNU/Luanti 19:31 mmuller GNUanti. Where did that name come from, anyway? 19:47 yezgromafic ... or as I've recently taken to calling it, GNU plus Luanti 19:48 yezgromafic the blog post says "Luanti” is a wordplay on the Finnish word luonti (“creation”) and the programming language Minetest Luanti employs for games and mods, Lua." 19:49 sfan5 unfortunately we will have to rename again once we switch to JavaScript next year 19:51 Krock adding the Electron dependency was the best decision so far. This will finally support all image formats out of the box 19:51 Krock and also includes model rendering via WebGL 19:52 yezgromafic that is a joke right? the matter is too serious for me to just assume 19:52 SwissalpS GLUanti :p 19:54 Krock yezgromafic: and you're not taking me serious? 19:56 SwissalpS there have been requests to have MT run in browsers. (not sure those asking had any idea about how MT works) 19:57 yezgromafic Krock dont tell me that I should