<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Keep is Simple, Stupid</title><generator>Tumblr (3.0; @hidat)</generator><link>http://hidat.tumblr.com/</link><item><title>Ember RC1 Upgrade</title><description>&lt;p&gt;Just upgraded to Ember 1.0 RC1 and ran into a problem.  Ember-Rails upgraded Handlebars to 1.0 rc3, and I was getting a JavaScript error saying my cached objects needed to be upgraded or I needed to downgrade my version of Handlebars.  I fixed this by finding the tmp/cache directory in my project and deleting the assets directory.  I restarted the server (not sure if this is needed), and everything started working again.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/43922924131</link><guid>http://hidat.tumblr.com/post/43922924131</guid><pubDate>Sun, 24 Feb 2013 13:13:28 -0800</pubDate></item><item><title>Best 12 bucks I ever spent</title><description>&lt;p&gt;PeepCode has a new Ember.js tutorial out..  If you are trying to figure out Ember, BUY IT!  The amount of time you will save will pay for it in no time. &lt;/p&gt;
&lt;p&gt;&lt;a href="https://peepcode.com/products/emberjs"&gt;https://peepcode.com/products/emberjs&lt;/a&gt;&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/43062740944</link><guid>http://hidat.tumblr.com/post/43062740944</guid><pubDate>Wed, 13 Feb 2013 22:16:53 -0800</pubDate></item><item><title>New Ember Router coming</title><description>&lt;p&gt;I saw a demo of the new Ember Router on Thursday night, and it looks to be a huge improvement over the existing state machine + router system that is currently used, much closer to the magic the Rails uses.  No release date yet (when I asked, Katz said that some of the stuff he was showing only existed on his laptop yet&amp;#8230;), but really looking forward to it.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/37566254661</link><guid>http://hidat.tumblr.com/post/37566254661</guid><pubDate>Sun, 09 Dec 2012 09:44:41 -0800</pubDate><category>Ember.js</category></item><item><title>It is Easier to Criticize than Create</title><description>&lt;p&gt;So if your having a hard time pulling requirements out someone, make up a bunch of shit so they can rip it apart.  In the end, you may actually get what you were asking them for.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/37270878232</link><guid>http://hidat.tumblr.com/post/37270878232</guid><pubDate>Wed, 05 Dec 2012 10:28:53 -0800</pubDate></item><item><title>Excellent SO on how to structure Ember actions</title><description>&lt;p&gt;Check out this post:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/13023006/emberjs-router-app-views-vs-controllers"&gt;http://stackoverflow.com/questions/13023006/emberjs-router-app-views-vs-controllers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and accompanying JSFiddle from the accepted answer:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://jsfiddle.net/pangratz666/97Uyh/"&gt;http://jsfiddle.net/pangratz666/97Uyh/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Not especially the way the router handles the actions coming from the views, and then delegates them out to the controller, which then delegates back to the router to change state.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/37246377072</link><guid>http://hidat.tumblr.com/post/37246377072</guid><pubDate>Tue, 04 Dec 2012 22:04:00 -0800</pubDate><category>ember.js</category></item><item><title>Where did the {{action}} go</title><description>&lt;p&gt;The problem - click on the button in my form, and the action in my view doesn&amp;#8217;t get called.  Beat head against wall for an hour.&lt;/p&gt;
&lt;p&gt;The default target for an action is now the router, not the view, so if you want to put a specified handler in you view or controller, you now need to add a &amp;#8216;target=&amp;#8221;view&amp;#8221;&amp;#8217; or &amp;#8216;target=&amp;#8221;controller&amp;#8221;&amp;#8217; as part of your action.  Check out http://stackoverflow.com/questions/11050956/ember-js-router-action-to-controller for full details.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/36849436851</link><guid>http://hidat.tumblr.com/post/36849436851</guid><pubDate>Thu, 29 Nov 2012 17:51:00 -0800</pubDate><category>ember.js</category></item><item><title>Beware the type of Controller</title><description>&lt;p&gt;Be sure to use the proper type of controller, or else none of your data will show up.  If in connectOutlet you are passing an object, use Ember.ObjectController, if you are passing a list, use Ember.&lt;span&gt;ArrayController.  If your data doesn&amp;#8217;t appear to be displaying where it should be, check this.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One hour gone&amp;#8230;.&lt;/span&gt;&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/36719405661</link><guid>http://hidat.tumblr.com/post/36719405661</guid><pubDate>Tue, 27 Nov 2012 20:40:00 -0800</pubDate><category>ember.js</category></item><item><title>Watch out for the underscores</title><description>&lt;p&gt;In ember, name your &amp;#8216;outlets&amp;#8217; in camel case, don&amp;#8217;t use underscores, the magic doesn&amp;#8217;t work with underscores.&lt;/p&gt;
&lt;p&gt;itemTitle, not item_title&lt;/p&gt;
&lt;p&gt;This is Javascript, not Ruby&amp;#8230;.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/36719175967</link><guid>http://hidat.tumblr.com/post/36719175967</guid><pubDate>Tue, 27 Nov 2012 20:36:00 -0800</pubDate><category>ember.js</category></item><item><title>Reviving the Tumblr</title><description>&lt;p&gt;I&amp;#8217;ve started a new project converting an existing server based web project over to a snazzy client single page based application.  After playing around with Backbone.js I&amp;#8217;ve decided to move over to ember.js, as this is quite a large application, and Backbone isn&amp;#8217;t going to cut it (at least without adding a bunch of add-ins).  So prepare for a bunch of ember.js learnings posts - yes, those &amp;#8216;duh, I&amp;#8217;ve been staring at this code for an hour and just found my stupid mistake or figured out the quirk that I hope I don&amp;#8217;t ever forget again&amp;#8217; type posts.  &lt;/p&gt;
&lt;p&gt;You are warned.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/36719087496</link><guid>http://hidat.tumblr.com/post/36719087496</guid><pubDate>Tue, 27 Nov 2012 20:35:29 -0800</pubDate></item><item><title>MySql Windows Server Logging Problems</title><description>&lt;p&gt;OK, that was just three hours of my life sucked into oblivion.  I&amp;#8217;m I doing something really stupid, or is MySQL Administrator really that broken?&lt;/p&gt;&lt;p&gt;So what I was trying to do is get long query logging in MySql to work.  Don&amp;#8217;t use the MySQL Administrator to do this!   Just edit your C:\Program Files\MySQL\MySQL Server 5.0\my.ini file, and add the following to the end of the file (in the [mysqld] section)&lt;/p&gt;&lt;ul&gt;&lt;li&gt;log-slow-queries=[log filename or blank for default]&lt;/li&gt;&lt;li&gt;log-queries-not-using-indexes&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Thats all there is to it.  Do not try and put it in the [mysql] section.  Do not try to use the GUI, which will put it there, but won&amp;#8217;t read it unless you change the section name to [MySQL].  Do not think, just do as I eventually did&amp;#8230;&lt;/p&gt;&lt;p&gt;And then life is good&amp;#8230; &lt;/p&gt;</description><link>http://hidat.tumblr.com/post/21986536</link><guid>http://hidat.tumblr.com/post/21986536</guid><pubDate>Wed, 19 Dec 2007 12:28:56 -0800</pubDate></item><item><title>"Don’t focus on getting rich.  Money is a consequence of success, not a goal."</title><description>“Don’t focus on getting rich.  Money is a consequence of success, not a goal.”</description><link>http://hidat.tumblr.com/post/20919664</link><guid>http://hidat.tumblr.com/post/20919664</guid><pubDate>Wed, 05 Dec 2007 13:54:06 -0800</pubDate></item><item><title>NHibernate SlicedFindAll</title><description>&lt;p&gt;doesn&amp;#8217;t appear to like to try and get you zero rows - throws an exception.  Guess that kind of makes sense, but lesson learned is trap for this condition before hand or catch the exception&amp;#8230;&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/19535412</link><guid>http://hidat.tumblr.com/post/19535412</guid><pubDate>Thu, 15 Nov 2007 17:36:53 -0800</pubDate></item><item><title>Decent Hibernate (and thus NHibernate/ActiveRecord) Query Tutorial</title><description>&lt;a href="http://www.roseindia.net/hibernate/index.shtml"&gt;Decent Hibernate (and thus NHibernate/ActiveRecord) Query Tutorial&lt;/a&gt;</description><link>http://hidat.tumblr.com/post/18935413</link><guid>http://hidat.tumblr.com/post/18935413</guid><pubDate>Fri, 09 Nov 2007 14:00:12 -0800</pubDate></item><item><title>NHibernate DetachedCriteria</title><description>&lt;p&gt;are funky&amp;#8230;. &lt;/p&gt;&lt;p&gt;No idea if this is normal behavior, but I am using a &amp;#8216;DetachedCriteria&amp;#8217; in a search object.  I want to generate a page of search results, so I need both the total rows returned as well as the slice of the data for this page.  So, generate a DetachedCriteria for the where clause, use a ScalarProjectionQuery to get the total count, and then a SlicedFindAll to get the page.  I DON&amp;#8221;T THINK SO!  Using the DetachedCriteria in one query seems to mess it up for the next query, so I end up making to copies of the where clause, one per query, and it works fine.  WTF!  Bug or feature?  I don&amp;#8217;t know, just beware if you are doing the same and getting funky errors. &lt;/p&gt;</description><link>http://hidat.tumblr.com/post/18908006</link><guid>http://hidat.tumblr.com/post/18908006</guid><pubDate>Fri, 09 Nov 2007 07:37:05 -0800</pubDate></item><item><title>I Hate Castle ActiveRecord!</title><description>&lt;p&gt;Or do I blame NHibernate?  Big and complicated, huge learning curve.  Once I get over it, I may love it, but until then, it&amp;#8217;s more swimming in mud&amp;#8230;.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/18902697</link><guid>http://hidat.tumblr.com/post/18902697</guid><pubDate>Fri, 09 Nov 2007 06:42:30 -0800</pubDate></item><item><title>Castle ActiveRecord and Generics</title><description>&lt;p&gt;So don&amp;#8217;t believe what you read in the documentation.  With the latest version of ActiveRecord, you don&amp;#8217;t need to us NHibernate.Generics - NHibernate 1.2 has build in support (see the Iesi.Collections.Generics classes).  So that one only cost me a half day.  I am having a real love hate relationship with Castle ActiveRecord, maybe I should be switching back to Rails&amp;#8230;&lt;br/&gt;&lt;/p&gt;&lt;p&gt; &lt;a href="http://www.ayende.com/Blog/archive/2006/10/16/7179.aspx"&gt;NHibernate Generics: Deprecated On 1.2&lt;/a&gt;&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/18843930</link><guid>http://hidat.tumblr.com/post/18843930</guid><pubDate>Thu, 08 Nov 2007 21:07:39 -0800</pubDate></item><item><title>My First Amazon S3 Bill</title><description>&lt;p&gt;4 cents.  Got to love this service&amp;#8230;.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/18800928</link><guid>http://hidat.tumblr.com/post/18800928</guid><pubDate>Thu, 08 Nov 2007 09:28:59 -0800</pubDate></item><item><title>"Discovery consists of seeing what everybody has seen and thinking what nobody has thought."</title><description>“Discovery consists of seeing what everybody has seen and thinking what nobody has thought.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;Alber von Szent-Gyorgy&lt;/em&gt;</description><link>http://hidat.tumblr.com/post/18686374</link><guid>http://hidat.tumblr.com/post/18686374</guid><pubDate>Wed, 07 Nov 2007 10:31:15 -0800</pubDate></item><item><title>Back from Defrag</title><description>&lt;p&gt;It was a very intesting conference.  Small - only 240 people, which was very cool, as everybody fit in one room, and you had contact with everyone.  That&amp;#8217;s what it was really about, networking, meeting new people, and just getting a little bit connected.  I&amp;#8217;m still  digesting the content.  The morning speakers were all good, but I have to admit, I don&amp;#8217;t remember much from the afternoons, and I didn&amp;#8217;t take that many notes in the afternoon.  More later&amp;#8230;.&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/18679195</link><guid>http://hidat.tumblr.com/post/18679195</guid><pubDate>Wed, 07 Nov 2007 09:00:14 -0800</pubDate></item><item><title>Off to Denver</title><description>&lt;p&gt;I&amp;#8217;m off to Denver for the Defrag conference.  Should be interesting, as this is my first real &amp;#8216;tech&amp;#8217; conference.  I big gathering of geeks trying to figure out the next big thing, hopefully I&amp;#8217;ll come away inspired&amp;#8230;&lt;/p&gt;</description><link>http://hidat.tumblr.com/post/18328439</link><guid>http://hidat.tumblr.com/post/18328439</guid><pubDate>Sun, 04 Nov 2007 07:15:41 -0800</pubDate></item></channel></rss>
