08-17-2017, 01:31 AM
I've been using a
in the template parameters list.
Code:
typename = std::enable_if_t<std::is_integral<T>::value>
Random Chitchat 2017
|
08-17-2017, 01:31 AM
I've been using a
Code: typename = std::enable_if_t<std::is_integral<T>::value>
08-17-2017, 03:48 AM
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").
08-18-2017, 12:28 AM
I'm on a GitHub PR merging spree yayyyyy
Decided to merge all PRs that I approved and no-one else made any attempt to review for the last week. Thanks given by: NiLSPACE
08-24-2017, 08:45 PM
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
08-24-2017, 09:04 PM
Great
08-25-2017, 05:24 PM
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
I noticed it People seem to like it
08-25-2017, 05:35 PM
Wow! You guys did a lot of good work on the project since I've been away really awesome! Also I noticed, that you already replied to the HN post
08-25-2017, 05:40 PM
Also, the project has nearly 2000 Stars on GH!!!!!!!
|
« Next Oldest | Next Newest »
|