<?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>DB Tsai</title>
	<atom:link href="https://www.dbtsai.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbtsai.com/blog</link>
	<description>The weblog of what I&#039;m enthusiastic about.</description>
	<lastBuildDate>Mon, 25 Aug 2014 23:56:00 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.2</generator>
	<item>
		<title>Multinomial Logistic Regression with Apache Spark</title>
		<link>https://www.dbtsai.com/blog/2014/multinomial-logistic-regression-with-apache-spark/</link>
		<comments>https://www.dbtsai.com/blog/2014/multinomial-logistic-regression-with-apache-spark/#comments</comments>
		<pubDate>Mon, 23 Jun 2014 21:22:35 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[big data]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[machine learning]]></category>
		<category><![CDATA[programing]]></category>
		<category><![CDATA[Algorithm]]></category>
		<category><![CDATA[Hadoop]]></category>
		<category><![CDATA[L-BFGS]]></category>
		<category><![CDATA[Machine Learning]]></category>
		<category><![CDATA[MLlib]]></category>
		<category><![CDATA[Multinomial Logistic Regression]]></category>
		<category><![CDATA[Optimization]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=2139</guid>
		<description><![CDATA[• Speaker: DB Tsai • Date: June 20, 2014 • Location: Hacker Dojo, Mountain View, CA • Host: Silicon Valley Machine Learning Meetup • URL: http://www.meetup.com/Silicon-Valley-Machine-Learning/events/187398222/ • Slide: http://www.slideshare.net/dbtsai/2014-0620-mlor-36132297 • Video: https://www.youtube.com/watch?v=rYwZ09b1B1c Logistic Regression can not only be used for modeling binary outcomes but also multinomial outcome with some extension. In this talk, DB will [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>• Speaker: DB Tsai<br />
• Date: June 20, 2014<br />
• Location: Hacker Dojo, Mountain View, CA<br />
• Host: Silicon Valley Machine Learning Meetup<br />
• URL: <a href="http://www.meetup.com/Silicon-Valley-Machine-Learning/events/187398222/" title="http://www.meetup.com/Silicon-Valley-Machine-Learning/events/187398222/" target="_blank">http://www.meetup.com/Silicon-Valley-Machine-Learning/events/187398222/<br />
</a>• Slide: <a href="http://www.slideshare.net/dbtsai/2014-0620-mlor-36132297" title="http://www.slideshare.net/dbtsai/2014-0620-mlor-36132297" target="_blank">http://www.slideshare.net/dbtsai/2014-0620-mlor-36132297</a><br />
• Video: <a href="https://www.youtube.com/watch?v=rYwZ09b1B1c" title="https://www.youtube.com/watch?v=rYwZ09b1B1c" target="_blank">https://www.youtube.com/watch?v=rYwZ09b1B1c</a></p>
<p>Logistic Regression can not only be used for modeling binary outcomes but also multinomial outcome with some extension. In this talk, DB will talk about basic idea of binary logistic regression step by step, and then extend to multinomial one. He will show how easy it&#8217;s with Spark to parallelize this iterative algorithm by utilizing the in-memory RDD cache to scale horizontally (the numbers of training data.) However, there is mathematical limitation on scaling vertically (the numbers of training features) while many recent applications from document classification and computational linguistics are of this type. He will talk about how to address this problem by L-BFGS optimizer instead of Newton optimizer. </p>
<p><iframe width="640" height="360" src="//www.youtube.com/embed/rYwZ09b1B1c" frameborder="0" allowfullscreen></iframe></p>
<p><iframe src="//www.slideshare.net/slideshow/embed_code/36132297" width="640" height="534" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:1px solid #CCC; border-width:1px 1px 0; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
<div style="margin-bottom:5px"> <strong> <a href="https://www.slideshare.net/dbtsai/2014-0620-mlor-36132297" title="2014-06-20 Multinomial Logistic Regression with Apache Spark" target="_blank">2014-06-20 Multinomial Logistic Regression with Apache Spark</a> </strong> from <strong><a href="http://www.slideshare.net/dbtsai" target="_blank">DB Tsai</a></strong> </div>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2014. |
<a href="https://www.dbtsai.com/blog/2014/multinomial-logistic-regression-with-apache-spark/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2014/multinomial-logistic-regression-with-apache-spark/&title=Multinomial Logistic Regression with Apache Spark">del.icio.us</a>
<br/>
Post tags: <a href="https://www.dbtsai.com/blog/tag/algorithm/" rel="tag">Algorithm</a>, <a href="https://www.dbtsai.com/blog/tag/hadoop-2/" rel="tag">Hadoop</a>, <a href="https://www.dbtsai.com/blog/tag/l-bfgs/" rel="tag">L-BFGS</a>, <a href="https://www.dbtsai.com/blog/tag/machine-learning-2/" rel="tag">Machine Learning</a>, <a href="https://www.dbtsai.com/blog/tag/mllib/" rel="tag">MLlib</a>, <a href="https://www.dbtsai.com/blog/tag/multinomial-logistic-regression/" rel="tag">Multinomial Logistic Regression</a>, <a href="https://www.dbtsai.com/blog/tag/optimization/" rel="tag">Optimization</a>, <a href="https://www.dbtsai.com/blog/tag/spark/" rel="tag">Spark</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2014/multinomial-logistic-regression-with-apache-spark/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Implementing the in-Mapper Combiner for Performance Gains in Hadoop</title>
		<link>https://www.dbtsai.com/blog/2013/implementing-the-in-mapper-combiner-for-performance-gains-in-hadoop/</link>
		<comments>https://www.dbtsai.com/blog/2013/implementing-the-in-mapper-combiner-for-performance-gains-in-hadoop/#comments</comments>
		<pubDate>Mon, 02 Dec 2013 18:21:15 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[big data]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[programing]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=2043</guid>
		<description><![CDATA[By DB Tsai and Jenny Thompson. This article is also published in the blog of my company, Alpine Data Labs. Before we start the article, let&#8217;s show you the benchmark first. In the Alpine development team, we are always looking for ways to improve the efficiency of our algorithms. One of the most widely applicable [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>By <span style="color: #0000ff;">DB Tsai</span> and <span style="color: #0000ff;">Jenny Thompson</span>. This article is also published in the <a href="http://alpinenow.com/blog/in-mapper-combiner/" target="_blank">blog of my company, Alpine Data Labs</a>.</p>
<p>Before we start the article, let&#8217;s show you the benchmark first.<br />
<a href="https://www.dbtsai.com/blog/wp-content/uploads/2013/11/wordCountBenchmark.png"><img src="https://www.dbtsai.com/blog/wp-content/uploads/2013/11/wordCountBenchmark.png" alt="wordCountBenchmark" width="1260" height="746" class="aligncenter size-full wp-image-2092" /></a></p>
<p>In the Alpine development team, we are always looking for ways to improve the efficiency of our algorithms. One of the most widely applicable and effective fixes we found was to implement the <em>in-mapper combiner</em> design pattern in our hadoop based algorithms. This can dramatically cut the amount of data transmitted across the network, and speed up the algorithm by 20%-50%.</p>
<p>For example, to implement the C4.5 decision tree algorithm we need to compute the information gain, which is essentially just counting all different combinations of independent and dependent variables; as a result, aggregating the result in mapper instead of emitting all of them for each row greatly increases performance. We also use this technique for our naive Bayes classifier, linear regression, and correlation operators.</p>
<p>A high level description and pseudo-code example can be found in <a href="http://lintool.github.io/MapReduceAlgorithms/MapReduce-book-final.pdf" target="_blank">Data-Intensive Text Processing with MapReduce by Jimmy Lin and Chris Dyer, 2010</a>. It has been used in several MapReduce apps; for example, <a href="http://wiki.apache.org/pig/PigHashBasedAggInMap" target="_blank">pig 0.10+</a> does this automatically. However, there are currently no ready-to-use concrete examples to be found online. Here we will present a step-by-step example with code, a word-count use-case and benchmarking.<br />
(...)<br/>閱讀全文; Read the rest of <a href="https://www.dbtsai.com/blog/2013/implementing-the-in-mapper-combiner-for-performance-gains-in-hadoop/">Implementing the in-Mapper Combiner for Performance Gains in Hadoop</a> (1,218 words)</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2013. |
<a href="https://www.dbtsai.com/blog/2013/implementing-the-in-mapper-combiner-for-performance-gains-in-hadoop/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2013/implementing-the-in-mapper-combiner-for-performance-gains-in-hadoop/&title=Implementing the in-Mapper Combiner for Performance Gains in Hadoop">del.icio.us</a>
<br/>
Post tags: <a href="https://www.dbtsai.com/blog/tag/english/" rel="tag">English</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2013/implementing-the-in-mapper-combiner-for-performance-gains-in-hadoop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prof. Andrew Ng: &#8220;Deep Learning: Machine learning via Large-scale Brain Simulations&#8221;</title>
		<link>https://www.dbtsai.com/blog/2013/prof-andrew-ng-deep-learning-machine-learning-via-large-scale-brain-simulations/</link>
		<comments>https://www.dbtsai.com/blog/2013/prof-andrew-ng-deep-learning-machine-learning-via-large-scale-brain-simulations/#comments</comments>
		<pubDate>Fri, 02 Aug 2013 06:15:11 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[big data]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[machine learning]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=2133</guid>
		<description><![CDATA[As a co-organizer of SF Machine Learning Meetup, it&#8217;s my pleasure to have Prof. Ng to give us a talk about deep learning. However, he is a famous celebrity (co-founder of Coursera, Stanford professor teaching Machine Learning on-line for free, and his deep learning work, etc) so that everyone knows him pretty well; as a [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>As a co-organizer of <a href="http://www.meetup.com/sfmachinelearning/events/126216352/" target="_blank">SF Machine Learning Meetup</a>, it&#8217;s my pleasure to have Prof. Ng to give us a talk about deep learning. However, he is a famous celebrity (co-founder of Coursera, Stanford professor teaching Machine Learning on-line for free, and his deep learning work, etc) so that everyone knows him pretty well; as a result, I couldn&#8217;t find a good way to make a good introduction to him.</p>
<p>In the end, I came out with a joke to make a introduction to him, and it seems to be working really well. Check out the video!</p>
<p><iframe width="640" height="360" src="//www.youtube.com/embed/Vzg1vESvIBw" frameborder="0" allowfullscreen></iframe>  </p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2013. |
<a href="https://www.dbtsai.com/blog/2013/prof-andrew-ng-deep-learning-machine-learning-via-large-scale-brain-simulations/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2013/prof-andrew-ng-deep-learning-machine-learning-via-large-scale-brain-simulations/&title=Prof. Andrew Ng: &#8220;Deep Learning: Machine learning via Large-scale Brain Simulations&#8221;">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2013/prof-andrew-ng-deep-learning-machine-learning-via-large-scale-brain-simulations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Concurrent Dynamic Object Pool for non Thread Safe Objects using Blocking Queue</title>
		<link>https://www.dbtsai.com/blog/2013/java-concurrent-dynamic-object-pool-for-non-thread-safe-objects-using-blocking-queue/</link>
		<comments>https://www.dbtsai.com/blog/2013/java-concurrent-dynamic-object-pool-for-non-thread-safe-objects-using-blocking-queue/#comments</comments>
		<pubDate>Sun, 24 Feb 2013 23:15:46 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[programing]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=2016</guid>
		<description><![CDATA[I tried to integrate an external non-thread-safe library to my web project; I found out that it&#8217;s too expensive to create an instance of the object for each client thread. Initially, I solved this issue by just sharing the same object across all the concurrent client threads, and synchronized this object externally. However, the performance [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I tried to integrate an external non-thread-safe library to my web project; I found out that it&#8217;s too expensive to create an instance of the object for each client thread. Initially, I solved this issue by just sharing the same object across all the concurrent client threads, and synchronized this object externally.</p>
<p>However, the performance is still not acceptable; as a result, I designed a resource pool to hold fixed amount of the objects, and recycle them when the threads don&#8217;t need them anymore.</p>
<p>I want that the resource objects in the pool are dynamically created instead of creating all of them in the constructor. The pool will be initially empty, and when a client thread acquires a resource object, the pool can create a new resource on demand. Once the numbers of created objects are reached the size of the pool; then the new client threads will be blocked, and wait for other thread to recycle the resource.</p>
<p>Finally, the pool should be fair, and the fairness ensures that the first thread that asks is the first thread that gets; otherwise there is probability that some threads will just wait forever.</p>
<p>This concurrent object pool can be built by the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/BlockingQueue.html" target="_blank">blocking queue in Java concurrent package</a>, and one of the implementation, <a href="http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/ArrayBlockingQueue.html" target="_blank">ArrayBlockingQueue</a> supports fairness which we require.</p>
<p>(...)<br/>閱讀全文; Read the rest of <a href="https://www.dbtsai.com/blog/2013/java-concurrent-dynamic-object-pool-for-non-thread-safe-objects-using-blocking-queue/">Java Concurrent Dynamic Object Pool for non Thread Safe Objects using Blocking Queue</a> (541 words)</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2013. |
<a href="https://www.dbtsai.com/blog/2013/java-concurrent-dynamic-object-pool-for-non-thread-safe-objects-using-blocking-queue/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2013/java-concurrent-dynamic-object-pool-for-non-thread-safe-objects-using-blocking-queue/&title=Java Concurrent Dynamic Object Pool for non Thread Safe Objects using Blocking Queue">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2013/java-concurrent-dynamic-object-pool-for-non-thread-safe-objects-using-blocking-queue/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Hadoop M/R to implement &#8220;People You Might Know&#8221; friendship recommendation</title>
		<link>https://www.dbtsai.com/blog/2013/hadoop-mr-to-implement-people-you-might-know-friendship-recommendation/</link>
		<comments>https://www.dbtsai.com/blog/2013/hadoop-mr-to-implement-people-you-might-know-friendship-recommendation/#comments</comments>
		<pubDate>Tue, 22 Jan 2013 08:38:54 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[big data]]></category>
		<category><![CDATA[computer]]></category>
		<category><![CDATA[hadoop]]></category>
		<category><![CDATA[programing]]></category>
		<category><![CDATA[English]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=1906</guid>
		<description><![CDATA[The best friendship recommendations often come from friends. The key idea is that if two people have a lot of mutual friends, but they are not friends, then the system should recommend them to be connected to each other. Let&#8217;s assume that the friendships are undirected: if A is a friend of B then B [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="https://www.dbtsai.com/blog/wp-content/uploads/2013/01/social.png"><img class="alignleft wp-image-1965" alt="social" src="https://www.dbtsai.com/blog/wp-content/uploads/2013/01/social.png" width="345" height="200" /></a></p>
<p>The best friendship recommendations often come from friends. The key idea is that if two people have a lot of mutual friends, but they are not friends, then the system should recommend them to be connected to each other.<br />
Let&#8217;s assume that the friendships are undirected: if A is a friend of B then B is also a friend of A. This is the most common friendship system used in Facebook, Google+, Linkedin, and several social networks. It&#8217;s not difficult to extend it to directed friendship system used in twitter; however, we&#8217;ll focus on the undirected case throughout this post.</p>
<p>The context of this article is modified into an exercise by Dr. Matthew for his students, you may want to <a href="http://www.cems.uwe.ac.uk/~pmatthew/blog/2014/03/04/teaching-mapreduce" target="_blank">check it out</a>!<br />
(...)<br/>閱讀全文; Read the rest of <a href="https://www.dbtsai.com/blog/2013/hadoop-mr-to-implement-people-you-might-know-friendship-recommendation/">Hadoop M/R to implement &#8220;People You Might Know&#8221; friendship recommendation</a> (1,074 words)</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2013. |
<a href="https://www.dbtsai.com/blog/2013/hadoop-mr-to-implement-people-you-might-know-friendship-recommendation/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2013/hadoop-mr-to-implement-people-you-might-know-friendship-recommendation/&title=Hadoop M/R to implement &#8220;People You Might Know&#8221; friendship recommendation">del.icio.us</a>
<br/>
Post tags: <a href="https://www.dbtsai.com/blog/tag/english/" rel="tag">English</a><br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2013/hadoop-mr-to-implement-people-you-might-know-friendship-recommendation/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>My startup, DuJour in Silicon Valley is now in StartX</title>
		<link>https://www.dbtsai.com/blog/2012/my-startup-dujour-startx/</link>
		<comments>https://www.dbtsai.com/blog/2012/my-startup-dujour-startx/#comments</comments>
		<pubDate>Sun, 22 Apr 2012 22:50:58 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[computer]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[study abroad]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=1865</guid>
		<description><![CDATA[I&#8217;ve been working very hard on a startup project, DuJour, as a co-founder for many months in Silicon Valley, and we are very excited to announce that our startup is now in StartX, the non-profit incubator and accelerator program for Stanford students and recent alums. Have you seen those perfect men and women in fashion, like [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been working very hard on a startup project, DuJour, as a co-founder for many months in Silicon Valley, and we are very excited to announce that our startup is now in <a href="http://startx.stanford.edu/">StartX</a>, the non-profit incubator and accelerator program for Stanford students and recent alums.</p>
<p>Have you seen those perfect men and women in fashion, like that super-model for Victoria&#8217;s secret? Thin, tall, the perfect skin tone. Have you ever looked into the mirror and wondered what if I have that perfect body? What if I loose a few pounds and alter my skin tone?</p>
<p>You don&#8217;t need to wonder that, because you are just as beautiful as those models.</p>
<p>DuJour is fashion by everyday people. In DuJour, you can find people who share similar traits with you in fashion &#8211; like you all like vintage style or have curvy bodies. You can contribute to an exciting discussion, start your own fashion trend, or simply explore what&#8217;s new!</p>
<p>This is the video that we used for applying the StartX program which demonstrates our main idea visually.</p>
<p><iframe width="640" height="360" src="//www.youtube.com/embed/zNsOIveckf0" frameborder="0" allowfullscreen></iframe></p>
<p>I will introduce our site to all the readers when we do the alpha testing next month. For those of you who can not wait and are willing to help us debugging, please send me a message; I&#8217;ll send you a testing account.</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2012. |
<a href="https://www.dbtsai.com/blog/2012/my-startup-dujour-startx/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2012/my-startup-dujour-startx/&title=My startup, DuJour in Silicon Valley is now in StartX">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2012/my-startup-dujour-startx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Biking to school</title>
		<link>https://www.dbtsai.com/blog/2011/biking-to-school/</link>
		<comments>https://www.dbtsai.com/blog/2011/biking-to-school/#comments</comments>
		<pubDate>Wed, 05 Oct 2011 17:45:47 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[study abroad]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=1827</guid>
		<description><![CDATA[I decided to do exercise few days ago after seeing my belly in the mirror and after finding my shirt didn’t fit me well. After coming to United Sates since last September, I have gained weight day by day without notice. Maybe it is all because the high calorie food such as burger with cheese, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a href="https://www.dbtsai.com/blog/wp-content/uploads/2011/10/biking-from-home-to-stanford.png"><img class="size-medium wp-image-1828 alignleft" title="biking-from-home-to-stanford" src="https://www.dbtsai.com/blog/wp-content/uploads/2011/10/biking-from-home-to-stanford-480x400.png" alt="" width="480" height="400" /></a>I decided to do exercise few days ago after seeing my belly in the mirror and after finding my shirt didn’t fit me well. After coming to United Sates since last September, I have gained weight day by day without notice. Maybe it is all because the high calorie food such as burger with cheese, steak, beer, red wine and etc&#8230; Another reason may be I have to sit in the lab all day long to run some data and thus lack of exercise. When I was in Taipei, Taiwan, I used to take public transportation, which will require me at least walk to the station from school, work place or home. Taipei is pretty much like New York in traffic aspect and it is really unwise to drive in Taipei city. You will be stuck in the traffic jam and will have difficult time to find a parking lot. Therefore the easy way to move around in Taipei is to take subway. Basically all the places in Taipei city are accessible via subway. After coming to States, my moving distance is kind of short, only dorm to lab, to class, or some grocery shopping via zip car.  After moving to off-campus housing in Mountain View, I purchased a pre-owned car and this give me an excuse for not doing exercise.</p>
<p>When my friends started to teas my look, I thought they&#8217;re merely too critical. Not until few days ago I saw myself in the mirror did I realize how huge my change is and how serious it is. I made up my mind that I need to do exercise. I think it can benefit my health and make me more energetic and eventually help me work more efficiently.</p>
<p>So far I have biked to school for a week and I have kept track on how far and how fast I bike every day. Generally I biked about 5 miles in 30 minutes one way from my apartment to school, ending up about 12 miles/hour. I actually post my biking record on Facebook so it will encourage me to keep doing this. I found that biking is really good not only because it saves gas and money and also it take me to school faster than driving in the traffic.</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2011. |
<a href="https://www.dbtsai.com/blog/2011/biking-to-school/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2011/biking-to-school/&title=Biking to school">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2011/biking-to-school/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My off-campus living at Stanford</title>
		<link>https://www.dbtsai.com/blog/2011/my-off-campus-living-at-stanford/</link>
		<comments>https://www.dbtsai.com/blog/2011/my-off-campus-living-at-stanford/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 20:08:17 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[life]]></category>
		<category><![CDATA[miscellaneous]]></category>
		<category><![CDATA[study abroad]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=1821</guid>
		<description><![CDATA[I moved to off campus on this June. Originally I am pretty satisfied with my living environment as it is really close to San Antonio shopping mall. Many supermarkets, banks, restaurants, like Target, Wal-Mart, Trade Joe, Ross, Chase, Chilly and Fresh Choice, are all within one mile. I can walk to these places as my [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>I moved to off campus on this June. Originally I am pretty satisfied with my living environment as it is really close to San Antonio shopping mall. Many supermarkets, banks, restaurants, like Target, Wal-Mart, Trade Joe, Ross, Chase, Chilly and Fresh Choice, are all within one mile. I can walk to these places as my after-dinner exercise. However, this is one thing I have to deal with, the neighbor.</p>
<p>I found the structure in American house is really unlike the one in Taiwan. While Taiwanese generally use concrete and steel, American use wood to construct the house. So the sounds in US will be easily to leak to next door. I live on 1st floor and I can easily hear my upstairs neighbor walking. There was an unhappy encounter few weeks earlier when I was discussing homework with my classmate at my place. We didn’t talk very loud but few minutes later the upstairs tenant came to knock my door and warn us to be quiet. It make me embarrassing in front of my classmates as I was the person propose to have discussion at my apartment with more relaxing surrounding.</p>
<p>Now is my turn to feel really unhappy with my upstairs tenant. Walking at midnight has bothered my sleep for a while but there was one night he exercised at 3 or 4am. I don’t know what kind of exercise he did but I clearly heard him drop sometime heavy on the floor. I guess it is dumbbell. Doing exercise at midnight is really a big no-no, especially playing dumbbell at 3am! I couldn’t sleep until 5 am and decided to write him a note. I first apologized for earlier disturbance he though I and my classmates made and then told him how important the night sleep means to me. I heard he is a nurse working three days a week at night. I then told him that normally people sleep at night. I do need to have great sleep as I have to do my lab work and attend classes at day time. I posted the note at his door and I do hope this can solve the issue, at least temporary.</p>
<p>Therefore, I hope I can work hard, graduate soon and start to work. I will then start to earn and save money. Ideally I will have my own house in five years in my plan. I guess I don’t have to worry noise problem between neighbors at that time as the distance between houses should be much larger than the one between apartments.</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2011. |
<a href="https://www.dbtsai.com/blog/2011/my-off-campus-living-at-stanford/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2011/my-off-campus-living-at-stanford/&title=My off-campus living at Stanford">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2011/my-off-campus-living-at-stanford/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[分享] he.net 美國大 IDC 免費提供的 DNS 代管</title>
		<link>https://www.dbtsai.com/blog/2011/he-net_free_dns/</link>
		<comments>https://www.dbtsai.com/blog/2011/he-net_free_dns/#comments</comments>
		<pubDate>Fri, 06 May 2011 09:17:19 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[computer]]></category>

		<guid isPermaLink="false">https://www.dbtsai.com/blog/?p=1783</guid>
		<description><![CDATA[https://dns.he.net/ he.net（ Hurricane Electric）是美國老牌 IDC 數據交換中心，成立於1994年。如果有在玩 ipv6 的，大概都會聽過他的名子。它提供免費的 ipv6 tunnel broker, 是類似 vpn 的東西，讓的 ipv4 電腦取得 ipv6 使用。小弟就是用它們家的 tunnel broker, 提供免費 ipv6 服務， 而我所擁有的 domain name 也是給 Hurricane Electric 代管。解析快又穩定。 he.net這個免費DNS解析服務最多可以添加25個域名，提供設置設置A record AAAA record, CNAME record, MX record, NS record, TXT record 和 SRV record. 如果有在玩 ipv6 的, 重要的是它的 name server 有 ipv6 ns glue, [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><a title="https://dns.he.net" href="https://dns.he.net" target="_blank">https://dns.he.net/</a></p>
<p>he.net（ Hurricane Electric）是美國老牌 IDC 數據交換中心，成立於1994年。如果有在玩 ipv6 的，大概都會聽過他的名子。它提供免費的 ipv6 tunnel broker, 是類似 vpn 的東西，讓的 ipv4 電腦取得 ipv6 使用。小弟就是用它們家的 tunnel broker, 提供免費 ipv6 服務，<br />
而我所擁有的 domain name 也是給 Hurricane Electric 代管。解析快又穩定。</p>
<p>he.net這個免費DNS解析服務最多可以添加25個域名，提供設置設置A record AAAA record, CNAME record, MX record, NS record, TXT record 和 SRV record. 如果有在玩 ipv6 的, 重要的是它的 name server 有 ipv6 ns glue, 所以可以在&#8221;純&#8221; ipv6 的網路環境中正常解析。目前很多 dns 代管都可以設定 AAAA record, 但是沒有在 name server 上設置 ipv6 ns glue, 所以基本上查你 AAAA record 時還是跑 ipv4協定。這在 dual stack 上沒有問題，但是在&#8221;純&#8221;ipv6 網路下反而會連不到。</p>
<p>它們提供五台 name server 可以使用，大家應該可以相信這們大的數據公司的服務，況且他們有自己的骨幹到世界各地，算是很有資本的公司。對了，他還有添加slave、reverse的功能。</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2011. |
<a href="https://www.dbtsai.com/blog/2011/he-net_free_dns/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2011/he-net_free_dns/&title=[分享] he.net 美國大 IDC 免費提供的 DNS 代管">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2011/he-net_free_dns/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My birthday of ten thousand days old</title>
		<link>https://www.dbtsai.com/blog/2011/my-birthday-of-ten-thousand-days-old/</link>
		<comments>https://www.dbtsai.com/blog/2011/my-birthday-of-ten-thousand-days-old/#comments</comments>
		<pubDate>Mon, 17 Jan 2011 16:00:50 +0000</pubDate>
		<dc:creator><![CDATA[DB Tsai]]></dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">https://www.dbtsai.org/blog/?p=1141</guid>
		<description><![CDATA[dbtsai@dbtsai:~$ date -d &#8220;1983-09-02 UTC 864000000 seconds&#8221; +%F 2011-01-18 © dbtsai for DB Tsai, 2011. &#124; Permalink &#124; Add to del.icio.us Post tags:]]></description>
				<content:encoded><![CDATA[<p>dbtsai@dbtsai:~$ date -d &#8220;1983-09-02 UTC 864000000 seconds&#8221; +%F<br />
2011-01-18</p>
<hr />
<p><small>© dbtsai for <a href="https://www.dbtsai.com/blog">DB Tsai</a>, 2011. |
<a href="https://www.dbtsai.com/blog/2011/my-birthday-of-ten-thousand-days-old/">Permalink</a> |
Add to
<a href="http://del.icio.us/post?url=https://www.dbtsai.com/blog/2011/my-birthday-of-ten-thousand-days-old/&title=My birthday of ten thousand days old">del.icio.us</a>
<br/>
Post tags: <br/>
</small></p>]]></content:encoded>
			<wfw:commentRss>https://www.dbtsai.com/blog/2011/my-birthday-of-ten-thousand-days-old/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

 Served from: www.dbtsai.com @ 2014-09-03 18:37:42 by W3 Total Cache -->