The static code analysis and linting tool ESLint is the de-facto standard for linting JavaScript projects. In this lesson we’ll see how to install, ru ...
分类:
移动开发 时间:
2018-11-04 11:19:57
阅读次数:
155
题目链接:http://codeforces.com/gym/101873/problem/G 题意: 在点阵上,给出 $N$ 个点的坐标(全部都是在格点上),将它们按顺序连接可以构成一个多边形,求该多边形内包含的格点的数目。 题解: 首先,根据皮克定理 $S = a + \frac{b}{2} - ...
分类:
其他好文 时间:
2018-10-30 00:25:45
阅读次数:
149
转: http://www.testclass.net/locust/introduce/ Locust 官方网站:https://www.locust.io/ Locust 介绍 An open source load testing tool. 一个开源性能测试工具。 define user b ...
分类:
其他好文 时间:
2018-10-27 18:44:59
阅读次数:
98
In this lesson, we’ll get the most fundamental understanding of what an automated test is in JavaScript. A test is code that throws an error when the ...
分类:
编程语言 时间:
2018-10-25 11:05:10
阅读次数:
130
go环境请参考https://www.cnblogs.com/saryli/p/9833253.html Load testing tool to stress MQTT message broker https://github.com/inovex/mqtt-stresser Build Thi ...
分类:
其他好文 时间:
2018-10-22 22:18:01
阅读次数:
239
Testing with asyncio 之前有说过应用开发者不需要将loop当作参数在函数间传递,只需要调用 即可获得。但是在写单元测试时,可能会需要用多个loop(每个测试用一个单独的loop),问题来了:是否为了支持单元测试而要将loop作为函数参数传入呢? 先看个例子。 1. 想象一个cor ...
分类:
其他好文 时间:
2018-10-22 11:36:48
阅读次数:
157
今天的文章来自Jerry的同事,曾经的搭档郑晓霞(Zheng Kate)。郑晓霞是在Jerry心中是一位很有实力的程序媛,2011年从西安某软件公司跳槽到SAP成都研究院。当时,成都研究院的CRM团队刚刚成立,Jerry和郑晓霞都在一个大组。 2012年夏天,我们接到任务,要把SAP Custome ...
分类:
其他好文 时间:
2018-10-20 14:59:02
阅读次数:
272
1.概念学习:是指从某个布尔函数的输入输出训练样例中推断出来该布尔函数。 2.训练集(training set/data)/训练样例(training example):用来进行训练,也就是产生模型或者算法的数据集。 3.测试集(testing set/data)/测试样例(testing exam ...
分类:
其他好文 时间:
2018-10-12 23:38:30
阅读次数:
100
训练集(traning set/data):用来训练,产生模型的算法的数据集 测试集(testing set/data):用来训练,产生模型的算法的数据集):用来专门进行测试已经学习好的模型或者算法的数据集。 特征向量(feature/feature vector):属性集合,通常用一个向量来表示, ...
分类:
其他好文 时间:
2018-10-11 22:40:49
阅读次数:
204