<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Dare to Dream? - A blog by makuchaku - 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-9a2286a0" type="application/json"/><link>http://makuchaku.disqus.com/</link><description>None</description><atom:link href="http://makuchaku.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Sat, 14 Jan 2012 23:10:07 -0000</lastBuildDate><item><title>Re: Our SVN, Bz and Dev-Blogs are up!</title><link>http://www.makuchaku.in/blog/our-svn-bz-and-dev-blogs-are-up#comment-411454915</link><description>First time i am visiting here and really great information here, superb blog..</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Web Hosting Provider</dc:creator><pubDate>Sat, 14 Jan 2012 23:10:07 -0000</pubDate></item><item><title>Re: Diff&amp;#8217;ing my way to the scrapbook!</title><link>http://www.makuchaku.in/blog/diffing-my-way-to-the-scrapbook#comment-377478666</link><description>asaaaasssas</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Midwest Scrapbook</dc:creator><pubDate>Fri, 02 Dec 2011 08:12:55 -0000</pubDate></item><item><title>Re: Programmer Happiness &amp;#8211; onroad to Rails3</title><link>http://www.makuchaku.in/blog/programmer-happiness-onroad-to-rails3#comment-352546458</link><description>&lt;br&gt;  Can anyone define the&lt;br&gt;  word Happiness? What is Happiness we do not know because every single person&lt;br&gt;  has its own meaning of happiness. Finding the ways to be happy in life is&lt;br&gt;  only a way that can make everyone happy in this world.&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Happiness</dc:creator><pubDate>Tue, 01 Nov 2011 01:30:25 -0000</pubDate></item><item><title>Re: Trip notes &amp;#8211; Gangtok, Sikkim</title><link>http://www.makuchaku.in/blog/trip-notes-gangtok-sikkim#comment-274909075</link><description>yup, amazing symmetry</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Manav K</dc:creator><pubDate>Tue, 02 Aug 2011 15:11:06 -0000</pubDate></item><item><title>Re: Trip notes &amp;#8211; Gangtok, Sikkim</title><link>http://www.makuchaku.in/blog/trip-notes-gangtok-sikkim#comment-274690315</link><description>Thanks!&lt;br&gt;Corrected the mistake... :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Tue, 02 Aug 2011 12:10:10 -0000</pubDate></item><item><title>Re: Trip notes &amp;#8211; Gangtok, Sikkim</title><link>http://www.makuchaku.in/blog/trip-notes-gangtok-sikkim#comment-274540681</link><description>Awesome trip advices :) just one correction is needed. Nathula pass's height is 15000 ft, not 1500. :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dhiraj Pandey</dc:creator><pubDate>Tue, 02 Aug 2011 09:56:38 -0000</pubDate></item><item><title>Re: Simple MapReduce with Javascript</title><link>http://www.makuchaku.in/blog/simple-mapreduce-with-javascript#comment-200067420</link><description>Why not run the reducer on browsers as well? &lt;br&gt;&amp;amp; keep reducing in an inverted tree fashion till you can't reduce any further :D</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Mon, 09 May 2011 06:31:55 -0000</pubDate></item><item><title>Re: Simple MapReduce with Javascript</title><link>http://www.makuchaku.in/blog/simple-mapreduce-with-javascript#comment-200006165</link><description>Perfect example...!! just run the reducer on a server and  mapper on as many nodes as possible...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sachin Saluja</dc:creator><pubDate>Mon, 09 May 2011 01:39:51 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192710851</link><description>thats how ive always handled it as well</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bryant Hughes</dc:creator><pubDate>Wed, 27 Apr 2011 11:03:53 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192658272</link><description>Wow. Your last sentence is the worst comparison I've ever heard. You clearly have no idea what the hell you are talking about.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">methodin</dc:creator><pubDate>Wed, 27 Apr 2011 09:26:13 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192649373</link><description>This just proves why jQuery is not as great as people make it out to be. PrototypeJS and many other frameworks have had context binding functionality (not to mention variations, like binding as an Event Handler, where the first argument is guaranteed to be the event object, and of course currying) for literally years, and they are much more obvious to use.&lt;br&gt;&lt;br&gt;This is just another reason why I think of jQuery as the MS Frontpage of Javascript Libraries.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Stephen</dc:creator><pubDate>Wed, 27 Apr 2011 09:08:41 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192586900</link><description>Looks good. Javascript: The Good Parts is on my list as well.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank Denbow</dc:creator><pubDate>Wed, 27 Apr 2011 06:36:54 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192582040</link><description>Try out &lt;a href="http://www.facebook.com/AdoMadoEngineering/posts/114046528678534" rel="nofollow"&gt;http://www.facebook.com/AdoMad...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Wed, 27 Apr 2011 06:26:32 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192580258</link><description>Other parts of the app use Backbone.&lt;br&gt;FBNotificationWatcher is a simple implementation based on JS.Class (&lt;a href="http://jsclass.jcoglan.com/classes.html)" rel="nofollow"&gt;http://jsclass.jcoglan.com/cla...&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Wed, 27 Apr 2011 06:22:57 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192574488</link><description>what about setTimeout(this.getNotification.bind(this), 42); ?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jerome Etienne</dc:creator><pubDate>Wed, 27 Apr 2011 06:09:26 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192574480</link><description>Yep! Reminds me to explore some of the aspects of Jquery that I rarely use. Also to check out Backbone to organize my js a bit better.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank Denbow</dc:creator><pubDate>Wed, 27 Apr 2011 06:09:25 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192572773</link><description>Two improvements to your current technique:&lt;br&gt;&lt;br&gt;* jQuery.proxy(this, 'getNotifications') does the same thing as jQuery.proxy(this.getNotifications, this) and is (I find) more readable. Though it's more liable to typos&lt;br&gt;&lt;br&gt;* Since you're using backbone, you've integrated underscore. Underscore provides both _.bind, which does the same thing as the first form of jQuery.proxy (the one you use) but adds the possibility to curry the function (provide additional arguments immediately) and _.bindAll. _.bindAll is not called when setting a callback on an event, it's called after creating an object (or instance), and it calls _.bind on each method and then re-sets them in place. So in your example you'd just add ``_.bindAll`` in the first line of the constructor, and then use ``setTimeout(this.getNotifications)``, and you'll get the right context everywhere.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">masklinn</dc:creator><pubDate>Wed, 27 Apr 2011 06:06:00 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192571900</link><description>Thanks!&lt;br&gt;Will try it out the next time...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Wed, 27 Apr 2011 06:03:37 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192571750</link><description>I'm glad that this post was of any help :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Wed, 27 Apr 2011 06:03:14 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192556164</link><description>Is there any added benefits upon using a closure?&lt;br&gt;For instance, &lt;br&gt;var that = this;&lt;br&gt;setTimeout(function() { that.getNotifications() }, this.timeout);&lt;br&gt;would do the job.&lt;br&gt;&lt;br&gt;It's two lines instead of one, though :-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jonathan Pasquier</dc:creator><pubDate>Wed, 27 Apr 2011 05:37:31 -0000</pubDate></item><item><title>Re: Why jQuery.proxy rocks my world!</title><link>http://www.makuchaku.in/blog/why-jquery-proxy-rocks-my-world#comment-192548417</link><description>Cool! I didnt know you could force the context in this way. I too am getting heaving into Javascript (beyond the minor enhancements to sites, but using it as the primary driver of interaction). It is the way to go!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Frank Denbow</dc:creator><pubDate>Wed, 27 Apr 2011 05:29:48 -0000</pubDate></item><item><title>Re: Looking forward to an awesome 2011</title><link>http://www.makuchaku.in/blog/looking-forward-to-an-awesome-2011#comment-184948310</link><description>Thanks!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Fri, 15 Apr 2011 06:20:31 -0000</pubDate></item><item><title>Re: Looking forward to an awesome 2011</title><link>http://www.makuchaku.in/blog/looking-forward-to-an-awesome-2011#comment-184936866</link><description>awesome mayank... keep rocking !!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anurag</dc:creator><pubDate>Fri, 15 Apr 2011 05:21:00 -0000</pubDate></item><item><title>Re: How to commission developer machines in an agile way?</title><link>http://www.makuchaku.in/blog/how-to-commission-developer-machines-in-an-agile-way#comment-169396447</link><description>Thanks for writing such a wonderful library!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">makuchaku</dc:creator><pubDate>Tue, 22 Mar 2011 01:13:38 -0000</pubDate></item><item><title>Re: How to commission developer machines in an agile way?</title><link>http://www.makuchaku.in/blog/how-to-commission-developer-machines-in-an-agile-way#comment-169368668</link><description>Hey Maku, thanks for the writeup! Let us know if you have any questions about blueprint.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Tanase</dc:creator><pubDate>Mon, 21 Mar 2011 23:29:48 -0000</pubDate></item></channel></rss>
