開源貢獻 計算_我的第一個Hacktoberfest-第一次為開源做貢獻的經驗

開源貢獻 計算

by Sibylle Sehl

通過Sibylle Sehl

我的第一個Hacktoberfest-第一次為開源做貢獻的經驗 (My First Hacktoberfest — Experiences of Contributing to Open Source as a First Timer)

Contributing to Open Source and projects can seem like a daunting process. Your favorite search engine will return a ton of results on guides and repositories to get started. But many times, your search does not yield the result you want, you still do not know how to contribute to Open Source even after reading multiple blog posts. The impeding reputation of certain projects and a harsh undertone does not help either and might complicate matters even further.

為開源和項目做貢獻似乎是一個艱巨的過程。 您最喜歡的搜索引擎將在指南和存儲庫中返回大量結果,以開始使用。 但是很多時候,您的搜索無法產生所需的結果,即使閱讀了多個博客文章,您仍然不知道如何為開源做貢獻。 某些項目的聲譽受到阻礙,言語刻薄,也無濟于事,甚至可能使事情更加復雜。

I have been there myself. I trawled through pages to find great Open Source repositories to contribute to, only to notice that I did not know how to start.

我自己去過那里。 我瀏覽了許多頁面,找到了可以為之做出貢獻的出色開放源代碼存儲庫,只是注意到我不知道如何開始。

Frustrated and a little disappointed, I started focusing on other projects instead.

沮喪和有些失望,我開始專注于其他項目。

But it all changed when I saw a fellow employee’s Hacktoberfest sticker on their laptop. I was intrigued — was this a remnant of yet another Hackathon?

但是,當我在他們的筆記本電腦上看到同事的Hacktoberfest貼紙時,一切都變了。 我很感興趣-這是又一次Hackathon的殘余嗎?

Hacktoberfest turned out to be very different.

Hacktoberfest變得非常不同。

那么什么是Hacktoberfest? (So what is a Hacktoberfest exactly?)

Hint: it doesn’t have to do with either beer, or hacking or the Oktoberfest (which actually takes place in September, duh!).

提示:它與啤酒,黑客行為或慕尼黑啤酒節(實際上發生在9月,du!)無關。

Hacktoberfest is a month-long celebration of contributing to Open Source, running from 1st October to 31st October. It was initiated by DigitalOcean in collaboration with GitHub. During the month of October you are encouraged to contribute and make pull requests to your favourite repositories on GitHub. If you manage to make four in total, you are eligible to receive a swanky T-Shirt like this!

Hacktoberfest是為期一個月的慶祝開源活動的活動,活動時間為10月1日至10月31日。 它由DigitalOcean與GitHub合作發起。 在十月份,我們鼓勵您向GitHub上您喜歡的存儲庫做出貢獻并提出拉取請求。 如果您一共成功制作了四個,則有資格獲得像這樣的時髦T恤!

標簽,標簽,標簽 (Labels, labels, labels)

Hacktoberfest proved to be a great month to get into Open Source. GitHub was filled with issues labelled Hacktoberfest that needed your help. There was enough projects to choose from — ranging from documentation to Python to RUST. During this time, I learned how to search GitHub for issues by labels and how to find good issues to contribute to.

Hacktoberfest被證明是進入開源的好月份。 GitHub上充滿了標記為Hacktoberfest的問題,需要您的幫助。 有足夠的項目可供選擇-從文檔到Python到RUST。 在這段時間里,我學習了如何通過標簽在GitHub上搜索問題,以及如何找到有助于解決的好問題。

For people like me, who did not have any experience, labels such as first-timers-only, easy or good-first-issue proved to be my friend. There are also some good websites which aim to make the process of finding those issues easier. For example, up-for-grabs.net or code-triage — there’s probably many more.

對于像我這樣沒有任何經驗的人,諸如初學者輕松良好先發等標簽被證明是我的朋友。 也有一些優秀的網站,旨在使發現這些問題的過程更加容易。 例如, up-for-grabs.net或代碼分類 -可能還有更多。

Go and sign up to a few of these or check out their issues!

快去注冊其中一些,或查看他們的問題!

學習如何貢獻 (Learning how to contribute)

While trying to make my first contributions, I realised that my biggest unknown was not how to add links to markdown or style a page. But how to make a good pull request using git and the command line.

在嘗試做出我的第一個貢獻時,我意識到我最大的未知數不是如何添加鏈接以降價或設置頁面樣式。 但是如何使用git和命令行發出良好的請求請求。

I found Kent C. Dodds’ free guide on egghead.io helpful and took notes of the command line commands I executed while following along.

我發現kent C. Dodds 在egghead.io上的免費指南很有幫助,并記下了我在跟蹤過程中執行的命令行命令。

The instructions could be summarized to something as simple as this:

這些說明可以概括為以下簡單內容:

//First you need to find a repository you want to contribute to and fork it!
// Then you have to clone the forked repo git clone git@github.com:yourusername/contributing-repo.git
// Change your directory to the new repo you cloned cd contributing-repo
// Set the upstream repository to the original repository (not the one you just cloned) git remote add upstream git@github.com:the-owners-username/contributing-repo.git
// Update any changes git fetch upstream
// Set our master branch to same as upstream branchgit branch --set-upstream-to=upstream/master master
// Create your own new branch for your pull requestgit checkout -b pr/my-new-cool-contribution
// Make any changes in your favourite text editor and save
//check status (should show the modified files)git status
// look at changes and reassess workgit diff
// add any changes to your staging area ( . for all files)git add
// Commit all changes and add a message for the maintainer of the repogit commit -m "I added this cool text to your guide repository"
// Push to source repo and create pull requestgit push origin pr/my-new-cool-contribution

This really helped me to understand the purpose of a pull-request and to understand the process of making a contribution. This blog post also helped me to understand that being descriptive is your best weapon — as that way you can get support and indicate if a Pull Request is still in progress. Not long after, I made another practice contribution but to receive a T-Shirt I needed to up my game and find another two issues.

這確實幫助我了解了請求請求的目的并了解了做出貢獻的過程。 這篇博客文章還幫助我理解了描述性是您最好的武器-這樣一來,您可以獲得支持并指出“拉取請求”是否仍在進行中。 不久之后,我又做出了一項練習性貢獻,但是要獲得一件T恤,我需要提高自己的游戲水平并找到另外兩個問題。

一場天上的火柴—對freeCodeCamp指南的貢獻 (A match made in heaven — contributing to freeCodeCamp guides)

I opened Medium one day and saw that Quincy Larson had provided a complete guide on how people could easily contribute to the freeCodeCamp guides repository. A source of shared knowledge across development, product, design, and data science. Contributing to this repository was not only highly encouraged but also super easy. You could make the contributions in your browser.

我有一天打開Medium,看到Quincy Larson提供了關于人們如何輕松地向freeCodeCamp指南存儲庫做出貢獻的完整指南 。 跨開發,產品,設計和數據科學的共享知識來源。 不僅鼓勵鼓勵對該存儲庫做出貢獻,而且非常容易。 您可以在瀏覽器中做出貢獻。

Finding a topic was not hard as the guides repository covered anything from Accessibility to HTML to Game Development.

查找主題并不難,因為指南庫涵蓋了從輔助功能到HTML到游戲開發的所有內容。

What intrigued me the most was how easy freeCodeCamp made the process to enable newcomers like me make meaningful contribution. Sharing knowledge with others.

最讓我著迷的是freeCodeCamp如何輕松地使像我這樣的新手做出有意義的貢獻。 與他人共享知識。

You still learned about making pull request, having your contribution merged and adhering to standards and contributing guidelines. The process was slightly less intimidating . It was perfect for a beginner. In fact, it was that streamlined that freeCodeCamp managed to make a gif about it that sums the process up:

您仍然了解了提出拉取請求,合并您的貢獻以及遵守標準和貢獻準則的知識。 這個過程沒有那么令人生畏。 對于初學者來說是完美的。 實際上,正是由于精簡了,freeCodeCamp才對其制作了一個gif文件,從而總結了整個過程:

After some deliberation, I decided to make a small contribution on different Linux distributions. And write a completely new section on Game Development to complete my four pull requests. I made a game over the summer as part of my dissertation project. Writing about Game Development and tools seemed a good way to share my newly acquired knowledge with others.

經過深思熟慮,我決定為不同的Linux發行版做出一些貢獻。 并撰寫有關游戲開發的全新章節,以完成我的四個請求請求。 暑假期間,我做了一個游戲,這是我的論文項目的一部分。 撰寫有關游戲開發和工具的文章似乎是與他人分享我新獲得的知識的好方法。

In their Contributing.md guidelines, freeCodeCamp had given a lot of detail and a way of making sure that your writing was concise. I did all my research, backed it up with sources and fired it through the Hemingway app . Active voice and short sentences for the win!

在他們的Contributing.md指南中 ,freeCodeCamp提供了很多細節,并提供了確保您的寫作簡潔的方法。 我進行了所有研究,并用源進行了備份,并通過海明威應用程序將其觸發。 主動的聲音和簡短的句子為您贏得勝利!

I made my pull request and was over the moon when it got merged. The encouraging feedback was also a great plus from the freeCodeCamp community.

我提出了我的請求,當它合并時就在月球上。 freeCodeCamp社區也給予了令人鼓舞的反饋,這是一個很大的優勢。

我們可以從中得到什么? (What can we take away from this?)

I would advise you to free yourself from the assumption, that you need to contribute perfect and well-rounded code the first time. Your first contribution does not have to be ground-breaking (or even be code to be precise).

我建議您從假設中解放出來,即您需要在第一時間貢獻出完善而全面的代碼。 您的第一個貢獻不必是開創性的(甚至不必是精確的代碼)。

Project maintainers know that this might be your first Open Source contribution if they have labelled the issue as first-timers-only or similar. Your contribution can be anything like correcting a spelling mistake, adding some hyperlinks or a small learning project. Start small to become familiar with the process.

項目維護人員知道,如果他們將問題標記為“ 僅限初學者”或類似問題,則這可能是您的第一個開源項目。 您的貢獻可以像糾正拼寫錯誤,添加一些超鏈接或一個小型學習項目之類。 從小處著手,以熟悉該過程。

Many project maintainers that label their issues as friendly for beginners are also happy to answer your questions and provide support. So, don’t be shy to ask for clarification, if you do not understand something.

許多將自己的問題標記為對初學者友好的項目維護者,也很樂意回答您的問題并提供支持。 因此,如果您不了解某些內容,請不要害羞要求澄清。

When the Hacktoberfest T-Shirt finally arrived in mid December having been shipped all the way from America, I felt like Christmas had come early. Holding it in my hands made me realise that I had helped to create and extend something that mattered . A feeling I believe many people contributing to Open Source on a regular basis will experience. Wearing it always reminds me to share my knowledge and this year I will also try and make the leap to contribute more code, after all I am not a first-timer anymore!

當Hacktoberfest T恤終于從美國一路運送到12月中旬到達時,我覺得圣誕節快到了。 握住它使我意識到自己已經幫助創建和擴展了重要的東西。 我相信會有很多人定期為開源做出貢獻。 戴著它總是讓我分享自己的知識,今年,我還將嘗試并做出更大的貢獻,以貢獻更多的代碼,畢竟我不再是初學者了!

翻譯自: https://www.freecodecamp.org/news/my-first-hacktoberfest-experiences-of-contributing-to-open-source-as-a-first-timer-b538f7c129dc/

開源貢獻 計算

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/395131.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/395131.shtml
英文地址,請注明出處:http://en.pswp.cn/news/395131.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

java web junit_如何使用junit測試javaweb工程

一:創建一個測試類,建議將測試類單獨放在一個包中(在 maven 項目里有測試類專門的存放位置),新建一個Junit Test Case類,下一步 測試類的命名建議是你將要測試的類名Test,然后點 Browse, 你可以選擇要進行測試的類(一般選擇 Service, 因為 Service 關心的是業務需求),用這種方式…

文件系統及程序的限制關系: ulimit

想像一個狀況:我的 Linux 主機里面同時登陸了十個人,這十個人不知怎么搞的, 同時打開了 100 個文件,每個文件的大小約 10MBytes ,請問一下, 我的 Linux 主機的內存要有多大才夠? 1010010 10000…

java代碼_Java 代碼實現排序算法

閱讀本文約需要8分鐘 大家好,我是你們的導師,我每天都會在這里給大家分享一些干貨內容(當然了,周末也要允許老師休息一下哈)。上次老師跟大家分享了下SpringBootGradle MyBatisPlus3.x搭建企業級的后臺分離框架的相關知識,今天跟大…

移動游戲市場Testin云測占有率超過90%

《王者榮耀》、全民K歌、美團大眾、共享單車……越來越多的爆款應用占據著我們的手機桌面,也驅動著創業者不斷發掘新的移動應用和商業模式,卻鮮有人留意到,由移動應用催生出來的APP測試市場。 “現在用戶獲取成本是幾年前的幾十倍&#xff0c…

java 拆箱_Java自動裝箱拆箱

一、裝箱、拆箱定義如果一個int型量被傳遞到需要一個Integer對象的地方,那么,編譯器將在幕后插入一個對Integer構造方法的調用,這就叫做自動裝箱。而如果一個Integer對象被放到需要int型量的地方,則編譯器將幕后插入一個隊intValu…

我們如何使用CircleCI 2.0來構建Angular應用并將其部署到AWS S3

by Marius Lazar通過馬里烏斯拉扎爾(Marius Lazar) 我們如何使用CircleCI 2.0來構建Angular應用并將其部署到AWS S3 (How we used CircleCI 2.0 to build and deploy an Angular app to AWS S3) In today’s world, continuous integration and deployment (CI & CD) is a…

攜手助力新型智慧城市建設和科技創新發展

2017年5月9日,三門峽市政府與北京航天控制儀器研究所、溢思得瑞科技創新集團戰略合作協議簽約儀式舉行,共同推動三門峽市新型智慧城市建設和科技創新發展。 市委書記劉南昌,市委常委、宣傳部部長呂挺琳,副市長李琳,市城…

在采用vue-cli Post Get

需要依賴插件 vue-resource npm install vue-resource --save https://cn.vuejs.org/v2/cookbook/using-axios-to-consume-apis.html 采用axios一樣可以取數值 new Vue({ el: #app, data () { return { info: null } }, mounted () { axios .get(https://api.coindesk.com/v1/b…

優秀的開源項目C_適合提高C/C++、網絡編程能力的開源項目!不要錯過,趕緊收藏...

我們學習每一個編程語言都是有一個項目實戰的過程,而對于開發類的編程語言,除了適當的做項目程序外,學習了解其他的開源項目更是一個關鍵,就比如我們的C/C編程語言的學習。前陣子有一個小伙伴就問到我,我學好C/C基礎后…

Opencv分水嶺算法——watershed自動圖像分割用法

分水嶺算法是一種圖像區域分割法,在分割的過程中,它會把跟臨近像素間的相似性作為重要的參考依據,從而將在空間位置上相近并且灰度值相近的像素點互相連接起來構成一個封閉的輪廓,封閉性是分水嶺算法的一個重要特征。 其他圖像分割…

單變量線性回歸模型_了解如何為單變量模型選擇效果最好的線性回歸

單變量線性回歸模型by Bjrn Hartmann比約恩哈特曼(BjrnHartmann) 找出哪種線性回歸模型最適合您的數據 (Find out which linear regression model is the best fit for your data) Inspired by a question after my previous article, I want to tackle an issue that often c…

java javax.xml.ws_如何通過javax.xml.ws.Service進行調用

在Eclipse中創建了一個新的標準java 7項目,并成功設法獲取javax.xml.ws.Service的實例,如下所示:String wsdlURL "http://example.com:3000/v1_0/foo/bar/SomeService?wsdl";String namespace "http://foo.bar.com/webservice";String servi…

漢能:讓人類像葉綠素一樣利用太陽能

6月初,一批在車筐里同時標識了摩拜“Mobike”和漢能“Hanergy”的摩拜單車在北京投入使用。這是由漢能與摩拜合作開發的第一批裝有漢能薄膜太陽能組件的共享單車。 這批共享單車所裝載的5.5瓦的漢能MiaSol的柔性薄膜太陽能組件,將為摩拜車載智能鎖中內置…

Java Annotation

一、了解注釋注釋是java1.5 jdk這后引入的特性。Java庫自己帶的注釋有Deprecated, Overwrite等。注釋是加在類,方法,變量等上的一種標記。并且,可以通過javaj反射操作把這個標記取出來。主要用途是用于對方法,變量,類等…

pycharm顯示全部數據_PyCharm第一次安裝及使用教程

pycharm簡介PyCharm是一種Python IDE,帶有一整套可以幫助用戶在使用Python語言開發時提高其效率的工具,比如調試、語法高亮、Project管理、代碼跳轉、智能提示、自動完成、單元測試、版本控制。此外,該IDE提供了一些高級功能,以用…

UOJ #150 【NOIP2015】 運輸計劃

題目描述 公元 \(2044\) 年,人類進入了宇宙紀元。 \(L\) 國有 \(n\) 個星球,還有 \(n-1\) 條雙向航道,每條航道建立在兩個星球之間,這 \(n-1\) 條航道連通了 \(L\) 國的所有星球。 小 \(P\) 掌管一家物流公司, 該公司有…

css 屬性選擇器筆記

1、基本選擇器: eg: *{margin:0;padding:0}p{color:black}.content{background:red;}#intro{padding-left:2em;} 2、多元素組合選擇器 div p { color:#f00; }#nav li { display:inline; }#nav a { font-weight:bold; }div > strong { color:#f00; }h2…

scuba 報表_是否想了解JavaScript的for循環? 這個動畫的SCUBA潛水員可以提供幫助!...

scuba 報表by Kevin Kononenko凱文科諾年科(Kevin Kononenko) 是否想了解JavaScript的for循環? 這個動畫的SCUBA潛水員可以提供幫助! (Want to learn about JavaScript’s for loops? This animated SCUBA diver can help!) For loops can be tough to…

力扣——尋找兩個有序數組的中位數

給定兩個大小為 m 和 n 的有序數組 nums1 和 nums2。 請你找出這兩個有序數組的中位數,并且要求算法的時間復雜度為 O(log(m n))。 你可以假設 nums1 和 nums2 不會同時為空。 示例 1: nums1 [1, 3] nums2 [2]則中位數是 2.0示例 2: nums1 [1, 2] nums2 [3, 4]…

uva-10152-烏龜排序

uva-10152-烏龜排序 求從待排序的到期望的順序的最小操作順序,只能進行一個操作,將當前的烏龜拿出來,上面的下移,拿出來的放到最上面 發現voj沒有PE, 解題方法,把倆個串反過來使用,從期望的順序到待排序的順序. AC:170ms #include <iostream> #include<stdio.h> #i…