<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>My Pragmatic life -- a blog by Michael Grosser</title>
	<atom:link href="http://grosser.it/feed/" rel="self" type="application/rss+xml" />
	<link>http://grosser.it</link>
	<description>Building web applications and fighting the daily madness</description>
	<lastBuildDate>Thu, 17 May 2012 21:28:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='grosser.it' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>My Pragmatic life -- a blog by Michael Grosser</title>
		<link>http://grosser.it</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://grosser.it/osd.xml" title="My Pragmatic life -- a blog by Michael Grosser" />
	<atom:link rel='hub' href='http://grosser.it/?pushpress=hub'/>
		<item>
		<title>ActiveRecord slow_delete_all</title>
		<link>http://grosser.it/2012/05/17/activerecord-slow_delete_all/</link>
		<comments>http://grosser.it/2012/05/17/activerecord-slow_delete_all/#comments</comments>
		<pubDate>Thu, 17 May 2012 21:27:00 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[Rails]]></category>
		<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2059</guid>
		<description><![CDATA[Deletes taking to long, just take a break (so replication can catch up/things get unblocked) Only use save sql, there is no escapeing. class ActiveRecord::Base def self.slow_delete_all(condition) count = 0 loop do result = ActiveRecord::Base.connection.send(:delete_sql, "delete from #{table_name} where #{condition} limit 10000") count += result break if result == 0 sleep 1 end count end [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2059&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Deletes taking to long, just take a break <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
(so replication can catch up/things get unblocked)</p>
<p>Only use save sql, there is no escapeing.</p>
<pre style="font-size:12px;overflow:auto;">
  class ActiveRecord::Base
    def self.slow_delete_all(condition)
      count = 0
      loop do
        result = ActiveRecord::Base.connection.send(:delete_sql, "delete from #{table_name} where #{condition} limit 10000")
        count += result
        break if result == 0
        sleep 1
      end
      count
    end
  end
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/rails/'>Rails</a>, <a href='http://grosser.it/tag/ruby/'>Ruby</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2059/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2059/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2059/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2059&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/17/activerecord-slow_delete_all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>Ruby: Kill all threads</title>
		<link>http://grosser.it/2012/05/10/ruby-kill-all-threads/</link>
		<comments>http://grosser.it/2012/05/10/ruby-kill-all-threads/#comments</comments>
		<pubDate>Thu, 10 May 2012 17:07:07 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[Ruby]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2055</guid>
		<description><![CDATA[In case you spam a lot of threads and dont know how to get rid of them&#8230; Thread.list.each do &#124;thread&#124; thread.exit unless thread == Thread.current end Tagged: Ruby<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2055&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In case you spam a lot of threads and dont know how to get rid of them&#8230;</p>
<pre style="font-size:12px;overflow:auto;">
Thread.list.each do |thread|
  thread.exit unless thread == Thread.current
end
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/ruby/'>Ruby</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2055/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2055/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2055/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2055/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2055/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2055/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2055/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2055/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2055&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/10/ruby-kill-all-threads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>assert_change and assert_no_change for Test::Unit + Minitest inspired by RSpec</title>
		<link>http://grosser.it/2012/05/10/assert_change-and-assert_no_change-for-testunit-minitest-inspired-by-rspec/</link>
		<comments>http://grosser.it/2012/05/10/assert_change-and-assert_no_change-for-testunit-minitest-inspired-by-rspec/#comments</comments>
		<pubDate>Thu, 10 May 2012 15:44:39 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Test]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2048</guid>
		<description><![CDATA[Usage @updated_at = lambda{ @model.updated_at.to_i } assert_change(@updated_at) { @model.touch } assert_no_change(@updated_at) { @model.reload } Code def assert_change(what) old = what.call yield assert_not_equal old, what.call end def assert_no_change(what) old = what.call yield assert_equal old, what.call end Tagged: Ruby, Test<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2048&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><b>Usage</b></p>
<pre style="font-size:12px;overflow:hidden;">
@updated_at = lambda{ @model.updated_at.to_i }
assert_change(@updated_at) { @model.touch }
assert_no_change(@updated_at) { @model.reload }
</pre>
<p><b>Code</b></p>
<pre style="font-size:12px;overflow:hidden;">
  def assert_change(what)
    old = what.call
    yield
    assert_not_equal old, what.call
  end

  def assert_no_change(what)
    old = what.call
    yield
    assert_equal old, what.call
  end
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/ruby/'>Ruby</a>, <a href='http://grosser.it/tag/test/'>Test</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2048/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2048/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2048/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2048/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2048/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2048/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2048/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2048/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2048&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/10/assert_change-and-assert_no_change-for-testunit-minitest-inspired-by-rspec/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>Solved: constant &#8220;Firefox&#8221; is an application which was downloaded from the internet&#8230;.</title>
		<link>http://grosser.it/2012/05/05/solved-constant-firefox-is-an-application-which-was-downloaded-from-the-internet/</link>
		<comments>http://grosser.it/2012/05/05/solved-constant-firefox-is-an-application-which-was-downloaded-from-the-internet/#comments</comments>
		<pubDate>Sat, 05 May 2012 15:13:21 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[OSX]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2043</guid>
		<description><![CDATA[Firefox always complains that its downloaded from the internet because the quarantine setting somehow got stuck&#8230; Open the Terminal (e.g. Command+Space and type Terminal) sudo xattr -d com.apple.quarantine /Applications/Firefox Tagged: Mac, OSX<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2043&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Firefox always complains that its downloaded from the internet because the quarantine setting somehow got stuck&#8230;</p>
<p>Open the Terminal (e.g. Command+Space and type Terminal)</p>
<pre style="font-size:12px;overflow:auto;">
sudo xattr -d com.apple.quarantine /Applications/Firefox
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/mac/'>Mac</a>, <a href='http://grosser.it/tag/osx/'>OSX</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2043/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2043/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2043/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2043&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/05/solved-constant-firefox-is-an-application-which-was-downloaded-from-the-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>A chosen.js select filled via Ember.js</title>
		<link>http://grosser.it/2012/05/05/a-chosen-js-select-filled-via-ember-js/</link>
		<comments>http://grosser.it/2012/05/05/a-chosen-js-select-filled-via-ember-js/#comments</comments>
		<pubDate>Sat, 05 May 2012 05:27:30 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[Ember.js]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2039</guid>
		<description><![CDATA[We have a lot of chosen in our ember app, and extracted this superclass to make interaction with them easier, it takes care of refreshing/filling/selecting stuff. // fix chosen picks up ember script tags -&#62; weird output when search for t or i // this breaks the bindings within the options tags // works around [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2039&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We have a lot of chosen in our ember app, and extracted this superclass to make interaction with them easier, it takes care of refreshing/filling/selecting stuff.</p>
<pre style="font-size:12px;overflow:auto;">
// fix chosen picks up ember script tags -&gt; weird output when search for t or i
// this breaks the bindings within the options tags
// works around https://github.com/harvesthq/chosen/issues/581
App.UnboundSelectOption = Ember.SelectOption.extend({
  template: Ember.Handlebars.compile('{{unbound label}}')
});

App.ChosenSelect = Ember.Select.extend({
  chosenOptions: {},

  template: Ember.Handlebars.compile(
    '{{#if prompt}}{{unbound prompt}}{{/if}}' +
    '{{#each content}}{{view App.UnboundSelectOption contentBinding="this"}}{{/each}}'
  ),

  didInsertElement: function(){
    this._super();
    this.$().chosen(this.chosenOptions());
  },

  _closeChosen: function(){
    // trigger escape to close chosen
    this.$().next('.chzn-container-active').find('input').trigger({type:'keyup', which:27});
  },

  rerender: function(){
    if(this.get('state') == 'inDOM'){
     // remove now disconnected html
      this.$().next('.chzn-container').remove();
    }
    this._super();
  },

  rerenderChosen: function() {
    this.$().trigger('liszt:updated');
  }
});
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/ember-js/'>Ember.js</a>, <a href='http://grosser.it/tag/javascript/'>Javascript</a>, <a href='http://grosser.it/tag/js/'>JS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2039/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2039/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2039/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2039/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2039/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2039/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2039/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2039/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2039&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/05/a-chosen-js-select-filled-via-ember-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>A placeholder text for chosen.js selects</title>
		<link>http://grosser.it/2012/05/05/a-placeholder-text-for-chosen-js-selects/</link>
		<comments>http://grosser.it/2012/05/05/a-placeholder-text-for-chosen-js-selects/#comments</comments>
		<pubDate>Sat, 05 May 2012 05:16:17 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[JS]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2035</guid>
		<description><![CDATA[As soon as you click a chosen select the search input is selected and you cannot add a placeholder anymore, or can you ? var $input = $('.chzn-search input'); $placeholder = $('Type something...'); $input.after($placeholder); $input.keyup(function(){ $placeholder.toggle($(this).val() === ''); }); .chzn-search .placeholder{ margin-top: -25px; margin-bottom: 15px; margin-left: 7px; color: $gray; }<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2035&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As soon as you click a chosen select the search input is selected and you cannot add a placeholder anymore, or can you ? <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre style="font-size:12px;overflow:auto;">
var $input = $('.chzn-search input');
$placeholder = $('<div class="placeholder">Type something...</div>');
$input.after($placeholder);
$input.keyup(function(){
  $placeholder.toggle($(this).val() === '');
});

.chzn-search .placeholder{
  margin-top: -25px;
  margin-bottom: 15px;
  margin-left: 7px;
  color: $gray;
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2035/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2035/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2035/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2035/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2035/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2035/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2035/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2035/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2035&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/05/a-placeholder-text-for-chosen-js-selects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>Displaying collections and sorting them with ember-data</title>
		<link>http://grosser.it/2012/05/05/displaying-collections-and-sorting-them-with-ember-data/</link>
		<comments>http://grosser.it/2012/05/05/displaying-collections-and-sorting-them-with-ember-data/#comments</comments>
		<pubDate>Sat, 05 May 2012 05:13:15 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[Ember.js]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2031</guid>
		<description><![CDATA[We had a lot of pain sorting our collections, since they are not there when the page is opened you need to continually re-sort&#8230; App.Controller.Events = Ember.ArrayController.extend({ init: function() { this._super(); Helper.assignSortedCollection(this, 'content', Oceans.store.findAll(Oceans.Model.Event), function(item){ return -1 * item.get('created_at').getTime(); }); } }); Helper = { assignSortedCollection: function(to, path, items, sorter){ items.addObserver('length', function(){ var temp = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2031&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We had a lot of pain sorting our collections, since they are not there when the page is opened you need to continually re-sort&#8230;</p>
<pre style="font-size:12px;overflow:auto;">
App.Controller.Events = Ember.ArrayController.extend({
    init: function() {
      this._super();
      Helper.assignSortedCollection(this, 'content', Oceans.store.findAll(Oceans.Model.Event), function(item){
        return -1 * item.get('created_at').getTime();
      });
    }
  });

Helper = {
  assignSortedCollection: function(to, path, items, sorter){
    items.addObserver('length', function(){
      var temp = Ember.A();
      this.forEach(function(item) { temp.pushObject(item); });
      to.set(path, _(temp).sortBy(sorter));
    });
  }
}

</pre>
<br /> Tagged: <a href='http://grosser.it/tag/ember-js/'>Ember.js</a>, <a href='http://grosser.it/tag/javascript/'>Javascript</a>, <a href='http://grosser.it/tag/js/'>JS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2031/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2031/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2031/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2031/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2031/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2031/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2031/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2031/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2031&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/05/displaying-collections-and-sorting-them-with-ember-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>Save &amp; validation callbacks for ember-data/ember.js</title>
		<link>http://grosser.it/2012/05/05/save-validation-callbacks-for-ember-dataember-js/</link>
		<comments>http://grosser.it/2012/05/05/save-validation-callbacks-for-ember-dataember-js/#comments</comments>
		<pubDate>Sat, 05 May 2012 05:08:58 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[Ember.js]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2027</guid>
		<description><![CDATA[You want to do something when your record got saved/validations failed. Usage user.observeSaveOnce(success: function(){ // go to next page }, error: function(){ // show validation errors }) Code # your model.js observeSaveOnce: function(options) { function callback() { var outcome = 'success'; if (this.get('isDirty')) { if (this.get('isValid')) return; // not submitted yet outcome = 'error'; } [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2027&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You want to do something when your record got saved/validations failed.</p>
<p><b>Usage</b></p>
<pre style="font-size:12px;overflow:auto;">
user.observeSaveOnce(success: function(){
  // go to next page
}, error: function(){
  // show validation errors
})
</pre>
<p><b>Code</b></p>
<pre style="font-size:12px;overflow:auto;">
  # your model.js 
  observeSaveOnce: function(options) {
    function callback() {
      var outcome = 'success';
      if (this.get('isDirty')) {
        if (this.get('isValid')) return; // not submitted yet
        outcome = 'error';
      }

      (options[outcome] || Ember.K).call(this);

      this.removeObserver('isDirty', callback);
      this.removeObserver('isValid', callback);
    }

    this.addObserver('isDirty', callback);
    this.addObserver('isValid', callback);
  }
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/ember-js/'>Ember.js</a>, <a href='http://grosser.it/tag/javascript/'>Javascript</a>, <a href='http://grosser.it/tag/js/'>JS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2027/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2027/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2027/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2027&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/05/05/save-validation-callbacks-for-ember-dataember-js/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>A fresh start with Ubuntu Precise Pangolin 12.04</title>
		<link>http://grosser.it/2012/04/28/a-fresh-start-with-ubuntu-precise-pangolin-12-04/</link>
		<comments>http://grosser.it/2012/04/28/a-fresh-start-with-ubuntu-precise-pangolin-12-04/#comments</comments>
		<pubDate>Sat, 28 Apr 2012 06:27:10 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[install]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2005</guid>
		<description><![CDATA[A fresh install for my laptop, with some Desktop tools and all the rails/ruby stuff I need. Choose a short name for your computer, it will later show in the prompt. Only enter your firstname/alias, it will always show in the toolbar. Keyboard layout: English (International AltGr dead keys) Copy over stuff from old system, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2005&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A fresh install for my laptop, with some Desktop tools and all the rails/ruby stuff I need.</p>
<ol>
<li>Choose a short name for your computer, it will later show in the prompt.<br />
Only enter your firstname/alias, it will always show in the toolbar.<br />
Keyboard layout: English (International AltGr dead keys)
</li>
<li>
Copy over stuff from old system, decrypt using ecryptfs-recover-private if necessary.<br />
(Get places.sqlite from firefox folder to recover your history.)
</li>
<li>Install <a href="http://beginrescueend.com">RVM</a> + rvm install 1.9.3
<pre style="font-size:12px;overflow:auto;">
sudo apt-get install build-essential curl libcurl4-openssl-dev zlib1g-dev libssl-dev libreadline6-dev libncursesw5-dev libxml2 libxml2-dev libxslt1-dev libsqlite3-dev -y
install rvm following instructions in the link...
</li>
<li><b>Git</b> sudo apt-get install git</li>
<li><a href="https://www.dropbox.com/install">Dropbox</a> install + start syncing</li>
<li>
<b><a href="https://github.com/grosser/dotfiles">dotfiles</a></b>
<pre style="font-size:12px;">
cd ~ &amp;&amp; git clone git://github.com/grosser/dotfiles.git
ruby dotfiles/install.rb
</pre>
</li>
<li><b><a href="http://www.jetbrains.com/ruby/index.html">Rubymine</a></b> to /opt/rubymine
<p><strong>Command key</strong><br />
If you like OSx like shortcuts e.g. Cmd+T, choose "meta is mapped to left win" in advanced keyboard layout options and you can use your windows key for them.</p>
<p><b>Executable</b><br />
/opt/rubymine/bin/rubymine.sh and setup mine as executable then</p>
<pre style="font-size:12px;overflow:auto;">
alias m="mine . &gt; /dev/null 2&gt;&amp;1 &amp;"
</pre>
<p><strong>Oracle/Sun-java</strong><br />
It is no longer in ubuntu repos.</p>
<pre style="font-size:12px;overflow:auto;">
sudo apt-get purge openjdk*
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer
</pre>
</li>
<li>
<b>Unity menu key</b><br />
Map unity menu from super to Super+z, so you can use it with shortcuts (see below) and with rubymine commands<br />
sudo apt-get install compizconfig-settings-manager -y<br />
open compiz application and rebind unity laucher @ "ubuntu unity plugin", dont mess with anything else, I managed to make ubuntu no longer boot into a GUI with just a few clicks
</li>
<li><b>Shortcuts</b><br />
Super+D = desktop<br />
Super+E = open home<br />
Super+Up = maximize<br />
Super+Down = minimize<br />
Super+Q = quit application (Alt+F4)</p>
<li><b>Chrome</b> sudo apt-get install chromium-browser -y</li>
<li><b>Ruco</b> commandline editor gem install ruco (atm not working on ruby 1.9.3 / ubuntu 12)</li>
<li>copy important dotfiles + firefox history/forms/... database from .mozilla</li>
<li><a href="http://github.com/grosser/dotfiles">dotfiles</a></li>
<li><b>Multi-clipboard</b> sudo apt-get install clipit -y<br />
(set history shortcut: Ctrl+Alt+V)</li>
<li><a href="http://www.skype.com/intl/en/download/skype/linux/choose/">Skype</a> + add skype to startup<br />
(video fix in <a href="https://github.com/grosser/dotfiles">dotfiles</a> --&gt; add add /home/xxxx/dotfiles/bin/video-skype to "Startup Spplications" )</p>
</li>
<li>Mysql:<br />
sudo apt-get install mysql-server mysql-client libmysql-ruby libmysqlclient-dev -y<br />
I`d recommend no root password
</li>
<li><b>Redis</b> sudo apt-get install redis-server -y</li>
<li><b>Memcached</b> sudo apt-get install memcached </li>
<li><b>ImageMagic</b> sudo apt-get install imagemagick -y</li>
<li>Arial/Verdana etc fonts:   sudo apt-get install msttcorefonts -y</li>
<li><a href="http://www.virtualbox.org/wiki/Linux_Downloads">VirtualBox</a></li>
<li><a href="http://grosser.it/2010/05/22/one-liner-to-install-nginx-with-passenger-and-ssl/">Nginx + Passenger</a></li>
<li><b>Restrcited codes</b> sudo apt-get install ubuntu-restricted-extras -y</li>
<li>
<b>Terminal</b><br />
Set Ctrl+Shift+L for clear+reset in terminal, so the history gets removed on keypress<br />
Set Ctrl+t for new tab
</li>
<li>
<b>Postgres</b><br />
sudo apt-get install postgresql libpq-dev<br />
gem install pg<br />
sudo su postgres<br />
createuser </p>
<p>use no username / no password in database.yml</p>
</li>
<li>
<b>Reverse scrolling</b><br />
If you often work on macs this can reduce your confusion.<br />
sudo add-apt-repository ppa:zedtux/naturalscrolling<br />
sudo apt-get update<br />
sudo apt-get install naturalscrolling -y
</li>
</ol>
<br /> Tagged: <a href='http://grosser.it/tag/ubuntu/'>Ubuntu</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2005/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2005/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2005/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2005&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/04/28/a-fresh-start-with-ubuntu-precise-pangolin-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
		<item>
		<title>Logic inside of Handlebars templates for Ember.js is possible, just not pretty</title>
		<link>http://grosser.it/2012/04/20/logic-inside-of-handlebars-templates-for-ember-js-is-possible-just-not-pretty/</link>
		<comments>http://grosser.it/2012/04/20/logic-inside-of-handlebars-templates-for-ember-js-is-possible-just-not-pretty/#comments</comments>
		<pubDate>Fri, 20 Apr 2012 14:45:42 +0000</pubDate>
		<dc:creator>pragmatig</dc:creator>
				<category><![CDATA[JS]]></category>
		<category><![CDATA[Handlebars]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://grosser.it/?p=2001</guid>
		<description><![CDATA[We had a few occasions where we needed something like count &#62; 0 or other simple logic, that should live inside the template, but its impossible&#8230; until now Code {{#ifEval "this.getPath('content.click_count') &#62;= 0"}} The content has been clicked {{content.click_count}} times! {{/ifEval}} Usage Handlebars.registerHelper('ifEval', function(code, options) { if(eval(code)){ return options.fn(this); } }); Tagged: Handlebars, Javascript, JS<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2001&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We had a few occasions where we needed something like count &gt; 0 or other simple logic, that should live inside the template, but its impossible&#8230; until now <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><b>Code</b></p>
<pre style="font-size:12px;overflow:auto;">
{{#ifEval "this.getPath('content.click_count') &gt;= 0"}}
   The content has been clicked {{content.click_count}} times!
{{/ifEval}}
</pre>
<p><b>Usage</b></p>
<pre style="font-size:12px;overflow:auto;">
Handlebars.registerHelper('ifEval', function(code, options) {
  if(eval(code)){
    return options.fn(this);
  }
});
</pre>
<br /> Tagged: <a href='http://grosser.it/tag/handlebars/'>Handlebars</a>, <a href='http://grosser.it/tag/javascript/'>Javascript</a>, <a href='http://grosser.it/tag/js/'>JS</a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/pragmatig.wordpress.com/2001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/pragmatig.wordpress.com/2001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/pragmatig.wordpress.com/2001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/pragmatig.wordpress.com/2001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/pragmatig.wordpress.com/2001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/pragmatig.wordpress.com/2001/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/pragmatig.wordpress.com/2001/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/pragmatig.wordpress.com/2001/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=grosser.it&#038;blog=2921704&#038;post=2001&#038;subd=pragmatig&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://grosser.it/2012/04/20/logic-inside-of-handlebars-templates-for-ember-js-is-possible-just-not-pretty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4fc8066b5aeba133f665ec8f30f92a9c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">pragmatig</media:title>
		</media:content>
	</item>
	</channel>
</rss>
