I came up with several different ways:
Iterate the first number not in set
I didn't want to get the shortest code (which might be the set-trickery) but something that could have a good runtime.
This might be one of the best proposed here, my tests show that it might be substantially faster esp...
my question is more generic though.. i understand that REST .py file or even php file, will check on the request method, whether it is post or get, then check on the parameters in the url and accordingly run a certain def / function, right?
I think those addons add very little because you typically dont want to just change your sqlstatements into urls ... you want some intelligent behaviour
the thing is that i think coming from an old school a bit, i feel more flexibility modifying my sqlstatements to get to the data that i want
for example i can use a sql statement to get the entire history of a borrowed books of a certain borrower from a library and another get the books that are currently out by a borrower
you can also do that with models ... models just provide a more oop interface to sql such that you could switch your database easily say from mysql to posgres
Well, blog articles are not necessarily answers? But if your boss doesn't have an issue with his content showing up on SO, you could just add it to that answer as a quote
ofc the other case of having access tokens in the post was declined too, because there was just lately a post about meta that some mods are tired with removing access tokens from posts :D
one of the best articles in his personal blog is written by me <g>, copied the former company blog to his personal domain and then coalesced all users under 1 name :D
but I think he ought to have the credits for that in this case
I think we can all agree, this sucks:
If you've been around a little while, you've probably encountered hundreds of answers like this in various forums, some of them even marked as "The Answer" by well-meaning1 forum admins looking to close a thread. We could try to enumerate the commonly-obse...
I feel certain I've read a meta thread where a mod justified declining a link-only flag on an answer because it was the only answer on the question, it got a bunch of upvotes, and the link itself was helpful