<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.1" -->
<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/"
	>

<channel>
	<title>Yan Huang &#124; Yan's Blog</title>
	<link>http://yansblog.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 09 Apr 2008 22:46:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
	<language>en</language>
			<item>
		<title>Email Piping</title>
		<link>http://yansblog.com/2008/04/09/email-piping/</link>
		<comments>http://yansblog.com/2008/04/09/email-piping/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 22:46:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://yansblog.com/2008/04/09/email-piping/</guid>
		<description><![CDATA[I set up email piping&#8211;it is very straight forward in Linux using cPanel.  Pretty much whenever an email gets sent to support@domain.tld, it gets forwarded to the PHP piping script, and that adds it to the application.  The alternative method of doing email piping is not true email piping&#8211;it is cron piping.  In Windows, you [...]]]></description>
			<content:encoded><![CDATA[<p>I set up email piping&#8211;it is very straight forward in Linux using cPanel.  Pretty much whenever an email gets sent to support@domain.tld, it gets forwarded to the PHP piping script, and that adds it to the application.  The alternative method of doing email piping is not true email piping&#8211;it is cron piping.  In Windows, you use Scheduled Tasks as oppose to Crontabs (Linux).  This method is useful for Linux when the email server that does the forwarding is not on the same machine as the server with the application.  Using cron piping, every X amount of time, the script logs into the mailbox via POP or IMAP and reads the emails, and then pulls it into the application.  Definitely a lot less efficient than true email piping, as CPU cycles and bandwidth is wasted each X amount of time, even when there are no emails coming in.</p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2008/04/09/email-piping/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Murphy&#8217;s Law Hits</title>
		<link>http://yansblog.com/2008/04/01/murphys-law-hits/</link>
		<comments>http://yansblog.com/2008/04/01/murphys-law-hits/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 07:30:06 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://yansblog.com/2008/04/01/murphys-law-hits/</guid>
		<description><![CDATA[I have been diagnosed with Murphy&#8217;s Law of Whatever can go wrong, will go wrong.  My version of Murphy&#8217;s law&#8230;When shit hits the fan, shit hits the fan HARD.  Placing all your eggs in one basket is not a wise idea, thus, I placed all my eggs in different baskets.  Unfortunately, all the baskets had [...]]]></description>
			<content:encoded><![CDATA[<p>I have been diagnosed with Murphy&#8217;s Law of Whatever can go wrong, will go wrong.  My version of Murphy&#8217;s law&#8230;When shit hits the fan, shit hits the fan HARD.  Placing all your eggs in one basket is not a wise idea, thus, I placed all my eggs in different baskets.  Unfortunately, all the baskets had holes.  Fortunately, a friend from the past lent me his basket today.</p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2008/04/01/murphys-law-hits/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mass Responding to Craigslist through Gmail via SMTP</title>
		<link>http://yansblog.com/2008/03/30/mass-responding-to-craigslist-through-gmail-via-smtp/</link>
		<comments>http://yansblog.com/2008/03/30/mass-responding-to-craigslist-through-gmail-via-smtp/#comments</comments>
		<pubDate>Mon, 31 Mar 2008 06:06:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Business]]></category>

		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://yansblog.com/2008/03/30/mass-responding-to-craigslist-through-gmail-via-smtp/</guid>
		<description><![CDATA[Yan Huang (me) explains the way he automates his process of gaining leads from Craigslist, using PHP/SMTP and Gmail to do so.  The Craigslist URL is pasted into the Craigslist API that we developed, and the output is a datafile in CSV format.  This server does the parsing of Craigslist pages, and strips [...]]]></description>
			<content:encoded><![CDATA[<p><span>Yan Huang (me) explains the way he automates his process of gaining leads from Craigslist, using PHP/SMTP and Gmail to do so.  The Craigslist URL is pasted into the Craigslist API that we developed, and the output is a datafile in CSV format.  This server does the parsing of Craigslist pages, and strips out the titles, and emails.   The other part of the application takes in this CSV file and parses it.  Each line of the CSV file is entered into a loop, and for each loop cycle, the PHP connects to an SMTP Adapter, which connects to Google Mail (Gmail), and sends out an email.  The reason for using Gmail instead of sending it via our own servers is because Craigslist will ban our server&#8217;s IPs, but they will not ban Google&#8217;s IPs.  The only flaw is only 57 emails can be sent until Craigslist won&#8217;t allow you to send for 24 hours.  However, incremental process is being made to overcome this obsticle. </span></p>
<p><embed src="http://www.youtube.com/v/k5-TIGRw040" type="application/x-shockwave-flash" height="350" width="425"></embed></p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2008/03/30/mass-responding-to-craigslist-through-gmail-via-smtp/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Radario Test</title>
		<link>http://yansblog.com/2008/01/26/radario-test/</link>
		<comments>http://yansblog.com/2008/01/26/radario-test/#comments</comments>
		<pubDate>Sun, 27 Jan 2008 04:43:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://yansblog.com/2008/01/26/radario-test/</guid>
		<description><![CDATA[Tags: facebook, business
This post is to test the automatic blog polling and trackback service for Radario.
]]></description>
			<content:encoded><![CDATA[<p>Tags: facebook, business</p>
<p>This post is to test the automatic blog polling and trackback service for Radario.</p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2008/01/26/radario-test/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Facebook App Hello World</title>
		<link>http://yansblog.com/2008/01/20/my-facebook-app-hello-world/</link>
		<comments>http://yansblog.com/2008/01/20/my-facebook-app-hello-world/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 20:31:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://yansblog.com/2008/01/20/my-facebook-app-hello-world/</guid>
		<description><![CDATA[I never had a purpose for creating a Facebook application, and I still do not.  One of my friends, whose still in high school, mentioned the computer science teacher gave extra credit to any students that created a Facebook application.  From my knowledge, none created one, but knowing that was what sparked interest [...]]]></description>
			<content:encoded><![CDATA[<p>I never had a purpose for creating a Facebook application, and I still do not.  One of my friends, whose still in high school, mentioned the computer science teacher gave extra credit to any students that created a Facebook application.  From my knowledge, none created one, but knowing that was what sparked interest for me to look into Facebook applications.  Facebook&#8217;s APIs support all the popular programming languages but for my interest, I used PHP 5.  Basically you generate and copy over the keys like any API and you type in the callback URL.  The rest is pretty much you just do your own thing.  You can opt to use FBML (Facebook Markup Language) or use an iframe.  FBML is pretty interesting&#8211;syntax looks very similar to ASP.NET control tags.</p>
<p>Here is my &#8220;Hello World&#8221; Facebook application:  <a href="http://apps.facebook.com/oneve-yan" title="http://apps.facebook.com/oneve-yan" target="_blank">http://apps.facebook.com/oneve-yan</a></p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2008/01/20/my-facebook-app-hello-world/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Road to Str8 Ballin</title>
		<link>http://yansblog.com/2007/12/04/road-to-str8-ballin/</link>
		<comments>http://yansblog.com/2007/12/04/road-to-str8-ballin/#comments</comments>
		<pubDate>Tue, 04 Dec 2007 09:30:48 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://yansblog.com/2007/12/04/road-to-str8-ballin/</guid>
		<description><![CDATA[Usually my posts are about technology but a lot has taken place in the past month. It seems like all the pieces of the puzzle are finally coming together. This post will be a bit awkward because it will be very philosophical and probably not logical.
During the past few weeks I have learned far more [...]]]></description>
			<content:encoded><![CDATA[<p>Usually my posts are about technology but a lot has taken place in the past month. It seems like all the pieces of the puzzle are finally coming together. This post will be a bit awkward because it will be very philosophical and probably not logical.</p>
<p>During the past few weeks I have learned far more about human behavior than I ever had and it feels as if I am able to communicate with people on a stronger level now. I got out of living with room mates and finally have a studio in downtown Los Angeles. I was given the freedom to re innovate it&#8211;I am still in the midst of wrapping up the paint job. ONE V8&#8211;online media and applications company for upscale clients that I started seems to be coming together rather well.  I feel blessed for the people I know.  I have to give credit to a close friend of mine who works with me&#8211;he really helped me pull it through.</p>
<p>The American dream is out there&#8211;I am pursuing my version of the American dream. Whatever it takes and this goes for everyone else with an American dream&#8230;whatever it takes, I <u>will</u> make it happen. Most importantly, &#8220;Family, integrity, hard work.&#8221;</p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2007/12/04/road-to-str8-ballin/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ajax with JSON &#62; Ajax with XML</title>
		<link>http://yansblog.com/2007/11/06/ajax-with-json-ajax-with-xml/</link>
		<comments>http://yansblog.com/2007/11/06/ajax-with-json-ajax-with-xml/#comments</comments>
		<pubDate>Wed, 07 Nov 2007 05:17:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://yansblog.com/?p=32</guid>
		<description><![CDATA[
   I don&#8217;t know if it is still Ajax if there is no XML involved.&#160; I used PHP to
   parse the CSV data from Yahoo Finance and exported it into JSON.&#160; My server did
   not support the json_decode and json_encode functions so I had to manually parse it
  [...]]]></description>
			<content:encoded><![CDATA[<p>
   I don&#8217;t know if it is still Ajax if there is no XML involved.&nbsp; I used PHP to<br />
   parse the CSV data from Yahoo Finance and exported it into JSON.&nbsp; My server did<br />
   not support the json_decode and json_encode functions so I had to manually parse it<br />
   to JSON.&nbsp; The thing I really thought was cool about using JSON is it skips a<br />
   whole step.&nbsp; I did not have to parse XML into stuff I can use in JavaScript.&nbsp;<br />
   All I had to do was have var arr = JSON_data and we can just call arr.index_of_value<br />
   to get the actual value.&nbsp; JSON is pretty cool.
</p>
<p><img width="0" height="0" src="http://www.yansblog.com/aggbug.ashx?id=07b76901-7ec0-4ba9-9a0d-cd5a279bacd6" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2007/11/06/ajax-with-json-ajax-with-xml/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Same PageRank for Websites</title>
		<link>http://yansblog.com/2007/11/05/same-pagerank-for-websites/</link>
		<comments>http://yansblog.com/2007/11/05/same-pagerank-for-websites/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 01:48:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://yansblog.com/?p=42</guid>
		<description><![CDATA[Let&#8217;s back up for those who are not familiar with the term PR&#8211;it is
not Public Relationship in this context.&#160; PR stands for Google&#8217;s
PageRank and it is an old method of tracking which websites are relevant or important
by Google.
Dranet used to be a PR6 website at one point in
time&#8211;it is now a PR3 website.&#160; Md5 Encryption [...]]]></description>
			<content:encoded><![CDATA[<p>Let&#8217;s back up for those who are not familiar with the term PR&#8211;it is<br />
not Public Relationship in this context.&nbsp; PR stands for <a href="http://www.google.com/technology/">Google&#8217;s<br />
PageRank</a> and it is an old method of tracking which websites are relevant or important<br />
by Google.</p>
<p><a href="http://www.dranet.com">Dranet</a> used to be a PR6 website at one point in<br />
time&#8211;it is now a PR3 website.&nbsp; <a href="http://www.md5encryption.com">Md5 Encryption</a> used<br />
to be a PR4 website and <b>just</b> last week, it I guess Google reindexed and now<br />
it is a PR2 website.</p>
<p>On the flip side, it seems that this blog is now a PR2 blog, which is very flattering.&nbsp;<br />
My two proxies <a href="http://www.abigfruit.com">A Big Fruit</a> and <a href="http://www.myspacesquad.com">Myspace<br />
Squad</a> are now both PR 2 websites.&nbsp; Seems like the PR rankings went into an<br />
averaging pot and now all my websites have similar, if not same, PageRanks.</p>
<p>To see the Google PageRank of a website, just download the <a href="http://toolbar.google.com">Google<br />
Toolbar</a> and it will show you.</p>
<p><img width="0" height="0" src="http://www.yansblog.com/aggbug.ashx?id=da7fd91b-bd65-4273-93f0-481ab6cf107f" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2007/11/05/same-pagerank-for-websites/feed/</wfw:commentRss>
		</item>
		<item>
		<title>American Gangster</title>
		<link>http://yansblog.com/2007/11/03/american-gangster/</link>
		<comments>http://yansblog.com/2007/11/03/american-gangster/#comments</comments>
		<pubDate>Sat, 03 Nov 2007 11:31:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://yansblog.com/?p=43</guid>
		<description><![CDATA[There is something about American Gangster that caught my attention&#8211;both protagonist went for their own versions of the American dream and did it.&#160; Denzel Washington did an excellent job portraying Frank Lucas.&#160; His actions for the most part were along the line, in my opinion, with the exception of him shooting the guy in the [...]]]></description>
			<content:encoded><![CDATA[<p>There is something about American Gangster that caught my attention&#8211;both protagonist went for their own versions of the American dream and did it.&nbsp; Denzel Washington did an excellent job portraying Frank Lucas.&nbsp; His actions for the most part were along the line, in my opinion, with the exception of him shooting the guy in the head and the time he bashed his cousin&#8217;s head with the piano.&nbsp; Great irony when he told his brother not to wear anything flashy and in the following scenes, he gets spotted out because he wore the flashy fur jacket his girl got him.&nbsp; </p>
<p><i>&#8220;Most important thing in business is honesty, integrity, hard work, family.&nbsp;<br />
Never forget where we came from.&#8221; - Frank Lucas</i></p>
<p>I think what made this movie really good was the music behind it, especially the trailer.&nbsp; <b><a href="http://www.youtube.com/watch?v=re0zFRfRXu0">Jay<br />
Z - Heart of the City</a> </b>was a great song for the trailers. </p>
<p>American Gangster&#8230;<br />
<img src="http://www.yansblog.com/content/binary/Yan_Huang_Professional.jpg" border="0"><br />
<br />
&#8230; No, Just kidding.&nbsp; It is just a picture of myself that I thought was good.<br />
<img width="0" height="0" src="http://www.yansblog.com/aggbug.ashx?id=2711a3e4-7b09-4a47-bb8f-6c251027a077" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2007/11/03/american-gangster/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP Pear is Pure Awesome</title>
		<link>http://yansblog.com/2007/10/27/php-pear-is-pure-awesome/</link>
		<comments>http://yansblog.com/2007/10/27/php-pear-is-pure-awesome/#comments</comments>
		<pubDate>Sat, 27 Oct 2007 10:34:05 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://yansblog.com/?p=33</guid>
		<description><![CDATA[I have heard a lot about PHP Pear or PHP Extension and Application Repository.&#160; I never really had to use it but heck, I tried Ruby on Rails and it was pretty cool&#8211;why not try Pear.&#160; The repositories that I downloaded were Mail and MDB2.&#160; Mail was pretty straight forward&#8211;I liked how clean declaring the [...]]]></description>
			<content:encoded><![CDATA[<p>I have heard a lot about PHP Pear or PHP Extension and Application Repository.&nbsp; I never really had to use it but heck, I tried Ruby on Rails and it was pretty cool&#8211;why not try Pear.&nbsp; The repositories that I downloaded were Mail and MDB2.&nbsp; Mail was pretty straight forward&#8211;I liked how clean declaring the header information was, as opposed to PHP4&#8217;s method of doing so.</p>
<p>What I really liked about PHP Pear&#8217;s MDB2 library was the fact that defining the datasource<br />
is as clean as you can get.&nbsp; If you have any problems connecting to the MySQL<br />
using the socket, check that you have MDB2/mysql.php.</p>
<p>I mean&#8230;How much cleaner this be?&nbsp; <i>mysql://username:password@localhost/database</i></p>
<p><img src="http://www.yansblog.com/content/binary/pear_mysql_connect_socket.gif" border="0"><img width="0" height="0" src="http://www.yansblog.com/aggbug.ashx?id=cbb0ac71-8604-49c1-ab1f-53040ba556dd" /></p>
]]></content:encoded>
			<wfw:commentRss>http://yansblog.com/2007/10/27/php-pear-is-pure-awesome/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
