I read this book in the weekend, and decided to put the book on my nightstand. It's a short and funny book, clear insight and good stories, strongly recommend entry even senior engineers to read it. Introduction This book tells you how to find out wh…
推荐序1 12条定律,让大脑更聪明推荐序2 走过迷雾地带前  言 人人都有一个不可思议的大脑 定律1:越运动,大脑越聪明 信不信,“驴友”比“沙发土豆”更聪明! 老板,请把办公室的咖啡机换成跑步机! 每周两次有氧运动,跟老年痴呆说Bye Bye! 定律2:大脑一直在进化 人类战胜了猛犸象,因为我们的祖先选择了给大脑增加神经元,而不是为骨骼增加肌肉. 人类战胜了大猩猩,因为我们看到五边形,能想到五角大楼或克莱斯勒的面包车. 人类战胜了大自然,因为我们不但有“蜥蜴脑”“家猫脑”,还有像果子冻一样滑溜…
https://blogs.msdn.microsoft.com/debuggingtoolbox/2007/06/08/recommended-books-how-to-acquire-or-improve-debugging-skills/ This article is my answer for this comment. First of all, this is just my opinion, not Microsoft’s opinion. Before talking abou…
http://blogs.msdn.com/b/debuggingtoolbox/archive/2007/06/08/recommended-books-how-to-acquire-or-improve-debugging-skills.aspx This article is my answer for this comment. First of all, this is just my opinion, not Microsoft’s opinion. Before talking a…
Sound card based RFID sniffer/emulator (Too tired after recon.cx to do draw the schematics better than that :) Stay tuned for the next version including Tag emulation.) baudline FFT signal analyzer for sniffing LF RFID tags using our sound card based…
微软近期Open的职位: SDE2 (Windows - Audio) Windows Partner Enablement team in Operating System Group is looking for a Software Development Engineer (SDE) in Shanghai to enable components for Windows mobile devices on Intel platform. As the SDE, you will hav…
微软近期Open的职位: SDE2 (Windows - Power) Windows Partner Enablement team in Operating System Group is looking for a Software Development Engineer (SDE) in Shanghai to enable components for Windows mobile devices on Intel platform. As the SDE, you will hav…
微软近期Open的职位: SDE2 (Windows driver) Job title: Software Development Engineer 2 Location: Shanghai, China Do you want to join Microsoft and work on the latest Windows devices? Do you want to impact hundreds of millions of Windows customers together wit…
对于playback snd_pcm_begin snd_pcm_commit, 貌似 commit给的frame才会使得alsa去把数据填充 转自 http://magodo.github.io/ Zhaoting's Blog About ALSA - PCM接口 Apr 14, 2016 Table of Content 0. PCM 1. 概述 1.1 PCM设备的两种类型 1.2 PCM设备和ALSA应用的ring buffer 1.2.1 ring buffer - 单位(perio…
MapReduce Tutorial(个人指导) Purpose(目的) Prerequisites(必备条件) Overview(综述) Inputs and Outputs(输入输出) MapReduce - User Interfaces(用户接口) Payload(有效负载) Mapper Reducer Partitioner Counter Job Configuration(作业配置) Task Execution & Environment(任务执行和环境) Memory Man…
1. perf perf 是一个调查 Linux 中各种性能问题的有力工具. NAME perf - Performance analysis tools for Linux SYNOPSIS perf [--version] [--help] COMMAND [ARGS] DESCRIPTION Performance counters for Linux are a new kernel-based subsystem that provide a framework for all thi…
在Linux中,给kernel传递参数以控制其行为总共有三种方法: 1.build kernel之时的各个configuration选项. 2.当kernel启动之时,可以参数在kernel被GRUB或LILO等启动程序调用之时传递给kernel. 3.在kernel运行时,修改/proc或/sys目录下的文件. 这里我简单讲的就是第二种方式了,kernel在grub中配置的启动参数. 首先,kernel有哪些参数呢? 在linux的源代码中,有这样的一个文档Documentation/kern…
Code maturity level options代码成熟度选项 Prompt for development and/or incomplete code/drivers 显示尚在开发中或尚未完成的代码与驱动.除非你是测试人员或者开发者,否则请勿选择 General setup常规设置 Local version - append to kernel release 在内核版本后面加上自定义的版本字符串(小于64字符),可以用"uname -a"命令看到 Automaticall…
从2.6.31内核开始,linux内核自带了一个性能分析工具perf,能够进行函数级与指令级的热点查找. perf Performance analysis tools for Linux. Performance counters for Linux are a new kernel-based subsystem that provide a framework for all things performance analysis. It covers hardware level (CP…
事务(transactions) Console(控制台) 1 Introduction Modsecurity是保护网络应用安全的工作.不,从零开始.我常称modsecurity为WAF(网络应用防火墙),这是种被广泛接受的叫法,它指的是为保护网络应用而专门设计的产品族.也有些时候我称它为HTTP入侵检测工具,我认为这个称呼更好的描述了modsecurity做了什么. Understanding ModSecurity 像Apache为其他模块所做的一样,Apache为modsecurity处…
1.带宽测试   在server端执行 [ibtests]# ib_send_bw -a -c UD -d mlx4_0 -i 1 ------------------------------------------------------------------ Send BW Test Connection type : UD Inline data is used up to 1 bytes message local address: LID 0x0b, QPN 0x28004c, PS…
Linux下的内核测试工具——perf使用简介 系统级性能分析工具 — Perf linux perf - 性能测试和优化工具:示例&应用 从2.6.31内核开始,linux内核自带了一个性能分析工具perf,能够进行函数级与指令级的热点查找. 介绍: Perf是内置于Linux内核源码树中的性能剖析(profiling)工具.是Linux kernel自带的系统性能优化工具 它基于事件采样原理,以性能事件为基础,支持针对处理器相关性能指标与操作系统相关性能指标的性能剖析. 常用于性能瓶颈的查找…
转自:http://blog.csdn.net/gaoyuanlinkconcept/article/details/8810468 介绍make menuconfig中的每个选项含义 Linux 2.6.19.x 内核编译配置选项简介作者:金步国 版权声明本文作者是一位自由软件爱好者,所以本文虽然不是软件,但是本着 GPL 的精神发布.任何人都可以自由使用.转载.复制和再分发,但必须保留作者署名,亦不得对声明中的任何条款作任何形式的修改,也不得附加任何其它条件.您可以自由链接.下载.传播此文档…
HowTo Install redhat package with YUM command without RHN February 26, 2014 in Redhat / Linux Tips and TricksTags: build local repository, build redhat local repository, HowTo Install redhat package with YUM command without RHN, This system is not re…
https://github.com/ethereumjs/ethereumjs-vm/blob/master/docs/index.md vm.runBlockchain Processes blocks and adds them to the blockchain 处理区块并将其添加到区块链中 Parameters输入参数 blockchain Blockchain A blockchain that to process 一个处理的区块链 cb Function the callback…
原文网址:http://www.cnblogs.com/kulin/archive/2013/01/04/linux-core.html Linux内核裁减 (1)安装新内核: i)将新内核copy到/usr/src下, #tar xzvf linux-2.6.38.4.tar.gz -----解压缩. ii) 将名为linux的符号链接删掉,这是旧版本内核的符号链接. #ln -s linux-2.6.38.4 linux ------建立linux-2.6.38.4的符号链接linux. (…
转自:http://my.oschina.net/u/1388024/blog/186886#OSC_h1_9 目录[-] Fiddler是什么? Fiddler能做什么? 从哪里下载? 安装: 初次使用设置: 让手机连接到Fiddler: 开始使用: 重定向: 断点: [模拟低网速] 附:chrome 的JSON 插件 Fiddler是什么? Fiddler是一个http调试代理,它能够记录并检查所有你的电脑和互联网之间的http通讯,设置断点,查看Fiddle 所有的"进出"的数据…
使用ViewStub动态载入布局.避免一些不常常的视图长期握住引用: ViewStub的一些特点: 1. ViewStub仅仅能Inflate一次,之后ViewStub对象被置空:某个被ViewStub指定的布局被Inflate后,就不会够再通过ViewStub来控制它了. 2. ViewStub仅仅能用来Inflate一个布局文件,而不是某个详细的View.当然也能够把View写在某个布局文件里. 基于以上的特点.那么能够考虑使用ViewStub的情况有: 1. 在程序的运行期间,某个布局在I…
1. compatible节点: qpnp-vm-bms.c使用来控制电池曲线的和BMS功能的,其compatible节点是"qcom,qpnp-vm-bms" 2. probe函数: qpnp_vm_bms_probe函数如下: static int qpnp_vm_bms_probe(struct spmi_device *spmi) { struct qpnp_bms_chip *chip; struct device_node *revid_dev_node; int rc,…
转自:https://blog.csdn.net/zhangskd/article/details/37902159 版权声明:本文为博主原创文章,转载请注明出处. https://blog.csdn.net/zhangskd/article/details/37902159从2.6.31内核开始,linux内核自带了一个性能分析工具perf,能够进行函数级与指令级的热点查找. perf Performance analysis tools for Linux. Performance coun…
strace介绍及用途 strace是一个用于诊断,分析linux用户态进程的工具 类似的工具pstrace,lsof,gdb,pstrack strace观察mysqld对my.cnf 配置文件的加载顺序 命令如下:strace -T -tt -s 100 -o start.log /usr/local/mysql/bin/mysqld #  cat -n start.log |sed -n '152,165p'   152  03:43:41.399411 futex(0x7fb060f05…
perf 是一个调查 Linux 中各种性能问题的有力工具. # perf --help  usage: perf [--version] [--help] COMMAND [ARGS]  The most commonly used perf commands are:   annotate        Read perf.data (created by perf record) and display annotated code   archive         Create arc…
week9: 查找论文的情况 1.*(reference) title:Improving Performance and Capacity of Flash Storage Devices by Exploiting Heterogeneity of MLC Flash Memory author:Sungjin Lee ; Jihong Kim from:IEEE TRANSACTIONS ON COMPUTERS content: (1)A MLC NAND flash memory, e…
原文链接,大部分是机器翻译,仅做了小部分修改.英.中文对照,看不懂的看英文. Data binding overview in WPF 2019/09/19 Data binding in Windows Presentation Foundation (WPF) provides a simple and consistent way for apps to present and interact with data. Elements can be bound to data from a…
在OpenShift平台上验证NVIDIA DGX系统的分布式多节点自动驾驶AI训练 自动驾驶汽车的深度神经网络(DNN)开发是一项艰巨的工作.本文验证了DGX多节点,多GPU,分布式训练在DXC机器人驱动环境中运行. 还使用了一个机器人学习平台来驱动深度学习(11.3)的工作负载.目前,OpenShift 3.11已部署在许多大型GPU加速的自动驾驶(AD)开发和测试环境中.这里显示的方法同样适用于新的OpenShift版本,并且可以转移到其他基于OpenShift的集群中. DXC Robo…