- 博客(366)
- 收藏
- 关注
原创 数据结构内容
1、 基本概念逻辑结构、存储结构、算法及三者之间的关系算法的特征及设计目标了解算法时间、空间需求的大O表示法2、 向量、链表、栈、队向量(顺序表)、链表(静态链表、单链表、双向链表、循环链表)及相关算法栈、队,了解其应用,理解递归串及C语言中串的表示串的模式匹配算法了解多维数组的行优先和列优先的顺序存储了解特殊矩阵(如上、下三角矩阵)的一维数组存储3、 ...
2012-06-06 00:00:29
133
原创 16天7000dict
16天7000(第一天)必备 1. With my own ears I clearly heard the heart beat of the nuclear bomb. 我亲耳清楚地听到原子弹的心脏的跳动。 2. Next year the bearded bear will bear a dear baby in the rear. 明年,长胡子的熊将在后方产一头可爱的小崽. 3. Earl...
2012-05-06 16:08:12
5898
原创 计算机系统结构-简答
<一><二>1.什么是专用总线和非专用总线,列举他们各自的优点1.简述存储体系的概念,并说明典型的两级存储体系是什么?2.列举出(至少3个)替换算法2.什是程序的动态再定位?支持程序动态再定位的是什么寻址方法3.在流水机器中,全局性相关指的是什么?处理的方法有哪些3.现代...
2012-03-27 23:19:00
497
原创 选购笔记本
戴尔灵越14R-368Acer 4750G-2432G50Mnkk(540M/1GB独显 ) i5 - 2430M sundan:4500 (3800左右)Acer 4750G-2434G75Mnkk (2GB独显 4G内存)Acer 4750G-2332G75Mnkk sundan:3790
2011-12-18 02:01:16
101
原创 10-A. The Campaign for Election
Although presidential elections occur every 4 years, many people feel that they do not have a true understanding of how presidential campaigns operate.The winner in the November general election i...
2011-12-01 21:06:14
212
原创 09-A. Aging in European Countries
We have to realise how old, how very old, we are. Nations are classified as "aged" when they have 7 per cent or more of their people aged 65 or above, and by about 1970 every one of the advanced count...
2011-12-01 21:05:41
184
原创 08-A. Jet Lag: Prevention and Cure
The problem of Jet Lag is one every international traveller comes across at some time. But do you have to suffer? Understand what it is, and how a careful diet can minimize its worst effects, and your...
2011-12-01 21:05:06
156
原创 07-A. Leisure and Leadership
Observations and research findings indicate that people in advanced industrial societies are increasingly concerned with opportunities for leisure and what they can do in their leisure time. The impor...
2011-12-01 21:04:20
230
原创 06-A. Improving Industrial Efficiency through Robotics
Robots, becoming increasingly prevalent in factories and industrial plants throughout the developed world, are programmed and engineered to perform industrial tasks without human intervention.Most o...
2011-12-01 21:00:59
230
原创 icloud查找我的iphone,完美显示google地图
咱们的icloud一直是无法显示google地图的,开始以为就是和谐了,但为什么google在ie里就能直接打开呢,其实icloud用的就是google的地图。只要让dns能解析出google的地址就行了,做法很简单进入C:WindowsSystem32driversetc在host文件里加入如下地址#apple Google Map203.208.46.147 maps-api-ssl.goog...
2011-11-27 23:33:53
807
1
原创 05-The new music
The new music was built out of materials already in existence: blues, rock'n'roll, folk music. But although the forms remained, something completely new and original was made out of these older elemen...
2011-11-24 20:50:05
226
原创 04-A. Slavery on Our Doorstep
There are estimated to be more than 20,000 overseas domestic servants working in Britain (the exact figure is not known because the Home Office, the Government department that deals with this, does no...
2011-11-24 20:47:19
245
原创 03-A. Euthanasia: For and Against
"We mustn't delay any longer ... swallowing is difficult ... and breathing, that's also difficult. Those muscles are weakening too ... we mustn't delay any longer.”These were the words of Dutchman C...
2011-11-24 20:44:54
226
原创 02-A. Black Holes
What is a black hole? Well, it's difficult to answer this question, since the terms we would normally use to describe a scientific phenomenon are inadequate here. Astronomers and scientists think that...
2011-11-16 13:31:36
350
原创 《深入浅出 Java Concurrency》目录
J.U.C 整体认识原子操作 part 1 从AtomicInteger开始原子操作 part 2 数组、引用的原子操作原子操作 part 3 指令重排序与happens-before法则原子操作 part 4 CAS操作锁机制 part 1 Lock与ReentrantLock锁机制 part 2 AQS ...
2011-07-20 14:32:30
95
原创 Flex Label组件扩展边框与背景
由于Label控件没有borderStyle属性,也就是它不支持边框与背景图.所以我们可以通过扩展Label控件来实现边框与背景图!其他不支持边框或者背景的控件如:Text、Image用同样方法可以扩展它。下面运用到自定义Flex控件的[Style]元素标签。下表描述了[Style]元数据标签的属性:table { padding: 0px; margin: 0px; border-lef...
2011-07-19 14:31:52
96
原创 pureMVC简单示例及其原理讲解(用户的添加与删除)开篇
pureMVC是一个MVC框架,皆在最大限度的减少MVC间的耦合性。本人刚刚接触pureMVC时感到一头雾水,不知从何入手,也不知道从何学习。好在本人有耐性且能看懂英文技术文档,面向对象的编程能力也比较扎实。在这种背景下,终于悟出了pureMVC的原理,能够使用pureMVC进行开发。如果把pureMVC的领悟境界分为若干,我是处于最低境界(潜力很大啊)。好,闲话不说,言归正传。本示例是在理...
2011-07-08 18:59:31
252
原创 Flash网游开发经验和框架
★FLASH WEB GAME的前端架构与人事分工→前端的主程序架构和模块划分与人手和人事分工是紧密联系在一起的,而这些很大程度上又是由项目本身决定的。纵观现在国内绝大多数FLASH WEB GAME的规模和难度,我觉得前端AS人员大概需要2-7个之间,主程序有效代码一般不会超过10W行。在这种情况下,人事分工应当以功能和模块进行划分,尽量避免多人维护同一份代码,每个人各司其职,减少维护和协作的成...
2011-07-06 14:26:33
96
原创 html5-websocket聊天例子
http://html5demos.com/web-socket <!DOCTYPE html> <html lang="en"> <head> <meta charset=utf-8 /> <meta name="viewport" content="width=620" /&
2011-07-01 18:13:30
101
原创 Windows API所提供的功能可以归为七类
Windows API所提供的功能可以归为七类:[4]基础服务(Base Services)[5],提供对Windows系统可用的基础资源的访问接口。比如象:文件系统(file system)、外部设备(device)、,行程(process)、线程(thread)以及访问注册表(Windows registry)和错误处理机制(error handling)。这些功能接口位于,16位元...
2011-07-01 14:32:28
164
原创 C++入门学习清单
1. Bjarne Stroustrup的The Design and Evolution of C++(了解历史)2. Stanley B. Lippman的C++ Primer (基础好的看这个)3. Pike和Kernighan的The Practice of Programming (编程的注意事项)4. Bruce Eckel写的、候捷译的Thinking in C++ (半...
2011-06-30 16:29:58
134
原创 03-A. Euthanasia: For and Against 03-B. Advantage Unfair
03-A. Euthanasia: For and Against "We mustn't delay any longer ... swallowing is difficult ... and breathing, that's also difficult. Those muscles are weakening too ... we mustn't delay any longer...
2011-06-08 23:39:28
733
原创 02-A. Black Holes 02-B. Worlds within Worlds
02-A. Black Holes What is a black hole? Well, it's difficult to answer this question, since the terms we would normally use to describe a scientific phenomenon are inadequate here. Astronomers and...
2011-06-08 23:38:23
211
原创 01-A. What Is a Decision? 01-B. Secrets of Success at an Interview
01-A. What Is a Decision?A decision is a choice made from among alternative courses of action that are available. The purpose of making a decision is to establish and achieve organizational goals an...
2011-06-08 23:37:24
251
原创 Memcached内存分配优化及使用问题
前几天做了个Memcached的思考,并测试了一些数据,是关于如何提高Memcached内存使用率的问题。在启动memcached的时候可以加-f参数和-n参数。-f指定各slab里面chunk大小的变化比例,默认1.25,-n指定slab里面chunk大小从多少开始。使用memcache_add($memcache_obj, md5(rand()), str_repeat(md5(rand())...
2011-05-18 17:51:13
230
原创 如何监控MemCached的状态
使用MemCached以后,肯定希望知道cache的效果,对于MemCached的一些运行状态进行监控是必要的。MemCached也提供了stats接口输出一些信息,最简单的方式,就是telnet上去输入stats查看:telnet 127.0.0.1 11211Trying 127.0.0.1 ...Connected to memcache_test_host (127.0.0.1...
2011-05-16 11:39:53
217
原创 memcached优化使用
1、memcached开始支持多线程 2、使用自己的内存分配策略,而不是系统的malloc方法。目的减少内存碎片。 系统的malloc分配等尺寸的内存片,必将导致内存浪费,从而出现碎片。(题外话,这个分配方案可以作为操作系统的磁盘空间分配方案,现在windows系统使用等尺寸的最小单元存储,经常性产生碎片,磁盘利用率低)。 将内存切割为大小相等的slab,每个sl...
2011-05-16 11:07:56
131
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人