第一章 基础知识
实现两个数整除:使用命令开关 -Qnew (?); 使用双斜线。
from future import division 执行向计算器那样的普通除法。
幂(乘方)运算符: 2 ** 3 (8),用函数代替 pow(2,3),内建函数...
分类:
编程语言 时间:
2015-02-09 12:49:27
阅读次数:
212
并发编程 01—— ConcurrentHashMap并发编程 02—— 阻塞队列和生产者-消费者模式并发编程 03—— 闭锁CountDownLatch 与 栅栏CyclicBarrier并发编程 04—— Callable和Future并发编程 05—— CompletionService : ...
分类:
其他好文 时间:
2015-02-09 12:40:58
阅读次数:
149
并发编程 01—— ConcurrentHashMap并发编程 02—— 阻塞队列和生产者-消费者模式并发编程 03—— 闭锁CountDownLatch 与 栅栏CyclicBarrier并发编程 04—— Callable和Future并发编程 05—— CompletionService : ...
分类:
其他好文 时间:
2015-02-09 12:36:04
阅读次数:
123
ExecutorService 创建线程池,线程池可以定义线程的数量future指线程执行后需要返回的结果,结果可以自己定义callable相当于runnablepackage com.condition;import java.util.Random;import java.util.concur...
分类:
编程语言 时间:
2015-02-08 19:23:11
阅读次数:
121
[Architecture Design] 跨平台架构设计跨越平台Productivity Future Vision 2011在开始谈跨平台架构设计之前,请大家先看看上面这段影片,影片内容是微软在2011年所描绘的未来生活蓝图。在观看的过程中,请大家以「软件开发人员」的角度来思考,想想软件开发人员...
分类:
其他好文 时间:
2015-02-06 23:06:11
阅读次数:
241
From http://projects.apache.org/indexes/quick.html[Now, Future]Apache Software Foundation Index: Project ListingThis is a simple list of all the proje...
分类:
Web程序 时间:
2015-02-06 14:53:49
阅读次数:
204
Python由于是非商业的,所以版本更新上有很多不兼容,例如python3和python2中的除法:python2.x:10/3 = 3 ; 10.0/3 = 3.333333...而python3.x:10/3 = 3.333333... ; 10.0/3 =3.333333...地板除:用 /....
分类:
编程语言 时间:
2015-02-06 14:43:35
阅读次数:
141
Family Dentistry is important because it sets a formidable foundation which the future can rely on. When parents make a decision to bring their family...
分类:
其他好文 时间:
2015-01-31 17:34:52
阅读次数:
145
https://medium.com/@paulcolomiets/the-future-of-asynchronous-io-in-python-ce200536d847http://www.jeffknupp.com/blog/2013/06/30/pythons-hardest-problem...
分类:
编程语言 时间:
2015-01-29 14:04:59
阅读次数:
120
模仿Vuejs的伪MVVM库,下面是使用说明项目地址:https://github.com/miniflycn/Q.js相关项目:https://github.com/miniflycn/Ques一个简单例子模版:脚本:var vm = new Q({ el: '#demo', data...
分类:
Web程序 时间:
2015-01-28 21:00:33
阅读次数:
251