I’ve been working on a Rails-API for my latest project and I ran into a situation where my local server kept running even after I thought I had killed it. I had to figure out how to find the server running in the background and kill it with some sweet bash commands! I imagine I’ll run into this problem again so I figured I’d write a quick post about how to do it.
You’ll notice a pretty big gap in time between this post and the last post. Well, that’s because I was working my ass off at Dev Bootcamp! OK, I probably could’ve still blogged but the reality is that it’s hard for me to consistently write. But now that I’ve graduated from DBC and I’m looking for jobs I thought, what better time to start again?! There’s so much I could talk about but I want to begin with this: I am a programmer!
Tomorrow is the big day. I start Phase 1 of DBC which means that the learning switches from remote to in-person and the real work begins. I’m so excited, a little nervous, really happy, but also kinda sad that I’ll be away from some of the people I love for a little while. Anyways, DBC is awesome because our education here is by no means traditional. In fact, a lot of it is up to us students asking for the right things. If we need help on something we need to ask for it because we’re gonna be moving fast! It’s really important that to get good answers, you need to ask good questions. So let’s talk about how to ask good technical questions.
According to Dr. L. Nathanson, if people do not process shame in a healthy way, they will generally respond to it in one of four defensive directions which he has organized in the “Compass of Shame”. As shown in the picture below, these four directions are withdrawal, attack self, avoidance, and attack other. This week, DBC has asked us to examine our lives and ask ourselves how we respond to conflict and shame.
Values. It’s a word you hear a lot. When we elect government officials we ask “what are their values?” Your grandma probably has certain values that she hopes you’ll keep in your family. And most importantly, did you assign all the right values to your variables?! Okay, just kidding on that last one! But seriously, what do you value most when you are happiest? Personally, I value ambition.
If you’re at least a little familiar with ruby, or any programming language, you probably have an idea of what a variable is. Put really simply, it’s the thing you assign values to. Values can be blocks of code but ultimately they are a string, number, boolean, or groups of any combination of these stored in an array or hash. Why use variables? Well there’s many reasons but mainly it’s so you don’t have to write pieces of code over and over and over again. In today’s entry we’ll be going over the four main types of ruby variables and when to use them!
Any musician will tell you that feedback is the worst! Have you ever been to a concert and heard a loud, shrieking, buzzing sound build up out of no where?! Yeah, it’s pretty horrible. But all of us at DBC love feedback! That is, giving and receiving feedback on our interpersonal and programming skills. We are learning so much, so fast, so it’s important to have some kind of indication on how we are doing.