<?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>Random IT Stuff</title>
	<atom:link href="http://randomitstuff.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://randomitstuff.com</link>
	<description>Web development and small business blog</description>
	<lastBuildDate>Thu, 17 May 2012 04:46:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Remove truncated var_dump on xdebug</title>
		<link>http://randomitstuff.com/2012/02/22/remove-truncated-var_dump-on-xdebug/</link>
		<comments>http://randomitstuff.com/2012/02/22/remove-truncated-var_dump-on-xdebug/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 21:57:56 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development and Programming]]></category>
		<category><![CDATA[xdebug]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=660</guid>
		<description><![CDATA[Xdebug has been called the swiss army knife for php developers and for good reason. It&#8217;s a must have tools with helps with everything from debugging to code coverage. Once of the many cool features of xdebug is that it formats and and syntax highlights the output from var_dump. However a negative side effect is [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2012/02/22/remove-truncated-var_dump-on-xdebug/" data-text="Remove truncated var_dump on xdebug" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2012/02/22/remove-truncated-var_dump-on-xdebug/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://randomitstuff.com/2012/02/22/remove-truncated-var_dump-on-xdebug/"></g:plusone></div></div><p>Xdebug has been called the swiss army knife for php developers and for good reason. It&#8217;s a must have tools with helps with everything from debugging to code coverage.</p>
<p>Once of the many cool features of xdebug is that it formats and and syntax highlights the output from var_dump. However a negative side effect is that it truncates this output.</p>
<p>To fix this simple enter the information below in you php.ini file and restart apache. -1 sets the value to unlimited</p>
<pre class="brush: plain; title: ; notranslate">
 xdebug.var_display_max_data=-1
 xdebug.var_display_max_children=-1
 xdebug.var_display_max_depth=-1
</pre>
<p>See the five part series on <a href="http://devzone.zend.com/1120/introducing-xdebug/" target="_blank">Zend Developer Zone</a> for a complete tutorial on using xdebug</p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2012/02/22/remove-truncated-var_dump-on-xdebug/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up Virtual Hosts on MAMP</title>
		<link>http://randomitstuff.com/2011/12/26/setting-up-virtual-hosts-on-mamp/</link>
		<comments>http://randomitstuff.com/2011/12/26/setting-up-virtual-hosts-on-mamp/#comments</comments>
		<pubDate>Tue, 27 Dec 2011 02:49:16 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[Web Development and Programming]]></category>
		<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[virtual host]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=636</guid>
		<description><![CDATA[So you&#8217;ve installed MAMP and its been working fine for your one site you&#8217;ve been developing locally. However like most developers you are probably now working on several projects at a time or perhaps you are using a framework that does not like the &#8220;localhost&#8221; url. For the issue of multiple websites, there are a [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/12/26/setting-up-virtual-hosts-on-mamp/" data-text="Setting up Virtual Hosts on MAMP" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/12/26/setting-up-virtual-hosts-on-mamp/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://randomitstuff.com/2011/12/26/setting-up-virtual-hosts-on-mamp/"></g:plusone></div></div><p><a href="http://randomitstuff.com/wp-content/uploads/2011/12/mamp.png"><img src="http://randomitstuff.com/wp-content/uploads/2011/12/mamp.png" alt="Setting up virtual Hosts with MAMP" title="mamp" width="185" height="192" class="alignleft size-full wp-image-652" /></a>So you&#8217;ve installed MAMP and its been working fine for your one site you&#8217;ve been developing locally. However like most developers you are probably now working on several projects at a time or perhaps you are using a framework that does not like the &#8220;localhost&#8221; url. </p>
<p>For the issue of multiple websites, there are a couple of solutions. MAMP makes it pretty easy to switch your document root folder in their settings. Another option is to support the MAMP team and go pro. </p>
<p>However if you are a do-it-yourself-er. Here is how to set up virtual hosts with MAMP </p>
<p>First edit your hosts file to create your custom local domain. I use the vim editor but you can use your favorite. You will need root access to edit your hosts file.</p>
<pre class="brush: plain; title: ; notranslate">sudo vim /etc/hosts</pre>
<p>Once you access you hosts file, add the following line to tell it to redirect your custom url to you MAMP server.</p>
<pre class="brush: plain; title: ; notranslate">127.0.0.1       test.local</pre>
<p>The next step is to create the folder where you want your web content to reside. The default is the MAMP htdocs folder, but i like to create my sites under a Sites folder in my home directory for example:</p>
<pre class="brush: plain; title: ; notranslate">/Users/darren/Sites/test</pre>
<p>Ok now we need to edit the apache config file and tell it to to enable virtual hosts. Open the following file “Applications/MAMP/conf/apache/httpd.conf” and un-comment or add the following line. </p>
<pre class="brush: plain; title: ; notranslate">Include /Applications/MAMP/conf/apache/extra/httpd-vhosts.conf</pre>
<p>Save and close. </p>
<p>Now lets tell apache about our site content folder. Edit the file &#8220;/Applications/MAMP/conf/apache/extra/httpd-vhosts.conf&#8221; adding the following minimal tag block.</p>
<pre class="brush: plain; title: ; notranslate">
&lt;VirtualHost *:80&gt;
        DocumentRoot /Users/darren/Sites/test
        ServerName test.local
&lt;/VirtualHost&gt;
</pre>
<p>Save and close. </p>
<p>Thats all there is to it. Simply restart apache with MAMP and point your browser to test.local.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/12/26/setting-up-virtual-hosts-on-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing PHPUnit with MAMP</title>
		<link>http://randomitstuff.com/2011/12/10/installing-phpunit-with-mamp/</link>
		<comments>http://randomitstuff.com/2011/12/10/installing-phpunit-with-mamp/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 18:35:26 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Web Development and Programming]]></category>
		<category><![CDATA[Web Tools]]></category>
		<category><![CDATA[macOS]]></category>
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=617</guid>
		<description><![CDATA[Few useful web applications have a trivial design; most have a set of “moving parts” that are integrated to form the end product. As the functionality and features of a product change, so does its definition of intended or correct behavior. The purpose of automated testing is to assure that an application’s intended behavior and [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/12/10/installing-phpunit-with-mamp/" data-text="Installing PHPUnit with MAMP" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/12/10/installing-phpunit-with-mamp/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://randomitstuff.com/2011/12/10/installing-phpunit-with-mamp/"></g:plusone></div></div><p><em>Few useful web applications have a trivial design; most have a set of “moving parts” that are integrated to form the end product. As the functionality and features of a product change, so does its definition of intended or correct behavior. The purpose of automated testing is to assure that an application’s intended behavior and its actual behavior are consistent over its lifetime.<br />
&#8211; PHP Master: Write Cutting-edge Code by Lorna Mitchell, Davey Shafik, and Matthew Turland</em></p>
<p>So with that said here is a short tutorial on installing phpUnit with MAMP.</p>
<p>Step 1: Install MAMP. The downloads and instructions are here <a href="http://www.mamp.info/en/index.html" target="_blank">http://www.mamp.info/en/index.html</a></p>
<p>Step 2: Open up terminal and go to the pear directory within your mamp installation. You specific path may differ slightly.</p>
<pre class="brush: plain; title: ; notranslate">cd /Applications/MAMP/bin/php5.3/bin/</pre>
<p>Step 3: Use either sudo each time or enter the root prompt with sudo su.</p>
<p>Step 4: Update Pear</p>
<pre class="brush: plain; title: ; notranslate">
pear channel-discover pear.phpunit.de
pear channel-discover components.ez.no
pear channel-discover pear.symfony-project.com
pear channel-update pear.php.net
pear upgrade pear
</pre>
<p>Step 4: Install PHPUnit</p>
<pre class="brush: plain; title: ; notranslate">pear install phpunit/PHPUnit</pre>
<p>During the process you get the following error:</p>
<pre class="brush: plain; title: ; notranslate">Notice: unserialize(): Error at offset 276 of 1133 bytes in Config.php on line 1050
ERROR: The default config file is not a valid config file or is corrupted.</pre>
<p>To fix, edit /Applications/MAMP/bin/php/php5.3.6/conf/pear.conf</p>
<p>Change</p>
<pre class="brush: plain; title: ; notranslate">&quot;php_dir&quot;;s:44</pre>
<p>To</p>
<pre class="brush: plain; title: ; notranslate">&quot;php_dir&quot;;s:43</pre>
<p>Check your installation</p>
<pre class="brush: plain; title: ; notranslate">
phpunit --version
# PHPUnit 3.5.15 by Sebastian Bergmann.
</pre>
<p>There you have it, happy unit testing.</p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/12/10/installing-phpunit-with-mamp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using MYSQL Event Scheduler</title>
		<link>http://randomitstuff.com/2011/10/14/using-mysql-event-scheduler/</link>
		<comments>http://randomitstuff.com/2011/10/14/using-mysql-event-scheduler/#comments</comments>
		<pubDate>Fri, 14 Oct 2011 21:47:00 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[Web Development and Programming]]></category>
		<category><![CDATA[Web Tools]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=592</guid>
		<description><![CDATA[The Event Schedule is one of the lesser known tools built into mysql. My latest project involves a creating  a modbus simulator and the bulk of the project is data driven. It involves taking data from several MySQL tables and converting each field into a 2 byte word and storing in another table which represents [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/10/14/using-mysql-event-scheduler/" data-text="Using MYSQL Event Scheduler" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/10/14/using-mysql-event-scheduler/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div><div class="socialize-in-button socialize-in-button-right"><g:plusone size="tall" href="http://randomitstuff.com/2011/10/14/using-mysql-event-scheduler/"></g:plusone></div></div><p>The Event Schedule is one of the lesser known tools built into mysql. My latest project involves a creating  a modbus simulator and the bulk of the project is data driven. It involves taking data from several MySQL tables and converting each field into a 2 byte word and storing in another table which represents a set of modbus registers. I know, not exactly your typical web developer task but who ever said i was a typical web developer.</p>
<p>So this process would occur several times an hour, possibly every five minutes. My first thought was &#8220;CRON JOBS&#8221;.  However the thought of breaking out a server side language just to call some queries or maybe even a stored procedure, was not appealing. Enter MySQL Scheduler. There really is no magic to the scheduler. It operates much like cron jobs but for the database. It runs an operation at a particular time or at a specified interval.</p>
<p>Here is a simple example how to use it. This information is pretty basic and can be extracted from the awesome MySQL docs.</p>
<h3>Step 1. Create table to store scheduled events. Add auto incrementing id, value field and auto updating timestamp.</h3>
<pre class="brush: sql; title: ; notranslate">
CREATE TABLE zTestSchedule(
  id INT,
  value VARCHAR(10),
  t timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
);
</pre>
<h3>Step 2. Create recurring event</h3>
<pre class="brush: sql; title: ; notranslate">
delimiter |
CREATE EVENT e_TEST_MIN
    ON SCHEDULE
      EVERY 1 MINUTE
    COMMENT 'ADDS A NEW COMMENT EACH MINUTE'
    DO
      BEGIN
        INSERT INTO zTestSchedule (`value`) VALUES (&amp;quot;NEW test value&amp;quot;);
      END |
delimiter ;
</pre>
<h3>Step 3. Check if the event was created</h3>
<pre class="brush: sql; title: ; notranslate">
SHOW EVENTS;
</pre>
<h3>Step 4. Wait a few minutes and check you table for updates</h3>
<pre class="brush: sql; title: ; notranslate">
SELECT * FROM `zTestSchedule`;
</pre>
<h3>Step 5. Delete event</h3>
<pre class="brush: sql; title: ; notranslate">
DROP EVENT IF EXISTS e_TEST_MIN;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/10/14/using-mysql-event-scheduler/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to make linux urls case insensitive</title>
		<link>http://randomitstuff.com/2011/10/11/how-to-make-linux-urls-case-insensitive/</link>
		<comments>http://randomitstuff.com/2011/10/11/how-to-make-linux-urls-case-insensitive/#comments</comments>
		<pubDate>Tue, 11 Oct 2011 15:44:35 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[Web Development and Programming]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=578</guid>
		<description><![CDATA[Recently I had a client who had his entire website remade by an outside designer. His old site had very good search engine placement, so he insisted that the designer use the exact same file names for every html file. The designer followed the spec was was not concerned about case sensitivity. So something the [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/10/11/how-to-make-linux-urls-case-insensitive/" data-text="How to make linux urls case insensitive" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/10/11/how-to-make-linux-urls-case-insensitive/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div></div><p>Recently I had a client who had his entire website remade by an outside designer. His old site had very good search engine placement, so he insisted that the designer use the exact same file names for every html file. The designer followed the spec was was not concerned about case sensitivity. So something the old site that may have read &#8220;www.mysite.com/Free-Beer.html&#8221; the designer made it &#8220;www.mysite.com/free-beer.html&#8221;.</p>
<p>I was tasked with changing this, but was in no mood to rename all files, especially since the its probably better to keep everything lowercase and goggle would re-index anyway.<br />
A quick google lead me to joebert&#8217;s post on <a href="http://forums.digitalpoint.com/showthread.php?t=1790511" target="_blank">digitalpoint</a> forum. He provided this htaccess rule to convert all uppercase letters in the url to lowercase. Works great and my client is happy.</p>
<p>thanks <a href="http://www.develobert.info/" target="_blank">joebert</a></p>
<pre class="brush: plain; title: ; notranslate">
RewriteEngine On
RewriteBase /

RewriteRule ![A-Z] - [S=26]
RewriteRule ^(.*)(A)(.*)$ $1a$3 [N,R=301]
RewriteRule ^(.*)(B)(.*)$ $1b$3 [N,R=301]
RewriteRule ^(.*)(C)(.*)$ $1c$3 [N,R=301]
RewriteRule ^(.*)(D)(.*)$ $1d$3 [N,R=301]
RewriteRule ^(.*)(E)(.*)$ $1e$3 [N,R=301]
RewriteRule ^(.*)(F)(.*)$ $1f$3 [N,R=301]
RewriteRule ^(.*)(G)(.*)$ $1g$3 [N,R=301]
RewriteRule ^(.*)(H)(.*)$ $1h$3 [N,R=301]
RewriteRule ^(.*)(I)(.*)$ $1i$3 [N,R=301]
RewriteRule ^(.*)(J)(.*)$ $1j$3 [N,R=301]
RewriteRule ^(.*)(K)(.*)$ $1k$3 [N,R=301]
RewriteRule ^(.*)(L)(.*)$ $1l$3 [N,R=301]
RewriteRule ^(.*)(M)(.*)$ $1m$3 [N,R=301]
RewriteRule ^(.*)(N)(.*)$ $1n$3 [N,R=301]
RewriteRule ^(.*)(O)(.*)$ $1o$3 [N,R=301]
RewriteRule ^(.*)(P)(.*)$ $1p$3 [N,R=301]
RewriteRule ^(.*)(Q)(.*)$ $1q$3 [N,R=301]
RewriteRule ^(.*)(R)(.*)$ $1r$3 [N,R=301]
RewriteRule ^(.*)(S)(.*)$ $1s$3 [N,R=301]
RewriteRule ^(.*)(T)(.*)$ $1t$3 [N,R=301]
RewriteRule ^(.*)(U)(.*)$ $1u$3 [N,R=301]
RewriteRule ^(.*)(V)(.*)$ $1v$3 [N,R=301]
RewriteRule ^(.*)(W)(.*)$ $1w$3 [N,R=301]
RewriteRule ^(.*)(X)(.*)$ $1x$3 [N,R=301]
RewriteRule ^(.*)(Y)(.*)$ $1y$3 [N,R=301]
RewriteRule ^(.*)(Z)(.*)$ $1z$3 [N,R=301]
</pre>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/10/11/how-to-make-linux-urls-case-insensitive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AT&amp;T Mobile App Hackathon in Atlanta</title>
		<link>http://randomitstuff.com/2011/09/12/att-mobile-app-hackathon-in-atlanta/</link>
		<comments>http://randomitstuff.com/2011/09/12/att-mobile-app-hackathon-in-atlanta/#comments</comments>
		<pubDate>Tue, 13 Sep 2011 03:13:30 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Events]]></category>
		<category><![CDATA[at&t mobile app hackathon]]></category>
		<category><![CDATA[hackathon]]></category>
		<category><![CDATA[mpbileappatl]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=571</guid>
		<description><![CDATA[Last Saturday, I took a break from the usual grind, and attended the AT&#38;T Mobile Hackathon. The At&#38;t Sponsored event in the heart if downtown Atlanta, featured prominent, mobile framework vendors such as AppMobi, Titanium, Apigee, Immersion and more. The Event began with quick introductions from the framework vendors present, then it was on to [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/09/12/att-mobile-app-hackathon-in-atlanta/" data-text="AT&#038;T Mobile App Hackathon in Atlanta" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/09/12/att-mobile-app-hackathon-in-atlanta/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div></div><p><a title="Home" href="http://developer.att.com/developer/index.jsp"><img class="alignleft" src="http://developer.att.com/developer/images/att.gif" alt="Home" width="202" height="87" /></a>Last Saturday, I took a break from the usual grind, and attended the AT&amp;T Mobile Hackathon. The At&amp;t Sponsored event in the heart if downtown Atlanta, featured prominent, mobile framework vendors such as AppMobi, Titanium, Apigee, Immersion and more.</p>
<p>The Event began with quick introductions from the framework vendors present, then it was on to coding.  Here is a rundown of the event posting on AT&amp;T&#8217;s blog.</p>
<p>This last Saturday&#8217;s AT&amp;T Mobile App Hackathon produced some of the best apps I&#8217;ve seen and the technical proficiency of the group was extremely high. Around 82+ developers showed up with a number of people that popped in at the end to check out the app pitches (8 total apps produced). The top three apps (Four Corners, YouJuke &amp; Food Porn)received universal approval from the judging panel without much discussion. The top app was Four Corners, which was a highly interactive game that really ignited the crowd and showed that a simple game was possible in an afternoon.<br />
As a tip for future hackathons, here are a couple of common themes that seem to resonate with the judges:</p>
<ul>
<li><strong>Interactivity</strong> &#8211; Does your app engage the masses? Is it multiplayer?</li>
<li><strong>Fun Factor</strong> &#8211; Remember how jumping in those big blowup castles was so much fun? Recreate that feeling in your next app!</li>
<li><strong>Technical Complexity</strong> &#8211; deploy Node.js, device to device messaging, Augmented Reality, QR Code reader, accelerator or vibration (check out Immersion.com)</li>
<li><strong>Speed</strong> &#8211; Can you rapidly deploy your solution? Bonus kudos points if you can achieve a solution within a couple of hours.</li>
<li><strong>Cloud Hosted Solution</strong> &#8211; Deploy to AWS, Heroku, Joyent, etc</li>
<li><strong>Use APIs</strong> &#8211; Pull data from Yelp, Twitter, Facebook or any other online data provider</li>
<li><strong>Use a Database</strong> &#8211; Use Mongolabs.com to store and retrieve your data</li>
<li><strong>Check your code into github</strong> &#8211; This enables sharing of your code with other participants as well as promotion of your technical abilities.</li>
</ul>
<p>Here is a rundown of all the apps that were produced:</p>
<ul>
<li><strong>Color Me</strong> &#8211; Digital coloring book</li>
<li><strong>Travel Warnings</strong> &#8211; It uses hyperlocal to connect people in a small space to others to present, view, and comment on speeches in real time using our feature-rich HTML5 client. App was written</li>
<li><strong>GeoSpeaker</strong> &#8211; This app uses hyperlocal to connect people in a small space to others to present, view, and comment on speeches in real time using our feature-rich HTML5 client</li>
<li><strong>Business License Finder</strong> &#8211; Search for Business Licenses and Permits. App was written natively for Android</li>
<li><strong>Four Corners</strong> &#8211; Code: <a href="https://github.com/lorennorman/four-corners" rel="nofollow" target="_blank">https://github.com/lorennorman/four-corners</a> Demo: <a href="http://four-corners.herokuapp.com/" rel="nofollow" target="_blank">http://four-corners.herokuapp.com</a> &#8211; Allows multiple players to scan a QR code to join a team in a game.  Players tap on their own mobile device, which the impact is seen on the game board on a larger shared screen. @cyu @blakebyrnes @dsims @lorennorman</li>
<li><strong>YouJuke</strong> &#8211; Social music selection &#8211; @urvaksh</li>
<li><strong>Food Porn</strong> &#8211; <a href="https://market.android.com/details?id=com.nightshadelabs.foodporn&amp;feature=search_result" rel="nofollow" target="_blank">https://market.android.com/details?id=com.nightsha<wbr>delabs.foodporn&amp;feature=search_result</wbr></a> &#8211; Food Porn only shows beautiful pictures of a food near by you and gives you directions to it.It does nothing else and has absolutely no social networking whatsoever by design.</li>
<li><strong>Road Rage</strong> &#8211; <a href="http://roadrage.heroku.com/" rel="nofollow" target="_blank">http://roadrage.heroku.com/</a> &#8211; @maysundays @mannyblum @ardell &#8211; report potholes, bad road signs and other traveling problems.</li>
</ul>
<p>As for the food that was consumed, I have to say that I&#8217;ve never see so many donuts or pizza consumed so fast. Though, the consumption speed was probably due to the fact that we ordered Sublime Donuts and Antico Pizza. Even though I am tempted to order other types of food, Antico Pizza is such a mind blowing experience, it&#8217;s going to be hard to replace. The crust was crispy and chewy all at the same time and the pizza sauce had a delightfully light touch of garlic. If you are in Atlanta, you must stop by Antico Pizza. Be sure to ask for Fabiana, the owner, and she&#8217;ll take good care of you.</p>
<p>http://developerboards.att.lithium.com/t5/AT-T-Developer-Program-Blogs/Mobile-App-Hackathon-Atlanta-Event-Recap/ba-p/30073</p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/09/12/att-mobile-app-hackathon-in-atlanta/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Free Online Computer Science Courses from Ivy League Universities</title>
		<link>http://randomitstuff.com/2011/09/07/free-online-computer-science-courses-from-ivy-league-universities/</link>
		<comments>http://randomitstuff.com/2011/09/07/free-online-computer-science-courses-from-ivy-league-universities/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 15:23:07 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[Tutorials and Training]]></category>
		<category><![CDATA[Web Development and Programming]]></category>
		<category><![CDATA[Computer Science]]></category>
		<category><![CDATA[computer training]]></category>
		<category><![CDATA[Free Harvard Course]]></category>
		<category><![CDATA[free stanford course]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=564</guid>
		<description><![CDATA[Ever wanted to take a course from Harvard, MIT, UC Berkley or Stanford? These Universities among others have made some of their coursework available and live on the web. Here are some of the Computer Science courses. Artificial Intelligence – Introduction to Robotics – YouTube – iTunes – Multiple formats – Oussama Khatib, Stanford Artificial [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/09/07/free-online-computer-science-courses-from-ivy-league-universities/" data-text="Free Online Computer Science Courses from Ivy League Universities" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/09/07/free-online-computer-science-courses-from-ivy-league-universities/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div></div><p>Ever wanted to take a course from Harvard, MIT, UC Berkley or Stanford? These Universities among others have made some of their coursework available and live on the web. Here are some of the Computer Science courses.</p>
<ul>
<li><strong>Artificial Intelligence – Introduction to Robotics</strong> – <a href="http://www.youtube.com/view_play_list?p=65CC0384A1798ADF&amp;search_query=Artificial+Intelligence++Introduction+to+Robotics">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1614970102">iTunes</a> – <a href="http://see.stanford.edu/see/courseinfo.aspx?coll=86cc8662-f6e4-43c3-a1be-b30d1d179743">Multiple formats</a> – Oussama Khatib, Stanford</li>
<li><strong>Artificial Intelligence – </strong><strong>Natural Language Processing</strong> – <a href="http://see.stanford.edu/see/courseinfo.aspx?coll=63480b48-8819-4efd-8412-263f1a472f5a">Multiple formats</a> – Christopher Manning, Stanford</li>
<li><strong>Artificial Intelligence – </strong><strong>Machine Learning</strong> – <a href="http://www.youtube.com/watch?v=UzxYlbK2c7E">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1615003400">iTunes</a> – <a href="http://see.stanford.edu/see/courseinfo.aspx?coll=348ca38a-3a6d-4052-937d-cb017338d7b1">Multiple formats</a> – Andrew Ng, Stanford</li>
<li><strong>Artificial Intelligence</strong> – <a href="http://www.youtube.com/view_play_list?p=6EE0CD02910E57B8">YouTube</a> – P.Dasgupta, IIT</li>
<li><strong>Bits</strong> – <a href="http://www.extension.harvard.edu/openlearning/csci2/">Multiple Formats</a> – Harry Lewis, Harvard</li>
<li><strong>Building Dynamic Web Sites</strong> – <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=273114068">iTunes</a> - <a href="http://cs75.tv/2010/fall/">Video &amp; Audio</a> – David Malan, Harvard Extension</li>
<li><strong>Building Mobile Web Sites</strong> – <a href="http://itunes.apple.com/us/podcast/harvard-extension-schools/id421031995">iTunes</a> – <a href="http://cs76.tv/2011/spring/">Web Site</a> - David Malan, Harvard Extension</li>
<li><strong>Computational Camera and Photography</strong> – <a href="http://ocw.mit.edu/courses/media-arts-and-sciences/mas-531-computational-camera-and-photography-fall-2009/download-course-materials/">Download Course</a> – Ramesh Raskar, MIT</li>
<li><strong>Computational Discrete Mathematics</strong> – <a href="http://oli.web.cmu.edu/openlearning/forstudents/freecourses/cdm">Web Site</a> – Carnegie Mellon</li>
<li><strong>Computer Graphics</strong> – <a href="http://www.youtube.com/view_play_list?p=338D19C40D6D1732">YouTube</a> – Sukhendu Das, IIT</li>
<li><strong>Computer Language Engineering </strong>- <a href="http://www.youtube.com/user/MIT#g/c/0300FE43396456C1">YouTube</a> – <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=341599126">iTunes Video</a> – <a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-035-computer-language-engineering-sma-5502-fall-2005/lecture-notes/">Web Site</a> – Martin Rinard, MIT</li>
<li><strong>Computer Networks</strong> – <a href="http://www.youtube.com/view_play_list?p=32DBC269EF768F74">YouTube</a> – S.Ghosh, IIT</li>
<li><strong>Computer System Engineering</strong> – <a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-033-computer-system-engineering-spring-2009/video-lectures/">Web Site</a> – Profs. Robert Morris and Samuel Madden, MIT</li>
<li><strong>Data Structures </strong>- <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=354818491">iTunes Video</a> – Paul Hilfinger, UC Berkeley</li>
<li><strong>Developing Apps for iOS (iPhone &amp; iPad)</strong> – <a href="http://ax.itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=395631522">iTunesU</a> – Paul Hegarty, Stanford</li>
<li><strong>Discrete Mathematical Structures</strong> <a href="http://www.youtube.com/view_play_list?p=0862D1A947252D20">YouTube</a> – Kamala Krithivasan, IIT</li>
<li><strong>Intensive Introduction to Computer Science Using C, PHP, and JavaScrip</strong>t – <a href="http://www.extension.harvard.edu/openlearning/csci52/">Multiple Formats</a> – David Malan, Harvard</li>
<li><strong>Introduction to Algorithms</strong> – <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=341597754">iTunes</a> – <a href="http://www.youtube.com/user/MIT#g/c/8B24C31197EC371C">YouTube</a> - <a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-046j-introduction-to-algorithms-sma-5503-fall-2005/video-lectures/">Web Site</a> –  Prof. Charles Leiserson &amp; Erik Demaine, MIT</li>
<li><strong>Introduction to Computer Programming for Scientists and Engineers </strong>- <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=354821676">iTunes Audio</a> – <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=354821631">iTunes Video</a> – Roberto Horowitz, UC Berkeley</li>
<li><strong>Introduction to Computer Science and Programming </strong>- <a href="http://www.youtube.com/view_play_list?p=4C4720A6F225E074&amp;search_query=Introduction+to+Computer+Science%3A+Programming+Abstractions">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/mit.edu.2394447485.02394447490">iTunes</a> – <a href="http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/video-lectures/">MIT Web Site</a> – Eric Grimson, John Guttag, MIT</li>
<li><strong>Introduction to Computer Science: Programming Methodology</strong> – <a href="http://www.youtube.com/watch?v=KkMDCCdjyW8">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1615329425.01615329428">iTunes</a> – <a href="http://see.stanford.edu/see/courseinfo.aspx?coll=824a47e1-135f-4508-a5aa-866adcae1111">Multiple formats</a> – Mehran Sahami, Stanford</li>
<li><strong>Introduction to Computer Science: Programming Abstractions </strong>- <a href="http://www.youtube.com/watch?v=kMzH3tfP6f8&amp;feature=SeriesPlayList&amp;p=FE6E58F856038C69">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1616924949.01616924952">iTunes</a> <strong>- </strong><a href="http://see.stanford.edu/see/courseinfo.aspx?coll=11f4f422-5670-4b4c-889c-008262e09e4e">Multiple formats</a> – Julie Zelenski, Stanford</li>
<li><strong>Introduction to Computer Science: Programming Paradigms </strong>- <a href="http://www.youtube.com/watch?v=Ps8jOj7diA0">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1617348114">iTunes</a> -<strong> </strong><a href="http://see.stanford.edu/see/courseinfo.aspx?coll=2d712634-2bf1-4b55-9a3a-ca9d470755ee">Multiple formats</a> – Jerry Cain, Stanford</li>
<li><strong>Introduction to Computer Graphics</strong> – <a href="http://www.youtube.com/view_play_list?p=112A527F83F7A5E4">YouTube</a> – Prem Kalra, IIT</li>
<li><strong>Introduction to Embedded Systems </strong>- <a href="http://webcast.berkeley.edu/playlist#c,s,All,26403B76DCC8FFC8">YouTube</a> – Professors Sanjit Seshia, Edward A. Lee, UC Berkeley</li>
<li><strong>Introduction to Problem Solving &amp; Programming</strong> – <a href="http://www.youtube.com/view_play_list?p=94CA590D7781A9B9">YouTube</a> – Deepak Gupta, IIT</li>
<li><strong>iPhone Application Development (Spring 2009)</strong>- <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.2024353965.02024599579">iTunes</a> – Stanford</li>
<li><strong>iPhone Application Development (Winter 2010)</strong> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.3124430053.03124430055">iTunes</a> – Stanford</li>
<li><strong>Logic &amp; Proofs</strong> – <a href="http://oli.web.cmu.edu/openlearning/forstudents/freecourses/logic">Web Site</a> – Carnegie Mellon</li>
<li><strong>Machine Structures</strong> – <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=354819035">iTunes Video</a> – David Culler, UC Berkeley</li>
<li><strong>Multimedia Systems </strong>- <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=184462578">iTunes</a> – Surendar Chandra, Notre Dame</li>
<li><strong></strong><strong>Operating Systems and System Programming</strong> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/berkeley.edu.1622384617">iTunes</a> – Multiple professors, UC Berkeley</li>
<li><strong></strong><strong>Operating Systems Principles</strong> – <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=212284892">iTunes</a> – Surendar Chandra, Notre Dame</li>
<li><strong>Principles of Digital Communications I </strong>- <a href="http://www.youtube.com/view_play_list?p=2AD004D035C24F21&amp;search_query=principles+of+digital+communication+mit">YouTube</a> – <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/mit.edu.2093772731.02093772736">iTunes</a> – Profs Gallagher and Zheng, MIT</li>
<li><strong>Principles of Digital Communications II </strong>- <a href="http://www.youtube.com/view_play_list?p=F8A9EA1E1B28B438&amp;search_query=principles+of+digital+communication+mit">YouTube</a> – MIT</li>
<li><strong>Programming Languages and Compilers </strong>- <a href="http://www.youtube.com/user/UCBerkeley#g/c/03D59E2ECDDA66DF">YouTube</a> – Professor Paul Hilfinger, UC Berkeley</li>
<li><strong>Quantum Computing for the Determined </strong>- <a href="http://www.youtube.com/user/mnielsencourses#grid/user/1826E60FD05B44E4">YouTube</a> – Michael Nielsen, The University of Queensland</li>
<li><strong><strong>Search Engines: Technology, Society and Business</strong></strong> – <a href="http://www.youtube.com/view_play_list?p=1777A89066B1D71D">YouTube</a> – Marti Hearst, UC Berkeley<strong><br />
</strong></li>
<li><strong>The Beauty and Joy of Computing</strong> – <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=391530821">iTunes</a> - Brian Harvey, UC Berkeley</li>
<li><strong>The Beauty of Joy of Computing</strong> – <a href="http://www.youtube.com/user/UCBerkeley#g/c/5E701E6C652B77D3">YouTube</a> – Professor Daniel Garcia, UC Berkeley</li>
<li><strong>The Future of the Internet</strong> – <a href="http://deimos.apple.com/WebObjects/Core.woa/Browse/itunes.stanford.edu.1326809162.01326809166">iTunes</a> – Ramesh Johari, Stanford</li>
<li><strong>The Structure and Interpretation of Computer Programs</strong> – <a href="http://www.youtube.com/user/UCBerkeley#g/c/D7B8D6A4834C14C8">YouTube</a> - <a href="http://deimos3.apple.com/WebObjects/Core.woa/Browse/berkeley.edu.1621506930">iTunes</a> – Brian Harvey, UC Berkeley</li>
<li><strong>Understanding Computers and the Internet</strong> – <a href="http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=81174875&amp;s=143441&amp;i=10759375">iTunes</a> – <a href="http://www.fas.harvard.edu/%7Ecscie1/podcast/">Feed</a> – David Malan, Harvard University</li>
</ul>
<p>This list was extracted from http://www.openculture.com/freeonlinecourses</p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/09/07/free-online-computer-science-courses-from-ivy-league-universities/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to implement an ajax-loading image with jquery</title>
		<link>http://randomitstuff.com/2011/07/15/how-to-implement-an-ajax-loading-image-with-jquery/</link>
		<comments>http://randomitstuff.com/2011/07/15/how-to-implement-an-ajax-loading-image-with-jquery/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 21:57:49 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[jquery]]></category>
		<category><![CDATA[Web Development and Programming]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=556</guid>
		<description><![CDATA[An Ajax loader image is an animated gif that give your users a visual que that your widget is doing something. (Usually fetching data from the server via ajax). It&#8217;s very simple to implement one on your ajax site. Step 1 is to get a suitable animated gif. You can create your own, or just [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/07/15/how-to-implement-an-ajax-loading-image-with-jquery/" data-text="How to implement an ajax-loading image with jquery" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/07/15/how-to-implement-an-ajax-loading-image-with-jquery/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div></div><p>An Ajax loader image is an animated gif that give your users a visual que that your widget is doing something. (Usually fetching data from the server via ajax). It&#8217;s very simple to implement one on your ajax site.</p>
<p>Step 1 is to get a suitable animated gif. You can create your own, or just grab one from http://www.ajaxload.info/</p>
<p>Step 2. Create css class, that uses your new gif as a background image. ex</p>
<pre class="brush: css; title: ; notranslate">.ui-widget-loading { background: #f5f3e5 url(spinner.gif) 50% no-repeat; top }</pre>
<p>Step 3. The jquery. So i assume you are using jquery to perform some sort of ajax call. Simply use the following</p>
<pre class="brush: jscript; title: ; notranslate">
 $(this).ajaxStart(function(){
  $(this).removeClass('ui-widget-content');
  $(this).addClass('ui-widget-loading');
 });

  $(this).ajaxStop(function(){
    $(this).removeClass('ui-widget-loading');
    $(this).addClass('ui-widget-content');
  });
</pre>
<p>so the ajax start and stop functions are native jquery handler functions which are triggered when an ajax call starts or stops. so when the ajax call starts we remove the content class and add the loading class, when the call is finished we remove the loading class and replace it with the content. </p>
<p>Happy Coding !! </p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/07/15/how-to-implement-an-ajax-loading-image-with-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WMA Vs MP3</title>
		<link>http://randomitstuff.com/2011/07/14/wma-vs-mp3/</link>
		<comments>http://randomitstuff.com/2011/07/14/wma-vs-mp3/#comments</comments>
		<pubDate>Thu, 14 Jul 2011 16:13:42 +0000</pubDate>
		<dc:creator>patrick</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=545</guid>
		<description><![CDATA[Random Thought:&#62;&#62; There really isn&#8217;t or wasn&#8217;t any need for 2 compressed music file formats&#8230;. This was just Microsoft being up to their old shenanigans so that the consumer could purchase their software!!! http://www.scinet.cc/articles/wma-vs-mp3/wma-mp3.html There are just a few audio compression formats out there, just like there are only a few image compression formats (you [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/07/14/wma-vs-mp3/" data-text="WMA Vs MP3" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/07/14/wma-vs-mp3/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div></div><p>Random Thought:&gt;&gt; There really isn&#8217;t or wasn&#8217;t any need for 2 compressed music file formats&#8230;. This was just Microsoft being up to their old shenanigans so that the consumer could purchase their software!!!<br />
<a href="http://www.scinet.cc/articles/wma-vs-mp3/wma-mp3.html">http://www.scinet.cc/articles/wma-vs-mp3/wma-mp3.html</a></p>
<p>There are just a few audio compression formats out there, just like there are only a few image compression formats (you may have heard of them: JPG, GIF, BMP). Two of the most popular audio formats are WMA, or Windows Media Audio, and MP3 (Short for MPEG, Moving Pictures Experts Group, Audio Layer 3). WMA is the older audio format, produced by Microsoft, to work with Microsoft&#8217;s Windows media player. The WMA compression format was designed specifically for this format, and thus can not be converted to other audio formats.The audio quality of WMA and MP3 audio formats tends to be noticeably different. WMA is a decent quality audio format when streaming at phoneline speeds (maybe 30kbps or so). At such speed WMA almost reaches an FM level of audio quality, although not quite. At 128kbps, Microsoft claims the WMA is nearly CD-quality, although many would deny this. WMA, however, is not to be completely looked over. The compression provides relatively small audio files and they require less processing power to execute. It thus retains a deminishing niche as MP3 has become more popular and widely used.</p>
<p>The MP3 audio compression was developed in Germany in 1991 by the Fraunhofer Institute. MP3 typically provides higher quality sound than WMA because it uses perceptual audio coding to compress CD-quality sound by a factor of 12. As a result, MP3 has become almost the universal standard among audio usage and broadcasting. It provides CD-quality sound at reasonable compression sizes and high streaming speeds. Watch out, however, at low bitrates, as MP3 quality will likely suffer</p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/07/14/wma-vs-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get rid of ^M from Linux/Unix files</title>
		<link>http://randomitstuff.com/2011/06/28/get-rid-of-m-from-linuxunix-files/</link>
		<comments>http://randomitstuff.com/2011/06/28/get-rid-of-m-from-linuxunix-files/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 20:39:32 +0000</pubDate>
		<dc:creator>Darren Cato</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[System Admin]]></category>
		<category><![CDATA[Web Development and Programming]]></category>

		<guid isPermaLink="false">http://randomitstuff.com/?p=538</guid>
		<description><![CDATA[If you use a windows editor and upload code to a Linux server to run from the command line, then you have probably run into the dreaded ^M issue. This happens when uploading files from a windows system, using ascii mode. Some Windows editors may add the character to the end of each line as [...]]]></description>
			<content:encoded><![CDATA[<div class="socialize-in-content" style="float:right;"><div class="socialize-in-button socialize-in-button-right"><a href="http://twitter.com/share" class="twitter-share-button" data-url="http://randomitstuff.com/2011/06/28/get-rid-of-m-from-linuxunix-files/" data-text="Get rid of ^M from Linux/Unix files" data-count="vertical" data-via="shaded2" ><!--Tweetter--></a></div><div class="socialize-in-button socialize-in-button-right"><iframe src="http://www.facebook.com/plugins/like.php?href=http://randomitstuff.com/2011/06/28/get-rid-of-m-from-linuxunix-files/&amp;layout=box_count&amp;show_faces=false&amp;width=&amp;action=like&amp;font=arial&amp;colorscheme=light&amp;height=65" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:px !important; height:65px;" allowTransparency="true"></iframe></div></div><p>If you use a windows editor and upload code to a Linux server to run from the command line, then you have probably run into the dreaded ^M issue. This happens when uploading files from a windows system, using ascii mode.  Some Windows editors may add the character to the end of each line as well during editing.</p>
<p>This can be very annoying but here is a simple way to fix it: </p>
<p>Install the dos2unix utility<br />
<code>yum install dos2linux</code></p>
<p>run <code>dos2linux [filename]</code></p>
]]></content:encoded>
			<wfw:commentRss>http://randomitstuff.com/2011/06/28/get-rid-of-m-from-linuxunix-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

