Author: leizhou


Website:

http://bitc.bme.emory.edu/Members/lzhou.html

About this author:


Using interactive R script in batch mode

According to R manual, http://cran.r-project.org/doc/manuals/fullrefman.pdf, page 411, ” Value A character vector of length one. Both leading and trailing spaces and tabs are stripped from the result. In non-interactive use the result is as if the response was RETURN and the value is “”. ” So, if you have an R script that used readline […]

A very itchy lesson – Sand fly bites

My family went to vacation last weekend and we ended up miserably. All of us got many tenth of very itchy bites and they turned into itchier blisters after a few days. They did not look like normal mosquito bites though we got a few. After an intensive internet research, I realized that we went […]

RHEL6 and fedora hide user list in log in screen

gconftool-2 –config-source xml:readwrite:/etc/gconf/gconf.xml.defaults –direct –type bool –set /apps/gdm/simple-greeter/disable_user_list true

Ports:

Dell Server Admin: 1311 3Ware Server Admin: 888 APC Admin: 6547

When /etc/fstab is inconsistent

The system will drop you into a shell after  asking you root password. However, you cannot correct /etc/fstab since / is readonly. Now you need to do $ mount -o remount,rw / to enable it.  Then you are free to correct it.

A 154063 digit randomly generated prime number

The number: 19506976719865293129308617541145262776019485346923753773692479453448602741182\ 44815774147360477792656314060371476413200980901897600097221153832131096760562\ 53856636078684696471842070802268583392204220347556909007097832123502786088755\ 70268538057805405231275371625390082749769294028449254300066002314563979994897\ 51333540705492181477783574556988467856096588108934232379153591412859042068590\ 33530745491002722294278518428643914122297370579553006154381138016202563252638\ 58228808207492174889032428224547666397184356568042784908770546833650665525505\ 65807142844258950045799540520420582000861345201952521697122175381034873551485\ 24999241108472994046508480703938192680368569109911875158783490237476648755904\ 38819628118913711670380071464102880936105793403617547286062070204169926927577\ 10151508697433397953365839706429274211941093322845662738854489303228490325789\ 87920938975169598766640854333043596152396156513289969254712960794233199940095\ 41393023721745445247726724121597052355073821034937324977106523455241443458975\ 90297443663786307083038017205963398257675179827630714664599690674916140817635\ 72933865711407238141195362312951037091568385493778379288654117717141966810131\ 08511024845660122743798688121104272878471880264978310296839855781432510598524\ 38165520517873823050456319971477147865829977395238885457749711950206830901032\ 59701979206048989009064822508684021304435300735555882755235200905710698741756\ 59149204463834053079040972957094046283905883850991010667594898114897234201966\ 18914435939955785574426089840929932931777542402628854474904709199020169232151\ 93750257631395350222831897024026027592679667235988982557892112124327212920433\ 88802140994388178158081603920533262973126985839984178214533197433108199326472\ 46191953263962484545475430483250676892230754118354368526917638521390267356462\ 74610739781430296987513671276725335394955144463258054305322453384962262225335\ 02748454193910866461130187835864204572197446628299841261449667058281848452441\ 59945971961139426488884942141849674369682144897415179802666452164981300163241\ 36134944067330516266379200991443331251928918750224521694166111103688341012393\ 30303812105047250477052894704473980060218095956759001470457439918676419251126\ 66192750442434489950194764981992379512564760108391269868300382934830893521476\ 03335350403852921788182783461149426406658035180491157035782749424477352543622\ 35485636979014914102230290197673526399862037449258722790158783131301368975552\ 27121849800591490612364523742494271599149298604339331626058080023688404230175\ 86299873702665902486207752476094382342437350584151551160624904594820103904319\ 63519688801671848004346475937239636151383998609166318168449618385079821870610\ 99766298243431979332251375379789327133824875546971586010691692742677549394373\ 23287727592964671321671568875788458443643124520098303496350278266047512107665\ 01833671879021842994539329941073221387399597757972893271988592207318896729669\ 25973379068578279738959436234741591960024302370578385705047325477823396719731\ 94845113630545723550216441091041933122932922206244804748458265477407130761467\ 08022898109401643842596000785372051503991695183721169906194606468004395929833\ 55831788817342492300796415734640244520318205561490305002903733230112506415876\ 89732696811332581006151777936289293711497326303019589169894605679630385810305\ 61699717131098672990786050183801913920232338729611001605680705701197062164664\ 66054105004145252290670433163102743132837497803244899243460531460295443604683\ 76899408479651651584252727687111510813319175835368298290562594595793083464940\ 65267981775667466396154980497707510021006623154225471635908436372943479338975\ 64845474823377989352469212531375180137539094029108513115510212005089154384633\ 65750482971517572327721727976567521125046381129212001522754235234682328613240\ 14036936801018960748077141976367474565412145093279529434235393460038549624821\ 26204528769274981664767964786229793520721700313004551404517375722136821766911\ 53988831192378138705208129559485679125511591372053022791979906453845861711873\ 71624544028185773005982486366168267345233419472238305739916922518436545666215\ 21526122909262961854504295470454641227732601413521112369358327470987361114510\ […]

民主概念下的执政合法性

事实上从民主的角度讲,没有任何个人(例如军政府首脑),家族(例如皇室),政治团体(例如政党),普选民意代表(例如普选的总统),拥有独立的执政合法性。他们本质上只是在“代民行政”。 换句话说,任何执政者,一旦采取措施限制人民表达(对执政者行为做出评价的言论自由)和统计(第三方民意测验)对他的支持度和对他的潜在竞争者的支持度,他执政的合法性就立即失去。

中国人民币升值评估。

中国有人民币升值的需求。我数年前,在人民币兑美元还是8.277:1的时候,曾测算过,人民币对美元的汇率平衡点大约在5.3-5.7:1。大约是在2004年。 但是快速升值会给中国产业和经济带来无法承受的冲击,而且会因热钱炒作带来无法估量的损失。 当时的估算是,如果中国GDP增速能保持8%以上,人民币年升值3%比较合适。如果GDP增速能达到10%,人民币年升值可以承受4%。 自2005年六月人民币启动升值以来,已经6年过去,人民币兑美元汇率近期在6.5:1附近浮动。人民币兑美元币值是2005年五月的127.3%。折合年升值速率4.11%。这个结合这些年中国GDP年均增速略超10.5%的事实, (2005  10.4%  2006 11.6% 2007 13.0% 2008 8.9% 2009 9.1% 2010 10.3%) 4.11%的年均升值速率是近乎理想的。 近年中国经济虽然在努力转型,但是到目前为止,是否能够转型成功尚无定论。人民币兑美元的汇率平衡点仍在5.0-5.3:1之间。以中值5.15计算,人民币兑美元仍有约26.2%的升值空间。鉴于中国经济增速将无可避免逐渐放缓,人民币兑美元升值速率也必须逐渐放缓。可控范围如不出意外,将仍在年升值幅度3%左右。这意味着人民币兑美元仍有8年左右每年升值3%的路要走。 此间,如果中国经济成功转型,人民币兑美元平衡汇率可能少于5:1。人民币不排除升值快于年率3%的幅度。如果经济转型困难较大,人民币兑美元平衡汇率可能会回到5.5:1左右,升值压力或会逐渐减小,升值或提前结束。 反之,如果中国经济转型失败,导致恶性通货膨胀,人民币兑美元汇率不排除逆转的可能。 人民币兑美元缓慢可控升值虽然加大中国出口企业的困境,导致中国美元资产贬值。但是这却从另一个方面证明中国经济运转正常,增长强劲。GDP和人均收入的增长给人民带来好处远远大于外汇资产贬值带来的损失。 这些希望有识之士理解。

When NFS4 mount as nobody:nobody

The rpc.idmapd malfunctioned. Cure: service rpcidmapd restart Work in: RHEL6 Also, check /var/log/message of the client to see which domain it expects. If you see line as rpc.idmapd[10199]: nss_getpwnam: name ‘user@domain’ does not map into domain ‘some_domain’ you’d go to the server and add line Domain = some_domain under the [General] section of /etc/idmapd.conf and […]

Today, President Obama announced the death of Osama Bin Laden

The president announced to the nation that “justice has been done” in the death of Osama Bin Laden. A small team of Americans carried out the operation to kill bin Laden in Pakistan. Read more: http://ww w.cbsnews.com/video/watch/?id=7364586n&tag=cbsnewsMainColumnArea#ixzz1LAmSqPTo