Even if you don’t believe forever, you need keep going forward, even you don’t have the future, you shouldn’t give up present

If you have never any fear, how can you talk about brave. If anything is as you wish, how can you talk about facing life.

From the perspective of probability, most people cannot find forever love, isn’t it means that we have to give up to pursue? I believe everybody has his answer.

The world is very imperfect, there are plenty of problems, we all are imperfect, we all have problems. But, so what?

If you depend on that you can easily solve every problem, you are more vulnerable.

The imperfectness of the world, just like a light house far away, and very bright, it gives you a direction, so you know you can never reach it, but you can keep going forward. Just like our imperfectness.

Start from accepting ourself and accepting present.

Optimise log

Access speed of Ourcoders.com was always very slow. So I turn on mysql slow queries function. I found out there was a SQL statement, “SELECT * FROM mail_queue WHERE status = 0 ORDER BY rand() ASC”, case almost 90% slow queries.

And I think “ORDER BY rand() ASC” is not very important, so I remove it, and success reduce the slow queries rates.

And I remove the old slow queries logs, after one day, I found there was some new mainly slow queries, like that “SELECT id,title,replys FROM threads where createbyid <> 28504 AND id in (SELECT threadid FROM thread_replys WHERE userid = 28504 and del = 0 GROUP BY threadid) AND del = 0″. And I think the function using this sql is not important either, so I just remove the function.

Ok, now just let the bullet flies…

Keep learning

There is a very easy way to beat 99% of your colleagues and almost everyone in your circle.

This method is keeping learning. Learn to do your work, and how to make it better; learn everything that you are interested in. Because people learn a lot of stuff in school, but when they leave school, normally they think they will never need to learn anything. But truth is, when you leave school, the real course just starts.

If you can learn by yourself very efficient, you can do anything, so just keep learning.

How to remove noise from audio using Audacity

Audacity is an open source audio editor, very powerful and free, available in Mac and other major platforms. I use it to record my short audio program.

No matter what microphone you use, no matter how quiet your room is, your audio always includes some background noise.

Screenshot 2015-03-31 09.22.04

Like this audio above, the selection should be blank, but you can see some wave, because my microphone, and my fan etc. Audiences will hear it loud and clear, and nobody will like it.

But we can use Noise Removal Effect built in Audacity to fix it.

First step, select some background noise like the picture above. Then click menu Effect -> Noise Removal, this dialog box will appear.

Screenshot 2015-03-31 09.29.59

Click the Get Noise Profile button, the dialog box will disappear.

Then select the whole audio or what segment you need, and click menu Effect -> Noise Removal again, then click Ok button, and then everything is done.

Screenshot 2015-03-31 09.35.26

Now you can see the same section as the first picture, but these is a very clear line now.

Is Chinese anti-corruption action actually an internal struggle among political leaders?

We cannot know exactly what is Xi Jinping’s thinking. I think:

  • Xi Jinping need to protect himself. From public information and some
    unofficial information. We now know there was a plan to replace Xi
    Jinping with Bo Xilai. Game of throne Chinese version, and the better
    version. So Xi Jinping need to wipe out the conspiracy and everyone
    behind this conspiracy.
  • Xi Jinping acts very like Mao Zedong. Mao likes absolute authority.
    Anti-corruption is a very effective way to obtain absolute authority.
    Zhou Yongkang, Xu Caihou and all the big tigers were a sort of club
    members of Jiang Zemin.
  • We like Anti-corruption, corruption already caused a lot of problems.
    But now, I am not persuaded the anti-corruption campaign will last
    forever. When all enemies in the party are wiped out, Will Xi Jinping
    carry on fighting corruption?

Actually, I think the most important thing is what’s next. After Xi Jinping get his absolute authority, what is he wants? What direction he wants China to go?

Which are some of the character traits that most developers have in common?

  • We really like computer. Computer is a stupid machine, computer cannot independently do anything, you must tell it what to do, and how to do it. But the computer is a loyalty friend, he never lies, never cheat, never be angry with you. You can always rely on him. He is never lazy.
  • We like self-study. If you want to get jobs done, you must learn a lot of things yourself. Every year new languages, new technologies, new tools, new libraries appear, if you don’t want to be dropped behind, you must learn a lot.
  • We enjoy challenges. Everything that kills me makes me feel alive.
  • We love efficiency.
  • We like good structure.
  • We hate bureaucracy.

What is the best profession in the world?

A programmer of course.

Low entry barriers: I know a lot of people learn how to program from other professions. When I lay in college, my major was mechanical engineering. Some talented programmers from Vietnamese major, from constructional engineering major, English major and so on. I learn how to program from 1992, when I was 13 years old. And I met some 13~17 years old very cool programmer, they are very clever kids and know a lot of stuff.

Low material needs: Computer was very expensive before. But now even in China, almost every citizen gets one or more computer in the house. You do not have the required any land, money, any materials, only use your mind, the computer and the internet connection, you can make money wherever you are.

Long career: If you want, you can keep your career as long as possible.

A lot of needs: The world is rapidly changing. Everything will be connected to the internet. There are a lot of needs of programmers.