<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://geeks.netindonesia.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>Incoherent Rambling - All Comments</title><link>http://geeks.netindonesia.net/blogs/jimmy/default.aspx</link><description>.Net, coding, architecture and life in general</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20917.1142)</generator><item><title>re: XP Task Manager missing Title &amp; Menu Bar</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2006/10/18/XP-Task-Manager-missing-Title-_2600_-Menu-Bar.aspx#65386</link><pubDate>Wed, 03 Sep 2008 08:28:31 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:65386</guid><dc:creator>Russ</dc:creator><description>&lt;p&gt;double click the bar around task manager&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=65386" width="1" height="1"&gt;</description></item><item><title>re: Operation could destabilize the runtime</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/08/28/operation-could-destabilize-the-runtime.aspx#64843</link><pubDate>Fri, 29 Aug 2008 06:21:58 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:64843</guid><dc:creator>Jimmy Chandra</dc:creator><description>&lt;p&gt;It's just old habit I guess (^_^).&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=64843" width="1" height="1"&gt;</description></item><item><title>re: Operation could destabilize the runtime</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/08/28/operation-could-destabilize-the-runtime.aspx#64804</link><pubDate>Thu, 28 Aug 2008 20:46:55 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:64804</guid><dc:creator>Rob Conery</dc:creator><description>&lt;p&gt;I've never found a reason to interface your model objects - what's the point? Some may chime in here but do what you need to do - just use Person and be done with it :). &lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=64804" width="1" height="1"&gt;</description></item><item><title>re: Transforming Denormalized Tabular Data to Hierarchical XML Using SQL Server (2005)</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/08/12/transforming-denormalized-tabular-data-to-hierarchical-xml-using-sql-server-2005.aspx#64534</link><pubDate>Tue, 26 Aug 2008 20:35:44 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:64534</guid><dc:creator>Jeff Hall</dc:creator><description>&lt;p&gt;You need to use the TYPE directive on the inner select:&lt;/p&gt;
&lt;p&gt;FOR XML PATH('activity'), ROOT('activities'), TYPE)&lt;/p&gt;
&lt;p&gt;otherwise it returns text which is why you get the the angle brackets escaped.&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=64534" width="1" height="1"&gt;</description></item><item><title>re: Detecting If a Number has a Decimal Fraction</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/05/28/detecting-if-a-number-has-a-decimal-fraction.aspx#64407</link><pubDate>Tue, 26 Aug 2008 00:31:18 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:64407</guid><dc:creator>Jimmy Chandra</dc:creator><description>&lt;p&gt;Lol, sometimes the simplest answer just eluded you :). &amp;nbsp;Thanks Duncan.&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var aNumber = 99.99m;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;var hasDecimal = 99.99m % 1 &amp;gt; 0;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.WriteLine(hasDecimal);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Console.ReadLine();&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=64407" width="1" height="1"&gt;</description></item><item><title>re: Playing Around with Anonymous Type, Extension Method, LINQ, and Generic</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/01/20/playing-around-with-anonymous-type-extension-method-linq-and-generic.aspx#63147</link><pubDate>Thu, 14 Aug 2008 09:58:50 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:63147</guid><dc:creator>tutnik</dc:creator><description>&lt;p&gt;ribet ya make static type checking.. enakan yang dinamic.. PHP contohnya.. hehe..&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=63147" width="1" height="1"&gt;</description></item><item><title>re: Tabular XML Data to Hierachical XML Data Translation with XSLT</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/08/14/tabular-xml-data-to-hierachical-xml-data-translation-with-xslt.aspx#63125</link><pubDate>Thu, 14 Aug 2008 02:14:37 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:63125</guid><dc:creator>Jimmy Chandra</dc:creator><description>&lt;p&gt;Forgot one thing... document.documentElement.innerHTML seems to work in FireFox only :(&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=63125" width="1" height="1"&gt;</description></item><item><title>re: Tabular XML Data to Hierachical XML Data Translation with XSLT</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/08/14/tabular-xml-data-to-hierachical-xml-data-translation-with-xslt.aspx#63120</link><pubDate>Thu, 14 Aug 2008 01:30:59 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:63120</guid><dc:creator>asdw</dc:creator><description>&lt;p&gt;i can breathe again, i can breathe again ...&lt;/p&gt;
&lt;p&gt;phew ... good stuff man .. good stuff.&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=63120" width="1" height="1"&gt;</description></item><item><title>re: Tabular XML Data to Hierachical XML Data Translation with XSLT</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/08/14/tabular-xml-data-to-hierachical-xml-data-translation-with-xslt.aspx#63119</link><pubDate>Thu, 14 Aug 2008 01:29:54 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:63119</guid><dc:creator>asdw</dc:creator><description>&lt;p&gt;i can breathe again, i can breathe again ...&lt;/p&gt;
&lt;p&gt;phew ...&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=63119" width="1" height="1"&gt;</description></item><item><title>re: Silly Design Decision?</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/06/30/silly-design-decision.aspx#54395</link><pubDate>Mon, 30 Jun 2008 05:35:36 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:54395</guid><dc:creator>dedi</dc:creator><description>&lt;p&gt;It's really... Hihihihi... :P&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=54395" width="1" height="1"&gt;</description></item><item><title>re: Detecting If a Number has a Decimal Fraction</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/05/28/detecting-if-a-number-has-a-decimal-fraction.aspx#53397</link><pubDate>Sun, 22 Jun 2008 12:43:13 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:53397</guid><dc:creator>Duncan Abela</dc:creator><description>&lt;p&gt;Can't you just mod 1 the number?&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=53397" width="1" height="1"&gt;</description></item><item><title>2 Static  &amp;raquo; Blog Archive   &amp;raquo; Back to Basic: Debug.Assert(&amp;#8230;)</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/06/06/back-to-basic-debug-assert.aspx#50775</link><pubDate>Fri, 06 Jun 2008 16:16:13 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:50775</guid><dc:creator>2 Static  » Blog Archive   » Back to Basic: Debug.Assert(…)</dc:creator><description>&lt;p&gt;Pingback from &amp;nbsp;2 Static &amp;nbsp;&amp;amp;raquo; Blog Archive &amp;nbsp; &amp;amp;raquo; Back to Basic: Debug.Assert(&amp;amp;#8230;)&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=50775" width="1" height="1"&gt;</description></item><item><title>re: Service Principal Name Headache</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/02/29/service-principal-name-headache.aspx#49128</link><pubDate>Fri, 30 May 2008 08:14:18 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:49128</guid><dc:creator>DBA</dc:creator><description>&lt;p&gt;Yes its really &amp;nbsp;a pain, until i found your post&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=49128" width="1" height="1"&gt;</description></item><item><title>re: SQL DateTime Conversion CAST vs CONVERT</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2006/08/13/SQL-DateTime-Conversion-CAST-vs-CONVERT.aspx#49115</link><pubDate>Fri, 30 May 2008 06:48:07 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:49115</guid><dc:creator>Franklin</dc:creator><description>&lt;p&gt;Please tell me about finding the particular number which contain from the particular column of the table. Is it possible in the SQL or front hand.&lt;/p&gt;
&lt;p&gt;examle:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;say column name as billno, it contains around 2000 records, i want to find only one billno from the column. I want to use algorithm, in order to reduse searching time&lt;/p&gt;
&lt;p&gt; send it to this id agilefrank@gmail.com&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=49115" width="1" height="1"&gt;</description></item><item><title>re: Detecting If a Number has a Decimal Fraction</title><link>http://geeks.netindonesia.net/blogs/jimmy/archive/2008/05/28/detecting-if-a-number-has-a-decimal-fraction.aspx#48979</link><pubDate>Wed, 28 May 2008 10:53:48 GMT</pubDate><guid isPermaLink="false">5cc3a90d-ac9a-472a-8983-30514957434c:48979</guid><dc:creator>norman</dc:creator><description>&lt;p&gt;&amp;quot;System.Math.Truncate&amp;quot; will give you the integer part of your double.&lt;/p&gt;
&lt;p&gt;I'm not aware about a built in function that gives the fractional part.&lt;/p&gt;
&lt;p&gt;Anyway, you can simply do this:&lt;/p&gt;
&lt;p&gt;double x = 3.1415;&lt;/p&gt;
&lt;p&gt;bool hasFraction = x - System.Math.Truncate(x) &amp;gt; 0;&lt;/p&gt;
&lt;p&gt;If you want, you can make Extension Methods into the double type to returns the Integer Part or Fractional Part of a double.&lt;/p&gt;
&lt;p&gt;public static double IntegerPart(this double x)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;return System.Math.Truncate(x);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;public static double FractionalPart(this double x)&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; return x - System.Math.Truncate(x);&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;So, you can simply do this:&lt;/p&gt;
&lt;p&gt;double x = 3.14.15;&lt;/p&gt;
&lt;p&gt;bool hasFraction = x.FractionalPart &amp;gt; 0;&lt;/p&gt;
&lt;img src="http://geeks.netindonesia.net/aggbug.aspx?PostID=48979" width="1" height="1"&gt;</description></item></channel></rss>