<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>pek.com</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/" />
    <link rel="self" type="application/atom+xml" href="http://www.pek.com/blogs/pekcom/atom.xml" />
    <id>tag:www.pek.com,2009-02-05:/blogs/pekcom//1</id>
    <updated>2009-02-08T21:28:20Z</updated>
    <subtitle>si tu vale bene est ego valeo</subtitle>
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.23-en</generator>

<entry>
    <title>Performance counter provider in C#</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/08/performance-counter-provider-in-c.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.49</id>

    <published>2005-08-17T22:05:43Z</published>
    <updated>2009-02-08T21:28:20Z</updated>

    <summary>Chris Sells (www.sellsbrothers.com) posted a command line parsing utility class (in C#) a while ago. I can&apos;t find a link to it now so here&apos;s the source. Based on its use of reflection I created a base class for performance...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>Chris Sells (www.sellsbrothers.com) posted a command line parsing utility class (in C#) a while ago. I can't find a link to it now so <a href="http://www.pek.com/projects/commandlineoptions/CommandLineOptions.cs" target="_blank">here</a>'s the source.<br />
 Based on its use of reflection I created a base class for performance counter providers. Download the source <a href="http://www.pek.com/projects/counterprovider/SampleCounter.cs" target="_blank">here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>SmartGrid.NET website</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/03/smartgridnet-website.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.41</id>

    <published>2005-03-28T14:45:27Z</published>
    <updated>2009-02-08T21:28:19Z</updated>

    <summary>SmartGrid.NET is something i am involved with, independently from my current employer....</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p><a href="http://www.smartgrid.net/" target="_blank">SmartGrid.NET</a> is something i am involved with, independently from my <a href="http://www.csfb.com" target="_blank">current employer</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>SmartGraph.NET website</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/03/smartgraphnet-website.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.40</id>

    <published>2005-03-20T09:54:19Z</published>
    <updated>2009-02-08T21:28:18Z</updated>

    <summary> finally managed to put together a website for something i worked on a while ago. its a C# implementation of graph scheduler engine toolkit called SmartGraph.NET NOTE: until the site comes back up the SmartGraph.NET source code can be...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p> finally managed to put together a website for something i worked on a while ago. its a C# implementation of graph scheduler engine toolkit called <a href="http://www.smartgraph.net/" target="_blank">SmartGraph.NET</a></p>

<p><strong>NOTE:</strong> until the site comes back up the SmartGraph.NET source code can be downloaded from <a href="http://www.pek.com/projects/smartgraph/SmartGraph.NET.zip">here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>orca.msi for download - without the whole SDK</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/02/orcamsi-for-download---without-the-whole-sdk.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.39</id>

    <published>2005-02-18T15:26:29Z</published>
    <updated>2009-02-08T21:28:18Z</updated>

    <summary> i have started using msi installations for our project. one thing that i found useful is the orca msi tool, which seems to be part of some Microsoft Platform SDK. you cannot download it separately though, unless you go...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p> i have started using msi installations for our project. one thing that i found useful is the <a href="http://support.installshield.com/kb/view.asp?articleid=Q107066" target="_blank">orca msi tool</a>, which seems to be part of some Microsoft Platform SDK. you cannot download it separately though, unless you go <a href="http://www.pek.com/projects/msi/orca.zip">here</a> ;-)</p>]]>
        
    </content>
</entry>

<entry>
    <title>C# explorer context menu handler</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/02/c-explorer-context-menu-handler.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.38</id>

    <published>2005-02-17T18:25:57Z</published>
    <updated>2009-02-08T21:28:18Z</updated>

    <summary> here&apos;s some code that shows how to implement a Explorer Shell Extension in C#. it allows you to create custom context menus in directories you want. download source code here. references for this implementation: http://www.codeproject.com/shell/ShellExtGuide1.asp http://theserverside.net/articles/showarticle.tss?id=ShellExtensions http://www.codeproject.com/csharp/ratingcolumn.asp once you...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p> here's some code that shows how to implement a Explorer Shell Extension in C#. it allows you to create custom context menus in directories you want. download source code <a href="http://www.pek.com/projects/smartcontextmenu/smartcontextmenu.zip">here</a>.</p>

<p> references for this implementation:<br />
<ul><br />
<li><a href="http://www.codeproject.com/shell/ShellExtGuide1.asp" target="_blank">http://www.codeproject.com/shell/ShellExtGuide1.asp</a></li><br />
<li><a href="http://theserverside.net/articles/showarticle.tss?id=ShellExtensions" target="_blank">http://theserverside.net/articles/showarticle.tss?id=ShellExtensions</a></li><br />
<li><a href="http://www.codeproject.com/csharp/ratingcolumn.asp" target="_blank">http://www.codeproject.com/csharp/ratingcolumn.asp</a></li><br />
</ul></p>

<p> once you build it, use 'regasm /codebase' (i try to stay clear of the GAC as much as possible) to register the assembly for COM interop, that's it!</p>]]>
        
    </content>
</entry>

<entry>
    <title>CComBSTR&apos;s changed behaviour (VC2003 ATL)</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/02/ccombstrs-changed-behaviour-vc2003-atl.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.36</id>

    <published>2005-02-14T13:47:33Z</published>
    <updated>2009-02-08T21:28:17Z</updated>

    <summary> i have just noticed that in ATL shipped with VS2003 CComBSTR ToUpper() and ToLower() ASSERT when called on an empty (not NULL) string. i have to say i don&apos;t understand why that makes sense? surely it is desireable that...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p> i have just noticed that in ATL shipped with VS2003 CComBSTR ToUpper() and ToLower() ASSERT when called on an empty (not NULL) string. i have to say i don't understand why that makes sense? surely it is desireable that a conversion to upper/lower on empty string yield an empty string and not an assertion.</p>

<p> fortunately we use our own CComBSTR wrapper, so the fix for this is as easy as:</p>

<p>&nbsp;&nbsp;&nbsp;HRESULT ToUpper()<br />
&nbsp;&nbsp;&nbsp;{<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if ( ::SysStringLen(this->m_str) > 0 )<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return CComBSTR::ToUpper();</p>

<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return S_OK;<br />
&nbsp;&nbsp;&nbsp;}</p>]]>
        
    </content>
</entry>

<entry>
    <title>wrapper for the ATL::CUrl class</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/02/wrapper-for-the-atlcurl-class.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.35</id>

    <published>2005-02-13T01:20:37Z</published>
    <updated>2009-02-08T21:28:16Z</updated>

    <summary><![CDATA[some useful code for manipulating url-type strings. uses ATL::CUrl and allows non-standard url types. examples provided show how to implement a COM url: &nbsp;&nbsp;&nbsp;com:///Clsid=0002df01-0000-0000-c000-000000000046&ClsCtx=CLSCTX_INPROC_SERVER and a PubSub url: &nbsp;&nbsp;&nbsp;pubsub://localhost:1234/Queue=A.B.C download sources here....]]></summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>some useful code for manipulating url-type strings. uses <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/vclrfcurl.asp" target="_blank">ATL::CUrl</a> and allows non-standard url types. examples provided show how to implement a COM url:</p>

<p>&nbsp;&nbsp;&nbsp;com:///Clsid=0002df01-0000-0000-c000-000000000046&ClsCtx=CLSCTX_INPROC_SERVER</p>

<p>and a PubSub url:</p>

<p>&nbsp;&nbsp;&nbsp;pubsub://localhost:1234/Queue=A.B.C</p>

<p>download sources <a href="http://www.pek.com/projects/smarturl/smarturl.zip">here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>soa2wsdl part II</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/01/soa2wsdl-part-ii.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.34</id>

    <published>2005-01-30T11:38:44Z</published>
    <updated>2009-02-08T21:28:16Z</updated>

    <summary>i decided that soa2wsdl is going to be very useful in helping me deal with web service development (see previous posting on this). i created a simple C# console app which does the transform and which can also execute the...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>i decided that soa2wsdl is going to be very useful in helping me deal with web service development (<a href="http://www.pek.com/blogs/pek/archives/2005/01/soa2wsdl.php">see previous posting on this</a>). i created a simple C# console app which does the transform and which can also execute the 'wsdl.exe' utility to generate C# code from WSDL.<br />
 the zipped project is <a href="http://www.pek.com/projects/soa2wsdl/soa2wsdl.zip">here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>smartgraph.net</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/01/smartgraphnet.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.33</id>

    <published>2005-01-26T15:29:45Z</published>
    <updated>2009-02-08T21:28:16Z</updated>

    <summary>some of my spare time (away from my current employer) is used up developing various ideas, mainly in C# on .NET and C++. one of the concepts that i frequently re-use is the Directed Acyclic Graph or DAG. this is...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>some of my spare time (away from my <a href="http://www.csfb.com" target="_blank">current employer</a>) is used up developing various ideas, mainly in C# on .NET and C++.</p>

<p> one of the concepts that i frequently re-use is the Directed Acyclic Graph or DAG. <a href="http://www.pek.com/projects/smartgraph/smartdag.cs">this</a> is a simple DAG implementation, part of smartgraph.net (soon to go on-line hopefully :-).</p>]]>
        
    </content>
</entry>

<entry>
    <title>soa2wsdl</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2005/01/soa2wsdl.html" />
    <id>tag:www.pek.com,2005:/blogs/pekcom//1.32</id>

    <published>2005-01-23T20:48:14Z</published>
    <updated>2009-02-08T21:28:16Z</updated>

    <summary>i never really liked WSDL, but, because of its interoperability, i use it frequently. in my current work on service oriented architecture (SOA), i stumbled onto an article on Clemens Vasters&apos; blog. it shows how metadata attributes can be used...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>i never really liked <a href="http://www.w3c.org/2002/ws/" target="_blank">WSDL</a>, but, because of its interoperability, i use it frequently. in my current work on <a href="http://c2.com/cgi/wiki?ServiceOrientedArchitecture" target="_blank">service oriented architecture</a> (SOA), i stumbled onto <a href="http://staff.newtelligence.net/clemensv/PermaLink.aspx?guid=122" target="_blank">an article on Clemens Vasters' blog</a>. it shows how metadata attributes can be used to embelish an <a href="http://www.w3c.org/XML/Schema" target="_blank">XML Schema</a>. taking Clemens' hint, i created an <a href="http://www.w3c.org/Style/XSL/" target="_blank">XSL Transform</a> which generates <a href="http://www.w3c.org/2002/ws/" target="_blank">WSDL</a> from 'embelished schemas'. an example of such a schema (<a href="http://www.pek.com/projects/soa2wsdl/soa-sample-getprice.xsd" target="_blank">soa-sample-getprice.xsd</a>) is given below. download the other files:<ul><li><a href="http://www.pek.com/projects/soa2wsdl/soa2wsdl.xsl" target="_blank">soa2wsdl.xsl</a></li><li><a href="http://www.pek.com/projects/soa2wsdl/soa-metadata.xsd" target="_blank">soa-metadata.xsd</a></li></ul><br />
<div style="font-family: Courier New; font-size: 8pt; color: black; background: #CCC; padding-top: 0pt; padding-left: 0pt; padding-right: 0pt; padding-bottom: 0pt;"><pre style="margin: 0px;"><span style="color: blue;">&lt;?</span><span style="color: maroon;">xml</span><span style="color: fuchsia;"> </span><span style="color: red;">version</span><span style="color: blue;">="1.0"</span><span style="color: fuchsia;"> </span><span style="color: red;">encoding</span><span style="color: blue;">="UTF-8"?&gt;</span></pre><pre style="margin: 0px;"><span style="color: blue;">&lt;</span><span style="color: maroon;">xs:schema</span><span style="color: fuchsia;">&nbsp;</span><span style="color: red;">targetNamespace</span><span style="color: blue;">="urn:soa:sample:price-service"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="color: maroon;">xmlns</span><span style="color: fuchsia;">:</span><span style="color: red;">xs</span><span style="color: blue;">="http://www.w3.org/2001/XMLSchema"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="color: maroon;">xmlns</span><span style="color: fuchsia;">:</span><span style="color: red;">soa</span><span style="color: blue;">="urn:soa:metadata"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="color: maroon;">xmlns</span><span style="color: fuchsia;">:</span><span style="color: red;">tns</span><span style="color: blue;">="urn:soa:sample:price-service"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="color: red;">xmlns</span><span style="color: blue;">="urn:soa:sample:price-service"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="color: red;">elementFormDefault</span><span style="color: blue;">="qualified"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">service</span><span style="color: blue;">="GetPriceService"</span></u><span style="color: fuchsia;"> </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">url</span><span style="color: blue;">="http://soa1.soahost.net"</span></u></pre><pre style="margin: 0px;"><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:complexType</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceRequestType"&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:sequence</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="SessionId"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="Ric"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:sequence</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:complexType</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:complexType</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceResponseType"&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:sequence</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="SessionId"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="Ric"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="Value"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:sequence</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:complexType</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:complexType</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceFaultType"&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:sequence</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="SessionId"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="Ric"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="Reason"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="xs:string"/&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:sequence</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:complexType</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:complexType</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceMethodType"&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:all</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceRequest"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="tns:GetPriceRequestType"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">message</span><span style="color: blue;">="GetPriceRequestMessage"</span></u><span style="color: fuchsia;"> </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">message-type</span><span style="color: blue;">="request"/&gt;</span></u></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceResponse"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="tns:GetPriceResponseType"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">message</span><span style="color: blue;">="GetPriceResponseMessage"</span><span style="color: fuchsia;"> </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">message-type</span><span style="color: blue;">="response"/&gt;</span></u></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceFault"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="tns:GetPriceFaultType"</span><span style="color: fuchsia;"> </span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">message</span><span style="color: blue;">="GetPriceFaultMessage"</span></u><span style="color: fuchsia;"> </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">message-type</span><span style="color: blue;">="fault"/&gt;</span></u></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:all</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:complexType</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:complexType</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceInterfaceType"&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:all</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceMethod"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="tns:GetPriceMethodType"</span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">method</span><span style="color: blue;">="GetPriceMethod"/&gt;</span></u></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:all</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:complexType</span><span style="color: blue;">&gt;</span></pre><pre style="margin: 0px;">&nbsp;&nbsp;&nbsp; <span style="color: blue;">&lt;</span><span style="color: maroon;">xs:element</span><span style="color: fuchsia;"> </span><span style="color: red;">name</span><span style="color: blue;">="GetPriceInterface"</span><span style="color: fuchsia;"> </span><span style="color: red;">type</span><span style="color: blue;">="tns:GetPriceInterfaceType"</span></pre><pre style="margin: 0px;"><span style="color: fuchsia;">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; </span><u><span style="color: maroon;">soa</span><span style="color: fuchsia;">:</span><span style="color: red;">interface</span><span style="color: blue;">="GetPriceInterface"</u>/&gt;</span></pre><pre style="margin: 0px;"><span style="color: blue;">&lt;/</span><span style="color: maroon;">xs:schema</span><span style="color: blue;">&gt;</span></pre></div></p>]]>
        
    </content>
</entry>

<entry>
    <title>bulenka</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2004/07/bulenka.html" />
    <id>tag:www.pek.com,2004:/blogs/pekcom//1.31</id>

    <published>2004-07-22T08:18:52Z</published>
    <updated>2009-02-08T21:28:16Z</updated>

    <summary> image of my granny&apos;s portrait can be found here. my uncle painted it...</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p> image of my granny's portrait can be found <a href='http://www.pek.com/images/bulenka.jpg' target='_blank'>here</a>. my uncle painted it...</p>]]>
        
    </content>
</entry>

<entry>
    <title>XmlDiffUtils</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2004/06/xmldiffutils.html" />
    <id>tag:www.pek.com,2004:/blogs/pekcom//1.30</id>

    <published>2004-06-29T22:30:04Z</published>
    <updated>2009-02-08T21:28:15Z</updated>

    <summary>.NET utils (written in c#) for comparing xml files using the Microsoft.XmlDiff api.

Added benefits:


files, before being compared, can be filtered using an XPath. The XPath can be used to ignore or select nodes
target of comparison can be a (pattern-matched) list of files in a directory or a single file
create equivalence classes for a given set of xml files


Download the source code here.</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>.NET utils (written in c#) for comparing xml files using the <a href='http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxmlnet/html/xmldiff.asp' target='_blank'>Microsoft.XmlDiff api</a>.</p>

<p>Added benefits:</p>

<ul>
<li>files, before being compared, can be filtered using an XPath. The XPath can be used to ignore or select nodes</li>
<li>target of comparison can be a (pattern-matched) list of files in a directory or a single file</li>
<li>create equivalence classes for a given set of xml files</li>
</ul>

<p>Download the source code <a href='http://www.pek.com/projects/XmlDiffUtils.zip' target='_blank'>here</a>.</p>]]>
        
    </content>
</entry>

<entry>
    <title>bialowieza</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2004/06/bialowieza.html" />
    <id>tag:www.pek.com,2004:/blogs/pekcom//1.29</id>

    <published>2004-06-16T18:31:03Z</published>
    <updated>2009-02-08T21:28:15Z</updated>

    <summary>here&apos;s some pictures i took in bialowieza, a national park in poland

the camera: canon ixus i, 4Mpx</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>here's <a href='http://www.pek.com/images/bialowieza/' target='_blank'>some pictures</a> i took in <a href='http://hum.amu.edu.pl/~zbzw/ph/pnp/bial.htm' target='_blank'>bialowieza, a national park in poland</a></p>

<p>the camera: canon ixus i, 4Mpx</p>]]>
        
    </content>
</entry>

<entry>
    <title>an interesting threading implementation</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2004/04/an-interesting-threading-implementation.html" />
    <id>tag:www.pek.com,2004:/blogs/pekcom//1.28</id>

    <published>2004-04-17T15:23:29Z</published>
    <updated>2009-02-08T21:28:15Z</updated>

    <summary>This is an implementation of ideas presented by Kevlin Henney
(kevlin@curbraland.com) at the Spring 2004 ACCU
conference in Oxford, UK. Kevlin&apos;s presentation can be found
here, in pdf. Check out Kevlin&apos;s website for more information.
	
NOTE

This is just something that compiles and runs. More work is required to make this usable.</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p><a href='http://www.pek.com/projects/threader.zip' target='_blank'>This</a> is an implementation of ideas presented by Kevlin Henney (kevlin@curbraland.com) at the <a href='http://www.accu.org/conference' target='_blank'>Spring 2004 ACCU</a> conference in Oxford, UK. Kevlin's presentation can be found <a href='http://www.two-sdg.demon.co.uk/curbralan/papers/accu/MoreC++Threading.pdf' target='_blank'>here, in pdf</a>. Check out <a href='http://www.curbralan.com/' target='_blank'>Kevlin's website</a> for more information.<br />
	<br />
<b>NOTE</b></p>

<p>This is just something that compiles and runs. More work is required to make this usable.</p>]]>
        
    </content>
</entry>

<entry>
    <title>fsynk .net</title>
    <link rel="alternate" type="text/html" href="http://www.pek.com/blogs/pekcom/2004/04/fsynk-net.html" />
    <id>tag:www.pek.com,2004:/blogs/pekcom//1.26</id>

    <published>2004-04-14T20:08:46Z</published>
    <updated>2009-02-08T21:28:15Z</updated>

    <summary>fsynk is a command line utility, written in c#, which recursively synchronizes files between 2 directories. download the source from here.

i use it to synchronize (ie back up) my mp3 collection onto a removable usb harddrive.</summary>
    <author>
        <name>filipek</name>
        <uri>http://www.pek.com</uri>
    </author>
    
        <category term="pek" scheme="http://www.sixapart.com/ns/types#category" />
    
    
    <content type="html" xml:lang="en-US" xml:base="http://www.pek.com/blogs/pekcom/">
        <![CDATA[<p>fsynk is a command line utility, written in c#, which recursively synchronizes files between 2 directories. download the source from <a href='http://www.pek.com/projects/fsynk.zip'>here</a>.</p>

<p>i use it to synchronize (ie back up) my mp3 collection onto a removable usb harddrive.</p>]]>
        
    </content>
</entry>

</feed>
