Cuberite Forum
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)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


RE: Random Chitchat 2017 - tigerw - 08-17-2017

I've been using a
Code:
typename = std::enable_if_t<std::is_integral<T>::value>
in the template parameters list.


RE: Random Chitchat 2017 - xoft - 08-17-2017

Unfortunately it works slightly differently for structs / classes and for functions, which makes it hard.

But anyway, I'm making slow progress. The function now additionally supports decorators on the types:
ReadParams(overloadUsed,
    std::tie(cLuaState::self(self), ...)
);
ReadParams(overloadUsed,
    std::tie(cLuaState::staticSelf<cRoot>(), ...)
);
The first one is used for regular object methods and makes sure that the first param is non-nil (in the future I'll add a specific error message, hence "self" instead of "nonNil").
The second one is used for static methods, it checks that the first param is the cRoot class (as in "cRoot:doSomething()"). I'm still working on this one, but I'm pretty sure I can do it.

The next thing I'd like to do is a detailed report when no overloads match - I want to list all the possible overloads (already done) and for each possible overload, the exact reason why it wasn't matched ("Overload (cPlayer, string): param #1: expected a cPlayer instance, got a number instead").


RE: Random Chitchat 2017 - xoft - 08-18-2017

I'm on a GitHub PR merging spree yayyyyy Smile
Decided to merge all PRs that I approved and no-one else made any attempt to review for the last week.


RE: Random Chitchat 2017 - xoft - 08-24-2017

Finally I managed to make Let'sEncrypt work for me. The gallery server's webadmin has a trusted cert now.

Because I had multiple HTTPS servers at home, each on a different port and each used through a different subdomain name, I had to shuffle things around and finally I settled on a central Apache server that has hostname-based vhosts proxying to each of the previous servers. It was pain to set up, but hopefully it'll work from now on.

This has been a lesson in Linux administration, some bash programming and network debugging Smile


RE: Random Chitchat 2017 - NiLSPACE - 08-24-2017

GreatBig Grin


RE: Random Chitchat 2017 - sphinxc0re - 08-25-2017

Hey guys. It has been a while since I posted something here or that I actually did something for the project. A few days ago, I posted the Cuberite website on HN and guess what happended: https://news.ycombinator.com/item?id=15070192


RE: Random Chitchat 2017 - NiLSPACE - 08-25-2017

I noticed it Smile People seem to like it Big Grin


RE: Random Chitchat 2017 - sphinxc0re - 08-25-2017

Wow! You guys did a lot of good work on the project since I've been away Smile really awesome! Also I noticed, that you already replied to the HN postBig Grin


RE: Random Chitchat 2017 - sphinxc0re - 08-25-2017

Also, the project has nearly 2000 Stars on GH!!!!!!!


RE: Random Chitchat 2017 - sphinxc0re - 08-25-2017

O_o what .... the ... hell!