今天在用yarn安装vue-cli时出现了错误../vue-hackernews-2.0> yarnyarn install v1.12.3[1/5] Validating package.json...[2/5] Resolving packages...[3/5] Fetching packag ...
分类:
其他好文 时间:
2020-05-16 16:23:35
阅读次数:
452
有一张财务流水表,未分库分表,目前的数据量为9555695,分页查询使用到了limit,优化之前的查询耗时16 s 938 ms (execution: 16 s 831 ms, fetching: 107 ms),按照下文的方式调整SQL后,耗时347 ms (execution: 163 ms, ...
分类:
其他好文 时间:
2020-03-21 17:52:29
阅读次数:
88
有一张财务流水表,未分库分表,目前的数据量为9555695,分页查询使用到了limit,优化之前的查询耗时16 s 938 ms (execution: 16 s 831 ms, fetching: 107 ms),按照下文的方式调整SQL后,耗时347 ms (execution: 163 ms, ...
分类:
数据库 时间:
2020-03-21 13:02:11
阅读次数:
91
ERROR: Could not find a valid gem ‘redis‘ (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/latest_specs.4.8.gz)
Error fetching http://ruby.taobao.org/:
server did not return a valid file (http://ruby.taobao.org/specs.4.8.gz)
Error fetching https://rubygems.org:
SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (https://rubygems.org/specs
分类:
其他好文 时间:
2020-03-06 19:44:22
阅读次数:
72
本文先介绍了Go语言原生的日志库的使用,然后详细介绍了非常流行的Uber开源的zap日志库,同时介绍了如何搭配Lumberjack实现日志的切割和归档。 在Go语言项目中使用Uber-go的Zap Logger 介绍 在许多Go语言项目中,我们需要一个好的日志记录器能够提供下面这些功能: 能够将事件 ...
分类:
编程语言 时间:
2020-02-08 23:13:22
阅读次数:
160
SQL版本 5.7 有一张流水表,未分库分表,目前的数据量为950w,分页查询使用到了limit,优化之前的查询耗时167s左右 (execution: 16s831ms, fetching: 107 ms) 按照下文的方式调整SQL后,耗时347ms (execution: 163 ms, fet ...
分类:
数据库 时间:
2020-01-26 14:36:54
阅读次数:
113
AutoAugment : Learning Augmentation Strategies from Data Summary 区别与传统数据增强方法。本文提出了一种自动化搜索优化的数据增强策略的方法 AutoAugment 实际应用中直接应用于兴趣数据集耗费太大,一般尝试迁移其他数据集的数据增强 ...
分类:
其他好文 时间:
2020-01-21 10:39:27
阅读次数:
168
使用以下代码,可以获取当天的汇率进行货币转换 function convert_currency($number, $currency) { // Fetching JSON $req_url = 'https://api.exchangerate-api.com/v4/latest/USD'; $ ...
分类:
Web程序 时间:
2020-01-20 16:20:41
阅读次数:
310
Week2 Autonomous driving (case study) (case study)( 自动驾驶 (案例研究)) \1. To help you practice strategies for machine learning, in this week we’ll present ...
分类:
系统相关 时间:
2020-01-06 12:28:49
阅读次数:
148
㈠官方介绍fetch ⑴在Fetch API中说到“The Fetch API provides an interface for fetching resources (including across the network). It will seem familiar to anyone w ...
分类:
其他好文 时间:
2019-12-29 13:20:01
阅读次数:
74