Posts

Showing posts from October, 2019

Finding issues by accident

With Hacktoberfest almost over, it's time to submit the last pull request to qualify for the prize. Thats easier said than done because as the final submission day gets closer, the harder it is to make a meaningful pull request with such short time constraints. After searching for about 3 hours trying to find an open issue that i could handle within the given time, i realized that i might have been better off just choosing one of the simpler ones and actually finishing it.  In search for the "perfect" issue, i had cloned multiple repos in hopes that i could get one of them working so i could start trying to replicate the issue and fixing it. One of the repos that i cloned was for an iPhones application, for the popular card game, "Cards Against Humanity". As i was fiddling around with the app, i noticed that some of the text would not show up on my phone but worked fine when the app was running on a simulator on my computer. As much as i hate to admit this, i

Pull Requests continued

As promised from last week, i'm submitting a second PR to the same repo as last week. In my last weeks blog post which you can find here , i was talking about contributing to a repo for a simple web based board game. Last weeks task was easy. All i had todo was find a way to save the state of the game so it can be loaded later. That was the easy part, now i have to load that data from the users machine and find a way to actually load the game exactly where the user left off. The difficult part of this weeks task is not loading the data, but actually loading the game so that it's exactly where the user left off when they saved. First i started off by actually accessing indexedDB to retrieve the game state from the users machine which was pretty simple after reading some of googles documentation. I had to load the data in such a manner that if something went wrong, or there was just no game states saved, the user would be notified. I also used this time to write a little extra

Stepping up the PR game

It the second week of October, and that means it's time to submit another Pull Request for hacktoberfest. This time i wanted a bit more of a challenge than my previous PR  that was just fixing a small UI constraint issue. I decided to search GitHub for an issue that involved me getting more into the code, but also something that i could start and finish within a reasonable time. After about an hour of research, i found a very old repo that hadn't been updated in 11 years. The repo was for a very simple online version of the board game Go. I looked through the submitted issues and found that someone had posted an issue that they wanted a feature that would allow them to save the game progress. This seemed like the perfect issue for me to work on because its a very simple game that i could understand and more importantly, i could understand the code. So i forked the repo and cloned it to my local machine and got to work. First i started by running the game locally and playing

Fixing Issiues

Now that Hacktoberfest has started, it's time for everyone to pitch in to the open source community and help other programmers. Because this is the first "official" time that i'm going to be making a real pull request to other developers online, i thought id pick an open issue that i know i would be able to handle in a timely manner. I chose an iOS application because thats just what i'm most familiar with, and have the most experience with. The issue i chose was just a simple constraint issue with some elements on the UI of the application, that i'll be going over with now. After successfully forking the project and cloning it to my local machine, i started to play with the application to try and duplicate the issue. Right from the beginning i started having issues because this application required me to have an account to use the app, or i would need to create an account using faceBook, which i don't have. So i started digging into the code to try and