Minetest logo

IRC log for #minetest, 2023-01-02

| Channels | #minetest index | Today | | Google Search | Plaintext

All times shown according to UTC.

Time Nick Message
00:17 MTDiscord <MisterE> 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?
00:29 FavoritoHJS joined #minetest
00:56 Soni joined #minetest
01:03 smk joined #minetest
01:28 proller joined #minetest
03:23 Sven_vB joined #minetest
03:54 Lesha_Vel joined #minetest
04:27 Sven_vB joined #minetest
04:48 lemonzest joined #minetest
05:00 MTDiscord joined #minetest
05:46 roadbull joined #minetest
06:20 YuGiOhJCJ joined #minetest
06:36 YuGiOhJCJ joined #minetest
06:50 YuGiOhJCJ joined #minetest
07:05 calcul0n_ joined #minetest
07:14 MTDiscord <Fatalist error> fuck it... you know what, I have to do it.
07:14 MTDiscord <Fatalist error> I'm going to make a proof of concept for the p2p style of minetest that uses luajit
07:16 MTDiscord <Fatalist error> am I even going to be able to use this without learning C?
07:25 MTDiscord <Fatalist error> wait, so I should be able to just do require("socket")? ofc assuming it's both installed and has insecure environment?
07:32 MTDiscord <Fatalist error> oh goly, I cant even figure out where this is supposed to be installed from
07:45 YuGiOhJCJ joined #minetest
07:48 olliy joined #minetest
07:57 illwieckz joined #minetest
08:01 YuGiOhJCJ joined #minetest
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:05 definitelya joined #minetest
08:19 illwieckz joined #minetest
08:22 sfan5 @MisterE in all cases the client always checks its local cache first
09:17 olliy joined #minetest
09:30 appguru joined #minetest
09:44 MTDiscord <luatic> 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
10:25 kilbith joined #minetest
10:49 debiankaios joined #minetest
11:03 ChanChy joined #minetest
11:07 Cbot joined #minetest
11:13 Leopold joined #minetest
11:33 ___nick___ joined #minetest
12:05 Leopold joined #minetest
12:15 Alexander[m]123 left #minetest
12:16 kilbith joined #minetest
12:28 lissobone joined #minetest
12:28 lissobone Greetings.
12:32 Cbot joined #minetest
12:32 ChanChy joined #minetest
12:36 proller joined #minetest
12:37 ___nick___ joined #minetest
12:39 ___nick___ joined #minetest
12:44 est31 joined #minetest
13:00 proller joined #minetest
13:07 Leopold joined #minetest
13:08 Shorp_Tr joined #minetest
13:51 olliy joined #minetest
14:55 MTDiscord <MisterE> sfan5 thank you
15:14 MTDiscord <Awkanimus> Are the minetest-dev meetings open to the public or closed door?
15:14 MTDiscord <ROllerozxa> they're open to the public but you should generally stay on topic and not derail meeting discussions I guess
15:18 MTDiscord <Awkanimus> 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 <Awkanimus> Gotcha. Is there an agenda?
15:21 MTDiscord <ROllerozxa> 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 <ROllerozxa> ah ninja'd
15:22 MTDiscord <Awkanimus> Awesome. Thanks!
15:28 appguru joined #minetest
15:37 appguru joined #minetest
15:55 Fixer joined #minetest
16:25 ChanChy joined #minetest
16:26 Cbot joined #minetest
17:13 olliy joined #minetest
17:36 Desour joined #minetest
18:00 FavoritoHJS joined #minetest
18:03 jluc joined #minetest
18:20 x_ joined #minetest
18:28 x_ joined #minetest
18:29 Talkless joined #minetest
19:47 Kilroy joined #minetest
20:38 Thelie joined #minetest
20:54 Sven_vB joined #minetest
20:55 MTDiscord <Fatalist error> I guess I just dont understand how to install luasockets? it looks like the source needs to be compiled
20:56 MTDiscord <Fatalist error> idek how to compile shit
20:56 MTDiscord <Warr1024> luasockets is not a pure lua thing, it's a native library.
20:56 MTDiscord <ROllerozxa> just install the luasocket package for your lua
20:56 MTDiscord <Fatalist error> wdym warr, explain...
20:56 MTDiscord <Warr1024> you don't know how to compile shit -> luasockets is not shit -> therefore you DO know how to compile luasockets.
20:56 MTDiscord <Fatalist error> alright smartass, how do I use luasockets
20:56 MTDiscord <Fatalist error> lmfao
20:58 MTDiscord <Fatalist error> none of this makes sense tbh
20:58 MTDiscord <ROllerozxa> how you use luasockets? so I assume you figured out how to install it, check the API reference then
20:58 lsabino joined #minetest
20:59 lsabino in a ubuntu server, what's the diference between minetest and minetest server?
20:59 MTDiscord <Fatalist error> well, no, I mean, both
20:59 MTDiscord <Fatalist error> I need to install it, but like, what does that entail
20:59 MTDiscord <Fatalist error> I can check the api for use in code
20:59 MTDiscord <Warr1024> "luasockets will fix all of my problems, I just don't know how"
20:59 MTDiscord <Fatalist error> ik that
20:59 MTDiscord <ROllerozxa> lsabino: minetest is the full fat client, minetestserver is a headless server without the client
20:59 MTDiscord <Fatalist error> I know how it will fix the problems, idk how to install it though
20:59 MTDiscord <ROllerozxa> it's useful for a server where you don't want to pull in X and whatnot
21:00 MTDiscord <Warr1024> 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 <Fatalist error> I cant find the official docs... everytime i look for them there's seemingly like 20 sources
21:01 MTDiscord <Fatalist error> im assuming this is the official git?https://github.com/lunarmodules/luasocket
21:01 MTDiscord <ROllerozxa> have you tried luarocks?
21:02 MTDiscord <Fatalist error> oh, found it? https://lunarmodules.github.io/luasocket/
21:02 MTDiscord <Fatalist error> no i havent tried luarocks
21:02 MTDiscord <Fatalist error> is it needed?
21:02 MTDiscord <Warr1024> 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 <ROllerozxa> luarocks is a lua library package manager, it saves these kind of headaches though windows might be a lost cause
21:02 MTDiscord <ROllerozxa> but you're on linux now right, fatal?
21:03 MTDiscord <Warr1024> 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 est31 joined #minetest
21:04 MTDiscord <ROllerozxa> diceLibrarian: cool, tell me something new
21:04 diceLibrarian and current variations require an increased node registration limit
21:05 MTDiscord <Fatalist error> what the fuck
21:05 MTDiscord <Fatalist error> literally no installation instructions at all
21:05 MTDiscord <Fatalist error> https://cdn.discordapp.com/attachments/749727888659447960/1059578315997982730/image.png
21:06 MTDiscord <diceLibrarian> welcome to hell Fatal
21:06 MTDiscord <diceLibrarian> hello Roller
21:06 MTDiscord <ROllerozxa> that's more than enough I think
21:06 MTDiscord <Fatalist error> "I dont know how ur supposed to install it, but this is what it should look like lol"
21:07 MTDiscord <Fatalist error> what the fuck are you on about
21:07 MTDiscord <ROllerozxa> otherwise I'm sure you can get it from your linux distro's package manager
21:07 MTDiscord <Fatalist error> IM ON FUCKING WINDOWSSSSSS
21:07 MTDiscord <Fatalist error> AHHHH
21:07 MTDiscord <ROllerozxa> cool, anyways, you should try luarocks
21:08 MTDiscord <Fatalist error> "unix, unix, did you try your package manager? on unix systems"
21:08 MTDiscord <Fatalist error> god dammit, programmers hate windows
21:08 MTDiscord <ROllerozxa> 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 <diceLibrarian> e
21:17 MTDiscord <diceLibrarian> 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 <Fatalist error> I already have it installed
21:19 MTDiscord <Fatalist error> 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 <ROllerozxa> 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 <Warr1024> 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 <Fatalist error> ok I ran the luarocks installer
21:24 MTDiscord <Fatalist error> 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 <Fatalist error> 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 <Fatalist error> ok, but id expect it to gimme a "installed successfully"
21:25 MTDiscord <Fatalist error> or something
21:25 MTDiscord <Fatalist error> whatever
21:25 MTDiscord <Flamore> 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 <Fatalist error> ok... now I have luarocks, now how do install luasockets, how'd this help me
21:27 MTDiscord <Warr1024> 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 <Fatalist error> well this is particularly concerning...
21:27 MTDiscord <Fatalist error> https://cdn.discordapp.com/attachments/749727888659447960/1059583812671127653/image.png
21:27 MTDiscord <Fatalist error> https://cdn.discordapp.com/attachments/749727888659447960/1059583812981502083/image.png
21:29 MTDiscord <Warr1024> 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 <Warr1024> 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 <Warr1024> 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 <Fatalist error> that's not what I mean warr, I just dont know how to use it, or if it installed properly
21:31 MTDiscord <Fatalist error> luarocks doesnt seem to be installed after I ran the exe file
21:31 MTDiscord <Fatalist error> that's what im confused about
21:31 MTDiscord <Fatalist error> https://cdn.discordapp.com/attachments/749727888659447960/1059584770788560976/image.png
21:31 FavoritoHJS oh, that means the luarocks exe is self-contained
21:32 MTDiscord <SolarShrine> is it even on PATH
21:32 FavoritoHJS switch directory to where you extracted the files and try again
21:32 MTDiscord <Fatalist error> ok i used bash to run it
21:32 MTDiscord <Warr1024> 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 <Warr1024> 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 <Flamore> yea it needs a special unsafe mod
21:33 MTDiscord <Warr1024> 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 <Warr1024> 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 <Warr1024> 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 <Warr1024> 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 <ROllerozxa> 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 <Warr1024> 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 <Fatalist error> why is it just assuming i have 5.4
21:53 MTDiscord <Fatalist error> https://cdn.discordapp.com/attachments/749727888659447960/1059590294510764112/image.png
21:53 MTDiscord <Fatalist error> what the fuck
21:54 sfan5 FavoritoHJS: yes
21:54 MTDiscord <Fatalist error> wait... oh shit i have to have it with a lua installation
22:03 est31 joined #minetest
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 <Flamore> remove all multimedia and make the interface accessible by telnet only, it'll be 10x faster
22:44 lsabino joined #minetest
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:00 Sven_vB joined #minetest
23:02 MTDiscord <Niklp> any crashlogs?
23:05 roadbull joined #minetest
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 <name> or --world <path>
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
23:32 panwolfram joined #minetest
23:50 Sven_vB joined #minetest

| Channels | #minetest index | Today | | Google Search | Plaintext