1. 程式人生 > >Julien Danjou Talks About OpenStack, Gnocchi (Open Source Projects.)

Julien Danjou Talks About OpenStack, Gnocchi (Open Source Projects.)

You already know that one of the ways of improving your skills as a programmer is to contribute to open source projects.

But how do you contribute to open source projects even when you are not an experienced programmer?

What is also the best way to handle bugs in an open source project?

Well, that’s exactly

 what I’m going to share with you in today’s interview blog post and much more.

Today’s guest is Julien Danjou, and he has contributed to the largest open source project in Python( OpenStack). He is also the author of the book, The Hacker’s Guide to Python.

Interview with Julien Danjou

Godson: Good day, Julien Danjou, welcome to Cool Python Codes. Thanks for

taking your precious time to be here.

Julien Danjou: You’re welcome!

Godson: Could you kindly tell us about yourself like your full name, hobbies, nationality, education, and experience in programming?

Julien Danjou: Sure. I’m Julien Danjou, I’m French and live in Paris, France. I studied Computer science for 5 years around 15 years ago, and continued my career in that field since then, specializing in open source projects.

Julien Danjou talking about scalable and distributed applications in Python at Pycon FR - Julien Danjou Talks About OpenStack, Gnocchi and How to Contribute to Open Source Projects.


Julien Danjou talking about scalable and distributed applications in Python at Pycon FR

Those last years, I’ve been working as a software engineer at Red Hat. I’ve spent the last 10 years working with the Python programming language. Now I work on the Gnocchi project which is a time series database.

When I’m not coding, I enjoy running half-marathon and playing FPS games.

Godson: Can you narrate your first programming experience and what got you to start learning to program?

Julien Danjou: I started programming around 2001, and my first serious programs were in Perl. I was contributing to a hosting platform for free software named VHFFS. It was a free software project itself, and I enjoyed being able to learn from other more experienced developers and being able to contribute back to it. That’s what got me stuck into that world of open source projects.

Godson: Which programming language do you know and which is your favorite?

Julien Danjou: I know quite a few, I’ve been doing serious programming in Perl, C, Lua, Common Lisp, Emacs Lisp and Python.

Obviously, my favorite is Common Lisp, but I was never able to use it for any serious project, for various reasons. So I spend most of my time hacking with Python, which I really enjoy as it is close to Lisp, in some ways. I see it as a small subset of Lisp.

Godson: What inspired you to venture into the world of programming and drove you to learn a handful of programming languages?

Julien Danjou: It was mostly scratching my own itches when I started. Each time I saw something I wanted to do or a feature I wanted in an existing software, I learned what I needed to get going and get it working.

I studied C and Lua while writing awesome- the window manager that I created 10 years ago and used for a while. I learned Emacs Lisp while writing extensions that I wanted to see in Emacs, etc. It’s the best way to start.

Godson: What is your blog about?

Julien Danjou: My blog is a platform where I write about what I work on most of the time. Nowadays, it’s mostly about Python and the main project I contribute to, Gnocchi.

When writing about Gnocchi, I usually try to explain what part of the project I worked on, what new features we achieved, etc.

On Python, I try to share solutions to common problems I encountered or identified while doing e.g. code reviews. Or presenting a new library I created!

Godson: Tell us more about your book, The Hacker’s Guide to Python.

Julien Danjou: It’s a compilation of everything I learned those last years building large Python applications. I spent the last 6 years developing on a large code base with thousands of other developers.

I’ve reviewed tons of code and identified the biggest issues, mistakes, and bad practice that developers tend to have. I decided to compile that in a guide, helping developers that played a bit with Python to learn the stages to get really productive with Python.

Godson: OpenStack is the biggest open source project in Python, Can you tell us more about OpenStack?

Julien Danjou: OpenStack is a cloud computing platform, started 7 years ago now. Its goal is to provide a programmatic platform to manage your infrastructure while being open source and avoiding vendor lock-in.

Godson: Who uses OpenStack? Is it for programmers, website owners?

Julien Danjou: It’s used by a lot of different organizations – not really by individuals. It’s a big piece of software. You can find it in some famous public cloud providers (Dreamhost, Rackspace…), and also as a private cloud in a lot of different organizations, from Bloomberg to eBay or the CERN in Switzerland, a big OpenStack user. Tons of telecom providers also leverages OpenStack for their own internal infrastructure.

Godson: Have you participated in any OpenStack conference? What did you speak on if you did?

Julien Danjou: I’ve attended the last 9 OpenStack summits and a few other OpenStack events around the world. I’ve been engaged in the upstream community for the last 6 years now.

My area of expertise is telemetry, the stack of software that is in charge of collecting and storing metrics from the various OpenStack components. This is what I regularly talk about during those events.

Godson: How can one join the OpenStack community?

Julien Danjou: There’s an entire documentation about that, called the Developer’s Guide and it’s available online here. It explains how to setup your environment to send patches, how to join the community using the mailing-lists or IRC.

Godson:  What makes your book, The Hacker’s Guide to Python stand out from other Python books? Also, who exactly did you write this book for?

Julien Danjou: I wrote the book that I always wanted to read about Python, but never found. It’s not a book for people that want to learn Python from scratch. It’s a great guide for those who know the language but don’t know the details that experienced developers know and that make the difference. The best practice, the elegant solutions to common problems, etc. That’s why it also includes interviews with prominent Python developers, so they can share their advice on different areas.

Godson:  How can someone get your book?

Julien Danjou: I’ve decided to self-publish my book, so he does not have an editor like you can be used to see. The best place to get it is online at where you can pick the format you want, electronic or paper.

Godson: What do you mean when you say you hack with Python?

Julien Danjou: Unfortunately, most people refer to hacking as the activity of some bad guys trying to get access to whatever they’re not supposed to see. In the book title, I mean “hacking” as the elegant way of writing code and making things worse smoothly even when you were not expecting to make it.

Godson: You mentioned earlier that Gnocchi is a time series database. Can you please be more elaborate about Gnocchi?  Is there also any documentation about Gnocchi?

Julien Danjou: So Gnocchi is a project I started a few years ago to store time series at large scale. Time series are basically a series of tuple composed of a timestamp and a value.

Imagine you wanted to store the temperature of all the rooms of the world at any point of time. You’d need a dedicated database for that with the right data structure. This is what Gnocchi does: it provides this data structure storage at very, very large scale.

The primary use case is infrastructure monitoring, so most people use it to store tons of metrics about their hardware, software, etc. It’s fully documented on its website.

Watch the video below to know more about Gnocchi.

Godson: How can a programmer without much experience contribute to open source projects?

Julien Danjou: The best way to start is to try to fix something that irritates you in some way. It might be a bug, it might be a missing feature. Start small. Don’t try big things first or you could be discouraged.

Never stop.

Also, don’t plunge right away in the community and start poking random people or spam them with questions.

Do your homework, and listen to the community for a while to get a sense of how things are going. That can be joining IRC and lurking or following the mailing lists for example.

Big open source community dedicate programs to help you become engaged. It might be worth a try. Generic programs like Outreachy or Google Summer of Code are a great way to start if you don’t feel confident enough to jump by your own means in a community.

Godson: Just out of curiosity, do you write code in French?

Julien Danjou: Never ever. I think it’s acceptable to write in your language if you are sure that your code will never be open sourced and that your whole team is talking in that language, no matter what – but it’s a ballsy assumption, clearly.

Truth is that if you do open source, English is the standard, so go with it. Be sad if you want, but please be pragmatic.

I’ve seen projects being open sourced by companies where all the code source comments were in Korean. It was impossible for any non-Korean people to get a glance of what the code and the project was doing, so it just failed and disappeared.

Godson: How does a team of programmers handle bugs in a large open source project?

Julien Danjou: I wish there was some magic recipe, but I don’t think it’s the case. What you want is to have a place where your users can feel safe reporting bugs. Include a template so they don’t forget any details: how to reproduce the bugs, what they expected, etc. The worst thing is to have users reporting “That does not work.” with no details. It’s a waste of time.

What tool to use to log all of that really depends on the team size and culture.

Once that works, the actual fixing of bug doesn’t follow any rule. Most developers fix the bug they encounter or the ones that are the most critical for users. Smaller problems might not be fixed for a long time.

Godson: Can you tell us about the new book you are working on and when do we expect to get it?

Julien Danjou: That new book is entitled “Scaling Python” and it provides insight into how to build largely scalable and distributed applications using Python.

It is also based on my experience in building this kind of software during the past years. This book also includes interviews of great Python hackers who work on scalable system or know a thing or two about writing applications for performance – an important point to have scalable applications.

The book is in its final stage now, and it should be out at the beginning of 2018.

Godson: How can someone get in contact with you?

Julien Danjou: I’m reachable at [email protected] by email or via Twitter, @juldanjou.

About Julien Danjou.

Julien Danjou talks about OpenStack, Gnocchi and how to contribute to open source project

Photo of Julien Danjou

Julien Danjou is a French Software Engineer at Red Hat and a contributor to OpenStack, the largest existing open source project written in Python. He is the author of The Hacker’s Guide to Python and he is currently writing another book, Scaling Python.

Conclusion: 4 Questions About Open Source Answered Julien Danjou.

Your Say

How many open source projects have you contributed and kindly share your experience with us via the comment box below?

Try being social as well – share this post on your Social Media accounts, I will really appreciate that.

TweetPin690 Shares

相關推薦

Julien Danjou Talks About OpenStack, Gnocchi (Open Source Projects.)

You already know that one of the ways of improving your skills as a programmer is to contribute to open source projects. But how do you contribute to

Ask HN: Books about applying the open source model to society

I've been thinking for some time now that as productivity keeps growing, not all people will need to work any more. Society will eventually start to resemb

Python, OpenStack, and Open Source

This post is based on the closing keynote I gave for PyTennessee in February 2018, where I talked about how the governance of an open source project imp

Podcasts about Chaos Engineering, Open Source, and Microservices

Adrian Cockcroft Vice President Cloud Architecture Strategy, Amazon Web Services Adrian Cockcroft has had a long career workin

Top open source projects 2018: Vscode, React

Github's top open source projects for 2018 include Tensorflow, IT automation tool Ansible and Kubernetes with the fastest growth in areas such as machine l

Ask HN: How do you offer bug bounties for open source projects?

I am the maintainer of an open source project and would like to offer bug bounties and rewards for testing the application. The thing is that platforms lik

Open source projects

All my open source projects can be found under: https://github.com/minaandrawos. Here are some of my favorites:

RegexKit: A Regular Expression Toolbox Based On NW.js(Node-Webkit) And Other Greate Open Source Projects.

RegexKit RegexKit: A Regular Expression Toolbox Based On NW.js(Node-Webkit) And Other Greate Open Source Projects. Dependence RegexKit is based on a ser

Ask HN: Are grants sustainable for supporting open source projects?

I posted the other day about how to sustain Open Source projects via donations and you guys gave great feedback:https://news.ycombinator.com/item?id=185275

Life as a GSoC student: What I learned about open source development through Probot

Abhijeet Pratap Singh is a student at the Indian Institute of Information Technology in Tiruchirappalli, India. He was selected to be one of the Google

OpenStack/Gnocchi簡介——時間序列數據聚合操作提前計算並存儲起來,先算後取的理念

完整 其它 度量標準 過濾 無法 什麽 規劃 med 表示 先看下 http://www.cnblogs.com/bonelee/p/6236962.html 這裏對於環形數據庫的介紹,便於理解歸檔這個操作! 轉自:http://blog.sina.com.cn/s/blo

open source

oss tps alt -c log blog bsp image .com https://github.com/fffaraz/awesome-cpp https://notabug.org/koz.ross/awesome-c open source

Folly: Facebook Open-source Library Readme.md 和 Overview.md(感覺包含的東西並不多,還是Boost更有用)

sts series flat actions direct ports idg sha printing folly/ For a high level overview see the README Components Below is a list of (s

kafka-rest:A Comprehensive, Open Source REST Proxy for Kafka

machine cost ace def hms mas benchmark file oss Ewen Cheslack-Postava March 25, 2015 時間有點久,但講的還是很清楚的 As part of Confluent Platform 1.0

1.Linux的發展歷史以及 GNUGPL和open source

linu 公司 語言 出現 data- 嚴格 開發者 font 標準 發展歷史:20實際60年代:那時候的計算機一般只有在軍事,科研以及學術院校才能見到,不是一般人能接觸的東西。開始的時候計算機的時候的輸入靠卡片閱讀器,即程序開發者在卡片上打洞放入卡片閱讀器上輸入,在通過打

Darknet: Open Source Neural Networks in C - Train a Classifier on CIFAR-10

Darknet: Open Source Neural Networks in C - Train a Classifier on CIFAR-10 Darknet is an open source neural network framework written in C and C

Darknet: Open Source Neural Networks in C - Classifying With darknet19.weights Models

Darknet: Open Source Neural Networks in C - Classifying With darknet19.weights Models Darknet is an open source neural network framework written

Open Source Vbootkit 2 0 Attack Tool for Windows 7

分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!        

Darknet: Open Source Neural Networks in C - CIFAR-10 Dataset Mirror

Darknet: Open Source Neural Networks in C - CIFAR-10 Dataset Mirror CIFAR-10 Dataset Mirror https://pjreddie.com/projects/cifar-10-dataset-mir

C++:cannot open source file問題

最近,在一些專案中只要引用了標準C++程式碼的地方,都會報cannot open source file這樣的錯誤,比如: 查詢問題後發現,是由於Configuration Properties -> VC++ Directories -> Include Directorie