<?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>Dougy Mak's Blog</title>
	<atom:link href="http://dougymak.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dougymak.com</link>
	<description>MY BLOG!</description>
	<lastBuildDate>Tue, 26 Jan 2010 05:09:05 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Class 02 – Order of Magnitude, Units, Unit Analysis, Unit Conversions</title>
		<link>http://dougymak.com/class-02-%e2%80%93-order-of-magnitude-units-unit-analysis-unit-conversions/</link>
		<comments>http://dougymak.com/class-02-%e2%80%93-order-of-magnitude-units-unit-analysis-unit-conversions/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 05:09:05 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Physics 4A Lectures]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1091</guid>
		<description><![CDATA[Class 02 – Order of Magnitude, Units, Unit Analysis, Unit Conversions
]]></description>
			<content:encoded><![CDATA[<p><a href="http://dougymak.com/wp-content/uploads/2010/01/100125_000.mp3">Class 02 – Order of Magnitude, Units, Unit Analysis, Unit Conversions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/class-02-%e2%80%93-order-of-magnitude-units-unit-analysis-unit-conversions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://dougymak.com/wp-content/uploads/2010/01/100125_000.mp3" length="76405541" type="audio/mpeg" />
		</item>
		<item>
		<title>Class 01 &#8211; Physics, Sig Figs</title>
		<link>http://dougymak.com/class-01-physics-sig-figs/</link>
		<comments>http://dougymak.com/class-01-physics-sig-figs/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 02:33:24 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Physics 4A Lectures]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1088</guid>
		<description><![CDATA[The recording is better heard through earphones. I&#8217;ll place the recorder closer to the teacher next time.
Class 01 &#8211; Physics, Sig Figs 1-22-10
]]></description>
			<content:encoded><![CDATA[<p>The recording is better heard through earphones. I&#8217;ll place the recorder closer to the teacher next time.</p>
<p><a href="http://dougymak.com/wp-content/uploads/2010/01/100122_001.mp3">Class 01 &#8211; Physics, Sig Figs 1-22-10</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/class-01-physics-sig-figs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://dougymak.com/wp-content/uploads/2010/01/100122_001.mp3" length="77158495" type="audio/mpeg" />
		</item>
		<item>
		<title>Horrible Headache</title>
		<link>http://dougymak.com/horrible-headache/</link>
		<comments>http://dougymak.com/horrible-headache/#comments</comments>
		<pubDate>Sun, 17 Jan 2010 20:20:46 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[My Journal]]></category>
		<category><![CDATA[The awesome & not so awesome foods]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1084</guid>
		<description><![CDATA[I had the worst headache in my life yesterday night. I came home with my throbbing head pain and thought about taking a Tylenol, but I didn&#8217;t think I wouldn&#8217;t need it since it is usually gone by my wakening. I went to sleep hoping it will slowly dissolve away, but it just ruined my [...]]]></description>
			<content:encoded><![CDATA[<p>I had the worst headache in my life yesterday night. I came home with my throbbing head pain and thought about taking a Tylenol, but I didn&#8217;t think I wouldn&#8217;t need it since it is usually gone by my wakening. I went to sleep hoping it will slowly dissolve away, but it just ruined my whole night of sleep. Tossing and turning, and constantly waking, I felt such pain as if I was going to drop dead. I still feel minor pain and minor strain and tension around my neck. Horrible headache. <em>Pops a Tylenol. </em>While I doubt it was caused by our dinner at Chevys, the food there was displeasing. I haven&#8217;t ate there for 5 years or so, and it was a great opportunity to bring my girl friend since she had never ate there before. Anyways, after my meal, I felt like crap. Normally, I wouldn&#8217;t get this &#8220;crap&#8221; feeling after a extensive large meal especially when it&#8217;s fresh and healthy. Feeling like crap after a meal is my body&#8217;s way of telling me this food is crap. Going to Chevys served as a reminder for why I never went back in the past years and a reminder to me for why I choose local joints over chains any day.</p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/horrible-headache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MangaStream&#8217;s new feature</title>
		<link>http://dougymak.com/mangastreams-new-feature/</link>
		<comments>http://dougymak.com/mangastreams-new-feature/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 07:20:31 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Anime]]></category>
		<category><![CDATA[Seriously, Finally, or About Time]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1080</guid>
		<description><![CDATA[From MangaStream&#8217;s Twitter:
You can now navigate manga chapters on mangastream using your right and left keyboard arrows.
Finally! The only problem I have now is when there&#8217;s a 2-page manga scene, I can&#8217;t use the arrow keys to scroll to the right to see the right side of the page anymore.




]]></description>
			<content:encoded><![CDATA[<p>From MangaStream&#8217;s Twitter:</p>
<blockquote><p><span><span>You can now navigate manga chapters on mangastream using your right and left keyboard arrows.</span></span></p></blockquote>
<p>Finally! The only problem I have now is when there&#8217;s a 2-page manga scene, I can&#8217;t use the arrow keys to scroll to the right to see the right side of the page anymore.</p>
<blockquote><p><span><span><br />
</span></span></p>
<blockquote></blockquote>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/mangastreams-new-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Avatar was awesome!</title>
		<link>http://dougymak.com/avatar-was-awesome/</link>
		<comments>http://dougymak.com/avatar-was-awesome/#comments</comments>
		<pubDate>Fri, 15 Jan 2010 06:47:16 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Movie Rants & Praises]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1045</guid>
		<description><![CDATA[I watched Avatar a few weeks back and it was AWESOME! Those &#8220;animators&#8221; from G.I. Joe should really learn a thing or two from watching Avatar. It&#8217;s movies like these that put movies like G.I. Joe to shame. Why is it that movies with great titles always suck? Anyways&#8230; What a complete movie! Story was above average, [...]]]></description>
			<content:encoded><![CDATA[<p>I watched Avatar a few weeks back and it was AWESOME! Those &#8220;animators&#8221; from G.I. Joe should really learn a thing or two from watching Avatar. It&#8217;s movies like these that put movies like G.I. Joe to shame. <em>Why is it that movies with great titles always suck? </em>Anyways&#8230; What a complete movie! Story was above average, animation was great, and the fantasy world design was great. If you haven&#8217;t watched it yet, go watch it now <em>in 3D</em>!</p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/avatar-was-awesome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PHP] Uppercase &amp; Lowercase</title>
		<link>http://dougymak.com/php-uppercase-lowercase/</link>
		<comments>http://dougymak.com/php-uppercase-lowercase/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 11:21:04 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Programming Stuff]]></category>
		<category><![CDATA[Techy Stuff]]></category>
		<category><![CDATA[Website Stuff]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1061</guid>
		<description><![CDATA[Another few functions for I find useful:

ucfirst() &#8211; Make a string&#8217;s first character uppercase
lcfirst() &#8211; Make a string&#8217;s first character lowercase
strtolower() &#8211; Make a string lowercase
strtoupper() &#8211; Make a string uppercase
ucwords() &#8211; Uppercase the first character of each word in a string

From the looks of things, ucfirst() was coined from it&#8217;s function uppercase first letter [...]]]></description>
			<content:encoded><![CDATA[<p>Another few functions for I find useful:</p>
<ul>
<li>ucfirst() &#8211; Make a string&#8217;s first character uppercase</li>
<li>lcfirst() &#8211; Make a string&#8217;s first character lowercase</li>
<li>strtolower() &#8211; Make a string lowercase</li>
<li>strtoupper() &#8211; Make a string uppercase</li>
<li>ucwords() &#8211; Uppercase the first character of each word in a string</li>
</ul>
<p>From the looks of things, ucfirst() was coined from it&#8217;s function uppercase first letter (unlike some functions!). So goes for lcfirst() and ucwords(): lowercase first letter and uppercase first letter of each word. strtolower() lowercases every letter in every word in a string and strupper() functions in opposite, uppercases each letter in every word in a string.</p>
<p>ucfirst() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
$foo = 'hello world!';<br />
$foo = ucfirst($foo); // Hello world!</code></p>
<p style="padding-left: 30px;"><code>$bar = 'HELLO WORLD!';<br />
$bar = ucfirst($bar); // HELLO WORLD!<br />
$bar = ucfirst(strtolower($bar)); // Hello world!<br />
?&gt;</code></p>
<p>lcfirst() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
$foo = 'HelloWorld';<br />
$foo = lcfirst($foo);             // helloWorld</code></p>
<p style="padding-left: 30px;"><code><br />
$bar = 'HELLO WORLD!';<br />
$bar = lcfirst($bar);             // hELLO WORLD!<br />
$bar = lcfirst(strtoupper($bar)); // hELLO WORLD!<br />
?&gt;</code></p>
<p>strtolower() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
$str = "Mary Had A Little Lamb and She LOVED It So";<br />
$str = strtolower($str);<br />
echo $str; // Prints mary had a little lamb and she loved it so<br />
?&gt;</code></p>
<p>strtoupper() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
$str = "Mary Had A Little Lamb and She LOVED It So";<br />
$str = strtoupper($str);<br />
echo $str; // Prints MARY HAD A LITTLE LAMB AND SHE LOVED IT SO<br />
?&gt;</code></p>
<p>ucwords() examples:</p>
<p style="padding-left: 30px;"><code><br />
&lt;?php<br />
$foo = 'hello world!';<br />
$foo = ucwords($foo);             // Hello World!</code></p>
<p style="padding-left: 30px;"><code><br />
$bar = 'HELLO WORLD!';<br />
$bar = ucwords($bar);             // HELLO WORLD!<br />
$bar = ucwords(strtolower($bar)); // Hello World!<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/php-uppercase-lowercase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Watchmen, Not what I expected</title>
		<link>http://dougymak.com/watchmen-not-what-i-expected/</link>
		<comments>http://dougymak.com/watchmen-not-what-i-expected/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 22:16:38 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Movie Rants & Praises]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1055</guid>
		<description><![CDATA[This is what I think about the movie and be warned, there are spoilers.
[[Visit blog to check out this spoiler]]
]]></description>
			<content:encoded><![CDATA[<p>This is what I think about the movie and be warned, there are spoilers.</p>
<p><a href='http://dougymak.com/watchmen-not-what-i-expected/#SID1055_1_tgl' title='Visit blog to check out this spoiler'>[[Visit blog to check out this spoiler]]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/watchmen-not-what-i-expected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Winterbreak Movies</title>
		<link>http://dougymak.com/winterbreak-movies/</link>
		<comments>http://dougymak.com/winterbreak-movies/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 09:09:26 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Movie Rants & Praises]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1053</guid>
		<description><![CDATA[Well well, haven&#8217;t posted in a while, but wanted to give a few quick movie recommendations. Some people may find them to be a little old and dusty, but a little dust shouldn&#8217;t stop you from watching it. They&#8217;re still relatively new.
Frost / Nixon &#8211; Loved it. Watch it. I think people who have no [...]]]></description>
			<content:encoded><![CDATA[<p>Well well, haven&#8217;t posted in a while, but wanted to give a few quick movie recommendations. Some people may find them to be a little old and dusty, but a little dust shouldn&#8217;t stop you from watching it. They&#8217;re still relatively new.</p>
<p><strong>Frost / Nixon</strong> &#8211; Loved it. Watch it. I think people who have no interest in politics would find this movie to be very boring, otherwise you&#8217;ll love it.<br />
<strong>The Invention of Lying </strong>- I wouldn&#8217;t recommend it. If you&#8217;re open minded to an alternate view, then be my guest.<br />
<strong>Star Trek </strong>- Loved it. Watch it. Too much to say, just watch it. You&#8217;ll like it.<br />
<strong>Surrogates</strong> &#8211; I would recommend you to skip this movie. I turned it off half way through the movie.</p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/winterbreak-movies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s about time America!</title>
		<link>http://dougymak.com/its-about-time-america/</link>
		<comments>http://dougymak.com/its-about-time-america/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 15:20:37 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Seriously, Finally, or About Time]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1050</guid>
		<description><![CDATA[America (NYC at least) is finally stepping it up in promoting a healthy lifestyle.

]]></description>
			<content:encoded><![CDATA[<p>America (NYC at least) is finally stepping it up in promoting a healthy lifestyle.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="295" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/-F4t8zL6F0c&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="295" src="http://www.youtube.com/v/-F4t8zL6F0c&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/its-about-time-america/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[PHP] Rounding up and down</title>
		<link>http://dougymak.com/php-rounding-up-and-down/</link>
		<comments>http://dougymak.com/php-rounding-up-and-down/#comments</comments>
		<pubDate>Wed, 06 Jan 2010 16:04:09 +0000</pubDate>
		<dc:creator>DougyMak</dc:creator>
				<category><![CDATA[Programming Stuff]]></category>
		<category><![CDATA[Techy Stuff]]></category>
		<category><![CDATA[Website Stuff]]></category>

		<guid isPermaLink="false">http://dougymak.com/?p=1036</guid>
		<description><![CDATA[I just discovered a few cool functions:

ceil() &#8211; Round fractions up
floor() &#8211; Round fractions down
round() &#8211; Rounds a float

I&#8217;m guessing ceil() is short for ceiling. When looking up, you have a ceiling whereas when looking down, you have a floor(). The functions&#8217; names correspond to their actual function which makes it pretty easy to remember. [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered a few cool functions:</p>
<ul>
<li>ceil() &#8211; Round fractions up</li>
<li>floor() &#8211; Round fractions down</li>
<li>round() &#8211; Rounds a float</li>
</ul>
<p>I&#8217;m guessing ceil() is short for ceiling. When looking up, you have a ceiling whereas when looking down, you have a floor(). The functions&#8217; names correspond to their actual function which makes it pretty easy to remember. And then we also have round which is just basic rounding.</p>
<p>ceil() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
echo ceil(4.3); // 5<br />
echo ceil(9.999); // 10<br />
echo ceil(-3.14); // -3<br />
?&gt;</code></p>
<p>floor() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
echo floor(4.3); // 4<br />
echo floor(9.999); // 9<br />
echo floor(-3.14); // -4<br />
?&gt;</code></p>
<p>round() examples:</p>
<p style="padding-left: 30px;"><code>&lt;?php<br />
echo round(3.4); // 3<br />
echo round(3.5); // 4<br />
echo round(3.6); // 4<br />
echo round(3.6, 0); // 4<br />
echo round(1.95583, 2); // 1.96<br />
echo round(1241757, -3); // 1242000<br />
echo round(5.045, 2); // 5.05<br />
echo round(5.055, 2); // 5.06<br />
?&gt;<br />
&lt;?php<br />
echo round(9.5, 0, PHP_ROUND_HALF_UP); // 10<br />
echo round(9.5, 0, PHP_ROUND_HALF_DOWN); // 9<br />
echo round(9.5, 0, PHP_ROUND_HALF_EVEN); // 10<br />
echo round(9.5, 0, PHP_ROUND_HALF_ODD); // 9echo round(8.5, 0, PHP_ROUND_HALF_UP); // 9<br />
echo round(8.5, 0, PHP_ROUND_HALF_DOWN); // 8<br />
echo round(8.5, 0, PHP_ROUND_HALF_EVEN); // 8<br />
echo round(8.5, 0, PHP_ROUND_HALF_ODD); // 9<br />
?&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dougymak.com/php-rounding-up-and-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
