Time Nick Message 00:55 Guest82 hi 11:26 MinetestBot 02[git] 04FreeLikeGNU -> 03minetest/minetest: Add pauloue's ItemStack example to docs (#9853) 13a8c58d5 https://git.io/JDm6w (152021-12-10T11:24:42Z) 11:26 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Update builtin locale 131ab3ead https://git.io/JDm6o (152021-12-10T11:24:53Z) 11:26 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest: Update German locale translation 1376aa610 https://git.io/JDm6K (152021-12-10T11:24:53Z) 11:27 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest_game: Update locale files 132361987 https://git.io/JDm6i (152021-12-10T11:24:48Z) 11:27 MinetestBot 02[git] 04Wuzzy2 -> 03minetest/minetest_game: Update German translation 13ad183c4 https://git.io/JDm6P (152021-12-10T11:24:48Z) 12:26 sfan5 erlehmann: here's a fun one you should be glad Minetest doesn't have https://arstechnica.com/information-technology/2021/12/minecraft-and-other-apps-face-serious-threat-from-new-code-execution-bug 12:27 sfan5 "fun" 12:27 MTDiscord oh man 12:38 erlehmann sfan5 i already told my coworkers hours ago. i do not work on fridays, they to. fun times! 12:38 erlehmann (for values of “fun” that dwarf fortress players would accept, but no one else.) 12:41 erlehmann sfan5, to paraphrase you: I don't think we want knobs to turn off random features. Especially not because of the whole "artistic direction in exploits" thing, if the game/mod author wants the game exploitable it's not up to the server to ignore that. 12:41 erlehmann https://github.com/minetest/minetest/pull/11848#issuecomment-989820773 ;) 12:41 erlehmann the code execution thing is actually a feature of log4j. why minecraft authors left it on? no idea lol 12:43 erlehmann apparently even icloud left it on 12:44 erlehmann i meant “i do not work on fridays, they do.“ 12:45 erlehmann anyone has christmas chest textures to donate? otherwise i make my own 17:55 erlehmann i have the worst christmas tree! https://mister-muffin.de/p/fsBF.jpg 18:05 MTDiscord just learnt some more excel formulas to calculate dates and now nows his first homepage went online 23 years 2 months and 5 days ago 18:06 erlehmann oh yes, excel, that one that often things that something is a date 18:07 erlehmann be sure to not confuse it with incel (also often assuming something is a date) 18:16 MTDiscord yeah, had often entries destroyed/converted because excel asumed something and autochanged the format without asking 18:17 erlehmann for date calculations, i would use python btw. 18:19 erlehmann In [1]: from datetime import datetime, timedelta 18:19 erlehmann In [2]: print(datetime.now() - datetime(year=2020, month=2, day=20)) 18:19 erlehmann 659 days, 19:19:40.708933 18:24 MTDiscord nah, just making excel templates for use with our crm at office 18:25 erlehmann oof 18:25 MTDiscord looks a lot sleeker though 18:26 MTDiscord would have thought ms had something better intigrated into it's office flagships 18:26 MTDiscord I mean yours looks sleeker 18:34 erlehmann twoelk its not about look, but about how fast i get to results 18:59 MTDiscord code is not about looks? 19:24 erlehmann does anyone here know how to talk to websocket from a mod? 19:25 erlehmann if you can teach me, i make a game for the game jam 19:25 erlehmann a very minimal one 19:32 MTDiscord I know how to get as far as using luasockets to talk to an external program via TCP or unix-domain sockets; if you did that, then to talk to a websocket you'd need that external thing to act as a proxy. 19:32 MTDiscord There is probably a websocket module on Luarocks 19:32 MTDiscord There's an HTTP fetch library that's build into MT and available with MUCH less messing around, but I think you'd probably have to use long-polling to make that work. 19:33 MTDiscord There's no "zero config" option, but the best you could do is probably with long-polling where you'd only need to add the mod to the HTTP allow-list. 19:33 erlehmann well i want to connect minetest to intiface 19:33 erlehmann and intiface speaks websocket only AFAIK 19:33 MTDiscord ha 19:33 MTDiscord You'll need either a websocket library or a proxy then 19:33 MTDiscord to do long-polling then you'd probably need to make a proxy or something. 19:34 erlehmann like i want to make a masochist mod where the vibrator vibes whenever you take damage in game 19:34 erlehmann and a sadist mod 19:34 erlehmann and a griefer mod where it vibes whenever you light a tnt 19:34 erlehmann :D 19:35 erlehmann well i think some mods do actually speak websocket, do they all have proxies? 19:35 erlehmann like isn't discord websocket? 19:35 MTDiscord you should really file a bug report with intiface. Assuming that websockets are usable through any reverse proxy is probably something that today's internet is not yet ready for; they should provide a fallback. 19:36 erlehmann websockets are very usable 19:36 MTDiscord I think this might break CDB policy, but hey thats not my jurisdiction- 19:36 erlehmann i have literally controlled someones vibe via tor 19:36 MTDiscord Stuff that's designed to be self-hosted usually comes with a long-polling option because not all reverse proxies do websockets. Stuff that's proprietary may not though because they assume they control both endpoints. 19:36 erlehmann Benrob0329 intiface is just a thing to add rumble support to stuff. you can connect xbox-controllers to it. 19:37 MTDiscord Ah 19:37 MTDiscord Sorry, I've heard of...other libraries 19:37 erlehmann no no, you are thinking right. it is part of the buttplug.io community 19:38 MTDiscord Oh 19:38 erlehmann but the thing is, it's not particular about what you connect to it 19:38 MTDiscord Anyways, I'm gonna go..literally anywhere else now 19:39 erlehmann actually, intiface is probably the easiest way to add rumble support to minetest 19:39 MTDiscord Is this a one-way protocol? Because when you talk about controller rumble, it makes me think of INPUT devices that have force-feedback, which last I checked, things that plug into you aren't normally. Unless now they are? 19:40 MTDiscord It's relevant because it makes me wonder why they would need websockets if the device doesn't need to generate input events. 19:40 MTDiscord And it also suggests that if there IS input capability then you could come up with a pretty innovative control interface for your game. 19:40 MTDiscord MT's keybinding options have always been a little lackluster. 19:41 erlehmann intiface is, as far as i know, only „vibrate device x with power y“ or “rotate actuator by z degrees” 19:42 erlehmann so the existing rumble experiments i have had were literally just sending out how much power went into the vibrating motor and then sleep() 19:42 erlehmann oh you need websockets to know if the device is still on 19:43 erlehmann and get sensor data maybe? 19:43 erlehmann but i have no idea 19:43 erlehmann let me look it up 19:43 MTDiscord Holding the sneak key to avoid falling off the edge of a platform is fine and all, but what your talking about would provide a much more intuitive input for it. 19:43 erlehmann clenching your butt to prevent falling off a high ledge? xD 19:44 erlehmann well if you have any supported device, try https://github.com/intiface/intiface-desktop 19:45 MTDiscord Haha, I don't even remotely have a supported device :-D 19:45 MTDiscord I had to google it, and I was surprised at how extensive of an ecosystem there is around this. 19:45 erlehmann this is what is known as the long tail lol 19:46 MTDiscord XD 19:46 erlehmann oh btw, did you know google has only ever a few hundred search results? 19:46 erlehmann it shocked me when i found out a few days ago 19:46 erlehmann like they say they have millions 19:46 erlehmann try to go to page 20 or so of the search results 19:46 erlehmann it turns out for any query they only show like a few hundred 19:46 erlehmann and also most of them are SEO spam 19:47 erlehmann the long tail of google search results literally does not exist 19:47 MTDiscord https://xkcd.com/1334/ 19:47 erlehmann oh it is different 19:48 erlehmann i am not enraged about that it is useless 19:48 erlehmann but that they lied to me 19:48 erlehmann like minetest lied to me about tool uses! 19:48 erlehmann i had a wooden axe and it said it had 33 uses, but I COULD MINE 34 nodes with it!!! 19:48 erlehmann the engine is committing literal fraud at this point (yeah i know, it has been fixed) 19:49 MTDiscord IIRC Wuzzy has a PR open for that, but it's so damn complex that everyone's scared to review it. 19:50 MTDiscord Oh, did that get merged finally? I though I was watching it but didn't get a notification of changes 19:50 erlehmann the problem is that we still need a function to calculate the number of tool uses 19:50 erlehmann a friend of mine called the axe 19:51 erlehmann bresenham's axe 19:51 erlehmann bc that's literally wuzzy's solution to this 19:51 erlehmann like bresenham line drawing 19:53 MTDiscord sounds about right