August 14th, Week 34th Sunday, 2016】的更多相关文章

To live is to function, that is all there is in living. 活着就要发挥作用,这就是生活的全部内容. I often joke that my dream is to work any more but there is stll enough money to support an affluent life. Just a joke. And that may be because I am often feeling tired of m…
Life is not a race, but a journey to be savored each step of the way. 生活不是一场赛跑,而是每一步都应该细细品尝的人生旅程. No, no, no, I think only winners will be qualified to say that for they have already had the spare time to savor their life experiences. But for those w…
Fear doesn't shut you down, it wakes you up. 恐惧不会消磨你的意志,它能激发你的潜能. We all know that fear is powerful, and we all want to overcome fear, so that we can achieve something we can't do before. But sometimes, after constantly trying and failing, some of us…
Genius is nothing but labor and diligence. 天才不过是勤奋而已. Labor and diligence are the requirements for success, especially for those ordinary. But sometimes, they can't guarantee that you are sure to succeed, the direction is also very important. Maybe t…
When ambition ends, happiness begins. 野心消亡之日,正是快乐破茧之时. No ambition, no annoyance. No ambition, no achievement. Be sure you put your feet in the right place, then stand firm. 让自己站在正确的位置,然后站稳. Honestly speaking, it is very difficult to find the right p…
Life is not a problem to be solved, but a reality to be experienced. 人生不是待解决的难题,而是等着我们去体验的现实. Life is not composed of problems, it is not so hard as you may think. Don't criticize what you can't understand. 不要批评你不了解的事情. That is one of the laws of my…
2016-07-03 First-hand experience is often necessary for personal growth. 亲身体验通常是成长所必须的. Although sometimes we can learn from others, it is of great importance that we exercise the same processes and do some changes ourselves. Because only in this way…
If you wept for the missing sunset, you would miss all the shining stars. 如果你为错过夕阳而哭泣,那你有可能也会错过灿烂的星空. You didn't see the sunset, it was what you wanted to see all that time. You felt frustrated, and you may hang your head and wepted for your unfortun…
Miracles happen every day. 奇迹每天都在发生. Miracles actually happen every day, every moment. You may think why miracles only happen to others, not you? Basically, miracles are merely opportunities, only those who are well prepared may have the luck to get…
You are beautiful, but that is not why I love you. 你如此美丽,但我并非因此而爱你. Although we have always been told that don't judge a thing from its appearance, it is a world that the appearance is becoming more and more important. And we often fall in love with…
Risk comes from not knowing what you are doing. 风险常常来自于不知道自己在做什么. What is risk? I think risk means the things that you can't control, you don't what it will be, and what it will bring to your life. As in coding, you must take everything of your code…
Everything is good when new, but friend when old. 老朋友更醇香. When did you meet with your last friends last time? Several weeks ago. We had talked about each other's recent developments in telephone, and they telephoned me. It seems I haven't actively co…
Life is like a watch, you can return to the starting point, they are not yesterday! 人生就像钟表,可以回到起点,却已不是昨天! Weeks ago, I listened a song named "Yesterday" from the Netease-Cloud Music. At the beginning, it is the song's melody that attracted me, b…
Android Weekly Issue #218 August 14th, 2016 http://androidweekly.net/issues/issue-218 ARTICLES & TUTORIALS PathMorphing with AnimatedVectorDrawables Android 5.0 推出了VectorDrawable, 矢量图为处理多种屏幕尺寸的带来了很多好处. 这篇文章先介绍了VectorDrawable的使用, 然后主要讲如何实时操纵图像的改变, 用An…
from http://www.vpsee.com/2009/06/why-programmers-love-mac/ Mac 在国外很受欢迎,尤其是在 设计/web开发/IT 人员圈子里.普通用户喜欢 Mac 可以理解,毕竟 Mac 设计美观,简单好用,没有病毒.那么为什么专业人士也对 Mac 情有独钟呢?从个人使用经验来看我想有下面几个原因: 1.Mac OS X 是基于 Unix 的.这一点太重要了,尤其是对开发人员,至少对于我来说很重要,这意味着Unix 下一堆好用的工具都可以随手捡到.…
※Recorded By ksq2013 //其实这段时间写的题远远大于这篇博文中的内容,只不过那些数以百记的基础题目实在没必要写在blog上; ※week one 2016.7.18 Monday a)bzoj4034[HAOI2015 T2](树链剖分+线段树) http://blog.csdn.net/keshuqi/article/details/51944955 b)luogu1328[NOIP2014 T1]生活大爆炸版石头剪刀布(模拟) http://blog.csdn.net/k…
    Python/JS/    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 107. python单独打印unicode可以显示中文, 但是不显…
背景 回顾一年前的代码,关于cookies这块,增删改查完全可以封装成一个模块.在MDN上看到一款很全的分享,在此做个记录. cookies模块 /*\ |*| |*| :: cookies.js :: |*| |*| A complete cookies reader/writer framework with full unicode support. |*| |*| Revision #5 - August 14th, 2018 |*| |*| https://developer.mozi…
http://visualvm.java.net/releases.html VisualVM Corresponding Java VisualVM VisualVM 1.3.7Released: January 22nd, 2014, Download (ml), Release Notes not released yet VisualVM 1.3.6Released: July 9th, 2013, Download (ml), Release Notes JDK 7 Update 60…
What doesn't kill you makes you stronger. 那些没有彻底击败你的东西只会让你更强大. Where there is life, there is hope, and the hope simulates us to strive for making it true. Someone told me that most people live such a kind of life: youth is a blunder, manhood a strugg…
I figure life is a gift and I don't intend on wasting it. 我觉得生命是一份礼物,我不想浪费它. Tonight when I was running, I heard two boys said that if we are still alive, there will be hope, I smiled then laughed in my heart, maybe my smile was just mocking, because…
Everything you see exists together in a delicate balance. 你所看到的一切都处于微妙的平衡中. Seeking for balance in life is very important. When you tackle with the affairs in life and work, when you contact with other people, you must find out the balance. But for m…
Friends are not the people you meet at the top, they are the people who were with you at the bottom. 朋友不是你身居高位时遇到的那些人,而是在你穷困潦倒时依然在你左右的那些人. We often say that a friend in need is a friend indeed. However, the actual fact is that when you are rich you w…
Comedy is acting out optimism. 喜剧就是将乐观演绎出来. Being optimistic or pessimistic, that is all about your own decision. If you judge people, you will have no time to love them. 如果你论断人,那就会没有时间去爱他们. Love is often sparked at the very beginning of interaction.…
Life is painting a picture, not doing a sum. 生活就像是绘画,而不是做算术. I am too serious about digits. All what I do must be measurable, otherwise I will feel frustrated. That is not the right way. Life is not doing a sum, but using the colorful things to make…
The worst solitude is to be destitute of sincere friendship. 最大的孤独莫过于没有真诚的友谊. Sometimes we pay the most for the things we get nothing, and that moment, may be the most frustrated. And the worst solitude thing, may be destitute of the one who really k…
Why not discovering as there is glorious faraway scenery? 远方有诗篇,何不去发现? An advertisement of Land Rover. Maybe one day I will drive a car of the same class, like Audi, Benz, Bmw and so on. But today I am just a poor man, both in wealth, knowledge, skil…
Knowing yourself is the height of wisdom. 了解自己就是大智慧. Two-day holiday, even I didn't have enought time to know about her, I could feel I am not the type she loves. I ever thought I might be not so bad a man. Maybe I was wrong. So, I choose to give up.…
有一些草,一开始高度都是0,它们的生长速率不同. 给你一些单增的日期,在这些日期要将>b的草的部分都割掉,问你每次割掉的部分有多少. 将草的生长速率从大到小排序,这样每次割掉的是一个后缀,而且不会影响它们生长速率的递增性. 就是三种操作,一种对一个后缀赋值,一种对整个数组作 + 另一个数组(d(i)-d(i-1))*a,一种求区间和. 可以通过打标记的线段树实现,标记下放通过预处理生长速率数组的前缀和可以实现. 队友的代码: #include <iostream> #include &l…
平面上给你n(不超过2000)个点,问你能构成多少个面积在[A,B]之间的Rt三角形. 枚举每个点作为直角顶点,对其他点极角排序,同方向的按长度排序,然后依次枚举每个向量,与其对应的另一条直角边是单调的,可以用一个pointer做出来,然后可以得出那些同方向的向量的区间(这个代码好像有点问题,可能会退化,最好确定了一个LL之后,对一个方向的不要重复算RR.这里如果也改成二分就比较好,复杂度不会退化).然后通过二分可以得到A使得面积在[A,B]间的有哪些(其实这个因为也是单调的,好像也没必要二分,…