news by John K. Waters
Terracotta has just announced the general availability of its new Java add-on for the Enterprise version of its Ehcache distributed Java caching software. Dubbed BigMemory, the add-on is designed to release Java apps from the memory and performance constraints of garbage collection (GC).
BigMemory allows Java apps to cache 64 GBs or more of data in an off-heap store that’s not subject to GC. And by allowing JVMs to be larger and less numerous it improves app performance. Anne MacFarland, senior contributing analyst at the Clipper Group, called BigMemory, "a step forward in the evolution of Enterprise Java."
http://adtmag.com/articles/2010/11/09/bigmemory-add-on-now-live.aspx
http://adtmag.com/articles/2010/09/15/bigmemory-add-on.aspx
http://www.terracotta.org/bigmemory
http://www.terracotta.org/start/bigmemory-tutorial
BigMemory: Off-heap Store
http://ehcache.org/documentation/offheap_store.html
http://ehcache.org/
http://www.bigmemory.org/
http://www.terracotta.org/
2010/11/11
GCViewer - garbage collection visualized
GCViewer is a free open source tool to visualize data produced by the Java VM options
-verbose:gc and-Xloggc:. It also calculates garbage collection related performance metrics (throughput, accumulated pauses, longest pause, etc.). This can be very useful when tuning the garbage collection of a particular application by changing generation sizes or setting the initial heap size. See here for a useful summary of garbage collection related JVM parameters. For more information on tuning garbage collection on Sun JVMs, take a look at the documentation provided by Sun.Supported Formats
- Sun JDK 1.4/1.5 with the options
-Xloggc:[-XX:+PrintGCDetails] - Sun JDK 1.2.2/1.3.1/1.4 with the option
-verbose:gc - IBM JDK 1.3.1/1.3.0/1.2.2 with the option
-verbose:gc - IBM iSeries Classic JVM 1.4.2 with
option -verbose:gc - HP-UX JDK 1.2/1.3/1.4.x with the option
-Xverbosegc - BEA JRockit 1.4.2/1.5 with the option
-verbose:memory
Best results are achieved with:
-Xloggc: -XX:+PrintGCDetails2010/10/1
Eclipse 顯示 Debug certificate expired 錯誤訊息
今天在 Google DevFest 的 Android Lab ,在把 Lab code 匯入 Eclipse 中編譯的時候,出現了以下的錯誤訊息:
Debug certificate expired
查了一下,發現原來在安裝 Android SDK for Eclipse plug-in 時,會建立一個 debug.keystore ,and generates a "debug" signing certificate for you and use the certificate to sign every build you make in Eclipse 。只不過,這個 keystore 有效期只有一年,所以如果安裝 Android SDK for Eclipse plug-in 滿一年的話,Eclipse 就會跳出錯誤訊息提醒你周年慶到囉!
refer to:
http://stackoverflow.com/questions/2194808/debug-certificate-expired-error-in-eclipse-android-plugins
ps. 如果有使用過 Java Security 相關的 package ,就會知道 .keystore 的檔案是用來儲存加解密時所需要的金鑰,直接翻成中文就是金鑰庫。
.
Debug certificate expired
查了一下,發現原來在安裝 Android SDK for Eclipse plug-in 時,會建立一個 debug.keystore ,and generates a "debug" signing certificate for you and use the certificate to sign every build you make in Eclipse 。只不過,這個 keystore 有效期只有一年,所以如果安裝 Android SDK for Eclipse plug-in 滿一年的話,Eclipse 就會跳出錯誤訊息提醒你周年慶到囉!
refer to:
http://stackoverflow.com/questions/2194808/debug-certificate-expired-error-in-eclipse-android-plugins
ps. 如果有使用過 Java Security 相關的 package ,就會知道 .keystore 的檔案是用來儲存加解密時所需要的金鑰,直接翻成中文就是金鑰庫。
.
2010/9/16
如果真心想做一件事,就一定會找到方法
最近有一位我很喜歡的好友借了我一本書,
看完後有了一些啟發,讓我決定好好學習並提升自己的財務智商。
我的願望,
是讓我自己跟所愛的人,不只是能做自己喜愛的工作,更能夠擁有精采的生活,以及財務上的自由。
我將盡一切所能,提供一切所需,學習一切知識,讓我們能充實,豐富與快樂地生活。
並且我希望在這樣的過程中,能夠與有相同願景的朋友們,彼此扶持鼓勵。
歡迎有興趣的朋友, 跟著下面網址來一起學習有用的財務知識:
2010/5/22
2010/5/21
2010/5/17
2010/2/12
深入淺出 Cucumber - 進階
Josh Clayton 在去年九月寫了 [這篇文章],介紹 5個超讚的 Cucumber & Webrat 功能,我從中摘錄了三項來介紹。
Josh 的 5個 features 是:
- Running Targeted Features with Cucumber Profiles
- Tagging Scenarios
- Assigning Data with Tables
- Segregating Selenium and Simulated Browser Steps (本篇不會介紹)
- Displaying Page Responses within a Scenario (本篇不會介紹)
奥地利:富翁放弃财产,因为金钱让他痛苦
http://jandan.net/2010/02/10/him-miserable.html
据 Karl 说他的这种想法出现在,之前和妻子在夏威夷的三周度假中。他说‘那那段时间了,他们疯狂的挥霍,挥金如土,但得来的却并不是快乐,而是空虚。找不到自己的存在感,最终成为了金钱的奴隶’ 来源tweetmeme
据 Karl 说他的这种想法出现在,之前和妻子在夏威夷的三周度假中。他说‘那那段时间了,他们疯狂的挥霍,挥金如土,但得来的却并不是快乐,而是空虚。找不到自己的存在感,最终成为了金钱的奴隶’ 来源tweetmeme
CSS Tidy Up – Tidy up all your css online or offline
也是一種雲端運算?
Hieu 前幾天寫了 [一篇文章] 介紹 CSS Tidy Up,
一個幫你整理 Cascading Style Sheets 的工具。
使用方式非常簡單,只要直接將你的 CCS 內容貼到 [css-tidy-up] ,然後選擇你想要輸出的格式並按下 "Do the magic" ,就會將整理好的 CSS 回傳到網頁上。
廢話不多說,快試試看吧!
2010/2/8
2010/2/6
深入淺出 Cucumber - 新手入門
如何準備環境並安裝 Cucumber
1. 安裝 ruby 1.8.6 for Windows
2. 手動安裝 RubyGems 最新版 [here] (執行 setup.rb)
3. 在命令列下: gem update --system
4. 在命令列下: gem install cucumber
5. 在命令列下: gem install watir (用來操作 IE 瀏覽器的 library)
1. 安裝 ruby 1.8.6 for Windows
2. 手動安裝 RubyGems 最新版 [here] (執行 setup.rb)
3. 在命令列下: gem update --system
4. 在命令列下: gem install cucumber
5. 在命令列下: gem install watir (用來操作 IE 瀏覽器的 library)
2010/2/3
Top 10 HTML Snippets
今天在 RSS reader 看到這篇文章覺得很感興趣就點了連結來看:
- Top 10 HTML Snippets
- http://webdevmania.com/archive/top_10_html_snippets
2010/2/2
你有這樣的勇氣嗎
明知道眼前充滿著荊棘,也要前進:馮正虎的故事
http://mmdays.com/2010/02/01/the_story_of_f_zheng_hu/
今天晚上看到這篇文章, 真的覺得很震撼.
誰說一個人不能改變世界?
另外今晚也看到很有感觸的一段話:
“人们会问我:你怎么能笑呢?” 他说,"然後他們就會意識到,如果一個沒有手足的青年能比我活得更有意義更豐富,那生命一定不是像每個人眼睛所看到的那樣 (令人失望),而是有無形的更重要的有價值的事物在其中。"
----- by Nick Vujicic (這個字唸法是 Vu-i-ji-cic)
http://mmdays.com/2010/02/01/the_story_of_f_zheng_hu/
今天晚上看到這篇文章, 真的覺得很震撼.
誰說一個人不能改變世界?
另外今晚也看到很有感觸的一段話:
“人们会问我:你怎么能笑呢?” 他说,"然後他們就會意識到,如果一個沒有手足的青年能比我活得更有意義更豐富,那生命一定不是像每個人眼睛所看到的那樣 (令人失望),而是有無形的更重要的有價值的事物在其中。"
----- by Nick Vujicic (這個字唸法是 Vu-i-ji-cic)
最近 iPad 很紅 (或者該說很黑?)
特別推薦希特勒對 iPad 的評價影片 xD
其他好笑到讓我想罵髒話的影片在此
http://today.aol.tw/2010/02/01/apple-ipad-backlash-video-dom-joly-hitler-iwobbly/
其他好笑到讓我想罵髒話的影片在此
http://today.aol.tw/2010/02/01/apple-ipad-backlash-video-dom-joly-hitler-iwobbly/
2010/2/1
2010/1/30
深入淺出 Cucumber - 以自動測試網頁應用程式為例
Cucumber what?
- 是一個, 測試 framework
- 是一個, 設計工具
- 是一個, 需求分析工具
- 是一個, 行為導向開發工具
讓我們來看看下面這個例子: 自動測試網頁應用程式
*註:Cucumber 並不限於使用在測試網頁應用程式,而是可以搭配不同型態的應用以及搭配不同的程式語言如: Ruby, Java, .NET, Flex
Demo 影片在此
1. Describe behaviour in plain text (用純文字描述客戶的行為)
# language: zh-TW
Feature: 搜尋
為了要安排週末出遊
身為一個愛妻新好男人
我想要在 Google 查一下該去哪家餐廳好
場景: 搜尋美食
假設我連到 Google 首頁
Demo 影片在此
1. Describe behaviour in plain text (用純文字描述客戶的行為)
# language: zh-TW
Feature: 搜尋
為了要安排週末出遊
身為一個愛妻新好男人
我想要在 Google 查一下該去哪家餐廳好
場景: 搜尋美食
假設我連到 Google 首頁
而且我輸入"東區美食"並按下"Google 搜尋"
那麼我應該會找到"東區美食"或餐廳的介紹
那麼我應該會找到"東區美食"或餐廳的介紹
About this blog
This would be the first step.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
訂閱:
文章 (Atom)

