硬盘故障时无法时无法关机,内核直接重启如果硬盘可能会出现锁死或坏道的故障,会造成SHELL命令的失效,包括reboot,powoff, shutdown, 用正常的命令是没法完成重启的现象如下# rebootbash: /sbin/reboot: Input/output error# shurdo...
分类:
其他好文 时间:
2014-07-22 22:50:15
阅读次数:
210
如果系统内存消耗越来越大,CPU越来越高,可能性最大的是系统存在内存泄露。是由于内存泄露导致的可用内存减少,当达到某一临界点的时候,会频繁导致虚拟机垃圾回收,而垃圾回收又是高CPU消耗操作,因此CPU使用率会上升。这种问题最终造成的OutOfMemory,系统无法正常工作。sqlserver 启停:...
分类:
其他好文 时间:
2014-07-22 22:50:17
阅读次数:
218
闭区间运算符闭区间运算符(a...b)定义一个包含从a到b(包括a和b)的所有值的区间,只能是数字for index in 1...5 { println("\(index) * 5 = \(index * 5)")}var names = ["Anna", "Alex", "Brian", ...
分类:
其他好文 时间:
2014-07-22 22:50:32
阅读次数:
188
swift 类型变量声明用let来声明常量,用var来声明变量可以在一行中声明多个常量或者多个变量,用逗号隔开 var x = 0.0, y = 0.0, z = 0.0类型安全Swift 是一个类型安全(type safe)的语言。类型安全的语言可以让你清楚地知道代码要处理的值的类型。一个变...
分类:
其他好文 时间:
2014-07-22 22:50:17
阅读次数:
169
Merge k Sorted ListsMergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.这道题,第一次刷是过了,第二次同样的代码超时了,看来case是在不断...
分类:
其他好文 时间:
2014-07-22 22:50:32
阅读次数:
237
这是一个Delphi实现的插件框架,我耗费了相当相当相当多的精力来设计她,虽然仅闪着点我微薄智慧的光芒,但我还是决定用Wisdom来命名她,也因它是我绝无仅有的,在完成1年多后回头来看仍能相当满意的作品,所以我补充了展示她特性的Demo和管理工具,决定将她开源发布给仍在坚持着的Delphi Fans...
分类:
其他好文 时间:
2014-07-22 22:50:33
阅读次数:
236
最近看的关于网络爬虫和模拟登陆的资料,发现有这样一个包mechanize ['mek?.na?z]又称为机械化的意思,确实文如其意,确实有自动化的意思。mechanize.Browser and mechanize.UserAgentBase implement the interface of u...
分类:
其他好文 时间:
2014-07-20 10:13:11
阅读次数:
213
Nvidia's Pascal to use stacked memory, proprietary NVLink interconnectbyScott Wasson— 6:50 PM on March 25, 2014GTC — Today during his opening keynote ...
分类:
其他好文 时间:
2014-07-22 22:50:34
阅读次数:
497
Super MarioTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2250Accepted Submission(s): 1092Problem...
分类:
其他好文 时间:
2014-07-22 22:50:34
阅读次数:
200
功能类似verilog里的$display函数,在vmm里做了强化,可以在仿真过程中看到整个平台的运行信息,用来调试仿真平台。函数原型在vmm.sv里(class vmm_log;),其构造函数为extern function new(string name,string inst,vmm_log ...
分类:
其他好文 时间:
2014-07-20 10:12:08
阅读次数:
204
Pascal GPUPascal(from French mathematician Blaise Pascal) is Maxwell successor. Inthis news, we learnt thatVoltawas the post-Maxwell architecture, but...
分类:
其他好文 时间:
2014-07-22 22:50:34
阅读次数:
1611
链接:http://acm.hdu.edu.cn/showproblem.php?pid=4850题意:给定一个N(1 ≤ N ≤ 500000),构造一个长度为N的小写字母字符串,要求所有长度大于等于4的子串只能出现一次。不能构造输出“Impossible”。(1).只需要考虑长度等于4的子串的情...
分类:
其他好文 时间:
2014-07-22 22:50:35
阅读次数:
215
what's xxxIn machine learning, naive Bayes classifiers are a family of simple probabilistic classifiers based on applying Bayes' theorem with strong (...
分类:
其他好文 时间:
2014-07-20 10:11:07
阅读次数:
260
前言 这个系列已经写了三篇,得到了一些朋友的肯定,也收到了一些朋友的反对。在前面的三篇中,我一直至力于编码,很少涉及到理论,因此很多朋友认为我写的东西很肤浅,毫无亮点,或许我的水平真的很有限,辜负了大家的期待。这个系列已经20多天没有更新了,一个是因为时间有点点紧,另一个是因为我现在正在全力的搭建....
分类:
其他好文 时间:
2014-07-22 22:50:35
阅读次数:
238
声明:本文完全翻译自DX SDK Documentationdepth buffer,通常被称为z-buffer或者w-buffer,是设备的一个属性,用来存储深度信息,被D3D使用。当D3D渲染一个场景到target surface的时候,它会使用depth-buffer surface上的数据,...
分类:
其他好文 时间:
2014-07-22 22:50:35
阅读次数:
211
二分。另外,圆台体积为v = PI*(r*r+r*R+R*R)*H/3。注意精度。 1 #include 2 #include 3 4 #define exp 1e-9 5 6 const double PI = acos(-1.0); 7 8 int main() { 9 int...
分类:
其他好文 时间:
2014-07-20 10:10:06
阅读次数:
203
适应平台:SystemCenter2012RTM/SP1-------------------------------------------------------------------------------------------------------------SystemCenter2012–OperationsManager视图显示满足特定条件的信息。在选择视图时,会向OperationsManager数据库发送一个查?.
分类:
其他好文 时间:
2014-07-20 06:26:52
阅读次数:
201