自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Kevin的专栏

Coding makes the world richer.

  • 博客(193)
  • 资源 (8)
  • 收藏
  • 关注

原创 Xen has problems working with suspend to RAM (S3), and our solutions: KVM + Xen

I tested Xen v4.1 + Linux 3.2.0-68 in Ubuntu 12.04.  The same symptom. Suspend is okay, but resumes did not.

2014-10-10 12:38:54 1294

原创 Concepts: Core, Processor, CPU, Die, Package, and Logical Core

DefinitionsCores are just core units, meaning the basic compute unit inside the CPU. A core may also have its own caches.  One core, one thread.  A die is a continuous piece of semiconductor mater

2014-10-07 09:36:13 1534

原创 rr2640 + Xen 3.4 hangs at boot [SOLVED]

Finally, I have boot up the xen hypervisor with the Highpoint RocketRAID 2640x4 SAS/SATA controller card.  1.  compile the dom0 kernel with rr26xx module built in.  Or another way to say it,

2014-08-24 21:40:23 1042

原创 Migrating Mantis to a new server (And avoid the email sent failure problem)

1. install mantis in the new server:  sudo apt-get install  mantis2. visit the URL/mantis/www/install.php.  And set up all the password. to avoid issues, all passwords should remain the same.  3.

2014-08-24 03:40:06 984

原创 比较Xen和KVM

以下是我写的英文笔记。Summarizing all I learned from the web articles, I make a table as below:Xen’s strong points:1. Enter market earlier than kvm. Some big bugs, e.g., Amazon and Citrix are already usi

2014-07-24 10:23:32 860

原创 Install Lenovo E430c wireless driver in linux Mint

The default installation does not include wireless driver.  You have

2014-06-21 23:01:23 914

原创 系统架构学习日志2-Log structured vs Journaling File System

这篇日志的讨论主要是围绕以下两篇文章:

2014-05-23 07:01:22 2949

原创 系统架构学习日志1——内存管理、虚拟存储地址的概念

之前对内存管理理解得不太深刻,直到看了这篇文章 "The working set model for program behavior " by Peter Denning 后,对内存管理有了更深然后结合这本书 《Computer Systems A Programmer’s Perspective》P690 讲的内容,终于有点搞懂了 virtual memory 原来是这个概念。

2014-05-14 09:31:31 849

原创 移动计算最新科研成果评述(2013年12月)

这篇文章去年我在科学网发过一次,现在转来CSDN

2014-05-11 07:00:33 1707 1

原创 Direct Memory Access (DMA) 解析 以及 DMA 给Xen 虚拟化带来的挑战

这篇学习日志的信息主要来自wikipedia [2].  地址种类(address type)地址(address)有两种:1. on-card device memory (Linux documentation里叫它做 bus memory) (我不太确定在linux doc里的bus memory 是否指的是on-card memory)2. main memor

2014-05-07 10:06:44 2178

原创 中英组合的思维方式探讨

本文希望解决这样一个问题:对母语是中文、而日常使用英文很多的留学生来说,怎样组织自己的思维才是最有效的?要解决的问题包括用哪种语言来思考?问题陈述:1. 中英双语差别很大,不同思维方式转换需要时间,在短时间内从中文跳到英文需要耗时太长。2. 对已经掌握英文、能够用英文做最基本思考的留学生而言,如果还是用中文来思考,那么很有可能表达起来会有问题(也可能看个人习惯,能迅速做中英间口头转译的奇长...

2014-04-27 06:46:00 1063 1

原创 操作系统学习笔记——Mach, Monolithic kernel, Microkernels, Exokernel

Microkernel 在90年代初由CMU的系统研究组提出,在1991年的

2014-04-26 16:31:13 3870

原创 EuroSys'14 会议记录

4月12-16号,我在荷兰Amsterdam参加EuroSys会议,主要参加我老板负责的Doctoral Workshop,从中学到真的很多东西。

2014-04-26 03:52:41 2501

原创 Unix/Linux Shell: 除 "*.sh"后缀名以外,删除的当前所有文件和文件夹

In the current directory, how do we delete all the files and folders that do not end with ".sh" WARNING: This command will delete the NON-EMPTY folders.  Use it with scrutiny! find . -maxdepth 1  

2013-12-16 01:35:10 2294

原创 linux 内核编译笔记 (jettison, snowflock)

过去的三个月一直在接触和 linux kernel 相关的工作,具体是要在一台新服务器上跑一个基于xen上修改的系统。期间遇到了很多问题,我也没想到用了三个多月我也没有完全解决这些问题。这中间我一直都有用英语写下一些笔记,但觉得有必要用中文来总结反思一次,这样或许会更深刻。disclaimer: 这篇文章中一个自我总结,里面的很多技术问题都只我独有的,不担保你会遇到同时,这是基于这

2013-12-13 12:03:36 1237

原创 How to get the dmesg output in initramfs (debian)

I tried to install 2.6.18 kernel in my Debian 5.10, but it could not boot normally. It ended up in initramfs. There was something wrong with my SATA controller driver.  /root device cannot be detected

2013-12-13 01:12:35 980

原创 Apache2 Document Root (htdocs) in Ubuntu

OS: Ubuntu 13.04Apache2 version: Apache/2.2.22 (Ubuntu)My comments:I don't know why web develoeprs makes so complicated.  It took me quite a while to figure out the jargons what'Document roo

2013-12-09 04:32:54 1276

原创 Debian 5 (kernel 2.6.18) cannot boot from Supermicro X9SRL

Environment: Supermicro X9SRL server, which usesC600/X79 series chipset 6-Port SATA AHCI ControllerLinux OS to boot: Debian 5.10 (kernel 2.6.18)Error message:  ALERT! It could not find t

2013-12-05 23:25:19 1420

原创 就这么简单

泰国舍友Joe深夜1点提了两大袋鸡胸肉回到家,还分了我一袋最新鲜的,感动得我差点想跟他结拜。对嘛,生活就应该是这样子。把那些好玩的、感动的、正面的事都放在心上好了。世界太大,人容易迷路、撞墙、跌倒、孤单、失落,然后看见的世界全是灰暗。谁曾想过,此时笑得一脸灿烂有Joe,过去一年经历过离婚、对女儿日夜的思念、迷恋赌场又输得很惨、校车司机的职位被失业?那些不愉快的经历通

2013-07-30 23:58:10 1034

原创 买笔记本的“艰辛”

我买笔记本的事很搞笑。为何我要买新本呢?因为现用的笔记本是老板配的,答辩后就要还回给系里。所以一向做事很心急的我,天天在futureshop和bestbuy上看笔记本打折信息。futureshop那些店员应该会对我印象深刻,就是那位戴琥珀色厚框眼镜、嘴巴小小的亚裔男Tony,第二次看到我手提着华硕的笔记本箱走进futureshop门店口,他就开始皱眉了。我前后跟了近五趟fu

2013-07-30 14:22:44 1064

转载 【转】linux驱动程序开发环境配置

原文链接:http://hi.baidu.com/igtdqoihjhbacsq/item/9b937ad7c69d4311d78ed091我试过hzxing的这个方法,在我的64位 10.04的ubuntu上运行过,方法能行得通。 感谢hzxing!以下是文章正文********************************************hzxing101

2013-05-25 02:33:48 969

原创 奇葩青春

注:本文正好写于一年前,如今回看,我被从前那个晦涩又可爱的自己的感动了。先贴在这里,偶尔再回来感动一次。嗯,就这样。我刚来加拿大地时候爱喝Canadian beer, 因为举着这大号酒杯一口而尽的时候,我觉得自己酷得像个Canadian。可是昨晚在Kilkenny Irish Pub, 我却心血来潮,面对着那个上唇穿着铁环的Bartender,不假思索冲口而出:I  wan

2013-05-21 04:42:50 1292

原创 从社会文化角度看软件从业者——读ESEM 2012 paper 有感

最近在泛读软工的文章,看到以下一篇类似灌水的文章Challenges of Applying Ethnography to Study Software Practices by, Carol Passos (Federal University of Bahia)Daniela S. Cruzes (Norwegian University of Science and Te

2013-05-15 07:05:11 1105

原创 一份很好的linux kernel/ linux device development 的学习材料

http://free-electrons.com/doc/training/linux-kernel/slides.pdf这份PPT提纲挈领,而且给出了很多关键的步骤指点,对我的帮助很大。如果去啃那些大部头的书,容易陷于细节,花费时间会很多。相比之下,读这份PPT,比较简洁,上手也快。我只是担心光看PPT,底蕴还不够,还需亲自动手实践。

2013-05-15 00:19:34 1201

原创 软件构件 API 在不同版本间的兼容性——读FSE 2012 best paper有感

本文是我阅读以下论文时所作的笔记:Bradley E. Cossette and Robert J. Walker, Seeking the Ground Truth:A Retroactive Study on the Evolution and Migration of Software Libraries先沾点光,原来这篇文章是由我们卡大(U of Calgary)计

2013-05-14 12:48:27 1227

原创 在Ubuntu 虚拟机上下载&编译android

在Ubuntu 虚拟机上下载&编译android注意:1. 网上关于编译android kernel 的文章很多。找资料时,应尽量找官方的权威资料。如果是随便在网上找到的一份文章(包括我写的这份),有可能误导人,按照上面说的一步一步做,最后还可能是失败(因为机器不同,配置不同等等),浪费了时间和精力。因此,要找靠谱的资料,最好到官方的网站上找。总体来说,英文版的

2013-05-13 22:51:11 1410

原创 在 MS Excel 中做t-test时 Hypothesized Mean Difference 是什么意思

那个Hypothesized Mean Difference 在 excel 里是什么意思:http://pirate.shu.edu/~wachsmut/Teaching/MATH1101/Testing/test-diff-means.html如果我们把Hypothesized Mean Difference 设成0,那么 我们的实际假设就是Null Hypot

2013-04-18 08:28:20 6004

原创 INT $0x80 是在哪里被调用的

《Linux内核设计与实现(英文版·第3版)-华章经典原版书库》 第73页:int $0x80,  这是一个调用x86 的第128号中断,也就是一个system call handler. CPU 在执行这个指令以后,就会进入kernel mode,然后可以用各种kernel code了。问题:它在哪里调用的呢?我估计是在C wrapper (P74) 里有一个

2013-04-15 23:38:38 2034

原创 为什么会有data segment?

我有一个疑问,汇编里为什么会有data segment?为什么要把data segment和 code segment分开来?直接把指令和数据放在一起不好吗?维基上说:"A data segment is a portion of virtual address space of a program, which contains the global variables

2013-04-14 09:01:01 6953

原创 CPU为什么会有段?why segment/segmentation ?

CPU为什么会有段?像cs, ds, ss等等。这个问题困扰了我很久,感觉有了段地址后把问题复杂化了,没必要这么做。后来翻查资料后才发现,段(segment)的存在原来是有历史因素的:http://homepage.smc.edu/morgan_david/cs40/segmentation.htm以下是摘抄和个人见解“Vintage 1980 microcomputers used

2013-04-14 00:16:37 1396

原创 Windows 7 下如何自动设置静态ip、 网关等

参考网址:http://caoxuhuan.iteye.com/blog/973625 由于宿舍和实验室都要绑定机器的静态ip才能上网,频繁地在“网络与共享中心” 手动地改ip和网关,很麻烦,所以就想有一种自动化的方法来处理。最好的办就是桌面上有两个图标,双击任意一个就可以轻松完成网络配置。第一步,懂得那自动设置ip的原理. 要在cmd 下运行命令:

2013-03-21 09:08:31 2785

原创 《Unix环境高级编程》读书笔记(1)

#include "apue.h"int glob = 6; /* external variable in initialized data */char buf[] = "a write to stdout\n";intmain(void){int var; /* automatic variable on the stack */pid_t pid;var = 88;if

2013-03-17 00:13:39 997 1

原创 《unix环境高级编程》APUE 习题5.4 的解答

题目:5.4   下面的代码在一些机器上运行正确,而在另外一些机器运行时出错,解释问题所在。       #include              int main(void)       {              char c;              while((c = getchar()) != EOF)

2013-03-16 17:56:37 1407

转载 linux 文件系统里'挂载'的概念解读

原文节选自:http://blog.csdn.net/gongweijiao/article/details/8425629    我觉这篇文章讲得比较清晰,再截取它重要的一段来作个人解读注:蓝色是我个人批注/解读,红色是我标注的重点句子。以下是节选:挂载:Liunx采用树形的文件管理系统,也就是在Linux系统中,可以说已经没有分区的概念了。分区在Linu

2013-03-11 22:30:19 2186

原创 ubuntu linux 如何用命令行设置日期时间 date 和默认时区

首先设置日期就用 sudo date -s 17:17:00     超级用户才能有权限哦如果要改变时区,我想到了一个笨办法,就是修改~/.bashrc,  在里面适当的位置加一句TZ=CST; export TZTZ 是 time zone 的缩写;我把它改成了 CST , 就是中国所在的时区,然后把这个变量变成全局的,这时时区就改过来了。但这只是暂时改变而已,要想修

2013-03-11 17:17:17 3973

原创 Ubuntu从字符界面打开图形界面,别用startx

以下问题已经在Ubuntu论坛里提出过,原链接在这里:http://forum.ubuntu.org.cn/viewtopic.php?f=48&t=401953问题:我用的是Ubuntu 12.0.4,按照 http://blog.csdn.net/yuyin86/article/details/8255061 说的,我成功地把系统设置成开机默认进入字符界面。开机后,进入字符界面

2013-03-03 13:44:58 23993 5

原创 键盘输入EOF, 为何循环还不停止

在K&R的C语言教程里看到这段程序,关于输入字母计数的程序,如下:#includevoid main(){ long coff=0; while(getchar()!=EOF) coff++; printf("%ld\n",coff);}代码不复杂,只有在键盘输入EOF键时,循环才会结束。那么如何才能从键盘输入EOF呢?(我的编程环境是 window

2013-02-08 12:56:10 4807 2

原创 把chrome的界面语言改成英文

在设置->高级选项->语言,选了英语(加拿大),结果是“chrome无法用这种语言显示”。结果是选择添加了 英语(美国),注意,是美国才行,加拿大都不行,美帝的霸权再遭痛恨,然后让Chrome以这种语言显示。这才搞定。

2012-12-08 23:59:59 6476

原创 信息可视化的例子 (visualization example)

最近在上信息可视化(Information Visualization) 这门课,对信息可视化有些自己的思考。下面我写写个人的理解,及一些好的例子什么是信息可视化?个人大体感觉:就是画图,用一些图画去描述信息,把信息呈现在用户面前。我们多多少少都学过一点,中学数学教的直角坐标系,把一个个点A (3,2), B (5,6) 描在坐标系上,得出来的一幅画,那就是信息可视化的

2012-11-23 14:36:58 4803

原创 Microsoft Visual Studio 2010 Fatal Error C1853 的解决

问题是 在c++项目里编译 .c 文件造成的去项目 properties-> configuration properties->C/C++ -> Precompiled Headers, 右边第一行:选not using precompiled Headers.

2012-11-16 04:20:03 2771

托福OG(第三版) The.Official.Guide.to.the.TOEFL.iBT,Third.Edition

[托福官方指南第三版].The.Official.Guide.to.the.TOEFL.iBT,Third.Edition 托福OG(第三版)

2010-07-23

Concrete Mathematics

This book introduces the mathematics that supports advanced computer Programming and the analysis of algorithms. The primary aim of its well-known authors is to provide a solid and relevant base of mathematical skills--the skills needed to solve complex problems, to evaluate horrendous sums, and to discover subtle Patterns in data. It is an indispensable text and reference not only for computer scientists--the authors themselves rely heavily on it! but for serious users Of mathematics in virtually every discipline. Concrete mathematics is a blending of continuous and disCRETE mathematics: "More concretely," the authors explain, "it is the controlled manipulation of mathematical formulas,using a collection of techniques for solving problems." The subject mater is primarily an expansion of the Mathematical Preliminaries section in Knuth's c1assic Art of Computer Programming, but the style of presentation is more leisurely, and individual topics are covered more deeply. Several new topics have been added, and the most significant ideas have been traced to their historical roots. The book includes more than 500 exercises, divided into six categories. Complete answers are provided for all exercises, except research problems, making the book particularly valuable for self-study.  

2010-07-02

用Rational RequisitePro写用例规约(Use Case Specification)的心得

用Rational RequisitePro写用例规约(Use Case Specification)的心得

2009-11-11

Struts.The.Complete.Reference.2nd.Edition

McGraw.Hill.Struts.The.Complete.Reference.2nd.Edition.Dec.2006

2009-10-09

jsp文件上传下载模块

jsp文件上传下载模块 里面主要用到jspsmartupload组件

2009-05-03

jspsmartupload

jspsmartupload包. 08年12月更新的.

2009-05-03

软件工程师之路演示PPT

这是本人在岗位实践时做的一个演示PPT. 文件图文并茂,对怎样成为一个软件工程师有独到的思考.

2009-05-03

空空如也

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

TA关注的人

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