摘要: 阅读全文
posted @ 2020-05-18 01:26 Aluosen 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Amazon Dynamo论文中文版 原著: Werner Vogels 翻译: quest.run (翻译本文,旨在讨论NoSQL时会有一个共同的Terminology,对于要实现NoSQL方案的同学,建议啃啃原文,因为很多术语在翻译成中文后语义差异很大,如quorum, replica/repl 阅读全文
posted @ 2020-05-17 23:56 Aluosen 阅读(353) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-05-17 23:54 Aluosen 阅读(106) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-#@Time : 2020/5/2 11:06#@Author: Aluosen#@File : Recurrence.py##进制转换def toStr(n,base): convertString = '0123456789ABCDEF' if n < 阅读全文
posted @ 2020-05-02 20:17 Aluosen 阅读(213) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-#@Time : 2020/5/2 0:01#@Author: Aluosen#@File : Linklist.py#节点Nodeclass Node: def __init__(self,initdata): self.data = initdata 阅读全文
posted @ 2020-05-02 11:05 Aluosen 阅读(199) 评论(0) 推荐(0) 编辑
摘要: # -*- coding:utf-8 -*-#@Time : 2020/5/1 22:15#@Author: Aluosen#@File : Queue.py#队列的基本方法class Queue: def __init__(self): self.items = [] def isEmpty(se 阅读全文
posted @ 2020-05-01 22:56 Aluosen 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-09-17 23:54 Aluosen 阅读(121) 评论(0) 推荐(0) 编辑
摘要: import jiebaimport wordcloudfrom imageio import imreadmask=imread('fivestar.png')def shuchu(): txt=open('threekingdoms.txt','r',encoding='gb18030').read() excludes={'将军','却说','荆州','二人','不可','不能'... 阅读全文
posted @ 2019-09-11 23:24 Aluosen 阅读(569) 评论(0) 推荐(0) 编辑
摘要: import jiebaimport wordclouddef shuchu(): txt=open('threekingdoms.txt','r',encoding='gb18030').read() excludes={'将军','却说','荆州','二人','不可','不能','如此'} words=jieba.lcut(txt) counts={} for w... 阅读全文
posted @ 2019-09-11 00:00 Aluosen 阅读(555) 评论(0) 推荐(0) 编辑
摘要: import jiebatxt=open('threekingdoms.txt','r',encoding='gb18030').read()excludes={'将军','却说','荆州','二人','不可','不能','如此'}words=jieba.lcut(txt)counts={}for word in words: if len(word)==1: continue elif word 阅读全文
posted @ 2019-09-08 23:30 Aluosen 阅读(694) 评论(0) 推荐(0) 编辑