<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>jokiz</title><link>http://devpinoy.org/blogs/joeycalisay/default.aspx</link><description>(x-a)(x-b)(x-c)...(x-z)

</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/Jokiz" type="application/rss+xml" /><feedburner:emailServiceId>Jokiz</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>tricky ternary operators</title><link>http://feedproxy.google.com/~r/Jokiz/~3/To6lkx495xg/tricky-ternary-operators.aspx</link><pubDate>Sat, 06 Dec 2008 09:19:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:33790</guid><dc:creator>jokiz</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=33790</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=33790</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2008/12/06/tricky-ternary-operators.aspx#comments</comments><description>&lt;p&gt;i has been one year&amp;nbsp;since I haven&amp;#39;t been posting in this blog, hmmm.&amp;nbsp; wow, time is really that fast.&amp;nbsp; one year and I haven&amp;#39;t done much actually, just work and DOTA. Not at all productive and pretty much lagging with the current technologies out there.&amp;nbsp; I don&amp;#39;t even had the time to read my tech blog feeds in google reader.&amp;nbsp; Time to catch up (hopefully).&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s start with a piece of code that I bumped into recently in migrating some of the business rules in our bank application.&amp;nbsp; See if you can easily deduce what the code actually meant and suggest something to make it readable:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span style="font-size:x-small;font-family:Tahoma;"&gt;&lt;strong&gt;bool isReduced = (!isReduced) ?&lt;/strong&gt;&amp;nbsp;&lt;strong&gt;hasExceed : true&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:x-small;font-family:Tahoma;"&gt;some coding guidelines doesn&amp;#39;t recommend the use of ternary operators since they find it hard to read.&amp;nbsp; i&amp;#39;d say, not all the time, but the code above had a hard time expressing his intent to me, ;p.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=33790" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/To6lkx495xg" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/C_2300_/default.aspx">C#</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2008/12/06/tricky-ternary-operators.aspx</feedburner:origLink></item><item><title>bcp and errorlevel checks</title><link>http://feedproxy.google.com/~r/Jokiz/~3/d48fzQWhbzs/bcp-and-errorlevel-checks.aspx</link><pubDate>Mon, 17 Dec 2007 15:54:39 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:15808</guid><dc:creator>jokiz</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=15808</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=15808</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/12/17/bcp-and-errorlevel-checks.aspx#comments</comments><description>&lt;p&gt;we have a number of batch scripts at work which executes sql-related tasks for each of our project releases.&amp;nbsp; last time, i incorporated errorlevel checks so we know if there was a problem with the execution and in order to abort the rest of the operations if something else has gone wrong.&amp;nbsp; &lt;/p&gt; &lt;p&gt;i was surprised this weekend when one the bcp operation failed but it continued to execute the latter commands.&amp;nbsp; it turns out that the errorlevel variable is not populated correctly by bcp version 8 which comes with sql server 2000 (see kb &lt;a href="http://support.microsoft.com/kb/922660"&gt;here&lt;/a&gt;).&amp;nbsp; Luckily, it was already resolved with bcp version 9 which comes with sql server 2005.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=15808" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/d48fzQWhbzs" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/SQL/default.aspx">SQL</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/tips/default.aspx">tips</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/12/17/bcp-and-errorlevel-checks.aspx</feedburner:origLink></item><item><title>C# Trivia #6</title><link>http://feedproxy.google.com/~r/Jokiz/~3/pbIfgto8bXw/c-trivia-6.aspx</link><pubDate>Thu, 06 Dec 2007 05:43:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:15474</guid><dc:creator>jokiz</dc:creator><slash:comments>14</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=15474</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=15474</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/12/06/c-trivia-6.aspx#comments</comments><description>&lt;p&gt;As I&amp;#39;ve mention in &lt;a class="" href="http://devpinoy.org/blogs/joeycalisay/archive/2007/08/02/c-trivia-question-series.aspx"&gt;this&lt;/a&gt; post, I&amp;#39;ll be continuing the trivia series here in my blog.&amp;nbsp; I&amp;#39;ve encountered a good one from internal chat yesterday, here it is:&lt;/p&gt;
&lt;p&gt;will this compile?&lt;/p&gt;
&lt;div style="FONT-SIZE:9pt;BACKGROUND:#181818;COLOR:#e0e0e0;FONT-FAMILY:Consolas;"&gt;
&lt;p style="MARGIN:0px;"&gt;[&lt;span style="COLOR:#c7c7f1;"&gt;Test&lt;/span&gt;]&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&lt;span style="COLOR:#8080c0;"&gt;public&lt;/span&gt; &lt;span style="COLOR:#8080c0;"&gt;void&lt;/span&gt; &lt;span style="COLOR:#fef1a9;"&gt;IntTests&lt;/span&gt;()&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;{&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#8080c0;"&gt;int&lt;/span&gt; &lt;span style="COLOR:#fef1a9;"&gt;i&lt;/span&gt; = 1;&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#8080c0;"&gt;if&lt;/span&gt;(&lt;span style="COLOR:#fef1a9;"&gt;i&lt;/span&gt; != &lt;span style="COLOR:#8080c0;"&gt;null&lt;/span&gt;)&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="COLOR:#c7c7f1;"&gt;Debug&lt;/span&gt;.&lt;span style="COLOR:#fef1a9;"&gt;Write&lt;/span&gt;(&lt;span style="COLOR:#60ff60;"&gt;&amp;quot;jokiz&amp;quot;&lt;/span&gt;); &lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/p&gt;
&lt;p style="MARGIN:0px;"&gt;}&lt;/p&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=15474" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/pbIfgto8bXw" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/C_2300_/default.aspx">C#</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/12/06/c-trivia-6.aspx</feedburner:origLink></item><item><title>my first pocket pc</title><link>http://feedproxy.google.com/~r/Jokiz/~3/brhQPjnjlM0/my-first-pocket-pc.aspx</link><pubDate>Sat, 01 Dec 2007 04:31:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:15391</guid><dc:creator>jokiz</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=15391</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=15391</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/12/01/my-first-pocket-pc.aspx#comments</comments><description>&lt;p&gt;i purchased my very first pocket pc last week and i have&amp;#39;nt really used it extensively.&amp;nbsp; except for calendar and the gps software bundled which has been very useful travelling in this new country.&amp;nbsp; i&amp;#39;m thinking of installing an rss reader so i can now catch up with my blog feeds during my two hour daily travel to work, any pocket pc rss reader that you guys personally recommend so i don&amp;#39;t have to try everything out there?&amp;nbsp; also, if you have any other apps that you recommend, just drop a comment, thanks a lot!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=15391" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/brhQPjnjlM0" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/tips/default.aspx">tips</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/pocketpc/default.aspx">pocketpc</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/12/01/my-first-pocket-pc.aspx</feedburner:origLink></item><item><title>windows xp search containing text problems</title><link>http://feedproxy.google.com/~r/Jokiz/~3/-_2G9IS6n2U/windows-xp-search-containing-text-problems.aspx</link><pubDate>Sun, 28 Oct 2007 15:07:15 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:14661</guid><dc:creator>jokiz</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=14661</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=14661</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/10/29/windows-xp-search-containing-text-problems.aspx#comments</comments><description>&lt;p&gt;i&amp;#39;ve been told by one of my officemates that the windows xp search containing text does not work with all file types.&amp;nbsp; of course mr. skeptical always verify it and was surprised that indeed it does not work for all file types, even with C# cs files!&amp;nbsp; just sharing!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=14661" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/-_2G9IS6n2U" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/tips/default.aspx">tips</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/windows/default.aspx">windows</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/10/29/windows-xp-search-containing-text-problems.aspx</feedburner:origLink></item><item><title>winword repaginating issue</title><link>http://feedproxy.google.com/~r/Jokiz/~3/Bn_PzZ21dX8/winword-repaginating-issue.aspx</link><pubDate>Mon, 15 Oct 2007 05:13:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:14426</guid><dc:creator>jokiz</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=14426</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=14426</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/10/15/winword-repaginating-issue.aspx#comments</comments><description>&lt;p&gt;we have a document that keeps on repaginating eveytime i open it in winword.&amp;nbsp; i found a post in usenet that you just have to save it as a webpage (html) then resave it as word document and it did solve the problem.&amp;nbsp; just sharing!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=14426" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/Bn_PzZ21dX8" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/tips/default.aspx">tips</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/10/15/winword-repaginating-issue.aspx</feedburner:origLink></item><item><title>deltree = rd /s</title><link>http://feedproxy.google.com/~r/Jokiz/~3/Dxlnlfo7GfE/deltree-rd-s.aspx</link><pubDate>Thu, 11 Oct 2007 02:48:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:14382</guid><dc:creator>jokiz</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=14382</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=14382</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/10/11/deltree-rd-s.aspx#comments</comments><description>&lt;p&gt;for years i thought deltree (deletes a folder and all the files in it) was removed from the DOS days.&amp;nbsp; before it was not included in the default command set but available as a separated executable.&amp;nbsp; i just stumbled in one of our post build events which does the same with the remove directory command with a /s switch.&amp;nbsp; fyi for those who also don&amp;#39;t know about it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=14382" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/Dxlnlfo7GfE" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/tips/default.aspx">tips</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/10/11/deltree-rd-s.aspx</feedburner:origLink></item><item><title>Debugging stored procedures on SQL Server 2005</title><link>http://feedproxy.google.com/~r/Jokiz/~3/WsxLsBgjFKM/debugging-stored-procedures-on-sql-server-2005.aspx</link><pubDate>Wed, 26 Sep 2007 03:41:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:14021</guid><dc:creator>jokiz</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=14021</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=14021</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/09/26/debugging-stored-procedures-on-sql-server-2005.aspx#comments</comments><description>&lt;p&gt;My current task in our project is majorly in MSSQL.&amp;nbsp; I wanted to debug a chain of stored procedures and I have just found out that MS has removed debugging tools out of SQL Server 2005 client tools and relied more on visual studio&amp;#39;s.&amp;nbsp; I have experienced debugging both from SQL Server 2005 Query Analyzer and from VS 2003 and I favor that of visual studio.&amp;nbsp; Back then the stored proc was constructing a dynamic sql statement (don&amp;#39;t ask! ;p)&amp;nbsp; and visual studio watches can cater for long strings (yeah it sounds messy) compared to query analyzer which just truncates it to its max capacity.&lt;/p&gt;
&lt;p&gt;Our usual setup in my past companies is we usually have a local sql server database (developer edition) on our boxes and the build server also has its own.&amp;nbsp; Of course we are administrators of our local databases so debugging is not an issue.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Stored procedure debugging for SQL Server 2000 needs execute permission on master.sp_sdidebug.&amp;nbsp; However for SQL Server 2005, they have renamed it to sp_enable_sql_debug.&amp;nbsp; And guess what, you have to be a member of sysadmin role in order for you to debug SQL Server 2005 stored procedures, wth!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;We can&amp;#39;t have sysadmin roles in our current setup where development databases are in a farm and we usually are just dbo&amp;#39;s of just our project databases.&amp;nbsp; &amp;lt;sigh&amp;gt;&lt;/p&gt;
&lt;p&gt;More info here: &lt;a href="http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx"&gt;http://blogs.msdn.com/sqlclr/archive/2006/07/07/659332.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=14021" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/WsxLsBgjFKM" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/SQL/default.aspx">SQL</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/visual+studio/default.aspx">visual studio</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/debugging/default.aspx">debugging</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/09/26/debugging-stored-procedures-on-sql-server-2005.aspx</feedburner:origLink></item><item><title>SQL Implicit Commands</title><link>http://feedproxy.google.com/~r/Jokiz/~3/rZEDCa3CmrY/sql-implicit-commands.aspx</link><pubDate>Tue, 11 Sep 2007 08:48:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:13699</guid><dc:creator>jokiz</dc:creator><slash:comments>3</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=13699</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=13699</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/09/11/sql-implicit-commands.aspx#comments</comments><description>&lt;p&gt;Not being an SQL guy, i&amp;#39;m really not used to implicit commands from T-SQL.&amp;nbsp; By implicit, I mean those simplified commands which does the same thing as those documented in every SQL books.&amp;nbsp; &lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I first encountered a query below from a teammate:&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FROM Table1 T1 JOIN Table2 ON ...&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Every book includes all those type of joins, LEFT OUTER JOIN, RIGHT OUTER JOIN, INNER JOIN AND CROSS JOIN, so my initial reaction was, wtf, what join is that.&amp;nbsp; Then I later found out that it just mean an &lt;strong&gt;INNER JOIN&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;
&lt;li&gt;I also encountered a comma in between tables&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FROM Table1, Table2&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;And when I searched through usenet, it&amp;#39;s just a shortcut for &lt;strong&gt;CROSS JOIN&lt;/strong&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;FROM Table1 a, Table2 b WHERE a.Id = b.FkID&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;on the other hand, will use an &lt;strong&gt;INNER JOIN&lt;/strong&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;Any other implicit commands that you know of for SQL?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=13699" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/rZEDCa3CmrY" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/SQL/default.aspx">SQL</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/09/11/sql-implicit-commands.aspx</feedburner:origLink></item><item><title>VSS to Subversion to Clearcase</title><link>http://feedproxy.google.com/~r/Jokiz/~3/Bjct2DeMIWU/vss-to-subversion-to-clearcase.aspx</link><pubDate>Fri, 31 Aug 2007 05:40:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:13329</guid><dc:creator>jokiz</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=13329</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=13329</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/31/vss-to-subversion-to-clearcase.aspx#comments</comments><description>&lt;p&gt;follow up to my &lt;a class="" href="http://devpinoy.org/blogs/joeycalisay/archive/2006/05/25/Visual-Sourcesafe-vs-SVN_2C00_-AnkSVN_2C00_-TortoiseSVN.aspx"&gt;post&lt;/a&gt;&amp;nbsp;about visual source safe and subversion (which has a good google page rank), now i&amp;#39;m exploring rational clearcase.&lt;/p&gt;
&lt;p&gt;we are using clearcase at work and i can see a very close similarities with visual source safe.&amp;nbsp; although the previous post sounds like i&amp;#39;m favoring vss over subversion, it all turns out that i like subversion more.&amp;nbsp; actually, i didn&amp;#39;t find any issues or difficulties working with subversion, besides, it&amp;#39;s the preferred version control by most of the gurus.&lt;/p&gt;
&lt;p&gt;there are a number of new stuff with clearcase that i need to familiarize myself with and one of them is the types of view.&amp;nbsp; most differences are just the terms but this dynamic view topic puzzled me on how it works under the hood as i read the wiki.&amp;nbsp; luckily, the company offers in-house trainings but i guess it will be scheduled months after i finish the enhancement task that i have which starts this monday.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=13329" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/Bjct2DeMIWU" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/version+control/default.aspx">version control</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/sourcesafe/default.aspx">sourcesafe</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/subversion/default.aspx">subversion</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/clearcase/default.aspx">clearcase</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/31/vss-to-subversion-to-clearcase.aspx</feedburner:origLink></item><item><title>Tracking active item in Solution Explorer</title><link>http://feedproxy.google.com/~r/Jokiz/~3/DQ14_zeL6hE/tracking-active-item-in-solution-explorer.aspx</link><pubDate>Wed, 29 Aug 2007 06:28:00 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:13267</guid><dc:creator>jokiz</dc:creator><slash:comments>6</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=13267</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=13267</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/29/tracking-active-item-in-solution-explorer.aspx#comments</comments><description>&lt;p&gt;I find it hard when the currently active code sheet or item is not highlighted in solution explorer and there were times when i couldn&amp;#39;t easily see where the option is so this is for my future reference.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;VS 2003:&amp;nbsp; Tools-&amp;gt;Options-&amp;gt;Environment-&amp;gt;Projects and Solution&lt;br /&gt;VS 2005:&amp;nbsp; Tools-&amp;gt;Options-&amp;gt;Projects and Solution&lt;/p&gt;&lt;/blockquote&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=13267" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/DQ14_zeL6hE" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/tips/default.aspx">tips</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/visual+studio/default.aspx">visual studio</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/29/tracking-active-item-in-solution-explorer.aspx</feedburner:origLink></item><item><title>welcome to singapore!</title><link>http://feedproxy.google.com/~r/Jokiz/~3/mZVUGy66yV8/welcome-to-singapore.aspx</link><pubDate>Sat, 18 Aug 2007 09:10:41 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:12976</guid><dc:creator>jokiz</dc:creator><slash:comments>16</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=12976</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=12976</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/18/welcome-to-singapore.aspx#comments</comments><description>&lt;p&gt;I&amp;nbsp;arrived this noon, new job to start this Monday.&amp;nbsp; I hope this will be interesting.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=12976" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/mZVUGy66yV8" height="1" width="1"/&gt;</description><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/18/welcome-to-singapore.aspx</feedburner:origLink></item><item><title>C# Trivia Question Series</title><link>http://feedproxy.google.com/~r/Jokiz/~3/OwfLxJxuj5k/c-trivia-question-series.aspx</link><pubDate>Thu, 02 Aug 2007 14:16:44 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:12313</guid><dc:creator>jokiz</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=12313</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=12313</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/02/c-trivia-question-series.aspx#comments</comments><description>&lt;p&gt;Some of you know about the C#&amp;nbsp;trivia series that I started in &lt;a href="http://msforums.ph"&gt;MSForum&amp;#39;s&lt;/a&gt; &lt;a href="http://msforums.ph/forums/12.aspx"&gt;C# section&lt;/a&gt;.&amp;nbsp; Good thing some of these posts were revived since they were missing months ago.&amp;nbsp; Here are the links:&lt;/p&gt; &lt;p&gt;&lt;a href="http://msforums.ph/forums/t/29995.aspx"&gt;Trivia #1&lt;/a&gt; - Arraylist&amp;#39;s initial&amp;nbsp;size&lt;br /&gt;&lt;a href="http://msforums.ph/forums/t/31190.aspx"&gt;Trivia #2&lt;/a&gt; - String concatenations and compiler&lt;br /&gt;&lt;a href="http://msforums.ph/forums/t/31434.aspx"&gt;Trivia #3&lt;/a&gt; - Passing reference types&lt;br /&gt;&lt;a href="http://msforums.ph/forums/t/33115.aspx"&gt;Trivia #4&lt;/a&gt; - CollectionBase flaw regarding strongly-typed collections&lt;br /&gt;&lt;a href="http://msforums.ph/forums/t/40287.aspx"&gt;Trivia #5&lt;/a&gt; - Operator overloading gotchas&lt;br /&gt;&lt;br /&gt;I&amp;#39;m planning to continue the series through this blog.&amp;nbsp; So time to dig up those .NET framework tidbits that an average .NET developer might not be aware of.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=12313" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/OwfLxJxuj5k" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/.NET/default.aspx">.NET</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/C_2300_/default.aspx">C#</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/08/02/c-trivia-question-series.aspx</feedburner:origLink></item><item><title>we're moving backwards</title><link>http://feedproxy.google.com/~r/Jokiz/~3/9LpSf05SK9s/we-re-moving-backwards.aspx</link><pubDate>Fri, 20 Jul 2007 02:49:12 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:11805</guid><dc:creator>jokiz</dc:creator><slash:comments>34</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=11805</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=11805</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/07/20/we-re-moving-backwards.aspx#comments</comments><description>&lt;p&gt;This is technically another rant (long overdue), sorry to the guys involved.&lt;/p&gt; &lt;p&gt;1.&amp;nbsp; From test-driven development to deadline-driven development&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;We are practicing test-driven development and continuous integration (okay, just some!).&amp;nbsp; I saw the following code comment in one of our code sheets:&lt;/p&gt; &lt;p align="left"&gt;&lt;em&gt;Search uses ShipmentCriteria as intermediate object between UI and search engine. ShipmentCriteria is unnecessary but due to tight schedule, i couldnt delete it&amp;nbsp;from the current implementation lest ill end up rewriting the presentation. Perhaps in a test driven development environment we can refactor this but for the deadline driven, this will do.&lt;/em&gt;&lt;/p&gt; &lt;p align="left"&gt;There are also ignored test cases with a comment &amp;quot;&lt;em&gt;New search engine using deadline driven methodology.&amp;quot;&lt;/em&gt;&lt;/p&gt; &lt;p&gt;Projects will always have deadlines, and in our company, developers are the ones estimating their tasks.&amp;nbsp; It&amp;#39;s up to you to give an estimate&amp;nbsp;which covers the inclusion of&amp;nbsp;automated tests for it (if you want to, but actually nobody is forcing you).&amp;nbsp; Yes it&amp;#39;s normal that a team couldn&amp;#39;t find time to include automated tests for the project especially when the release date is very near.&amp;nbsp; However, there really are persons who are dedicated to the practice and finds time to include some tests especially for the crucial functionality.&amp;nbsp; Checking the subversion logs, &lt;a href="http://devpinoy.org/blogs/cruizer/"&gt;he&amp;#39;s&lt;/a&gt; the only one who have added test cases for the application.&amp;nbsp; If you are really dedicated to improve the project, drop your email and blog reading routine and contribute to the project by including tests for your feature (look who&amp;#39;s talking, :p).&lt;/p&gt; &lt;p&gt;I&amp;#39;ve been monitoring the Unit Tests of my previous project and for the past couple of months, you won&amp;#39;t notice an inclusion of the new test case in it, just modifications to adapt to the new requirements.&amp;nbsp; Coverage for the tests is continuously dropping sad to say.&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;2.&amp;nbsp; From subversion to non-versioned&lt;/p&gt; &lt;blockquote&gt; &lt;p&gt;My two teammates are working on the same task and chose to not integrate with my created versioned solution (I don&amp;#39;t know why).&amp;nbsp; &lt;/p&gt; &lt;p&gt;I saw the junior guy using a CSV parser from some library when he asked me a question.&amp;nbsp; When I visited our lead&amp;#39;s desk, I saw him doing a normal string.Split routine in his code for parsing (proven to be problematic!).&amp;nbsp; Smells fishy!&lt;/p&gt; &lt;p&gt;I found out that they are working in a non-versioned environment.&amp;nbsp; I asked them how are they integrating?&amp;nbsp; Senior guy is giving junior guy latest copy of his bits every morning.&amp;nbsp; Hmmm, interesting...&lt;/p&gt;&lt;/blockquote&gt; &lt;p&gt;3.&amp;nbsp; From ASP.NET to ASP classic&lt;/p&gt; &lt;ul&gt; &lt;li&gt;was surprised why my teammate was coding a simple webpage table form in asp style (foreach script blocks in aspx page)  &lt;li&gt;a consultant saw the implementation and commented that it&amp;#39;s not the way we do in .NET (of course)  &lt;li&gt;consultant proposed to do all the html creation logic in codebehind and assign the formed HTML (really?)  &lt;li&gt;I&amp;nbsp;proposed using asp.net data controls and databinding  &lt;li&gt;teamlead commented data controls are costly pointing at hidden viewstate (classic argument)  &lt;li&gt;me and junior guy did the page using asp.net data controls  &lt;li&gt;code is now constructing an HtmlTable instance in the codebehind, lead&amp;#39;s code, but he agreed to change it (thank god)&lt;/li&gt;&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=11805" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/9LpSf05SK9s" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/rants/default.aspx">rants</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/07/20/we-re-moving-backwards.aspx</feedburner:origLink></item><item><title>Web application projects and build server issues</title><link>http://feedproxy.google.com/~r/Jokiz/~3/ecN6M9oXxkI/web-application-projects-and-build-server-issues.aspx</link><pubDate>Fri, 20 Jul 2007 01:52:27 GMT</pubDate><guid isPermaLink="false">99090821-4da1-4a75-98c2-a35884625ff7:11800</guid><dc:creator>jokiz</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://devpinoy.org/blogs/joeycalisay/rsscomments.aspx?PostID=11800</wfw:commentRss><wfw:comment>http://devpinoy.org/blogs/joeycalisay/commentapi.aspx?PostID=11800</wfw:comment><comments>http://devpinoy.org/blogs/joeycalisay/archive/2007/07/20/web-application-projects-and-build-server-issues.aspx#comments</comments><description>&lt;p&gt;Normally, you don&amp;#39;t have Visual Studio installed in build servers.&amp;nbsp; Unless you&amp;#39;re using the setup and deployment package which can only be compiled by the IDE executable devenv.exe, that&amp;#39;s the time that you install VS.&amp;nbsp; &lt;/p&gt; &lt;p&gt;As such, you only have the .NET SDK installed and just uses&amp;nbsp;&lt;a href="http://msdn2.microsoft.com/en-us/library/0k6kkbsd(VS.80).aspx"&gt;MSBUILD&lt;/a&gt; to compile the VS2005 projects.&amp;nbsp; MSBUILD can compile visual studio projects with the help of its &lt;a href="http://msdn2.microsoft.com/en-us/library/ms164312.aspx"&gt;targets files&lt;/a&gt;.&amp;nbsp; The SDK comes with the default targets files to compile common type of projects.&amp;nbsp; However, if you are using &lt;a href="http://webproject.scottgu.com/"&gt;Web application projects&lt;/a&gt;, it uses a different targets file (&amp;quot;Microsoft.WebApplication.targets&amp;quot;), which ships with VS2005 SP1.&amp;nbsp; Basically you just include the said targets file in your trunk and edit the project file for the path of the said targets file.&amp;nbsp; Thanks to &lt;a href="http://odetocode.com/Blogs/scott/archive/2006/05/30/3802.aspx"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devpinoy.org/aggbug.aspx?PostID=11800" width="1" height="1"&gt;&lt;img src="http://feeds.feedburner.com/~r/Jokiz/~4/ecN6M9oXxkI" height="1" width="1"/&gt;</description><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/ASP.NET/default.aspx">ASP.NET</category><category domain="http://devpinoy.org/blogs/joeycalisay/archive/tags/continuous+integration/default.aspx">continuous integration</category><feedburner:origLink>http://devpinoy.org/blogs/joeycalisay/archive/2007/07/20/web-application-projects-and-build-server-issues.aspx</feedburner:origLink></item></channel></rss>
