SOA参考资料

AgileEAS.NET SOA 中间件/敏捷软件开发平台

软件开发平台是企业信息化最佳模式?
企业管理软件平台架构内幕揭秘

http://blog.csdn.net/david_lv/article/details/2277084
基于SOA体系结构的未来软件开发方法

开源软件SOA解决方案对企业的三大好处
SOA国家标准将于2013年6月1日起正式实施
中间件因云、移动而改变
企业SOA平台 JBoss SOA
eBay开源软件站发布SOA平台:Turmeric项目
揭示企业部署SOA六个阶段的过程发展
Hinchcliffe首席技术官:开源软件是SOA的未来吗?
“开源”SOA正在改写IT规划方程式
ig_soa_before

开始玩天文望远镜

一直以来都特别想买天文望远镜,但在北京空气质量这么差,总是想等将来离开北京再说。可是到春节前的时候,实在等不了了,即使看不了太多东西,总比不看好。于是买了一架入门级的先玩玩。

点击图片可以看大图

Temper Run秘技

别急,标题没有写错单词。

好多人玩Temple Run,就是一个人被大猩猩追着跑,看你能跑多远。路其实分左、中、右三条道,途中会遇到很多障碍和岔道,需要灵敏地躲过。这让我不仅想到人生的道路,这三条道可以是“自卑←自信→自负”。人一生中其实就在这三条道之间不断地切换。暂且把人生这个游戏叫做Temper Run吧,一方面Temper与Temple可以押点韵,另一方面你有什么样的心态就会呈现出相应的脾气,所以把人生的游戏叫做Temper Run还是可以说得过去的。

“自卑←自信→自负”这三条道每个人都在跑,只是有些人貌似在其中一条道上跑得多一些,我们就自然而然地认为他们是什么样的人。其实我们都知道,自信的人经常有感到自卑的时候,自卑的人很容易变得自负,而自负的人其实很可能就是内心深处的自卑导致的。

这三个词在我们的语言中有明显的偏向性,只有自信是褒义词。这说明自信是在人类社会中生存的重要品质。这种偏向实际是理想化的,因为没有人是绝对自信的,同样没有绝对自卑或自负的人。很多人认为(或者潜意识中认为)自信的人可以拥有美好的人生,正是这种观念让人不得自由,要有意无意地去维护这种信念。维护的结果就是用力过猛而成为自负,伤到自己后又成为自卑,偶尔跑到自信的道上享受了一下后又要回到两边徘徊。其实根本不是美好的人生,这一点只有自己最清楚。

要真正活得自在就需要中立地看待这三种心态。如果要想中立地看待的话,就需要把有偏向性的名称换掉。这三种心态说到底其实都是对自己的认可与否(无论如何,人的一生一定是以自我为中心的,无我的时候就要成佛了)。根据认可程度的深浅大体划分为三份。所以可以把这三种心态的名字改为“State A、State B、State C”,其中State A是指对自己不认可,State B是指对自己认可,State C是指对自己过分认可。我们需要State A来对自己分析、反省,需要State B让我们大步前进,需要State C让我们勇于冒险。不要偏爱任何一种状态。一味地努力维护其中一种状态会导致盲目,看不清自己到底是在哪条道上,进而导致自己和他人的痛苦。

我们拥有一个奇妙的大脑,它会自动在恰当的时候切换状态,把你带到相应的道上,你只需要在当前道上好好跑就可以。很多时候我们冷静下来都会发现自己内心深处其实知道当下应当做什么,可是就是不去那样做,这正是在为维护某一种状态而跟自己的大脑做对抗(执著、颠倒)。如果不及时停止这种执著,等到造成无法挽回的后果时就后悔莫及了。所以Temper Run的秘技很简单,就是让内心深处的那个力量(那其实才是真正的你)为你换道,三条道并行,不偏不倚。

Temple Run我没怎么玩过,但Temper Run每个人都在玩,希望这个秘技能帮到你。

temple Run

2013年奥巴马总统就职演讲原文

奥巴马再次就职美国总统了。照惯例,演讲稿又成了很多英语学习者的好资料,虽然我不认为是什么好资料——对初学者而言——尤其是对当下中国英语学习者的实际情况而言,绝大多数英语学习者远达不到学这类演讲稿的水平,全背下来也就是满足一下自己的虚荣心而已。我见过太多激情四射背诵各类经典演讲稿的人了,真正通过背诵演讲稿进而提高了自己英语应用水平的人非常少。因为感兴趣而背我是认同的,但如果误以为背经典演讲是学英语的好方法,那我可就不完全认同了,一定要找适合自己英语水平的资料去学习。

当然了,我也把演讲原文贴到这里,以便那些少数英语水平适配的同学使用。

先贴上宣誓:

I, Barack Hussein Obama, do solemnly swear that I will faithfully execute the office of President of the United States, and will to the best of my ability, preserve, protect, and defend the Constitution of the United States.  So help me God.

奥巴马总统就职演讲全文

以下引自美国白宫网站 http://www.whitehouse.gov/the-press-office/2013/01/21/inaugural-address-president-barack-obama

Inaugural Address by President Barack Obama

 

United States Capitol
11:55 A.M. EST
THE PRESIDENT:  Vice President Biden, Mr. Chief Justice,
members of the United States Congress, distinguished guests, and fellow citizens:
Each time we gather to inaugurate a President we bear witness to the enduring strength of our Constitution.  We affirm the promise of our democracy.  We recall that what binds this nation together is not the colors of our skin or the tenets of our faith or the origins of our names.  What makes us exceptional — what makes us American — is our allegiance to an idea articulated in a declaration made more than two centuries ago:
“We hold these truths to be self-evident, that all men are created equal; that they are endowed by their Creator with certain unalienable rights; that among these are life, liberty, and the pursuit of happiness.”
Today we continue a never-ending journey to bridge the meaning of those words with the realities of our time.  For history tells us that while these truths may be self-evident, they’ve never been self-executing; that while freedom is a gift from God, it must be secured by His people here on Earth.  (Applause.)  The patriots of 1776 did not fight to replace the tyranny of a king with the privileges of a few or the rule of a mob.  They gave to us a republic, a government of, and by, and for the people, entrusting each generation to keep safe our founding creed.
And for more than two hundred years, we have.
Through blood drawn by lash and blood drawn by sword, we learned that no union founded on the principles of liberty and equality could survive half-slave and half-free.  We made ourselves anew, and vowed to move forward together.
Together, we determined that a modern economy requires railroads and highways to speed travel and commerce, schools and colleges to train our workers.
Together, we discovered that a free market only thrives when there are rules to ensure competition and fair play.
Together, we resolved that a great nation must care for the vulnerable, and protect its people from life’s worst hazards and misfortune.
Through it all, we have never relinquished our skepticism of central authority, nor have we succumbed to the fiction that all society’s ills can be cured through government alone.  Our celebration of initiative and enterprise, our insistence on hard work and personal responsibility, these are constants in our character.
But we have always understood that when times change, so must we; that fidelity to our founding principles requires new responses to new challenges; that preserving our individual freedoms ultimately requires collective action.  For the American people can no more meet the demands of today’s world by acting alone than American soldiers could have met the forces of fascism or communism with muskets and militias.  No single person can train all the math and science teachers we’ll need to equip our children for the future, or build the roads and networks and research labs that will bring new jobs and businesses to our shores.  Now, more than ever, we must do these things together, as one nation and one people.  (Applause.)
This generation of Americans has been tested by crises that steeled our resolve and proved our resilience.  A decade of war is now ending.  (Applause.)  An economic recovery has begun.  (Applause.)  America’s possibilities are limitless, for we possess all the qualities that this world without boundaries demands:  youth and drive; diversity and openness; an endless capacity for risk and a gift for reinvention.  My fellow Americans, we are made for this moment, and we will seize it — so long as we seize it together.  (Applause.)
For we, the people, understand that our country cannot succeed when a shrinking few do very well and a growing many barely make it.  (Applause.)  We believe that America’s prosperity must rest upon the broad shoulders of a rising middle class.  We know that America thrives when every person can find independence and pride in their work; when the wages of honest labor liberate families from the brink of hardship.  We are true to our creed when a little girl born into the bleakest poverty knows that she has the same chance to succeed as anybody else, because she is an American; she is free, and she is equal, not just in the eyes of God but also in our own.  (Applause.)
We understand that outworn programs are inadequate to the needs of our time.  So we must harness new ideas and technology to remake our government, revamp our tax code, reform our schools, and empower our citizens with the skills they need to work harder, learn more, reach higher.  But while the means will change, our purpose endures:  a nation that rewards the effort and determination of every single American.  That is what this moment requires.  That is what will give real meaning to our creed.
We, the people, still believe that every citizen deserves a basic measure of security and dignity.  We must make the hard choices to reduce the cost of health care and the size of our deficit.  But we reject the belief that America must choose between caring for the generation that built this country and investing in the generation that will build its future.  (Applause.)  For we remember the lessons of our past, when twilight years were spent in poverty and parents of a child with a disability had nowhere to turn.
We do not believe that in this country freedom is reserved for the lucky, or happiness for the few.  We recognize that no matter how responsibly we live our lives, any one of us at any time may face a job loss, or a sudden illness, or a home swept away in a terrible storm.  The commitments we make to each other through Medicare and Medicaid and Social Security, these things do not sap our initiative, they strengthen us.  (Applause.)  They do not make us a nation of takers; they free us to take the risks that make this country great.  (Applause.)
We, the people, still believe that our obligations as Americans are not just to ourselves, but to all posterity.  We will respond to the threat of climate change, knowing that the failure to do so would betray our children and future generations.  (Applause.)  Some may still deny the overwhelming judgment of science, but none can avoid the devastating impact of raging fires and crippling drought and more powerful storms.
The path towards sustainable energy sources will be long and sometimes difficult.  But America cannot resist this transition, we must lead it.  We cannot cede to other nations the technology that will power new jobs and new industries, we must claim its promise.  That’s how we will maintain our economic vitality and our national treasure — our forests and waterways, our crop lands and snow-capped peaks.  That is how we will preserve our planet, commanded to our care by God.  That’s what will lend meaning to the creed our fathers once declared.
We, the people, still believe that enduring security and lasting peace do not require perpetual war.  (Applause.)  Our brave men and women in uniform, tempered by the flames of battle, are unmatched in skill and courage.  (Applause.)  Our citizens, seared by the memory of those we have lost, know too well the price that is paid for liberty.  The knowledge of their sacrifice will keep us forever vigilant against those who would do us harm. But we are also heirs to those who won the peace and not just the war; who turned sworn enemies into the surest of friends — and we must carry those lessons into this time as well.
We will defend our people and uphold our values through strength of arms and rule of law.  We will show the courage to try and resolve our differences with other nations peacefully –- not because we are naïve about the dangers we face, but because engagement can more durably lift suspicion and fear.  (Applause.)
America will remain the anchor of strong alliances in every corner of the globe.  And we will renew those institutions that extend our capacity to manage crisis abroad, for no one has a greater stake in a peaceful world than its most powerful nation.  We will support democracy from Asia to Africa, from the Americas to the Middle East, because our interests and our conscience compel us to act on behalf of those who long for freedom.  And we must be a source of hope to the poor, the sick, the marginalized, the victims of prejudice –- not out of mere charity, but because peace in our time requires the constant advance of those principles that our common creed describes:  tolerance and opportunity, human dignity and justice.
We, the people, declare today that the most evident of truths –- that all of us are created equal –- is the star that guides us still; just as it guided our forebears through Seneca Falls, and Selma, and Stonewall; just as it guided all those men and women, sung and unsung, who left footprints along this great Mall, to hear a preacher say that we cannot walk alone; to hear a King proclaim that our individual freedom is inextricably bound to the freedom of every soul on Earth.  (Applause.)
It is now our generation’s task to carry on what those pioneers began.  For our journey is not complete until our wives, our mothers and daughters can earn a living equal to their efforts.  (Applause.)  Our journey is not complete until our gay brothers and sisters are treated like anyone else under the law  –- (applause) — for if we are truly created equal, then surely the love we commit to one another must be equal as well.  (Applause.)  Our journey is not complete until no citizen is forced to wait for hours to exercise the right to vote.  (Applause.)  Our journey is not complete until we find a better way to welcome the striving, hopeful immigrants who still see America as a land of opportunity — (applause) — until bright young students and engineers are enlisted in our workforce rather than expelled from our country.  (Applause.)   Our journey is not complete until all our children, from the streets of Detroit to the hills of Appalachia, to the quiet lanes of Newtown, know that they are cared for and cherished and always safe from harm.
That is our generation’s task — to make these words, these rights, these values of life and liberty and the pursuit of happiness real for every American.  Being true to our founding documents does not require us to agree on every contour of life. It does not mean we all define liberty in exactly the same way or follow the same precise path to happiness.  Progress does not compel us to settle centuries-long debates about the role of government for all time, but it does require us to act in our time.  (Applause.)
For now decisions are upon us and we cannot afford delay.  We cannot mistake absolutism for principle, or substitute spectacle for politics, or treat name-calling as reasoned debate.  (Applause.)  We must act, knowing that our work will be imperfect.  We must act, knowing that today’s victories will be only partial and that it will be up to those who stand here in four years and 40 years and 400 years hence to advance the timeless spirit once conferred to us in a spare Philadelphia hall.
My fellow Americans, the oath I have sworn before you today, like the one recited by others who serve in this Capitol, was an oath to God and country, not party or faction.  And we must faithfully execute that pledge during the duration of our service.  But the words I spoke today are not so different from the oath that is taken each time a soldier signs up for duty or an immigrant realizes her dream.  My oath is not so different from the pledge we all make to the flag that waves above and that fills our hearts with pride.
They are the words of citizens and they represent our greatest hope.  You and I, as citizens, have the power to set this country’s course.  You and I, as citizens, have the obligation to shape the debates of our time — not only with the votes we cast, but with the voices we lift in defense of our most ancient values and enduring ideals.  (Applause.)
Let us, each of us, now embrace with solemn duty and awesome joy what is our lasting birthright.  With common effort and common purpose, with passion and dedication, let us answer the call of history and carry into an uncertain future that precious light of freedom.
Thank you.  God bless you, and may He forever bless these United States of America.  (Applause.)
END
12:10 P.M. EST

2013年第一天的收获

年前(前天)下午去游泳,果然不出所料,大腿内侧从今年年初(昨天)开始一直隐隐作痛到今天。不过还好,只是隐隐而已,没有到蹲马步状走路的地步。

2013年第一天最大的收获是我觉得像我这样的人确实很难得。

昨天除了早上出去打水之外一天都没出门,大多数时候都在床上,或坐或卧。一个人吃了一个9″的Pizza,一份意大利面和一盒星星薯,还心血来潮似的把豆浆机仔细地清洗了一遍,做了一大杯豆浆喝了(用小杯喝了三杯才喝完),还吃了些花生。然后看了一天的视频,除了看完近期在追的美剧外,大多看的是Standup Comedy。以前只在iPhone里订阅的Podcast里看过一些片段,并且到了关键的地方就“嘟”过去了,特别烦。昨天从这里 http://www.yyets.com/php/resource/28436 下了31集完整版的,大多没有“嘟嘟”声,如获至宝。

其实我想说“就像肚子里翻腾了好久总算找到了厕所哗啦啦解脱了的感觉”,不过怕一下口味太重了。但这就引到正题了,熟悉我的人都知道,我常把“屎”挂到嘴边上(随便你怎么理解吧)。我把“屎学”运用得非常纯熟,可以把屎渗透到生活的方方面面。我会巧妙地运用和我接触的时间长短不一的人对我的了解不同,进行最简洁的引导,让周围的人们自动掉进“屎”的话题里。很多时候我都不用亲自动嘴,用一个谐音引导一下,把当前话题的场景在关键的时候有意调整一下,甚至只用一个眼神,更甚至只在关键的时候停顿一下,周围的人就自动进入状态了,话题的味道就飘出来了。这些就是在我们这个保守、压抑的文化下,像我这样一个不爱被拘束的人自然而然练就的一身本领,可称得上一代屎学宗师了。当然,在江湖这些年,还是遇到过一些屎学高手的,相信在改革开放的持续深化下,天朝屎林我辈中人还将不断喷涌而出的。

但是,在各种Standup Comedy Show里,屎的话题大概占有百分之三、四十左右。这让我除了产生前文所述“如获至宝”的感觉之外,对美帝更增添了无限的向往。为什么各行各业的精英都要去美国?我这样的屎学精英在天朝只有小圈子的成长土壤,而在美帝,竟然好几千人主动买票去听人扯屎。我小时候有过无数的梦想,要么是科学家,要么是艺术家,总之大多是需要用一辈子的努力才有可能实现的梦想,但从没想过,屎也能成为一个人换来金钱、名誉的途径。成为一代屎学家也可以是美国梦,并且也可以实现!

我们的社会如此压抑,竟然没有浇灭我身上闪耀着的屎的光芒,我真的是太难得了。将来有机会的话,我希望能去美国实现我这个美国梦。但我更希望有一天,我不用去美国,在这里就可以实现这个中国梦。

另,Standup Comedy Show里分量更多的是性的话题,这一点上我真的是败了。虽然在屎学界我有自信说我很难得,但“性”这个话题,我确实还是非常不够。

chocolate-ice-cream-cone

念念相续

手机上下载了个名为Karma Jar的软件,介绍里说灵感来自一位修禅的和尚。他的修行过程用到了一个瓶子和一些黑色或白色的石子。在修习时每当他觉察到一个不好的念头闪过就往瓶子里放一颗黑石子,每当有善念闪过时则放白石子进去。起初他发现瓶子里会被黑色的石子填满。以后渐渐的白色石子的比例不断增加,直到最后他修习时不再添加任何石子进去了,因为他已经觉悟了。

这个软件名字也起的很好,按这个故事来讲,通常可能会被命名为坐禅助手之类的,但软件作者用了Karma这个词,确实很巧妙。Karma翻译成中文是因果报应、因缘、业的意思。在印度教、佛教中都采用了这个概念。如果把我们这个世界看做一个电脑游戏,Karma就像游戏角色的一个属性值,你的所有善恶念头都会积累相应的Karma值,善业得善报,恶业得恶报。因与果之间往往没有非常清晰的关联,但业的值是不断积累的,在业力的作用下人们迷茫地浮沉着,跳不出苦海,跳不出轮回。业值的增加不是说一个人做出了什么行为才会产生的,佛说众生是"念念相续",起了念头就已经产生业值了,即使没有行动也会被这个念头的业力所影响,在今后的生活中产生微妙的影响。所以修行时就要从检视自己的每个念头开始,减少恶业的积累,直到能脱离苦海。

业的概念很巧妙,这个软件借用得不错。

karekarma-jar-iphone-app_picnik

我的博客解禁了?

今天忽然发现不用翻墙也能打开我的博客了。是解禁了吗?还是因为末日我进入了另一个平行宇宙,其实我的博客没被封过?有一点是确定的,这个宇宙里的北京的这两天实在是太冷了。冷得我都发明出了一种比较冷的表达方法:冻得我都便秘了。

博客被封了的期间我的生活方式也受到了影响。虽然还有新浪博客在,但在那个被阉割的地方实在没有心情写博客,因为往往还没写什么呢就想骂新浪,骂来骂去也没有什么用。只有上上新浪微博,不仅阉割的本质没有变,反而让我也很潮地受到了“碎片化”的影响,写两句话就想赶紧收一下尾,生怕写多了。现在博客可以用,被限制地时间长了,一时半会儿还有些不习惯了。写多少都不用担心右下角有个倒计时一样的字数检查会变成红色的负数,感觉文字可以一直前进下去,好像不断在掉进深渊,生怕撞到什么,但想想也不会有什么会撞到的,又有点生疏地往前进,没写多少深渊的感觉就又来了,如此循环……

博客能不翻墙就打开了,第一步做的就是各种升级,什么博客程序升级啦、主题升级啦、插件升级啦、主题自定义啦……第二步先发一篇文章。第三步想想是不是又可以把手机、桌面的各种博客客户端给设置起来了,期待着继续用更丰富的形式记录生活(相对微博来说)。第四步一定要搞个什么长微博的插件,写完就要同步到微博上去,不再受那破字数限制了……

希望这一点点的惊喜不要是昙花一现,希望在自己的祖国至少能享受一点点自由,可以在我这片小天地里让我轻松地玩点我想玩的东西……

 gfw

四千多条短信啊,总算从iPhone成功转移到i9108了!

你是不是也弄不清楚G3与3G?你是不是也不知道移动的3G如何办理?你是不是也不知道3G、G3、GPRS的区别?你是不是也不知道iPhone里如何备份短信到网络上(云端)?你是不是也……?这些问题我都产生过,下面就分享一下我的探索过程吧:

2008年初买的iPhone一直用到现在。从一拿出来人们就投来好奇的眼光,直到现在拿出来人们都不认识,说你这是山寨的吧。最终下定决心了,要换个新手机。iPhone 4S呢不太想买,有点期望iPhone 5,但iPhone 5还不知道什么时候才会有呢。另外在现在智能手机的大潮中,另外半壁江山我不能一无所知啊,得用个Android的手机才行。我可不是果粉,非要追着苹果才行。于是周六晚上三星Galaxy S II(i9108)到手上了。折腾了两天,目前感受是硬件比iPhone好,系统比iPhone差远了(主要指用户友好方面)。这里主要记录期间的两大事件吧。

第一是搞清楚了一个很小白的问题。我一直没弄清楚3G与GPRS的关系。网上搜也没有太多这方面的问题。有网友问了之后甚至被很多人嘲笑。上移动的网站看(我的号是移动的),竟然也没有这些基础知识的资料。我从最早使用手机开始就一直觉得移动的网站太垃圾,几乎都不上。这么多年过去了,移动的网站依旧是风采不减。
上了移动的网站后,我更晕了,出现了另一个词“G3”。我的直觉告诉我这就是移动的3G了。然后看到有广告语说是不用换卡也不用换号,就可以使用移动的G3。于是我就试了一下,用我的S2直接上网,果然没问题,并且速度很快。原来不用设置什么啊!
但又一个问题浮现在我的脑海里了,费用怎么算啊,我可没办理G3业务啊,我可不想跟当年刚使用iPhone时那样,没有办理GPRS套餐,结果一两天就把几百块钱用没了。又上移动的网站打算办G3的套餐,结果怎么都找不到,也没有说明。再次感叹,移动的网站真垃圾,我就不相信像我这样想的人全世界就我一个!
最后,把移动的网站翻烂了都没找到办G3的地方。无可奈何,打10086问吧。话务小姐的一句话立马让我顿悟了:“3G与GPRS的区别就是一个快一个慢,用的都是GPRS的套餐。”唉,我真无语了,你把这句话放在你的网站上能费多大劲啊?我觉着吧,这些其实应该算中国移动的产品优势啊,从2G到3G,什么都不用做,换个3G的手机就可以了,如果以前上过网,连套餐都不用重新申请,多好啊。结果让我没念它的好。还搞个“G3”出来把搞晕客户更上了一层楼。

第二就是通讯录、邮箱、日历、短信的转移。前三样都很简单了,用Google的帐户在Exchange里设置同步就可以了。设置方法呢参考这里:Setting up Google Sync with your iOS device
短信的事情又颇费了一些周折。找了好多工具都是只能备份与恢复通讯录的。QQ同步助手可以导出通讯录、短信、通话记录到网络上,然后又能在别的设备里进行恢复。
先在S2上面装的,原以为没什么问题了。结果在iPhone里安装了之后发现只能同步通讯录。安装的时候明明看到说明里是能同步短信的啊。搜了一下原来Apple不允许应用程序进行这样的操作。虽然表示理解吧,但我iPhone里有四千多条短信可怎么办啊?
试过了找别的软件,都没有这个功能。
最后终于找到了一个方法,还是用QQ同步助手,但不是通过App Store安装。这个方法适用于越狱与破解了的iPhone:

1. 在Cydia里添加源:http://www.qcydia.com
2. 完成之后再找到并安装QQ同步助手

装完后一看界面,心里咯噔一下,因为跟之前看着一样,只有同步通讯录的按钮。幸好没马上退出,用手往左一划,同步短信的界面出来了。这时仔细看才发现原来有两个小点在下面,这个应用有两页。真险。设置好帐号登录后先备份,然后在S2里选择恢复。恢复完成后打开短信,没反应了,重启一下手机,终于成功了,四千多条短信成功转移到我的新手机上了!
不过这个版本的没有同步通话记录的,想了想这个无所谓了。不管了。

59259567