32位系统能够识别多达内存_向多达17位用户学习

32位系统能够识别多达内存

by Jacob Evelyn

雅各布·伊夫林(Jacob Evelyn)

四个开源课程—来自多达17个用户 (Four open source lessons—from a whopping 17 users)

I have an open-source project. It has 17 users.

我有一个开源项目 。 它有17个用户。

It actually has somehow scraped together a few hundred stars on GitHub, managing to be the most-starred repository for a few wildly popular tags like relationships, human-readable, and journaling (but, alas, not journal). You’re probably very impressed. You may be thinking something like, “What useless piece of code could possibly be at the intersection of those things?” or “GitHub has tags?”

实际上,它在某种程度上在GitHub上拼凑了几百个星星,成为了一些最受欢迎的标签(如relationshipshuman-readablejournaling (但可惜的是,不是journal ),成为最受关注的存储库。 您可能会留下深刻的印象。 您可能会想,“这些东西的交汇处可能有什么无用的代码?” 或“ GitHub有标签?”

But don’t be intimidated by my extraordinary success. Three years ago, all this was just a few lines of code and an idea. I wanted to see if I could visualize the ebbs and flows of my relationships with the people I care about.

但是不要被我的非凡成就所吓倒。 三年前,所有这些只是几行代码和一个想法。 我想看看我是否可以形象化我与所关心的人的关系的起伏。

I also wanted to have a program tell me who I haven’t talked to in a while, so I could be better at staying in touch. Okay, and I also wanted to store all of this information in a way that was easy to see, edit, and play with. I guess it was more than one idea after all.

我还希望有一个程序可以告诉我我已经一段时间没有与谁交谈了,因此我可以更好地保持联系。 好的,我还想以一种易于查看,编辑和使用的方式存储所有这些信息。 我想那毕竟不只是一个主意。

That should have been the first clue that I didn’t have the clearest idea what I was doing. But I’m strong-willed and felt confident that I’d figure out the details later.

那应该是我没有最清楚自己在做什么的第一个线索。 但是我很愿意并且有信心以后再去弄清楚细节。

So I hacked together a program that I called friends (tagline: Spend time with the people you care about. Introvert-tested. Extrovert-approved.) and used it regularly for a year, at which point I assumed that its (minimal) featureset was complete. On a whim, I posted it to Hacker News, where it briefly made the front page for the first and only time in my life. (Side note: if you ever see a post on Hacker News in which a calm comment reads something like, Maintainer here. I'm glad to see this on the front page, and happy to answer any questions. don’t believe for a second that that person isn’t shaking with uncontrollable nervousness and excitement.)

因此,我共同编写了一个程序,称为“ friends (标语: 与您关心的人一起度过。内向测试。完成了。 我一时兴起, 将其发布到Hacker News ,在该新闻中 ,这是我一生中第一次也是唯一一次登上首页。 (旁注:如果您在Hacker News上看到过一篇平静的评论,内容类似“ Maintainer here. I'm glad to see this on the front page, and happy to answer any questions.其次,那个人没有因无法控制的紧张和激动而发抖。)

And then an interesting thing happened. I got suggestions.

然后发生了一件有趣的事情。 我有建议。

第1课:用户有很好的想法 (Lesson 1: Users have really good ideas)

My friends and coworkers, bless them, will tell you I have no problem “sharing my opinion.” Translation: I usually think I’m right and can have a hard time accepting input from others. (Not cookies though, I accept those fine.)

我的朋友和同事们,祝福他们,会告诉您我“分享意见”没有问题。 翻译:我通常认为我是对的,很难接受别人的意见。 (尽管不是cookie,我接受那些罚款。)

I thought I knew about my own project. However, my pompousness disappeared pretty much immediately when I started reading users’ suggestions. To date, I’ve had 16 (!!!) GitHub issues opened by someone other than me. (Out of a total of 110. I need to get out more.) And almost every one of those has been a suggestion that I would never have thought of and that makes friends unequivocally better. In fact, counter-intuitively, these new features have been so spot-on that they’ve often led to much simpler code.

我以为我知道自己的项目。 但是,当我开始阅读用户的建议时,我的自负很快就消失了。 到目前为止,我有16个(!!!)GitHub问题由除我之外的其他人提出。 (总共110个 。我需要更多。)而且几乎每个建议都是我从未想过的建议,这无疑使friends变得更好。 实际上,与直觉相反的是,这些新功能非常受关注,以至于它们常常导致代码简单得多。

What has amazed me the most is how these users often seem to “get” the idea of friends better than I do.

最令我惊讶的是,这些用户似乎常常比我更好地“理解” friends的想法。

I consider friends to only have 17 users despite all of its downloads and GitHub stars. This is because only 17 people have cared enough to share their feedback with me or offer to contribute a pull request. I don’t know if others are using it in perfect bliss or downloaded it once and then forgot about it. But 17 people have dedicated time and energy to show they care. I love every single one of them.

我认为,尽管有所有下载和GitHub明星,但friends只有17个用户。 这是因为只有17个人足够关心与我分享他们的反馈或主动提出拉取请求。 我不知道其他人是在极乐中使用它还是下载一次然后忘了它。 但是有17个人有时间和精力来表示自己的关心。 我爱他们每个人。

第2课:友善回报 (Lesson 2: Being nice pays off)

From the beginning, I wanted to be a friendly, supportive, patient, mentoring maintainer. Not the gruff maintainer who says “this feature should not be added” with no further explanation.

从一开始,我就想成为一个友好,支持,耐心和指导的维护者。 不是粗鲁的维护者说“不应添加此功能”,而没有进一步的解释。

So I added this friendly note to the top of the README:

所以我README顶部添加了这个友好的注释:

NOTE: Participation is encouraged! Make issues, ask questions, submit pull requests (even if it’s your first time contributing to open-source — you’ll get lots of help), and give feedback!

注意:鼓励参与! 提出问题,提出问题,提交请求(即使这是您第一次为开源做贡献-您将获得很多帮助),并提供反馈!

I adopted the Contributor Covenant. I added friendly contribution instructions. I made sure friends followed all of GitHub’s best practices.

我通过了《 贡献者公约》 。 我添加了友好的贡献说明 。 我确保friends遵循GitHub的所有最佳做法

And I put in the time and effort to be friendly when responding to users. I knew that was the right decision when users started leaving comments like:

在回应用户时,我投入了时间和精力来保持友好。 我知道当用户开始发表如下评论时,这是正确的决定:

“Excellent. Thanks for your patience and suggestions. I’m pretty green with this stuff.”

“优秀的。 感谢您的耐心等待和建议。 这些东西我挺绿的。”

“This my first pull request to an open source. I learn Many things from your Comments. Thank you So much for that.”

“这是我对开源的第一个请求。 我从您的评论中学到了很多东西。 对此感激不尽。”

“Thanks for the explanation! … Also, I gotta say, your cheeriness is great! ?”

“感谢您的解释! …另外,我得说,您的高兴很棒! ?”

Being nice doesn’t feel like work to me (though I get that it can for others) but either way, it pays off. It lets me have deeper conversations with my users. Discussing their suggestions often reveals other ideas they have but didn’t think to bring up. I even had a video call with a user halfway across the world!

变得友善对我来说并不意味着工作(尽管我认为这对其他人也可以),但是无论哪种方式,它都会有所回报。 它使我可以与用户进行更深入的对话。 讨论他们的建议通常会揭示出他们有其他想法,但并没有想到提出。 我什至与世界各地的用户进行了视频通话!

Being nice also lets me ask users unsolicited questions, which at first I was afraid to do. Maybe they’d be annoyed that I’m bothering them? That fear was silly. People like sharing their opinions!

友好也让我问用户一些自发的问题,起初我不敢这样做。 也许我会打扰他们,让他们烦恼? 这种恐惧是愚蠢的。 人们喜欢分享意见!

第3课:用户可以在任何地方 (Lesson 3: Users can be anywhere)

I’m not sure why I expected this (other than my apparent geocentrism) but I’d assumed my users would all live in my home country. Not even close! My 17 users don’t even all live in countries where my native language is particularly common. (And why should they?)

我不确定为什么会这样(除了明显的地理中心论之外),但是我假设我的用户都将生活在我的祖国。 差远了! 我的17个用户甚至都没有生活在母语特别普遍的国家/地区。 (为什么呢?)

My 17 users live on four different continents.

我的17个用户居住在四个不同的大陆

That humbling fact boggles my mind.

那令人毛骨悚然的事实令我震惊。

第4课:赚钱很难 (Lesson 4: Making money is hard)

I was spurred by success stories of open source projects being sustained by donors. So I recently put up a few donation badges onto the project README. I’d love to be able to spend more time with friends, and even a small amount of money is a clear signal that it’s worth my time.

捐助者支持的开源项目的成功故事使我大受鼓舞。 所以我最近在项目README上贴了一些捐赠徽章 。 我希望能够与friends一起度过更多的时间,即使少量的钱也明确表明这是值得的。

So how many donations has GitHub’s most-starred human-readable project received? Exactly zero. (And honestly, I’m not sure how to change that.) It is, I admit, a little discouraging.

那么,GitHub最受欢迎的human-readable项目收到了多少捐款? 完全为零。 (老实说,我不确定该如何更改。)我承认,这有点令人沮丧。

Still, if I was in it for the money I wouldn’t have spent so much time building, well, this. And donations are just one way to contribute. If you give me as much feedback, love, and help as my 17 users, you don’t need to give me a cent.

不过,如果我愿意花钱,我不会花太多时间来建造这个 。 捐赠只是一种捐款方式。 如果您给我的反馈,爱心和帮助与我的17个用户一样多,那么您就不必给我一分钱。

翻译自: https://www.freecodecamp.org/news/learning-from-a-whopping-17-users-50ddfe748c26/

32位系统能够识别多达内存

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值