<?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-4530385502761079845</id><updated>2026-08-07T07:16:08.146+08:00</updated><category term="Software Usage"/><category term="编程技术"/><category term="Java"/><category term="Programming"/><category term="随笔"/><category term="Jesus Christ"/><category term=".NET"/><category term="Linux"/><category term="流水账"/><category term="Android"/><category term="Chrome"/><category term="Eclipse"/><category term="IE"/><category term="Network"/><category term="Spark"/><category term="Storm"/><category term="生活"/><category term="BigData"/><category term="CentOS"/><category term="Chinese Font"/><category term="Google Wave"/><category term="Hadoop"/><category term="IntelliJ"/><category term="Internet Explorer"/><category term="Office"/><category term="Proxy"/><category term="RedHat"/><category term="Vertica"/><category term="Visual Studio"/><category term="maven"/><category term="皇马"/><category term="ALM; HP  Application Life Cycle Manager"/><category term="Android Duplicate Calendar"/><category term="Applet"/><category term="Clean Outlook; Outlook Full; Large Calendar"/><category term="Configure"/><category term="Debug"/><category term="Delay Email"/><category term="Disapper"/><category term="Empty"/><category term="English"/><category term="Garbled"/><category term="Gone"/><category term="Google Now"/><category term="InstallShield"/><category term="Internet"/><category term="Life"/><category term="MSDN"/><category term="MSN"/><category term="Maintenance"/><category term="Music"/><category term="MyEclipse 注册，破解"/><category term="NBA、季后赛"/><category term="Oracle"/><category term="QQ"/><category term="SREng"/><category term="Settings"/><category term="Source Insight"/><category term="Toolbox"/><category term="Tools"/><category term="TortoiseSVN"/><category term="Trusted Sites"/><category term="Turn off AutoPlay"/><category term="Update Authentication"/><category term="VMware"/><category term="Windows"/><category term="YARN"/><category term="earphone"/><category term="java，随机数，保留小数位数"/><category term="live"/><category term="love"/><category term="repository"/><category term="封锁"/><category term="幸福"/><category term="开发，ROR"/><category term="心理测试"/><category term="搞笑"/><category term="杀毒，Trojan-PSW.Win32.OnlineGames.kw"/><category term="用户控件，自定义控件，调用，User Control，C#"/><category term="电热水壶，热得快，沃尔玛，美的"/><category term="皇马，冠军杯，联赛冠军"/><category term="皇马，巴萨"/><category term="皇马，改革，冠军"/><category term="禁用"/><category term="编成技术"/><category term="视频教材，祝福皇马"/><category term="足球，踢球"/><category term="随感，程序员"/><title type='text'>Sai&#39;s World</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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>188</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-2671100788001617385</id><published>2025-02-10T19:58:00.001+08:00</published><updated>2025-02-10T19:58:05.246+08:00</updated><title type='text'>Alfred Netease Music Workflow Fix</title><content type='html'>&lt;p&gt;&amp;nbsp;I was using alfred netease workflow for years, but after I changed a new laptop and downloaded the workflow, it does not work anymore. Finally I found out the reason and came out with a fix.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;It turns out that my netease music is in English version and the workflow identifies those menus in Chinese, for example ：tell menu &quot;控制&quot; of menu bar item &quot;控制&quot; of menu bar 1&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;So the fix is to change those names to English according to the actual menu and menu items names, for example tell menu &quot;Controls&quot; of menu bar item &quot;Controls&quot; of menu bar 1.&lt;/p&gt;&lt;p&gt;Hope this would also help you.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/2671100788001617385/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/2671100788001617385' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/2671100788001617385'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/2671100788001617385'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2025/02/alfred-netease-music-workflow-fix.html' title='Alfred Netease Music Workflow Fix'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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-4530385502761079845.post-8141644518850286494</id><published>2024-01-18T16:34:00.007+08:00</published><updated>2024-01-18T16:34:59.683+08:00</updated><title type='text'>IntelliJ Editor NNBSP problem</title><content type='html'>&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&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/a/AVvXsEj4dXGwW-MSirkSEe6Y7bd9fYR-enEf31jBrGVah7XjVsX-aOuwkucTQwqZ95CGazg9SGwJM1PoIx0KN6rkI0K2M5HZ9GqmIHPE7EJ6uEqQYpkApJgwn0F8cutVWLG79ztVO_6vmfVBWZV6Q4XovpJ4stAmrQL3-oO3Z9ZakCVuNr2eIejmInLVXebuv3E&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;818&quot; data-original-width=&quot;1426&quot; height=&quot;311&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEj4dXGwW-MSirkSEe6Y7bd9fYR-enEf31jBrGVah7XjVsX-aOuwkucTQwqZ95CGazg9SGwJM1PoIx0KN6rkI0K2M5HZ9GqmIHPE7EJ6uEqQYpkApJgwn0F8cutVWLG79ztVO_6vmfVBWZV6Q4XovpJ4stAmrQL3-oO3Z9ZakCVuNr2eIejmInLVXebuv3E=w541-h311&quot; width=&quot;541&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;Recently I start to use IntelliJ to coding, but I met a strange problem as shown above that there are special characters, which in my mind are garbage codes. How to remove them?&lt;/p&gt;&lt;p&gt;There a lots of posts. But let&#39;s first try OpenAI, let&#39;s see whether they know the answer well.&amp;nbsp;&lt;/p&gt;&lt;p&gt;Below are the interesting dialogs between me and ChatGPT. Have fun!&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&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/a/AVvXsEjSf0fXs3Uil06XjlNQ2F9RZ3-mA1PvpF0hHVLb2raAeOv6DNIj8tnz-nNuX7XwlsEj_toXmA_h71XzpYIUy-IATVkOP9_hK0zaB2rNm1vZorYF2RErG04LDsf0pD6mEuzPZ-tOZv-py8kjSCi8vXY7elZ8gM9TP1WcylC4UnMXc7kWqGh1AfsEsrGQmw8&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;1472&quot; data-original-width=&quot;806&quot; height=&quot;920&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjSf0fXs3Uil06XjlNQ2F9RZ3-mA1PvpF0hHVLb2raAeOv6DNIj8tnz-nNuX7XwlsEj_toXmA_h71XzpYIUy-IATVkOP9_hK0zaB2rNm1vZorYF2RErG04LDsf0pD6mEuzPZ-tOZv-py8kjSCi8vXY7elZ8gM9TP1WcylC4UnMXc7kWqGh1AfsEsrGQmw8=w502-h920&quot; width=&quot;502&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&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/a/AVvXsEjdMAP7J5oP6oAEiERFWUEhdC-4pyobJCJ62xXJ3jDCIuYGdCa1nVgD2Q1mkYtS96SU983k4clXeKHWWAEZuPT-SKywKgFPfWbK3PnYw1o7gDhP3d7OdAl_GpraEyUv96_g-Lun9Aji2SH7yLj1su6_S0PUOgqs1A-sxMf3aw1PJkBfeRzi-AGvkhfn1mY&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;1307&quot; data-original-width=&quot;731&quot; height=&quot;863&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEjdMAP7J5oP6oAEiERFWUEhdC-4pyobJCJ62xXJ3jDCIuYGdCa1nVgD2Q1mkYtS96SU983k4clXeKHWWAEZuPT-SKywKgFPfWbK3PnYw1o7gDhP3d7OdAl_GpraEyUv96_g-Lun9Aji2SH7yLj1su6_S0PUOgqs1A-sxMf3aw1PJkBfeRzi-AGvkhfn1mY=w506-h863&quot; width=&quot;506&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;But actually it&#39;s not correct, for example in my editor settings, &quot;Show whitespaces&quot; are already unchecked.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&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/a/AVvXsEhA4rgxR-tPOjuP2X5Q_bXuIFnxEA7old7yJpfDBpMFkaMz_j2iz3l_bJX5Ffo6-785f0KcAA6Rd6aAb0H04yJLRGZosGmgz8UfdY8iN6GZ4tDf9BpNXrRufqXNsooMZXt0fhv2kWeV7-GSrc5AE1A-fFm2uAGFvmCp3_YdBUvGmhc5ysboTgT3dIEAB0I&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;1436&quot; data-original-width=&quot;1964&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEhA4rgxR-tPOjuP2X5Q_bXuIFnxEA7old7yJpfDBpMFkaMz_j2iz3l_bJX5Ffo6-785f0KcAA6Rd6aAb0H04yJLRGZosGmgz8UfdY8iN6GZ4tDf9BpNXrRufqXNsooMZXt0fhv2kWeV7-GSrc5AE1A-fFm2uAGFvmCp3_YdBUvGmhc5ysboTgT3dIEAB0I=w544-h398&quot; width=&quot;544&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;【Solutions】&lt;/p&gt;&lt;p&gt;Go to IntelliJ Settings -&amp;gt; Editor -&amp;gt; Advanced Settings,&lt;/p&gt;&lt;p&gt;Uncheck &quot;Render special characters, such as control codes, using their Unicode name abbreviations.&lt;/p&gt;&lt;p&gt;&lt;/p&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/a/AVvXsEg9hhkk3sOtZ8TibhgD0P44JgNRqoxLbLWBZqNNPNeAS15C9ZfX2KOpMQPP4nONGq7oUTyx3rvTWIkA1Hgmxp09zRRRrkAFBmZOZuY3Fd-TcBaiPws-ZbipnjBeWA3LBl-oRe3RcuYEB6Q7XGY4nMmszi6fPkixNIvFJTAQJQ84aZj2rk7sjVcko2ZFyis&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;1436&quot; data-original-width=&quot;1964&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEg9hhkk3sOtZ8TibhgD0P44JgNRqoxLbLWBZqNNPNeAS15C9ZfX2KOpMQPP4nONGq7oUTyx3rvTWIkA1Hgmxp09zRRRrkAFBmZOZuY3Fd-TcBaiPws-ZbipnjBeWA3LBl-oRe3RcuYEB6Q7XGY4nMmszi6fPkixNIvFJTAQJQ84aZj2rk7sjVcko2ZFyis=w544-h398&quot; width=&quot;544&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;We can see the contents are good now.&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;/p&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/a/AVvXsEiwSCYhMzfg4YfY7czOm6wLBuBzl-KOIH4hSXcO3dIv2y8TVwqbbwbbftXTWz4UuZfh_zQsAK-67FNdigitfhkW-NUNGMbMcat8NmNyoJgU4Sq_ngdSIhqgFFPqfBwM3OK1rcLTsQPV43vT-J39Js3VPm8xyM7E0Ctr1ajy-ZSClon6a4Cq7XZ7KBR3DFM&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; data-original-height=&quot;246&quot; data-original-width=&quot;1244&quot; height=&quot;140&quot; src=&quot;https://blogger.googleusercontent.com/img/a/AVvXsEiwSCYhMzfg4YfY7czOm6wLBuBzl-KOIH4hSXcO3dIv2y8TVwqbbwbbftXTWz4UuZfh_zQsAK-67FNdigitfhkW-NUNGMbMcat8NmNyoJgU4Sq_ngdSIhqgFFPqfBwM3OK1rcLTsQPV43vT-J39Js3VPm8xyM7E0Ctr1ajy-ZSClon6a4Cq7XZ7KBR3DFM=w713-h140&quot; width=&quot;713&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;PS: It has been quite a long time since my last post. How time flies! But better late than never, and let&#39;s go back to the beautiful engineer world!&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/8141644518850286494/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/8141644518850286494' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8141644518850286494'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8141644518850286494'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2024/01/intellij-editor-nnbsp-problem.html' title='IntelliJ Editor NNBSP problem'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/a/AVvXsEj4dXGwW-MSirkSEe6Y7bd9fYR-enEf31jBrGVah7XjVsX-aOuwkucTQwqZ95CGazg9SGwJM1PoIx0KN6rkI0K2M5HZ9GqmIHPE7EJ6uEqQYpkApJgwn0F8cutVWLG79ztVO_6vmfVBWZV6Q4XovpJ4stAmrQL3-oO3Z9ZakCVuNr2eIejmInLVXebuv3E=s72-w541-h311-c" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-1592859596671491343</id><published>2016-11-09T16:25:00.000+08:00</published><updated>2016-11-09T16:25:18.985+08:00</updated><title type='text'>Adobe Reader Error &quot;adobe failed to connect to a dde server&quot;</title><content type='html'>I met a problem that my Adobe Reader cannot open pdf files, and pops up an error: &quot;adobe failed to connect to a dde server&quot;&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
To solve this, simply open control panel-&amp;gt;Adobe Reader-&amp;gt;Modify, use repair model to fix the problem.&lt;/div&gt;
&lt;div&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/AVvXsEipvf_nnMgfCRGqz82tZOGQKoTX3Wmd1LR7mlOi-kMg8pUr-qkFRC25OZ-wm4ncKF2a5f5I5pKmX6gjhGcSS2_BgIaIQV0kSQnSSlxxBFsOVXzwuUZJOiJLMly_aCnB6kREIT7tePqu1Kw/s1600/adobe.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;188&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipvf_nnMgfCRGqz82tZOGQKoTX3Wmd1LR7mlOi-kMg8pUr-qkFRC25OZ-wm4ncKF2a5f5I5pKmX6gjhGcSS2_BgIaIQV0kSQnSSlxxBFsOVXzwuUZJOiJLMly_aCnB6kREIT7tePqu1Kw/s320/adobe.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/1592859596671491343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/1592859596671491343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/1592859596671491343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/1592859596671491343'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2016/11/adobe-reader-error-adobe-failed-to.html' title='Adobe Reader Error &quot;adobe failed to connect to a dde server&quot;'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEipvf_nnMgfCRGqz82tZOGQKoTX3Wmd1LR7mlOi-kMg8pUr-qkFRC25OZ-wm4ncKF2a5f5I5pKmX6gjhGcSS2_BgIaIQV0kSQnSSlxxBFsOVXzwuUZJOiJLMly_aCnB6kREIT7tePqu1Kw/s72-c/adobe.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-193993238364337581</id><published>2015-09-07T18:22:00.003+08:00</published><updated>2015-09-10T19:29:11.807+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark"/><title type='text'>Strange spark problem: &quot;Error:scalac: error while loading ..., Missing dependency bad symbolic reference...&quot;</title><content type='html'>I am very new to spark and try to develop it on Windows using IntelliJ. This kind environment is not typical environment for developing spark because normally people use Ubuntu&amp;nbsp;+ IntelliJ.&lt;br /&gt;
&lt;br /&gt;
I copied a famous example from spark official example SparkPi, when run it in idea, it pops an error:&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/AVvXsEikZgjrZiI9EP2JFkL1wSKSfCKKMfee-UCYNxzIVYsnqhdSI46vSIH4P4dqUSEuUBnyOrD18jugRwdB6BD82XtMgHjRpqlZtwupovVDEOLxXgF7kDdqr0Vm3z0ojYobXXnou4SbxjTOJlQ/s1600/2015-09-07_15-19-04.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikZgjrZiI9EP2JFkL1wSKSfCKKMfee-UCYNxzIVYsnqhdSI46vSIH4P4dqUSEuUBnyOrD18jugRwdB6BD82XtMgHjRpqlZtwupovVDEOLxXgF7kDdqr0Vm3z0ojYobXXnou4SbxjTOJlQ/s640/2015-09-07_15-19-04.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I did a lot of search but no luck there. Finally I find out that the problem is caused by my pom.xml settings.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:js&quot;&gt; 
&lt;dependency&gt;
    &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
    &lt;artifactid&gt;spark-core_2.10&lt;/artifactid&gt;
    &lt;version&gt;1.4.1&lt;/version&gt;
    &lt;scope&gt;${myscope}&lt;/scope&gt;
&lt;/dependency&gt;
&lt;/pre&gt;
The reason of doing this is because we don&#39;t to package spark-core jar file in our finally package, but when specify it as provided it cannot run locally. The details can be check in another post of mine:&lt;br /&gt;
&lt;a href=&quot;http://sai1983.blogspot.com/2015/08/intellij-provided-scope-problem.html&quot; target=&quot;_blank&quot;&gt;IntelliJ &quot;Provided&quot; Scope Problem&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The solution is that:&lt;/b&gt;&lt;br /&gt;
1. keep the ${myscope} value here&lt;br /&gt;
2. add pom.xml a variable called myscope&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:js&quot;&gt;&lt;properties&gt;
      &lt;myscope&gt;compile&lt;/myscope&gt;
&lt;/properties&gt;
&lt;/pre&gt;
3. In maven part, keep the setting&lt;br /&gt;
clean install -Dmyscope=provided&lt;br /&gt;
&lt;br /&gt;
Now the spark object can run successfully and also package as we expected.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you think this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/193993238364337581/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/193993238364337581' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/193993238364337581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/193993238364337581'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/09/strange-spark-problem-errorscalac-error.html' title='Strange spark problem: &quot;Error:scalac: error while loading ..., Missing dependency bad symbolic reference...&quot;'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEikZgjrZiI9EP2JFkL1wSKSfCKKMfee-UCYNxzIVYsnqhdSI46vSIH4P4dqUSEuUBnyOrD18jugRwdB6BD82XtMgHjRpqlZtwupovVDEOLxXgF7kDdqr0Vm3z0ojYobXXnou4SbxjTOJlQ/s72-c/2015-09-07_15-19-04.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-33269725144396396</id><published>2015-08-29T10:14:00.003+08:00</published><updated>2015-08-29T10:14:55.892+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spark"/><category scheme="http://www.blogger.com/atom/ns#" term="Tools"/><title type='text'>GitHub for Windows through Company Proxy</title><content type='html'>GitHub is a very famous tool but I am just starting to use it... Shy... Because we come from ancient times in source codes management: ClearCase, SVN, (TeamForge), now it&#39;s time to embrace GitHub.&lt;br /&gt;
&lt;br /&gt;
I have downloaded a windows version. GitHub for Windows... Maybe the best way is to use the command line which I will investigate later.&lt;br /&gt;
&lt;br /&gt;
This is the tool GitHub for Windows, which can be obtained here:&amp;nbsp;https://git-scm.com/download/win&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/AVvXsEhl1fks7ZFURA_8JOwj1CGLyYwzYXJbGAgywoUPMMPcRE655DxJS4ZUshtpOKNazwGyW1EQjVjCvwxXDOw0wPbvkNljbAKjhINxiV8kI-TBi-6TaH_fJltbbj-dTqVi37xGvqa9sga4g3g/s1600/2015-08-29_10-03-20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;398&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhl1fks7ZFURA_8JOwj1CGLyYwzYXJbGAgywoUPMMPcRE655DxJS4ZUshtpOKNazwGyW1EQjVjCvwxXDOw0wPbvkNljbAKjhINxiV8kI-TBi-6TaH_fJltbbj-dTqVi37xGvqa9sga4g3g/s640/2015-08-29_10-03-20.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem is that we are under company proxy and there is no option to change it. Luckily there is a solution.&lt;br /&gt;
&lt;br /&gt;
1. Open the file&lt;br /&gt;
C:\Users\YOURNAME\.gitconfig&lt;br /&gt;
&lt;br /&gt;
2. Add there two lines&lt;br /&gt;
[http]&lt;br /&gt;
proxy = http://YOUR_COMPANY_PROXY:8080&lt;br /&gt;
&lt;br /&gt;
[https]&lt;br /&gt;
proxy = http://YOUR_CONPANY_PROXY:8080&lt;br /&gt;
&lt;br /&gt;
OK, all set!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
By I feel using command line is more convenient.&lt;br /&gt;
&lt;h4&gt;
&lt;b&gt;1. clone&lt;/b&gt;&lt;/h4&gt;
git clone REPOSITORY URL&lt;br /&gt;
for example&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/AVvXsEiOlNkqDtIHyCy4IkSvCVFBuSPAVgJDD9iGU7QRn8AyuvMP3OqeujlXTfY0xt5xKrJ_4jkwzmL8ai86RF-lGvVouzZnf2jntfUwugvECzXhs5Ae6GvBZ9PXg-oG-FvG9o4EuO075ickJCc/s1600/2015-08-29_10-01-44.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/AVvXsEiOlNkqDtIHyCy4IkSvCVFBuSPAVgJDD9iGU7QRn8AyuvMP3OqeujlXTfY0xt5xKrJ_4jkwzmL8ai86RF-lGvVouzZnf2jntfUwugvECzXhs5Ae6GvBZ9PXg-oG-FvG9o4EuO075ickJCc/s1600/2015-08-29_10-01-44.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;2. update&lt;/b&gt;&lt;br /&gt;
1) cd to the folder for example Spark&lt;br /&gt;
2) git pull&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/AVvXsEg6odoWc-3Ol0OP3UgD420P5Tb4wxGmg0gjRq3dyqpB0zfu3XG0oqSYS7Af8HEazNRiJsupopmvIgIgBWReTjzmmS-RaQV_l2Dl7RwRpDy-HuyIFpoUoQy8EzvlIr3QsaiyBAixdHXOA5U/s1600/2015-08-29_10-13-03.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/AVvXsEg6odoWc-3Ol0OP3UgD420P5Tb4wxGmg0gjRq3dyqpB0zfu3XG0oqSYS7Af8HEazNRiJsupopmvIgIgBWReTjzmmS-RaQV_l2Dl7RwRpDy-HuyIFpoUoQy8EzvlIr3QsaiyBAixdHXOA5U/s1600/2015-08-29_10-13-03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
For the turorial of Git, we can check the great website, many thanks to the author!&lt;br /&gt;
http://rogerdudler.github.io/git-guide/&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you think this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/33269725144396396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/33269725144396396' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/33269725144396396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/33269725144396396'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/08/github-for-windows-through-company-proxy.html' title='GitHub for Windows through Company Proxy'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhl1fks7ZFURA_8JOwj1CGLyYwzYXJbGAgywoUPMMPcRE655DxJS4ZUshtpOKNazwGyW1EQjVjCvwxXDOw0wPbvkNljbAKjhINxiV8kI-TBi-6TaH_fJltbbj-dTqVi37xGvqa9sga4g3g/s72-c/2015-08-29_10-03-20.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-5258041549042297717</id><published>2015-08-11T14:20:00.002+08:00</published><updated>2015-08-12T10:23:42.880+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="IntelliJ"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Storm"/><title type='text'>IntelliJ &quot;Provided&quot; Scope Problem</title><content type='html'>IntelliJ is such a famous tool that lots of users saying that once you get used to it, you can never come back. To a Eclipse user, there is some learning curves to use IntelliJ. Today I met a interesting problem that exist only in IntelliJ.&lt;br /&gt;
&lt;br /&gt;
The background is that I moved my project from Eclipse to IntelliJ, the project runs very well in eclipse but I used the same way to run in IntelliJ (short as idea), it throws the error like below:&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/AVvXsEhrtKip3OCxr6MAizXANAdtc73PbVvHeLLpd_Yr_EolsWmKY3uQ1dz3GNEN-UOxcFzuwH0pvjAT4H8P1aGoFQrYgu6SFq9FaE7PQktL60aA5BgpS3wDAl9tGWG7egli9Yv7DyXtI3I1HfU/s1600/2015-08-11_14-02-09.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/AVvXsEhrtKip3OCxr6MAizXANAdtc73PbVvHeLLpd_Yr_EolsWmKY3uQ1dz3GNEN-UOxcFzuwH0pvjAT4H8P1aGoFQrYgu6SFq9FaE7PQktL60aA5BgpS3wDAl9tGWG7egli9Yv7DyXtI3I1HfU/s1600/2015-08-11_14-02-09.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I searched a lot and finally find that it&#39;s because the storm package in pom.xml is specified as provided.&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:js&quot;&gt;&lt;dependency&gt;
 &lt;groupid&gt;org.apache.storm&lt;/groupid&gt;
 &lt;artifactid&gt;storm-core&lt;/artifactid&gt;
 &lt;version&gt;0.10.0-beta1&lt;/version&gt;
 &lt;scope&gt;provided&lt;/scope&gt;
&lt;/dependency&gt;
&lt;/pre&gt;
&lt;br /&gt;
The reason the package must be specified as provided is that the storm cluster already contains the storm jar file, if our package contains the storm jar file again, it will cause conflicts.&lt;br /&gt;
&lt;br /&gt;
But according to the definition of provided from maven website: &lt;a href=&quot;https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html&quot;&gt;https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html&lt;/a&gt;&lt;br /&gt;
&lt;ul style=&quot;color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; list-style-type: square; margin: 0px 0px 10px 25px; padding: 0px;&quot;&gt;
&lt;li style=&quot;color: #404040;&quot;&gt;&lt;b style=&quot;background-color: white;&quot;&gt;provided&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;This is much like&amp;nbsp;&lt;/span&gt;&lt;tt style=&quot;background-color: #fee9cc; border-radius: 3px; color: rgba(0, 0, 0, 0.74902); font-family: Monaco, &#39;Andale Mono&#39;, &#39;Courier New&#39;, monospace; font-size: 0.9em; padding: 1px 3px;&quot;&gt;compile&lt;/tt&gt;&lt;span style=&quot;background-color: white;&quot;&gt;, but indicates you expect the JDK or a container to provide the dependency at runtime. For example, when building a web application for the Java Enterprise Edition, you would set the dependency on the Servlet API and related Java EE APIs to scope&amp;nbsp;&lt;/span&gt;&lt;tt style=&quot;background-color: #fee9cc; border-radius: 3px; color: rgba(0, 0, 0, 0.74902); font-family: Monaco, &#39;Andale Mono&#39;, &#39;Courier New&#39;, monospace; font-size: 0.9em; padding: 1px 3px;&quot;&gt;provided&lt;/tt&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&amp;nbsp;because the web container provides those classes. &lt;/span&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;This scope is only available&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: yellow;&quot;&gt;on the compilation&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt; and test classpath, and is not transitive.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;This is why there is no problem when compile but has problems during runtime.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;Here we come to a dilemma: when run it in IDE (intelliJ) we need to scope to be compile, but when package it to deploy on cluster, we need it to be package scope. One way to solve this is each time we change the scope, but this is very annoying.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;So here is the &lt;b&gt;solution&lt;/b&gt;:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;1. Set the scope to be a parameter, such as ${myscope} &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;brush:js&quot;&gt;&lt;dependency&gt;
 &lt;groupid&gt;org.apache.storm&lt;/groupid&gt;
 &lt;artifactid&gt;storm-core&lt;/artifactid&gt;
 &lt;version&gt;0.10.0-beta1&lt;/version&gt;
 &lt;scope&gt;${myscope}&lt;/scope&gt;
&lt;/dependency&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;2. create a mvn task&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;expand Lifecycle, right click an item for example install, and choose create Practise...&lt;/span&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/AVvXsEgmaaSEEdQfZzGk5krdx0qZlcSBDVq25TfonALJ_z7Yv0LgyTEf_ST6ha3vglQwRgfrnXfpHvOeqF1QWuukw959DQOs8-aCAnWb630zROt5kc9RTTRkNjrfQteY3mz76esLJl_HcTOgF4Y/s1600/2015-08-12_10-21-17.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/AVvXsEgmaaSEEdQfZzGk5krdx0qZlcSBDVq25TfonALJ_z7Yv0LgyTEf_ST6ha3vglQwRgfrnXfpHvOeqF1QWuukw959DQOs8-aCAnWb630zROt5kc9RTTRkNjrfQteY3mz76esLJl_HcTOgF4Y/s1600/2015-08-12_10-21-17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;then specify command line:&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #404040; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px;&quot;&gt;clean install -Dmyscope=provided&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/AVvXsEjKmIBcKafDR5B-Chg8VD9waVceLa0rWoTuabJuc4FBcaUEXaiP_DnSsohYF1bsbRWmrDD1LxEBRwzIgwS2cgSPgRZ6WpGJU6VFsagOHvlvc-QJ9ufyQbsJplD-ORzuZE7iLmSGyauIkgI/s1600/2015-08-11_14-18-09.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/AVvXsEjKmIBcKafDR5B-Chg8VD9waVceLa0rWoTuabJuc4FBcaUEXaiP_DnSsohYF1bsbRWmrDD1LxEBRwzIgwS2cgSPgRZ6WpGJU6VFsagOHvlvc-QJ9ufyQbsJplD-ORzuZE7iLmSGyauIkgI/s1600/2015-08-11_14-18-09.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&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/AVvXsEigePJCe1REweE0zuApstZyl3_xBE3WEa0aiajOFBMj02XJ44GViJ7cAAhp27KvDYu5PZVJs3h7edYSILo1mUJC-aEvekGru08Yva0-nJ2ckL8sZvekZfoiaDkZ9D0x35aneJgaz-kjqoU/s1600/2015-08-11_14-16-50.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/AVvXsEigePJCe1REweE0zuApstZyl3_xBE3WEa0aiajOFBMj02XJ44GViJ7cAAhp27KvDYu5PZVJs3h7edYSILo1mUJC-aEvekGru08Yva0-nJ2ckL8sZvekZfoiaDkZ9D0x35aneJgaz-kjqoU/s1600/2015-08-11_14-16-50.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;With this, it&#39;s running very well and also can package with provided scope!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #404040; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you think this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/5258041549042297717/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/5258041549042297717' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5258041549042297717'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5258041549042297717'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/08/intellij-provided-scope-problem.html' title='IntelliJ &quot;Provided&quot; Scope Problem'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhrtKip3OCxr6MAizXANAdtc73PbVvHeLLpd_Yr_EolsWmKY3uQ1dz3GNEN-UOxcFzuwH0pvjAT4H8P1aGoFQrYgu6SFq9FaE7PQktL60aA5BgpS3wDAl9tGWG7egli9Yv7DyXtI3I1HfU/s72-c/2015-08-11_14-02-09.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-4662210806799592377</id><published>2015-07-31T14:43:00.001+08:00</published><updated>2015-07-31T14:43:27.961+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Good tool Java Decompiler - View source codes from jar or .class file</title><content type='html'>One problem of using SVN is that you might meet conflicts and end up losing your own codes. I met the problem once: I did an update, and there are conflicts. I tried to revert the update but found out that the revert is reverting my local change but keep the update! Now I lost my local development work...&lt;br /&gt;
&lt;br /&gt;
Luckily I have a compiled jar file which I build last time, but they are all .class files. How to view the original files?&lt;br /&gt;
&lt;br /&gt;
Java Decompiler comes to the resue!&lt;br /&gt;
&lt;a href=&quot;http://jd.benow.ca/&quot;&gt;http://jd.benow.ca/&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/AVvXsEi7lre446kTlfu5N1Sw6AybUpsqlCJECrBk6QfI350g-tolAEUIgiWr50iTZH7JhVi80yyE3_RqhcXMEIEroXIAXt-4-BhIPz-0s9DseGGPbVlMkHw4FsYZJk9pmQX2-IP_ayAviUUu9CE/s1600/2015-07-31_14-37-19.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/AVvXsEi7lre446kTlfu5N1Sw6AybUpsqlCJECrBk6QfI350g-tolAEUIgiWr50iTZH7JhVi80yyE3_RqhcXMEIEroXIAXt-4-BhIPz-0s9DseGGPbVlMkHw4FsYZJk9pmQX2-IP_ayAviUUu9CE/s1600/2015-07-31_14-37-19.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Use this tool to open a jar file or .class file, you will see all the contents:&lt;br /&gt;
It&#39;s structured and clear! Thanks to the author!&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/AVvXsEjMBqj5gKzoBibCF4QsVfkjHMttUlVb_40jF3i3-00Kg6ZAYDZQdJKtthEIOv1xJDfMbdHWngGNH4zdK94i2qEBfayW9mm4xUOUsB3gFzN5bLPSnfiBGR2MUOm45fZxyPH9lLhF2o_5Q1I/s1600/2015-07-31_14-40-03.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/AVvXsEjMBqj5gKzoBibCF4QsVfkjHMttUlVb_40jF3i3-00Kg6ZAYDZQdJKtthEIOv1xJDfMbdHWngGNH4zdK94i2qEBfayW9mm4xUOUsB3gFzN5bLPSnfiBGR2MUOm45fZxyPH9lLhF2o_5Q1I/s1600/2015-07-31_14-40-03.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you think this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/4662210806799592377/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/4662210806799592377' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/4662210806799592377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/4662210806799592377'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/07/good-tool-java-decompiler-view-source.html' title='Good tool Java Decompiler - View source codes from jar or .class file'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEi7lre446kTlfu5N1Sw6AybUpsqlCJECrBk6QfI350g-tolAEUIgiWr50iTZH7JhVi80yyE3_RqhcXMEIEroXIAXt-4-BhIPz-0s9DseGGPbVlMkHw4FsYZJk9pmQX2-IP_ayAviUUu9CE/s72-c/2015-07-31_14-37-19.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-2804628286822111066</id><published>2015-07-14T00:01:00.000+08:00</published><updated>2015-08-03T14:04:36.248+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Configure"/><category scheme="http://www.blogger.com/atom/ns#" term="IntelliJ"/><category scheme="http://www.blogger.com/atom/ns#" term="Spark"/><category scheme="http://www.blogger.com/atom/ns#" term="Windows"/><title type='text'>Hello Spark - How to configure Spark development environment on Windows with IntelliJ</title><content type='html'>&lt;h2&gt;
&lt;b&gt;1. Install prerequisites&lt;/b&gt;&lt;/h2&gt;
&lt;h4&gt;
a) JDK 1.7&lt;/h4&gt;
Download it &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;h4&gt;
b) Scala 2.10.5&lt;/h4&gt;
Download it &lt;a href=&quot;http://www.scala-lang.org/download/2.10.5.html&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;h4&gt;
3) Maven latest version&lt;/h4&gt;
Download it &lt;a href=&quot;http://apache.cs.utah.edu/maven/maven-3/3.3.3/binaries/apache-maven-3.3.3-bin.zip&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;h4&gt;
4) SBT&lt;/h4&gt;
Download it &lt;a href=&quot;https://dl.bintray.com/sbt/native-packages/sbt/0.13.8/sbt-0.13.8.msi&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After install or unzip these components, configure them in the system variables, for example:&lt;br /&gt;
JAVA_HOME --&amp;gt; &amp;nbsp;C:\Program Files\Java\jdk1.7.0_60&lt;br /&gt;
MAVEN_HOME --&amp;gt;&amp;nbsp;D:\Program Files\Dev\apache-maven-3.2.3&lt;br /&gt;
SCALA_HOME --&amp;gt;&amp;nbsp;C:\Program Files (x86)\scala&lt;br /&gt;
SBT_HOME --&amp;gt; C:\Program Files (x86)\sbt\&lt;br /&gt;
&lt;br /&gt;
and append the following items in PATH&lt;br /&gt;
&lt;i&gt;%JAVA_HOME%\bin; %MAVEN_HOME%\bin;%SCALA_HOME%\bin;%SBT_HOME%\bin;&lt;/i&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/AVvXsEjpXp7OJPrhgGiR3tu8dZa9LyX1LtWtaU9EscPX31fRTtz9FDV3jJvXgSV79tbBqrqtBNepl-KuGOnQW0P9VHsK7Sl3HwdrmfyQmurZ5NHAPIVc-5TyPbtnAL2jePB_OEZTJ4Y0twrwfWY/s1600/2015-07-13_22-09-28.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/AVvXsEjpXp7OJPrhgGiR3tu8dZa9LyX1LtWtaU9EscPX31fRTtz9FDV3jJvXgSV79tbBqrqtBNepl-KuGOnQW0P9VHsK7Sl3HwdrmfyQmurZ5NHAPIVc-5TyPbtnAL2jePB_OEZTJ4Y0twrwfWY/s1600/2015-07-13_22-09-28.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;b&gt;2. Download and setup IntelliJ IDE&lt;/b&gt;&lt;/h2&gt;
&lt;h4&gt;
a) Download IntelliJ&amp;nbsp;&lt;a href=&quot;https://www.jetbrains.com/idea/download/&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;/h4&gt;
&lt;h4&gt;
b) Download Scala plugin&lt;/h4&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/AVvXsEiXv9TxR4awlCCZCCBZVqv-FHBwcb5Kq_1PQjM9KiccWD85Ah-T5vGsOe9r4WnFCHL9-Knum558ou9s_i9Sp26aa-bLr6F0ArMXeKhtdCMCWRqYwquXWTHTLKXqTJ_5TLxO7kmqxogXHyY/s1600/2015-07-13_22-22-02.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/AVvXsEiXv9TxR4awlCCZCCBZVqv-FHBwcb5Kq_1PQjM9KiccWD85Ah-T5vGsOe9r4WnFCHL9-Knum558ou9s_i9Sp26aa-bLr6F0ArMXeKhtdCMCWRqYwquXWTHTLKXqTJ_5TLxO7kmqxogXHyY/s1600/2015-07-13_22-22-02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Note: it&#39;s mandatory to enable HTTP proxy if you are in a company firewall.&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/AVvXsEjVp0TaJgVI6u68D5OkcJUugP4SrqBSm-mZjinM42tKArB86uyey1_YeXxxxB1U95LBWA4E_Xu6NoLYAGxpePilBaTMe0AsLv5uhyFA8GOV17cXLfpdFwbQd_FqmxICVa9r0xLTOy8VBTE/s1600/2015-07-13_22-24-25.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/AVvXsEjVp0TaJgVI6u68D5OkcJUugP4SrqBSm-mZjinM42tKArB86uyey1_YeXxxxB1U95LBWA4E_Xu6NoLYAGxpePilBaTMe0AsLv5uhyFA8GOV17cXLfpdFwbQd_FqmxICVa9r0xLTOy8VBTE/s1600/2015-07-13_22-24-25.png&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;
c) Configure Maven settings if under proxy&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/AVvXsEhMmxgm_JFnUSoFd97A3Zi-w0yGmmHTp6Ng-PVZrlI0AZYDCKFBk4WA5dUcMOxSe0f1u9eQi9Apy0D2_Lc9LoGDQN_M6fRGdXkkUpevZ-OCxvDWyVW5C3aj2VZba6SDndfY-EEYpX40j9k/s1600/2015-07-13_22-31-15.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/AVvXsEhMmxgm_JFnUSoFd97A3Zi-w0yGmmHTp6Ng-PVZrlI0AZYDCKFBk4WA5dUcMOxSe0f1u9eQi9Apy0D2_Lc9LoGDQN_M6fRGdXkkUpevZ-OCxvDWyVW5C3aj2VZba6SDndfY-EEYpX40j9k/s1600/2015-07-13_22-31-15.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
We can copy a settings.xml file from %MAVEN_HOME%\conf\settings.xml, and when it&#39;s under proxy, please copy it to C:\Users\*****\.m2 , and enable proxy&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/AVvXsEgpzmaz3Q8env-nZb7E87kvbSHPVQ7FXEfd5SgBr9qmxzmlp9eCNZF8pzL_8Qy2PZtQHv7OYqoDtrAQORIC5blocDuWkmb9N79IqfuyxWdN_5-EyeBl8g6HJ33wn66i-mJDx2Ue1MKM3ts/s1600/2015-07-13_22-33-31.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpzmaz3Q8env-nZb7E87kvbSHPVQ7FXEfd5SgBr9qmxzmlp9eCNZF8pzL_8Qy2PZtQHv7OYqoDtrAQORIC5blocDuWkmb9N79IqfuyxWdN_5-EyeBl8g6HJ33wn66i-mJDx2Ue1MKM3ts/s640/2015-07-13_22-33-31.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
After modification:&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/AVvXsEhOM814jtbGMdJvvAfg0Z5Ufjwh2b-BrmD3BDyutKMcCId5JTCtrJcjWSNgZmINGt8CirZKu7k2RaTRI_pHD7FMKrfRRlUVjzSpNMTebpFdoA_tlld1JeVcAnAX4KGQBhnWHdXaREW0xYA/s1600/2015-07-13_22-37-38.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;292&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOM814jtbGMdJvvAfg0Z5Ufjwh2b-BrmD3BDyutKMcCId5JTCtrJcjWSNgZmINGt8CirZKu7k2RaTRI_pHD7FMKrfRRlUVjzSpNMTebpFdoA_tlld1JeVcAnAX4KGQBhnWHdXaREW0xYA/s640/2015-07-13_22-37-38.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
&lt;b&gt;3. Create project&lt;/b&gt;&lt;/h2&gt;
Let&#39;s create a sample project called HelloSpark&lt;br /&gt;
&lt;h3&gt;
1) File --&amp;gt; New --&amp;gt; Project..., please choose Scala&lt;/h3&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/AVvXsEigEDXH8IM4tieLPMzPHkrPAVOxitzexbkDU9BBb5LVNtR3Kgy3FY4ou9ciTApyxJBplZuhK9MU1M-hqVZ7rAwo-lgyAY3C2J3Ol9DeSrW-_rKP6bUv1UmsK8ISojhFxlqAhrJgyNhnpgg/s1600/2015-07-13_22-54-51.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;561&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigEDXH8IM4tieLPMzPHkrPAVOxitzexbkDU9BBb5LVNtR3Kgy3FY4ou9ciTApyxJBplZuhK9MU1M-hqVZ7rAwo-lgyAY3C2J3Ol9DeSrW-_rKP6bUv1UmsK8ISojhFxlqAhrJgyNhnpgg/s640/2015-07-13_22-54-51.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/AVvXsEiIHSLO4nsZoraGR1acc3pSPyQ9A1rtbk9v40q-sWMzO6DXRXm8JobOlqvQUNT35LesOboH9dh1kUuAfH9CRDBRXi3nZrJN7mq6F4NHEnbniehdm0Q_NH-CrIxmElxiSdMKBnUJBp4Gapg/s1600/2015-07-13_22-55-20.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;562&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIHSLO4nsZoraGR1acc3pSPyQ9A1rtbk9v40q-sWMzO6DXRXm8JobOlqvQUNT35LesOboH9dh1kUuAfH9CRDBRXi3nZrJN7mq6F4NHEnbniehdm0Q_NH-CrIxmElxiSdMKBnUJBp4Gapg/s640/2015-07-13_22-55-20.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After click Finish, it will pop up a dialog, we can choose &quot;New Window&quot;&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/AVvXsEhGHJYKmnohe_IXtEbSU_vObO7XZLqMOMo7xNVDkuWeKpCTceC9gbtCMNTaFXE6v2p8s6Mbl8MWzdJMvA9FU_nyreDyHVb8KbTL74w9EmfASlt_WcpuMcMH3_JxGWhaSrIzGyYSL1fY4dQ/s1600/2015-07-13_22-57-26.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGHJYKmnohe_IXtEbSU_vObO7XZLqMOMo7xNVDkuWeKpCTceC9gbtCMNTaFXE6v2p8s6Mbl8MWzdJMvA9FU_nyreDyHVb8KbTL74w9EmfASlt_WcpuMcMH3_JxGWhaSrIzGyYSL1fY4dQ/s640/2015-07-13_22-57-26.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
2). Add maven support&lt;/h3&gt;
Right click project name and choose &quot;Add Framework Support...&quot;, please scroll down and select &quot;Maven&quot;&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/AVvXsEiU2Qjz9PSjqB6Epa2hKyeotvDMiR3mszPCoUcOkJEDXOC-sdimal2tViCS_V2wThAHm2HzNo-xAQZwF_eqdBjNSmOgCtb4Tp17xHuGdq_QMdN-kGRdd-g97WZsA8vKK9eJiy5g7ljVlDg/s1600/2015-07-13_23-00-38.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiU2Qjz9PSjqB6Epa2hKyeotvDMiR3mszPCoUcOkJEDXOC-sdimal2tViCS_V2wThAHm2HzNo-xAQZwF_eqdBjNSmOgCtb4Tp17xHuGdq_QMdN-kGRdd-g97WZsA8vKK9eJiy5g7ljVlDg/s640/2015-07-13_23-00-38.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Double click pom.xml and add the following content with existing content of pom.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;    &lt;build&gt;
        &lt;plugins&gt;
        &lt;plugin&gt;
            &lt;artifactid&gt;maven-compiler-plugin&lt;/artifactid&gt;
            &lt;version&gt;3.1&lt;/version&gt;
            &lt;configuration&gt;
                &lt;source&gt;&lt;/source&gt;1.7
                &lt;target&gt;1.7&lt;/target&gt;
            &lt;/configuration&gt;
        &lt;/plugin&gt;
        &lt;/plugins&gt;
    &lt;/build&gt;

    &lt;dependencies&gt;   
        &lt;!-- spark core --&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
            &lt;artifactid&gt;spark-core_2.10&lt;/artifactid&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;!--spark MLib--&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
            &lt;artifactid&gt;spark-mllib_2.10&lt;/artifactid&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;

        &lt;!--spark sql--&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
            &lt;artifactid&gt;spark-sql_2.10&lt;/artifactid&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;!-- hive --&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
            &lt;artifactid&gt;spark-hive_2.10&lt;/artifactid&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
        &lt;/dependency&gt;

        &lt;!-- spark streaming --&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
            &lt;artifactid&gt;spark-streaming_2.10&lt;/artifactid&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.kafka&lt;/groupid&gt;
            &lt;artifactid&gt;kafka_2.10&lt;/artifactid&gt;
            &lt;version&gt;0.8.1&lt;/version&gt;
            &lt;scope&gt;provided&lt;/scope&gt;
        &lt;/dependency&gt;
        &lt;dependency&gt;
            &lt;groupid&gt;org.apache.spark&lt;/groupid&gt;
            &lt;artifactid&gt;spark-streaming-kafka_2.10&lt;/artifactid&gt;
            &lt;version&gt;1.4.0&lt;/version&gt;
        &lt;/dependency&gt;
    &lt;/dependencies&gt;
 
    &lt;repositories&gt;
        &lt;repository&gt;
            &lt;id&gt;Maven&lt;/id&gt;
            &lt;url&gt;http://repo1.maven.org/maven2&lt;/url&gt;
        &lt;/repository&gt;
        &lt;repository&gt;
            &lt;id&gt;clojars&lt;/id&gt;
            &lt;url&gt;http://clojars.org/repo/&lt;/url&gt;
        &lt;/repository&gt;
        &lt;repository&gt;
            &lt;id&gt;m2.java.net&lt;/id&gt;
            &lt;name&gt;Java.net Maven 2 Repository&lt;/name&gt;
            &lt;url&gt;http://download.java.net/maven/2&lt;/url&gt;
            &lt;layout&gt;default&lt;/layout&gt;
        &lt;/repository&gt;
    &lt;/repositories&gt;

&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
Hello&lt;br /&gt;
A sample pom.xml can be viewed &lt;a href=&quot;https://drive.google.com/file/d/0B_ZDNNkWG1dYWmxLeE01RDc1S2M/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
After pasted the content, on the top right it will pop up a dialog, please choose Enable Auto-Import and maven will start downloading specified dependencies.&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/AVvXsEhxIJCxU0wp2aT5zIKov82WWBbnXt-O8XawepUXJqOlDGq5GB0nCfybV7DYN4QbHJQkOm_wWrrmvBFtQWRVEdkBKCDe_jkNSp6QoJGFbEfQz3zFoaynCuzXoAL5NH7Fj8Y9zJlrxccCmzY/s1600/2015-07-13_23-08-53.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxIJCxU0wp2aT5zIKov82WWBbnXt-O8XawepUXJqOlDGq5GB0nCfybV7DYN4QbHJQkOm_wWrrmvBFtQWRVEdkBKCDe_jkNSp6QoJGFbEfQz3zFoaynCuzXoAL5NH7Fj8Y9zJlrxccCmzY/s640/2015-07-13_23-08-53.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Or you can do it via&lt;br /&gt;
right click project name--&amp;gt; Maven --&amp;gt; Reimport&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
3) Create a folder for scala&lt;/h3&gt;
expand project file structure, &amp;nbsp;src--&amp;gt; main, right click main, New--&amp;gt; Directory,&lt;br /&gt;
name it as Scala&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/AVvXsEgE1czXvDtOu8Y91wUbqGYoBMgSYgxAtIaMzpqNzcZYBLOmrADm07hd1K_6snxfxfRtpO41ckViaomXMfK3SOyqo9FyaZSkRJiTMqqOeT67_TisuaNiKgiq1ogEDAAJLN66Kqjcw0AjcRs/s1600/2015-07-13_23-16-46.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;121&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgE1czXvDtOu8Y91wUbqGYoBMgSYgxAtIaMzpqNzcZYBLOmrADm07hd1K_6snxfxfRtpO41ckViaomXMfK3SOyqo9FyaZSkRJiTMqqOeT67_TisuaNiKgiq1ogEDAAJLN66Kqjcw0AjcRs/s640/2015-07-13_23-16-46.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Then add this new folder &quot;Scala&quot; to project source&lt;br /&gt;
File--&amp;gt; Project Structure (shortcut Ctrl+Alt+Shift+S)&lt;br /&gt;
&lt;br /&gt;
Modules--&amp;gt; scala --&amp;gt;Source , and as the screenshot shows, Click 1, 2 and 3, the result will display 4.&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/AVvXsEgODRU0AKn-D3y2zoiHQoULC6SfqybwSQvW2XyLaOvOwAami4TpFjqw6q00jRVpU1I7kPyXppsCAl-4AbPwMfcOlkbe17fhvUjbpY-2QcQxPtEdHS9ABy_phlMmEgvly1PdxHH_1FSAVFY/s1600/2015-07-13_23-21-34.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/AVvXsEgODRU0AKn-D3y2zoiHQoULC6SfqybwSQvW2XyLaOvOwAami4TpFjqw6q00jRVpU1I7kPyXppsCAl-4AbPwMfcOlkbe17fhvUjbpY-2QcQxPtEdHS9ABy_phlMmEgvly1PdxHH_1FSAVFY/s1600/2015-07-13_23-21-34.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
4) Create a scala class&lt;/h3&gt;
Right click scala folder, new Scala class&lt;br /&gt;
&lt;br /&gt;
Add modify the content as the screenshot.&lt;br /&gt;
Also please be noted&lt;br /&gt;
1) org.apache.spark.SparkContext need be imported.&lt;br /&gt;
2) create a file called pagecounts,&lt;br /&gt;
3) This program is to read the content from a file named pagecounts, and then print out the first 10 lines, and also print out the total line counts of this file.&lt;br /&gt;
You can put arbitrary content in pagecounts, a sample file can be viewed &lt;a href=&quot;https://drive.google.com/file/d/0B_ZDNNkWG1dYVDJLQnZBS2IxYnc/view?usp=sharing&quot; target=&quot;_blank&quot;&gt;here&lt;/a&gt;. If you place in another folder, please modify the file path accordingly. &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/AVvXsEgCa93HWPZrjfXGg7WxCcWdkuXZRt0Vz-aezjQe4cG_LZdacPhTLdplG2fj6iX5-ZCROep8E56FAWLDY6lvdtmQm2y28QKIk0CC0R3ARt20imh0bwpiYfZVo_3Y2qwDLXvhfXyCOdlMHzQ/s1600/2015-07-13_23-54-45.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/AVvXsEgCa93HWPZrjfXGg7WxCcWdkuXZRt0Vz-aezjQe4cG_LZdacPhTLdplG2fj6iX5-ZCROep8E56FAWLDY6lvdtmQm2y28QKIk0CC0R3ARt20imh0bwpiYfZVo_3Y2qwDLXvhfXyCOdlMHzQ/s1600/2015-07-13_23-54-45.png&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;br /&gt;
&lt;h3&gt;
5) Add Spark jar file&lt;/h3&gt;
We need to download and Spark latest package and unzip it&lt;br /&gt;
Go to: https://spark.apache.org/downloads.html&lt;br /&gt;
Downoad spark package, you can choose 2.4 or 2.6 based on your requirement. For example, a sampe spark-1.4.0-bin-hadoop2.4.tgz can be downloaded &lt;a href=&quot;http://www.apache.org/dyn/closer.cgi/spark/spark-1.4.0/spark-1.4.0-bin-hadoop2.4.tgz&quot; target=&quot;_blank&quot;&gt;here&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/AVvXsEj3zilLSsZWuURKQSEj2wtgGKo0RBLcmz-9fNTTJdyR8mwti1twZpeZKltRIBCStXKyl2Y7_VOQ_8an-wZRytbQ9wJaor8Tmv1NbKKqd9JKXha9v49nDaip22a9aXnGqakV0CM7GXXDkbM/s1600/2015-07-13_23-37-29.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;180&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3zilLSsZWuURKQSEj2wtgGKo0RBLcmz-9fNTTJdyR8mwti1twZpeZKltRIBCStXKyl2Y7_VOQ_8an-wZRytbQ9wJaor8Tmv1NbKKqd9JKXha9v49nDaip22a9aXnGqakV0CM7GXXDkbM/s640/2015-07-13_23-37-29.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
After unzip, we can add the package in our project, click OK with the popup.&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/AVvXsEiia4VH95ii_HCnacXEmHRPr9EjzziUAead_QFHRwfJYM-9XaAl8kfrhRwfqmtqOIKEUoLPI-dXu3XXZpZH0E2qe78JZikhpHfFox3VCsIO-8R979KYNVWIUqXz4NJfy4RALGiZeDtJ-Bc/s1600/2015-07-13_23-43-09.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/AVvXsEiia4VH95ii_HCnacXEmHRPr9EjzziUAead_QFHRwfJYM-9XaAl8kfrhRwfqmtqOIKEUoLPI-dXu3XXZpZH0E2qe78JZikhpHfFox3VCsIO-8R979KYNVWIUqXz4NJfy4RALGiZeDtJ-Bc/s1600/2015-07-13_23-43-09.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h3&gt;
6) Set run configuration&lt;/h3&gt;
in the IntelliJ menu, Run--&amp;gt;Edit Configuration, please choose Application and set up the content as the screenshot below&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/AVvXsEjVGqyrEeTCF3vICxkTFyHgyCCWK_PXnp2kSQ9bmXaV1C3wstmfokOqlLST0F2rCpVAfwCFoZnst8sFSiVl8h_IYYPQHgqxAkzsp79F7uOaE5RrS6WrWCRN0BGNL2tNVuTS0wAjqPnJHpg/s1600/2015-07-13_23-46-08.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/AVvXsEjVGqyrEeTCF3vICxkTFyHgyCCWK_PXnp2kSQ9bmXaV1C3wstmfokOqlLST0F2rCpVAfwCFoZnst8sFSiVl8h_IYYPQHgqxAkzsp79F7uOaE5RrS6WrWCRN0BGNL2tNVuTS0wAjqPnJHpg/s1600/2015-07-13_23-46-08.png&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/AVvXsEimjhwPqsyTbfjI6qoPBsvKg7E061JyQnd6z1QrHPNzH01fKOPDHDEQtodA9Ac2Oc0OuadHbszYlH0-iUNmcSjaOSl7mU4oLD5G3adRWP9F5JkwUOiDJNW4jufCX8XzfKiWpeIQ7Mmcu6s/s1600/2015-07-13_23-48-44.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/AVvXsEimjhwPqsyTbfjI6qoPBsvKg7E061JyQnd6z1QrHPNzH01fKOPDHDEQtodA9Ac2Oc0OuadHbszYlH0-iUNmcSjaOSl7mU4oLD5G3adRWP9F5JkwUOiDJNW4jufCX8XzfKiWpeIQ7Mmcu6s/s1600/2015-07-13_23-48-44.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;h2&gt;
Final: Run it!&lt;/h2&gt;
Click the run button on the toolbar, and the result is good!&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/AVvXsEg5XUsGabmrFFhGlunKTg3nhNLHgNB57bCAWZOO1h7xfrqZTDZf2pPynbX-YF7KZaeaXHVSU2PfRP785PltQXV74qffO5A6h3FKvkWXLjTxeXdQZpmhArNkeo6aenzeOWcu5MqRTs0egc0/s1600/2015-07-13_23-56-23.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/AVvXsEg5XUsGabmrFFhGlunKTg3nhNLHgNB57bCAWZOO1h7xfrqZTDZf2pPynbX-YF7KZaeaXHVSU2PfRP785PltQXV74qffO5A6h3FKvkWXLjTxeXdQZpmhArNkeo6aenzeOWcu5MqRTs0egc0/s1600/2015-07-13_23-56-23.png&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/AVvXsEizsvZkuMoC7ZcQZ5EfslC93Gx-cmDDbvCnJArU-Vn-br03Agu4V9OEX-Ldrp6-U6Wqt2nR-Gf5i3UVF_vQcnwABnkgYKvdWfW8Xm7FzVQzfUivMQZx_89d7XuFTS4Z7AZl7XtfsHXY4PU/s1600/2015-07-13_23-52-54.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/AVvXsEizsvZkuMoC7ZcQZ5EfslC93Gx-cmDDbvCnJArU-Vn-br03Agu4V9OEX-Ldrp6-U6Wqt2nR-Gf5i3UVF_vQcnwABnkgYKvdWfW8Xm7FzVQzfUivMQZx_89d7XuFTS4Z7AZl7XtfsHXY4PU/s1600/2015-07-13_23-52-54.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Please note that in the beginning it will display SLF4J&amp;nbsp;multiple binding problem and Winutil problem like java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries. These can be ignored for now.&lt;br /&gt;
&lt;br /&gt;
Happy Spark!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you think this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/2804628286822111066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/2804628286822111066' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/2804628286822111066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/2804628286822111066'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/07/hello-spark-how-to-configure-spark.html' title='Hello Spark - How to configure Spark development environment on Windows with IntelliJ'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEjpXp7OJPrhgGiR3tu8dZa9LyX1LtWtaU9EscPX31fRTtz9FDV3jJvXgSV79tbBqrqtBNepl-KuGOnQW0P9VHsK7Sl3HwdrmfyQmurZ5NHAPIVc-5TyPbtnAL2jePB_OEZTJ4Y0twrwfWY/s72-c/2015-07-13_22-09-28.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-95008749421880124</id><published>2015-05-02T11:15:00.001+08:00</published><updated>2015-05-02T11:15:11.707+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><title type='text'>Nexus 5 OTA after rooted and TWRP installed</title><content type='html'>I have been using Nexus 5 for quite a long time, and it&#39;s great to frequently receive update notification from google to get me the latest version of Android OS. We often joke that as a Nexus user, we paid for the system and get the device for free.&lt;br /&gt;
&lt;br /&gt;
The update is called OTA (Over The Air). But since google changed its policy of verifying whether an OTA can perform or not, our lives become hard. In short, most of Nexus users will root the device, unlock bootloader and flash third party recovery for instance TWRP. (With this, you have most of controls of the Android OS and install lots of applications.) After done these, the system files will be changed. Google now changed the OTA policy to not only check some of the files are original version but check the whole system partition, which means in our case the OTA check will definitely fail and cannot run the update.&lt;br /&gt;
&lt;br /&gt;
Below is a sample error:&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;expects build fingerprint of google/hammerhead/hammerhead 5.0.1/LRX22C/160258:user/release-keys or google/hammerhead/hammerhead 5.1 LMY47D/1743759 &amp;nbsp; user/release-keys&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;this device has Android/omni_hammerhead/hammerhead:4.4.4/KTU84P/4ef4c299f5:eng/test-keys&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
When what to do?&lt;br /&gt;
&lt;br /&gt;
I had a lot of pain trying different methods, each time failed by the phone cannot boot and I have to reinstall the whole factory image, which means I have a complete fresh OS and have to install all the applications! So each update I need to spend days to get my phone ready, this is really hard.&lt;br /&gt;
&lt;br /&gt;
During this Labors&#39; Day vacation, I decide to study this problem and luckily I found a solution.&lt;br /&gt;
&lt;br /&gt;
First of all,&lt;br /&gt;
Don&#39;t try the sideload, don&#39;t try to use TWRP to install... I have tried all these and they failed. :)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Solution:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. Download Nexus Root Toolkit and update it to the latest version&lt;br /&gt;
2. click&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/AVvXsEjpAfQh61fu-0lo5SzfbGiemR0-uUP-gL3bbxuF262U9Z2sIF1zUN9DpHdMoHrFiBKc5lq-2dH2sTM5FuVxPvvUQrV_I-QGp1b6M_D3rv9B0nfysyB8cHiR6zeZpOJehiAuFYD9pATLHMU/s1600/Snap+2015-05-02+at+10.57.40.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/AVvXsEjpAfQh61fu-0lo5SzfbGiemR0-uUP-gL3bbxuF262U9Z2sIF1zUN9DpHdMoHrFiBKc5lq-2dH2sTM5FuVxPvvUQrV_I-QGp1b6M_D3rv9B0nfysyB8cHiR6zeZpOJehiAuFYD9pATLHMU/s1600/Snap+2015-05-02+at+10.57.40.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;br /&gt;&lt;/div&gt;
&amp;nbsp;3. Very importantly, very importantly, very importantly CHECK don&#39;t flash userdata&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/AVvXsEikggU_weu6x6p-yET3ZWRfEP2LF_GzQHs45ekPS7Bq_S-azagsIqlfRZvyXc9Sfcny0CFCZwCSBkzPf9_q6m4Cn76WGn7XyIamicR1b-eZ5HFIi-2kYbM52AsG8agxC9V1lsAqwXOD3cI/s1600/Snap+2015-05-02+at+10.58.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/AVvXsEikggU_weu6x6p-yET3ZWRfEP2LF_GzQHs45ekPS7Bq_S-azagsIqlfRZvyXc9Sfcny0CFCZwCSBkzPf9_q6m4Cn76WGn7XyIamicR1b-eZ5HFIi-2kYbM52AsG8agxC9V1lsAqwXOD3cI/s1600/Snap+2015-05-02+at+10.58.11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then follow all the instructions to flash, after this is done, phone will boot and updates all the application. Last but not least, flash the latest custom recovery and the latest Super&lt;br /&gt;
&lt;br /&gt;
Enjoy the latest Android!&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; clear: both; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14.8500003814697px; line-height: 20.7900009155273px;&quot;&gt;
&lt;b style=&quot;font-size: 15px; line-height: 20px;&quot;&gt;If you find this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/95008749421880124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/95008749421880124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/95008749421880124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/95008749421880124'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/05/nexus-5-ota-after-rooted-and-twrp.html' title='Nexus 5 OTA after rooted and TWRP installed'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEjpAfQh61fu-0lo5SzfbGiemR0-uUP-gL3bbxuF262U9Z2sIF1zUN9DpHdMoHrFiBKc5lq-2dH2sTM5FuVxPvvUQrV_I-QGp1b6M_D3rv9B0nfysyB8cHiR6zeZpOJehiAuFYD9pATLHMU/s72-c/Snap+2015-05-02+at+10.57.40.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-8213676215209203912</id><published>2015-04-23T20:40:00.003+08:00</published><updated>2015-04-23T20:46:56.376+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>Apache Commons CLI not working? No, it&#39;s a junk character problem</title><content type='html'>I am using Apache command line interface to accept run time parameters.&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/AVvXsEjHeqLxYEDfqh0VVLxNT1eBFs7RtaWj7pYh3iZig8nuHNgOunv5_HK-WmVtEqi0Fnwq-vygJzQ9pi25E9aVHFffFwSnt432MyhBc93E0HK7kcCq2AN6md_4JqG0o_eu7vw6nEdSOa4qVkY/s1600/2015-04-23_20-21-30.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/AVvXsEjHeqLxYEDfqh0VVLxNT1eBFs7RtaWj7pYh3iZig8nuHNgOunv5_HK-WmVtEqi0Fnwq-vygJzQ9pi25E9aVHFffFwSnt432MyhBc93E0HK7kcCq2AN6md_4JqG0o_eu7vw6nEdSOa4qVkY/s1600/2015-04-23_20-21-30.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
While in my code, I am using -t to specify run time topology name.&lt;br /&gt;
But to my surprise, it didn&#39;t work. I took 2 hours to debug this problem and finally by chance I compare the result and find our that&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/AVvXsEhhPjhFx2Z4su12nNFGpctqkHjvFuNG_vySHsGS9Er_0wQpiWwU3NT5n10DKDY_kHLcm5JbFZWNIqw6Lrps2GRNSKG8cAbetHNb_27mHd359391WflqD6Y7Su3MRGIo3AvsLHQbj-nuUgA/s1600/2015-04-23_20-22-51.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/AVvXsEhhPjhFx2Z4su12nNFGpctqkHjvFuNG_vySHsGS9Er_0wQpiWwU3NT5n10DKDY_kHLcm5JbFZWNIqw6Lrps2GRNSKG8cAbetHNb_27mHd359391WflqD6Y7Su3MRGIo3AvsLHQbj-nuUgA/s1600/2015-04-23_20-22-51.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It&#39;s complaining about the - character. What is wrong with it?&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/AVvXsEi_3239zv38hn9r_z5o0kpSWBPyOesw1gMTWfV2hGgYjlMwPsleyJ_ZT3pYHJLdb25tttmfIVgXE2hdHxaejSqAzfCeQef400bZj8UnIGCEBJf3JWiqXKE1ejALBDWMm2inUBW7leJtq_g/s1600/2015-04-23_20-28-54.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_3239zv38hn9r_z5o0kpSWBPyOesw1gMTWfV2hGgYjlMwPsleyJ_ZT3pYHJLdb25tttmfIVgXE2hdHxaejSqAzfCeQef400bZj8UnIGCEBJf3JWiqXKE1ejALBDWMm2inUBW7leJtq_g/s1600/2015-04-23_20-28-54.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I used Notepad++ and there is good plugin called HexEditor and it gives our the answer&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/AVvXsEi91a8yONiFrMbOx9UlY-0KmVeRgS7MtfetRQ_ipdStP-7WDCwbFm6FeNos_IYfoLK45-Xjaj7eLYJcvkhtwYrgO7Nz5gCOBeDwax139zuAWX6dhd2VDbSILzENl0YlJ36HoocC73_Z5XM/s1600/2015-04-23_20-34-27.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/AVvXsEi91a8yONiFrMbOx9UlY-0KmVeRgS7MtfetRQ_ipdStP-7WDCwbFm6FeNos_IYfoLK45-Xjaj7eLYJcvkhtwYrgO7Nz5gCOBeDwax139zuAWX6dhd2VDbSILzENl0YlJ36HoocC73_Z5XM/s1600/2015-04-23_20-34-27.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
This is causing strange problem.&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/AVvXsEj2hTOv5hQ5CKhaGUmuZqLupPBGgyWcA2DjPBe1vBdwnLyrSjSmWCz7zvK8ufOv_V83R-ecZInARis_Awi38QKpc0gh3C9GQqshfH_Xy9JLPtiOKU9q7go3wkJ7O5GdmeafBnhkeEEFBnk/s1600/2015-04-23_20-35-56.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/AVvXsEj2hTOv5hQ5CKhaGUmuZqLupPBGgyWcA2DjPBe1vBdwnLyrSjSmWCz7zvK8ufOv_V83R-ecZInARis_Awi38QKpc0gh3C9GQqshfH_Xy9JLPtiOKU9q7go3wkJ7O5GdmeafBnhkeEEFBnk/s1600/2015-04-23_20-35-56.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;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
You may ask why. This is because when someone sent me the command from Outlook, it was already junked.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
OK. the lesson and learn here is to be careful of the characters you pasted from Outlook, especially when it&#39;s in Chinese environment. We may try to type the command again to avoid problems.&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;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&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;
</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/8213676215209203912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/8213676215209203912' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8213676215209203912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8213676215209203912'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/04/apache-commons-cli-not-working-no-its.html' title='Apache Commons CLI not working? No, it&#39;s a junk character problem'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEjHeqLxYEDfqh0VVLxNT1eBFs7RtaWj7pYh3iZig8nuHNgOunv5_HK-WmVtEqi0Fnwq-vygJzQ9pi25E9aVHFffFwSnt432MyhBc93E0HK7kcCq2AN6md_4JqG0o_eu7vw6nEdSOa4qVkY/s72-c/2015-04-23_20-21-30.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-8690969415802831447</id><published>2015-03-23T18:13:00.002+08:00</published><updated>2015-03-23T18:15:03.588+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><title type='text'>Strange Supervisorctl Problem: unix:///tmp/supervisor.sock no such file</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
I am using supevisord which is a great tool to spawn processes&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
http://supervisord.org/running.html&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;
When I get things configured, I run supervisor with the command below:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;&lt;i&gt;supervisord -c /etc/supervisord.conf&lt;/i&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;text-align: center;&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;
Supervisor runs successfully and I can see programs got started, but when I check processes using&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;i&gt;supervisorctl status&lt;/i&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;span style=&quot;text-align: center;&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;text-align: center;&quot;&gt;I got an strange error as below:&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;text-align: center;&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/AVvXsEh7W6Rp2PvHR3N5wSYpN2Y-q0LgTtQK_CNTQxKJPP94kkf8OmFWn8HeozInyUFIDzFJ80dO5dWNQj1I-gwu8splKyoJtk3yQ4dySJ-rRZXFoT5wqFY6gqT0FhAvieRCfsYX_tS1ZUDuRPA/s1600/2015-03-23_16-51-51.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/AVvXsEh7W6Rp2PvHR3N5wSYpN2Y-q0LgTtQK_CNTQxKJPP94kkf8OmFWn8HeozInyUFIDzFJ80dO5dWNQj1I-gwu8splKyoJtk3yQ4dySJ-rRZXFoT5wqFY6gqT0FhAvieRCfsYX_tS1ZUDuRPA/s1600/2015-03-23_16-51-51.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I tried several solutions for example change supervisord.conf ot use http socket&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/AVvXsEh2QpL2HSfg1ZnVl8VymzOL6El3R33Y4o1A0TlIuhbYVVHVxO0tR50KSPolEJ7HbuEOd4_Rjv32bWFp-9hUsZT1686BV97_DKUUOyPFMd_aZTXvNyyp8jNHjLO4Y9UPMEhC_ZSwlEO3O7A/s1600/2015-03-23_17-46-39.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/AVvXsEh2QpL2HSfg1ZnVl8VymzOL6El3R33Y4o1A0TlIuhbYVVHVxO0tR50KSPolEJ7HbuEOd4_Rjv32bWFp-9hUsZT1686BV97_DKUUOyPFMd_aZTXvNyyp8jNHjLO4Y9UPMEhC_ZSwlEO3O7A/s1600/2015-03-23_17-46-39.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It even reported an refuse connection error.&lt;br /&gt;
supervisorctl status http://127.0.0.1:9001 refused connection.&lt;br /&gt;
&lt;br /&gt;
I searched a lot and finally got the solution.&lt;br /&gt;
&lt;br /&gt;
Problem:&lt;br /&gt;
I was using a old version of supervisord.conf file, people who work on clusters and do maintenance work often do this. But the problem happend because I did a fresh install of supervisord, and copied a supervisord.conf from another machine. The install is the latest version, and the copied one is old, which caused the problem.&lt;br /&gt;
&lt;br /&gt;
The solution is very simple:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;echo_supervisord_conf &amp;gt; /etc/supervisord.conf
#modify supervisord.conf, after it&#39;s done
sudo supervisord -c /etc/supervisord.conf
sudo supervisorctl status
&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The first line generates a new supervisord.conf which is a template, and then you can modify with the programs you want to start. And then start supervisord and check status. The result is good.&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/AVvXsEiVoUYTg0kH0EghTwKrXY7LIj3c7BReJ4aN31G6NTI0IJzRDlKsy5OK7Ob5dUBwfgn1_YgvMk2k9KczfKx-6RqTnb-x34QrmnSOJmc9voBfUO7tLGgjFwAai8Dccu1g8VJjfZpIC7MSm2Y/s1600/2015-03-23_18-12-20.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/AVvXsEiVoUYTg0kH0EghTwKrXY7LIj3c7BReJ4aN31G6NTI0IJzRDlKsy5OK7Ob5dUBwfgn1_YgvMk2k9KczfKx-6RqTnb-x34QrmnSOJmc9voBfUO7tLGgjFwAai8Dccu1g8VJjfZpIC7MSm2Y/s1600/2015-03-23_18-12-20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this article is useful, please click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/8690969415802831447/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/8690969415802831447' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8690969415802831447'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8690969415802831447'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/03/strange-supervisorctl-problem.html' title='Strange Supervisorctl Problem: unix:///tmp/supervisor.sock no such file'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEh7W6Rp2PvHR3N5wSYpN2Y-q0LgTtQK_CNTQxKJPP94kkf8OmFWn8HeozInyUFIDzFJ80dO5dWNQj1I-gwu8splKyoJtk3yQ4dySJ-rRZXFoT5wqFY6gqT0FhAvieRCfsYX_tS1ZUDuRPA/s72-c/2015-03-23_16-51-51.png" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-3833205488653830077</id><published>2015-03-20T17:10:00.002+08:00</published><updated>2015-03-20T17:17:50.767+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BigData"/><category scheme="http://www.blogger.com/atom/ns#" term="Storm"/><title type='text'>Storm slf4j multiple binding problem</title><content type='html'>We are using Storm 0.9.3 and when we try to start supervisor node we found it reported the error below:&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/AVvXsEgBbPDmy1-oEeDRgIRfQUGVZTu2BG0ws3j8DjKeWwhIHun8HiBOJH6vDRL35cac7HKgLGrd_JJSSpvxs4b8jC5ZFsVnaESkv16KK7shiGaZ2RzxFpq2Ysijt022D1zeTBxEoJ-gUAoJ-NM/s1600/2015-03-20_16-30-39.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/AVvXsEgBbPDmy1-oEeDRgIRfQUGVZTu2BG0ws3j8DjKeWwhIHun8HiBOJH6vDRL35cac7HKgLGrd_JJSSpvxs4b8jC5ZFsVnaESkv16KK7shiGaZ2RzxFpq2Ysijt022D1zeTBxEoJ-gUAoJ-NM/s1600/2015-03-20_16-30-39.png&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;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Clearly this is a slf4j multiple binding problem. Basically this famous library is used in different jars, when there are multiple slf4j find in the path only one will be picked up so that some jars called in a different version of slf4j will cause these compatibility problems.&amp;nbsp;&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;
For the log above it clear states that there are 3 slf4j bindings under lib&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;slf4j-jdk14-1.5.6.jar&lt;/li&gt;
&lt;li&gt;slf4j-nop-1.5.3.jar&lt;/li&gt;
&lt;li&gt;logback-classic-1.0.13.jar&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
And it needs 1.6 above as it said&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;
SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
SLF4J: Your binding is version 1.5.5 or earlier.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
SLF4J: Upgrade your binding to version 1.6.x.&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;
Storm is compiled and tested, why it will have multiple slf4j* jars? The actual result is Storm vanilla package is good, but we add some jars to its lib folder:&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/AVvXsEiuKEl6kArKVgQVQn7a3WF410Mz7osUttYvDdEKdkrUWLU6nTAGSlftsfXKtiEfF3Q8BXpE4vTkasR9iWrMAyv5gOj67BmUrz2ADEeHfkQk89uLCL4NvOIFpFkQrwHbA_73BTqfpGxFUG0/s1600/2015-03-20_16-48-35.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/AVvXsEiuKEl6kArKVgQVQn7a3WF410Mz7osUttYvDdEKdkrUWLU6nTAGSlftsfXKtiEfF3Q8BXpE4vTkasR9iWrMAyv5gOj67BmUrz2ADEeHfkQk89uLCL4NvOIFpFkQrwHbA_73BTqfpGxFUG0/s1600/2015-03-20_16-48-35.png&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;
So that when we package our Storm jar, we don&#39;t need each time to include all the packages it required, this is to save time: we develop on windows and upload developed package jar into cluster, if we can have a smaller generated jar file we save our time.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Let&#39;s not judge whether this method is good or not, but the problem here is to solve the binding problem.&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;
The solution is simple:&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
From eclipse dependency&amp;nbsp;&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/AVvXsEi9DpRehi_HL0eyJc5rb_pMnJiIwteiUO9elDcqJ8DtdOmL6TZmE8l722c1jyfjLaEOkR2Rb0QQUa4jADNm21nmsb7j6Chm0ddwpohqwrxiy0IMHu1RU9a2DP6mHFwI0lj-CRV4vudkdb4/s1600/2015-03-20_16-59-34.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/AVvXsEi9DpRehi_HL0eyJc5rb_pMnJiIwteiUO9elDcqJ8DtdOmL6TZmE8l722c1jyfjLaEOkR2Rb0QQUa4jADNm21nmsb7j6Chm0ddwpohqwrxiy0IMHu1RU9a2DP6mHFwI0lj-CRV4vudkdb4/s1600/2015-03-20_16-59-34.png&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;
Let&#39;s remove these two jars which are &amp;nbsp;slf4j 1.5.*&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;slf4j-jdk14-1.5.6.jar&lt;/li&gt;
&lt;li&gt;slf4j-nop-1.5.3.jar&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
It can successfully launch now.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Then here comes another question: when we package Storm application, we want solve the slf4j multiple binding problem?&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
There is a nice pom.xml for you to reference (partial of pom.xml), this is what I searched and copied from internet, honor and thanks go to the original author.&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;&lt;plugin&gt;
 &lt;groupid&gt;org.codehaus.gmaven&lt;/groupid&gt;
 &lt;artifactid&gt;gmaven-plugin&lt;/artifactid&gt;
 &lt;version&gt;1.5&lt;/version&gt;
 &lt;executions&gt;
  &lt;execution&gt;
   &lt;phase&gt;package&lt;/phase&gt;
   &lt;goals&gt;
    &lt;goal&gt;execute&lt;/goal&gt;
   &lt;/goals&gt;
   &lt;configuration&gt;
    &lt;source&gt;&lt;/source&gt;
    File targetDir = new
    File(&quot;${project.basedir.path}/target&quot;.toString())
    println &quot;dir is ${targetDir.path}&quot;
    String jarBaseName = &quot;${project.artifactId}-${project.version}&quot;
    File jarWithUnwantedStuff = new File(targetDir,
    &quot;${jarBaseName}-jar-with-dependencies.jar&quot;.toString())

    def explodedJarDir = new File(targetDir, &quot;explodedJar&quot;.toString())
    def ant = new AntBuilder() // create an antbuilder
    ant.unzip(src: &quot;${jarWithUnwantedStuff.path}&quot;,
    dest: explodedJarDir.path,
    overwrite: &quot;false&quot;)
    File finalJar = new File(targetDir, &quot;${jarBaseName}-deployable.jar&quot;)
    unwantedClassesDir = new File(explodedJarDir,
    &quot;/org/slf4j/impl&quot;.toString())
    unwantedClassesDir.deleteDir()
    ant.zip(basedir: explodedJarDir.path, destFile: finalJar.path)
   &lt;/configuration&gt;
  &lt;/execution&gt;
 &lt;/executions&gt;
&lt;/plugin&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/3833205488653830077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/3833205488653830077' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/3833205488653830077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/3833205488653830077'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/03/storm-slf4j-multiple-binding-problem.html' title='Storm slf4j multiple binding problem'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEgBbPDmy1-oEeDRgIRfQUGVZTu2BG0ws3j8DjKeWwhIHun8HiBOJH6vDRL35cac7HKgLGrd_JJSSpvxs4b8jC5ZFsVnaESkv16KK7shiGaZ2RzxFpq2Ysijt022D1zeTBxEoJ-gUAoJ-NM/s72-c/2015-03-20_16-30-39.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-1318644692147189872</id><published>2015-02-15T14:28:00.005+08:00</published><updated>2015-02-15T14:29:26.114+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Internet"/><title type='text'>Anroid Emulator Genymotion Connect to Internet</title><content type='html'>We have attended an Android training class and the lecturer told us that Genymotion is so far the best Android emulator.&lt;br /&gt;
&lt;img alt=&quot;Home&quot; src=&quot;https://www.genymotion.com/images/header-footer/0447275d.genymotion-home-logo.svg&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
https://www.genymotion.com/&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/AVvXsEinSpP8ozw3Cp7qkEJzHiieJUWWbo90XlSfjKMLcZaEpLPf8up9HrTCTunr_tJwZ7W_MjBLZNMWbVv1AvDAZglLwbWfL_oPChrfhv8YARztVwAS-DgzL31GAqFdP0Of3WWlCDvHBUCt11A/s1600/Snap+2015-02-15+at+14.07.48.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/AVvXsEinSpP8ozw3Cp7qkEJzHiieJUWWbo90XlSfjKMLcZaEpLPf8up9HrTCTunr_tJwZ7W_MjBLZNMWbVv1AvDAZglLwbWfL_oPChrfhv8YARztVwAS-DgzL31GAqFdP0Of3WWlCDvHBUCt11A/s1600/Snap+2015-02-15+at+14.07.48.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
I have setup a device as shown above: Nexus 5 and it can successfully run. But the problem is, when I am in company, I cannot access the network. But you can see on the top the WiFi icon shows connection is successful.&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/AVvXsEiAR9-ZOHYeVjpLd0XB3JExhZuXWD5Kz2VudRAjnYJkLFH-he7KdLOorI42JNzZ35KMeAdVcpR_YHZA5esG1lYtco1xJaz78PLw_yystK1w30xB47kNB_6BM964F-RwdLpxLeWU1zqls2I/s1600/Snap+2015-02-15+at+14.10.16.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/AVvXsEiAR9-ZOHYeVjpLd0XB3JExhZuXWD5Kz2VudRAjnYJkLFH-he7KdLOorI42JNzZ35KMeAdVcpR_YHZA5esG1lYtco1xJaz78PLw_yystK1w30xB47kNB_6BM964F-RwdLpxLeWU1zqls2I/s1600/Snap+2015-02-15+at+14.10.16.png&quot; height=&quot;400&quot; width=&quot;257&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I searched and finally found out a solution.&lt;br /&gt;
&lt;br /&gt;
1. Click and hold the Connected WiFi (typically the name is WiredSSID) for 2 or 3 seconds.&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/AVvXsEiw5LSeDFTDQDEkWWRojxTWU-EvMoq7n_H1P0DIN_Q4097Awqa4cCotWEcsyNmsuU7M_8zkqt_5W0mwpssXCunhfotJphPfpnPmWfvX_kIXmNB9YQ0jW075Iy0jANAJV3sEcBdeCwdj1kA/s1600/Snap+2015-02-15+at+14.22.26.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/AVvXsEiw5LSeDFTDQDEkWWRojxTWU-EvMoq7n_H1P0DIN_Q4097Awqa4cCotWEcsyNmsuU7M_8zkqt_5W0mwpssXCunhfotJphPfpnPmWfvX_kIXmNB9YQ0jW075Iy0jANAJV3sEcBdeCwdj1kA/s1600/Snap+2015-02-15+at+14.22.26.png&quot; height=&quot;137&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
2. Choose modify network&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/AVvXsEhbJrqU2aAmdlJJDv_0EJgDVYpbsWlThCrf7BVN9MhSn3V3roMu4hWlGaNHfN0tsNVg_37WCH3NYu5KCWqTRBvCve17NA2B_1E76SrTdSY-8oRCJsq58Cxsa8qk9OzhyphenhyphenZV9lZz6lHVjQRg/s1600/Snap+2015-02-15+at+14.24.06.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/AVvXsEhbJrqU2aAmdlJJDv_0EJgDVYpbsWlThCrf7BVN9MhSn3V3roMu4hWlGaNHfN0tsNVg_37WCH3NYu5KCWqTRBvCve17NA2B_1E76SrTdSY-8oRCJsq58Cxsa8qk9OzhyphenhyphenZV9lZz6lHVjQRg/s1600/Snap+2015-02-15+at+14.24.06.png&quot; height=&quot;314&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. Specify the proxy hostname and port, then click Save&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/AVvXsEgCwU4Wip4bUq-du4Tw6MIAgG66raoCOwn8HkSPF9JLEFcdFru9GE37Q0jHmIe00THXSBuN3czTyHSYsIkc0Zi4kpw27xJQWP4IlipO1dMeRrjN9MA-2ADRT3N7iyNC13sdGgBe0R-NKLY/s1600/Snap+2015-02-15+at+14.25.52.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/AVvXsEgCwU4Wip4bUq-du4Tw6MIAgG66raoCOwn8HkSPF9JLEFcdFru9GE37Q0jHmIe00THXSBuN3czTyHSYsIkc0Zi4kpw27xJQWP4IlipO1dMeRrjN9MA-2ADRT3N7iyNC13sdGgBe0R-NKLY/s1600/Snap+2015-02-15+at+14.25.52.png&quot; height=&quot;640&quot; width=&quot;353&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. Now you can web surf!&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/AVvXsEiHCf7yyoa_bBUWnT54O71Qo_TnTNwOA1EmGQjqQb_JA8PiCQnwXBNqnka0YZa82sO92v0EOyGjRbbPUovyKoeRXVrCbZ5u-d41niWl0-oTiJL4XmW_PRk0fpAGpu6diLx1Ms2e2aC5tJ4/s1600/Snap+2015-02-15+at+14.27.23.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/AVvXsEiHCf7yyoa_bBUWnT54O71Qo_TnTNwOA1EmGQjqQb_JA8PiCQnwXBNqnka0YZa82sO92v0EOyGjRbbPUovyKoeRXVrCbZ5u-d41niWl0-oTiJL4XmW_PRk0fpAGpu6diLx1Ms2e2aC5tJ4/s1600/Snap+2015-02-15+at+14.27.23.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/1318644692147189872/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/1318644692147189872' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/1318644692147189872'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/1318644692147189872'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/02/anroid-emulator-genymotion-connect-to.html' title='Anroid Emulator Genymotion Connect to Internet'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEinSpP8ozw3Cp7qkEJzHiieJUWWbo90XlSfjKMLcZaEpLPf8up9HrTCTunr_tJwZ7W_MjBLZNMWbVv1AvDAZglLwbWfL_oPChrfhv8YARztVwAS-DgzL31GAqFdP0Of3WWlCDvHBUCt11A/s72-c/Snap+2015-02-15+at+14.07.48.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-5737863517225828979</id><published>2015-02-12T17:41:00.000+08:00</published><updated>2015-02-12T17:41:07.475+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ALM; HP  Application Life Cycle Manager"/><category scheme="http://www.blogger.com/atom/ns#" term="Software Usage"/><title type='text'>HP ALM Manager Cannot Start &quot;Main application process failed to start Contact your system administrator&quot;</title><content type='html'>Our ALM system upgraded to ALM 12 and I tried to use new URL in Internet Explorer but...&lt;br /&gt;
error message:&lt;br /&gt;
&lt;br /&gt;
I am using Windows 7 and finally I found a solution.&lt;br /&gt;
&lt;br /&gt;
In Windows XP: it&#39;s &quot;%USERPROFILE%\Local Settings\Application Data\HP ALM-Client&quot;&lt;br /&gt;
In Windows 7: it&#39;s &quot;%UserProfile%\AppData\Local\HP\ALM-Client&quot;&lt;br /&gt;
&lt;br /&gt;
Fix &amp;nbsp;&lt;br /&gt;
- Make sure that user has Write permission on the ALM client installation folder.&lt;br /&gt;
- Delete this folder&lt;br /&gt;
- Then close IE, then go to the IE icon in the start menu, right-click on the IE icon and select “run as administrator” from the menu.&lt;br /&gt;
&lt;br /&gt;
In my Windows 7 environment, I go to&amp;nbsp;C:\Users\{user}\AppData\Local\HP\ALM-Client&lt;br /&gt;
&lt;br /&gt;
delete the recent generated folder and then launch IE as an administrator&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/AVvXsEiGhnaWp3doYkhZ_x8uRoMpDzBfxTRresu19ZxzCZWFuDIi9bbvobRjvW_A5Ai7m-WlkU8_kp2Dgcw4A5NZB9kqO2Rm4f2feS-QZu0xIBcT-M0caekVJJ4VAFV_kPIyb8nAdaUg4hyphenhyphenb9is/s1600/Snap+2015-02-12+at+17.38.00.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/AVvXsEiGhnaWp3doYkhZ_x8uRoMpDzBfxTRresu19ZxzCZWFuDIi9bbvobRjvW_A5Ai7m-WlkU8_kp2Dgcw4A5NZB9kqO2Rm4f2feS-QZu0xIBcT-M0caekVJJ4VAFV_kPIyb8nAdaUg4hyphenhyphenb9is/s1600/Snap+2015-02-12+at+17.38.00.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It&#39;s back running again!&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/AVvXsEhhHMvybP6RV_p547sKpmO9GWrilutfSQ1GZXi1tOrRsyhtLE0Z9f7D1mHJl5etyn2t5DtPavIyk0Psmc8YR4hsBkop4vlPZqyHrKojYDelbTdtMCBzS3FpBMvtO00rldfpuTtv0S6wg8Y/s1600/Snap+2015-02-12+at+17.39.37.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/AVvXsEhhHMvybP6RV_p547sKpmO9GWrilutfSQ1GZXi1tOrRsyhtLE0Z9f7D1mHJl5etyn2t5DtPavIyk0Psmc8YR4hsBkop4vlPZqyHrKojYDelbTdtMCBzS3FpBMvtO00rldfpuTtv0S6wg8Y/s1600/Snap+2015-02-12+at+17.39.37.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/5737863517225828979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/5737863517225828979' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5737863517225828979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5737863517225828979'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/02/hp-alm-manager-cannot-start-main.html' title='HP ALM Manager Cannot Start &quot;Main application process failed to start Contact your system administrator&quot;'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEiGhnaWp3doYkhZ_x8uRoMpDzBfxTRresu19ZxzCZWFuDIi9bbvobRjvW_A5Ai7m-WlkU8_kp2Dgcw4A5NZB9kqO2Rm4f2feS-QZu0xIBcT-M0caekVJJ4VAFV_kPIyb8nAdaUg4hyphenhyphenb9is/s72-c/Snap+2015-02-12+at+17.38.00.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-1128044795227351364</id><published>2015-01-30T14:26:00.002+08:00</published><updated>2015-01-30T14:30:09.774+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="BigData"/><category scheme="http://www.blogger.com/atom/ns#" term="Hadoop"/><category scheme="http://www.blogger.com/atom/ns#" term="YARN"/><title type='text'>Problems in YARN: Why only SecondaryNameNode started? [Solved]</title><content type='html'>I was configuring a YARN cluster and after all set I tried to start services.&lt;br /&gt;
./start-dfs.sh&lt;br /&gt;
./start-yarn.sh&lt;br /&gt;
&lt;br /&gt;
To my surprise, I only see SecondaryNameNode service got started. What? I didn&#39;t configure the SecondaryNameNode service, also where is my NameNode service which I really want?&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/AVvXsEjVH0vnPEQxXu214fafLTQmnAojfr3YTrpg-C42Xjc_XGduTop0C25dAv0QXwyn73ff1-B1JV3DQr0X_XWFvhGiaMf4DFCs449ZjzcrM1fv0ms2xoET_qotoIXeg-Uk5A5xEucNpNTxh_s/s1600/Snap+2015-01-29+at+17.51.41.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/AVvXsEjVH0vnPEQxXu214fafLTQmnAojfr3YTrpg-C42Xjc_XGduTop0C25dAv0QXwyn73ff1-B1JV3DQr0X_XWFvhGiaMf4DFCs449ZjzcrM1fv0ms2xoET_qotoIXeg-Uk5A5xEucNpNTxh_s/s1600/Snap+2015-01-29+at+17.51.41.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I also checked the log and it says that:&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/AVvXsEiJIsvls2Gn6HopKrH-aumJVoGbVVh2vD_gMBNdoZIwvs36XdmhVs8Fl8U262jGUTlH739cn6XNYQY2PiOwIepcE0a9vsrEI8qwWFNUcAtXtKKiLC4w7S1Wo8cn7w_Bl1Ap9jMnsoATlbU/s1600/Snap+2015-01-29+at+17.51.17.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/AVvXsEiJIsvls2Gn6HopKrH-aumJVoGbVVh2vD_gMBNdoZIwvs36XdmhVs8Fl8U262jGUTlH739cn6XNYQY2PiOwIepcE0a9vsrEI8qwWFNUcAtXtKKiLC4w7S1Wo8cn7w_Bl1Ap9jMnsoATlbU/s1600/Snap+2015-01-29+at+17.51.17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The log shows that port 50070 already in use. But I run a command:&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;lsof -i:50070
&lt;/pre&gt;
There is nothing there using the port.&lt;br /&gt;
&lt;br /&gt;
Also the host address is 0.0.0.0, this seems very wrong.&lt;br /&gt;
I checked many posts and they all didn&#39;t guide me to the root cause. Finally I found out the root cause&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;[Solution]&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
in hdfs-site.xml, there is one entry that&#39;s necessary:&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;&lt;property&gt;
&lt;name&gt;dfs.http.address&lt;/name&gt;
&lt;value&gt;myHostNodename:50070&lt;/value&gt;
&lt;/property&gt;
&lt;/pre&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/AVvXsEi6IzyGV8Lq6xPmHmjHsfYo4OINdtXoNO2ndL64Lwjy3KYT_qiioa4HeC2VBPEIrj6_Zi6CcfTbyW0VJVRTJK8z0haH8uTelz2CRg9O9ATCz7wtElZhjkle2-xqIH_iepWSx_UkeleRD0s/s1600/Snap+2015-01-30+at+14.17.52.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/AVvXsEi6IzyGV8Lq6xPmHmjHsfYo4OINdtXoNO2ndL64Lwjy3KYT_qiioa4HeC2VBPEIrj6_Zi6CcfTbyW0VJVRTJK8z0haH8uTelz2CRg9O9ATCz7wtElZhjkle2-xqIH_iepWSx_UkeleRD0s/s1600/Snap+2015-01-30+at+14.17.52.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;property&gt;&lt;/property&gt;

If you want your secondary namenode, please add another one&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;brush:xml&quot;&gt;&lt;property&gt;
&lt;name&gt;dfs.secondary.http.address&lt;/name&gt;
&lt;value&gt;my2ndHostNodename:50090&lt;/value&gt;
&lt;/property&gt;
&lt;/pre&gt;
Happy World!&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnamdT_4vTC7a50fd7yEcyJ39J5rPl-SFWBjHLgzgOnAaELKjbdApBbEyPONB9DzS2Qq3IqvLFqTialaC4fslEeXXLvz37MwXeXHa3iwWH7f9aisgA-I4L9Zxp09G8DRUYZn160MWykjw/s1600/Snap+2015-01-30+at+14.29.32.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnamdT_4vTC7a50fd7yEcyJ39J5rPl-SFWBjHLgzgOnAaELKjbdApBbEyPONB9DzS2Qq3IqvLFqTialaC4fslEeXXLvz37MwXeXHa3iwWH7f9aisgA-I4L9Zxp09G8DRUYZn160MWykjw/s320/Snap+2015-01-30+at+14.29.32.png&quot; /&gt;&lt;/a&gt;

&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/1128044795227351364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/1128044795227351364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/1128044795227351364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/1128044795227351364'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/01/problems-in-yarn-why-only.html' title='Problems in YARN: Why only SecondaryNameNode started? [Solved]'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEjVH0vnPEQxXu214fafLTQmnAojfr3YTrpg-C42Xjc_XGduTop0C25dAv0QXwyn73ff1-B1JV3DQr0X_XWFvhGiaMf4DFCs449ZjzcrM1fv0ms2xoET_qotoIXeg-Uk5A5xEucNpNTxh_s/s72-c/Snap+2015-01-29+at+17.51.41.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-6026453083680323806</id><published>2015-01-20T16:41:00.002+08:00</published><updated>2015-01-21T00:54:39.130+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Storm"/><title type='text'>Storm Supervisor Error - kill ***: No such process </title><content type='html'>My Storm cluster has 4 nodes: 1 nimbus node and 3 supervisor nodes. When I was trying to start supervisor using the command:&lt;br /&gt;
&lt;br /&gt;
storm supervisor&lt;br /&gt;
&lt;br /&gt;
It&#39;s strange that 2 supervisors got started successfully but 1 supervisor not. When I check the log:&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/AVvXsEhs5ovvlrkCZzQJ7MV0GaypKiGvTVtahv00si-U0gL8ax9S9hU0OuYaNgvL6nVEGGcwBN6jZ8jHT2cB1Y7OrNCF8wu2zOQVMFRdepLqMfK9VEidaa4gz4xdpPz5p8GP1GA5kvzyU1qqIek/s1600/Snap+2015-01-20+at+16.26.44.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/AVvXsEhs5ovvlrkCZzQJ7MV0GaypKiGvTVtahv00si-U0gL8ax9S9hU0OuYaNgvL6nVEGGcwBN6jZ8jHT2cB1Y7OrNCF8wu2zOQVMFRdepLqMfK9VEidaa4gz4xdpPz5p8GP1GA5kvzyU1qqIek/s1600/Snap+2015-01-20+at+16.26.44.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It is saying lots of kill ***: No such process errors. After some search I find it&#39;s an error caused by workers not get started.&lt;br /&gt;
&lt;br /&gt;
When checking the log of one of the worker &amp;nbsp;$STORM_HOME/logs/worker-****.log&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/AVvXsEgXUdIbkLPu0eqzIMrYmih3g8eCqIwuSqrUtD_knYFGXK4PNNM1BAYYy766OdnD6CoTx84UrB5DsRcHVJcHWhi0nkczRN0HSDAqg-I3T7h8IOvk5gdBO-lULKbZQXLTdRZPSBfHO9HEnqA/s1600/Snap+2015-01-20+at+16.32.33.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/AVvXsEgXUdIbkLPu0eqzIMrYmih3g8eCqIwuSqrUtD_knYFGXK4PNNM1BAYYy766OdnD6CoTx84UrB5DsRcHVJcHWhi0nkczRN0HSDAqg-I3T7h8IOvk5gdBO-lULKbZQXLTdRZPSBfHO9HEnqA/s1600/Snap+2015-01-20+at+16.32.33.png&quot; height=&quot;266&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
It shows that worker died, because there are missing information from zookeeper, which comes from unexpected shutdown of the storm nodes.&lt;br /&gt;
&lt;br /&gt;
The solution is this:&lt;br /&gt;
1. Kill all the running topology (I did this step but not sure whether this is an mandatory step)&lt;br /&gt;
2. Clear the supervisor data information in storm data folder, for example my storm data is /opt/mount/data/storm-data, and there is a folder called supervisor and maybe one called worker, please delete both of them.&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/AVvXsEgWXCswkntnSr8ogY-uGa2BC5A1WBy1gz-X_emKRQhtEKPYjvfJAAIbeBAds9h7jaETQYpYfDirVFOFksjR1Ug7Q4Ha_J4JK9vH8YFdGUhaSefH4Mq9yhE24M4Rk92CB8yl0rH0Ghijhy0/s1600/Snap+2015-01-20+at+16.37.01.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/AVvXsEgWXCswkntnSr8ogY-uGa2BC5A1WBy1gz-X_emKRQhtEKPYjvfJAAIbeBAds9h7jaETQYpYfDirVFOFksjR1Ug7Q4Ha_J4JK9vH8YFdGUhaSefH4Mq9yhE24M4Rk92CB8yl0rH0Ghijhy0/s1600/Snap+2015-01-20+at+16.37.01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
The storm data location is defined in the storm.yaml file,&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/AVvXsEh8hJD5m1l9_qQIg41GcmUIxesqcwgUABECvwtH6FZHmbNSlaSpE0VZhqFYYOJxP6dnVeURaod25HAipVF1ZZMDRnRjucxjLj6P2NuQGBexc7qjVpy7f1xCu4V4yiDeNBikMTcYiiz0Yh8/s1600/Snap+2015-01-20+at+16.40.20.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/AVvXsEh8hJD5m1l9_qQIg41GcmUIxesqcwgUABECvwtH6FZHmbNSlaSpE0VZhqFYYOJxP6dnVeURaod25HAipVF1ZZMDRnRjucxjLj6P2NuQGBexc7qjVpy7f1xCu4V4yiDeNBikMTcYiiz0Yh8/s1600/Snap+2015-01-20+at+16.40.20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
After all these, start storm again, and it&#39;s running happily!&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/6026453083680323806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/6026453083680323806' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/6026453083680323806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/6026453083680323806'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/01/storm-supervisor-error-kill-no-such.html' title='Storm Supervisor Error - kill ***: No such process '/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhs5ovvlrkCZzQJ7MV0GaypKiGvTVtahv00si-U0gL8ax9S9hU0OuYaNgvL6nVEGGcwBN6jZ8jHT2cB1Y7OrNCF8wu2zOQVMFRdepLqMfK9VEidaa4gz4xdpPz5p8GP1GA5kvzyU1qqIek/s72-c/Snap+2015-01-20+at+16.26.44.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-6259889106246584361</id><published>2015-01-06T00:09:00.002+08:00</published><updated>2015-01-06T00:09:55.476+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Programming"/><title type='text'>[Solved]HBase Java program Joda time problem - NoSuchMethodError: org.joda.time.DateTime.now()</title><content type='html'>I am writing a HBase program and use Joda time as my time type. I have a simple api call&lt;br /&gt;
&lt;br /&gt;
System.out.println(DateTime.now()) &amp;nbsp;which DateTime was imported as&lt;br /&gt;
&lt;br /&gt;
In Eclipse the code is compiled successfully, but when I tried to execute it it poped up a strange error:&amp;nbsp;&amp;nbsp;NoSuchMethodError: org.joda.time.DateTime.now()&lt;br /&gt;
&lt;br /&gt;
What? DateTime.now() is a well-known API and I check the source code, it&#39;s available since Joda jar 2.0, in my maven dependency it clearly shows that my joda jar library is 2.0. Then I even manually added a latest version which is version 2.6 and clearly see that the 2.6 version is picked up.&lt;br /&gt;
&lt;br /&gt;
But, the problem still exists. What&#39;s wrong with Joda?&lt;br /&gt;
Then I see that in my project, I also have storm-core api, which also has a joda-time dependency, so I exclude it. Now I see that&lt;br /&gt;
in Eclipse the DateTime also has library, and it points to&amp;nbsp;jruby-complete-1.6.8.jar, then it tells me whether the problem is.&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/AVvXsEhfBm52X29DpCudowAFXmOhvs0obq75NeIOHVYUcnhc3dMiYMkg3GLXX0a6k0wqza0RKEis-CxmobCbCUfDVgilfLo0U_dEkVsZaUT84lpehv7EQCfLIv32f1gHIQuMa9QcwYIM1fFPOI8/s1600/Snap+2015-01-05+at+23.58.24.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/AVvXsEhfBm52X29DpCudowAFXmOhvs0obq75NeIOHVYUcnhc3dMiYMkg3GLXX0a6k0wqza0RKEis-CxmobCbCUfDVgilfLo0U_dEkVsZaUT84lpehv7EQCfLIv32f1gHIQuMa9QcwYIM1fFPOI8/s1600/Snap+2015-01-05+at+23.58.24.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Root cause:&lt;br /&gt;
1. my HBase program imported external jars, one of them is jruby-complete-1.6.8.jar, which internally has a joda-time reference, but it&#39;s a very low version.&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/AVvXsEijeU8SBKMOO3yg_FaXgeLsTu0Ly9O7lqBuh5Yd0HidtwmhYlmJq47Uw0NVuxhfkxDKJRUchiqEaQUwXCD60ZcOHVjucK56HpM6nQrWQVvTFU3DsU4iyndRFgohLz7tlJA0PTUrKa65dF8/s1600/Snap+2015-01-06+at+00.02.42.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/AVvXsEijeU8SBKMOO3yg_FaXgeLsTu0Ly9O7lqBuh5Yd0HidtwmhYlmJq47Uw0NVuxhfkxDKJRUchiqEaQUwXCD60ZcOHVjucK56HpM6nQrWQVvTFU3DsU4iyndRFgohLz7tlJA0PTUrKa65dF8/s1600/Snap+2015-01-06+at+00.02.42.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. somehow this version got picked up and makes DateTime.now() has a problem as it&#39;s only available after 2.0&lt;br /&gt;
&lt;br /&gt;
Solution&lt;br /&gt;
1. remove the external library jruby-complete-1.6.8.jar in Java Build Path (as the screenshot above, choose the jruby-complete-1.6.8.jar and click Remove)&lt;br /&gt;
2. Use maven to add jruby-complete-1.6.8 dependency&lt;br /&gt;
&lt;br /&gt;
&lt;dependency&gt;&lt;/dependency&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;groupid&gt;org.jruby&lt;/groupid&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;artifactid&gt;jruby-complete&lt;/artifactid&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;version&gt;1.6.8&lt;/version&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;scope&gt;provided&lt;/scope&gt;&lt;br /&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/AVvXsEgW_DDgULQWvv7nCCNZnQYkjUfoyC1YGwJfi_WKFHBDaZDzwkYs1wVMQX-9PtZExp0aUIkNm4d6OY2ih8VwBa-cnnZoWCgVsabXa2jtREGFYUTYi8FTTtlRu7rOiaYnXBkcfLRvrJOCE0E/s1600/Snap+2015-01-05+at+23.46.32.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/AVvXsEgW_DDgULQWvv7nCCNZnQYkjUfoyC1YGwJfi_WKFHBDaZDzwkYs1wVMQX-9PtZExp0aUIkNm4d6OY2ih8VwBa-cnnZoWCgVsabXa2jtREGFYUTYi8FTTtlRu7rOiaYnXBkcfLRvrJOCE0E/s1600/Snap+2015-01-05+at+23.46.32.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. Add Joda-time dependency and make sure it comes first as the screenshot below shows&lt;br /&gt;
&lt;dependency&gt;&lt;/dependency&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;groupid&gt;joda-time&lt;/groupid&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;artifactid&gt;joda-time&lt;/artifactid&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;version&gt;2.6&lt;/version&gt;&lt;br /&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/AVvXsEhAMNDQD_Pilt41PRjbxQAOhWNHJVTLmt_Cnz6HgIeovYv2CQhgK5l83eImavbniMafLU8jbZr82ps2Y2cjKAkXbw2ejHrjCJ8XOTFZuoXf3vIcHPxe0kN_fEdGrUTYlDQrbI_uSWyvw8U/s1600/Snap+2015-01-06+at+00.07.57.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/AVvXsEhAMNDQD_Pilt41PRjbxQAOhWNHJVTLmt_Cnz6HgIeovYv2CQhgK5l83eImavbniMafLU8jbZr82ps2Y2cjKAkXbw2ejHrjCJ8XOTFZuoXf3vIcHPxe0kN_fEdGrUTYlDQrbI_uSWyvw8U/s1600/Snap+2015-01-06+at+00.07.57.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
DateTime.now() is a wonderful world!&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/6259889106246584361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/6259889106246584361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/6259889106246584361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/6259889106246584361'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2015/01/solvedhbase-java-program-joda-time.html' title='[Solved]HBase Java program Joda time problem - NoSuchMethodError: org.joda.time.DateTime.now()'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhfBm52X29DpCudowAFXmOhvs0obq75NeIOHVYUcnhc3dMiYMkg3GLXX0a6k0wqza0RKEis-CxmobCbCUfDVgilfLo0U_dEkVsZaUT84lpehv7EQCfLIv32f1gHIQuMa9QcwYIM1fFPOI8/s72-c/Snap+2015-01-05+at+23.58.24.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-5853136973306410624</id><published>2014-12-12T15:48:00.001+08:00</published><updated>2014-12-12T15:51:31.677+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software Usage"/><title type='text'>[Solved] SecureCRT Public Key Dialog - A public key file has not been specified</title><content type='html'>SecureCRT is an excellent tool that can help us manage multiple sessions. There is a free and famous tool called putty, but in my opinion SecureCRT is much better.&lt;br /&gt;
&lt;br /&gt;
But there is one thing which is annoying:&lt;br /&gt;
when connecting to a new server, it always popup a public key dialog &quot;A public key file has not been specified for this session. Would you like to specify one now?&quot;&lt;br /&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/AVvXsEhFaJzBelJWvtbTRiQMF-CtkPMaFoUfT2GBMELpknVAQfqO6wbwENNg3fgP8z9OGe0kGp2Px_4RzhyVoENEXZuhRudZwotarcg57XnueCLjR9opIArHYpG88J3nGEEi7hzjCUN129kEkyg/s1600/Snap+2014-12-12+at+15.43.35.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/AVvXsEhFaJzBelJWvtbTRiQMF-CtkPMaFoUfT2GBMELpknVAQfqO6wbwENNg3fgP8z9OGe0kGp2Px_4RzhyVoENEXZuhRudZwotarcg57XnueCLjR9opIArHYpG88J3nGEEi7hzjCUN129kEkyg/s1600/Snap+2014-12-12+at+15.43.35.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;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
Then I have to click now and go on, which is really wasting time.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
To solve this, we can set up a SSH key, but also way can do these steps by only use password authentication:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
1.&amp;nbsp;&lt;span style=&quot;font-size: 7pt; font-stretch: normal; text-indent: -0.25in;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-indent: -0.25in;&quot;&gt;right click a session and view its properties&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/AVvXsEja_PvRzLkr6uDXsYDEvXD5SV2siOLgegNp-4p3UJBuHrk0xVlz7xiIu3qa4LfrhH-sHNaUA31BAc5Nc75s_5N2TzD8qkTWtXc2_19JjRkSeSQQ2wsXPOTgGaKXG3kpuT1w4xe6Gx6A5HE/s1600/Snap+2014-12-12+at+15.37.15.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/AVvXsEja_PvRzLkr6uDXsYDEvXD5SV2siOLgegNp-4p3UJBuHrk0xVlz7xiIu3qa4LfrhH-sHNaUA31BAc5Nc75s_5N2TzD8qkTWtXc2_19JjRkSeSQQ2wsXPOTgGaKXG3kpuT1w4xe6Gx6A5HE/s1600/Snap+2014-12-12+at+15.37.15.png&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;text-indent: -0.25in;&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;text-indent: -0.25in;&quot;&gt;2. Unselect the &quot;PublicKey&quot; dialog&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/AVvXsEizNObwei1n5CXwVqLdJmSC1IL8h4OKR_NY2gVWIEGSggZSI4uk84yl-lfgE3_fZrD17lYK1_AHMojfD_XKgc0mqQPyin5R1KgiC1TUrzCO6lKls-Dw9wG_NJbaruWoKDKR3HMDg47zUYw/s1600/Snap+2014-12-12+at+15.46.45.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/AVvXsEizNObwei1n5CXwVqLdJmSC1IL8h4OKR_NY2gVWIEGSggZSI4uk84yl-lfgE3_fZrD17lYK1_AHMojfD_XKgc0mqQPyin5R1KgiC1TUrzCO6lKls-Dw9wG_NJbaruWoKDKR3HMDg47zUYw/s1600/Snap+2014-12-12+at+15.46.45.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;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: left;&quot;&gt;
After save the annoying dialog will be gone. Save my life for 3 seconds each time, although I wasted too much.&amp;nbsp;&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;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px; text-indent: 0px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoListParagraph&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/5853136973306410624/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/5853136973306410624' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5853136973306410624'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5853136973306410624'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/12/solved-securecrt-public-key-dialog.html' title='[Solved] SecureCRT Public Key Dialog - A public key file has not been specified'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhFaJzBelJWvtbTRiQMF-CtkPMaFoUfT2GBMELpknVAQfqO6wbwENNg3fgP8z9OGe0kGp2Px_4RzhyVoENEXZuhRudZwotarcg57XnueCLjR9opIArHYpG88J3nGEEi7hzjCUN129kEkyg/s72-c/Snap+2014-12-12+at+15.43.35.png" height="72" width="72"/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-4992976261346709062</id><published>2014-08-04T14:40:00.002+08:00</published><updated>2014-08-04T14:40:48.558+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><title type='text'>[Solved]Eclipse Font Problem</title><content type='html'>I met an eclipse font problem that the tab header looks very uncomfortable, as shown below:&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/AVvXsEgCwrXdnJxCIczUWGrpNhL3l1BF5LQGAnNXXvGRacG-ChS5xIynzyZGbyMbQmrfmKiNPFjYXYQl7BH5I880U8_YmV_I-7WLHJiWHbkn9ccebBZQThLHq0pwnH1syewOfsSLVmkbYc-aejo/s1600/Snap+2014-08-04+at+14.31.02.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/AVvXsEgCwrXdnJxCIczUWGrpNhL3l1BF5LQGAnNXXvGRacG-ChS5xIynzyZGbyMbQmrfmKiNPFjYXYQl7BH5I880U8_YmV_I-7WLHJiWHbkn9ccebBZQThLHq0pwnH1syewOfsSLVmkbYc-aejo/s1600/Snap+2014-08-04+at+14.31.02.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The text font a little ugly and is different from the menu bar like the Windows menu or Help menu. I tried to modify the font settings in preference but didn&#39;t make it: there are many items in font settings and I don&#39;t know which is exactly the one I need to modify and I tried a few but didn&#39;t work.&lt;br /&gt;
&lt;br /&gt;
Finally I happened to find a solution: this is controlled by Theme settings.&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/AVvXsEiXhgvQEXw8kyv1tDqUyBbnTDIbxzuQtqV5crjuUigNb8UUAUEVAWkMrDikCo0HQ1doxT_TxsjC52BZiuolU3z5lSDgOSc2sx_jqCTlSDYNuTnPQX0DDHnub5l0YX-h_wr1o4c1a51aadk/s1600/Snap+2014-08-04+at+14.31.34.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/AVvXsEiXhgvQEXw8kyv1tDqUyBbnTDIbxzuQtqV5crjuUigNb8UUAUEVAWkMrDikCo0HQ1doxT_TxsjC52BZiuolU3z5lSDgOSc2sx_jqCTlSDYNuTnPQX0DDHnub5l0YX-h_wr1o4c1a51aadk/s1600/Snap+2014-08-04+at+14.31.34.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;The solution is to change the appearance to Windows 7.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
After I made the change and restart, it looks like below:&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/AVvXsEi0_yOs1zHVL78g1XIRELpQ31K_q_8CrPhEvxdaEExi7Zalwo8Dn7IJrRNtObP1Hyre3_0ijr11TIeXi3P6iQi35KVutLIMGgaGnOsNZkJk1zH_yhKZzeRSvXSZfYztjrhlAb_CMKciWrM/s1600/Snap+2014-08-04+at+14.40.00.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/AVvXsEi0_yOs1zHVL78g1XIRELpQ31K_q_8CrPhEvxdaEExi7Zalwo8Dn7IJrRNtObP1Hyre3_0ijr11TIeXi3P6iQi35KVutLIMGgaGnOsNZkJk1zH_yhKZzeRSvXSZfYztjrhlAb_CMKciWrM/s1600/Snap+2014-08-04+at+14.40.00.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/4992976261346709062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/4992976261346709062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/4992976261346709062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/4992976261346709062'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/08/solvedeclipse-font-problem.html' title='[Solved]Eclipse Font Problem'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEgCwrXdnJxCIczUWGrpNhL3l1BF5LQGAnNXXvGRacG-ChS5xIynzyZGbyMbQmrfmKiNPFjYXYQl7BH5I880U8_YmV_I-7WLHJiWHbkn9ccebBZQThLHq0pwnH1syewOfsSLVmkbYc-aejo/s72-c/Snap+2014-08-04+at+14.31.02.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-2376392422441626720</id><published>2014-07-14T12:44:00.001+08:00</published><updated>2014-07-14T12:44:14.790+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software Usage"/><title type='text'>Save Power: Windows Scheduled Sleep and Scheduled Wake Up</title><content type='html'>I have got two laptops, and I plan their roles as: one in the office and the other at home, and I can remote desktop to each other using a great tool called TeamViewer. But here comes a problem that I don&#39;t want these two laptops to be always running because I think this would affect laptop&#39;s health and in another way this is not necessary during some time frame for example when I sleep this laptop should be turned off to save power.&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;Image result for HP Z15&quot; src=&quot;data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAGEAcgMBIgACEQEDEQH/xAAcAAABBAMBAAAAAAAAAAAAAAAAAgUGCAEDBwT/xABPEAABAgMFAgcJCBAHAAAAAAABAgMABBEFBhIhMUFRBxMUYXGB0iI2UlORk6Gy0RUjMkNUdZLBFiUzQkVVVmJyc3SjsbPh8CQ0NYOFlKL/xAAZAQEAAwEBAAAAAAAAAAAAAAAAAQIEAwX/xAApEQACAQMCBQMFAQAAAAAAAAAAAQIDERIEITFRsdHwIpHhFEGhwfET/9oADAMBAAIRAxEAPwDuMEEMN/HXWLlW66w4ptxFnvFK0mhScBzB2QA9l1sGhWkdJjHHtD41H0hFU5G7qrQY49ldktJxEYZiabbVl+adkbVXXwnCqfu8lW42i1WLKLZVzSLTcoYGrzf0hGOVyw1mGvpiKtLug4mmOeu6mumK0mRWEKumoE1tK7mWv2zZy9MMWRmvEWn5bK/KWfOCMculPlTHnBFW03PeUnEmesHCcqi0WqQj7FwKhVq3eBGR+2LXthgxmvLlpuXyXyuX86mMG0ZEazkv51PtirYuyj8b3f6rQbjai7aB+Grvj/kG4nBjNeJlnvdOz/l0r55PtjHurZ1acvlPPJ9sVmF32h+G7A/76I0Ttjtykst9Np2TMYaVblppLizU0yA6Yhxa3JUk9kWsBqKiCI/wfKUu5FhqWok8ibzPREgipYIIIIAIj/CD3i3g+bn/AFDEgiP8IHeLeD5tf9QwBWmznUNTIcALq0KJUwoHCtOVKUzJrshyawvzDj005LstpTUMhKsOwjTfvz1Ma7LRikCoupCeMUClSVHdujY84lKCUraUQNiFCNEdQ1DBoph68gIS40jCpaXKc4BjLM4thsNobl1JHjGELJ6SoEwhplx1hSwpRShPdUFadMIWrHSp0FNMozNJnXdbjiLHetCyeVtJQShC3VIFASAsg4UjdrlsEQ6cYAUdI7Fda0mrMuvZ7jrYW2rjsRCaqT74sZb+iIneG6UxNIVaVgBM9KLzUhr7o0doKTmerPmj3KXqpK55KklUaT3I3cWyZa07yMNTzfGSzQLrrYHwgKUB0yqR06bYmHCbZUkXWlMNNt4GzRKEhO2PFwXTLsjatoSjiQgKbCnAQAoYTTPbQYhlEhtl5AYtGaSgTBS0UY10CQaHuSeuuW6kTDGm22jVKnOpbFnK7HZadmpmSebT79LLDRUPgLAxpPNoR0GMSDOBS10+8+sQuUs6dRNNzD5wcc2pYUTmtKsSSeuiocpmV5PJrcHMPSI54R/wnJq3Gx2jRqN5R4fcslwe95Fh/sTf8IkMRzg5NbiWCd8i16oiRx450CCCCACGDhA7xrwfNsx/LMP8MF/+8a8PzbMfy1QBXSyMSpVxFCRjjDjawlYwKyBrlCrGbUZNagpoYln4TqUnLpMLfbcbUUpDS8YoClQIz6NsAPdi22mzrKUytkr1KcIFFV8L+zEer1dEKVx5ACW1U0oVV+qNzSgSA42ARmkhdBu+qIWyt5uQk+bHOXtFwWAxLVbDbXGUrrmtSvrhusy8k3YdoiZklpCFGjrSz3Dg3GnoOyNaG5pSAgSRcTiNDicPpAptjBl36HFZpyOtXY9COtSgoYmFaK1R1HLiT9u1LrXv7icbYl5wjCpK14HUn81SdfLGlFjszMq3d6SKyyhxQW48cJKUqpXIZk76c8QdLL2P/T1VO5bmfXSM0tAVKWptseClxYz601in1fJHo0MKd3NX/B1i83B3L2jZss9YySmblZcNISVdytKakJI61Cu8iscZtF8qlHWlApUCAUnIgg6ER7gbVBolU6P95fsjx2m3NJs91b4WE4kg41Z1JroRXZrHGVaTVmaaerwpyp22exY7g47wrA/YGvVESOI5wc94d3/2Bn1REjjiZAggggAhgv8A9414fm2Y/lqh/hlvrLuTdz7cl2E4nXbPfQhNQKkoIGZgCuNhS827JlUvKl0KWqlOYVP8DHrck55tSSuTw03qG/8ApEakmGZiZKJqbMo0ElXGFpTlTUUGFOe2teaNs/JSzTaVydrGcWV0Ujk7jdBQ51VrpTri3pKWl5/R/QxNacnSKKxVKo9Nnpcl3FqcbWMXg03n2xByy7tWYTxLnhmJvDk/f4ItU5r2+TpctOqlnw+2hXGDTEkH+9Y9xvLObUJrzspjlDKVtvNrUnjAlQJQqtFcxhL6VOPOOJGAKUVBCdE1Og5o6qskrW6djPPSyk7uXXuThMnZ6MOGVdBToQs5f+od5a335CWSzLNKUlJPwkpJzzzJMcsLbnhKjHFueEuCrpcF07FXo2+Muvc6t9lk9tlh9BERa800uZlpl1TRRxi0rVU17qp58tYYLPkpF5pSrQtR2TWFUSgSincQ31BFOiNM9LSzD6UyM6ucaKaqcLBaod1CTzZ88VnVU1Z/rsXp6XCWV+vctVwdd4d3/m9n1REihhuJLuSty7Dl3gA43ItJUAoGhwjaMofo4msIIIIAI5Pww3sCZV2xJNYOLuHyk/CV4HQNT1CJhf286Lv2ZgYUOXzAKWR4A2rPRs5+uOFzymXgp2YaDy6EBS1rBz1NQQT1wBFxNrZXgQ6jIEFQZHsqYOVKUanixQ0VVpJw6Z6Z7dIWrAh4FLYognCglRCeipjeyhE1MuvTCeMqcSwpSqKVz513wB4zMKIoUs1pX7mnSmoy9HRzxkOKomnEqxGiSGwMXoy2a7tYcxKSFP8AKNg/pudqFcks7P8AwjY58a+1ADXx51wNYQczxYy1y200O/ZzxlUwaUwtYvvjxScub+GfTlDoJazwR/hG8vz19qGvjA264cKTWqSFVOW7OAEqeJUnuUJxZ0DadKkZV6ObOB+bwroEsJIPdYUVA6K9cJUUGpCAmudE5CEFdSKlWWlTpAHoU/iKSlDYK0YR7yKY66a7aenTdrW8pTYcSlpWWFQLIok79df6xpKu4KPvSa4a5QqXWhK6FBIIoQFUgDrnBJfdNnJase01lMqaBCl/FE7f0Tt3HPbHbQQdIqfL8Uii0N4TSgqomgjsHBVfflPF2DarvvoFJN1R+EB8WecbN4y2ZgdRggggDmPCrdyadf8AdmSlm5w4EocYUpeMUrmmigKc3tjlykWjUg3eX5t3txZxxpDgotIPTGkyMsfiUeSAKyGVmSam7Kif1bvbhSJebRXBdx5JOuEOgevFmeQy3iU+SDkMt4lHkgCs5anTrd+Y8jvbhJanTl7gTP73txZvkMt4lHkg5DK+JR5IArJxM9+IZn97241mUmKk/YyqpzJLbhJP04s/yGV8SjyRjkEr4hHkgCsBk5j8mleac7cJMlMfk2rzbnbi0PIJXxKfJByCV8SmAKuGSmPyaV5tfbg5HNDMXbX5pfai0XIJXxKYPc+V8SmAKwhu0BkLvuU/VL7USa5N1LQt+1GuUyCbPlWlBa3V40rVQ1oiiq158qR3j3PlfEpjY3Kst/AQB0QBuggggAggggAggggAggggAggggAggggAggggAggggAggggD//2Q==&quot; /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img alt=&quot;Image result for HP 8470p&quot; src=&quot;data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBwgHBgkIBwgKCgkLDRYPDQwMDRsUFRAWIB0iIiAdHx8kKDQsJCYxJx8fLT0tMTU3Ojo6Iys/RD84QzQ5OjcBCgoKDQwNGg8PGjclHyU3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3N//AABEIAFoAagMBIgACEQEDEQH/xAAcAAEAAgIDAQAAAAAAAAAAAAAABQYEBwECAwj/xABDEAABAgQDBAcFBQIPAAAAAAABAgMABAURBhIhMUFRcQcTImGBkaEUMoLB8CMzQkNScrEVFhckJTRiY3OSorPC0eH/xAAXAQEBAQEAAAAAAAAAAAAAAAAAAwIE/8QAHREBAQEAAgMBAQAAAAAAAAAAAAIBAxESMUHBIf/aAAwDAQACEQMRAD8A3jHjMTctKpzTMw0yni4sJHrHsdkfNsrgFzEWOcQ0ozzUq5JPqczOtF0rQpRtbUbApO/fAbvnMeYTk79diKm3G1Lcwlw+SbmIWa6X8Hs/dTc1Mng1KLF/FQAiuyXQrSm8pnavPvEbQylDY9QoxPSfRdhCVKVKprkwob5iZcUPFIISfKAiZzpypTYUZWjzq7bC+620D5FR9Ijf5XsR1JJ/gXDLZO4pS7NeiEpjY8hh2h07+oUeQlzxblkA+drxKDQWGg4QGq0VnpXqYHVSCZNKvxCXbay8w6on0ix4CexLK4hm6biudMy87JImWbKSUpAWUq2JAB1F/CLjFfqP83x3h2YvYTDE3KK7zlQ4n/bVAW6EIQCEIQCEIQCNUVBIo3TxKugZW6zIlB71BP8A20jzja8ar6a/6Mn8LYiTcexTwQ4ofoJCj6IUPGA2DNzDUpLOzMwvK00kqUruEVCr4xmpYSDkpLNBEyyXS27cqtmIGoI3DviTx7m/i0/kJKesbzEcMw+dowpBAS3SG1IQotezJQcgzAhlxw67eEdfDEZHnWd/38cfPyX5+E70nKNWGqnIqmFtqllt/fNO6dXpe9zbS2t4yvbZYXzvJQBvX2RsB2nmPOKzh1Zfr0zLrc61tFMYZeVmzXWANp3ntL9YnE0ppTYE0suK0Kim4BIAttJO4b4lyRM10rx3dT25FYlywHFBaSdCmw0Ottdl7An6F4jE7x9nw7U1IyKl6tL5wdMocu0fD7S8WBuWl2TdtpIV+q1z5ndoPKIPpABVg6qOI9+XaEyi24tKDn/GJ718VnK+rlCOjLiXmUOo91aQocjHeMtEIQgEIQgEUjpmpwqPR7UtLqlskwPhUL/6bxd4xapJoqFNm5J0XRMMraVyULQFbwu+3iDBFNcmx1gmpFCXu9QTlVy7QMRcrhepStVceM2iYa6lxLS3FnMFFBQm47gbacIjehScWrBzkg/o9T5x1hQJ5K/epQ8IsFfxjQqDcVOpMNOD8lJzuH4E3MVjlqM3M+pXwze5u/GXhuis0KSLaVhx5wguuAWvbYB3DXzMSinQAfWNNV7ppJJaoFMuSbB6cO3khJ+fhFZqTmLsQsleIp9UlKuDMhM0ssgi+uVhAzL55SO+MVW3W1vtuIyJ8Z9Nv1/pFw3RM6H6iiYfT+RK/arvw00HiRGvax0nVnEzU1TMO0T7F5tTTqlpLy+rUMpKrWSga7SSIqaKfSacgKRLqn1j86ePUsA33NJOZXiv4Y7P1xxbfUKUXWUqulhtAZl0H/DSANLbSAe8xlp9JYLfU9hSk9cttT6JNpDvVuBYCwkA6gkHUGJuPl2mY5xBTnkLl58hCUgJYUkKbAG4A7NOHCNhUHpmbICK3JqbtbM6x2gOaTr6mA3BCIikYip1WlW5mUdKmli6VZSL+YiVQ4hwXQoKHEG8B2hCEAgYQgPmbFMhiWQxfiSm0Ez7cm9Nl94sqLbZChmGZegA7Z3xg0/BTerlQnDMK2qakvd+J5Qt/lCucbpx5SWjUG590pU2Rq27fLmFgCNyTa91ctwihVzD8zWUFVFnlhxAzLpz3Yvu0/8AfOAhDNUyiXRIBiVcAsfZO28ebytR8OUd0Qk5V3HFLLDaW8xJLiu0tR4knf5xhTDD8k+qWmmXWX0HVCx2vKPK+0gXy66QHDinHV5nVFSrWJUbmx+vWOiVAa6nT8J+gIkJSjzc9mVLpSJdPvTC1BLY047zruvE7R6JIN9tRE06napwdlPJHzN9myAg6TR5yq5S0lLTCzb2h85UbBs3q37IvtCwxRaatD7gRUXxr1jyOwk/2UXsNm+55QQbKvqVHS51J+uEeoIK7AFTv6U6EczwgLMJ1pUw3MLQlTzaSlCyNUg7bcIkJaozB+0ZOUAjMtS8oAvx+UQlNkVLWlK0qmJg/kIuAn9tW7l8oulLw5fI9UlJcUnVDSRZCOQ+e2Al6OqaXIoXOqSp0km6f0308bRnRwlISkJSLAbI5gEIQgPCalWZtstvICknjFLrGFHZVSn6alK072laHS9sqtqdp89kXuOCARYwGmqrJy9VaVL1KXU8UfqGV5vv094d47tpvFdlMJ06TCn8/tw/LS7bKOYA1P1aN3VnD0pU05inI6NUuINlA9xEa+rdBmqetSnUlP8AftJ0V+2kfvHds1MBRqmtxa7LWohOwbhyG6OlMOVald0Zq6fNT831Eu1mWT7yTdPO8WOgYcSy5ll0+2TR2rP3TZ7uP1qIDBkZGZeb6x5fs0ufxlPbV3AbfSLdQ8NuzCEhpoysve5UfvF9993h57osVHww2woTE6rrn+Ktg7gNwixoSlCQEgACAw6ZS5WnMpbl2wLb7RnQhAIQhAIQhAIQhAI832G30FDqQpJ3GPSEBVX8FyS5xbzWZtLn3iUmwVzET8hT5eRaCGEBNuAjLhAIQhAIQhAIQhAf/9k=&quot; /&gt;&lt;br /&gt;
HP ZBook 15 &amp;nbsp;Workstation &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;HP EliteBook 8470p&lt;br /&gt;
&lt;br /&gt;
In short, I want to make the laptop to automatically sleep and automatically wake up at my configured time.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Part I: Scheduled Sleep&lt;/b&gt;&lt;br /&gt;
Solution: Windows Scheduled Task&lt;br /&gt;
&lt;br /&gt;
1. Run&amp;nbsp;taskschd.msc or click Scheduled Task in program files.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Give it a name for example &#39;Scheduled Sleep&#39; here,&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Select Run whether user is logged on or not, so that when first time reboot it can still run&lt;/li&gt;
&lt;li&gt;Check Run with highest privileges if you want&lt;/li&gt;
&lt;/ul&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/AVvXsEhS-dn0cNYkDn7ysK5WZEoM3Z2FmLvBrx785fQ1kqC_1qadsSjI2pekHpiIJMktolpuI-r4taCtwrbmCHDeDeMLKpaLGSaMYPW6yinoiXzPpUYnOXLuAB9FJ2LKv3gryNazPzJoNBu8i34/s1600/Snap+2014-07-14+at+12.22.08.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/AVvXsEhS-dn0cNYkDn7ysK5WZEoM3Z2FmLvBrx785fQ1kqC_1qadsSjI2pekHpiIJMktolpuI-r4taCtwrbmCHDeDeMLKpaLGSaMYPW6yinoiXzPpUYnOXLuAB9FJ2LKv3gryNazPzJoNBu8i34/s1600/Snap+2014-07-14+at+12.22.08.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
2. In Triggers tap, configured the schedule&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Here I make it run daily&lt;/li&gt;
&lt;/ul&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/AVvXsEgUIEguJEEXr2cvBttu9ZasyVy_ORHoyAN06prbvU7zKQKn4c7Fv6hCJ-LWtXnR978gHzWrM6dvkrekYmmXZeyNDMbG6S-8S5N4nEiQju5OkaJTSDSzUoeAcUrQSKfr_GseWlFPzJWKveo/s1600/Snap+2014-07-14+at+12.22.19.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/AVvXsEgUIEguJEEXr2cvBttu9ZasyVy_ORHoyAN06prbvU7zKQKn4c7Fv6hCJ-LWtXnR978gHzWrM6dvkrekYmmXZeyNDMbG6S-8S5N4nEiQju5OkaJTSDSzUoeAcUrQSKfr_GseWlFPzJWKveo/s1600/Snap+2014-07-14+at+12.22.19.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
3. The action Tap, configure the command&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Rundll32.exe Powrprof.dll, SetSuspendState Sleep&lt;/li&gt;
&lt;/ul&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/AVvXsEivhBPec02TAUcDf2P5APjYaCvmzx9ppV4JAPeJG7ArnadjUtbq3Esx-JHbN60B9HTHUhA3zbAS5VQVGX6_sDGSZ2-GhxnZixC38e4iqvP2QdIid94eFz8N1m-0G0b4ZtfvI-Chf_YYHg4/s1600/Snap+2014-07-14+at+12.22.42.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/AVvXsEivhBPec02TAUcDf2P5APjYaCvmzx9ppV4JAPeJG7ArnadjUtbq3Esx-JHbN60B9HTHUhA3zbAS5VQVGX6_sDGSZ2-GhxnZixC38e4iqvP2QdIid94eFz8N1m-0G0b4ZtfvI-Chf_YYHg4/s1600/Snap+2014-07-14+at+12.22.42.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
4. In conditions tab, configure it as run only is plugged with AC power&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/AVvXsEhp_zejmUtc-m7ypLntLsFvzYLW3R2a-IhKbpP8vl1HzXXpbGnYj1sYi-1tfxE8IkjUJrcqCuZJFmY2eZiPy4WHgfqeTTIVh8E6HiRw8n9JTMdeAujSe_cATVXQ9weZcQ-FN6wC4DnAuRA/s1600/Snap+2014-07-14+at+12.22.57.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/AVvXsEhp_zejmUtc-m7ypLntLsFvzYLW3R2a-IhKbpP8vl1HzXXpbGnYj1sYi-1tfxE8IkjUJrcqCuZJFmY2eZiPy4WHgfqeTTIVh8E6HiRw8n9JTMdeAujSe_cATVXQ9weZcQ-FN6wC4DnAuRA/s1600/Snap+2014-07-14+at+12.22.57.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
5. Last but not least, when you run it, it will popup a dialog and please type your NT password and save.&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/AVvXsEioF5KrLv1B9Hf4e38e1XbYgBWeaydy_znF0C1o8eA-qVXsz7qo1G9RHjdDh5A3grUmQtXrMZ6InOR5eVthlXvmmqpUt3CiVOhScd3-p_oIfKSSwQNjGYrXQ8g_PU0Ct2zIODmRSz5Xqs8/s1600/Snap+2014-07-14+at+12.29.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/AVvXsEioF5KrLv1B9Hf4e38e1XbYgBWeaydy_znF0C1o8eA-qVXsz7qo1G9RHjdDh5A3grUmQtXrMZ6InOR5eVthlXvmmqpUt3CiVOhScd3-p_oIfKSSwQNjGYrXQ8g_PU0Ct2zIODmRSz5Xqs8/s1600/Snap+2014-07-14+at+12.29.11.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Part II: Scheduled Wake up&lt;/b&gt;&lt;br /&gt;
Scheduled wake up is very challenge. I have searched a lot of posts and tried to configure through scheduled task but it didn&#39;t work. Luckily I found a tool which is simpler but very useful.&lt;br /&gt;
&lt;br /&gt;
This is a freeware, &lt;b&gt;WakeUpOnStandBy &lt;/b&gt;which you can download from here&amp;nbsp;&lt;a href=&quot;http://www.dennisbabkin.com/wosb/&quot;&gt;http://www.dennisbabkin.com/wosb/&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/AVvXsEh4bWxXA8yZmkLk0AJJWksIM9lWoZEc625jCA-a9r8WVfVASTX0ZNgQ0MAS9SdtYuywvX-YDew1qcYsdW2kyLzBth9xzfPJQN9478LFkqNSJ0a_TCSHmmxwcCqJ-ggcsva1zzDwTHaXrIg/s1600/Snap+2014-07-14+at+12.35.51.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/AVvXsEh4bWxXA8yZmkLk0AJJWksIM9lWoZEc625jCA-a9r8WVfVASTX0ZNgQ0MAS9SdtYuywvX-YDew1qcYsdW2kyLzBth9xzfPJQN9478LFkqNSJ0a_TCSHmmxwcCqJ-ggcsva1zzDwTHaXrIg/s1600/Snap+2014-07-14+at+12.35.51.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The configuration is very straightforward.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Configure the wake up time&lt;/li&gt;
&lt;li&gt;Check Turn screen on&lt;/li&gt;
&lt;li&gt;Select every day so that it will run every day&lt;/li&gt;
&lt;li&gt;Click Start to make all the configuration take effect&lt;/li&gt;
&lt;/ul&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/AVvXsEibkdoLrMd7dMrDGWDkJ9yXqiywnHgVIjAyRhqcINJaiMqcuX6q-5tnpMDCmaQPYsFMxXcePWvAvbweUjK-_Hw8oOePkamqftsom-MVpEyavp4SpDABF24hWDTd2Icij2hgvSwjIv36jlE/s1600/Snap+2014-07-14+at+12.37.32.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/AVvXsEibkdoLrMd7dMrDGWDkJ9yXqiywnHgVIjAyRhqcINJaiMqcuX6q-5tnpMDCmaQPYsFMxXcePWvAvbweUjK-_Hw8oOePkamqftsom-MVpEyavp4SpDABF24hWDTd2Icij2hgvSwjIv36jlE/s1600/Snap+2014-07-14+at+12.37.32.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The last step is that to make sure the wakeuponstandby application is running when you login windows by drag the shortcut of this application under Startup.&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/AVvXsEikEVPV0CzD0SFA3fPHteKyC0nFynwvFuTDVz3F6p8ig9TGkh9rpmIVudzL0-kolrU8tQ6rkRMpBjHekKOYMsFaaWyUG99ODSHtl8NY_9RktkGc9s2GO4B_zJAnSbHHV8G_lPoehpu66i0/s1600/Snap+2014-07-14+at+12.41.16.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/AVvXsEikEVPV0CzD0SFA3fPHteKyC0nFynwvFuTDVz3F6p8ig9TGkh9rpmIVudzL0-kolrU8tQ6rkRMpBjHekKOYMsFaaWyUG99ODSHtl8NY_9RktkGc9s2GO4B_zJAnSbHHV8G_lPoehpu66i0/s1600/Snap+2014-07-14+at+12.41.16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
All set. Test Passed. Happy World!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/2376392422441626720/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/2376392422441626720' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/2376392422441626720'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/2376392422441626720'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/07/save-power-windows-scheduled-sleep-and.html' title='Save Power: Windows Scheduled Sleep and Scheduled Wake Up'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhS-dn0cNYkDn7ysK5WZEoM3Z2FmLvBrx785fQ1kqC_1qadsSjI2pekHpiIJMktolpuI-r4taCtwrbmCHDeDeMLKpaLGSaMYPW6yinoiXzPpUYnOXLuAB9FJ2LKv3gryNazPzJoNBu8i34/s72-c/Snap+2014-07-14+at+12.22.08.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-5353841958248063484</id><published>2014-06-27T12:12:00.000+08:00</published><updated>2014-06-27T12:12:04.031+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Office"/><title type='text'>Finally, My Microsoft OneNote Online!</title><content type='html'>OneNote, without doubt is the best notebook in industry, and I have been using it since 2009. But there comes a problem that how I can sync my notes among different devices.&lt;br /&gt;
&lt;br /&gt;
Microsoft gives out the solution to use OneDrive, how ever I just could not make it work.&lt;br /&gt;
&lt;br /&gt;
In my OneNote, there is no place that I can switch account or use online folder etc.&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/AVvXsEh_Ayw3r7hfHwnD8OG4ki3rh65c9eb6OwgOnm7iF0Go2W930sZTLTqZHTUJQWaXEMFnfIoLFqyjk7m0hIY_aa0-CzwSb1_9mPduzWF4qbQ_FFC_SGaA9pB4G996t4jCpBlKPSl6zNhUCNU/s1600/Snap+2014-06-27+at+11.37.21.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_Ayw3r7hfHwnD8OG4ki3rh65c9eb6OwgOnm7iF0Go2W930sZTLTqZHTUJQWaXEMFnfIoLFqyjk7m0hIY_aa0-CzwSb1_9mPduzWF4qbQ_FFC_SGaA9pB4G996t4jCpBlKPSl6zNhUCNU/s1600/Snap+2014-06-27+at+11.37.21.png&quot; height=&quot;394&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
When I tried to open a note file stored in OneDrive with my desktop OneNote.exe (by default it will be opened by online OneNote), I got an error like this:&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/AVvXsEg6I7d9One7fR18AaWRdq67eliRHcORv3W82_ZRr3nlscqqZ6Zg-Ry0h0ljHoXBZbBocpq8xH-ebC2pOx20PoaWsn5n3DZA7x9O5gDbZgPTxmm99a3ntjRUuCA5ICCYUXJr5ahPcY-T14Q/s1600/Snap+2014-06-27+at+12.02.22.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/AVvXsEg6I7d9One7fR18AaWRdq67eliRHcORv3W82_ZRr3nlscqqZ6Zg-Ry0h0ljHoXBZbBocpq8xH-ebC2pOx20PoaWsn5n3DZA7x9O5gDbZgPTxmm99a3ntjRUuCA5ICCYUXJr5ahPcY-T14Q/s1600/Snap+2014-06-27+at+12.02.22.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The solution is to edit Registry settings.&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: &#39;Segoe UI&#39;, Arial, sans-serif; font-size: 13px;&quot;&gt;HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Common\signin:signinoptions&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Change this value from 3 to 1&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/AVvXsEhpmbd8wTxQWuQWIo1BV0784Po9qB7RPMmrisJt-BUeqNNAjUy8Yyaho_GKjXifHIRjkXAMEodg9WZDSccI1N60Jhhyphenhyphenu3cc03GGBRG-YZghzED2hMPzhp61ENYab8saB1DIJ98IP9m-rlI/s1600/Snap+2014-06-27+at+12.08.58.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/AVvXsEhpmbd8wTxQWuQWIo1BV0784Po9qB7RPMmrisJt-BUeqNNAjUy8Yyaho_GKjXifHIRjkXAMEodg9WZDSccI1N60Jhhyphenhyphenu3cc03GGBRG-YZghzED2hMPzhp61ENYab8saB1DIJ98IP9m-rlI/s1600/Snap+2014-06-27+at+12.08.58.png&quot; height=&quot;436&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Please review the link for details:&lt;br /&gt;
&lt;a href=&quot;http://answers.microsoft.com/en-us/office/forum/office_2013_release-office_install/office-2013-office-account-signin-feature-disabled/d086ea41-431a-4798-b46a-2ebcd25b7cb7&quot;&gt;http://answers.microsoft.com/en-us/office/forum/office_2013_release-office_install/office-2013-office-account-signin-feature-disabled/d086ea41-431a-4798-b46a-2ebcd25b7cb7&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The prerequisite step is to upload your OneNote notes files to OneDrive, and then login using our OneDrive account and it automatically pops up and you can choose a note you want.&lt;br /&gt;
&lt;br /&gt;
Good to go!&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/5353841958248063484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/5353841958248063484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5353841958248063484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/5353841958248063484'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/06/finally-my-microsoft-onenote-online.html' title='Finally, My Microsoft OneNote Online!'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEh_Ayw3r7hfHwnD8OG4ki3rh65c9eb6OwgOnm7iF0Go2W930sZTLTqZHTUJQWaXEMFnfIoLFqyjk7m0hIY_aa0-CzwSb1_9mPduzWF4qbQ_FFC_SGaA9pB4G996t4jCpBlKPSl6zNhUCNU/s72-c/Snap+2014-06-27+at+11.37.21.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-8419339726766950531</id><published>2014-06-23T15:49:00.003+08:00</published><updated>2014-06-23T15:49:52.068+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="maven"/><title type='text'>Strange maven-compiler-plugin Error when importing project</title><content type='html'>This problem cost me about 3 hours and finally I found a solution.&lt;br /&gt;
&lt;br /&gt;
Let me describe the background. I have got a new laptop and want to set up a development environment: for eclipse I copied from my old machine and when I wanted to import a maven project, a strange problem happened:&lt;br /&gt;
&lt;br /&gt;
Now it is fixed so the screenshot below looks good, but at that time, it was saying: &lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;maven-compiler-plugin 2.5.1 missing&lt;/span&gt;&lt;/b&gt; ...&lt;br /&gt;
&lt;br /&gt;
I continue with the errors, but the project crashed no matter how I add dependencies.&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/AVvXsEhR-W5Nuh3Nv31JR-6ZnoarrLY9ugPF4YAs4yOhxXpWsWVwRDyNIBIPs5Gudm6TWpZibvk_TsXHV8DH9lzaayQQQ4Oay6W6YhiNAsbGk9PEr5eyixb6zXQgH4hBZ5C6sHmjJ4h-r3zdFDI/s1600/Snap+2014-06-23+at+14.58.36+-+Copy.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/AVvXsEhR-W5Nuh3Nv31JR-6ZnoarrLY9ugPF4YAs4yOhxXpWsWVwRDyNIBIPs5Gudm6TWpZibvk_TsXHV8DH9lzaayQQQ4Oay6W6YhiNAsbGk9PEr5eyixb6zXQgH4hBZ5C6sHmjJ4h-r3zdFDI/s1600/Snap+2014-06-23+at+14.58.36+-+Copy.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
I have tried to re-install eclipse, install maven, use different java version, use other versions of maven-compiler-plugin... None of them worked.&lt;br /&gt;
&lt;br /&gt;
Here is the ultimate solution:&lt;br /&gt;
Delete the local repository settings by deleting the repository folder in .m2 (C:\Users\yourid\.m2\repository)&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/AVvXsEiVKU4prDexl4WZ3wW4LjyfKw__5UX9wh1f3zpMd9wEFESqasl9-8DJRN12rdavEO-tSb-gB_4sFf6VGaEZl2jBwhfOEUrwvXO1I-oO-48ND7UQTcrhN-ppoqiPnrhJmDodiXu4uc5Il4w/s1600/Snap+2014-06-23+at+15.47.33.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/AVvXsEiVKU4prDexl4WZ3wW4LjyfKw__5UX9wh1f3zpMd9wEFESqasl9-8DJRN12rdavEO-tSb-gB_4sFf6VGaEZl2jBwhfOEUrwvXO1I-oO-48ND7UQTcrhN-ppoqiPnrhJmDodiXu4uc5Il4w/s1600/Snap+2014-06-23+at+15.47.33.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
After restart eclipse and re-import the maven project, it is all solved.&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/AVvXsEhXplv8NHr5ntLW7nBH39y1Uoiiw7kEQ-113mzQvsYx0GtNMC_H9DNpupSgu3QecNi-c6raq1LO6nvlOhw9N0KdaDhw1MvlCfQ0DViea3bP0sZf1fS9CXPtw8jcc5HY5ln-NdSKoMMbGI4/s1600/Snap+2014-06-23+at+14.58.36.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/AVvXsEhXplv8NHr5ntLW7nBH39y1Uoiiw7kEQ-113mzQvsYx0GtNMC_H9DNpupSgu3QecNi-c6raq1LO6nvlOhw9N0KdaDhw1MvlCfQ0DViea3bP0sZf1fS9CXPtw8jcc5HY5ln-NdSKoMMbGI4/s1600/Snap+2014-06-23+at+14.58.36.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Happy using new computer!&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/8419339726766950531/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/8419339726766950531' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8419339726766950531'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8419339726766950531'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/06/strange-maven-compiler-plugin-error.html' title='Strange maven-compiler-plugin Error when importing project'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhR-W5Nuh3Nv31JR-6ZnoarrLY9ugPF4YAs4yOhxXpWsWVwRDyNIBIPs5Gudm6TWpZibvk_TsXHV8DH9lzaayQQQ4Oay6W6YhiNAsbGk9PEr5eyixb6zXQgH4hBZ5C6sHmjJ4h-r3zdFDI/s72-c/Snap+2014-06-23+at+14.58.36+-+Copy.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-4965484927262646309</id><published>2014-06-23T14:13:00.002+08:00</published><updated>2014-06-23T14:13:23.139+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software Usage"/><title type='text'>Use Apple Keyboard  in Windows</title><content type='html'>I have bought an apple MB110LL/B keyboard (someone called it apple G5) and I want to use it in windows 7. I found that my function keys do not work very well.&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/AVvXsEhRWYrdCn_w2HgGmZm8QLr1k3cRw-30wdOm-0o9MIRH5OnpLAeSISZ40TAauKFao8nb2V6T7TwPZKZRla1e6kyOGTpucfPGUcfLpzsaWAWAMU9aFrIXhJjVhY-cfD6fsqzK3YSgSVA6Bnw/s1600/Untitled.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/AVvXsEhRWYrdCn_w2HgGmZm8QLr1k3cRw-30wdOm-0o9MIRH5OnpLAeSISZ40TAauKFao8nb2V6T7TwPZKZRla1e6kyOGTpucfPGUcfLpzsaWAWAMU9aFrIXhJjVhY-cfD6fsqzK3YSgSVA6Bnw/s1600/Untitled.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
To well use it in windows, we have a software called SharpKeys&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/AVvXsEg9O9N9b1eQ5JCHt-q3PCzoutFA9tTzUghYAzvZu_vHsd87t1n1fEjWwga2xZIhrRbO8VMLoEQYtKkTnndFIGTDvF0pIIlpATBEkA7u21yamq9lvxtEol9lGo7YrohjPDnRGTJMs1lYWFg/s1600/Snap+2014-06-23+at+14.08.16.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/AVvXsEg9O9N9b1eQ5JCHt-q3PCzoutFA9tTzUghYAzvZu_vHsd87t1n1fEjWwga2xZIhrRbO8VMLoEQYtKkTnndFIGTDvF0pIIlpATBEkA7u21yamq9lvxtEol9lGo7YrohjPDnRGTJMs1lYWFg/s1600/Snap+2014-06-23+at+14.08.16.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
The step is: click Add, and then click &#39;Type Key&#39; button, and on the right, select the actual key you want it maps to.&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/AVvXsEh92Mwopv0DqFyxtFbmIdnaMPx7Sq4NZ1we21sb-FVHtNky3lyePBwDy2mBxbwWBT5X0GEQbgcBkozRQ6g5FEd7UXjAfNMqyVVZ3G4owxR2d4jDfosivOm178yAsPy_CS1pSF_hyphenhyphen-XLQ5Q/s1600/Snap+2014-06-23+at+14.11.22.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/AVvXsEh92Mwopv0DqFyxtFbmIdnaMPx7Sq4NZ1we21sb-FVHtNky3lyePBwDy2mBxbwWBT5X0GEQbgcBkozRQ6g5FEd7UXjAfNMqyVVZ3G4owxR2d4jDfosivOm178yAsPy_CS1pSF_hyphenhyphen-XLQ5Q/s1600/Snap+2014-06-23+at+14.11.22.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Logout and login again, it will take effect.&lt;br /&gt;
&lt;br /&gt;
Useful Tips:&lt;br /&gt;
&lt;br /&gt;
Clear on the Numeric Keypad is the &#39;num lock key&#39; in windows.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/4965484927262646309/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/4965484927262646309' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/4965484927262646309'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/4965484927262646309'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/06/use-apple-keyboard-in-windows.html' title='Use Apple Keyboard  in Windows'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEhRWYrdCn_w2HgGmZm8QLr1k3cRw-30wdOm-0o9MIRH5OnpLAeSISZ40TAauKFao8nb2V6T7TwPZKZRla1e6kyOGTpucfPGUcfLpzsaWAWAMU9aFrIXhJjVhY-cfD6fsqzK3YSgSVA6Bnw/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-752545107859574188</id><published>2014-04-01T14:42:00.002+08:00</published><updated>2014-04-01T14:42:55.937+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Chrome"/><category scheme="http://www.blogger.com/atom/ns#" term="Network"/><title type='text'>[Solved]Chrome cannot access Internet</title><content type='html'>All of a sudden I found my Chrome cannot access internet. In the beginning I thought it&#39;s a network problem, especially when I was in office using company proxy.&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/AVvXsEid0JQt1CVaO7N-nlNmQS4ZUD_CGUHb4HhDgAuhPqXgvKC4vRH1IFsS_14mgPJ38xw3DntqtT4qd1ZFGAHGZ2j1iAQxm1YM6EISFm2NWE3LTKn8s3tqlfj2Y3Y9qQyHCIXiKEVbm4swtYY/s1600/Snap+2014-04-01+at+14.29.20.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/AVvXsEid0JQt1CVaO7N-nlNmQS4ZUD_CGUHb4HhDgAuhPqXgvKC4vRH1IFsS_14mgPJ38xw3DntqtT4qd1ZFGAHGZ2j1iAQxm1YM6EISFm2NWE3LTKn8s3tqlfj2Y3Y9qQyHCIXiKEVbm4swtYY/s1600/Snap+2014-04-01+at+14.29.20.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
But I found that Internet Explorer is running, and even Chrome Canary is working normally.&lt;br /&gt;
&lt;a href=&quot;https://www.google.com/intl/en/chrome/browser/canary.html&quot;&gt;https://www.google.com/intl/en/chrome/browser/canary.html&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;Chrome&quot; src=&quot;https://www.google.com/intl/en/chrome/assets/common/images/chrome_canary_logo_2x.png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
I looked at all posts by didn&#39;t find any working solution.&lt;br /&gt;
&lt;br /&gt;
Luckily I found out the root cause:&lt;br /&gt;
when I go to chrome--&amp;gt;Settings--&amp;gt;Advanced Settings&lt;br /&gt;
I found that change proxy settings is grayed out and it says &lt;b&gt;&quot;Your network proxy settings are being managed by an extension&quot;&lt;/b&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/AVvXsEh7jGK3EHBEy1uDpjnc7zsjFR9WOOSbpXTBTcRYizLlo0Bwnd6H7Cq-vMjo_7Hs920CsyEsdc5RUQGnb0pJvR99DZZHnFPTh0VJW0PiGsjWHi0YrW9C0F8eLc89dHyvLlgmsXKrqtpatMI/s1600/Snap+2014-04-01+at+14.37.17.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/AVvXsEh7jGK3EHBEy1uDpjnc7zsjFR9WOOSbpXTBTcRYizLlo0Bwnd6H7Cq-vMjo_7Hs920CsyEsdc5RUQGnb0pJvR99DZZHnFPTh0VJW0PiGsjWHi0YrW9C0F8eLc89dHyvLlgmsXKrqtpatMI/s1600/Snap+2014-04-01+at+14.37.17.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
This makes me realize that there must be one extension that hijacked my network traffic. Then it is simple:&lt;br /&gt;
I found it&#39;s a AD blocker I am using, and I simply need to disable it.&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/AVvXsEhFV0X80fxSPoLGuXcWZ3HVo0y-yGep_IOJQbIlvjYyml6B704wyjLBkFR1fpWLx9WLfrYHNt5e9o5h2iObW2Kd1m_9gxUdt8-FDdFk_If_9OcMIIIKP8sT2rUpEVDGYzP6P36rO-j7MOw/s1600/Snap+2014-04-01+at+14.38.01.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/AVvXsEhFV0X80fxSPoLGuXcWZ3HVo0y-yGep_IOJQbIlvjYyml6B704wyjLBkFR1fpWLx9WLfrYHNt5e9o5h2iObW2Kd1m_9gxUdt8-FDdFk_If_9OcMIIIKP8sT2rUpEVDGYzP6P36rO-j7MOw/s1600/Snap+2014-04-01+at+14.38.01.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Chrome is working well again.&lt;br /&gt;
For people might have similar problem, please check the extension you are using if Chrome cannot access internet, and you don&#39;t need to do things like uninstall and reinstall Chrome etc.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/752545107859574188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/752545107859574188' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/752545107859574188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/752545107859574188'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/04/solvedchrome-cannot-access-internet.html' title='[Solved]Chrome cannot access Internet'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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/AVvXsEid0JQt1CVaO7N-nlNmQS4ZUD_CGUHb4HhDgAuhPqXgvKC4vRH1IFsS_14mgPJ38xw3DntqtT4qd1ZFGAHGZ2j1iAQxm1YM6EISFm2NWE3LTKn8s3tqlfj2Y3Y9qQyHCIXiKEVbm4swtYY/s72-c/Snap+2014-04-01+at+14.29.20.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4530385502761079845.post-8637250056502932780</id><published>2014-03-21T14:07:00.003+08:00</published><updated>2014-03-21T14:07:43.633+08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software Usage"/><title type='text'>Outlook leaves a bacground task running when shut down</title><content type='html'>When writing programs, I like to turn off Outlook so I would not be distracted by new coming emails, however recently I found a problem with Outlook:&lt;br /&gt;
Even I closed Outlook, it is still running in a background. You can launch windows task manager and see OUTLOOK.exe process there. Yes, when there are new emails it still alert me which is a little annoying.&lt;br /&gt;
&lt;br /&gt;
I searched and found out that this problem has a big chance to be caused by Outlook plugin. You can try the solution below which is from Microsoft:&lt;br /&gt;
&lt;br /&gt;
1. Close Outlook and kill OUTLOOK.exe in windows task manager&lt;br /&gt;
· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Press the &lt;b&gt;windows key+R&lt;/b&gt; on the keyboard to open the &lt;b&gt;Run&lt;/b&gt; window.&lt;br /&gt;
· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In Run window and type &lt;b&gt;outlook /safe&lt;/b&gt;&lt;br /&gt;
Note: There is a space between &#39;&lt;b&gt;outlook&lt;/b&gt;&#39; and &#39;&lt;b&gt;/&lt;/b&gt;&#39;.&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
2. If you are able to work with Outlook without any problem then the issue might be due to add-ins. In order to disable the add-ins follow the steps given below:&lt;/div&gt;
&lt;div&gt;
· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; In Outlook, click on &lt;b&gt;File&lt;/b&gt;&amp;lt; &lt;b&gt;Options&lt;/b&gt;&amp;lt; &lt;b&gt;Add-ins&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Under Manage select COM Add-ins.&lt;/div&gt;
&lt;div&gt;
· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Click on &lt;b&gt;GO&lt;/b&gt; options beside &lt;b&gt;Manage&lt;/b&gt;, uncheck all the add-ins and click &lt;b&gt;Ok&lt;/b&gt;. (You you can uncheck the add-ins you don&#39;t think you need most of the time)&lt;/div&gt;
&lt;div&gt;
· &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Try to open Outlook and check if it works fine.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
I now can have it Outlook cleanly closed.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;background-color: white; color: #333333; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 15px; line-height: 20px;&quot;&gt;If you find this blog is useful, please kindly click the ads on this page to help. Thank you very much.&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sai1983.blogspot.com/feeds/8637250056502932780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4530385502761079845/8637250056502932780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8637250056502932780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4530385502761079845/posts/default/8637250056502932780'/><link rel='alternate' type='text/html' href='http://sai1983.blogspot.com/2014/03/outlook-leaves-bacground-task-running.html' title='Outlook leaves a bacground task running when shut down'/><author><name>Sai</name><uri>http://www.blogger.com/profile/01904860633452198243</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></feed>