<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jim Farrugia on Medium]]></title>
        <description><![CDATA[Stories by Jim Farrugia on Medium]]></description>
        <link>https://medium.com/@jim_farrugia?source=rss-6dc9eec51ef3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*deN4xRVaiZQf3zLM.jpg</url>
            <title>Stories by Jim Farrugia on Medium</title>
            <link>https://medium.com/@jim_farrugia?source=rss-6dc9eec51ef3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 13:28:49 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jim_farrugia/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Simple Github Collaboration Workflow with Feature Branches]]></title>
            <link>https://medium.com/@jim_farrugia/simple-github-collaboration-workflow-with-feature-branches-b073e6c33a9b?source=rss-6dc9eec51ef3------2</link>
            <guid isPermaLink="false">https://medium.com/p/b073e6c33a9b</guid>
            <dc:creator><![CDATA[Jim Farrugia]]></dc:creator>
            <pubDate>Sun, 07 Apr 2019 04:54:27 GMT</pubDate>
            <atom:updated>2019-04-07T04:54:27.258Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2JdEjzBdUgPF4a9Y" /><figcaption>Photo by <a href="https://unsplash.com/@marvelous?utm_source=medium&amp;utm_medium=referral">Marvin Meyer</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>A few weeks ago, I worked with <a href="https://medium.com/u/929dff141bc3">Natasha Khatri</a> on a <a href="https://medium.com/@jim_farrugia/code-bootcamp-week-3-first-project-c912a9310c36">terminal application project</a>, collaborating through <a href="https://github.com/">Github</a>.</p><p>This was my first time collaborating with another dev. We slowly figured out how to work together without pushing to the master branch.</p><p>In this post I’ll be describing the workflow we used.</p><h3><strong>Setup Local Environment</strong></h3><p>If you already have a remote repository, clone it to your local machine. (Replace ALL-CAPS words with your data)</p><pre>$ git clone https://github.com/USER/REPO.git</pre><p>OR if you already have the repository on your machine, confirm that it’s up to date with the master branch.</p><pre>$ git checkout master<br>$ git pull</pre><p>Here’s a <a href="https://help.github.com/en/articles/adding-an-existing-project-to-github-using-the-command-line">helpful guide</a> if you’re not sure how to create and link local and remote repositories.</p><h3>Create a New Feature Branch</h3><p>We’ll create a branch to work on so that our commits won’t affect the master branch until we merge. It’s a good idea to name the new branch based on what you’ll be doing with it. (eg. bug_fixes, footer_styling, etc)</p><pre>$ git checkout -b &lt;new_branch_name&gt;</pre><h3>Check or Switch Branches</h3><p>If the repo has a number of branches, you can use the following command to see a list of branches.</p><pre>$ git branch</pre><p>Checking your log will show where your HEAD is currently pointing. It should be pointing at the feature branch that we just created.</p><pre>$ git log</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/828/1*LK1ERGIBQ7TJdfgfEyYIEg.png" /></figure><p>You can always use the following command to switch to another branch.</p><pre>$ git checkout &lt;branch_name&gt;</pre><h3>Work Inside the Feature Branch</h3><p>Once your HEAD is pointing at the feature branch you can work as normal, add modified files to the staging area and commit changes to your local repository.</p><pre>$ git add .<br>$ git commit -m &quot;A useful message.&quot;</pre><h3>Push Upstream</h3><p>When you’re ready to push your changes to the remote repository, use the following command.</p><pre>$ git push -u origin &lt;feature_branch&gt;</pre><h3>Create a Pull Request</h3><p>After pushing your feature branch, navigate to the project on Github. (https://github.com/<strong>USERNAME</strong>/<strong>REPO</strong>)</p><p>You should see the following message about a recently-pushed branch.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k521ynRap0NSu3aECP9Y1Q.png" /></figure><p>Click the green button to create a pull request. Change the title if you like and give it a useful description like a summary of the changes you made.</p><h3>Review and Merge Pull Request</h3><p>Now someone needs to review the request.</p><p>You can find a link to view pull requests on the repository page:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1008/1*_PalQ3D4wh-M_TPgLmewXA.png" /></figure><p>Or navigate to the following URL:<br>https://github.com/<strong>USERNAME</strong>/<strong>REPO</strong>/pulls</p><p>If there are no conflicts; good to go!<br>Just click the big green button to merge the pull request.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*EZ8A5FIbjuHweLCyXAVLIA.png" /></figure><p>If there are conflicts that need to be resolved, click ‘resolve changes’.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/591/1*-aOObxz-zitAMPTVXaPlSQ.png" /></figure><p>Then you’ll be able to decide if you want to keep only your feature branch’s changes, keep only the other branch’s changes, or make a brand new change, which may incorporate changes from both branches.</p><h3>Pull Master</h3><p>We’re almost done. The last thing we’ll do is update the master branch in our <strong>local</strong> repository.</p><p>Switch to the master branch.</p><pre>$ git checkout master</pre><p>Pull changes from Github.</p><pre>$ git pull</pre><h3>Rinse and Repeat</h3><p>And that’s it! 👏</p><p>This is what worked well for Natasha and I while developing our project.</p><p>Here are some resources I found helpful:</p><ul><li><a href="https://gist.github.com/blackfalcon/8428401">Git Basics — A General Workflow</a></li><li><a href="https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow">Feature Branch Workflow</a></li><li><a href="https://gist.github.com/vlandham/3b2b79c40bc7353ae95a">Feature Branches and Pull Requests : Walkthrough</a></li><li><a href="https://help.github.com/en/articles/resolving-a-merge-conflict-on-github">Resolving a Merge Conflict on Github</a></li></ul><ul><li><a href="https://jimfarrugia.github.io/">Jim Farrugia&#39;s Portfolio</a></li><li><a href="https://github.com/jimfarrugia">Jimfarrugia - Overview</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b073e6c33a9b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code Bootcamp: Week 3 — First Project]]></title>
            <link>https://medium.com/@jim_farrugia/code-bootcamp-week-3-first-project-c912a9310c36?source=rss-6dc9eec51ef3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c912a9310c36</guid>
            <category><![CDATA[git]]></category>
            <category><![CDATA[teamwork]]></category>
            <category><![CDATA[code-bootcamp]]></category>
            <category><![CDATA[projects]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Jim Farrugia]]></dc:creator>
            <pubDate>Tue, 12 Mar 2019 09:34:57 GMT</pubDate>
            <atom:updated>2019-03-12T09:34:57.164Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>TL;DR: </strong><a href="https://github.com/tashk85">Natasha Khatri</a> (@tashk85) and I developed a game of Hangman using the Ruby programming language. I’m pretty happy with it considering we only started learning ruby 3 weeks ago — 2 weeks when we started the project.</p><p><a href="https://github.com/Jimfarrugia/ruby_hangman">View Source / Download</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FrBhebuaGaYc%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DrBhebuaGaYc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FrBhebuaGaYc%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/b2b83471a985f9ea161dbea91e86294e/href">https://medium.com/media/b2b83471a985f9ea161dbea91e86294e/href</a></iframe><p>Last week, I mentioned that we’d be receiving our first assessment: Create a terminal application with a partner using <a href="https://en.wikipedia.org/wiki/Ruby_(programming_language)">Ruby</a>.</p><p><a href="https://github.com/tashk85">Natasha Khatri</a> and I were assigned as partners on Monday afternoon and given the remaining few hours of class time to brainstorm and ideate.</p><p>We came up with a bunch of ideas to choose from, which we eventually narrowed down to two: a task prioritiser and the game, Hangman.</p><p>We decided on Hangman after considering that it could be used as an educational game for increasing one’s vocabulary and practicing spelling.</p><p>We liked the idea of having <a href="https://en.wikipedia.org/wiki/ASCII_art">ASCII-art</a> images display in the terminal throughout the game.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/1*MEoEDmNXyl6l9CedUIlHrw.jpeg" /><figcaption>ASCII image concepts from our brainstorming session.</figcaption></figure><p>Each team’s project idea had to be approved by our tech lead, Garret. When we spoke to Garret, he said our idea was good and gave us the go-ahead. He said we should focus on core functionality first and set stretch goals for things like the ASCII art. Garret also gave us the suggestion to use the Ruby gem, <a href="https://github.com/stympy/faker">Faker</a><strong> </strong>for generating random words to use in the game.</p><p>Once our idea was approved, we began planning out the project. We started by writing down answers to some key questions:</p><ul><li>What will the core functionality of the application be?</li><li>What are our stretch goals?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/616/1*_UOyOOSAF7jBCcSFNNdOyw.jpeg" /><figcaption>Core features and stretch goals for the project.</figcaption></figure><ul><li>How will the user experience the application?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/611/1*hRcqGZTOjeIT31POOHls9g.jpeg" /><figcaption>Initial draft of workflow diagram.</figcaption></figure><ul><li>Who would be the users of our app and what would their motivations be?</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*64jWF0rFk281uTN-aqA-5A.png" /><figcaption>User stories for our Hangman game.</figcaption></figure><p>This early planning stage gave us a clear outline of what we were building, how it would operate and who it would serve.</p><p>The next part of our planning process was putting together a <a href="https://github.com/Jimfarrugia/ruby_hangman/blob/master/docs/project_plan_and_timeline.pdf">project plan &amp; timeline</a> which we would later refer to if we weren’t sure what to do next or if we were on schedule.</p><p>The final part of our planning stage consisted of finalising the <a href="https://github.com/Jimfarrugia/ruby_hangman/blob/master/docs/Hangman-Workflow.png">workflow diagram</a> and writing <a href="https://github.com/Jimfarrugia/ruby_hangman/blob/master/docs/pseudocode_and_text_content.pdf">pseudocode for the application</a>. Then we could <em>finally</em> start on the code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*cN98hzz1EbGJTmowbBEtQA.png" /><figcaption>Screenshot of some of the pseudocode for our project.</figcaption></figure><p>I spent quite a long time writing out the pseudocode in detail. I wanted to cover all of the logic in advance so we wouldn’t run into any unexpected road-blocks during development.</p><p>We also gathered/wrote the text content for variables like welcome_message and how_to_play so that we wouldn’t need to write much (if any) content on the fly.</p><p>The pseudocode proved to be an invaluable asset throughout the development. It gave us <em>a step-by-step guide</em> to writing nearly all of the code. All methods were defined and described in advance so Natasha and I could each pick methods to work on independently.</p><p>We used a K<a href="https://github.com/Jimfarrugia/ruby_hangman/blob/master/docs/trello_kanban_board.png">anban board on Trello</a> to manage and keep track of tasks throughout the development process. We didn’t utilise Trello very much during the planning stage, aside from using it to write/store our user stories and to-do list. However, when we started developing the source code, our Kanban board was great for keeping track of which stage each task was in and who was working on it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7QQrhj-WQWj4jozmJDij7g.png" /></figure><p>Developing the source code was a breeze after all of the planning we did.</p><p>The workflow diagram was a great reference any time the question, “What should the user be seeing and doing at this point of the program?” arose.</p><p>The pseudocode provided a detailed guide for constructing the methods.</p><p>The one major road-block we faced was something we probably should have planned for. Natasha and I had both used git and Github previously so we assumed we wouldn’t have much trouble collaborating through the platform. However, neither of us had worked with a partner on the same Github repository before and we were uncertain about how to merge our commits and keep everything in sync.</p><p>Luckily, we never overwrote any of our code because we were each working on different sections of code. We did, however, run into synchronicity issues when trying to push our commits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*DVJUhNRh62DLUI8Bq4EAWQ.gif" /></figure><p>We had to spend a few hours working out our process for collaborating via Github. Eventually, we learned how to create and work on seperate branches and merge those branches into our remote master branch. I may write a brief post later this week about the workflow we used for our source control.</p><p>Once we had written the source code for the application’s base functionality, we began testing. We had accounted for invalid inputs and tested for expected return values while writing our methods. We really just needed to test the flow of the application as a whole and see if any bugs arose. Most of the changes we made during the testing stage were focused around showing the user more relevant information (like displaying which letters have been used after an incorrect guess) rather than bug-fixes.</p><p>The game itself is controlled by a recursive method which loops until reaching a win or loss condition. We tested all of the possible end-points for the method looking for bugs, usability issues or anything unexpected.</p><p>Once we thought we’d ironed out all of the kinks, we had a few of our fellow devs play through the game. <a href="https://medium.com/@nathanielmorales01">Nathaniel</a> and OB played through the game several times for us. Check out Nathaniel’s <a href="https://medium.com/@nathanielmorales01/monday-8816303c344a">post about week three</a> where he talks about the choose-your-adventure game he and OB developed.</p><p>We flew through the testing stage pretty quickly. I think this was because we’d been testing/checking as we were coding. Maybe in future, it might be better to do less testing on the fly but it’s hard to say since things did go really smoothly overall. It’s not like the tests/checks we were doing while coding took much time but I could see the argument for leaving most, if not all of the testing for a designated time... Something for me to look into.</p><p>This gif doesn’t have any context it’s just so good:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*kfdsYZ65xOddr5qMDaFSuQ.gif" /><figcaption>right?</figcaption></figure><p>So, it was now around 3:00pm, Wednesday afternoon. The assessment was due by 10:00pm and after adding some finishing touches — all we have left to do is finalise our documentation and prepare our presentation. We’re on schedule to finish early!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/492/1*ESkN7e1myjKM0nCQimLONg.gif" /></figure><p>Since we had time, we used the Ruby gem, <a href="https://github.com/fazibear/colorize">colorize</a> to apply colour to the output text during the game which was one of our stretch goals.</p><p>We spent the rest of the afternoon taking screenshots, putting together the documentation, making sure the correct file structure and all of the deliverables were in place and preparing slides and talking-points for our presentation.</p><p>We submitted our assessments at around 4:45pm and called it a day.</p><p>The next day, everyone presented their applications… and WOW! Each team were given only two and a half days in class to complete their project and some of the things people made in that time were really impressive.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*kZu0dsnzl4LdUD3ukrmv6w.gif" /></figure><p>It seemed like nearly all of the groups were trying to build something that could serve a real-world purpose. Not a single team seemed like they just threw something together to get through the assessment. It was great to see the immense effort that went into all of the projects.</p><h3>Unexpected Challenges</h3><p>Thanks to our long and detailed planning process, Natasha and I barely ran into anything unexpected during the project. There were, however, a few things:</p><ul><li>The Gem ‘Faker’ requires you to choose a category to get dummy data from. We initially planned to use a totally random word in each game but later decided to use the location/country category to generate names of countries to use. In the end, I think restricting the word pool to country names was a benefit. It supports our intentions for the game to be educational. I myself learned the names of a few countries.</li><li>Some countries have really long names… Apparently the longest is “The United Kingdom of Great Britain and Northern Ireland”, containing 56 characters. That would be a <em>pretty </em>difficult round of Hangman. Some country names even have special characters and punctuation. To solve this, when we generate a new word we try matching it with a regular expression which allows for only upper and lower case letters and four to twelve characters in length. Allowing for more complex words in on my to-do list but I think we’ll keep the maximum characters around twelve.</li><li>As I mentioned above, we had issues with our Github workflow. We were pretty confident working with git locally but had never collaborated on a remote repo. It took us a while to find a solution that we understood.</li></ul><h3>So what did I learn?</h3><p>A few things:</p><p>The official name of North Korea is “The Democratic People’s Republic of Korea”… Also, Brussels is a country… I didn’t know that last week.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/466/1*sGERyk9hSQ_n3FNeAlDWAw.gif" /></figure><p>Instance variables are a thing. I guess I hadn’t really needed to use them until this project. Well, I’d used them within classes in Ruby but I thought that they were only meant to be used in classes for whatever reason.</p><p>Planning is even more important and helpful than I thought previously. I knew a little went a long way but I found that by planning everything out in detail, we went above and beyond what I thought we’d accomplish in such a short time. And still, we never really felt the pressure of being in a rush. The project-management strategies and techniques we’ve been learning really made a big difference.</p><p>Working with a partner isn’t what I expected. For some reason, I didn’t expect it to be so chill. Two people who are equally invested in the project and working on completing it to the best quality they can achieve means half the work-load compared to one person. And overall, the whole project went really smoothly in regards to Natasha and I working together; she’s a great person to work with.</p><p>I’m really happy with how the whole project turned out. I’ve pushed a few updates over the weekend which are featured in the video at the top of the post and linked below. On Friday after everyone had presented their projects, we were given a 90-minute exam on the ruby language. We haven’t had the results back yet but we’ll see how I did soon enough, I guess.</p><p>That’s all for now.</p><p><strong>Links</strong>:<br><a href="https://github.com/Jimfarrugia/ruby_hangman">View/Download</a> the project on Github.<br><a href="https://www.youtube.com/watch?v=rBhebuaGaYc">Watch the demo</a> video on YouTube.</p><ul><li><a href="https://github.com/Jimfarrugia">Jimfarrugia - Overview</a></li><li><a href="https://github.com/tashk85">tashk85 - Overview</a></li></ul><p>Natasha’s <a href="https://medium.com/@tashk85">Medium Blog</a></p><p>…Okay, one last gif!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*qgALoOtaLTOOFz1Q6GtZIQ.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c912a9310c36" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Code Bootcamp: Week Two]]></title>
            <link>https://medium.com/@jim_farrugia/code-bootcamp-week-two-d5d498872765?source=rss-6dc9eec51ef3------2</link>
            <guid isPermaLink="false">https://medium.com/p/d5d498872765</guid>
            <category><![CDATA[code-bootcamp]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[growth-mind-set]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Jim Farrugia]]></dc:creator>
            <pubDate>Mon, 04 Mar 2019 00:34:31 GMT</pubDate>
            <atom:updated>2019-04-05T09:41:02.436Z</atom:updated>
            <content:encoded><![CDATA[<p>The first week left me hungry for some Codewars.com katas (challenges). One challenge I did was to create a method that determines which weekday Christmas will land on in a given year. I decided to go a bit further and created a Ruby script that determines the weekday of any given date. Another task I attempted was determining the number of “Friday the 13th’s” that occur in a given year, which I used my <a href="https://github.com/Jimfarrugia/ruby_get_weekday_from_date"><em>get_weekday_from_date.rb</em></a> script to test. That felt pretty sweet to use a tool I had just created for a pragmatic purpose.</p><p>After some refreshing downtime on Sunday we kicked off the week on Monday with the topic of arrays and loops in Ruby. We learned a lot about different methods and strategies for manipulating array data. This is where the Ruby Docs really started to come in handy; they’re always in a nearby tab now. I messed around with the map method in some Codewars katas in the evening. We hadn’t covered blocks in Ruby at this point but the docs made it pretty easy to understand.</p><p>On Tuesday, I think I was feeling some burnout… The day started off well but I started losing focus and mental clarity sometime in the afternoon. We were mostly just continuing with arrays and loops. I probably just needed a good rest.</p><p>On Wednesday, we learned about Objects and Classes in Ruby. The topic wasn’t that difficult but the fast pace we’d been holding since day-two was starting to take its toll on my ability to focus. We did an exercise in pairs which was nice. It was the first time I’ve ever worked on code with someone else; something I’d been looking forward to. We brainstormed solutions, wrote pseudocode and accomplished the task together. I just felt a little bad for not contributing as much as I felt I could’ve on a better day.</p><p>Thursday morning we had a challenge focusing on objects and classes. I surprised myself by getting through it fairly quickly with relative ease. In the afternoon, we started on the topic of inheritance. Not a confusing concept but in practice with Ruby, it doesn’t click with me right away. This is where I really felt the learning dip… but with effort and persistence comes growth.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*b7s4hMx4BN615qOWkrIIiA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/489/1*dIOfBXHDVR7VK6CXppvshg.jpeg" /></figure><p>Friday was a much better day and a great note end the week on. After chatting to some classmates in the morning as well as our lead educator, Garret, I found that I’m not alone in feeling overwhelmed for the past few days. We’d been sprinting through all of the large topics in Ruby and at this point, the bulk of it is behind us. We spent Friday going over project management, agile software development and source control. The class was finally introduced to git and Github. I’ve been looking forward to everyone getting on Github and being able to easily share code and collaborate with each other. We rounded off the day by working in pairs to come up with user stories for a fictional project.</p><p>Overall, week two was a bit of a rollercoaster. I started out eager and confident, began feeling burnout soon after, pushed through and came out on the other side. On Saturday I had a long, much needed nap.</p><p>In the coming week, we’ll be given our first assessment: Create a Ruby terminal application with a partner. I’m excited! Check back next week to see how we did.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d5d498872765" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Week at Coder Academy, Sydney]]></title>
            <link>https://medium.com/@jim_farrugia/first-week-at-coder-academy-sydney-fc3886b2e7e?source=rss-6dc9eec51ef3------2</link>
            <guid isPermaLink="false">https://medium.com/p/fc3886b2e7e</guid>
            <category><![CDATA[coder-academy]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[code-bootcamp]]></category>
            <dc:creator><![CDATA[Jim Farrugia]]></dc:creator>
            <pubDate>Fri, 22 Feb 2019 12:50:24 GMT</pubDate>
            <atom:updated>2019-02-22T12:53:14.049Z</atom:updated>
            <content:encoded><![CDATA[<h3>Capping Off My First Week at Coder Academy, Sydney</h3><p>I honestly can’t believe how quickly the week went by.</p><p>Today we learned how to use methods in Ruby. I found the differences between Ruby and JavaScript pretty interesting. For instance, in a Ruby method, if you don’t specify an explicit return value the method will use the last evaluated value as the return value (called an implicit return). Whereas in JavaScript, you must specify a return value or the function will return ‘undefined’.</p><p>We went through a number of examples and challenges around Ruby methods and arguments. There were lots of great questions brought up which Garret (our lead educator) answered in detail.</p><p>Garret also explained some programming principles such as DRY code (don’t repeat yourself) and the single responsibility principal.</p><p>After lunch, we were treated to a presentation about mindfulness and meditation. There were lots of great insights and practical advice for dealing with stress and staying calm and effective in tough situations. We took part in a couple of guided meditations and it was a nice change of pace to just sit in the present moment and breathe for a while. Everyone seemed to get a lot out of it, including myself.</p><p>So that’s it for week one! It’s been a blast and I’m stoked for week two!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fc3886b2e7e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Better late than never…]]></title>
            <link>https://medium.com/@jim_farrugia/better-late-than-never-eeb33e0ff1d4?source=rss-6dc9eec51ef3------2</link>
            <guid isPermaLink="false">https://medium.com/p/eeb33e0ff1d4</guid>
            <dc:creator><![CDATA[Jim Farrugia]]></dc:creator>
            <pubDate>Thu, 21 Feb 2019 07:10:32 GMT</pubDate>
            <atom:updated>2019-02-22T12:55:14.274Z</atom:updated>
            <content:encoded><![CDATA[<p>Missed my alarm this morning and came into class almost two hours late. 😑</p><p>I’m optimistically hoping that by next week the routine will have fully sunk in and I’ll be able to better manage my time in and outside of class.</p><p>The 1.5-hour train commute each way doesn’t help but I’m going to try to use those hours to revise, research and keep up with this blog.</p><p>Today we dove straight into Ruby and learned more about some of the fundamental concepts of programming. Before long, we moved on from coding one line at a time in IRB to writing, saving and running multiple lines of code with files on our local machines. Now we’re cooking!</p><p>We learned about if / else / elsif statements in Ruby and how they allow us to affect the &#39;control flow&#39; of our code.</p><p>We also discussed the meaning behind each of the comparison operators and keywords in Ruby and their purposes. One that I found a little jarring at first was the keyword &#39;not’. Which is not equivalent to the exclamation mark. I’m just very used to reading an expression like “!true” as “not true” for whatever reason.</p><p>After lunch we got stuck into some more challenges, reinforcing the lessons of the day. I finished pretty early and I could see my cohort, <a href="https://medium.com/u/eacd5f3cefdb">John Rubio</a> getting deep into some Codewars challenges as he’d been doing yesterday afternoon. I decided to jump on and do a couple myself. I really like the diversity of the challenges.</p><p>Our senior dev, Hamish set up our own Coder Academy Sydney clan on Codewars so we can see each other’s progress on the leaderboard. I can see it getting competitive down the line, which I think is awesome. Maybe we could even try tackling a couple as a group. I enjoy hearing different peoples&#39; various solutions and concerns.</p><p>More tomorrow!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eeb33e0ff1d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Few Days at CoderAcademy, Sydney]]></title>
            <link>https://medium.com/@jim_farrugia/my-first-few-days-at-coderacademy-sydney-8ff0f5fd4a97?source=rss-6dc9eec51ef3------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ff0f5fd4a97</guid>
            <category><![CDATA[terminal]]></category>
            <category><![CDATA[code-bootcamp]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[coder-academy]]></category>
            <dc:creator><![CDATA[Jim Farrugia]]></dc:creator>
            <pubDate>Wed, 20 Feb 2019 11:41:26 GMT</pubDate>
            <atom:updated>2019-02-20T11:41:26.382Z</atom:updated>
            <content:encoded><![CDATA[<p>Hi there! My name is Jim and I just started studying at Coder Academy code bootcamp’s Sydney campus. My goal is to become a full-stack web developer and kickstart a long career in software development.</p><p>We spent the first day discussing the broad scope of the course, goals, expectations and getting to know the whole class and Coder Academy Sydney team.</p><p>In the morning of day two, we went over some fundamentals of how a computer operates. We dismantled a couple of desktop PCs talking about the various parts and their functions as we went along. Then in the afternoon we were given workbooks with tasks and challenges to complete throughout the course.</p><p>We were then introduced to the terminal (or command line interface). We were shown the basic commands for navigating the computer’s file system such as ‘ls’ (list files in current directory), ‘cd’ (change directory) and ‘mkdir’ (make a new directory). Afterwards, doing some exercises involving all the commands we’d learned and a few more to play with. I’d already had some experience working from the terminal but I did learn things which helped fill some gaps in my knowledge. I think the most valuable thing I learned on day two was the ‘man’ command, which returns a manual for a given command.</p><p>Finally we were tasked with completing a number of sections in our workbooks relating to the terminal commands we’d been learning, which we spent the rest of the afternoon working on.</p><p>As I’m writing this, it’s the afternoon of day three.</p><p>This morning we were shown and took part in a fun demonstration of how a computer executes a program. We made a peanut butter sandwich, describing all of the steps in terms that a computer can understand and work with. We learned that a computer will interpret instructions exactly as they are given, without assuming context. For example, giving the instruction “spread peanut-butter” could have unexpected consequences; Where will it be spread? How much peanut-butter? A better way to write the instructions might be,</p><blockquote>“Grab the knife by the handle. Use the blade of the knife to pull a scoop of peanut-butter from the jar. Then evenly spread the peanut-butter that’s on the knife over one of the two larger sides of the slice of bread.”</blockquote><p>After a discussion about meetups and networking we started getting our feet wet with the programming language, Ruby. We played around with various commands within the interactive ruby shell while learning about variables and data-types. After lunch, we were tasked with some more workbook exercises for Ruby which I’ve just smashed through so I could finish writing this article :)</p><p>So far I’m really enjoying the atmosphere here at Coder Academy. The educators are relatable, knowledgable and just generally nice people. Everyone in the class seems committed, ambitious and excited for the long road ahead.</p><p>I’ll do my best to blog everyday and document the journey.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ff0f5fd4a97" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>