<?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>Life and Living</title>
	<atom:link href="http://www.lifenlivin.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lifenlivin.com</link>
	<description>Destroyed in the horizon.</description>
	<lastBuildDate>Sat, 06 Mar 2010 17:05:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>A line follower robot</title>
		<link>http://www.lifenlivin.com/2010/03/a-line-follower-robot/</link>
		<comments>http://www.lifenlivin.com/2010/03/a-line-follower-robot/#comments</comments>
		<pubDate>Sat, 06 Mar 2010 17:05:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=147</guid>
		<description><![CDATA[It was a assignment to program a line follower robot. We have five sensors to detect a black line on a white surface. In my group we were two members:- me and Sufi. What we do is that we wrote a program in BASIC that will tell the user to put the robot sensor on [...]]]></description>
			<content:encoded><![CDATA[<p>It was a assignment to program a line follower robot. We have five sensors to detect a black line on a white surface. In my group we were two members:- me and Sufi. What we do is that we wrote a program in BASIC that will tell the user to put the robot sensor on white surface to take input data of the sensor readings for white. When reading is complete it will say to put the senosrs on the black to take the sensor readings for black. When the reading is complete it will seek black line. If the middle sensor is in black line the robot will go straight. If all the left sensors are in black, it will turn 90 degree to left. Same action for right 90 degree turn. If the black line is detected on any side of the middle sensor, the robot will turn lightly to make the black line appear on the middle sensor. If all the sensors are in white the line follower will stop moving.</p>
<p>Our report is <a href="http://www.lifenlivin.com/wp-content/uploads/2010/03/Peripheral-and-Interfacing-Lab-report.pdf">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/03/a-line-follower-robot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Curve</title>
		<link>http://www.lifenlivin.com/2010/03/curve/</link>
		<comments>http://www.lifenlivin.com/2010/03/curve/#comments</comments>
		<pubDate>Wed, 03 Mar 2010 17:57:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My thought]]></category>
		<category><![CDATA[University life]]></category>
		<category><![CDATA[curve]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=145</guid>
		<description><![CDATA[Curve is a combination of a lot of small segmented straight line. So small segment of straight line is the source of all kind of curves not in the drawing board but also in our nature and life. Curve has some strange things over straight line. You can create a curve with some small segmented [...]]]></description>
			<content:encoded><![CDATA[<p>Curve is a combination of a lot of small segmented straight line. So small segment of straight line is the source of all kind of curves not in the drawing board but also in our nature and life. Curve has some strange things over straight line. You can create a curve with some small segmented straight line but the reverse is not possible. If you join few curves it will create a complex curve but not a cruve. But putting curves of same shape and curvature may create a straight line like thing (not really a straight line).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/03/curve/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A beautiful World</title>
		<link>http://www.lifenlivin.com/2010/03/a-beautiful-world/</link>
		<comments>http://www.lifenlivin.com/2010/03/a-beautiful-world/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 18:16:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My thought]]></category>
		<category><![CDATA[University life]]></category>
		<category><![CDATA[a beautiful world]]></category>
		<category><![CDATA[balance]]></category>
		<category><![CDATA[beautiful]]></category>
		<category><![CDATA[personal world]]></category>
		<category><![CDATA[world]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=143</guid>
		<description><![CDATA[A beautiful world does not mean that the world is full of precious and eye catching things. When we can say that our world has become beautiful? It is true that the world has a lot of beautiful things to notice. Are this enough to declare our world beautiful? I say no, because a beautiful [...]]]></description>
			<content:encoded><![CDATA[<p>A <a href="http://www.lifenlivin.com/2010/02/beauty-by-definition/" target="_blank">beautiful</a> world does not mean that the world is full of precious and eye catching things. When we can say that our world has become beautiful? It is true that the world has a lot of beautiful things to notice. Are this enough to declare our world beautiful? I say no, because a beautiful world is another definition. Balance always plays a major role in beautification. A beautiful world is meant to be a balanced world in ecological, economic and cultural sense.</p>
<p>Every person has his or her own world, when will we say his or her world is beautiful? It is not easy, because a person may not express his or her world to other. Hiding personal world does not mean that that his or her world is nasty. When a person has a nice environment, cool friends and relatives in contact, just, love, devotion in mind we can say he or she has a beautiful world.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/03/a-beautiful-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beauty by definition</title>
		<link>http://www.lifenlivin.com/2010/02/beauty-by-definition/</link>
		<comments>http://www.lifenlivin.com/2010/02/beauty-by-definition/#comments</comments>
		<pubDate>Sat, 27 Feb 2010 17:24:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[My thought]]></category>
		<category><![CDATA[University life]]></category>
		<category><![CDATA[Beauty]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=141</guid>
		<description><![CDATA[What is beauty? Something pleasant, smooth, easing or something else that makes a sense of feeling good. How can we define beauty? How can we measure it? Well it is relative to the tastes of the human being. We say a thing is beautified when external ornament is applied. We say a thing natural beauty [...]]]></description>
			<content:encoded><![CDATA[<p>What is beauty? Something pleasant, smooth, easing or something else that makes a sense of feeling good. How can we define beauty? How can we measure it? Well it is relative to the tastes of the human being. We say a thing is beautified when external ornament is applied. We say a thing natural beauty when the thing is genuine and nothing is applied on it. The adjective beauty creates a lot of sense in our mind, depending on situation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/beauty-by-definition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I smell a rat</title>
		<link>http://www.lifenlivin.com/2010/02/i-smell-a-rat/</link>
		<comments>http://www.lifenlivin.com/2010/02/i-smell-a-rat/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 20:52:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Living]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[mellowhost]]></category>
		<category><![CDATA[smell a rat]]></category>
		<category><![CDATA[webhostingtalk]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=139</guid>
		<description><![CDATA[I have just created a thread in webhostingtalk.com about a review of my host. The thing is that my site is moved from the initial server. One of the guy from that forum traced it and replied it. They smell a rat about my correctness of information. It is true that I bought my hosting [...]]]></description>
			<content:encoded><![CDATA[<p>I have just created a <a href="http://www.webhostingtalk.com/showthread.php?p=6670149" target="_blank">thread</a> in webhostingtalk.com about a review of my host. The thing is that my site is moved from the initial server. One of the guy from that forum traced it and replied it. They smell a rat about my correctness of information. It is true that I bought my hosting from mellowhost.com. Mellowhost has many servers. The admin moved my site from one server to another server due to package management. He notified me about it. What ever I told the man who made a doubt to trace ip history of the site to see if I am telling right or wrong.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/i-smell-a-rat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A river cruise</title>
		<link>http://www.lifenlivin.com/2010/02/a-river-cruise/</link>
		<comments>http://www.lifenlivin.com/2010/02/a-river-cruise/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 18:21:27 +0000</pubDate>
		<dc:creator>Sondha</dc:creator>
				<category><![CDATA[University life]]></category>
		<category><![CDATA[... tuni kotha sune na]]></category>
		<category><![CDATA[a river cruise]]></category>
		<category><![CDATA[Buriganga]]></category>
		<category><![CDATA[jewel]]></category>
		<category><![CDATA[M. V. King Shomrat]]></category>
		<category><![CDATA[maska]]></category>
		<category><![CDATA[Meghna]]></category>
		<category><![CDATA[nayan]]></category>
		<category><![CDATA[oo tunir ma]]></category>
		<category><![CDATA[river cruise]]></category>
		<category><![CDATA[Sadar Ghat]]></category>
		<category><![CDATA[tazim]]></category>
		<category><![CDATA[zia]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=133</guid>
		<description><![CDATA[Recently my batch arranged a river cruise from Buriganga river to Meghna river. I had never attended a river cruise before. As we were the organizing batch, we had a lot of duties. I was assigned the duty of transportation from Department to Ship and ship to department (return). My friends were assigned other tasks. [...]]]></description>
			<content:encoded><![CDATA[<p>Recently my batch arranged a river cruise from Buriganga river to Meghna river. I had never attended a river cruise before. As we were the organizing batch, we had a lot of duties. I was assigned the duty of transportation from Department to Ship and ship to department (return). My friends were assigned other tasks. I told the bus management authority to take us to Sadar Ghat Docking Station at 7:30 AM, they came in right time, but it took more than one hour to start for the docking station. We were to take the necesary chairs, drinks, waters to the bus, make sure that the teachers and other batches are got in the bus. I myself, Zia, Nayan, Tazim, Jewel, Maska and some junior student carried these stuff to bus. I myself, Tulu, Nazmus Sakib, Shamiul Tied banners in front of the buses. We had two double decker buses for transportation to docking station.  At about 9:00 AM we started for Sadar Ghat Docking Station. The Juniors were singing, so far I have heard the song is like &#8220;oo tunir ma, &#8230; tuni kotha sune na&#8230;&#8221;. We reached Sadar Ghat within half hour. Sadar Ghat is a nasty place. The water of Buriganga river stinks. We got on our ship. It was M.V. King Shomrat. We provided breakfast after the ship launched. Our female classmates arranged cultural program involving teachers and students. At noon we provided lunch and we returned at evening.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/a-river-cruise/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Buggy header in php</title>
		<link>http://www.lifenlivin.com/2010/02/buggy-header-in-php/</link>
		<comments>http://www.lifenlivin.com/2010/02/buggy-header-in-php/#comments</comments>
		<pubDate>Sat, 13 Feb 2010 16:28:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[University life]]></category>
		<category><![CDATA[header]]></category>
		<category><![CDATA[php header function]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=131</guid>
		<description><![CDATA[Today, I got a problem in a php script. I was using header() function in the if-else branching. The code is something like
if(condition1)
{
header(&#8221;Location:dummy.php?err=1&#8243;);
}
else
{
header(&#8221;Location:dummy.php?err=2&#8243;);
}
if(condition2)
{
header(&#8221;Location:dummy.php?err=3&#8243;);
}
else
{
header(&#8221;Location:dummy.php?err=4&#8243;);
}
a contition may fullfill both condition 1 and 2. But in this case I want to go through the first if clause. I run the script and saw that the final page is [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I got a problem in a php script. I was using header() function in the if-else branching. The code is something like</p>
<p>if(condition1)</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=1&#8243;);</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=2&#8243;);</p>
<p>}</p>
<p>if(condition2)</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=3&#8243;);</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=4&#8243;);</p>
<p>}</p>
<p>a contition may fullfill both condition 1 and 2. But in this case I want to go through the first if clause. I run the script and saw that the final page is dummy.php?err=3. But I supposed to get err=1. The question is why this happened? I found its answer. The first condition is fullfilled and the page is directed to dummy.php?err=1, the script does not exit, rather it run from where it was redirected. Then the second condtion is fullfilled. So the page is redirected again to dummy.php?err=3.</p>
<p>The solution is to use exit() function after each header() function so that the script cannot run further after redirection.</p>
<p>The correct code will be,</p>
<p>if(condition1)</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=1&#8243;);</p>
<p>exit();</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=2&#8243;);</p>
<p>exit();</p>
<p>}</p>
<p>if(condition2)</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=3&#8243;);</p>
<p>exit();</p>
<p>}</p>
<p>else</p>
<p>{</p>
<p>header(&#8221;Location:dummy.php?err=4&#8243;);</p>
<p>exit();</p>
<p>}</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/buggy-header-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>File permission in Ubuntu</title>
		<link>http://www.lifenlivin.com/2010/02/file-permission-in-ubuntu/</link>
		<comments>http://www.lifenlivin.com/2010/02/file-permission-in-ubuntu/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 17:21:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[University life]]></category>
		<category><![CDATA[file permission in ubuntu]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=129</guid>
		<description><![CDATA[I use ubuntu. I found a problem in ubuntu file permission. I have made a php script to delete a file. The file run on CentOs server correctly, but if I run that script on my ubuntu localhost, it shows me a warning saying &#8220;Warning:  unlink(toberemoved.php) [function.unlink]: Permission denied in /var/www/remover.php on line 5&#8220;.
The [...]]]></description>
			<content:encoded><![CDATA[<p>I use ubuntu. I found a problem in ubuntu file permission. I have made a php script to delete a file. The file run on CentOs server correctly, but if I run that script on my ubuntu localhost, it shows me a warning saying &#8220;<strong>Warning</strong>:  unlink(toberemoved.php) [function.unlink]: Permission denied in <strong>/var/www/remover.php</strong> on line <strong>5</strong>&#8220;.</p>
<p>The problem is that in ubuntu root access is not available directly. To create delete file we need to issue an sudo command, that asks for the root password. But who run the php script is a client, who have no root access, that is why it shows an warning. If you are in such situation issue a command &#8220;sudo chmod +w foldername&#8221;, so that the client can wirte and delete file to that folder.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/file-permission-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Color Your Life###2</title>
		<link>http://www.lifenlivin.com/2010/02/color-your-life2/</link>
		<comments>http://www.lifenlivin.com/2010/02/color-your-life2/#comments</comments>
		<pubDate>Fri, 12 Feb 2010 11:45:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[University life]]></category>
		<category><![CDATA[color yuur life]]></category>
		<category><![CDATA[shrub under water]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=126</guid>
		<description><![CDATA[Sometimes I take  photos. I found a virtual pond type thing in front of your department. I saw some shrubs udner the water. I took a photo of it.
]]></description>
			<content:encoded><![CDATA[<p>Sometimes I take  photos. I found a virtual pond type thing in front of your department. I saw some shrubs udner the water. I took a photo of it.</p>
<div id="attachment_127" class="wp-caption aligncenter" style="width: 614px"><a href="http://www.lifenlivin.com/wp-content/uploads/2010/02/22478_288533800797_708370797_3322703_1111397_n.jpg"><img class="size-full wp-image-127" title="Shrub under water" src="http://www.lifenlivin.com/wp-content/uploads/2010/02/22478_288533800797_708370797_3322703_1111397_n.jpg" alt="Shrub under Water" width="604" height="453" /></a><p class="wp-caption-text">Shrub under Water</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/color-your-life2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Export mysql database</title>
		<link>http://www.lifenlivin.com/2010/02/export-mysql-database/</link>
		<comments>http://www.lifenlivin.com/2010/02/export-mysql-database/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 13:29:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[University life]]></category>
		<category><![CDATA[export mysql database]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<category><![CDATA[Rinku]]></category>

		<guid isPermaLink="false">http://www.lifenlivin.com/?p=123</guid>
		<description><![CDATA[Yesterday My classmate Rinku asked me how to export mysql database. He said that using PhpMyAdmin is pain to download the database everyday. So he needs a button which will do the job of PhpMyAdmin in a single step. That is why he needs the system of exporting a database. I knew how to import [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday My classmate Rinku asked me how to export mysql database. He said that using PhpMyAdmin is pain to download the database everyday. So he needs a button which will do the job of PhpMyAdmin in a single step. That is why he needs the system of exporting a database. I knew how to import database, it is a simple command line script. %mysqlimport -p -u root &lt; file_name.sql. But I dont know about exporting a database. Because I need to export database rarely. I told him to try with mysqlexport command. But this is not an sql comman. This does not work. I came home and googled about it.</p>
<p>I found that exporting a database is also known as dumping. The command is %mysqldump -p -u user_name database_name &gt; file_name.sql.</p>
<p>Simple! Isn&#8217;t it?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lifenlivin.com/2010/02/export-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<script type="text/javascript">var infolink_pid = 35265;</script>
<script type="text/javascript" src="http://resources.infolinks.com/js/infolinks_main.js"></script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
try {
_uacct = "UA-4832193-1";
urchinTracker();
} catch(err) {}</script>

