simple responsibility principle 单一职责原则。 there should never be more than one reason for a class to change. 一个类中应该只处理一个职责,而不应该同时处理多个职责。否则当出现类需要修改时,可能会导致 ...
                            
                            
                                分类:
其他好文   时间:
2020-04-26 14:09:21   
                                阅读次数:
77
                             
                         
                    
                        
                            
                            
                                思考: 1.主要为了基于冲突往前搜索,所以关注冲突节点。冲突是两个子句对一个文字赋值给出不同的赋值产生的,因而冲突节点实际关联两个子句。 冲突文字——关联两个reason子句,两个决策层; 普通决策(含隐含决策)文字——关联一个reason子句,一个决策层; 2.使用有向图建立蕴含图: (1)顶点为 ...
                            
                            
                                分类:
其他好文   时间:
2020-04-19 12:30:48   
                                阅读次数:
122
                             
                         
                    
                        
                            
                            
                                test_caseskip.py #coding:utf-8 import pytest myskip=pytest.mark.skipif(1==1,reason="skip") test_m1.py #coding:utf-8 import pytest from test_caseskip i ...
                            
                            
                                分类:
其他好文   时间:
2020-04-17 15:27:50   
                                阅读次数:
72
                             
                         
                    
                        
                            
                            
                                1、Mapper for [tags] conflicts with existing mapping in other types:\n[mapper [tags] is used by multiple types. Set update_all_types to true to update  ...
                            
                            
                                分类:
其他好文   时间:
2020-04-16 00:30:12   
                                阅读次数:
165
                             
                         
                    
                        
                            
                            
                                    # 下载了一个.tar.bz2结尾的压缩文件,# 使用tar -xjf解压,但是报错。 # 报错信息:# bzip2: Compressed file ends unexpectedly; # perhaps it is corrupted? *Possible* reason follows.#  ...
                            
                            
                                分类:
其他好文   时间:
2020-04-13 12:29:29   
                                阅读次数:
501
                             
                         
                    
                        
                            
                                
                                    爬虫5 scrapy框架2    全站爬取cnblogs, scarpy请求传参, 提高爬取效率, 下载中间件, 集成selenium, fake-useragent, 去重源码分析, 布隆过滤器, 分布式爬虫, java等语言概念补充, bilibili爬视频参考
                             
                            
                                    1 全站爬取cnblogs # 1 scrapy startproject cnblogs_crawl # 2 scrapy genspider cnblogs www.cnblogs.com 示例: # cnblogs_crawl/cnblogs_crawl/spiders/cnblogs.py  ...
                            
                            
                                分类:
编程语言   时间:
2020-04-13 01:13:46   
                                阅读次数:
117
                             
                         
                    
                        
                            
                            
                                    Motivation 动机 In this context, a responsibility is considered to be one reason to change. This principle states that if we have 2 reasons to change fo ...
                            
                            
                                分类:
其他好文   时间:
2020-04-12 22:18:34   
                                阅读次数:
93
                             
                         
                    
                        
                            
                            
                                解决: 'NSUnknownKeyException', reason: '[<ViewController 0x7fdf7048b200> setValue:forUndefinedKey:]: this class is not key value coding-compliant for th ...
                            
                            
                                分类:
其他好文   时间:
2020-04-01 00:45:25   
                                阅读次数:
52
                             
                         
                    
                        
                            
                            
                                这是进行之后工作的基础,要一个一个认识。 reason和message最重要。 2020-03-29T06:24:29Z default sahara-pc fb3006b9-ff20-48a7-8651-b419d2d2617f eventrouter-78cb89d979-7lxfg 5ffc3 ...
                            
                            
                                分类:
Web程序   时间:
2020-03-29 18:04:25   
                                阅读次数:
285
                             
                         
                    
                        
                            
                            
                                1. 内存异常circuit_breaking_exception 错误: Elasticsearch exception [type=circuit_breaking_exception, reason=[parent] Data too large, data for [<http_reques ...
                            
                            
                                分类:
其他好文   时间:
2020-03-28 19:57:45   
                                阅读次数:
519