High Level Introduction to Python
概述
Python 诞生自 1991 年,现已在数据科学、Web 开发和软件测试等领域有非常广泛的应用。可能有两方面的原因促使 Python 如此成功,一个是语法简单易于上手,另一个是丰富的第三方扩展包 (Package)。
Python 诞生自 1991 年,现已在数据科学、Web 开发和软件测试等领域有非常广泛的应用。可能有两方面的原因促使 Python 如此成功,一个是语法简单易于上手,另一个是丰富的第三方扩展包 (Package)。
可缩放矢量图 (Scalable Vector Graph,以下简称 SVG),可以大大减小 Android app 中打包的图像资源大小,不用担心图片模糊的问题,很适合用于简单风格或者几何风格的图像。此外在 Android 中,SVG 极大的灵活性,远非其它 drawable 类型(shape,说的就是你)能比。
This post mentions elliptic curve for many times, check the post Elliptic curve cryptography basics for more information.
This is my first post about cryptography. Recently I learnt basics about public key encryption and the TLS handshake. But the key exhange in the TLS handshake inspected by Wireshark, i.e. ECDH(Elliptic-curve Diffie–Hellman) troubled me for a while. This this the first time I knew Elliptic curve. After some investigation, I’m recording those knowledges in case that I forget them.
最近的做的一项 feature 中,需要使用类似于 iOS 的 UIPickerView 的控件,功能是通过滚动 item 来选择其中一个,也就是下图这样的:
最近碰到一个 ANR 问题,拿到 traces 文件后,显示主线程的堆栈是下面这样的:
1 | at android.os.MessageQueue.nativePollOnce(Native method) |