<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2243933464176591406</id><updated>2012-02-16T12:01:19.386-08:00</updated><category term='SQL Lite'/><category term='App Pool'/><category term='MVC'/><category term='MVVM'/><category term='Caliburn'/><category term='NuGet'/><category term='This Developers Life'/><category term='Ruby'/><category term='Nu-Get'/><category term='Podcasts'/><category term='Scott Hanselman'/><category term='Asp.net'/><category term='Design'/><category term='JavaScript'/><category term='Silverlight'/><category term='Lessons'/><category term='Namespaces'/><category term='Rob Conery'/><title type='text'>blog.bakasa.net</title><subtitle type='html'>.Baka, .net .society. web .social .work .love...
I am a web developer, C#, asp.net, MVC, WCF, C++, COBOL, VB.NET, Java, Javascript, jQuery, Python, Perl, MySQL, MS SQL etc. dude...
You can can find me on twitter @bakasa</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://blog.bakasa.net/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>10</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-8147558740663509279</id><published>2011-03-01T21:08:00.001-08:00</published><updated>2011-03-01T21:08:43.559-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MVVM'/><category scheme='http://www.blogger.com/atom/ns#' term='Caliburn'/><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight'/><title type='text'>Caliburn MVVM</title><content type='html'>&lt;p&gt;Listened to an interesting podcast this morning regarding Silverlight development using Caliburn MVVM &lt;p&gt;&lt;a href="http://caliburn.codeplex.com/"&gt;http://caliburn.codeplex.com/&lt;/a&gt; &lt;p&gt;&lt;a href="http://www.caliburnproject.org/"&gt;http://www.caliburnproject.org/&lt;/a&gt; &lt;p&gt;&lt;b&gt;As they state it on there website:&lt;/b&gt; &lt;p&gt;&lt;b&gt;Goals&lt;/b&gt; &lt;ul&gt; &lt;li&gt;Support building WPF/SL application that are TDD friendly. &lt;li&gt;Implement functionality for simplifying various UI design patterns in WPF/SL. These patterns include MVC, MVP, Presentation Model (MVVM), Commands, etc. &lt;li&gt;Ease the use of a dependency injection container with WPF/SL. &lt;li&gt;Simplify or provide alternatives to common WPF/SL related tasks. &lt;li&gt;Provide solutions to common UI architecture problems.&lt;/li&gt;&lt;/ul&gt; &lt;p&gt;&amp;nbsp; &lt;p&gt;Podcast link: &lt;p&gt;&lt;a href="http://www.dotnetrocks.com/default.aspx?showNum=638"&gt;http://www.dotnetrocks.com/default.aspx?showNum=638&lt;/a&gt; &lt;p&gt;&amp;nbsp; &lt;p&gt;Later Coderz &lt;p&gt;Baka&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-8147558740663509279?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/8147558740663509279/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/03/caliburn-mvvm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/8147558740663509279'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/8147558740663509279'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/03/caliburn-mvvm.html' title='Caliburn MVVM'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-6864215541601669111</id><published>2011-03-01T00:15:00.000-08:00</published><updated>2011-03-01T00:15:09.120-08:00</updated><title type='text'>CruiseControl.Net Tutorial – Part 2 « My view on C#</title><content type='html'>&lt;a href="http://ilmatte.wordpress.com/2008/06/15/cruisecontrolnet-tutorial-part-2/"&gt;CruiseControl.Net Tutorial – Part 2 « My view on C#&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-6864215541601669111?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://ilmatte.wordpress.com/2008/06/15/cruisecontrolnet-tutorial-part-2/' title='CruiseControl.Net Tutorial – Part 2 « My view on C#'/><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/6864215541601669111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/03/cruisecontrolnet-tutorial-part-2-my.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/6864215541601669111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/6864215541601669111'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/03/cruisecontrolnet-tutorial-part-2-my.html' title='CruiseControl.Net Tutorial – Part 2 « My view on C#'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-86290827030400217</id><published>2011-02-23T00:51:00.001-08:00</published><updated>2011-02-23T00:51:57.773-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Lite'/><category scheme='http://www.blogger.com/atom/ns#' term='MVC'/><category scheme='http://www.blogger.com/atom/ns#' term='Ruby'/><category scheme='http://www.blogger.com/atom/ns#' term='Nu-Get'/><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><title type='text'>Ruby Development on Windows</title><content type='html'>&lt;p&gt;So I recently ventured down the Ruby path…browsed over to &lt;a href="http://rubyinstaller.org/" rel="nofollow" target="_blank"&gt;Ruby Installer&lt;/a&gt; and downloaded the installer.&lt;/p&gt; &lt;p&gt;So far so good…installed it easy-peasy no hassles. Next up, build a simple app.&lt;/p&gt; &lt;p&gt;What fascinated me and got me interested was the data abstraction of the &lt;a href="http://rubyonrails.org/" rel="nofollow" target="_blank"&gt;Rails&lt;/a&gt; web development framework and how the scaffolding features allowed to me easily and quick get started. &lt;/p&gt; &lt;p&gt;Yeah, yeah Asp.net MVC also has scaffolding now thanks to the “Nu-Get Boom”.&amp;nbsp; But I want to try this in Ruby and get to work with a metal to metal framework (Rails) – no SOAP abstractions for SOA (SOA is a architecture pattern which can be implemented without SOAP) is a big one for me.&lt;/p&gt; &lt;p&gt;With every layer of abstraction comes more complication, more resource requirement, more execution steps, more time to load and more and more…you get my point…&lt;/p&gt; &lt;p&gt;Back to Rails, being able to develop and later optimize using SQL profiler or deciding to not use the default SQL Lite database but rather something else via a simple configuration change might sound awesome.&amp;nbsp; BUT, the best part for me it is come for free and not development cost.&lt;/p&gt; &lt;p&gt;So, let me venture even further off into the Ruby world and see what it brings me…will you keep you posted.&lt;/p&gt; &lt;p&gt;Later Coders&lt;/p&gt; &lt;p&gt;Baka&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-86290827030400217?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/86290827030400217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/02/ruby-development-on-windows.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/86290827030400217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/86290827030400217'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/02/ruby-development-on-windows.html' title='Ruby Development on Windows'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-1608434983431236924</id><published>2011-02-23T00:28:00.000-08:00</published><updated>2011-02-23T00:29:09.493-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='NuGet'/><title type='text'>Updating and Publishing a NuGet Package - Plus making NuGet packages smarter and avoiding source edits with WebActivator - Scott Hanselman</title><content type='html'>Cool article on creating your own NuGet Package, check it here&lt;br /&gt;&lt;a href="http://www.hanselman.com/blog/UpdatingAndPublishingANuGetPackagePlusMakingNuGetPackagesSmarterAndAvoidingSourceEditsWithWebActivator.aspx"&gt;Updating and Publishing a NuGet Package - Plus making NuGet packages smarter and avoiding source edits with WebActivator - Scott Hanselman&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Later Coders&lt;br /&gt;Baka&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-1608434983431236924?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/1608434983431236924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/02/updating-and-publishing-nuget-package.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/1608434983431236924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/1608434983431236924'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/02/updating-and-publishing-nuget-package.html' title='Updating and Publishing a NuGet Package - Plus making NuGet packages smarter and avoiding source edits with WebActivator - Scott Hanselman'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-100126502515263205</id><published>2011-02-22T23:06:00.000-08:00</published><updated>2011-02-22T23:06:43.484-08:00</updated><title type='text'>SQL SERVER – Get Current Database Name « Journey to SQL Authority with Pinal Dave</title><content type='html'>&lt;a href="http://blog.sqlauthority.com/2008/02/12/sql-server-get-current-database-name/"&gt;SQL SERVER – Get Current Database Name « Journey to SQL Authority with Pinal Dave&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-100126502515263205?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://blog.sqlauthority.com/2008/02/12/sql-server-get-current-database-name/' title='SQL SERVER – Get Current Database Name « Journey to SQL Authority with Pinal Dave'/><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/100126502515263205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/02/sql-server-get-current-database-name.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/100126502515263205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/100126502515263205'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/02/sql-server-get-current-database-name.html' title='SQL SERVER – Get Current Database Name « Journey to SQL Authority with Pinal Dave'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-1164114805086762190</id><published>2011-02-21T22:57:00.001-08:00</published><updated>2011-02-21T22:57:20.324-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='This Developers Life'/><category scheme='http://www.blogger.com/atom/ns#' term='Podcasts'/><category scheme='http://www.blogger.com/atom/ns#' term='Scott Hanselman'/><category scheme='http://www.blogger.com/atom/ns#' term='Rob Conery'/><title type='text'>this.MyLife()</title><content type='html'>&lt;p&gt;Started listening to a fairly new podcast hosted by &lt;a href="http://www.hanselman.com/blog/" rel="nofollow" target="_blank"&gt;Scott Hanselman&lt;/a&gt; and &lt;a href="http://blog.wekeroad.com/" rel="nofollow" target="_blank"&gt;Rob Conery&lt;/a&gt; which focuses on fascinating and interesting stories from developers and the like telling their stories. Stories of how they invented compilers, to frameworks to revolutionising an industry, to philosophical developer life &amp;amp; issues - from long ago and beyond the future.&lt;/p&gt; &lt;p&gt;The podcast &lt;a href="http://thisdeveloperslife.com/" rel="nofollow" target="_blank"&gt;This Developer’s Life&lt;/a&gt; has a very cool, funky, lively tone to it – which is what keeps me listening….not to mention the amazing story telling going on throughout each podcast.&lt;/p&gt; &lt;p&gt;A huge thanks and a big around of applause to Scott and Rob for hosting an excellent, long overdue and insightful podcast.&lt;/p&gt; &lt;p&gt;I’d love to say that “I am not promoting” the podcast but I am :) give it a try and see for yourself…its like being in a room with varyingly different smart, innovative, wise people everyday and feeding off their experiences – all you can do is grow professionally and maybe even apply that to you personal life too.&lt;/p&gt; &lt;p&gt;Let me know what you think – via twitter @bakasa&lt;/p&gt; &lt;p&gt;Later Coderz&lt;/p&gt; &lt;p&gt;Baka&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-1164114805086762190?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/1164114805086762190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/02/thismylife.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/1164114805086762190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/1164114805086762190'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/02/thismylife.html' title='this.MyLife()'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-3189322228772498128</id><published>2011-02-21T04:14:00.001-08:00</published><updated>2011-02-21T04:14:02.109-08:00</updated><title type='text'>Memcache: enyim with .net 4.0</title><content type='html'>I recently created a .net 4.0 project...&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-3189322228772498128?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/3189322228772498128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/02/memcache-enyim-with-net-40.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/3189322228772498128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/3189322228772498128'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/02/memcache-enyim-with-net-40.html' title='Memcache: enyim with .net 4.0'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-8091021224333307142</id><published>2011-02-18T01:52:00.001-08:00</published><updated>2011-02-18T01:52:18.010-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Asp.net'/><category scheme='http://www.blogger.com/atom/ns#' term='App Pool'/><title type='text'>Causes of Asp.net App pool recycle</title><content type='html'>&lt;p&gt;I am not sure about . resx files but when you make change to .js, .aspx, .ascx files on a web app it does not recycle the app pool – e.g. experience cache or session loss etc. &lt;p&gt;Not sure if resource file (not embedded) changes causes the app to recycle.. this is the conclusion: &lt;p&gt;&lt;strong&gt;Immediate Recycle&lt;/strong&gt; &lt;p&gt;· Web.config changes &lt;p&gt;· Machine.config changes &lt;p&gt;· Global.asax changes &lt;p&gt;· Bin directory changes &lt;p&gt;· App_Code changes &lt;p&gt;&lt;strong&gt;Delayed Recycle&lt;/strong&gt; &lt;p&gt;This can occur with multiple changes in other locations e.g. changes to .aspx or .cs/.vb. Adding temporary text, csv or other files does not cause immediate recycle too. &lt;p&gt;PS: These are all app-domain recycles, and not actual recycles of the application pool.The application POOL will only recycle based on settings in IIS like scheduled restart, number of requests, memory limit, idle time etc. &lt;p&gt;Later Coderz &lt;p&gt;Baka&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-8091021224333307142?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/8091021224333307142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2011/02/causes-of-aspnet-app-pool-recycle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/8091021224333307142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/8091021224333307142'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2011/02/causes-of-aspnet-app-pool-recycle.html' title='Causes of Asp.net App pool recycle'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-6269563892232862597</id><published>2008-08-13T23:40:00.001-07:00</published><updated>2011-02-18T01:23:13.873-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Namespaces'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>Comments on Bad hierarchical design</title><content type='html'>&lt;p&gt;Interesting post on namespaces and namespace design: &lt;p&gt;&lt;a href="http://blogs.msdn.com/ericlippert/archive/2010/03/15/do-not-name-a-class-the-same-as-its-namespace-part-three.aspx"&gt;http://blogs.msdn.com/ericlippert/archive/2010/03/15/do-not-name-a-class-the-same-as-its-namespace-part-three.aspx&lt;/a&gt; &lt;p&gt;The fact that the author mentions that a namespace is not a namespace if it only contains only child node (class). NAMESPACE ARE MEANT TO GROUP SIMILAR THINGS TOGETHER. &lt;p&gt;But I do still find myself with this tendency to put some newly created specialized class into its own namespace...Is that just a bad habit or bad design?    &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-6269563892232862597?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/6269563892232862597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2008/08/second-post-baka.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/6269563892232862597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/6269563892232862597'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2008/08/second-post-baka.html' title='Comments on Bad hierarchical design'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2243933464176591406.post-3110604640309497864</id><published>2008-08-13T23:36:00.000-07:00</published><updated>2011-02-18T01:23:47.870-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><category scheme='http://www.blogger.com/atom/ns#' term='Lessons'/><category scheme='http://www.blogger.com/atom/ns#' term='Design'/><title type='text'>A lesson well learnt!</title><content type='html'>&lt;p&gt;Today I struggled with the silliest of errors. Let me tell you about it....&lt;/p&gt; &lt;p&gt;I am not going to speak about the details because I think the lesson learnt is more valuable (not that the solution to the problem is not) in that it (the learned lesson) is code/architecture agnostic.&lt;/p&gt; &lt;p&gt;All the while I was looking for the problem in one place (the JavaScript code) but it was not actually there as the data that was passed to it (from the sever side code was) was invalid. And that was the cause of the script not working as expected. Needless to say that the script had error handling but did not process the result as expected as the result was indeed invalid.&lt;/p&gt; &lt;p&gt;Only after pulling out my hair at looking at the JavaScript and looking at the sever side code again I saw the mistake. Instead of serializing the List&amp;lt;T&amp;gt; object I was calling serialize on each individual item in the list as they were being added to the list. Hence on the script side it could not get the count of the expected JSON object as it invalid something else!&lt;/p&gt; &lt;p&gt;SO, the lesson being that the code does not lie, the data was incorrect and the process that was responsible for returning the data was in fact the cause. Additionally, don’t look in one direction for the issue try to investigate from the different angles e.g. where the data is coming from.&lt;/p&gt; &lt;p&gt;Later Coders&lt;/p&gt; &lt;p&gt;Baka&lt;/p&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2243933464176591406-3110604640309497864?l=blog.bakasa.net' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://blog.bakasa.net/feeds/3110604640309497864/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://blog.bakasa.net/2008/08/baka.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/3110604640309497864'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2243933464176591406/posts/default/3110604640309497864'/><link rel='alternate' type='text/html' href='http://blog.bakasa.net/2008/08/baka.html' title='A lesson well learnt!'/><author><name>baka</name><uri>http://www.blogger.com/profile/17570800117508718633</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
