一、为啥要用helm 对于一些微服务架构来说,会有不同的服务在上面运行,你可能要管理诸如deployment、service、有状态的Statefulset、权限的控制等等。你会发现,部署应用后还会有很多其他关联的东西以及你需要考虑的点:比如说你的不同团队,要去管理这样一个应用,从开发到测试再到生产 ...
分类:
其他好文 时间:
2018-11-28 12:30:42
阅读次数:
229
1、单元测试composer require topthink/think-testing 1.* (5.0) composer require topthink/think-testing 5.1官方的5.0版本的扩展库版本号都是1.*,2.0版本均为ThinkPHP5.1版本专用。 ...
分类:
其他好文 时间:
2018-11-27 19:21:57
阅读次数:
221
http://codeforces.com/contest/1080/problem/F 题意 给你n个集合 每个集合都有一定的线段 m次查询 查询集合[l,r]内每个集合是否至少有一个线段被[x,y]覆盖 输出"yes"或"no"; 题解 我们考虑对线段左端点降序排序 用主席维护每个集合对应最小的 ...
分类:
其他好文 时间:
2018-11-27 14:47:14
阅读次数:
310
承接上上篇博客,在其基础上,加入了Wasserstein distance和correlation prior 。其他相关工作、网络细节(maxout operator)、训练方式和数据处理等基本和前文一致。以下是这两点改进的大概: Wasserstein convolutional neural ...
分类:
其他好文 时间:
2018-11-25 20:07:39
阅读次数:
884
题目链接https://vjudge.net/problem/CodeForces-896C 关于珂朵莉树的讲解可以参考https://blog.csdn.net/niiick/article/details/83062256 按照题意,完成加,赋值,求第K小,区间x次方和四种操作 直接上代码 ...
分类:
其他好文 时间:
2018-11-25 13:16:41
阅读次数:
479
对于常规的Dfs/Bfs就不说了,博弈搜索都是后话,这里主要整理高效率的搜索(也没高哪去) 搜索的时间复杂度一般是xn指数级别的所以在这里为了提高搜索效率,最好的方法是降指,以下的方法都是基于这种想法的。 1.双向Bfs、Dfs 适用于操作可逆的搜索,采用meet in the middle 的想法 ...
分类:
其他好文 时间:
2018-11-24 23:53:25
阅读次数:
270
1. Creating a copy of dictionary or lists. Whenever you need to make a copy of a dictionary or list, do not simply use the assignment operator. Right ...
分类:
编程语言 时间:
2018-11-24 14:42:15
阅读次数:
174
The only difference between easy and hard versions is the constraints. Vova likes pictures with kittens. The news feed in the social network he uses c ...
分类:
其他好文 时间:
2018-11-24 14:08:39
阅读次数:
148
半平面交第一题 ! 题意是给出一个多边形,问他是否存在内核,即“可以看到任何一个地方的区域”。 内核即半平面交,下面是离线求半平面交的$nlogn$算法 ~~~cpp include include include include include using namespace std; const ...
分类:
其他好文 时间:
2018-11-23 23:26:46
阅读次数:
190
//最小生成树,Kruskal算法 struct rec { int x; int y; int z; }edge[50010]; int fa[10010],n,m,ans; bool operator >n>>m; for(int i=1;i>T; while(T--) { cin>>n; fo... ...
分类:
编程语言 时间:
2018-11-23 18:34:02
阅读次数:
172