
”空“的名言
勇气有许多种类,对付敌人我们需要超人的胆量,而要在朋友面前坚持自己的立场,同样也需要很大的勇气。
Courage has many kinds, against the enemy we need courage, but to the superman in front of friends to stick to his guns, also need a great deal of courage.永远不要相信任何能够独立思考的东西,除非你看清了它把头脑藏在什么地方。
Never believe any things to think independently, unless you see it to mind hidden in any place.该来的终究会来,一旦来了,他就必须接受。
What will eventually come, once arrived, he had to accept it.当我们面对死亡和黑暗时,我们害怕的只是未知,除此之外没有别的。
When we face death and darkness, we feared only unknown, besides is no other.只要我们目标一致,敞开心胸,习惯和语言的差异都不会成为障碍。
As long as we consistent aim, open, habits and language differences are not become obstacles.对于头脑十分清醒的人来说,死亡不过是另一场伟大的冒险。
For the mind is lucid people, death is but another great adventure.可是漠不关心,还有视而不见,往往会比直截了当的厌恶造成的伤害大得多。
But also turn a blind eye, indifference, often than straightforward abhor the damage.人们容易原谅别人的错误,却很难原谅别人的正确。
People easier to forgive the mistakes of others, but it's hard to forgive others correct.真相是一种美丽又可怕的东西,需要格外谨慎地对待。
Truth is a kind of beautiful and terrible thing, need extra caution with.沉湎于虚幻的梦想,而忘记现实的生活,这是毫无益处的。
Indulge in illusory dreams and forget the reality, it is no good.表现我们真正的自我,是我们自己的选择,这比我们所拥有的能力更重要。
To show our true selves, is our own choice, this is better than what we have ability is more important.对事物永远都使用正确的称呼。
对一个名称的恐惧,会强化对这个事物本身的恐惧。
Things always use the right call. Of a name, will strengthen the fear of the thing itself fears.在这个世界上,没有谁的血统是高贵的,也没有谁流的血是卑贱的。
In this world, no whose lineage is noble, no flow blood is vile.暂时使疼痛变得麻木,只会使你最后感觉疼痛时疼的更加厉害。
Temporarily pain become numb, will only make you feel pain when last pain more severe.一个人的出身并不重要,重要的是他成长为什么样的人。
A person's background is not important, the important thing is that he grew into what kind of person.最大的失败就是不能理解还有比死亡更坏的事情。
The biggest failure is cannot understand and worse things than death.老年人低估年轻人,是愚蠢而健忘的。
Old people underestimate young people, is stupid and forgetful.最终决定我们命运的不是能力,而是我们自己的选择。
Harry Potter and the Philosopher’s StoneEventually determine our fate is not the ability, but our own choices. Harry Potter and the men 's required不知道前面会怎么样,但至少要比抛在后面的过去好。
Don't know what will happen, but at least ahead than behind the past.沉湎于虚幻的梦想,而忘记现实的生活,是毫无益处的。
Indulge in illusory dreams and forget the reality, it is no good.总是无辜者最先受到伤害,几百年以来是这样,现在还是这样。
Always innocents first hurt, for centuries is so, now or so.除了死读书,再靠一点小聪明之外,还有许多更重要的东西——友谊和勇气。
Besides dies studies, again by a little trickier besides, still have many more important things -- friendship and courage.死亡实际上就像是经过漫长的一天之后,终于上床休息了。
而且,对于头脑十分清醒的人来说,死亡不过是另一场伟大的冒险。
Death actually like after a long day after finally went to bed. Moreover, for the mind is lucid people, death is but another great adventure.不论想拥有多少财富,获得多长寿命,都可以如愿以偿——这两样东西是人类最想要的——问题是,人类偏偏就喜欢选择对他们最没有好处的东西。
No matter how much wealth, want to have long life, can obtain fulfiled - these two things are human want - the problem is that humans are like choice for their most no good thing.对事物拥有使用正确的称呼。
对一个名称的恐惧,会强化对这个事物本身的恐惧。
Things have to use the right call. Of a name, will strengthen the fear of the thing itself fears.真相,这是一种美丽而可怕的东西,需要格外谨慎地对待。
The truth, this is a kind of beautiful and terrible thing, need extra caution with.被一个人这样深深地爱过,尽管那个爱我们的人已经死了,也会给我们留下一个永远的护身符。
Be a man so loved, although the love of our people have been killed and will leave us a forever talisman.勇气有许多种类,对付敌人我们需要超人的胆量,而要在朋友面前坚持自己的立场,同样也需要很大的勇气。
Courage has many kinds, against the enemy we need courage, but to the superman in front of friends to stick to his guns, also need a great deal of courage.Harry Potter and the Chamber of SecretsHarry Potter and the Secrets of it表现我们真正的自我,是我们自己的选择,这比我们所具有的能力更重要。
To show our true selves, is our own choice, this is better than what we have ability is more important.Harry Potter and the Prisoner of AzkabanHarry Potter and the Prisoner of Azkaban我们行动的后果经常是如此复杂,如此分散。
因此,预言未来的确是很困难的事。
We the consequences of your actions are often so complicated, so scattered. Therefore, predicting the future is indeed a very difficult thing to do.我们爱过的死者并不会真正离开我们,在有大麻烦的时候我们会比以前更加清楚地回忆起他们。
We loved the dead will not really left us, in great trouble when we will brighter than ever to clearly recollect them.理解是接受的第一步,只有接受后才能够康复……暂时使疼痛变得麻木,只会使最后感觉疼痛时疼得更厉害。
Understanding is to accept the first step, only accept only after would recover... Temporarily pain become numb, will only make finally feel pain when it hurt so much worse.一个人的出身并不重要,重要的是他成长为什么样的人
A person's background is not important, the important thing is that he grew into what kind of person!在没有得到确切消息之前,对未来作种种盘算都是毫无用处的。
In no get precise information for future before all calculation is of no use.坐着干着急是没有用的,该来的总归会来,来了就接受它。
Sit stem worried is useless, this to the goal of will come, come to accept it.只有团结才会强大,如果分裂,便不堪一击。
我们要表现出牢不可破你的友谊和信任。
只要我们目标一致、敞开心胸,习惯和语言的差异都不会成为障碍。
Only unity will strong, if split-ticket, as weak. We should show the unbreakable you of friendship and trust. As long as we consistent aim, open, habits and language differences are not become obstacles.当某个不愉快的事情等在前面时,时间是不会放慢脚步的。
When an unpleasant things in front, time is not slowed down.老师优先考虑的并不是把自己的学识传授给学生,而是让他们牢牢记住,没有任何事物是万无一失的。
The teacher preferred not to impart their knowledge to students, but let them remember, there is no such thing as foolproof.最大的失败就是不能理解还有比死亡更坏的事情。
The biggest failure is cannot understand and worse things than death.年轻人不知道上了年纪的人是怎么想的,也不知道他们的感受。
但是如果上了年纪的人忘记了,年轻时是怎样的情形,那就大错特错了。
Young people don't know road elderly people how think, also don't know their feelings. But if elderly people have forgotten when I was young, that is how the situation mistaken.漠不关心,还有视而不见,往往会比直截了当的厌恶造成的伤害大得多。
Indifference, and blind, often can than straightforward abhor the damage.有一种力量,比死亡,比人类的智慧,比自然的力量更神奇,更可怕——那就是爱。
There is a strength, than death, than human wisdom, than the powers of nature more magical, more terrible - that is to love.思想几乎会比其他任何东西留下更深的印迹。
Thoughts will almost more than any other things left deeper imprinting.漠不关心,还有视而不见,往往会比直截了当的厌恶造成的伤害大得多。
Indifference, and blind, often can than straightforward abhor the damage.人们容易原谅别人的错误,却很难原谅别人的正确。
People easier to forgive the mistakes of others, but it's hard to forgive others correct.伟大引起嫉妒,嫉妒导致怨毒,怨毒滋生谎言。
Great cause jealousy and envy lead to poison poison breeding, lies.知道暴君是多么害怕被压迫的人民吗
他们都知道总有一天,在众多受害者中会有一个起来反击
他们总是在寻找那个会向他们挑战的人,结果不仅亲手选出了那个最有可能除掉他们的人,而且给了他一件特别致命的武器
是他们制造了自己最可怕的敌人
Know the tyrant is how scared the oppressed people? They all know someday, in numerous victims will be an RISC against! They are always searching for that will challenge to them, the results not only personally selected the most likely to remove them, and gave him a particularly deadly weapon! Are they made her worst enemy!被拽进角斗场去面对一场殊死搏斗和自己昂首走进去是有巨大不同的。
Was dragged into arenas to face a bloody battle and his head walk into is a huge difference.有许多东西比肉体的伤害可怕得多。
There are many things than physical damage more fearful. 老年人低估年轻人,是愚蠢和健忘的。
Old people underestimate young people, is stupid and forgetful.我们面对死亡和黑暗时,害怕的只是未知,除此之外没有什么。
We face death and darkness, fear is unknown, besides there is nothing.重要的是不断斗争、斗争、再斗争。
只有那样才能把邪恶控制住,虽然永远不可能完全消灭。
Important is constantly struggle, the struggle, again struggle. Only as to evil control, though that could never be completely destroyed.我用比墨水更持久的东西记录了我的回忆I use than ink more lasting things a record of my memory有时候你必须考虑比自身安全更多的东西
有时候你必须考虑更伟大的利益
Sometimes you must consider than their safety more things! Sometimes you have to consider a great interests!过人的聪明才智是人类最大的财富。
Fake-out intelligence is mankind's greatest wealth.消失的东西化为了虚无,也就是化为了万物。
Disappear into the null something, namely into the universe.死亡并非那么容易,呼吸的每一秒钟,青草的芳香,凉风拂过面颊的感觉,都是那么宝贵。
Death is not so easy, breathing every second, the fragrance of the green grass, cool breeze cheeks feeling, is so precious.关于童话,关于爱,忠诚和单纯,都是一种强大的力量,一种超越任何魔法的力量。
About the fairy tale about love, loyalty and simplicity, is a powerful force, which transcends any magical powers.征服死亡,一个绝望者的梦啊
是愚蠢者的诱饵。
Conquering death, a manewho dream! Is stupid person the bait.也许最适合掌握权力的是那从不钻营权术的人,被迫担任领袖的角色,在情势所逼之下穿上战袍,结果惊讶地发现居然穿得很好。
Perhaps the most suitable for power is that never hack people, was forced to trickery as a leadership role, where the circumstances compelled by under wear shirt, result surprised to discover unexpectedly wear well.真正的死亡征服者绝不会试图逃离死神。
他会欣然接受必死的命运,并知道活人世界里有着比死亡更加糟糕得多的事情。
如何定位Release程序崩溃原因
1 案例描述作为Windows程序员,平时最担心见到的事情可能就是程序发生了崩溃(异常),这时Windows会提示该程序执行了非法操作,即将关闭。
请与您的供应商联系。
呵呵,这句微软的“名言”,恐怕是程序员最怕见也最常见的东西了。
在一个大型软件的测试过程中,初期出现程序崩溃似乎成了不可避免的事。
其实测试中出现程序崩溃并不可怕,反而是测试的成功。
作为开发的我们更需要关心的是程序中的哪个函数或哪一行导致了系统崩溃,这样才能有针对性的进行改正。
本文描述了自己总结的几种定位崩溃的办法。
2 案例分析以下是几种常见的崩溃现象及对应的处理办法:1. 对于Release版本必现的崩溃且在Debug版本上也崩溃的程序。
解决思路:去掉所有断点,直接在Debug版本上运行程序,在程序崩溃时,VC会自动跳转定位到崩溃代码行, 这种方法最简单也最常用。
2. 对于在Debug版本上不崩溃但Release版本崩溃的程序,很有可能是Debug和Release版本的差异。
例如Debug版本所有成员在构造时会被清0,而Release版本所有成员在构造时是内存里面的原始值,而且Debug有运行时库做保护,这些都会导致某些程序在Debug正常而Release崩溃。
解决思路:1)在程序中加打印,通过程序崩溃之前的打印定位出错位置; 2)逐段注释代码,直到程序不崩溃为止。
这种方法耗时较长,对程序员要求较高,而且对于那种不是必现的bug或者很难搭建执行环境的情况就较难处理了。
3. 对于在客户现场崩溃的情况,显然不适合直接带一台电脑去调试。
解决思路:应该有文件记录下崩溃信息,客服人员可以将崩溃信息文件发送给程序员,以便程序员查询崩溃原因,然后利用编译时生成MAP文件(工程信息文件,存放在版本编译机中)的信息来定位问题函数或问题代码行。
下面就这种方法展开讨论一下:3 解决过程对于上节第三种情况,也是最难解决的情况,解决过程如下:1. 崩溃回调注册,拦截Windows程序崩溃;2. 在回调处理中,输出崩溃原因,崩溃内存地址,崩溃堆栈;3. 工程输出map文件;4. 通过崩溃内存地址以及map文件找出崩溃的函数。
5. 使用COD文件精确定位崩溃行3.1 崩溃回调注册实际上,只靠Windows的错误消息对话框提供的信息量是很有限的。
用SetUnhandledExceptionFilter注册自定义错误处理回调函数,可以替换Win32默认的异常处理过滤器(top-level exception filter),而且能打印出崩溃堆栈,这对定位崩溃原因非常有用。
SetUnhandledExceptionFilter的函数原型:LPTOP_LEVEL_EXCEPTION_FILTER SetUnhandledExceptionFilter(LPTOP_LEVEL_EXCEPTION_FILTER lpTopLevelExceptionFilter ); 功 能:注册和注销异常处理回调;用 法:第一次调用注册异常处理回调,第二次调用注销;返回值:返回当前的exception filter。
需要保存这个函数指针,在注销异常处理回调的时候,以此为参数再次调用SetUnhandledExceptionFilter。
打印异常处理也需要此值。
参数: 异常处理的回调函数;3.2 输出崩溃信息崩溃信息在异常回调函数中打印,输出到程序执行目录下的文件:异常处理回调的函数原形:LONG WINAPI CallBackDebugInfo ( EXCEPTION_POINTERS *pException); 功 能:异常处理回调处理,打印崩溃信息;用 法:注册自定义错误处理回调:SetUnhandledExceptionFilter (CallBackDebugInfo);返回值:EXCEPTION_CONTINUE_EXECUTION – 错误已经被修复,从异常发生处继续执行EXCEPTION_CONTINUE_SEARCH – 继续查找异常过滤器EXCEPTION_EXECUTE_HANDLER – 正常返回参数: 崩溃信息结构,包含崩溃原因、崩溃模块、崩溃地址、崩溃堆栈等;常见崩溃原因有:EXCEPTION_ACCESS_VIOLATION = C0000005h 读写内存错误EXCEPTION_INT_DIVIDE_BY_ZERO = C0000094h 除0错误EXCEPTION_STACK_OVERFLOW = C00000FDh 堆栈溢出或者越界EXCEPTION_GUARD_PAGE = 80000001h 由Virtual Alloc建立起来的属性页冲突EXCEPTION_NONCONTINUABLE_EXCEPTION = C0000025h不可持续异常,程序无法恢复执行,异常处理例程不应处理这个异常EXCEPTION_INVALID_DISPOSITION = C0000026h在异常处理过程中系统使用的代码EXCEPTION_BREAKPOINT = 80000003h 调试时中断(INT 3)EXCEPTION_SINGLE_STEP = 80000004h 单步调试状态(INT 1)3.3 输出map文件map文件记录程序的全局符号、源文件和代码行号信息,是整个程序工程信息的静态文本。
通过文本阅读工具如Ultra Edit或记事本就可以打开Map文件。
在 VC 中,打开“Project Settings”选项页,选择 C\\\/C++ 选项卡,并在最下面的 Project Options 里面输入:\\\/Zd ,然后选择 Link 选项卡,选中“Generate mapfile”复选框。
并在最下面的 Project Options 里面输入:\\\/mapinfo:lines,表示生成 map 文件时,加入行信息。
最后编译就可以生成 MAP 文件,可以在工程的Debug或Release目录下找到刚刚生成的MAP文件,文件名为“工程名.map”。
3.4 使用map文件找出崩溃函数 通过上面的步骤,已经得到了 MAP 文件,那么我们该如何利用它呢
下面一步步演示使用MAP文件定位程序崩溃行的过程。
1.我们先在代码中加入非法内存操作(最常见的异常)的代码:BOOL CMainFrameDlg::OnInitDialog(){ ::SetProp(m_hWnd, AfxGetApp()->m_pszExeName, (HANDLE)1); s32 *p = NULL; *p= 123;2.执行程序,程序在开始就异常,在异常打印文件中打印了如下信息:======================== 崩溃信息 ==========================崩溃时间: 2009\\\/06\\\/02 16:58:22崩溃原因: 非法内存操作异常代码 = c0000005异常地址 = 0x0045a76f异常模块: E:\\\\ccroot\\\\liuxiaojing_Enterprise\\\\Enterprise_VOB\\\\70-nms1\\\\pcmt2\\\\prj_win32\\\\Release\\\\pcmt2.exeSection name: .text - offset(rva) : 0x0005976f---------------------- Trips of Stack ----------------------E:\\\\ccroot\\\\liuxiaojing_Enterprise\\\\Enterprise_VOB\\\\70-nms1\\\\pcmt2\\\\prj_win32\\\\Release\\\\pcmt2.exename : pcmtver - location: 2bef3. 确定崩溃地址是:0x0005976f,在Map文件中定位函数:0001:00059420 ?OnCreate@CMainFrameDlg@@IAEHPAUtagCREATESTRUCTA@@@Z 0045a420 f MainFrameDlg.obj 0001:00059460 ?SetTooltips@CMainFrameDlg@@AAEXXZ 0045a460 f MainFrameDlg.obj 0001:00059700 ?OnTranslate@CMainFrameDlg@@IAEJIJ@Z 0045a700 f MainFrameDlg.obj 0001:00059730 ?OnInitDialog@CMainFrameDlg@@MAEHXZ 0045a730 f MainFrameDlg.obj 0001:00059a10 ?OnSysCommand@CMainFrameDlg@@IAEXIJ@Z 0045aa10 f MainFrameDlg.obj 0001:00059c20 ?OnPaint@CMainFrameDlg@@IAEXXZ 0045ac20 f MainFrameDlg.obj根据00059730< 0005976f < 00059a10 ,确定是在CMainFrameDlg 的OnInitDialog函数中的某一行产生了异常。
3.5 使用map代码行定位崩溃行区间Line numbers for .\\\\Release\\\\MainFrameDlg.obj(E:\\\\ccroot\\\\liuxiaojing_Enterprise\\\\Enterprise_VOB\\\\70-nms1\\\\pcmt2\\\\source\\\\MainFrameDlg.cpp) segment .text 498 0001:00059647 499 0001:00059667 501 0001:0005966e 502 0001:000596af 503 0001:000596ed 506 0001:00059700 507 0001:00059703 508 0001:00059708 510 0001:0005970f 511 0001:00059720 512 0001:00059723 515 0001:00059730 516 0001:0005974e 521 0001:0005976d 524 0001:0005977e 526 0001:0005978b我们在map文件的代码行信息里查找不超过计算结果0x0005976f,但可以找最接近的数。
发现是 MainFrameDlg.cpp 文件中的:521 0001:0005976d,而程序实际崩溃行在519(注释行和空行也要计算在内),非常接近实际崩溃行了,考虑到程序实际执行的是汇编指令,我们可以在(516 ~524)行区间内寻找到实际崩溃行。
3.6 无法定位崩溃的情况但是这种输出文件的方法也不能定位所有崩溃问题,俗话说得好:没有万能的救世主。
例如我们有时会碰到下层编解码器崩溃,崩溃打印如下表:======================== 崩溃信息 ==========================崩溃时间: 2009\\\/05\\\/07 09:48:17崩溃原因: 非法内存操作异常代码 = c0000005异常地址 = 0x02163b32异常模块: C:\\\\WINDOWS\\\\system32\\\\kdg7221.acmSection name: .text - offset(rva) : 0x00002b32---------------------- Trips of Stack ----------------------C:\\\\WINDOWS\\\\system32\\\\kdg7221.acm 这时可以看出是我们的音频解码器kdg7221.acm崩溃了,此时就要考虑我们的音频编解码参数是否设置错了,如果没有设错,bug可以转到媒体处理层或者软件一部处理。
关于“满与空”的名言有哪些
神有不少,代码101,虚拟202,实体303,恐惧404,战神505,幽灵606,怪物707,恶魔808,死神Him,恐惧魔王,狼人
我的世界MC名言
此生无悔入mc,来世愿做方块人。
方块树上方块果,方块树下你和我。
要致富,先撸树。
你手里的方块就是你今生的信仰。
mc不倒,陪你到老。
记住,神不会流血,但你会。
只有打败我的人,才能得到我的尊重。
你心中的恐惧,便是我最大的快乐。
战斗的事情,让男人来。
死去就入方块墓,方块墓里方块魂。
考研静不下心来咋办
1,想想自己为什考研,寻找考研的动力好心态;2,每天指定,按计划来一点一点的消化知,慢慢的学,心自然会进入学习状态;3,合理安排复习和娱乐的时间,什么时间干什么指定好,生活规律会慢慢进入学习状态的;4,找些同样考验的好友,谈谈考验的辛酸,相互鼓励,增加考验动力,相互督促,心态会好起来;5,看不进东西的时候,可以外面走走,回来 在看看知识点或者做做题目,总是会有东西学进去的;



