码迷,mamicode.com
首页 >  
搜索关键字:same    ( 2737个结果
ES对字段去重统计,抛出异常:java.lang.IllegalArgumentException: Two sibling aggregations cannot have the same name:
出错场景:多次调用ES统计方法,第二次时会报错。 解决办法:在AggregationBuilders.cardinality("tempField").field("countFiled"),中的"tempField"用一个随机字符串代替。 查询后取结果的时候,再用随机字符串取出。 ...
分类:编程语言   时间:2020-06-18 19:52:46    阅读次数:185
ajax、axios请求之同源策略与CORS
什么是同源策略? 同源策略(Same origin policy)是一种约定,它是浏览器最核心也最基本的安全功能,如果缺少了同源策略,则浏览器的正常功能可能都会受到影响。可以说Web是构建在同源策略基础之上的,浏览器只是针对同源策略的一种实现。 同源策略,它是由Netscape提出的一个著名的安全策 ...
分类:移动开发   时间:2020-06-17 01:48:06    阅读次数:89
第一周,深度学习的实用层面
1.1 训练——开发——测试集 经验法则: Make sure dev and test come from same distribution 1.2 偏差_方差 1.4 Logistic regression 为什么只正则化参数w,为什么不再加上参数b呢? 因为w通常是一个高维参数矢量,已经可以 ...
分类:其他好文   时间:2020-06-13 11:15:08    阅读次数:58
html+css-----实现圣杯布局
1.浮动实现圣杯布局 html代码: <div class="demo"> <div class="center same"> <div class="inner">center</div> </div> <div class="left same">left</div> <div class="r ...
分类:Web程序   时间:2020-06-09 20:30:07    阅读次数:87
[LeetCode] 881. Boats to Save People
The i-th person has weight people[i], and each boat can carry a maximum weight of limit. Each boat carries at most 2 people at the same time, provided ...
分类:其他好文   时间:2020-06-09 09:54:47    阅读次数:67
.Net Core 启用跨域请求(No 'Access-Control-Allow-Origin' header is present on the requested resource)
1、为什么会出现跨域问题 官方文档:https://docs.microsoft.com/zh-cn/aspnet/core/security/cors?view=aspnetcore-3.1 浏览器安全的基石是"同源政策"(same-origin policy)。同源指三个相同 ①协议相同 ②域名 ...
分类:数据库   时间:2020-06-08 10:43:56    阅读次数:374
lecture 2
1. veracity (quality) how correct the data is, shows if we can trust the data challenging因为易于发生,影响巨大且难以控制 2. variability variety指same data, different ...
分类:其他好文   时间:2020-06-05 14:47:57    阅读次数:77
【leetcode】1433. Check If a String Can Break Another String
题目如下: Given two strings: s1 and s2 with the same size, check if some permutation of string s1 can break some permutation of string s2 or vice-versa (i ...
分类:其他好文   时间:2020-06-03 23:41:15    阅读次数:108
[Python] Template literals f""
The same as Javascript: // Javascript function sayHello(name) { return `Hello ${name}` } //python def say_hello(name): return f"Hello {name}" ...
分类:编程语言   时间:2020-05-30 19:34:09    阅读次数:67
Increase ulimit in ubuntu and docker
What is ulimit? It is a number of open file descriptors per process. They can all refer to the same file, or different files. It prevent single users ...
分类:系统相关   时间:2020-05-28 19:31:10    阅读次数:83
2737条   上一页 1 ... 3 4 5 6 7 ... 274 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!