Category Archives: General

DSE經濟科倒數兩日-最後補課
「 老公,如果客廳有塊白板就好啦。」
「…」
事就這樣成了。

An Impromptu digital whiteboard for  Esther’s remedial class at home.

中文大學經濟系2018年度畢業生合照。今年有幸邀請到中大社會科學院院長趙志裕教授及經濟系系主任張俊森教授作嘉賓。 #中大經濟
CUHK Department of Economics Class of 2018. Guests of honor: Prof. Chiu Chi Yue, Dean of the Faculty of Social Science and Prof. Zhang Junsen, Chairman of the Department of Economics.

#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.

由兩年前開始,人工智能已經可以做到換臉的效果。*隨著技術的成熟和普及,一些…不太見得光的用途亦開始出現。網上社群Reddit現時有一個群組專門把著名女星的臉配上成人影片之上。該社群還推出了一個應用程式把換臉程序大幅簡化,只要用戶找到影片,按幾個鈕就可以利用家中電腦的顯視卡製作影片,無須對背後的技術有任何瞭解。難怪網媒Motherboard的報導標題為「We Are Truly Fucked」,因為根本無法阻止有心入把別人當成對象製作影片。

從市場發展來看,這技術應該有利成人影業。現時的製作需要願意放下身段又有一定相貌身材的藝人,當換臉或人造臉成風,那「露肉」藝人的相貌就不重要了。雖說好此道的觀眾亦可在家自行製作,但過程耗時之餘,次次換臉不換身也會厭吧?反過來說,藝人「露肉」價值應該會下降。反正有心的觀眾可以自行製作,藝人倒不如明哲保身更好。

參考:

We Are Truly Fucked: Everyone Is Making AI-Generated Fake Porn Now
https://motherboard.vice.com/…/reddit-fake-porn-app-daisy-r…
Gender and Race Change on Your Selfie with Neural Nets
https://hackernoon.com/gender-and-race-change-on-your-selfi…
Nothing is real: How German scientists control Putin’s face
https://www.youtube.com/watch?v=ttGUiwfTYvg

今日用Bitcoin買嘢要幾耐先確認得到?答案係1,928分鐘,即係一日再加八個鐘。#等到蚊瞓
Bitcoin transaction confirmation time today: 1,928 minutes.
That’s 1 day and 8 hours in case you’re counting.

我真係孤陋寡聞, 原來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.)


無獨有偶,今天有兩單新聞都是有關獨立運動的衰敗。其一是西班身加泰隆尼亞自治區主席普吉德蒙現身比利時*,懷疑尋求政治庇護。其二是伊拉克庫爾德自治區主席巴爾扎尼請辭下台**。兩者都因為近月舉行獨立公投而導致其管治區受到中央政府的嚴厲打壓。前者被西班牙政府以憲法155條暫停自治權,後者則更慘,被伊拉克政府軍以武力奪去作為主要經濟來源的油田。
 
這兩個發展對各地區的獨立派來說應該是一個警號:宗主國是否民主,地區是否有武裝,和歐美各國有多親近其本上都沒有多大分別,國際環境目前就是難以容下分離主義。
 
* https://www.nytimes.com/2017/10/30/world/europe/Carlos-puigdemont-Belgium-Spain.html?rref=collection%2Fsectioncollection%2Fworld&action=click&contentCollection=world&region=rank&module=package&version=highlights&contentPlacement=2&pgtype=sectionfront&_r=0
 
** https://www.nytimes.com/2017/10/29/world/middleeast/iraq-kurds-masoud-barzani.html?rref=collection%2Fsectioncollection%2Fmiddleeast&action=click&contentCollection=middleeast&region=stream&module=stream_unit&version=latest&contentPlacement=4&pgtype=sectionfront

我可以唔可以同一年級學生解釋到點解主成分分析(principal component analysis)係條特徵值問題(eigenvalue problem)?
Wish me luck—I am going to try to explain intuitively to first-year econ majors why principal component analysis is an eigenvalue problem.