23 Nov 2016
Recently in a chromecast project which requires to play MPEG-DASH format, we found that current official Media Player Library has some limitation on retrieving license, some other developers also have this similar issue and they have complained at chromecast developer forum, unfortunately, nothing is indicating there would
be a fix soon.
Based on the response of someone from google, they suggest developers to skip the request to make their own license requests, however, without having access to the Message Event fired by the media library, we won't be able to construct necessary license request, that's I say it's limited.
But this thread actually leads me to the correct solution, which is to add a simple workaround to the original media player library to make it support updating license request URL, and also make it support GET method. (by default it only support POST)
Read More
08 Nov 2016
It is almost universally felt that when we call a country democratic we are praising it; consequently, the defenders of every kind of regime claim that it is a democracy, and fear that they might have to stop using the word if it were tied down to any one meaning. – George Orwell
最近的一些事情,美国选举的丑闻,韩国总统的丑闻,香港立法会的闹剧,使我对民主这个曾经令人神往的词又产生了一些思考。
民主的一个理念就是说要人人都有权发表自己的意见,甚至可以通过投票的方式来达到使之实化的目的。可是,在今天这样的环境下,民众表达的意见是否是其本身经过思考的想法,抑或只是被舆论媒体导向的结果呢?信息时代咨询获取的便利性与被动性在一定程度上削弱了人独立思考的能力,越来越多的人或许只是在休闲的时候刷一刷社交媒体,看一看朋友近况,结果被一股脑儿地灌进了各种心灵鸡汤,求职指南,时政分析,并且这样的信息会多到令人在睡前最后一刻也难以刷完,更别说对其加以消化和思考,结果就是随波逐流,成为舆论媒体的目标与对象。我至今还对韩国电影局内人的一个片段印象深刻,片中的新闻作家将民众比作猪狗时那种打脸的感觉,就好像被硬塞了一坨屎又吐不出来一样。
Read More
09 Aug 2016
# I do wish these command lines would soon be executable
cd ~
usermod -a -G family wen
chown -R wen:family *
mkdir living-room
mkdir bathroom
mkdir kitchen
mkdir dining-room
mkdir bedroom
cp /var/lib/tv ~/living-room/
cp /var/lib/bathtub ~/bathroom/
cp /var/lib/kichenware/* ~/kitchen/
cp /var/lib/dining-table ~/dining-room/
cp /var/lib/bed-size-king ~/bedroom/
echo '😢' > ./memory.log
echo '♥' > ./memory.log
echo '😊' > ./memory.log
forever start marriage.js