尽人事,听天命--挽救学习日记的最后一搏

这两天,请一些朋友和同事看了我的网页,得出如下意见和建议:

1、要到各大相关论坛、社区去宣传自己,当然不能赤裸裸的广告,要给大家提供本站对人有价值的信息,不然会让人讨厌的,也许还会被社区封帖和封号;

2、美化页面,通过添加恰当的图片和恰当的改变字体、颜色和添加动态因素,让页面生动起来,不要让人看了感到压抑、沉闷。现代生活已经够压抑了,谁还来你这个破地方受罪?

3、对人有用的资源太少了,多增加一些实用软件下载;

4、寻找合适的朋友一起来做,毕竟个人的力量和智慧是非常有限的。

如果,我都用心的做了这些后,网站还没有起色,再关闭这个没有用的网站也算为互联网上清扫了一颗小小的灰尘垃圾。

尽人事,听天命--挽救学习日记的最后一搏。

35岁之前成功的12条黄金法则--年轻人必看(虽然有些空话)

(转自:http://www.javaresearch.org/article/showarticle.jsp?column=46&thread=56513

35岁之前成功的12条黄金法则

【摘要】

第一章:一个目标

一艘没有航行目标的船,任何方向的风都是逆风。

1、你为什么是穷人,第一点就是你没有立下成为富人的目标。

2、你的人生核心目标是什么?

杰出人士与平庸之辈的根本差别并不是天赋、机遇,而在于有无目标。

3、起跑领先一步,人生领先一大步:成功从选定目标开始

4、贾金斯式的人永远不会成功

为什么大多数人没有成功?真正能完成自己计划的人只有5%,大多数人不是将自己的目标舍弃,就是沦为缺乏行动的空想

5、 如果你想在35岁以前成功,你一定在25至30岁之间确立好你的人生目标

6、 每日、每月、每年都要问自己:我是否达到了自己定下的目标

第二章:两个成功基点

站好位置,调正心态,努力冲刺,35岁以前成功

(一)人生定位

1、 人怕入错行:你的核心竞争力是什么?

2、 成功者找方法,失败者找借口

3、 从三百六十行中选择你的最爱

人人都可以创业,但却不是人人都能创业成功

4、 寻找自己的黄金宝地

(二)永恒的真理:心态决定命运,35岁以前的心态决定你一生的命运

1、 不满现状的人才能成为富翁

2、 敢于梦想,勇于梦想,这个世界永远属于追梦的人

3、 35岁以前不要怕,35岁以后不要悔

4、 出身贫民,并非一辈子是贫民,只要你永远保持那颗进取的心。中国成功人士大多来自小地方

5、 做一个积极的思维者

6、 不要败给悲观的自己

有的人比你富有一千倍,他们也会比你聪明一千倍么?不会,他们只是年轻时心气比你高一千倍。

人生的好多次失败,最后并不是败给别人,而是败给了悲观的自己。

7、 成功者不过是爬起来比倒下去多一次

8、 宁可去碰壁,也不要在家里面壁

克服你的失败、消极的心态

(1) 找个地方喝点酒

(2) 找个迪厅跳跳舞

(3) 找帮朋友侃侃山

(4) 积极行动起来

第三章:三大技巧

1、管理时间:你的时间在哪里,你的成就就在哪里。

把一小时看成60分钟的人,比看作一小时的人多60倍

2、你不理财,财不理你

3、自我管理,游刃有余

(1) 创业不怕本小,脑子一定要好

(2) 可以开家特色店

(3) 做别人不愿做的生意

第四章:四项安身立命的理念

35岁以前一定要形成个人风格

1、做人优于做事

做事失败可以重来,做人失败却不能重来

(1) 做人要讲义气

(2) 永不气馁

2、豁达的男人有财运,豁达的女人有帮夫运

35岁以前搞定婚姻生活

3、忠诚的原则:35岁以前你还没有建立起忠诚美誉,这一缺点将要困扰你的一生

4、把小事做细,但不要耍小聪明

中国人想做大事的人太多,而愿把小事做完美的人太少

第五章:五分运气

比尔?盖茨说:人生是不公平的,习惯去接受它吧

1、人生的确有很多运气的成人:谋事在人,成事在天:中国的古训说明各占一半

2、机会时常意外地降临,但属于那些不应决不放弃的人

3、抓住人生的每一次机会

机会就像一只小鸟,如果你不抓住,它就会飞得无影无踪

4、 者早一步,愚者晚一步

第六章:六项要求

1、智慧

(1)别人可你以拿走你的一切,但拿不走你的智慧

(2)巧妙运用自己的智慧

(3)智者与愚者的区别

2、勇气

(1)勇气的力量有时会让你成为超人

(2)敢于放弃,敢于舍得

3、培养自己的领导才能、领袖气质

(1) 激情感染别人

(2) 三o七法则实现领袖气质

(3) 拍板决断能力

(4) 人格魅力

4、创造性:不要做循规蹈矩的人

25-35岁是人生最有创造性的阶段,很多成功人士也都产生在这一阶段

5、明智

(1) 知道自己的长处、短处,定向聚焦

(2) 尽量在自己的熟悉的领域努力

6、持之以恒的行动力:在你选定行业坚持十年,你一定会成为大赢家

第七章:七分学习

1、知识改变命运

2、35岁以前学会你行业中必要的一切知识

a) 每天淘汰你自己

b) 在商言商

3、太相信的书人,只能成为打工仔

4、思考、实践、再思考、再实践

第八章:八分交际

朋友多了路好走

1、智商很重要,情商更重要:35岁以前建立起人际关系网

2、人脉即财脉:如何搞好人际关系

3、交友有原则

4、善于沟通:35岁以前要锻炼出自己的演讲才能

第九章:九分习惯

习惯的力量是惊人的,35岁以前养成的习惯决定着你的成功的大小

1、积极思维的好习惯

2、养成高效工作的好习惯

(1) 办公室

(2) 生活可以不拘小节,但要把工作做细

(3) 学习聆听,不打断别人说话

3、养成锻炼身体的好习惯

4、广泛爱好的好习惯

5、快速行动的好习惯

第十章:十分自信

1、自信是成功的精神支柱

2、自信方能赢得别人的信任

3、把自信建立在创造价值的基础上

4、如何建立自信

(1) 为自己确立目标

(2) 发挥自己的长处

(3) 做事要有计划

(4) 做事不拖拉

(5) 轻易不要放弃

(6) 学会自我激励

(7) 不要让自己成为别人

第十一章 11个需要避开的成功陷阱

1、只有功劳,没有苦劳

2、不要怀才不遇,而要寻找机遇

3、不要想发横财

4、不要为钱而工作,而让钱为你工作

5、 盲目跟风,人云亦云,人做我也做

6、 小富即安,不思进取,知足常乐

7、 承认错误而非掩饰错误

8、 脚踏实地而非想入非非

9、 野心太大而不是信心十足

10、反复跳槽不可取

11、眼高手低

12、不择手段

第十二章 十二分努力

没有人能随随便便成功

1、小不是成功,大不是成功,由小变大才是成功

2、中国社会进入微利时代:巧干+敢干+实干=成功

3、努力尝试就有成功的可能

4、做任何事情,尽最大努力

5、把事情当成事业来做

6、我看打工者

7、祝你早日掘到第一桶金

学习java studio creator..创建自己的网站

己经接确java studio creator两三个月了..但还是一筹莫展...好苦脑啊...找不到着手点......

一直想找一个小网站...是用java studio creator开发的..好认识到底怎么开发一个网站.

很多东西不懂..EJB..JSF...XML...知其一二..都不知道到底怎么使用...

真的好想在学习使用java studio creator里把相关知识都撑握...不能撑握也好...一点点...学多少是多少....

我的天啊...怎样才可以撑握啊...

学习日记走入绝境了吗

学习日记的起源是我的初学之作,当然谈不上技术份量,初学者真的看了还有误人子弟之嫌疑。

而且,作为一个JAVA业余爱好者,自己要学成有独特技术见解,并能重新开发学习日记的可能性很难,正如一位长者所说,你一个业余者都能写出来,那别人科班的博士、硕士是做什么的?此话不假呀。

本人很穷,想靠这点业余爱好找点钱补贴家用的目的从来就有。原来是想大家一起交流,可以把技术学好点,或者以开源模式的发展方式和参与者一起挣点钱。但是前者用不着独自来建一个网站,建一个网站并不是技术就能建好的,太多技术之外的东西需要涉及,如果想真的学技术的话,应该不要把精力放在这些上,专心去学技术;而且,想靠一个人的力量来撑起一个社区性质的网站,现在想来是几乎不可能的;而且,我的性格也决定了自己不大善于与人合作,喜欢接受任务,独自做事,而不是去组织别人一起来做事。我觉得麻烦。所以,我觉得自己不适合把学习日记做下去了。还有,我的性格和心理素质也不行,波动太大,受不得措责,碰到一点难事就心事重重,又很容易因为一个头脑发热的想法去埋头做一件事,做完一看效果-又错了。

所以,分析自己的实际情况和学习日记的现状,我可以在技术上把程序设计作为一项技能深入下去,但是不适合自己去运作一个网站。也没有必要去因为想挣钱而去做一个个人网站,像vbird.org,别人是高层次人才,发表的见解当然不同凡响。由他运作的个人网站当然人气很旺。我最好是去申请一个博客,可以记点日记自己用。而不是自己去建一个网站来写日记。一句话,没必要。

学习日记现在也许真该像我的那位长辈说的那样,放弃;也会像一位朋友预言的那样:迟早关闭。

虽然我为运作这个网站,把本应该陪家人的时间和本应该学技术的时间,甚至本应该做好本职工作的时间都浪费了太多在这上面,但是客观的规律不容违背;不要做那种“不见棺材不掉泪”、“不撞南墙头不回”的人。我已经浪费了几年时间,我不能再去浪费几年时间。

实际上,按那位长辈的建议,我根本就不应该在计算机上下太多的功夫。因为这在工作中用不上,学这个,还不如学打字,每分钟多打几个字,要是以后上不成班了还可以开个打字复印店;学程序做什么?谁用你的小儿科程序?各单位的信息化软件都是上级发放的,那些都是别个大公司做的。

上面的话虽丑,理却端。平时我的计算机知识主要是用来帮朋友、同事解决电脑故障而已。

也许,我7年前决定自考计算机,为自己多学一门技术,以防不时之需的决定根本就是错的?从头就是错的,如果真是这样,7年呀,人生还有几个7年呀?!真是失败的人生呀。。。

学习日记也许要关了,这是很可能的事。也许,关了以后,我会发觉,又错了。。。

也许我应该学习设计模式了

接触JAVA也有3年了吧,到现在还没有去看一看J2EE设计模式,别说J2EE设计模式,就是模式也没看,Bruce先生写了一本Thinking in Patterns(他也是经典的Thinking in java的作者),一直想看看,也没有时间去看。

今天早上,醒来睡不着了,在网上浏览看了一篇讲ebay的系统中如何借助了J2EE设计模式的好处,觉得自己真该去掌握一下。有机会,有时间的话,可以把这些设计模式看看。

一天十亿次的访问-eBay架构(原文地,不过其中的构架描述没有图片)

1、http://blog.csdn.net/yzhz/archive/2005/01/10/247116.aspx

2、http://blog.csdn.net/yzhz/archive/2005/01/10/247127.aspx

3、http://blog.csdn.net/yzhz/archive/2005/01/10/247133.aspx

4、http://blog.csdn.net/yzhz/archive/2005/01/10/247140.aspx

转载地(构架描述有图片)

http://www.zahui.com/html/6/41654.htm

jsp页面变量的作用域问题

一个jsp页面就是一个java类,它的变量也跟java类一样,有不同的作用域。用下面的实例说明一下。

下面是把“学习日记开源项目”里面的一个名为disall2.jsp的文件在“JAVA学习日记网站”改写的一个片断,我的目的是在一个循环语句的第一个循环中显示广告,后面的循环不显示。用彩色部分的变量来控制。下面是正确的使用方法。




  <% int count = 0; %>



   <logic:iterate id="aGroupGoals" name="groupGoalsList" type="com.learndiary.website.model.GroupGoalsInfo">

    <c:set var="group" value="${aGroupGoals.group}"/>

    <b><u><c:out value="${group.groupName}"/>(<c:out value="${group.goalsNum}"/>个目标)</u></b>

    <c:set var="goalsList" value="${aGroupGoals.goalsList}"/>

    <br>

  <logic:iterate id="aGoal" name="goalsList" type="com.learndiary.website.model.ArticleInfo">

    <html-el:link action="disGoalContentAction.do?goalID=${aGoal.articleID}&naviStr=${requestScope['naviStr']}" target="_blank" title="查看既定目标:${aGoal.articleName}的具体内容" >

     <c:if test="${aGoal.visibility == 1}">

      <font color="red">[私]</font>

     </c:if>

     <c:if test="${aGoal.joinNum >= 5 && aGoal.joinNum<10}">

      <font size="3">

     </c:if>

     <c:if test="${aGoal.joinNum >= 10}">

      <font size="4">

     </c:if>

     <c:out value="${aGoal.articleName}"/>

    </html-el:link>

    (<c:out value="${aGoal.joinNum}"/>/<html-el:link action="diaryAction.do?goalID=${aGoal.articleID}&naviStr=${requestScope['naviStr']}" target="_blank" title="查看实现目标:${aGoal.articleName}下的所有${aGoal.diarySize}篇日记" >

     <b><u> <c:out value="${aGoal.diarySize}"/> </u></b>

     </html-el:link>)

     </font>

      

   </logic:iterate>

   <p align=center>



   <% if (++count == 1) { %>

   <%@ include file="/common/google_intro_4.jsp" %>

   <% }

    %> 



   <hr size="1" noshade="noshade">

    <p>

  </logic:iterate>

但是,如果把蓝色的部分改动一点,只要你第二次刷新页面的时候,广告就消失了。如下:




  <%! int count = 0; %>


原因是:前者是类方法中的局部变量,作用域局限于java类中的一个方法中,即点击一次页面就重新调用类中的方法,于是,它的记数器总能正确的清零;而后者是类成员变量,作用域为类,在类的当前实例(你访问jsp页面时,这个类在服务器端机器的内存中为你一个人创建的一个对象实例)没有销毁之前,它里面的变量始终是一个,当你刷新页面时,记数器就递增了,不能正确的清零。

我是一个java的业余爱好者,理论基础不行。上面的说法如果不当,还希望见者提示一下。谢谢。

Redhat linux9.0下的宋体比windows下的宋体显示小字体效果好

在网页中我使用了<font size="-2">的字体(及<font size="1">),在Redhat linux9.0下的用中意宋体在firefox下浏览效果还可以,但是同样用firefox在windows XP中浏览页面就惨不忍睹了,用IE也一样。为了照顾大多数windows用户,看来,只有不用这种小字体了。下面是首页在windows下用firefox和在linux下的显示截屏。

1、windows xp下用Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7,宋体字:

2、Redhat linux9.0下的用Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4,中意宋体字:

大家一直都说linux下的中文字体不如windows下的,可我在redhat linux9.0下的使用结果得出的结论却是相反的。但是redhat linux9.0下的字体相对windows也有一点小问题,字体的稍稍有点发虚,不如windows下的清晰。但总体感觉还是比windows下的字体看起来舒服。

一封来自Gentleware的CEO的信

Gentleware的Poseidon for UML建模工具起源于开源UML建模工具:ArgoUML0.9。现在的Gentleware公司的CEO就是ArgoUML的项目拥有者之一:Marko Boger。你可以在ArgoUML的主页上看到。

从下面这封信中,我感到了起源于开源软件的商业软件的强大活力(他也提供共享版本,不过功能很受限,可以作为学习之用);反之,看他的开源前辈ArgoUML,可以说是鲜有使用者,也许在我不了解其中具体情况下下一个不成熟的结论:半死不活。

这是为什么?难道ArgoUML终究不能成为一个像其他开源工具如:ant、eclispe、Tomcat、Linux等一样的流行工具?难道说ArgoUML的存在就是因为有了它的商业分支版本"Poseidon for UML"? 难道ArgoUML就是”认知建模“的一个试验品(它的认知建模好像是可以智能的分析模型的合理程度,还可以根据知识库纠正一些问题或提出建议)?在我用来,它的认知建模好像没有多大用处(起源于它的Poseidon for UML就去掉了这个特性)。搞不懂,不过对我这个UML的学习者来说,用ArgoUML来画画图,理理思路还是够用了。

从下面这封订阅来自Poseidon for UML的信中可以大概知道:

1、它要发集成在eclipse中的Apollo for Eclipse建模插件了;

2、对于发行采用基于Web Service模型的新许可形式了,购买、延续、改变许可将更加自动化;

3、Apollo for Eclipse和 Poseidon for UML同时存在,定位不同,且都有供学习用的共享版本。

下面是这封电子邮件的原文,可以以此来看软件业的趋势、开源软件的命运和运作,以及这些给普通软件用户带来的影响。

××××××××××××××××××××××××××××××××××××××××××××××××××

A Letter to You: From Gentleware's CEO

Dear Loyal Poseidon User,

With this letter, I'd like to inform you about a series of major events and changes that will be occurring in the next few months. Please bear with me; I am certain that you will find this message to be worthwhile reading. You are part of the cherished user base that Gentleware has built up over the past 6 years. As such, you are one of the first to be informed.

We are proud and honored to have such a large and loyal audience, and we have been working extremely hard to fulfill your expectations. Our user community has grown so much that the range of users now extends beyond the scope of our previous tool lineup, and the range of expectations has correspondingly grown. Many users, especially those working in the later development phases who want to review and modify models and code simultaneously, expressed the need for a tight integration into Eclipse. Poseidon for UML is built on Swing while Eclipse is built in SWT, so an integration can only go so far. For a clean integration we had to start from scratch. And so we did.

   

   

Apollo for Eclipse

We are pleased to present our newest tool, Apollo for Eclipse, which will be released in the coming weeks.

Built from the ground up as an extension to Eclipse, Apollo for Eclipse makes use of all of the relevant modules from the Eclipse Modeling Project. Most notably, it uses EMF (Eclipse Modeling Framework) and its instantiation for UML, the UML2 project, as a repository. This provides a standard API and saving format and makes it easy to connect other tools like generators or transformation engines to it.

It is our understanding that this is the first professional modeling tool built using GMF. GMF is a framework to create graphical editors in Eclipse and was released just this summer. We regard it as the best technology available to build modeling tools. It provides a standardized yet adaptable user interface that is well adapted to Eclipse, and it provides us with great flexibility to quickly create editors for standard or domain specific notations.

With the initial release of Apollo for Eclipse, we have focused specifically on the class diagram and a clean, robust, and scalable roundtrip mechanism for Java 5 and UML 2.1. More details will be forthcoming in the next newsletter.

   

   

Poseidon for UML

This isn't to say that Poseidon for UML is going away. Poseidon for UML continues to be the best option on the market for analysts and designers who don't work as extensively with Eclipse. In just a short while, we will be bringing out version 5.0 of Poseidon for UML. As with every release, it has a number of important and interesting updates. But I have to say that this release is really special to me. I feel that after 6 years of development we have now reached what we initially started our quest for: namely, to provide the most usable UML modeling tool available. We will provide you with the specific details of the release in a separate newsletter.

   

   

New Licensing Based on the Web Service Model

The software industry is fast paced and changes quickly. With the ubiquity of the internet and with flexible download and update mechanisms provided by the Eclipse platform, software products today have much of the character of a web service. In response, we have adapted our pricing model to reflect this. We have worked hard to find a model that suits the wide variety of our users, from students with minimal budgets, to occasional users with high demands, and on to large corporations with long-term usage scenarios.

We are introducing a rental and subscription model for our new product, which may be familiar to you from other Internet services. Base functionality of the tool is available for free; extended functionality including all exporting capabilities requires a license.

This rental and subscription license model will apply to the Apollo for Eclipse product. Likewise, we will implement it for the Poseidon for UML Community Edition starting with the release of version 5.0. This solution eliminates the conflicts many users have had with our current license terms, which restricts how the Community Edition may be used through the stated condition, "free for non-commercial use".

The Community Edition was originally intended to be a learning tool for those just starting out in UML. It has become an important tool for analysts and designers who depend on Poseidon for UML to communicate with various stakeholders throughout the development lifecycle. The new licensing agreement now allows these users to take advantage of the many powerful features of Poseidon for UML for the nominal charge of only 5 Euros per month.

The unregistered version of the Poseidon for UML Community Edition can still be used for learning UML; all of the features needed to work alongside a textbook or tutorial remain available. Users can open and edit models to explore code and diagrams, but all export features such as saving, copying to the Windows clipboard, and printing are only available in the registered version.

   

   

Options

The first option is to rent a license for a fixed period of time; specifically, for a month, a quarter, or a year. The fee for one month is 5 EUR or 6 USD, longer periods are further discounted. You always maintain the option, but are not obligated, to renew the license after it expires.

The alternative option is to subscribe to the service and thus be assured of continuous access to the most current version. Updates and registration are automatically conducted as soon as you are online. You can decide on the automatically-renewing payment periods that best suit your needs, again with the choices of a month, a quarter, or a year. You can cancel the subscription easily and transparently at any time.

Students in accredited programs have the additional option to purchase the full Professional Edition at a deep discount, and site licensing for universities remains as an economical alternative. Current Community Edition users will be able to continue to operate under the old license agreement until the beginning of 2007.

   

   

Your Opportunity to Try Apollo for Eclipse

Poseidon for UML and Apollo for Eclipse address two very different types of usages. Whereas Poseidon for UML provides the full power of UML 2 during analysis and design phase, Apollo for Eclipse addresses the needs of developers and programmers. We realise that many of you indeed have both use cases, but at different times. To accomodate our users, soon we will be sending out keys for Apollo for Eclipse to premium edition Poseidon for UML customers for a limited introductory period, so that you can have full access and can immediately evaluate our new offering.

So stay tuned, there are a lot of compelling developments coming in the next few weeks. We hope that you are as excited as we are.

Best regards,

your Marko Boger

CEO, Gentleware AG

   

   

contact      impressum      privacy policy      sitemap      print version

© 2000 - 2006 Gentleware AG

If you no longer wish to receive these emails, please reply to this message with "Unsubscribe" in the subject line or simply click on the following link: Unsubscribe

Gentleware AG

Ludwigstrasse 12

20357 Hamburg

Germany

Read the VerticalResponse marketing policy.