<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xml:lang="en-US">
    <title>In Absentia - a blog by Igal Tabachnik</title>
    
    <subtitle type="html">.NET, Music, and Single Malt Scotch Whisky</subtitle>
    <id>http://www.hmemcpy.com/blog/Default.aspx</id>
    <author>
        <name>Igal Tabachnik</name>
        <uri>http://www.hmemcpy.com/blog/Default.aspx</uri>
    </author>
    <generator uri="http://subtextproject.com" version="Subtext Version 2.1.0.5">Subtext</generator>
    <updated>2009-09-17T14:41:05Z</updated>
    <link rel="self" href="http://feeds.feedburner.com/hmemcpy" type="application/atom+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><entry>
        <title>Configure Fiddler to use a 3rd party Diff tool</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/09/16/configure-fiddler-to-use-3rd-party-diff-tool.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/09/16/configure-fiddler-to-use-3rd-party-diff-tool.aspx</id>
        <published>2009-09-16T12:08:52Z</published>
        <updated>2009-09-17T14:41:05Z</updated>
        <content type="html">&lt;p&gt;I use the awesome &lt;a href="http://www.fiddler2.com/fiddler2/"&gt;Fiddler2&lt;/a&gt; to debug HTTP, and I needed to compare sessions. Fiddler has a support for this, but when I clicked &lt;strong&gt;Tools → Compare Sessions&lt;/strong&gt;, it prompted me to install &lt;strong&gt;Windiff.exe&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I haven’t found a way to set the &lt;a href="http://www.scootersoftware.com/moreinfo.php"&gt;preferred Diff tool&lt;/a&gt; in the UI (via Options), so after looking at the click handler for the menu in &lt;a href="http://www.red-gate.com/products/reflector/"&gt;Reflector&lt;/a&gt;, I found out that the value can be set via Registry key:&lt;/p&gt;
&lt;ol&gt;
    &lt;li&gt;Open Registry, go to &lt;/li&gt;
&lt;/ol&gt;
&lt;div style="margin-left: 80px;"&gt;&lt;font size="2" style="font-family: courier new;"&gt;HKEY_CURRENT_USER\Software\Microsoft\Fiddler2&lt;/font&gt;&lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Add a new String Value called &lt;strong&gt;CompareTool&lt;/strong&gt; and set the value to the path of your favorite Diff tool&lt;/li&gt;
&lt;/ol&gt;
&lt;div style="margin-left: 80px;"&gt;(e.g. &lt;span style="font-family: courier new;"&gt;"C:\Program Files\Beyond Compare 3\BCompare.exe"&lt;/span&gt;) &lt;/div&gt;
&lt;ol&gt;
    &lt;li&gt;Restart Fiddler &lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;That’s it!&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/17.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/17.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/17.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/17.aspx</trackback:ping>
    </entry>
    <entry>
        <title>This is why I love Google</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/07/23/this-is-why-i-love-google.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/07/23/this-is-why-i-love-google.aspx</id>
        <published>2009-07-23T15:56:40Z</published>
        <updated>2009-07-23T15:58:19Z</updated>
        <content type="html">&lt;p&gt;Google “&lt;a target="_blank" href="http://www.google.com/search?q=recursion"&gt;recursion&lt;/a&gt;”.&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/16.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/16.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/16.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/16.aspx</trackback:ping>
    </entry>
    <entry>
        <title>WinForms bug: NodeMouseDoubleClick event in TreeView will sometimes have the wrong node in EventArgs</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/05/21/winforms-bug-nodemousedoubleclick-event-in-treeview-will-sometimes-have-wrong-node-in-eventargs.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/05/21/winforms-bug-nodemousedoubleclick-event-in-treeview-will-sometimes-have-wrong-node-in-eventargs.aspx</id>
        <published>2009-05-21T22:46:15Z</published>
        <updated>2009-05-21T23:28:52Z</updated>
        <content type="html">&lt;p&gt;Here’s a strange bug I’ve encountered today in a WinForms application. Usually, double clicking on a collapsed tree node (which obviously has child nodes) will expand it. Most of the time when we need something to happen when a child node is double clicked, but not the parent, we write something similar to:&lt;/p&gt;  &lt;div id="codeSnippetWrapper"&gt;   &lt;div style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px" id="codeSnippet"&gt;     &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum1"&gt;   1:&lt;/span&gt; &lt;span style="color: #0000ff"&gt;void&lt;/span&gt; NodeMouseDoubleClick(&lt;span style="color: #0000ff"&gt;object&lt;/span&gt; sender, TreeNodeMouseClickEventArgs e)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum2"&gt;   2:&lt;/span&gt; {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum3"&gt;   3:&lt;/span&gt;   &lt;span style="color: #0000ff"&gt;if&lt;/span&gt; (e.Node.Nodes.Count == 0)&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum4"&gt;   4:&lt;/span&gt;   {&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum5"&gt;   5:&lt;/span&gt;     &lt;span style="color: #008000"&gt;// ... handle child node&lt;/span&gt;&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: #f4f4f4; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum6"&gt;   6:&lt;/span&gt;   }&lt;/pre&gt;
&lt;!--CRLF--&gt;

    &lt;pre style="border-bottom-style: none; text-align: left; padding-bottom: 0px; line-height: 12pt; border-right-style: none; background-color: white; margin: 0em; padding-left: 0px; width: 100%; padding-right: 0px; font-family: 'Courier New', courier, monospace; direction: ltr; border-top-style: none; color: black; font-size: 8pt; border-left-style: none; overflow: visible; padding-top: 0px"&gt;&lt;span style="color: #606060" id="lnum7"&gt;   7:&lt;/span&gt; }&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;

&lt;div&gt;To my surprise, I discovered today that by double clicking on a collapsed parent node, the &lt;font face="Courier New"&gt;e.Node&lt;/font&gt;&lt;font face="Lucida Sans Unicode"&gt; parameter was not the node I actually double clicked on, but one of the child nodes. Since the sub-child nodes count was 0, the event handled the (incorrect) node.&lt;/font&gt;&lt;/div&gt;

&lt;p&gt;I noticed that it was not the same node all the time – it was different. I made a small WinForm application with just a TreeView, and I filled it with the contents of my &lt;strong&gt;C:\Windows&lt;/strong&gt; directory. I placed a &lt;font face="Courier New"&gt;MessageBox.Show(e.Node.Text);&lt;/font&gt;&lt;font face="Lucida Sans Unicode"&gt; in the NodeMouseDoubleClick handler. And that helped me realize that the e.Node is actually the node that is currently under the mouse cursor!&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;Here’s the initial state:&lt;/p&gt;

&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/WinFormsbugNodeMouseDoubleClickeventinTr_14043/image_3.png" width="300" height="302" /&gt; &lt;/p&gt;

&lt;p&gt;Double clicking on &lt;strong&gt;Fonts&lt;/strong&gt; makes the following happen:&lt;/p&gt;

&lt;p&gt;&lt;img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/WinFormsbugNodeMouseDoubleClickeventinTr_14043/image_6.png" width="303" height="309" /&gt; &lt;/p&gt;

&lt;p /&gt;

&lt;p /&gt;

&lt;p&gt;Notice where the cursor is – that’s the node that was passed in the event handler. Apparently, during the expand, if there are more child nodes that fit on the screen, the parent node scrolls to the top, but the cursor stays in the same place where the double click occurred. &lt;/p&gt;

&lt;p&gt;I googled up this problem and I found that this bug was &lt;a href="http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=304958"&gt;reported on Connect&lt;/a&gt;, and it will be fixed in the next version.&lt;/p&gt;

&lt;p&gt;In the mean time, the workaround is to use the TreeView’s &lt;strong&gt;SelectedNode&lt;/strong&gt; property instead.&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/15.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/15.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/15.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/15.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Smart Paste Add-In for Visual Studio 2008</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/05/19/smart-paste-add-in-for-visual-studio-2008.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/05/19/smart-paste-add-in-for-visual-studio-2008.aspx</id>
        <published>2009-05-19T11:57:18Z</published>
        <updated>2009-05-19T13:32:29Z</updated>
        <content type="html">&lt;p&gt;Say you need to paste a chunk of XML (or &lt;a href="http://en.wikipedia.org/wiki/Well-known_text" target="_blank"&gt;WKT&lt;/a&gt;) into Visual Studio as a string literal (for your unit tests, or what not). How would you do it?&lt;/p&gt;  &lt;p&gt;In C# &lt;a href="http://msdn.microsoft.com/en-us/library/aa691090(VS.71).aspx" target="_blank"&gt;string literals can be represented in two ways&lt;/a&gt;:&lt;/p&gt;  &lt;blockquote&gt;   &lt;p&gt;C# supports two forms of string literals: regular string literals and verbatim string literals.&lt;/p&gt;    &lt;p&gt;A regular string literal consists of zero or more characters enclosed in double quotes, as in &lt;code&gt;&lt;font size="2"&gt;"&lt;code&gt;hello&lt;/code&gt;"&lt;/font&gt;&lt;/code&gt;, and may include both simple escape sequences (such as &lt;code&gt;&lt;font size="2"&gt;\t&lt;/font&gt;&lt;/code&gt; for the tab character) and hexadecimal and Unicode escape sequences.&lt;/p&gt;    &lt;p&gt;A verbatim string literal consists of an &lt;code&gt;@&lt;/code&gt; character followed by a double-quote character, zero or more characters, and a closing double-quote character. A simple example is &lt;code&gt;&lt;font size="2"&gt;@"hello"&lt;/font&gt;&lt;/code&gt;. In a verbatim string literal, the characters between the delimiters are interpreted verbatim, the only exception being a &lt;em&gt;quote-escape-sequence&lt;/em&gt;. In particular, simple escape sequences and hexadecimal and Unicode escape sequences are not processed in verbatim string literals. A verbatim string literal may span multiple lines. &lt;/p&gt; &lt;/blockquote&gt;  &lt;p&gt;So when you have a chunk of text that looks like this:&lt;/p&gt;  &lt;p /&gt;  &lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:18902789-bd93-4cfc-b8b7-2fb32d8e46d2" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;;font-family:Courier New;font-size:9.75"&gt;&lt;span style="color: #000000;"&gt;    PROJCS[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;OSGB 1936 / British National Grid&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,
        GEOGCS[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;OSGB 1936&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,
            DATUM[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;OSGB_1936&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,
                SPHEROID[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;Airy 1830&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;6377563.396&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;299.3249646&lt;/span&gt;&lt;span style="color: #000000;"&gt;,AUTHORITY[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;EPSG&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;7001&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;]],
                TOWGS84[&lt;/span&gt;&lt;span style="color: #800080;"&gt;375&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #000000;"&gt;-&lt;/span&gt;&lt;span style="color: #800080;"&gt;111&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;431&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;],
                AUTHORITY[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;EPSG&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;6277&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;]],
            PRIMEM[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;Greenwich&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;0&lt;/span&gt;&lt;span style="color: #000000;"&gt;,AUTHORITY[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;EPSG&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;8901&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;]],
            UNIT[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;DMSH&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800080;"&gt;0.0174532925199433&lt;/span&gt;&lt;span style="color: #000000;"&gt;,AUTHORITY[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;EPSG&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;9108&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;]],
            AXIS[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;Lat&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,NORTH],
            AXIS[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;Long&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,EAST],
            AUTHORITY[&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;EPSG&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;,&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;4277&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt;]]&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt;How would you go about turning this into an escaped string literal (verbatim or regular)?&lt;/p&gt;

&lt;p&gt;Being as most programmers are, well, lazy, I didn’t want to do yet another find/replace session. I googled for the first thing that came to mind, “Smart Paste Visual Studio 2008”. I found this great add-in called &lt;a href="http://weblogs.asp.net/alex_papadimoulis/archive/2004/05/25/141400.aspx" target="_blank"&gt;Smart Paster&lt;/a&gt; by &lt;a href="http://weblogs.asp.net/alex_papadimoulis/default.aspx"&gt;Alex Papadimoulis&lt;/a&gt; (creator of &lt;a href="http://thedailywtf.com" target="_blank"&gt;TheDailyWTF&lt;/a&gt;), which adds a highly configurable “Paste As…” context menu:&lt;/p&gt;

&lt;p&gt;&lt;img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="" border="0" alt="" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/SmartPasteAddInforVisualStudio2008_9339/image_3.png" width="513" height="163" /&gt; &lt;/p&gt;

&lt;p&gt;And now, all I need to do is “Paste As” string, to get this (with a few tweaks):&lt;/p&gt;

&lt;p /&gt;

&lt;div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:eda91e57-44ee-4ba4-b474-7e7e2b409cfc" class="wlWriterEditableSmartContent"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;;font-family:Courier New;font-size:9.75"&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;    PROJCS[\"OSGB 1936 / British National Grid\",&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;        GEOGCS[\"OSGB 1936\",&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;            DATUM[\"OSGB_1936\",&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;                SPHEROID[\"Airy 1830\",6377563.396,299.3249646,AUTHORITY[\"EPSG\",\"7001\"]],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;                TOWGS84[375,-111,431,0,0,0,0],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;                AUTHORITY[\"EPSG\",\"6277\"]],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;            PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;            UNIT[\"DMSH\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9108\"]],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;            AXIS[\"Lat\",NORTH],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;            AXIS[\"Long\",EAST],&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #000000;"&gt;+&lt;/span&gt;&lt;span style="color: #000000;"&gt;
&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;span style="color: #800000;"&gt;            AUTHORITY[\"EPSG\",\"4277\"]]&lt;/span&gt;&lt;span style="color: #800000;"&gt;"&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt;Thanks for the Add-in, Alex!&lt;/p&gt;

&lt;p&gt;P.S. The add-in written in Visual Basic, and the installer targets .NET 1.1. For 2008 you need to compile from source yourself, but if you don’t have Visual Basic installed, you can download the compiled assemblies from my SkyDrive. Place them in your &lt;strong&gt;C:\Users\&amp;lt;username&amp;gt;\Documents\Visual Studio 2008\Addins&lt;/strong&gt; directory&lt;strong&gt;.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe style="border-bottom: rgb(221,229,233) 1px solid; border-left: rgb(221,229,233) 1px solid; padding-bottom: 0px; background-color: rgb(255,255,255); margin: 3px; padding-left: 0px; width: 240px; padding-right: 0px; height: 66px; border-top: rgb(221,229,233) 1px solid; border-right: rgb(221,229,233) 1px solid; padding-top: 0px" marginheight="0" src="http://cid-86665d02cd7ef5cf.skydrive.live.com/embedrowdetail.aspx/Public/SmartPaster2008.AddIn.zip" frameborder="0" marginwidth="0" scrolling="no"&gt;&amp;amp;amplt;/p&amp;amp;ampgt;&amp;amp;amplt;/body&amp;amp;ampgt;&amp;amp;amplt;/html&amp;amp;ampgt;&lt;/iframe&gt;&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/11.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/11.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/11.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/11.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Awesome tip: make View Code default double click action on a WinForm control</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/05/10/make-view-code-default-double-click-action-on-a-winform-control.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/05/10/make-view-code-default-double-click-action-on-a-winform-control.aspx</id>
        <published>2009-05-10T17:51:34Z</published>
        <updated>2009-05-10T17:51:34Z</updated>
        <content type="html">&lt;p&gt;Here is something I wish I’d known years ago – you can make the “View Source” action default when you double click on a WinForm control.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Here’s how:&lt;/strong&gt;&lt;/p&gt;  &lt;ol&gt;   &lt;li&gt;Right click any Form/UserControl file, and choose &lt;strong&gt;Open With…&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;Select &lt;strong&gt;CSharp Editor&lt;/strong&gt;, then press &lt;strong&gt;Set as Default&lt;/strong&gt; &lt;/li&gt;    &lt;li&gt;???? &lt;/li&gt;    &lt;li&gt;Profit! &lt;/li&gt; &lt;/ol&gt;  &lt;p&gt;That’s it! Now you won’t break the keyboard when you accidentally double click on your MainForm.cs file.&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/10.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/10.aspx</wfw:comment>
        <slash:comments>5</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/10.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/10.aspx</trackback:ping>
    </entry>
    <entry>
        <title>(I'm crying) Amazon Kindle DX - the 10" PDF reader</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/05/07/amazon-kindle-dx-10-inch-pdf-reader.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/05/07/amazon-kindle-dx-10-inch-pdf-reader.aspx</id>
        <published>2009-05-07T10:28:47Z</published>
        <updated>2009-05-07T12:21:08Z</updated>
        <content type="html">&lt;p&gt;&lt;img width="227" height="240" border="0" align="right" src="http://g-ecx.images-amazon.com/images/G/01/kindle/nell/photos/hero-top-right-05._V244132736_.jpg" style="border-width: 0px; display: inline;" alt="" /&gt; Amazon just went ahead and announced the new &lt;a target="_blank" href="http://www.amazon.com/Kindle-DX-Amazons-Wireless-Generation/dp/B0015TCML0"&gt;Kindle DX&lt;/a&gt; – a bigger Kindle with &lt;strong&gt;native PDF support&lt;/strong&gt;. The major difference is of course the size: the new Kindle DX has a 1200x824 resolution, and it is priced at $489. It is scheduled to ship at Summer 2009.&lt;/p&gt;
&lt;p&gt;Here are some additional details:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Size: 10.4″ x 7.2″ x 0.38″ (Kindle 2: 8″ x 5.3″ x 0.36″) &lt;/li&gt;
    &lt;li&gt;Display: 16 shades of gray eInk 9.7″ 1200×824 pixels (Kindle 2: 6″ 800×600) &lt;/li&gt;
    &lt;li&gt;Weight: 18.9oz (Kindle 2: 10.2oz) &lt;/li&gt;
    &lt;li&gt;Storage: 3.3GB (Kindle 2: 1.4GB) &lt;/li&gt;
    &lt;li&gt;Battery life: 4 days with 3G modem on, 2 weeks with modem off &lt;/li&gt;
    &lt;li&gt;Connectivity: 3G wireless modem, USB 2.0 port and 3.5mm audio jack &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Dr. House says it best:&lt;/p&gt;
&lt;p&gt;&lt;img width="244" height="165" border="0" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/ImcryingAmazonKindleDXthe10PDFreader_93BC/house-do-want_thumbnail_3.jpg" alt="house-do-want_thumbnail" title="house-do-want_thumbnail" style="border: 0px none ; display: inline;" /&gt;&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/9.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/9.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/9.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/9.aspx</trackback:ping>
    </entry>
    <entry>
        <title>ReSharper: Fixing array and object initializer indentation</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/04/22/resharper-fixing-array-object-initializer-indentation.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/04/22/resharper-fixing-array-object-initializer-indentation.aspx</id>
        <published>2009-04-22T10:55:49Z</published>
        <updated>2009-04-22T11:01:53Z</updated>
        <content type="html">&lt;p&gt;There are tons of options when it comes to configuring your coding style in ReSharper. Somehow I managed to screw the indentation of array and object initializers’ variables. This is what it looked like (I use &lt;strong&gt;At Next Line (BSD style)&lt;/strong&gt; setting):&lt;/p&gt;  &lt;p /&gt;  &lt;div class="wlWriterEditableSmartContent" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:4195ae35-ed37-494a-a2a9-a9da0a1b1ad5" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;;font-family:Consolas;font-size:12"&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;[] array &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;[]
{
&lt;/span&gt;&lt;span style="color: #800080;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;3&lt;/span&gt;&lt;span style="color: #000000;"&gt;
}&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;

&lt;p /&gt;

&lt;p&gt;To fix this, go to &lt;strong&gt;Formatting Style –&amp;gt; Other&lt;/strong&gt;, and set the &lt;em&gt;Continuous line indent multiplier&lt;/em&gt; to 1 (mine was 0)&lt;/p&gt;

&lt;p&gt;&lt;img title="image" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="99" alt="image" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/ReSharperFixingarrayandobjectinitializer_99DD/image_3.png" width="470" border="0" /&gt;&lt;/p&gt;

&lt;p&gt;And now it’s back to normal:&lt;/p&gt;

&lt;div class="wlWriterEditableSmartContent" id="scid:57F11A72-B0E5-49c7-9094-E3A15BD5B5E6:4a529637-5b62-430f-8e0b-cb67b8c64887" style="padding-right: 0px; display: inline; padding-left: 0px; float: none; padding-bottom: 0px; margin: 0px; padding-top: 0px"&gt;&lt;pre style="background-color:#FFFFFF;overflow: auto;;font-family:Consolas;font-size:12"&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;[] array &lt;/span&gt;&lt;span style="color: #000000;"&gt;=&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;new&lt;/span&gt;&lt;span style="color: #000000;"&gt; &lt;/span&gt;&lt;span style="color: #0000FF;"&gt;int&lt;/span&gt;&lt;span style="color: #000000;"&gt;[]
{
  &lt;/span&gt;&lt;span style="color: #800080;"&gt;1&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;2&lt;/span&gt;&lt;span style="color: #000000;"&gt;, &lt;/span&gt;&lt;span style="color: #800080;"&gt;3&lt;/span&gt;&lt;span style="color: #000000;"&gt;
}&lt;/span&gt;&lt;/pre&gt;&lt;!-- Code inserted with Steve Dunn's Windows Live Writer Code Formatter Plugin.  http://dunnhq.com --&gt;&lt;/div&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/8.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/8.aspx</wfw:comment>
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/8.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/8.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Skype finally comes to the iPhone</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/03/31/skype-finally-comes-to-the-iphone.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/03/31/skype-finally-comes-to-the-iphone.aspx</id>
        <published>2009-03-31T12:32:23Z</published>
        <updated>2009-03-31T12:57:15Z</updated>
        <content type="html">&lt;p&gt;Skype for the iPhone was &lt;a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=304878510&amp;amp;mt=8" target="_blank"&gt;released&lt;/a&gt; in the App Store today. Unfortunately, it was crashing on startup – it showed the Skype blue logo and then crashed back to the home screen. A quick Google query led me to discover that I’m not alone – this affects many “jailbroken” iPhone users.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;UPDATE: &lt;/strong&gt;To fix this on a jailbroken iPhone, update the package “&lt;strong&gt;Mobile Substrate”&lt;/strong&gt; on Cydia to version &lt;strong&gt;0.9.2803-1&lt;/strong&gt; (or higher). After the update Skype works great!&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/7.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/7.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/7.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/7.aspx</trackback:ping>
    </entry>
    <entry>
        <title>ReSharper 4.5 Beta Released - First Impressions</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/03/18/resharper-4.5-beta-released.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/03/18/resharper-4.5-beta-released.aspx</id>
        <published>2009-03-18T10:46:28Z</published>
        <updated>2009-03-29T11:45:38Z</updated>
        <content type="html">&lt;p&gt;JetBrains just &lt;a target="_blank" href="http://www.jetbrains.com/resharper/beta.html"&gt;announced&lt;/a&gt; that ReSharper 4.5 has reached Beta status, and now available to &lt;a target="_blank" href="http://download.jetbrains.com/resharper/ReSharperSetup.4.5.1208.6.msi"&gt;download&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here are some of my first impressions:&lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;The installation was a snap – it asked to remove the previous version (4.1), and installed the new version instead, while keeping the previous settings. &lt;/li&gt;
    &lt;li&gt;There is a noticeable improvement in the Visual Studio 2008 responsiveness after startup, Start Page appears to be frozen much less than before. &lt;/li&gt;
    &lt;li&gt;Memory usage has dramatically improved! &lt;strong&gt;devenv.exe&lt;/strong&gt; is no longer the hungriest process on my system, Firefox has regained its rightful place at the top of the Task Manager: &lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-left: 40px;"&gt;&lt;img width="552" height="461" border="0" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/ReSharper4.5BetaReleased_97EE/image_3.png" alt="" style="border-width: 0px; display: inline;" title="image" /&gt; &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;The &lt;strong&gt;Options&lt;/strong&gt; dialog contains a new page for &lt;strong&gt;Naming Style&lt;/strong&gt; settings, allowing much more control in customizing the naming conventions: &lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-left: 40px;"&gt;&lt;img width="700" height="704" border="0" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/ReSharper4.5BetaReleased_97EE/image_6.png" alt="image" style="border-width: 0px; display: inline;" title="image" /&gt;  &lt;/p&gt;
&lt;ul&gt;
    &lt;li&gt;Finally, there is now a solution-wide analysis of unused public/protected methods, as well as visibility (works only when solution-wide analysis is on): &lt;/li&gt;
&lt;/ul&gt;
&lt;p style="margin-left: 40px;"&gt;&lt;img width="258" height="103" border="0" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/ReSharper4.5BetaReleased_97EE/image_7.png" alt="image" style="border-width: 0px; display: inline;" title="image" /&gt;&lt;/p&gt;
&lt;p style="margin-left: 40px;"&gt; &lt;img width="341" height="81" border="0" src="http://www.hmemcpy.com/blog/images/www_hmemcpy_com/blog/WindowsLiveWriter/ReSharper4.5BetaReleased_97EE/image_10.png" alt="image" style="border-width: 0px; display: inline;" title="image" /&gt; &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;  &lt;/p&gt;
&lt;p&gt;That’s it for now. The beta seems stable and fast! Another quality product from the wizards at JetBrains. Can't wait for the final version!&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/6.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/6.aspx</wfw:comment>
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/6.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/6.aspx</trackback:ping>
    </entry>
    <entry>
        <title>Kindle 2 in Israel part 2: What works, what doesn't</title>
        <link rel="alternate" type="text/html" href="http://www.hmemcpy.com/blog/archive/2009/03/17/kindle-2-in-israel-part-2-what-works-what-doesnt.aspx" />
        <id>http://www.hmemcpy.com/blog/archive/2009/03/17/kindle-2-in-israel-part-2-what-works-what-doesnt.aspx</id>
        <published>2009-03-17T11:39:23Z</published>
        <updated>2009-03-18T12:33:18Z</updated>
        <content type="html">&lt;p&gt;One of the main selling points of the Kindle is Whispernet – a &lt;em&gt;free&lt;/em&gt; EVDO Internet (provided by Sprint), which allows downloading content on the Kindle, browsing the web, reading RSS feeds, and searching Wikipedia. This is all brilliantly illustrated in this &lt;a target="_blank" href="http://xkcd.com/548/"&gt;xkcd&lt;/a&gt; comic:&lt;/p&gt;
&lt;p&gt; &lt;img src="http://imgs.xkcd.com/comics/kindle.png" style="display: inline; margin-left: 0px; margin-right: 0px;" alt="" /&gt; &lt;/p&gt;
&lt;p&gt;Unfortunately, Sprint’s coverage of Israel is pretty bad :)&lt;/p&gt;
&lt;p&gt;There are two “registrations” of the Kindle. The first one is on the Amazon site. Since I purchased the device for myself, in my own account, the Kindle had automatically been assigned to me. This allows me to purchase Kindle content on the Amazon site, since it knows that I own a Kindle. The second registration is needed to be performed in the device itself. Since there is currently no way of connecting the Kindle to the Internet, I cannot register the device. Until Kindle is online and registered, many features are disabled; even the clock on the Kindle is set wirelessly. This is unfortunate – all the free book samples from Amazon can be only delivered wirelessly to the Kindle, although some alternative eBook stores exist.&lt;/p&gt;
&lt;p&gt;Until it becomes possible to register the device in some other way, the only thing I can enjoy are books manually transferred to the Kindle via USB. It appears as a removable thumb drive on my PC, having only 1.4GB of free storage (the rest is used by the OS), so copying content to the Kindle is very easy – just drag and drop. Once disconnected (or ejected) from the PC, the new content immediately appears in the Home page.&lt;/p&gt;
&lt;p&gt;One more issue with the Kindle is that it comes with Latin-only characters font. It &lt;em&gt;supports&lt;/em&gt; Unicode (there was some confusion on this point – Kindle reads Unicode characters, it just lacks the fonts to display them correctly). There is some progress being made by &lt;a target="_blank" href="http://www.mobileread.com/forums/forumdisplay.php?f=140"&gt;the community&lt;/a&gt; to have additional fonts available on the Kindle.&lt;/p&gt;
&lt;p&gt;Bottom line: without realizing it, I’ve spent 3 hours last night reading on the Kindle. No eye strain, no stiff hands, no uncomfortable positions – the Kindle is a joy to read on, and I intend to do so much more of that.&lt;/p&gt;&lt;img src="http://www.hmemcpy.com/blog/aggbug/5.aspx" width="1" height="1" /&gt;</content>
        <wfw:comment>http://www.hmemcpy.com/blog/comments/5.aspx</wfw:comment>
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.hmemcpy.com/blog/comments/commentRss/5.aspx</wfw:commentRss>
        <trackback:ping>http://www.hmemcpy.com/blog/services/trackbacks/5.aspx</trackback:ping>
    </entry>
</feed>
