Finished most part of “C++ In A Nutshell”, and Scott Meyer’s “Effective C++”, and started to learn the basics of C++ language. Really great books to start to learn the basics of C++, and some of the fundamental problems in the language.
Some security pitfalls in Python language. Very interesting read, from RedHat.
A very beautifully crafted GDB init file. Worth taking a look.
From the author of ‘The Hacker’s Guide to Python’.
If this site is reliable, this is Alan Kay’s reading list for all his students. He’s a great thinker, not just in Computer Science, but human intelligence in general. His list is a constant reminder how much I’m trailing the great minds of this generation, and how much I should pick up the pace in reading.
Tips on being an efficient programmer.
Interestingly how big companies like Facebook and Google use techniques to enchant you to stay on their page for more time, or click on more of their links. I think it’s an interesting read that raises our awareness against cases such tricks, and help us defend ourselves from such exploitation.
How a slew of new startup decide to use the latest technology such as “Blockchain” and “Ethereum” to decentralize the key web infrastructures and the World Wide Web they support, to compete against giant cooperations like Google and Facebook. It’s an interesting to trend to keep an eye on, but so far I don’t know if I have the optimism that they’ll succeed.
Eli Bendersky’s blog has always been a must-read to me. He never fails to regularly come up with posts of interesting and insightful ideas, or detailed tutorials.
He also actively participates in LLVM-dev mailing list and based on his blogs, has board interests in programming language, computer systems and etc..
Phillip Guo is another one of my favorite bloggers. This time he wrote an intro to HCI research.
Recently my colleague and I were working to port V8 JS engine as one of our benchmarks. We used it as it’s a widely-used library on devices we cared about, and we believed it’s a well-maintained, high code quality project. Or at least we thought.
A good review as well as critique to the original “How to C in 2016”, debunking some myths, and making suggestions on how to really code in C.
List of Common Misconceptions from Wikipedia.
The minimal fuss setup for frontend development, from Philip, one of my favorite professor, programmer and bloggers.
Just finished Clay Shirky’s Here Comes Everybody, which I think it’s a very interesting book. The author shared his insights on how the Internet effectively gathers the power of people, and how it is rapidly reshaping the society today. Book starts with a story on how Internet helps a lady to regain her lost cellphone with the assistance and pressure from people online, and expands discussion to what why it could happen, and what we should do about it. The world is smaller and people are closer than ever before, for better or worse, because of technologies. In this book, the author carefully analyzed ways Internet could affect our lives, what it means to the world.
I listed several observations the authors provided in this book, which I find very interesting.
On the graph traversal and their efficiency.
- Pre-order depth-first-search
- Reverse post-order depth-first-search
This could be a very helpful reference when designing data-flow analysis on programs.
How to use version numbers in a sensible way: the MAJOR.MINOR.PATCH format. And I quote:
- MAJOR version when you make incompatible API changes.
- MINOR version when you add functionality in a backwards-compatible manner.
- PATCH version when you make backwards-compatible bug fixes.
Your personal data is the fuel to power the Internet today, and how should we face it.
An interesting ‘bug’ in some versions of GCC (and Clang as well) implementation. Since it’s ‘undefined’ behavior after all, compiler is not obliged to implement it as a defined behavior. Use
-fwrapv flag in GCC to inform the compiler that integer value wraps.
Signal timeout for every small amount of time (say, 1ms in this case) and record the current stack, and we can infer time spent in each function precisely enough. A smart way of profiling large Python programs.
Note: python signal callback passes signal type and signal handler, and signal handler takes signal number and current stack frame.
Great book to Python, covering code style, best practices and scenario guide. Just started reading it.