<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title> Benjamin Golub's Blog - Latest Comments</title><link>http://benjamingolub.disqus.com/</link><description></description><atom:link href="https://benjamingolub.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sun, 16 Jan 2011 03:21:33 -0000</lastBuildDate><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-129651526</link><description>&lt;p&gt;this one, love it &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ebot Tabi</dc:creator><pubDate>Sun, 16 Jan 2011 03:21:33 -0000</pubDate></item><item><title>Re: Ubuntu 10.04, EC2 micro instances, and ephemeral storage - Benjamin Golub</title><link>http://www.benjamingolub.com/ubuntu-10-04-ec2-micro-instances-and-ephemeral-storage#comment-79782141</link><description>&lt;p&gt;I get email notifications in realtime :P. I haven't tried to use Tornado on&lt;br&gt;EC2 yet but at the most basic level it's as easy as opening up port 80 and&lt;br&gt;starting your process on that port.&lt;/p&gt;&lt;p&gt;In production what you really want is to put Tornado behind something like&lt;br&gt;nginx. Micro instances only have 1 core but other EC2 instances have&lt;br&gt;multiple cores that you can then capitalize on.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Tue, 21 Sep 2010 14:50:12 -0000</pubDate></item><item><title>Re: Ubuntu 10.04, EC2 micro instances, and ephemeral storage - Benjamin Golub</title><link>http://www.benjamingolub.com/ubuntu-10-04-ec2-micro-instances-and-ephemeral-storage#comment-79779943</link><description>&lt;p&gt;Do you monitor your blog commenters in realtime?  ;)  Question for you, I'm interested in spinning up Tornado for a project.  Do you have recommendations on setup for EC2?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tim</dc:creator><pubDate>Tue, 21 Sep 2010 14:44:13 -0000</pubDate></item><item><title>Re: App Engine Query Cursors - Benjamin Golub</title><link>http://www.benjamingolub.com/app-engine-query-cursors#comment-70996138</link><description>&lt;p&gt;Yep    used it on one of  my projects &lt;br&gt;&lt;br&gt;&lt;a href="http://movieapi.appspot.com/movie/tag/thrillers" rel="nofollow noopener" target="_blank" title="http://movieapi.appspot.com/movie/tag/thrillers"&gt;http://movieapi.appspot.com/movie/tag/thrillers&lt;/a&gt;&lt;br&gt;&lt;br&gt;It lets you page over a very large query very fast&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">m1ck</dc:creator><pubDate>Tue, 24 Aug 2010 13:48:17 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56576285</link><description>&lt;p&gt;You can use the Graph API anywhere you can make HTTPS requests; so yes you can use this on App Engine.  Here is an example: &lt;a href="http://github.com/facebook/python-sdk/tree/master/examples/appengine/" rel="nofollow noopener" target="_blank" title="http://github.com/facebook/python-sdk/tree/master/examples/appengine/"&gt;http://github.com/facebook/...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Sun, 13 Jun 2010 20:09:22 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56543572</link><description>&lt;p&gt;Thanks Benjamin for this example.&lt;/p&gt;&lt;p&gt;Is this code working also on google app engine?&lt;/p&gt;&lt;p&gt;Thank you,&lt;br&gt;Fabrizio&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Fabrizio Giordano</dc:creator><pubDate>Sun, 13 Jun 2010 16:54:07 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56427783</link><description>&lt;p&gt;Anyway; the real point of me sharing the code was to show that the Graph API is easy to use :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Sat, 12 Jun 2010 20:00:42 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56427551</link><description>&lt;p&gt;Now that you've edited it sure it would work (for all but one album). But the original version would have returned nothing.&lt;/p&gt;&lt;p&gt;Anyway I think the real solution is allowing an input that takes a regular expression and applies that as a filter. But I don't particularly like regular expressions so I took the easy route :)&lt;/p&gt;&lt;p&gt;If I were to take your route I'd actually use filter() and a lambda function to move the dirty logic out of the way.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Sat, 12 Jun 2010 19:56:30 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56424380</link><description>&lt;p&gt;This is for readability. The one-liner provided above, when using a .split()[0] would get all of the above except for the top entry. 3 lines of code would give the ability to group the keywords together, as well as be able to take keywords as input.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Samuel Clay</dc:creator><pubDate>Sat, 12 Jun 2010 19:08:50 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56423479</link><description>&lt;p&gt;I could do something more complicated like split(), lower() each piece, and check if each piece is in the set ('poland', 'vienna'). But that's likely going to be more complicated and more loc.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Sat, 12 Jun 2010 18:54:57 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56423283</link><description>&lt;p&gt;That definitely wouldn't work:&lt;/p&gt;&lt;p&gt;In [1]: "Poland 5/15/2010".lower() in ['poland', 'vienna']&lt;br&gt;Out[1]: False&lt;/p&gt;&lt;p&gt;Unfortunately this is a shortcoming of Python.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Sat, 12 Jun 2010 18:51:57 -0000</pubDate></item><item><title>Re: Recent travel photo albums (post created with help from the Graph API) - Benjamin Golub</title><link>http://www.benjamingolub.com/e/recent-travel-photo-albums-post-created-with-help-from-the-graph-api#comment-56422414</link><description>&lt;p&gt;You can make the album picker line (Poland or Vienna) easier to read by writing:&lt;br&gt;&lt;br&gt;    albums = [a for a in albums if a['name'].lower().split()[0] in ['poland', 'vienna']]&lt;br&gt;&lt;br&gt;That way you get all the names without repeating yourself.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Samuel Clay</dc:creator><pubDate>Sat, 12 Jun 2010 18:38:36 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-39835467</link><description>&lt;p&gt;Using disqus makes my commenting system much better but there are still blogs that delete and do not accept blogs even if they're powered by Disqus&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shannel Peterson</dc:creator><pubDate>Mon, 15 Mar 2010 16:25:30 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-39577208</link><description>&lt;p&gt;Спасибо за статью, очень понравилась.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">dizel</dc:creator><pubDate>Sun, 14 Mar 2010 01:29:54 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-38944033</link><description>&lt;p&gt;great ^ ^!! &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Black Friday Shopping Mall</dc:creator><pubDate>Wed, 10 Mar 2010 22:37:53 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-38938803</link><description>&lt;p&gt;hmmm this really is helpful, you know...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RV Ratings</dc:creator><pubDate>Wed, 10 Mar 2010 21:37:43 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-38703972</link><description>&lt;p&gt;Disqus now brings us the ability to comment using your Twitter account. You don’t have to give up your actual Twitter credentials since Disqus takes advantage of Twitter’s support&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alison Demain</dc:creator><pubDate>Tue, 09 Mar 2010 12:52:30 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-38565885</link><description>&lt;p&gt;Disqus will allow you to easily integrate social media connections, video comments, and much more – taking your comment system into overdrive increasing sharing capabilities, comment volume, and quality of the comments you receive.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Roonie Colls</dc:creator><pubDate>Mon, 08 Mar 2010 11:55:39 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-37765886</link><description>&lt;p&gt;i just do hope this will keep me moving...&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RV Reviews</dc:creator><pubDate>Wed, 03 Mar 2010 00:13:35 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-37623702</link><description>&lt;p&gt;Discus Forum will compliment its commenting system. This is a popular platform for users to air their views and thoughts online and interact with the other forum users.&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bailey Ryan</dc:creator><pubDate>Tue, 02 Mar 2010 12:28:14 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-34287752</link><description>&lt;p&gt;Disqus is a great commenting plug-ins and I think that Disqus is a combine with FaceBook is awesome&lt;br&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shane Harris</dc:creator><pubDate>Mon, 15 Feb 2010 13:35:21 -0000</pubDate></item><item><title>Re: Apple should allow Push Notifications to iPhone home screen bookmarks - Benjamin Golub</title><link>http://www.benjamingolub.com/e/apple-should-allow-push-notifications-to-iphone-home-screen-bookmarks#comment-34009654</link><description>&lt;p&gt;thats exactly why they SHOULD add it. If you are in the business of innovation - then you must innovate at all cost otherwise someone else will&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">markslater</dc:creator><pubDate>Fri, 12 Feb 2010 10:56:50 -0000</pubDate></item><item><title>Re: How To: Dynamic Slide Down Disqus Comments</title><link>http://benjamingolub.com/2008/03/03/how-to-dynamic-slide-down-disqus-comments/#comment-32357274</link><description>&lt;p&gt;Thanks for sharing the code..  I never knew about this before :)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vps Hosting</dc:creator><pubDate>Tue, 02 Feb 2010 02:27:24 -0000</pubDate></item><item><title>Re: In which US Airways ruins a night of an otherwise awesome vacation - Benjamin Golub</title><link>http://www.benjamingolub.com/e/in-which-us-airways-ruins-a-night-of-an-otherwise-awesome-vacation#comment-32210597</link><description>&lt;p&gt;I wasn't Premier until Jan 1st this year. All last year I flew as a normal&lt;br&gt;customer. I wouldn't say they are a cut above the rest (JetBlue is my&lt;br&gt;favorite) but they fly where I need to go and haven't messed up yet.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Benjamin Golub</dc:creator><pubDate>Sun, 31 Jan 2010 09:40:02 -0000</pubDate></item><item><title>Re: In which US Airways ruins a night of an otherwise awesome vacation - Benjamin Golub</title><link>http://www.benjamingolub.com/e/in-which-us-airways-ruins-a-night-of-an-otherwise-awesome-vacation#comment-32210311</link><description>&lt;p&gt;They probably wouldn't treat a Premier member badly, but they definitely step all over their occasional customers, like me. &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Raoul Pop</dc:creator><pubDate>Sun, 31 Jan 2010 09:33:11 -0000</pubDate></item></channel></rss>