10、同步机制遵循的原则

by Haseeb Qureshi

由Haseeb Qureshi

我要遵循的10条原则 (10 Principles I Want to Live By)

I just came home from a vow of silence at a meditation center in northern California. It’s a strange feeling coming back to city life after five days of silent meditation.

我刚从北加州冥想中心的寂静誓言中回到家。 经过五天的静心冥想,回到城市生活是一种奇怪的感觉。

Looking around at puffing joggers, Christmas wreaths, eager couples waiting outside restaurants, the stop and start of traffic — it’s almost too much for my senses.

环顾四周喘着气的慢跑者,圣诞花环,热切的夫妻在餐馆外等客,交通的停止和开始-对我而言,这实在太多了。

The last time I took a vow of silence was 5 years ago. It lasted ten days. I had just walked away from my career as a poker player then. I was lost, confused. I was angry at myself. Entering the veil of silence, I expected to come out the other side with answers.

我上一次发誓要保持沉默是在5年前。 持续了十天。 那时我刚刚离开职业生涯,成为一名扑克玩家。 我迷路了,很困惑。 我对自己很生气。 进入沉默的面纱,我希望能从另一边出来回答。

It was probably the hardest ten days of my life. But when I got to the other side, I emerged with only more questions.

那可能是我一生中最艰难的十天。 但是当我到达另一端时,我只出现了更多问题。

This time feels different. Despite the dark of the winter solstice, I return from my vow of silence with unexpected clarity.

这次感觉不一样。 尽管冬至的夜色一片漆黑,但我从沉默的誓言中以意想不到的清晰回到了自己。

I decided that after I got home, I would write a letter to myself. This is that letter.

我决定,回到家后,我会给自己写一封信。 这是那封信。

These last two years have been a cyclone of change. I’ve pledged myself to earning-to-give, I’ve picked up my life and migrated to San Francisco, I’ve shouldered my way into the tech industry. Now I am a full-time software engineer.

最近两年一直是变革的旋风。 我已承诺要一劳永逸 ,一生一世,移居旧金山, 并肩负起进入科技行业的重任 。 现在,我是一名专职软件工程师。

I’ve been moving so fast, so much has obviously shifted. Yet internally, I still have this old image of myself. I’ve forgotten to even ask myself—what do I value now? How has it changed?

我的步伐如此之快,显然已经发生了很多变化。 但在内部,我仍然有自己的旧形象。 我甚至忘了问自己-我现在有什么价值? 它有什么变化?

I wanted to create a document that I can look back on, to remind myself of my principles. If times are ever tough or I’m feeling stranded, that this letter can be a lodestone to guide me.

我想创建一个可以回顾的文档,以提醒自己我的原则。 如果时光艰难或我感到困窘,那么这封信可以成为指导我的一块石。

Call it a personal manifesto.

称其为个人宣言。

Usually when I write blog posts, I write them for other people. This post will be an exception — I am writing this first and foremost for myself. Nevertheless, I hope that this posts inspires your reflection, and that you might consider how these principles might be useful to you too.

通常,当我写博客文章时,我是为其他人写的。 这篇文章将是一个例外-我是为自己撰写第一篇。 不过,我希望这篇文章能激发您的思考,并且您可以考虑这些原则也可能对您有用。

1.简单生活。 (1. Live simply.)

You already have everything you need.

您已经拥有了所需的一切。

Simplify. Give things away. Turn down offers for more. Know that you are complete and you don’t need more things to live a good life.

简化。 放手 拒绝更多优惠。 知道自己是完整的,不需要更多的东西就可以过上美好的生活。

What a pleasure it is to pack up your life into a few bags and embark on a new life! Allow yourself to do that, again, and again, and again.

将您的生活打包成几袋,踏上新的生活真是一种荣幸! 让自己一次又一次地这样做。

Of course, there’s no shame in having things. But whatever you have, consider it all borrowed — and when it must be returned, do it with joy.

当然,拥有事物不会丢人。 但是,无论您拥有什么,都应考虑全部借用了-当必须将其退还时,请欣喜若狂。

2.您将永远怀恨在心。 别管他们。 (2. You will always have haters. Ignore them.)

If you are passionate, if you are strange, if you defy what most people assume are the rules, you will court haters.

如果您充满激情,如果您很陌生,如果您违抗大多数人认为的规则,那么您将向仇恨者求婚。

That’s fine. Let them hate if that’s what they need. Their hate will make you more resilient.

没关系。 如果他们需要的话,让他们讨厌。 他们的恨会让你更有韧性。

But most of all, you should be thankful that they showed up. Because if they didn’t, it would be a sure sign what you were doing was not important.

但最重要的是,您应该感谢他们的出现。 因为如果他们不这样做,那肯定可以证明您在做什么并不重要。

“You have enemies? Good. That means you’ve stood up for something, sometime in your life.”

“你有敌人吗? 好。 这意味着您一生中的某个时候都为某事辩护。”

— Winston Churchill

- 温斯顿·丘吉尔

3.为重要的事情安静地战斗。 (3. Fight quietly for the things that matter.)

Whether it be the people you love, or the causes that matter to you — do good work. Be humble. Fight hard, and fight with everything you’ve got.

无论是您所爱的人,还是对您而言重要的原因,都要做好工作。 要谦虚。 拼搏,并与自己拥有的一切战斗。

Attention or fame can be pleasurable, sometimes even useful. But more often than not, it’s a distraction from the real work.

注意或成名可能是愉快的,有时甚至是有用的。 但是,通常情况下,这会干扰实际工作。

4.放弃自己。 (4. Give yourself up.)

It’s not about you. It’s about something bigger than you.

与你无关。 它比您大。

Give. Contribute. Not just money, or time, but your identity. Make your life about more than just you.

给。 有助于。 不只是金钱或时间,还有您的身份。 让您的生活不仅仅是您自己。

“Tell me, what is it you plan to do with your one wild and precious life?”

“告诉我,您打算如何处理您的一种野性而宝贵的生活?”

— Mary Oliver, “The Summer Day”

玛丽·奥利弗(Mary Oliver),《夏日》

5.寻求精通。 (5. Seek mastery.)

Get better.

好转。

Work harder.

努力工作。

Practice, study, fumble.

练习,学习,摸索。

Do this all your life.

一辈子都做。

Call it passion.

称之为激情。

6.永远是学生。 (6. Be forever a student.)

There will always be people who are better, stronger, wiser than you.

总会有比你更好,更强大,更聪明的人。

When you don’t know something, proclaim it out loud. Feverishly seek the answers. Wear out your knees with humbleness. Never let ignorance or shame deter you, because the desire to learn is always noble.

当您不知道某事时,大声宣告。 疯狂地寻找答案。 谦虚地屈膝。 永远不要让无知或羞耻阻止你,因为学习的渴望总是崇高的。

Go searching for your teachers, and don’t give up until you find them.

去寻找你的老师,直到找到他们之前,不要放弃。

7.培养美德-如果需要的话,可以用武力来培养。 (7. Cultivate virtue — by force, if you have to.)

You are a coward. You are fearful, you are lazy, you are selfish. Only once you know this can you begin the work of cultivating virtue.

你是胆小鬼。 你很害怕,你很懒惰,你很自私。 只有知道了这一点,您才能开始培养美德的工作。

You are principally what you do. So pledge. Show up. Keep coming back. And when you are too afraid to stay, sometimes you must lock yourself in the room and throw away the key.

您基本上就是您的工作。 如此保证。 出现。 继续回来。 而且,当您太害怕留下来时,有时您必须将自己锁在房间里并扔掉钥匙。

8.您将找到自己的方式。 (8. You will find your own way.)

Your life, your path, your failures and successes will not look like other people’s. Though you will read many books and hear many stories, for better or for worse, their blueprints will not apply to you.

您的生活,道路,失败和成功不会像其他人那样。 尽管您会阅读许多书籍并听到许多故事,但无论好坏,它们的蓝图都将不适用于您。

That’s fine. You’ll do great things, and in your own way. You will forge a path that no one will expect — not even you.

没关系。 您将以自己的方式做伟大的事情。 您将开创一条没人能期望的道路,甚至您也不会。

That’s okay. Trust that your path, strange though it will seem, is right for you.

没关系。 相信您的道路(虽然看起来很奇怪)适合您。

9.在降落时建立翅膀。 (9. Build your wings on the way down.)

Be smart, be calculated, be careful. But when opportunity arises, steel your nerves and take the leap. If you don’t see any risks worth taking, you’re not paying attention.

要聪明,要计算,要小心。 但是,当机会出现时,请紧张一下,勇往直前。 如果您没有发现值得冒险的风险,则无需关注。

It’s okay if you don’t know what you’re doing — trust that you’ll learn before you hit the floor. And if you crash: brush yourself off, forgive your errors, and try again. This is the only way progress has ever happened.

如果您不知道自己在做什么,也可以-相信自己会在开始之前学到东西。 如果崩溃了,请刷牙,原谅错误,然后重试。 这是取得进展的唯一途径。

10.保持饥饿,保持愚蠢。 (10. Stay hungry, stay foolish.)

You are a little bit crazy. The world needs people like you — reckless, steaming, hapless dreamers.

你有点疯了。 世界需要像您这样的人-鲁,、热气腾腾,不幸的梦想家。

So don’t give it up. Keep asking for too much. Hunger for the world and everything in it, and don’t slow down, no matter what people say.

所以不要放弃。 继续要求太多。 渴望世界和世界上的一切,无论人们怎么说,都不要放慢脚步。

Forget safety. Live where you fear to live.

忘记安全。 住你害怕住的地方。

Destroy your reputation. Be notorious.

破坏您的声誉。 臭名昭著。

— Rumi, “Bewilderment”

—鲁米,《迷惑》

I’ll be writing more soon about my donations and some reflections on 2016. But for now, thanks as always for reading.

我将很快写一些关于我的捐款和2016年回顾的文章。但就目前而言,一如既往地感谢您的阅读。

—Haseeb

—哈西卜

翻译自: https://www.freecodecamp.org/news/10-principles-i-want-to-live-by-fae94ded9c84/

10、同步机制遵循的原则

10、同步机制遵循的原则_我要遵循的10条原则相关推荐

  1. 接口隔离原则_设计模式的三大分类及六大原则

    设计模式(Design pattern)代表了最佳的实践,通常被有经验的面向对象的软件开发人员所采用.设计模式是软件开发人员在软件开发过程中面临的一般问题的解决方案.这些解决方案是众多软件开发人员经过 ...

  2. 面向对象设计原则_聊聊面向对象的6大设计原则

    程序员都知道编程有 3 大类:面向过程.面向对象.面向函数.面向对象是被讨论的最多的,个人认为,这是因为 Java 之类的编程语言有强大的用户基础,本质还是因为比较符合人的直觉. 说到面向对象,大家可 ...

  3. Unix哲学17条原则的新感悟

    现在,说到操作系统,谈论最多的就是Android,ios,Linux,mac os,windows,已经很少有人会使用到unix系统了,除了一些企业内部的系统,和编程爱好者社区会交流外,基本上已经绝迹 ...

  4. 操作系统(三)| 进程同步详解(主要任务、制约关系、临界资源、临界区、同步机制遵循规则、信号量机制、信号量的应用)

    文章目录 进程的同步基本概念 进程同步的主要任务 进程间的制约关系 临界资源 临界区 同步机制应遵循的规则 信号量机制 整型信号量 记录型信号量 ❤❤❤ AND型信号量 信号量的应用 实现进程互斥 实 ...

  5. 简要描述临界资源、临界区及互斥同步机制的原则

    简要描述临界资源.临界区及互斥同步机制的原则 答: ①临界资源:指每次只允许一个进程访问的资源,分为硬件.软件临界资源. ②临界区:每个进程中访问临界资源的那段程序,进程对临界区的访问必然相反,每次仅 ...

  6. mysql主从同步加密_教你构建MySQL主从结构,实现基于SSL加密的主从同步机制

    实验环境RHEL6.4 admin1.tuchao.com    192.168.1.201    主服务器 admin2.tuchao.com    192.168.1.202    从服务器 先在 ...

  7. java线程同步机制有哪些_多线程同步机制包括哪些,java线程同步机制

    多线程同步机制包括哪些什么是多线程同步机制,多线程同步机制包括:1.临界段用于实现"独占占有":2.信号量用于跟踪有限的资源:3.互斥是核心对象,可以实现不同线程之间的" ...

  8. sql server cdc 清理_基于CDC技术的ElasticSearch索引同步机制

    概述 ElasticSearch作为一个基于Lucene的搜索引擎被广泛应用于各种应用系统,比如电商.新闻类.咨询类网站.在使用ElasticSearch开发应用的过程中,一个非常重要的过程是将数据导 ...

  9. java实验多线程机制_使用Java多线程的同步机制编写应用程序 PDF 下载

    使用Java多线程的同步机制编写应用程序 PDF 下载 本站整理下载: 相关截图: 主要内容: 一. 实验名称 使用Java多线程的同步机制编写应用程序 二. 实验目的及要求 1.理解并行/并发的概念 ...

最新文章

  1. javaWeb——Servlet
  2. Android中Context 的理解
  3. 科学解析2021年AI领域的10个大胆预测
  4. 线程池java.util.concurrent.ThreadPoolExecutor总结
  5. 进度条上的小圆点怎么做_傲视网:【AE教程】如何制作环形进度条(第一讲)...
  6. [转]实现双网卡局域网和广域网同时上网
  7. 银行客户交易行为预测:如何降低内存的使用量
  8. 左手用R右手Python系列14——日期与时间处理
  9. chrome版本太旧 无法更新 问题解决
  10. sendto()函数
  11. 泡泡龙游戏开发系列教程(六)
  12. RouterOS之DDNS(动态域名)
  13. 智齿科技推首款智慧客服产品:机器人代替人工
  14. 拉文大学计算机科学,美国研究生语言双录取,这些大学有你中意的吗?
  15. 以太网已连接却无法联网的解决记录
  16. (二)UPF之电压域、低功耗模式编码(Primary Supply Set、Power State)
  17. 超级简单thinkphp微信小程序服务商分账。以及小程序普通支付,微信特约商户
  18. 网络管理系统、网管、network manage system、运维系统
  19. 连续系统的动态规划问题
  20. Cannot load library /home/yx/Qt5.3.0/Tools/QtCreator/lib/qtcreator/plugins/QtProject/libHelp.so:

热门文章

  1. 微信小程序开通腾讯云开发实践流程附详细图解
  2. iOS实现图片自动轮播展示
  3. Windows 日志高级筛选实践
  4. CSS完美兼容IE6/IE7/IE8/IE9/IE10的通用方法
  5. PHP+MySql获取自动增长字段的新添加记录ID值
  6. javascript中实例方法与类方法的区别
  7. ORACLE初次安装自动安装软件包
  8. Linux C++/Java/Web/OC Socket网络编程
  9. 小鱼提问1 类中嵌套public修饰的枚举,外部访问的时候却只能Class.Enum这样访问,这是为何?...
  10. C++实现int与string之间的相互转换