<?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: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-319809167876795022</id><updated>2011-12-06T12:01:24.625+08:00</updated><category term='Confucianism'/><category term='tools'/><category term='China'/><category term='text notification'/><category term='subprime crisis'/><category term='enterprise architecture'/><category term='Chinese character'/><category term='English learning'/><category term='Chinese'/><category term='google hack webcam'/><category term='documentary'/><category term='open source'/><category term='Chinese culture'/><category term='SOA'/><category term='architecture principles'/><category term='freedom'/><category term='earthquake'/><category term='personality guess'/><category term='obedience experiment'/><category term='Fight Club'/><category term='software reuse'/><category term='best practice'/><category term='Fahrenheit 911'/><category term='TV show'/><category term='web service'/><category term='financial risk'/><category term='foreign reserve'/><category term='review'/><category term='system management'/><category term='science'/><category term='linux'/><category term='Runner Fan'/><category term='dystopia'/><category term='operation'/><category term='scalability'/><category term='cloud computing'/><category term='law'/><category term='REST'/><category term='financial crisis'/><category term='vocabulary building'/><category term='politics'/><category term='justice'/><category term='Gmail'/><category term='UML'/><category term='monitoring'/><category term='philosophy'/><category term='API'/><category term='oracle'/><category term='MOF'/><category term='movie'/><category term='software architecture'/><category term='economics'/><category term='belief'/><category term='software'/><category term='domain specific language'/><category term='Farther and Daughter'/><category term='system monitoring'/><category term='religion'/><category term='architecture'/><category term='GPRS'/><category term='journalism'/><title type='text'>chronicle of a curious mind--杨军的Blog</title><subtitle type='html'>Jun Young's random thoughts about the weird world</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>44</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-4025791939094224324</id><published>2009-05-18T22:25:00.001+08:00</published><updated>2009-05-18T22:25:48.401+08:00</updated><title type='text'>software quality-Joel Test</title><content type='html'>&lt;a href="http://www.joelonsoftware.com/articles/fog0000000043.html"&gt;http://www.joelonsoftware.com/articles/fog0000000043.html&lt;/a&gt;&lt;br&gt; &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-4025791939094224324?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/4025791939094224324/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=4025791939094224324' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4025791939094224324'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4025791939094224324'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/05/software-quality-joel-test.html' title='software quality-Joel Test'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-7295287018616613569</id><published>2009-05-13T20:50:00.002+08:00</published><updated>2009-05-13T21:17:31.268+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='REST'/><category scheme='http://www.blogger.com/atom/ns#' term='API'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>Yet abother RESTful API that's not RESTful at all</title><content type='html'>I just run across another claimed RESTful &lt;a href="http://dev.xiaonei.com/wiki/API"&gt;API&lt;/a&gt; published by xiaonei.com. However, IMHO, it is not RESTful at all. That must make Fielding frustrated again.  It is actually POX over HTTP. Obviously REST has been used as brand to mean buzz word compatible thing, that's what Fielding don't wanna see. Please see my previous post about &lt;a href="http://yanky80.blogspot.com/2009/05/what-does-restful-web-service-really.html"&gt;what does REST really means and how&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-7295287018616613569?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/7295287018616613569/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=7295287018616613569' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7295287018616613569'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7295287018616613569'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/05/yet-abother-restful-api-thats-not.html' title='Yet abother RESTful API that&apos;s not RESTful at all'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-875559741021006406</id><published>2009-05-13T11:59:00.007+08:00</published><updated>2009-05-14T02:48:46.321+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='REST'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>what does RESTful web service really mean and how?</title><content type='html'>Although SOA is a buzz word more often cited in enterprise application context, SOA also applies in Internet web application context. This is where RESTful web service comes into play. Most web2.0 websites are building sort of RESTful web services for mashup application development.  However, many claimed RESTful web services are not RESTful at all, which have made REST father &lt;a href="http://roy.gbiv.com/"&gt;Fielding&lt;/a&gt; a bit &lt;a href="http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven"&gt;frustrated&lt;/a&gt;. Maybe some guys just don't want real RESTful stuff, so they kinda relax a bit. Fielding also talk about what we get if we &lt;a href="http://www.slideshare.net/royfielding/a-little-rest-and-relaxation"&gt;relax REST&lt;/a&gt; style. The point is there is no high REST or low REST. You can only be RESTful or not. There is no middle ground.&lt;br /&gt;&lt;br /&gt;If there are some misunderstanding about REST, here are the basic constraints specified by REST style:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Resource oriented: each resource may have multiple representations. Resources are nouns in the vocabulary of systems. In http, it is about MIME types and content negotiation(Accept header).&lt;/li&gt;&lt;li&gt;Unique identification of resources: each resource has an unique identifier. In http, it is about assigning URI to resources.&lt;/li&gt;&lt;li&gt;Links between resources: resources should be linked so that agent can navigate from one resource to another. In http, it is about building hyperlinks between resources like sitemap.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Uniform interface: Not like we specify a contract with programming langueage interface, REST requires an uniform interface for all kind of resources. In http,  the interface is a fixed set of verbs: GET, POST, PUT, DELETE, which can be nicely mapped to CRUD operations in applications.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Statelessness: Yes, REST is stateless. Even though we use session or cookie in http overwhelmingly. That's the wrong way for scalable distributed system.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Layering: you can plugin some kind of intermediary like proxy or cache or authentication between client and server. It is like adding some filters in between if you like.&lt;/li&gt;&lt;/ul&gt;If this summary is just too boring to read, you can refer to real-life examples of RESTful web services. Sun has published its RESTful &lt;a href="http://kenai.com/projects/suncloudapis/pages/Home"&gt;cloud API&lt;/a&gt; with json MIME type. Google Gdata API is &lt;a href="http://code.google.com/apis/gdata/"&gt;another good example&lt;/a&gt; with &lt;a href="http://www.ietf.org/rfc/rfc5023.txt"&gt;Atompub protocol&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;If you are already familiar with REST stuff and want to go for it, please read this IEEE article on &lt;a href="http://steve.vinoski.net/pdf/IEEE-RESTful_Web_Services_Development_Checklist.pdf"&gt;the best practices of developing RESTful web services&lt;/a&gt; by Vinoski.&lt;br /&gt;&lt;br /&gt;Here is my take on how to develop RESTful web services:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;identify resources you want to expose and build a resource model like &lt;a href="http://kenai.com/projects/suncloudapis/pages/CloudAPISpecificationResourceModels"&gt;SUN cloud API resource model&lt;/a&gt;. E.g. building a resource model for a bookshop: shop, room, book, category, review, shoppingcart, order, bestsellers, featured, discount&lt;/li&gt;&lt;li&gt;select an MIME type, json or Atompub or customized xml, to specify representation for each identified resource. E.g. specifying representation for the shop resource in json format:&lt;br /&gt;&lt;pre style="overflow: hidden;"&gt;Content-Type: application/vnd.com.myshop.shop+json&lt;br /&gt;&lt;/pre&gt;{ “name” : "xxx shop", "url" : "http://www.xxxshop.com", "rooms": [{"name" : "science","url" : "/science"},{"name" : "management", "url" : "/mgmt"}],  "shoppingcart" : "/user_id/cart", "order":"/user_id/order", "bestsellers": [{"name" : "best 1", "url" : "/book/1"} , {"name" : "best 2", "url" : "/book/2"}]}&lt;br /&gt;&lt;/li&gt;&lt;li&gt;now we have resources and representations of resources.  In other words, we have nouns. So what do we do next? Yes, verbs. We should attach verbs to nouns for interface definition. E.g. for resource book, user can GET and can not POST/PUT/DELETE. Maybe adminstrator can do update operation. But for resource review, user can GET/POST/PUT/DELETE.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;we get a quite good RESTful interface, but not implement it yet. So we have to choose a convienient programming language to implement the interface. In java, maybe &lt;a href="https://jersey.dev.java.net/"&gt;jersey &lt;/a&gt;is the best choice. Ruby has quite good support for RESTful web service by ActiveResouce package.                                                                                                            &lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;If I get enough time, I will make a complete example of RESTful web service design using online bookshop as demo application.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-875559741021006406?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/875559741021006406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=875559741021006406' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/875559741021006406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/875559741021006406'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/05/what-does-restful-web-service-really.html' title='what does RESTful web service really mean and how?'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-1725731128516278773</id><published>2009-05-08T12:07:00.006+08:00</published><updated>2009-05-14T03:00:18.695+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SOA'/><category scheme='http://www.blogger.com/atom/ns#' term='REST'/><category scheme='http://www.blogger.com/atom/ns#' term='web service'/><title type='text'>SOAP is boring, we need more REST</title><content type='html'>Since SOA became a buzz word, web service has been touted by vendors as the holy grail for EAI or even more, restructure of the existing IT architecture to get a SOA brand. However, if SOA is not driven by real business needs, it must be doomed.  So if we have have done extensive cost benefits alaysis of SOA and concluded that we will have one, how can we do that? Basically SOA is a top down approach, because implementation of SOA need a holistic view of the entire IT infrastructure.  Maybe there are incremental ways for SOA that I don't know. As a top down approach, it is more about governance rather than devise of a cutting-ege fancy technology to implement it. However, technological aspect somehow determines the adoption rate of SOA.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;For now web service is the mainstream implementing technology for SOA because big vendors are driving behind it. But recently there is a new buzz word REST.  REST has been a hot topic in many technology conference, like&lt;a href="http://enterprisewebconf.com/sessions.html"&gt; http://enterprisewebconf.com/sessions.html&lt;/a&gt;, &lt;a href="http://www.parleys.com/display/PARLEYS/Home#talk=4358378;title=The%20State%20of%20REST%20vs.%20SOA;slide=1"&gt;the state of REST vs. SOAP&lt;/a&gt;, &lt;a href="http://www.infoq.com/presentations/qcon-tilkov-rest-intro"&gt;intro of REST,&lt;/a&gt; &lt;a href="http://jaoo.dk/london-2008/presentation/Using+REST+to+aid+WS-*+-+building+a+RESTful+SOA+Registry"&gt;qcon presentation about combining REST &amp;amp; WS-*&lt;/a&gt;. The most &lt;a href="http://www.infoq.com/presentations/vinoski-rest-serendipity"&gt;interesting one&lt;/a&gt; I have watched is by &lt;a href="http://steve.vinoski.net/"&gt;Steve Vinoski&lt;/a&gt;, who was been in trenches for decades. When a CORBA guy is talking about distributed system, we shoule be listening. So what is this guy really talking about? Well, RPC is &lt;a href="http://qconlondon.com/london-2009/presentation/RPC+and+its+Offspring:+Convenient,+Yet+Fundamentally+Flawed"&gt;fundermantally flawed&lt;/a&gt;, REST is a better alternative way to go.  That's what he is advocating. However, some guys don't buy it. Hot debates happened &lt;a href="http://steve.vinoski.net/blog/2008/07/13/protocol-buffers-leaky-rpc/"&gt;here&lt;/a&gt;, &lt;a href="http://steve.vinoski.net/blog/2008/07/01/convenience-over-correctness/"&gt;here &lt;/a&gt;and etc.  One of points I think make sense is that it depends on what kind of control you have on the system to be built. If you have total control of all of the end points of the system, RPC can be used for optimized performance; on the other hand, if some of the end points are outside of your control, REST is a better alternative. So, in this reasoning, SOAP just doesn't fit into the space. Here is an &lt;a href="http://www.slideshare.net/cesare.pautasso/rest-vs-soap-making-the-right-architectural-decision-1st-international-soa-symposium-amsterdam-october-2008-presentation"&gt;extensive comparision&lt;/a&gt; between WS-* and REST.&lt;br /&gt;&lt;br /&gt;UPDATE: I just run into this &lt;a href="http://blogs.gartner.com/nick_gall/2008/11/19/woa-putting-the-web-back-in-web-services/"&gt;post &lt;/a&gt;about what Gartner coined as WOA(Web Oriented Architecture). Actually WOA is just an attempt of Gartner to make a new brand of its own from REST. Nothing new. On the other hand, Gartner proposed WOA as constraints of WS-* stack. How this can be done in the real world? I suspect vendors have motives to do it.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-1725731128516278773?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/1725731128516278773/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=1725731128516278773' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1725731128516278773'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1725731128516278773'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/05/soap-is-boring-we-need-more-rest.html' title='SOAP is boring, we need more REST'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-2714384399455766861</id><published>2009-04-27T00:37:00.003+08:00</published><updated>2009-04-27T00:56:34.892+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software architecture'/><title type='text'>A note on software architecture style classification</title><content type='html'>Architecture style of software system has evolved for decades. We can classify these styles as below.&lt;br /&gt;&lt;br /&gt;1. No Architecture&lt;br /&gt; no unified principle,thus no architecture&lt;br /&gt; a integration task needed to plug into the whole enterprise after each &lt;br /&gt; application developed&lt;br /&gt;applications interact in a point-to-point way&lt;br /&gt; each application has its own data store&lt;br /&gt; interface bloating with O(n*n)&lt;br /&gt; also referred as "post integration"&lt;br /&gt; drawbacks: lack of semantic consistency&lt;br /&gt; uncontrolled data replication&lt;br /&gt; result: tight coupling, ripple effect&lt;br /&gt; &lt;br /&gt;2. The Integrated Database Architecture&lt;br /&gt; unified data model with clearly defined semantic&lt;br /&gt; applications interact through a single data store&lt;br /&gt; a single data store also a giant "global variable"&lt;br /&gt; still result in tight coupling and ripple effect &lt;br /&gt; &lt;br /&gt;3. The Distributed Object Architecture&lt;br /&gt; OO Model ensures consistent semantic&lt;br /&gt; still result in tight coupling, vendor lock-in&lt;br /&gt; examples: EJB, DCOM, CORBA&lt;br /&gt;&lt;br /&gt;4. Message Broker(Hub and Spoke)&lt;br /&gt; Star-like topology&lt;br /&gt; applications interact through the central broker&lt;br /&gt; add a intermediary between applications, thus application can be removed or &lt;br /&gt; replaced without effect on others&lt;br /&gt; drawbacks: single point of failure&lt;br /&gt; limited scalability&lt;br /&gt; example: Web Methods&lt;br /&gt; &lt;br /&gt;5. The Message Bus Architecture&lt;br /&gt; Flexibility is one of the most crucial qualities of modern organization&lt;br /&gt; Imagine main board bus architecture in computer &lt;br /&gt; return to Integrated Database Architecture but difference remains&lt;br /&gt; applications interact by sending message conforming to a message schema&lt;br /&gt; drawbacks: proprietary messaging protocol, vendor lock-in&lt;br /&gt; security risk including network flooding&lt;br /&gt; message format adaption&lt;br /&gt; example: TIBCO Rendezvous&lt;br /&gt; &lt;br /&gt;6. Hybrid Architecture&lt;br /&gt; virtual group&lt;br /&gt; each group contains nodes acting as broker and bus&lt;br /&gt; example: Microsoft BizTalk&lt;br /&gt; &lt;br /&gt;6. Service Oriented Architecture&lt;br /&gt; service everywhere&lt;br /&gt; each application exports its own function to service which can be consumed by&lt;br /&gt; other application&lt;br /&gt; also each application can import services provided by other application in &lt;br /&gt; implementing its own function&lt;br /&gt; Put it simple, each application can be both service provider and service consumer.&lt;br /&gt; &lt;br /&gt;Conclusion&lt;br /&gt;1. No silver bullet, no one-size-fits-all solution.&lt;br /&gt;2. No perfect architecture, only appropriate architecture&lt;br /&gt;3. Big upfront design is less feasible than incremental iterative design&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-2714384399455766861?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/2714384399455766861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=2714384399455766861' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2714384399455766861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2714384399455766861'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/04/note-on-software-architecture-style.html' title='A note on software architecture style classification'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-8818448778781942886</id><published>2009-04-24T23:41:00.002+08:00</published><updated>2009-04-25T21:21:29.365+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='open source'/><category scheme='http://www.blogger.com/atom/ns#' term='tools'/><category scheme='http://www.blogger.com/atom/ns#' term='software'/><title type='text'>some new stuff worth a look</title><content type='html'>I came across the &lt;a href="http://ostatic.com/blog/infoworlds-bossies-recognize-the-best-open-source-offerings"&gt;InfoWorld's 2008 best open source software awards&lt;/a&gt; yesterday. Today &lt;a href="http://www.undertheradarblog.com/blog/informationweeks-top-50-startups-at-under-the-radar/"&gt;InformationWeek's Top50 startups list&lt;/a&gt; pops up. Some of them definitely worth a look.&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://git-scm.com/"&gt;Git&lt;/a&gt;: a distributed version control system that has been used for Linux kernel, fedora and other important open source projects with geographical distribution characteristic.&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://software.intel.com/en-us/intel-tbb"&gt;Intel Threaded Building Blocks&lt;/a&gt;: an open source cross-OS x86 c++ template library for parallel programming. The essence of this library is a &lt;a href="http://en.wikipedia.org/wiki/Cilk"&gt;work stealing scheduler&lt;/a&gt;. There is an equivalent API in java called &lt;a href="http://www.infoq.com/news/2008/03/fork_join"&gt;fork-join framework&lt;/a&gt; that is under development.&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://www.alfresco.com/"&gt;Alfreso&lt;/a&gt;: open source Enterprise Content Management alternative for MS Sharepoint. Most java projects use Confulence Wiki for similar purpose, but ECM solution provides more rich feature set.&lt;br /&gt;&lt;br /&gt;4. &lt;a href="http://www.hyperic.com/"&gt;Hyperic HQ&lt;/a&gt;: comprehensive open source application and system monitoring solution&lt;br /&gt;&lt;br /&gt;5. &lt;a href="http://www.pentaho.com/"&gt;Pentaho&lt;/a&gt;: open source Business Intelligence Suite originated from another comprehensive machine learning algorithm package &lt;a href="http://www.cs.waikato.ac.nz/ml/weka"&gt;Weka&lt;/a&gt;. Note: I have tried Weka for web page classification. It is more lightweight and developer-friendly than other open source alternatives such as RapidMiner.&lt;br /&gt;&lt;br /&gt;6. &lt;a href="http://www.vyatta.com/"&gt;Vyatta&lt;/a&gt;: open source router, firewall &amp;amp; VPN solution/claimed Cisco alternative. Ambitious! Here are some intro &lt;a href="http://www.vyatta.com/products/online_demos.php"&gt;webcasts&lt;/a&gt;.  And here is  a comprehensive &lt;a href="http://openmaniak.com/vyatta.php"&gt;review&lt;/a&gt;. Another similar but more academic project is &lt;a href="http://www.xorp.org/"&gt;XORP&lt;/a&gt;. Ops! It seems Vyatta was really derived from XORP. Anyway, we can consider to use it as a replacement of Cisco low-end products. More importantly, students can download it and build a virtual network lab with VMware-like virtual machine software. Thanks for the hard work from these guys!&lt;br /&gt;&lt;br /&gt;7.  &lt;a href="http://www.metasploit.com/"&gt;Metasploit Framework&lt;/a&gt;: open source penetration toolkit that can be used to hammer application for finding potential security vulnerabilities. Also It can be used for malicious attack.&lt;br /&gt;&lt;br /&gt;8.  &lt;a href="http://www.splunk.com/"&gt;Splunk&lt;/a&gt;: open source security log analysis framework that can analyze logs from various sources to find out security threats.&lt;br /&gt;&lt;br /&gt;9. &lt;a href="http://www.amanda.org/"&gt;Amanda&lt;/a&gt;: maybe mostly used open source backup solution.&lt;br /&gt;&lt;br /&gt;10. &lt;a href="http://www.abiquo.com/"&gt;Abiquo&lt;/a&gt;: open source cloud computing solution provider, ambitious too!&lt;br /&gt;&lt;br /&gt;11. &lt;a href="http://eucalyptus.cs.ucsb.edu/"&gt;Eucalyptu&lt;/a&gt;: yet another open source cloud computing solution, but more academic.&lt;br /&gt;&lt;br /&gt;12: &lt;a href="http://www.openqrm.org/"&gt;openqrm&lt;/a&gt;: open source data center management software, not touted as cloud stuff yet, but it can be.&lt;br /&gt;&lt;br /&gt;I will elaborate more details when I try any of them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-8818448778781942886?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/8818448778781942886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=8818448778781942886' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/8818448778781942886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/8818448778781942886'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/04/some-new-stuff-worth-look.html' title='some new stuff worth a look'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-9200343716435525391</id><published>2009-04-22T15:16:00.004+08:00</published><updated>2009-04-26T22:00:25.590+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='architecture principles'/><category scheme='http://www.blogger.com/atom/ns#' term='enterprise architecture'/><title type='text'>architecture principles notes</title><content type='html'>When I watched a presentation by Ebay architect about &lt;a href="http://www.infoq.com/presentations/shoup-ebay-architectural-principles"&gt;Ebay architecture principles&lt;/a&gt;, I was thinking about how could we figure out what architecture principles we could use in my specific project cases. After all, architecture principles vary from company to company and from project to project. So what does it derive from? After reading some resources, here is my notes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1. what?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Before we go further, we'd better make clear what the architecture principles are. Here is a definition from &lt;a href="http://www.opengroup.org/architecture/togaf9-doc/arch/"&gt;TOGAF's enterprise architecture framework&lt;/a&gt;:&lt;br /&gt;&lt;br /&gt;&lt;blockquote style="font-style: italic;"&gt;Architecture principles are a subset of IT principles that relate to architecture work. They reflect a level of consensus across the enterprise, and embody the spirit and thinking of the enterprise architecture.&lt;br /&gt;......&lt;br /&gt;Architecture principles define the underlying general rules and guidelines for the use and deployment of all IT resources and assets across the enterprise. They reflect a level of consensus among the various elements of the enterprise, and form the basis for making future IT decisions.&lt;br /&gt;&lt;br /&gt;Each architecture principle should be clearly related back to the business objectives and key architecture drivers.&lt;br /&gt;&lt;/blockquote&gt;It seems way too dogmatic.  Here are the guts:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;They are IT principles.&lt;/li&gt;&lt;li&gt; They are general guidelines and rules of utilizing IT resources.&lt;/li&gt;&lt;li&gt;They should be well aligned with business objectives.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Here is the components an architecture principle usually contains:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Name:  representative name with clear meaning&lt;/li&gt;&lt;li&gt;Statement:  description of unambiguous  fundamental  rule&lt;/li&gt;&lt;li&gt;Rational: highlight business benefits, point out the relations to business principles and relations to other architecture principles, and how to weight them in context&lt;/li&gt;&lt;li&gt;Implication: requirements from both IT and business to carrying out the principle in terms of resources, cost, activities and cost. It's about impact and consequence.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Here is an architecture principles example from &lt;a href="http://www.opengroup.org/architecture/togaf9-doc/arch/chap23.html#tag_24_06"&gt;Example Set of Architecture Principles&lt;/a&gt; from &lt;a href="http://www.opengroup.org/architecture/togaf9-doc/arch/chap23.html"&gt;TOGAF's enterprise architecture framework&lt;/a&gt;. Another example is &lt;a href="http://enterprisearchitecture.nih.gov/ArchLib/Guide/EnterprisePrinciples.htm"&gt;NIH enterprise architecture&lt;/a&gt;. Maybe &lt;a href="http://it.toolbox.com/blogs/enterprise-solutions/enterprise-technology-architecture-principles-10598"&gt;this example&lt;/a&gt; is more technology oriented.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2. how?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;According to the above interpretation of what, we could only derive these architecture principles from business objectives. Here is the method of &lt;a href="http://it.toolbox.com/blogs/enterprise-solutions/running-an-architecture-principles-workshop-12581"&gt;running a workshop&lt;/a&gt; to draw up them.  The key points are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Identify Strategic Objectives&lt;/li&gt;&lt;li&gt;Record Strategic Objectives&lt;/li&gt;&lt;li&gt;Identify Architecture Principles&lt;/li&gt;&lt;li&gt;Explain Architecture Principles&lt;/li&gt;&lt;li&gt;Prioritize Architecture Principles&lt;/li&gt;&lt;li&gt;Show Prioritization Results&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;reference:&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://it.toolbox.com/blogs/enterprise-solutions/running-an-architecture-principles-workshop-12581"&gt;http://it.toolbox.com/blogs/enterprise-solutions/running-an-architecture-principles-workshop-12581&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://it.toolbox.com/blogs/enterprise-solutions/sample-architecture-principles-workshop-agenda-12598"&gt;http://it.toolbox.com/blogs/enterprise-solutions/sample-architecture-principles-workshop-agenda-12598&lt;/a&gt;&lt;br /&gt;3. &lt;a href="http://www.opengroup.org/architecture/togaf9-doc/arch/"&gt;http://www.opengroup.org/architecture/togaf9-doc/arch/&lt;/a&gt;&lt;br /&gt;4. &lt;a href="http://www.bredemeyer.com/HotSpot/20040428EASoapBox.htm"&gt;http://www.bredemeyer.com/HotSpot/20040428EASoapBox.htm&lt;/a&gt;&lt;br /&gt;5. &lt;a href="http://enterprisearchitecture.nih.gov/ArchLib/Guide/EnterprisePrinciples.htm"&gt;http://enterprisearchitecture.nih.gov/ArchLib/Guide/EnterprisePrinciples.htm&lt;/a&gt;&lt;br /&gt;6. &lt;a href="http://enterprisearchitecture.nih.gov/About/Approach/Framework.htm"&gt;http://enterprisearchitecture.nih.gov/About/Approach/Framework.htm&lt;/a&gt;&lt;br /&gt;8. &lt;a href="http://blogs.msdn.com/architectsrule/archive/2008/04/22/reference-architecture-principles.aspx"&gt;http://blogs.msdn.com/architectsrule/archive/2008/04/22/reference-architecture-principles.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-9200343716435525391?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/9200343716435525391/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=9200343716435525391' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/9200343716435525391'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/9200343716435525391'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/04/architecture-principles-notes.html' title='architecture principles notes'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-6960270725239098065</id><published>2009-04-22T13:44:00.006+08:00</published><updated>2009-04-24T13:05:33.611+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='system management'/><category scheme='http://www.blogger.com/atom/ns#' term='system monitoring'/><title type='text'>handy system administration and monitoring tools</title><content type='html'>Just a memo:&lt;br /&gt;&lt;br /&gt;maybe the most extensive list on the net about system administration:&lt;br /&gt;http://www.slac.stanford.edu/xorg/nmtf/nmtf-tools.html&lt;br /&gt;&lt;br /&gt;Among the list, here are those I have used:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ntop.org"&gt;Ntop&lt;/a&gt;/&lt;a href="http://www-941.haw.ibm.com/collaboration/wiki/display/WikiPtype/nmon"&gt;Nmon&lt;/a&gt;: network traffic data collection&lt;br /&gt;&lt;br /&gt;Currently the most popular and also oldest network monitoring tools might be &lt;a href="http://www.nagios.org"&gt;Nagios&lt;/a&gt;(network and server monitoring) and &lt;a href="http://oss.oetiker.ch/mrtg/"&gt;MRTG&lt;/a&gt;(mainly network traffic). Another perl written one &lt;a href="http://www.cfengine.org"&gt;cfengine&lt;/a&gt; is getting popular for its powerful rule based management script execution system. Rule language is not new. It has been widely used in &lt;a href="http://en.wikipedia.org/wiki/Business_rules_engine"&gt;business rules engine&lt;/a&gt; like &lt;a href="http://www.ilog.com"&gt;ILOG&lt;/a&gt; and &lt;a href="http://www.jboss.org/drools"&gt;Drool&lt;/a&gt;. It also shines when it is used for system administration. I will give a try if I have a chance.&lt;br /&gt;&lt;br /&gt;There are some new open source tools worth a look:&lt;br /&gt;1. &lt;a href="http://www.opennms.org/index.php/FAQ-About"&gt;OpenNMS&lt;/a&gt;: java&lt;br /&gt;3. &lt;a href="http://www.hyperic.com/products/monitoring-comparison-chart.html"&gt;Hyperic&lt;/a&gt;: java&lt;br /&gt;3. &lt;a href="http://www.zenoss.com/product/#subscriptions"&gt;Zenoss&lt;/a&gt;: python&lt;br /&gt;&lt;br /&gt;And it seems old boy is &lt;a href="http://www.rootdev.com/tech/opennms-vs-nagios"&gt;losing favor&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-6960270725239098065?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/6960270725239098065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=6960270725239098065' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6960270725239098065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6960270725239098065'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/04/handy-system-administration-and.html' title='handy system administration and monitoring tools'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-115180261519273972</id><published>2009-04-22T12:19:00.004+08:00</published><updated>2009-05-13T10:59:48.364+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='operation'/><category scheme='http://www.blogger.com/atom/ns#' term='software architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='monitoring'/><title type='text'>operation dimension of system architecture</title><content type='html'>In terms of software architecture, there are usually various stakeholders involved in a specific system architecture. Each of them might has different architectural requirements. Product department often submits functional requirements. Operation department often submits system management or monitoring requirements. Accounting department may submits billing requirements. And in some cases the system has its own inherent non-functional requirements such as performance, availability and other SLA guarantees. In one word, a system architecture always involves quite a lot dimensions. We have to think about all of them so as to get a full picture of the system. However, developers are usually myopic so that they rarely think about other dimensions. After all, when system rolls out, developers have to work closely with operation people to get feedbacks about production system. If developers don't get well prepared, they may end up with getting nothing. Even worse, they will get entangled into operation aspect. Here are some points developers could consider in advance and prepare for.&lt;br /&gt;&lt;br /&gt;The first question is how to get production system status?&lt;br /&gt;&lt;br /&gt;The common approach is log extensively in the system itself and send notification email when things get abnormal. Simple! But it don't work when the system is down. And another disadvantages is that application level logging only cares about the system itself. How about machine poweroff or disk failure or network outrage?&lt;br /&gt;&lt;br /&gt;So we should have an independent and full functional health management system. Usually this system is maintained by operation department. Then there is a gap, social and technical. The social one is that the two department have to cooperate to make system work. The technical one is about how to make existing health management system be aware of the new system. It depends on both sides. The health management system should be extensible so that it can adapt to any kind of new system. Luckily some full functional monitoring systems qualify. And the new system itself should provide health checking interface that would be called by health management system. So far so good. When system goes wrong, the health management system will get notification in the first place. If they can deal with it, developers can sleep well. Otherwise, developers will get busy.&lt;br /&gt;&lt;br /&gt;Another important point is that trust should be built between operation department and development department. Developers should add a lens which can view the dimension of operation to its toolbox. Also system administrators should add a lens which can view the dimension of development to its toolbox, because a full understanding about the new system can help them monitor the system more extensively.&lt;br /&gt;&lt;br /&gt;The reason why I am aware of operation aspect of system architecture is that it is getting more and more important today. Service has been a buzzword for years. SOA, SaaS, PaaS, Web Services and so on. So how can we measure the quality of service? Yes, SLA(Service Level Agreement). 4 nines availability and 1s response time. That's it. But how can we reach that SLA? It is closely related to operation. So be watchful of it.&lt;br /&gt;&lt;br /&gt;UPDATE: Here is a good post on the same topic: &lt;a href="http://www.codingthearchitecture.com/2007/11/09/monitoring_java_systems.html"&gt;monitoring java system&lt;/a&gt;, but more specifically.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-115180261519273972?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/115180261519273972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=115180261519273972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/115180261519273972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/115180261519273972'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/04/operation-dimension-of-system.html' title='operation dimension of system architecture'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-564717294402623853</id><published>2009-03-30T10:35:00.004+08:00</published><updated>2009-04-24T17:15:02.431+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scalability'/><category scheme='http://www.blogger.com/atom/ns#' term='architecture'/><category scheme='http://www.blogger.com/atom/ns#' term='best practice'/><title type='text'>the lessons of scaling</title><content type='html'>In the previous post, I make a simple classification on current website architectures according to their technology features. So what we can learn from these architectures? Before any elaboration I will point out most of principles are proposed for scaling-out rather than scaling-up, because scaling-up just don't do well. In contrast, commodity PC cluster is entering the mainstream. Well, Here is my notes.&lt;br /&gt;&lt;br /&gt;1. partition&lt;br /&gt; &lt;br /&gt;It seems that partition is a quite familiar concept for DBA rather than developers. I mean, almost any fancy database support table partitioning fully or partially. That means big volume table can be sliced into multiple small and manageable tables. What's more than that is sharding. Or we can just call it cross database partitioned table or horizontal partition. Sharding is almost the standard approach adopted by most of today's web2.0 companies. But note that sharding is not out-of-box components provided by database vendors. Instead, anyone who want to use it may end up with building a sharding solution specific to the use case. Although there are some partial solutions like Hibernate shard and Mysql Proxy out there, in most cases you have to customize or treak for your needs.&lt;br /&gt;  &lt;br /&gt;The essence of partition is divide and conquer. However, this principle also applies very well in the whole software stack. In application layer, we can partition a monolithic system by function into independent system unit or just design such architecture from the start in mind. In SOA terms, well defined self-contained services. Because each unit has its own constraints and characteristics, so each unit can be independently developed and optimized for performance and scalability. For example, In a classic online shop, there may be signing service, item view service, item search service, ordering service, and so on. Each of them has different user experience tolerance characteristic and IO characteristic. We can use different strategy to implement these services for different functional and nonfunctional needs. But one important assumption of function partition is the system is stateless. In other word, service is self-contained. So we avoid server side http session or stateful session bean into a minimum.&lt;br /&gt;&lt;br /&gt;2. caching&lt;br /&gt;&lt;br /&gt;Caching is a well-known hammer to crack performance problem. Also caching can be applied in many use cases. Database do have its own query result cache. If your server has abundant memory, allocate more of them for database query result cache can make significant impact in response time. Aside from database, developers are more familiar with caching in application layer. There are many caching solutions &lt;br /&gt;for popular web programming languages. The most notable one is memcached which is almost the standard configuration in most web2.0 companies.&lt;br /&gt;&lt;br /&gt;3. avoid distributed transaction&lt;br /&gt;&lt;br /&gt;This one is also the most provoking and controversial one. However, it has been regarded as an important principle in Ebay's scalable architecture. But this is not a new idea at all. The basic logic behind this principle was proposed as CAP theorem in the earlier 90s by Eric Brewer. The theorem is also called Brewer conjecture.&lt;br /&gt;However, CAP theorem was proved thereafter. So we can make architectural decisions based on this assumption. For most of today's web services, availability and partition are fixed factors. So we have to sacrifice consistency for availability. That usually means ACID properties provided by relational database will not be available anymore. Instead, we end up with a different architecture: &lt;a href="http://queue.acm.org/detail.cfm?id=1394128"&gt;BASE&lt;/a&gt;. However, we do need &lt;a href="http://queue.acm.org/detail.cfm?id=1466448"&gt;eventual consistency&lt;/a&gt; in some cases. So we have to introduce other mechanism for compensation and correction to reach eventual consistency. Concrete implementing strategy must be tricky.&lt;br /&gt; &lt;br /&gt;4. asynchronous processing&lt;br /&gt;&lt;br /&gt;Another proven approach of scaling is identify time-insensitive processes and do it asynchronously. The point is decouple one process from the others and thus each process can be simple and easy to scale and most importantly, without blocking other processes. Sometimes asynchronous principle is called &lt;a href="http://en.wikipedia.org/wiki/Event-driven_programming"&gt;event driven model&lt;/a&gt;. That's true that asynchronous processing always involves some kind of notification about the result of processing. Messaging middleware have been widely used for this purpose. Order processing, billing, BI are all in this spectrum. Queue mechanism has been &lt;a href="http://www.blogger.com/www.atomikos.com/downloads/articles/TransactionsForXTP-WhitePaper.pdf"&gt;touted&lt;/a&gt; as the weapon for (XTP)&lt;a href="http://www.blogger.com/en.wikipedia.org/wiki/Extreme_Transaction_Processing"&gt;Extreme Transaction Processing&lt;/a&gt;. When high volume load is queued for later processing, the system scales. But behold, the pressure is actually transferred from application to messaging middleware. So if the messaging middleware itself can't scale well, there might be a nightmare.&lt;br /&gt;&lt;br /&gt;In addition, some OS and programming language provide asynchronous abstraction. In OS level, Asynchronous IO has been developed in windows(CIOP) and linux(AIO) for better scalability. Some language libraries also provide such abstraction. Java has concurrency package that provide future concept. Boost library has an AIO module for network programming which implemented &lt;a href="http://www.blogger.com/www.cs.wustl.edu/%7Eschmidt/PDF/proactor.pdf"&gt;Proactor pattern&lt;/a&gt;. And event based IO in linux like epoll has prevailed with the large adoption of web server like lighttpd. However, in the context of network programming, threading or events is a question. There are some provoking discussions worth a read.&lt;a href="http://usenix.org/events/hotos03/tech/full_papers/vonbehren/vonbehren_html/"&gt;Why events bad&lt;/a&gt; and &lt;a href="http://www.blogger.com/www.stanford.edu/class/cs240/readings/threads-bad-usenix96.pdf"&gt;Why threads bad&lt;/a&gt;. Don't be confused by the title. Read in context.&lt;br /&gt;&lt;br /&gt;5. failure oriented&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://michael.toren.net/mirrors/eight-fallacies-of-distributed-computing/"&gt;8 fallacies of distributed computing&lt;/a&gt; are well-known in the distributed system field for years. Actually all of them are false assumptions we are likely to make when designing distributed system. Although some of them seems naive for today's architects, most of them still apply. In other words, when system gets distributed, things get ugly. We have to be prepared for dealing with such ugly things. A good start is list all components of the system, assume each of them is likely to fail in some cases, and figure out how to deal with it in such cases. The more worse the cases you think of and prepare for, the more stable the system would be. There are many researches and practices on the issue. Hardware redundancy, software instance replication for availability, automatic failover, backup and revovery, data replication for error tolerance and so on. In programming language, Erlang really did a good job in this area. Erlang was designed with "failure is everywhere" in mind. Each process can have a monitor process to watch if it is healthy and keep it up in case of failure. However, there is a "who monitor the monitor" problem. That's why we can only build system with several 9.&lt;br /&gt; &lt;br /&gt;6. virtulization&lt;br /&gt;&lt;br /&gt;Virtual machine is well understood for testing purpose. It is very easy to install several virtual machine images in one psychical machine and test programs for different OS environment. But today virtulization has been leveraged for building large scale cloud computing infrastructure, because it can provide a better abstraction of computing power. User can instantly use it without worrying about networking, power or disk failure. That's the essence of utility computing either. Enterprise can get better utilization rate of its computing resources. For now cloud computing is provided by IT giants like Amazon. But it would be promising to see how cloud infrastructure fits into the enterprise scope.&lt;br /&gt;&lt;br /&gt;Note: I will update this post when new idea comes up.&lt;br /&gt;&lt;br /&gt;reference:&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://highscalability.com"&gt;http://highscalability.com&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://queue.acm.org/detail.cfm?id=1394128"&gt;http://queue.acm.org/detail.cfm?id=1394128&lt;/a&gt;&lt;br /&gt;3. &lt;a href="http://queue.acm.org/detail.cfm?id=1466448"&gt;http://queue.acm.org/detail.cfm?id=1466448&lt;/a&gt;&lt;br /&gt;4. &lt;a href="http://www.infoq.com/articles/ebay-scalability-best-practices"&gt;http://www.infoq.com/articles/ebay-scalability-best-practices&lt;/a&gt;&lt;br /&gt;5. &lt;a href="http://www.manageability.org/blog/stuff/about-ebays-architecture"&gt;http://www.manageability.org/blog/stuff/about-ebays-architecture&lt;/a&gt;&lt;br /&gt;6. &lt;a href="http://www.manageability.org/blog/stuff/cache-tier-architecture"&gt;http://www.manageability.org/blog/stuff/cache-tier-architecture&lt;/a&gt;&lt;br /&gt;7. &lt;a href="http://www.ccs.neu.edu/groups/IEEE/ind-acad/brewer/sld009.htm"&gt;http://www.ccs.neu.edu/groups/IEEE/ind-acad/brewer/sld009.htm&lt;/a&gt;&lt;br /&gt;8. &lt;a href="www.atomikos.com/downloads/articles/TransactionsForXTP-WhitePaper.pdf"&gt;www.atomikos.com/downloads/articles/TransactionsForXTP-WhitePaper.pdf&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-564717294402623853?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/564717294402623853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=564717294402623853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/564717294402623853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/564717294402623853'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/03/lessons-of-scaling.html' title='the lessons of scaling'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-1360459632605812093</id><published>2009-03-29T11:17:00.008+08:00</published><updated>2009-04-20T21:16:35.664+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='scalability'/><category scheme='http://www.blogger.com/atom/ns#' term='cloud computing'/><title type='text'>the challenge of the scale</title><content type='html'>After the dotcom bubble broke, we gradually get a new one-&lt;a href="http://en.wikipedia.org/wiki/Web_2.0"&gt;web 2.0&lt;/a&gt;. However, this time it is more fun. From &lt;a href="http://www.informationweek.com/1113/IDweb20_timeline.jhtml"&gt;a brief history of web 2.0&lt;/a&gt;, we can see the birth of google marked the infancy of this new age of Internet. The most notable feature in this age is &lt;a href="http://oreilly.com/catalog/9780596529321/"&gt;collective wisdom&lt;/a&gt;. Well, you may say &lt;a href="http://en.wikipedia.org/wiki/The_Long_Tail"&gt;long tail&lt;/a&gt;, large scale collaboration, and whatever. The point is the users are the leading role of the stage. So what's the implication of this trend on technology? Users means page view and site traffic. And what's more than that is the scale of traffic and data. How could we deal with this thing? The question is the same, the answer varies from one company to another. &lt;a href="http://www.highscalability.com"&gt;highscalability.com&lt;/a&gt; made a great contribution for the community to learn from each other.&lt;br /&gt;&lt;br /&gt;Since google published some papers on its secret weapons, many companies have disclosed their technology architectures and shared their experience in a variety of talks. I just make a simple classification about these architectures:&lt;br /&gt;&lt;br /&gt;1. cloud computing&lt;br /&gt;   features: homegrown solutions from scratch for large scale data processing, distributed,tolerant and high available file system; distributed schemaless  database/document store; computing grid/distributed job scheduler&lt;br /&gt;   example: google, amazon &lt;br /&gt;   technology: GFS, Bigtable, MapReduce, Chubby, Dynamo, EC2, S3, SimpleDB&lt;br /&gt;   &lt;br /&gt;2. LAMP&lt;br /&gt;   features: customized LAMP, some homegrown solutions, some clones of class 1&lt;br /&gt;   example: yahoo, livejournal, youtube, flickr, facebook&lt;br /&gt;   technology: linux, LVS, Apache, Mysql, PHP, Squid, &lt;a href="http://www.danga.com/memcached/"&gt;memcached&lt;/a&gt;, MogileFS, Perlbal, DJabberd, The Schwartz, &lt;a href="http://www.spread.org/"&gt;Spread&lt;/a&gt;, Hadoop, HBase, ZooKeeper, Hypertable,  &lt;br /&gt;   &lt;br /&gt;3. JAVA EE &lt;br /&gt;   features: classic N-tier architecture,2PC transaction, application server clustering, db replication, caching/in memory &lt;a href="http://en.wikipedia.org/wiki/Data_grid"&gt;data grid&lt;/a&gt;&lt;br /&gt;   example: &lt;a href="http://www.infoq.com/articles/ebay-scalability-best-practices"&gt;Ebay(Note:maybe ebay is not a good example of this class because ebay don't use 2pc transaction)&lt;/a&gt;, many banks and security companies &lt;br /&gt;   technology: jsp, web frameworks, jee application server, messaging middleware, commercial relational db&lt;br /&gt;   &lt;br /&gt;4. MS suite&lt;br /&gt;   features: N-tier architecture, partition, caching&lt;br /&gt;   example: &lt;a href="http://highscalability.com/myspace-architecture"&gt;MySpace&lt;/a&gt;&lt;br /&gt;   technology: Asp.NET, sql server, windows server&lt;br /&gt;&lt;br /&gt;It is clear the first two classes of architecture draw much attention these days, partly because open source software has got accelerating adoptions. On the contrary, commercial solutions are more likely to be adopted by those tycoons who can just throw money on everything. Each class of architecture may solve the scaling problem in one way or another. But it is hard to estimate how cost effective each class of architecture might be. On one hand, homegrown solutions may solve the problem more effectively and provide more flexibility, but maybe need more efforts to build. On the other hand, commercial solution may also solve the problem with equivalent efficiency, but must need more money. The key is the architecture must be extensible for new functional requirements and scalable for increasing user traffic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-1360459632605812093?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/1360459632605812093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=1360459632605812093' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1360459632605812093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1360459632605812093'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/03/challenge-of-scale.html' title='the challenge of the scale'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-471164251095172828</id><published>2009-02-24T02:07:00.010+08:00</published><updated>2009-03-29T10:59:51.266+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='google hack webcam'/><title type='text'>really funny google hacks</title><content type='html'>Well, about a hour ago I was chatting with one of my friend. Actually we are talking about how to acquire page view statistics on a website which are controlled by third parties. Suddenly I was reminded of the idea that google hack may do the trick. Then after a bit of googling of "google hack", many funny things popped up. One of them is how to view or control a webcam by google. And I also found some guidelines(&lt;a href="http://www.i-hacked.com/content/view/81/42/"&gt;Taking advantage of technology&lt;/a&gt;, and &lt;a href="http://www.mydigitallife.info/2006/11/27/hack-to-search-and-view-free-live-webcam-with-google-search/"&gt;how to search and view free live webcam by google&lt;/a&gt;) about this trick. And &lt;a href="http://www.griffid.com/htm/live_cams.htm"&gt;this one&lt;/a&gt; even listed some live webcam available at present. I just paste some of pictures for your curiosity. You can just try some of them. Have fun!&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_pWMjPjtJjsE/SaLpuvOXSBI/AAAAAAAAApI/LV1TimVfZZY/s1600-h/leninsquare.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_pWMjPjtJjsE/SaLpuvOXSBI/AAAAAAAAApI/LV1TimVfZZY/s320/leninsquare.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5306060300155832338" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_pWMjPjtJjsE/Sa8y0-JXFJI/AAAAAAAAApQ/d_guOgjECF4/s1600-h/England.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 218px;" src="http://4.bp.blogspot.com/_pWMjPjtJjsE/Sa8y0-JXFJI/AAAAAAAAApQ/d_guOgjECF4/s320/England.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5309518371309950098" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_pWMjPjtJjsE/Sa8z1JYjGSI/AAAAAAAAApg/1MLC408Cg30/s1600-h/telescopeinsydney.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://1.bp.blogspot.com/_pWMjPjtJjsE/Sa8z1JYjGSI/AAAAAAAAApg/1MLC408Cg30/s320/telescopeinsydney.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5309519473838070050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_pWMjPjtJjsE/Sa8zqH4I5fI/AAAAAAAAApY/XQTAjjbptp0/s1600-h/PlazaMayorSpainMadrid.JPG"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_pWMjPjtJjsE/Sa8zqH4I5fI/AAAAAAAAApY/XQTAjjbptp0/s320/PlazaMayorSpainMadrid.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5309519284455138802" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-471164251095172828?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/471164251095172828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=471164251095172828' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/471164251095172828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/471164251095172828'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/02/really-funny-google-hacks.html' title='really funny google hacks'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_pWMjPjtJjsE/SaLpuvOXSBI/AAAAAAAAApI/LV1TimVfZZY/s72-c/leninsquare.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-8979626280793084466</id><published>2009-02-14T16:49:00.003+08:00</published><updated>2009-02-14T17:08:46.058+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='personality guess'/><title type='text'>personality guess from blog</title><content type='html'>There is an old saying in Chinese(文如其人): The style is the man, or the writing mirrors the writer. It means we can deduce one's personality from his writing. Now technology can verify this saying. There is a website &lt;a href="http://www.typealyzer.com"&gt;Typealyzer.com&lt;/a&gt; doing this verification. Before you browse someone's blog, you can make a guess about his personality and find friends who are similar with you. Have fun!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-8979626280793084466?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/8979626280793084466/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=8979626280793084466' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/8979626280793084466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/8979626280793084466'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/02/personality-guess-from-blog.html' title='personality guess from blog'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-2993190597489077098</id><published>2009-02-09T13:54:00.002+08:00</published><updated>2009-02-09T22:09:57.930+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='China'/><category scheme='http://www.blogger.com/atom/ns#' term='foreign reserve'/><title type='text'>a hot debate: where should China's foreign reserve go</title><content type='html'>Editorial: It is well known that China has accumulated the biggest foreign reserve in the past couple of years. As is noted in academics, this big number of foreign reserve is a double edge sword. On the one hand, it represents the financial power of the state. So the government can resist malicious speculation on RMB from some sharks among foreign investors. And also domestic companies can import advanced equipments and technology patents by buying foreign exchange from SAFE(State Administration of Foreign Exchange) within specific limits. On the other hand, because foreign reserve exists in form of foreign government bonds and securities, there must be some kind of opportunistic cost and possibility of increasing the pressure of inflation.&lt;br /&gt;&lt;br /&gt;When we can not rely on imports of the US and EU countries, what we can do with our foreign reserve to revive our economy? A hot debate is happening among some Chinese economists. I'd like to brief this debate(&lt;a href="http://news.xinhuanet.com/fortune/2009-02/09/content_10785234.htm"&gt;一场关于外汇储备用法的激辩&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;On the night of Feb. 8, 2009, a hot debate is happening in the north of Ha'erbing. One side is Zhang Weiying, an economists and professor working in Peking University, the other side is Gao Xiqing, the CEO of China Investment Corporation. The focus is whether the foreign reserve should be redistributed to Chinese citizens to expand domestic demands.&lt;br /&gt;&lt;br /&gt;Mr. Zhang made an adamant proposal that the big and idle foreign reserve can be partly redistributed to Chinese citizens to increase their purchasing power. And he thought it is helpful for every Chinese citizen to be the holder of the US bonds. Zhang's proposal was strongly refuted by Mr. Gao, who thought that once this accumulated reserve are redistributed to Chinese citizens, the government can't execute central management of foreign exchange, which is considered necessary to resist currency speculation. Mr. Gao said, "the Americans must oppose this proposal. because holding of the US government bonds means support of its credit. If we sell these bonds, the credit of bonds will drop dramatically. So is the expected profit of these bonds. And finally all of the foreign assets we are holding will become paper." Another reason he opposed the proposal is that he thought the citizens would rather deposit received money than consume. Let stimulating economy alone.&lt;br /&gt;&lt;br /&gt;Mr. Zhang also defended his proposal. He said only a part of foreign reserve will be used for redistribution so that the national financial security will not be threatened.&lt;br /&gt;&lt;br /&gt;Although the defense of Mr. Zhang seems unassailable, the proposal is a bit radical. The doubt of Mr. Gao about what the citizens will do with the money is reasonable. At present, most people don't have protection of social security. Education of children, disease, taking care of old parents are all big concerns for them. If these top concerns would not be relieved, consumption would not come as expected. So my opinion is that part of the reserve can be used in extending social safety net to all of the country so that people can consume without concern.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-2993190597489077098?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/2993190597489077098/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=2993190597489077098' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2993190597489077098'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2993190597489077098'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/02/hot-debate-where-should-chinas-foreign.html' title='a hot debate: where should China&apos;s foreign reserve go'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-6488692491571089435</id><published>2009-02-08T23:11:00.004+08:00</published><updated>2009-02-10T00:42:19.396+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='China'/><title type='text'>the turning point of China</title><content type='html'>Since the downturn of the US economy, there have been many discussions about whether China will be affected by this credit crunch originated from the US. Now the problem is not whether or not, but how. In the 4th quarter of the last year, many factories and businesses focused on foreign trade were closed and tens of thousands of people are laid off. Annual bonus in most companies were discounted in the last year. Even for those trying to sustain development, business opportunities become rare. It is evident that the China economy are experiencing the shock of financial tsunami. So what we can do to recover?&lt;br /&gt;&lt;br /&gt;Actually both foreign and domestic economists and experts noted early that China was developing a very abnormal economy that we can see from the big Sino-US trade surplus. But there was no powerful measures taken to improve the situation. As long as the train of the economy is running, no much attention would be paid. Now the train is slowing down and likely to stop somewhere if nothing will be done. It is a turning point for us to make a transition in the development policy. In the past almost all of the economic accomplishments in China relied on large quantities of exports. And a big foreign reserve is gradually accumulated to the extent that China and the US are in the same boat. In the meantime, the percentage of consumption in GDP have remained low for years. Now we can't depend only on exports anymore. We should shift our focus to domestic demands.&lt;br /&gt;&lt;br /&gt;The government has passed a stimulus package plan and some of these money has been invested in infrastructure projects. And countryside is considered the most important area for financial support. Most importantly, an overall social security plan is carrying out to cover all of the people. As long as these measures, long term or short term, are carried out fully, the potential of domestic demands can be unleashed and our economy can become into a more healthy one.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-6488692491571089435?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/6488692491571089435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=6488692491571089435' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6488692491571089435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6488692491571089435'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2009/02/turning-point-of-china.html' title='the turning point of China'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-9062510069198140611</id><published>2008-12-30T02:34:00.004+08:00</published><updated>2009-03-29T11:01:21.039+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='text notification'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>联通手机邮箱实现Gmail邮件提醒</title><content type='html'>最开始只是想弄一个Gmail的邮件提醒功能，于是想到了邮件转发，如果Gmail邮件能够转发到联通，然后联通就可以发短信通知我，这还不是通常说的PushMail。PushMail强大多了。于是一阵google，发现联通有个&lt;a href="http://www.m165.com/"&gt;手机邮箱&lt;/a&gt;，每个手机用户都可以免费申请一个，不用白不用。立马用手机号注册一个。注意不是所有的联通用户都可以免费的。只有Up新势力是初次使用免费。好了，有一个联通手机邮箱了，这个邮箱的功能之一，就是邮件到达短信提醒，that' exactly what I want.&lt;br /&gt;&lt;br /&gt;接下来，就是在我的gmail邮箱上设置一个过滤器，把我比较关注的邮件转发到刚刚申请的联通手机邮箱。写了几个测试邮件，文本邮件和pdf附件都没问题，没试过发图片附件。有一个问题是，如果邮件正文有背景之类的，转发过来整个邮件正文就丢失了。虽然一般不会收到这种邮件，但万一碰上，后果还是很严重的。另外一个问题就是，push下来的email正文需要发N个短信指令才能读完，实在是烦不胜烦。&lt;br /&gt;&lt;br /&gt;于是想到这样一个混合方案，用手机邮箱做短信提醒，收到提醒（对新势力用户完全免费的哦！），立马打开Gmail client查邮件。貌似可行。好了，就扯到这里。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-9062510069198140611?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/9062510069198140611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=9062510069198140611' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/9062510069198140611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/9062510069198140611'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/gmail.html' title='联通手机邮箱实现Gmail邮件提醒'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-1465726060457857062</id><published>2008-12-30T01:12:00.004+08:00</published><updated>2009-03-29T11:02:29.725+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='GPRS'/><category scheme='http://www.blogger.com/atom/ns#' term='Gmail'/><title type='text'>终于搞定联通GPRS访问Gmail</title><content type='html'>以前好像没怎么玩过手机上网的东西，今天突然心血来潮，搞了个联通的GPRS套餐，开始捣鼓起来。我开通手机上网主要是在没电脑用的时候用来访问Gmail和MSN的，可能skype也会用一下。看新闻什么还是算了，太费劲了。好了，下面开始一天的艰苦旅程。&lt;br /&gt;&lt;br /&gt;首先一阵google，让手机终于连上了网。这里有个简单的&lt;a href="http://www.bj.chinaunicom.com/products/ydtxyw/ydsjyw/file56.html"&gt;介绍&lt;/a&gt;，照葫芦画瓢就OK了，在此不详述。值得注意的是，这里使用的接入点是uniwap，提供wap浏览和彩信功能。&lt;br /&gt;&lt;br /&gt;好了，第一个问题是怎么让手机访问Gmail? Gmail网站上有两种方式：一种是通过WAP访问，另一种是通过IMAP客户端访问。WAP访问貌似简单明了，不需要装任何东西，只要能上网就行。但我想用uniwap来访问却不行，提示“不能建立安全连接”或者“找不到服务器”，我起初怀疑是不是因为uniwap不支持对gmail的https访问呢，反正郁闷半天没敲出个所以然来。暂且先放一边，WAP访问看来不可行，猛然看到Gmail网站有个Gmail client,是个IMAP客户端，下载装上，打开，一样连接不上。我就纳闷这联通怎么就跟Gmail杠上了呢？于是有按照Gmail网站上的&lt;a href="https://mail.google.com/support/bin/answer.py?answer=78887"&gt;提示&lt;/a&gt;来设置我手机上内置的邮箱，步骤繁琐，毫不容易设完了，连接，不上。貌似没希望了。&lt;br /&gt;&lt;br /&gt;Gmail先放一边，装个MSN再说吧，MSN还是很顺利，直接通过uniwap就能连接，而且界面很nice，不错。信心终于恢复了一点。好了，又一阵google，发现了两个重要情况：一个是有个叫mimo的软件号称可以通过uniwap访问MSN,QQ以及强大的push mail,我不由得想试一把；另一个是uninet,这个很少在成百上千的联通gprs上网设置的tutorial里找到，我也就在一个地方看到了这个东东。好了，接下来，要开始这两个试验了。当然了，uninet最简单了，重新设置一把接入点就行了。设完，再启动本机的内置Email连接，忽然看到哗哗的邮件标题在闪动，我想这把应该是成了。再重启前面装上的Gmail client,也是哗哗的一阵。然后找了个Opera Mini装上，访问Gmail首页，登陆，一切OK，不得不说Opera太Cool了！&lt;br /&gt;&lt;br /&gt;好了，到这的时候，今天差不多快结束了，要知道中间为了让我手机跟PC连接起来，费了老半天劲。我下载的最新的Nokia PC Suite 7.1居然不能识别我手机配的USB数据线。试了半天老版的PC套件，终于连上PC。那个mimo的东西改天再玩吧，那么多人推崇，想必应该好使吧。还有一个东西得玩一下：GPRS手机+PC数据线+PC/笔记本通过手机的GPRS上网，其实也有好多人玩过，自己试验一下更有意思（PS: 好了，已经试验过了，速度在6KBS左右，那叫一个慢啊，还贵，不到紧急情况还是不用了）。&lt;br /&gt;&lt;br /&gt;快写完了，突然发现，有个问题还没说，那个uninet就叫那个是个啥东东呢！一阵google，发现是联通移动数据业务的一个王牌，165拨号就是上的uninet网络，主要是访问Internet。uniwap功能比较弱，只支持wap网页浏览和彩信。哪个好使当然不用说了，不过联通的网站上确实没说通过GPRS连uninet。Anyway，哪个好用用那个了。&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-1465726060457857062?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/1465726060457857062/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=1465726060457857062' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1465726060457857062'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1465726060457857062'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/gprsgmail.html' title='终于搞定联通GPRS访问Gmail'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-1994860946230895875</id><published>2008-12-25T12:54:00.004+08:00</published><updated>2009-02-09T22:15:51.946+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='UML'/><category scheme='http://www.blogger.com/atom/ns#' term='MOF'/><title type='text'>notes about MOF and UML</title><content type='html'>I just read an old post(&lt;a href="http://michaelscharf.blogspot.com/2006/01/i-am-confused-by-omg-mof-4-layers.html"&gt;MOF 4 layers&lt;/a&gt;) about the mapping between UML and MOF. However, I'd like to post my idea about UML mapping to MOF 4 layers.&lt;br /&gt;&lt;br /&gt;As a reminder, MOF 4 layers structure from that post is pasted here.&lt;br /&gt;    * Level M0: User Object Layer (Instances)&lt;br /&gt;    * Level M1: Model (Domain Specific Language)&lt;br /&gt;    * Level M2: Meta-Model (Schema description Language)&lt;br /&gt;    * Level M3: Meta-Meta-Model (The Schema of the Schema)&lt;br /&gt;And here is an architecture image about MOF:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://upload.wikimedia.org/wikipedia/commons/9/93/M0-m3.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 602px; height: 482px;" src="http://upload.wikimedia.org/wikipedia/commons/9/93/M0-m3.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The basic thinking is think of each layer as instantiation of the layer above. So I think it works this way:&lt;br /&gt;&lt;br /&gt;* Layer M0: specific instances of model diagrams, e.g. a book named "UML distilled" &lt;br /&gt;&lt;br /&gt;* Layer M1: UML model diagrams we drawed when we do modeling, e.g. e-bookshop class diagrams and use case diagrams. Actually it is the equivalent of C source file.&lt;br /&gt;&lt;br /&gt;* Layer M2: UML meta model, e.g. model element specified in UML, class, interface, association, generalization,property,method, component and so on. It is the equivalent of C syntax.&lt;br /&gt;&lt;br /&gt;* Layer M3: UML meta meta model, maybe its basic model elements is entity and relationship. It is the equivalent of syntax definition specification like EBNF.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-1994860946230895875?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/1994860946230895875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=1994860946230895875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1994860946230895875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1994860946230895875'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/notes-about-mof-and-uml.html' title='notes about MOF and UML'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-1631914419774639516</id><published>2008-12-24T01:20:00.002+08:00</published><updated>2008-12-24T01:55:41.294+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='software reuse'/><title type='text'>software reuse: how?</title><content type='html'>It is a short summary of great essay on software reuse by Schmidt(&lt;a href="http://www.dre.vanderbilt.edu/~schmidt/reuse-lessons.html"&gt;reuse lessons&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;1. impediments&lt;br /&gt;   organizational&lt;br /&gt;   economic&lt;br /&gt;   administrative&lt;br /&gt;   political&lt;br /&gt;   psychological&lt;br /&gt;&lt;br /&gt;2. prerequisites&lt;br /&gt;   competitive market&lt;br /&gt;   complex application domain&lt;br /&gt;   corporate culture and development process&lt;br /&gt;   reuse magnet: open source with short feedback loop&lt;br /&gt;   leadership and expertise of skilled architects and developers&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. what we can do?&lt;br /&gt;   adopt iterative development process to grow reusable assets incrementally&lt;br /&gt;   maintain a close feedback loop between component developers and application developers&lt;br /&gt;   buy middleware rather than build in house: don't reinvent the wheel&lt;br /&gt;   build on architecture rather than on specific technology: vendor neutral&lt;br /&gt;   one dimensional thinking never works&lt;br /&gt;   reward incentives for reuse&lt;br /&gt;   continuous learning&lt;br /&gt;   keep faith&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-1631914419774639516?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/1631914419774639516/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=1631914419774639516' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1631914419774639516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1631914419774639516'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/software-reuse-how.html' title='software reuse: how?'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-6027298064534098553</id><published>2008-12-23T23:01:00.004+08:00</published><updated>2009-02-09T22:21:00.744+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='domain specific language'/><title type='text'>DSL: How?</title><content type='html'>I just read a book about DSL(Domain Specific Language), a summary are written to get a general idea about DSL.&lt;br /&gt;&lt;br /&gt;1. interpreter&lt;br /&gt;   write grammar using BNF or other grammar notations;&lt;br /&gt;   build or generate a parser of grammar(using tools like yacc, javacc, antlr)&lt;br /&gt;   script languages can be built in this way(template language like jsp,asp,freemarker,..)&lt;br /&gt;    &lt;br /&gt;2. embeded&lt;br /&gt;   build domain model by general purpose programming language&lt;br /&gt;   in a form of API specific to a domain&lt;br /&gt;   can be designed for considerable expression power within that domain(jMock)&lt;br /&gt;&lt;br /&gt;3. XML&lt;br /&gt;   represent grammar by XML schema&lt;br /&gt;   processing XML is made easy by many API and tools&lt;br /&gt;   very popular in many domains:&lt;br /&gt;     definition of state transition in a state machine;&lt;br /&gt;     description of object relation mapping in OR Mapping tools&lt;br /&gt;     description of web page navigation flow&lt;br /&gt;     definition of business process(BPEL)&lt;br /&gt;&lt;br /&gt;4. graphical DSL&lt;br /&gt;   represent domain model by constructing graph elements and their connections&lt;br /&gt;   more intuitive and impressive&lt;br /&gt;   graphical model can be transformed into software artifacts&lt;br /&gt;   XML is used for well integration with tools(XMI)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-6027298064534098553?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/6027298064534098553/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=6027298064534098553' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6027298064534098553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6027298064534098553'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/dsl-how.html' title='DSL: How?'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-2465118434063213679</id><published>2008-12-11T17:51:00.003+08:00</published><updated>2008-12-11T22:04:26.716+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='obedience experiment'/><title type='text'>the dilemma of obedience</title><content type='html'>From the very beginning, human is a highly socialized species. From tribes to cities and states, socialized organization become increasingly sophisticated. Like any socialized life like bees or wolves, human get an edge to survive on earth from this feature of highly socialization that is still driving the development of human civilization.&lt;br /&gt;&lt;br /&gt;Human live by customs as socialized animals live by rules. A society always shows some kind of division of labor which is considered as the driving force of human evolution and also the foundation of classic economics. Apparently human benefit a lot from society by playing a role in it. However, sometimes human do enormous harm to others by doing the same thing. Numerous notorious genocides in human history are the most noticeable evidences for this case.&lt;br /&gt;&lt;br /&gt;A few decades ago the famous &lt;a href="http://en.wikipedia.org/wiki/Milgram_experiment"&gt;Milgram experiment&lt;/a&gt; was conducted as an attempt to shed light on this sort of humanity disasters. It shows that a majority of people tend to inflict distress to any extent on others when they are forced to by an authority. It seems that the blind obedience of the majority to the authority is the culprit, because when people do something against his conscience, the blame can be shifted from the individual to the authority so that the individual feels less guilt than he should. And when the number of people getting involved reaches a threshold, herding mentality comes into play, which reinforce the power of authority. And finally a catastrophe is inevitable. This is a psychological explanation of why moral individuals constitute immoral society.&lt;br /&gt;&lt;br /&gt;As long as the society exists, the authority, more or less exists. If the authority is doing the right thing, it is a fortune. Otherwise, the harm is beyond anyone's imagination. So what we can do to prevent it? Social psychology give us a special lens to peer into the human nature and give us some clue to figure out a preemptive solution. The key is to limit any forms of authority to develop rampantly. This is where check and balance comes in.&lt;br /&gt;&lt;br /&gt;It seems ridiculous that we are battling against our innate nature. But it is the truth. We must employ our reason to won this battle. And there is no way to escape.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-2465118434063213679?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/2465118434063213679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=2465118434063213679' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2465118434063213679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2465118434063213679'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/dilemma-of-obedience.html' title='the dilemma of obedience'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-4775589228198165085</id><published>2008-12-10T18:36:00.006+08:00</published><updated>2009-02-09T22:33:14.109+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='vocabulary building'/><category scheme='http://www.blogger.com/atom/ns#' term='English learning'/><title type='text'>silver bullet for vocabulary building</title><content type='html'>Vocabulary building is one of the greatest obstacle for all English learners, especially for those who have a very different native language such as Chinese, Japanese. It is claimed that a vocabulary of 2,000 is enough for normal English communication. However, English, as one of the most popular languages, have accumulated a large vocabulary bank in its history. And now it is still inflating when our society is undergoing dramatic changes. One reason why English has developed a so big vocabulary is that when there is a need to express a new meaning, a totally new word is created, even sometimes the new word has only a subtle difference with similar words. Therefore, it is necessary to grasp as much words as possible to communicate more precisely.&lt;br /&gt;&lt;br /&gt;I must say in the first place that there is no &lt;a href="http://en.wikipedia.org/wiki/Silver_bullet"&gt;silver bullet&lt;/a&gt; to memorize words. But there are some methods you can have a try to build your vocabulary more efficiently. Actually some of them are well written in many places. I just list some of them I used and I felt effective.&lt;br /&gt;&lt;br /&gt;1. word roots&lt;br /&gt;   Almost each English dictionary has an appendix of word roots. By word roots, new words can be created more easily and also more understandable. Many English word roots have a Greek or Latin origin. So, if you can grasp the meaning of these words root upon which a lot of words are built, you somehow grasp the key of the gigantic vocabulary bank.&lt;br /&gt;   some useful links:&lt;br /&gt;   &lt;a href="http://academic.cuesta.edu/acasupp/AS/506.HTM"&gt;Common Word Roots&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.betterendings.org/homeschool/Words/Root%20Words.htm"&gt;Root Words and Word Origins&lt;/a&gt;&lt;br /&gt;   &lt;a href="http://www.prefixsuffix.com/rootchart.php?navblks=1011000"&gt;English roots chart&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;2. prefix and suffix&lt;br /&gt;   Like word roots, many words are built from prefix or suffix.&lt;br /&gt;   Please reference to the links in the first section "word roots".&lt;br /&gt;&lt;br /&gt;3. association&lt;br /&gt;   It is always hard to remember many single words. But if you can find out some kind of relationship between these single words, you can piece them together like a jigsaw and eventually get a web of words instead of shining stars scattered in the dark sky. Relationship can help you remember words.&lt;br /&gt;   (1) synonym, antonym, homonym&lt;br /&gt;    Actually when we learn Chinese words we also did a lot of these kinds of exercises. Obviously it also applies well in learning English.&lt;br /&gt;   (2) analogy&lt;br /&gt;   If some words share a similar part in their structure, you can group them together. If some words share a similar meaning, you can group them together. If some words represent concepts of the same subject, you can group them together. For example, many words describe goodness or kindness, many words describe dislike, and so on. And also you can find out your own analogy as long as it make sense for you.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://academic.cuesta.edu/acasupp/AS/509.HTM"&gt;Common Word Relationships&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;4. use words as hard as possible to write something&lt;br /&gt;   If you manage to get a vague memory about some word but you still can't use it correctly, you can strengthen your memory of the word by using it. Otherwise, the vague meaning will vanish some day.&lt;br /&gt;&lt;br /&gt;5. make a summary(in any form: oral or written) about what your heard or read and try to use different words&lt;br /&gt;   Sometimes, you can manage to understand something, but if you can't digest the content in your own way, your initial understanding is shaky and easy to fade away.&lt;br /&gt;&lt;br /&gt;Some general links:&lt;br /&gt;&lt;a href="http://grammar.ccc.commnet.edu/grammar/vocabulary.htm"&gt;How to build a better vocabulary&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Vocabulary book recommendation:&lt;br /&gt;&lt;a href="http://www.amazon.com/Merriam-Websters-Vocabulary-Builder-Mary-Cornog/dp/0877799105/ref=pd_sim_b_1"&gt;Webster Vocabulary Builder&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-4775589228198165085?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/4775589228198165085/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=4775589228198165085' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4775589228198165085'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4775589228198165085'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/silver-bullet-for-vocabulary-building.html' title='silver bullet for vocabulary building'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-3229407492808724277</id><published>2008-12-04T10:25:00.004+08:00</published><updated>2009-02-09T22:35:07.975+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='law'/><category scheme='http://www.blogger.com/atom/ns#' term='movie'/><category scheme='http://www.blogger.com/atom/ns#' term='TV show'/><title type='text'>list of courtroom drama</title><content type='html'>Out of enormous curiosity about the legal and judicial system in the west, I find and see some courtroom drama movies and TV shows to try to get insights about how the legal and judicial system works in the west. Some of them are classic ones. I'd like to list their names.&lt;br /&gt;&lt;br /&gt;movie&lt;br /&gt;&lt;br /&gt;1. &lt;a href="http://www.tudou.com/programs/view/E77hjfgSKpA/"&gt;To Kill a Mocking Bird&lt;/a&gt;&lt;br /&gt;   an attorney fight for the accused black person's justice which was badly biased by the white majority, not only with his powerful words but also with his persevering acts&lt;br /&gt;&lt;br /&gt;2. &lt;a href="http://www.tudou.com/programs/view/nTo2yGKG2Ig/"&gt;12 Angry Men&lt;/a&gt;&lt;br /&gt;   12 ordinary persons of different social status, different education level, different occupation, acting as jurors, debating in a meeting room, showed how the jury system works.&lt;br /&gt;&lt;br /&gt;3. &lt;a href="http://www.tudou.com/programs/view/cwaN-iAR35Q/"&gt;Kramer vs. Kramer&lt;/a&gt;&lt;br /&gt;   a common civil case about the custody right of a boy. a happy ending with a bit suspense. the point is not how the father or mother has more legitimacy to live with child, but what is the best environment for the child to grow up in a single parent family.&lt;br /&gt;&lt;br /&gt;4. &lt;a href="http://www.tudou.com/playlist/id/4523546/"&gt;Witness for The Prosecution&lt;/a&gt;&lt;br /&gt;   an murder case of much suspense in the ending. great playwriting      &lt;br /&gt;&lt;br /&gt;5. &lt;a href="http://www.tudou.com/programs/view/tK3AyaA8x08/"&gt;Judgment at Nuremberg&lt;/a&gt;&lt;br /&gt;   a famous international trial on Nazi German top officials. thought-provoking&lt;br /&gt;&lt;br /&gt;6. &lt;a href="http://www.tudou.com/playlist/id/1790120/"&gt;Runaway Jury&lt;/a&gt;&lt;br /&gt;   Out of disappointment on the US judicial system to do justice for those impaired by guns, which proliferated through strong sales channel supported by gun manufacturers, a man managed to become a juror and influence other jurors to reach a verdict favorable to the striving prosecution and also striking to the defendant, and at the same time, extorting a large sum of money from the defendant, gun manufacturers. The weakness of the jury system is also unfolded.&lt;br /&gt;   &lt;br /&gt;7. &lt;a href="http://www.tudou.com/playlist/id/3121618/"&gt;JFK &lt;/a&gt;&lt;br /&gt;   Even now the truth of assassination of JFK is not yet known, so how could a film unravel what really happened at that time? The point is not reveal the truth, but enlighten the people not to be cheated by the misrepresented truth distorted by government for hidden purpose and never give up the rights to pursue the truth. The closing of the prosecutor is very powerful.&lt;br /&gt;&lt;br /&gt;8. &lt;a href="http://www.tudou.com/playlist/id/4723257/"&gt;The Devil's Advocate&lt;/a&gt;&lt;br /&gt;  It is about the ethical conducts of lawyers? Maybe.&lt;br /&gt;&lt;br /&gt;TV show&lt;br /&gt;&lt;br /&gt;Out of many courtroom shows such as Law and Order, Shark, &lt;a href="http://www.tudou.com/programs/view/bUCoxz5AD-0/"&gt;Boston Legal&lt;/a&gt; is my favorite one in the same class. Boston Legal perfectly blend humor, flirting and exciting court trial.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-3229407492808724277?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/3229407492808724277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=3229407492808724277' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3229407492808724277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3229407492808724277'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/list-of-courtroom-drama.html' title='list of courtroom drama'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-152239633809154463</id><published>2008-12-03T19:27:00.002+08:00</published><updated>2008-12-03T23:48:12.866+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='justice'/><title type='text'>notes on judicial system</title><content type='html'>The distinctions of law in different countries are very conspicuous. So are the distinctions of judicial system. One of the most conspicuous distinction is the jury which is widely used in countries ruled by common law. The jury system is initially devised by the Greeks and ever adopted by Roman. And later most European countries adopted jury system. But for a variety of reasons some of them abolished jury system. The failure of jury system in these countries may be attributable to social customs, culture characteristics and political system. &lt;br /&gt;&lt;br /&gt;Nowadays the most successful case of the jury system is in the United States. In fact, many Hollywood movies and courtroom dramas produced in the United States show some aspects of jury system. I'd like to list some timeless works I've ever seen in another blog. Now I just wanna jolt down my understanding about jury system.&lt;br /&gt;&lt;br /&gt;Linda, a writer, ever write a book about American judicial system. In the book, Simpson's case is elaborated in very detail. And the author made a metaphor I think is very appropriate. He said, the judicial system in the US is like a football match. The defense attorney represents the accused person to cast reasonable doubts or overturn the evidence against the defendant. The district attorney represents the prosecution to provide as much evidence as possible to prove the defendant guilty. Cross examination is used by two sides of attorneys to clarify the scenario of the case. The judge controls the trial process. If any side asked irrelevant question or made irrelevant request, the judge can overrule or sustain the question or request. During the trial period, the jury is isolated from the outside and is supposed to make an objective verdict according to the evidence presented on the court. In most criminal cases all the jurors should reach an unanimous judgment to make a verdict. In some civil cases the rule of majority is used.&lt;br /&gt;&lt;br /&gt;The democratic characteristic of the jury system is very evident. The essence is that the accused should and can be judged by those have the same social status with him in a just procedure. All jurors are randomly chosen from local registered electors and two sides of attorneys should reach a consensus about the list of the jury. It is no wonder that in some cases even when the defendant lost the case he still insisted that he was judged with justice.&lt;br /&gt;&lt;br /&gt;Such a democratic system is not without problem. Actually we can clearly see the problem from Simpson's case. Until today most Americans believed that Simpson was guilty. However, the jury announced that Simpson was not guilty in the final verdict because the dream defendant attorneys brought forward some reasonable doubts which were partly caused by the prosecution side. So we can say, a notorious murder escaped justice under protection of the judicial system which most Americans are proud of. Maybe this system is too democratic. If there is no jury or the jury is not responsible for the final verdict, Simpson would definitely be announced guilty. The democratic system make it harder for the jury to reach consensus. This is the cost of democracy. But on the other hand, the democratic system make it harder for any force of authority to abuse power and lead to injustice. The founders of such system must have thought of this problem but they finally insisted on this system because they thought that preventing good men from injustice outweighed letting criminals at large. &lt;br /&gt;&lt;br /&gt;Besides the problem of the democratic process of the jury, each juror, as key roles in the judicial system, is vulnerable to the influence of public opinion. Although each juror is supposed to make objective judgment according to what he saw and what he heard on the court, the infiltration of mass media, the argumentation of attorneys and the opinions of other jurors all may have an impact on one's judgment. The herding mentality inevitably takes effect in the jury. The movie &lt;span style="font-style:italic;"&gt;Runaway Jury&lt;/span&gt; showed that how the jury is manipulative although the process may be a bit fictional but it is probable in reality.&lt;br /&gt;&lt;br /&gt;In china, the reform of judicial system is on the agenda. And the civil juror is installed on court to participate in trial process. Most of them are selected from the middle class or the so-called elites. But the role of civil juror is more like assistants of the judge. They don't make the verdict independently. It is too early to say how these civil juror will influence the practice of justice in China and what's the next step to go. The same devise may appear in different way in different places. So let's just wait and see.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-152239633809154463?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/152239633809154463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=152239633809154463' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/152239633809154463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/152239633809154463'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/notes-on-judicial-system.html' title='notes on judicial system'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-7486588218010608969</id><published>2008-12-03T17:54:00.006+08:00</published><updated>2008-12-04T19:25:48.777+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='law'/><title type='text'>notes of legal system</title><content type='html'>From the very beginning of human civilization, people lived under the order of rules. Among them are social customs, moral codes and laws. Almost every modern state was ruled by law to some extent. Some countries have more complete and thorough judicial system than others. There are two most used legal system today, common law and civil law. Common law originated in England and thrived throughout all Britain common-wealth countries, some colonial countries of Britain and also the United States. Most of the rest countries adopted a kind of civil law system.&lt;br /&gt;&lt;br /&gt;Common law is also called case law, because the main criteria of judgment is the cases which have been decided and can be used to determine similar cases happened later. Given the cases accumulated along the time is so enormous, it must be very difficult for the lawyers or judges to reference these cases. Therefore, there is no country completely ruled by common law. Many common rules have been generalized from these cases and written in separate codes as judging criteria. The most noticeable feature of common law is that the judges can largely participate in the process of legislation by making precedent cases. Maybe this feature partly accounts for the meaning of "common". The power comes from common people, not the elite legislation.&lt;br /&gt;&lt;br /&gt;Civil law is probably the most used legal system in the world. One of the reasons is that continental law is enacted and enforced in a top-down manner. The legislation of a country passed laws and the judicial system ensured the obedience of law of the subjects. Obviously civil law system gives the judges less control or participation in the process of legislation, which make those countries which are not governed by an elected government tend to adopt civil law system in order to keep power in the control of the few.&lt;br /&gt;&lt;br /&gt;The legal system plays a very crucial part in modern state governance. It even determines whether a country will prosper or perish. In short, the law system provides a rule of game in which each parties, government,individual or corporation, can make best of their capabilities to get as much benefits as possible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-7486588218010608969?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/7486588218010608969/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=7486588218010608969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7486588218010608969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7486588218010608969'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/12/notes-of-law.html' title='notes of legal system'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-3250493132033498591</id><published>2008-11-06T10:12:00.004+08:00</published><updated>2009-02-09T22:32:34.282+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='financial risk'/><category scheme='http://www.blogger.com/atom/ns#' term='financial crisis'/><title type='text'>complexity of risk modeling</title><content type='html'>An article in nytimes "&lt;a href="http://www.nytimes.com/2008/11/05/business/05risk.html?pagewanted=1&amp;_r=1&amp;em"&gt;In Modeling Risk, the Human Factor Was Left Out&lt;/a&gt;" draw my attention because it attempted to peer into the current financial turmoil from risk modeling perspective. Maybe this kind of microeconomics thinking would refresh my mindset about the crisis.&lt;br /&gt;&lt;br /&gt;"But the larger failure, they say, was human — in how the risk models were applied, understood and managed. Some respected quantitative finance analysts, or quants, as financial engineers are known, had begun pointing to warning signs years ago. But while markets were booming, the incentives on Wall Street were to keep chasing profits by trading more and more sophisticated securities, piling on more debt and making larger and larger bets."&lt;br /&gt;&lt;br /&gt;Even most people are blind to the risk, some insider can still have sensible insight to point out the risk. But if only few people have different view, they are dissents. They are just ignored by others.&lt;br /&gt;&lt;br /&gt;"That out-of-control innovation is reflected in the growth of securities intended to spread risk widely through the use of financial instruments called derivatives. Credit-default swaps, for example, were originally created to insure blue-chip bond investors against the risk of default. In recent years, these swap contracts have been used to insure all manner of instruments, including pools of subprime mortgage securities.&lt;br /&gt;&lt;br /&gt;Credit-default swaps, though intended to spread risk, have magnified the financial crisis because the market is unregulated, obscure and brimming with counterparty risk (that is, the risk that one embattled bank or firm will not be able to meet its payment obligations, and that trading with it will seize up)."&lt;br /&gt;&lt;br /&gt;Credit default swap has been ever well known to financial professional, but it is so to everybody by exposing devastating catastrophe to the public. This kind of risk management instrument fails to meet their goal. I think the increased complexity brought about by weaving so many institutions together was less investigated that people are less informed upon the accordingly increased risk. So it is no wonder CDS was notoriously blamed as the main cause of this crisis. But is it simple like this?&lt;br /&gt;&lt;br /&gt;"Math, statistics and computer modeling, it seems, also fell short in calibrating the lending risk on individual mortgage loans. In recent years, the securitization of the mortgage market, with loans sold off and mixed into large pools of mortgage securities, has prompted lenders to move increasingly to automated underwriting systems, relying mainly on computerized credit-scoring models instead of human judgment.&lt;br /&gt;&lt;br /&gt;If the incentives and the systems change, the hard data can mean less than it did or something else than it did,” said Raghuram G. Rajan, a professor at the University of Chicago. “The danger is that the modeling becomes too mechanical.”&lt;br /&gt;&lt;br /&gt;Risk management model are mainly based on math and statistics. In the world of this model each party is treated as a robot. That means their behavior are certain or statistically certain. However, it is obvious that this model is not compatible with the real world. It seems that we just can't precisely model the real world because we are all insiders so that we can't thoroughly understand it. We are part of this world but we try to understand the whole. It is mission impossible. The so-called reflectivity theory from a famous insider George Soros also well extrapolate this point. So, attempting to manage the risk by statistic modeling is doomed. So, what can we do to prevent such risk or at lest mitigate the magnitude of the risk?&lt;br /&gt;&lt;br /&gt;"The Fed economists concluded that the risk models used by Wall Street analysts correctly predicted that a drop in real estate prices of 10 or 20 percent would imperil the market for subprime mortgage-backed securities. But the analysts themselves assigned a very low probability to that happening."&lt;br /&gt;&lt;br /&gt;It seems that the models are less disappointing that it roughly predicted the probable collapse of subprime mortgage securities. However, in the booming times the probability of this kind of dismal event are deliberately minimized.&lt;br /&gt; &lt;br /&gt;“The price of an asset, like a house or a stock, reflects not only your beliefs about the future, but you’re also betting on other people’s beliefs,” he observed. “It’s these hierarchies of beliefs — these behavioral factors — that are so hard to model.”"&lt;br /&gt;&lt;br /&gt;"To confuse the model with the world is to embrace a future disaster driven by the belief that humans obey mathematical rules.”&lt;br /&gt;&lt;br /&gt;This point also coincides with the modeling paradox.&lt;br /&gt;&lt;br /&gt;"Among economists and academics, he said, the research was well received. “On the industry side, it was dismissed,” he recalled."&lt;br /&gt;&lt;br /&gt;Well, the academia is not to blame because at least some of them have uttered warning according to their work. However, the sound of academia is so small that it is totally overwhelmed by the uproar of the Wall Street.&lt;br /&gt;&lt;br /&gt;"Financial regulation, Mr. Lo said, should be seen as similar to fire safety rules in building codes. The chances of any building burning down are slight, but ceiling sprinklers, fire extinguishers and fire escapes are mandated by law.&lt;br /&gt;“We’ve learned the hard way that the consequences can be catastrophic, even if statistically improbable,” he said."&lt;br /&gt;&lt;br /&gt;Fire safety rules is a good metaphor to such statistically improbable events as financial turmoil. So, modeling is a daydream, and financial instruments such as CDS are also just mess. What left is rigorous regulation long resisted by the Fed. According to the testimony by the former Fed chairman Greenspan, the belief that the market will self-correct itself to remain healthy is also a daydream. So, it seems that regulation is necessary. But is regulation sufficient? The old question about regulation is "who would be responsible for regulating the regulators?" From the perspective of politics, check and balance strategy is well formed to mitigate the possibility of wrong-doing by government. So is it possible that this strategy is introduced into financial market? If so, how? If you can figure out this problem, please let me know, thanks:-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-3250493132033498591?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/3250493132033498591/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=3250493132033498591' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3250493132033498591'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3250493132033498591'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/11/complexity-of-risk-modeling.html' title='complexity of risk modeling'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-5217774721431023136</id><published>2008-10-17T15:30:00.002+08:00</published><updated>2008-10-17T17:53:00.733+08:00</updated><title type='text'>Chinese Saint Lin Zhao I never known before</title><content type='html'>I never heard of the name of Lin Zhao before. In Chinese history textbooks, some martyrs like Qiu Jin are recorded and praised for there devotion of their causes of revolution or reform. Any events or person during that dark age were deliberately ignored in history books except very vague and short introduction. However, it is people who created history, not the history textbooks. Forced amnesia are not possible because those events and person would be remembered by those were concerned with or involved in it. Actually I got to know Lin Zhao and other names like Zhang Zhixin from internet.&lt;br /&gt;&lt;br /&gt;Lin Zhao was born in 1932 when China was not liberalized. She was a fervent believer of communism and also Mao. She ever supported underground CCP activities at that time. After the liberation of China, she run away from home and got to a vocational school to study journalism. Then she became a CCP member and later admitted by the department of journalism of Peking University. She was very different from other classmates in terms of life style and thinking. She got involved in the anti-rightist campaign and criticized its craziness. She was condemned as rightist and asked to confess but she refused. Then she was put in jail in Shanghai. She wrote a great deal of essays and poems criticizing the ill government. She was deprived of pen and paper. She used her blood as ink, comb as pen and clothes slices as paper. In 1968 she was sentenced to death. What is the most ironical thing is, Lin's family was asked to pay for 5 cents of bullet fee. Lin's death sentence was secretly done and many people including her classmates and friends knew it several years later.&lt;br /&gt;&lt;br /&gt;I saw some of those blood writings in a documentary "Searching for Lin Zhao's Soul". I was completely shocked with that. It is not stage property in an ordinary film but real thing. She not only wrote essays and poem to criticize the system, but defended freedom through her struggle against the authorities. Her critics were inspired by the spirit of Christian traditions and also awareness of the situation of society. Some of her opinions are permanent. She wrote, "not only the slaves are deprived of freedom, but also those masters are not free". She also said, "freedom can't be obtained by replacing a slavery state with another". These words remain very meaningful today.&lt;br /&gt;&lt;br /&gt;During the vindiction movement afterwards, Zhang Zhixin was officially regarded as martyr. Lin Zhao was just announced a case of mistrial. I thought that this kind of discrimination came from their different attitude on socialism. They are both adherents of socialism but they were killed in different reasons. Zhang Zhixin opposed personal cult of Mao and pointed out some wrongdoings of Mao and thought Mao went too left and diverted from fundamental Marxism. So Zhang was a socialist until death. On the contrary, Lin Zhao criticized the whole autocratic system on behalf of freedom and equality. Lin was greatly influenced by Christianity because she was a Christian from very young age. In view of CCP, Zhang is a family member and Lin was a stranger, which finally lead to different treatment after their deaths. But for me, it doesn't matter. The significance of Lin Zhao in the process of liberation of Chinese people would not be diminished without official recognizing.&lt;br /&gt;&lt;br /&gt;I recommend anyone who want to understand practiced liberalism to see the documentary &lt;a href="http://www.youtube.com/watch?v=rWqJUFEp4-g"&gt;"Searching for Lin Zhao's Soul"&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;reference:&lt;br /&gt;1. http://www.washingtonpost.com/wp-dyn/content/article/2008/07/02/AR2008070203677_4.html?nav=hcmodule&amp;sid=ST2008070202549&amp;s_pos=&lt;br /&gt;2. http://www3.nbnet.nb.ca/stao/memo_linzhao&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-5217774721431023136?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/5217774721431023136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=5217774721431023136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/5217774721431023136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/5217774721431023136'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/10/chinese-saint-lin-zhao-i-never-known.html' title='Chinese Saint Lin Zhao I never known before'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-7359029034854286039</id><published>2008-10-04T17:06:00.003+08:00</published><updated>2008-10-04T19:34:15.255+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='subprime crisis'/><title type='text'>review on "Greed, Fraud &amp; Ignorance: A Subprime Insider's Look at the Mortgage Collapse"</title><content type='html'>About a week ago I read a book about subprime mortgage crisis in the US. The title of the book is "Greed, Fraud &amp; Ignorance: A Subprime Insider's Look at the Mortgage Collapse". I am not a professional in finance or economics, but I can understand what the book said. I just jolt down some notes about the book.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;1. The essence of subprime mortgage is no bad&lt;/span&gt;&lt;br /&gt;In its inception, subprime was targeted for those less creditworthy to have a home and there was nothing wrong in itself. On the contrary, it helped many Americans realize their dream of a home.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2. The roles of subprime industry&lt;/span&gt;&lt;br /&gt;The main players in subprime industry are borrower, house broker, lender, investor, rating company. The borrower submitted materials to house broker and initiated a loan. The house broker acted as a middle man between the borrower and the lender but didn't take responsible for anything in loan application. The lender was supposed to check applications and determine whether or not lend money to borrowers. When securities came in, conditions got a bit complicated. The lender packaged some loans together and attempted to sell it as some kind of mortgage securities. The rating company rated securities. The investors bought this kind of securities according to its rating. The investors were expected to reap the repaid money from borrowers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;3. Problems&lt;/span&gt;&lt;br /&gt;(1) One of the most important problems is the very low borrowing cost, which indirectly encouraged many people with bad credit history to apply loans. The practice of zero down payment is no good.&lt;br /&gt;(2) Another problem is that the house broker were not well regulated so that they always tended to help borrowers do fraud in application in purpose of making as much profit as possible without thinking that fraud may harm borrowers or lenders.&lt;br /&gt;(3) The rating agency had more power than it should have. The profits of rating companies is only related with the volume but not the quality of loans. This is the incentive of rating companies to tend to rate mortgage securities higher to attract more securities into the market.&lt;br /&gt;(4) Maybe the above problems is just what we saw but not why it happened. If the origin of the problem is to be probed, economical policies of the past should be examined. One argument is that the long-term low interest rate led to the financial turmoil. I'm not sure about it. Some other arguments are about the long-term industrial policy such as the repeal of Glass-Steagall Act and the legislation of Financial Services Modernization Act.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;4. Solution&lt;/span&gt;&lt;br /&gt;(1) Increasing the cost of borrowing money by any means &lt;br /&gt;(2) More strong regulation of the house brokers and rating agencies&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;5. Question&lt;/span&gt;&lt;br /&gt;I'm not sure how the restoration of Glass-Steagall Act would take effect in mitigating the high-leveraged impact of financial derivatives.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-7359029034854286039?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/7359029034854286039/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=7359029034854286039' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7359029034854286039'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7359029034854286039'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/10/review-on-greed-fraud-ignorance.html' title='review on &quot;Greed, Fraud &amp; Ignorance: A Subprime Insider&apos;s Look at the Mortgage Collapse&quot;'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-3498182232308138152</id><published>2008-09-30T14:39:00.006+08:00</published><updated>2008-10-03T17:01:22.732+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Chinese culture'/><category scheme='http://www.blogger.com/atom/ns#' term='Chinese character'/><title type='text'>comment on "My personal experience about America after immigration to America" wrote by a Chinese immigrant in the US</title><content type='html'>I read an article about a Chinese immigrant's opinion about China(&lt;span style="font-style:italic;"&gt;&lt;a href="http://www.guyizhou.cn/article.asp?id=3985"&gt;My personal experience about America after immigration to America&lt;/a&gt;&lt;/span&gt;). Undoubtedly, the phenomenons covered my this immigrant existed in every corner of China and it also represented a conflict in most oversea Chinese's minds. Although the author tried to avoid an impression of his disgust of China, the readers are very likely to think about that. I agreed with the comment by shuiqin that this article uncovered a myriad of bad things common in China, but it didn't go more further to analyze the cause of these phenomenons behind the scenes.&lt;br /&gt;&lt;br /&gt;I am trying to analyze its causes. For one thing, the aftermath of the culture revolution and all kinds of political movements are still lingering in many people's minds. Fear are rooted in people and make them extremely alert to the outside. Although the government had revalue the culture revolution, the deep fear still don't go away. Except personal attack, Chinese traditional culture was completely abandoned by so-called class struggle. In the times when Confucian was no longer respected, how civilized would regular citizens be? Although economical reform are performed for two decades, the Chinese still don't find something to believe in. Maybe some will say the thinking of peasants, I will argue that this kind of thinking will just make people a bit mean but not alert always. Others will say materialism lead to degradation of people. I will argue this point is shallow. To some extent, the government and the whole system made people alert. Abuse of the parents will make children deviated from normal. In the same way, unreasonable political system will twist people's values. &lt;br /&gt;&lt;br /&gt;As regard to the solution, I think it is necessary to rebuild the modern Chinese culture. It must not be a copy of the west culture. Instead, it should make the best of the merits of all cultures, avoid those uncivilized aspects, create a values fitting the thinking of Chinese, and popularize fundamental education and advocate the new values. On the other hand, the government should change its position against the people, become more open-minded and receive the investigation of the people. If the dialog is smoothly built and the public trust of government improves, the distrust and alert between the people will also be mitigated. &lt;br /&gt;&lt;br /&gt;Any discussion is welcome on this topic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-3498182232308138152?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/3498182232308138152/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=3498182232308138152' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3498182232308138152'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3498182232308138152'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/09/comment-on-my-personal-experience-about.html' title='comment on &quot;My personal experience about America after immigration to America&quot; wrote by a Chinese immigrant in the US'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-7030731014182362380</id><published>2008-09-26T18:57:00.004+08:00</published><updated>2008-10-03T17:05:42.121+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Chinese culture'/><title type='text'>与“移居美国后回头看中国，我的真实经历”作者商榷</title><content type='html'>刚看了一篇文章&lt;a href="http://www.guyizhou.cn/article.asp?id=3985"&gt;移民美国后回头看美国，我的真实经历&lt;/a&gt;，我想该文揭示的现象是不容置疑的存在与中国的每一个角落，也反映了大多数海外华人的矛盾心态。尽管作者试图表现出“儿不嫌母丑”的心态，但读者很难不想到反面。我同意水清的评论，该文确实道出了现在中国存在的普遍恶象，但缺乏深度，没有分析这些恶象背后的起因。&lt;br /&gt;&lt;br /&gt;我尝试说两点：首先当然是因为文革以及类似的种种整人运动，余波未息，恐惧已经深深扎入人心，由此导致对外界的极端戒备，尽管国家已经对这段历史已经重新评价，但不足以消除这种深深的恐惧；除了武斗导致的恐惧以外，中国人的传统文化也彻底被所谓的阶级斗争破坏殆尽，连孔圣人都不再圣了，有能要求老百姓圣到什么程度？即使经济发展几十年，但中国人的精神家园仍然是一片荒芜。可能有人会说道中国人的小农思想，但我觉得小农思想顶多使人小气一点，但不至于处处警惕别人。也可能有人说是拜金主义导致道德沦丧，但这只看到了表面。其实源头在于政府，某种程度上政府以及整个体制造成了人们的警惕。父母对孩子的恶语相加会导致孩子的心灵扭曲，变态的体制同样会导致人们的价值观扭曲。&lt;br /&gt;&lt;br /&gt;至于解决办法，我觉得在文化领域有必要重建中国现代文化，不是全盘西化，而是扬长避短，融合中西，创建一种符合中国人思维的价值观，并普及基础教育，弘扬新的中国现代价值观。另外，政府必须从根本上扭转传统的官民对立形象，而是必须以一种更开放包容的心态，接受人民监督。如果通畅的对话渠道得以建立，政府的公信力得以提升，势必会缓和人民内部的不信任和互相警惕。&lt;br /&gt;&lt;br /&gt;English translation of this blog: &lt;a href="http://jungyoung.blogspot.com/2008/09/comment-on-my-personal-experience-about.html"&gt;comment on "My personal experience about America after immigration to America" wrote by a Chinese immigrant in the US&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-7030731014182362380?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/7030731014182362380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=7030731014182362380' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7030731014182362380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7030731014182362380'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/09/blog-post.html' title='与“移居美国后回头看中国，我的真实经历”作者商榷'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-6465158266101351328</id><published>2008-09-24T09:12:00.007+08:00</published><updated>2008-10-03T15:45:13.935+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='China'/><category scheme='http://www.blogger.com/atom/ns#' term='politics'/><title type='text'>the dacaying of China</title><content type='html'>Almost every month some grieving news would be highlighted on newspapers and Internet forums. Death toll caused by weak security measures in some mines, poisonous foods are common cases. Sometimes I have became dumb about the bleak society of China. I think many Chinese have the same idea as me. We have developed a cynical distrust of it. In name of people, government have done a lot of things against people. It's a society lack of trust and basic social morals. Government try to hide truth which may aggravate the fury of the people. Government destroy the basic rights of living of people at its will. Companies and businessmen try hard to make money by as many means as they can even some of them are harmful or deadly to people. Many doctors, who are always called the white angels, stoop to receive bribery, become oblivious of diseases and pains of people, just act with disregard of human life. It's a decayed society.&lt;br /&gt;&lt;br /&gt;Every Chinese may ask a question: why are we here? I think the basic reasoning is that it is too hard to live in China. People had gone through several couples of years of poverty after the foundation of China. Thereafter, as soon as one had a chance to make money, they will make the best of it. They became into the most selfish economic animals. Although traditional family ties are still strong, conventional ethics and morals are shattered. In the end, the convention are given up but new belief had not been found. It seems that money becomes the only idol of most Chinese after 20 years of economic reforms. Another reason is that the fears brought about by those revolutionary movements and political prosecutions are still lingering in many people's minds. Fears give rise to distrust. People are always alert against each other.&lt;br /&gt;&lt;br /&gt;Then another question is, what can we do to stop it? For one thing, we should reexamine our traditional culture. We can't totally abandon it without any reason. Instead, we can try to blend the merits of tradition culture with western ideas. Only fusion can rebuild the values of Chinese people. Neoconfucianism is such an effort. For another, government should take responsibility of making a just evaluation for any prosecuted in movements. However, based on popular distrust against government, we can't expect too much from it. The hope lies in each people and their children, lies in the awareness of the sad situation and the will to fight against it. Even most of us are brainwashed by the education system imposed on us by the government, I think most of us will realize the situation in the end.&lt;br /&gt;&lt;br /&gt;Sometimes I begin to think that, the government is naturally antihuman. Maybe in the beginning when the government is set up, it represent most of the people. But afterward, it changes to only represent some special interest groups. According to a poll, even in the US, only 17% of voters say the federal government represent the will of American people，and 67% of them believe that federal government had became a special interest group that looks out primarily for its own interest. Those advocates of the democracy of the US should be aware of this fact. It is not reasonable to oppose one system of government and support another. It is not kind of either-yes-or-no logic. I think there is no perfect government. However, people should struggle to make it better as possible.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-6465158266101351328?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/6465158266101351328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=6465158266101351328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6465158266101351328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6465158266101351328'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/09/dacaying-of-china.html' title='the dacaying of China'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-4863959089384755736</id><published>2008-09-23T22:29:00.003+08:00</published><updated>2008-10-03T15:49:05.187+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='journalism'/><category scheme='http://www.blogger.com/atom/ns#' term='China'/><category scheme='http://www.blogger.com/atom/ns#' term='movie'/><category scheme='http://www.blogger.com/atom/ns#' term='freedom'/><title type='text'>about the freedom of the press</title><content type='html'>Recently I saw some film about journalism. All the president's Men is about watergate scandal in which two journalist in the Washington Post strove to trace the dark business behind the election and finally President Nixon was impeached and gone down. Good night, good luck is about McCarthyism in the 50s of the US during which CBS stood out to reveal the unjustness of McCarthyism. These two films are about politics. Another one is about public health. The insider is about a lawsuit against a tobacco company. A TV program producer made great efforts to find witness and produce program to support those injured in the lawsuit. A conscientious chemistry scientist ever working in the accused tobacco company, as an insider of tobacco business, cooperated with the TV program producer to provide effective testimony for the lawsuit in face of great pressure. You can see them by the references below this blog.&lt;br /&gt;&lt;br /&gt;Actually I'm more stroke by "The Insider", because this one is pretty much focused on individuals, while another two are mainly about the roles of mass media (newspaper,TV channel) in politics. It is no doubt that mass media are powerful in spreading and influencing public opinions. However, because its intimate relationship with advertisers, independent opinion is very rare in them and some of them even side with a party and oppose another. So, in most cases, mass media stand on behalf of some kind of interest groups rather than real public opinion. On the other hand, the characters in "The Insider" are individuals and emotional struggles in revealing the dark side of a giant business are depicted in details. For anyone in journalism, this kind of emotional or moral struggles are very common. This film is successful in describing the emotional conditions of journalist and regular citizen in the progress of becoming a muckraker.&lt;br /&gt;&lt;br /&gt;Actually when I saw them, I can't help thinking about the condition of journalism in China. Although the press got more freedom in recent years compared to the 80s, the censorship in journalism is still strict. The freedom of speech and press is literally in the Constitution, but it never has been enforced. On the contrary, many hidden rules are in effect in journalism and many topics are forbidden. How the constitution is ridiculous! What's more worse is the censorship of the Internet by national security services. Many articles including sensitive words are isolated from Chinese netizens by a powerful national firewall. I think the voices asking for freedom will be more and much louder, so the conditions will improve gradually.&lt;br /&gt;&lt;br /&gt;I shall give my respect to any journalist who hold a professional conscience and dare to reveal the inconvenient truth. They disclose the dark side of society and offer real information for the public. To some extent, they act as a watchdog of the society.&lt;br /&gt;&lt;br /&gt;Another point I want to say is that, some left guys are still thinking in a cold war way. One of their points is that those asking for more freedom in speech are traitors or lackeys of the west. All they said is about personal attack rather than specific debate. This kind of thinking doesn't make any sense. Joining in a debate and trying to solve the problems are a more reasonable and realistic attitude.&lt;br /&gt;&lt;br /&gt;reference:&lt;br /&gt;1. &lt;a href="http://v.youku.com/v_playlist/f1064015o1p0.html"&gt;All the president's Men(Chinese title:惊天大阴谋)&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://v.youku.com/v_show/id_XMTk5MTk3MDA=.html"&gt;Good night, good luck(Chinese title:晚安，好运)&lt;/a&gt;&lt;br /&gt;3. &lt;a href="http://v.youku.com/v_playlist/f2067481o1p2.html"&gt;The insider(Chinese title:局内人)&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-4863959089384755736?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/4863959089384755736/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=4863959089384755736' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4863959089384755736'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4863959089384755736'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/09/about-freedom-of-press.html' title='about the freedom of the press'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-2605668146483211434</id><published>2008-09-11T10:49:00.006+08:00</published><updated>2008-10-03T10:13:25.601+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='documentary'/><category scheme='http://www.blogger.com/atom/ns#' term='Fahrenheit 911'/><title type='text'>Does Fahrenheit 911 imply a new trend in documentary?</title><content type='html'>Fahrenheit 911 is not a new film, but I never have time to see it. I thought it is about politics so it must not be objective. I didn't want to get involved in that kind of swamp. However, this film is a Cannes Festival winner, which make it more accessible to the public. I don't know if it would have been forbidden in the US, if the film didn't win such a prize. Anyway, I saw it.&lt;br /&gt;&lt;br /&gt;It is clear that this film is about politics of the US. I think it is not necessary to mention those shots in this blog. There are a lot of reviews and critics about it out there.&lt;br /&gt;&lt;br /&gt;There was no such a documentary in the film history that could be so sensational. One of the reward presenter had ever said that this film is chose  not because of politics but its artistic skills. It is a conventional view that documentary should be about the facts and be objective. Obviously this documentary perfectly blended traditional features with entertaining elements. However, I think this film appeared less impartial rather than objective. Anyone can feel the obvious political stand against Bush in it. Maybe this kind of controversy is what made it so popular.&lt;br /&gt;&lt;br /&gt;One of the point in the film is the opposition of the war against Iraq. However, the war is approved by the congress which represent most US people. So if the war is not the will of the US people, we can conclude that there is something wrong with the congress and also the whole system of government. On the other side,the US government is considered the best government in the world so far. We can only conclude that the Iraq war represented the mainstream of public opinion. I think this is also a kind of tyranny of the majority, against the outside not the inside. If we think about McCarthyism in the 50s which was accused by the justice, I can't help thinking that the justice is only for the US people.&lt;br /&gt;&lt;br /&gt;In fact, I heard of some kind of so-called liberal wing's opinions, like that US is a country with the most intensive sense of mission or salvation. Of course people holding such opinion think Iraq war is justified. I will say such opinion is totally bullshit. If these guys were Iraq people, they would not think so.&lt;br /&gt;&lt;br /&gt;Actually I was deeply struck by the scenes of a mother of a US soldier who was dead in Iraq war, as sad as when I saw the film Nanking. So, I think the war is war. It is brutal. It is antihuman. The history of human civilizations are still short compared with the evolution history. Maybe it is too short to see its perfection. Maybe after a long time like several tens of thousands of years, human at that time will think us barbarian and not civilized at all although we are so proud of modern science and technology today. Maybe they will think us ridiculous. Why people are still fighting each other while there are more important thing to do to sustain our existence on earth?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-2605668146483211434?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/2605668146483211434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=2605668146483211434' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2605668146483211434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2605668146483211434'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/09/does-fahrenheit-911-imply-new-trend-in.html' title='Does Fahrenheit 911 imply a new trend in documentary?'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-5764083638036259218</id><published>2008-09-05T14:54:00.005+08:00</published><updated>2008-10-03T10:11:22.881+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='dystopia'/><category scheme='http://www.blogger.com/atom/ns#' term='politics'/><title type='text'>dystopia books</title><content type='html'>Recently I read something about politics, including those famous but deported poets and writers in Russia, documentaries about demonstrations in China, and also some films of dystopia.&lt;br /&gt;&lt;br /&gt;Many renowned poets and writers were deported in Soviet Union. They are considered as dissenters at the time of Soviet Union. Deport of dissent artists is an unique feature in the history of arts of Russia. Most of their writing are fierce critics of autocracy of Soviet Union. Solzhenitsyn, the conscience of the Russian people, is one of them in the 20th century. The Gulag Archipelago is a elaborate writing about labor camp in Soviet Union. I have to say, if I have time to read this great novel, I can debunk the mystery of its equivalents in China. I think this kind of device is very common in eastern autocratic countries. Actually, I know some Chinese books are forbidden in mainland. I can't say these books are all the truth, but they definitely include some kind of facts which government don't want citizens to know.&lt;br /&gt;&lt;br /&gt;What's the most ironical thing is that, as a persistent defender of democracy and human rights, the United States became notorious for its oversea prison and all kinds of atrocity against so-called terrorist whom they alleged. A documentary "The Road to Guantanamo" revealed the illegal detention and brutal mistreatment imposed on three British muslin who was going to Afghanistan to provide humanistic help for refugees. It is obvious that those claimed themselves human rights defenders adopted double standard on behalf of themselves. Maybe their thinking is: all people are equal, but we are more equal than others. I don't mean to justify similar issues in China by scorning other countries. All those kind of issues are equally unreasonable and should be abolished.&lt;br /&gt;&lt;br /&gt;I recommend some books which are often called political fables to everyone who want to understand politics in depth.&lt;br /&gt;&lt;br /&gt;I gave video links of the three books here:&lt;br /&gt;1. &lt;a href="http://v.youku.com/v_playlist/f1646625o1p7.html"&gt;Fahrenheit 451&lt;/a&gt;&lt;br /&gt;2. &lt;a href="http://www.tudou.com/playlist/id/2675348/"&gt;1984&lt;/a&gt;&lt;br /&gt;3. &lt;a href="http://v.ku6.com/special/show_2503926.html"&gt;Animal farm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-5764083638036259218?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/5764083638036259218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=5764083638036259218' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/5764083638036259218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/5764083638036259218'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/09/randoms-thoughts-about-politics.html' title='dystopia books'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-7993574237687180991</id><published>2008-08-29T20:30:00.006+08:00</published><updated>2008-10-03T10:08:22.358+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='economics'/><category scheme='http://www.blogger.com/atom/ns#' term='China'/><title type='text'>critics of the 11th five year plan of China</title><content type='html'>Although the 11th five year plan was made in 2005, I still have to bring forward some weak points in it.&lt;br /&gt;&lt;br /&gt;In the first chapter, the general guiding principle is proposed as a human oriented scientific view of development. It's a good point. However, when we obviously fall into an increasingly deteriorating environment, human oriented point of view must also include an implication of sustainable development. Actually the most critical factor of sustainable development is a new energy plan. &lt;br /&gt;&lt;br /&gt;In the past several centuries, we exploited the nature at will. Now we begin to see the consequences. Flood, mudflow, drought, desertification, and new stubborn diseases become increasingly common. So we have to begin to think about what we can do to stop it or at least mitigate it. Going green is a buzz word today. Apparently a sustainable energy plan will play a vital role in going green. Energy plan is a system project. In one hand, Efficiency of fossil fuel can be improved and depollution of fossil fuel before and after burning is also important. In addition, alternative energy such as solar panel, wind power, nuclear power should be seriously and urgently considered and researched. &lt;br /&gt;&lt;br /&gt;The second point is that the proportion of basic science R&amp;D investment is too low. We can not be proud of being a world factory. Actually, currently we are. If we don't increase the investment of basic research, we will not have enough potential to prepare for applied research and thus we will be tied in the lower end of value chain. It's absolutely not sustainable.&lt;br /&gt;&lt;br /&gt;Finally, investment policy on public education is less satisfactory. Although the 4% goal was set in the 90s of the last century, it is not reached even now. Low financial income leads to deficient budget on education. This is always the excuse of Chinese government officials. I have to argue this excuse is nonsense. It is about determination and persistence. Even in a poor rural family, money can be saved for education. Moreover, if government has not enough money for education, why so many splendid government office building are constructed? why the salary of public servants was raised several times in recent few years? It's too much for me to call government to account for this issue. In a word, public education especially in rural areas is an unavoidable duty of government. There is no excuse. There is only consequences.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-7993574237687180991?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/7993574237687180991/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=7993574237687180991' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7993574237687180991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/7993574237687180991'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/critics-of-11th-five-year-plan-of-china.html' title='critics of the 11th five year plan of China'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-3100746745650367947</id><published>2008-08-28T22:56:00.005+08:00</published><updated>2008-10-03T10:07:48.938+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='religion'/><category scheme='http://www.blogger.com/atom/ns#' term='science'/><title type='text'>Is reconcilement between science and religion possible?</title><content type='html'>After a fierce debate about religion with greenapple, we ended with a consensus that science and religion will coexist in future for a long time. As greenapple said, neither of them can provide us a comprehensive understanding about everything around us so human need both of them. This is a typical debate about the validity of religion between atheism and Islam. Actually this kind of debates lasted for centuries and became much hot recently.&lt;br /&gt;&lt;br /&gt;In one hand, some religions begin to employ so-called science miracles in holy scriptures to justify their validity. For example, there are many arguments about science miracles in Quran which claimed that Muhammad got revelations about the origin of the universe, the creation of the earth, development of embryo and so on. Also a variety of creationism such as intelligent design were developed to justify God in a more scientific way. On the other hand, it is noticeable that such justifications have around the same number of critics as supporters. Because they are still open to debate, we can't tell which side is more justifiable.&lt;br /&gt;&lt;br /&gt;If we can go a little further to explore the essence of religion, problem could be simplified. German philosopher Feuerbach said that, if God can't be proved as a material existence, then it is a spiritual existence which must derive from human's mental activity. It can't be independent so it is a outward projection of human's inner characteristics. Psychologist Fred said that religion is the realization of human's intense and urgent wish. Human will confront a lot of sufferings such illness, frustration, and death in life, so he gets an intense desire to get free from these sufferings by simply relying on a kind and mighty deity. It is a great comfort to offset those sufferings in real world. So, if God is just a mental phenomenon of human, it is subjective and can't be justified and not to mention it can direct the progress of science.&lt;br /&gt;&lt;br /&gt;However, despite its subjective trait, religion definitely can improve comfort, sense of safety, peace. So it embodies a kind of humanistic characteristic. The rational power of science and humanistic influence of religion will be complementary rather than competitive.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-3100746745650367947?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/3100746745650367947/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=3100746745650367947' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3100746745650367947'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3100746745650367947'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/is-reconcilement-between-science-and.html' title='Is reconcilement between science and religion possible?'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-6734001544782129546</id><published>2008-08-27T20:47:00.006+08:00</published><updated>2008-10-03T10:06:59.843+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Confucianism'/><category scheme='http://www.blogger.com/atom/ns#' term='China'/><category scheme='http://www.blogger.com/atom/ns#' term='philosophy'/><category scheme='http://www.blogger.com/atom/ns#' term='religion'/><title type='text'>why there is no prevaling religion in China?</title><content type='html'>While I begin to think about my belief and religion, I try to find my belief from some kind of origins, one of which is Confucianism. It's well-known that Confucianism ever had the most important influence and now still has lasting influence on Chinese everyday life, but why didn't it develop into a popular religion like Christianity? Or why there is no prevailing religion like Christianity in China?&lt;br /&gt;&lt;br /&gt;It's a very intriguing and complex question. After some research and pondering, I think it is the ethical and philosophical feature of Confucianism that makes a religion not necessary in China.&lt;br /&gt;&lt;br /&gt;Confucianism mainly deals with politics and ethnics. The core principles are humanity, loyalty and filial piety. Humanity teaches us to behave with humaneness. One golden rule which expresses the principle of humanity is: Whatever you don't wish for yourself, don't do to others. It's about empathy. Loyalty focuses on the obligations of the ruled to the ruler, and also extends to one's duties to friends, family and spouses. Filial piety denotes that children should respect their parents or ancestors.&lt;br /&gt;&lt;br /&gt;It is evident that Confucianism is a very complete moral code to regulate social relationships in China. Also Confucianism pays little attention on anything out of living beings; instead, it focuses on personal cultivation with a goal of becoming a gentleman. Put it simply, Confucianism is more of a philosophy of life than a religion of theism. This kind of feature makes a belief of supernatural power such as God not necessary. People can live well in the direction of Confucianism.&lt;br /&gt;&lt;br /&gt;Actually there is a native religion in China. It is Taoism. However, Taoism is too mystical to be popularized.&lt;br /&gt;&lt;br /&gt;After a roughly one century of fracture of the tradition of Confucianism, most Chinese actually begin to lose memory about Confucianism. However, it's no good and we should adopt a analytical method to revive Confucianism to fit in modern values, especially when western civilizations have begun to show serious consequences in many aspects of our life such as global climate change. Chinese traditional philosophy of "unity of Heaven and Man" could serve as a savior. The most prominent philosopher in 20th century Russsel ever commended Chinese traditional culture and he said:&lt;br /&gt;&lt;br /&gt;His (Confucius)system, as developed by his followers, is one of pure ethics, without religious dogma; it has not given rise to a powerful priesthood, and it has not led to persecution. It certainly has succeeded in producing a whole nation possessed of exquisite manners and perfect courtesy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-6734001544782129546?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/6734001544782129546/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=6734001544782129546' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6734001544782129546'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6734001544782129546'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/why-there-is-no-prevaling-religion-in.html' title='why there is no prevaling religion in China?'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-8725740767902813801</id><published>2008-08-27T09:37:00.004+08:00</published><updated>2008-10-03T10:05:39.861+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='belief'/><category scheme='http://www.blogger.com/atom/ns#' term='religion'/><title type='text'>random thoughts on religion</title><content type='html'>I have talked about my belief in the former blog post, but I think I could also record some thoughts about religion.&lt;br /&gt;&lt;br /&gt;Generally there are two types of belief system, theistic belief and atheistic belief. Christianity, Judaism and Islam are the most influential religion belief system in the world. Actually these religions share the same origin. They believe in one God, share the same prophet Abraham(Ibrahim) and Judgment Day caused by original sin of human beings. Arabians and Jews all claimed that Abraham are their ancestor. However, there are some distinctions between them. In regard to prophets, Christianity regard Jesus as the Savior sent by God, but Jews don't think so and they are still waiting for the advent of the real Savior, Muslin just think Jesus as one of the prophets and also regard Muhammad as the last prophet sent by God(Allah). As for holy books, Jews accept that Old Testament is their only revelation from God, but Christians also read New Testament. Islam accept some parts of the Bible but think it is not original or authentic, also Islam regard Koran as the most complete and authentic holy scripture. &lt;br /&gt;&lt;br /&gt;On the other hand, Buddhism is the most influential atheistic belief. Buddhism don't believe there is a God because it don't think anyone else can help except ourselves. There is nothing permanent in this ever-changing world, so pursuing a lasting spiritual existence is impossible. All suffering comes from our craving and clinging to wrong things, and there are a lot of causes and effects(Karma) in our life. Human life is continuing living and death before attaining liberation from Karma. However, we can avoid suffering by arduous self-promotion such as meditation，morality and wisdom and finally reach Enlightenment(a mental state beyond suffering).&lt;br /&gt;&lt;br /&gt;Also there are some other types of atheistic belief such as humanism, rationalism and postmodernism. I can't elaborate them in this post. Maybe I can do it sometime later.&lt;br /&gt;&lt;br /&gt;Personally speaking, I can't tell which is better or worse. Each one has some merits and flaws. But I would prefer a atheistic type of belief because it is more reasonable for me.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-8725740767902813801?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/8725740767902813801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=8725740767902813801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/8725740767902813801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/8725740767902813801'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/about-religion.html' title='random thoughts on religion'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-2529003560298852937</id><published>2008-08-26T09:10:00.005+08:00</published><updated>2008-10-03T10:04:30.497+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='belief'/><category scheme='http://www.blogger.com/atom/ns#' term='religion'/><category scheme='http://www.blogger.com/atom/ns#' term='Chinese'/><title type='text'>about belief of Chinese</title><content type='html'>Before I met greenapple(nickname) several days ago, I never thought about belief. I never think it is problem. My talking with greenapple about religion made me begin to think about this old question.&lt;br /&gt;&lt;br /&gt;So, the first question I would ask is if I have a belief? I think I do have a belief. First of all, I am still practicing some traditional Chinese religion. I stand in awe of Heaven and Earth. I think human's power of rationality is limited but the universe we live in is infinite. Although science has been advanced a lot in the late several centuries, science is an endless progress. So I think keeping a awe of the nature is a necessity. Also I have a great respect of my ancestors. I have to be grateful to the heritage(materialistic and spiritual) from my ancestors. It is their great efforts that laid a rich foundation for our modern life. Although I got these ideas from my parents and also practiced them, but I think they are more of a custom than a belief for me because at least I can express my respect on my ancestors.&lt;br /&gt;&lt;br /&gt;Moreover, I think my behavior is definitely influenced by Confucianism that prevailed in China for about 2000 years. In the late 20th century, with the demise of Qing dynasty, Confucianism was disdained and discarded by modern Chinese intellectuals. However, I think the basic Confucianism is still in Chinese people's mind as a cultural heritage. We still act according to those ethnics taught by Confucianism, such as respect, loyalty and kindness. So that's about my understanding about my belief.&lt;br /&gt;&lt;br /&gt;Actually I heard a lot of points that Chinese is a nonbeliever people. It is not really true. For religion, there are a lot of followers of Buddhism, Taoism and Islam. Moreover, most Chinese have the similar belief as me. Another feature of Chinese belief is pantheism. We worship Emperor Yuhuang, Heaven, Earth, Buddha, Lady Guanyin and also Confucius and Laotze. They just choose some of them to worship. If someone say that Chinese have some kind of pragmatism, it is true. They worship those deity which can bring them goods.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-2529003560298852937?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/2529003560298852937/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=2529003560298852937' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2529003560298852937'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/2529003560298852937'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/about-belief-of-chinese.html' title='about belief of Chinese'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-1422849080757623102</id><published>2008-08-19T23:10:00.007+08:00</published><updated>2008-10-03T10:02:18.628+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Farther and Daughter'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><category scheme='http://www.blogger.com/atom/ns#' term='movie'/><title type='text'>a heartwarming Oscar-winning cartoon "Farther and Daughter"</title><content type='html'>As the title said, it's an affecting cartoon. The little girl is always waiting for his farther in her lifetime. The season changes and the aging of the girl are greatly shortened for an effect of exaggeration. Thankfully, the old girl got together with his farther. What's the most moving part is the scene that the girl found a empty boat when the lake dries up.&lt;br /&gt;&lt;br /&gt;I recommend anyone to see it and you'll feel one of the most precious emotions of humankind.&lt;br /&gt;&lt;br /&gt;see it online: &lt;a href="http://www.tudou.com/playlist/playindex.do?lid=2306748&amp;iid=3525360"&gt;Farther and Daughter&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-1422849080757623102?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/1422849080757623102/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=1422849080757623102' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1422849080757623102'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/1422849080757623102'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/heartwarming-oscar-winning-cartoon.html' title='a heartwarming Oscar-winning cartoon &quot;Farther and Daughter&quot;'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-681897832925847866</id><published>2008-08-17T22:42:00.004+08:00</published><updated>2008-10-03T10:00:38.253+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fight Club'/><category scheme='http://www.blogger.com/atom/ns#' term='review'/><category scheme='http://www.blogger.com/atom/ns#' term='movie'/><title type='text'>personal review of the film "Fight Club"</title><content type='html'>Fight Club seems like a typical gang film at first sight, but it is more thought-provoking than it seems.&lt;br /&gt;&lt;br /&gt;Although Tyler and Edward co-create the fight club, Tyler is actually the godfather of the club. He attended college, extremely debase consumerism which ever dominated Edward's life.&lt;br /&gt;&lt;br /&gt;The advocated values of the club is that one should abandon materialistic world and pursue a kind of spiritual redemption by destruction. Destruction is the way they live. Destruction is what makes them exist. As Tyler said, "Let gone."&lt;br /&gt;&lt;br /&gt;One scenario is very striking for me. That guy claimed to study biology conceded that he really want to be a veterinarian when his head is pointed by a short gun. Maybe death can save us to some extent because death can help us know what we really want to be. But before that, we should seriously think it over and over. As soon as the goal is clear, just do it before we die.&lt;br /&gt;&lt;br /&gt;Now, I can't say any more about this movie. Maybe the next time I see it again, I can gain more understanding.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-681897832925847866?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/681897832925847866/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=681897832925847866' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/681897832925847866'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/681897832925847866'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/personal-review-of-film-fight-club.html' title='personal review of the film &quot;Fight Club&quot;'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-3935356945262875707</id><published>2008-08-17T21:09:00.004+08:00</published><updated>2008-10-03T09:58:38.349+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Runner Fan'/><category scheme='http://www.blogger.com/atom/ns#' term='China'/><category scheme='http://www.blogger.com/atom/ns#' term='earthquake'/><title type='text'>about so-called Runner Fan event</title><content type='html'>One post(&lt;a href="http://cache.tianya.cn/publicforum/content/books/1/106727.shtml"&gt;Mr. Fan Meizhong's blog&lt;/a&gt;) on the tianya bbs stirred fierce discussions. Most said that Mr.  Fan lost conscience and failed to fulfill obligations as a  teacher. Furthermore, some cited the conduct rules for American teachers when natural disasters occurred. Mr. Fan also his some supporters who said that his was not to blame because he was just committing self-protection. Basically I don't think Mr. Fan should be to blame because he just wanted to live.&lt;br /&gt;&lt;br /&gt;For one thing, to live is the most fundamental right for any species. To some extent human being is also a kind of species what we call Homo sapiens. His self defense behavior came from the very instinct of life.&lt;br /&gt;&lt;br /&gt;From the ethical point of view, Mr. Fan obviously don't carry out the obligations as a teacher, especially in China, such a country where traditional ethical standards prevail in most people's life. This is why so many critics was flooding him.&lt;br /&gt;&lt;br /&gt;In addition, Mr. Fan is so brave that he dare to expose his "coward" mind to the public. Maybe many people have the same feeling on the tip of their tongues but they can't speak it out. Mr. Fan just revealed this kind of feeling.&lt;br /&gt;&lt;br /&gt;Finally I have to say that everyone is very different from each other. We should not expect others think the same as ourselves. Speech should be respected. We can disagree with others, but we don't have to commit verbal assault which fails to settle anything.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-3935356945262875707?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/3935356945262875707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=3935356945262875707' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3935356945262875707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/3935356945262875707'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/08/about-so-called-runner-fan-event.html' title='about so-called Runner Fan event'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-6993215001209256089</id><published>2008-05-04T14:22:00.001+08:00</published><updated>2008-10-03T09:53:23.808+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='oracle'/><title type='text'>linux下设置oracle自启动</title><content type='html'>1. 创建文件/etc/oratab&lt;br /&gt;#添加如下内容到/etc/oratab文件中,&lt;br /&gt;#$ORACLE_SID是你的Oracle数据库的sid&lt;br /&gt;#$ORACLE_HOME是你的Oracle数据库的Oracle_home&lt;br /&gt;#Y表示要求在系统启动的时候启动Oracle数据库.N表示不要在系统启动的时候启动Oracle&lt;br /&gt;$ORACLE_SID:$ORACLE_HOME:Y&lt;br /&gt;&lt;br /&gt;2. 修改文件/etc/rc.local添加一下两行&lt;br /&gt;##&lt;br /&gt;## 关于su的具体命令参看linux的manual文档&lt;br /&gt;##&lt;br /&gt;su - oracle -c 'dbstart'&lt;br /&gt;su - oracle -c 'lsnrctl start LISTENER'&lt;br /&gt;&lt;br /&gt;环境变量设置:&lt;br /&gt;编辑 /etc/profile&lt;br /&gt;export ORACLE_BASE=/usr/oracle&lt;br /&gt;export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_2&lt;br /&gt;export ORACLE_SID=orcl&lt;br /&gt;export PATH=$PATH:$HOME/bin:$ORACLE_HOME/bin&lt;br /&gt;export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/usr/lib&lt;br /&gt;export LC_CTYPE=en_US.UTF-8&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;转载, 通过脚本实现自启动:&lt;br /&gt;#!/bin/sh&lt;br /&gt;# Author: jackylau &lt;squidipt@yahoo.com.cn&gt;&lt;br /&gt;# chkconfig: 345 99 99&lt;br /&gt;# description: start or stop oracle&lt;br /&gt;. /etc/rc.d/init.d/functions&lt;br /&gt;#oracle_env&lt;br /&gt;export ORACLE_BASE=/home/oracle&lt;br /&gt;export ORACLE_HOME=$ORACLE_BASE/product/9.2.0&lt;br /&gt;export PATH=$PATH:$ORACLE_HOME/bin&lt;br /&gt;export ORACLE_SID=oradb&lt;br /&gt;export ORACLE_TERM=vt100&lt;br /&gt;export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data&lt;br /&gt;export NLS_LANG=AMERICAN_AMERICA.ZHS16GBK&lt;br /&gt;oracle_user=oracle&lt;br /&gt;&lt;br /&gt;#killproc&lt;br /&gt;start(){&lt;br /&gt;echo -n "starting oracle: "&lt;br /&gt;su - "$oracle_user"&lt;&lt;br /&gt;lsnrctl start&lt;br /&gt;sqlplus /nolog &lt;&lt;br /&gt;connect /as sysdba&lt;br /&gt;startup&lt;br /&gt;EOS&lt;br /&gt;EOO&lt;br /&gt;}&lt;br /&gt;stop(){&lt;br /&gt;echo -n "stoping oracle: "&lt;br /&gt;su - "$oracle_user"&lt;&lt;br /&gt;lsnrctl stop&lt;br /&gt;sqlplus /nolog &lt;&lt;br /&gt;connect /as sysdba&lt;br /&gt;shutdown immediate&lt;br /&gt;EOS&lt;br /&gt;EOO&lt;br /&gt;}&lt;br /&gt;case "$1" in&lt;br /&gt;start)&lt;br /&gt;start&lt;br /&gt;touch /var/lock/subsys/orad&lt;br /&gt;;;&lt;br /&gt;stop)&lt;br /&gt;stop&lt;br /&gt;rm -f /var/lock/subsys/orad&lt;br /&gt;;;&lt;br /&gt;status)&lt;br /&gt;status oracle&lt;br /&gt;;;&lt;br /&gt;restart)&lt;br /&gt;stop&lt;br /&gt;sleep 3&lt;br /&gt;start&lt;br /&gt;;;&lt;br /&gt;*)&lt;br /&gt;echo "$0 {start|stop|status|restart}"&lt;br /&gt;;;&lt;br /&gt;esac&lt;br /&gt;将此脚本cp到/etc/rc.d/init.d/目录下&lt;br /&gt;&lt;br /&gt;加上可执行权限：&lt;br /&gt;chmod 755 /etc/rc.d/init.d/orad&lt;br /&gt;发布：&lt;br /&gt;chkconfig --add orad&lt;br /&gt;即可！&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-6993215001209256089?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/6993215001209256089/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=6993215001209256089' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6993215001209256089'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/6993215001209256089'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/05/linuxoracle.html' title='linux下设置oracle自启动'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-319809167876795022.post-4514589261989257235</id><published>2008-05-04T14:15:00.000+08:00</published><updated>2008-05-04T14:17:23.200+08:00</updated><title type='text'>google blog gfw test</title><content type='html'>google blog gfw test&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/319809167876795022-4514589261989257235?l=yanky80.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://yanky80.blogspot.com/feeds/4514589261989257235/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=319809167876795022&amp;postID=4514589261989257235' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4514589261989257235'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/319809167876795022/posts/default/4514589261989257235'/><link rel='alternate' type='text/html' href='http://yanky80.blogspot.com/2008/05/google-blog-gfw-test.html' title='google blog gfw test'/><author><name>Jun Young(杨军)</name><uri>http://www.blogger.com/profile/08702891064551680577</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
