Minetest logo

IRC log for #minetest, 2023-03-10

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

All times shown according to UTC.

Time Nick Message
00:23 Lesha_Vel joined #minetest
00:25 sparky4 joined #minetest
00:44 lhofhansl joined #minetest
00:46 Verticen joined #minetest
00:52 Lesha_Vel joined #minetest
01:03 Lesha_Vel joined #minetest
01:06 sweetiebot joined #minetest
01:13 smk joined #minetest
01:35 proller joined #minetest
01:39 fling joined #minetest
01:52 kilbith_ joined #minetest
02:49 fling joined #minetest
04:57 lynx joined #minetest
05:00 MTDiscord joined #minetest
05:31 calcul0n joined #minetest
06:23 Verticen joined #minetest
06:57 klaidas joined #minetest
07:00 klaidas left #minetest
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:27 calcul0n joined #minetest
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 <jordan4ibanez> 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 <jordan4ibanez> I'm outta here!
08:04 YuGiOhJCJ joined #minetest
08:07 MTDiscord <Flamore> same
09:03 appguru joined #minetest
09:22 Lesha_Vel joined #minetest
09:23 Lesha_Vel joined #minetest
10:14 appguru joined #minetest
10:25 TomTom_ joined #minetest
11:38 Desour joined #minetest
11:49 proller joined #minetest
12:18 appguru joined #minetest
12:44 proller joined #minetest
13:36 proller joined #minetest
13:43 appguru joined #minetest
13:52 kilbith__ joined #minetest
14:33 vintprox[m]1 joined #minetest
15:30 Desour joined #minetest
15:54 fluxionary joined #minetest
16:15 mrkubax10 joined #minetest
16:19 appguru joined #minetest
16:20 Skriptmonkey joined #minetest
16:22 definitelya joined #minetest
16:37 Desour joined #minetest
16:58 duds` joined #minetest
17:16 mazes_83 any intererest in making fields read-only, in a table I export globally from within a mod
17:16 wsor4035 joined #minetest
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 <Atlante> T'es ou mazes ?
17:19 mazes_83 chez moi
17:19 mazes_83 salut
17:19 MTDiscord <Atlante> Oui mais tu parle d'ou xD ?
17:19 MTDiscord <Atlante> slt
17:20 mazes_83 il y a un bridge irc <-> discord
17:20 MTDiscord <Atlante> 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 <Atlante> Ho c'est cool sa :D
17:25 MTDiscord <Atlante> Je re bientot j'vais reboot mon systeme linux avec une version 2019 :p
17:25 MTDiscord <Atlante> 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 <Atlante> Mais tu as pas address mail ?
17:26 mazes_83 si, mais c'est pas trop synchrone
17:26 MTDiscord <Atlante> Ya toute la communauté minetest avec des salons pour des aides dans les codes et tout
17:27 MTDiscord <Atlante> 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 <Atlante> Wat ?
17:28 mazes_83 between discord and harmony there is such a gap
17:28 MTDiscord <Atlante> 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 <Atlante> Euh
17:36 Flit[m] joined #minetest
17:48 kilbith joined #minetest
18:02 appguru joined #minetest
18:15 Wuzzy joined #minetest
18:34 mckaygerhard1 joined #minetest
18:38 Desour_ joined #minetest
18:56 mrkubax10 what type is pointed_thing argument passed to on_place callback in node definition?
19:00 MTDiscord <SaKeL> ~api pointed_thing
19:00 MTDiscord <SaKeL> 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 [git] RichardTry -> minetest/minetest_game: Tweak MTG craftguide Russian translation (#2975) 6921c9b https://github.com/minetest/minetest_game/commit/6921c9bbd134391a78eb6e4f1d578fcac085ddcc (2023-03-10T19:26:30Z)
19:27 MinetestBot [git] RichardTry -> minetest/minetest_game: Fix 'boats' russian translation (#2974) aeb27c4 https://github.com/minetest/minetest_game/commit/aeb27c4db6959d20e525f5754b88d107b168e957 (2023-03-10T19:27:15Z)
19:36 Desour joined #minetest
19:53 mazes_83 joined #minetest
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 <luatic> 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 <luatic> 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:58 Verticen joined #minetest
19:59 mazes_83 yes I used a proxy table
19:59 MTDiscord <luatic> 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 <luatic> 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 <luatic> mazes_83: well, do you prevent rawset?
20:02 mazes_83 anyway I just tested this in a branch
20:02 MTDiscord <luatic> (you'd have to overwrite rawset for that)
20:02 MTDiscord <luatic> but yes, documenting it is the most I'd do
20:02 Lumia joined #minetest
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
20:19 Lumia joined #minetest
20:45 mrkubax10 joined #minetest
20:54 Lumia joined #minetest
22:07 Lumia joined #minetest
22:18 Talkless joined #minetest
22:26 appguru joined #minetest
22:43 proller joined #minetest
22:48 proller joined #minetest
23:41 Lumia joined #minetest
23:50 Lesha_Vel joined #minetest
23:50 Lesha_Vel joined #minetest

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