<?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>Shibumi Dojo &#187; Programming</title>
	<atom:link href="http://www.shibumidojo.org/index.php/category/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.shibumidojo.org</link>
	<description></description>
	<lastBuildDate>Mon, 16 Jan 2012 07:48:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Encrypting Information Stored in WordPress Cookies</title>
		<link>http://www.shibumidojo.org/index.php/2009/07/14/encrypting-information-stored-in-wordpress-cookies/</link>
		<comments>http://www.shibumidojo.org/index.php/2009/07/14/encrypting-information-stored-in-wordpress-cookies/#comments</comments>
		<pubDate>Tue, 14 Jul 2009 08:09:09 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Psychology]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=189</guid>
		<description><![CDATA[The another way to make your wordpress more secure is storing information with encryption in cookies. And to encrypt your information is quite simple process. Just open your wp-config.php files, and add the lines below to your wp-config.php. Save and upload it. define&#40;&#8216;AUTH_KEY&#8217;,&#8216;Y(o[df%d9ly.iJ%t_4Xs:[4FBxg!IFzAE*z+&#124;cf{E&#38;amp;+;Y&#124;-C5gk`%?5kWc0yxe&#124;]&#8216;&#41;; define&#40;&#8216;SECURE_AUTH_KEY&#8217;,&#8216;+^3@Y/rYC[tvk&#124;vSw-We^-Wu&#38;amp;Gm:S9@-+fPr{?C$-Tl5[L6m0dPh#QUb'&#41;; define&#40;'LOGGED_IN_KEY','v.0Rs-31^W UoAySn(ip4wjEjn])J1!@;oC1BT75[GoQK=WT`74tgh)SAMAiF)lf&#8217;&#41;; define&#40;&#8216;NONCE_KEY&#8217;,&#8216;Fn2-XKd=Q{}&#60;:,%Qk-&#124;I-j)$%W+B(*0&#124;eI,%)p=K_j2uxSHTFQvav&#124;(vl},&#8217;&#41;;]]></description>
			<content:encoded><![CDATA[<p>The another way to make your wordpress more secure is storing information with encryption in cookies. And to encrypt your information is quite simple process. Just open your <strong>wp-config.php</strong> files, and add the lines below to your <strong>wp-config.php</strong>. Save and upload it. <span id="more-189"></span></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">define<span class="br0">&#40;</span><span class="st0">&#8216;AUTH_KEY&#8217;</span>,<span class="st0">&#8216;Y(o[df%d9ly.iJ%t_4Xs:[4FBxg!IFzAE*z+|cf{E&amp;amp;+;Y|-C5gk`%?5kWc0yxe|]&#8216;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">define<span class="br0">&#40;</span><span class="st0">&#8216;SECURE_AUTH_KEY&#8217;</span>,<span class="st0">&#8216;+^3@Y/rYC[tvk|vSw-We^-Wu&amp;amp;Gm:S9@-+fPr{?C$-Tl5[L6m0dPh#QUb'</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">define<span class="br0">&#40;</span><span class="st0">'LOGGED_IN_KEY'</span>,<span class="st0">'v.0Rs-31^W UoAySn(ip4wjEjn])J1!@;oC1BT75[GoQK=WT`74tgh)SAMAiF)lf&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">define<span class="br0">&#40;</span><span class="st0">&#8216;NONCE_KEY&#8217;</span>,<span class="st0">&#8216;Fn2-XKd=Q{}&lt;:,%Qk-|I-j)$%W+B(*0|eI,%)p=K_j2uxSHTFQvav|(vl},&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
</ol>
</div>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2009/07/14/encrypting-information-stored-in-wordpress-cookies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Graph Algorithms I (Algorithm Basics)v0.1.2</title>
		<link>http://www.shibumidojo.org/index.php/2009/06/12/graph-algorithms-i-algorithm-basics/</link>
		<comments>http://www.shibumidojo.org/index.php/2009/06/12/graph-algorithms-i-algorithm-basics/#comments</comments>
		<pubDate>Fri, 12 Jun 2009 15:00:03 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=103</guid>
		<description><![CDATA[First of all, I should give some information about what algorithm is and where we use them. After that I will give an introduction to Graph Algorithms and keep its details to next articles If you look the header of the doc you can see a version number, it means that i will be updating [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>First of all, I should give some information about what algorithm is and where we use them. After that I will give an introduction to Graph Algorithms and keep its details to next articles If you look the header of the doc you can see a version number, it means that i will be updating these article series periodically.<span id="more-103"></span></p>
<p align="left">An algorithm is a formula or a set of steps that helps us to solve a particular problem. Normally we use many kinds of algorithms during our life in order to solve problems. As you may guess easily, there are different problems and different solutions which means  many algorithms. Many different problems can be modeled as graphs and we use graph algorithms to solve them. These writing is about one of them named <em><strong>Graph Algorithms</strong></em></p>
<p align="left">Lets start with a simple algorithm to understand what it is. For instance, lets assume we want to cook omelette.  We have cheese, eggs, oil, salt and the others needs. These are what we have and what we want is a well-prepared omelette. Now we think about the steps of the work.</p>
<div>
<ol>
<li>put the eggs in to a cup</li>
<li>whisk it for a while</li>
<li>if the eggs are homogeneous then go to next step, else back to step 2</li>
<li>add cheese and salt  well whisked egg</li>
<li>put oil to the pan on cooker</li>
<li>after a few minutes add the prepared egg to the fired pan</li>
<li>cook them a while</li>
<li>if egg are hardened go to next step else go back step 7</li>
<li>service the cooked egg</li>
</ol>
</div>
<p align="left">You can see the steps of the omelette on the example in step by step. However, in some case, you may turn back to the previous step, and these cases happen via loops and clauses. Anyway, I guess it is easy to understand what exactly algorithm is with that example.</p>
<p align="left">Of course, there is not only that way to figure the algorithms but also there are many ways and <em><strong>flow chart</strong></em>ing is one them. There are two figure below shows you calculation of N factorial with two ways; classical and recursive. You may give some minutes to them if you  dont have any knowledge about flow chart and try to understand what is happening there. I strongly recommend the ones who don&#8217;t have any idea that try to write all the steps of calculation like above and then restudy to charts.</p>
<p align="left"><img src="http://www.shibumidojo.org/wp-content/uploads/image/flowchartexample1.png" alt="" width="166" height="304" /><img src="http://www.shibumidojo.org/wp-content/uploads/image/Factorial_Rec.JPG" alt="" width="286" height="304" /></p>
<p align="left">There are many kinds of algorithms.</p>
<div>
<ul>
<li>Sort Algorithms</li>
<li>Search Algorithms</li>
<li>Graph Algorithms</li>
<li>Encryption/Decryption Algorithms</li>
<li>Compression Algorithms</li>
<li>String Algorithms</li>
</ul>
</div>
<p align="left">Now after this introduction to algorithm concept we can turn back to our topic. Graph theory provides a language for talking about the properties of relationships. You can see the graphs almost everywhere, in an electric circuit, computer networks, the houses on the road, etc.</p>
<p align="left">More precisely, a graph G = (V,E) consists of a set of vertices(node) V together with a set E of vertex pairs or edges. Graphs can be used to represent essentially any relationship. For example, think about a cities, roads (edges) and the places (nodes).</p>
<p align="left">Several fundamental properties of graphs impact the choice of the data structures used to represent them and algorithms available to analyze them. The first step in any graph problem is determining the flavors of graphs you are dealing with:</p>
<div>
<ul>
<li>Undirected vs Directed</li>
<li>Weighted vs Unweighted</li>
<li>Cyclic vs Acyclic</li>
<li>Embedded vs Topological</li>
<li>Implicit vs Explicit</li>
<li>Labeled vs Unlabeled</li>
</ul>
</div>
<p align="left"><img src="http://www.shibumidojo.org/wp-content/uploads/image/450px-Directed_graph,_cyclic_svg.png" alt="" width="183" height="114" align="left" />Think about the roads which are edges, there are two individual kind of roads according to their directions, like double and single. You can use double-way roads both coming and going, however you can use highways just one way. Now using this metaphor, we can say that, the roads only one ways are <em><strong>directed edges</strong></em> from one node to other node. Other case, it is<em> <strong>undirected</strong></em>, because there is no specification for the direction and all the communication channels are open both nodes. As you can see from figure there are directions between the nodes.</p>
<p align="left">Look at the graph figure above, if there was a value on edges then it would be <em><strong>Wighted</strong></em> graph. Knowing the weights of edges is the same as knowing the distance between two places. So, using that tiny information we can say that the graph above is a directed unweighted graph.</p>
<p align="left">Sometimes there can be cycles in the graphs, this is logical; again when you think about the roads of places, you can see the cycles. These kind of graphs are called <em><strong>Cyclic</strong> </em>graphs. The figure above again cyclic graph and also directed and unweighted. B-C-E-D-B this is the cyclic part of it.</p>
<p align="left">Soon&#8230;..</p>
</div>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2009/06/12/graph-algorithms-i-algorithm-basics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing XAMMP on Ubuntu</title>
		<link>http://www.shibumidojo.org/index.php/2008/12/21/installing-xammp-on-ubuntu/</link>
		<comments>http://www.shibumidojo.org/index.php/2008/12/21/installing-xammp-on-ubuntu/#comments</comments>
		<pubDate>Sun, 21 Dec 2008 20:06:29 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[GNU Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xammp]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=82</guid>
		<description><![CDATA[PHP+MySQL+Apache+phpmyadmin, these are requirements of developing php web applications. Using XAMMP is eisiest way to install all the requirements. This manual helps you to install xammp to you ubuntu and&#160; any linux distro with small changes. As you guess easliy, the first thing that you have to do is download the latest version of xammp [...]]]></description>
			<content:encoded><![CDATA[<p>PHP+MySQL+Apache+phpmyadmin, these are requirements of developing php web applications. Using <strong>XAMMP </strong>is eisiest way to install all the requirements. This manual helps you to install <em>xammp </em>to you ubuntu and&nbsp; any linux distro with small changes. As you guess easliy, the first thing that you have to do is download the latest version of <em>xammp</em> from <a href="http://www.apachefriends.org/en/xampp-linux.html">here</a>. <span id="more-82"></span></p>
<p>After the downloading, you should extract the files you downloaded to <strong>/opt </strong></p>
<p><quote>tar xvfz yourxammp.tar.gz -C /opt</quote></p>
<p>If everthing goes ok, you have to start the lammp at first with <em><strong>&quot;/opt/lammp/lammp start&quot;</strong></em></p>
<p>Then you can try if it works or not with your browser by trying to enter the <em><strong>http://localhost</strong></em></p>
<p>The parameters you can use for XAMMP below</p>
<p><strong>start, stop, restart, startapache, startssl, startmysql, startftp, security</strong></p>
<p>Ex. <em>/opt/lammp/</em>lammp restart</p>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2008/12/21/installing-xammp-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Matlab and AMD Proccessors</title>
		<link>http://www.shibumidojo.org/index.php/2008/11/23/matlab-and-amd-proccessors/</link>
		<comments>http://www.shibumidojo.org/index.php/2008/11/23/matlab-and-amd-proccessors/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 11:20:20 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[matlab]]></category>
		<category><![CDATA[matlab with amd]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=61</guid>
		<description><![CDATA[When I try running MATLAB on an AMD processor, programme is opening first for a short time and then closing suddenly. This is a kind of bug and you can solve that problem by applaying the proccesses below. First open %MATLAB7%\bin\win32 folder and find blas.spec file and open it. You will see the list like [...]]]></description>
			<content:encoded><![CDATA[<p>When I try running MATLAB on an AMD processor, programme is opening first for a short time and then closing suddenly. This is a kind of bug and you can solve that problem by applaying the proccesses below. <span id="more-61"></span></p>
<p>First open<strong> %MATLAB7%\bin\win32</strong> folder and find <strong>blas.spec</strong> file and open it. You will see the list like</p>
<p><font color="#333399"><em>/*</em></font></p>
<p><font color="#333399"><em>GenuineIntel Family 5 Model * atlas_PPro.dll # Pentium<br />
GenuineIntel Family 6 Model 1 atlas_PPro.dll # Pentium Pro<br />
GenuineIntel Family 6 Model 3 atlas_PII.dll # Pentium II (Klamath)<br />
GenuineIntel Family 6 Model 5 atlas_PII.dll # Pentium II (Deschutes)<br />
GenuineIntel Family 6 Model 6 atlas_PII.dll # Celeron<br />
GenuineIntel Family 6 Model 7 atlas_PIII.dll # Pentium III (Katmai)<br />
GenuineIntel Family 6 Model 8 atlas_PIII.dll # Pentium III (Coppermine)<br />
GenuineIntel Family 6 Model 9 atlas_PIII.dll # Pentium M<br />
GenuineIntel Family 6 Model 10 atlas_PIII.dll # Pentium III (Cascades)<br />
GenuineIntel Family 6 Model 11 atlas_PIII.dll # Pentium III (Mobile)<br />
GenuineIntel Family 6 Model * atlas_PIII.dll # Pentium III<br />
GenuineIntel Family 15 Model * atlas_P4.dll # Pentium 4<br />
AuthenticAMD Family 5 Model * atlas_PII.dll # AMD-K6<br />
AuthenticAMD Family 6 Model * atlas_Athlon.dll # Athlon/Duron<br />
AuthenticAMD Family 15 Model 4 atlas_Athlon.dll # Athlon 64<br />
AuthenticAMD Family 15 Model 5 atlas_Athlon.dll # Opteron</em></font></p>
<p><font color="#333399"><em>*/</em></font></p>
<p>Add the following lines to end of the list and restart MATLAB. That proccess should fix your problem.</p>
<p><strong>AuthenticAMD Family 15 Model 12 atlas_Athlon.dll # Athlon 64 (Newcastle)<br />
AuthenticAMD Family 15 Model * atlas_Athlon.dll # AMD64</strong></p>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2008/11/23/matlab-and-amd-proccessors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello World</title>
		<link>http://www.shibumidojo.org/index.php/2008/08/31/hello-world/</link>
		<comments>http://www.shibumidojo.org/index.php/2008/08/31/hello-world/#comments</comments>
		<pubDate>Sun, 31 Aug 2008 23:09:31 +0000</pubDate>
		<dc:creator>CorpusCallosum</dc:creator>
				<category><![CDATA[Do]]></category>
		<category><![CDATA[GNU Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.shibumidojo.org/?p=3</guid>
		<description><![CDATA[% in Prolog hello :- display(&#8216;Hello World!&#8217;) , nl .]]></description>
			<content:encoded><![CDATA[<p>% in Prolog</p>
<p>hello :- display(&#8216;Hello World!&#8217;) , nl .</p>
<ul class="related_post"></ul>]]></content:encoded>
			<wfw:commentRss>http://www.shibumidojo.org/index.php/2008/08/31/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

