ITeye博客

2008 年文章归档

共 206 篇文章

Visual Studio 2008 每日提示(十九)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-31 00:39

管道的故事

管道的故事 周末读完了《管道的故事》,虽然这是一本理财方面的书籍,但是书中的一些观点还是值的我们深思,有点感触,记录一下。 很多年前,意大利中部的一个小山谷,有二位名叫柏波罗和布鲁诺的年轻人,他们是堂兄弟,雄心勃勃,渴望有一天通过某种途径成为村里最富有的人。 一天, 机会来了,村里决定雇两个人把附近河里的水运到村广场的水缸里去。这份工作交给了柏波罗和布鲁诺。两个人都抓起两只水桶奔向河边。一天结束后,他们把镇 上的水缸都装满了。村里的长辈按每桶一分钱的价钱付钱给他们。布鲁诺很开心,认为找到了金饭碗,但是柏波罗却高兴不起来,提一天水下来,他的背又酸又痛,提那重重的大桶的手也起了泡,他想找到更好的…

2008-12-30 23:04

Visual Studio 2008 每日提示(十七)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-30 00:40

Visual Studio 2008 每日提示(十八)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-29 09:10

OpenJWeb快速开发平台数据库设计(一)(Oracle)

/** TABLE_NO:0010 * TABLE_NAME:序列号信息表(COMM_CONFIG) * TABLE DESC:为保证序列号生成与数据库无关,本系统单独建表存储不同序列号的当前值。本表只存储一条记录 * AUTHOR:王保政 * DATE:2008-12-18 **/ CREATE TABLE COMM_CONFIG -- 序列号信息表 ( ROW_ID VARCHAR2(40) NOT NULL ENABLE PRIMARY KEY, --记录唯一ID,此ID值在记录生成后不做修改 NEXT_SEQ NUMBER DEFAULT 1 NOT NULL --下一序列值 ); …

2008-12-28 14:36

Visual Studio 2008 每日提示(十六)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-26 02:28

Visual Studio 2008 每日提示(十五)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-25 00:48

Visual Studio 2008 每日提示(十四)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-24 09:16

Visual Studio 2008 每日提示(十三)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-23 01:48

Visual Studio 2008 每日提示(十二)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-22 02:06

Visual Studio 2008 每日提示(十一)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-19 00:38

Visual Studio 2008 每日提示(十)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-18 09:17

Visual Studio 2008 每日提示(九)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-17 01:43

漂亮的设计会带来长远的好处

今天重读了《代码之美》中Adam Kolawa缩写的一个章节——《漂亮的设计会给你带来长远的益处》,有了那么一点点感触。先说一下Adam的经历,现在Adam是Parasoft公司的创始人和CEO,在业界有着很高的知名度,根据《代码之美》上的介绍,因为他有着多年在各种软件开发流程中的经验,他对目前高科技企业的理解视角非常独特,也能很敏锐地抓住目前所流行的技术方向。至于Parasoft公司,对于测试领域比较关注的朋友可能会更熟悉一些,它的产品Jtest、C++test、.TEST、SOAtest都有着不错的口碑。从Adam的经历和他所做的事情来看,完全符合欧美企业走专业化道路的特征。 在文章中,…

2008-12-16 12:32

Visual Studio 2008 每日提示(八)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-16 02:17

Visual Studio 2008 每日提示(七)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-15 12:44

Draw an egg(3)

Use 4 arcs to compose an egg shape: Private Sub Form_Click() Me.Caption = "Draw an egg" Dim pi As Single, X As Single pi = 4 * Atn(1) Me.Scale (-2, -4)-(4, 4) Me.Circle (2, 0), 1, vbCyan, 3 * pi / 2, pi / 2 Me.Circle (Sqr(3) / 2, 0), 0.5, vbCyan, 2 * pi / 3, 4 * pi / 3 Me.Circle (2, 2), 2, vbCyan, …

2008-12-12 01:00

Draw an egg(2)

It's also easy to draw an egg with the curve y^2=(sin(x)*(1+cos(x)/π)). Private Sub Form_Click() Me.Caption = "Draw an egg" Dim pi As Single, X As Single pi = 4 * Atn(1) Me.Scale (-1, -2)-(4, 2) For X = 0 To pi Step 0.0005 Me.Circle (X, -Sqr(Sin(X) * (1 + Cos(X) / pi))), 0.01, vbWhite Me.Circle (X,…

2008-12-12 00:23

Draw an egg

It's very easy to draw an egg with the curve y^2=(x^2-1)*(x-π) Private Sub Form_Click() Me.Caption = "Draw an egg" Dim X As Double Me.Scale (-1.5, -3)-(1.5, 3) For X = -1 To 1 Step 0.0005 Me.Circle (X, -Sqr((X ^ 2 - 1) * (X - 4 * Atn(1)))), 0.01, vbRed Me.Circle (X, Sqr((X ^ 2 - 1) * (X - 4 * Atn(1…

2008-12-11 23:54

Visual Studio 2008 每日提示(六)

<script>function StorePage(){d=document;t=d.selection?(d.selection.type!='None'?d.selection.createRange().text:''):(d.getSelection?d.getSelection():'');void(keyit=window.open('http://www.365key.com/storeit.aspx?t='+escape(d.title)+'&u='+escape(d.location.href)+'&c='+escape(t),'keyit','scrollbars=no…

2008-12-11 03:18