10、同步机制遵循的原则_我要遵循的10条原则
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、同步机制遵循的原则
相关文章:

2-Runtime objc_object objc_class
一 NSObject NSObject是OC 中的基类,除了NSProxy其他都继承自NSObject interface NSObject <NSObject> { #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wobjc-interface-ivars"Class isa OBJC_ISA_AVAILABILITY; #pragma …

Spring3.0 AOP 具体解释
一、什么是 AOP。 AOP(Aspect Orient Programming),也就是面向切面编程。能够这样理解,面向对象编程(OOP)是从静态角度考虑程序结构,面向切面编程(AOP)是从动态角度考虑程…

通过Appium获取Android app中webview
因为要测试Android app中嵌入的web页面,所以需要从native切换到webview。网上查了好多帖子,都用到类似下面代码: //判断是否有 WEBVIEWSet<String> contextNames driver.getContextHandles();for (String contextName : contextNames)…

javascript原理_JavaScript程序包管理器工作原理简介
javascript原理by Shubheksha通过Shubheksha JavaScript程序包管理器工作原理简介 (An introduction to how JavaScript package managers work) A few days ago, ashley williams, one of the leaders of the Node.js community, tweeted this:几天前,Node.js社区…

iOS base64 MD5
网络APP 只要涉及用户隐私的数据,均不能以明文传输。 一 base64 编码 将任意的二进制数据转为编码为 65个字符的组成。 0-9 a-z A-Z / 一共 65 个 字符 例如: 1 mac 自带 base64命令 可以将base64 编码的文件可以转换 –》将桌面上1.png 图片经过…

【面试虐菜】—— Oracle知识整理《收获,不止Oracle》
普通堆表不足之处: 表更新有日志开销表删除有瑕疵表记录太大检索较慢索引回表读开销很大有序插入难有序读出DELETE产生的undo最多,redo也最多,因为undo也需要redo保护全局临时表:1 高效删除记录基于事务的全局临时表commit或者ses…

每日成长17年1月
2017年1月 1月9号 一、学习了ice ice是一个跨平台调用程序,与语言无关的一个中间件,比如,可以通过java的代码调用 c应用程序的接口。 1月11号 一.学习了 struts2 spring mybatis 的配置。 1.首先是web.xml的配置,主要配置两…

网络安全从事工作分类_那么,您想从事安全工作吗?
网络安全从事工作分类by Parisa Tabriz由Parisa Tabriz 那么,您想从事安全工作吗? (So, you want to work in security?) Every once in a while, I’ll get an email from an eager stranger asking for advice on how to have a career in security …

iOS 使用钥匙串将用户密码存入本地
在 iOS 开发中,用户一般注册时候,APP会将用户的用户名和密码直接保存到本地,便于用户下次直接进行登录。 这样就会牵扯到一个问题,用户的密码不能以明文的形式存储在本地,使用钥匙串进行保存用户的密码较为安全。 钥…

Leetcode: Sort List
Sort a linked list in O(n log n) time using constant space complexity. 记得Insert Sort List, 那个复杂度是O(N^2)的,这里要求O(nlogn),所以想到merge sort, 需要用到Merge Two Sorted List的方法(我写的merge函数…

[UT]Unit Test理解
Coding中有一个原则:Test Driven Development. UT中的一些基本概念: 1. 测试驱动 2. 测试桩 3. 测试覆盖 4. 覆盖率 单体测试内容: 1. 模块接口:测试模块的数据流 2. 局部数据结构:如变量名、初始化、类型转换等 3. 路…

gitter 卸载_最佳Gitter频道:VR和AR
gitter 卸载by Gitter通过吉特 最佳Gitter频道:VR和AR (Best Gitter channels on: VR & AR) Virtual reality is one of the biggest tech trends and a hot topic of 2016. Investment in that sector reached over 1 billion dollars early this year, while…

工作笔记---巡检记录
以下是工作中一些思路实现的笔记,业务需求是: 1、简易日历 2、质押物提交后的一天开始到当前系统时间之间才可以提交质押物 3、没有提交质押物的日期里面的图片以灰色图片站位,已经提交质押物的日期里面的图片以红色图片站位 4、图片点击之后…

大四狗找工作,持续更新
持续更新中....转载于:https://www.cnblogs.com/Wiki-ki/p/3979176.html

iOS8.0 之后指纹解锁
iOS 8.0 SDK 开放了调用指纹识别的API,但是仅限于支持5s 以后的机型 使用的话,很简单,要导入系统的库 #import <LocalAuthentication/LocalAuthentication.h> #import "ViewController.h" #import <LocalAuthenticatio…

gitter 卸载_最佳Gitter频道:Scala
gitter 卸载by Gitter通过吉特 最佳Gitter频道:Scala (Best Gitter channels on: Scala) Scala is an object-oriented functional language that has gained wide acceptance in developer communities for many of its merits. These include runtime performanc…

iOS AES加密
AES 美国国家安全局采用的加密方法,MAC 系统自带的钥匙串也是采用的AES 加密方法 有两种模式 CBC 模式 链式加密 ,密码块链,使用一个秘钥和一个初始化向量,对数据执行加密。 ECB 电子密码本方法加密,数据拆分成块&a…

(转)Unity中武器与人物的碰撞检测
自:http://blog.csdn.net/Monzart7an/article/details/24435843 目前来说有三种思路,其实前两种算变种了: 1、动画关键帧回调 范围检测。 这个是在Asset store上面下的一个例子中看到的,其实之前在做端游时,也差不多是…

CentOS Linux解决 Device eth0 does not seem to be present
通过OVF部署Linux主机后提示 ringing up interface eth0: Device eth0 does not seem to be present,delaying initialization. 解决办法: 首先,打开/etc/udev/rules.d/70-persistent-net.rules内容如下面例子所示: # vi /etc/udev/rules.d/…

meteor从入门到精通_我已经大规模运行Meteor一年了。 这就是我所学到的。
meteor从入门到精通by Elie Steinbock埃莉斯坦博克(Elie Steinbock) 我已经大规模运行Meteor一年了。 这就是我所学到的。 (I’ve been running Meteor at scale for a year now. Here’s what I’ve learned.) A year ago I wrote an article describing my first experience…
使用javascript开发2048
嗯,团队队友开发了一个简单的2048...哈哈,没办法,这游戏那么疯狂,必须搞搞啦,大家能够直接粘贴代码到一个html文件,直接执行就可以 依赖文件:jquery,假设乜有,大家能够自…

html 自动弹出框
1.点击div外部隐藏, //*代表tip_box所包含的子元素 $(body).click(function(e) {var target $(e.target);if(!target.is(#tip_box *) ) {//事件处理} });2.div动态展开 .tip_box{width:300px;height:0;border-radius:3px;background-color:#fff;overflow:hidden;bo…

3-runtime 之 Tagged Pointer
Tagged Pointer 是自从iPhone 5s 之后引入的特性 1 先说一下iOS的内存布局 代码区:存放编译之后的代码数据段 :字符串常量 : NSString *hello “hello”;已经初始化和未初始化的全局变量,静态变量堆:通过alloc&#…

编程术语_伟大的编程术语烘烤
编程术语by Preethi Kasireddy通过Preethi Kasireddy 伟大的编程术语烘烤 (The Great Programming Jargon Bake-off) Imperative vs. Declarative. Pure vs. Impure. Static vs. Dynamic.命令式与声明式。 纯与不纯。 静态与动态。 Terminology like this is sprinkled throu…

Swift 圆环进度条
Swift 圆环进度条 import UICircularProgressRing import UIKit import UICircularProgressRing class ViewController: UIViewController {var progress:UICircularProgressRing!;override func viewDidLoad() {super.viewDidLoad()// Do any additional setup after loading …

Linux文件系统构成(第二版)
Linux文件系统构成/boot目录:内核文件、系统自举程序文件保存位置,存放了系统当前的内核【一般128M即可】如:引导文件grub的配置文件等/etc目录:系统常用的配置文件,所以备份系统时一定要备份此目录如:系统管理员经常需要修改的文…

include_once 问题
最近在做微信小程序,在include_once 微信文件后,该方法return 前面会用特殊字符,导致我return 给前端的本来是json串变成了字符 解决方法 : ob_clean(); return json_encode(array);转载于:https://www.cnblogs.com/zouzhe0/p/630…

babel6 babel7_当您已经准备好Babel时设置Flow
babel6 babel7by Jamie Kyle杰米凯尔(Jamie Kyle) 当您已经准备好Babel时设置Flow (Setting up Flow when you’ve already got Babel in place) Flow is a static type checker for JavaScript. It makes you more productive by providing feedback as you write code. Flow…

如何为Android上的产品设计一款合适的图标
如 果你已经完成了你的app,你一定会马上向其它人宣布这件事情。但是你需要注意一个很重要的问题,那就是app的图标。你的图标可能在项目启动之 前就已经设计好了,但我不喜欢这样,如果app没有完成实际上图标也没什么用了。如果你不是…

得到windows聚焦图片(windows 10)
有些Windows聚焦图片确实很漂亮,很希望保留下来,但是Windows聚焦图片总更好,网上有得到聚焦图片的方法,每次都手动去弄真麻烦,于是自己编了一个小程序,自动得到Windows聚焦图片,下面是运行这个小…