2007年10月29日
Life is not fair, get used to it.
生活是不公平的;要去适应它。
The world won"t care about your self-esteem. The world will expect you to accomplish something before you feel good about yourself.
这世界并不会在意你的自尊。这世界指望你在自我感觉良好之前先要有所成就。
You will not make 40 thousand dollars a year right out of high school. You won"t be a vice president with a car phone, until you earn both.
高中刚毕业你不会一年挣4万美元。你不会成为一个公司的副总裁,并拥有一部装有电话的汽车,直到你将此职位和汽车电话都挣到手。
If you think your teacher is tough, wait till you get a boss. He doesn"t have tenure.
如果你认为你的老师严厉,等你有了老板再这样想。老板可是没有任期限制的。
Flipping burgers is not beneath your dignity. Your grandparents had a different word for burger flipping; they called it opportunity.
烙牛肉饼并不有损你的尊严。你的祖父母对烙牛肉饼可有不同的定义;他们称它为机遇。 If you mess up, it"s not your parents" fault, so don"t whine about our mistakes, learn from them.
如果你陷入困境,那不是你父母的过错,所以不要尖声抱怨我们的错误,要从中吸取教训。
Before you were born, your parents weren"t as boring as they are now. They got that way from paying your bills, cleaning your clothes and listening to you talk about how cool you are. So before you save the rain forest from the parasites of your parents" generation, try "delousing" the closet in your own room.
在你出生之前,你的父母并非像他们现在这样乏味。他们变成今天这个样子是因为这些年来他们一直在为你付账单,给你洗衣服,听你大谈你是如何的酷。所以,如果你想消灭你父母那一辈中的"寄生虫"来拯救雨林的话,还是先去清除你房间衣柜里的虫子吧。
Your school may have done away with winners and losers, but life has not. In some schools they have abolished failing grades; they"ll give you as many times as you want to get the right answer. This doesn"t bear the slightest resemblance to anything in real life.
你的学校也许已经不再分优等生和劣等生,但生活却仍在作出类似区分。在某些学校已经废除不及格分;只要你想找到正确答案,学校就会给你无数的机会。这和现实生活中的任何事情没有一点相似之处。
Life is not divided into semesters. You don"t get summers off and very few employers are interested in helping you find yourself. Do that on your own time.
生活不分学期。你并没有暑假可以休息,也没有几位雇主乐于帮你发现自我。自己找时间做吧。
Television is NOT real life. In real life people actually have to leave the coffee shop and go to jobs.
电视并不是真实的生活。在现实生活中,人们实际上得离开咖啡屋去干自己的工作。
Be nice to nerds. Chances are you"ll end up working for one.
善待乏味的人。有可能到头来你会为一个乏味的人工作。
2007年10月7日
Never abandon hope, especially when it is the only thing you have.
2007年10月4日
There is a temple at the foot of Nanshan,and an
ancient banyan is in front of it.
One morning,a young monk gets up to
clean up the courtyard and sees the fallen leaves from the ancient banyan are
everywhere,he can't help worrying and look at the tree to sigh.
For his
sorrow is on the toppest,he throws down the broom and rushes to his master's
room ,then he knocks on the door to plea for interview.
His master hears
it and opens the door,when he sees the disciple's worried look,he thinks
something takes place,so he hurries to ask him:" My disciple, what does you
worry about so much in the early morning? "
The young disciple is full of doubt and tells him:"Master, you
persuades us to be diligent to cultivate our moral character and grasp the truth
day and night,but, even I learn them well ,it is hard to avoid to die.Till that
time,so-called me, so-called Dao, aren't they just like the defoliation in
autumn or the deadwood in winter? and they will be buried by a heap of
loess?"
After hearing it ,the old monk points at the ancient banyan and
says to the young monk:" My disciple ,you don't need to worry about this.In
fact, the defoliation in autumn and the deadwood in winter will climb back to
the trees silently and become the flowers in spring and grow up into the leaves
in summer at the time of autumnal winds is blowing strongliest and the snow
falls down most heavily."
"Why don't I see it?"
"It is the
reason that there isn't any view in your heart, so you can't see the bloom
."
Facing the withering defoliations and imaging they will be in bud,it
needs to have an immortal of spring heart, an optimism of heart.
There
are always some miseries you will meet in your whole
life and strike you when
you are unprepared, but we don't need to worry day after day for the arrival of
this day, and feel sorry to yourself.
Treating the life with the attitude
of the optimism, it can not only dissolve the agony and misfortune , but also
bring a kind of pleased mood to you everyday and make your
life bright and
flourishing .
As long as the view is in the heart,aren't the paths full
of fragrance of flowers everywhere?
2007年9月7日
[黑与白]:非常对立而又有共性, 是色彩最后的抽象.能够用来表达富有哲理性的东西.其中——
[黑色]:空、无、永恒的沉默. [白色]:虚无, 有无尽的可能性.
此二色总时通过对方的存在显示自己的力量
[黄色]:亮度最高, 尤其灿烂、辉煌.象征着智慧之光, 象征着权力、骄傲.经不起白色的冲淡.当用黑、紫、深蓝反衬时, 能加强.淡粉色能使之变柔和. [绿色]:具中性特点.和平色, 偏向自然美.宁静、生机勃勃, 宽容色彩.可衬托多种颜色而达到和谐. [蓝色]:永恒、博大、遥远感. [紫色]:大面积有恐怖感, 紫红尤其明显.暗紫有灾难感.淡紫则是一种优美的活泼色.紫与黄共存时, 消极性更加显著. [红色]:最强有力的色彩, 能引起肌肉的兴奋.热烈、冲动. [橙色]:较温和, 是一种很活泼、辉煌的色彩.富足的、快乐的色彩.稍加黑则较稳重.蓝橙对比时较生动.[灰色]:是色彩中最被动的颜色.受有彩色影响极大, 靠邻近的色彩获得自己的生命.近冷则暖, 近暖则冷.最有平静感(中性), 是视觉中最安静的色彩.有很强的调和对比的作用.
-------下面是查找 整理的一些网页配色时的小技巧。------
1.用一种色彩。这里是指先选定一种色彩,然后调整透明度或者饱和度,产生新的色彩,用于网页。这样的页面看起来色彩统一,有层次感。
2.用两种色彩。先选定一种色彩,然后选择它的对比色。
3.用一个色系。简单的说就是用一个感觉的色彩,例如淡蓝,淡黄,淡绿;或者土黄,土灰,土蓝。
在网页配色中,还要切记一些误区:
1.不要将所有颜色都用到,尽量控制在三种色彩以内。
2.背景和前文的对比尽量要大,(绝对不要用花纹繁复的图案作背景),以便突出主要文字内容。
· 所有的好书,读起来就像和过去世界上最杰出的人们的谈话。
· 我的努力求学没有得到别的好处,只不过是愈来愈发觉自己的无知。
· 反对的意见在两方面对于我都有益,一方面是使我知道自己的错误,一方面是多数人看到的比一个人看到的
更明白。
22:46:52
笛卡儿1596年3月31日生于法国都兰城,是近代科学和理性之父,他还发明了解析几何。他的著名的《方法谈》
的开头两章说明他的思想历程和他在23岁时所达到和开始应用的方法。牛顿的所有发现都完全套用他的方法。
他的方法容易使人掌握,而且一旦掌握了方法,任何人都可以作出发现或找到新的真理。这样,真理的发现不
再属于具有特殊才能或超常智慧的人们。《方法谈》他列举的四条是最先完整表达的近代科学思想方法。
笛卡儿积是集合论中很重要的概念,已知一组集合S1、S2、...、Sn,他们的笛卡儿积S定义 为: S =
{(x1,x2,...,n) | x1 ∈S1, x2 ∈S2, ... Sn的一个关系定义为他们的笛卡儿积S的一个子集。如果这个子
集是空集或者S本身,则称这个关系是一个平凡关系
UNION 运算符:
将两个或更多查询的结果组合为单个结果集,该结果集包含联合查询中的所有查询的全部行。这与使用联接组
合两个表中的列不同。
使用 UNION 组合两个查询的结果集的两个基本规则是:
所有查询中的列数和列的顺序必须相同。
数据类型必须兼容。
union all和union都 可以把两张表连起来,union 会排除重复的记录 union all 不会排除重复的记录。
不同于join,join为笛卡儿积。
IN
确定给定的值是否与子查询或列表中的值相匹配。
EXISTS
指定一个子查询,检测行的存在。
下面从具体的语句来看:
select * from 表A where exists(select * from 表B where 表B.id=表A.id)
这句相当于
select * from 表A where id in (select id from 表B)
对于表A的每一条数据,都执行select * from 表B where 表B.id=表A.id的存在性判断,如果表B中存在表A当前
行相同的id,则exists为真,该行显示,否则不显示
Microsoft Access是一种桌面数据库,只适合数据量少的应用,在处理少量数据和单机访问的数据库时是很好的,效率也很高。但是它的同时访问客户端不能多于4个。 Microsoft Access数据库有一定的极限,如果数据达到100M左右,很容易造成服务器iis假死,或者消耗掉服务器的内存导致服务器崩溃。
Microsoft SQL Server是基于服务器端的中型的数据库,可以适合大容量数据的应用,在功能上管理上也
要比Microsoft Access要强得多。在处理海量数据的效率,后台开发的灵活性,可扩展性等方面强大。因为现
在数据库都使用标准的SQL语言对数据库进行管理,所以如果是标准SQL语言,两者基本上都可以通用
的。Microsoft SQL Server还有更多的扩展,可以用存储过程,数据库大小无极限限制。
1,对于日期字段字段 access表示为:#1981-28-12#
SQLSERVER2000表示为:''1981-02-12''
2,SQL语句区别,select ,update 在对单表操作时都差不多,
但多表操作时update语句的区别ACCESS与SQLSERVER中的UPDATE语句对比:
SQLSERVER中更新多表的UPDATE语句:
UPDATE Tab1
SET a.Name = b.Name
FROM Tab1 a,Tab2 b
WHERE a.ID = b.ID;
同样功能的SQL语句在ACCESS中应该是
UPDATE Tab1 a,Tab2 b
SET a.Name = b.Name
WHERE a.ID = b.ID;
即:ACCESS中的UPDATE语句没有FROM子句,所有引用的表都列在UPDATE关键字后.
更新单表时:都为:
UPDATE table1 set ab='12',cd=444 where ....
3,delete语句 access中删除时用:delete * from table1 where a>2 即只要把select 语句里的select 换成delete就可以了。
sqlserve 中则为: delete from table1 where a>2 即没有*号
4,as 后面的计算字段区别 access中可以这样:select a,sum(num) as kc_num,kc_num*num as all_kc_num 即可以把AS后的字段当作一个数据库字段参与计算。
sqlserver 中则为:select a,sum(num) as kc_num,sum(num)*num as all_kc_num 即不可以把AS后的字段当作一个数据库字段参与计算。
5,[.]与[!]的区别 access中多表联合查询时:select tab1!a as tab1a,tab2!b tab2b from tab1,tab2 ,中间的AS可以不要。
sqlserve 中则:select tab1.a as tab1a,tab2.b tab2b from tab1,tab2 ,中间的AS可以不要。
6,联合查询时, access中多表联合查询:'select a,b from(
select a,b from tab1 where a>3 union select c,d from tab2 ) group by a,b
sqlserve 中则'select a,b from(
select a,b from tab1 where a>3 union select c,d from tab2 ) tmptable group by a,b即要加一个虚的表tmptable,表名任意。---