When I read the book "The Magic of Thinking BIG", chapter 7 "Manage your environment: Go First Class", a thought emerged into my head: friends are like genes. When a baby was born, it is a product of genetic combinations of both the parents'. The differences between the parents' genes will produce a brand new … Continue reading Friends are like genes?
Morning 28.9
Tweeted an article written by Digg Engineers about how they migrated one of their modules from Node.js to Golang. Their result was a success. The article gave a very detailed analysis why Node.js did not meet their needs anymore. It also mentioned that the performance of the module was increased a lot. However, they stated … Continue reading Morning 28.9
How to iterate over a Collection in Java?
Traditional way Pros: - an iconic way - can access to both index and value at the same time Cons: - too much code Use: - when you need to know the index of the element in a loop. The Iterator way In Java, Array and Collection all implement Iterable which returns an Iterator. If … Continue reading How to iterate over a Collection in Java?
Passion
My girlfriend shared me an interesting video tonight. It recorded a situation happened in a hospital in which the nurse and the doctor were trying to save a new born baby. The little one seemed to stop breathing. What moved me was how persistent the nurse and the doctor were to save the baby. The nurse, … Continue reading Passion
Big Data and its application?
I & my girlfriend was coming back to our hometown, Bien Hoa city. As usual, every time I was in motion, I always have some really deep thought. When she & I was discussing about how we could invest money by buying gold and then selling again to make some profit, a thought came to me … Continue reading Big Data and its application?