mysql 利用时间查询_利用时间的艺术

mysql 利用时间查询

Oh dear! If I had a dime every time (I just rhymed — twice!) someone, including me, complained about the lack of time, I’d be super rich.

噢亲爱的! 如果我每次都花一角钱(我只是押韵-两次!),包括我在内的某人抱怨时间紧缺,我会变得超级有钱。

We all have 24 hours per day to achieve our goals, complete our personal and professional tasks, spend quality time with our family and friends, take care of our bodies, and so much more.

我们每个人每天都有24小时来实现我们的目标,完成我们的个人和专业任务,与家人和朋友度过美好时光,照顾我们的身体等等。

The thing is that some people make time everyday, and achieve in a year things that others need 5, 10 or even more years to achieve.

问题是,有些人每天都要花时间,而一年中要完成其他人需要5、10甚至更​​长年才能实现的事情。

I was always fascinated by this “superhuman skill”, so for the past few years I’ve been following the below process:

我一直对这种“超人技能”着迷,因此在过去的几年中,我一直遵循以下过程:

  • Read about the subject

    了解有关该主题的信息
  • Analyze and apply what I’ve learned in real life

    分析并运用我在现实生活中学到的东西
  • Evaluate my results

    评估我的结果
  • Decide to keep the practice or throw it out

    决定保留还是放弃实践

Below are some of my observations and tips I have come up with during this time.

以下是这段时间我提出的一些观察和技巧。

帕累托原理 (The Pareto principle)

Also known as the 80/20 law. This means that 20% of your tasks will yield 80% of your results. And the remaining 80% of the tasks will give you the other 20% of your results.

也称为80/20法。 这意味着您20%的任务将产生80%的结果。 剩下的80%的任务将为您带来其他20%的结果。

So starting today, make sure that everything you do during the day gives back the maximum results.

因此,从今天开始,请确保您白天进行的所有操作都能获得最佳效果。

Maximum results according to what, though?

最大结果根据什么,但是?

I’m glad you asked.

我很高兴你问。

Well, that depends on you. Each one of us have different goals.

好吧,这取决于你。 我们每个人都有不同的目标。

For a web developer, it might be acquiring a skill that will give them the best possible career prospects, or a big raise, or take them one step closer to a big career dream.

对于Web开发人员而言,它可能正在掌握一项技能,该技能将为他们提供最佳的职业前景或大幅晋升,或者使他们更接近实现大职业梦想的一步。

For a single parent of five kids, it might be making sure that all their kids are well cared-for and safe.

对于五个孩子的单亲父母,可能要确保所有孩子都得到妥善照顾和安全。

读很多书 (Read lots of books)

If time is money, then reading the right books will impart great knowledge. This will, in turn, help you expand your skillset and abilities.

如果时间就是金钱,那么阅读正确的书本会带来很多知识。 反过来,这将帮助您扩展技能和能力。

Additionally, books can help you enter a wind-down-before-sleep phase (so you both learn and relax) as well as help power up the brain engine again in the morning.

此外,书籍可以帮助您进入睡眠前的舒缓阶段(这样您就可以学习和放松),并可以在早晨帮助大脑重新启动。

This becomes even more helpful if you do it during the so-called “dead hours”, like waiting at the doctor’s office, or while commuting.

如果您在所谓的“死时间”(例如在医生的办公室里等待或上下班)进行此操作,这将变得更加有用。

Hmm, how about squeezing in a few pages while waiting for your significant other when they are late again? ?

嗯,等他们又迟到的时候,在等待您的另一半时挤进几页怎么样? ?

有声读物 (Audiobooks)

For more advanced anti-dead time folks. Audiobooks books have all the pros of physical books, and they can also be used when you’re moving around. You can even listen to them while working out doing cardio training in the gym.

对于更高级的防死时间人员。 有声读物书具有实体书的优点,也可以在四处走动时使用。 您甚至可以在健身房锻炼有氧运动时听他们说话。

This way, you’ll learn even while you accomplish other important tasks.

这样,即使完成其他重要任务,您也将学到东西。

上下班时锻炼身体 (Exercise during your commute)

As you have probably already figured it out, I think daily commutes are a big time liability. But you can compensate for this quite easily. For example, you can cycle to your office.

正如您可能已经知道的那样,我认为每日通勤是一项重大的时间责任。 但是您可以很轻松地对此进行补偿。 例如,您可以骑自行车去办公室。

You will reach the office fast enough (although maybe not as fast as with your car). Additionally, the initial cost of buying a bike is relatively small and quickly pays off. And by the end of the day, you will have done more cardio than most people around you might do in a week. Good deal, huh?

您将以足够快的速度到达办公室(尽管可能不如开车快)。 另外,购买自行车的初始成本相对较小,并且很快就会得到回报。 到一天结束时,您的有氧运动将比您周围的大多数人一周内做的更多。 好吧?

使用优质的硬件消除不必要的延迟 (Use great hardware to eliminate unnecessary delays)

Do you remember when sending a couple of emails took you 5 minutes each, without taking into account the time spent on typing them? Are you constantly waiting for a production build, and it takes ages because your CI/CD solution runs on your beloved ENIAC and you can’t call it a day until it is successful?

您还记得在发送几封电子邮件时花了5分钟,而没有考虑到键入它们所花费的时间吗? 您是否一直在等待生产版本,并且它花了很长时间,因为您的CI / CD解决方案在您心爱的ENIAC上运行,并且直到成功都无法称呼它?

Have you ever done the math to see how much time you waste on such things? Quality hardware is a great investment, and having a Scrooge McDuck mentality is not a wise choice, if you care about your time.

您是否曾经做过数学运算以查看您在这些事情上浪费了多少时间? 优质的硬件是一项巨大的投资,并且拥有Scrooge McDuck 如果您关心自己的时间,心态不是明智的选择。

I am not saying go out and buy the most expensive gadget or computer you can find. But be willing to spend a few more bucks to achieve higher quality levels.

我并不是说要出去买可以找到的最昂贵的小工具或计算机。 但是愿意花更多的钱来达到更高的质量水平。

不要打sn睡 (No hitting snooze)

This alone has made a significant positive change in my life, especially to my productivity. Why, you ask? Why is it so bad staying in bed for 20 more minutes?

仅此一项就对我的生活产生了重大的积极变化,尤其是对我的生产力。 你为什么问? 为什么再卧床休息20分钟太糟糕了?

Well apart for not taking advantage of your time (which is what this article is about), here are a couple of articles (and they are only the tip of the iceberg) about the issue:

除了不利用您的时间(这就是本文的目的)之外,这里还有几篇有关该问题的文章(它们只是冰山一角):

如果您需要放松,请立即进行 (If you need to relax, do it NOW)

We are not robots, and we are not living only to cross off tasks from our checklist. Thus, you need to listen to your body and take care of it so that is powerful and productive when needed.

我们不是机器人,我们也不只是为了从清单中删除任务。 因此,您需要倾听并照顾自己的身体,以便在需要时强大而富有成效。

If you cannot keep your eyes open, put everything on hold and go to sleep.

如果您无法睁开眼睛,请搁置所有物品并入睡。

If you have forgotten what was the last time you laughed extremely hard, close the freakin’ IDE and go watch a comedy with your significant other.

如果您忘记了最后一次大笑是什么,请关闭“怪胎” IDE,然后与另一半一起看喜剧。

If you feel the pace of your life is unsustainable, try a ‘No-electronics-Saturday’. You will be surprised how creative our grandparents had to be, for example, in order to spend their free time. And if you employ the Pareto principle, you might realise that you are overcommitting without any actual returns.

如果您觉得自己的生活节奏不可持续,请尝试“星期六不使用电子产品”。 您会感到惊讶,例如,我们的祖父母必须多么有创意才能度过闲暇时光。 而且,如果您采用帕累托原则,您可能会意识到自己的承诺过多而没有任何实际回报。

Thank you for reading this article. I hope the tips covered above help you generate more time for yourselves and what you think is important. And if so, please give me some love by spreading the word and clapping ? below to show me your appreciation. ?

感谢您阅读本文。 我希望上面介绍的技巧可以帮助您自己花费更多时间,并认为自己很重要。 如果是这样,请通过传播和鼓掌来给我一些爱吗? 下面向我展示您的赞赏。 ?

As always, feel free to contribute to the comments section with your own special tips.

与往常一样,请随时使用自己的特殊提示为评论部分做出贡献。

Originally published at perigk.github.io

最初发布在 perigk.github.io

翻译自: https://www.freecodecamp.org/news/the-art-of-leveraging-time-362bba5195ed/

mysql 利用时间查询

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值