加载中
alembic+sqlmodel 配置

alembic 配置 初始化 cd storage alembic init --template async alembic 修改 alembic.ini 中 [alembic] 部分: prepend_sys_path = .. sqlalchemy.url = mysql+asyncmy://root:@localhost/...

05/03 20:43
21
IoC容器和Dependency Injection模式

译者:熊节 英文原文:Inversion of Control Containers and the Dependency Injection pattern (最初发表于2004年1月) 摘要:Java社群近来掀起了一阵轻量级容器的热潮,这些容器能够帮助开...

2019/11/01 20:12
66
socket recv_into 接收不全

问题: socket 通信, 通信过程是先发送消息长度, 再发送消息内容. 出现问题是, client 收到 ConnectionResetError: [Errno 104] Connection reset by peer. 原因是服务端 recv_into 接收不全报...

2019/06/03 15:51
768
深入了解zipline

转载出处 https://github.com/rainx/inside-zipline

2018/04/12 19:49
1.4W
回测框架zipline数据源,pandas_datareader

google金融的数据源不可用,请求被当成爬虫处理了 其他数据源: quandl import pandas_datareader.data as web symbol = 'AAPL.US' df = web.DataReader(symbol, 'quandl', '2016-01-04', '...

2018/04/04 14:04
1.8K
Binary indexed tree

Fenwick tree 它又叫 Binary indexed tree ,也叫树状数组。 能在log(n)查询区间和,并且在log(n)时间内进行结点更新操作。 lowbit(x)函数 定义lowbit(x)为x的二进制表达式中最右边的1所对应...

2018/02/27 11:44
97
布隆过滤器

Bloom Filters by Example: https://llimllib.github.io/bloomfilter-tutorial/zh_CN/

2018/01/11 09:28
592

没有更多内容

加载失败,请刷新页面

返回顶部
顶部