Minetest logo

IRC log for #minetest, 2019-07-21

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

All times shown according to UTC.

Time Nick Message
01:26 norkle heya swift110-phone__
01:57 Ruslan1 joined #minetest
02:10 pauloue joined #minetest
02:10 nowhere_man joined #minetest
02:26 MinetestBot [git] paramat -> minetest/minetest_game: Creative: Remove unnecessary dependency on 'default' 9fe877e https://git.io/fjMzG (2019-07-21T02:24:47Z)
03:10 Tux[Qyou] joined #minetest
03:32 pmp-p joined #minetest
03:34 pmp-p hi, what about "RPC" status in https://dev.minetest.net/Client_scripting_plans ?
03:36 pmp-p hmm wrong chan sorry
03:36 pmp-p left #minetest
03:53 Nezrok joined #minetest
03:54 Cornelia joined #minetest
03:56 Nezrok joined #minetest
03:58 Guest9 joined #minetest
04:02 cdde joined #minetest
04:17 Cornelia joined #minetest
04:47 Tux[Qyou] joined #minetest
04:56 illwieckz joined #minetest
05:45 Tux[Qyou] joined #minetest
06:29 CWz_ joined #minetest
06:38 tpa joined #minetest
06:53 orwell96_mt joined #minetest
08:06 Krock joined #minetest
08:15 Volgaar joined #minetest
08:45 fruitsnack joined #minetest
08:47 Wuzzy joined #minetest
08:58 tacotexmex Hello Wuzzy
08:58 xerox123 joined #minetest
08:58 Wuzzy O HAI
09:13 Norore joined #minetest
09:24 Norore joined #minetest
09:51 nowhere_man joined #minetest
10:19 Krock joined #minetest
10:34 Fixer joined #minetest
11:20 xerox123_ joined #minetest
11:30 Megaf joined #minetest
11:37 kaeptmblaubaer joined #minetest
12:18 FreeFull joined #minetest
12:23 Beton joined #minetest
12:29 Tux[Qyou] joined #minetest
12:39 nepugia joined #minetest
13:17 fruitsnack joined #minetest
13:19 cdde joined #minetest
13:20 grumble joined #minetest
13:35 festerdam joined #minetest
13:37 Nezrok joined #minetest
13:40 nepugia joined #minetest
13:44 nepugia joined #minetest
14:15 Volgaar joined #minetest
14:16 fling joined #minetest
14:22 Micasik22 joined #minetest
14:22 Micasik22 hello
14:24 Krock hi
14:27 nepugia Good day
14:50 xerox123_ joined #minetest
14:52 nepugia joined #minetest
14:52 xerox123_ joined #minetest
15:14 kaeptmblaubaer joined #minetest
15:23 Cornelia joined #minetest
15:38 gpcf joined #minetest
15:38 gpcf hi
15:38 gpcf I got a problem with lua
15:38 Krock hi
15:39 gpcf my advtrains database grew to big to handle, is there any way to increase the size of the constants table above 2^16 or 2^18?
15:39 Krock oof
15:39 Krock how about splitting the data?
15:39 Krock that must be an insanely bug table
15:39 Krock *big
15:40 gpcf then good luck in splitting it
15:40 gpcf it's just 2MB
15:40 Krock Lua or LuaJIT? try the other kind
15:40 Krock else you'd need to change its source code to raise the limit
15:40 gpcf LuaJIT
15:40 gpcf with GC64
15:40 Krock 2^18 is a very odd number, whereas 2^16 would rather be the limit
15:41 Krock so windows
15:41 gpcf 2^18 is the limit in lua
15:41 gpcf luajit has 16 bit
15:41 gpcf I'm on linux
15:41 Krock oh, I thought gc64 didn't work on linux
15:41 gpcf if I cannot raise the limit I must say lua is unusable for any complex project
15:41 Krock *luajit
15:42 gpcf lua < 5.2
15:42 Krock 2¹⁸ in Lua means that it can be extended
15:42 gpcf it seems to only have been fixed in 5.2
15:42 Krock whereas 2^16 is apparently an integer limitation
15:43 Krock I'm not familiar with these constants. Does any key and value in a table increase that count?
15:44 gpcf it seems so
15:44 gpcf http://lua.2524044.n2.nabble.com/constant-table-overflow-td6338093.html
15:45 gpcf that script creates a table that won't get loaded
15:45 gpcf I'm feeling advtrains won't run again on my server
15:46 gpcf unless I do rewrite it in C
15:49 Krock went into reading minilua.c from LuaJIT but that formatting is awful
15:50 Krock it's built from the source code, but yet no other occurence for that error
15:50 gpcf hmm
15:51 gpcf does minetest work with lua 5.2?
15:51 gpcf if yes, does it perform?
15:52 Krock no, it won't compile
15:52 gpcf meh
15:52 gpcf then I guess advtrains will have to be rewritten
15:53 gpcf because there is no way around this issue
15:53 gpcf splitting the table will run into the same issue, only delayed
15:54 Krock load&unload, if that's even possible
15:55 gpcf how?
15:55 gpcf what's that?
15:55 nepugia luajit doesn't target lua 5.2
15:56 gpcf f*cking s*it
15:56 gpcf I guess the trains won't run again
15:57 Nezrok !cmd kick gpcf Mind your tongue
15:57 Nezrok Oh
15:57 Krock wrong channel
15:57 Nezrok Wrong room
15:57 Nezrok :p
15:57 Krock these ninjas
15:57 Nezrok Hahaha
15:58 Krock oh now I get why it's not possible to load it incrementally. all trains are forceloaded
15:58 gpcf yeah, they all run
15:59 gpcf but, imho, a language that only supports 2¹⁶ is unusable for any serious projects
16:00 nepugia how so? ;)
16:01 gpcf very very limited
16:01 nepugia If you know the restrictions your language has you can build nice stuff regardless
16:01 nepugia luajit seams to be stalled, or very slow anyhow
16:02 nepugia last release was in 2017
16:07 gpcf does anyone know about lua 5.2?
16:07 gpcf are there efforts to port minetest to 5.2?
16:08 nepugia I doubt that minetest will support lua 5.2 unless luajit does so first, or there is a luajit fork that supports it
16:09 gpcf I just talked with orwell
16:10 gpcf I guess we will port advtrains to C
16:10 * gpcf would like to swear, but doesn't find swear words strong enough to express his emotions
16:11 nepugia develop on luajit? :)
16:15 Krock either luajit improves (probably never) or lua improves in terms of speed (future visions)
16:16 Krock but either must happen before we either drop luajit support or bump the Lua version to 5.2+
16:18 Cornelia joined #minetest
16:19 gpcf I think we'll write advtrainsd
16:19 gpcf a separate daemon handling all train movement
16:21 gpcf would also remove performance bottlenecks, leaving precious CPU time for other mods
16:34 gpcf has json_encode got the same problem?
16:40 Lone_Wolf joined #minetest
16:43 LMD joined #minetest
16:47 pauloue joined #minetest
17:07 gpcf joined #minetest
17:22 Tuxedo[Qyou] joined #minetest
17:28 kaeptmblaubaer joined #minetest
17:44 gpcf hi
17:44 gpcf it seems that the advtrains issue might be solvable
17:44 Krock json_encode also uses lua tables and values, so I don't see how it changes anything
17:45 gpcf oh
17:45 gpcf hmm
17:45 Krock except that it does an extra lap through C->C++
17:45 gpcf wait
17:47 gpcf If I understand it correctly, the problem with serialize is that it creates a huge lua function
17:47 gpcf right?
17:49 Krock not sure if that's a problem but yes that's what happens
17:49 sfan5 gpcf: you can load native modules from lua, so you could move the code working with the excess data to C/C++
17:50 Krock ^ but would still need to call minetest functions through Lua
17:50 Krock or is there a linker trick I'm not aware of?
17:50 sfan5 well you get a lua handle and can manually call the api from your C/C++ code
17:51 sfan5 you might be able to find the original routes using dlsym but that would be annoying and error-prone
17:51 sfan5 routines
17:51 sfan5 *
17:51 Krock yes, but you'll need to pass all values to lua first, so that they can be read out by Minetest again (no lua code involved, though)
17:52 gpcf sfan5: is there a tutorial for how to use C from Lua?
17:52 gpcf or any mod that uses it, so I can look into it
17:52 sfan5 i'm sure there are plenty on google
17:53 Krock https://github.com/SmallJoker/NyisBot/blob/master/plugins/PLUGIN_API.txt#L138
17:53 Pie-jacker875 joined #minetest
17:53 sfan5 ah, even better
17:53 Krock very basic example
17:54 Krock afterwards you can compile that and move into the lua path in minetest to require() it
17:54 Krock requires insecure mod env, though.
17:54 sfan5 or adjust the lua path to load it directly from your mod directory
17:54 gpcf oh
17:54 gpcf so you can load compiled modules from the mod directory?
17:54 sfan5 yes
17:55 gpcf with mod security?
17:55 Krock with a mod security exception for you mod
17:55 gpcf yeah, right
17:55 Krock *for your
18:01 Volgaar joined #minetest
18:10 xante joined #minetest
18:15 Norore joined #minetest
18:16 awell joined #minetest
18:16 kaeptmblaubaer joined #minetest
18:39 Pie-jacker875 joined #minetest
19:05 Cornelia joined #minetest
19:14 Copenhagen_Bram will there ever be pirate speak and lolcat translations for minetest?
19:17 Krock kingon first
19:17 Krock +l
19:19 Copenhagen_Bram lol
19:19 Copenhagen_Bram what about lojban?
19:20 Copenhagen_Bram and pretty soon there's gonna be a Krill language from The Orville
19:22 orwell96_mt joined #minetest
19:49 Pie-jacker875 joined #minetest
20:02 Pie-jacker875 joined #minetest
20:09 orwell96_mt joined #minetest
20:15 Soo_Slow joined #minetest
20:17 Soo_Slow hello there. Does anybody know if its possible to mod the textures of inventory and crafting menu? Like - its super ugly in vanilla, but thus far I've only seen people altering active equipment tab (the one, accessible via number keys). I wonder why
20:18 sfan5 of course
20:21 PjotrOrial joined #minetest
20:21 PjotrOrial joined #minetest
20:22 scr267_ joined #minetest
20:24 Copenhagen_Bram Soo_Slow, make an LCARS GUI for minetest
20:35 Piejacker875 joined #minetest
20:36 Copenhagen_Bram lol
20:53 Pie-jacker875 joined #minetest
20:58 proller joined #minetest
20:59 Pie-jacker875 joined #minetest
21:04 Pie-jacker875 joined #minetest
21:07 puzzlecube joined #minetest
21:49 Cornelia joined #minetest
22:06 puzzlecube Sorry if I am butting in but has anyone compiled Minetest on NetBSD? Seems cmake doesn't know pkg* directories by default and isn't finding anything installed by them.
22:09 YuGiOhJCJ joined #minetest
22:13 nowhere_man joined #minetest
22:56 gorilla CopenBra[m]: Interesting idea. It would be a good April 1st gag.
22:58 Copenhagen_Bram Really? Thank you
23:01 DoyleChris joined #minetest
23:01 DoyleChris good day everybody
23:02 Copenhagen_Bram good day DoyleChris oy
23:02 DoyleChris question about Linux
23:03 DoyleChris is there a debian version that is a stand alone with the server
23:04 DoyleChris i have Mint Linux running and i would like to get a Linux server running
23:04 DoyleChris but i would like to do it from the command line
23:27 Cornelia joined #minetest
23:30 DoyleChris well im trying to compile it
23:47 DoyleChris no help the one line dosent work

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