一、使用 asyncio 总结 最近在公司的一些项目中开始慢慢使用python 的asyncio, 使用的过程中也是各种踩坑,遇到的问题也不少,其中有一次是内存的问题,自己也整理了遇到的问题以及解决方法详细内容看:https://www.syncd.cn/article/memory_trouble ...
分类:
其他好文 时间:
2019-03-23 01:05:06
阅读次数:
129
When shipping goods with containers, we have to be careful not to pack some incompatible goods into the same container, or we might get ourselves in s ...
分类:
其他好文 时间:
2019-02-21 14:22:10
阅读次数:
217
传送门 Dandelion's uncle is a boss of a factory. As the spring festival is coming , he wants to distribute rewards to his workers. Now he has a trouble a ...
分类:
其他好文 时间:
2019-02-17 00:25:36
阅读次数:
158
"原题链接" 题目描述 :给定5个集合,从每个集合中选一个数,使得5个数的和为0. 输入格式 :第一行:一个整数t表示数据组数。 接下来t组数据,每组数据第一行一个整数表示集合的大小。 接下来5行,每行n个数表示集合中的i元素。 输出格式 :对于每组数据,输出Yes或No表示是否可以使数的和为0. ...
分类:
其他好文 时间:
2019-02-13 22:53:01
阅读次数:
219
1.Actor模型 在使用Java进行并发编程时需要特别的关注锁和内存原子性等一系列线程问题,而Actor模型内部的状态由它自己维护即它内部数据只能由它自己修改(通过消息传递来进行状态修改),所以使用Actors模型进行并发编程可以很好地避免这些问题,Actor由状态(state)、行为(Behav ...
分类:
其他好文 时间:
2019-01-17 21:25:48
阅读次数:
244
1、 从 Docker Hub 中拉出 SQL Server 2017 Linux 容器映像 2、显示所有可用的镜像 3、运行一个镜像(也就相当于使用已有的镜像创建一个实例),其中 其中ACCEPT_EULA=Y的意思是同意许可协议,必选;MSSQL_SA_PASSWORD为密码,要求是最少8位的强 ...
分类:
数据库 时间:
2019-01-07 21:07:55
阅读次数:
198
Unity guys specifically gave a performance talk about UI Canvases on some of the past Unite(s). You won't have trouble finding it on Unity's YouTube c ...
分类:
编程语言 时间:
2019-01-01 14:58:43
阅读次数:
336
Redis为了内部数据的安全考虑,会把本身的数据以文件的形式保存在硬盘中一份,在重启之后会自动把硬盘的数据恢复到内存(redis)里面。 一、snap shotting 快照持久化 该持久化默认开启,一次性把redis中全部的数据保存在硬盘中,如果数据非常多(10G-20G)就不适合频繁该持久化操作 ...
分类:
其他好文 时间:
2018-12-27 00:29:47
阅读次数:
129
lesson 15 Fifty pence worth of trouble 2. 1. appreciate =be grateful for We really appreciate all the help you gave us last month. I appreciate your m ...
分类:
其他好文 时间:
2018-12-23 13:58:03
阅读次数:
168
Mario is world-famous plumber. His “burly” figure and amazing jumping ability reminded in our memory. Now the poor princess is in trouble again and Ma ...
分类:
其他好文 时间:
2018-12-15 10:26:16
阅读次数:
227