- 军军小站|张军博客
搜索到与相关的文章
redis

redis源码笔记-adlist

adlist是redis自己是实现的一个通用的双向链表。------------------------------------------------adlist.h---------------------------------------------------#ifndef__ADLIST_H__#define__ADLIST_H__/*Node,List,andIteratoraretheonlydatastructuresusedcurren

系统 2019-08-12 01:32:58 2858

Python

Python去除异常数据——利用numpy求箱线图特征值

现在有这样一组数据,希望去除掉里面的异常数据。其中,异常数据可能比正常数据大也可能比正常数据小,可能是正的也可能是负的。数据为deg=[]importnumpyasnpif(True):#new_nums=list(set(deg))#剔除重复元素mean=np.mean(deg)var=np.var(deg)print("原始数据共",len(deg),"个\n",deg)'''foriinrange(len(deg)):print(deg[i],'→'

系统 2019-09-27 17:52:27 2857

Android

【android基础学习之八】——页面布局

声明:学习的书籍《Android应用开发揭秘》,这里记录学习该书籍的日志,引用的相关代码与总结描述,没有商业的用途,完全是自我学习的一个记录,刚刚学习不可避免会出现很多问题,若是有错误还请大家多多批评。2011-10-31晚,完成最后一篇Android的基础学习,关于界面一些常用布局;一、界面布局之线性布局(LinearLayout)之前的例子的学习已经多次使用到了LinearLayout这个布局控件,线性布局分为:(1)、垂直线性布局;(2)、水平线性布

系统 2019-08-29 22:25:53 2857

编程技术

chrome 41 空格

chrome41对半角空格的解析当做一个汉字宽度来处理了。导致很多网站出现异常。目前能想到的方法是删掉用来规范格式的空格。老版chromechrome41和讯网也有这种问题有更好的处理方法?chrome41空格

系统 2019-08-12 01:33:49 2857

各行各业

npp-installer - A script to install the popu

npp-installer-AscripttoinstallthepopularWin32editorNotepad++inLinux-GoogleProjectHostingThisisasimplepythonscriptwhichinstallNotepad++onDebian/Ubuntu(oranyotherdistrothatusesapt-get.)ThisprojectisnotassociatedwiththeNotepad++team.

系统 2019-08-12 01:33:19 2857

数据库相关

POJ 2586:Y2K Accounting Bug(贪心)

Y2KAccountingBugTimeLimit:1000MSMemoryLimit:65536KTotalSubmissions:10024Accepted:4990DescriptionAccountingforComputerMachinists(ACM)hassufferredfromtheY2KbugandlostsomevitaldataforpreparingannualreportforMSInc.Allwhattheyrememberi

系统 2019-08-12 01:32:45 2857

各行各业

10 Must-Know Topics for Software Architects

FromDionHinchcliffe'sBlogInthelastyearorso,afterquitealull,thesoftwarearchitecturebusinesshasgottenratherexcitingagain.We'refinallyseeingmajornewtopicsemergingintotheearlymainstreamthatarepotentialgame-changers,whileatthesametimea

系统 2019-08-12 01:32:13 2857

Python

资源整理 | 36个惊人的Python开源项目,都在这了

全文共2853字,预计学习时长8分钟或更长在构建应用程序时,开源项目非常有用。在比较了近5,000个开源Python项目后,本文整理了过去的一年中,在Github上平均标星数1667的前36个开源项目提供给大家!赶快收藏哟!NO.1(Github标星数:6639)Manim:解释数学视频的动画引擎·Manim是一个可以解释性数学视频的动画引擎。·可以使用Python来创建精确的2D动画。【python开发学习资料领取方式】:加入python技术学习交流群2

系统 2019-09-27 17:57:33 2856

ASP.NET

Sending E-Mails using ASP.NET

byFaisalKhan.OverviewInthistutorialwewilllearnhowtosende-mailsofbothtextandHTMLformatsusingclassesofSystem.Web.Mailnamespace.Beforedelvingintothesourcecode,I'llbrieflyexplaintheMailMessageandSmtpMailclasseswhichwe'llbeusingtosende

系统 2019-08-29 23:54:04 2856

编程技术

最新译作

经过数月时间持续努力,ProSpring中文版终于能得以与大家见面了。本书由Redsaga翻译小组(http://www.redsaga.com)负责完成。继H

系统 2019-08-29 23:51:54 2856