Time Nick Message 14:07 [MTMatrix] Some stupid (?) question, I can directly read from rollback.sqlite from lua modding, for create statistic based on rollback? 14:10 [MTMatrix] I know api for rollback, but it per player, maybe iterator non-optimal for perfomance or nornal? 14:11 [MTMatrix] I know api for rollback, but it per player, maybe iterator not optimal for perfomance or nornal? 14:45 [MTMatrix] Okay, just export SQL query as output in txt file then read it from mod 14:45 [MTMatrix] 👀 16:48 [MTMatrix] Why rollback not writes to db on the fly? Possible change buffer size before write it to db? 16:50 [MTMatrix] more like maybe dev question 17:12 erle first unicode signs mod sighted https://codeberg.org/cora/uc_signs 17:13 MTDiscord signslibs supports unicode, so its not the first 17:14 MTDiscord But signs_lib can't display russian characters 17:14 erle wsor4035 oh. how does it handle, e.g. combining characters? 17:14 [MTMatrix] wut? 17:15 MTDiscord https://github.com/mt-mods/signs_lib/pull/2 17:15 [MTMatrix] it can, but disable option UTF-8, this strange 17:16 MTDiscord huh AsyncErr: Lua: Runtime error from mod 'ucsigns' in callback LuaLBM::trigger(): Runtime error from mod 'ucsigns' in callback luaentity_Activate(): /home/z7/.minetest/mods/uc_signs/init.lua:46: attempt to call method 'tostring' (a nil value) 17:17 [MTMatrix] so.. unicode textures is hard... 17:17 erle that is plan0 only btw 17:17 MTDiscord i believe i can read 17:17 erle wsor4035 so how does it handle combining character? 17:18 MTDiscord go read the code yourself 17:18 erle wsor4035 i did, but i did not understand it. 17:18 erle *does* it handle combining characters? 17:18 MTDiscord ah needs patch to tga encoder 17:18 erle zmv7 i believe this is because cora patched tga_encoder locally (i advised against it). 17:19 erle the patch is actually not necessary 17:19 erle like, she could have just used the APi a bit differently 17:20 erle zmv7 i'll try to fix it and get back to you 17:21 [MTMatrix] tga not will be deprecated in the future? 17:21 [MTMatrix] tga will not be deprecated in the future? 17:21 MTDiscord another err AsyncErr: Lua: Runtime error from mod 'ucsigns' in callback luaentity_Activate(): decompressZstd: failed stack traceback: [C]: in function 'decompress' /home/z7/.minetest/mods/uc_signs/init.lua:286: in function 'update_sign' /home/z7/.minetest/mods/uc_signs/init.lua:317: in function 'func' .../z7/minetest/bin/../builtin/profiler/instrumentation.lua:108: in function 17:21 MTDiscord <.../z7/minetest/bin/../builtin/profiler/instrumentation.lua:101>AsyncErr: Lua: Runtime error from mod 'ucsigns' in callback luaentity_Activate(): decompressZstd: failed stack traceback: [C]: in function 'decompress' /home/z7/.minetest/mods/uc_signs/init.lua:286: in function 'update_sign' /home/z7/.minetest/mods/uc_signs/init.lua:317: in function 'func' .../z7/minetest/bin/../builtin/profiler/instrumentation.lua:108: in function 17:21 MTDiscord <.../z7/minetest/bin/../builtin/profiler/instrumentation.lua:101> 17:22 erle i believe the order of base64 and compression is wrong 17:22 [MTMatrix] use boop.icu as pastebin :D 17:23 erle i'll fix the tga_encoder thing first 18:09 erle zmv7 i told cora about the issues and i guess they will be fixed. also i told her that tga_encoder needs no image:tostring() because you can just call image:encode() with the correct encoding parameters 18:09 erle basically what she did in the ucsigns mod is try to reuse the heuristics for saving arbitrary bitmaps for signs 18:10 erle IMO that's not a good idea, because you *know* you are rendering monochrome bitmaps from a font, so you probably have very exact ideas about e.g. if it is going to be a monochrome picture or so 18:10 erle (most likely it is) 18:19 erle zmv7 if you have too much time (can't test right now), this change to init.lua in uc_signs could make it work https://mister-muffin.de/p/dmr3.diff 21:24 MTDiscord test 21:25 MTDiscord testing 21:28 wsor1 test 21:33 MTDiscord test 21:35 wsor4035 bot left irc and didnt rejoin 21:38 wsor4035 back 21:39 MTDiscord test 21:40 MTDiscord test22 21:55 [MTMatrix] I could try to put it back the way it was tho 21:55 [MTMatrix] or manually restore 21:55 [MTMatrix] um here's the bot, hello 21:56 [MTMatrix] well, thats lovely 21:56 MTDiscord test 21:56 [MTMatrix] seems to work, albeit slowly 21:56 [MTMatrix] but how reliable is it coming from here now 21:57 [MTMatrix] is your cpu/ram maxed out? 21:58 [MTMatrix] no 21:59 [MTMatrix] 86% idle cpu, 7.17 gb free mem 21:59 MTDiscord anyhow it seems to work. 🤞 22:05 [MTMatrix] test 22:05 MTDiscord test 22:06 [MTMatrix] reboot complete, I've gtg now 22:08 [MTMatrix] Ok 22:46 [MTMatrix] Test? 23:57 Isaacow Hey there, I'm new here. Does my name show up as Isaacow?