Somehow found this from my documents, good for this world!
一個人一生中都要信兩種教^0^
昨天我和一個朋友聊到一句話,我覺得很有意義,每個人一生中都要信兩種教,妳知道是什麼教嗎....? 當然不是睡覺..... ^.^是不計較與不比較...... 人活著都會有許多的慾望,慾望多了,漸漸會慾求不滿,到最後就演變成為了滿足自己的慾望而去傷害別人...如果我們凡事不與人計較,便不會有口角,也不會勾心鬥角,如果我們凡事不與人比較,便不會有慾望,也不會欲求不滿,因此我們做人要謙虛,要知足,更要惜福.... 我們要把自己縮小,不斷的縮小自己,小到能將自己放入別人眼中,因為眼裡是容不下一顆沙子的,倘若能將自己縮小到放入別人眼中,讓別人都能接納妳,這樣才是真的會做人,世界這麼大,每個人都有他的過人之處,如果我們不懂得縮小自己,只是一味的覺得自己比別人厲害,這樣永遠都不會成功,永遠都不會滿足,也永遠都不會快樂.... 因為一山比一山高,所以不要去和人家比較,這不是要妳因此不求上進喔.....,是要妳懂得謙虛.... 而是要妳將心放大,去包容每一個人,從家人,朋友,甚至陌生人..... 也許我解釋得不是很好,但我體會很深.... 如果每個人都能有所體悟,都能放寬心,相信都會過得很快樂..... because.......... 知足常樂!
在星期一開始時,我的這封信告訴妳, 這個禮拜會不一樣. 好的開始就是成功的一半.^.^
祝你
天天快樂
快樂星期一
歡喜星期二
開心星期三
興奮星期四
歡笑星期五
輕鬆星期六
愉快星期天 ...
希望你天天美好愉快 !
殷字04 “^0^”
Thursday, June 10, 2004
Tuesday, June 08, 2004
Monday, June 07, 2004
The suggested solution is based on the UUID for EJB pattern, that comes out from this question:
How can universally unique primary keys can be generated in menory without requiring a database or a singleton?
Without enetring in the specifics (you can fully check out the pattern by reading the appropriate chapter), the solution is to generate a 32 digit key, encoded in hexadecimal composed as follows:
1: Unique down to the millisecond. Digits 1-8 are are the hex encoded lower 32 bits of the System.currentTimeMillis() call.
2: Unique across a cluster. Digits 9-16 are the encoded representation of the 32 bit integer of the underlying IP address.
3: Unique down to the object in a JVM. Digits 17-24 are the hex representation of the call to System.identityHashCode(), which is guaranteed to return distinct integers for distinct objects within a JVM.
4: Unique within an object within a millisecond. Finally digits 25-32 represent a random 32 bit integer generated on every method call using the cryptographically strong java.security.SecureRandom class.
How can universally unique primary keys can be generated in menory without requiring a database or a singleton?
Without enetring in the specifics (you can fully check out the pattern by reading the appropriate chapter), the solution is to generate a 32 digit key, encoded in hexadecimal composed as follows:
1: Unique down to the millisecond. Digits 1-8 are are the hex encoded lower 32 bits of the System.currentTimeMillis() call.
2: Unique across a cluster. Digits 9-16 are the encoded representation of the 32 bit integer of the underlying IP address.
3: Unique down to the object in a JVM. Digits 17-24 are the hex representation of the call to System.identityHashCode(), which is guaranteed to return distinct integers for distinct objects within a JVM.
4: Unique within an object within a millisecond. Finally digits 25-32 represent a random 32 bit integer generated on every method call using the cryptographically strong java.security.SecureRandom class.
Friday, June 04, 2004
Wednesday, June 02, 2004
Tuesday, June 01, 2004
Home / Mono
The Mono project is an open source effort sponsored by Novell to create a free implementation of the .NET Development Framework.
The Mono project is an open source effort sponsored by Novell to create a free implementation of the .NET Development Framework.
Subscribe to:
Posts (Atom)