Time Nick Message 07:25 lissobone Enbylvania: Open? You said Open? Sir, this is the Free Software community, not that open source initiative that splintered off in 90s. 07:25 lissobone Linux? No. 07:26 lissobone Do you want proof that Stallman changed his mind on sex with consent? 07:26 lissobone https://stallman.org/archives/2019-sep-dec.html#14_September_2019_(Sex_between_an_adult_and_a_child_is_wrong) 07:28 lissobone We are not FOSS extremists, we are Free Software advocates. Such statements disparage our mission, putting it in the same boat with Hussein and various other terrorists. 07:30 muurkha Sigh 07:31 lissobone Yes, the old messages triggered me. 07:33 lissobone As a free software advocate, I feel entitled to correct others' mistakes and defend my point of view. You are free to provide arguments in your favor too. 07:33 MTDiscord I don't want you to see my horrific code base, closed source, closed case 07:34 lissobone In what sense see? 07:34 muurkha if you are going to try to influence people, maybe describing Muhammad's grandson as a "terroris" is a suboptimal move 07:34 muurkha *terrorist 07:34 lissobone muurkha: Allah created all people equal. Crimes cannot be justified. 07:36 MTDiscord I'm outta here! 08:07 MTDiscord same 17:16 mazes_83 any intererest in making fields read-only, in a table I export globally from within a mod 17:18 mazes_83 I guess it's good: but I fist wonder about the overhead and second the table itself can be overwritten as it is global 17:19 MTDiscord T'es ou mazes ? 17:19 mazes_83 chez moi 17:19 mazes_83 salut 17:19 MTDiscord Oui mais tu parle d'ou xD ? 17:19 MTDiscord slt 17:20 mazes_83 il y a un bridge irc <-> discord 17:20 MTDiscord Oui mais t'es sur quel serveur ;I 17:21 mazes_83 je pense qu'il n'y a qu'un seul relai irc pour minetest -> libera.chat, je pense pas que le canal freenode soit encore utilisé 17:23 mazes_83 au fait, les maidroids peuvent utiliser better farming maintenant 17:23 MTDiscord Ho c'est cool sa :D 17:25 MTDiscord Je re bientot j'vais reboot mon systeme linux avec une version 2019 :p 17:25 MTDiscord Les versions récente on quelque bug génant :p 17:25 mazes_83 par contre je pense pas que le canal soit fait pour des discussions privées, dommage, comme j'ai pas discord on peut pas faire du privé, ou alors faut que tu irc aussi 17:26 MTDiscord Mais tu as pas address mail ? 17:26 mazes_83 si, mais c'est pas trop synchrone 17:26 MTDiscord Ya toute la communauté minetest avec des salons pour des aides dans les codes et tout 17:27 MTDiscord Que veut-tu dire par "synchrone" 17:27 mazes_83 j'aime pas discord, déjà parce que ça s'appelle pas "harmony" 17:28 MTDiscord Wat ? 17:28 mazes_83 between discord and harmony there is such a gap 17:28 MTDiscord Essaye au moins une fois stp, tien mon discord en amis : Atlante#0896 17:31 mazes_83 they care about toilet paper brand I use to make advertisements, for my part I just use it to ... 17:31 MTDiscord Euh 18:56 mrkubax10 what type is pointed_thing argument passed to on_place callback in node definition? 19:00 MTDiscord ~api pointed_thing 19:00 MTDiscord ups wrong channel 🙂 19:02 mrkubax10 !api pointed_thing 19:02 MinetestBot pointed_thing, someone thinks you should read the API docs, please go to: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt 19:03 mrkubax10 ah it's not what I thought it was 19:15 sfan5 yeah it can't do lookup 19:27 MinetestBot 02[git] 04RichardTry -> 03minetest/minetest_game: Tweak MTG craftguide Russian translation (#2975) 136921c9b https://github.com/minetest/minetest_game/commit/6921c9bbd134391a78eb6e4f1d578fcac085ddcc (152023-03-10T19:26:30Z) 19:27 MinetestBot 02[git] 04RichardTry -> 03minetest/minetest_game: Fix 'boats' russian translation (#2974) 13aeb27c4 https://github.com/minetest/minetest_game/commit/aeb27c4db6959d20e525f5754b88d107b168e957 (152023-03-10T19:27:15Z) 19:56 mazes_83 any interest in making fields read-only, in a table I export globally from within a mod ? conceptually seems good but: 1/ global scope allows to erase whole table anyway, 2/ any overhead ? 19:57 MTDiscord You can't make table fields "read-only"; rawget and rawset can always be used to modify your table. 19:58 mazes_83 so really no interest 19:58 MTDiscord How would you implement "read-only" fields anyway? The only possible implementation I see right now would be using a proxy table which delegates to the actual table using the __index metamethod and throwing an error on __newindex. This will negatively impact performance and it might negatively impact developer experience (e.g. pairs(t) won't work as expected). 19:59 mazes_83 yes I used a proxy table 19:59 MTDiscord mazes_83: Another thing to keep in mind: There might be legitimate use cases for users to monkey-patch, hook or even extend your table, which is only possible if it is "writable". 20:00 mazes_83 it remains kind of writable but with add only feature to allow registering new features 20:00 Desour if you have some global table that should be read-only, you can document it. and depending mods can use luacheck to make sure they never write to it 20:00 MTDiscord mazes_83: I'd get rid of it. It complicates your code, limits mod devs (who now have to find workarounds to monkey-patch your table), and it seems very, very unlikely to me that one would accidentally overwrite functions of your mod table; if they really want to, they will always be able to. 20:01 MTDiscord mazes_83: well, do you prevent rawset? 20:02 mazes_83 anyway I just tested this in a branch 20:02 MTDiscord (you'd have to overwrite rawset for that) 20:02 MTDiscord but yes, documenting it is the most I'd do 20:04 mazes_83 I was lazy to document, but the "locked" branch quite made it, I just have to copy code to READMe or API.md