<?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>You are not welcome in my world!</title>
	<atom:link href="http://blog.ayberkyilmaz.net/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.ayberkyilmaz.net</link>
	<description>things that matter</description>
	<lastBuildDate>Fri, 18 Feb 2011 23:34:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Assembly: The very first date!</title>
		<link>http://blog.ayberkyilmaz.net/2011/assembly-the-very-first-date-167</link>
		<comments>http://blog.ayberkyilmaz.net/2011/assembly-the-very-first-date-167#comments</comments>
		<pubDate>Fri, 18 Feb 2011 23:34:02 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Teknik]]></category>
		<category><![CDATA[assembly]]></category>
		<category><![CDATA[motorola 6800]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=167</guid>
		<description><![CDATA[Today, we wrote and ran our first assembly program. To be honest, since we are used to coding in higher level languages, it seems getting used to assembly will not be easy. However, even though it may get annoying, it is fun! We run our code at Hippy simulator. It simulates a M6800 processor. Despite [...]]]></description>
			<content:encoded><![CDATA[<p>Today, we wrote and ran our first assembly program. To be honest, since we are used to coding in higher level languages, it seems getting used to assembly will not be easy. However, even though it may get annoying, it is fun!</p>
<p>We run our code at Hippy simulator. It simulates a M6800 processor. Despite the fact that we have not learned loops and conditionals yet, I was too curious to wait for the next lectures. Therefore, I tried to write a very simple program that has very basic usage of conditionals and loops. Since I am not familiar with the instructions yet, it took more than necessary time. But it was worth every minute of it and I think I will get along well with assembly.</p>
<p>Now I am representing the source of my program. Thanks to the Hippy, I do not have to load op-codes to memory manually. It compiles the mnemonic codes and loads the op-codes to the memory. I will not explain what code does, actually it may be a good exercise if you try to understand. Well, label names will be very helpful.</p>
<p>P.S: I know this code can be shortened. I was too lazy to improve it and do not forget the fact that this is my first program.</p>
<pre lang = "asm" line="1">
LDAA 100H
LDAB 105H

CBA
BGE AGRE
BRA BGRE

AGRE: SBA
CBA
BGE AGRE
CMPA #0000H
BEQ DIVISIBLE
BRA NONDIVISIBLE

LDAA 105H
LDAB 100H
BGRE: SBA
CBA
BGE BGRE
CMPA #0000H
BEQ DIVISIBLE
BRA NONDIVISIBLE

DIVISIBLE: LDAA #1H
STAA 110H
SWI

NONDIVISIBLE: LDAA #0H
STAA 110H
SWI
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2011/assembly-the-very-first-date-167/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>TopCoder SRM 492 &#8211; TimeTravellingCellar [C++]</title>
		<link>http://blog.ayberkyilmaz.net/2011/topcoder-srm-492-timetravellingcellar-c-163</link>
		<comments>http://blog.ayberkyilmaz.net/2011/topcoder-srm-492-timetravellingcellar-c-163#comments</comments>
		<pubDate>Sun, 30 Jan 2011 00:20:05 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Teknik]]></category>
		<category><![CDATA[cpp]]></category>
		<category><![CDATA[srm 492]]></category>
		<category><![CDATA[timetravellingcellar]]></category>
		<category><![CDATA[topcoder]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=163</guid>
		<description><![CDATA[Since I am very new to &#8220;algorithm&#8221; world and neither have enough knowledge nor IQ to solve harder questions, I am trying to solve TopCoder DIV II &#8211; Level I questions. They are usually very easy to solve. They do not need any special algorithm knowledge, basic coding approach does work. I will try to [...]]]></description>
			<content:encoded><![CDATA[<p>Since I am very new to &#8220;algorithm&#8221; world and neither have enough knowledge nor IQ to solve harder questions, I am trying to solve TopCoder DIV II &#8211; Level I questions. They are usually very easy to solve. They do not need any special algorithm knowledge, basic coding approach does work.</p>
<p>I will try to explain some of the questions that i solved. I start with the TimeTravellingCellar problem. You can find the problem statement <a href="http://www.topcoder.com/stat?c=problem_statement&amp;pm=11118&amp;rd=14245&amp;rm=306849&amp;cr=22858920" target="_blank">here</a>.</p>
<p>Well if you look at the constraints, you realize that you can solve problem by brute force approah. However i came up with a different and a better solution.</p>
<p>It is clear that in order to find the answer, we need to find to find the max profit and the min decay. By using this simple realization, we can solve the problem in O(N) time. Implementation is even easier than the realization, as it only involves finding maximum and minimum. The only trick is that you cannot time travel in the same cellar, meaning if the cellar with the highest profit contains the lowest decay, you should ignore the cellar with the highest profit while finding the lowest decay profit.</p>
<p>I have implemented my solution in C++.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;">	<span style="color: #0000ff;">int</span> max<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span><span style="color: #0000ff;">int</span><span style="color: #000080;">&gt;</span> profit<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">int</span> place<span style="color: #000080;">=</span><span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">int</span> maxi <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i<span style="color: #000080;">&lt;</span>profit.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span> <span style="color: #000080;">&gt;</span> maxi<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				maxi <span style="color: #000080;">=</span> profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
				place <span style="color: #000080;">=</span> i<span style="color: #008080;">;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>	
&nbsp;
		<span style="color: #0000ff;">return</span> place<span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span></pre></div></div>

<p>The above function simply returns the index of the max element. It is easy to calculate that this code runs in O(N) time.</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #0000ff;">int</span> min<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span><span style="color: #0000ff;">int</span><span style="color: #000080;">&gt;</span> profit,<span style="color: #0000ff;">int</span> aa<span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">int</span> place<span style="color: #000080;">=</span>aa<span style="color: #008080;">;</span>
		<span style="color: #0000ff;">int</span> maxi <span style="color: #000080;">=</span> <span style="color: #0000dd;">10001</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i<span style="color: #000080;">&lt;</span>profit.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span> <span style="color: #000080;">&lt;</span> maxi<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>i <span style="color: #000040;">!</span><span style="color: #000080;">=</span> aa<span style="color: #008000;">&#41;</span>
				<span style="color: #008000;">&#123;</span>
				maxi <span style="color: #000080;">=</span> profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
				place <span style="color: #000080;">=</span> i<span style="color: #008080;">;</span>
				<span style="color: #008000;">&#125;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>	
&nbsp;
		<span style="color: #0000ff;">return</span> place<span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span></pre></div></div>

<p>Well this is the same as findMax function. The only trick is that I pass the index of max profit element in order to ignore it while finding the lowest decay element. Nothing special.</p>
<p>And in the actual function, I simply substract the lowest decay from the highest profit value. The code as a whole looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="cpp" style="font-family:monospace;"><span style="color: #339900;">#include &lt;vector&gt;</span>
<span style="color: #339900;">#include &lt;set&gt;</span>
<span style="color: #0000ff;">using</span> <span style="color: #0000ff;">namespace</span> std<span style="color: #008080;">;</span>
&nbsp;
<span style="color: #0000ff;">class</span> TimeTravellingCellar
<span style="color: #008000;">&#123;</span>
	<span style="color: #0000ff;">public</span><span style="color: #008080;">:</span>
	<span style="color: #0000ff;">int</span> max<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span><span style="color: #0000ff;">int</span><span style="color: #000080;">&gt;</span> profit<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">int</span> place<span style="color: #000080;">=</span><span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">int</span> maxi <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i<span style="color: #000080;">&lt;</span>profit.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span> <span style="color: #000080;">&gt;</span> maxi<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				maxi <span style="color: #000080;">=</span> profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
				place <span style="color: #000080;">=</span> i<span style="color: #008080;">;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>	
&nbsp;
		<span style="color: #0000ff;">return</span> place<span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #0000ff;">int</span> min<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span><span style="color: #0000ff;">int</span><span style="color: #000080;">&gt;</span> profit,<span style="color: #0000ff;">int</span> aa<span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">int</span> place<span style="color: #000080;">=</span>aa<span style="color: #008080;">;</span>
		<span style="color: #0000ff;">int</span> maxi <span style="color: #000080;">=</span> <span style="color: #0000dd;">10001</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">for</span><span style="color: #008000;">&#40;</span><span style="color: #0000ff;">int</span> i <span style="color: #000080;">=</span> <span style="color: #0000dd;">0</span><span style="color: #008080;">;</span> i<span style="color: #000080;">&lt;</span>profit.<span style="color: #007788;">size</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>i<span style="color: #000040;">++</span><span style="color: #008000;">&#41;</span>
		<span style="color: #008000;">&#123;</span>
			<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span> <span style="color: #000080;">&lt;</span> maxi<span style="color: #008000;">&#41;</span>
			<span style="color: #008000;">&#123;</span>
				<span style="color: #0000ff;">if</span><span style="color: #008000;">&#40;</span>i <span style="color: #000040;">!</span><span style="color: #000080;">=</span> aa<span style="color: #008000;">&#41;</span>
				<span style="color: #008000;">&#123;</span>
				maxi <span style="color: #000080;">=</span> profit<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
				place <span style="color: #000080;">=</span> i<span style="color: #008080;">;</span>
				<span style="color: #008000;">&#125;</span>
			<span style="color: #008000;">&#125;</span>
		<span style="color: #008000;">&#125;</span>	
&nbsp;
		<span style="color: #0000ff;">return</span> place<span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
&nbsp;
	<span style="color: #0000ff;">int</span> determineProfit<span style="color: #008000;">&#40;</span>vector<span style="color: #000080;">&lt;</span><span style="color: #0000ff;">int</span><span style="color: #000080;">&gt;</span> profit, vector<span style="color: #000080;">&lt;</span><span style="color: #0000ff;">int</span><span style="color: #000080;">&gt;</span> decay<span style="color: #008000;">&#41;</span>
	<span style="color: #008000;">&#123;</span>
		<span style="color: #0000ff;">int</span> maxi <span style="color: #000080;">=</span> max<span style="color: #008000;">&#40;</span>profit<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
		<span style="color: #0000ff;">int</span> mini <span style="color: #000080;">=</span> min<span style="color: #008000;">&#40;</span>decay,maxi<span style="color: #008000;">&#41;</span><span style="color: #008080;">;</span>
&nbsp;
		<span style="color: #0000ff;">return</span> profit<span style="color: #008000;">&#91;</span>maxi<span style="color: #008000;">&#93;</span> <span style="color: #000040;">-</span> decay<span style="color: #008000;">&#91;</span>mini<span style="color: #008000;">&#93;</span><span style="color: #008080;">;</span>
	<span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span><span style="color: #008080;">;</span></pre></div></div>

<p>After submitting the solution, I have found a bug in my program. Consider the situation: profit = { 888, 889, 100 }, decay = { 100, 1, 97 }. Let&#8217;s simulate what my program will do: It will find position of max element which is 889, then it will find position of min element. However, while finding the min element, it will return 97 due to ignoring second cellar. Finally it will return the answer as 889 &#8211; 97. However, this is not the best situation. The best profit we can get is 888 &#8211; 1. This situation happens when the lowest decay and highest profit is at the same cellar. This bug can be easily solved by a if statement, so I will not correct it now.</p>
<p>As you see, even the easiest problems can contain painful corner cases. If you find a bug in my solution, feel free to inform me. </p>
<p>PS: Sorry for the bad indentation. WP and Copy-Paste are responsible for this!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2011/topcoder-srm-492-timetravellingcellar-c-163/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Dreamers</title>
		<link>http://blog.ayberkyilmaz.net/2011/the-dreamers-158</link>
		<comments>http://blog.ayberkyilmaz.net/2011/the-dreamers-158#comments</comments>
		<pubDate>Thu, 20 Jan 2011 10:09:02 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Ordan burdan]]></category>
		<category><![CDATA[karen blixen]]></category>
		<category><![CDATA[seven gothic tales]]></category>
		<category><![CDATA[the dreamers]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=158</guid>
		<description><![CDATA[‘‘&#8230; and you, Marcus, you have given me many things; now I shall give you this good advice. Be many people. Give up the game of being always Marcus Cocoza. You have worried too much about Marcus Cocoza, so that you have been really his slave and prisoner. You have not done anything without first [...]]]></description>
			<content:encoded><![CDATA[<p>‘‘&#8230; and you, Marcus, you have given me many things; now I shall give you this good advice. Be many people. Give up the game of being always Marcus Cocoza. You have worried too much about Marcus Cocoza, so that you have been really his slave and prisoner. You have not done anything without first considering how it would affect Marcus Cocoza’s happiness and prestige. You were always much afraid that Marcus might do a stupid thing, or be bored. What would it really have mattered? All over the world people are doing stupid things &#8230; I should like you to be easy, your little heart to be light again. You must from now, be more than one, many people, as many as you can think of &#8230;’’</p>
<p>– Karen Blixen</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2011/the-dreamers-158/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ADTs : Stacks</title>
		<link>http://blog.ayberkyilmaz.net/2010/adts-stacks-140</link>
		<comments>http://blog.ayberkyilmaz.net/2010/adts-stacks-140#comments</comments>
		<pubDate>Fri, 22 Oct 2010 20:35:27 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Teknik]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[data structures]]></category>
		<category><![CDATA[stack]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=140</guid>
		<description><![CDATA[As an exercise, i will design and implement my own stack ADT. First of all we need to build necessary structures. The Head structure will contain a counter and a pointer to stack nodes. The node structure will contain a data pointer and a node pointer. typedef struct node2 &#123; void *dataPtr; struct node2 *nodePtr; [...]]]></description>
			<content:encoded><![CDATA[<p>As an exercise, i will design and implement my own stack ADT.</p>
<p>First of all we need to build necessary structures.</p>
<p>The Head structure will contain a counter and a pointer to stack nodes.</p>
<p>The node structure will contain a data pointer and a node pointer.</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">typedef</span> <span style="color: #993333;">struct</span> node2
<span style="color: #009900;">&#123;</span>
   <span style="color: #993333;">void</span> <span style="color: #339933;">*</span>dataPtr<span style="color: #339933;">;</span>
   <span style="color: #993333;">struct</span> node2 <span style="color: #339933;">*</span>nodePtr<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> NODE<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #993333;">typedef</span> <span style="color: #993333;">struct</span>
<span style="color: #009900;">&#123;</span>
   <span style="color: #993333;">int</span> count<span style="color: #339933;">;</span>
   NODE <span style="color: #339933;">*</span>top<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span> STACK<span style="color: #339933;">;</span></pre></div></div>

<p>We have constructed two structures: STACK structure will be the head of the stack. The head structure has a NODE pointer to the top of the stack and an integer to hold the number of the nodes. NODE structure will hold the given data. And of course, it has a link to another node.</p>
<p>Since we have constructed the structures, we can start to implement the operations.</p>
<p>Let me talk about the operations that i will implement. I am going to implement create, push and pop operations. Push adds data to the stack and pop retrieves data. As you know, all the operations affect the top of the stack.</p>
<p>In order to create a stack, we need to allocate the necessary memory and then we must update the head node:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;">STACK <span style="color: #339933;">*</span>createStack<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
   STACK<span style="color: #339933;">*</span> stack<span style="color: #339933;">;</span>
&nbsp;
   stack <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>STACK<span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#40;</span>malloc<span style="color: #009900;">&#40;</span><span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span>STACK<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>stack<span style="color: #009900;">&#41;</span>
   <span style="color: #009900;">&#123;</span>
      stack<span style="color: #339933;">-&gt;</span>count <span style="color: #339933;">=</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
      stack<span style="color: #339933;">-&gt;</span>top <span style="color: #339933;">=</span> NULL<span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
   <span style="color: #b1b100;">return</span> stack<span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This one is easy to explain. We simply allocate memory for the head node and if allocation is done successfully, we simply set the counter as zero and pointer as NULL due to having no items at the stack.</p>
<p>After successfully creating the stack, the next goal is adding data to the stack. It is a little bit more trivial but still easy to understand. I will not explain the code, not now at least.</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// it will return 1 if the operation is successful, 0 otherwise</span>
<span style="color: #666666; font-style: italic;">// thanks to the generic pointer, any type of data can be pushed</span>
<span style="color: #993333;">int</span> pushStack<span style="color: #009900;">&#40;</span>STACK<span style="color: #339933;">*</span> stack<span style="color: #339933;">,</span> <span style="color: #993333;">void</span><span style="color: #339933;">*</span> data<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #666666; font-style: italic;">// allocate memory for the new node</span>
    NODE<span style="color: #339933;">*</span> node<span style="color: #339933;">;</span>
    node <span style="color: #339933;">=</span> <span style="color: #009900;">&#40;</span>NODE<span style="color: #339933;">*</span><span style="color: #009900;">&#41;</span>malloc<span style="color: #009900;">&#40;</span><span style="color: #993333;">sizeof</span><span style="color: #009900;">&#40;</span>NODE<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// check if allocations is done</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">!</span>node<span style="color: #009900;">&#41;</span>
       <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>   
&nbsp;
   <span style="color: #666666; font-style: italic;">// update the node</span>
   node<span style="color: #339933;">-&gt;</span>nodePtr <span style="color: #339933;">=</span> stack<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>top<span style="color: #339933;">;</span>
   node<span style="color: #339933;">-&gt;</span>dataPtr <span style="color: #339933;">=</span> data<span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #666666; font-style: italic;">// update the head</span>
   stack<span style="color: #339933;">-&gt;</span>top <span style="color: #339933;">=</span> node<span style="color: #339933;">;</span>
   <span style="color: #009900;">&#40;</span>stack<span style="color: #339933;">-&gt;</span>count<span style="color: #009900;">&#41;</span><span style="color: #339933;">++;</span>
&nbsp;
   <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>Now it is time to retrieve data.</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #993333;">void</span> <span style="color: #339933;">*</span>popStack<span style="color: #009900;">&#40;</span>STACK<span style="color: #339933;">*</span> stack<span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
    <span style="color: #993333;">void</span> <span style="color: #339933;">*</span>dataOut<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">//again, we love you generic pointer</span>
&nbsp;
   <span style="color: #666666; font-style: italic;">// empty stack cannot be popped</span>
   <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span>stack<span style="color: #339933;">-&gt;</span>count<span style="color: #339933;">==</span><span style="color: #0000dd;">0</span><span style="color: #009900;">&#41;</span>
     dataOut <span style="color: #339933;">=</span> NULL<span style="color: #339933;">;</span>
   <span style="color: #b1b100;">else</span>
   <span style="color: #009900;">&#123;</span>
      dataOut <span style="color: #339933;">=</span> stack<span style="color: #339933;">-&gt;</span>head<span style="color: #339933;">-&gt;</span>dataPtr<span style="color: #339933;">;</span>
      NODE<span style="color: #339933;">*</span> temp <span style="color: #339933;">=</span> stack<span style="color: #339933;">-&gt;</span>top<span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// we dont want no leaks</span>
      stack<span style="color: #339933;">-&amp;</span>gt<span style="color: #339933;">;</span>top <span style="color: #339933;">=</span> stack<span style="color: #339933;">-&gt;</span>top<span style="color: #339933;">&gt;</span>nodePtr<span style="color: #339933;">;</span>
      <span style="color: #009900;">&#40;</span>stack<span style="color: #339933;">-&gt;</span>count<span style="color: #009900;">&#41;</span><span style="color: #339933;">--;</span>
      free<span style="color: #009900;">&#40;</span>temp<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// freedom &lt;3</span>
   <span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #b1b100;">return</span> dataOut<span style="color: #339933;">;</span> 
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>I know i have not explained neither the code nor the ADT itself well enough. I will try to update this post -most probably i will not- but the whole point of this post is implementing stacks on my own and recapping it. </p>
<p>I have written all the code on wordpress and have not compiled. If you try any errors or if you have any questions, please feel free to ask or inform me. </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/adts-stacks-140/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It Might Get Loud!</title>
		<link>http://blog.ayberkyilmaz.net/2010/it-might-get-loud-134</link>
		<comments>http://blog.ayberkyilmaz.net/2010/it-might-get-loud-134#comments</comments>
		<pubDate>Sun, 17 Oct 2010 13:15:24 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[İzlenenler]]></category>
		<category><![CDATA[it might get loud]]></category>
		<category><![CDATA[jimmy page]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=134</guid>
		<description><![CDATA[Buraya izlediğim her şeyi yazamayacak kadar tembel bir insan olduğumu kabul ettim ve çok nadir yazmaya başladım. Yalnız, arada yazılmak zorunda olan izlenenler çıkıyor ki şimdi de onlardan birisini yazacağım. It Might Get Loud 2008 yapımı bir belgesel. Kendisi hayatınızda görebileceğiniz en &#8220;cool&#8221; açılışlardan birisine sahip. Daha başında &#8220;oo&#8221; diye giriyorsunuz filme. Film Jimmy Page, [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.ayberkyilmaz.net/wp-content/uploads/2010/10/poster_itmightgetloud2.jpg"><img class="alignnone size-thumbnail wp-image-135" title="poster_itmightgetloud2" src="http://blog.ayberkyilmaz.net/wp-content/uploads/2010/10/poster_itmightgetloud2-150x150.jpg" alt="It Might Get Loud" width="150" height="150" /></a></p>
<p>Buraya izlediğim her şeyi yazamayacak kadar tembel bir insan olduğumu kabul ettim ve çok nadir yazmaya başladım. Yalnız, arada yazılmak zorunda olan izlenenler çıkıyor ki şimdi de onlardan birisini yazacağım.</p>
<p>It Might Get Loud 2008 yapımı bir belgesel. Kendisi hayatınızda görebileceğiniz en &#8220;cool&#8221; açılışlardan birisine sahip. Daha başında &#8220;oo&#8221; diye giriyorsunuz filme.</p>
<p>Film Jimmy Page, The Edge ve Jack White etrafında geçiyor. White Stripes ve U2 seven veya dinleyen biri değilim, bu yüzden de genelde sadece Jimmy Page&#8217;li kısımları özel bir ilgiyle izledim. Ama söylemeden geçemeyeceğim, jack white da sağlam bir herifmiş.</p>
<p>Jack White arkadaşımız 10 çocuklu bir ailede yetişmiş. Ufacık bir odası varmış ve odasındaki müzik aletlerinden yer kalmadığı için yatağını dışarı çıkarmış. Odasında yerde yatıyormuş. Müzik aşkı takdir edilesi. Ayrıca filmde çok güzel bir cümle söylüyor: &#8220;Never wanted to play guitar, ever. Everyone plays guitar, whats the point?&#8221;. Şu everyone gürühuna dahil olamayacak kadar tembel olmam beni çok derinden yaraladı.</p>
<p>Jimmy Page hakkında ise söylenecek çok bir şey yok. Diğer ikisinin babası yaşında olmasına rağmen ikisini de ezip geçiyor karizmasıyla. Mor pantolonla bile karizma herif, daha ne olsun! Hele bir &#8220;rumble&#8221; dinlerken air guitar çalışı var ki, hayran kalmamak mümkün değil. Youtube&#8217;da şöyle bir yoruma rastladım ve kesinlikle paylaşmalıyım: &#8220;Incredible! Jimmy﻿ Page playing air guitar is better than most people playing actual guitar!&#8221; Daha da doğru tarif edilemezdi. Ayrıca jimmy abimiz zamanında strat çalıyormuş, bilmiyordum valla.</p>
<p>Ayrıca filmin bir kısmında kendinizi sorguluyorsunuz resmen. Yaşadıkları zorlukları ve harcadıkları emekleri anlatıyorlar ve insan ister istemez sorguluyor kendisini. Jimmy Page abimiz 15 yaşında emekliliği düşünmüş, siz anlayın durumun ehemmiyetini. Zaten bu durumun <a href="http://news.softpedia.com/news/Being-A-Genius-is-Due-to-Hard-Work-not-High-IQ-52170.shtml" target="_blank">bilimsel açıklaması</a> bile var da, gene de &#8220;in your face&#8221; durumu yaşatıyor.</p>
<p>Daha da uzatmayayım. İzleyin izlettirin. Bu kadar gazdan sonra elime gitarı alıp çalışmam gerekiyordu belki ama malesef yarın vizem var. O yüzden bu gaz boşa gitmesin diye gelip buraya yazıyorum, belki tekrar okuduğumda alırım aynı gazı.</p>
<p>Yazıyı bitirirken de, akıllara kazınan şu şarkıyı paylaşıyorum:</p>
<p><a href="http://www.youtube.com/watch?v=1NAq4HyoNe4">www.youtube.com/watch?v=1NAq4HyoNe4</a></p>
<p>Tekrar görüşene dek, kendinize güzel davranınız.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/it-might-get-loud-134/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Özgür Web Teknolojileri Günleri</title>
		<link>http://blog.ayberkyilmaz.net/2010/ozgur-web-teknolojileri-gunleri-130</link>
		<comments>http://blog.ayberkyilmaz.net/2010/ozgur-web-teknolojileri-gunleri-130#comments</comments>
		<pubDate>Sat, 16 Oct 2010 22:11:26 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Etkinlik]]></category>
		<category><![CDATA[lkd]]></category>
		<category><![CDATA[öwtg]]></category>
		<category><![CDATA[özgür web teknolojileri günleri]]></category>
		<category><![CDATA[yucomp]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=130</guid>
		<description><![CDATA[Uzun bir sessizliği ardından, sessizliğimi gerçekten büyük bir olay için bozuyorum. LKD ve Yucomp olarak çok ama çok güzel ve başarılı bir etkinlik gerçekleştirdik ve ben bundan bahsetmek zorunda hissediyorum kendimi. Belki anlatılacak çok şey var ama uzatmaya çok da gerek yok diye düşünüyorum. Çok fazla kişi çok fazla emek verdi(k) ve karşılığını alabilmek bizi [...]]]></description>
			<content:encoded><![CDATA[<p>Uzun bir sessizliği ardından, sessizliğimi gerçekten büyük bir olay için bozuyorum.</p>
<p>LKD ve Yucomp olarak çok ama çok güzel ve başarılı bir etkinlik gerçekleştirdik ve ben bundan bahsetmek zorunda hissediyorum kendimi.</p>
<p>Belki anlatılacak çok şey var ama uzatmaya çok da gerek yok diye düşünüyorum. Çok fazla kişi çok fazla emek verdi(k) ve karşılığını alabilmek bizi çok mutlu ediyor. Umuyoruz ki sizlerden gelecek olumlu ya da olumsuz eleştirilerle seneye daha da iyi bir etkinlik yapacağız.</p>
<p>Bu güzel etkinliğin ardından böyle güzel güzel şeyler yazmak pazartesi günü vizem olduğu gerçeğini ise değiştirmiyor malesef. Bu sebepledir ki şimdi uykuya gidiyorum. Boş bir zamanımda(fotolar geldikten sonra) bu post update edilecektir ve çok daha eğlenceli hale gelecektir diye düşünüyorum.</p>
<p>Hoşçakalınız.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/ozgur-web-teknolojileri-gunleri-130/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Personal Disorders &#8212; Oh Noes!</title>
		<link>http://blog.ayberkyilmaz.net/2010/personal-disorders-oh-noes-126</link>
		<comments>http://blog.ayberkyilmaz.net/2010/personal-disorders-oh-noes-126#comments</comments>
		<pubDate>Sun, 26 Sep 2010 09:23:03 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Ordan burdan]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=126</guid>
		<description><![CDATA[Yaptığım testin sonuçlarını reklamlarıyla beraber c p yapıyorum: Disorder &#124; Rating Paranoid: Moderate Schizoid: High Schizotypal: Moderate Antisocial: High &#8230;Borderline: Low Histrionic: Moderate Narcissistic: High Avoidant: Low Dependent: Low Obsessive-Compulsive: High URL of the test: http://www.4degreez.com/misc/personality_disorder_test.mv URL for more info: http://www.4degreez.com/disorder/index.html Test gayet basit, anlamlı ve sonuçları da gayet tutarlı. High çıkan bozukluklarımı inceledim:  Schizoid [...]]]></description>
			<content:encoded><![CDATA[<p>Yaptığım testin sonuçlarını reklamlarıyla beraber c p yapıyorum:</p>
<h3>Disorder | Rating<br />
Paranoid: Moderate<br />
Schizoid: High<br />
Schizotypal: Moderate<br />
Antisocial: High<br />
&#8230;Borderline: Low<br />
Histrionic: Moderate<br />
Narcissistic: High<br />
Avoidant: Low<br />
Dependent: Low<br />
Obsessive-Compulsive: High</p>
<p>URL of the test: <a rel="nofollow" href="http://www.4degreez.com/misc/personality_disorder_test.mv" target="_blank">http://www.4degreez.com/misc/personality_disorder_test.mv</a><br />
URL for more info: <a rel="nofollow" href="http://www.4degreez.com/disorder/index.html" target="_blank">http://www.4degreez.com/disorder/index.html</a></h3>
<p>Test gayet basit, anlamlı ve sonuçları da gayet tutarlı. High çıkan bozukluklarımı inceledim:  <strong>Schizoid personality disorder</strong> (SPD) is a <a title="Personality disorder" href="http://en.wikipedia.org/wiki/Personality_disorder">personality disorder</a> characterized by a lack of interest in social relationships, a tendency  towards a solitary lifestyle, secretiveness, and emotional coldness. &gt;&gt; Mesela bu yalnız olma sebebim için harika bir bahane.</p>
<p><strong>Obsessive–compulsive disorder</strong> (<strong>OCD</strong>) is an <a title="Anxiety disorder" href="http://en.wikipedia.org/wiki/Anxiety_disorder">anxiety disorder</a> characterized by <a title="Intrusive thoughts" href="http://en.wikipedia.org/wiki/Intrusive_thoughts">intrusive thoughts</a> that produce uneasiness, apprehension, fear, or worry, by repetitive  behaviors aimed at reducing anxiety, or by a combination of such  thoughts (obsessions) and behaviors (<a title="Compulsive behavior" href="http://en.wikipedia.org/wiki/Compulsive_behavior">compulsions</a>). &gt;&gt; OMGWTF???</p>
<p>Antisocial ve narsisstic olayını tahmin edebiliorz zaten.</p>
<p>Valla kendimi iyi hissettim bu test sayesinde.  Sorun bende değilmiş, hastaymışım meğersem sdfds.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/personal-disorders-oh-noes-126/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>UPEM &#8211; Ankara&#8217;ya Ziyaret</title>
		<link>http://blog.ayberkyilmaz.net/2010/upem-ankaraya-ziyaret-121</link>
		<comments>http://blog.ayberkyilmaz.net/2010/upem-ankaraya-ziyaret-121#comments</comments>
		<pubDate>Sun, 12 Sep 2010 17:08:42 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Okul]]></category>
		<category><![CDATA[upem]]></category>
		<category><![CDATA[upem 2010]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=121</guid>
		<description><![CDATA[Uzun bir aradan sonra yazı yazıyorum ki bu önemli olay için bir şeyler yazmasam olmazdı. Nedir önemli olay? ODTÜ&#8217;yü kazanamadık ama bir hafta da olsa ODTÜ&#8217;de ders görmeye hak kazandık :p  Ulusal Programlama Eğitim ve Yarışma Programı dahilinde Ankara&#8217;ya gidiyoruz.  İki ekiple orda olacağız. Beş gün boyunca hızlıca bir eğitimden geçeceğiz ve cumartesi günü de [...]]]></description>
			<content:encoded><![CDATA[<p>Uzun bir aradan sonra yazı yazıyorum ki bu önemli olay için bir şeyler yazmasam olmazdı.</p>
<p>Nedir önemli olay? ODTÜ&#8217;yü kazanamadık ama bir hafta da olsa ODTÜ&#8217;de ders görmeye hak kazandık :p  Ulusal Programlama Eğitim ve Yarışma Programı dahilinde Ankara&#8217;ya gidiyoruz.  İki ekiple orda olacağız. Beş gün boyunca hızlıca bir eğitimden geçeceğiz ve cumartesi günü de yarışmaya katılacağız.</p>
<p>Doğruyu söylemek gerekirse benim bulunduğum ekip biraz tecrübe için gidiyor. Gene de, iyi bir iş çıkaracağımıza inanıyorum. Diğer ekibimiz ise çok daha tecrübeli. Onlardan derece görmek sürpriz olmaz diye düşünüyorum.</p>
<p>Program hakkında daha ayrıntılı bilgiyi <a href="https://www.ceng.metu.edu.tr/contest/upem">burdan</a> alabilirsiniz. Beş günlük yoğun bir program ve sonrasında da yarışma var. Bize bol şans dileyiniz ve kendinize iyi bakınız.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/upem-ankaraya-ziyaret-121/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Char to Int Conversion in C</title>
		<link>http://blog.ayberkyilmaz.net/2010/char-to-int-conversion-in-c-101</link>
		<comments>http://blog.ayberkyilmaz.net/2010/char-to-int-conversion-in-c-101#comments</comments>
		<pubDate>Thu, 01 Jul 2010 21:01:44 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Teknik]]></category>
		<category><![CDATA[c]]></category>
		<category><![CDATA[char to int]]></category>
		<category><![CDATA[char to int conversion]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=101</guid>
		<description><![CDATA[The programming thing has a lot of tricks and as a programmer, I like them very very much. The latest trick that i have come across is converting a char digit to its integer value. As you know, if you write something like this: char num[11] = "0123456789"; int s = (int)num[0]; printf("%d\n",s); It will [...]]]></description>
			<content:encoded><![CDATA[<p>The programming thing has a lot of tricks and as a programmer, I like them very very much.</p>
<p>The latest trick that i have come across is converting a char digit to its integer value.</p>
<p>As you know, if you write something like this:</p>
<p><code>char num[11] = "0123456789";<br />
int s = (int)num[0];<br />
printf("%d\n",s);</code></p>
<p>It will not print 0, but instead it will print the <a href="http://www.asciitable.com">ASCII</a> value of &#8217;0&#8242;.</p>
<p>While looking for a quick solution, I have seen this perfect trick at stackoverflow:</p>
<p><code>char num[11] = "0123456789";<br />
int s = num[0] - '0';<br />
printf("%d\n",s);</code></p>
<p>Since all the digits are consecutive at the ASCII Table, -supposing all the elements are digits- substracting the ASCII value of &#8217;0&#8242; from that digit&#8217;s ASCII value gives you the correct integer value of the digit.</p>
<p>All that I can say is: FASCINATING!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/char-to-int-conversion-in-c-101/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Sansür Hakkında Bilinmesi Gerekenler</title>
		<link>http://blog.ayberkyilmaz.net/2010/sansur-hakkinda-bilinmesi-gerekenler-95</link>
		<comments>http://blog.ayberkyilmaz.net/2010/sansur-hakkinda-bilinmesi-gerekenler-95#comments</comments>
		<pubDate>Sat, 26 Jun 2010 11:10:14 +0000</pubDate>
		<dc:creator>Ayberk Yılmaz</dc:creator>
				<category><![CDATA[Ordan burdan]]></category>
		<category><![CDATA[özgür internet]]></category>
		<category><![CDATA[sansür]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://blog.ayberkyilmaz.net/?p=95</guid>
		<description><![CDATA[Uzun zamandır yazı yazmayan ben, sessizliğimi önemli bir olay için bozuyorum. Aslında tam olarak yazı yazacağım söylenemez, çünkü kendi düşüncelerime yer vermeyeceğim. Sadece bazı karışıklıkları gidermek amacıyla okumanız gerektiğini düşündüğüm yazıları söyleyeceğim. Öncelikle &#8220;vergi&#8221; sebebiyle kapatılan youtube hakkında yazılmış bir yazı var. &#8220;Ama youtube da vergi vermiyor yeaaa&#8221; demeden önce okunması gerekiyor. Kendisi burda. Ayrıca [...]]]></description>
			<content:encoded><![CDATA[<p>Uzun zamandır yazı yazmayan ben, sessizliğimi önemli bir olay için bozuyorum. Aslında tam olarak yazı yazacağım söylenemez, çünkü kendi düşüncelerime yer vermeyeceğim. Sadece bazı karışıklıkları gidermek amacıyla okumanız gerektiğini düşündüğüm yazıları söyleyeceğim.</p>
<p>Öncelikle &#8220;vergi&#8221; sebebiyle kapatılan youtube hakkında yazılmış bir yazı var. &#8220;Ama youtube da vergi vermiyor yeaaa&#8221; demeden önce okunması gerekiyor. <a href="http://postdijital.com/google-engellemesi-ve-vergi-gercegi/">Kendisi burda</a>.</p>
<p>Ayrıca pek çoğumuzun yanlış bildiği bir şey var -ben de öğreneli çok olmadı-: Google&#8217;ın Türkiye ofisi bulunmakta. Kendisi google&#8217;ın diğer pek çok ülkedeki ofisleri gibi aracı görev görmekteymiş. Üstte verdiğim yazıda bunu güzelce açıklamışlar. Bunu takiben bir de google avukatlarının açıklaması var, isteyenler onu da <a href="http://www.gazeteciler.com/googlein-avukatindan-aciklama-news17941.html">burdan</a> okuyabilir.</p>
<p>Unutmayalım ki sansüre karşı olan bizlerin derdi &#8220;youtube&#8221; değil. Bizim derdimiz &#8220;sansür&#8221;. Geçtiğimiz cumartesi Kadir Has Üniversitesi&#8217;nde çok güzel bir toplantı gerçekleştirildi, internetten de canlı yayınlandı. Bu gibi şeylere katılmadan ya da bunları izlemeden atıp tutmak çok kolay. Amaç sadece youtube&#8217;un tekrar açılması değil, şu anda erişilemeyen binlerce sitenin tekrar erişilebilir gelmesidir. Daha söylenecek çok şey olsa da, kendi fikirlerimi yazmamakta kararlıyım.</p>
<p>Sansüre karşı durmak isteyenler için şöyle bir şey de var:  <a href="http://www.sansursuzinternet.org.tr/">Sansürsüzİnternet</a>. Bir şeyler yapmak isteyenler bu bildiriyi imzalayabilir, mail grubuna katılıp sonraki adımlarda yer alabilir.</p>
<p>Aydınlık günler dilerim.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.ayberkyilmaz.net/2010/sansur-hakkinda-bilinmesi-gerekenler-95/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

