在ubuntu编译java程序时报错:type Iterator does not take parameters 源码如下: 报错原因:包里面有之前编写的一个Iterator类,编译时优先调用了包里的Iterator而没有调用java.util里面的Iterator ...
分类:
其他好文 时间:
2019-01-10 19:28:41
阅读次数:
142
BlockingQueue 实现之 SynchronousQueue SynchronousQueue是一个没有数据缓冲的BlockingQueue,生产者线程对其的插入操作put必须等待消费者的移除操作take,反过来也一样。 不像ArrayBlockingQueue或LinkedListBloc ...
分类:
编程语言 时间:
2019-01-09 11:18:43
阅读次数:
244
This isn’t anything new however has been a long time in writing as I’ve been playing around with things! It is more my take on how to do these types o ...
分类:
其他好文 时间:
2019-01-06 18:55:27
阅读次数:
240
Most Spring Security users will be using the framework in applications which make user of HTTP and the Servlet API. In this part, we’ll take a look at ...
分类:
移动开发 时间:
2018-12-19 22:59:59
阅读次数:
222
Thus far we have only taken a look at the most basic authentication configuration. Let’s take a look at a few slightly more advanced options for confi ...
分类:
编程语言 时间:
2018-12-17 22:38:49
阅读次数:
234
After install the Nginx on AWS instance, and visit your public ip address, you might see the following: This site can't be reached xxx.xxx.xx take too ...
分类:
其他好文 时间:
2018-12-16 11:16:07
阅读次数:
123
There are a total of n courses you have to take, labeled from 0 to n-1. Some courses may have prerequisites, for example to take course 0 you have to ...
分类:
其他好文 时间:
2018-12-14 23:00:41
阅读次数:
171
过程: Filling queue with 20000 CIFAR images before starting to train. This will take a few minutes. step 0, loss =4.68 (19.0 examples/sec; 6.734 sec/bat ...
分类:
其他好文 时间:
2018-12-14 22:49:43
阅读次数:
223
背景交代: 1 mongodb 有500万条数据 2 经过过滤 还有20多万条数据 要得到上述20w条数据,一次查询得到20多万条,很可能会产生性能问题,于是同事用for循环,每次查询1000条数据,下一次skip 1000条,take 1000条。导致性能及其低下,早上请求,下午才获得完整数据。 ...
分类:
其他好文 时间:
2018-12-11 00:42:54
阅读次数:
230
Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB. Traceback (mo... ...
分类:
其他好文 时间:
2018-12-04 20:08:28
阅读次数:
925