Random Chitchat 2017 - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Off Topic (https://forum.cuberite.org/forum-9.html) +--- Forum: Off Topic Discussion (https://forum.cuberite.org/forum-10.html) +--- Thread: Random Chitchat 2017 (/thread-2727.html) |
RE: Random Chitchat 2017 - xoft - 06-19-2017 This is what choked the compiler: /** Template for the bindings for the DoWithXYZAt(X, Y, Z) functions that need to check their coords. */ template < class SELF, class ITEM, bool (SELF::*DoWithFn)(int, int, int, cItemCallback<ITEM> &), bool (SELF::*CoordCheckFn)(int, int, int) const = nullptr > static int DoWithXYZ(lua_State * tolua_S) { ... I was hoping that this template would work with the old code that has no CoordCheckFn specification. So far the only solution I was able to find is to split the template definition into two - the old code without the CoordCheckFn, and a new one with CoordCheckFn that has no default. Seems to be working now, but I'm not too happy about the code duplication. RE: Random Chitchat 2017 - xoft - 06-23-2017 I think I've just fixed the longest-standing memory leak we've had. It could very well be the cause of the Gallery server's growing memory usage that we've been seeing. https://github.com/cuberite/cuberite/pull/3794 This caused about 70 KiB of RAM leaked per server "ping". RE: Random Chitchat 2017 - tigerw - 07-10-2017 "The Hidden Combination" RE: Random Chitchat 2017 - xoft - 07-10-2017 So your calculator has all the letters except for the T? I find that hard to believe RE: Random Chitchat 2017 - xoft - 07-10-2017 (Also, welcome back) RE: Random Chitchat 2017 - tigerw - 07-14-2017 Take your pick, I suppose. RE: Random Chitchat 2017 - xoft - 07-18-2017 Summer dance school, yay! RE: Random Chitchat 2017 - ShadowCone - 07-19-2017 https://youtu.be/W2w4veUv-Vc You could do better screen capturing from the phone, but I even noticed a slight spike in the downloads but still nothing to he proud of RE: Random Chitchat 2017 - tigerw - 07-20-2017 We were featured! yay! It looks like the webadmin might need a viewport tag for mobile PCs. RE: Random Chitchat 2017 - xoft - 07-20-2017 Featured? Where? How? |