Android Reliability

稳定 顾名思义 指的是系统以及应用正常工作的状态,但由于各种原因系统或者应用工作在不正常的状态,例如应用卡顿,闪退,系统卡死黑屏乃至重启。关于稳定性工作,一般也就分成两个方面 1.定位增强–如何能够尽快正向解决问题 2.容错恢复设计–在问题发生时如何能尽量减少异常的时间这两个方面在原生系统(谷歌aosp)中已经有着不少体现。并且这两个方面应该说是相辅相成的。如在应用anr时会有anr日志,同时提示用户等待或者停止应用,再如w

Read More...

Decentralization in Bitcoin

Problems to be solved Who maintains the ledger of transactions? Who has authority over which transactions are valid? Who creates new bitcoins? General Distributed consensusThere are n nodes that each have an input value

Read More...

simple cryptography tools in blockchain

Hash Functiontakes any string as inputfixed-sized output(usually 256 bits)efficiently computable security properties:collision-freehidingpuzzle-friendly SHA-256 Hash Pointer Merkle Tree Digital signature schemeOnly you c

Read More...

从Systrace学习binder kernel 调用过程

一.Systrace简介从目前使用看来,Systrace主要包含两个部分:1.手机中Systrace日志打印框架2.Chrome或其他日志解析工具,能够将上述生成的日志解析成可视化的图形其精度可以达到ns 每年的GoogleI/O好像都有提及这个方便的工具,具体的用法的官方教程如下:视频:https://www.youtube.com/watch?v=Qfo5fdoXrTU&index=10&list=PLWz5rJ2E

Read More...

Build Angler On New MacOs

Build angler on MacOSSet Proxy to Shadowsocks (not necessary)export http_proxy=socks5://127.0.0.1:1080export https_proxy=socks5://127.0.0.1:1080 Instructions https://wiki.cyanogenmod.org/w/Build_for_angler Hostshttps://l

Read More...