Find: In a sense, find is the opposite of the [] operator. Instead of taking an index and extracting the corresponding character, it takes a...
分类:
其他好文 时间:
2014-06-24 12:38:45
阅读次数:
173
??
Artifacts
工件
“Hello, World!”
is implemented as an applet, so it never stands alone but instead is typically a part of some Web page. The applet starts when its enclosing page is opened, trigge...
分类:
其他好文 时间:
2014-06-22 19:50:03
阅读次数:
180
解决方式:The advices for crystal report database connection settings:1, Using ApplyLogOnInfo method instead of SetDatabaseLogon method. The code example a...
分类:
其他好文 时间:
2014-06-20 20:41:49
阅读次数:
239
1、错误描述
六月 04, 2014 10:31:47 下午 freemarker.log.JDK14LoggerFactory$JDK14Logger error
严重: Template processing error: "Expected number, sequence, or string. maps evaluated instead to freemarker.core.Hash...
分类:
其他好文 时间:
2014-06-20 11:26:40
阅读次数:
303
1、检查空间是否够用(我的就是这个原因) df -hl 查看,如果可用的很少,那就是了。2、datanode是否正常启动 访问:50070,查看datanode的个数,如果不对应,重新启动3、是否在safemode下 hadoop dfsadmin -safemode get,查看,leave...
分类:
其他好文 时间:
2014-06-19 00:14:41
阅读次数:
306
About getattrPython’s getattr function is used to fetch an attribute from an object, using a string object instead of an identifier to identify the at...
分类:
编程语言 时间:
2014-06-15 00:26:18
阅读次数:
487
考虑使用静态工厂方法来替代构造方法, 这样的做的好处有四点.1.
更好的表意有的构造方法实际上有特殊的含义, 使用静态工厂方法能更好的表达出他的意思. 例如BigInteger(int, int, Random),
它返回一个可能是素数的 BigInteger. 使用工厂方法 BigInteger....
分类:
编程语言 时间:
2014-06-09 16:13:02
阅读次数:
347
Rotating Sentences
In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to b...
分类:
其他好文 时间:
2014-06-08 04:51:34
阅读次数:
236
问题:
在Visual C++ 6.0 下面运行正常的代码放到Visual Studio 20xx系列里就跑不动了,有时候会提示如下错误:
error C4996: 'fopen': This function or variable may be unsafe. Consider using
fopen_s instead. To disable deprecation, use _CRT...
分类:
其他好文 时间:
2014-06-08 03:17:14
阅读次数:
227
The usage of bind is to define a specified
scope for called function. Because the key this is easy to refer another objet,
experically window, instead...
分类:
其他好文 时间:
2014-06-07 21:28:07
阅读次数:
307