Comments for Nathan Horne – Technical Artisthttp://nathanhorne.com
Fri, 20 Sep 2013 01:13:57 +0000hourly1https://wordpress.org/?v=4.5.9Comment on Maya 2013 PyQt x64 by Emblem Beta Release | Victor Dearinghttp://nathanhorne.com/maya-2013-pyqt-x64/comment-page-1/#comment-2635
Fri, 20 Sep 2013 01:13:57 +0000http://nathanhorne.com/?p=460#comment-2635[…] pre-built version of PyQt for Maya 2013 x64 can be found here: http://nathanhorne.com/?p=460. Simply unzip the file Nathan has provided, and drop the contents into: C:Program […]
]]>Comment on Python Singleton pattern (Possibly a new way?) by manuelhttp://nathanhorne.com/python-singleton-pattern-possibly-a-new-way/comment-page-1/#comment-2626
Wed, 04 Sep 2013 12:33:13 +0000http://nathanhorne.com/?p=465#comment-2626Hi Nathan,
I use your solution to the singleton pattern frequently.
But now I encountered a new situation where I want my singleton class to inherit from ‘dict’ rather than from ‘object’. I’m unsure how to modify the code – somehow, somewhere I need to initialice the dict – but how. Any chance you could clarify that.
Regards,
Manuel
]]>Comment on Python Singleton pattern (Possibly a new way?) by kingmaxhttp://nathanhorne.com/python-singleton-pattern-possibly-a-new-way/comment-page-1/#comment-2617
Sat, 17 Aug 2013 08:29:31 +0000http://nathanhorne.com/?p=465#comment-2617gui application need singleton, for example PyQt in maya
]]>Comment on Maya 2013 PyQt x64 by Zukranhttp://nathanhorne.com/maya-2013-pyqt-x64/comment-page-1/#comment-2602
Wed, 24 Jul 2013 18:51:44 +0000http://nathanhorne.com/?p=460#comment-2602Thank You sooooo much Nathan!
]]>Comment on Guide to PyQt/PySide in Maya (Pt. 1) by ArtOfTech – Maya 2014 Upgradehttp://nathanhorne.com/guide-to-pyqtpyside/comment-page-1/#comment-2514
Sun, 09 Jun 2013 19:33:36 +0000http://nathanhorne.com/?p=451#comment-2514[…] of Maya. Nathan Horne is one of the pioneers in this area and has shared a ton of useful info: Nathan’s Mega-post and some […]
]]>Comment on Maya 2013 PyQt x64 by Raoufhttp://nathanhorne.com/maya-2013-pyqt-x64/comment-page-1/#comment-1786
Sat, 01 Dec 2012 22:20:35 +0000http://nathanhorne.com/?p=460#comment-1786Nathan, I just want to say :
I LOVE YOU!!!
]]>Comment on Python API grab frame buffer to image by Sanjeev Kumarhttp://nathanhorne.com/python-api-grab-frame-buffer-to-image/comment-page-1/#comment-1663
Wed, 31 Oct 2012 13:40:15 +0000http://nathanhorne.com/?p=261#comment-1663sweeeeeeeeeeeeeeet !!!!
]]>Comment on Guide to PyQt/PySide in Maya (Pt. 1) by Creating a simple UI in Maya using PyQthttp://nathanhorne.com/guide-to-pyqtpyside/comment-page-1/#comment-1656
Sat, 27 Oct 2012 17:47:53 +0000http://nathanhorne.com/?p=451#comment-1656[…] IMPORTANT: The PyQt libraries do not come w/ a standard Maya install so you’ll have to handle that part yourself. If you need help, Nathan Horne has a great post about how to do that: Guide to PyQt in Maya. […]
]]>Comment on Python Singleton pattern (Possibly a new way?) by Rob Galanakishttp://nathanhorne.com/python-singleton-pattern-possibly-a-new-way/comment-page-1/#comment-1645
Wed, 24 Oct 2012 21:12:49 +0000http://nathanhorne.com/?p=465#comment-1645Honestly, I have no idea why everyone complains so much about Singletons in python.

1) They should only be used rarely. Rarely!
2) Don’t bother creating a subclass to encourage their use or save 5 lines of clear code.
3) There are 10 ways to create singletons, all perfectly good (even if Singletons are bad), all of them are trivial to test and unlikely to be a source of any bug whatsoever.

Singletons in python are, to me, a terrible form of framework masturbation.

]]>Comment on Python Singleton pattern (Possibly a new way?) by Nathanhttp://nathanhorne.com/python-singleton-pattern-possibly-a-new-way/comment-page-1/#comment-1635
Tue, 23 Oct 2012 01:41:29 +0000http://nathanhorne.com/?p=465#comment-1635Yeah I mentioned that above as well, although I don’t like the fact that __init__ is called twice, it does at least keep it from breaking.
]]>