2007年10月25日星期四

托福成绩出来了,大跌眼镜....

一切的计划都要重来了...

Test Test Date Reading Listening Speaking Writing Total
TELXML October 5, 2007 30 30 22 27 109

居然我这样的英语也能考109....这不是搞笑吗

终于到MIT的英语要求了...要不要申呢? 嘿嘿

2007年10月22日星期一

Canadian Engines Turn Up in Chinese Military Copter

转载自
http://www.nytimes.com/2007/10/23/world/americas/23canada.html?_r=1&ref=world&oref=slogin

看到最后,居然是40年前设计的东西...

一边是丢人,一边是搞笑


By IAN AUSTEN
Published: October 23, 2007

OTTAWA, Oct. 22 — The United States State Department says it is investigating how engines made by a Pratt & Whitney subsidiary in Canada turned up in a Chinese attack helicopter.

The subsidiary, Pratt & Whitney Canada, said last week that 10 engines were sent to China in 2001 and 2002 under a Canadian government export license for use in civilian copters. But the engines, the company said, ended up in prototypes of the Z-10, China’s first domestically developed attack copter, designed to carry guided antitank missiles.

While the Canadian government plans no action against Pratt & Whitney over the military diversion, a State Department spokesman, Karl E. Duckworth, said the United States government was continuing an investigation into the company’s actions. He declined to provide any details, though American export controls prohibit providing certain technology for military use.

It is unclear under what conditions the controls would apply to Pratt & Whitney. Some foreign-made technology uses American components and designs, and the Canadian subsidiary is owned by an American company, United Technologies of Hartford, Conn.

In an e-mailed statement, Jean-Daniel Hamelin, a spokesman for Pratt & Whitney Canada, said the company was selected by a Chinese aircraft maker in 2000 to provide engines for the civilian variation of a helicopter that was simultaneously being developed for the military.

When Pratt & Whitney Canada, based near Montreal, applied for an export license from the Canadian government, it understood that the Chinese would develop their own engine for the military model, Mr. Hamelin wrote. The two helicopters, he said, were being developed on a “common platform” that shared rotors and transmissions.

But, Mr. Hamelin added, “the Chinese engine encountered delays, and our engines were used during the development of the common platform.” Shipments to China by the company’s Canadian unit stopped in 2002. It is unclear why sales were halted.

“The program has undergone changes by the Chinese,” Mr. Hamelin wrote. “The Canadian government is currently re-evaluating the program.” He did not respond to further requests for comment.

Several aviation publications have reported that the Chinese military has still been unable to create its own copter engine and that it continues to rely on engines made by Pratt & Whitney.

The Department of Foreign Affairs and International Trade, which issued the export license, said Friday that it had no concerns about the way the engine sale was handled or the effectiveness of its export control program for technologies with potential military applications.

“Pratt & Whitney lived up to the conditions of the licenses,” said François Jubinville, a spokesman for the international trade minister. He added, “We’re pretty confident that our control system was used properly.”

When asked whether the system was working properly given that the engines had ultimately been put to military use, Mr. Jubinville replied, “The question should be asked to the Chinese.”

At Pratt & Whitney Canada, Mr. Hamelin wrote that the Pratt & Whitney engine, the PT6, was developed more than 40 years ago. “Over 25,000 PT6s are flying around the world on commercial applications,” he wrote.

Matlab里面使用元素循环

Matlab里面的for循环其实本质上更类似于Perl和Ruby

不过由于大部分用matlab的人是受的C语言教育,甚至没有编程基础,所以一般来说,对for的实用几乎全是最基本的C方式

基本就是把

for(i=n;i<m;i++){
...
}

替换成

for i=n:m-1
...
end


稍微复杂一点,也无非就是i=m:-1:n或者i=1:k:n这类的东西。但是归根到底都是完全的C风格---可以在C下面找到简单的对应语句

但是如果认真的分析一下matlab的for语句结构

for i=1:n
~~~这个写法如果单独拿出来看是不是很眼熟-----这其实是一个数组。

换句话说,matlab其实和perl一样,是在对“数组元素”进行循环,而不是C那样简单的对数字进行循环。只不过是一般习惯上我们喜欢用1:n这样的简单的全部由数字组成的数组作为循环对象,以使其产生和C下面完全一样的效果。

But that's not necessarily the case, 如果去掉这个限制,matlab的循环功能可以实现更自由的功能,下面只是一些非常简单的小实验,至于什么地方能用的上,相信看过以后你自然会有感觉


A=[1 3 ;4 2]
for i=A
i
end
A={'First','Second'}
for i=A
i
end
A='T NN'
for i=A
i
end

A =

1 3
4 2


i =

1
4


i =

3
2


A =

'First' 'Second'


i =

'First'


i =

'Second'


A =

T NN


i =

T


i =




i =

N


i =

N

小小的八卦一下

特快有人8g习近平,这个本来没什么,政治人物嘛,本来就是用来8g的,娱乐圈的人也不是省油的灯,政治+娱乐圈正是进来时兴的组合

发信人: suyujian (Guiguzi), 信区: NewExpress
标 题: 习总的夫人是彭丽媛
发信站: 水木社区 (Tue Oct 23 01:10:44 2007), 站内

RT
--

※ 来源:·水木社区 http://newsmth.net·[FROM: 220.160.170.*]



这个也没什么,精彩的是后面的两个帖子


发信人: aotian (aotian~~看我的smd), 信区: NewExpress
标 题: Re: 习总的夫人是彭丽媛
发信站: 水木社区 (Tue Oct 23 01:30:24 2007), 站内

当日伊到清华录一个mtv,用了很多清华新生作道具
中间休息的时候和学生们交流一下,她就自云:" 我是清华的媳妇,我的老公是化工系的blabla"过了一会她清唱了一首歌,又邀请一位同学上来同唱,一个wsn自告奋勇的上来了.作自我介绍的时候,他说:"我是化工系的."

【 在 suyujian (Guiguzi) 的大作中提到: 】
: RT


--
看我的Nick!


※ 来源:·水木社区 newsmth.net·[FROM: 211.99.222.*]


发信人: douxian (大司马大将军), 信区: NewExpress
标 题: Re: 习总的夫人是彭丽媛
发信站: 水木社区 (Tue Oct 23 01:33:37 2007), 站内

确有此事 97级的

【 在 aotian (aotian~~看我的smd) 的大作中提到: 】
: 当日伊到清华录一个mtv,用了很多清华新生作道具
: 中间休息的时候和学生们交流一下,她就自云:" 我是清华的媳妇,我的老公是化工系的blabla"
: 过了一会她清唱了一首歌,又邀请一位同学上来同唱,一个wsn自告奋勇的上来了.作自我介绍的时候,他说:"我是化工系的."
: ...................

--
踰涿邪,跨安侯,乘燕然,蹑冒顿之区落,焚老上之龙庭。将上以摅高文之宿愤,光祖宗之灵;下以安固后嗣,恢拓境宇,振大汉之天声。兹可谓一劳而久逸。暂费而永宁也。乃遂封山刊石,昭铭盛德。其辞曰:铄王师兮征荒裔,勦凶虐兮截海外,敻其邈兮亘地界,封神丘兮建隆嵑,熙帝载兮振万世。


※ 来源:·水木社区 newsmth.net·[FROM: 211.99.222.*]

2007年10月19日星期五

便当

太搞了,不转太对不起革命了

发信人: htmlboy (htmlboy), 信区: FamilyLife
标  题: 老婆给我准备的便当,汗!!!
发信站: 水木社区 (Fri Oct 19 23:53:01 2007), 站内

早上起来晚了,刚从床上坐起来,老婆就以迅雷不及掩耳盗铃响叮当仁不让世界充满爱如潮水之势跳到厨房king-king-kong-kong给我做起便当来,说是隔夜的菜不好吃,要整就整新鲜的。

偶在洗手间刷牙的时候听到厨房传来锅碗瓢盆的声音,心里真的很感动啊,恨不得跑过去帮忙,可惜上班快迟到了。伟大的老婆,你不是一个人在战斗!我一定会把它吃得干干净净的,只是.....只是......是否便当上可以不帖说明纸条捏




--
上班看电脑,回家抱老婆

※ 来源:·水木社区 http://newsmth.net·[FROM: 58.31.140.*]



csail.mit真是一个怪物云集的地方...

下面这个人,看着挺正常的吧...

http://pdos.csail.mit.edu/~rtm/


Robert Morris
Phone: (617) 253-5983
FAX: (617) 258-8607
Address: Room 32-G972
32 Vassar Street
Cambridge, MA 02139, USA

I'm at the MIT Computer Science and Artificial Intelligence Laboratory (CSAIL) in the PDOS group. I'm currently teaching 6.828.

I'm building data networking infrastructure that's easy to configure and control. The Click toolkit, for example, brings a new level of flexibility to network configuration by viewing routers as compositions of packet processing modules. Roofnet is a self-configuring wireless mesh network for Internet access, spread out over a few dozen nodes in Cambridge. The Resilient Overlay Networks project allows end-system control over Internet routing, so that applications can choose their own tradeoffs among qualities such as delay, bandwidth, and reliability. Chord and DHash provide a peer-to-peer distributed data lookup and storage system, which Ivy uses to build a shared read/write file system, and Pastwatch uses to provide serverless CVS-like version control.

不过如果google一下他的名字:Robert Morris....嘿嘿
而且,他教的那么课叫做Operating System Engineering,真不知道都能教出来什么样的学生

Ubuntu的光盘寄到

估计是早就到了,只是n久没去系里收信,今天才刚刚看到

挺正规的一个组织,除了光盘还有几张Ubuntu贴纸,赶紧弄一张贴在掌托上------让人也知道,哥们也是用开源软件的,哈哈

Crude oil crossed $90 a barrel for the first time

刺激了,难道真的要突破100大关?

按照现在美元疲软的情况来看,还真是有希望

不过这个毕竟只是账面上的东西,现在所有东西的美元结算价格都在涨:日元,加元,就连rmb也偶尔涨涨

所以嘛,这个价格背后的实际价格,估计还要重新估算

From:http://www.forbes.com/

"On Friday, oil also moved higher on continued worries over tensions between Turkey and Kurdish rebels in northern Iraq. A barrel of light, sweet crude passed $90 per barrel in European trading before retreating, and was last up 31 cents at $89.78 on the New York Mercantile Exchange."

2007年10月18日星期四

发现Computational Finance的Prof还挺厉害的

居然Matlab里面用到她的算法-----哈哈,我比较推崇matlab

2007年10月16日星期二

哈哈,中国又被“排名”了

学校里面有些缺德的老师喜欢给学生排名,然后帖出来恶心人

今天中国政府也被“排名”了,结果当然可想而知

这个国际上的千年后进生,总是在最后几名徘徊,估计也早就破罐破摔了

Report highlights blog censorship
Abdel Kareem Soliman
Egyptian blogger Abdel Kareem Soliman was jailed for four years
Bloggers are now finding themselves prey to censorship from repressive governments as much as journalists in traditional media, a report says.

Reporters Without Borders' annual study of press freedom says China is one of the worst offenders, having imprisoned 50 people for postings on the internet.

The report says governments realise the internet is now a key tool in promoting democracy and are moving to curb it.

Eritrea was ranked bottom on overall press freedom by the pressure group.

The African nation took the 169th slot on the sixth annual worldwide press freedom index, behind North Korea at 168th and Turkmenistan at 167th.

With less than a year to go to the 2008 Beijing Olympics, the reforms and the releases of imprisoned journalists so often promised by the authorities seem to be a vain hope
Reporters Without Borders
"There is nothing surprising about this," Reporters Without Borders said in a statement.

"Even if we are not aware of all the press freedom violations in North Korea and Turkmenistan, which are second and third from last, Eritrea deserves to be at the bottom.

"The privately-owned press has been banished by the authoritarian President Issaias Afeworki and the few journalists who dare to criticise the regime are thrown in prison. We know that four of them have died in detention and we have every reason to fear that others will suffer the same fate."

The annual index includes 169 countries and was compiled by questioning journalists, researchers and jurists around the world, along with freedom of expression and human rights groups.

Criticism

A number of countries slipped down the index because "of serious, repeated violations of the free flow of online news and information," Reporters Without Borders said.

According to the group at least 64 people are currently imprisoned worldwide because of postings on the web, eight of them in Vietnam.

The military junta's crackdown on demonstrations bodes ill for the future of basic freedoms in this country
Reporters Without Borders on Burma
They flagged up the case of Abdel Kareem Soliman, an Egyptian blogger jailed for four years after he used his web log to criticise the country's top Islamic institution, al-Azhar university, and President Hosni Mubarak, whom he called a dictator.

"The governments of repressive countries are now targeting bloggers and online journalists as forcefully as journalists in the traditional media," the group said in its statement.

"We also regret that China (164th) stagnates near the bottom of the index. With less than a year to go to the 2008 Beijing Olympics, the reforms and the releases of imprisoned journalists so often promised by the authorities seem to be a vain hope," it added.

Politkovskaya murder

The group said it was "particularly disturbed" by the recent government suppression of Burma's pro-democracy movement.

"The military junta's crackdown on demonstrations bodes ill for the future of basic freedoms in this country. Journalists continue to work under the yoke of harsh censorship from which nothing escapes, not even small ads," it said.

The highest ranking on the index went to Iceland, followed by Norway and Estonia.

Overall Europe performed best, though Russia, which was ranked 144th on the list, is not progressing, the report said.

The murder of outspoken Kremlin critic Anna Politkovskaya and the failure to bring her killer to justice weighed heavily, as did a lack of media diversity, Reporters Without Borders added.

金婚,貌似是没戏了...

刚才有人抱怨结婚半年纪念日老公只送了他一套CD,为了查实一下她到底deserve什么,就稍微查了一下

听说银婚和金婚是比较重大的事情,不过以我现在这个情况...唉,就算一切顺利,只怕要熬到金婚也已经没啥把握了。呜呼哀哉,不过好在对我来说6年也许就已经足够高兴了

第一年--纸婚
第二年--棉婚
第三年--皮婚
第四年--花果婚
第五年--木婚
第六年--糖婚
第七年--毛婚
第八年--铜婚
第九年--陶婚
第十年--锡婚
第十一年--钢婚
第十二年--丝婚
第十三年--花边婚
第十四年--象牙婚
第十五年--水晶婚
二十年--磁婚
二十五年--银婚
三十年--珍珠婚
三十五年--珊瑚婚
四十年--红宝石婚
四十五年--青玉婚
五十年--金婚  
五十五年--绿宝石婚
六十年--金钢钻婚
七十年--白金婚

应该给老江封个“通吃伯”




不知道是不是17大

没想到有这种效果,不错,就算不能愚民能“娱”民一下也算是好的嘛

2007年10月15日星期一

Back 2 mplayer: AreWeThereYet

当年养成的坏习惯,我机器里面总是同时存在若干个不同的播放器,我也并不太在意配置每个播放器,基本上只要拿到一个文件能有一个播放器能打开,我也就勉强算是过去了

但是这种得过且过的日子总是没有办法长久的,今天又遇到一个文件,mpc直接跳codec窗口,wmp只有音频,至于那个被很多人推崇的垃圾软件kmp就更离谱了,声音正常播放,画面3-4倍速快放,同时整个系统失去反应。mplayer算是还好,可以正常播放,不过没法显示mkv字幕-----因为我没做过那个配置...

一犯懒,就想去找找有没有新版的mplayer,结果发现mplayer除了一版正式更新,这可是大事,自从被版权组织搞了以后,貌似mplayer一直都是半地下状态,虽然代码还在更新,但是很少作任何的“发布”,一般都是几个人自己down了source下来编译好了,发布一个非官方的个人编译版。这次mplayer居然正式的发布了一个新版,当然是要弄来看看。

release note 上的东西写了不少,也没功夫一个一个看,从目前试用的感觉,最直观的印象是本版加强了GUI。以前官方版本貌似都不太重视GUI,基本是留给一些第三方小团体自己去作,mplayer项目本身更多的还是集中在codec,Demuxer,render这类比较扎实的功能上(这一点和kmp这种小破组织完全不一样),界面方面不管是形式上还是内容上都是力求简洁,可以说每个功能都非常实用,能精简的就一定精简。这个版本可以说是大改,界面复杂了不少,也开始提供让人看了眼花缭乱的菜单-----这对我这种懒得记快捷键的人来说是个好事。

至于功能嘛,还是一如既往的强大,那个刚才挺恶心人的mkv文件直接被拿下。可惜手边没有其他的恶心文件,以后有机会找几个试试。


以下转自http://www.mplayerhq.hu/design7/news.html


2007-10-07, Sunday :: MPlayer 1.0rc2 released
posted by the release team

It's been a while, but we are still around and have decided that it's time to funnel our steady stream of daily changes into a release again.

One main source of improvements has, as always, been FFmpeg, which added support for several new video and audio codecs along with speedups and massive code cleanups.

MPlayer now supports Real RTSP authentication and the libnemesi streaming library as an alternative to live555. Also, many QuickTime over RTSP streams can now be played. There have been various improvements to TV streaming, Intel Mac support should be complete.

Support for VC-1 in MPEG-TS and MPEG-PS will make many HDTV streams work. Blu-ray or HD-DVD playback is not possible yet, but MPlayer can play the EVO files after they have been decrypted.

MPlayer now assumes square pixels as found on LCD panels. If the video on your monitor appears squished or stretched please use '-monitoraspect 4:3' to get back the previous behavior.

It is no longer necessary to patch the sources to get AMR audio support. Instead, download AMR libraries for Linux and install them as described on that page.

Note that this release will not compile on current (as of this writing) Cygwin versions due to a missing llrint implementation in Cygwin. You will have to wait for the next gcc upgrade in Cygwin or patch either Cygwin or MPlayer locally.

There is no need to download binary codec packages if you already have an older version.

MPlayer 1.0rc2: "AreWeThereYet?"

DOCS:

  • console messages and XML documentation converted to UTF-8
  • Russian documentation translation finished
  • Russian man page translation finished
  • Chinese man page translation finished
  • Chinese documentation translation started
  • Documented get/set/step properties in DOCS/tech/slave.txt

Decoders:

  • Intel Music Coder audio decoding via lavc
  • Monkey Audio audio decoding via lavc
  • Fraps v2/v4 video decoding via lavc
  • Video game codecs: 4XM audio, Electronic Arts ADPCM audio, Delphine CIN audio and video, Interplay DPCM audio, Sierra VMD video, Tiertex SEQ video, Westwood IMA ADPCM audio, XAN wc3 video, Id CIN video, Interplay video, XAN ADPCM audio, Westwood SND1 audio, Feeble Files DXA video, THP audio and video, Renderware TeXture Dictionary video, Bethesda Software VID video via lavc
  • video game codecs: XAN wc4 video via binary DLL
  • libmpeg2 updated to 0.4.1
  • fixed resolution switching with libmpeg2
  • handle resolution switching for Real codecs
  • FFmpeg video decoder can now handle aspect ratio changes
  • AMR now handled via libamr wrapper (http://www.penguin.cz/~utx/amr)
  • SIMD optimizations for mp3lib under AMD64

Demuxers:

  • Implemented switch_video and switch_program consistently with switch_audio (default keys are "_" and TAB, respectively). For the time being program switching is only available in TS streams handled by demux_ts.c (not libavformat), while video switching is also handled by demux_lavf.c and demux_avi.c.
  • audio and video switching for the AVI demuxer (video switching untested)
  • GIF demuxer improvements, should work with all GIFs now
  • support for VC-1 in MPEG-TS and MPEG-PS files (BD,HD)-DVD
  • support for EVO demuxing
  • support -noidx with libavformat demuxer
  • support for channel navigation with PVR input
  • text subtitles should now work with libavformat demuxer
  • cleaned up TiVo demuxer

Streaming:

  • authentication for Real RTSP streams
  • near-precise seeking in dvd:// and dvdnav:// (dvdnav:// requires libdvdnav from mphq)
  • speed selection when playing dvd:// streams, to make drive quieter
  • support SVQ3 and H.264 in X-QT over RTSP, now RTSP Apple keynotes work (live555)
  • SMIL playlist over Real RTSP
  • support H.263-2000 over RTSP (live555)
  • fix AAC-LATM over RTSP (live555)
  • support AMR over RTSP (live555)
  • support H.264 over RTSP (live555)
  • "device" and "adevice" suboptions now work for the *BSD BT848 TV driver
  • dvdnav:// now depends on MPlayer's fork of libdvdnav
  • teletext support for tv:// (v4l and v4l2 only)
  • radio support for *BSD BT848
  • channel scanner for tv://
  • fine tuning for tv://
  • driver autodetection for tv://
  • libnemesi RTSP/RTP support
  • EOF detection for RTSP (live555)

FFmpeg/libavcodec:

  • Intel Music coder audio decoder
  • Fraps v2/v4 video decoder
  • H.264 decoding speedup
  • Slice-based parallel H.264 decoding (-lavdopts fast:threads=N)
  • native NUT demuxer updated to spec
  • native NUT muxer
  • NUT muxing and demuxing support via libnut
  • WMA encoder
  • fix MJPEG-B on big-endian systems
  • lowres support for some H.264 files
  • DTS/DCA audio decoder
  • Atrac 3 audio decoder
  • MPEG-1/2 speedups
  • RoQ muxer, video and audio encoder
  • QTRLE encoder
  • AC-3 decoder
  • Matroska muxer
  • Monkey's Audio demuxer and decoder
  • Flac encoder and decoder speedups
  • AMV demuxer and audio/video decoder

libmpeg2:

  • iWMMXt-accelerated DCT and motion compensation for ARM processors

Filters:

  • obsolete fame filter removed
  • vf_geq speed-ups
  • vf_yadif green frame fixed
  • fix af_pan when switching audio streams
  • add audio left/right balance feature to af_pan

MEncoder:

  • write to output streams (currently only file:// and smb://)
  • support -ffourcc with -of lavf
  • removed B-frame warning message
  • fixed bugs that would corrupt headers in the video stream when using telecining and not patch the TFF flag correctly

Ports:

  • Complete Intel Mac support
  • Hitachi SuperH (SH3) support
  • Blackfin optimizations

Drivers:

  • ALSA audio output now sets the non-audio bit for AC3 passthrough even if the user-specified default device name tries to clear it
  • fixed internal VIDIX in Solaris/x86, also auto-enabled
  • rework of internal VIDIX, now a fully static library with builtin drivers
  • updated VIDIX ATI drivers
  • Sun XVR-100 video output driver

Others:

  • monitorpixelaspect=1 is now default. Set monitoraspect=4/3 to get the old behavior (if you have non-square pixels).
  • libdvdcss updated to Subversion HEAD, now same as upstream version
  • libmpdvdkit split into libdvdread and libdvdcss
  • obsolete Xvid 3 support removed
  • long-deprecated -vop option removed
  • video stream switching
  • dvdnav:// honor -alang and -slang
  • support for doubleclick as input event
  • -really-quiet works as expected now
  • select libavformat demuxer (-lavfdopts format=)
  • internal minilzo removed in favor of FFmpeg implementation, use liblzo2 for encoding
  • change GUI dependency from libpng to libavcodec
  • ability to change subtitle size during playback
  • ability to turn loop on/off during playback
  • Apple Remote support
  • libdvdread updated to 0.9.7
  • many compiler warning fixes

MPlayer 1.0rc2 can be downloaded from the following locations. Please be kind to our server and use one of our many mirrors.

MPlayer 1.0rc2 is also available on BitTorrent.

  • BitTorrent coming soon

MD5SUM: 7e27e535c2d267637df34898f1b91707
SHA1SUM: e9b496f3527c552004ec6d01d6b43f196b43ce2d

2007年10月14日星期日

Matlab升级以后ctrl tab又不好用了

...只有一个解释,matlab改了跟gui有关的什么东西------2006b升级到2007a的时候没改过

先看了一下这次升级有没有提供关于tab的设置,非常失望的....还是没有

忍着吧,只好把autokey又拿出来调了一下,加上下面这段代码(因为我的06b没删,所以以前的脚本也还留着)

#IfWinActive, ahk_class SunAwtFrame
LCtrl & Tab::Send ^{PgDn}
LCtrl & CapsLock::Send ^{PgUp}
LAlt & F4::Send ^w

顺便把编译好的exe放上来吧-----我一般是放在自动启动目录下,里面还有一些系统其他软件的快捷键设置,如果不喜欢的话,可以每次开matlab的时候打开这个exe,用完关掉。

2007年10月11日星期四

祝你好运,戈斯基先生

刚才在水木看到的,如果这事儿是真的,那太nb了...

以下为转载:

据说是美国成人笑话第一名

第一名第一个登上月球的宇航员阿姆斯特朗说了举世闻名的一句话:“一个人的一小步,却
是人类的一大步”。在他返回登陆舱时,他说了一句莫名其妙的话:“祝你好运,戈斯基先
生。”

美国宇航局的大多数人都以为这句话没什么深意,可能是指某个苏联宇航员。可是查来查去
,苏联或美国宇航局都没有这么一个人。之后每年都有很多人问阿姆斯特朗“祝你好运,戈
斯基先生”这句话有什么含义,他都笑而不答。

1995年7月5日在弗洛里达Tampa Bay,一个记者又把这个问了26年之久的问题捅出来,这次阿
姆斯特朗终于开口了。戈斯基先生不久前去世了,阿姆斯特朗觉得他可以回答了。



当他还是小孩的时候,有一天,他和朋友在院子里玩棒球。他的朋友把球打到邻居戈斯基夫
妇家窗户下面。阿姆斯特朗弯腰拣球的时候听见他们夫妇在吵架,戈斯基太太大声嚷着说:
“你想跟我上床?休想!除非邻居家的小孩登上月球!”

中国腐败侵吞资金超过教育经费

其实这个贪污规模我完全不惊讶------才3%,任何人都知道这个是严重低估的
没想到的是教育经费居然连3%都不到...教育产业化果然nb。

以下转自BBC中文

中国官员侵吞的资金已经超过教育经费,腐败问题已经严重到威胁中国政治稳定的程度。

据美国卡内基国际和平基金会的报告说,解决腐败问题就必须进行政治改革,但中共因为担心失去权力而拒绝政治改革。

这份报告的作者是卡内基基金会资深研究员裴敏欣。他说, 中国的公共开支中10%被回扣、贿赂甚至盗窃所侵吞。

在2003年,腐败所侵吞资金达860亿美元,达当年国民生产总值的百分之三。这个数字已经超过了2006年中国政府的教育经费总合。

报告说,虽然存在着严重的腐败问题,但中国经济依然在增长,社会也没有发生大的动乱,西方投资者的热情不减。

缺乏政改意愿

但是这一切并不意味着目前的中国政治体制可以无限度地消化日益严重的腐败所带来的日益严重的后果。

裴敏欣表示,腐败日益严重的原因是历经多年经济改革之后,政府依然广泛干涉经济事务,执法缺乏力度,以及共产党缺乏政治改革的意愿。

报告说,腐败已经成为中国政府最棘手的一个严重问题,因为解决腐败必须进行政治改革,但中共担心进行政改会损害自己的执政党地位。

近年来,中共高层官员不断传出腐败丑闻。原中共上海市委书记陈良宇也因挪用社保基金案下台。

原中国药检局局长郑晓萸也因贪污被执行死刑。

2007年10月10日星期三

图像转EPS的小程序

现在用TeX,没办法,需要做这么一个东西

查了一下,TAMU很多年前有人做过这个东西了,

拿来直接改了改,都些非常小的改动,为了让程序更规范一点(其实主要是为了适应我自己的一些坏习惯,哈哈)

以示尊重,这个是原作者的网页链接http://www.cs.cmu.edu/~jkubica/code/matlabToEPS.html

下面是改过的代码,存在这里以防我哪天机器里面找不到这个文件了。说起来,我现在很多helper程序都是零散的放在各个文件夹下面,每次需要用的时候就copy一份到当前项目的路径。这样一方面是每次都需要去找相应的helper在什么地方那个,更严重的潜在问题是没法保证这些程序的同步更新,有功夫看来需要把东西全部整理起来作成一个toolbox了

如果有人不小心搜索到下面这段代码,欢迎引用或者修改。唯一的要求是保留其中全部的注释,特别是原作者的部分,如果你想使用源代码又不想尊重他的版权,请直接去上面的网站下载原始版本,这样你算是直接侵犯他的版权,我不用跟着挨骂,嘻嘻。

% convertToEPS(imgName,type)
% By Jeremy Kubica, 2001
%
% Uses Matlab to convert a image file into a EPS file.
% imgName - the name of the image file
% type - the file type
%
% Example: to convert file "sample.jpg" to "sample.esp"
% convertToEPS('sample','jpg');
% New file is saved as imgName.esp
% --------------------------------
% im2eps(imgName)
% Modified by Yuan REN, 2007
%
% Example: convertToEPS('sample.jpg');
%

function im2eps(imgName)

pic = imread(imgName);
[y x c] = size(pic);

h=figure('Units','Pixels','Resize','off',...
'Position',[100 100 x y],'PaperUnit','points',...
'PaperPosition',[0 0 x y]);
axes('position',[0 0 1 1]);
image(pic);
axis off

[temp1 temp2 temp3 name]=regexp(imgName,'.*(?=\.)'); %get rid of the extension; Actually, the last extension.
saveas(gcf,[name{1},'.eps'],'epsc');
close(h);

2007年10月1日星期一

光棍逻辑

在Joke无意中看到一篇很好的文章

不知道其他人觉得如何,至少我是很自觉的对号入座了

很有道理的文章却被发在了joke

真是玉器砌茅坑呀

发信人: callmemoney (叫我莫奈), 信区: Joke
标 题: 没事讲讲笑话 (九)
发信站: 水木社区 (Mon Oct 1 17:43:13 2007), 站内

看见一个ppmm,想着,这个人肯定有BF了,算了。
看见一个KL,想着,我的眼界不会低吧?这种也要?
看见一个不pp,也不KL的,想着,再等等吧,
下一个会更好。
---------------------------------------------------
看见一对的,想着,哼,这么轻率,现在的女孩子啊...
看见一个孤孤单单走着的,想着,不会刚刚失恋吧?
那可不行,我可还是初恋啊。
又或者想着,没人要?那我怎么还会要呢?
---------------------------------------------------
看见一个很纯情,很可人的,想着,我现在冒冒然走
上去,人家会怎么想?(神经病?)
看见一个很活泼,很开朗的人,想着,这种人的男性
朋友肯定不少,不行,我会吃很多醋的。
---------------------------------------------------
看见一个眼熟的,想着,唉呀,都是熟人了,还好意思
跟人家...吗?别人会怎么说?
看见一个陌生的,想着,不好,该跟人家怎么开口呢?
而且,合不合适?
---------------------------------------------------
………………………………
为了这些原因,
我的一个哥们儿,至今还是单身。

Words of Today 存档(2007.09)

Sep. 30: Let it go
九月 29: Deleted(因为有点x)
Sep. 28: Primal & Dual
Sep. 27: MIT students turn famed Harvard statue into 'Halo' chief
Sep. 26: Life's too short for the wrong job! (http://picasaweb.google.com/eerenyuan/LifeIsTooShort?authkey=U0aFqZq-7s8)
九月 25: 隔千里兮共明月
Sep. 24: Private enconter VS Teachnical Reasons (http://eerenyuanback.blogspot.com/2007/09/technical-reasons-vs-private-encounter.html)
Sep. 23: TeX newbie, Pi=3
九月 22: “我不是一个随便的人”,想说这句话真的好难
Sep. 21: If CAD exceeds USD in the next 24 hours...(From Harry Panjer's lecture)

打破国产媳妇垄断!团购朝鲜媳妇的可行性报告(Zz)

我也不知道其他人怎么看这个文章,不过作者既然写了这么多细节,想必多少是有几分当真的。而我嘛,也还真是在认真的考虑这个事情-------不过我这个人,脑袋里面古怪念头一向很多,也早就习惯了愿望无法实现的失落,所以我的“认真”并不一定是非常死心塌地的状态

以下转自水木:

随着社会的发展,人类的进步,物价的提高,中国男性娶妻的愿望越来越难以满足,为何?娶老婆的成本太高。前期有篇文章,曾经列举了几大城市娶妻的成本,看得人内心充满了恐怖。
   本人引用一段南京娶媳妇的成本:
    按照网上的统计方法,我们也来估算一下讨一个条件在中上(学历大专以上、身材相貌较好、有稳定的工作)的南京老婆得花多少钱

  
    1.房屋一套(80平米以上,市区),以均价6000元计,6000×80=48万。
  
    2.装修,以中等装修,80平米算,计5万。
  
    3.家电及家具,计3万(有部分女方以嫁妆形式出资承担)。
  
    4.轿车,以普通代步车为标准,计10万。也有部分通情达理的南京女孩同意以电动车作为替代品,计1500元。
  
    5.办喜酒,以中等酒店25桌为例,包括自带酒、烟、糖,计1200×25=3万。回收红包以每桌平均1200元计,1200×25=3万,收支相抵

  
    6.度蜜月,以港澳、新马泰、云南、海南为主要出行地,平均每人费用以8000元为标准,计8000×2=1.6万。
  
    7.从谈恋爱到决定结婚这段时间,包括出去吃饭、买礼物、娱乐、旅游、送女友父母节日礼品等,平均每月以1000元为标准,谈2年,计1000×12×2=2.4万。
  
    综上,各项成本合计48+5+3+10+1.6+2.4=70万。
    以男方家庭20万的家产,男人年收入5万计,(70-20)/5=10年。最后得出结论为:男方倾家荡产+男人不吃不喝工作10年=讨一个南京中上条件的老婆的成本。
  
   再来计算一下娶朝鲜媳妇的成本。
  
   以前,大家都说用一袋大米就可以换一个媳妇,当然真假与否,我们暂且不去考虑,毕竟这是以前了,现在朝鲜也在寻求改革开放,所以,朝鲜人民的生活水平也略有提高。但是并没有高到太高的地步。
  
   朝鲜,现在2400万人口,但是总体经济水平很低。很多人为此偷渡到中国。
  
   那我们计算一下娶一个朝鲜女人的成本是多少。(人民币和朝鲜币的兑换汇率1人民币=120 朝鲜币)
  
   首先说明一下,中国和朝鲜是不通婚的,那么只能通过其他途径来解决这个婚姻问题。记得曾经在视频上看过,在中朝边境,鸭绿江最窄的地方,人都可以走过去,所以为朝鲜媳妇过境提供了方便。
  
   那么由于朝鲜的体制不允许,所以我们前往朝鲜多呆长时间是不太可能的,所以我们不可能正大光明的恋爱,怎么办?首先到东北的一些朝鲜族聚集地打听,最好是有熟人,当然有钱最好了。不过呢,要悄悄进行,万一被特工举报了,那漂亮的朝鲜MM就要被送回国了,还可能被送入监狱,严重的可能被处决,因为朝鲜绝对不允许自己的国民叛国!
  
   花钱买是唯一的途径,当然不排除你到朝鲜旅游几天,看中了一个朝鲜的漂亮MM,一见钟情,然后你协助她TD到国内。这个也有可能。但是可能性不大,因为到朝鲜旅游,每个旅游团的导游,都是朝鲜精选的监督。
  
   那么你可以花钱买媳妇。价格几千块,当然你一定要挑最漂亮的,学历好的,朝鲜的女大学生很多偷渡到国内来的。
  
   然后你帮他制作一系列的证件,这点你应该知道国内的水平还是不错的吧?

  
   带回家,当然你需要有耐心,要教她学中文。说普通话。别娶个媳妇天天用朝鲜语和你交流,你还得配个翻译,那价钱就高了!
  
   另外,婚礼也可以不办,太招摇了,容易让别人注意,一旦被JC发现牵动回国,那就麻烦了!
  
   朝鲜的女人绝对的贤惠,她们很希望来到中国,因为能够吃好喝好穿好,追求舒服的生活,你就可以每天吃到可口的朝鲜饭菜,泡菜、狗肉、冷面等等。而且朝鲜女人在他们国内的影响就是地位低下,家中来客人了,不会上桌吃饭,这点和以前山东的女性做法差不多。
  
   当然,你还要改掉她们的口头语和习惯,不要一见到金日成和金正日的头像就鞠躬和高喊万岁,你要训练她热爱伟大的中国!热爱我们党!
  
   综合来说的话,用钱主要控制在以下方面:
  
   1、到东北的费用,往高了喊:3000够了
  
   2、买媳妇的费用,往高了喊:10000够了
  
   3、如果有能力的话,就给朝鲜媳妇弄个真的身份证明。那价格就不得而知了,看个人能力。
  
   其他。也没有了。哪怕是租房子住,哪怕是一个礼拜吃一次肉,如果这个朝鲜媳妇是实在人的话,在没有其他外在因素干扰的情况下,这个女人会一辈子跟着你!
  
   而且等到朝鲜那边体制变通了。到时候再领着媳妇到老丈人家走走~也很风光的说!
  
   兄弟们,到2020年,中国要有3000万的光棍!在物价高涨的今天,咱们去团购吧!!!!