Time Nick Message 03:49 big_caballito hey, how can i disable mobs per world? 03:49 big_caballito or is that even possible? 03:50 big_caballito oops wrong chan 08:50 n_to Hi everyone . I have a short question about translations. I'm atm reviewing german translations for mods and sometimes strings are missing. (both in the .tr files and in template.txt). 08:50 n_to Now the question: Is there a script for generating template.txt or are those files maintained manually? 08:50 n_to I searched through several wikis and I can't find an answer to this :( 08:55 n_to ah, I just stumble upon the dev-tool-page. this might help :) https://dev.minetest.net/Development_Tools 10:03 kingskid hi I just got a new lenovo desktop I installed linux Mint 20 on it but the software manger put me on minetest 5.0.1 how do I get the latist Mt? 10:25 MTDiscord compile it from source yourself 10:32 MTDiscord wget https://github.com/minetest/minetest/archive/5.4.0.tar.gz 10:38 kingskid Thanks MTDiscord 12:17 Bombo 5.4.1 is the latest according to topic ;) 12:17 Bombo n_to: gut, i noticed that some translations are missing too :) 12:34 MiniontobyPI hi 13:40 tech_exorcist how can I see a list of blocks defined in a given namespace? 13:42 VanessaE iterate through minetest.registered_nodes{} using string.find() or string.match() to search for the namespace you want. 13:42 MiniontobyPI for what? 13:42 tech_exorcist to see a list of the blocks defined in `default' 13:43 MiniontobyPI minetest.register_on_mods_loaded(function() 13:43 MiniontobyPI for key, value in pairs(minetest.registered_nodes) do 13:43 MiniontobyPI minetest.log(key) 13:43 MiniontobyPI end 13:43 MiniontobyPI end) 13:43 tech_exorcist thanks 13:43 VanessaE noooo 13:43 MiniontobyPI I used that to get list of node drops 13:43 tech_exorcist noooo | ? 13:43 VanessaE well actually I guess that works too 13:43 MiniontobyPI and randomize them 13:47 MiniontobyPI btw yeah how to 13:47 MiniontobyPI local pos = player:get_pos() 13:47 MiniontobyPI local posst = minetest.pos_to_string(pos) 13:47 MiniontobyPI but then round it up to 1 decimal 14:06 MiniontobyPI im away 14:06 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Isolate library tables between sandbox and insecure env 13623f0a8 https://git.io/JOEzZ (152021-04-18T14:06:42Z) 14:09 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: GLES fixes (#11205) 130077982 https://git.io/JOEzP (152021-04-18T14:07:13Z) 14:17 VanessaE uh uh. you devs need to rewrite Minetest. Linus Torvalds now says C++ is "a crap language" :) 14:18 VanessaE uh oh* 14:18 sfan5 now? pretty sure he held that opinion for a long time 14:18 VanessaE https://developers.slashdot.org/story/21/04/17/009241/linus-torvalds-says-rust-closer-for-linux-kernel-development-calls-c-a-crap-language 14:19 VanessaE I guess he's just all enamored with Rust :) 14:22 specing Both C and C++ are crap languages. The Ada programming language has been waiting since 1983 for people to care about software safety and is actually used where mistakes are very costly. it even has a gcc frontend => the compiler would stay the same. 14:29 Krock he already stated that years ago 14:30 VanessaE hm, well that's just slashdot being its usual behind-the-times source I suppose, then :) 14:53 celeron55 it shouldn't surprise anyone but C++ wasn't chosen because of it being or not being a crap language 14:53 celeron55 i just liked the library support 15:11 rubenwardy Torvalds said that one of the benefits of writing Git in C is keeping C++ programmers away 15:12 rubenwardy And yeah, that's usually the case. C++ is a bad language, but does have good library support 15:12 rubenwardy Minus the fact that dealing with libraries is painful 15:13 erlehmann there was this story about some guys inventing a gun that shoots forwards and backwards simultaneously. as they were disappointed with the number of killings and maimings resulting from it, they went on to invent C and unix. 15:13 erlehmann VanessaE everyone who gets bitten by a rustacean rewrites everything in rust i think 15:14 erlehmann like i have seen so many projects that were like "X but in rust" hihi 15:14 erlehmann (not X11, i mean X as a placeholder) 15:24 VanessaE heh 15:28 calcul0n maybe a good reason to love c++ is it keeps Torvalds away 15:28 VanessaE Krock: replied to your comment on my mapgen issue. 16:00 bodqhrohro erlehmann: I was bitten by haskellist once, and now I suffer because I can't simply recompile a tiny program for AArch64; probably I'll have to install the whole Cabal in Termux O_O 16:00 bodqhrohro It's gonna be much easier to rewrite the program in some better language. 16:11 erlehmann bodqhrohro i was once a developer like you, but then i took a POSIX sh script to the knee 16:12 erlehmann maybe a good reason to love c++ is it keeps Torvalds away 16:12 erlehmann calcul0n, i question your evaluation skills, a bucket of manure would be able to do that with less complexity! 16:19 calcul0n :) 17:50 imi hi, for some reason in the latest dev I cannot chat. when I press T the console shows up but I cannot enter text. is that a known bug? seems like I cannot enter any text into any text field. I'm using 5.5-dev with irrlichtMT both of them upgraded to the latest 17:52 sfan5 OS? keyboard layout? any warning in the log? 18:25 sfan5 here's an existing report btw https://github.com/minetest/minetest/issues/11190#issuecomment-822036318 18:25 sfan5 and a patch you might want to try 19:15 imi sfan5: ubuntu 20.04 hungarian keyboard 19:16 imi 437d01196 is known _NOT_ to have the issue 19:17 imi sfan5: I'll keep that patch in mind, someone suggested git bisect 19:18 sfan5 437d01196 is before text input changes so it "bypasses" that source of bugs 19:18 sfan5 it's pretty much clear which commit caused this (https://github.com/minetest/irrlicht/commit/3ef59028155ba4cab0f734aecb6bdfc2aa90cbf4) 19:19 imi ok then bisect isn't neccessary, is it? 19:19 imi should I try your patch then? 19:20 sfan5 it's not mine but please do 19:20 imi ok 19:23 imi 2 out of 2 hunks FAILED -- saving rejects to file source/Irrlicht/CIrrDeviceLinux.cpp.rej 19:27 sfan5 argh, line endings 19:27 sfan5 here's a branch https://github.com/minetest/irrlicht/tree/imefix 19:31 imi I started to fix by hand. should I just checkout this branch instead? 19:34 sfan5 would save you time 19:35 imi ok 19:37 imi this bug is kind of probabilistic. sometimes it does not happen for hours sometimes it happens after just 5 minutes, so I'll let you know if I experience it again 19:37 imi do I need to file a bug? 19:39 sfan5 we already have one open which is likely the same one you're seeing 19:43 imi no, this way I cannot chat at all 19:43 imi previously it worked sometimes for some amout of time 19:44 sfan5 hm 19:44 sfan5 try the resetting to the "imefix1" commit 19:44 imi by I cannot chat I mean I cannot enter any text into any text field 19:44 imi including the terminal 19:45 imi can you help with that? I'm not a very big git wizard :( 19:48 imi will git reset --soft HEAD~ do the trick? 19:48 sfan5 git reset --hard HEAD^ 19:48 sfan5 (then recompile obviously) 19:49 imi obviously 19:49 sfan5 just tested that patch here, works normally 19:50 sfan5 you're on the latest minetest commit right? testing an older one is no use 19:50 imi HEAD is now at 4719f3c Fix Android build (again) 19:50 imi minetest is 0077982fb 19:51 sfan5 looks correct 19:52 sfan5 except irrlicht is one commit too far, git reset origin/imefix^ --hard will directly take you to the correct commit 19:53 imi I have a strong suspicion that I lose the ability to type the first time I move my mouse in-game with any text field and/or terminal open 19:54 imi HEAD is now at e29e327 imefix1 19:54 sfan5 hold on, "Falling back to non-i18n input." does not appear in the log, does it? 19:54 sfan5 because that'd make an important difference 19:56 imi unrelated: scrolling is very slow now in 5.5-dev (feels like 1 pixel per wheelclick) 19:56 imi where whould I look for it? 19:56 imi mt or irrlicht? git log? 19:56 sfan5 mt when you run it 19:57 imi on the console? or where? 19:58 sfan5 in a terminal if you run it from one 19:58 imi ok so stderr/stdout you mean 19:58 sfan5 yea 20:00 imi ok no instances of "i18n" in that output 20:01 imi anyhow now I can chat 20:02 sfan5 so you'd say the issue is now entirely gone? 20:05 imi as far as I can tell. it used to be probabilistic, maybe I'll experience it in ~30 minutes, maybe not 21:04 imi ok so far my bug is gone 21:04 imi so I suspect it's solved 21:05 sfan5 good to know, thank you for testing patiently 21:06 imi ok thanks for the solution :)