首先如何查看最大连接数 This SQL will help you select max_conn,used,res_for_super,max_conn used res_for_super res_for_normal from (select count( ) used from pg_st ...
分类:
数据库 时间:
2018-12-01 23:33:01
阅读次数:
814
redux描述 首先redux 有3大组成部分 1.store2. action .3reducer 还有边外的 components, 如何触发action 呢?首先的拿到store对象,store对象是通过 redux中的createStore()创建的,他有两个参数,第一个是reducer, ...
分类:
其他好文 时间:
2018-12-01 15:31:35
阅读次数:
95
通过AI自学习,Google让Pixel 3的人像模式更优秀 Link: https://news.cnblogs.com/n/613720/ 虽然双摄手机已经在市场上普及,其所带来的人像模式、多倍变焦也成为了不少智能手机的「标配」,但仍然有厂商依然坚持用一个摄像头的配置。 比如以软件著称的 Goo... ...
分类:
其他好文 时间:
2018-12-01 11:19:43
阅读次数:
186
原文:https://mozillazg.com/2016/12/python-super-is-not-as-simple-as-you-thought.html python 约定¶ 单继承¶ 多继承¶ super 是个类¶ 多继承中 super 的工作方式¶ 参考资料¶ 约定¶ 单继承¶ 多继 ...
分类:
编程语言 时间:
2018-11-30 15:46:48
阅读次数:
266
import React from 'react'export default class extends React.Component { constructor(props) { super(props); this.state = { translateX: 0, translateY: 0 ...
分类:
其他好文 时间:
2018-11-29 21:17:58
阅读次数:
1145
1,安装Django与python版本的对应1.8 2.7,3.2--3.51.9,1.10 2.7,3.4,3.51.11 2.7,3.4,3.5,3.62.0 2.1第一种安装:pip install Django==1.8第二种安装:下载对应的Django,解压到python安装目录“cd 路 ...
分类:
编程语言 时间:
2018-11-28 17:29:17
阅读次数:
214
一、django的常用命令 1、使用命令行创建 django-admin startproject project_name 2、创建一个app django manage.py startapp app_name (如果使用pycharm创建django项目可省略上面步骤) 3、创建一个super ...
分类:
其他好文 时间:
2018-11-28 17:27:46
阅读次数:
90
class Base(): def play(self): print('--base--')class A(Base): def play(self): # super().play() print('--A--')class B(Base): def play(self): super().pl ...
分类:
其他好文 时间:
2018-11-28 12:09:14
阅读次数:
220
初期的业务, 通常标签不够多,特别是大额欺诈等,获取Y标签的代价很高。 因此标签少的问题非常有实际价值。 方案: 1. 半监督学习 2. 迁移学习 3. 在考虑的方法 4. 其他新算法, 如下 论文: WGAN + 半监督学习 1. "Improving the Improved Training ...
分类:
其他好文 时间:
2018-11-27 22:07:39
阅读次数:
194
# super()# MRO + super ?面试题# super是查找mro顺序中的下一个# 单继承中我们可以认为super是对父类中的属性或方法的引入class ShengWu: def dong(self): # 实例方法 print(self) print("我是生物")class Ani ...
分类:
编程语言 时间:
2018-11-27 21:03:42
阅读次数:
198