微服务 (Microservices) 是一种软件架构风格,它是以专注于单一责任与功能的小型功能区块 (Small Building Blocks) 为基础,利用模组化的方式组合出复杂的大型应用程序,各功能区块使用与语言无关 (Language-Independent/Language agnost ...
分类:
其他好文 时间:
2017-03-31 10:13:27
阅读次数:
313
I.To generate Gaussian noise Box-Muller:if random variable x and y are respectively independent generated from a uniform distribution with [0,1].we ca ...
分类:
其他好文 时间:
2017-03-25 20:10:41
阅读次数:
167
1. RAID在数据库存储上的应用 随着单块磁盘在数据安全、性能、容量上呈现出的局限,磁盘阵列(Redundant Arrays of Inexpensive/Independent Disks,RAID)出现了,RAID把多块独立的磁盘按不同的方式组合起来,形成一个磁盘组,以获得比单块磁盘更高的数 ...
分类:
其他好文 时间:
2017-03-23 12:22:31
阅读次数:
268
1.像素 因为浏览器不是根据硬件像素宽度工作的,而是根基DIPs工作的叫什么设备独立像素值,这个有个链接给你 (http://yunkus.com/physical-pixel-device-independent-pixels/) 2.DPR 设备像素比DPR(devicePixelRatio)是 ...
分类:
其他好文 时间:
2017-03-20 21:04:22
阅读次数:
299
[SPOJ8222]Substrings 试题描述 You are given a string S which consists of 250000 lowercase latin letters at most. We define F(x) as the maximal number of t ...
分类:
其他好文 时间:
2017-03-13 11:17:35
阅读次数:
210
dp==dip:设备独立像素 。(device independent pixels) dip是年迈的dp,已经退休,在比较老的代码中还可以看到dip。目前谷歌推荐用dp,在我们开发安卓程序的时候,除了字体之外,都推(强)荐(制)使用dp。 sp:比例像素。(scaled pixels ) sp一般 ...
分类:
移动开发 时间:
2017-03-07 22:38:58
阅读次数:
242
RAID是一个我们经常能见到的名词。但却因为很少能在实际环境中体验,所以很难对其原理 能有很清楚的认识和掌握。本文将对RAID技术进行介绍和总结,以期能尽量阐明其概念。 RAID全称为独立磁盘冗余阵列(Rdeundant Array of Independent Disks),基本思想就是把 多个相 ...
分类:
其他好文 时间:
2017-02-19 21:48:01
阅读次数:
208
1.设备独立像素(device-independent pixels (dips))设备独立像素(也叫密度无关像素),可以认为是计算机坐标系统中得一个点,这个点代表一个可以由程序使用的虚拟像素(比如: css像素),然后由相关系统转换为物理像素。所以说,物理像素和设备独立像素之间存在着一定的对应关系 ...
分类:
其他好文 时间:
2017-02-11 00:51:45
阅读次数:
201
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:
其他好文 时间:
2017-02-03 10:50:18
阅读次数:
149
A method is on an object. A function is independent of an object. For Java, there are only methods. For C, there are only functions. For C++ it would ...
分类:
其他好文 时间:
2017-02-02 23:45:19
阅读次数:
327