Skip to content
Extraits de code Groupes Projets
Valider 4d827e39 rédigé par Lionel Dricot's avatar Lionel Dricot
Parcourir les fichiers

Merge branch 'master' into 'master'

Add my report

See merge request ldricot/lingi2401!295
parents f028bdb0 17c0797d
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!295Add my report
# Open Source Contribution Project
| **Author:** | _Thomas Bolteau_ |
| ------------------------ | ---------------------------------------- |
| **Date:** | 13/12/2022 |
| **NOMA:** | 08692100 |
| **Academic Year:** | 2022-2023 |
| **Open Source Project:** | [NBT](https://github.com/twoolie/NBT)|
| **License:** | [MIT License](https://github.com/twoolie/NBT/blob/master/LICENSE.txt) |
## Book read
I read and presented the book [Deep learning with python](https://www.manning.com/books/deep-learning-with-python).
## Open Source OS
I have been using ubuntu and arch linux on my laptop between summer 2021 and summer 2022. I am also extensively using ubuntu on my VPS used to host my self hosted services (mail server, websites, ...)
## Searching for a project
---
### > 11/10/2022
I started to search for a project. I would be intrested to work for discord.py as this is the library that really got me into programming.
There is not many reported bugs unsolved.
But [this one](https://github.com/Rapptz/discord.py/issues/8483) is attracting my attention as it is only 20 days old at that time:
>This does not seems that trivial to solve though.
### > 31/10/2022
After looking back at discord.py, some new bugs have been discovered but they are majoritavaly realated to audio integration. This library seems a too technical for me to contribute to. Maybe looking in the docs could be intresting.
But I found another project which is [python cheatcheet](https://github.com/gto76/python-cheatsheet) this project seems intresting as he got 150+ stars last weeks and 30000 total stars. In the FAQ they were saying that they don't provide code snippets for the flask library yet. As i got some experience on it I will propose my help to build it. I also have some experience with recording microphone using python, as they are no code snippets for it I will propose to create one.
## Contributing
---
### > 20/11/2022
After thinking a lot on which project to contribute, I remembered a project that I realised months ago. This project was an utilitary to copy some part of a minecraft world to another.
This project is available [here](https://github.com/Ery4z/MSWE) sadly this project haven't seems to interest anyone, even though I used it a lot for me and my friends.
This project was using a [library](https://github.com/twoolie/NBT) that is open source. Sadly I had to write a lot of boilerplate code and utility function to be able to realise my project.
This library has for objective to handle minecraft map file and provide API to extract information from it. If the library was working well for getting the terrain of the map, it was not the case for entities.
After looking at the function thtat I created to handle this functionnality in my project, I realised that this was surprisingly easy to integrate in the library.
Because of this I did a [pull request](https://github.com/twoolie/NBT/pull/167). I will see in the following days what do they think of this.
### > 28/11/2022
After one week I check the status of the previous pull request. At this day I did not have any review on it.
Because I was concerned not to have interaction with the community and I think this may be an important point of this project, I chose to continue to contribute to [another Open source projet](https://github.com/nicknochnack/TFODCourse).
This project is a github repo provided by a youtuber as an introduction to building AI image recognition models.
I worked using this ressource in may 2022 and got some problem setting it up. Because of this I opended an [issue](https://github.com/nicknochnack/TFODCourse/issues/86#issuecomment-1323246438) at that time to help other people knowing which dependancies to install.
Indeed the video was a bit old and the python version evolved. They were no documentation on which version of [tensorflow](https://www.tensorflow.org/?hl=fr), [Nvidia CUDA](https://en.wikipedia.org/wiki/CUDA) and [cuDNN](https://developer.nvidia.com/cudnn) to use with Python 3.10
The [issue](https://github.com/nicknochnack/TFODCourse/issues/86#issuecomment-1323246438) seems to have helped some peoples and I saw that someone tried had a problem a month ago. As I think the person has maybe solved it I asked him if he could give us some insight for it.
I also created a [pull request](https://github.com/gto76/python-cheatsheet/pull/135) to the project described the 31/10/2022. This PR is a cheatsheet about how to record the microphone to wav file using python. I took the code from [another project of mine](https://github.com/Ery4z/PyClip) which does not seems to interest people even though I use it daily.
## Waiting For review
---
### > 06/12/2022
I checked today the status of the pull requests, they are both unreviewed yet. I looked if the contributors are active but sadly they all seems to have a pause. For the minecraft contribution, the last pull request accepted was is december 2021. For the cheatsheet it was in october 2022 but the contributor haven't made any contribution since.
### > 13/12/2022
While formating this document to be able to submit it, I understood that the project [python cheatcheet](https://github.com/gto76/python-cheatsheet) doesn't have a licence file.
I opened an [issue](https://github.com/gto76/python-cheatsheet/issues/136) and I hope that they will add it as it is in the state it is not possible to use legally any of the code in the repo.
### > 14/12/2022
The author of the repo responded to my [issue](https://github.com/gto76/python-cheatsheet/issues/136) and I tried to make the no licence problem clearer for him. I don't know if he will choose one but I hope.
He also reviewed my [pull request](https://github.com/gto76/python-cheatsheet/pull/135) as intresting but not accepting it right now as the cheatsheet would become more than one page.
Later that day I got a response on the licence question, he does not want to add a licence and so only give the right to fork according to github CGU. This is so not an open source project. And really don't motivate me to contribute more to it.
## Conclusion
---
I have been really happy to contribute to these opensources projects. But I understood that contributing to opensource require time investment. Even just as a contributor as it is necessary to really understand the maintainer vision on the future of a project to get their attention and get the pull request accepted.
Also contributing by sending error and fix is easier and can help some people. I will continue to do this part at least.
I will also not forget to add my Licence files as it is annoying not to be able to use the code legally when it is a public repo.
This taught me also that even if a project may look open source with lot of stars/PR and as simple and community based as a cheatsheet, the open source caracteristic is not evident and not really motivating to contribute to a project (why would I spend time to work freely for another person ?).
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter