<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Lacking Credibility - Latest Comments</title><link>http://dreid-org.disqus.com/</link><description></description><atom:link href="https://dreid-org.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 18 Feb 2011 19:08:55 -0000</lastBuildDate><item><title>Re: http://dreid.org/2010/12/why-i-still-trust-tor-wikileaks-and.html</title><link>http://dreid.org/2010/12/why-i-still-trust-tor-wikileaks-and.html#comment-151900507</link><description>&lt;p&gt;To say that Jacob Appelbaum would secretly compromise the Tor source is absurd for a number of reasons, not the least of which being that he doesn't write code and so wouldn't know how to.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guest</dc:creator><pubDate>Fri, 18 Feb 2011 19:08:55 -0000</pubDate></item><item><title>Re: http://dreid.org/2010/02/mimicing-source-virtualenvbinactivate.html</title><link>http://dreid.org/2010/02/mimicing-source-virtualenvbinactivate.html#comment-136572118</link><description>&lt;p&gt;No problem, glad you found it useful.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Reid</dc:creator><pubDate>Sat, 29 Jan 2011 04:58:33 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531332</link><description>&lt;p&gt;@DAn @agc partly disagree.  You can certainly call into the Twisted reactor's main thread from Django using reactor.callInThread (and threads.blockingCallFromThread if you need to get from Twisted a deffered's callback value into Django).&lt;br&gt;&lt;br&gt;It's also harder but not TOO difficult to use Django models outside the WSGI container.  This is what Nick Moffitt's Yardbird does.  You still need to start Django in a thread so the reactor isn't stalled by waiting for the database, but I think you don't necessarily need WSGI nor a 'request' object just to use the Django ORM '&lt;a href="http://models.py" rel="nofollow noopener" target="_blank" title="models.py"&gt;models.py&lt;/a&gt;'.&lt;br&gt;&lt;br&gt;@agc serving static files is not quite that easy because WSGIResource's do not accept putChild, so I have been using the approach at &lt;a href="http://www.clemesha.org/blog/Django-on-Twisted-using-latest-twisted-web-wsgi#comment-76772096" rel="nofollow noopener" target="_blank" title="http://www.clemesha.org/blog/Django-on-Twisted-using-latest-twisted-web-wsgi#comment-76772096"&gt;http://www.clemesha.org/blo...&lt;/a&gt; though there's a slight mistake in his comment with favicon---it should be just 'return self.favicon' because I think the .write() .finish() is only used when you return NOT_DONE_YET.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">carton</dc:creator><pubDate>Mon, 13 Sep 2010 18:02:42 -0000</pubDate></item><item><title>Re: http://dreid.org/2010/02/mimicing-source-virtualenvbinactivate.html</title><link>http://dreid.org/2010/02/mimicing-source-virtualenvbinactivate.html#comment-136531311</link><description>&lt;p&gt;Thank you very much for the hint, it works like a charm and it's a must to have!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pygabriel</dc:creator><pubDate>Tue, 01 Jun 2010 20:06:10 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531335</link><description>&lt;p&gt;This is pretty useful -- I suggest looking at this &lt;a href="http://clemesha.org/blog/2009/apr/23/Django-on-Twisted-using-latest-twisted-web-wsgi/" rel="nofollow noopener" target="_blank" title="http://clemesha.org/blog/2009/apr/23/Django-on-Twisted-using-latest-twisted-web-wsgi/"&gt;blog entry by Alex Clemesha&lt;/a&gt; for all the details (and example code) that you'll need to implement this.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David Underhill</dc:creator><pubDate>Sun, 06 Sep 2009 12:55:49 -0000</pubDate></item><item><title>Re: http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html</title><link>http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html#comment-136531316</link><description>&lt;p&gt;If that person's password is not 'sweethomealabama' then my name isn't Josh Groban.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim Jarratt</dc:creator><pubDate>Wed, 15 Jul 2009 12:12:37 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531340</link><description>&lt;p&gt;@orospakr To handle media files just use "static.File" from "twisted.web" like so: staticrsrc = static.File(os.path.join(os.path.abspath("."), "mydjangosite/media")) and then add that resource to your root resource like so: root.putChild("media", staticrsrc)&lt;br&gt;&lt;br&gt;@DAn the latter solution is probably the way you want to go, i.e. "handle urls that require xmpp access with twisted, and all other views with django".  See here for an example of exactly how to do this: &lt;a href="http://github.com/clemesha/twisted-wsgi-django/tree/master" rel="nofollow noopener" target="_blank" title="http://github.com/clemesha/twisted-wsgi-django/tree/master"&gt;http://github.com/clemesha/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">agc</dc:creator><pubDate>Wed, 27 May 2009 15:56:32 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531342</link><description>&lt;p&gt;I am trying to use twisted words xmpp with django. I need my django views to make requests to the xmpp server, wait for the reply in a deferred callback, and then return a response. This is easy to do with twisted web resources, but how do you do it with django views?&lt;br&gt;&lt;br&gt;If it's not possible my current plan is to handle urls that require xmpp access with twisted, and all other views with django. But I'd much rather serve all views with django.&lt;br&gt;&lt;br&gt;Thanks!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DAn</dc:creator><pubDate>Wed, 22 Apr 2009 12:45:00 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531346</link><description>&lt;p&gt;Hey, how does one handle /media for the admin interface (and other static files) with this arrangement?&lt;br&gt;&lt;br&gt;I am not too familiar with Twisted Web, but the documentation for WSGIResource suggests that there may be no subresources, as everything is passed to the WSGI app...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">orospakr</dc:creator><pubDate>Sun, 19 Apr 2009 22:29:00 -0000</pubDate></item><item><title>Re: http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html</title><link>http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html#comment-136531318</link><description>&lt;p&gt;I've had the same experience. I was stunned to see my password in plain text and that too coming from McAfee!!!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">hashname</dc:creator><pubDate>Sat, 18 Apr 2009 06:09:00 -0000</pubDate></item><item><title>Re: http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html</title><link>http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html#comment-136531320</link><description>&lt;p&gt;@Lock Bumping: storing a password using reversible encryption is no different than storing it in plaintext; either way it can be accessed if the server is compromised.  And that pales in significance compared to the fact that they send it by email; that's just dumb.  Don't make excuses for big stupid companies.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Eric TF Bat</dc:creator><pubDate>Tue, 14 Apr 2009 22:26:00 -0000</pubDate></item><item><title>Re: http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html</title><link>http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html#comment-136531322</link><description>&lt;p&gt;I don't use my @gmail address for that very reason.  I also think there's someone named Bob Simpson somewhere who would really like his Google Analytics data, if he didn't manage to attach it to my account.&lt;br&gt;&lt;br&gt;-bsimpson@g&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Brenton</dc:creator><pubDate>Tue, 14 Apr 2009 21:56:00 -0000</pubDate></item><item><title>Re: http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html</title><link>http://dreid.org/2009/04/mcafee-apparently-sends-passwords-to.html#comment-136531324</link><description>&lt;p&gt;Just because e-mail provides the password in plaintext, it does not mean McAfee stores it on their server's that way.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lock Bumping</dc:creator><pubDate>Tue, 14 Apr 2009 21:18:00 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531349</link><description>&lt;p&gt;@Drew Yes, twistd --wsgi is using threads.  If you look in the Twisted source in "twisted/web/&lt;a href="http://tap.py" rel="nofollow noopener" target="_blank" title="tap.py"&gt;tap.py&lt;/a&gt;", you can see "opt_wsgi" (the method that gives twistd the --wsgi functionality) is utilizing twisted.web.wsgi.WSGIResource, which, in turn, takes a threadpool.ThreadPool() instance as it's second argument.&lt;br&gt;&lt;br&gt;&lt;br&gt;@Cornbread The reason that I find this new wsgi very exciting is that now you can run Django *together* with several other Twisted Services, all running under one single Twisted Application.  Your other Twisted Service may be some cool XMPP app - and combining Twisted's great XMPP functionality with Django leads to some awesome possibilities.  People probably have many other useful use-cases as well.&lt;br&gt;&lt;br&gt;&lt;br&gt;-Alex Clemesha&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">agc</dc:creator><pubDate>Thu, 09 Apr 2009 21:21:00 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531351</link><description>&lt;p&gt;Looks like a great post. Can you elaborate more on the configuration. Do you host your entire project on wsgi? &lt;br&gt;&lt;br&gt;I'm a bit unsure how this fits in with the project as a whole whether you're running a single twisted app with a regular django project or the whole project is run on twisted. TIA&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cornbread</dc:creator><pubDate>Thu, 09 Apr 2009 18:20:00 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html</title><link>http://dreid.org/2009/03/twisted-django-it-wont-burn-down-your.html#comment-136531353</link><description>&lt;p&gt;How does this work with respect to concurrent requests? I bet django page calls don't return deferreds.&lt;br&gt;&lt;br&gt;Is django expecting long requests to be run in separate threads or something? Does twistd --wsgi actually use multiple threads?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Drew Perttula</dc:creator><pubDate>Sun, 05 Apr 2009 12:41:00 -0000</pubDate></item><item><title>Re: http://blog.dreid.org/2008/12/i-given-up.html</title><link>http://dreid.org/2008/12/i-given-up.html#comment-136531357</link><description>&lt;p&gt;So, does this mean that you're going to be blogging here?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">pix</dc:creator><pubDate>Mon, 15 Dec 2008 14:53:00 -0000</pubDate></item></channel></rss>