Minetest logo

IRC log for #minetest-dev, 2015-09-13

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

All times shown according to UTC.

Time Nick Message
00:07 leat2 joined #minetest-dev
00:36 domtron joined #minetest-dev
01:31 twoelk|2 joined #minetest-dev
01:32 Tesseract web#11
01:32 ShadowBot https://github.com/minetest/​minetest.github.io/issues/11 -- Arrow bug with firefox
01:33 domtron joined #minetest-dev
02:01 domtron_ joined #minetest-dev
02:15 domtron joined #minetest-dev
02:25 Miner_48er joined #minetest-dev
02:28 est31 joined #minetest-dev
02:28 est31 thanks Tesseract
03:53 hmmmm oops
03:53 hmmmm I broke sheet ore when I added the perlin noise auto-transform
04:13 hmmmm https://github.com/kwolekr/minetest/commit​/beba96941365a750f8b681df7a73566bdf797f0c  PTAL
04:13 hmmmm pushing in 30 minutes if nobody has any objections :-)
05:02 TBC_x joined #minetest-dev
05:42 Hunterz joined #minetest-dev
06:53 Krock joined #minetest-dev
07:03 celeron55 joined #minetest-dev
07:56 TBC_x joined #minetest-dev
07:57 red1 joined #minetest-dev
07:58 nrzkt joined #minetest-dev
08:00 Yepoleb_ joined #minetest-dev
08:08 red1 joined #minetest-dev
08:17 red1 joined #minetest-dev
09:05 T4im joined #minetest-dev
09:30 rubenwardy joined #minetest-dev
09:34 leat2 joined #minetest-dev
11:00 H-H-H joined #minetest-dev
11:00 Calinou joined #minetest-dev
11:06 leat2 joined #minetest-dev
11:15 rubenwardy joined #minetest-dev
11:23 red1 joined #minetest-dev
11:45 MinetestForFun joined #minetest-dev
11:54 Amaz joined #minetest-dev
12:03 optimusbrine joined #minetest-dev
12:30 leat2 joined #minetest-dev
12:31 lisacvuk joined #minetest-dev
12:40 leat2 joined #minetest-dev
12:42 H-H-H joined #minetest-dev
12:49 proller joined #minetest-dev
13:08 CraigyDavi joined #minetest-dev
13:08 Megaf joined #minetest-dev
13:12 DFeniks joined #minetest-dev
13:41 T4im joined #minetest-dev
13:57 waressearcher2 joined #minetest-dev
14:03 waressearcher2 I know that minetest uses Perlin Noise so just a little suggestion, that document http://staffwww.itn.liu.se/~steg​u/simplexnoise/simplexnoise.pdf    describes a Simplex Noise that is "better", in particular there are some few more prominent advantages of Simplex Noise, they are: 1)  has a lower computational complexity and requires fewer
14:03 waressearcher2 multiplications. 2)  has no noticeable directional artifacts 3)  has a well-defined and continuous gradient everywhere that can be computed quite cheaply 4) Simplex noise is easy to implement in hardware,    and this is one of implementations of it http://www.itn.liu.se/~stegu/s​implexnoise/SimplexNoise.java, wouldn't it be greate to have it in
14:03 waressearcher2 minetest to speed up world generation ? or there are reasons it is not used in minetest ?
14:11 leat2 joined #minetest-dev
14:13 T4im simplexnoise is patented, so you'd have to use a similar but unpatended algorithm like opensimplex ;)
14:18 waressearcher2 so, why not opensimplex ?
14:41 Krock just add it ^^
14:42 asl97 joined #minetest-dev
15:00 lisacvuk joined #minetest-dev
15:11 hmmmm joined #minetest-dev
15:57 est31 joined #minetest-dev
16:08 Warr1024 joined #minetest-dev
16:15 leat joined #minetest-dev
16:45 rubenwardy joined #minetest-dev
17:14 Miner_48er joined #minetest-dev
17:32 Warr1024 joined #minetest-dev
17:32 Warr1024 joined #minetest-dev
17:36 VanessaE guys, why isn't the mod profiler properly documented?
17:37 zupoman joined #minetest-dev
17:39 Krock because VanessaE didn't spread that fact earlier
17:40 VanessaE ...
17:40 MinetestForFun joined #minetest-dev
17:47 Warr1024 joined #minetest-dev
17:48 Warr1024 joined #minetest-dev
17:48 Warr1024 joined #minetest-dev
17:55 T4im VanessaE: https://github.com/t4im/profiler/
17:55 T4im is documented
17:56 VanessaE thanks, but that doesn't help much with the default profiler :)
17:57 T4im there's some variable to set, it's documented in the commit
17:58 T4im https://github.com/t4im/profiler/commit/​c14f9916b08e12788ff06bbcba31696fe2bf3b0c
17:59 T4im (the builtin on)
17:59 T4im one*
18:00 luizrpgluiz joined #minetest-dev
18:01 T4im (I left the original commit in the history, so it could in theory be merged back, if wanted to)
18:03 luizrpgluiz how many people develop the currently minetest?
18:10 asl97 luizrpgluiz: https://github.com/minetest/​minetest/graphs/contributors
18:10 ElectronLibre joined #minetest-dev
18:10 lisacvuk joined #minetest-dev
18:10 VanessaE T4im: "documented in commit x/in the sources" is not "documented".
18:10 VanessaE (and yeah, I had to dig through the code to find the info I needed)
18:11 T4im commit message
18:12 T4im what do you need it for anyway? :)
18:12 leat joined #minetest-dev
18:13 VanessaE to look into a performance issue on VE-Basic that apparently started a couple days ago
18:13 T4im uh,.. have you already forgotten how it crashs and calculates wrong? :/
18:13 VanessaE apparently I have.
18:14 VanessaE but I have to do *something*
18:14 VanessaE these are production servers
18:14 VanessaE I can't have them crapping out.
18:14 T4im was there a problem with the fork/fix that I'm not aware of? :o
18:15 Player_2 joined #minetest-dev
18:15 VanessaE eh?
18:18 T4im well you used "profiler" before, that's why I'm wondering, why you would prefer the built-in one with the known issues, again..
18:18 VanessaE oh, no I'm using the inbuilt mod_profiling
18:18 VanessaE simply because it's already there.
18:18 T4im ah
18:20 VanessaE why hasn't yours been merged upstream yet?
18:20 T4im shadowninja apaprently wanted to make his own rewrite
18:21 T4im so 3 core devs ignored it, copied the abm labeling, made some (not all) of the bugfixes, but cleaned it up in a way that makes a merge impossible
18:21 T4im so, I guess that's why I'm a bit latently disappointed with it all
18:21 VanessaE sounds like you should rebase/rewrite it and re-submit it
18:21 T4im there's nothing in the rewrite that isn't in my fork half a year earlier
18:24 luizrpgluiz left #minetest-dev
18:24 T4im it's just now, that I wondered if there was some issue with it, that might explain this
18:24 T4im anyway.. :)
18:25 T4im I could check, which mod it was that crashed the built-in one for you, if you want.. that way you could possibly prevent it from crashing again
18:29 luizrpgluiz joined #minetest-dev
18:30 VanessaE nono
18:31 VanessaE it's nothing at all to do with the profiler, per se., I just needed to get it running so I could track down a bad mod elsewhere
18:33 VanessaE well, that's real fucking helpful:  http://pastebin.ubuntu.com/12399398/
18:33 VanessaE :P
18:33 VanessaE (default -> abm -> 3983865)
18:34 VanessaE none of default's abms are labeled?
18:37 T4im I don't think so, and only the rewrite (which is not merged into master yet) has the abm labeling
18:38 T4im my version enumerates as a fallback if no label is there btw
18:38 T4im perhaps that helps
18:38 T4im to know it's the "5th abm" ;)
18:38 red1 joined #minetest-dev
18:43 Sokomine it might help already if it becomes visible if it's just one abm in particular or more or less split up amongst some
18:43 T4im example output: https://gist.github.com/t4im/657c6d6a788659c5f8a0
18:43 leat joined #minetest-dev
18:43 T4im old though
18:43 T4im splits up other functions too.. but since it can save to a dedicated, file the verbosity shouldn't be a problem
18:44 rubenwardy joined #minetest-dev
18:53 VanessaE it may be cg72's waterfall particles patch (for minetest_game) that is the culprit.
18:57 T4im it certainly does a lot of unnecessary node lookups
19:05 waressearcher2 T4im: can't node lookups be done on a separata core ?
19:05 waressearcher2 I mean why not to make minetest multicore friendly
19:06 T4im my point was, that it doesn't make sense to lookup a node and then look it up 5 times more
19:09 asl97 joined #minetest-dev
19:44 est31 joined #minetest-dev
19:44 est31 Calinou, how did you minify the js scripts?
19:44 Calinou I downloaded their minified versions, that's all :P
19:44 est31 Calinou, can you try to minify lib/js/jquery.goup.js again, and push it
19:45 luizrpgluiz left #minetest-dev
19:46 Calinou output is exactly the same, est31
19:47 Calinou nvm
19:48 Calinou it compresses better, heh
19:48 est31 lol
19:48 Calinou arrow renders fine in both Fitrefox and Chromium
19:48 Calinou do you want me to push it?
19:49 VargaD_ joined #minetest-dev
19:49 est31 yes
19:49 est31 fine that it works
19:49 Amaz joined #minetest-dev
19:49 est31 btw jekyll serve doesnt work for me anymore
19:49 Calinou did you install jekyll-redirect-from gem?
19:49 est31 how?
19:49 Calinou also I'm halfway having a good cross-platform gulpfile, the problem is that it keeps rebuilding the Jekyll site on Windows
19:49 est31 yea it complains about precisely that
19:49 Calinou sudo gem install jekyll-redirect-from
19:53 Calinou est31, pushed
19:54 est31 now it complains "Could not find a JavaScript runtime."
19:54 est31 man that all worked once
19:54 Calinou one day, we'll use gulp, and benefit from Browsersync + Stylus + Jekyll all with one command. :-)
20:04 Siva joined #minetest-dev
20:13 Gael-de-Sailly joined #minetest-dev
20:16 asl joined #minetest-dev
20:36 twoelk joined #minetest-dev
20:43 kaeza joined #minetest-dev
20:43 Fritigern joined #minetest-dev
20:49 ElectronLibre left #minetest-dev
21:22 red1 How does minetest store the map?
21:23 VanessaE sqlite
21:23 VanessaE aor leveldb
21:23 VanessaE depending on which backend you're using.  sqlite is the default.
21:23 VanessaE -a
21:24 red1 how is that data organized  in the database? There was a page on the dev wiki about it put i can't find it
21:25 VanessaE https://github.com/minetest/minet​est/blob/master/doc/mapformat.txt
21:25 red1 thanks
21:25 VanessaE not sure if that's still valid though
21:27 red1 It's more valid then the wiki was
21:31 Fritigern joined #minetest-dev
21:31 est31 lol third person today asking about selling minetest
21:32 est31 did we get mentioned in a business magazine lol
21:32 red1 Well technically you CAN sell it....
21:32 younishd joined #minetest-dev
21:33 est31 AHHH that documentation needs updated
21:33 est31 this is wrong https://github.com/minetest/minetes​t/blob/master/doc/mapformat.txt#L44
21:34 red1 Why is that in mapformat?
21:34 est31 that's a question as well
21:34 red1 Shouldn't there be like worldformat.txt?
21:37 est31 good idea
21:40 red1 Where do I find the most up to date documentation? dev wiki or github?
21:40 est31 varies
21:41 est31 but we try to keep both up to date
21:43 red1 When a client request a block what function is used to load it?
21:43 red1 getBlockOrEmerge?
21:44 est31 you mean that the client asks the server to get a mapblock?
21:44 est31 there was such a protocol message once but it was deprecated
21:45 red1 Yes
21:45 est31 right now the server just sends the client mapblocks on its own descision
21:45 red1 ohh
21:45 est31 depending on where you are and where you look
21:46 red1 what part of the code does that? server.cpp?
21:47 est31 I think yes
21:47 est31 but only because I know that server.cpp does that much
21:50 est31 what I always do is to look up the protocol messages name in network/networkprotocol.h
21:50 est31 and then to grep -r src the name
21:52 red1 so search network/networkprotocol.h for it?
21:53 est31 yeah.
21:53 est31 there you find out that the message is called TOCLIENT_BLOCKDATA
21:55 est31 then you cd to the source dir and do grep -rIn TOCLIENT_BLOCKDATA src
21:56 est31 it gives you matches in clientopcodes.cpp and serveropcodes.cpp
21:56 est31 those can be ignored
21:56 est31 because they are only important for low level code
21:56 est31 and for where the protocol message is handled by the recieving party (the client)
21:57 * red1 realizes he is using windows
21:57 est31 then there is a match at src/server.cpp:2144
21:57 est31 lol
21:58 red1 blame it on Ubuntu and lubuntu hating my pc
22:08 est31 joined #minetest-dev
22:34 est31 hmmmm, can I push https://github.com/est31/minetest/commit/​9d0d5d1a4017b2abfc717483d1b70188d9d5bf91
22:34 est31 sorry
22:34 hmmmm sure.
22:34 est31 this one https://github.com/est31/minetest/commit/​915807f8db1f3721ad9ffc00a4863ad940010c45
22:34 est31 (added SRP stuff)
22:35 est31 I dunno about the example
22:35 hmmmm eh whatever works
22:35 est31 it might cause problems with people who have buggy editors
22:36 est31 well, I'll push it and if sb doesnt like it, they can remove it again
22:56 red1 joined #minetest-dev
23:11 red1 joined #minetest-dev
23:18 VanessaE joined #minetest-dev
23:45 asl97 joined #minetest-dev

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