remote X apps running howto
host side: $xhost +[client_name|client ip]
client side: $export DISPLAY=[host_name|host ip]:0
$xapp
host side: $xhost +[client_name|client ip]
client side: $export DISPLAY=[host_name|host ip]:0
$xapp
So, if I asked you about art, you’d probably give me the skinny on Every art book ever written.
Michelangelo. You know a lot about him: life’s work, political aspirations, him and the Pope, sexual orientation, the whole works, right?
But I bet you can’t tell me what it smells like in the Sistine Chapel. You’ve never actually stood there and looked up at that beautiful ceiling…seen that.
If I ask you about women, you’ll probably give me a syllabus of your personal favorites. You may have even been laid a few times. But you can’t tell me what it feels like to wake up next to a woman and feel truly happy.
You’re a tough kid.
And I ask you about war, you’d probably, uh, throw Shakespeare at me, right? “Once more unto the breach, dear friends…” But you’ve never been near one. You’ve never held your best friend’s head in your lap…and watched him gasp his last breath, lookin’ to you for help.
I ask you about love, you’ll probably quote me a sonnet. But you’ve never looked at a woman and been totally vulnerable……known someone that could level you with her eyes……feelin’ like God put an angel on earth just for you……who could rescue you from the depths of hell……and you wouldn’t know what it’s like to be her angel……to have that love for her, be there forever…through anything…through cancer.
And you wouldn’t know about sleeping sittin’ up in a hospital room for two months, holding her hand, because the doctors could see in your eyes that the terms “visiting hours” don’t apply to you.
You don’t know about real loss……’cause that only occurs when you love something more than you love yourself.I doubt you’ve ever dared to love anybody that much.
I look at you.I don’t see an intelligent, confident man. I see a cocky, scared-shitless kid.
But you’re a genius, Will. No one denies that. No one could possibly understand the depths of you. But you presume to know everything about me, because you saw a painting of mine. You ripped my fuckin’ life apart. You’re an orphan, right? Do you think I know the first thing about how hard your life has been? How you feel? Who you are? Because I read Oliver Twist? Does that encapsulate you? Personally, I don’t give a shit about all that. Because you know what? I can’t learn anything from you I can’t read in some fuckin’ book. Unless, you wanna talk about you…who you are. Then I ‘m fasci ated. I’m in.
But you don’t want to do that, do you, sport? You’re terrified of what you might say.
– Good Will Hunting
出于审美平衡的考虑,最后还是决定把一个5层的架子锯为一大一小俩架子
这样的结果推翻了整个房间的布局,又重新归置一边。把所有的线重走一边,包括音箱线的24个接头,视频输出的16个接头,5根电源线,两根光纤。。。
用HIVICAST测试的结果是我的H31使用所有的默认参数即可。黑/白/灰度对比度达到HIVICAST能测到到的最好水平。hue/gamma/肤色也不用调。
去年的新年之夜给我的奖赏是找到一个bug
今年是更实际些的新投影
感谢乔老爷治帮忙,Optoma H31,入门级的DLP,价格便宜量又足
12月31号特意休假一天,白天去平安里调研线材,去中关村考察apple DVI convertor
晚上去宜家买了个架子,(有点偏大,主要是照顾功放)
晚上打完羽毛球到家已经10点了,装架子,把原来放在前面的功放、DVD、低音炮和XBOX挪到后边,重走所有的连线,调试,忙完了已经2007年1月1号2点半了
后续工作是更换所有的音箱线,更换遮光窗帘。
要不要更换支持DVI的DVD还在犹豫中,如果更换,最大的好处是XBOX的ComponentRGB就不用插来插去,而且据说DVI输出的效果更好,只可惜我的一代名机Pioneer 6310A就要下岗了
面对100寸的16:9屏幕,我要对70块的电影票说一声:去你大爷的
I was confused on that how to disable alignment trap from user space in linux. After lots of searching, code/document reading I got the point is, the linux kernel provides a mechanism/interface in procfs let user space application change the unalignment trap action of kernel to
“ignored”,
“warn”,
“fixup”,
“fixup+warn”,
“signal”,
“signal+warn”.
And default mode is 5(signal+warn), that means once unalignment memory access occurs, the kernel will send signal SIGBUS to kill the application.
We can just read all configuration info from /proc/cpu/alignment and just write a number to reset action mode like “echo 2 > /proc/cpu/alignment”.
See linux-2.6.x/Documentation/arm/mem_alignment,
—————————————————————————————-
Too many problems poped up because of unnoticed misaligned memory access in
kernel code lately. Therefore the alignment fixup is now unconditionally
configured in for SA11×0 based targets. According to Alan Cox, this is a
bad idea to configure it out, but Russell King has some good reasons for
doing so on some f***ed up ARM architectures like the EBSA110. However
this is not the case on many design I’m aware of, like all SA11×0 based
ones.
Of course this is a bad idea to rely on the alignment trap to perform
unaligned memory access in general. If those access are predictable, you
are better to use the macros provided by include/asm/unaligned.h. The
alignment trap can fixup misaligned access for the exception cases, but at
a high performance cost. It better be rare.
Now for user space applications, it is possible to configure the alignment
trap to SIGBUS any code performing unaligned access (good for debugging bad
code), or even fixup the access by software like for kernel code. The later
mode isn’t recommended for performance reasons (just think about the
floating point emulation that works about the same way). Fix your code
instead!
Please note that randomly changing the behaviour without good thought is
real bad – it changes the behaviour of all unaligned instructions in user
space, and might cause programs to fail unexpectedly.
To change the alignment trap behavior, simply echo a number into
/proc/sys/debug/alignment. The number is made up from various bits:
bit behavior when set
— —————–
0 A user process performing an unaligned memory access
will cause the kernel to print a message indicating
process name, pid, pc, instruction, address, and the
fault code.
1 The kernel will attempt to fix up the user process
performing the unaligned access. This is of course
slow (think about the floating point emulator) and
not recommended for production use.
2 The kernel will send a SIGBUS signal to the user process
performing the unaligned access.
Note that not all combinations are supported – only values 0 through 5.
(6 and 7 don’t make sense).
For example, the following will turn on the warnings, but without
fixing up or sending SIGBUS signals:
echo 1 > /proc/sys/debug/alignment
You can also read the content of the same file to get statistical
information on unaligned access occurrences plus the current mode of
operation for user space code.
Nicolas Pitre, Mar 13, 2001. Modified Russell King, Nov 30, 2001.
——————————————————————————————–
Note the procfs interface file location was changed. Not sure when it was.
11点起床
跑了三个银行,招行存钱,中行托收支票,农行交养路费(未遂)
跟LP吵了一架(后背遭到痛击一掌)
违章停车被贴条儿(两百块)
去宜家买俩台灯和一堆不在计划中的东西(LP看中的)
去菜市场买一箱苹果
必胜客吃早中晚合并一餐(比较撑)
去家乐福买鲜奶、酸奶、面条(没买到)和运动饮料
晚上给丈母娘送去半箱苹果
半夜遭到美国同事电话骚扰
开车去公司
robin li 是李眼红吗?
提交者 : 方枪枪枪 于 泡网俱乐部 (http://paowang.net/) 北京时间 2006-12-14 14:41:46
From: “peter wang”
Reply-To:
To: “‘Robin LI’” ,’梁冬’
Subject: 新浪专题被收录情况
Date:Wed, 13 Sep 2006 17:08:11 +0800
Dear both;
在过去一段时间新浪科技频道对百度的支持还是有目共睹的,因此中午我约请该频道负责的编辑郭开森吃饭。
其间他提及为什么有时候搜狐的专题比新浪的*前;而搜狐又是对百度那么多负面报道。
我当时没有承诺任何东西,只是让他提供一些数据以便我转给技术部了解。
后来与边疆了解后,知道是因为过去新浪对百度的负面报道而我们降低了其权重。
如今情况有所变化,我们是否可以适当考虑恢复新浪的正常权重而将搜狐的调低?
请两位明示。
谢谢,
Peter
P.S. 季度末频道负责人(如郭)的考核一部分也是以PV为主的,因此恰当时候给郭的
支持,会比一般情况下的作用大。仅供参考。
_____
发件人: guo kaisen [mailto:kaisen@staff.sina.com.cn]
发送时间: 2006年9月13日 15:17
收件人: peter wang
主题: 答复: 请将你提到的专题被收录情况尽快给我,以便转给技术部门,谢谢
我给你一部分数据吧,请千万不要传播。
表格前面是百度数据,后面是google的数据。这大概是8月21日前后的一个监控。
致
礼!
—–原始邮件—–
发件人: peter wang [mailto:peter.wang@baidu.com]
发送时间: 2006年9月13日 14:17
收件人: kaisen@staff.sina.com.cn
主题: 请将你提到的专题被收录情况尽快给我,以便转给技术部门,谢谢
删垃圾留言删的我头昏眼花
想着要不要自己写一个extension来快速删除
想了想。。。估计有人写过了
于是找到这个:
QuickCheck