• 博客(33)
  • 资源 (2)
  • 收藏
  • 关注

原创 关于共指消解中特征的选取和计算

Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <!-- /* Font

2008-09-08 17:11:00 1574

原创 Observer Pattern (in JAVA)

 Definition-define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically.Advantage:1.       loosely couple

2007-11-27 16:56:00 1048

原创 性能测试过程简述

1 明确性能测试目标a. 分析性能需求,区别于功能测试需求,可能为可服务性(可靠性)或吞吐量等 b. 结合系统(包括软硬件、系统、外围设备等形成的一个系统)特点和需求,分析制订切合系统特点的符合实际的性能指标影响系统性能的因素包括系统使用的硬件、操作系统、上层业务软件及周边的相关设备(如交换机、存储服务器等),了解这些部件的性能指标,从大概推知理论上整个系统性能指标和瓶颈,具体测试

2012-07-08 10:22:48 788

原创 华为三营培训第一日有感

来到华为已经三个月了,曾经意气风发,现如今悲苦旋绕,转部门失败了,考虑到这是我的第一份工作,只好接受现在的角色先把工作做好。当正要把我的全部精力投入到新工作的时候(IMS R8开工了),令人厌恶的三营培训又来了。今天一整天,跟想像中的一样,充斥吹牛与扯皮,谎言与欺诈。我十分认同公司对于文化的传承的期望,我也乐意成为这样人;但,我很讨厌常常在一个词上纠缠不清,常常引发许多人一段段美文修释,现场确实很

2009-10-27 22:56:00 3869

原创 词法、句法、语法、语义关系和非正式化定义


2009-06-13 21:09:00 3181

转载 用dom4j建立,修改XML文档,并解决格式化输出和中文

public XMLWriter(OutputStream out) throws UnsupportedEncodingException { //System.out.println("In OutputStream"); this.format = DEFAULT_FORMAT; this.writer

2008-07-02 14:49:00 1488 1

转载 VC++中CTime类format的使用

CTime类format的使用                 使用CTime类可以很方便地取得当前系统时间并转换为各种格式        The format argument consists of one or more codes; as in p

2008-04-29 15:10:00 6214 1

转载 VC++画箭头

http://www.j2megame.org/wupei/blog.php/myblog/vc/2008/01/11/arrow-in-mfc                     CPen pen(nPenStyle,nWidth,crColor);    CPoint second,third;    CPen* pOldPen=dc.SelectObject(&pen);    

2008-04-29 15:08:00 2336

转载 How to disable Toolbar button?

MFC has an unobvious way to do this. Create a BOOL member variable that holds the enable/disable desired state. When you want to change the state you set the variable, but do not call any toolbar func

2008-04-25 22:27:00 851

原创 C#:C#的多线程机制探索


2008-04-07 15:07:00 718

原创 C#:如何动态调用WebService?


2008-04-07 00:30:00 726

原创 C#:Cryptography in .NET

http://www.developer.com/net/net/article.php/1548761 The focus of this months article will be on encrypting data using the cryptography classes available through the Microsoft .NET Framework. Provi

2008-04-07 00:27:00 1644

原创 JAVA:Parsing, Modifying, and outputting XML Documents with Java

I have been doing a lot of XML parsing, and manipulation in java lately because I'm building a super dynamic configuration editor for XMS. Its going to be pretty cool once its done because you can even configure third party modules with it. Anyways I thoug

2008-04-07 00:23:00 689

原创 RSA Encryption in C#

What is Encryption?Encryption is the process of converting a string of characters into another such that the original characters cannot be deciphered upon examination. This process is performed with t

2008-04-07 00:19:00 1969

原创 JAVA-近日遇到的java的日期时间类型的几个问题总结

每次一想到要用java的日期就巨头大。:( 特意总结一下:(以后再慢慢补充了,我就不信了,一个日期时间我搞不定你了,小样儿的。) 1、由java.util.Date类型得到long型表示时间的秒数java.util.Date dt = new Date();System.out.println(dt.toString());   //java.util.Date的含义long lS

2008-04-07 00:16:00 1803

翻译 Proxy Pattern

Definition-Provide a surrogate or placeholder for another object to control access to it. Proxy    maintains a reference that lets the proxy access the real subject. Proxy may

2007-12-02 17:50:00 1490

原创 State Pattern

Definition-Allow an object to alter its behavior when its internal state changes. The object will appear to change its class.//UML Class DiagramWhen to use?• Suppose an object is always in o

2007-12-02 15:23:00 1163

原创 Iterator and Composite Pattern

IteratorDefinition-Provide a way to access the elements of an aggregate object equentially without exposing its underlying representation.Composite PatternDefinition-Compose objects into tre

2007-12-02 11:14:00 2237

原创 Template Method Pattern

Template Method PatternDefinition-Define the skeleton of an algorithm in an operation, deferring some steps to subclasses. Template Method lets subclasses redefine certain steps of an algorithm with

2007-12-02 00:48:00 816

原创 Façade Pattern

 Façade PatternDefinition-Provides a unified interface to a set of interfaces in subsystem. Façade defines a higher-level interface that makes the subsystem easier to use.Why use it?When clien

2007-11-30 14:38:00 938

原创 Adapter Pattern

Adapter PatternDefinition-Converts the interface of a class into another interface clients expect. Lets classes work together that couldn’t otherwise because of incompatible interfaces.How to use?

2007-11-30 14:08:00 772

原创 Command Pattern

Command PatternDefinition-encapsulates a request as an object, thereby letting you parameterize other objects with different request, queue or log requests, and support undoable.Example: If u

2007-11-30 00:54:00 602

原创 Singleton Pattern

 Singleton PatternDefinition-ensures a class has only one instance, and provide a global point of access it.Problem:There are many objects we only need one of: thread pools, caches, dialog box

2007-11-29 17:25:00 642

原创 Factory Pattern

Factory PatternAbstract Factory-Provide an interface for creating families of related or dependent objects without specifying their concrete class. Factory Method-Define an interface for creatin

2007-11-28 00:12:00 703

原创 Strategy Pattern

Definition-defines a family of algorithms, encapsulate each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.Key points: separate differen

2007-11-27 19:28:00 907

转载 Lock,Moniter,Mutex.How to use it

一.多线程的概念  Windows是一个多任务的系统,如果你使用的是windows 2000及 其以上版本,你可以通过任务管理器查看当前系统运行的程序和进程。什么是进程呢?当一个程序开始运行时,它就是一个进程,进程所指包括运行中的程序和程序 所使用到的内存和系统资源。而一个进程又是由多个线程所组成的,线程是程序中的一个执行流,每个线程都有自己的专有寄存器(栈指针、程序计数器等),但代码区是共享的,

2007-09-16 21:31:00 1111

转载 AutoResetEvent.How to use it

AutoResetEvent类:通知正在等待的线程已发生事件,允许线程通过发信号互相通信。通常,此通信涉及线程需要独占访问的资源。             class   MyMainClass             {                     //Initially   not   signaled.                 const   int   numItera

2007-09-16 21:28:00 709

原创 这七句话被中国人误传了数千年(转载)

  在中国崇尚权威的文化氛围中,名人名言占的地位是很重的,很多名家说的话,往往被人民当成指导自己人生观世界观的不二准则,但这些几千年流传下来的名言中,也有一些话被人刻意或无知地曲解,背离了话语者本身的意旨与初衷,迷惑了天下万千受众。影不才,试举数例解析一二,以还世情真相与大众……好了我再文诌诌地说话大家估计要扔鸡蛋,虚荣心也满足了,下面开始举例开讲。        1、以德抱怨        原句

2007-07-11 21:52:00 951

原创 C#执行SQL存储过程返回表

参考参考:/* 创建一个名为Get的储存过程先定义两个参数 ,其中@count为输出参数sql语句中 第一句返回该表所有内容, 第二句 返回表的行数,并把值赋给输出参数*/CREATE PROCEDURE [Get] @name varchar (50), @count int output ASSELECT * FROM Table1 SELECT @count=COUNT(*) FROM Ta

2007-06-22 12:43:00 4872

原创 response.write 结果为乱码即???或者表单中按钮上的文字为??

解决方法在asp页面前加上以下两句:%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>

2007-05-16 09:32:00 1625

转载 C# 调用声音文件,包括API函数和调用VisualBasic(vs2003)函数

Visual Basic Beep()1.使用Visual Basic Beep函数;添加引用 Miscorsoft Visual Basic Runtime  2.调用 Interaction.Beep();使用MessageBeep(unit uType):需添加 using System.Runtime.InteropServices;public const int M

2007-03-29 20:30:00 1174


ODBC(Open Database Connectivity,开放数据库互连)是微软公司开放服务结构(WOSA,Windows Open Services Architecture)中有关数据库的一个组成部分,它建立了一组规范,并提供了一组对数据库访问的标准API(应用程序编程接口)。这些API利用SQL来完成其大部分任务。ODBC本身也提供了对SQL语言的支持,用户可以直接将SQL语句送给OD

2007-03-19 12:58:00 1660

转载 安装程序自动打包.net Framework、MDAC

1、要想在做安装程序的时候自动把.net Framework、MDAC等打包到你的安装程序里,首先得下载Microsoft Visual Studio .NET 2003 引导程序插件 地址:http://www.microsoft.com/downloads/details.aspx?FamilyID=627921a0-d9e7-43d6-a293-72f9c370bd19&DisplayL

2007-03-19 10:10:00 1833








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


取消 删除