Say you have a repeating task. The task takes seconds, the repeating interval is much longer, 5 or 10 minutes. Is it good practice to return control to the OS in that long interval? In other words, daemon the task?
This is a receipt for your DigitalOcean usage. This is only a receipt, no payment is due. If you have any questions please contact us anytime. Thank you for your business!
----------------------------------------------------- DigitalOcean Receipt - April 2014
Amount: $17.28
DigitalOcean 270 Lafayette St. New York, NY 10012 -----------------------------------------------------
I think I know the difference between an invoice and a receipt thank you guys....
Do they have people contact 'em and SEND ALL IN CAPS - WHY YOU CHARGE ME AGAIN - I ALREADY PAID!!!
ideally I'd like to pull in the remote as a new branch, diff the current branch, then take out the subset of a directory into another branch to commit for use on another remote
I have no bloody idea what term I'm looking for (apart from probably really stupid and over thinking it)
As manojlds pointed out in the comments, this will only work if nothing else has been stages and there are no other unpushed local commits. If that is the case, you are are probably best creating a new tracking branch from the remote, cherry picking the local commit into the new branch, pushing to the remote, then rebasing the original tracking branch. sigh :(
Using sqlalchemy. If I have a `User` that has many `School`. Is these two queries the same? `s = School.query.get(2)` `User.query.filter(User.schools.contains(s)).all()` vs: `User.query.join(User.schools).filter(School.id == 1)`
@Johnston but other Libs that were needed like sphinx i just downloaded the file i put it on the desktop went on that directory with cmd and then just typed python setup.py install and all went smooth... strange
@kwak That is if they do go to memory. Cause the interpreter might be smart enough to wipe out the module if anything coming from there isn't actually used
@ThiefMaster that's what I thought... I wouldn't mind the end discussion to be public, as that'd be the whole idea of it... just not the internal discussion kind of thing
@ThiefMaster the conclusions and end results will be published on both sopython and here, the argument/debates leading to them, I don't think should be...
@ThiefMaster ty... just let us know would be great... I'm going to aim sometime in the next week or so... should be able to collect enough info. to be able to host elsewhere if need be
@ThiefMaster yup, and then people asking for IRC clients and such :)
I just though a locked room, with a system everyone knows how to use... then we summarise at the end, you delete the banter, then room becomes public would be a viable solution
You can also get rid of the else: after the raise. If you raise an exception the code after it won't be executed anyway. And that way you keep your indentation level lower.
Just to be pedantic, int etc aren't keywords, they're just built-in types. Keywords are things like for. (Try import keyword and then print(keyword.kwlist).)
@Johnston You were so right!!! Now when i setup arelle in the cmd the: no module name pg8000 is replace by no module named pymysql and cx_Oracle and so on so i am installing those!!!!
@PatrickBassut Heh, tell that my coworkers who use sublime for a HUGE project (where "go to definition" etc. would be pretty useful).. and we actually have an opensource license for pycharm.
__str__, __getattr__ etc. have special behavior (e.g. the latter is called when accessing an attribute that does not exist), and you are not supposed to create your own methods/attributes within that naming schema
Truth be told: 90% JetBrains(PyCharm owner for those who don't know) IDE's features aren't used either because they don't work well, or just because is hidden somehow.