| Time |
Nick |
Message |
| 01:07 |
|
TheAltHacker joined #minetest |
| 01:29 |
|
ball joined #minetest |
| 01:55 |
|
peterz joined #minetest |
| 02:05 |
|
peterz joined #minetest |
| 03:21 |
|
jonadab joined #minetest |
| 03:23 |
|
Verticen_ joined #minetest |
| 04:00 |
|
MTDiscord joined #minetest |
| 04:21 |
|
ball left #minetest |
| 05:19 |
|
calcul0n_ joined #minetest |
| 05:56 |
|
fling joined #minetest |
| 05:58 |
|
Lesha_Vel_ joined #minetest |
| 06:10 |
|
lemonzest joined #minetest |
| 07:41 |
|
est31 joined #minetest |
| 08:10 |
|
Unit193 joined #minetest |
| 08:19 |
|
Verticen_ joined #minetest |
| 08:58 |
|
est31 joined #minetest |
| 09:15 |
|
Flabb joined #minetest |
| 09:26 |
|
Fixer joined #minetest |
| 10:37 |
|
behalebabo joined #minetest |
| 10:49 |
|
definitelya joined #minetest |
| 11:01 |
|
Alias joined #minetest |
| 11:45 |
|
debiankaios joined #minetest |
| 11:49 |
|
specing_ joined #minetest |
| 12:01 |
sfan5 |
today in differences between PUC Lua and LuaJIT |
| 12:01 |
sfan5 |
> =string.format("%s", "a\000b") |
| 12:01 |
sfan5 |
a |
| 12:01 |
sfan5 |
> =string.format("%s", "a\000b") |
| 12:01 |
sfan5 |
ab |
| 12:04 |
MTDiscord |
<luatic> sfan5: decimal escapes may have at most 3 chars |
| 12:04 |
MTDiscord |
<luatic> that's actually documented in the reference manual |
| 12:05 |
sfan5 |
isn't it octal? |
| 12:05 |
MTDiscord |
<luatic> ah nvm, this is about null termination |
| 12:05 |
sfan5 |
but that's not the point here |
| 12:05 |
MTDiscord |
<luatic> sfan5: nah, it's decimal |
| 12:05 |
sfan5 |
that's awful |
| 12:06 |
MTDiscord |
<luatic> LuaJIT supports hex ;) |
| 12:06 |
MTDiscord |
<luatic> PUC Lua 5.1 doesn't however |
| 12:06 |
sfan5 |
because it's unlike many other languages including C, JavaScript, Python, ... |
| 12:07 |
MTDiscord |
<luatic> sfan5: This is still documented though: "This function does not accept string values containing embedded zeros, except as arguments to the q option." |
| 12:07 |
MTDiscord |
<luatic> https://www.lua.org/manual/5.1/manual.html#pdf-string.format |
| 12:07 |
MTDiscord |
<luatic> that's because it uses printf behind the scenes |
| 12:07 |
sfan5 |
did that change in 5.2 or is it non-standard luajit behaviour? |
| 12:08 |
sfan5 |
(didn't have 5.1 here to test, the line I pasted is from 5.2) |
| 12:08 |
MTDiscord |
<luatic> sfan5: It seems to have changed in 5.3 |
| 12:09 |
MTDiscord |
<luatic> Yep, 5.2 refman: "Option q expects a string; option s expects a string without embedded zeros." |
| 12:09 |
MTDiscord |
<luatic> 5.3: "Option s expects a string; if its argument is not a string, it is converted to one following the same rules of tostring. If the option has any modifier (flags, width, length), the string argument should not contain embedded zeros. " |
| 12:09 |
MTDiscord |
<luatic> TL;DR: Don't use embedded zeros :P |
| 12:10 |
MTDiscord |
<luatic> Most of what's dirty in Lua has been inherited from C |
| 12:10 |
sfan5 |
nothing prevents them from writing their own printf implementation |
| 12:10 |
MTDiscord |
<luatic> Indeed |
| 12:11 |
MTDiscord |
<luatic> Other things like locale or os.* things are limited though |
| 12:11 |
sfan5 |
and it looks like they did in 5.3 for %s but didn't bother handling anything more complex |
| 12:11 |
MTDiscord |
<luatic> 5.4: "The specifier s expects a string; if its argument is not a string, it is converted to one following the same rules of tostring. If the specifier has any modifier, the corresponding string argument should not contain embedded zeros. " |
| 12:22 |
|
proller joined #minetest |
| 12:29 |
|
Fixer joined #minetest |
| 12:36 |
sfan5 |
with that fixes my test just hangs on Lua |
| 12:36 |
sfan5 |
o.O |
| 12:47 |
sfan5 |
"terminate called without an active exception" wat |
| 12:54 |
sfan5 |
okay it doesn't like string.format("%s", true) and also because of other brokenness the error gets swallowed |
| 13:02 |
|
Alias joined #minetest |
| 13:41 |
|
jonadab joined #minetest |
| 13:51 |
|
Eytirth1 joined #minetest |
| 13:52 |
|
Eytirth1 left #minetest |
| 14:30 |
|
lagash joined #minetest |
| 14:44 |
|
proller joined #minetest |
| 15:20 |
|
Verticen_ joined #minetest |
| 15:26 |
|
book` joined #minetest |
| 15:28 |
|
kevinsan joined #minetest |
| 16:26 |
muurkha |
other brokenness in Lua or in your test? |
| 16:47 |
|
sobkas joined #minetest |
| 16:51 |
sfan5 |
in Minetest |
| 16:54 |
muurkha |
btw I did eventually get Minetest 5.5 installed but I had to compile it from source. Ubuntu still only has 5.4, even in snaps |
| 16:55 |
sfan5 |
yeah it's unfortunate |
| 16:55 |
muurkha |
and I can verify that combining accents now work properly in the chat, which is awesome |
| 16:55 |
muurkha |
compiling it from source was especially problematic because I tried compiling the 5.5.1 release |
| 16:56 |
muurkha |
and apparently somebody thought it would be a good idea to remove irr::core::list from irrlichtmt and at the same time remove its use from minetest |
| 16:56 |
muurkha |
which means that you can't compile minetest 5.5.1 from a month ago againt current irrlichtmt |
| 16:56 |
sfan5 |
you're supposed to use "matching" versions but the README doesn't mention that at all |
| 16:57 |
muurkha |
I think this is bad because there's no way to tell what's "matching" |
| 16:57 |
muurkha |
git submodules have their problems but they do solve this one because they tell you what commit hash the submodule is at |
| 16:58 |
muurkha |
so I looked through the git log for irrlichtmt and saw the commit message (which, by the way, are very nice) |
| 16:59 |
muurkha |
the accented letters still don't work with VanessaE's signslib but at least I can type them |
| 17:01 |
muurkha |
I was hoping that this would be a straightforward compilation from source experience for my girlfriend to enjoy but instead she had to learn to interpret C++ compile errors (in a foreign language, because for whatever reason G++'s error messages were in English) and detached HEAD state |
| 17:03 |
rubenwardy |
muurkha: we have an official PPA here https://launchpad.net/~minetestdevs/+archive/ubuntu/stable |
| 17:03 |
muurkha |
rubenwardy: oh cool! maybe it would be worthwhile mentioning it on the downloads page, or did i just miss it? |
| 17:04 |
|
Talkless joined #minetest |
| 17:04 |
rubenwardy |
Probably, we also shouldn't recommend snap |
| 17:04 |
muurkha |
I'm not a fan of snap myself |
| 17:04 |
rubenwardy |
no one is |
| 17:04 |
muurkha |
I think probably unless irrlichtmt is in the same repo as minetest it would be worthwhile to have a deprecation policy and transition period for incompatible changes like that |
| 17:04 |
sfan5 |
the PPA used to be mentioned but it was unmaintaned or something |
| 17:04 |
sfan5 |
(it's also missing 5.5.1 even now) |
| 17:05 |
rubenwardy |
I've not met a single person who likes snap or prefers it overr flatpak/appimage |
| 17:05 |
muurkha |
I haven't compared it to them, but I don't prefer it to apt |
| 17:05 |
rubenwardy |
Like, I'm a fan of containerising dependencies - it's makes it easier to ship an application across distros |
| 17:05 |
muurkha |
even though in theory it has some advantages apparently there's no way to keep snap from updating things at random times? |
| 17:06 |
muurkha |
so I can't use a snap-based laptop on a metered cellphone connection because it will eat my entire day's worth of data in a few mintues? |
| 17:06 |
rubenwardy |
You can mark the cellphone connection as metered |
| 17:06 |
muurkha |
without a transition period for incompatible changes, compiling minetest from source requires acquiring knowledge that isn't in the actual source code itself, namely which exact sub-release version of the dependency is needed |
| 17:07 |
muurkha |
I'll google that, thanks |
| 17:07 |
sfan5 |
you can also delay updates with snap |
| 17:07 |
sfan5 |
or so I read |
| 17:08 |
muurkha |
what I'd really like to be able to do is roll back updates, like guix/nix allows me to do |
| 17:08 |
muurkha |
you'd think containerization would make that straightforward in many cases |
| 17:23 |
MinetestBot |
[git] rollerozxa -> minetest/minetest: Fix Android input box crash 992f501 https://github.com/minetest/minetest/commit/992f501159b2fc6c5878d86cc477413250b4efa2 (2022-06-14T17:22:22Z) |
| 17:35 |
|
sobkas joined #minetest |
| 17:46 |
|
CWz joined #minetest |
| 18:06 |
|
sobkas joined #minetest |
| 18:06 |
|
shrikant joined #minetest |
| 18:08 |
shrikant |
Hello. Can i change entity texture in runtime? |
| 18:10 |
|
dabbill_ joined #minetest |
| 18:11 |
|
cation21 joined #minetest |
| 18:15 |
MTDiscord |
<luatic> Yes. Look for "set_properties" in the docs and read the section on object properties. |
| 18:15 |
MTDiscord |
<luatic> There is a "textures" property. |
| 18:17 |
shrikant |
luatic: Oh, awesome. Thank you! |
| 18:20 |
|
debiankaios joined #minetest |
| 18:21 |
|
gff joined #minetest |
| 18:21 |
|
muurkha joined #minetest |
| 18:21 |
|
definitelya joined #minetest |
| 18:21 |
|
mazes_83 joined #minetest |
| 18:23 |
|
appguru joined #minetest |
| 18:25 |
|
Boingo joined #minetest |
| 18:25 |
|
muurkha joined #minetest |
| 18:25 |
|
gff joined #minetest |
| 18:34 |
|
shrikant left #minetest |
| 18:37 |
|
sobkas joined #minetest |
| 19:11 |
|
sobkas joined #minetest |
| 19:15 |
|
wsor0 joined #minetest |
| 19:16 |
|
jojje_ joined #minetest |
| 19:17 |
|
zz812 joined #minetest |
| 19:17 |
|
valhalla_ joined #minetest |
| 19:18 |
|
ROllerozxa_ joined #minetest |
| 19:19 |
|
AndrewYu joined #minetest |
| 19:19 |
|
lumidify joined #minetest |
| 19:19 |
|
book`_ joined #minetest |
| 19:20 |
|
syl_ joined #minetest |
| 19:21 |
|
peterz_ joined #minetest |
| 19:22 |
|
InFerNo_ joined #minetest |
| 19:24 |
|
frostsnow joined #minetest |
| 19:31 |
|
nore joined #minetest |
| 19:45 |
|
sobkas joined #minetest |
| 20:18 |
|
sobkas joined #minetest |
| 20:41 |
|
jonadab joined #minetest |
| 20:50 |
|
sobkas joined #minetest |
| 20:58 |
|
proller joined #minetest |
| 20:58 |
|
erle joined #minetest |
| 21:23 |
|
sobkas joined #minetest |
| 22:06 |
|
sobkas joined #minetest |
| 22:07 |
|
Sokomine joined #minetest |
| 22:33 |
settl3r[m] |
Hello, does someone know how to use the prospector tool (of the technic mod) ? i already tried it out in creative mode, but can't find out how to find ores with it.. |
| 22:33 |
|
panwolfram joined #minetest |
| 22:36 |
|
sobkas joined #minetest |
| 22:37 |
settl3r[m] |
the problem is, that the prospector "does nothing", i clicked it in various circumstances |
| 22:37 |
settl3r[m] |
(only the right-click configuration menu works, but thats all) |
| 22:38 |
settl3r[m] |
i can switch to different blocks, but it doesnt find more.. is there a readme for this tool? |
| 22:38 |
settl3r[m] |
if i left-click, it only shows the attack-animation |
| 22:39 |
settl3r[m] |
(also, i discovered its existence by pure accident) |
| 23:12 |
|
AliasAlreadyTake joined #minetest |
| 23:41 |
Pexin |
settl3r[m]: right click to set which node to search for |
| 23:41 |
Pexin |
left click while targeting any node to activate the search |
| 23:41 |
Pexin |
can't just click the air |
| 23:42 |
Pexin |
full disclosure I've only used prospector mk2 |
| 23:49 |
|
behalebabo joined #minetest |
| 23:52 |
|
specing joined #minetest |