<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Alexandre Bourget - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-352e26a3" type="application/json"/><link>http://blogabourget.disqus.com/</link><description></description><atom:link href="http://blogabourget.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 28 Apr 2012 23:26:18 -0000</lastBuildDate><item><title>Re: New and hot, part 2: First Pyramid setup — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/14/new-and-hot-part-2-pyramid-setup#comment-513294853</link><description>&lt;p&gt;Thanks for your wonderful tutorials: They truly inspire me. Will you be making any more?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sacs</dc:creator><pubDate>Sat, 28 Apr 2012 23:26:18 -0000</pubDate></item><item><title>Re: Fabric and Pyramid: automatic deployment issues with paster serve — Alexandre Bourget</title><link>http://blog.abourget.net/2012/2/29/fabric-pyramid-automatic-deployment-issues-paster-serve#comment-506895681</link><description>&lt;p&gt;Cool, thanks :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alexandrebourget</dc:creator><pubDate>Mon, 23 Apr 2012 11:46:45 -0000</pubDate></item><item><title>Re: Fabric and Pyramid: automatic deployment issues with paster serve — Alexandre Bourget</title><link>http://blog.abourget.net/2012/2/29/fabric-pyramid-automatic-deployment-issues-paster-serve#comment-506876097</link><description>&lt;p&gt;The sleep works great until it doesn't. A better solution found by my co-worker Thadeus is to run the command without the pseudo-terminal:&lt;/p&gt;

&lt;p&gt; &lt;br&gt;run("/etc/init.d/myapp-prod restart", pty=False)&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rock Howard</dc:creator><pubDate>Mon, 23 Apr 2012 11:18:08 -0000</pubDate></item><item><title>Re: Job in Montreal, for Python and web lovers — Alexandre Bourget</title><link>http://blog.abourget.net/2011/5/12/job-in-montreal-for-python-and-web-lovers#comment-469003122</link><description>&lt;p&gt;As you all know that PHP is the open source language. So it has more demand in the market. Because of this resson, there are lot of vacancies for PHP and Python development.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jobs uk</dc:creator><pubDate>Mon, 19 Mar 2012 10:48:45 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-457352184</link><description>&lt;p&gt;nevermind, i was tired&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">raowl</dc:creator><pubDate>Mon, 05 Mar 2012 20:24:43 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-457288627</link><description>&lt;p&gt;thanks a lot for this very nice article,  sorry i am new, i got a little problem , here:&lt;/p&gt;

&lt;p&gt;40         if (obj.type == "showdata") {&lt;br&gt; 41           console.log(obj)&lt;br&gt; 42           d1.push([d1.length, obj.point]);&lt;br&gt; 43           $.plot($('#graph'), [{label: "CPU", data: d1}]);&lt;/p&gt;

&lt;p&gt;i get d1 is not defined &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">raowl</dc:creator><pubDate>Mon, 05 Mar 2012 18:47:16 -0000</pubDate></item><item><title>Re: Fabric and Pyramid: automatic deployment issues with paster serve — Alexandre Bourget</title><link>http://blog.abourget.net/2012/2/29/fabric-pyramid-automatic-deployment-issues-paster-serve#comment-453738847</link><description>&lt;p&gt;Did you try running the remote processes under supervisor? Im deploying pasters with fabric into standardized environments, then setting up supervisor becomes a simple copy and with it on top, paster runs continuously and out of the shell. &lt;br&gt;This makes it more problematic to feed startup failures back into a CI script, but will work rather reliably.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MartinPeschke</dc:creator><pubDate>Thu, 01 Mar 2012 16:12:38 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-413586374</link><description>&lt;p&gt;Great post!  I appreciate the hard work getting all this setup on Pyramid.&lt;/p&gt;

&lt;p&gt;I have the above example working and the dynamic graph being created by CPU usage information.  However I am unable to have multiple browsers viewing this at the same time.    The first browser retains connection and the second gets disconnected in a few seconds.  Any ideas?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon</dc:creator><pubDate>Tue, 17 Jan 2012 14:06:37 -0000</pubDate></item><item><title>Re: New and hot, part 5: MongoDB integration — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/23/new-and-hot-part-5-mongodb-integration#comment-369033931</link><description>&lt;p&gt;Avec pyramide, tu peux écrire simplement&lt;/p&gt;

&lt;p&gt;resp = Response(content_type="video/webm")resp.app_iter = fileinreturn respsinon si tu tiens à utiliser paste ou autre tu peux toujours patcher la classe de pymongo au lieu. Mais honnêtement je sais pas trop qu'est-ce qui est mieux à patcher.def get_len(self):    return self.length# Ça peut être fait ailleur la patch pourrait etre fait quand l'application est créé.filein.__class__.__len__ = get_len&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">лойк Фор-Лакроа</dc:creator><pubDate>Sun, 20 Nov 2011 19:26:36 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-357433467</link><description>&lt;p&gt;&amp;gt;Also, if you want subprocess support in your application (which we will need), get this version, by a guy who &amp;gt;ported the stdlib subprocess to handle gevent's event loop, and never block on I/O.&lt;/p&gt;

&lt;p&gt;It seems this package does the same, the code seems better:&lt;br&gt;&lt;a href="https://bitbucket.org/eriks5/gevent-subprocess" rel="nofollow"&gt;https://bitbucket.org/eriks5/g...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">WouterVH</dc:creator><pubDate>Mon, 07 Nov 2011 07:36:45 -0000</pubDate></item><item><title>Re: New and hot, part 3: FFmpeg video, HTML5 and drag'n'drop encoding — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/14/new-and-hot-part-3-ffmpeg-video-html5-drag-n-drop-encoding#comment-348405934</link><description>&lt;p&gt;eeee&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alexandre Bourget</dc:creator><pubDate>Fri, 28 Oct 2011 14:57:46 -0000</pubDate></item><item><title>Re: New and hot, part 3: FFmpeg video, HTML5 and drag'n'drop encoding — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/14/new-and-hot-part-3-ffmpeg-video-html5-drag-n-drop-encoding#comment-345151510</link><description>&lt;p&gt;I've had a lot of fun with your tutorial, especially the scope of the 'new hotness' you integrate here: between mongodb, webm, redis, pyramid, socketio, html5, etc-- you're bound to introduce something title-appropriate to almost everyone.  Oddly, I follow most everything you're doing here as far as the new and the hot, but I'm still relatively prone to errors on the web-development side of things-- maybe an odd angle from which to approach the tutorial.  Anyway, to the point: I think I'm doing something wrong with mako, which I haven't used before, but I'm also not 100% sure whether this should work the same way in a local test environment as on a remote server.  Any chance you could post your html templates for debugging purposes.  I'm sure it's kind of a pain.  But I'm worried I may have everything right and just not be able to get the site to work as I expected because I have some very basic misunderstanding.  From using chrome's javascript debugger it seems like jquery might not be loading before some elements of the page try to use it.  It also seems like the ffmpeg script, which I've tested with my ffmpeg build and double checked from a python standpoint, never fires for some reason.  Instead the video just plays instantly.  Not sure if being local preempts the 'upload' logic or if I've made some other error.  Thanks again for the great series.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nicolai Mork</dc:creator><pubDate>Wed, 26 Oct 2011 06:45:32 -0000</pubDate></item><item><title>Re: New and hot, part 3: FFmpeg video, HTML5 and drag'n'drop encoding — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/14/new-and-hot-part-3-ffmpeg-video-html5-drag-n-drop-encoding#comment-327604899</link><description>&lt;p&gt;Yes, thanks for pointing it out :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alexandrebourget</dc:creator><pubDate>Wed, 05 Oct 2011 20:39:11 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-327602498</link><description>&lt;p&gt;Hmm... well just download the version from the CDN, and put it in your static/ directory.. and just change the script tag src attribute.  Wouldn't that do it ?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alexandrebourget</dc:creator><pubDate>Wed, 05 Oct 2011 20:35:02 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-324935860</link><description>&lt;p&gt;Great posts indeed. I have one question, how can I serve the following file locally?&lt;/p&gt;

&lt;p&gt;&lt;a href="http://cdn.socket.io/stable/socket.io.js" rel="nofollow"&gt;http://cdn.socket.io/stable/so...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My understanding is that socketio server implementation is covered by Python so I don't need Node.js but how about the client side js files?&lt;br&gt;I've browsed the socketio repo but I'm not sure which one to grab. I just want the client side js files to be served by pyramid too.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">marconijr</dc:creator><pubDate>Sun, 02 Oct 2011 06:04:38 -0000</pubDate></item><item><title>Re: New and hot, part 3: FFmpeg video, HTML5 and drag'n'drop encoding — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/14/new-and-hot-part-3-ffmpeg-video-html5-drag-n-drop-encoding#comment-287972230</link><description>&lt;p&gt; &amp;lt;iframe src="${request.route_url('get_iframe')}"&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br&gt;should be this ?&lt;br&gt; &amp;lt;iframe src="${request.route_url('iframe')}"&amp;gt;&amp;lt;/iframe&amp;gt;&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wouter Vanden Hove</dc:creator><pubDate>Tue, 16 Aug 2011 05:16:01 -0000</pubDate></item><item><title>Re: New and hot stuff in The Pylons Project — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/09/new-and-hot-stuff-in-the-pylons-project#comment-282114151</link><description>&lt;p&gt;Very interesting, and helpful for my project which I am working on presently. When are you going to post the 'Messaging' part-6 and Part-7?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raviteja</dc:creator><pubDate>Wed, 10 Aug 2011 05:36:11 -0000</pubDate></item><item><title>Re: New and hot, part 6: Redis, Publish and Subscribe — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/31/new-and-hot-part-6-redis-publish-and-subscribe#comment-261582968</link><description>&lt;p&gt;Thanks to your blog entry  I figured out how to do pubsub with python and redis:&lt;/p&gt;

&lt;p&gt;  r=redis.Redis()&lt;br&gt;  p= r.pubsub()&lt;br&gt;  p.subscribe('foo')&lt;br&gt;  r.publish('foo','yay!')&lt;br&gt;  for m in p.listen():&lt;br&gt;      print  m&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dirk Krause</dc:creator><pubDate>Sat, 23 Jul 2011 02:42:29 -0000</pubDate></item><item><title>Re: SQLAlchemy and Timezone support — Alexandre Bourget</title><link>http://blog.abourget.net/2009/4/27/sqlalchemy-and-timezone-support#comment-226543711</link><description>&lt;p&gt;I've tried this, and it doesn't seem to work.  I set the field type as UTCDateTime.... bit these wrapper methods never seem to get called.  Is there some other step necessary to tie this in?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Adam Tauno Williams</dc:creator><pubDate>Wed, 15 Jun 2011 14:15:39 -0000</pubDate></item><item><title>Re: New and hot, part 4: Pyramid, Socket.IO and Gevent — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/17/new-and-hot-part-4-pyramid-socket-io-gevent#comment-207354321</link><description>&lt;p&gt; Great post and talk. I was look for a way to integrate Gevent with my Pyramid web app after watching a pycon talk about building high concurrency web apps. Link: &lt;a href="http://blip.tv/pycon-us-videos-2009-2010-2011/pycon-2011-using-coroutines-to-create-efficient-high-concurrency-web-applications-4900984" rel="nofollow"&gt;http://blip.tv/pycon-us-videos...&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Much simpler than twisted.&lt;br&gt;Thanks.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Nabil Tewolde</dc:creator><pubDate>Thu, 19 May 2011 18:00:25 -0000</pubDate></item><item><title>Re: GStreamer, RTP and live streaming — Alexandre Bourget</title><link>http://blog.abourget.net/2009/6/14/gstreamer-rtp-and-live-streaming#comment-184541317</link><description>&lt;p&gt;Alexandre, This post is enlightening. I have been working on a project where we needed to control many moving parts for audio-video transcoding, etc. This has helped demystify the Gstreamer hooks process. Thanks for the post, and nice work making such a high level and difficult process look so approachable. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">newfront</dc:creator><pubDate>Thu, 14 Apr 2011 14:15:39 -0000</pubDate></item><item><title>Re: New and hot stuff in The Pylons Project — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/09/new-and-hot-stuff-in-the-pylons-project#comment-177354116</link><description>&lt;p&gt;Thank you, I really appreciate that.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Soufiane Felliaui</dc:creator><pubDate>Sun, 03 Apr 2011 10:28:13 -0000</pubDate></item><item><title>Re: New and hot stuff in The Pylons Project — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/09/new-and-hot-stuff-in-the-pylons-project#comment-177348837</link><description>&lt;p&gt;It's already prepared, I just need to proof-read it and I'll publish it in the coming days.  Thanks for your interest :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">alexandrebourget</dc:creator><pubDate>Sun, 03 Apr 2011 10:09:40 -0000</pubDate></item><item><title>Re: New and hot stuff in The Pylons Project — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/09/new-and-hot-stuff-in-the-pylons-project#comment-177059697</link><description>&lt;p&gt;Hi Alex,&lt;br&gt;I'm building a web app and I decided to use Pyramid and RabbitMQ for Activity streams, it would be nice if you can explain part 6 again but with AMQP, RabbitMQ setup and the Kombu python lib.&lt;br&gt;Thank you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Soufiane Felliaui</dc:creator><pubDate>Sat, 02 Apr 2011 17:29:47 -0000</pubDate></item><item><title>Re: New and hot, part 6: Redis, Publish and Subscribe — Alexandre Bourget</title><link>http://blog.abourget.net/2011/3/31/new-and-hot-part-6-redis-publish-and-subscribe#comment-176188504</link><description>&lt;p&gt;Redis is written in C, not in Erlang. RabbitMQ is in Erlang.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">SN</dc:creator><pubDate>Fri, 01 Apr 2011 10:55:11 -0000</pubDate></item></channel></rss>
