<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4519785298284205930</id><updated>2024-08-28T01:51:34.628+08:00</updated><category term="reflection"/><category term="Life"/><category term="Mathematica Fun&quot;s&quot;"/><category term="Python"/><category term="Mathematica Tips"/><category term="Algorithms"/><title type='text'>Everlasting Search</title><subtitle type='html'>&quot;A dream we dream together is Reality&quot;</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>40</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-4933346247673025841</id><published>2018-03-19T11:18:00.003+08:00</published><updated>2018-03-19T11:18:58.271+08:00</updated><title type='text'>New blog on Github pages</title><content type='html'>I know I haven&#39;t written anything for a long time. But I recently decided to start a new blog using Github pages. Take a look if you&#39;re interested:&amp;nbsp;&lt;a href=&quot;https://hencrice.github.io/&quot;&gt;https://hencrice.github.io/&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4933346247673025841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4933346247673025841'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2018/03/new-blog-on-github-pages.html' title='New blog on Github pages'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-1770046579580487041</id><published>2013-07-01T09:08:00.002+08:00</published><updated>2015-04-29T00:05:59.712+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Repost Google Plus Activities to Facebook with a Python app hosted on GAE (Google App Engine)</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;A few days ago I found &lt;a href=&quot;http://www.friendsplus.me/&quot; target=&quot;_blank&quot;&gt;Friend+Me&lt;/a&gt;, which is a service that periodically fetches your public posts on G+&amp;nbsp;and reposts them to other social networks. I immediately signed up for their free plan because Facebook&#39;s complicated UI has always been painful to use.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
However, the free plan offers only 40 reposts/month so I decided to implement my own version and hosted it on GAE. Since it was the first time I tried out any Google&#39;s and Facebook&#39;s API, it took me hours to search/go through related documents about&amp;nbsp;GAE, Google Plus API, and Graph API from Facebook. Nevertheless, I still managed to code up a working implementation, check out my G+ &lt;a href=&quot;https://plus.google.com/u/0/111234960489880725462/posts&quot; target=&quot;_blank&quot;&gt;profile&lt;/a&gt; and FB &lt;a href=&quot;https://www.facebook.com/ericchen.hencrice&quot; target=&quot;_blank&quot;&gt;page&lt;/a&gt;&amp;nbsp;(i.e. those posts shared via hencrice_gae). Here&#39;s how I&#39;ve done it:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
The whole concept of the program was borrowed from Friend+Me&#39;s &lt;a href=&quot;http://friendsplus.me/#/faq&quot; target=&quot;_blank&quot;&gt;webpage&lt;/a&gt;, only that my implementation is a stripped down, personal-use version of what they offer. That is: (Currently) no repost control with hashtags because all I want to do is merely G+ to FB.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;System requirement: Python 2.7 (for deploying your app to GAE). That&#39;s it!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;1. Go to&amp;nbsp;&lt;a href=&quot;https://code.google.com/apis/console&quot;&gt;https://code.google.com/apis/console&lt;/a&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;create a project. Select &quot;Services&quot; tab on the left and turn on Google+ API:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIIBAht9FZj_uunulQPlTZ7tT3rg9F2fICiZTV_uo4Oz0cOSIPB6T8bHjoChJ8nVVUeCgExAacUaGb043Itphh0iydeFuWbnqxkuLs3ndvBNoha32yQuKPc9Im6C6hVYKi4qFuILUuzV3q/s1426/service.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIIBAht9FZj_uunulQPlTZ7tT3rg9F2fICiZTV_uo4Oz0cOSIPB6T8bHjoChJ8nVVUeCgExAacUaGb043Itphh0iydeFuWbnqxkuLs3ndvBNoha32yQuKPc9Im6C6hVYKi4qFuILUuzV3q/s640/service.png&quot; height=&quot;342&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7vAwHgrfXdyMGs6kGvygP8U7vDRBRE0QT-AW189QtE8Cbv1CRdZnSAI39QhrJXUrqCDnyv4aDXNJIVJ7uix8lj_0GLCjoKjNlLKzFI4AFr9AAfz7XLpdHUFsqPbLrdwaJhfNGJzA2U5x/s1426/gplusAPI.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY7vAwHgrfXdyMGs6kGvygP8U7vDRBRE0QT-AW189QtE8Cbv1CRdZnSAI39QhrJXUrqCDnyv4aDXNJIVJ7uix8lj_0GLCjoKjNlLKzFI4AFr9AAfz7XLpdHUFsqPbLrdwaJhfNGJzA2U5x/s640/gplusAPI.png&quot; height=&quot;342&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. Go to &quot;API Access&quot; tab and jot down your &quot;API key&quot; under &quot;Simple API Access&quot; section:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://3.bp.blogspot.com/--MBFu-uTxvQ/Ucwaw_UUXCI/AAAAAAAAGJQ/X0p30c-C6_s/s1600/apiKey.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5q1VaocJMfBcGlkIwJbcUJSp7uPUwNStyDoD6k-zcd4rVJzcwCkWwKCP6aUkosBeaa_zGoh_h_nwPNRxSAWW4gqscwLM32HaN4pABvlfX04tnOXRDOZd0xwDWdIuOLo-ivNvZdyWr-Dm2/s1426/apiKey.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5q1VaocJMfBcGlkIwJbcUJSp7uPUwNStyDoD6k-zcd4rVJzcwCkWwKCP6aUkosBeaa_zGoh_h_nwPNRxSAWW4gqscwLM32HaN4pABvlfX04tnOXRDOZd0xwDWdIuOLo-ivNvZdyWr-Dm2/s640/apiKey.png&quot; height=&quot;344&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;3. (Optional but highly recommended for privacy reason. I&#39;ll explain in step 6.) Create an app on Facebook:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg54dX7auO3vsNCVoEXu_sPied6C06cvp5Yh_pbZjHvmowNsfH_akZ5FyBnezbx4YAoS1K7z7jAxpMcZ1MCsM9pz081L22g3OLkgIgw8yUUsOH2y0UG9eKMYwEBGCteZIkFee0XW6KKhcKb/s1440/FBApp1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg54dX7auO3vsNCVoEXu_sPied6C06cvp5Yh_pbZjHvmowNsfH_akZ5FyBnezbx4YAoS1K7z7jAxpMcZ1MCsM9pz081L22g3OLkgIgw8yUUsOH2y0UG9eKMYwEBGCteZIkFee0XW6KKhcKb/s640/FBApp1.png&quot; height=&quot;384&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;4. (Optional) After creating your app, now&#39;s the time to set it up. In the &quot;Basic&quot; tab, write down your &quot;App ID&quot;, &quot;App Secret&quot; and &quot;Namespace&quot;, then fill in these info and click &quot;Save Changes&quot;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://1.bp.blogspot.com/-TIrWAHr6xkk/Uc0zsCId_iI/AAAAAAAAGJ4/EjLFxCyG1us/s1544/Basic+FacebookDevelopers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCeEmcJkTQ26IYve4wO_1_7Xfh61XbRySvZxyokfSJhpNuggu-wRFOxhnTf3biGuYBDrWH4yjgPBlRFVJVLeZaGA15bagswsPpaGTEYL_8zTG7EDCBmyYoi1y8c8eQmy561u6HuS3YHuIi/s1600/Basic+FacebookDevelopers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCeEmcJkTQ26IYve4wO_1_7Xfh61XbRySvZxyokfSJhpNuggu-wRFOxhnTf3biGuYBDrWH4yjgPBlRFVJVLeZaGA15bagswsPpaGTEYL_8zTG7EDCBmyYoi1y8c8eQmy561u6HuS3YHuIi/s640/Basic+FacebookDevelopers.png&quot; height=&quot;640&quot; width=&quot;550&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;5.&amp;nbsp;(Optional) Then go to &quot;Permissions&quot; tab and type in &quot;publish_actions&quot; then save changes:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEh_RKE4NvYCMm_4yIrcKS5xb1Q6Jg36Q2QtoYlY75-j09lBkNVa740jJoaf0IjdeeR8ZHzpZcI3WvfLtKUdSYFIkQbbeBsdMLhZMduczhkaPNaPj4aTp-QIl_-Un4Llj0elSxE7QGLRX9/s1426/PermissionsFacebookDevelopers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEh_RKE4NvYCMm_4yIrcKS5xb1Q6Jg36Q2QtoYlY75-j09lBkNVa740jJoaf0IjdeeR8ZHzpZcI3WvfLtKUdSYFIkQbbeBsdMLhZMduczhkaPNaPj4aTp-QIl_-Un4Llj0elSxE7QGLRX9/s640/PermissionsFacebookDevelopers.png&quot; height=&quot;320&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;6. [ &lt;b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;CAUTION:&lt;/span&gt;&lt;/b&gt; I &lt;b&gt;highly&lt;/b&gt; recommend creating your own FB app with steps above to obtain another unique set of &quot;App ID&quot; and &quot;App Secret&quot; because I have made mine public (which should never be done) here. Put it simply, if you authorize the one I created to post on your timeline, malicious users might use this app to &lt;b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;post ANYTHING they want on your timeline&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;background-color: yellow; color: red;&quot;&gt;!&lt;/span&gt;&amp;nbsp;]&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Now it&#39;s time to authorize the app on FB so that it can post to your timeline on your behalf.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;First, obtain&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;your FB id with the following:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;6. (1) Get your FB username&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuyaaCTJ0ge0wyPezQK690iHDnB4CiON5J-Q0WRX1oneRWLVUI5scf7oZ90j4Tss1KHg9VsPSK336TBFpfM5vxfEgBlJD7uBaPLayoJmyRswpfUoDFjqcsKEtQ4-Ewku2EOEjWDH8ss9sI/s1426/General+Account+Settings.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuyaaCTJ0ge0wyPezQK690iHDnB4CiON5J-Q0WRX1oneRWLVUI5scf7oZ90j4Tss1KHg9VsPSK336TBFpfM5vxfEgBlJD7uBaPLayoJmyRswpfUoDFjqcsKEtQ4-Ewku2EOEjWDH8ss9sI/s640/General+Account+Settings.png&quot; height=&quot;342&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp;6. (2) Go to the following for your FB id:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6GyYuv0wY0Cped9PkDq1Wnw5QJ1k4dJ2G6cATpaw20lgVBlmkdAxD_o4xHuVU165nCPQODisBRm1rcBxZTi1Iw7t786XcRWWUnrwHE-I5fbmvRJj4B6ocrsYBGW3XG264dVsRgSLzt2/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;http://graph.facebook.com/FB_username&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;After that, if you create your own FB app, go to:&lt;/span&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6GyYuv0wY0Cped9PkDq1Wnw5QJ1k4dJ2G6cATpaw20lgVBlmkdAxD_o4xHuVU165nCPQODisBRm1rcBxZTi1Iw7t786XcRWWUnrwHE-I5fbmvRJj4B6ocrsYBGW3XG264dVsRgSLzt2/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;https://www.facebook.com/dialog/oauth?client_id=YOUR_FB_APP_ID&amp;amp;redirect_uri=http://apps.facebook.com/YOUR_FB_APP_NAMESPACE&amp;amp;scope=publish_actions&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Otherwise, go to:&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6GyYuv0wY0Cped9PkDq1Wnw5QJ1k4dJ2G6cATpaw20lgVBlmkdAxD_o4xHuVU165nCPQODisBRm1rcBxZTi1Iw7t786XcRWWUnrwHE-I5fbmvRJj4B6ocrsYBGW3XG264dVsRgSLzt2/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;https://www.facebook.com/dialog/oauth?client_id=467522106672018&amp;amp;redirect_uri=http://apps.facebook.com/publicgptofbwithgae&amp;amp;scope=publish_actions&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;to authorize the app I created for you guys. It will ask to access your public info and the right to post on your behalf. Beware of the &lt;b&gt;CAUTION&lt;/b&gt; clause at the beginning of step 6 :&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnivON9xRnjzF5tQjnW4m7cpSw-FouJW7BUjMn2jZdJIq7qnyR-LZt3YCA-wfkbJc3bLP5ZUoJVUI7S_URoh0QwjFBAYSIvzuYlkyC3uoUi0o9W0kKfa2dKjNSuSXBjHVhBcNWr-spt_9Q/s1426/FacebookAuthorize.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnivON9xRnjzF5tQjnW4m7cpSw-FouJW7BUjMn2jZdJIq7qnyR-LZt3YCA-wfkbJc3bLP5ZUoJVUI7S_URoh0QwjFBAYSIvzuYlkyC3uoUi0o9W0kKfa2dKjNSuSXBjHVhBcNWr-spt_9Q/s640/FacebookAuthorize.png&quot; height=&quot;320&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You can choose the sharing option for the FB app here:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRAhRYj3lcR7LrjtBzyy3Gh5oKCqXXkRJaeZepJhpW-tljxY2pHTQkfodHzk7yJWTvSbCicuAxjCGbb5VbPuePvWiBzQ7WjYQD1HfjH-u1oIs6skK3dWUpdK7H58d7KJ5Z7xgxHiaK5X3j/s1426/authorize2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRAhRYj3lcR7LrjtBzyy3Gh5oKCqXXkRJaeZepJhpW-tljxY2pHTQkfodHzk7yJWTvSbCicuAxjCGbb5VbPuePvWiBzQ7WjYQD1HfjH-u1oIs6skK3dWUpdK7H58d7KJ5Z7xgxHiaK5X3j/s640/authorize2.png&quot; height=&quot;345&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You&#39;ll land on this page, just ignore and close it:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGSBSn-3tJVF8SJyKNfnHDpfr1IG0IMqLCHhHkgicqBKwIv7YNWy5eJh2rbGGti7zgWK_oai2f0dtmfS3a8rcy2aBZfrVLZo230bJBx0Oql08qCE2KTcwNGnyM6_fWuqWanbxRjXI_u3ej/s1426/authorize3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGSBSn-3tJVF8SJyKNfnHDpfr1IG0IMqLCHhHkgicqBKwIv7YNWy5eJh2rbGGti7zgWK_oai2f0dtmfS3a8rcy2aBZfrVLZo230bJBx0Oql08qCE2KTcwNGnyM6_fWuqWanbxRjXI_u3ej/s640/authorize3.png&quot; height=&quot;344&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;You can modify the sharing option later in your setting:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe3FIBZdmxY2CnaEx1aB2GYp04_PKGiuF6xYI11xKTmd8TaymETCHzFJQWOdowVwLjfQ4z-Z9EoCZ-6ioGAQiJbJ56NcjJw0Di4aJZtNmXFB33PAGKKXnglmHiVc1-TvNLLDnFZ9sxiCgQ/s1426/authorize4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe3FIBZdmxY2CnaEx1aB2GYp04_PKGiuF6xYI11xKTmd8TaymETCHzFJQWOdowVwLjfQ4z-Z9EoCZ-6ioGAQiJbJ56NcjJw0Di4aJZtNmXFB33PAGKKXnglmHiVc1-TvNLLDnFZ9sxiCgQ/s640/authorize4.png&quot; height=&quot;344&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;7. Get your Google+ profile ID to fetch your public activities. It should be in your address bar and contains numerical values only. For example,&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6GyYuv0wY0Cped9PkDq1Wnw5QJ1k4dJ2G6cATpaw20lgVBlmkdAxD_o4xHuVU165nCPQODisBRm1rcBxZTi1Iw7t786XcRWWUnrwHE-I5fbmvRJj4B6ocrsYBGW3XG264dVsRgSLzt2/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;https://plus.google.com/u/0/GOOGLE_PROFILE_ID_HERE/posts&lt;/code&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoCwCjhpsM68jPzX6s_OABu-F3RZn8mwFhbuAofVg0VWHa5H_UWlFMYvxHjShs51jEgYXeJ1XucXsAdows09RWVEn1leIxYasXa79Tf4BIpEvMYKidLuqcwnkcwpcTEP6CHWI9JNg7IxwK/s1426/GoogleProfile+.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoCwCjhpsM68jPzX6s_OABu-F3RZn8mwFhbuAofVg0VWHa5H_UWlFMYvxHjShs51jEgYXeJ1XucXsAdows09RWVEn1leIxYasXa79Tf4BIpEvMYKidLuqcwnkcwpcTEP6CHWI9JNg7IxwK/s640/GoogleProfile+.png&quot; height=&quot;344&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;8. Create an app on Google App Engine&amp;nbsp;&lt;a href=&quot;https://appengine.google.com/&quot;&gt;https://appengine.google.com/&lt;/a&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRniEYRk5e70Y53yZBoK8PJKEms9WGYTnYlRA91B7lS2rw7XbIlTMPS_Mp7OvltJ7CjZbnp91Wvl03pjzo63pX-HlcEf3UY6Trgt8lze9XLHF0iTGKN9ueesKbsCbkVf4jO02iF1MUR4P/s1472/Create+an+Application.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKRniEYRk5e70Y53yZBoK8PJKEms9WGYTnYlRA91B7lS2rw7XbIlTMPS_Mp7OvltJ7CjZbnp91Wvl03pjzo63pX-HlcEf3UY6Trgt8lze9XLHF0iTGKN9ueesKbsCbkVf4jO02iF1MUR4P/s640/Create+an+Application.png&quot; height=&quot;440&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;9. Now comes the interesting part: Coding! Go &lt;a href=&quot;https://developers.google.com/appengine/docs/python/gettingstartedpython27/devenvironment&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; to download App Engine SDK for Python. In this tutorial, I&#39;ll use the third one labeled as &quot;Linux/Other Platforms&quot; cause Linux is AWESOME!&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8yOJLElLUFMieZbIMuvsB_4jk4H_RmD6SNz6l8029EeP1-8UzRpD2OtdE06Rfbs6YAZFGRdgdk7enGVQpvTHcqasdr7PslvTBZcwETg1BVOZczKCcr-LU8RwxRRDtk03nhDTYBjyCBGPV/s1426/Google+App+EngineGoogle+Developers.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8yOJLElLUFMieZbIMuvsB_4jk4H_RmD6SNz6l8029EeP1-8UzRpD2OtdE06Rfbs6YAZFGRdgdk7enGVQpvTHcqasdr7PslvTBZcwETg1BVOZczKCcr-LU8RwxRRDtk03nhDTYBjyCBGPV/s640/Google+App+EngineGoogle+Developers.png&quot; height=&quot;342&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;10. Extract the zip file and change directory into the extracted folder, create a new folder &quot;GplusToFBwithGAE&quot; (or whatever you like):&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJYTRMrtYlGH_61fKAmROS_4tPqtYz8QxpX1fHDmnGOWWkNOnkgxN2HEEkapoTGKzgjmYo08s_d5ZxZhHNPaocEcbDEnpdHmZZ-Y8WZTLNwNUzvEZW4ORw56epHWM60Uq1d48FUsMEx_dH/s1210/folderContent.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJYTRMrtYlGH_61fKAmROS_4tPqtYz8QxpX1fHDmnGOWWkNOnkgxN2HEEkapoTGKzgjmYo08s_d5ZxZhHNPaocEcbDEnpdHmZZ-Y8WZTLNwNUzvEZW4ORw56epHWM60Uq1d48FUsMEx_dH/s640/folderContent.png&quot; height=&quot;240&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;11. Download my code&amp;nbsp;&lt;a href=&quot;https://github.com/hencrice/GPlusToFBwithGAE&quot;&gt;https://github.com/hencrice/GPlusToFBwithGAE&lt;/a&gt;&amp;nbsp;and unzip it into the new folder you created in step 9:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;12. Let&#39;s start with app.yaml. For more detail, check &lt;a href=&quot;https://developers.google.com/appengine/docs/python/config/appconfig&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZIKjlaNCd9E39Kh_UpW4st5GuGtdZwofFFGaKLTF34hahWFyC9GMgfyA7QdT4kOs8RFN30kc1qksepBLGiNmBqP6oCGpsHSOBG6f1biDmilfiU8MyzSQq_5Y-3llOsE4z_AYvjV6e6_P/s1366/appyaml.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAZIKjlaNCd9E39Kh_UpW4st5GuGtdZwofFFGaKLTF34hahWFyC9GMgfyA7QdT4kOs8RFN30kc1qksepBLGiNmBqP6oCGpsHSOBG6f1biDmilfiU8MyzSQq_5Y-3llOsE4z_AYvjV6e6_P/s640/appyaml.png&quot; height=&quot;184&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;13. Next, cron.yaml. There&#39;s no need to modify this file unless you want to change the polling schedule of your program (Note that when I was testing, this setting already consumed ~24 out of 28 front end instance hours, which is the daily quota for a free app on GAE). Check &lt;a href=&quot;https://developers.google.com/appengine/docs/python/config/cron&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt; for more details on the schedule format:&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-QYPbPhFOSPeHlaBLYiTKAW1Rnq3LO-tdPM5TXc1eTPU1zWqwbz13Vq1MEEMqevUTz4iWx1ZpUY2r2GQruD0do5OzBlCzQRy8jPVhW2bWF3q0dLSiObHfqyIfV8HP2zV5oBG8B5yRkIdu/s1440/cron.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-QYPbPhFOSPeHlaBLYiTKAW1Rnq3LO-tdPM5TXc1eTPU1zWqwbz13Vq1MEEMqevUTz4iWx1ZpUY2r2GQruD0do5OzBlCzQRy8jPVhW2bWF3q0dLSiObHfqyIfV8HP2zV5oBG8B5yRkIdu/s640/cron.png&quot; height=&quot;376&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14. Finally, the most critical part of our GAE app,&amp;nbsp;GplusToFBwithGAE.py. Fill in variables values at the top:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWqw8bnm-DTFa9mBzTnSFrmImDpsnvYQKtTjdWzbayPt3zz903uTsnKQyWL148gIsnGjhBfjcX11htNEc4-uG9BBzlwAOUEpk3-k-_JqzgxmOT0G9S5YrLlfsgDy6WEvJXRKTp08CwmUpB/s1440/GAEtoFBPy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWqw8bnm-DTFa9mBzTnSFrmImDpsnvYQKtTjdWzbayPt3zz903uTsnKQyWL148gIsnGjhBfjcX11htNEc4-uG9BBzlwAOUEpk3-k-_JqzgxmOT0G9S5YrLlfsgDy6WEvJXRKTp08CwmUpB/s640/GAEtoFBPy.png&quot; height=&quot;376&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;If you want to know more about how it really works, here are some related documentation:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14.(1)&amp;nbsp;&lt;a href=&quot;https://developers.google.com/+/api/latest/activities/list&quot;&gt;https://developers.google.com/+/api/latest/activities/list&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14.(2)&amp;nbsp;&lt;a href=&quot;https://developers.google.com/appengine/docs/python/datastore/entities?hl=it#Retrieving_an_Entity&quot;&gt;https://developers.google.com/appengine/docs/python/datastore/entities?hl=it#Retrieving_an_Entity&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14.(3)&amp;nbsp;&lt;a href=&quot;https://developers.google.com/+/api/latest/activities&quot;&gt;https://developers.google.com/+/api/latest/activities&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14. (4)&amp;nbsp;&lt;a href=&quot;https://developers.facebook.com/docs/reference/api/publishing/&quot;&gt;https://developers.facebook.com/docs/reference/api/publishing/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14.(5)&amp;nbsp;&lt;a href=&quot;http://stackoverflow.com/questions/7827696/http-post-curl-in-python&quot;&gt;http://stackoverflow.com/questions/7827696/http-post-curl-in-python&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14.(6)&amp;nbsp;&lt;a href=&quot;https://developers.facebook.com/docs/reference/api/post/&quot;&gt;https://developers.facebook.com/docs/reference/api/post/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;14.(7)&amp;nbsp;&lt;a href=&quot;https://developers.facebook.com/docs/opengraph/howtos/publishing-with-app-token/&quot;&gt;https://developers.facebook.com/docs/opengraph/howtos/publishing-with-app-token/&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;15. Open terminal and change directory to the folder in step 10 (i.e. google_appengine), type in the following command (might need to replace &quot;GplusToFBwithGAE&quot;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;with yours) to upload and deploy your app to GAE (check &lt;/span&gt;&lt;a href=&quot;https://developers.google.com/appengine/docs/python/gettingstartedpython27/uploading&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt; for more detail):&lt;/span&gt;&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6GyYuv0wY0Cped9PkDq1Wnw5QJ1k4dJ2G6cATpaw20lgVBlmkdAxD_o4xHuVU165nCPQODisBRm1rcBxZTi1Iw7t786XcRWWUnrwHE-I5fbmvRJj4B6ocrsYBGW3XG264dVsRgSLzt2/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;python appcfg.py update GplusToFBwithGAE/&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihRfp5uLuWTBEa8KMuFRl-ox6hZmFYgxT85ODmanGFckrttvI0VTRAPAAWeS1PdDZFamEq8hpmFUYXL5XpN_fPanIKjR99CC4JumodpCfkz0iPIqUJnvopCV1hAYb3Ota-PZRqiZn09ZGR/s1210/folderContent.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihRfp5uLuWTBEa8KMuFRl-ox6hZmFYgxT85ODmanGFckrttvI0VTRAPAAWeS1PdDZFamEq8hpmFUYXL5XpN_fPanIKjR99CC4JumodpCfkz0iPIqUJnvopCV1hAYb3Ota-PZRqiZn09ZGR/s640/folderContent.png&quot; height=&quot;240&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1F4BrnmUcqE6xbVwY0MgmFqTfjisCjBjnAd_jjwTvurpiIs6n4UPTv0QjHwrkoVDSN3ukdTsJnwFytTGF35ZBjz87s5PEBUxMCzMF4BovTNvq6nkvFesb_aU9TknL8daIinbgWvnGsgYt/s714/deploy.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1F4BrnmUcqE6xbVwY0MgmFqTfjisCjBjnAd_jjwTvurpiIs6n4UPTv0QjHwrkoVDSN3ukdTsJnwFytTGF35ZBjz87s5PEBUxMCzMF4BovTNvq6nkvFesb_aU9TknL8daIinbgWvnGsgYt/s640/deploy.png&quot; height=&quot;408&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;16. Go to&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://appengine.google.com/&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;https://appengine.google.com/&lt;/a&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;to check whether your app hosted on GAE is running. Now you can either click on the small link beside &quot;Running&quot; to perform an initial setup, which merely set the last polling time as current time, or you can wait a 2~3 minutes (depends on your schedule in cron.yaml) for cron service to automatically set it up for you:&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpVYMvKCn1BOiJHZOuw93C0egf12vDlRdI4zrAqK2vbucOhoaqm39xFCc87eAFIw3reVsSXjeed_QMT1GaUCu5n2PkzMl2i9QushJrdLHAmiNNX0kXgXpg71w7apuosX8VB856-Gr9jM2S/s1426/googleAppEngine.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpVYMvKCn1BOiJHZOuw93C0egf12vDlRdI4zrAqK2vbucOhoaqm39xFCc87eAFIw3reVsSXjeed_QMT1GaUCu5n2PkzMl2i9QushJrdLHAmiNNX0kXgXpg71w7apuosX8VB856-Gr9jM2S/s640/googleAppEngine.png&quot; height=&quot;344&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpOgsqMNAYcjXARv4TxHBqykhNM4Qwlas6D4sRKg3FSDFPekrr-XIfqnKQqMvmsQvTVTN5w1WgLt6XYBcUwEa1d7i8pnx17jEUIUD3o_MLcZGkSN9Yz14KWRR9swBVi_dIm1pnrRDV7Dq0/s1426/running.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpOgsqMNAYcjXARv4TxHBqykhNM4Qwlas6D4sRKg3FSDFPekrr-XIfqnKQqMvmsQvTVTN5w1WgLt6XYBcUwEa1d7i8pnx17jEUIUD3o_MLcZGkSN9Yz14KWRR9swBVi_dIm1pnrRDV7Dq0/s640/running.png&quot; height=&quot;320&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;17. Testing your app by posting something public on G+ and check whether there&#39;s a similar repost on FB:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhUsA2CfIfQxXJzOAcM75a9RFUNqpmlLYCVz3_1LWjpCraDm-bP5_cD_1Yq9tmMft2ijDb_Sg9sHyjt30eyC6YUeiWEI2RPWqqBVXQRS7TBkKJDhH3h9CjHhe8rKp837_aEWQPM7uKAUPp/s1426/testing1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhUsA2CfIfQxXJzOAcM75a9RFUNqpmlLYCVz3_1LWjpCraDm-bP5_cD_1Yq9tmMft2ijDb_Sg9sHyjt30eyC6YUeiWEI2RPWqqBVXQRS7TBkKJDhH3h9CjHhe8rKp837_aEWQPM7uKAUPp/s640/testing1.png&quot; height=&quot;320&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6EHy2Xo3jVzgnMeM5hrMwgSCH0ZY_7FwZ5XkFh-QYh6E5dYoGPzhVC59uFYbzrtKWiTF9Nqcms4jQ1STRZT5pYz-HiAEa76e9hLH1l4Bpmd-NovbSVpgkgHlxB86idRiBlxTNSDvSWvlv/s1426/testing2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6EHy2Xo3jVzgnMeM5hrMwgSCH0ZY_7FwZ5XkFh-QYh6E5dYoGPzhVC59uFYbzrtKWiTF9Nqcms4jQ1STRZT5pYz-HiAEa76e9hLH1l4Bpmd-NovbSVpgkgHlxB86idRiBlxTNSDvSWvlv/s640/testing2.png&quot; height=&quot;320&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Yeah~ You made it :)&lt;/span&gt;&lt;/div&gt;
&lt;ol&gt;&lt;/ol&gt;
</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1770046579580487041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1770046579580487041'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2013/07/repost-google-plus-activities-to.html' title='Repost Google Plus Activities to Facebook with a Python app hosted on GAE (Google App Engine)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIIBAht9FZj_uunulQPlTZ7tT3rg9F2fICiZTV_uo4Oz0cOSIPB6T8bHjoChJ8nVVUeCgExAacUaGb043Itphh0iydeFuWbnqxkuLs3ndvBNoha32yQuKPc9Im6C6hVYKi4qFuILUuzV3q/s72-c/service.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-1696599779361616603</id><published>2012-10-13T09:15:00.000+08:00</published><updated>2013-04-05T12:30:30.927+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><title type='text'>海軍新訓結束啦！</title><content type='html'>6/26下午5點結束我在成大最後一次，最後一科：演算法，的期末考試後，就跟老爸和老媽開車北上回家。在家裡睡了一晚，隔天早上就在板橋車站搭接近10點的入伍&quot;慢速&quot;自強號專車往左營前進了。因為海軍的新訓中心只有一個，所以火車沿途又停靠了幾站把其他縣市的一些役男接上來。&lt;br /&gt;
&lt;br /&gt;
前幾天的生活真的只能用&quot;忙亂+流汗流到快乾了+被罵到臭頭&quot;來形容，因為我們花了好幾天關在悶熱的建築內不停的填資料，然後領了兩大袋的裝備，再加上新訓中心為了防止感冒大規模傳染，所以規定所有兵都要戴著口罩，在這麼悶熱的情況下，每天流汗應該可以用公升來算了:) 至於被罵的部份，排隊，整隊，走路對腳步，吃飯，洗澡，睡覺沒有一個沒被罵的。&lt;br /&gt;
&lt;br /&gt;
給海軍新兵的一些提示：&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;帶個小筆記本進去吧，差不多是可以放在口袋的大小。先把12個朋友的聯絡資訊，含居住地，手機等等查好寫在上面，進去填資料時會用到。&lt;/li&gt;
&lt;li&gt;也帶個口袋大小的小皮包進去吧！洗澡睡覺都帶著，因為很可能被偷，一旦不見，幾乎都是找不回來的。&lt;/li&gt;
&lt;li&gt;自己隨身的行李不要帶太多，而且行李袋越小越好，因為第一天領裝備會抱一個頗大的水兵袋，若你又拿個要拖的行李箱，會超級難移動的。&lt;/li&gt;
&lt;li&gt;有些公所兵役科的人員會亂講，說什麼有照相功能的手機也可以帶，其實只能帶最基本的款式，沒有儲存功能(記憶卡之類的)的那種。&lt;/li&gt;
&lt;li&gt;徵集令之外所附的一張單子上會寫一些要帶的東西，其中有說要帶照片，要記得帶否則還要爸媽或朋友寄去，會很麻煩因為剛開始若沒有手機，只能打公共電話，很多人排隊所以講什麼都很趕。&lt;/li&gt;
&lt;li&gt;剛開始一兩個禮拜會頗有壓力，因為要弄的東西很多，所以做什麼都會很趕時間，之後則會無聊到爆，剛開始先忍忍吧。&lt;/li&gt;
&lt;/ol&gt;
---------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;
&lt;div&gt;
我現在已經下部隊兩個月了，之前寫了這篇忘了po，因為原本想要寫更多真正紀錄我感覺的stuff，但最近實在太忙了~ so就先貢獻給之後要入伍的人吧! See ya~&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/1696599779361616603/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2012/10/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1696599779361616603'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1696599779361616603'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2012/10/blog-post.html' title='海軍新訓結束啦！'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-8916726385642562736</id><published>2012-04-12T11:09:00.001+08:00</published><updated>2012-12-20T21:43:13.783+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Algorithms"/><title type='text'>Sorting integer array in place, in linear time</title><content type='html'>&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Recently when I was learning algorithms, I came up with a pretty handy sorting method that can sort integer array in place, in linear time &lt;b&gt;under the assumption that all the elements in input array are distinct and their values are 1~n(or 0~n-1) &lt;/b&gt;where n is the length of input array. So I decided to write a reminder to myself.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;Here&#39;s the algorithm:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrc6GyYuv0wY0Cped9PkDq1Wnw5QJ1k4dJ2G6cATpaw20lgVBlmkdAxD_o4xHuVU165nCPQODisBRm1rcBxZTi1Iw7t786XcRWWUnrwHE-I5fbmvRJj4B6ocrsYBGW3XG264dVsRgSLzt2/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;1:  gonnaSortIndex=len(array)-1  
2:  for i=len(array)-1;i&amp;gt;0 {//Note that there&#39;s no i-- here
3:    correctIndex=array[gonnaSortIndex]  
4:    if correctIndex!=gonnaSortIndex {  
5:      array[correctIndex],array[gonnaSortIndex]=array[gonnaSortIndex],array[correctIndex] //swapping array[gonnaSortIndex] into its final position and place the swapped out element array[correctIndex] into array[gonnaSortIndex].  
6:   } else {  
7:     i--  
8:     gonnaSortIndex=i  
9:   }  
10: }&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
This algorithm is clearly in-place, now let&#39;s examine what&#39;s the possible worst running time~&lt;br /&gt;
&lt;br /&gt;
Although not 100% sure because I did&#39;t really prove it but I think in the worst case, the running time is 2(n-1) where n is the # of elements in array&lt;br /&gt;
Here&#39;s the worst case(that I came up with so far):&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;-webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; border-collapse: separate;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: pre-wrap;&quot;&gt;Assume we swap all elements into their correct positions while i remains&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;len(array)-1 all the time&lt;/span&gt;&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;, so that it will take n-1 times executing if clause on line 4. After that we spend n-1 times executing else clause on line 6 so total running time is: 2*(n-1).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;
&lt;/span&gt;
&lt;span style=&quot;white-space: pre-wrap;&quot;&gt;If there&#39;s any mistakes, can someone please point it out cause I&#39;m eager to know whether this actually works in all situation under the assumption above.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/8916726385642562736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2012/04/sorting-integer-array-in-place-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/8916726385642562736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/8916726385642562736'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2012/04/sorting-integer-array-in-place-in.html' title='Sorting integer array in place, in linear time'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-896094671805226954</id><published>2012-03-10T20:33:00.000+08:00</published><updated>2012-03-10T23:52:23.619+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>&quot;我們經不起一次核災: 政府不回答，也不希望你知道的52件事&quot;讀後感</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOTTQacNXHTZlNUSbA5_JKdvRtVQN1OUFsqNciSjNeimLN5uiR0jgH3P3A0PR1ZjGAVUe7_JBhImT3bf6rVDoyJczHlah7bd3kDok7Br2tEUlZ2B1-U5Q2U9FELua5y4RFXggAnRSAcLcF/s1600/nuclear-logo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOTTQacNXHTZlNUSbA5_JKdvRtVQN1OUFsqNciSjNeimLN5uiR0jgH3P3A0PR1ZjGAVUe7_JBhImT3bf6rVDoyJczHlah7bd3kDok7Br2tEUlZ2B1-U5Q2U9FELua5y4RFXggAnRSAcLcF/s200/nuclear-logo.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
這本書是一位旅日作家劉黎兒所寫的。雖然，她並非核能方面的專家，但在日本311核災後，她開始嘗試了解核電，並發現到核電並非一向支持核電的日本政府所歌頌的那樣完美。所以她以一個避難者的身份，對仍然擁核的她的故鄉：台灣，發出深沈的警告。&lt;br /&gt;
&lt;br /&gt;
民眾和媒體都是健忘的！日本311核災到今天即將屆滿一週年。現在全世界一片歌舞昇平，全都沉醉在Linsanity的魅力中，好像一年前發生的核災已經不復存在了。沒錯！Jeremy Lin的例子的確是很鼓舞人心，但是這個世界難道沒有其他遠遠比NBA球星更重要的事情需要我們來關心嗎？日本政府聲稱發生事情的原子爐溫度已經穩定下來了，但根據書中所引述的專家看法，溫度降下來是因為爐心已經熔出圍阻體外部進入地下了，換句話說，污染已經不只在核電廠內部，而是擴散到福島的土地，地下水，情況可以說是已經到了無法挽救的地步了。&lt;br /&gt;
&lt;br /&gt;
然而，在整個事件中，最令人吃驚的不僅止於東電在發生事故時的隱瞞，而是在危險曝光後，日本政府的處理方式：簡言之，為了避免相當於日本十年國家預算的醫療，產業賠償以及徒勞無功的除污的費用。即使當地農民表示他們種的作物自己都不敢食用，但因為日本政府公然地違法調高農產品的輻射劑量數十甚至數百倍，使得福島農民所栽種的農作物，以及利用當地落葉等製造的肥料，都仍然無限制地擴散到全日本。而且因為政府無力搬遷所有應避難的居民，所以只好未經修法就調高人體所能忍受的輻射劑量幾十倍，福島當地有能力搬走的居民都已經避難了，剩下的人因為經濟能力等因素無法逃離，只好留在當地繼續呼吸受污染的空氣，食用受污染的農作物和魚肉。許多福島孩子們？」「我將來能不能生小孩？」，被我們視為生命中理所當然的事情，對他們而言變成了奢望。有能力離開當地的家庭的孩子們也不是毫髮無傷，許多地方因為害怕輻射已經開始排斥福島人，即使專家出面呼籲輻射並不會傳染，但福島兒童在其他地區學校被霸凌的案件仍層出不窮，有些餐廳和旅館仍拒絕福島人進入消費。&lt;br /&gt;
&lt;br /&gt;
有別於傳統媒體時常受到各方勢力的影響，網路世界一直被視為能夠自由抒發意見以及闡述事實的一個重要媒介。然而最近一兩年，美國及國際上的一些法案，如SOPA, ACTA等等，都引發政府權力擴張，以至於侵犯言論，自由及隱私權的疑慮。假使如此的法案通過了，一旦發生如日本核災的狀況，政府公然違法時，傳統媒體因受到壓迫而噤聲，網路自由又不復存在，所有能夠得到真相的媒介都已經喪失了！&lt;b&gt;人民的生命財產，對受到強大壓力下的政府而言，只不過是數字罷了！&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
311核災後，世界上絕大多數國家都決定暫緩興建中的核電廠，並且商議運轉中核電廠的退役事宜。反觀台灣，即便該型號反應爐的原設計者早已經向奇異表示該設計有重大瑕疵，台電仍執意興建核四。再加上台電自行變更了幾百處的設計，並使用全世界最為複雜的控制系統，也使得核四的可靠度十分令人存疑！&lt;br /&gt;
&lt;br /&gt;
台電和台灣政府目前使用的理由，是因為電力不足，所以必須啟用核四。先不論該說法是否為真，&lt;b&gt;請問政府有問過人民，是不是願意犧牲部份時間的電力使用，來避免核四的商轉嗎？&lt;/b&gt;&lt;b&gt;沒有！請問台電和政府有對一旦發生事故做好準備嗎？沒有！&lt;/b&gt;先不論核電廠週圍的緊急避難圈應該是5公里，50公里還是100公里，緊急避難圈內必備的碘片，我們的里長竟然只有碘藥水，其他就更不用說了。&lt;b&gt;面對可能的災害，我們的準備可以說是趨近於0。難道真的要等到發生核災，全島一起滅亡的時候，才要後悔嗎？&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/896094671805226954/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2012/03/52.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/896094671805226954'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/896094671805226954'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2012/03/52.html' title='&quot;我們經不起一次核災: 政府不回答，也不希望你知道的52件事&quot;讀後感'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOTTQacNXHTZlNUSbA5_JKdvRtVQN1OUFsqNciSjNeimLN5uiR0jgH3P3A0PR1ZjGAVUe7_JBhImT3bf6rVDoyJczHlah7bd3kDok7Br2tEUlZ2B1-U5Q2U9FELua5y4RFXggAnRSAcLcF/s72-c/nuclear-logo.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-7627860279185532112</id><published>2012-02-25T22:50:00.001+08:00</published><updated>2013-06-29T11:59:36.276+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Future</title><content type='html'>&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOjKAoZrfQc0PQjqIsq0sBMzrEaI0DZO7e3wAwQvioVjtz8Kv7WYT0BBrQL6dOHXoKBP123_7VePT-erG7krg65SvvIckgiHMuXEomJCi5fXff5dujJVDsgWyBY8CSmDgvjgRZvf34_F8/s1600/My+Path.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOjKAoZrfQc0PQjqIsq0sBMzrEaI0DZO7e3wAwQvioVjtz8Kv7WYT0BBrQL6dOHXoKBP123_7VePT-erG7krg65SvvIckgiHMuXEomJCi5fXff5dujJVDsgWyBY8CSmDgvjgRZvf34_F8/s320/My+Path.jpg&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;font-size: 16px; text-align: center;&quot;&gt;Forerunner of the path I chose?&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
The following is what I wrote but stayed as draft until now at the beginning of the fall semester 2011:
&lt;br /&gt;
&lt;br /&gt;
&quot;&lt;br /&gt;
It&#39;s kind of exciting and sad at the same time to see so many new faces in our department, which constantly remind me of the path--the one I chose when I was still a freshman--that seems bumpy all the way down, impossible to penetrate like the muzzy night fog. Nevertheless, I know that the choice will eventually be worth the struggle.&lt;br /&gt;
&lt;br /&gt;
Recently I read a blog post, in which the author&amp;nbsp;cited a quote:&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;i&gt;&quot;The man who was crazy enough to think he could change the world, was the one who did&quot;&lt;/i&gt;&lt;/blockquote&gt;
I&#39;m about to begin my journey, which I have no idea how and when it&#39;s gonna end. But still, that won&#39;t stop me from striving to be whom I&#39;ve always wanted to become.&quot;&lt;br /&gt;
&lt;br /&gt;
Now I&#39;ve traveled a fairly long way down the path, it seems like I&#39;m finally getting close to the crepuscule after this long journey in the night. Let&#39;s hope that one day I&#39;ll get to see the clear blue sky and together we can make a difference, we can change the world :)</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/7627860279185532112/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2012/02/future.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/7627860279185532112'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/7627860279185532112'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2012/02/future.html' title='Future'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmOjKAoZrfQc0PQjqIsq0sBMzrEaI0DZO7e3wAwQvioVjtz8Kv7WYT0BBrQL6dOHXoKBP123_7VePT-erG7krg65SvvIckgiHMuXEomJCi5fXff5dujJVDsgWyBY8CSmDgvjgRZvf34_F8/s72-c/My+Path.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-7458337000427691473</id><published>2011-08-29T21:45:00.002+08:00</published><updated>2013-04-05T12:31:56.600+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Evitable Human Error That Leads To Transplants from AIDS donor</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;This is probably one of the worst thing that could ever happen to a person, both from the &lt;u&gt;recipients&lt;/u&gt;&#39; and the donor&#39;s perspective.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;The striking incident &lt;u&gt;arose&lt;/u&gt;&amp;nbsp;from one of the most prestigious medical school in Taiwan: National Taiwan University Hospital. Due to bad communication between the examinator and the coordinator in NTUH, the surgeons from both NTUH and National Cheng Kong University Hospital accidently transplanted a few organs of a donor who was infected by AIDS into some &amp;nbsp;patients. Additionally, a few dozens of medical &lt;u&gt;personnel&lt;/u&gt;&amp;nbsp;were exposed to large volume of body fluid of the donor without proper protection. Currently, almost all the related personnel are undergoing preventive treatment in the hope to reduce the possibility of being infected. However, the chances of miracle for the recipients now seems rather low because of the &lt;u&gt;tremendous&lt;/u&gt;&amp;nbsp;number of AIDS viruses exchanged in the process of and after the transplants.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Such shocking &lt;u&gt;medical error&lt;/u&gt; dramatically &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;defiled&lt;/span&gt; the reputation of NTUH. It clearly revealed the fact that some doctors and medical personnel in the current system are actually &lt;u&gt;unqualified&lt;/u&gt;, mainly because some of the routines and protocols that should definitely be followed were not properly abided by the people involved, which indirectly indicates that some part of the current medical system are seriously flawed, and no one is willing to revise it until such a tragedy happened.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;The donor&#39;s family is not in a better situation either. According to the donor&#39;s mother, she was aware that her son was a homosexual, but she had no idea that he was &lt;u&gt;infected with&lt;/u&gt;&amp;nbsp;AIDS. They donated his organs in the hope to save other people&#39;s lives, but were sadly informed that their goodwill ended up causing more tragedies.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;


 
 
 
 


&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0cm; orphans: 2; widows: 2;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-attachment: initial; background-clip: initial; background-color: transparent; background-image: initial; background-origin: initial;&quot;&gt;IMO,
both the management and surgeons of NTU should be blamed because they
didn&#39;t grant enough respect to both the donor and recipients. What we
really need is a revolutionary reevaluation of the current medical
school admission system, which currently&amp;nbsp;&lt;b&gt;only accepts those
with highest test scores rather than those with the&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;b&gt;eagerness&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&amp;nbsp;to
save other people.&lt;/b&gt;&amp;nbsp;I believed that to increase the
percentage of so-called &quot;good&quot; doctors, the&amp;nbsp;&lt;b&gt;restriction
on admission should be&amp;nbsp;&lt;/b&gt;&lt;u&gt;&lt;b&gt;slackened&lt;/b&gt;&lt;/u&gt;&lt;b&gt;&amp;nbsp;as
much as possible&lt;/b&gt;, but the&amp;nbsp;&lt;b&gt;requirements for graduation
must be far more&amp;nbsp;&lt;/b&gt;&lt;u&gt;&lt;b&gt;taut&lt;/b&gt;&lt;/u&gt;&lt;b&gt;&amp;nbsp;than current
standards&lt;/b&gt;, so that&amp;nbsp;&lt;b&gt;every student with a passion to save
the patients can be admitted&lt;/b&gt;,&amp;nbsp;&lt;b&gt;but only those qualified
can graduate&lt;/b&gt;. This policy will not only change the
blindly&amp;nbsp;&lt;span style=&quot;color: red;&quot;&gt;pursuit&lt;/span&gt;&amp;nbsp;of medical
schools that many Taiwanese possessed, but also increase the amount
of&amp;nbsp;&lt;b&gt;&quot;true&quot; doctors&lt;/b&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/7458337000427691473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/08/evitable-human-error-that-leads-to.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/7458337000427691473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/7458337000427691473'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/08/evitable-human-error-that-leads-to.html' title='Evitable Human Error That Leads To Transplants from AIDS donor'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/12559703392006235915</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Tainan City, Taiwan</georss:featurename><georss:point>23.1416985 120.2512728</georss:point><georss:box>22.6744745 119.6195588 23.608922500000002 120.8829868</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-204840427417120991</id><published>2011-08-16T23:36:00.000+08:00</published><updated>2013-04-05T12:31:56.592+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>針對真愛聯盟的反思</title><content type='html'>This post relates to a recent debate in Taiwan so I&#39;ll write in Chinese.&lt;br /&gt;
&lt;br /&gt;
因為七月初的時候很忙，所以一直到七月中吧？看到&quot;真愛聯盟退出公聽會&quot;的新聞才注意到這個事件，而最近看到的一些資訊又讓我有了點reflection。首先，我想要聲明我目前並沒有任何的信仰，在短時間內也不打算加入任何宗教團體，單純只是陳述我的看法。&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
google到真愛聯盟的網站後，看了網站上的性教慾影片，感覺十分驚訝！教育部的人難道是腦袋洞多到跟Cheese一樣嗎？那不然怎麼會提出這麼爭議性的教材？所以，帶著這樣的想法，我把三本教材都下載了下來，並針對真愛聯盟提出疑慮的一些地方看了一次，也大略瀏覽了三本書中其他部份，而我必須說，某些地方確實並非完美(不過，何謂完美本來就是主觀的)，但整體而言我認為它們至少強調了：&quot;尊重&quot;和&quot;了解&quot;兩個普世的價值，所以雖然不符合全部人的期待，但至少是個好的開始。&lt;br /&gt;
&lt;br /&gt;
可惜的是，真愛聯盟卻認為這些教材是在鼓吹同性戀(But there&#39;s nothing wrong with homosexuals, they are just different, &amp;nbsp;like everyone has different personalities. )，或是贊成青少年嘗試性愛。所以反對它們的使用。而在後續的一些訊息，可以看出真愛聯盟背後似乎有些基督教團體的支持，所以針對那些&quot;激進&quot;的基督徒，我也有些想法：&lt;br /&gt;
&lt;br /&gt;
雖然，基督教的&quot;部份&quot;教徒們的確對世界做出許多美好的貢獻，但&quot;某些&quot;基督教徒的排他性，或者說是偏狹簡直讓我覺得已經到達不理性的程度，例如：為何其他人所經歷的神/神跡都是假的，而只有你們體驗/傳誦的才是真的？你們可以接受一個殺人犯的告解，卻不能接受一個沒有傷害任何人的同性戀？&lt;br /&gt;
&lt;br /&gt;
我寧願相信如果有神的話，祂會以任何的形式來引導我們，而並不會只存在於特定宗教內，而且一定是愛著所有人的！所以一定不會樂見我們因為彼此的不同而互相傷害。我們的不同是為了讓世界更多采多姿，絕非造成更多仇恨！&lt;br /&gt;
&lt;br /&gt;
最後，給那些反對同性戀的人們：當你/妳大聲地批判，以言語甚至肢體傷害同性戀的時候，請想想，若你最至愛的人們中，有人也是同性戀，你/妳會怎麼做？</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/204840427417120991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/08/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/204840427417120991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/204840427417120991'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/08/blog-post.html' title='針對真愛聯盟的反思'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-1439380742191233082</id><published>2011-07-25T23:56:00.001+08:00</published><updated>2013-04-05T12:31:56.591+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Regional discrimination: College Students With Big Mouths And Shameful Mindset</title><content type='html'>&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; Recently on a popular talk show(an alternative term for garbage, IMO XD!) aimed at college students. They made a whole episode focusing on the difference between young females from northern and southern Taiwan. And the whole episode is filled with &amp;nbsp;discriminatory bias on the style, taste, accents... of southern young females, which provokes thousands of viewers from both northern and southern Taiwan. The existence of this kind of topic clearly reveals the arrogance and shameful mindset that many Northerners possess.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; These fools are not the only people who thinks they are superior to Southerners because I&#39;ve heard controversial statements made by some of my classmates in high school in Northern Taiwan, such as &quot;I don&#39;t want to go to college in Southern Taiwan since they&#39;re probably political maniacs that might beat me up since I&#39;m a supporter of the other party.&quot;, which in reality, is complete nonsense. And the truth is: The classmate that made this statement is himself a politics enthusiast who hates everything, whether it&#39;s right or wrong, about the Opposition. Not so civilized IMO = =&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; The only people that should be treated as inferiors are those who create hatred; who ignore or even joking about the suffering&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;of the others; who express arrogance in public issues, and discrimination against&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 17px; line-height: 25px;&quot;&gt;compatriot&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 17px; line-height: 25px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;s!&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/1439380742191233082/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/07/regional-discrimination-college-student.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1439380742191233082'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1439380742191233082'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/07/regional-discrimination-college-student.html' title='Regional discrimination: College Students With Big Mouths And Shameful Mindset'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-6460988191614463175</id><published>2011-07-22T18:54:00.001+08:00</published><updated>2013-04-05T12:32:56.470+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Start Reading a Few New Books and Some Unfin ones(2)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimFZtcKpbi4FfGFdXjTNOd5hEHx-mRnq17n8bRJCxyMmxKbqtdWHsJWTJYsit_oGk632Mx3RBuIlC29TP2NNCvkVMQ2Gar0NmBXqU2SmQMkGp1s7Bs77lvzrdfBAKhdHpxbAF9aSAeKo4Z/s1600/tpp.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimFZtcKpbi4FfGFdXjTNOd5hEHx-mRnq17n8bRJCxyMmxKbqtdWHsJWTJYsit_oGk632Mx3RBuIlC29TP2NNCvkVMQ2Gar0NmBXqU2SmQMkGp1s7Bs77lvzrdfBAKhdHpxbAF9aSAeKo4Z/s200/tpp.jpg&quot; width=&quot;158&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&quot;The Pragmatic programmer:&amp;nbsp;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 17px; line-height: 22px;&quot;&gt;&lt;i&gt;From Journeyman to Master&quot;&amp;nbsp;&lt;/i&gt;is the first book I&#39;ve ever read in this category, namely software engineering, principles that programmers and managers should obey, etc. Currently I&#39;m only at ch2 but I did learn something all the way up. Additionally, the book was written in a noncontiguous manner that each section is independent, so you can quickly skip to any topic.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPh4PF_JI8tdKQ9PoABUBF5L7q71N0dGuELCXzM1NlKrE_PIhc4ov3_uWAqiLQuRYNpa85SS08lZPZEJIA9da_wineyEwGNt_lGdx5A3q0oM9FL0pCDMcFhJ-Au-h3VX_BbCaT66ENXpXS/s1600/cc2e-cover-small.gif&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPh4PF_JI8tdKQ9PoABUBF5L7q71N0dGuELCXzM1NlKrE_PIhc4ov3_uWAqiLQuRYNpa85SS08lZPZEJIA9da_wineyEwGNt_lGdx5A3q0oM9FL0pCDMcFhJ-Au-h3VX_BbCaT66ENXpXS/s1600/cc2e-cover-small.gif&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 22px;&quot;&gt;&lt;i&gt;&quot;Code Complete 2nd ed&quot; &lt;/i&gt;is another book that I&#39;m reading. Compared to&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;i&gt;&quot;The Pragmatic programmer:&amp;nbsp;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 17px; line-height: 22px;&quot;&gt;&lt;i&gt;From Journeyman to Master&quot;&lt;/i&gt;, this book seems a bit formal and more specific about the details, such as the naming of variables.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 17px; line-height: 22px;&quot;&gt;IMO, PP mainly focus on those principles that a programmer should follow while CC2 put its emphasis on the specific details of constructing programs.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 22px;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 22px;&quot;&gt;I went to see Harry Potter on the day before yesterday with my brother and cousins. Although someone might consider it as the best in the whole series, I think it&#39;s a complete waste of money since the so-called &quot;war&quot; between Death eaters and Hogwarts is short and nothing dramatic happens(probably because I&#39;ve already read the book). Every actor/actress in the movie wields their wands like some maniac and it automatically cast spells to attack the enemies. I can&#39;t help but think it must be kind of funny and extraordinary to see these whole bunch people wielding branches on the set without the visual effect of casting spells :)&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/6460988191614463175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/07/start-reading-few-new-books-and-some_22.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/6460988191614463175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/6460988191614463175'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/07/start-reading-few-new-books-and-some_22.html' title='Start Reading a Few New Books and Some Unfin ones(2)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimFZtcKpbi4FfGFdXjTNOd5hEHx-mRnq17n8bRJCxyMmxKbqtdWHsJWTJYsit_oGk632Mx3RBuIlC29TP2NNCvkVMQ2Gar0NmBXqU2SmQMkGp1s7Bs77lvzrdfBAKhdHpxbAF9aSAeKo4Z/s72-c/tpp.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-700485844109173038</id><published>2011-07-17T23:22:00.001+08:00</published><updated>2013-04-05T12:32:56.472+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Start Reading a Few New Books and Some Unfin ones(1)</title><content type='html'>&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3DkKXdLwrhyphenhyphenrfisUjbhz5nStyNONhVPd_LunUSpkPXVRvkyRpkA-LSqIaABpSoOMxbRrrBa_w615dEqFaQrfrdCLLPjX2VVeLB2uvlSZjQxhQpB-q9NtEACrSMcJ4w-PvBTkCTneGqbMX/s1600/41kXXE4mAKL._BO2%252C204%252C203%252C200_PIsitb-sticker-arrow-click%252CTopRight%252C35%252C-76_AA300_SH20_OU01_.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3DkKXdLwrhyphenhyphenrfisUjbhz5nStyNONhVPd_LunUSpkPXVRvkyRpkA-LSqIaABpSoOMxbRrrBa_w615dEqFaQrfrdCLLPjX2VVeLB2uvlSZjQxhQpB-q9NtEACrSMcJ4w-PvBTkCTneGqbMX/s200/41kXXE4mAKL._BO2%252C204%252C203%252C200_PIsitb-sticker-arrow-click%252CTopRight%252C35%252C-76_AA300_SH20_OU01_.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; I started reading &quot;Introduction to Algorithms&quot; a few days ago and it turns out to be pretty interesting, especially when you don&#39;t need to cram stuff for exams in a brainless way! Despite that, by studying algorithms, I can be a better programmer/thinker instead of a translator from human languages to programming languages.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0tWZzgT8IFRYfYZCEK81RMmHhyphenhyphenpOVHY_EwA1NZYfGGwfOaErw4Dcv-F8gj-S32_jbZhz2CWhR2qczLKEEqnepZ1MYIkcbE2Y9OP2Uwu1PKSBJcSCwzTk40Xeu28VUb7UibMFKppUmvhhS/s1600/51h0MKQFVHL._BO2%252C204%252C203%252C200_PIsitb-sticker-arrow-click%252CTopRight%252C35%252C-76_AA300_SH20_OU01_.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;200&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0tWZzgT8IFRYfYZCEK81RMmHhyphenhyphenpOVHY_EwA1NZYfGGwfOaErw4Dcv-F8gj-S32_jbZhz2CWhR2qczLKEEqnepZ1MYIkcbE2Y9OP2Uwu1PKSBJcSCwzTk40Xeu28VUb7UibMFKppUmvhhS/s200/51h0MKQFVHL._BO2%252C204%252C203%252C200_PIsitb-sticker-arrow-click%252CTopRight%252C35%252C-76_AA300_SH20_OU01_.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Another one that I&#39;m dipping my feet in is: &quot;C++ Primer 4th edition&quot;, which is a 913-page book that can be used as a murder weapon to crack someone&#39;s skull(my dark&amp;amp;evil side is looming out of my subconsciousness&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 25px;&quot;&gt;...&lt;/span&gt;). Nevertheless, I have learned C and Java in freshmen year and used them in a few courses later on so learning C++ is not as hard as it sounds, I supposed.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;There are a few books that I haven&#39;t finished for a long time and some others that I&#39;m currently reading, which I would like to share in another post.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;zemanta-related&quot;&gt;
&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0 0 0;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;Related articles&lt;/span&gt;&lt;/h6&gt;
&lt;ul class=&quot;zemanta-article-ul&quot;&gt;
&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, Helvetica, sans-serif;&quot;&gt;&lt;a href=&quot;http://boyoffeeling.blogspot.com/2010/12/conrad-wolfram-teaching-kids-real-math.html&quot;&gt;Conrad Wolfram: Teaching Kids Real Math With Computers&amp;amp;Reflection On College Education In Taiwan&lt;/a&gt; (boyoffeeling.blogspot.com)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=7bf27c8f-99de-4066-887b-627010921c2d&quot; style=&quot;border: none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/700485844109173038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/07/start-reading-few-new-books-and-some.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/700485844109173038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/700485844109173038'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/07/start-reading-few-new-books-and-some.html' title='Start Reading a Few New Books and Some Unfin ones(1)'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3DkKXdLwrhyphenhyphenrfisUjbhz5nStyNONhVPd_LunUSpkPXVRvkyRpkA-LSqIaABpSoOMxbRrrBa_w615dEqFaQrfrdCLLPjX2VVeLB2uvlSZjQxhQpB-q9NtEACrSMcJ4w-PvBTkCTneGqbMX/s72-c/41kXXE4mAKL._BO2%252C204%252C203%252C200_PIsitb-sticker-arrow-click%252CTopRight%252C35%252C-76_AA300_SH20_OU01_.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-2307532736282809785</id><published>2011-07-16T21:23:00.007+08:00</published><updated>2013-04-05T12:32:56.468+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>A Diary-like Series? Metaprogramming and Cython for ToDaY</title><content type='html'>&amp;nbsp; &amp;nbsp; I&#39;m planning on starting a diary-like&amp;nbsp;series&amp;nbsp;so my general writing skills can be improved. The main problem here is that I spent most of my summer time coding, reading books, exercising and sometimes have my wisdom tooth removed XD, so there might no topics that worth writing about. But I&#39;ll try my best to come up with something everyday or at least every other day.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Yesterday I found a brand new(at least for me) idea called: &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Metaprogramming&quot; rel=&quot;wikipedia&quot; title=&quot;Metaprogramming&quot;&gt;metaprogramming&lt;/a&gt;, and it basically means writing programs that can generate/modify programs or other complex files(for instance, configuration files). This is pretty inspiring since both programmer and programs coded can achieve state-of-the-art performance, and still remains abstract for high-level interpretation. Gonna dig out more info on this topic after reading this paragraph from IBM: &lt;a href=&quot;http://www.ibm.com/developerworks/linux/library/l-metaprog1/index.html&quot;&gt;The art of metaprogramming, Part 1: Introduction to metaprogramming&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Besides, I used &lt;a class=&quot;zem_slink&quot; href=&quot;http://cython.org/&quot; rel=&quot;homepage&quot; title=&quot;Cython&quot;&gt;Cython&lt;/a&gt; for the 1st time in my personal lab project to boost the performance of my program and I&#39;m impressed! It makes everything I modified at least 3x faster even for trivial stuff! Brutal speed from the CPU directly :)&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; Damn! This post is starting to become a nerdy review on the new toys I&#39;ve been playing so I should probably stop now! See ya tomorrow!&lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=25d5b13b-d07a-4cf1-8fc6-6a3b47e3bc72&quot; style=&quot;border: none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/2307532736282809785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/07/diary-like-series-metaprogramming-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/2307532736282809785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/2307532736282809785'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/07/diary-like-series-metaprogramming-and.html' title='A Diary-like Series? Metaprogramming and Cython for ToDaY'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-3461412898915649431</id><published>2011-07-02T07:46:00.006+08:00</published><updated>2013-04-05T12:31:56.595+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>What I&#39;ve Been Busy Doing</title><content type='html'>I notice that I haven&#39;t written anything since March. What the hell?!&lt;br /&gt;
&lt;br /&gt;
Alright, here&#39;s some stuff I&#39;ve busy doing:&lt;br /&gt;
(1)A &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Transmission_Control_Protocol&quot; rel=&quot;wikipedia&quot; title=&quot;Transmission Control Protocol&quot;&gt;TCP&lt;/a&gt; chatroom program including a client and a server comunicating via a &quot;home-made&quot; protocol. Additionally, you can private messaging anyone in the chatroom.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsz_syHAXsuVNXR-0AF95y5wc7eyz_zUwxoIfrh-mbFkB2JqdZMmR6jOQb1RKRxrNeRtIWiNjf-78XQElJ1iKSp44Ji6wYC-d8wcLEWQvm2AgJwP2mYgPXeQIssgCwH9YwBSBfbJJKlw58/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;315&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsz_syHAXsuVNXR-0AF95y5wc7eyz_zUwxoIfrh-mbFkB2JqdZMmR6jOQb1RKRxrNeRtIWiNjf-78XQElJ1iKSp44Ji6wYC-d8wcLEWQvm2AgJwP2mYgPXeQIssgCwH9YwBSBfbJJKlw58/s640/2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB8yYhFeEs_ahyts9jPGV-gr_KNJTZ9nIBgReU0s2U2TzixsTWuc5H37RnepYD_XbavASM-HsQCmaKK2lUdhpOKAxCU0OnyISzxNyFRPMITrgMzeBN9JOssHq2Mw6Hg4OJWVFmx1EL0wZV/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;314&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB8yYhFeEs_ahyts9jPGV-gr_KNJTZ9nIBgReU0s2U2TzixsTWuc5H37RnepYD_XbavASM-HsQCmaKK2lUdhpOKAxCU0OnyISzxNyFRPMITrgMzeBN9JOssHq2Mw6Hg4OJWVFmx1EL0wZV/s640/2.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxgyvTAcejopkW0d6n0BuPCcktGN6QOW_Fy4yK4Lt3j5dAhzbMhpO7GmBUJYL613Fa8L776yB0M4RgEJub1g-7knp1kG0G_hm55W2C2unhHCYj-mMRifIbZDSFoQK1-HlhPapNe0PhusJ/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;394&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQxgyvTAcejopkW0d6n0BuPCcktGN6QOW_Fy4yK4Lt3j5dAhzbMhpO7GmBUJYL613Fa8L776yB0M4RgEJub1g-7knp1kG0G_hm55W2C2unhHCYj-mMRifIbZDSFoQK1-HlhPapNe0PhusJ/s640/3.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
src code here:&amp;nbsp;&lt;a href=&quot;https://bitbucket.org/hencrice/tcpchatroom/wiki/Home&quot;&gt;https://bitbucket.org/hencrice/tcpchatroom/wiki/Home&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
(2) Add a stupid &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/System_call&quot; rel=&quot;wikipedia&quot; title=&quot;System call&quot;&gt;system call&lt;/a&gt; to the &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Linux_kernel&quot; rel=&quot;wikipedia&quot; title=&quot;Linux kernel&quot;&gt;Linux kernel&lt;/a&gt; and compiled it, then booted my laptop from it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;zemanta-img separator zemanta-action-dragged&quot;&gt;
&lt;a href=&quot;http://commons.wikipedia.org/wiki/File:Tux.svg&quot; style=&quot;clear: left; display: block; float: left; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Tux, the Linux penguin&quot; height=&quot;200&quot; src=&quot;http://upload.wikimedia.org/wikipedia/commons/thumb/3/35/Tux.svg/300px-Tux.svg.png&quot; style=&quot;border-bottom-style: none; border-color: initial; border-left-style: none; border-right-style: none; border-top-style: none; border-width: initial; font-size: 0.8em;&quot; width=&quot;169&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;zemanta-img-attribution&quot; style=&quot;clear: left; float: left; margin-left: 1em; margin-right: 1em; width: 300px;&quot;&gt;Image via &lt;a href=&quot;http://commons.wikipedia.org/wiki/File:Tux.svg&quot;&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3) Days and hours wasted in assembly coding, which in short: &quot;Write more do a lot less and get bored&quot; ! But I did learn something though.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOH-IiV0RDwtSZDFS0-6hzhoskvRhe86YiVzH-qrJSxEilxbtYdK6C72o3NqRm1THisbX4DPpKtRRmotHEsNAm28vQVvjRe8VmadK8jRwLSWzwjRWOqIp9PkvvpfywAFlYQ4simot-JyQx/s1600/Screenshot.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOH-IiV0RDwtSZDFS0-6hzhoskvRhe86YiVzH-qrJSxEilxbtYdK6C72o3NqRm1THisbX4DPpKtRRmotHEsNAm28vQVvjRe8VmadK8jRwLSWzwjRWOqIp9PkvvpfywAFlYQ4simot-JyQx/s640/Screenshot.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(4) Built a Lego robot which is the fastest in my class to walk through a maze. I wrote all the code through out the course. AWESOME experience!! And I learned that mechanical structure is essential for robot &quot;programming&quot;, that is, software and hardware must cooperate together to make a robot a good robot!!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt4cxLSWrQ32IfRMqer15VQVIQ-OCbGWxYA_zkglfAUdlYZP-xRbvp4CNf9_vgcS7bNN2iVU547Nr85lEBNr5fEXE6UkIZAbQThfperqcUnK7TOnRERs07mtirRruQ-QyVLLLQR3kL_F4Z/s1600/IMAG0042.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;481&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt4cxLSWrQ32IfRMqer15VQVIQ-OCbGWxYA_zkglfAUdlYZP-xRbvp4CNf9_vgcS7bNN2iVU547Nr85lEBNr5fEXE6UkIZAbQThfperqcUnK7TOnRERs07mtirRruQ-QyVLLLQR3kL_F4Z/s640/IMAG0042.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
(5) Reading papers for my lab project.&lt;br /&gt;
Info on papers:&amp;nbsp;&lt;a href=&quot;http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html&quot;&gt;http://info.ee.surrey.ac.uk/Personal/Z.Kalal/tld.html&lt;/a&gt;&lt;br /&gt;
Writing some code... ongoing work&lt;br /&gt;
&lt;br /&gt;
(6) Read through &lt;u&gt;Python essential reference&lt;/u&gt;&lt;br /&gt;
&lt;u&gt;&lt;br /&gt;
&lt;/u&gt;&lt;br /&gt;
(7) Made an AWESOME paper airplane and watch a few movies in a course I took in dep. of Aeronautics and Astronautics&lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=cf0dbb34-1870-480f-87e5-6ca2186549c9&quot; style=&quot;border: none; float: right;&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/3461412898915649431/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/07/what-ive-been-busy-doing.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/3461412898915649431'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/3461412898915649431'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/07/what-ive-been-busy-doing.html' title='What I&#39;ve Been Busy Doing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsz_syHAXsuVNXR-0AF95y5wc7eyz_zUwxoIfrh-mbFkB2JqdZMmR6jOQb1RKRxrNeRtIWiNjf-78XQElJ1iKSp44Ji6wYC-d8wcLEWQvm2AgJwP2mYgPXeQIssgCwH9YwBSBfbJJKlw58/s72-c/2.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>701 Taiwan Tainan City Dong District大學里</georss:featurename><georss:point>22.996348076366843 120.22195129786985</georss:point><georss:box>22.991433076366842 120.21763129786984 23.001263076366843 120.22627129786986</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-4729435667723126849</id><published>2011-03-06T21:32:00.005+08:00</published><updated>2011-03-07T07:40:06.616+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><title type='text'>Marry Me by Train</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/ghZt2cILcCU&quot; title=&quot;YouTube video player&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;This SOO beautiful! Wish that one day I&#39;ll have the chance to say the same to a girl. And my ultimate &quot;job&quot; is to see her smile: )&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4729435667723126849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4729435667723126849'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/03/marry-me-by-train.html' title='Marry Me by Train'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/ghZt2cILcCU/default.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-6136867706515405903</id><published>2011-03-04T16:18:00.008+08:00</published><updated>2012-02-25T23:25:09.473+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Python"/><title type='text'>Why Python Rocks?! From A Newbie&#39;s Viewpoint</title><content type='html'>&lt;div class=&quot;zemanta-img separator zemanta-action-dragged&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://commons.wikipedia.org/wiki/File:Python_and_Qt.svg&quot; style=&quot;display: block; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Python and Qt&quot; height=&quot;171&quot; src=&quot;http://upload.wikimedia.org/wikipedia/commons/thumb/e/e6/Python_and_Qt.svg/164px-Python_and_Qt.svg.png&quot; style=&quot;border: none; font-size: 0.8em;&quot; width=&quot;164&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;zemanta-img-attribution&quot; style=&quot;clear: both; margin-left: 1em; margin-right: 1em;&quot;&gt;Image via &lt;a href=&quot;http://commons.wikipedia.org/wiki/File:Python_and_Qt.svg&quot;&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
Learning &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Python_%28programming_language%29&quot; rel=&quot;wikipedia&quot; title=&quot;Python (programming language)&quot;&gt;Python&lt;/a&gt; is the most pleasant experience I&#39;ve ever had in learning a new programming language. Although I had some experience in both C&amp;amp;Java, I&#39;m neither master of the 2 languages. However, I found that it was pretty easy for me to pick up Python. Here are some key characteristics:&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;(1)Coding performance: Basically, I don&#39;t really need to transform my thoughts into something overly abstract, which is often needed in Java and C. As a result, you can think/write&amp;nbsp;the code at the same time, which boost your coding performance.&lt;br /&gt;
&lt;br /&gt;
(2)Powerful and easy-to-use &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Graphical_user_interface&quot; rel=&quot;wikipedia&quot; title=&quot;Graphical user interface&quot;&gt;GUI&lt;/a&gt;: I personally love &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/PyQt&quot; rel=&quot;wikipedia&quot; title=&quot;PyQt&quot;&gt;PyQt4&lt;/a&gt; since&amp;nbsp;I dabbled in Python after Python3.1 was already released, and PyQt4 is the only GUI library which fully supports Python3.X. Although this is definitely subjective, I really hate &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/GTK%2B&quot; rel=&quot;wikipedia&quot; title=&quot;GTK+&quot;&gt;Gtk+&lt;/a&gt; for its complexity(I had learned it for a short period of time).&lt;br /&gt;
&lt;br /&gt;
(3)Ability to define function/class within function/class: I think this will leave an better overview to the programmer who reads or uses your source code since they don&#39;t need to go through every function(some of them are just helpers) you defined.&lt;br /&gt;
&lt;br /&gt;
(4)Readability:This is probably the side effect of great coding performance. I found that even for a Python newbie like me, it&#39;s still very easy to understand some code which was written a long time ago.&lt;br /&gt;
&lt;br /&gt;
There will be more...&lt;br /&gt;
&lt;div class=&quot;zemanta-related&quot;&gt;
&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0 0 0;&quot;&gt;
Related articles&lt;/h6&gt;
&lt;ul class=&quot;zemanta-article-ul&quot;&gt;
&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://dorai.wordpress.com/2010/12/24/machine-learning-in-python/&quot;&gt;Machine Learning in Python&lt;/a&gt; (dorai.wordpress.com)&lt;/li&gt;
&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://www.brighthub.com/computing/linux/articles/44983.aspx&quot;&gt;A Guide to Linux Programming with Python&lt;/a&gt; (brighthub.com)(Note that the code is in Python 2.X)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=6d8f915d-6cb1-4329-bf02-2a585af83a7e&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/6136867706515405903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/03/why-python-rocks-from-newbies-viewpoint.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/6136867706515405903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/6136867706515405903'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/03/why-python-rocks-from-newbies-viewpoint.html' title='Why Python Rocks?! From A Newbie&#39;s Viewpoint'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-3550147179194378953</id><published>2011-03-03T21:42:00.001+08:00</published><updated>2012-02-25T23:25:23.832+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Feeling Like I&#39;ve Lost Something Precious</title><content type='html'>Honestly, I&#39;m not really sure what&#39;s missing in my life.&lt;br /&gt;
&lt;br /&gt;
&quot;Time&quot; probably?&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
I know this may sounds strange for a young folk like me, but whenever I encounter some people who are really talented&amp;amp;diligent, I can&#39;t help thinking that I seemed to waste so much time in my adolescence cramming stuffs, which were needed to get me here(as a college student) but now completely useless. For instance, I memorized the rules for composing ancient Chinese poetry in 8th grade, but I&#39;ve never been in the mood to appreciate the beauty of any poem.&amp;nbsp;Don&#39;t get me wrong, I love reading, except those advocating doctrinaire dogmas, and that whole thing written in a dead-elusive ancient language just make it worse.&lt;br /&gt;
&lt;br /&gt;
I think I&#39;ll definitely do a better job at what I&#39;m interested in now if I had the time to explore and learn freely when I was a teenager: playing keyboard, dancing, these are things I kind of giving up(due to lack of time), and programming, which I&#39;m pretty good at, but hasn&#39;t reached mastery.&lt;br /&gt;
As the time passed by, I found that it&#39;s getting harder and harder for me to spend time on things I really want to. Pretty sad huh?</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/3550147179194378953/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2011/03/feeling-like-ive-lost-something.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/3550147179194378953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/3550147179194378953'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/03/feeling-like-ive-lost-something.html' title='Feeling Like I&#39;ve Lost Something Precious'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-4256472563543205614</id><published>2011-01-17T09:19:00.021+08:00</published><updated>2011-01-17T09:50:31.018+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Fun&quot;s&quot;"/><title type='text'>Mathematica Fun&quot;s&quot;:Solving Electromagnetic HW4 Prob2</title><content type='html'>Question:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhezn5DOs9eXubVLGgj6Gv-y5wM55DQVcsTu8hCeBwLz2LuP_waC_rb8ofmkXDp9_oF0rK3P5NdfiPOfRT6dmE5ZsJtZAwtlivZJpbdF4xE79XrevBOars_8UQ9RMKPRbD4z2TXLRozv3r0/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhezn5DOs9eXubVLGgj6Gv-y5wM55DQVcsTu8hCeBwLz2LuP_waC_rb8ofmkXDp9_oF0rK3P5NdfiPOfRT6dmE5ZsJtZAwtlivZJpbdF4xE79XrevBOars_8UQ9RMKPRbD4z2TXLRozv3r0/s1600/11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;Write a program, based on &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Finite_difference_method&quot; rel=&quot;wikipedia&quot; title=&quot;Finite difference method&quot;&gt;finite difference method&lt;/a&gt;, to find the &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Capacitance&quot; rel=&quot;wikipedia&quot; title=&quot;Capacitance&quot;&gt;Capacitance&lt;/a&gt; per unit length of the following structure, accurately to three significant digits. The conductor at the center has a width of 2w. The conducting enclosure is 9w in width and 5w in height, as shown in the figure. The structure is infinite in extension perpendicular to the page.&lt;br /&gt;
&lt;br /&gt;
pictures in my report:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbmesjJt-aZRojkNQgSxgwyDCveMqfLrZoVK3sUC3mpFlR_5oTJ_l-Rcr0kQ59ixlkhtPFszrDzRmcHycMjDno7P6Uk-wsX-w4CYj9okAy-dQLBxPQk0qWlUeLzzwdGfnV0qAhniPlXQjo/s1600/5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbmesjJt-aZRojkNQgSxgwyDCveMqfLrZoVK3sUC3mpFlR_5oTJ_l-Rcr0kQ59ixlkhtPFszrDzRmcHycMjDno7P6Uk-wsX-w4CYj9okAy-dQLBxPQk0qWlUeLzzwdGfnV0qAhniPlXQjo/s1600/5.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLdtUYNLoehiXvKIm6GGuX2T6rbOHOaQzazPI6ylejnsJ6eghqI1SYLFkrBISAUgwbK_5cVyM0aqL15OMBwWlGWO0JO9UBHhr-D38l5a72L4dfwUhpvNjN0j3lsPVDUH15kiTt2xYxR43X/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLdtUYNLoehiXvKIm6GGuX2T6rbOHOaQzazPI6ylejnsJ6eghqI1SYLFkrBISAUgwbK_5cVyM0aqL15OMBwWlGWO0JO9UBHhr-D38l5a72L4dfwUhpvNjN0j3lsPVDUH15kiTt2xYxR43X/s1600/1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_qpCMxXb7WPXRiWTBiR628y-1hyL31VMR-LF91CI_fuH5qVKx_w-i2k6NTXu5mu-VnJfbT8Sfxg9rju3NwboYQsKMUxx32-S_oFY6H4zyZPTxCepaojMoZKv-4hzJhRsf5aKgy217lzUV/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_qpCMxXb7WPXRiWTBiR628y-1hyL31VMR-LF91CI_fuH5qVKx_w-i2k6NTXu5mu-VnJfbT8Sfxg9rju3NwboYQsKMUxx32-S_oFY6H4zyZPTxCepaojMoZKv-4hzJhRsf5aKgy217lzUV/s1600/4.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4gypD03Sq56D-w4XTi4MZquAlJ5neULNVW16jbGm4pNyDseaj63bcW8ayVHVG1qQSibMaPyFmqZSxkptzQcsh-tveklh0mXYBYM8lMAZXsKfBIf5RbnPifM7vRMPjhZUMFisqlN2cxN0t/s1600/6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4gypD03Sq56D-w4XTi4MZquAlJ5neULNVW16jbGm4pNyDseaj63bcW8ayVHVG1qQSibMaPyFmqZSxkptzQcsh-tveklh0mXYBYM8lMAZXsKfBIf5RbnPifM7vRMPjhZUMFisqlN2cxN0t/s1600/6.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
This is the 2nd program I wrote this semester, since I became more familiar with writing &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Mathematica&quot; rel=&quot;wikipedia&quot; title=&quot;Mathematica&quot;&gt;Mathematica&lt;/a&gt; code then so the efficiency is much better despite the fact that the 2nd program was more complicated than the &lt;a href=&quot;http://boyoffeeling.blogspot.com/2011/01/mathematica-funs-solving-eletromagnetic.html&quot;&gt;1st one&lt;/a&gt;. I still remember that I spent days writing this program&amp;amp;document and felt exhausted afterwards XD!&lt;br /&gt;
Here is my main idea of the program: Assume that there will be 0.04 nano Coul on inner conductor and -0.04nC on outer conductor, &lt;b&gt;using the concept of superposition&lt;/b&gt;&lt;br /&gt;
(1)Take out -0.04nC on outer conductor, using moment method to calculate the voltage(Vin1) induced by +0.04nC on inner conductor. After that, use finite difference method to calculate the voltage(Vout1) induced by +0.04nC on outer conductor.&lt;br /&gt;
(2)Similarly, take out +0.04nC on inner conductor and use moment method+finite difference method to find out the voltage(Vin2) on inner conductor and voltage(Vout2) on outer conductor, both produced by -0.04nC. &lt;br /&gt;
(3)&lt;b&gt;The real value of voltage of inner conductor Vin=Vin1+Vin2, and the true voltage of outer conductor is Vout=Vout1+Vout2&lt;/b&gt;&lt;br /&gt;
(4)Capacitance per unit length=(0.04nC/cm)/(Vin-Vout)&lt;br /&gt;
&lt;br /&gt;
The main question I had for this program is that &lt;b&gt;I&#39;m not 100% sure that I can use superposition to calculate the voltage&lt;/b&gt;(i.e. Vin1,Vin2,Vout1,Vout2), since the steady-state charge distribution on either inner or outer conductor will be affected by charges on both of inner&amp;amp;outer conductor. But I tried to present this effect by step (3), so it should be ok(it should be Okay!?).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note:&lt;/b&gt; Be ware!! The result I got from this program was 2 times what one of my friend got, so I&#39;m not really sure which one of us got the correct result since we use 2 totally different methods.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The report in Mathematica: &lt;br /&gt;
&lt;a href=&quot;http://www.megaupload.com/?d=GJA8CELZ&quot;&gt;http://www.megaupload.com/?d=GJA8CELZ&lt;/a&gt;&lt;br /&gt;
The report in pdf:&lt;br /&gt;
&lt;a href=&quot;http://www.megaupload.com/?d=K7IBHMR6&quot;&gt;http://www.megaupload.com/?d=K7IBHMR6&lt;/a&gt;  &lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=b1c12f2b-fac2-4d06-a5e8-860783b69982&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4256472563543205614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4256472563543205614'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/01/mathematica-funssolving-electromagnetic.html' title='Mathematica Fun&quot;s&quot;:Solving Electromagnetic HW4 Prob2'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhezn5DOs9eXubVLGgj6Gv-y5wM55DQVcsTu8hCeBwLz2LuP_waC_rb8ofmkXDp9_oF0rK3P5NdfiPOfRT6dmE5ZsJtZAwtlivZJpbdF4xE79XrevBOars_8UQ9RMKPRbD4z2TXLRozv3r0/s72-c/11.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-1261367969338042049</id><published>2011-01-16T22:43:00.003+08:00</published><updated>2011-02-04T09:44:00.378+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Fun&quot;s&quot;"/><title type='text'>Mathematica Fun&quot;s&quot;: Solving Electromagnetic HW1 Prob1</title><content type='html'>Prob1:&lt;br /&gt;
A conducting thin wire has a total length of 4 cm and is bent into a square with its&lt;br /&gt;
center at the origin. There is a total of 4 nano Coul of electric charges on it. Use moment method to find the potential of this wire V, accurately to the second digit of decimal. (You must carry out all the calculations. Just list out equations will get you no points)&lt;br /&gt;
&lt;br /&gt;
The main idea of this program is pretty easy: Using finite number of charges of various value to approximate the continuous &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Charge_density&quot; rel=&quot;wikipedia&quot; title=&quot;Charge density&quot;&gt;charge distribution&lt;/a&gt; on the square conductor shown in the following figure: &lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgopfdu0WQS6IDAFJ2P5wcCNXSbe1L2XRFoS1J7VsEM9tNHPvDl9JkyOI6ALPxxnBKv9ZUllGHrajt96WavdyDS364atszjbtkLFsiEkdM6FsaM07el5XBefe9n1oICS4tYjrkEJIxMWcVM/s1600/11.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgopfdu0WQS6IDAFJ2P5wcCNXSbe1L2XRFoS1J7VsEM9tNHPvDl9JkyOI6ALPxxnBKv9ZUllGHrajt96WavdyDS364atszjbtkLFsiEkdM6FsaM07el5XBefe9n1oICS4tYjrkEJIxMWcVM/s1600/11.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;The hardest part of this program is to build up the matrix to be solved.&lt;br /&gt;
(1)Calculate the position of charges on 4 sections of wire based on the user define value: n(shown in the picture above)&lt;br /&gt;
(2)Calculate the position of observation points on the X axis which also based on the user defined n.&lt;br /&gt;
(3)Calculate the voltage on each of the observation points.&lt;br /&gt;
(4)All the values of calculated voltage should be the same otherwise it won&#39;t be stable and will lead to currents on the conducting wire that result in the true stable state. Solve the matrix consist of n*n 1st-order equations&lt;br /&gt;
(5)Use the charge distribution gained from step (4), calculate the steady-state voltage of this wire.&lt;br /&gt;
That&#39;s ALL!&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;p.s. &lt;/b&gt;&lt;/i&gt;this is the 1st program I&#39;ve ever written in &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Mathematica&quot; rel=&quot;wikipedia&quot; title=&quot;Mathematica&quot;&gt;Mathematica&lt;/a&gt; at the beginning of this semester, so please forgive me for the crappy coding style XD. Due to my unfamiliarity with Mathematica, the efficiency of this program wasn&#39;t very good,either! Sorry guys!&lt;br /&gt;
&lt;br /&gt;
readme file: &lt;a href=&quot;http://www.megaupload.com/?d=3SULVG4Q&quot;&gt;http://www.megaupload.com/?d=3SULVG4Q&lt;/a&gt;&lt;br /&gt;
main program: &lt;a href=&quot;http://www.megaupload.com/?d=L5V5VCIJ&quot;&gt;http://www.megaupload.com/?d=L5V5VCIJ&lt;/a&gt;&lt;br /&gt;
the graph showing the converging results: &lt;a href=&quot;http://www.megaupload.com/?d=USLLAK6E&quot;&gt;http://www.megaupload.com/?d=USLLAK6E&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKYWdBNdqNhsWvBmBW7fqvoiR3tWpB1JWmoIoRhEVjm0Ats9SK0nR6fqa4Rw4tngyxxdc9SfYQrgDMo42pthnrB2Tg7IYIFBQaD7oqare_bzVZGUsx0P9GpWRkOr4njKIN9B8d7PhD-bl4/s1600/Drawing.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKYWdBNdqNhsWvBmBW7fqvoiR3tWpB1JWmoIoRhEVjm0Ats9SK0nR6fqa4Rw4tngyxxdc9SfYQrgDMo42pthnrB2Tg7IYIFBQaD7oqare_bzVZGUsx0P9GpWRkOr4njKIN9B8d7PhD-bl4/s1600/Drawing.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;zemanta-related&quot;&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;&amp;nbsp;&lt;/h6&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;Related articles&lt;/h6&gt;&lt;ul class=&quot;zemanta-article-ul&quot;&gt;&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://coding.derkeiler.com/Archive/Lisp/comp.lang.lisp/2004-06/1213.html&quot;&gt;comp.lang.lisp: Mathematica vs. Lisp&lt;/a&gt; (coding.derkeiler.com)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=f6c08a71-2b0c-4e65-8643-b82f2b734f63&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1261367969338042049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/1261367969338042049'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/01/mathematica-funs-solving-eletromagnetic.html' title='Mathematica Fun&quot;s&quot;: Solving Electromagnetic HW1 Prob1'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgopfdu0WQS6IDAFJ2P5wcCNXSbe1L2XRFoS1J7VsEM9tNHPvDl9JkyOI6ALPxxnBKv9ZUllGHrajt96WavdyDS364atszjbtkLFsiEkdM6FsaM07el5XBefe9n1oICS4tYjrkEJIxMWcVM/s72-c/11.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-8612222425892169512</id><published>2011-01-14T23:57:00.002+08:00</published><updated>2012-06-25T16:03:52.027+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><title type='text'>Most Exhausting Semester I&#39;ve Ever Had in Past 3 Years Was Over</title><content type='html'>I&#39;m just glad that this semester is finally over! After the torture of final exam of 6 subjects(in 4 days!!), we, students of EE, can finally embrace the longing winter vacation that we&#39;ve been hoping for.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;Honestly, I learned a ton in this semester, but that also means I have to take many exams, which leads to an endless nightmare of brainless activity called &quot;Memorizing a bunch of stuff even if you already understand them&quot;! Sadly, for particular 1 subject it was even worse, since the professors tried to teach too much things in such limited time, which resulted in lightening-fast lecture speech and getting most of the students into what I called &quot;DKWHYTHT&quot; mode or even fell asleep=&amp;gt;**DKWHYTHT stands for &quot;&lt;i&gt;D&lt;/i&gt;on&#39;t &lt;i&gt;K&lt;/i&gt;now &lt;i&gt;W&lt;/i&gt;hat the &lt;i&gt;H&lt;/i&gt;ell &lt;i&gt;Y&lt;/i&gt;ou&#39;re &lt;i&gt;T&lt;/i&gt;alking about&lt;i&gt; H&lt;/i&gt;alf of the &lt;i&gt;T&lt;/i&gt;ime&quot;.&lt;br /&gt;
&lt;br /&gt;
But at least I did find out that I&#39;m really into robotics since I found that I enjoyed the &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Control_theory&quot; rel=&quot;wikipedia&quot; title=&quot;Control theory&quot;&gt;control theory&lt;/a&gt; class this semester.  &lt;br /&gt;
&lt;br /&gt;
p.s. I found a great tip to keep myself from being pessimistic under pressure: Try to focus on the thoughts about how happy and relaxed you&#39;ll be after going through all the stuff you hate.&lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=6463a556-bc57-4419-94c0-4fc79c2009d6&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/8612222425892169512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/8612222425892169512'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2011/01/most-exhausting-semester-ive-ever-had.html' title='Most Exhausting Semester I&#39;ve Ever Had in Past 3 Years Was Over'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-5351701126194862894</id><published>2010-12-13T19:59:00.002+08:00</published><updated>2010-12-14T07:50:40.088+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Fun&quot;s&quot;"/><title type='text'>Mathematica Fun&quot;s&quot;: 3D &quot;Merry Christmas&quot; In Jokerman Font Using Plot3D And Image Processing</title><content type='html'>&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkOzRJp2UFquKEtl_sOm4jc8TvxZCW04TDt3G8UCWF4fAzNHIqA5fgIwj6w6HHLFFd19Wrq3_8g1qv7MZmuZuuzMZXtb0t_2AYdqcv2aNtnGfj40KHLHTuGckzZTlqAu2FE1rzl4wU1tyI/s1600/MerryChristmasCutPNG.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkOzRJp2UFquKEtl_sOm4jc8TvxZCW04TDt3G8UCWF4fAzNHIqA5fgIwj6w6HHLFFd19Wrq3_8g1qv7MZmuZuuzMZXtb0t_2AYdqcv2aNtnGfj40KHLHTuGckzZTlqAu2FE1rzl4wU1tyI/s640/MerryChristmasCutPNG.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;M&lt;/span&gt;&lt;span style=&quot;color: orange;&quot;&gt;e&lt;/span&gt;&lt;span style=&quot;color: lime;&quot;&gt;rr&lt;/span&gt;&lt;span style=&quot;color: cyan;&quot;&gt;y&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;Ch&lt;/span&gt;&lt;span style=&quot;color: purple;&quot;&gt;rist&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;mas&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #38761d;&quot;&gt;! &lt;span style=&quot;color: #cc0000;&quot;&gt;: )&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;It took me a few days to finish this notebook in my free time! Mostly spent on manually taking each character out of the original picture which contains all the capital and non-capital alphabet.&lt;br /&gt;
&lt;br /&gt;
The original picture of Jokerman font found on the web:&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBGMOCbx7uVJcs_qQoCyULkPavIRO6XPcbKcYFwjQqppcW-gC_PQUlyTbzivgn9xDi-p5EAnnY2e0-DTmfxGBr7KZ7znSBAE0sxZkyVRNKprmDVwTv8TyCcvHJP4prsdUN6lTi0c9LyXCe/s1600/JokermanFontb.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBGMOCbx7uVJcs_qQoCyULkPavIRO6XPcbKcYFwjQqppcW-gC_PQUlyTbzivgn9xDi-p5EAnnY2e0-DTmfxGBr7KZ7znSBAE0sxZkyVRNKprmDVwTv8TyCcvHJP4prsdUN6lTi0c9LyXCe/s400/JokermanFontb.jpg&quot; width=&quot;341&quot; /&gt;&lt;/a&gt;&lt;/div&gt;(1)The easiest step: Find the font you want on the web&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2)Use Binarize[ ] to create a binary(0 is black,1 is white)&amp;nbsp;image of the original picture. After that, use ImageTake[ ] to take out each alphabet.&lt;br /&gt;
The 2 binarized images:&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdhhKN8QOJ-h-qyZweK6GQoKjJHRYwyMQyGaeEXYyPOv-QeGyFAhfyBwK4y28UfTyLdODEHI7hnvyMAJgLv7KnetLv4w9ziqvhDsc4lPxz2k3BpebMZu0GK1Vnflhx9XdNtu4txz8fFc8B/s1600/non.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline ! important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdhhKN8QOJ-h-qyZweK6GQoKjJHRYwyMQyGaeEXYyPOv-QeGyFAhfyBwK4y28UfTyLdODEHI7hnvyMAJgLv7KnetLv4w9ziqvhDsc4lPxz2k3BpebMZu0GK1Vnflhx9XdNtu4txz8fFc8B/s1600/non.png&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4FjfPPzPicNMPHqEhDdReM63Vrsq3P8BUfvkcZHR3pnUz3H7laH_tnsX_yoELVWY4Y5z0CQET0ReDNW6ugST856v0K92jpPXJdQYAEZb7yy1foCl6wW9PQOijPw9Rm2fwaYKmTgULLKt/s1600/cap.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdhhKN8QOJ-h-qyZweK6GQoKjJHRYwyMQyGaeEXYyPOv-QeGyFAhfyBwK4y28UfTyLdODEHI7hnvyMAJgLv7KnetLv4w9ziqvhDsc4lPxz2k3BpebMZu0GK1Vnflhx9XdNtu4txz8fFc8B/s1600/non.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; display: inline ! important; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;br /&gt;
&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4FjfPPzPicNMPHqEhDdReM63Vrsq3P8BUfvkcZHR3pnUz3H7laH_tnsX_yoELVWY4Y5z0CQET0ReDNW6ugST856v0K92jpPXJdQYAEZb7yy1foCl6wW9PQOijPw9Rm2fwaYKmTgULLKt/s1600/cap.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhH4FjfPPzPicNMPHqEhDdReM63Vrsq3P8BUfvkcZHR3pnUz3H7laH_tnsX_yoELVWY4Y5z0CQET0ReDNW6ugST856v0K92jpPXJdQYAEZb7yy1foCl6wW9PQOijPw9Rm2fwaYKmTgULLKt/s320/cap.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
(3)Use&amp;nbsp;ImageTake[ ] again to take out each alphabet and use ColorNegate[ ] to create figures like the following:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoA7G67txAk6mQ0e3zWlC7nYMSqhlAM04nbghbk6ObtIlagPbwVAPufgjrkmkYv9SUSPcVld6kqPpxRxyyhz5oHLETnbU4I__J2zG_N6X-dZCty5aFe7aLykMr77Y_FFHVU_Y494bBfdvC/s1600/Binarized.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoA7G67txAk6mQ0e3zWlC7nYMSqhlAM04nbghbk6ObtIlagPbwVAPufgjrkmkYv9SUSPcVld6kqPpxRxyyhz5oHLETnbU4I__J2zG_N6X-dZCty5aFe7aLykMr77Y_FFHVU_Y494bBfdvC/s1600/Binarized.png&quot; /&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-wY8Wn3DK_C2CF20tk2DfO0_zeYX_n0w7bUvSB0eJJUZSRDdhmEYrvhTfl-oDmsayB04twAzWLN1VUY9Bai8Lniy8OvBrIIQJG18lBgti79sdLfa12Vqh6_SEcp8y43fOx8mLFPGd6M8E/s1600/BinarizedK.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-wY8Wn3DK_C2CF20tk2DfO0_zeYX_n0w7bUvSB0eJJUZSRDdhmEYrvhTfl-oDmsayB04twAzWLN1VUY9Bai8Lniy8OvBrIIQJG18lBgti79sdLfa12Vqh6_SEcp8y43fOx8mLFPGd6M8E/s1600/BinarizedK.png&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
The reason for using ColorNegate[ ] is because I will use the value of each pixel as the z value in &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Three-dimensional_space&quot; rel=&quot;wikipedia&quot; title=&quot;Three-dimensional space&quot;&gt;3D space&lt;/a&gt; (x,y,z), so color white indicates z=1, color black indicates z=0.&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&lt;b&gt;Note&lt;/b&gt;&lt;/i&gt;: If you use drawing tool to modify your pictures, remember to Binarize[ ] the modified pictures again even if the color you use in modification is the same as the color on the picture or Plot3D will take forever to draw the result!!&lt;br /&gt;
&lt;br /&gt;
(4)Use ImageDimensions[ ] to measure how many rows and columns of pixels in each alphabet.&lt;br /&gt;
&lt;br /&gt;
(5)Use a list as a container to store these data(alphabet figure, its&#39; dimensions) into corresponding variables. For instance:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbarkuV6jdup8PT_z-uKw9ydfl7AADE-KtaCTYsdrDHLu0s25uRfd8Mek6KPmTU6EsNPFwVkasumsE75jEXbffV2sWMJiE5dGAWmQS3XfDAZ1lC1aaJg4VUhQsXoAkAaIRSONB5it4eqQK/s1600/exampleSet.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbarkuV6jdup8PT_z-uKw9ydfl7AADE-KtaCTYsdrDHLu0s25uRfd8Mek6KPmTU6EsNPFwVkasumsE75jEXbffV2sWMJiE5dGAWmQS3XfDAZ1lC1aaJg4VUhQsXoAkAaIRSONB5it4eqQK/s1600/exampleSet.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(6)Thanks to the new Texture[ ] function in &lt;a href=&quot;http://www.wolfram.com/products/mathematica/&quot;&gt;Mathematica 8&lt;/a&gt;, it&#39;s very easy to apply texture on anything you drew, whether it&#39;s 2D or 3D.&lt;br /&gt;
2 images of plastic texture I found on the web:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEn9aN_rQww6W22uMWpGuSjLEm1tNHiH51cAFODlwLBNk4MYRFveAAj5rhL5eqQTC_6X06MPUKdoI_joaCVfNojlurrvOk_RKZuS9J9IJhvd6ufdfyAnwlySX5Yw0VEYDVlFwW8L8Ul2TN/s1600/Plastic.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEn9aN_rQww6W22uMWpGuSjLEm1tNHiH51cAFODlwLBNk4MYRFveAAj5rhL5eqQTC_6X06MPUKdoI_joaCVfNojlurrvOk_RKZuS9J9IJhvd6ufdfyAnwlySX5Yw0VEYDVlFwW8L8Ul2TN/s200/Plastic.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCW8fiIF7wYi5_bVu_QC2biIamW8nIPt8DHr6i2QYv8-38JXH_d9CBxhf9YTMjDiJAUI7qs8s7CZ4G0aCglm27EBfXHNl8WSH8ksQF6vwRsEcQbVY_8jxJgTN-br7J6bJlHs9eVHAv_1p/s1600/Plastic0030_thumbhuge.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;150&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwCW8fiIF7wYi5_bVu_QC2biIamW8nIPt8DHr6i2QYv8-38JXH_d9CBxhf9YTMjDiJAUI7qs8s7CZ4G0aCglm27EBfXHNl8WSH8ksQF6vwRsEcQbVY_8jxJgTN-br7J6bJlHs9eVHAv_1p/s200/Plastic0030_thumbhuge.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Set up the following function:&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR0J8UnLGnpDZpwvJ25VgBiKz1NTBH73NMnVrTizZKHbMPrED9s7AE5J6SGgGbwkMUzdDwKCvDGsQa83Ex6trG2EhlYq5cOF0-zh4mBDTSivtXO3mXnFHBrNYBtfIA7bzjlFU7eNqk9MYI/s1600/func.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhR0J8UnLGnpDZpwvJ25VgBiKz1NTBH73NMnVrTizZKHbMPrED9s7AE5J6SGgGbwkMUzdDwKCvDGsQa83Ex6trG2EhlYq5cOF0-zh4mBDTSivtXO3mXnFHBrNYBtfIA7bzjlFU7eNqk9MYI/s1600/func.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Comment: use ImageValue[ ] as the function to be drawn by Plot3D[ ]&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(7) Use the function and produce a single character:&lt;br /&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: left; margin-right: 1em; text-align: left;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1FGqyJpPhiVjrq1_1AwtOzyvZitj3E-g2o7Meub2FvcbJr3iQVR3zrO1Ply8hXR16CAaOFZbEKwYff32o4UAfe_fiddoDeJBVgLiMvG3NURse4VdLiBdqXsuhaGstNBlbCQGXFwiB3l-6/s1600/example.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1FGqyJpPhiVjrq1_1AwtOzyvZitj3E-g2o7Meub2FvcbJr3iQVR3zrO1Ply8hXR16CAaOFZbEKwYff32o4UAfe_fiddoDeJBVgLiMvG3NURse4VdLiBdqXsuhaGstNBlbCQGXFwiB3l-6/s400/example.png&quot; width=&quot;333&quot; /&gt;&amp;nbsp;&lt;/a&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;br /&gt;
&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;DA LA!! You got A! Good job, dude!!&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
If you want to create a series of characters like the picture at the beginning of the post, just use Map[singleC,{W,o,r,l,d,P,e,a,s,e}], or singleC/@{W,o,r,l,d,P,e,a,s,e} will also do the job. I have built data for all non-capital alphabets but not all capital alphabets, you can do that easily in my notebook since I list out all the functions I used.(Beware that some capital alphabet are built-in symbols of Mathematica so they&#39;re protected.)&lt;br /&gt;
&lt;br /&gt;
Here&#39;s the link for you to download the notebook:&lt;br /&gt;
the main program&lt;br /&gt;
&lt;a href=&quot;http://www.megaupload.com/?d=RH97O32C&quot;&gt;http://www.megaupload.com/?d=RH97O32C&amp;nbsp;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
the output of singleC[ ]  using &quot;Merry Christmas&quot; as arguments &lt;a href=&quot;http://www.megaupload.com/?d=Q488CC09&quot;&gt;http://www.megaupload.com/?d=Q488CC09&lt;/a&gt;&lt;br /&gt;
p.s. If you find the links are not working or the download speed is a disaster, feel free to leave a comment: )&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=61a06125-f314-447f-9f60-0c1d4d41194b&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/5351701126194862894'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/5351701126194862894'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2010/12/mathematica-funsmerry-christmas-in.html' title='Mathematica Fun&quot;s&quot;: 3D &quot;Merry Christmas&quot; In Jokerman Font Using Plot3D And Image Processing'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkOzRJp2UFquKEtl_sOm4jc8TvxZCW04TDt3G8UCWF4fAzNHIqA5fgIwj6w6HHLFFd19Wrq3_8g1qv7MZmuZuuzMZXtb0t_2AYdqcv2aNtnGfj40KHLHTuGckzZTlqAu2FE1rzl4wU1tyI/s72-c/MerryChristmasCutPNG.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-324431029874370213</id><published>2010-12-10T21:14:00.002+08:00</published><updated>2010-12-11T21:06:57.042+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Tips"/><title type='text'>Mathematica Tips: Controlling Accuracy And Precision Using N[ ]</title><content type='html'>&lt;div style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;/div&gt;Although the equations in every textbooks are mostly exact and in closed form, we all know that measurement errors actually play a vital part in practical situations. During the course &quot;Electric Instruments And Measurement&quot; this semester, I learned that even with some highly-optimized electric devices, the results of measurement are still questionable if the devices are operated under &quot;wrong&quot; conditions. And that&#39;s why the difference between &lt;b&gt;&quot;Accuracy&quot; &lt;/b&gt;and &lt;b&gt;&quot;Precision&quot;&lt;/b&gt; does matter.&lt;b&gt; &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;First of all, I want to clarify the difference:&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;i&gt;Accuracy: &lt;/i&gt;&lt;/b&gt;Based on Wikipedia and what I&#39;ve learned in class, accuracy is &quot;the degree of closeness of measurements of a quantity to its actual (true) value.&quot; &lt;br /&gt;
&lt;i&gt;&lt;b&gt;Precision:&lt;/b&gt;&lt;/i&gt; Degree to which repeated measurements under unchanged conditions show the same results.&lt;br /&gt;
&lt;br /&gt;
To be more specific, here are some figures:&lt;br /&gt;
(&lt;b&gt;**Note&lt;/b&gt;:the vertical axis is % in total number of measurement, the vertical line indicates the actual value)&lt;br /&gt;
(1)poor accuracy good precision&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp17whAz5zukBNajb40F_edyGhJVf-snjcdVMqDYVQmycTHY-U-Yegs8hSngY2KbKwIZxjW7LwMFFmFJTlLSXk0MFnQFaUM9IOqsaL8Uh7qVg3xHBq0TTykwR83VdQPfApToRc1rDPbBOc/s1600/lowAGoodP.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp17whAz5zukBNajb40F_edyGhJVf-snjcdVMqDYVQmycTHY-U-Yegs8hSngY2KbKwIZxjW7LwMFFmFJTlLSXk0MFnQFaUM9IOqsaL8Uh7qVg3xHBq0TTykwR83VdQPfApToRc1rDPbBOc/s320/lowAGoodP.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://en.wikipedia.org/wiki/Accuracy_and_precision#cite_note-Taylor-0&quot;&gt;&lt;/a&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(2)good accuracy good precision&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg06D-yX8ArPyWPKSvy9asKtlM8Yzm5k9jcmSKEoOF3dcjREVMM9utsg9Wvs6zGozck04MmjqwGhbz-gxbEN3lRxkWihtuHPvayaD1HZ08N4qSnMDijwVseJQmQGcUblT0My98G_fG9F_Hg/s1600/goodAGoodP.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg06D-yX8ArPyWPKSvy9asKtlM8Yzm5k9jcmSKEoOF3dcjREVMM9utsg9Wvs6zGozck04MmjqwGhbz-gxbEN3lRxkWihtuHPvayaD1HZ08N4qSnMDijwVseJQmQGcUblT0My98G_fG9F_Hg/s320/goodAGoodP.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(3)poor accuracy poor precision : (&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNzKLI6jSt-nOhl-wlDXzOC2RQ-VMkGm85gCaz4L4rXt1WIGVhU6m_lGp0NHGg24n3Ng8DD14WEyqtXuJKtf2-l_92ncHUgl0CdtPVdOV83E3g22813SJjtyzyHoBiFkhL7CBgqQD0ipxH/s1600/lowAPoorP.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhNzKLI6jSt-nOhl-wlDXzOC2RQ-VMkGm85gCaz4L4rXt1WIGVhU6m_lGp0NHGg24n3Ng8DD14WEyqtXuJKtf2-l_92ncHUgl0CdtPVdOV83E3g22813SJjtyzyHoBiFkhL7CBgqQD0ipxH/s320/lowAPoorP.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
(4)good accuracy poor precision&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Zh4M1nXznhetguRECPwjM-ZPJVQ6ZszNyRMGE0yCHSYSguy1uJCNr9OsC6fyb_xVuCCpZ5i1QLqsdSBr-fDr9Lw7-l8I_frOXD7EmnxZFmkw7Zh6aOCTHAUUM_XghYdIebnLsiPSM8-i/s1600/goodAPoorP.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;176&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5Zh4M1nXznhetguRECPwjM-ZPJVQ6ZszNyRMGE0yCHSYSguy1uJCNr9OsC6fyb_xVuCCpZ5i1QLqsdSBr-fDr9Lw7-l8I_frOXD7EmnxZFmkw7Zh6aOCTHAUUM_XghYdIebnLsiPSM8-i/s320/goodAPoorP.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
After the clarification, we can now finally focus on:&lt;br /&gt;
&lt;i&gt;&lt;b&gt;N[expression,{precision,accuracy}]&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;
Let&#39;s see a few example and explain them&lt;br /&gt;
&lt;br /&gt;
(1)precision&amp;gt;accuracy&lt;br /&gt;
-----------------------------------------------------------------------&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKoEp4nFxsGyJ7BkUT0gZE4DTWDBSKNA64z1E8Ev6BNFneQHZqR1rWlnZlUOhmo7eoyLJxFd8zgIESj9F5qAHQ55EDJgzxjoJQ8TU12zwT3kS36pFuV-PwwMDdwb3fkY9pZUbY8QGYXaqM/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKoEp4nFxsGyJ7BkUT0gZE4DTWDBSKNA64z1E8Ev6BNFneQHZqR1rWlnZlUOhmo7eoyLJxFd8zgIESj9F5qAHQ55EDJgzxjoJQ8TU12zwT3kS36pFuV-PwwMDdwb3fkY9pZUbY8QGYXaqM/s1600/1.png&quot; /&gt;&lt;/a&gt;----------------------------------------------------------------------- &lt;br /&gt;
&amp;nbsp;When using N[ ], you can think of it as you&#39;re &quot;measuring&quot; the actual value, that is 1/17, which is an exact number. So if you only asked Mathematica to &quot;measure&quot; the result with accuracy 4,but wanted it to display result as precision 13, it won&#39;t show that many digits cause the additional digits won&#39;t be correct(unless you want to mess up your calculation and end up with nonsense).&lt;br /&gt;
&lt;br /&gt;
(2)precision&amp;lt;=accuracy&lt;br /&gt;
&amp;nbsp;-----------------------------------------------------------------------&amp;nbsp; &lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPZKmOaCp5H1PAPTe-qRT2WymsKmZNBCjwYyNE1vqlOY7Gh6BBj9Ehtcz4EqvjWgk-aH5XchBy0-pO74_im7yBHGMgSHnNJWXE6uCyRgMpKbhkfPfeM7LDrOxAwSRktlmCVQakZhBNWKd4/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPZKmOaCp5H1PAPTe-qRT2WymsKmZNBCjwYyNE1vqlOY7Gh6BBj9Ehtcz4EqvjWgk-aH5XchBy0-pO74_im7yBHGMgSHnNJWXE6uCyRgMpKbhkfPfeM7LDrOxAwSRktlmCVQakZhBNWKd4/s1600/2.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;-----------------------------------------------------------------------&lt;br /&gt;
Now Mathematica is willing to display more digits since it has &quot;measured&quot; 1/17 with higher accuracy so now it&#39;s confident that the displayed result is correct.&lt;br /&gt;
&lt;br /&gt;
p.s If you guys see any errors or stupid things I did in coding or explanation, feel free to correct me in the comments: )</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/324431029874370213'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/324431029874370213'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2010/12/mathematica-tips-controlling-accuracy.html' title='Mathematica Tips: Controlling Accuracy And Precision Using N[ ]'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp17whAz5zukBNajb40F_edyGhJVf-snjcdVMqDYVQmycTHY-U-Yegs8hSngY2KbKwIZxjW7LwMFFmFJTlLSXk0MFnQFaUM9IOqsaL8Uh7qVg3xHBq0TTykwR83VdQPfApToRc1rDPbBOc/s72-c/lowAGoodP.png" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-8111383920869805414</id><published>2010-12-07T21:27:00.005+08:00</published><updated>2011-07-11T07:27:10.582+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Conrad Wolfram: Teaching Kids Real Math With Computers&amp;Reflection On College Education In Taiwan</title><content type='html'>&lt;iframe class=&quot;youtube-player&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/60OVlfAUPJg&quot; title=&quot;YouTube video player&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
Almost every education reformation started as &quot;The current education system is not suitable for the future generation!&quot;, &quot;We need to teach our kids &quot;portable&quot; knowledge!&quot;&lt;br /&gt;
&lt;br /&gt;
Unfortunately, worse than what Mr.Wolfram said at the beginning of the video, I think &quot;We got a real problem with college education right now!&quot; will be suitable for describing the college education system here in Taiwan based on the past 3 years I had as a student of EE.&lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;br /&gt;
What Mr.Wolfram presented in this talk is definitely refreshing. He did pointed out a few really important factors in existing education systems:&lt;br /&gt;
&lt;br /&gt;
(1) &lt;b&gt;Dumb down &lt;/b&gt;the questions so that we students can solve them by hand. Yes...By hand! And maybe a little help from an engineering calculator which is often useless except doing stupid and straightforward calculation(i.e. IC=Is*e^(Vbe/Vt)... that sort of things).&lt;br /&gt;
&lt;br /&gt;
(2) Spend most of the time &lt;b&gt;doing/teaching students how to do the calculation&lt;/b&gt; rather than the process of how to construct appropriate equations to be solved, how to verify the calculated results, and most important of all, the limitation of everything you used in the process.&lt;br /&gt;
&lt;br /&gt;
To make matters worse, I think we got a bigger problem in Taiwan(and maybe other countries) due to what most college students need to get into graduate school: &lt;b&gt;Another test&lt;/b&gt;...and that implies tons of stuff to memorize! After spending years in our adolescence cramming and memorizing stuff that you immediately forgot after the test, why the hell to we need to repeat all that stupid routine again as a college student?&amp;nbsp; As the result of this brainless system, the teaching style of professors must change accordingly, so do the way of midterms are held in schools. (It might need a 10-page long essay to discuss why college students here &quot;must&quot; get into graduate school so I&#39;ll just leave it out.)&lt;br /&gt;
&lt;br /&gt;
For example, to prepare for the midterm of most subjects in EE department:&lt;br /&gt;
(1)read through the text, class notes and handout to fully understand the concepts.----------------------&amp;gt;An interesting process and really helping the students!&lt;br /&gt;
&lt;br /&gt;
(2)Instead of practicing exercises or problems provided, we students need to&amp;nbsp; &lt;b&gt;memorize&lt;/b&gt; equations and some properties, cause &lt;b&gt;none of them will be provided in the test&lt;/b&gt;, and you won&#39;t have time to derive them from the concepts due to the 2-hour limitation of midterms-------------------------&amp;gt;A STUPID and brainless step which require pretty much no or few intellectual activities in our brain.&lt;br /&gt;
&lt;br /&gt;
(3)&quot;If&quot; we have time left, we can finally start working on the exercises and problem sets.&lt;br /&gt;
&lt;br /&gt;
Based on my experience(I&#39;m some sort of hard-working type so I study everyday), &lt;br /&gt;
the time left for step 3 is often approaches 0, cause most of the time was taken out in step 1 and 2. But step 3 is actually much more important than step 2 for any future engineers cause that&#39;s what we will be doing in our career! We solve real-world problems!! And step2 shouldn&#39;t even be a &quot;step&quot;! &lt;br /&gt;
&lt;br /&gt;
To be more precise, if you already gone through the text(i.e. finish step 1) and there are 7 days left before the midterm of a subject(that often happened on us,what just taught this week will be on the midterm next week), you&#39;ll still need to spend at least 3 to 4 days memorizing everything you &lt;b&gt;already understand&lt;/b&gt;! What if there are midterms for 2 subjects or even more next week? A:You&#39;ll end up spending all the time memorizing things for 2 subjects and got very less time for step 3. &lt;br /&gt;
&lt;br /&gt;
Okay! Now it comes to how do we prevent the brainless step2? The answer is obvious: the way of midterms are held and how we enroll the grad school should be changed! A great living example will be the course I took this semester: Analog Communication. The professor allow us to bring in a double-sided notes which contains equations, properties, but no solutions to any homeworks or problems in textbook(A few TA are responsible for checking the notes right after the exams). This is great cause I can now spend my time on something more creative than cramming stuff into my brain.&lt;br /&gt;
&lt;br /&gt;
Sadly, there&#39;s no sign of changes to this brainless system so far. I can only try my best to learn.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;zemanta-related&quot;&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;Related articles&lt;/h6&gt;&lt;ul class=&quot;zemanta-article-ul&quot;&gt;&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://www.ted.com/talks/conrad_wolfram_teaching_kids_real_math_with_computers.html&quot;&gt;TEDTalks : Conrad Wolfram: Teaching kids real math with computers - Conrad Wolfram (2010)&lt;/a&gt; (ted.com)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=27b23235-6a16-4ef8-af64-27fd9e052b11&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/8111383920869805414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/8111383920869805414'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2010/12/conrad-wolfram-teaching-kids-real-math.html' title='Conrad Wolfram: Teaching Kids Real Math With Computers&amp;Reflection On College Education In Taiwan'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/60OVlfAUPJg/default.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-7511876401790926452</id><published>2010-12-07T19:24:00.003+08:00</published><updated>2010-12-07T21:53:20.498+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Fun&quot;s&quot;"/><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Tips"/><title type='text'>2 New Catagories For Mathematica:Tips&amp;Fun&quot;s&quot;</title><content type='html'>&lt;div class=&quot;zemanta-img separator zemanta-action-dragged&quot; style=&quot;clear: both; float: none;&quot;&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/File:Mathematica_Image.png&quot; style=&quot;clear: left; display: block; float: left; margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;Image created using Mathematica&quot; height=&quot;311&quot; src=&quot;http://upload.wikimedia.org/wikipedia/en/thumb/2/2f/Mathematica_Image.png/300px-Mathematica_Image.png&quot; style=&quot;border: medium none; font-size: 0.8em;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;span class=&quot;zemanta-img-attribution&quot; style=&quot;clear: left; float: left; margin-left: 1em; margin-right: 1em; width: 300px;&quot;&gt;Image via &lt;a href=&quot;http://en.wikipedia.org/wiki/File:Mathematica_Image.png&quot;&gt;Wikipedia&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;Although I&#39;ve been using &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Mathematica&quot; rel=&quot;wikipedia&quot; title=&quot;Mathematica&quot;&gt;Mathematica&lt;/a&gt; for about 5 years now, as I mentioned in my &lt;a href=&quot;http://boyoffeeling.blogspot.com/2010/11/mathematica-8-free-form-input.html#more&quot;&gt;previous post&lt;/a&gt;, not until recently(Uh..actually, at the beginning of this semester) did I discovered and started to realize the potential of Mathematica.&amp;nbsp; So I think I perfectly fit into the &quot;newbie&quot; categories. &lt;br /&gt;
&lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;As the title says, I&#39;m going to start 2 new categories to take down all the things I learned in/about Mathematica, and most important of all, &lt;i&gt;&lt;b&gt;the fun time&lt;/b&gt;&lt;/i&gt; I had using it.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The 2 new categories are:&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;(1)Mathematica Tips:&lt;/i&gt; For all the tips I came up with or learned from other programming masters.&lt;i&gt;&lt;br /&gt;
&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;(2)Mathematica Fun&quot;s&quot;&lt;/i&gt;: Some interesting problems or things I solved using Mathematica, for ex: Electromagnetics HW problems, Control Theories class...&lt;br /&gt;
There will be a post for some tips after the analog communication midterm on Thursday. &lt;br /&gt;
&lt;br /&gt;
I think I&#39;ll provide pdf and Mathematica notebook files for each post if you&#39;re willing to spend time on my crappy code : )&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Related articles&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;zemanta-related&quot;&gt;&lt;ul class=&quot;zemanta-article-ul&quot;&gt;&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://www.i-programmer.info/news/112-theory/1600-wolfram-thinks-the-future-is-natural-language.html&quot;&gt;Wolfram thinks the future is natural language&lt;/a&gt; (i-programmer.info)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=c2e481e8-348a-4ec4-8cd5-940090dae5f3&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/7511876401790926452'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/7511876401790926452'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2010/12/going-to-start-2-new-catagories-for.html' title='2 New Catagories For Mathematica:Tips&amp;Fun&quot;s&quot;'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-4604614035138136048</id><published>2010-11-20T17:16:00.120+08:00</published><updated>2011-08-06T19:01:33.951+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Life"/><category scheme="http://www.blogger.com/atom/ns#" term="Mathematica Fun&quot;s&quot;"/><title type='text'>Mathematica 8 Is Full Of Surprises!</title><content type='html'>&lt;iframe class=&quot;youtube-player&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/HQAVb-P2xEk&quot; title=&quot;YouTube video player&quot; type=&quot;text/html&quot; width=&quot;640&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
Since it&#39;s the coolest tool I&#39;ve ever seen, so I can&#39;t help spreading the new idea.&lt;br /&gt;
Here&#39;s more detail, enjoy!&lt;br /&gt;
&lt;iframe class=&quot;youtube-player&quot; frameborder=&quot;0&quot; height=&quot;390&quot; src=&quot;http://www.youtube.com/embed/mWikflTjjJU&quot; title=&quot;YouTube video player&quot; type=&quot;text/html&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;br /&gt;
&lt;br /&gt;
I still remembered the 1st time I used &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Mathematica&quot; rel=&quot;wikipedia&quot; title=&quot;Mathematica&quot;&gt;Mathematica&lt;/a&gt; when I was only 16. &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;The version 5 of this software was introduced to a group of  high school students in a short-term course held by my math teacher. Honestly, due to the lack of experience in practical problems, I didn&#39;t realize how powerful it was. For me it was merely a &quot;really cool calculator&quot; then. The thinking never changed until taking &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Electromagnetism&quot; rel=&quot;wikipedia&quot; title=&quot;Electromagnetism&quot;&gt;Electromagnetics&lt;/a&gt; this semester, where I learned some powerful &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Numerical_analysis&quot; rel=&quot;wikipedia&quot; title=&quot;Numerical analysis&quot;&gt;numerical analysis&lt;/a&gt; methods and actually implemented/presented them using Mathematica, which was sort of brand new and exciting experience for me, since I&#39;ve never used any kinds of &lt;a href=&quot;http://en.wikipedia.org/wiki/Fourth-generation_programming_language&quot;&gt;4GL&lt;/a&gt; before. Now it has became a tool that I use almost everyday to solve problems and help me understand the concepts in lectures by visualizing them.&lt;br /&gt;
&lt;div class=&quot;zemanta-related&quot;&gt;&lt;h6 class=&quot;zemanta-related-title&quot; style=&quot;font-size: 1em; margin: 1em 0pt 0pt;&quot;&gt;Related articles&lt;/h6&gt;&lt;ul class=&quot;zemanta-article-ul&quot;&gt;&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://www.macworld.com/article/155741/2010/11/mathematica8.html?lsrc=rss_main&quot;&gt;Wolfram Research intros Mathematica 8&lt;/a&gt; (macworld.com)&lt;/li&gt;
&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://www.i-programmer.info/news/112-theory/1600-wolfram-thinks-the-future-is-natural-language.html&quot;&gt;Wolfram thinks the future is natural language&lt;/a&gt; (i-programmer.info)&lt;/li&gt;
&lt;li class=&quot;zemanta-article-ul-li&quot;&gt;&lt;a href=&quot;http://www.prweb.com/releases/prweb2010Mathematica/9NVIDIA/prweb4541174.htm&quot;&gt;Wolfram Research and NVIDIA Collaborate to Provide Integrated GPU Programming in Mathematica&lt;/a&gt; (prweb.com)&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=ccda9edb-77c5-48d0-b47b-b179aa218c51&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4604614035138136048'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/4604614035138136048'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2010/11/mathematica-8-free-form-input.html' title='Mathematica 8 Is Full Of Surprises!'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/HQAVb-P2xEk/default.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-4519785298284205930.post-6364729374667381877</id><published>2010-09-20T10:39:00.005+08:00</published><updated>2012-02-25T23:29:15.460+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="reflection"/><title type='text'>Typhoon, School Closures: Another Perspective</title><content type='html'>Whenever there&#39;s a blizzard or &lt;a class=&quot;zem_slink&quot; href=&quot;http://en.wikipedia.org/wiki/Pacific_typhoon&quot; rel=&quot;wikipedia&quot; title=&quot;Pacific typhoon&quot;&gt;typhoon&lt;/a&gt;&amp;nbsp; or any natural disasters, we student often expect a day off, and 2 will be even better! But it never really occurr to us that it is NOT just simply a day off, it came with a price: People will lose their property or even lives, economy will also temporarily suffer from the catastrophe.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT5OGZRnQ5EBPUIFmx4Poihw-Oj5-FT2LNVztzn9Q3bBiDWJUfVH5yqZz2sA8LQi21gNlRpZ1dBbgoaSDpVXKM8HfzcOJfF6o0OAeimRGRcfvHO43DiK8pF_irbXa0sx2UhEBDDwzr1EZI/s1600/2010-09-20_0920.MOS0.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT5OGZRnQ5EBPUIFmx4Poihw-Oj5-FT2LNVztzn9Q3bBiDWJUfVH5yqZz2sA8LQi21gNlRpZ1dBbgoaSDpVXKM8HfzcOJfF6o0OAeimRGRcfvHO43DiK8pF_irbXa0sx2UhEBDDwzr1EZI/s320/2010-09-20_0920.MOS0.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
When you look at a satellite image like this, you&#39;ll probably say something like, &quot;Wow! The storm is huge! Look at the size of it! I wonder when the authorities will announce a day off?&quot; Sadly, few will think in another perpective, &quot;There are many people down there, hope they will go through this safely.&quot;&lt;br /&gt;
&lt;br /&gt;
When I was a kid, I used to hope that the typhoon will come so that &lt;br /&gt;
&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;I would have an extra day off. But my parents told me I shouldn&#39;t think in that way cause no natural disaster will leave without any damages. So I realized that hoping the typhoon to come is the same as hoping someone to get hurt, the only difference is that you probably won&#39;t know the person, but that doesn&#39;t make it right!&lt;br /&gt;
&lt;br /&gt;
Many of my friends prey for the school closure last night, and I really hope that one day they will realize how wrong it was, just like me when I was a kid. If anyone who knew the fact but still want the typhoon to come so that they will have a day off while others suffering, he/she will be a selfish jerk!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;zemanta-pixie&quot; style=&quot;height: 15px; margin-top: 10px;&quot;&gt;
&lt;img alt=&quot;&quot; class=&quot;zemanta-pixie-img&quot; src=&quot;http://img.zemanta.com/pixy.gif?x-id=34d5a340-5c07-4b67-b8bc-e30fb397ed0f&quot; style=&quot;border: medium none; float: right;&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://hencrice.blogspot.com/feeds/6364729374667381877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hencrice.blogspot.com/2010/09/typhoon-school-closures-another.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/6364729374667381877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4519785298284205930/posts/default/6364729374667381877'/><link rel='alternate' type='text/html' href='http://hencrice.blogspot.com/2010/09/typhoon-school-closures-another.html' title='Typhoon, School Closures: Another Perspective'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiT5OGZRnQ5EBPUIFmx4Poihw-Oj5-FT2LNVztzn9Q3bBiDWJUfVH5yqZz2sA8LQi21gNlRpZ1dBbgoaSDpVXKM8HfzcOJfF6o0OAeimRGRcfvHO43DiK8pF_irbXa0sx2UhEBDDwzr1EZI/s72-c/2010-09-20_0920.MOS0.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>