Minetest logo

IRC log for #minetest-hub, 2018-10-09

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

All times shown according to UTC.

Time Nick Message
00:08 EvergreenTree joined #minetest-hub
01:01 BillyS Ugh, is there a solution to this famous "disappearing items" smartshop bug?
01:43 paramat joined #minetest-hub
02:06 garywhite joined #minetest-hub
02:06 garywhite joined #minetest-hub
02:47 EvergreenTree joined #minetest-hub
02:49 EvergreenTree joined #minetest-hub
02:57 paramat joined #minetest-hub
03:19 cautiouspotato joined #minetest-hub
03:43 EvergreenTree joined #minetest-hub
04:05 Lupercus joined #minetest-hub
04:22 Lupercus left #minetest-hub
05:36 ChimneySwift joined #minetest-hub
06:30 Gael-de-Sailly joined #minetest-hub
06:44 CWz joined #minetest-hub
09:43 calcul0n joined #minetest-hub
10:37 ChimneySwift joined #minetest-hub
11:05 Fixer joined #minetest-hub
11:19 Fixer_ joined #minetest-hub
11:39 T4im joined #minetest-hub
12:03 Jordach joined #minetest-hub
12:29 aerozoic joined #minetest-hub
12:38 jas_ joined #minetest-hub
15:48 garywhite joined #minetest-hub
15:48 garywhite joined #minetest-hub
15:54 Fuchs joined #minetest-hub
16:05 Fuchs joined #minetest-hub
16:10 jluc joined #minetest-hub
16:11 Gael-de-Sailly joined #minetest-hub
16:13 benrob0329 joined #minetest-hub
17:04 Krock joined #minetest-hub
17:04 Krock hi ten
17:04 Krock tab + enter without looking <.<
17:07 shivajiva lol nice try tho
17:09 Krock joined #minetest-hub
17:10 Krock thanks
17:10 shivajiva Hi Krock
17:10 Krock hi shivajiva
17:10 Krock no idea how this happened but I managed to crash Hexchat :3 .. reported
17:11 shivajiva got any nice strategies for reversing the order a series of function calls?
17:12 shivajiva +of
17:12 VanessaE cache their outputs into a table and iterate it backward? :)
17:12 Krock straight forward approach would be table.insert(dst_table, 1, src_table[i])
17:13 Krock or yes, reverse iterators if they exist
17:13 rubenwardy that would result in lots of copying ^
17:13 rubenwardy wait
17:13 rubenwardy not sure how Lua tables are stored
17:15 Krock me neither, but probably it would cause a shift for all array contents for each new element
17:15 Krock if it's a one time thing on load, that's no problem
17:16 T4im if those function calls are already in an indexed table you can just walk from #table to 1 instead of 1 to #table; easier than setting up reverse iterators :D
17:16 Krock or  dst_table[i] = src_table[#src_table - i + 1]  if it's an integer based table
17:16 shivajiva afaik lua is nothing but tables :')
17:17 Krock yesn't
17:17 Krock tables can be integer-based keys (arrays, kinda) or maps
17:17 T4im they also can be both :x
17:18 Krock whereas #table does not work on latter (neither does sort)
17:18 Krock T4im: both would again be maps with different types of keys
17:19 Krock counting them with # is either not possible or doesn't produce the desired output
17:19 T4im well, yes, but the integer operations should keep working on the indexed parts as expected :)
17:19 Krock sure, so do any other constant key expressions
17:21 shivajiva hmm thanks, I think you have covered the options there :)
17:22 shivajiva think I'll insert the functions in an ipair table to make this easy
17:44 T4im `for i=#tmp_table, 1, -1 do end` if you change your mind :)
17:56 garywhite joined #minetest-hub
17:56 garywhite joined #minetest-hub
18:04 benrob0329 joined #minetest-hub
18:54 sofar random statistics from the PRMS: last week(full 7 days) it served 1mln requests from 1661 visitors. It hosted 7622 unique media files and used 6.2GB of data.
18:55 VanessaE nice.
18:55 sofar which is pretty modest
18:55 sofar it was more in the first month by a large margin
18:55 Jordach that's a reasonably sized community
18:55 sofar also note that many servers don't use the PRMS
18:56 Krock sofar: stats. when?
18:56 sofar when what?
18:56 Krock graphs. beautiful statistics
18:56 Krock would be interesting to see the trends
18:56 sofar I suppose I could, but I don't have graphs atm
18:56 sofar would have to rrdtool it up somehow
18:56 rdococ statistics are a pretty clever way to lie tbh
18:57 sofar I'm not making statements, just quoting facts
18:58 sofar =D
19:01 Krock oh right. I also must get myself to learn a bit how rrdtool works
19:04 sofar I'm making fancy server graphs though
19:04 sofar https://minetest.foo-projects.org/status.html
19:05 sofar but I never liked any nginx/http log -> rrdtool setup I found
19:05 sofar they're all clumsy
19:06 Krock these 1/2 players are everywhere
19:07 Krock 0.1 player on Tuesday 00:00 hmmmmm
19:07 nerzhul rrdtool is quite old, it works pretty well with graphite
19:07 nerzhul but influx db is just the best
19:08 Krock "the best" is always relative :P
19:34 paramat joined #minetest-hub
19:46 VanessaE Krock: when you get badk, can you explain what you meant by "maybe a mod of yours is overwriting the sign groups where the hand has no definition" ?  I don't understand.  None of the mods in my archive appear to redefine ":".
19:50 VanessaE or anyone else who knows what he means :)
19:52 VanessaE eh, bbl.
20:26 IhrFussel joined #minetest-hub
20:44 Fixer joined #minetest-hub
20:51 Ruslan1 joined #minetest-hub
22:37 Sokomine Shara, tenplus1: i changed the travelnet in creative mode because digging and punching is hard to distinguish. it takes a wielded diamond pick now to dig the travelnet. vanessae doesn't seem to like it. any ideas to improve the situation are welcome
22:37 VanessaE Sokomine: it ain't just me -- EVERYONE hates that.
22:37 paramat joined #minetest-hub
22:37 VanessaE please, go back to normal hand-digging and no formspec on punch.
22:38 VanessaE so there. :)
22:38 Sokomine :-( i'm sorry about that. but...how to improve it...
22:38 VanessaE just as I said.,
22:39 VanessaE :)
22:39 Sokomine but...how do you distinguish between dig and punch? i'm afraid i'm really out of creative mode too much :-) (there's a reason i prefer survival...and it's not survival...)
22:39 VanessaE the engine already does :)
22:39 VanessaE it knows the difference between a dig and a punch.
22:39 * Sokomine stares at the engine (which doesn't exactly do as wished)
22:40 VanessaE you just have to put your update code in the on_punch callback
22:40 Fixer i hate how minetest handles left-right click in various places :S
22:54 Sokomine i've done an update. please try if that version works better now. i can't really test as i'm not used to creative speed
22:58 VanessaE I'll pull it and stage for the morning reboot.
23:32 jas_ joined #minetest-hub

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