Menu

#Keras tip: you actually need to specify batch size again when you run model.predict() after model.fit(), otherwise it defaults to a batch size of 32. Depending on your model this could be too small, leading to incredibly slow inference. Common online examples do not seem to emphasize this at all.

我真係孤陋寡聞， 原來Nike而家有賣以本地中學為主題嘅T-shirt。
That’s my alma mater’s emblem at the front. Apparently Nike is now selling t-shirts with various local school mottos. Can’t say that’s a bad strategy—even I have the urge to buy one.

太太任教的中學想搞電競比賽，結果因為家長反對而作罷。這些家長實在太落伍了，今時今日電競絕對是專業運動，職業選手有大公司贊助又有大量粉絲，絕對是人生贏家。
E-Sports is still a taboo among many Hong Kong parents, who hold the outdated view that gaming is just waste of time with little reward.

（相中為鬥陣特攻中國隊，剛在昨天的世界賽八強戰中輸了給法國）
(China just lost to France in the Quarter Finals of Overwatch World Cup. Team pictured below.)

在經濟系教一年級數學並不容易，因為文科出身的學生不會無條件接受數學的重要性。上星期有學生問matrix transpose有何用，今個星期就有另一名學生就determinant問同一個問題。我記憶之中，自己在數學系上課時從來都沒有學生會問這樣的問題。
Teaching a first-year mathematics course offered by the economics department is not easy, because students will not unconditionally accept the usefulness of mathematics. This is particularly true for students with an arts background. I had, for example, received questions doubting the usefulness of matrix transpose and determinant. I have never heard of such questions back when I took similar classes from the mathematics department.