最近(以及预感接下来的一年)会读很多很多的paper......不如开个帖子记录一下读paper心得 New Hardware / non volatile memory .... Streaming .... Cloud / Distributed PolarFS: An Ultra-low La ...
分类:
数据库 时间:
2020-04-02 00:54:56
阅读次数:
96
import socket import threading def tcp_serve(resp_socket): recv_data = resp_socket.recv(1024) print(recv_data) resp_data = 'HTTP/1.1 200 OK\r\n' + "\r ...
分类:
编程语言 时间:
2020-03-31 01:12:06
阅读次数:
86
1.守护进程:主进程代码结束,守护进程立马结束 #守护进程 daemon:print('主')执行完成后,p1就结束掉 from multiprocessing import Process import time #并发,在同一个终端打印 def work(): print("123" ) tim ...
分类:
编程语言 时间:
2020-03-28 21:33:53
阅读次数:
73
锁:可以保证线程同步和线程安全 1)Lock锁 方式1:Lock from threading import Thread, Lock import threading def run(lock, num): lock.acquire() # 获得锁 threadName = threading.c ...
分类:
编程语言 时间:
2020-03-28 20:14:36
阅读次数:
65
abstract 本论文提出了一种用于收集统计信息的隐私保护系统Prio。每个客户机有私有数据值,一小部分服务器对所有客户端的值计算统计函数。只要有一台服务器是诚实的,Prio服务器就不会了解到用户的信息,除了他们可以从系统计算推断出聚合数值。采用新的加密技术SNIPs,使之能够收集大量有用的统计数 ...
分类:
其他好文 时间:
2020-03-28 18:00:58
阅读次数:
110
You can open files into Vim directly from the terminal. This works for both single files and multiple files. In addition to reading these files into b ...
分类:
系统相关 时间:
2020-03-26 19:56:48
阅读次数:
88
介绍依赖倒置原则的相关概念,建议reading time : 5mins 一、基本定义 依赖倒置原则(Dependence Inversion Principle,简称DIP)的原始定义是:高层模块不应该依赖低层模块,两者都应该依赖其抽象;抽象不应该依赖细节;细节应该依赖抽象。 Another me ...
分类:
其他好文 时间:
2020-03-21 16:27:02
阅读次数:
72
前言: 有时候,连接MySQL的会话经常会异常退出,错误日志里会看到"_Got an error reading communication packets_"类型的告警。本篇文章我们一起来讨论下该错误可能的原因以及如何来规避。 1.状态变量Aborted_clients和Aborted_conne ...
分类:
其他好文 时间:
2020-03-20 13:13:09
阅读次数:
64
本作者从下载地址:https://download.csdn.net/download/LongtengGensSupreme/12157626下载redis包解压到本地文件目录:E:\Source\redisfile\Redis-x64-3.2.100,如下图所示 为了方便启动,我们在该目录下新建 ...
分类:
其他好文 时间:
2020-03-18 15:53:22
阅读次数:
52
问题: apt-get install 不能自动安装依赖,安装新的包时,提示Unmet dependencies问题。 $ sudo apt-get install subversion Reading package lists... Done Building dependency tree R ...
分类:
其他好文 时间:
2020-03-15 17:32:06
阅读次数:
615