Author Archives: qianggan

About qianggan

Sr. Software Engineer

Set Log Rotation

Source from: https://linuxconfig.org/setting-up-logrotate-on-redhat-linux and https://linoxide.com/linux-how-to/setup-log-rotation-logrotate-ubuntu/   What’s log rotation? Logrotate is a utility designed for administrators who manage servers producing a high volume of log files to help them save some disk space as well as to avoid a potential … Continue reading

Posted in Uncategorized | Leave a comment

PDO statement::execute(): MySQL server has gone away

Just in case you have same issue when you deal with big data in Laravel, and try to save the big data into database, you may have same issue. Original I thought it was time out caused MySQL connection lost, … Continue reading

Posted in Uncategorized | Leave a comment

A Work-from-Home Guide to Internet Speed

If your job depends on your home Internet, our bandwidth guide is for you. Editor’s Note: Frontier Business posted the article below on LinkedIn. There are many reasons why almost 3% of the workforce is spending less time at the … Continue reading

Posted in Uncategorized | Leave a comment

Why we lost 1M people?

Today is March 28, 2019, When I open the census.gov page, https://www.census.gov/popclock/. I found US population decreased again, that’s good news or fake news?? I pulled my last saved screen shot on Dec 04, 2018, the population number is 329,114,356. … Continue reading

Posted in Uncategorized | Leave a comment

Linux grep command

Sometimes, we need grep a string with slash/ or backslash\, like we want to know where we called this model “use App\Models\Users” in the code. First, I tried grep -rils “Models\\Users”, nothing returned; Then I tried grep -rils “Models/\Users”, still … Continue reading

Posted in Computers and Internet | Leave a comment

Digital Tranformation

Image | Posted on | Leave a comment

好久没有完整地看一部电影了,但是张艺谋的新片《影》我看了两遍,因为这的确是一部值得你看好几遍的好片。 说句老实话,第一遍看的时候,的确有些懵,但看第二遍的时候,随着很多细节的发掘,和前后情节的贯穿,明白了张艺谋想要表达的令你扑朔迷离的影子替身的故事,明白了表面的棋子和背后的棋局之间的道理。后来又花时间看了纪录片《张艺谋和他的影》,更加理解了张艺谋对电影的执着,追求完美严谨的呈现,所有道具,布景都一丝不苟。而且张艺谋的每一部电影都不重复,都在追求新的尝试,既然是有新的尝试,就一定会有失败和成功。在《影》这部电影中,我看到了成功,色彩运用的成功,演员表演的成功, 专业团队合作的成功。也许你看到只是两个小时的电影,但是这个屏幕背后所有人的付出,精益求精的态度,让你非常感动。我们看到的《影》是一部视觉和情节都超越了好莱坞的优秀电影作品。 也只有多看几遍,你才能正在理解张艺谋导演的匠心,这个电影是黑白两个主色调,就像影片中多次展现的阴阳太极的图案,将一正一反,一明一暗,一真一假,一阴一阳,一刚一柔都融合在了这黑白的水墨画中。结尾嘎然而止的镜头,却又给了观众以无限的悬念和猜想。 据说剧本原取自于三国关羽大意失荆州的故事,我们也的确可以将电影中的人物与故事一一对应起来:沛王是孙权,青萍是孙尚香,子虞是周瑜,杨苍是关云长,小艾是小乔,境州是荆州等等。 能够成为好电影,好作品,除了导演的用心,剧本的编排,演员精湛的表演对于人物的塑造和入木三分的刻画也至关重要。值得一提的是邓超一人分饰真身和影子两个角色,孙俪在影片中的抚琴和武戏都亲自完成,胡军耍大刀,郑凯写大字也都是演员本身的修炼,可见好演员戏内戏外都花足了的功夫。  

Posted in Movies, Uncategorized, 兴趣 | Leave a comment