Skip to content

Instantly share code, notes, and snippets.

View zackforbing's full-sized avatar

Zack Forbing zackforbing

View GitHub Profile
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>labels</name>
<Style id="poly-0288D1-0-0-nodesc-normal">
<LineStyle>
<color>ffd18802</color>
<width>0</width>
</LineStyle>
<PolyStyle>
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
<name>Neighborhoods</name>
<Style id="poly-E7E2E4-3-94-nodesc-normal">
<LineStyle>
<color>ffe7e2e4</color>
<width>3</width>
</LineStyle>
<PolyStyle>
Length Points Week
20 minutes 10 Week 2

The Concept of Require - Research

When you start working with WebPack for GameTime, you'll notice that you can't just define a variable in one file and find it in another as easily as you can in Rails.

Deliverable

@zackforbing
zackforbing / Hamming.md
Created October 11, 2016 00:25
Hamming Exercism

##Hamming My code: here

I didn't have any responses to this. Now we are getting to the juice. this problem took me a minute to think about how to build, but comparing two strings isn't too difficult. I initially thought I could use indexOf to compare the chars, but realized I was looking at it backwards.

  • Option #1 (here) - about the only difference other than variable names in this coder's solution was that they just grabbed index [i] of each string to compare. slightly more compact, slightly less verbose.

  • Option #2 (here) - this coder opted for a shorter ternary, but also included the longer form in commented out code. it's clever, but it also explains to you what is going on. although I think I would have just used the longer code. this amount of verbosity feels like overkill.

  • Option #3 ([here](h

@zackforbing
zackforbing / Leap.md
Last active October 11, 2016 00:25
Leap Exercism

##Leap My code: here

I didn't have any responses to this. I also realized after I submitted that I didn't need the first this.year % 100 = 0, but I didn't want to iterate my solution.

  • Option #1 (here) - this coder's solution was to create variables inside the function, which seems a little kludgy, but their return statement looks rather elegant. they could have made it more elegant by making divisibleBy100 into notDivisibleBy100, though.

  • Option #2 (here) - this solution seems like a bit of a mess. the returns aren't in any semblance of order. their first statement is unnecessary - that return false could have been easily returned for the else. however, I can see that it is essentially a guard statement - firing off what should be the most common return first avoids running through the entire `if

@zackforbing
zackforbing / HelloWorld.md
Last active October 10, 2016 22:32
Hello World Exercism

##Hello World My code: here

I did not have any responses aside from a bot, so I went looking at other solutions.

  • Option #1 (here) - I thought this guy's utilization of the falsiness of 0 was pretty clever. They also used ES6 interpolation like I did, which I saw was not common in a lot of solutions.

  • Option #2 (here) - this person also cleverly used falsiness, but of null this time. They did use concatenation for the string though. It's pretty cool how many small differences there can be in even a tiny "hello world" implementation.

  • Option #3 (here) - yet another possible solution. this one uses ternary statements...which I like in theory. it shrinks the amount of lines of code, but at the same time, they're not particularly attractiv

Length Points Week
1 to 6 hours 25 Week 2

Exercism Comparisons

By now you are probably starting to get the feeling of Okay I can get things to work in JavaScript but how to do I get my code to not look like a horrible dumpster fire?!?

The best way to start getting a feeling for how code is written in other languages is by seeing how other people code, and comparing their style to your own critically.

Length Points Week
15 minutes 5 Week 1

ES6 Research

Throughout the module (and your journey to Google enlightenment while working on IdeaBox2.0) you may notice a few different ways that JavaScript code is being written.

That might have something to do with something called ES6 and ES5

what am I looking for in my first dev job?

my top three priorities are working for a company that is doing things that I am in support of, is active in mentorship, and is in support of the advancement of my learning while I am working with them. I want to work for a company that I am not ambivalent about. I want to feel like I am helping to change the world for the good. As a relative newbie to coding, I also want to experience direction and insight from more experienced coders. finally, I have not learned all I need to learn, and I know that it is difficult for me to spend my spare time doing that when I am doing it all day, so I’d like to work for someone who is interested in helping me learn.

barriers:

entering the industry: feeling like a newb, not having any experience

stop this: there will always be people above AND below you. and you DO have experience, and you will get more as you go.

first round / screening interview

  • purpose: vetting on skill and interest, look for red flags, narrow the field so less time is wasted interviewing
    • over the phone
    • 30 min or less
    • conducted by HR
    • possible homework assignment second round - the scary part
  • multiple sessions, commonly about 4 hours total
  • one non-tech session
  • two or more tech sessions