作者:传智播客Java教研部高级讲师 栾博
云计算、物联网是近几年IT界热议的两个词语。但是初入软件编程的应届毕业生经常将一些基本的概念混淆,从而将目光一直锁定在宽泛的概念层次,不能很好地找到这些热点与我们的学习内容有哪些联系。从而好高骛远,不能踏实地学习具体技术。我认为有必要在这里对这些概念做一个辨析,并以笔者参与的一个2009年的云计算项目HiService做一个简单的介绍...
分类:
其他好文 时间:
2014-06-16 12:48:13
阅读次数:
254
句柄类似于指向指针的指针
Windows系统中有许多内核对象,比如打开的文件、创建的线程、程序的窗口等等。这些重要的对象肯定不是4个字节或者8个字节足以完全描述的,它们拥有大量的属性。为了保存这样一个"对象"的状态,往往需要上百甚至上千字节的内存空间,那么怎么在程序间或程序内部的子过程(函数)之间传递这些数据呢?拖着这成百上千的字节拷贝来拷贝去吗?显然会浪费效率。那么怎么办?当然...
分类:
其他好文 时间:
2014-06-16 11:56:57
阅读次数:
192
当程序A在执行insert、update、delete时,通过getContext().getContentResolver().notifyChange(uri, observer)方法来告诉所有注册在该Uri的监听者数据发生改变
参数1uri:注册的uri
参数2observer:注册的监听者
/**
* 插入操作
*/
@Override
public Uri...
分类:
其他好文 时间:
2014-06-16 11:54:53
阅读次数:
204
题目
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
...
分类:
其他好文 时间:
2014-06-19 10:05:39
阅读次数:
278
---
name: CFRELEASE02
director_uuid: fdd46e30-f2c5-41dc-9662-0976fdac5716
releases:
- name: cf
version: 171
meta:
environment: null
stemcell:
name: bosh-vsphere-esxi-ubuntu
version: 23...
分类:
其他好文 时间:
2014-06-19 10:04:35
阅读次数:
292
ListView的上拉加载更多,下拉刷新数据。下拉刷新显示最近更新数据时间。...
分类:
其他好文 时间:
2014-06-19 10:47:45
阅读次数:
276
毕业后,一直断断续续地在做这个,腻了!
从傻瓜式的字段定义,到可视化设计。
页面效果还是一个样——丑!...
分类:
其他好文 时间:
2014-06-16 12:47:14
阅读次数:
186
【测试步骤】:
1、进入短信界面
2、菜单-设置
3、修改短信中心号码(Set the SIM's smsc number) 保存
【测试结果】:提示保存成功,但是号码没有改变,退出重新进入设置才会看到号码更新
【预期结果】:提示保存成功,号码变为修改过的号码
相关Activity:通过Logcat中I/ActivityManager( 896):我们可以定位到该类-Messag...
分类:
其他好文 时间:
2014-06-19 11:47:49
阅读次数:
315
题目
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
...
分类:
其他好文 时间:
2014-06-19 11:46:47
阅读次数:
277
I use the Elicpse IDE to develope the ansdroid app.Sometime encounter the messy code in the Elicpse
One solve method is that to fix the Ecicpse's enCoding setting:
click "Windows->Preference...
分类:
其他好文 时间:
2014-06-19 09:57:22
阅读次数:
211
题目
Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
For example, given the array [?2,1,?3,4,?1,2,1,?5,4],
the contiguous subarray [4,...
分类:
其他好文 时间:
2014-06-19 12:08:20
阅读次数:
270