异常:编译正常,但运行出错,会中断正常指令流RuntimeException:运行时异常分为:uncheck exception、和check
exception(除了RuntimeException以及子类以外的)uncheck exceptionclass Test{ public sta...
分类:
编程语言 时间:
2014-05-26 23:44:34
阅读次数:
323
线程使用:模拟环境:一个用户请求到开通10000个账号,正常的程序执行顺序的话,需要使10000账号开通完成后返回客户响应,但如果是需要开通10W,100W呢,客户会疯掉的,这个简单的线程就帮忙解决了这个问题,测试代码如下:public
class DemoThead { public sta...
分类:
编程语言 时间:
2014-05-26 15:46:32
阅读次数:
261
学了好多遍,每次常学常新。这次继续学习,目标有两个:1. 找到直觉性的认识,有直观理解。2.
在R语言中用SVM做实验,学习相关的包 推荐一个很好的博客:http://blog.pluskid.org/?page_id=683
一系列文章,讲的很详细,公式和示意图也很好。用心的作者啊。 还有Sta....
分类:
其他好文 时间:
2014-05-26 13:18:13
阅读次数:
283
对于某些类,我们需要保证系统中只能有一个实例,这种类的设计用到singleton模式模式。单线程的singleton模式是
straightforward的,下面给出Java和C++11的线程安全singleton实现Java:public class Singleton
{ private sta...
分类:
编程语言 时间:
2014-05-26 11:03:20
阅读次数:
182
经过长时间学习创建Oracle表空间,于是和大家分享一下,看完本文你肯定有不少收获,希望本文能教会你更多东西。1、先查询空闲空间selecttablespace_name,file_id,block_id,bytes,blocksfromdba_free_space;2、增加Oracle表空间先查询...
分类:
数据库 时间:
2014-05-26 09:30:23
阅读次数:
368
原题:http://acm.timus.ru/problem.aspx?space=1&num=18261826. MinefieldTime
limit: 0.5 secondMemory limit: 64 MBTo fulfill an assignment, a
reconnaissance...
分类:
其他好文 时间:
2014-05-24 12:57:02
阅读次数:
282
Quick Referenceinsmodmodprobermmod User-space
utilities that load modules into the running kernels and remove them.#include
module_init(init_function)...
分类:
其他好文 时间:
2014-05-24 12:05:39
阅读次数:
286
http://acm.timus.ru/problem.aspx?space=1&num=18241824.
Ifrit BomberTime limit: 0.5 second Memory limit: 64 MBIn the six years that
passed since the fi...
分类:
其他好文 时间:
2014-05-24 11:46:13
阅读次数:
298
Determine whether an integer is a palindrome.
Do this without extra space.if use recursive, like check the first dig and last
dig, then remove them, c...
分类:
其他好文 时间:
2014-05-23 02:45:15
阅读次数:
230
1)下载Eclipse
http://www.eclipse.org/downloads/
Eclipse Standard 4.3.2 64位
2) 下载hadoop版本对应的eclipse插件
我的hadoop是1.0.4,因此下载hadoop-eclipse-plugin-1.0.4.jar
下载地址:http://download.csdn.net/detail/m_sta...