<?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>Technology: Learn and Share &#187; uh&#8230;</title>
	<atom:link href="http://crazytoon.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://crazytoon.com</link>
	<description>Enterprise level solutions, LAMP, Linux, Apache, MySQL, PHP, Perl, Windows, Cache, Optimization</description>
	<lastBuildDate>Fri, 16 Jul 2010 20:24:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Oh dear MySQL slave, where did you put those rows?</title>
		<link>http://crazytoon.com/2008/05/17/mysql-missing-data-on-slave-mysql-replicatio/</link>
		<comments>http://crazytoon.com/2008/05/17/mysql-missing-data-on-slave-mysql-replicatio/#comments</comments>
		<pubDate>Sat, 17 May 2008 10:35:00 +0000</pubDate>
		<dc:creator>Sunny Walia</dc:creator>
				<category><![CDATA[Linux Apache MySQL PHP]]></category>
		<category><![CDATA[Linux System]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL backup]]></category>
		<category><![CDATA[uh...]]></category>

		<guid isPermaLink="false">http://crazytoon.com/?p=75</guid>
		<description><![CDATA[I need help from my fellow mysql users.  I know some of the people who read this are alot better then me with mysql so hopefully you can help  
So today we decided that we are going to migrate one of our master database servers to new hardware.  Since we got the hardware this [...]]]></description>
			<content:encoded><![CDATA[<p>I need help from my fellow mysql users.  I know some of the people who read this are alot better then me with mysql so hopefully you can help <img src='http://crazytoon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>So today we decided that we are going to migrate one of our master database servers to new hardware.  Since we got the hardware this morning and we wanted to move on to it asap, we decided that we will take our slave down, copy data from it, and bring it up on future master server.  At that point, we will let it run as slave to the current master server until its time for us to take it down.  Reason we did that instead of mysqldump/import was to avoid the lag mysqldump creates on our server.</p>
<p>After we did all this and put up the new master server, we started to notice odd issues.  After looking around and comparing old db with new, we found out that new db was missing data.  How it happened is beyond me and is the reason why I am writing this.  We never had issues with the slave which would cause data to be lost; so what happened to those missing rows?  Is this something which is common?  Can we not trust our slave enough to use it as master if master died?  Can we not run backups off the slave with confident that our data is protected and up to date so to keep load down on our master?  All these questions which keep me awake and wondering&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://crazytoon.com/2008/05/17/mysql-missing-data-on-slave-mysql-replicatio/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>5 things you, your friends and coworkers should have.</title>
		<link>http://crazytoon.com/2007/07/19/5-things-you-your-friends-and-coworkers-should-have/</link>
		<comments>http://crazytoon.com/2007/07/19/5-things-you-your-friends-and-coworkers-should-have/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 01:21:51 +0000</pubDate>
		<dc:creator>Sunny Walia</dc:creator>
				<category><![CDATA[Fun Stuff]]></category>
		<category><![CDATA[uh...]]></category>

		<guid isPermaLink="false">http://crazytoon.com/2007/08/19/5-inexpensive-gift-ideas-for-your-geek-friends/</guid>
		<description><![CDATA[#5)   Bottle opener ring.
Imagine somebody hands you an unopened beer bottle and tells you that they can&#8217;t find a bottle opener.  Well no problemo, you have your almighty ring!

You can buy &#8216;em at thinkgeek.com for $7.99 each!
And now since you are drinking, let the cubicle wars begin!
#4) USB missile launcher
Cubicle wars has [...]]]></description>
			<content:encoded><![CDATA[<p>#5)   Bottle opener ring.</p>
<p>Imagine somebody hands you an unopened beer bottle and tells you that they can&#8217;t find a bottle opener.  Well no problemo, you have your almighty ring!<br />
<img src="http://www.thinkgeek.com/images/products/front/ring_thing.jpg" alt="Bottle opener ring" /></p>
<p>You can buy &#8216;em at <a href="http://http://www.thinkgeek.com/gadgets/tools/756e/" title="ThinkGeek Bottle opener ring" target="_blank">thinkgeek.com</a> for $7.99 each!</p>
<p>And now since you are drinking, let the cubicle wars begin!</p>
<p>#4) USB missile launcher</p>
<p>Cubicle wars has a new weapon!  I don&#8217;t think there is anything which will make you feel better than to launch missiles at your coworkers!  Plug this sucker into your computer, use your computer to target  and start firing!  Note: it is best used on coworkers who are not expecting attack from your cubicle.<br />
<img src="http://imagescl.x-tremegeek.com/images/prod_main/P13430A.jpg" alt="USB Missile launcher!" /></p>
<p>Here we have multiple turrets in action:</p>
<p><a href="http://www.youtube.com/watch?v=EmZ-QKglyrc"><img src="http://img.youtube.com/vi/EmZ-QKglyrc/default.jpg" width="130" height="97" border=0></a></p>
<p>You can buy this weapon from <a href="http://www.x-tremegeek.com/templates/SearchDetail.asp?productID=13430" title="USB missile launcher" target="_blank">x-tremegeek.com</a> for $29.99  This is a very good price to pay to protect your cubicle!</p>
<p>#3)   Amazing flying monkey</p>
<p>Cubicle wars secret weapon:  That&#8217;s right!  A FLYING MONKEY! Okey maybe this monkey doesn&#8217;t fly by itself, but with your help it sure can!  When you are done launching your missiles (see #4) you can send in your monkey to finish off whatever is left.<br />
<img src="http://www.stupidcubicle.com/images/productimages/GeekToys/FlyingMonkeyLarge.gif" alt="Amazing flying monkey" /><br />
Here is one in action where war has been taken outside of cubicles:</p>
<p><a href="http://www.youtube.com/watch?v=HifKpS2huko"><img src="http://img.youtube.com/vi/HifKpS2huko/default.jpg" width="130" height="97" border=0></a></p>
<p>You can get this ultimate weapon at <a href="http://www.stupidcubicle.com/product/amazing_flying_monkey_71.aspx">stupidcubicle.com</a> for only $10.00!</p>
<p>#2)  Racing Grannies</p>
<p>So after all this violence, your co-worker wants to end it granny style.  This is where you pull out racing grannies to decide who wins the war!<br />
<img src="http://us.st11.yimg.com/us.st.yimg.com/I/opg_1962_11311969" alt="Racing grannies!" /><br />
Want to see them in action?  Here you go:<br />
<a href="http://www.youtube.com/watch?v=j8jisAFRsL8"><img src="http://img.youtube.com/vi/j8jisAFRsL8/default.jpg" width="130" height="97" border=0></a></p>
<p>You can get the racing grannies at <a href="http://www.officeplayground.com/racinggrannies.html" title="Racing Grannies!" target="_blank">Office Playground</a> for $11.99  Small price to pay to make peace!</p>
<p>#1)  USB Humping Dog</p>
<p>Now since there is peace in your office, you let the dog out.  Time to be productive!<br />
<img src="http://www.stupidcubicle.com/images/productimages/USBDrives/USBHumpingDogSingle.gif" alt="USB Humping Dog" /><br />
Your dog in action:<br />
<a href="http://www.youtube.com/watch?v=rI-pct3zy18"><img src="http://img.youtube.com/vi/rI-pct3zy18/default.jpg" width="130" height="97" border=0></a></p>
<p>You may get this lovely dog from your local <a href="http://www.stupidcubicle.com/product/usb_humping_dog_47.aspx" title="USB Humping Dog" target="_blank">stupidcubicle.com</a> for only $24.99!</p>
]]></content:encoded>
			<wfw:commentRss>http://crazytoon.com/2007/07/19/5-things-you-your-friends-and-coworkers-should-have/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>MySQL database backup file compression:  gzip vs bzip2</title>
		<link>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/</link>
		<comments>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/#comments</comments>
		<pubDate>Tue, 20 Mar 2007 01:12:29 +0000</pubDate>
		<dc:creator>Sunny Walia</dc:creator>
				<category><![CDATA[Data Backup]]></category>
		<category><![CDATA[Enterprise level solutions]]></category>
		<category><![CDATA[Linux System]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[MySQL backup]]></category>
		<category><![CDATA[System admin]]></category>
		<category><![CDATA[uh...]]></category>

		<guid isPermaLink="false">http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/</guid>
		<description><![CDATA[In one of my previous posts: MySQL backups, I talked about using a script for automating backups.  I show that we can use gzip to compress backup file to compress and save.  Since then, our backup file has been growing meg or two a day which is causing our backup files to get [...]]]></description>
			<content:encoded><![CDATA[<p>In one of my previous posts: <a href="http://crazytoon.com/2007/01/23/mysql-backups-using-mysqldump/" title="MySQL Backups">MySQL backups</a>, I talked about using a script for automating backups.  I show that we can use gzip to compress backup file to compress and save.  Since then, our backup file has been growing meg or two a day which is causing our backup files to get bigger and bigger every day.  We keep hourly backups for a week so you can imagine space usage is quite high.</p>
<p>I went and did few tests to see if its beneficial for us to use Bzip2 instead of gzip.  I could&#8217;ve tried 7z also but that is not something installed on most linux machines I work on and I didn&#8217;t want use a solution which will require me to add more software.  Here are the results:</p>
<p>Original sql file size: 584M<br />
Using gzip: 166M<br />
Time spent on compressing 1 minute 25 secs<br />
Using bzip2:  125M<br />
Time spent on compressing 1 minute 50 secs</p>
<p>As we can see that it takes longer to compress but file size is much smaller (adds up fast for multiple backups).  As our database grows bigger and bigger, the size difference will matter quite a bit.  Since we also ftp the file off the server to onsite/offsite location hourly as well.</p>
<p>Does anybody know of any backup techniques which we can use for free and we can do incrementals with? comments are always welcome.  To learn more about gzip or bzip2, see <a href="http://www.lamp-tips.com/man-pages/gzip/" title="man gzip - man page for gzip" target="_blank">man gzip</a> or <a href="http://www.lamp-tips.com/man-pages/bzip2/" title="man bzip2 - man page for bzip2" target="_blank">man bzip2</a> respectively.</p>
]]></content:encoded>
			<wfw:commentRss>http://crazytoon.com/2007/03/19/mysql-database-backup-file-compression-gzip-vs-bzip2/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Can I get your name?</title>
		<link>http://crazytoon.com/2007/01/09/can-i-get-your-name/</link>
		<comments>http://crazytoon.com/2007/01/09/can-i-get-your-name/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 23:07:04 +0000</pubDate>
		<dc:creator>Sunny Walia</dc:creator>
				<category><![CDATA[uh...]]></category>

		<guid isPermaLink="false">http://crazytoon.com/2007/01/09/whats-your-name/</guid>
		<description><![CDATA[So I go to my favorite coffee place, Starbucks, pretty much every day.  I always get the same thing which recent has been:  tall vanilla latte, %, no foam.  And they always ask me for my name which I always respond by saying: Sunny.  Most of the time, not all, they [...]]]></description>
			<content:encoded><![CDATA[<p>So I go to my favorite coffee place, Starbucks, pretty much every day.  I always get the same thing which recent has been:  tall vanilla latte, %, no foam.  And they always ask me for my name which I always respond by saying: Sunny.  Most of the time, not all, they get my name wrong.  I don&#8217;t understand why is it so hard for people to write down Sunny.  I am ok even if they just write Sonny, which is the most common misspelling of my name, but Starbucks staff always find creative ways of spelling &#8220;Sunny&#8221;.</p>
<p>I have seen following names.. and I am not kidding or making up any of them.  All the people who go with me to Starbucks know this!  Here is the list I have so far:  Sunny, Sonny, Suni, Sunee, Suuniee, Suney, Suny and the one I have in front of me which made me blog this, Sunni.</p>
<p>So if any Starbucks staff reading this, could you explain to me how come you guys are so bad with spelling names?  Is quality of hiring staff is so low that people there can&#8217;t even spell a very common word!? or is it because I don&#8217;t look like Sunny but I look like everything else I have been labeled?  So next time when they ask me for my name, maybe I should just say Sunny, like &#8220;Its Sunny outside&#8221;?  Or maybe not; because even when I did that, I think I got Sunie out of it.</p>
<p>I will update here with dates/names as they come along.</p>
<p>1/11/2007:  Soni</p>
]]></content:encoded>
			<wfw:commentRss>http://crazytoon.com/2007/01/09/can-i-get-your-name/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Blog or not to blog</title>
		<link>http://crazytoon.com/2007/01/08/hello-world/</link>
		<comments>http://crazytoon.com/2007/01/08/hello-world/#comments</comments>
		<pubDate>Tue, 09 Jan 2007 00:52:19 +0000</pubDate>
		<dc:creator>Sunny Walia</dc:creator>
				<category><![CDATA[uh...]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[After contemplating for year or so about whether I should blog or not, I have finally gave in and said why not?
I have been in the world of computers for over 13 years.  Doing everything from typing &#8220;dir&#8221; to deploying enterprise solutions.  The way I can describe myself is system admin, programmer, gamer, [...]]]></description>
			<content:encoded><![CDATA[<p>After contemplating for year or so about whether I should blog or not, I have finally gave in and said why not?</p>
<p>I have been in the world of computers for over 13 years.  Doing everything from typing &#8220;dir&#8221; to deploying enterprise solutions.  The way I can describe myself is system admin, programmer, gamer, and noob all at the same time.   Noob because I can never claim myself to be an expert in <em>anything </em>because I always find somebody who is smarter than I.  Which is of the big reasons why I continuing working with computers is because there is always something new to learn.</p>
<p>As far as my career goes, my current working title is <em>Senior Systems Engineer</em>.  I currently only work with Linux servers but I by no means only know Linux.  I have always worked in mixed environments and my current job is the first job where I concentrate on working with Linux servers. Therefore, I will most probably be posting things mainly for Linux. One of the big reasons why I finally gave in to the whole blogging thing is because I want to put up all the cool stuff I have learned over years and all the new things I keep running into.  I figured it might help somebody.. or better yet, I can come back in future and read my own notes to help myself <img src='http://crazytoon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Ok&#8230; enough of talking about myself.</p>
]]></content:encoded>
			<wfw:commentRss>http://crazytoon.com/2007/01/08/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
