Minetest logo

IRC log for #minetest-dev, 2014-10-31

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

All times shown according to UTC.

Time Nick Message
00:04 diemartin joined #minetest-dev
00:06 shadowzone joined #minetest-dev
00:48 shadowzone joined #minetest-dev
01:30 kahrl joined #minetest-dev
01:31 kahrl ShadowNinja: lua_pop(L, -1) should clear the stack if I read the implementation right
01:32 kahrl but that's probably an implementation detail, the documented way to do that is lua_settop(L, 0)
02:14 darkrose joined #minetest-dev
02:14 zat joined #minetest-dev
02:17 Zeno` joined #minetest-dev
02:24 Zeno` hi kahrl, thanks for the comments
02:24 Zeno` I don't understand the line comment for line 453 regarding the \\\\;
02:27 ShadowNinja kahrl: That could actually be the source of the bug then, over-poping produces obscure segfaults in Lua.  Where'd you read that?  I've only seen it as "Effectively #define lua_pop(l, n) lua_settop(l, lua_gettop(l) - n)"
02:33 Zeno` This is what I mentioned the other night
03:08 MikeFair joined #minetest-dev
04:33 Miner_48er joined #minetest-dev
06:44 Hunterz joined #minetest-dev
06:46 zat joined #minetest-dev
07:06 nore joined #minetest-dev
07:10 sol_invictus joined #minetest-dev
07:13 proller joined #minetest-dev
07:18 proller joined #minetest-dev
07:38 kahrl Zeno`: that comment (for line 453) isn't relevant anymore
07:39 Zeno` I took it away
07:39 kahrl ShadowNinja: it's in lua.h: #define lua_pop(L,n) lua_settop(L, -(n)-1)
07:39 Zeno` Can't remember but I think I meant to type unescape... not sure (just took it away)
07:39 kahrl Zeno`: ah
07:40 Miner_48er joined #minetest-dev
07:40 kahrl ShadowNinja: so with n==-1 that evaluates to lua_settop(L, 0)
07:49 ImQ009 joined #minetest-dev
07:52 GrimKriegor joined #minetest-dev
08:05 proller joined #minetest-dev
08:48 daswort joined #minetest-dev
08:57 zat joined #minetest-dev
09:16 zat joined #minetest-dev
09:21 nore joined #minetest-dev
09:49 FR^2 joined #minetest-dev
09:55 ImQ009 joined #minetest-dev
10:30 jin_xi joined #minetest-dev
10:57 proller joined #minetest-dev
11:11 Amaz joined #minetest-dev
11:19 iqualfragile joined #minetest-dev
11:59 iqualfragile joined #minetest-dev
12:17 iqualfragile_ joined #minetest-dev
12:18 Zeno` hmm
12:24 Amaz joined #minetest-dev
12:25 kaeza joined #minetest-dev
12:49 iqualfragile joined #minetest-dev
12:52 kilbith joined #minetest-dev
12:56 shadowzone joined #minetest-dev
13:32 zat joined #minetest-dev
13:33 iqualfragile_ joined #minetest-dev
13:44 exio4_ joined #minetest-dev
13:49 Gethiox joined #minetest-dev
13:50 Gethiox joined #minetest-dev
13:55 casimir joined #minetest-dev
14:01 exio4_ joined #minetest-dev
14:02 ImQ009 joined #minetest-dev
14:21 UnknownSentinel joined #minetest-dev
14:27 hmmmm joined #minetest-dev
14:59 shadowzone joined #minetest-dev
15:03 Gethiox joined #minetest-dev
15:22 jin_xi joined #minetest-dev
15:30 MikeFair joined #minetest-dev
15:31 jin_xi joined #minetest-dev
15:59 CraigyDavi joined #minetest-dev
16:08 Megaf joined #minetest-dev
16:17 Calinou joined #minetest-dev
16:28 zat joined #minetest-dev
16:43 proller joined #minetest-dev
16:44 Hunterz joined #minetest-dev
16:46 kilbith joined #minetest-dev
16:59 kahrl sfan5: weblate 2.0 was just released, should we try it out?
17:00 PenguinDad joined #minetest-dev
17:03 sfan5 kahrl: is it easier to install?
17:03 kahrl dunno
17:04 kahrl haven't tried it yet, hence why I asked :)
17:05 kahrl but it supports django 1.7 out of the box so maybe some of the old bugs have vanished
17:10 Calinou happy trolling, sfan5
17:10 Calinou “Does it still remove the running kernel?”
17:10 Calinou here's a question you can ask to the developers
17:11 sfan5 what?
17:16 MinetestForFun joined #minetest-dev
17:17 MinetestForFun Hi everybody, somenone can inform me about the version of the protocol of minetest between 0.4.10-stable and the latest 0.4.10-dev release ? i need to know if the protocol have changed between this two version... thank you :)
17:22 Krock joined #minetest-dev
17:34 selat joined #minetest-dev
17:47 Hunterz joined #minetest-dev
17:52 OldCoder Here is a clue to MT network problems:
17:52 OldCoder https://forum.minetest.net/viewtopic.php?id=5026
17:52 OldCoder This mod causes Kindle Fires, some, to time out every time
17:53 OldCoder But not regular PCs
17:55 PenguinDad OldCoder: maybe because of the models?
17:56 PenguinDad *model
17:57 OldCoder Unusual models have different effects, then?
17:58 OldCoder Makes sense, I guess. But lockout occurs at media load time. Is this consistent?
17:58 PenguinDad No I was thinking about the size of the model
17:58 OldCoder Reviewing
17:58 OldCoder I deleted it; how large is it?
18:00 PenguinDad About 600 kb :/
18:03 Krock kinda big
18:04 PenguinDad using a binary model format might fix it
18:13 OldCoder We don't especially need it. But apparently 0.5MB models can't be loaded even with large timeouts.
18:13 OldCoder I set timeouts to 5 seconds as an experiment; no dice
18:13 OldCoder Thank you for the comments. This would appear to be the explanation.
18:13 * OldCoder rests
18:19 CraigyDavi` joined #minetest-dev
18:21 CraigyDavi`` joined #minetest-dev
18:24 dust_ joined #minetest-dev
18:38 gravgun joined #minetest-dev
18:50 gravgun joined #minetest-dev
18:52 proller joined #minetest-dev
18:52 zat joined #minetest-dev
18:54 RiZom-91 joined #minetest-dev
18:55 RiZom-91 Hi there! Is there an "easy" way to make entities flammable as node please ?
18:55 RiZom-91 I've tried groups = {flammable=2} but no success
18:56 sfan5 entities can't burn
18:56 sfan5 so, no
18:58 RiZom-91 Would it be merged if someone (me?) changes this in the core code ? or is it a chosen feature ?
19:01 sfan5 pull requests are always welcome
19:01 sfan5 especially if they add new useful features
19:02 RiZom-91 ok so I will try to do something for this
19:03 proller welcome ignoring
19:03 proller for
19:03 Calinou proller, solved in freeminer?
19:03 proller yes
19:06 RiZom-91 proller? you already have this (flammable entities) in freeminer?
19:06 proller no
19:07 RiZom-91 so I don't understand your comment ?
19:08 RiZom-91 why would it be ignored ?
19:08 sol_invictus because everything is ignored in minetest
19:11 RiZom-91 maybe. I'll see (if and when I'll have something good to pull...).
19:30 Krock :/ latest irrlicht seems to be incompatible with MT or just broken
19:30 Krock (r3526)
19:33 Krock yeah. the stuff crashes without even starting irrlicht
19:56 shadowzone joined #minetest-dev
19:57 shadowzone joined #minetest-dev
20:00 shadowzone joined #minetest-dev
20:35 Miner_48er joined #minetest-dev
21:05 Krock ShadowNinja, I can reproduce the "bug" and uploaded an image. you wouldn't see more on an animated image. it just spawns and expires
21:07 ShadowNinja Krock: Give me a few minutes and I'll confirm it.
21:07 Krock okay.
21:14 ShadowNinja Krock: Confirmed.
21:17 Krock :)
21:25 iqualfragile joined #minetest-dev
21:32 ShadowNinja Comments?  This is a modified version of donat-b's last_login patch: http://sprunge.us/JgjM?diff
21:33 iqualfragile joined #minetest-dev
21:47 iqualfragile joined #minetest-dev
21:47 kaeza ShadowNinja, in line 39, you try to assert that last_login is a number, but I see nowhere where you actually ensure it is a number to begin with
21:48 ShadowNinja kaeza: Good catch, thanks.
21:48 ShadowNinja I thought I got all of those.
21:48 kaeza only thing I see is last_login = tonumber(last_login), but at that point, the original last_login could be nil (due to not being in auth.txt), so tonumber() returns nil
21:49 kaeza maybe last_login = tonumber(last_login) or 0 ?
21:51 kaeza other than that, looks good
21:52 iqualfragile joined #minetest-dev
21:52 kaeza `/last-login` could be `/last_login` or `/lastlogin` to be consistent (think `/setpassword`)
21:58 ShadowNinja kaeza: Yes, both of those things were as it was before but 1. 0 is still a perfectly good date, nil is a better way to indicate invalidity.  2. It's two seperate words, so they should be seperated.  I just like '-' for commands because it's allowed.
21:58 ShadowNinja The way I want to do this I have to change string.split though ('+' -> '*' in regex).
21:59 ShadowNinja So a:b:c::d -> {'a','b','c','','d'}
21:59 ShadowNinja The issue of the dozen or so different ways that a split function can act is discussed at length in a ua-users wiki article.
22:01 shadowzone joined #minetest-dev
22:12 iqualfragile joined #minetest-dev
22:45 darkrose joined #minetest-dev

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