1.http://docs.python.org/dev/3.0/whatsnew/3.0.htmlpython-announce-listpython-help2.交互式编译器3.非整数除法 .1.>>> from__future__import divisionSyntaxError: inva...
分类:
编程语言 时间:
2015-03-04 20:59:53
阅读次数:
159
并发编程 01—— ConcurrentHashMap并发编程 02—— 阻塞队列和生产者-消费者模式并发编程 03—— 闭锁CountDownLatch 与 栅栏CyclicBarrier并发编程 04—— Callable和Future并发编程 05—— CompletionService : ...
分类:
其他好文 时间:
2015-03-04 18:47:19
阅读次数:
178
声明:所有权利保留。
转载请说明出处:
IF YOU LOVE SOMETHING, SET IT FREE
我真是喜欢这句啊!
Unreal Engine 4 is now available to everyone for free, and all future updates
will be free!
今天是全体游戏人的欢乐激动啊,群里面各种讨论。...
分类:
其他好文 时间:
2015-03-03 18:40:45
阅读次数:
224
在使用数组转换为XML 时,出现这种错误Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version。特别是在微信开发的时候,字符串转换成XML时,有可能导致这种问...
分类:
Web程序 时间:
2015-03-02 22:16:43
阅读次数:
835
第一章《The Challenge of the Future》:全球化是横向的扩张,只能复制以前就有的成功,而科技创新是纵向的扩张,是创造以前不存在的东西。没有科技创新,只有全球化,这个世界只能玩完。这是为什么要科技创新的原因。 第二章《Party Like It’s 1999》:回...
分类:
其他好文 时间:
2015-02-27 11:31:14
阅读次数:
145
数字相关在Python程序前加上from __future__ import division 或者在解释器里面直接执行它,或者通过命令行运行Python时使用命令开关-Qnew,会使单斜线不再整除,如>>> 1/20.5而双斜线实现整除,如>>> 1//20输入>>> x = input('x:'...
分类:
编程语言 时间:
2015-02-26 22:53:06
阅读次数:
301
原文链接:A Vision of the Future of the Software Developer’s Platform,摘译:唐尤华桌面版Eclipse仍然会占据主流。类似Che和Orion的云开发平台会给软件开发带来变革。开发者会有更多机会挑选合适的工具和开发环境。项目可以在桌面与云端互...
分类:
其他好文 时间:
2015-02-26 16:30:53
阅读次数:
128
from__future__importdivision#-*-coding:utf-8-*-__author__='Administrator'try:fromPyQt4.Qtimport*fromPyQt4.QtCoreimport*fromPyQt4.QtGuiimport*importsys...
分类:
其他好文 时间:
2015-02-25 19:52:52
阅读次数:
335
#!/usr/bin/envpython#-*-coding:utf8-*-#someimports:from__future__importprint_functionimportsys#displayinfos:PYTHONVERSION=sys.version_info[0]*10+sys.v...
分类:
其他好文 时间:
2015-02-25 19:49:27
阅读次数:
613
final ExecutorService exec = Executors.newFixedThreadPool(1);
Callable call = new Callable() {
@Override
public T call() throws Exception {
return t;
}
};
try {
Future futur...
分类:
移动开发 时间:
2015-02-25 11:39:05
阅读次数:
141