FWD: Are you too busy to improve?

are-you-too-busy-to-improve2

Via: http://hakanforss.wordpress.com/2014/03/10/are-you-too-busy-to-improve/

--

Maxim related: A beard well lathered is half shaved.

相关格言:磨刀不误砍柴工。


FWD: How I’m always on time

How I’m always on time

How I’m always on time

Via: http://themetapicture.com/how-im-always-on-time/


FWD: Should the boss have all the answers?

Should the boss have all the answers? Over half million people answered.

老板应该回答所有问题吗?超过50万人回复。

Should the boss have all the answers

Via: https://twitter.com/saneback/status/428812178763051008/photo/1


Run XMPP Spark client via Eclipse

This item describes how to develop and debug the XMPP Spark client via Eclipse.

OS: Mac OS X 10.9.3
Java: Java 6 64-Bit
Eclipse: Eclipse Juno

See the this wiki item in my Trac for detail: http://trac.konca.com/wiki/RunSparkViaEclipse


Uses Spark client to view the XMPP stanzas and to send customized stanzas

XMPP is a protocol for IM (instant messaging), you can find more about it at: http://xmpp.org/

When you are learning the XMPP specifications, you may like (1) to view the XMPP stanzas which are sent and received; (2) to send some customized stanzas to check what will happen under specific condition.

Fortunately, you can get such a XMPP client for free and without writing code, that’s the Spark client which is an open source project and can run on Linux, Mac OS and Windows. here is its link: http://www.igniterealtime.org/projects/spark/index.jsp . Read the rest of this entry »


Fwd: My time management

My-time-management

(Via : http://geekshumor.com/my-time-management/ )

A brief portraiture of Procrastination? / 拖延症的写照?


Fwd: It doesn’t matter how many resources you have

DoesNotMatterHowMuchResource

“It doesn’t matter how many resources you have.” – Manan Vora

Via: http://imgur.com/vbPCKyp


Fwd: Equality – Justice

equality_justice

Equality – Justice

公平 - 正义

Via: http://humanrights-in-europe.blogspot.se/2013/03/equality-justice.html


Fwd: Information, knowledge, wisdom

info-knowledge-wisdom

Via: http://achristianstruggle.wordpress.com/2013/12/05/wisdom/


Fwd: Books give you a better perspective

books-give-you-a-better-perspective-via-rachel

Books give you a better perspective. (via Rachel Walker).


Upgrades iOS through an intermediate version

Last Saturday a friend of mine asked me to help solving the problem that she couldn’t see any images in the WeChat app on her iPhone 4S.

I found that this iPhone 4S was running with iOS 5.0 which is behind the times, and I thought that this is the reason. Then I clicked the Settings app and found that the iOS prompted that it could upgrade to iOS 6.1.3 instead to iOS 7 — this surprised me. And I let it to upgrade. A short while after the successful upgrade to iOS 6.1.3, iPhone 4S prompted that it could upgrade to iOS 7.0.6 — I certainly ignored this prompt and advise my friend not to upgrade to iOS 7.

In summary, Apple introduces an intermediate version (6.1.3) to let iPhone 4S which is running iOS 5 to upgrade to iOS 7 – two upgrades. It’s a little an annoying for users, but this method

  1. not only reduce the complexity – reduce from maintaining 3 upgrade scenarios (5->6, 5->7, 6->7) to 2 (5->6, 6->7);
  2. but also can provide more security of the data in the device during the upgrade (more scenarios means more possibility to make mistake).

By this experience of upgrading iOS, I recalled that a CT platform I was working for 5 years ago (2009) used this intermediate-version method to upgrade the systems which are residing in operators’ device house and are serving for millions of mobile phone users — we have only about 4 or 5 hours (0:00/1:00 AM to 5:AM) to upgrade the system, and if something go wrong, rollback must be applied.


Installs Trac and Graphviz plugin in DreamHost

I installed Trac 0.11.7 and the Graphviz plugin to a web site which is hosting in DreamHost’s (shared web hosting, not VPS).

This  is the illustration page : TracGraphvizPlugin

The following is  the draft note. Read the rest of this entry »


Draws UML Class Diagram with Graphviz

When I was studying OpenNMS in 2011, I found a database schema diagram of it(the link).

It’s generated by SchemaSpy who dumps the relationships between the tables (by Foreign Keys) and generates “dot” files and use Graphviz to convert these files to graphs.

So I knew about two powerful applications:

  1. SchemaSpy (It’s console application, there is a GUI wrapper for it: SchemaSpyGUI)
  2. Graphviz.

By using Graphviz, we can draw certain types of UML diagrams, like Class Diagram.

This is the example:

uml_basic_class_diagram_by_graphviz

And this is the Graphviz DOT script of it: Read the rest of this entry »


我的第一套音响

今天收到从广州寄过来的一对PSB Alpha B1书架音箱,加上前个周日买的ALTEC LANSING 9444B,凑成了我的第一套音响。
下班后马上找朋友帮忙调整房间摆设,以腾出摆放音箱、功放和PC(暂时只有PC做音源)等最佳位置。
挪家具、接线,一番周折并接好线后,终于有声了。

音响在我的斗室兼陋室图如下(挪家具时杂物全堆床上了):

MyFirstAudioSet

 

然后赶紧试了一下《万宝路》、梁玉嵘、徐小凤、Beyond和童丽等,第一次真正地用心去感受那种再现现场的感觉,那感觉难以言表,可能这就是Hi-Fi发烧友们孜孜以求的动力所在。

现场感、乐器和人声的分辨度等都过得去(当然不能跟Z朋友的Diatone比了),只是低音的分辨度不够好,后来跟X朋友交流,得知可能是输入线接了一段质量差的引起的。

同时发现一个奇怪的现象,就是前面几位女声的现场感都很强(就像人家在自己面前现唱一样),但黄家驹的人声的现场感就不强,当时怀疑是该书架音箱对男声的再现度不够好。但想想,也不至于吧,就赶紧找张学友的试试。实验证明,张学友的声音现场感也很强,由此断定是Beyond的那张碟的质量问题。

下来还要对该音箱进行“煲机”,期待届时有更好的效果。


The Maven compilation files for OneCMDB

Here comes the Maven compilation files for OneCMDB.

OneCMDB is an Open Source CMDB, Configuration Management Database published under GPL Version 2.

It was developed by Lokomo Systems AB and its homepage is http://www.onecmdb.org/ .

OneCMDB is excellent so deserve studying. (Thank you for opening the source codes, Lokomo!)

A runnable and debuggable project will be of great help when reading the source codes.

Unfortunately, although Lokomo provides the source codes in the installation package, it lacks the compilation files.

I want to understand the source codes of OneCMDB well so I tried to compile OneCMDB with Maven.

And I succeeded in compiling it and running it in Eclipse Indigo after many attempts.

Read the rest of this entry »


斯坦福大学漫游

我今天(美国加州时间2011年11月27日)到斯坦福大学闲逛了一下,这是我第一次到斯坦福大学,因为准备不足,只逛了以Memorial Court和Main Quad为中心的一小圈——斯坦福实在是大。

漫游在斯坦福校园中,思绪交杂,有向往、追悔、自勉……一时难以言表。

10:00来到Memorial Court,18:00离开,回到宿舍已经很晚,无暇整理照片,下面简单分享几张:

Read the rest of this entry »


瑞典印象2-自动化

今年2月份消息传出,中国2010年的GDP超过日本,从而取代日本成为世界第二大经济体。(另外还有西方专家预测,中国GDP到2027年(一说2020年)会超过美国,到2050年将会是美国的2倍)

消息虽然振奋人心,不过媒体还算冷静,随即有文章如《GDP居世界第二被指意义不大 多领域落后》 “人均GDP不到日本1/10”等。

瑞典的经济情况又如何呢?

2010年瑞典的GDP虽然不到中国的13分之一,但瑞典只有区区的926万人(2009年),一平均下来,2010年瑞典的人均GDP是中国的11倍有余!

相关数据如下:

2010年其中4个国家的GDP(数据来源:维基百科)

 排名 国家  GDP(单位:亿美元)
 1  美国  145265.50
 2  中国  58782.57
 3  日本  54587.97
 22 瑞典  4587.25

2010年其中4个国家的人均GDP(数据来源:维基百科)

排名 国家 GDP(单位:美元)
8 瑞典 49183
10 美国 46860
17 日本 42783
91 中国 4382

为什么呢?当然是生产力水平不一样咯。
那不一样在哪呢?因数很多,表现也很多,其中之一就是机械化程度。本文正是给你分享一下瑞典的一些机械化的照片。

Read the rest of this entry »


Stay Hungry, Stay Foolish—-记乔布斯逝世

今天(北京时间2011106日)是麦金塔(Macintosh)电脑、iPodiTunes StoreiPhoneiPad等知名数字产品的缔造者乔布斯逝世的日子。(乔布斯是于美国时间105日逝世的)

打开苹果公司的主页,可以看到其已该改为乔布斯的黑白照片,人像旁边写着其生卒年份“1955-2011”。

点击照片就会进入悼念乔布斯的页面,英中文版本分别如下: Read the rest of this entry »


瑞典印象1-垃圾房

在2009年9月到2010年12月期间,我有幸在瑞典工作和生活了一段时间,那段时间太忙了,除了上班基本上都是“蜗”在宿舍里看资料(以前在工作中接触的东西太有限了,而IT的技术点又太多,况且还得边啃边学英语)和学习,居然没怎么出去走走,也没有静下心来写点东西——现在后悔莫及了,只好追忆性地写点东西,帮自己重拾回忆的同时可以给大家讲一点瑞典的细节,以作为各位的参考素材。

我比较关注环保,所以就拿环保方面的素材作为开篇吧。

瑞典人很注重环保,其中的一个表现是对垃圾集中和分类存放。

我当时住的楼的一楼(地面那一层)有个30平方米左右的垃圾房,让住客放置非食物垃圾,下面是里面的一些照片。

(1)垃圾房全景照

注意到垃圾推车是分黑、蓝、红三种颜色没有? Read the rest of this entry »


登华山东峰看日出没如愿

出差到西安三个星期了 一直没发博文,趁在华山东峰封顶发一篇以作纪念。

昨晚11:30开爬 今早五点半到东峰顶 但天公不作美 看不到太阳的脸,但这并遗憾,因为攀爬的过程已经够回味的了。