2020年12月20日

macOS下git svn出错

摘要: macOS下使用git SVN提示:Can't locate SVN/Core.pm in @INC。 我这里的情况是在升级了macOS Big Sur之后出现的,参考Stack Overflow上的答案,进行如下修改: 修改文件 /usr/local/Cellar/git/【version num 阅读全文

posted @ 2020-12-20 00:55 rainduck 阅读(287) 评论(0) 推荐(0) 编辑

2019年7月28日

为macos开启外接显示器hdpi分辨率

摘要: 安装了Switch RES,但是缺少当前显示器合适的HDPI分辨率的时候,可以参考这里,自动生成合适的配置文件。 https://comsysto.github.io/Display Override PropertyList File Parser and Generator with HiDPI 阅读全文

posted @ 2019-07-28 09:57 rainduck 阅读(1118) 评论(0) 推荐(0) 编辑

2019年7月27日

elasticsearch+kibana setup

摘要: 加载示例数据,设置index的时候出错: 提示 forbidden 则可能是es的问题,需要执行如下命令: 参考:https://www.elastic.co/guide/en/elasticsearch/reference/current/disk allocator.html 阅读全文

posted @ 2019-07-27 21:50 rainduck 阅读(231) 评论(0) 推荐(0) 编辑

2019年5月31日

术语

摘要: 概念漂移(concept drift) 背景:概念漂移指的是数据流中的潜在数据分布随时间发生不可预测的变化,使原有的分类器分类不准确或决策系统无法正确决策,常见于推荐系统、金融领域、决策等。 concept drift refers to unforeseeable changes in the u 阅读全文

posted @ 2019-05-31 11:15 rainduck 阅读(169) 评论(0) 推荐(0) 编辑

2017年1月4日

Markdown syntax guide and writing on MWeb

摘要: PhilosophyMarkdown is intended to be as easy-to-read and easy-to-write as is feasible.Readability, however, is emphasized above all else. A Markdown-formatted document should be publishable as-is, as ... 阅读全文

posted @ 2017-01-04 22:32 rainduck 阅读(246) 评论(0) 推荐(0) 编辑

2016年10月25日

python中的告警处理

摘要: 在Python中,遇到异常时,一类是直接抛出异常, ;另一类直接告警 . 对于后者,通常是打印一句话。前者则或中断程序执行。 考虑到避免由于告警导致后续的不可预知的错误,可以对warning进行异常处理。 1. 不让打印告警信息 2. 当异常处理,用except捕获。 详细处理方式 |Value| 阅读全文

posted @ 2016-10-25 09:55 rainduck 阅读(2449) 评论(0) 推荐(0) 编辑

2016年10月16日

无法连接 MKS: Login(username/password)incorrect

摘要: 升级到Vmware Workstation 12之后,客户端能连上虚拟机服务器,但却打不开共享的虚拟机,提示报错“无法连接 MKS: Login(username/password)incorrect”。 查了下,原来是监听的端口改了。用文本编辑器打开C:\ProgramData\VMware\VM 阅读全文

posted @ 2016-10-16 02:22 rainduck 阅读(2257) 评论(0) 推荐(0) 编辑

2016年9月27日

pandas中将timestamp转为datetime

摘要: 参考自:http://stackoverflow.com/questions/35312981/using pandas to datetime with timestamps 在pandas DataFrame中将timestamp转为datetime,关键要使用unit='s'。而不是ms、us 阅读全文

posted @ 2016-09-27 21:54 rainduck 阅读(19193) 评论(0) 推荐(2) 编辑

2016年9月26日

python中的时间转换

摘要: Python中的时间相关库有: 和 。 主要形式有: datetime timestamp 相互转换: timestamp datetime: datetime timestamp: 时间或日期的格式问题,可以使用strftime 涉及到时区等问题,参考: 1. python timestamp和d 阅读全文

posted @ 2016-09-26 15:58 rainduck 阅读(524) 评论(0) 推荐(0) 编辑

2016年4月23日

反汇编工具capstone安装后import error

摘要: 使用 后,使用如下代码import时出现error。 错误信息: 此时,应该是capstone的版本问题。只需要使用如下命令重新安装即可。 done. 阅读全文

posted @ 2016-04-23 14:56 rainduck 阅读(1297) 评论(0) 推荐(0) 编辑

导航