Android Studio 是一个新的基于 IntelliJ IDEA Android 的安卓开发环境,它对Eclipse ADT 进行了改进并新增了功能。FeatureAndroid StudioADTBuild systemGradleAntMaven-based build dependen...
分类:
移动开发 时间:
2014-08-05 18:25:30
阅读次数:
212
A method for garbage collection in a solid state drive (SSD) includes determining whether the SSD is idle by a garbage collection module of the SSD; b...
分类:
其他好文 时间:
2014-08-05 00:25:08
阅读次数:
283
Problem Description
In order to understand early civilizations, archaeologists often study texts written in ancient languages. One such language, used in Egypt more than 3000 years ago, is based on c...
分类:
其他好文 时间:
2014-08-04 11:03:57
阅读次数:
235
A method, a system, an apparatus, and a computer program product are presented for an authentication process. A host application or system within a di...
分类:
移动开发 时间:
2014-08-03 20:20:35
阅读次数:
453
下面假定已经学习过基本的socket编程(socket, bind, listen, accept, connect, recv, send, close),并且对异步/callback有基本的认识。基本的socket编程是阻塞/同步的,每个操作除非已经完成或者出错才会返回,这样对于每一个请求,要使...
分类:
其他好文 时间:
2014-07-31 16:05:26
阅读次数:
349
Midlife for many is a time of transition, a time of questioning and a time of change, not just physically, but emotionally and mentally. It’s when you...
分类:
其他好文 时间:
2014-07-31 02:18:35
阅读次数:
325
将近两年以前因为想选择一个兼顾TCP协议的可靠性和UDP协议的高效性来进行我们某种数据的传输曾经选择过UDT协议,也进行了一段时间的学习、实践。但最终由于不适合我们的业务场景放弃了它,但它的实现原理、代码实现、拓展使用的优秀给我留下了很深刻的印象,今天翻出自己曾经的一篇总结笔记来和大家一起回顾下UDT协议。
UDT协议是什么?是一种基于UDP的数据传输协议(UDP-based Dat...
分类:
其他好文 时间:
2014-07-29 14:40:48
阅读次数:
263
归并排序(merge sort)是一个时间复杂度为O(nlogn)的基于比较的排序算法(comparison based sorting algorithm)。 归并排序大多数实现(implementation)都将其实现成了一个stable sort, 所谓的stable sort的意思就是the implementation preserves the input order of equal...
分类:
编程语言 时间:
2014-07-28 15:55:43
阅读次数:
392
Greg A. writes,I enjoyed your post on how to not sort by average rating. I was wondering if you have any experience with sorting based on average vote...
分类:
其他好文 时间:
2014-07-28 15:13:13
阅读次数:
261
关于系统调用的基本原理,请参阅另一篇文章,本文的主要目标是从内核源代码的角度来学习一下系统调用在底层的内核中是如何实现的
分类:
系统相关 时间:
2014-07-28 11:36:20
阅读次数:
377