Time Nick Message 00:00 erlehmann i still maintain that adding a function that has a callback AND blocks was the problem here 00:00 erlehmann if the intermediate function had not been there, the breakage would have been obvious 00:01 MTDiscord The devs correctly maintain the stance that this is on the modders who didn't use the callback even after the intermediate function forced it upon them 00:01 erlehmann this is not “necessity” in the sense of “there is no possible way to do it different”. i have pointed out that making a dynamic_add_media2 for the 2-argument-form of the function is a much cleaner solution. removing the old function (or keeping it) is easy then too. 00:02 MTDiscord And despite the docs clearly telling them to use the callback 00:02 sfan5 this must be the third time you have claimed that keeping the old function is easy 00:02 MTDiscord erlehmann: removing the old function might have been easy - with lot's of code duplication though 00:02 MTDiscord lots* 00:02 erlehmann sfan5 well there is no way to keep it now 00:02 sfan5 I know you're wrong so for me this is the perfect proof that you have not once looked at the code behind it 00:03 MTDiscord the new API uses an entirely different async protocol 00:03 erlehmann sfan5 easy as in “keeping compatibility”, not easy as in “the code does not look like a mess” 00:03 erlehmann i value compatiblity higher than the platonic ideal form, you do the reverse ig 00:04 sfan5 it's not about code looking good 00:04 MTDiscord both are important 00:04 sfan5 once again you have not once looked at the implementation 00:04 erlehmann is this about the sending media twice? 00:04 MTDiscord that's what v1 had to do due to the hacky protocol, yes 00:04 sfan5 since you are so confident all the time you should find out yourself 00:05 erlehmann give me a minute. also, please less snark. we're all cooking with water here. 00:05 sfan5 I can post less snarky once you fact check your claims before posting 00:06 erlehmann as i said, give me a minute 00:06 sfan5 sure 00:06 erlehmann luatic, can i spinlock in minetest lua? 00:06 MTDiscord I find sfan5's argument compelling: https://github.com/minetest/minetest/issues/11997#issuecomment-1024143311 and https://github.com/minetest/minetest/issues/11997#issuecomment-1024346655 00:06 erlehmann can i await? 00:07 MTDiscord await what? 00:07 erlehmann await an async function 00:07 MTDiscord the callback being called? no? 00:07 sfan5 if you build await with coroutines sure 00:07 sfan5 lua does not have that concept out of the box 00:08 MTDiscord yes 00:09 sfan5 if you are asking whether you can do a blocking wait until the callback would have been called (for compat) then it's a no 00:09 MTDiscord but for MCL5: I believe we should just fix the issue there or make kay27 aware of it; MCL5 is horribly unstable anyways 00:10 MTDiscord sfan5: I'm assuming erlehmann is trying to monkeypatch this on the mod side of things 00:11 erlehmann luatic no, i want to figure out *how* it would have been monkeypatched 00:11 erlehmann “MCL5 is horribly unstable anyways” → you had me in the first 3 words 00:12 erlehmann am i correct than with a lag of more than 5s you never get the dynamic media? 00:13 sfan5 not really 00:17 erlehmann sfan5 i have read all the code twice and still don't get the problem with keeping the old thing. i mean i see the wrapper stuff and dynamic_add_media_raw, but … where is the difficulty? it looks to me it is just ugly, but if you are so insistent, then i am probably overloooking something major. 00:17 erlehmann like, it's not even that much code. does it interact with something else? 00:18 erlehmann luatic do you know? you are good with lua after all 00:18 sfan5 are you reading the 5.4 code? it's not in there 00:18 erlehmann i did git log 00:18 erlehmann to see all 3 versions 00:18 erlehmann the 5.3, the 5.4, the 5.5 version 00:18 sfan5 the reason is that if you are talking to a new client then the media fetch is always asynchronous 00:19 sfan5 if you wanted to preserve the blocking behaviour the only way would be to block the entire server until all clients report that they have received the media 00:19 MTDiscord so if a v1 server sends dynamic media to a v2 client it fetches async 00:19 sfan5 well no 00:19 sfan5 that wasn't totally accurate, it depends on the protocol version the server agree on 00:20 MTDiscord ah good 00:20 sfan5 s/the (server)/the client and \1/ 00:20 Wuzzy reminder to all translaters reading htis: you can translate builtin as well now for the first time 00:21 erlehmann how did the old protocol handle this without locking up the server? 00:21 Wuzzy builtin is responsible for things like chatcommands and server messages 00:21 sfan5 the old way was synchronous 00:21 sfan5 old clients do not get asked to fetch the media, they just get it thrown at them 00:22 MTDiscord ^ 00:23 MTDiscord thrown over two channels 00:23 sfan5 (which means the synchronization is implicitly provided by the reliable packet queue) 00:23 erlehmann sfan5 i get it, it is not easy. only the form of the API is easy. 00:24 erlehmann sfan5 you win! 00:24 erlehmann sfan5 any other APIs that have the same blocking → non-blocking transition? 00:24 sfan5 not that I know of 00:24 sfan5 there is probably less than 5 blocking APIs 00:40 erlehmann sfan5 luatic thanks for the explanations 01:41 rubenwardy Made a thing: https://twitter.com/rubenwardy/status/1487599300427362305 01:41 rubenwardy erlehmann ^ 01:41 Toothless I 01:45 erlehmann rubenwardy, awww 01:45 Toothless Impressive addon Mate! 02:18 jordan4ibanez That's awesome! 02:18 rubenwardy thanks all 04:02 MTDiscord @rubenwardy maybe ver2 has a proximity sensor and is painted? 04:02 MTDiscord Anyhow, wow 04:02 rubenwardy I plan to learn how to paint them 04:04 MTDiscord > reminder to all translaters reading htis: you can translate builtin as well now for the first time 04:04 MTDiscord Wuzzy: did it get added to weblate yet? since that's where translators get notified of new strings and to translate new stuff 04:10 MTDiscord you might be able to start a minetest store with a refined version of that and some t-shirts, etc. I think some people would buy such things, and it could help with development and hosting 04:11 MTDiscord I mean, I might even buy a minetest tshirt sometime. Not a promise, but its something I might consider 04:12 MTDiscord you can ofc use a proxy service to handle the sales 05:43 MTDiscord what would people think if a minetest release party for 5.5? Like, IDK, a temp server loaded with some cool mods, especially fireworks and other things. Or maybe a live server could host it. 05:43 MTDiscord *think of 05:45 MTDiscord could be cool maybe? 05:45 MTDiscord like why come? 05:46 MTDiscord just to celebrate the release 12:30 sfan5 @MNH48 builtin is not in weblate, the current workflow is editing the translation files by hand and sending a PR 12:49 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Raise max mapgen limit constant to align with mapblock size 13a9bccb9 https://github.com/minetest/minetest/commit/a9bccb964f6c6ffe9d4f84922d9be640e4dd2f1e (152022-01-30T12:49:26Z) 12:49 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Get rid of empty test file 13f69eead https://github.com/minetest/minetest/commit/f69eead62e71e22d1810e0dedfa363cb9f210268 (152022-01-30T12:49:26Z) 12:52 MinetestBot 02[git] 04rollerozxa -> 03minetest/minetest: Fix Minetest logo when installed system-wide 13172acce https://github.com/minetest/minetest/commit/172acce352acfadacce498915d8eca75e2266731 (152022-01-30T12:49:52Z) 12:52 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Update builtin translation templates 13777fb61 https://github.com/minetest/minetest/commit/777fb616b6d5a5e71583b881df90d89ff8fc3e7c (152022-01-30T12:50:07Z) 12:52 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Update German builtin translation 139d3135a https://github.com/minetest/minetest/commit/9d3135a21b31eea6dcec67b887243bcb6124b6a1 (152022-01-30T12:50:07Z) 12:56 MinetestBot 02[git] 04An0n3m0us -> 03minetest/minetest_game: Add trapdoor/door model specification (#2371) 13172b62f https://github.com/minetest/minetest_game/commit/172b62f802114d2330b9ebb5921621a68dfceb5c (152022-01-30T12:54:37Z) 12:57 sfan5 I wonder if the feature freeze isn't meant to apply to MTG too 12:57 sfan5 not that it matters 13:39 erlehmann why would it? 13:40 erlehmann i mean isn't mtg frozen anyway 13:48 sfan5 the frozen state MTG is in means "no new features", the feature freeze is "only bugfixes" 14:20 MinetestBot 02[git] 04baytuch -> 03minetest/minetest_game: Update Ukranian (uk) translation 13cc3e7be https://github.com/minetest/minetest_game/commit/cc3e7be429845e55eaa6ed8883f778ed46c54449 (152022-01-30T14:20:14Z) 17:47 SOMBRIO Hello! building a integration with a js library, think its better to build a js app to integrate with. is there something like a worlds website project could leverage? I remember using minetesthosting and think they provide something like it with wordpress or joomla 17:59 MTDiscord What kind of integration do you want to build? 18:15 SOMBRIO the js library provides third-party authentication which I want to link with game accounts. player needs to log in on a website using a third-party auth and then link its thirdparty account to the game account 18:16 SOMBRIO like linking a facebook account to the game account 18:18 sfan5 in most cases you will need sqlite3 to interact with the game's authentication database, you can then create and change accounts 18:32 SOMBRIO would authenticate web user based on game account and ask for thirdparty auth then provide a "session code" to insert in-game. A mod then would validate it with a rpc call to the api server 18:48 erlehmann luatic can you come on irc real quick? 18:49 appguru erlehmann: what's the matter? 18:50 erlehmann query 19:16 MinetestBot 02[git] 04thomas@viawords.com -> 03minetest/minetest: Translated using Weblate (Danish) 1317bb271 https://github.com/minetest/minetest/commit/17bb2712cb87883beaf8df962b8e56e303cbc590 (152022-01-30T18:51:22Z) 19:16 MinetestBot 02[git] 04kovacs.balazs.ktk@gmail.com -> 03minetest/minetest: Translated using Weblate (Hungarian) 138b9e5b4 https://github.com/minetest/minetest/commit/8b9e5b47df07616e987461e65113a8e81c086c71 (152022-01-30T18:53:29Z) 19:16 MinetestBot 02[git] 04mnh48 -> 03minetest/minetest: Translated using Weblate (Malay) 139205f10 https://github.com/minetest/minetest/commit/9205f102082e44501b7f45b7293df208f7e336ef (152022-01-30T18:53:29Z) 19:16 MinetestBot 02[git] 04daretmavi -> 03minetest/minetest: Translated using Weblate (Slovak) 1339f5b05 https://github.com/minetest/minetest/commit/39f5b05ae98729b02fe52f5dc115fb84573383ba (152022-01-30T18:53:29Z) 19:16 MinetestBot 02[git] 04BreadT -> 03minetest/minetest: Translated using Weblate (Japanese) 13f3e23ae https://github.com/minetest/minetest/commit/f3e23ae9723d7d0ce95ebd90949291f3a5dc55bb (152022-01-30T18:53:29Z) 19:16 MinetestBot 02[git] 04waxtatect -> 03minetest/minetest: Translated using Weblate (French) 13fcd06d9 https://github.com/minetest/minetest/commit/fcd06d99c66c1e67e733d3750e2e36c2196e92bf (152022-01-30T18:53:29Z) 19:16 MinetestBot 02[git] (4 newer commits not shown) 20:32 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Abort raycasts that go out-of-bounds (#12006) 13b66477c https://github.com/minetest/minetest/commit/b66477c29f50c52c102be6412bb1754e0cfed143 (152022-01-30T20:31:18Z) 20:35 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Get rid of `basic_debug` last minute 135da204f https://github.com/minetest/minetest/commit/5da204f5bcda7a45ce17f04651627fd8a9d70a82 (152022-01-30T20:32:49Z) 20:35 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Update credits for 5.5.0 release (#12001) 135e4a01f https://github.com/minetest/minetest/commit/5e4a01f2debd173058963f3c19dd954fcd039660 (152022-01-30T20:33:08Z) 21:55 Wuzzy Any translators hanging out here? 21:59 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Add another very awful workaround to prevent a crash on Mingw32 13484a4b5 https://github.com/minetest/minetest/commit/484a4b518f6025f2cdec9eb89fdf3883eb57fc28 (152022-01-30T21:57:44Z) 22:13 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Bump version to 5.5.0 1354b805f https://github.com/minetest/minetest/commit/54b805ffd0002821f228ab6eb25704bcb58e3080 (152022-01-30T21:58:18Z) 22:13 MinetestBot 02[git] 04sfan5 -> 03minetest/minetest: Continue with 5.6.0-dev 138c0331d https://github.com/minetest/minetest/commit/8c0331d2449cf71049c7ce9c06d141e2846ebcb0 (152022-01-30T21:58:19Z) 22:25 sfan5 !op 22:26 sfan5 Minetest 5.5.0 has just been released! For more information please see https://forum.minetest.net/viewtopic.php?f=18&t=27754 22:42 MinetestBot 02[git] 04rubenwardy -> 03minetest/minetest: Use virtual paths to specify exact mod to enable (#11784) 13128f635 https://github.com/minetest/minetest/commit/128f6359e936bcdc5e26409ddd73438bce9c6dd6 (152022-01-30T22:40:53Z) 22:50 sfan5 erlehmann: reading material for you https://asahilinux.org/about/ 22:51 erlehmann sfan5, thank 23:38 gargamel These tree house are great there's lots of dragons up here. 23:45 erlehmann luatic can you explain the table thing to me again? i just don't see how i would do multiple replacement passes easily 23:46 erlehmann luatic i do not get how to write the table thing to be more readable 23:46 erlehmann luatic so if you have any example of this i would like it 23:46 erlehmann same question to wsor