大脑,字节,背部,Bun头-程序员的优先事项

My office, which I am very happy with

I recently said something that ended up making the rounds on Twitter:

我最近说了一些最终在Twitter上取得成功的话:

"If you're a developer, you need to spend money on a great computer, an awesome monitor, a fantastic chair and a good bed" - Scott Hanselman

“如果您是开发人员,则需要花钱购买一台出色的计算机,一台很棒的显示器,一把漂亮的椅子和一张好床”-Scott Hanselman

This convenient 140-character-friendly statement could be misconstrued, I suppose, as me saying that good developers need to spend money on expensive gear. That's not my message. I'm saying that you need to invest in your tools.

我想,这种方便的140个字符友好的声明可能会被误解,因为我说好的开发人员需要花钱购买昂贵的设备。 那不是我的意思我是说,您需要在工具上进行投资。

包子 (Buns)

I was listening to a designer friend recently agonizing over the purchase of a US$700 chair. I realize that everyone makes different amounts of money depending on where they live in the world, but bear with me. This designer spent months trying to decide if this chair was a good idea. "It's so expensive! Should I spend that much?”

我在听一位设计师朋友最近为购买700美元的椅子而苦恼不已。 我意识到每个人的收入取决于他们生活在世界上的不同地方,但是我要忍受。 这位设计师花了几个月的时间来确定这把椅子是否是个好主意。 “太贵了!我应该花那么多钱吗?”

Now, we're not talking about jewelry, or video games, or fancy pants. We are talking about a chair that is going to be sat on while work is done for hours a day for at least a few years. Figure 50 weeks a year, for 3 years (at least) for 5 hours a day (because these are round numbers) that's at least 1250 hours in the first year (and more likely much more) and 3750 if it lasts the 3. That's a 19 cents an hour for a comfortable butt. Invest in your own ass.

现在,我们不是在谈论珠宝,视频游戏或花哨的裤子。 我们谈论的是至少要几年才能每天工作数小时才能坐下的椅子。 假设每年有50个星期,连续3年(至少)每天有5个小时(因为这是整数),那么第一年至少1250个小时(并且可能更多),如果持续3个小时则为3750个小时。每小时19美分的舒适对接价格。 投资自己的屁股。

I don't regret my purchase of a Herman Miller Aeron Chair one bit. The best part is that I bought it for myself, with my own money over 5 years ago. Every day I own it, I enjoy it, and my cost of usage per day goes down.

我不后悔一次购买Herman Miller Aeron椅子。 最好的部分是我5年来用自己的钱自己买了它。 我每天拥有它,享受它,并且每天的使用成本下降。

背部 (Back)

I spent a decent amount of money on a very nice mattress as I've got Programmer's Back. I'm consistently surprised when I talk to developers who have cheap (meaning, low quality) mattresses and cheap chairs and they complain about pain. A programmer in pain is a lousy programmer. To quote Wu Tang Clan, protect ya neck. Don't skimp on your sleeping quarters.

有了Programmer's Back,我在相当不错的床垫上花了很多钱。 当我与拥有廉价(低质量)床垫和廉价椅子的开发人员交谈时,我总是感到惊讶,他们抱怨痛苦。 一个痛苦的程序员是一个糟糕的程序员。 引用吴唐族,保护你的脖子。 不要ski睡在你的宿舍。

Physical purchases aside, it's also crucial to invest in your back with things like yoga, stretching and regular exercise. When you are using something eight hours a day for week after week, do the research and invest in that thing. You're flat on your back unconscious for a full third of your life. Give that amount of time the respect it deserves and do what's right for your body. One of the essential tools is a quality bed. I enjoy investing in a new computer but only recently realized that a utilitarian purchase like a great mattress is just as valuable and just as life-changing.

除了购买实物外,通过瑜伽,伸展运动和定期运动等对背部进行投资也很重要。 当您一周又一周每天八小时使用某物时,请进行研究并对该物进行投资。 您整整三分之一的生命都平躺在昏迷的状态。 给该时间足够的时间,做对自己身体合适的事情。 基本工具之一是优质床。 我喜欢投资购买一台新计算机,但直到最近才意识到,购买诸如大床垫这样的实用工具既有价值,又可以改变生活。

I also have a height adjustable desk (a Steelcase Series 7) which I enjoy. I wouldn't have thought twice about purchasing this desk on my own, but with enough visits to a chiropractor turns out these are easy to come by. It's motorized and has presets so it's easy to set and switch between seated and standing positions. If you think one would be helpful to you, talk to your HR department and request an ergonomic evaluation. Can't hurt to ask, but it is guaranteed to hurt if you don't.s

我也有一个高度可调的办公桌( Steelcase系列7 ),我很喜欢。 我不会自己考虑购买此办公桌的,三思而后行,但经过对脊椎治疗师的足够访问,事实证明,这些很容易实现。 它是电动的并且具有预设,因此很容易在坐姿和站立姿之间进行设置和切换。 如果您认为对您有所帮助,请与您的人事部门联系,并要求进行人体工程学评估。 可以问问,但如果您不这样做,一定会受到伤害。

字节数 (Bytes)

Ya, I couldn't just say "computer" and screw up a potentially killer alliteration. Surely you understand, Dear Reader. I hate seeing people suffer with crappy hardware. I went back and forth with a gentleman on Twitter running a 4 to 6 year old Mac who felt that I was advocating or implying that one must have awesome hardware to be a good programmer. That wasn't my intent, but this is. If you are waiting for your computer, you are wasting time. Forget about religious arguments, I don't care if it's your operating system, your text editor, or that spinning rust you call a hard drive. If it's making your wait, swap it out.

是的,我不能只说“计算机”并搞砸潜在的杀手all。 您一定知道,亲爱的读者。 我讨厌看到人们遭受糟糕的硬件困扰。 我在Twitter上与一位绅士来回交流,他运行着4至6岁的Mac,他觉得我是在主张或暗示一个人必须具备出色的硬件才能成为一名优秀的程序员。 那不是我的意图,而是这样。 如果您在等待计算机,那是在浪费时间。 不用担心宗教争论,我不在乎它是您的操作系统,您的文本编辑器,还是您称之为硬盘的Rust。 如果需要等待,请换掉。

Start by getting an SSD. The fellow on twitter with the slightly older hardware had an SSD in the machine. Everyone can use an SSD. There are only so many life-changing hardware purchases left in the world. Treat yourself. They are, memory, SSD, monitor.  No matter what OS you are running, have 4 gigs of RAM at least. You can get little SSDs for under US$100 these days and decent sized ones for $200. I pulled the trigger on a 256 gig OCZ Vertex and even if it lasts just a year, it's just $2 a day for the kind of silent joy that only a saturated PCI bus can give. Every day after a year it lasts (it'll likely last a few) it gets cheaper to have owned it.

首先获取SSD。 Twitter上使用较旧硬件的人在机器中装有SSD。 每个人都可以使用SSD。 世界上只剩下那么多改变生活的硬件购买。 请你自便。 它们是内存,SSD,显示器。 无论您运行什么操作系统,都至少要有4 GB的RAM。 这些天来,您可以以不到100美元的价格买到很少的SSD,而以200美元的价格买到像样的SSD 。 我在256 gig OCZ Vertex上扣动了扳机,即使它仅持续一年,每天也只有2美元,这是只有饱和的PCI总线才能带来的那种无声的欢乐。 一年之后的每一天,它都会持续(可能会持续数年),拥有它会变得更便宜。

Get whatever size or number of monitors that makes you happy. I like three monitors. For laptops, I like a 15". Some folks do great on a 13" LCD but others prefer something larger. My point is, if you HATE your monitor situation, change it. You're worth it and it'll make you more productive.

获取使您满意的任何大小或数量的显示器。 我喜欢三台显示器。 对于笔记本电脑,我喜欢15英寸显示器。有些人在13英寸LCD显示器上表现出色,但其他人则喜欢更大的显示器。 我的意思是,如果您讨厌显示器的状况,请进行更改。 您值得,它将使您的工作效率更高。

And, as always, if you have Programmer's Hands, consider your keyboard and mouse. While I realize that many of you insist and persist on using a standard straight keyboard for typing even in spite of the obvious anatomy, the most important thing is to listen to your body. If your desktop set works for you, awesome. If not, get one that supports you and the way you work.

而且,一如既往,如果您有程序员的双手,请考虑使用键盘和鼠标。 尽管我意识到你们中的许多人坚持并坚持使用标准的直键盘进行打字,即使解剖结构明显,但最重要的是聆听您的身体。 如果您的台式机适合您,那就太好了。 如果没有,请找一个支持您和您的工作方式的人。

(Brain)

Books, classes, experience, and challenges all push your brain. I often tell the story of the senior developer who has 20 years experience. The problem is it's the same year of experience, twenty times. Somewhere in year 5, or year 14, you'd think this developer would notice this and break out. What I'm saying is that not only should you as a programmer listen to your body, you should also listen to your brain. If your tool is dull, consider consciously what you can do to sharpen the saw.

书籍,课程,经验和挑战都可以动动您的大脑。 我经常讲述拥有20年经验的高级开发人员的故事。 问题是同一年的经验,是二十次。 在5年级或14年级的某个地方,您会认为该开发人员会注意到这一点并爆发。 我的意思是,作为程序员,您不仅应该听自己的身体,而且还应该听您的大脑。 如果您的工具比较钝,请自觉考虑可以采取哪些措施来锐化锯

When I speak to user group meetings or regional conferences and code camps, I'm always sure to tell the attendees something like this:

当我在用户组会议或区域性会议以及代码集会上发言时,我总是确保告诉与会者以下信息:

 "You're already in the top tier of developers just by showing up here tonight. I don't know how talented you are, how much experience you have, but you showed up. You're putting yourself out there because you care to improve. Thanks for caring."

“仅今晚出现在这里,您就已经处于开发人员的顶级。我不知道您有多才干,有多少经验,但是您却露面了。您之所以放手,是因为您关心改善。感谢您的关心。”

You should give yourself credit for simply being conscious. Not conscious as in 'a living entity' but conscious as in 'paying attention to your journey.' If you are conscious, you're ahead of the pack. We get into trouble when we aren't paying attention. Time goes by and one wakes up years later with no new experiences, no new knowledge, essentially treading water with no inertia. Sometimes just waking up and paying attention is the catalyst one needs to make a change. Every new day is an opportunity to turn it around. Don't feel bad about taking that class, buying that new book, or starting that new mentoring relationship. Get them and put them in your brain - they'll be yours forever.

您应该因简单地意识到自己而获得荣誉。 不像“一个生命实体”那样自觉,而是像“关注您的旅程”那样自觉。 如果您有意识,那就领先了。 如果我们不注意,就会陷入麻烦。 随着时间的流逝,几年之后,人们没有了新的经验,没有了新的知识,从根本上没有惯性踩水。 有时,醒来并引起注意是做出改变的催化剂。 每个新的一天都是一个改变它的机会。 对于上课,购买新书或建立新的指导关系,不要感到难过。 获取它们并将它们放在您的大脑中-它们将永远属于您。

There's this wonderful story that comedian Paul Reiser told Marc Maron on Marc's podcast. Paul met the actor Peter Falk and asked him if there was a secret to writing a movie script. Peter Falk said "get some paper, put it in a typewriter, type FADE IN...and keep typing."

喜剧演员保罗·赖泽(Paul Reiser)在马克的播客中告诉马克·马伦(Marc Maron),这是一个很棒的故事。 保罗遇到了演员彼得·福克(Peter Falk),问他写电影剧本是否有秘密。 彼得·福尔克(Peter Falk)说:“拿些纸,放在打字机中,输入FADE IN ...并继续打字。”

It's surprising how that answer also works when someone asks me how to succeed in programming. Be conscious, take care of yourself, invest in your tools, and do the work.

令人惊讶的是,当有人问我如何成功编程时,该答案也有效。 保持意识,照顾好自己,投资工具,并做好工作。

翻译自: https://www.hanselman.com/blog/brain-bytes-back-buns-the-programmers-priorities

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值