kenneth reitz

This week, I’m excited to be interviewing the prolific Kenneth Reitz!

本周,我很高兴采访多产的肯尼思·雷茨(Kenneth Reitz)

Kenneth is the author of the extremely popular requests and pipenv libraries. Join us as we talk about his latest projects and the most challenging code he’s written to date.

肯尼斯(Kenneth)是极受欢迎的requestspipenv库的作者。 加入我们,讨论他的最新项目和他迄今为止编写的最具挑战性的代码。

Ricky: Let’s start at the beginning… How did you get into programming, and when did you start using Python?

Ricky:让我们从头开始……您是如何开始编程的,什么时候开始使用Python的?

Kenneth Reitz

Kenneth: I started programming at a young age. My dad was a programmer, and I taught myself BASIC and C (with this help) at the age of 9. I started using Python in college, when I took my first CS course. Shortly after, I dropped out and learned many other programming languages, but I always kept coming back to Python.

肯尼斯:我从小就开始编程。 我父亲是一名程序员,在我9岁的时候,我就自学了BASIC和C语言(在这个帮助下)。我上大学的第一门CS课程开始使用Python。 不久之后,我退学了,学习了许多其他编程语言,但是我始终回到Python。

Ricky: Congratulations on your new job with Digital Ocean. You’re the senior member of the Developer Relations team. How are you finding the change in role from your previous job at Heroku, and what can we expect from Digital Ocean moving forward in the Python space?

瑞奇:祝贺您在Digital Ocean上的新工作。 您是开发人员关系小组的高级成员。 您如何在以前在Heroku的工作中找到角色的变化,以及我们对Digital Ocean在Python领域的发展有何期待?

Kenneth: Thanks! I’m really enjoying the new role and the opportunity to serve the entire development community, not just the Python community. However, my latest work, Responder, has been a Digital Ocean project, so there’s room to expect more from us in the Python space 😊

肯尼斯:谢谢! 我真的很享受这个新角色,也有机会为整个开发社区服务,而不仅仅是Python社区。 但是,我的最新作品Responder一直是Digital Ocean项目,因此在Python领域还有更多的期望给我们😊

Ricky: You are, of course, most famous for writing the extremely popular requests library and the new pipenv library. Python.org now recommends the use of pipenv for dependency management. How has the community received pipenv? Have you seen much resistance from the community with developers preferring to stick to venv or older methods of dependency management?

Ricky:当然,您以编写非常流行的requests库和新的pipenv库而pipenvPython.org现在建议使用pipenv进行依赖项管理。 社区如何获得pipenv ? 您是否在社区中看到了很多抵制,因为开发人员倾向于坚持使用venv或更旧的依赖管理方法?

Kenneth: The community has received pipenv very well, and even companies like GitHub are using its standards for security vulnerability scanning. I haven’t seen much resistance from the community at all, aside from some hatred on reddit. It took me a while to realize that /r/python doesn’t represent the Python community as much as it represents redditors who use Python.

肯尼斯(Kenneth):社区已经很好地接受了pipenv ,甚至像GitHub这样的公司都在使用其标准进行安全漏洞扫描。 除了对Reddit的仇恨之外,我还没有看到社区的任何阻力。 我花了一段时间才意识到/ r / python并不代表Python社区,而是代表使用Python的Redditor。

Ricky: Now hitting 300 million downloads on your requests library is cool and all, but as a guitarist, what I’m more excited about is your latest project PyTheory. Can you tell us a little about it and your plans for the project going forward?

Ricky:现在您的请求库中的下载量达到了3亿,这很酷,但是作为吉他手,我最激动的是您的最新项目PyTheory 。 您能告诉我们一些有关您以及该项目未来的计划吗?

Kenneth: PyTheory is a very interesting library that attempts to encapsulate all known musical systems into a library. Currently, there is one system: Western. It can render all the different scales for the Western system, programmatically, and tell you the pitches of the notes (either in decimal or symbolic notation). In addition, there are fretboards and chord charts, so you can specify a custom tuning for your guitar, and generate chord charts with it. It’s very abstract.

肯尼斯: PyTheory是一个非常有趣的库,它试图将所有已知的音乐系统封装到一个库中。 当前,有一个系统:西方。 它可以以编程方式呈现Western系统的所有不同音阶,并告诉您音符的音高(以十进制或符号表示)。 此外,还有指板和和弦图,因此您可以为吉他指定自定义调音,并使用它生成和弦图。 非常抽象。

Definitely the most challenging thing I’ve ever written.

绝对是我写过的最具挑战性的东西。

Ricky: So after recently ditching your Mac for a PC, and turning to Microsoft’s (amazing) VS Code for your Python development, are you happy and proud to be a Windows user? For those who may be reading who haven’t used Windows since Windows ‘95, what are they missing?

Ricky:因此,在最近放弃Mac转向PC并转而使用Microsoft的(惊人的) VS Code进行Python开发之后,成为Windows用户感到高兴和自豪吗? 对于那些可能阅读自Windows '95以来就没有使用过Windows的人,他们缺少了什么?

Kenneth: I love the Mac and prefer it to Windows. I’m just currently bored with my setup and decided to challenge myself by running Windows. I’m very happy and productive, though. Feels right at home.

肯尼斯:我爱Mac,并且更喜欢Windows。 我目前对设置感到无聊,因此决定通过运行Windows来挑战自己。 不过,我感到非常高兴和富有成效。 感觉就像在家里一样。

Windows isn’t what it used to be. It’s a real solid piece of operating system now. I’m running it on my iMac Pro, and it hums like a dream.

Windows不再是以前的样子。 现在,它是真正可靠的操作系统。 我正在iMac Pro上运行它,它像梦一样嗡嗡作响。

Ricky: I know you’re a keen photographer. How long have you been into it, and what’s your favorite photo you’ve taken? Do you have any other hobbies and interests, aside from Python?

瑞奇:我知道你是一位敏锐的摄影师。 您玩了多久了?您最喜欢的照片是什么? 除了Python,您还有其他爱好和兴趣吗?

Kenneth: I’ve been into photography seriously for about 10 years. My favorite photo I’ve ever taken is probably this one. It was taken on a film camera, after I had a migraine for several weeks, and it was my first time being able to walk outside.

肯尼斯:我已经认真从事摄影工作约十年了。 我拍过的最喜欢的照片可能就是这张 。 我偏头痛好几个星期后,它是用胶卷相机拍摄的,这是我第一次能走到外面。

Ricky: Finally, any parting words of wisdom? Anything you’d like to share and/or plug?

瑞奇:最后,还有智慧的话吗? 您想分享和/或插入任何内容吗?

Kenneth: Responder! My new web service framework for Python. It’s ASGI, it’s familiar looking, it’s fast, and it’s easier to use than Flask! Great for building APIs. Check it out!

肯尼思:回应者! 我的新的Python Web服务框架。 它是ASGI,外观熟悉,速度快,而且比Flask易于使用! 非常适合构建API。 看看这个!



Thank you, Kenneth, for joining me this week. It’s been great to watch the development of Responder happen in realtime on Twitter. You can follow its development or raise an issue here.

谢谢肯尼斯,本周加入我的行列。 很高兴在Twitter上实时观看Responder的开发。 您可以按照其发展或提出问题在这里

As always, if there is someone you would like me to interview in the future, reach out to me in the comments below, or send me a message on Twitter.

与往常一样,如果您将来希望有人采访我,请在下面的评论中与我联系,或者在Twitter上给我发送消息

翻译自: https://www.pybloggers.com/2018/11/python-community-interview-with-kenneth-reitz/

kenneth reitz

Logo

开放原子开发者工作坊旨在鼓励更多人参与开源活动,与志同道合的开发者们相互交流开发经验、分享开发心得、获取前沿技术趋势。工作坊有多种形式的开发者活动,如meetup、训练营等,主打技术交流,干货满满,真诚地邀请各位开发者共同参与!

更多推荐