網頁

2011年5月3日 星期二

生日願望---我想變有錢人!

十年的歲月,對於不同年齡層來說,感觸會有所不同. 年長的我,會覺得年輕不再;年少的我,會希望快快長大,但現在的我,又有何想法? 我很感謝老天爺,讓我兒子能順順利利、平平安安地歡度他今天十歲的生日.

小孩總是無憂無慮、不知道天高地厚的生活,只想著要生日禮物,其他都不在乎,這是顯現他的純真,還是他的無知? 在旁人來看,有位疼他的奶奶、最佳兒時玩伴的姐姐、理性地老媽會在旁叮嚀呵護著學業與身心,全家一片和樂融融,這樣的情景,才算是最幸福的禮物!


不管如何,應景的東西一定要有,那就是蛋糕! 老婆昨天就訂了一個"6"吋的蛋糕,小雖小但已足夠我們全家吃.更何況我這個老爸不太愛吃甜的(當心三高中的高血糖),雖然兒子起初不太滿足,但經過老媽道德規勸,再加上威脅利誘,兒子總算才能接受.真搞不懂,難道蛋糕越大吋,就表示自己越受到重視嗎? 或許真的有這樣的想法! 但老婆的決定是對的,因為今天晚上的蛋糕也沒有吃完!

既然如此,今天也比往常早點回家. 原本以為慶生已經結束,沒想到開門時兒子告知在等我回家一同慶生,這時內心深處有點感動,至少還覺得兒子沒有白養!(但內心還是希望小孩長大後還是如此,雖然目前有點疑惑!) 這時候,趕忙吆喝大家到客廳,圍著蛋糕對著兒子唱起生日快樂歌!

唱完歌後就要許願,之後才是今天重頭戲---切蛋糕、吃蛋糕.這時候,問問兒子今天第一個願望是什們? 您們猜呢?
一般都應該說:希望自已或家人身體健康、萬事如意等等,但沒想到他竟然許願是:希望自己很有錢!!! 聽著有點傻眼,果然是標準的"金牛座"!

2011年4月30日 星期六

Rotate your Video Image!

Recently, I need to do a homework. This job is assigned by my wife to burn Video DVD/CD from Camera. The reason is that this semester has a Cultural show in the school. She is a Junior high school teacher so that need to plan it in her responsibility.

She want to plan a dancing show for this activity. So she invite a Dance teacher guide the student to dance. This is why she need to capture the learning process by Camera. So do that can replay the scenario then and let student to correct the drawback.

Due to capture the screen in vertical or horizontal,I need rotate the image to the identical appearance. So I need to use the utility to rotate it. Where to find this utility? Fortunately, we can find it by search engineer as Google or Bing ... 
This is "Free Video Flip and Rotate" and it is very simple for me to operate it. Another is an important that it is free!

After download and install it, the program will be executed by click it. The initial screen is as follows:

Next click the button to select the image for correct it later.


Finally,select the location and click the right-rotation button.


So do that you will see the screen is normal now.

After click "Convert" button, this image has already been corrected now!

Thank the author supply this "free" utility for us. I think it is enough if you don't request high quality and a little latency. Otherwise, you need to buy commercial product to satisfy your request. Until now,this is very good product for me to let my homework be finished quickly.

2011年4月23日 星期六

Expand disk space on Openfiler

Recently,my P2P function fail due to the space is not enough.The space is not hard disk. I use Openfiler installed on virtual machine to assign iSCSI Lun for OS. So do that the OS can mount iSCSI disk after VM boot.

How to know the present disk space by Openfiler interface? By following order,you can know disk space and it did show me "no enough space" now.

Before adding VM disk,I need to confirm What disk size need to be added. I hope the same volume group own the same disk size.


After adding VM disk,whether the system can know exist new disk right now? This is that don't need to reboot it!
By searching the related information, I find out the following command can satisfy  this condition.
I just know this step is for Openfiler install on the VMWare workstation. I am not sure whether it can suit the Openfiler install on the practice machine directly. This process never is confirmed.


After doing the above command, the openfiler did find out the new disk.

Next step, let me begin to add new disk to volume group now by clicking the hyperlink /dev/sdk.

At first, we need to set a disk partition size to create new physical volume. I will assign the full disk for new physical volume.

.

Based on volume group interface, I want to add new physical volume to this volume group so that click the hyperlink "Add PVs".

Now, you will see the new disk. Let use enable check box and submit it.

Back to the fist step, you will see the disk space is extend now.

Although, the Openfiler system has already added new disk successfully. But we need to do something on iSCSI initiator. Otherwise, you will see the space still never expand by disk management.

By windows 7 built-in extend function, you will be easy to expand the disk space now.

Now, I have enough disk space and continue to use P2P function.

2011年4月16日 星期六

花博一日遊

這幾天新聞有個焦點,就是2010台北花卉博覽入園人數將會突破800萬人次,但卻有100~200萬購票者卻尚未入園參觀,而我卻是其中的一位,理由是"想等到人少的時候,即快要接近封園4/25期間才去".這種一廂情願的想法,卻是絕大多數人的想法,因為最近電視、報章所報導參觀人潮,簡直是用不可思議來形容,越接近結束日期人潮越多,真是有點失算.既然如此,全家就決議這週假日去湊湊熱鬧,因為這段時間小孩們都已經考完試.

人真的很奇怪,就是喜歡湊熱鬧,明明電視報導入園要排隊,每個館也要排隊至少要半小時以上,甚至連最熱門的夢想館前天晚上九點就要排隊,但實際可參觀的景象卻是短短的幾十分鐘(扣除照相時間),但還是吸引相當多的人趨之若鶩、蜂擁而至,這種不怕苦、不畏難的精神,著實讓人佩服,因為打從心裡,我就不太想去參觀. 一來是個人對花不太感興趣,沒有這方面欣賞的天賦,二來更不喜歡去湊熱鬧,特別是到人擠人的場所,覺得這樣的場合會失去悠閒的興致,畢竟個人個性算是內向吧!

若您問我:既然不想去,為何要買票?
因為想當個孝子,想在這次台灣第一次辦花博展留下足跡,不想失去了參與這盛大的活動機會,所以才會買票,而且是要帶家人去,不是僅僅自己要去而已.

會拖這們久,當時個人想法也只是想要避開人潮,沒想到後來失算,看到假日人潮不減反增,就逐漸打消想去的念頭,所以才會拖到現在. 要不是老媽提醒,加上小孩也想去走走,要不然真的會想放棄這次機會.我想:尚未入園的朋友們大致上也會有此想法吧!

雖然今天人潮如電視所說,單單排隊入園就要半小時,排隊參觀"爭豔館"要1小時,其餘時間都只是參觀戶外景象,並沒有再次排隊參觀任何一個館,因為擔心時間都會花在排隊上,難怪有人說:一天時間參觀不完!
不過我們一家人也挺厲害,坐捷運從圓山進入,走路到新生出,中間除了吃飯與上洗手間外,幾乎都在走路,難怪我們一回到家,全家人就各自在自己的床上躺平(我兒子除外,因為在玩電腦).

真是一天美好的回憶,如此鍛鍊腳力! 想想若是參觀上海舉辦的世博,不知道會有何情景?

2011年4月10日 星期日

"理論"與"實際"的教育理念?

最近老婆為了學生"誠信"問題而傷腦筋,原因是上數學課時被老師抓包---有學生帶手機而未在上課前交出給老師保管.對於這些違規的同學,該不該要用校規處理? 即以記過處分而傷腦筋!

學校在新生報到時就有明白告知:禁止學生上課使用手機! 但並沒有具體說明哪些情況才算違規或違規後懲處方式等等相關細節.或許這些舉止無法能在事先說清楚,講明白,一切要等到事件發生時才能依狀況處理,此時,難免會帶有個人主觀判斷意識,如此標準就會因人而異.

站在學校與老師的立場,總希望學生不要帶手機,或者有其必要性的學生能事先向老師登記,並在上課前交出手機讓老師保管.
學校或老師的用意,也是希望學生在上課時能專心,避免因使用手機附加功能(如遊戲,照相等)而影響到學習;下課時也能夠適當休息,避免因玩樂手機而使同學間有些脫序的行為發生,甚至一時衝動Call外校或幫派到校,造成校務問題發生.總總觀點才會對學生帶手機的行為加以控管.

學校或老師的美意,或許在家長眼裡覺得大驚小怪,為何小孩因"被動性"交出手機而要受罰!
或許在家長的觀點,覺得小孩還小,多少會犯錯或小錯可原諒.沒錯,誰從小到大沒犯過錯! 但重要是:知不知道自己犯錯或下次會不會再犯相同的錯誤! 畢竟現在小孩太精,從小就可從各種管道吸取各種的知識與經驗,並轉化成自我的意識與觀念,故已具有些對事物判斷是非的能力,目前絕不能用我們過往的觀點來認定小孩的成長或學習狀態.

沒錯,在我叛逆性的觀點與過往的學生經驗來看,覺得老婆要求太過完美或理想,不需要因為小孩沒有誠實而使內心受創或教學受打擊,讓自己情緒受到影響而使身心受到傷害,因為不會有人感激您的! 即使有,傷害都已經造成,如何擬補與挽救,難道只是一些達官顯能說說讚美的話或是頒給優良證書就能夠解決問題的嗎? 只要我們秉著良知認真做事,認真做好我們的本分就夠了,其他的事,就只能用隨緣這兩個字來詮釋了.

現在的教育理念,非用三言兩語就能夠解釋.有些長官認為要效法外國,將教育改成"四不像"---沒有標準原則,又做不到位,與國外的教學差很多,這時候,就苦了孩子與老師.
小孩每天要帶超多的教材,書包比一台筆記型電腦重(跟石頭一樣),要讀各種的書籍以應付各種考試;為了提升學校升學率,老師也被迫要準備各種教材,並在"沒有任何具體教育準則下"要無時無刻注意小孩的學習發展,且無時無刻需要受到社會大眾拿放大鏡的檢驗---處罰太嚴與太鬆都有人有意見.

不管如何,現在的老師真的不好當! 大眾總以為老師有寒暑假等福利就覺得老師很好當.這樣的想法就好像只看別人的好,未曾想過對方過去或經歷辛苦的一面.如同人人稱羨的電子新貴,每到發年終獎金時總是說得令人眼紅,孰不知背後辛苦的一面"要超時工作且承受壓力",畢竟過勞死也只是冰山一角而已,我想現今過勞工作的人還是很多,也不侷限在電子業.這樣人為何要如此工作? 我想也應該探究問題背後的問題,非直接看表象而已.

如果可以重來,再回到從前的學生時代,我一定會認真讀書,上課絕不會再打混摸魚或搗蛋,平日多充實些課外讀物,特別是語言方面,並加強自己寫作的能力,絕不再浪費時間. 如此盡早做準備,在未來出社會謀職時,能具備更多的實力與能力以應付各種工作上的挑戰.

若當初我能夠提早認清,即聽老師的教誨,現在就不會如此辛苦,時時刻刻在補足先前所欠缺的技能.因為在職場上,一切只能靠自己---"自己的能力與實力",避免常犯錯或犯下不可彌補的失誤,畢竟是成敗論英雄!

2011年4月2日 星期六

Extend booted VHD space

Recently, I want to install windows 7 service pack 1 on my virtual environment with VHD file. When I do "windows update" function on windows 7 platform, it tell me that "Installation error!".

At first, I think the Cloud tool influence the install procedure. Because I ever happen the same problem on another machine due to this tool running. Then I can install windows 7 service pack 1 after it is disabled service. Due to the previous experiment, I think follow this procedure to resolve the problem. But the result still fail!

After checking log message, I find out the key point is "no enough space". This is a big joke for me to forget checking system log! So do that let me spend more time to search what happen.


The root cause has been found. Next step? Of course, extend VHD space. How to do it?

I search the method by Google and find out one tool can help me."VHD tool"
At first, I download it from this URL http://archive.msdn.microsoft.com/vhdtool/Release/ProjectReleases.aspx?ReleaseId=5344 next to install it on windows 7.
The command prompt run as administrator is executed and do the following command to extend VHD size next to boot it from VHD file.

Command -- VhdTool.exe /extend [/quiet]
WARNING – this function is admin only and bypasses file system security. The resulting VHD file will contain data which currently exists on the physical disk.
To extend an existing fixed format VHD to a larger size(from 25GB to 35GB).
Command -- VhdTool.exe /extend xxx.vhd 37580963840

To attach VHD file by Disk Management console

To open Partition Wizard tool, you will see unallocated partition 10GB.

To click move/resize button and move mouse to the rightest plane for extending partition.


So do that you will see the VHD file is extended space to 35GB by disk management console or file explorer.

Now I have disk space to install windows 7 service pack 1.

2011年3月18日 星期五

天佑日本!

這禮拜的國際的焦點新聞全都集中在日本! 地震海嘯大火核爆,再加上蠢蠢欲動的火山,一連串的災害,真叫人觸目心驚! 雖然我們隸屬不同的國度,先天上有地理的限制與後天的歷史糾葛,但同是生活在地球村的我們,看到如此的殘景,也不由從內心深處觸發憐憫心,感同身受地悲從中來.此刻,請讓我們短暫地忘記彼此的不識或拋棄過往的恩怨,一同為日本祈福,希望他們能夠在這次劫難中安然度過.

"活著真好!",我想有經歷過生死關頭的人們才能夠體會這句話的涵義.在看到目前日本50位勇士正在為核爆的危機做最後的努力,這種將個人生死置之度外,只為了挽救國家的存亡,試圖將傷害降到最低而犧牲,這樣的情操,真叫人感動與不捨! 試想:若是發生在個人身上,是否有足夠的勇氣與膽識,以犧牲小我完成大我的精神來面對這樣的危機?

同樣地,國人也在自問:若這樣的場景發生在台灣,政府或人民是否有信心與能力面對這樣的風險? 看法顯然是兩極化,議題也足見帶有些政治色彩,讓人民無法分辨. 到底是該相信政府民代或是專家學者,我想一般百姓也很難定讞. 但經過這次日本核爆事件後,讓我深深體會到:"絕對沒有百分之一百的事物會完全按照人類計畫而行"! 因為有很多事情發生是人類無法想像的!

唯有將思考點拉高,跳脫過往的經驗與理論,用非常理的邏輯來思考事務,才有機會讓人類遠離災害. 因為過往人類認為不會或不曾發生的事件,現在都一一發生了.不該下雪or下雨or乾旱等等天災發生了,自認為有能力掌控的科技也出事了,難怪日本的核災引起全球的關注,因為這不在是區域性,日後可能會具有潛伏性地擴散.倘若海洋或生物受到感染,有可能因食物鏈的關係而傳播到世界各地,畢竟人類還無法杜絕這樣的災害,不然,為何各國束手無策? 為何各國要撤僑? 為何要撤離人民? 為何災害到目前還是無法杜絕?

上述論點不是使大家懷憂喪志,是希望大家記取教訓,更加地小心翼翼處理相關核能問題,避免這樣的事件再次發生.不管如何,此時,還是希望大家一同為日本祈福 --- 天佑日本!!!
Since 2010 Design by Davidwa
©Copyright Davidwa Inc. All rights reserved.