<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Philosophy, Technology and Math</title>
	<atom:link href="http://www.mrrives.com/Technology/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.mrrives.com/Technology</link>
	<description>Software and Papers Related to Game Theory, Math and Philosophy</description>
	<lastBuildDate>Wed, 14 Mar 2012 21:08:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Don&#8217;t be an Anode. Protect your Cathode.</title>
		<link>http://www.mrrives.com/Technology/?p=924</link>
		<comments>http://www.mrrives.com/Technology/?p=924#comments</comments>
		<pubDate>Wed, 14 Mar 2012 21:02:50 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=924</guid>
		<description><![CDATA[A good rule of thumb if you are a pipe, &#8220;Don&#8217;t be an anode when you can be the cathode.&#8221; Three useful articles on Cathodic Protection: http://www.npl.co.uk/upload/pdf/cathodic_protection.pdf http://www.sescocp.com/tutorial.php http://www.corrosionsource.com/%28S%28cylzjm45pkvkle45ywzhvn55%29%29/FreeContent/1/Cathodic+Protection]]></description>
			<content:encoded><![CDATA[<p>A good rule of thumb if you are a pipe, &#8220;Don&#8217;t be an anode when you can be the cathode.&#8221;</p>
<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/anode.gif"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/anode.gif" alt="" title="anode" width="498" height="372" class="aligncenter size-full wp-image-927" /></a></p>
<p>Three useful articles on <em>Cathodic Protection</em>:</p>
<p><a href="http://www.npl.co.uk/upload/pdf/cathodic_protection.pdf">http://www.npl.co.uk/upload/pdf/cathodic_protection.pdf</a><br />
<a href="http://www.sescocp.com/tutorial.php">http://www.sescocp.com/tutorial.php</a><br />
<a href="http://www.corrosionsource.com/%28S%28cylzjm45pkvkle45ywzhvn55%29%29/FreeContent/1/Cathodic+Protection">http://www.corrosionsource.com/%28S%28cylzjm45pkvkle45ywzhvn55%29%29/FreeContent/1/Cathodic+Protection</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=924</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to deploy a new MVC 4 or MVC 5 app to and older IIS 6 server</title>
		<link>http://www.mrrives.com/Technology/?p=909</link>
		<comments>http://www.mrrives.com/Technology/?p=909#comments</comments>
		<pubDate>Sat, 10 Mar 2012 04:39:04 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=909</guid>
		<description><![CDATA[You can install newer MVC apps on an older Windows 2003 server (it can be done very easily). You must simply configure your Web.Config with a few settings (as shown below) and you may need to go into the Windows &#8230; <a href="http://www.mrrives.com/Technology/?p=909">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You can install newer MVC apps on an older Windows 2003 server (it can be done very easily). You must simply configure your Web.Config with a few settings (as shown below) and you may need to go into the Windows file explorer and grant the correct rights to your web user for the path you install to.  Ignore the bit about the ASP.NET user (that&#8217;s for something unrelated to what I am showing you here):</p>
<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/WebConfig.gif"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/WebConfig.gif" alt="" title="WebConfig" width="621" height="331" class="aligncenter size-full wp-image-910" /></a></p>
<p>Notice I added customErrors with the value, mode=&#8221;Off&#8221; and I added a whole section called system.codedom section.</p>
<p>You will also need to configure your project by right clicking on your project, and selecting &#8220;Add Deployable Dependencies&#8230;&#8221; and then check all the boxes in the dialog that follows.</p>
<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/AddDeploy.gif"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/AddDeploy.gif" alt="" title="AddDeploy" width="329" height="783" class="aligncenter size-full wp-image-911" /></a></p>
<p>Then, highlight and select all the references in your new _bin_deployableAssemblies and set the properties for all of the to either &#8220;Copy always&#8221; or &#8220;Copy if newer&#8221;</p>
<p>Finally, make sure that Global.asax is added to the list of files you can access.  This is done under IIS under the Virtual directory you care about (where you installed your web site) or under the web site itself. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=909</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dear Karl Marx: Though dead, you still speak.</title>
		<link>http://www.mrrives.com/Technology/?p=893</link>
		<comments>http://www.mrrives.com/Technology/?p=893#comments</comments>
		<pubDate>Sat, 03 Mar 2012 18:16:27 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[Marxism]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=893</guid>
		<description><![CDATA[I am not really writing to Karl Marx (he can&#8217;t read this, which is part of my point); I address this as to him only for literary effect. Dear Karl, you haven&#8217;t heard, but you wrote something in Communist Manifesto &#8230; <a href="http://www.mrrives.com/Technology/?p=893">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/tombStoneMarx.jpg"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2012/03/tombStoneMarx.jpg" alt="" title="tombStoneMarx" width="333" height="500" class="alignleft size-full wp-image-896" /></a>I am not really writing to Karl Marx (he can&#8217;t read this, which is part of my point); I address this as to him only for literary effect. </p>
<p>Dear Karl, you haven&#8217;t heard, but you wrote something in <em>Communist Manifesto</em> that is now superseded by your coldly dead voice. You wrote:</p>
<blockquote><p>When, in the course of development, class distinctions have disappeared, and all production has been concentrated in the hands of a vast association of the whole nation, the public power will lose its political character. Political power, properly so called, is merely the organized power of one class for oppressing another.
</p></blockquote>
<p>Really Karl? Were you writing a romance novel or a real work on economic philosophy? You need to pick. This paragraph is so sophomoric that first I must name it what it is: juvenile. It maps to no reality known to human history. I would expect to read this kind of sentimentalism only if I happened upon the journal of some lovestruck junior high girl.</p>
<p>Karl, were you on drugs? Come on, you can tell us (&#8230;okay, I guess you can&#8217;t). Only a cocaine addict would trip-out on his own beliefs that political power will all go away and all the good guys will win. Bunny rabbits and unicorns will gently rule the world and nobody will hurt anyone.</p>
<p>Karl, you are dead and in the ground rotting, so you can’t answer me. But you don’t need to, because the sound coming out of your dead and decaying mouth says enough. Reality has set in. Dead people don’t believe this nonsense you wrote. It is the self-evident testimony of the dead: things don’t turn out like you dreamed. You don’t even believe your own words anymore. Dead people have more sense than your daydreaming, effeminate pen which wrote about world peace and a perfect government utopia. Seriously, I can almost hear you falling in love with yourself as you penned this euphoric drivel — it reads like some sort of perverted self-kissing embrace. The only thing your writing proves is that you were less intelligent when you were alive than when dead. Dead people are more intelligent than the self-loving Marxists who see their own image in your writing. Dead people make better sense and testify to what really is. Dead people are unable to embrace themselves in some sort of drug-induced self love. They lie reposing in a grave, and we shall join you there along with all the unicorns and bunny rabbits.</p>
<blockquote><p>This is a follow-up from <a href="http://www.mrrives.com/Technology/?p=195">my earlier article</a> on the ten points of Marxism (which, by the way, is my second most accessed article on this blog).</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=893</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming by existence</title>
		<link>http://www.mrrives.com/Technology/?p=874</link>
		<comments>http://www.mrrives.com/Technology/?p=874#comments</comments>
		<pubDate>Fri, 02 Mar 2012 14:24:05 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=874</guid>
		<description><![CDATA[If something is there, it has existence. In C# this makes all the difference. I realized this morning that I don&#8217;t wire-up relationships, but the C# MVC system works on the basis of mere existence. If a filename with a &#8230; <a href="http://www.mrrives.com/Technology/?p=874">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If something is there, it has existence.</p>
<p>In C# this makes all the difference. I realized this morning that I don&#8217;t wire-up relationships, but the C# MVC system works on the basis of mere existence.  </p>
<p>If a filename with a certain name exists, it is accessed by a controller.  In the Data Entity Model, the existence of a table name is mapped to a class name.  By existence. I don&#8217;t tell the C# system what to associate with what.  I just create the item, and its existence makes it alive.</p>
<p>C# MVC programming is programming by existence. </p>
<p>It is also programming by name.  When something exists, it must be named (a file name, a class name, a property name, etc.).  If it exists, its name is how it relates to the system.</p>
<p>C# MVC programming is programming by existence with right naming.</p>
<p>This is eloquent.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=874</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VS 2010 Intellisense for JQuery in C# Razor (cshtml) Files not working</title>
		<link>http://www.mrrives.com/Technology/?p=868</link>
		<comments>http://www.mrrives.com/Technology/?p=868#comments</comments>
		<pubDate>Fri, 17 Feb 2012 21:15:45 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[.NET]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=868</guid>
		<description><![CDATA[If you know what the title of this blog means, then you are looking for this: @if (false) {&#60;script type="text/javascript" src="../../Scripts/jquery-1.6.2-vsdoc.js"&#62;&#60;/script&#62;} Put this before your jquery include.]]></description>
			<content:encoded><![CDATA[<p>If you know what the title of this blog means, then you are looking for this:</p>
<pre>
@if (false) {&lt;script type="text/javascript" src="../../Scripts/jquery-1.6.2-vsdoc.js"&gt;&lt;/script&gt;}
</pre>
<p>Put this before your jquery include.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=868</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Edit .CMD files with Visual Studio Editor</title>
		<link>http://www.mrrives.com/Technology/?p=856</link>
		<comments>http://www.mrrives.com/Technology/?p=856#comments</comments>
		<pubDate>Tue, 29 Nov 2011 17:00:58 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=856</guid>
		<description><![CDATA[Do you use Visual Studio to edit Windows batch files? Do you want these .bat or .cmd files to show up with all the colors you see in your C# files? If this is what you seek, then let me &#8230; <a href="http://www.mrrives.com/Technology/?p=856">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Do you use Visual Studio to edit Windows batch files? Do you want these .bat or .cmd files to show up with all the colors you see in your C# files?</p>
<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2011/11/Cmd.jpg"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2011/11/Cmd.jpg" alt="" title="Cmd in Visual Studio" width="700" height="456" class="aligncenter size-full wp-image-857" /></a></p>
<p>If this is what you seek, then let me point you to the TextHighlighterExtensionSetup by Frederic Torres (you can use Visual Studio, Tools->Extension Manager to obtain it, or do the following steps).</p>
<p><strong>Step 1:</strong> Install the Iron Python 2.6 or greater (for .NET 4). It was a one or two click install, I didn&#8217;t change any settings, it just worked. Try this link: <a href="http://ironpython.codeplex.com/releases/view/41236#DownloadId=159515">http://ironpython.codeplex.com/releases/view/41236#DownloadId=159515</a> or get 2.7 here:<a href="http://ironpython.codeplex.com/releases/view/62475"> http://ironpython.codeplex.com/releases/view/62475</a>.  If the link is no good, just go to <a href="http://ironpython.codeplex.com/">Iron Python</a>, click on the Download menu, and get the latest download.</p>
<p><strong>Step 2:</strong> Get and install the .CMD extension itself: <a href="http://visualstudiogallery.msdn.microsoft.com/6706b602-6f10-4fd1-8e14-75840f855569">http://visualstudiogallery.msdn.microsoft.com/6706b602-6f10-4fd1-8e14-75840f855569</a>  If this link dos not work, go to the <a href="http://visualstudiogallery.msdn.microsoft.com/">Visual Studio Gallery</a> and search for TextHighlighterExtensionSetup (note, there are a few search boxes, make sure to use the one that searches the extensions). </p>
<p>For another useful extension, see also Spell Checker which adds the little red underline to misspelled words in comments. Very nice.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=856</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Write a Windows Console Application in C# that uses Twitter (and do it in 30 minutes or less)</title>
		<link>http://www.mrrives.com/Technology/?p=824</link>
		<comments>http://www.mrrives.com/Technology/?p=824#comments</comments>
		<pubDate>Mon, 27 Jun 2011 22:10:50 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=824</guid>
		<description><![CDATA[I decided to write a program called &#8220;microSpeak140&#8243; that would be a Windows command-line tool to let me post Twitter updates. The reason for such a seemingly useless tool comes from an idea I had about subscription-based communication to unmanned &#8230; <a href="http://www.mrrives.com/Technology/?p=824">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I decided to write a program called &#8220;microSpeak140&#8243; that would be a Windows command-line tool to let me post Twitter updates.  The reason for such a seemingly useless tool comes from an idea I had about subscription-based communication to unmanned devices, which naturally led to the thought about implementing an <a href="http://www.erlang.org/">Erlange</a>-like language distributed over Twitter.  Hence I started down this path.  But none of that is terribly relevant to this post, so I&#8217;ll skip all the &#8220;whys?&#8221; and go right to the &#8220;how?&#8221;</p>
<p><strong>Step 1: </strong>Pick a name for your program (I picked &#8220;microSpeak140&#8243;). </p>
<p><strong>Step 2:</strong> Go to Twitter and register that name: <a href="https://dev.twitter.com/apps/">https://dev.twitter.com/apps/</a><br />
If you are like me, you may want to skip this step and go right to the TCP/IP interface (thinking, &#8220;just tell me what port to connect to and I&#8217;ll start talking&#8221;).  But it&#8217;s not like that.  Twitter won&#8217;t let you near their server so easily; there is no skipping this really simple step.  This only takes a minute and it is free, so go register your program name at <a href="https://dev.twitter.com/apps/">https://dev.twitter.com/apps/</a> and snatch the keys they give you.  Namely, save off the &#8220;Consumer key&#8221; and the Consumer secret&#8221;; those are the two bits of data we really care about in the following steps.  You need these keys for Twitter to let your program talk to their server, and you will put those keys into your C# code file.</p>
<p><strong>Step 3:</strong> Download the .NET library, TwitterVB2 from <a href="http://twittervb.codeplex.com/  ">CodePlex</a>.</p>
<p><strong>Step 4: </strong>Create a new project in Visual Studio, a Visual C# > Windows > Console Application (give it the same name &#8212; in my case, again, this is microSpeak140.cs).  Note, I also like to rename the default &#8220;program.cs&#8221; to &#8220;microSpeak140.cs&#8221;</p>
<p><strong>Step 5: </strong>Add a ref to TwitterVB2.dll (which you downloaded in Step 3).</p>
<p><strong>Step 6:</strong> Create your Main program as follows (inside program.cs or, in my case, microSpeak140.cs):</p>
<pre>
<code>
using System;
namespace microspeak140
{
    class microSpeak140
    {
        static void Main(string[] args)
        {
            if (args.Length > 0 &#038;&#038; args.Length < 3)
            {
                Speak140 t = new Speak140();
                if (args.Length == 2 &#038;&#038; args[0] == "-W")
                    t.theirWall(args[1]);
                else if (args.Length == 1 &#038;&#038; args[0] == "-F")
                    t.iFollow();
                else if (args.Length == 1 &#038;&#038; args[0] == "-M")
                    t.followMe();
                else if (args.Length == 1 &#038;&#038; args[0] == "-W")
                    t.myWall();
                else if (args.Length == 1)
                    t.Say(args[0]);
            }
            else
            {
                Console.WriteLine("Usage: microSpeak140 <-F> | ");
                Console.WriteLine("           <-W [name of someone else]> |");
                Console.WriteLine("           <\"message to send (max 140 character)\">");
                Console.WriteLine("       -W   Show me what is on my wall, or [someone else]'s wall.");
                Console.WriteLine("       -F   List the people I follow.");
                Console.WriteLine("       -M   List the people that follow me.");
            }
        }
    }
}
</code>
</pre>
<p><strong>Step 7:</strong> Include the Speak140.cs object into your project.<br />
This is the meat of this whole post, as I wrote this object to wrapper the TwitterVB2 object.  TwitterVB2 is great, but with it, you still need to handle authentication.  So I put it in a class suitable for a command line tool so as to make  Twitter-Console creation a little easier (and hence the pithy code in Step 6).  <a href="http://www.mrrives.com/microSpeak140/Speak140.cs">Click here to look at it or download it</a>. </p>
<p><strong>Step 8:</strong> Edit that file, Speak140.cs, and fix these two lines </p>
<pre>
    string ConsumerKey = replace this with what you got off the Twitter site
    string ConsumerSecret = and replace this also with what you got off the Twitter site
</pre>
<p><strong>Step 9:</strong> Build your program.<br />
Note: you may need to go to Project->microSpeak140 properties->Application and set the target framework as .NET 3.0 (i.e., not the default 4.0). Then build it.  Then switch it back to 4.0 and try again.</p>
<p><strong>Step 10:</strong> Drop down to a command window, go to the build directory, and run it:</p>
<pre>
    microSpeak140  "At Starbuks reading Steve's blog"
</pre>
<p><strong>Step 11:</strong> What next?<br />
Maybe you will want to add your own reader functions to the Speak140 object?  Or, it might be a good idea to add code to use the registry as opposed to files, and thus handle multiple twitter accounts.  </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=824</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The sum of consecutive cubes is a square</title>
		<link>http://www.mrrives.com/Technology/?p=817</link>
		<comments>http://www.mrrives.com/Technology/?p=817#comments</comments>
		<pubDate>Wed, 01 Jun 2011 16:09:55 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[Math]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=817</guid>
		<description><![CDATA[Summing up some cubes I noticed that 13 + 23 + 33 + 43 = 100, which is 102. And the pattern held as I added more cubes (i.e., I kept getting squares). This is well known in the world &#8230; <a href="http://www.mrrives.com/Technology/?p=817">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Summing up some cubes I noticed that 1<sup>3</sup> + 2<sup>3</sup> + 3<sup>3</sup> + 4<sup>3</sup> = 100, which is 10<sup>2</sup>.  And the pattern held as I added more cubes (i.e., I kept getting squares).  This is well known in the world of mathematics and number theory, but it was new to me.  Extending the pattern:</p>
<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2011/06/sumOfCubesIsSquare.png"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2011/06/sumOfCubesIsSquare.png" alt="The sum of the consecutive cubes is a square" title="sumOfCubesIsSquare" width="252" height="146" class="aligncenter size-full wp-image-818" /></a></p>
<p>And that makes these <a href="http://mathworld.wolfram.com/TriangularNumber.html">triangular numbers</a>.  And that means that every triangular number squared is the sum of cubes.  It works both way in being interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=817</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free Sequence Diagram PNG and PDF Generator</title>
		<link>http://www.mrrives.com/Technology/?p=810</link>
		<comments>http://www.mrrives.com/Technology/?p=810#comments</comments>
		<pubDate>Sat, 28 May 2011 05:07:22 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=810</guid>
		<description><![CDATA[I want to share a link quite useful for explaining the sequence of events. In the technology world, there is a thing called a sequence diagram. A sequence diagram is useful for showing messages that pass back and forth between &#8230; <a href="http://www.mrrives.com/Technology/?p=810">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I want to share a link quite useful for explaining the sequence of events.  In the technology world, there is a thing called a sequence diagram.  A sequence diagram is useful for showing messages that pass back and forth between parties (in order, and sequenced).</p>
<p>For example, this little text here shows how I log onto my bank web site securely using SSL and certificates:</p>
<blockquote><p>Me->www.MyBank.com: Browse to web site<br />
note left of Me: I think I am attaching to my bnak<br />
www.MyBank.com->Me: My bank sends an SSL Certificate<br />
note right of www.MyBank.com: My bank got an SSL certificate file VeriSign or GoDaddy<br />
note left of Me: I decrypting the cert using the Verisign public key.<br />
Me->www.MyBank.com: Now I send my password<br />
www.MyBank.com->Me: Display my bank account
</p></blockquote>
<p>Feeding that text into the FREE web site, <a href="http://www.websequencediagrams.com/">http://www.websequencediagrams.com/</a>, I get the following PNG image file showing the flow of messages:</p>
<p><a href="http://www.mrrives.com/Technology/wp-content/uploads/2011/05/diagram.png"><img src="http://www.mrrives.com/Technology/wp-content/uploads/2011/05/diagram.png" alt="" title="Sample Sequence Diagram" width="943" height="352" class="aligncenter size-full wp-image-811" /></a></p>
<p>This free web site is a wonderful resource, especially as sequence diagrams are useful for showing the relationships of events, messages and entities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=810</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Customize the front page of a WordPress blog to merely list your articles</title>
		<link>http://www.mrrives.com/Technology/?p=803</link>
		<comments>http://www.mrrives.com/Technology/?p=803#comments</comments>
		<pubDate>Sat, 28 May 2011 04:23:03 +0000</pubDate>
		<dc:creator>Steve Rives</dc:creator>
				<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mrrives.com/Technology/?p=803</guid>
		<description><![CDATA[In my WordPress 3.x blog, I use the default theme, and now I want the main page to be a list of all my articles &#8212; nothing more, and nothing fancy. I don&#8217;t want any of the articles to have &#8230; <a href="http://www.mrrives.com/Technology/?p=803">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>In my WordPress 3.x blog, I use the default theme, and now I want the main page to be a list of all my articles &#8212; nothing more, and nothing fancy. I don&#8217;t want any of the articles to have a preview paragraph, or the author, or the date and time of publication on the main page.  None of that.  I only want a list of all my articles, ordered by date, with each entry being a link to the entire article.  </p>
<p>Here is how to do it:</p>
<p>1. Create a file called loop-index.php; it will get used instead of loop.php<br />
2. Populate that file as per the loop-index.php file below<br />
3. See my WordPress blog at <a href="http://www.mrrives.com/Gezer">http://www.mrrives.com/Gezer</a>, to see how it looks</p>
<p><!-- code formatted by http://manoli.net/csharpformat/ --></p>
<pre class="csharpcode">
<span class="kwrd">&lt;?</span><span class="html">php</span>
/*   <span class="attr">THE</span> <span class="attr">LOOP</span> <span class="attr">-</span> <span class="attr">Rives</span> <span class="attr">Simple</span> <span class="attr">Version</span>, <span class="attr">cf</span>. <span class="attr">http:</span>//<span class="attr">codex</span>.<span class="attr">wordpress</span>.<span class="attr">org</span>/<span class="attr">Function_Reference</span>/<span class="attr">get_template_part</span>
     <span class="attr">This</span> <span class="attr">file</span> <span class="attr">is</span> <span class="attr">called</span> <span class="attr">by</span> <span class="attr">index</span>.<span class="attr">php</span>, <span class="attr">get_template_part</span>( <span class="kwrd">'loop'</span>, <span class="kwrd">'index'</span> ), <span class="attr">which</span> <span class="attr">does</span> <span class="attr">a</span> <span class="attr">PHP</span> <span class="attr">require</span>()
      <span class="attr">for</span> <span class="attr">the</span> <span class="attr">first</span> <span class="attr">file</span> <span class="attr">that</span> <span class="attr">exists</span> <span class="attr">among</span> <span class="attr">these</span>, <span class="attr">in</span> <span class="attr">this</span> <span class="attr">priority:</span>
        <span class="attr">wp-content</span>/<span class="attr">themes</span>/<span class="attr">twentytenchild</span>/<span class="attr">loop-index</span>.<span class="attr">php</span> <span class="attr">then</span> <span class="attr">wp-content</span>/<span class="attr">themes</span>/<span class="attr">twentytenchild</span>/<span class="attr">loop</span>.<span class="attr">php</span>
        <span class="attr">wp-content</span>/<span class="attr">themes</span>/<span class="attr">twentyten</span>/<span class="attr">loop-index</span>.<span class="attr">php</span>      <span class="attr">then</span> <span class="attr">wp-content</span>/<span class="attr">themes</span>/<span class="attr">twentyten</span>/<span class="attr">loop</span>.<span class="attr">php</span>
 */
?<span class="kwrd">&gt;</span>

<span class="kwrd">&lt;</span><span class="html">h1</span><span class="kwrd">&gt;&lt;</span><span class="html">i</span><span class="kwrd">&gt;</span>The Articles<span class="kwrd">&lt;/</span><span class="html">i</span><span class="kwrd">&gt;&lt;/</span><span class="html">h1</span><span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> $<span class="attr">pcounter</span> = $<span class="attr">wp_query-</span><span class="kwrd">&gt;</span>post_count; ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;?</span><span class="html">php</span> $<span class="attr">first_time</span> = <span class="attr">1</span>; ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;</span><span class="html">ol</span><span class="kwrd">&gt;</span>
 <span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">while</span> ( <span class="attr">have_posts</span>() ) <span class="attr">:</span> <span class="attr">the_post</span>(); ?<span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">if</span> ($<span class="attr">first_time</span> == <span class="attr">1</span>)<span class="attr">:</span> $<span class="attr">first_time</span> = <span class="attr">0</span>; ?<span class="kwrd">&gt;</span>
     <span class="kwrd">&lt;</span><span class="html">i</span><span class="kwrd">&gt;</span>Ordered by date of publication with the most recent article listed first<span class="kwrd">&lt;</span><span class="html">br</span><span class="kwrd">/&gt;</span>
      Date of last publication: <span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">echo</span> <span class="attr">get_the_date</span>(); ?<span class="kwrd">&gt;&lt;</span><span class="html">br</span><span class="kwrd">/&gt;&lt;/</span><span class="html">i</span><span class="kwrd">&gt;&lt;</span><span class="html">br</span><span class="kwrd">/&gt;</span>
  <span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">endif</span>; ?<span class="kwrd">&gt;</span>
  <span class="kwrd">&lt;</span><span class="html">div</span><span class="kwrd">&gt;</span>
     <span class="kwrd">&lt;</span><span class="html">li</span> <span class="attr">value</span>="&#038;<span class="attr">lt</span>;?<span class="attr">php</span> <span class="attr">echo</span> $<span class="attr">pcounter--</span>; ?<span class="kwrd">&gt;</span>"<span class="kwrd">&gt;</span>
     <span class="kwrd">&lt;</span><span class="html">h5</span> <span class="attr">class</span><span class="kwrd">="entry-title"</span> <span class="attr">style</span><span class="kwrd">="font-size: 15px; font-weight: normal;"</span><span class="kwrd">&gt;</span>
     <span class="kwrd">&lt;</span><span class="html">a</span> <span class="attr">href</span>="&#038;<span class="attr">lt</span>;?<span class="attr">php</span> <span class="attr">the_permalink</span>(); ?<span class="kwrd">&gt;</span>"
 STYLE="text-decoration: none"
title="<span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">printf</span>(
<span class="attr">esc_attr__</span>( <span class="kwrd">'Permalink to %s'</span>, <span class="kwrd">'twentyten'</span> ),
<span class="attr">the_title_attribute</span>( <span class="kwrd">'echo=0'</span> ) ); ?<span class="kwrd">&gt;</span>"
rel="bookmark"<span class="kwrd">&gt;&lt;?</span><span class="html">php</span> <span class="attr">the_title</span>(); ?<span class="kwrd">&gt;&lt;/</span><span class="html">a</span><span class="kwrd">&gt;&lt;/</span><span class="html">h5</span><span class="kwrd">&gt;</span>
     <span class="kwrd">&lt;/</span><span class="html">li</span><span class="kwrd">&gt;</span>
   <span class="kwrd">&lt;/</span><span class="html">div</span><span class="kwrd">&gt;</span>

 <span class="kwrd">&lt;?</span><span class="html">php</span> <span class="attr">endwhile</span>; ?<span class="kwrd">&gt;</span>
<span class="kwrd">&lt;/</span><span class="html">ol</span><span class="kwrd">&gt;</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.mrrives.com/Technology/?feed=rss2&#038;p=803</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

