Time Nick Message 00:17 MTDiscord Dynamic media question. | Case 1) Say a player gets sent a music track with dynamic media (ephemeral = true). Then say they disconnect and reconnect, and then are sent the media again. Do they retrieve it from cache now, or will they have to re-download it from scratch. Case 2) Say the server restarts while they are disconnected. What happens now, does the situation change? 07:14 MTDiscord fuck it... you know what, I have to do it. 07:14 MTDiscord I'm going to make a proof of concept for the p2p style of minetest that uses luajit 07:16 MTDiscord am I even going to be able to use this without learning C? 07:25 MTDiscord wait, so I should be able to just do require("socket")? ofc assuming it's both installed and has insecure environment? 07:32 MTDiscord oh goly, I cant even figure out where this is supposed to be installed from 08:02 muurkha Fatalist error: that sounds awesome 08:03 muurkha in LuaJIT you can call pretty much anything you can call in C by using the LuaJIT FFI 08:22 sfan5 @MisterE in all cases the client always checks its local cache first 09:44 MTDiscord I don't think we'd want to lock ourselves in to LuaJIT though 09:58 muurkha I guess it depends on what Fatalist error's objective is 12:28 lissobone Greetings. 14:55 MTDiscord sfan5 thank you 15:14 MTDiscord Are the minetest-dev meetings open to the public or closed door? 15:14 MTDiscord they're open to the public but you should generally stay on topic and not derail meeting discussions I guess 15:18 MTDiscord Totally makes sense. I'm interested in fly-on-the-wall-ing. Where can I find the details for the meeting? 15:18 MisterE[m] Just be here in this channel on sunday 15:21 sfan5 not this one, #minetest-dev 15:21 MTDiscord Gotcha. Is there an agenda? 15:21 MTDiscord yeah, check the dev wiki https://dev.minetest.net/Meetings 15:21 sfan5 !dev Meetings 15:21 MinetestBot "Core developer meetings are held when needed." - http://dev.minetest.net/Meetings 15:21 MTDiscord ah ninja'd 15:22 MTDiscord Awesome. Thanks! 20:55 MTDiscord I guess I just dont understand how to install luasockets? it looks like the source needs to be compiled 20:56 MTDiscord idek how to compile shit 20:56 MTDiscord luasockets is not a pure lua thing, it's a native library. 20:56 MTDiscord just install the luasocket package for your lua 20:56 MTDiscord wdym warr, explain... 20:56 MTDiscord you don't know how to compile shit -> luasockets is not shit -> therefore you DO know how to compile luasockets. 20:56 MTDiscord alright smartass, how do I use luasockets 20:56 MTDiscord lmfao 20:58 MTDiscord none of this makes sense tbh 20:58 MTDiscord how you use luasockets? so I assume you figured out how to install it, check the API reference then 20:59 lsabino in a ubuntu server, what's the diference between minetest and minetest server? 20:59 MTDiscord well, no, I mean, both 20:59 MTDiscord I need to install it, but like, what does that entail 20:59 MTDiscord I can check the api for use in code 20:59 MTDiscord "luasockets will fix all of my problems, I just don't know how" 20:59 MTDiscord ik that 20:59 MTDiscord lsabino: minetest is the full fat client, minetestserver is a headless server without the client 20:59 MTDiscord I know how it will fix the problems, idk how to install it though 20:59 MTDiscord it's useful for a server where you don't want to pull in X and whatnot 21:00 MTDiscord To install luasockets, the easiest way is just to use your OS package manager. To use them, the easiest way is to read the official docs, which have examples. 21:00 lsabino ROllerozxa thank you for your answer 21:01 MTDiscord I cant find the official docs... everytime i look for them there's seemingly like 20 sources 21:01 MTDiscord im assuming this is the official git?https://github.com/lunarmodules/luasocket 21:01 MTDiscord have you tried luarocks? 21:02 MTDiscord oh, found it? https://lunarmodules.github.io/luasocket/ 21:02 MTDiscord no i havent tried luarocks 21:02 MTDiscord is it needed? 21:02 MTDiscord https://aiq0.github.io/luasocket/index.html looks like what I used when I last did it, though I dunno how many forks or whatnot there could be. It was the first hit on DDG, so it wasn't hard to find... 21:02 MTDiscord luarocks is a lua library package manager, it saves these kind of headaches though windows might be a lost cause 21:02 MTDiscord but you're on linux now right, fatal? 21:03 MTDiscord I mostly don't worry about "which fork" since I try to stick to more "basic" sorts of features that won't vary much between forks. 21:04 diceLibrarian Memebuilder still sucks 21:04 MTDiscord diceLibrarian: cool, tell me something new 21:04 diceLibrarian and current variations require an increased node registration limit 21:05 MTDiscord what the fuck 21:05 MTDiscord literally no installation instructions at all 21:05 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/1059578315997982730/image.png 21:06 MTDiscord welcome to hell Fatal 21:06 MTDiscord hello Roller 21:06 MTDiscord that's more than enough I think 21:06 MTDiscord "I dont know how ur supposed to install it, but this is what it should look like lol" 21:07 MTDiscord what the fuck are you on about 21:07 MTDiscord otherwise I'm sure you can get it from your linux distro's package manager 21:07 MTDiscord IM ON FUCKING WINDOWSSSSSS 21:07 MTDiscord AHHHH 21:07 MTDiscord cool, anyways, you should try luarocks 21:08 MTDiscord "unix, unix, did you try your package manager? on unix systems" 21:08 MTDiscord god dammit, programmers hate windows 21:08 MTDiscord not my fault you use an operating system without a package manager or a build toolchain ready at hand 21:09 diceLibrarian at least it's not MacOS 21:17 MTDiscord e 21:17 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/1059581316393341088/unknown-26.png 21:18 FavoritoHJS "install this other unknown 25 year old program" (reeeing intensifies from the compiler) 21:19 FavoritoHJS Anyways, i imagine it should be possible to build with visual studio build tools 21:19 FavoritoHJS you'll have to link as a dll 21:19 MTDiscord I already have it installed 21:19 MTDiscord WHYYY 21:19 FavoritoHJS unsure how exactly to do it, though. 21:20 BuckarooBanzai https://irc.rudin.io/uploads/7e6eff94817f9f4f/Screenshot_2023-01-02_22-18-57.png 21:20 BuckarooBanzai Anyone else have 20+ seconds load time for the forums? ^ 21:20 FavoritoHJS has been like that for like 2 months or so 21:20 FavoritoHJS quick sanity check, do you have something in your start menu that says "Visual Studio 20xx) and does it have "x64 Native Tools Command Prompt for VS 2022"? 21:21 MTDiscord forums has been slow for a long time, nothing new 21:22 BuckarooBanzai FavoritoHJS: what start menu? :P (no, not really) 21:22 BuckarooBanzai slow, yes, but this looks like a badly behaving throttling script IMO 21:22 MTDiscord In the Windows "installing ... done!" you forgot the "oh wait why is my virus scanner screaming at me? Should I bypass that?" step. 21:23 FavoritoHJS ahh yes avast my hated 21:23 FavoritoHJS microsoft changes that every version or so. In w10 it's the button on the lower left, in w11 i think it's in the button on the center or so, and a submenu on that 21:24 MTDiscord ok I ran the luarocks installer 21:24 MTDiscord now what 21:24 FavoritoHJS oh, you are going that route 21:24 FavoritoHJS i'm guessing luarocks should be added to the command line path 21:24 MTDiscord it just flashes the console, and then... that's it 21:24 FavoritoHJS that's because it's a command line application, not a gui application 21:25 FavoritoHJS try running it from cmd.exe 21:25 MTDiscord ok, but id expect it to gimme a "installed successfully" 21:25 MTDiscord or something 21:25 MTDiscord whatever 21:25 MTDiscord I didn't know all package managers were supposed to launch graphical user interfaces 21:26 FavoritoHJS that's because afaik a program can't know whether it's being run from a gui and not close the window after finishing or from a command prompt 21:26 FavoritoHJS and even if it can I doubt many devs would bother 21:26 MTDiscord ok... now I have luarocks, now how do install luasockets, how'd this help me 21:27 MTDiscord I think a program can know if it's being run in a console window, but that would require the programmers to know that that'd be an issue on Windows, as well as actually writing in a check specifically for that. 21:27 FavoritoHJS `luarocks install [packagename]` 21:27 MTDiscord well this is particularly concerning... 21:27 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/1059583812671127653/image.png 21:27 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/1059583812981502083/image.png 21:29 MTDiscord If you don't recognize the sign that you need to run stuff in a console window, and know how to do so, then you're probably not in the target audience for a programming library like this, I guess. 21:29 MTDiscord Looks like you found a chinese-language fork. 21:29 FavoritoHJS did you typo something? 21:29 FavoritoHJS i imagine you downloaded a package with a very similar but not identical name 21:30 MTDiscord I have no idea how luarocks handles forks and alternatives, i.e. does it have a "preferred" one, is it first-come-first-served, or are there alternatives but it's just picking an arbitrary one? 21:30 MTDiscord that's not what I mean warr, I just dont know how to use it, or if it installed properly 21:31 MTDiscord luarocks doesnt seem to be installed after I ran the exe file 21:31 MTDiscord that's what im confused about 21:31 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/1059584770788560976/image.png 21:31 FavoritoHJS oh, that means the luarocks exe is self-contained 21:32 MTDiscord is it even on PATH 21:32 FavoritoHJS switch directory to where you extracted the files and try again 21:32 MTDiscord ok i used bash to run it 21:32 MTDiscord If you want to check if you've installed it properly, you can get a "yes" or "maybe" answer by just opening a lua REPL and trying to require("sockets") or whatever. 21:33 MTDiscord if that works, then YAY. If it doesn't, then it might not be properly installed, OR you might not have your repl or env configured right or something. 21:33 FavoritoHJS warr, i have a question, does minetest require something special to load external dlls? 21:33 FavoritoHJS as in external lua modules 21:33 MTDiscord yea it needs a special unsafe mod 21:33 MTDiscord Yes, if you want to run it inside MT, you'll need either trusted mod status and an insecure env, or you might need to disable mod security entirely. 21:34 MTDiscord IIRC you can access the "base" luasockets library from a regular trusted mod. If you want to use the unix sockets sub-component, then you need to disable mod security entirely because mod security still breaks it even from a trusted mod. 21:35 FavoritoHJS oh, so you won't have to recompile minetest for it to recognize you have a library? 21:35 FavoritoHJS also, i'm curious what exactly fatalist needs luasockets for 21:36 MTDiscord Lua can load its own libraries, so long as the software it's embedded in doesn't disallow this. This means MT doesn't need to support luasockets or various other lua libs specifically, it just needs to allow lua's built-in library loader to load them. 21:36 MTDiscord So like your can use MT <-> Lua <-> LuaSockets and MT and luasockets don't need to know anything about each other. 21:38 sfan5 BuckarooBanzai: yes that's the rate limiting 21:38 sfan5 it applies not only to php pages but all assets 21:39 FavoritoHJS i wonder why the latency is so high 21:40 FavoritoHJS also it rate limiting can be reduced for "light" assets like static pages or small icons 21:41 sfan5 guess what I suggested the day the ratelimit was configured 21:41 FavoritoHJS that way you get most of the page in a second but bandwidth is still under control 21:42 MTDiscord the ratelimit really needs to be lessened in general 21:42 FavoritoHJS so who do I have to scream to fix this? celeron?? 21:43 MTDiscord Does anybody else remember dial-up internet? Watching the forums load for the first time is so nostalgic... 21:43 FavoritoHJS you can almost hear your hard drive scream away 21:53 MTDiscord why is it just assuming i have 5.4 21:53 MTDiscord https://cdn.discordapp.com/attachments/749727888659447960/1059590294510764112/image.png 21:53 MTDiscord what the fuck 21:54 sfan5 FavoritoHJS: yes 21:54 MTDiscord wait... oh shit i have to have it with a lua installation 22:22 definitelya I'm so used to how slow the forum is, that if it suddenly became faster, I'd be thinking something is off. :D 22:37 MTDiscord remove all multimedia and make the interface accessible by telnet only, it'll be 10x faster 22:46 lsabino I have a server with Ubuntu 20.04. I was install minetest from ppa on launchpad, but now I removed it and I'm trying to run minetest-server but I found error. I'm confused about directorys. The Minetest-server will to use the mods and worlds on my user folder or is there a specific local 23:02 MTDiscord any crashlogs? 23:07 lsabino I didnt find it, I purged the minetest now and when I try to run it list the oldest worlds, but I havent the directory 23:07 lsabino I'll start the new world 23:08 lsabino the header of message: Multiple worlds are available. 23:08 lsabino Please select one using --worldname or --world 23:09 lsabino oh and minetest-server is on /usr/games/ is it correct? 23:11 lsabino sorry. I was wrong, the oldest worlds is here yet 23:13 lsabino but the debug.txt doesn't log this