自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 资源 (1)
  • 收藏
  • 关注

原创 Reminder: how to fix debug issue of vs

vs debug service is enabled by mdm serviceif you encounter this issue, just start it by: "C:/Program Files/Common Files/Microsoft Shared/VS7Debug/mdm.exe" /regserver

2010-05-10 11:30:00 1226

原创 Reminder: how to fix winxp search bug

 This can affect the performance of the search functionality.  To do this:Click Start, and then click Search (or point to Search, and then click For Files or Folders).Click Change prefer

2010-05-10 11:23:00 1496

转载 Big endian Little endian

On big endian machines, the most significant byte of an object in memory is stored at the least signicant (closest to zero) address (assuming pointers are unsigned). Conversely, on little endian mac

2010-03-26 11:40:00 1245

原创 OpenSource License completion : Degrees of freedom

Degrees of freedom:  MIT == BSD --> Apache v2.0 --> LGPL --> GPL Reference from WiKi: difference between LGPL and GPL: The main difference between the LGPL and the GPL is that the former c

2009-09-09 16:00:00 1211

原创 兼容Android平台的JNI调用

Android中头文件路径和AttachCurrentThread声明的参数不同: 在javah 生成的头文件中添加: #ifdef _ANDROID_MK #include "nativehelper/jni.h" #define AttachCurrentThread(a, b) AttachCurrentThread((JNIEnv**) a, b)#endi

2009-09-09 14:48:00 1586

原创 implicit conversion of (cl & gcc & g++)

implicit conversion from void* to xxx*  cl & gcc : allowedg++      : not allowed so we can use gcc to compile , and dont forget to link with -lstdc++if there is cpp file.

2009-09-09 08:46:00 1171

原创 上传文件中断: send返回10035

部门的一同事维护一个mobile项目的上传模块,测试该模块时发现在上传大文时很容易失败,但是在上传线程中加上log输出就不太容易复现, 我看了下代码,让同事把log改用轻量级的outputdebugstring,发现一处封装的send函数没调用成功,而且没判断返回值,由于是非阻塞方式发送而且一次发送数据较大(4K),导致OS send buffer消化不量。  10035 --

2009-07-31 13:46:00 2363

原创 选择httplib2

相对于python自带库 httplib2 有以下优点:py2.6 和 py3 都有对应版本提供: http://code.google.com/p/httplib2/ 1. Caching 对Cache-Control: 的识别.2. 对Last-Modified的处理 和cache相关的一个头. 3. ETags的处理 内容的hash-key头的支持.

2009-07-31 13:32:00 1406

原创 Android权限问题导致的系统调用bug

昨天移植linux上的程序到android emulator上top后发现cpu占用特别高。strace后发现循环调用SYS_282 (某参数随机生成): SYS_282(0xffffffff, 0xbea0866c, 0x10, 0xd9, 0xe0d9) = -1 EBADF (Bad file descriptor) 查找$ANDROID/bionic/libc/kern

2009-06-18 13:47:00 1612

原创 数学历史感悟一

数学研究的特性: 1)抽象性 使其独立于物,应用时有普遍适用性.2)精确性 使用无限大集合 从而映射到时间上具有跨越时间的能力,即可以预测未来也可回溯过去. 数学的发展是发现矛盾突破矛盾的过程.1)用勾股定理求等边三角形斜边--发现无理数2)对欧式几何第五公理的推演(第一次数学危机)--认识到数学系统的存在是基于假设而非真理不同的假设组成的符合形式逻辑的系统都是正确的,

2008-10-31 17:02:00 1204

Android 内核 S3C 6400 6410 移植 .pdf

S3C6400/6410 移植Android内核 详细过程

2010-01-28

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除