Big News Today

Big news today, involving both exciting and depressing part.

Exciting Part: my work done during the internship this Summer at Google became part of TensorFlow, a deep learning framework and it became open-sourced today. https://github.com/tensorflow/tensorflow

Depressing Part: Even so (plus Jeff Dean attended my internship wrap-up presentation and said “We should definitely hire more interns like this” at the end), I was rejected to become an FTE of Google two month ago. Also, I did not find my name in the acknowledgement section of TensorFlow’s website: https://tensorflow.org/

All in all, 一颗赛艇。就酱。

Ubuntu is Sexy

One very exciting legacy habit that Google left with me is – now I am very comfortable using Ubuntu as my daily OS. At Google, almost everything (yes, even coding and code management) can be done via the Chrome browser, not to mention documenting, sliding, sheeting, emailing, and oh yea, entertaining with online video streaming. Silicon valley may be the most hostile area to Windows OS on this planet, and with Ubuntu, you do save some money for resisting the temptation to use a Mac (at least for some).

Looks like that -Wshadow is so important

For GCC, you can use -Wshadow.

-Wshadow

Warn whenever a local variable or type declaration shadows another variable, parameter, type, or class member (in C++), or whenever a built-in function is shadowed. Note that in C++, the compiler warns if a local variable shadows an explicit typedef, but not if it shadows a struct/class/enum.

By carelessly re-declaring a variable in a while scope, was stuck on a super annoying bug for a ton of time… looks like that -Wshadow is so important.