October 25th, 2017 Week 43rd Wednesday

Perseverance is not a long race; it is many short races one after another.

坚持不是一个长跑,她是很多一个接一个的短跑。

Today I want to compile the tangram-es library for my system and try to run its examples.

After working on the compilation for just thirty minutes, I finished the job, very simple job.

Thanks to the well-organized program and perfect makefile, the job is so easy.

But then I tried to impplement the library with my own application using Qt, I failed to compile my app successfully, there were several header-files that can‘t be found.

Frustrated, maybe I should be more patient to code for my application with my own solutions.

It isn‘t a good way to just use other‘s library, at least I should read their codes first and try to make a clear understanding about how they realized the functions.

A tough lesson in life that one has to learn is that not everybody wishes you well.

我们必须从生活中吸取的惨痛教训是:不是所有人都希望你过得好。

From Dan Rather.

Now that there are some people who are willing to see you have lived an extraordinary life, you should try your best to live a more extraordinary life.

That is the best way to answer those people.

How to evaluate an algorithm‘s performance?

Generally we would analyze it in two dimensions:

The time-efficiency and the space-efficiency.

Considering that the memory-space is not a vital problem in nowadays, so its time-performance would be the very thing that decide whether it is a good algorithm or not.

Please spare some time to read this blog:

https://www.cnblogs.com/sirkevin/p/8282595.html

How to analyze the efficiency of an algorithm?

原文地址:https://www.cnblogs.com/dengwenwu/p/8284232.html

时间: 2024-12-10 15:44:46

October 25th, 2017 Week 43rd Wednesday的相关文章

October 04th 2017 Week 40th Wednesday

We teach people how to remember, we never teach them how to grow. 我们教会人们如何记忆,却从来不教他们如何成长. Without practising the knowledge we have learned from books and from other's example, we never can transform those knowledge into ours, and they may have little

October 11th 2017 Week 41st Wednesday

If you don't know where you are going, you might not get there. 如果你不知道自己要去哪里,你可能永远到不了那里. The reward of one duty is the power to fulfill another. 完成一个任务的奖励是完成下一个任务的动力. From George Eliot. 原文地址:https://www.cnblogs.com/dengwenwu/p/8157320.html

October 18th 2017 Week 42nd Wednesday

Only someone who is well-prepared has the opportunity to improvise. 只有准备充分的人才能够尽兴表演. From the first day I joined this department, I found to be qualified for the job requires kinds of abilities that I hadn't had yet, for example, the ability to effec

October 22nd, 2017 Week 43rd Sunday

Yesterday is not ours to recover, but tomorrwo is ours to win or lose. 我们无法重拾昨天,但我们可以选择赢得或者输掉明天. Even if we can go back to yesterday, we might not be able to change the current situation. It may be unavoidable for most of us to encounter setbacks and

October 23rd, 2017 Week 43rd Monday

Champions have the courage to keep turning the pages because they know a better chapter lies ahead. 冠军有不断翻页的勇气,因为他们知道下一个章节会更好. There is an effect of acceleration for those winners, simply speaking, without a few exceptions, it is a case of winner tak

October 24th, 2017 Week 43rd Tuesday

We can't give up trying. The fight was worth it. 我们不能放弃尝试,奋斗是值得的. When doing researches in some cutting-edge fileds, like autonomous-driving, it is inevitable to encounter innumerable difficulties and setbacks. Sometimes, when you think your solution

Leetcode problems classified by company 题目按公司分类(Last updated: October 2, 2017)

Sorted by frequency of problems that appear in real interviews.Last updated: October 2, 2017Google (214)534 Design TinyURL388 Longest Absolute File Path683 K Empty Slots340 Longest Substring with At Most K Distinct Characters681 Next Closest Time482

October 19th, Week 43rd Wednesday, 2016

I find that the harder I work, the more luck I seem to have. 越努力,越幸运. However, I find that the harder I work, the more unfortunate I seem to be. Maybe I am just close to the critical point, and if I can take the next small step I will get a breakthro

January 25 2017 Week 4 Wednesday

In every triumph, there's a lot of try. 每个胜利背后都有许多尝试. There's a lot of try behind every success, and there's as well a lot of try behind some failure. And the later will be much more disappointed, but the usual condition is that I failed once, then I