Posts

Showing posts from October, 2020

Release 2.4

Image
For my final iteration of my release 0.2 deliverable I wanted to participate in something meaningful, I found a repo that supported the BLM movement. Being a student that is not only black but also both french and muslim. With the current state of cultural issues happening around the world, it made me want to contribute to this repo.  This contribution was supposed to be somewhat easy, it was more about the content that was being pushed out than the coding aspect of it. Ironically, it was the total opposite and I believe it also gave me the bigger picture of Open source. I was working with this cmd line tool called "eleventy" which emulates a server locally, it was quite troublesome and kept giving me errors when simply trying to install it(and almost made me want to unassign myself from this issue).  The reason why I say that it gave me a bigger perspective of Open Source is because this issue pushed me to collaborate and communicate with the author, from the very beginning

Release 2.3

For this weeks pull request I decided to create my own issue in a project.  I found a data structure & algorithm repo that I could give some input into and also move away from html/javascript forms of coding. I chose this repo because data structures are very important to know as a programmer and some of the examples found in this repo could potentially be interview questions. I had created 2 issues for this repo, I wanted to add code so that one could see how to create a power function and a factorial function. The only difference was that I wanted to show both iteratively and recursively how to code those questions. Initially I had requested that both issues would be assigned to me (which was not an issue to me) but hours later after creating my issues I had some interest from other coders who wanted to add some of their code. Being in the spirit of hackoberfest I let one of the issues go and resolved 1 of the issues. This was interesting to me as I was not expecting for others t

Code Refactoring

This week the goal was to refactor my code. My issue this week was transitioning from using windows to MacOS. I decided to complete this lab on my MacBook instead of my desktop windows computer. This was a little bit troublesome as my system was not up to date and I kept receiving errors that we're not related to the program itself.  A blocker for me in terms of git was that I had started coding on my MacBook and returned to my desktop. For some reason my desktop was no longer recognizing git commands. I had to save a local file of my java file, delete the git repo and create a new one for git to start working again. Unfortunately this didn't save all my commits that I committed while working on this project. In order to refactor my code I chose to remove redundant code & create a function to shorten the amount of lines being used. Not only did that make my code easier to read, in the future if I want to add flags it will make adding that aspect much easier to manipulate. I

Lab 4 Git remotes and merges

Image
This weeks goal to take a classmates release 0.1 project and to modify it. The goal was to implement a "ignore links" feature which would read a flag and ignore links present in a secondary file. I chose to work on Eunbee Kim project called findBrokenGlass .  I personally think I was lucky as I had found this repo early in the week but never created an issue. Her code had some similarities to mine and was very easy to modify.  Currently I am still working with her to get some feedback and to make some changes but as those changes will come, this blog will get updated.

10 Easy Steps and Animations

Image
This week I did things a little bit differently.  Although I had already done my first pull request I had found a repo that revolved around teaching people how to properly contribute to projects.  10 Easy Steps  is a repo dedicated to beginners, it caught my interest because it provided lots of different sources of information for anyone. Unfortunately I believe such a pull request may not be sufficient to fulfill requirements for my Release 0.2 project, so to compensate I found another repo.  The second repo that I pulled was to create animations, I picked this repo because I'm trying to be versatile in all the projects that I do. Up to date I've work with Java, python, JavaScript and now wanted to add CSS to the list.  To complete that task I've added an animation related to hacktoberfest in the following repo:  hacktoberfest-animation Compared to last week, finding repo's wasn't as tough... I spread my time around the day to view newly created issues. This made t

Hacktoberfest #1

Image
 It's hacktober month !  A month where people all over the world contribute to many different types of projects. My goal this week was to find a project for me to add my own contribution ! I found this "flappy bird clone" that copied the idea of the original flappy bird. The author had created an issue for others to try and help improve his "copy". You can find the issue here : Help Improve Flappy Bird  He had a few different requests so I decided to pull the trigger and added a "High score" feature for him, this feature revealed a user highest score after playing a game. I also found that his README file lacked information, especially for someone who had no knowledge of what flappy bird was.  You can find my pull request here : Added high score feature and updated read me This contribution was fun for me as I believe it has been 3-4 years since I've had to code in JavaScript. I remembered that I could store information using cookies or could store

Creating features and adding them

This week my goal was to separately implement 2 features for my HTML dead link retriever.  I had 4 options to pick from :  - Adding flags that would recognize "all, bad, good" as an argument and display only good, bad or ALL links.  - Having a JSON file display data in a certain manner  - Have an exit code that would let you know if a certain error code was found  - Recognize the "CLICOLOR" variable that would trigger if colours would be displayed or not. I settled with adding an exit code that would reflect if there was a bad link or not and adding flags that would display specific links.  I chose to select those two options because I wanted for my program to represent in different ways links that were good or bad. I had already implemented colours to my code and didn't want to change the syntax on how my code was being displayed.  This week using git was interesting compared to last week since I had used git desktop to commit my changes. I pushed myself to use

Improving Others Code !

Image
For this blog I was tasked to find a partner and improve some of their code. I decided to stick to Nathan's code as he used python to create his " PYLinkChecker ". The reasoning behind me as to why I choose his project is simply because as mentionned before I have never worked with python. This was an opportunity for me to learn a bit more about python and get out of my  coding comfort zone.  As I wasn't too familiar with python I also didn't want to overwhelm myself with adding some complicated feature. I previously noticed that his app was missing a bit of color so I took the liberty to make his program slightly more pleasing to the eyes.  As I wasn't working directly from the cmd line, I used GIT desktop to clone and pull his project.  As my changes were somewhat minor and didn't have much of an impact Nathan didn't give too many comments in regards to the changes, he was simply happy that I didn't forget to update his README file as my changes