2017年2月10日 星期五

有人認為「傳統往往是創新的包袱」。試談談你對這句話的看法。

  傳統是人們根據他們的經驗而形成的暫時最好的事物和方法。人們往往認為傳統就是現時最徍的方法, 而抗拒創新,反對創新,而成創新的包袱。但是創新是社會誰步的動力,沒有創新,社會就沒有進步。由工業革命來,社會因為創新,研發出各種新科技,例如電腦,汔車,飛機等產品,改變了人類的文明和生活。

  近年,社會出現了很多巨人殺手,使很多傳統的大企業倒下。這些巨人殺手研發出創新性破壞的新技術,改變這個社會,使那些傳統的大企業無法適應,因而倒下。在這些大企業裏,人們大多反對創新,因為他們認為前人留下來的就是最佳的方法,創新的方法往往是失敗的例子,並且捐害他們的利益。他們抑壓創新,反對創新。即使有相對的創新方案放在他們眼前,他們大多不願使用。因為人類的惰性和傳統的認知使他們不願接受新技術。這些傳統的思維阻礙了這些企業的發展,因而倒下。但是他們沿用的傳統方法或技術亦是創新的結果。例如傳統的手機製造商諾基亞,它沿用傳統的操作系統,不採用較多人使用的和較先進的開源操作系統,使衰落。

  創新其實是傳統的融合。智能手機就是電腦和手機的融合和進化。手機即时通訊軟件是知訊和互聯網的融合。這些創新性的破壞技術其實是基於於前人的成功和失敗的經驗,加上他們的創意而形成的。沒有傳統,就沒有前人的經驗,就沒有創新科技的出現。

  傳統可以告訴創新科技術失敗的經驗。傳統是暫時最好的事物和方法。前人嘗試了很多不的方法,亦失敗了無數法,才有了今日的傳統。創新科技者就是研究這些失敗的經驗和成功的經驗而得出今日的創造性破壞新科技。著名發明家愛迪生經過多次的實驗才可成功研發電燈泡,改變全世界。他就是根據自己失敗的經驗才能成功。自己失敗的經驗是經驗,另人失敗的經驗也經驗。我們知道為何失敗,避免失敗,就會成功。

  創新科技源於傳統。人們礙於對創新科技的認知和傳統的依賴和惰性,不敢勇於創新,接納創新。創新科技是社會進步的動力,是傳統的融合和進步。它改良了傳統的失足,促進了社會的進步。傳統並不是創新的包袱,是創新的起源。

2017年2月7日 星期二

2017/02/08 賽馬實力數據


 raceNumRace 1
- THIS IS GLADIATOR (T261) -0.97485
- DANEWIN EXPRESS (S234) 25.91305
- YOURTHEWONFORME (T258) 55.238366666666664
- BLISS CARTEL (S202) 57.3695
- RISING POWER (N294) 61.91782666666667
- DASHING FORTUNE (P046) 74.5614909090909
- DOUBLE POINT (S246) 78.062725
- GOLDEN PARTNERS (S286) 82.5403375
- ALWAYS WONGCHOY (T263) 82.942525
- MY BLESSING (V164) 93.3663
- PERFECT TIMING (T019) 99.61278
- MASTER PINNACLE (S351) 109.3623
 raceNumRace 2
- TREASURE AND GOLD (V027) 52.2309
- REWARDING FLYER (T401) 53.21369285714286
- MR KOOL (T335) 58.478542857142855
- GREAT SPEED (S251) 60.21385
- HAPPY CENTURY (T042) 62.8921
- SHINING CHAMPION (S305) 63.80396666666667
- IDYLLIC WIND (N139) 72.1784
- SHOW MISSION (T436) 81.345775
- INTELLECTUAL GLIDE (S124) 83.86554285714286
- MANHATTAN STRIKER (V141) 97.51086
- ALL TOGETHER (T420) 136.47888
- LUCKY FRIENDS (V155) 141.3599
 raceNumRace 3
- DASHING POWER (V318) null
- GRADE ONE (A010) null
- UNIQUE JOYFUL (S241) 34.4228
- G-ONE LOVER (T427) 34.778166666666664
- BRIGHT STAR (N387) 39.85852857142857
- GRACE HEART (S399) 42.19131333333333
- RAINBOW FIGHTER (N193) 44.17372631578947
- SEE ME NOW (V171) 51.840975
- TEN SPEED (T239) 56.01752857142857
- ARM RUNDA (V248) 63.56544
- RAPIDASH (V209) 65.9825
- RAY OF GOLD (N443) 78.5462
 raceNumRace 4
- DON'T MISS (A017) null
- M REBORN (A046) null
- MIDNITE PROMISE (S379) 30.834666666666667
- CIRCUIT KING (T324) 35.632
- POWERMAX (A009) 39.9825
- CLEVER SPIRIT (T333) 48.4938
- VICTORY MUSIC (V308) 59.6712
- COUR VALANT (P190) 64.35578571428572
- LOVE CHUNGHWA (T207) 67.1083
- HASTA LA VISTA (T350) 68.06237692307693
- NATURAL TEAM (P257) 78.37091666666667
- ELITE EXPRESS (T344) 265.539
 raceNumRace 5
- PREMIUM CHAMPION (T187) 7.8503
- AGIAAL (N177) 15.514133333333334
- ASHKIYR (P151) 25.032075
- HAPPY AND HEALTHY (T056) 27.700272727272726
- GOOD FIT (S131) 47.58165
- KING BOUNTIFUL (T105) 64.41498333333334
- BLAZING PASS (T108) 73.86401428571429
- DIGITAL PIONEER (V177) 77.02976666666666
- SUPER FORM (T232) 77.2341
- BEST REWARD (V189) 86.59586666666667
- BO DUKE (S378) 102.63033333333334
- AUTUMN GOLD (P044) 107.4164
 raceNumRace 6
- OUR HERO (V278) 4.337866666666667
- NUMERO UNO (S044) 4.744
- TRENDY WIN (P099) 18.649166666666666
- MARVEL TRIBE (S142) 22.28165
- FLYING FORCE (V014) 30.87504
- LANG TAI SING (S280) 35.38818666666667
- DIAMOND LEGEND (V341) 37.7373
- LUCKY DAY (S014) 42.7596875
- I'M A WITNESS (T405) 42.846975
- SHARP HUNTER (P097) 52.43651333333333
- TRAVEL SUCCESSOR (V121) 55.065125
- WAYFOONG VINNIE (V055) 60.0051
 raceNumRace 7
- BULLISH SMART (S221) -11.210023529411764
- CHATER LEGEND (T151) -9.84626923076923
- VICTORY MACHINE (V358) -5.2691
- IMPERIAL GALLANTRY (T028) 8.8169
- BIG BANG BONG (V186) 12.2242375
- WORLD RECORD (V040) 19.9691
- UNIQUE HAPPIEST (S245) 22.6147
- VICTORY DAY (V079) 29.7996625
- YOUNG RANGER (S435) 46.7825
- DIGITAL GENERATION (T424) 57.26555
- MR PELE (V051) 80.616825
- WHAT MAN HORSE (V236) 192.2469
 raceNumRace 8
- GREEN ENERGY (A095) null
- MOST BEAUTIFUL (A022) -14.1305
- CROWN AVENUE (V378) 14.82685
- VICTORY MARVEL (T426) 15.86651
- PEACE N PROSPERITY (T210) 20.865036363636364
- GREAT CHARM (P111) 21.29050909090909
- RAGING BULL (S370) 22.337664285714286
- SKY MAN (S091) 25.2986
- FANTASTIC FEELING (T273) 28.208207142857145
- HONEST HORSE (S428) 43.55961666666666
- LAMAROSA (V093) 48.0454
- HAPPY BAO BEI (S172) 49.6617375

2016年5月14日 星期六

騎練組合入Q率 HKJC – Trainer and Jockey Place Percentage

Data Source From: 14/05/2016 – 12/07/2014
Last Updated: 15/05/2016
Trainer 練馬師Jockey 騎師Place Count 三甲次數Match Count 合作次數Place Percentage  三甲百分比
T P Yung
容天鵬
S de Sousa
蘇兆輝
560.83
L Ho
何良
J Moreira
莫雷拉
13170.76
P O’Sullivan
蘇保羅
J Moreira
莫雷拉
15210.71
J Size
蔡約翰
Z Purton
潘頓
570.71
C H Yip
葉楚航
J Moreira
莫雷拉
17250.68
A T Millard
苗禮德
J Moreira
莫雷拉
27400.68
C W Chang
鄭俊偉
J Moreira
莫雷拉
10150.67
A S Cruz
告東尼
S de Sousa
蘇兆輝
460.67
P F Yiu
姚本輝
R Moore
莫雅
460.67
P F Yiu
姚本輝
Z Purton
莫雷拉
9140.64
C S Shum
沈集成
J Moreira
莫雷拉
29460.63
K W Lui
呂健威
J Moreira
莫雷拉
17270.63

2016年4月1日 星期五

App Engine Send Email By Gamil API

App Engine and Gmail API are in Google Cloud Platform. It provides free trial and premium fee is required if it exceeds the quotas.

App Engine(Free Package)
Code and Static Storage: 1GB
Data Store: 1GB
Instance Hour: 28 hours per day (Front-end); 8 hours per day (Black-end)

For Detail:
https://cloud.google.com/appengine/docs/quotas

Gmail API (Free Package)
1,000,000,000 per day

For Detail

API Tutorial by Google
https://developers.google.com/gmail/api/


Sample Program


2015年12月1日 星期二

32 Bit JVM Memory

Max memory of 32 bit window is 4 GB. 

Q: How about 32 bit JVM?
A: According to the Oracle JVM FAQ, only 1.4 to 1.6 Gb heap memory can be get on 32 bit JVM.
Then, what is heap memory?

Explanation

"Java objects reside in an area called the heap. The heap is created when the JVM starts up and may increase or decrease in size while the application runs. When the heap becomes full, garbage is collected. During the garbage collection objects that are no longer used are cleared, thus making space for new objects."



Memory Structure of JVM:
 

JVM consists of 
  • Heap Memory (runtime data area for all class instances and arrays are allocated and created at the JVM start-up.)
  • Non-Heap Memory, which is used by Java to store loaded classes and other meta-data
  • JVM code itself, JVM internal structures, loaded profiler agent code and data, etc.
What is HotSpot? 
JVM is Java Virtual Machine, which is s software machine that simulate what a machine does. 
HotSpot is an implementation of the JVM concept. There are other implementation of the JVM Specifaction , like JRockit, IBM J9. 

OpenJDK is a project of an opensource implementation of HotSpot (and many other things such as compiler, JDK APIs) 

Reference List of Java virtual machines
https://en.wikipedia.org/wiki/List_of_Java_virtual_machines



2015年11月30日 星期一

JConsole Connect to JBOSS as Window Service

JConsole is a graphical monitoring tool to monitor Java Virtual Machine (JVM) and Java applications both on a local or remote machine.

Problem:
If the JBoss is started as Window Service, the JConsole cannot connect to the process.

Solution:

The below is required to add in Standalone.bat

set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.port=8086
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.ssl=false
set JAVA_OPTS=%JAVA_OPTS% -Dcom.sun.management.jmxremote.authenticate=false

Then, Start JBoss by Window Service

JConsole Connect to Remote Process
localhost:8086

Reference: http://docs.oracle.com/javase/7/docs/technotes/guides/management/jconsole.html