<?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 Lisa Olson on Medium]]></title>
        <description><![CDATA[Stories by Lisa Olson on Medium]]></description>
        <link>https://medium.com/@clisaolson?source=rss-a96837273518------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ban4q6iyFS0KV0IS2J-EnA.jpeg</url>
            <title>Stories by Lisa Olson on Medium</title>
            <link>https://medium.com/@clisaolson?source=rss-a96837273518------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 14:13:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@clisaolson/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[New into your coding career?]]></title>
            <link>https://clisaolson.medium.com/new-into-your-coding-career-bb0792950be7?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb0792950be7</guid>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[advice]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Mon, 29 Mar 2021 21:58:40 GMT</pubDate>
            <atom:updated>2021-03-30T03:42:55.339Z</atom:updated>
            <content:encoded><![CDATA[<h3>New to a coding career?</h3><p>Here’s for you..</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FBpGWitbFZflfSUYuZ9%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2FBpGWitbFZflfSUYuZ9&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2FBpGWitbFZflfSUYuZ9%2Fgiphy.gif%3Fcid%3D790b76110a774757b23b15729e66f3a79ab3dae203bccf05%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="362" frameborder="0" scrolling="no"><a href="https://medium.com/media/719dda83d4199097b7a3ba7bbf666847/href">https://medium.com/media/719dda83d4199097b7a3ba7bbf666847/href</a></iframe><p>I’ve made a lot of mistakes and am definitely in reflection mode as I look back over my career. I’ve consolidated a few, hopefully helpful, tips for others just starting out.</p><p>First thing I’ll say is that being new is something you don’t always get to experience. So try to enjoy it! I’ve realized a critical piece of being a new coder is questions. How you ask them, when you ask them, the context of asking them, and the answers you get. For that reason, I’m going to spend quite a bit of time on that topic.</p><h4>Making dumb (no, seriously) mistakes</h4><p>People say there’s no such thing as dumb questions. But there really are dumb questions. It’s something I’ve had to learn throughout my career. Sometimes you really can shoot yourself in the foot by asking something that causes a person to assume a certain level of technical ability that may or may not accurately represent who you are or where you’re at. Yes, ask questions. Yes, put yourself out there. Yes, be brave; it’s okay to be embarrassed.</p><p><strong><em>BUT</em></strong></p><p>Look things up first. Do your research. Make sure you’ve thoroughly digested what you’re actually confused about asking. You’ll also get more out of the response if you know fully where the gap in your understanding is.</p><h4>Never say never, BUT</h4><p>I would say it’s basically never a good look to ask for help immediately before diving in first. It’s super easy when you’re overwhelmed and you have a coworker who seems kind/approachable to ask question after question without even considering/researching first. Coworkers/mentors can get burned out really quickly in a short amount of time by questions you could’ve mentally/physically took note of and easily googled. Before asking, I would recommend asking yourself :</p><ul><li>Is this something that I could find the answer to online through a short amount of research?</li><li>Is this something I could resolve on my own through reading documentation, studying the codebase, reading through the README, etc.</li><li>How much of my coworker’s time have I already taken up today?</li><li>Is this something I could save for tomorrow, or is it a blocker refraining me from being able to complete my tasks?</li></ul><p>Along those same lines, when you do approach a coworker/mentor with a question; again, before asking, I would recommend going through these bullets:</p><ul><li>Have I spent an adequate amount of time attempting to research and resolve this on my own?</li><li>What is my actual question? Do I have a specific question in mind or am I taking my coworker’s time up with something generic and confusing that isn’t going to achieve my goal of getting unblocked?</li><li>Am I actually blocked from being able to complete a task or am I just curious the answer to something? If the second, analyze whether this is the right time/place to ask.</li></ul><h4>Take Notes</h4><p>If a coworker has taken their time and energy to explain a concept to you, reward them/thank them by taking detailed notes. A lot of times you’ll have the same question/problem arise over and over again, and it’s a great look for you if you’re not repeatedly asking the same question. It also will help the next new person if you document out common issues that have arose for you. It’ll be an awesome way to pass on that knowledge to future teammates.</p><h4>The Approach</h4><p>Okay. The approach. You’ve gone through the checklist, you have a question you’ve deducted is something worth asking your coworker. My recommendation based on experience is this :</p><p>First and foremost, let them know the exact problem/blocker you’re trying to resolve. Then, let them know what you have so far. Always attempt the problem first. Even if it’s a bad attempt and you end up scratching it, it’s good for them to see that you’ve already put effort into it, and they can also guide where you went wrong (if you scratch it) or how to build from what you have (what often happens). Starting out, I would get embarrassed thinking I was way off track and lo and behold, my coworker ends up writing out again what I had already had but deleted thinking I was way off-base. Help them help you by letting them see how far you got/explaining why it was the wrong approach. Both are helpful.</p><p>If you didn’t get far enough in your question/blocker/problem to have an attempt to show them, have research ready. Research can look like documentation articles you’ve read, stack overflow links you’ve already looked through, or solutions you have already attempted that didn’t resolve the issue and why. You can send code snippets, links, etc. so that your coworker knows you’ve already put in the work and also knows what hasn’t worked. The worst is when they send you all this stuff you’ve already tried.</p><h4>Ask First</h4><p>Always ask first if the coworker has a minute to help you with something. I think it’s good to check in if they have time before posting your question. This is different if you’re posting in a dev channel or a similar questions channel. In that case, I would just include as many details as possible.</p><p>Here’s an example of something I would post as far as the approach.</p><blockquote>I’m working on ____ ticket (include the Jira/Trello link to the ticket you’re working on if applicable/available). My blocker is, I can’t seem to get the mobile view to respond on the Galaxy S5 screen size without changing the way the list is formatted. I’ve tried _____, _____, ____ and looked at ____ on stack overflow, but none of those seemed to resolve the issue. My next step was looking into ____, what do you think?</blockquote><p>Another example</p><blockquote>I’m getting this weird message in the terminal when I try to run my local environment. **Include screenshots of the terminal, local environment, network tab, console, any screenshots that would be helpful**. I’ve researched this error and most people say to try ____ but I’ve tried that and it didn’t seem to work. Any ideas?</blockquote><p>What’s great about asking for help is that a lot of times, you both can figure something out new together. It can be a really fun experience I think if done in this way. I’ve had to learn the hard way how to ask, so I really do recommend following that sort of format before just jumping in and asking.</p><h4>Document everything</h4><p>Write down everything you can. Document it all out. It’s helpful for you to remember everything you’ve learned, it’s helpful for future employees coming in down the line, and it also could potentially help the company if it is formatted in a readable way. It saves everyone, including yourself, a ton of time if you can document well.</p><h3>REFRESHING LIVE SITE</h3><p>Man.. this still happens at least once a week. I always joke to myself that I’ll be a <em>real engineer</em> when I cease to refresh the live site looking for changes. All I’ll say here is that it happens to everyone, don’t feel bad about this one. You’ll just be sitting with this face quite often :</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FkeuNoOuTb1D4A%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Fthe-office-michael-scott-keuNoOuTb1D4A&amp;image=https%3A%2F%2Fmedia4.giphy.com%2Fmedia%2FkeuNoOuTb1D4A%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="243" frameborder="0" scrolling="no"><a href="https://medium.com/media/86b882a76c7e5fd1f0664eac6c2739cb/href">https://medium.com/media/86b882a76c7e5fd1f0664eac6c2739cb/href</a></iframe><h4>Always look for ways to improve the company</h4><p>If you’re confused about something, chances are you’re not the only one. If you can think of a way to make something easier to remember, or documented more clearly, always look for those opportunities to help out. New employees often times see more flaws/room for improvement than the oldest employees. It’s a critical time your first few weeks because you have completely fresh eyes on everything. Write down ideas for improvements that could be made. You don’t have to bring them up right away, but eventually after a few months, I think it’s well worth revisiting the list you made and seeing if there are ideas you can pitch to the team of ways to improve the application, documentation, company, etc.</p><p>I don’t recommend bringing up all your ideas of improvements right away because you don’t have context yet. I think it’s better to gather all the context, work on the application a while, and then see how relevant your initial findings were. A lot of times you end up seeing why some of the flaws haven’t been fixed yet after you’ve gotten more of the context of what you’re working on is. I still think having those fresh/new eyes is extremely valuable though and well worth documenting out.</p><h4>Assume the Best</h4><p>I would start off day one assuming the best intentions of everyone. If everyone is complaining about the boss, or this one coworker, or the way the codebase is set up, I would actively try to be the positive reinforcer in the room. From day one, I would act as an active contributor to the team.</p><p>Especially if this is your first job in the industry, it’s easy to feel intimidated and withdrawn like you might not have a “right to speak yet”. But the newest team members voice is truly valuable. And the more you can speak up, the more you’ll bond/build credibility not only with coworkers, but with management. A lot of times too, as I mentioned, what you bring up could be a perspective the team hadn’t considered before because they’ve been too inundated with the product. So, even if it seems obvious to you, it might not be to everyone else.</p><p>That’s it! Those are my main tips! Good luck on your job and congrats on getting into coding! 🤘🏼 Feel free to leave comments/disagreements/tips below!</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FIwAZ6dvvvaTtdI8SD5%2Ftwitter%2Fiframe&amp;display_name=Giphy&amp;url=https%3A%2F%2Fgiphy.com%2Fgifs%2Ftheoffice-the-office-tv-michaels-birthday-IwAZ6dvvvaTtdI8SD5&amp;image=https%3A%2F%2Fmedia3.giphy.com%2Fmedia%2FIwAZ6dvvvaTtdI8SD5%2Fgiphy.gif%3Fcid%3D790b761133af90b62abd2f0da58d01661bc73329288999df%26rid%3Dgiphy.gif%26ct%3Dg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="362" frameborder="0" scrolling="no"><a href="https://medium.com/media/37eb0ac86f97206ada85f516eaefc673/href">https://medium.com/media/37eb0ac86f97206ada85f516eaefc673/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb0792950be7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Startup Tips]]></title>
            <link>https://clisaolson.medium.com/startup-tips-db52f8eaead2?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/db52f8eaead2</guid>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[tips]]></category>
            <category><![CDATA[intern]]></category>
            <category><![CDATA[silicon-valley]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Mon, 29 Mar 2021 20:53:08 GMT</pubDate>
            <atom:updated>2021-03-29T20:56:40.085Z</atom:updated>
            <content:encoded><![CDATA[<h4>My first job was at a <strong><em>very</em></strong> small startup in Sunnyvale. I learned a ton, and thought I’d share everything I learned during that short, but powerful time of my life.</h4><p>I remember writing this paragraph after a few weeks at the company :</p><blockquote>I don’t know if it’s gotten easier/harder, it just is. Oh, I’m literally the only Web Developer on the team? Okay. Oh, two hour commute today? Okay. Oh, boss isn’t here and I’m working by myself all day and I have no idea what I should be doing? Okay. Oh, three new deadlines just found out today for three fortune 500 companies and we don’t even know what the product is that we’re building? Okay. Oh, we already got a 6 figure deal with a company and we don’t know what they’re expecting to see from us? Okay.</blockquote><blockquote>A few days ago I got the numbers for multiple complex graphs I needed to make an hour before our presentation. One comma literally broke every graph across the entire website.. Just another day in the life of a dev.</blockquote><p>I can give you some tips if you also are in the infamous ‘startup environment’.</p><h3>1. Get ready to go back to the drawing board. Multiple times.</h3><p>Iget it, you’ve had 3 meetings this week alone about what it is exactly we’re trying to build. None of us still know. You’ve drawn up five mockups this week and started over three times and every idea gets shut down. I know. They asked you to take initiative and then promptly rewrite everything you spent all day on. It’s okay. Accept it as your chance to be part of something growing and expanding and you get to grow and expand with it. One of your ideas will eventually end up sticking. Fun story about this one, the one page I did completely take control over and totally went on a limb with design and content ended up being their favorite! Keep taking initiative. They appreciate it, they really do. Even if they don’t voice it or you get shut down a lot.</p><h3>2. After a couple days, asking yet another question really isn’t going to help you.</h3><p>Everyone always says, ‘Ask a ton of questions!’ I can tell you right now, no matter how many questions you ask, it’s probably still not going to make much sense. This isn’t because of your stupidity or lack of understanding, it’s because they don’t know either. If you don’t know and you ask and it seems unclear, it’s because it really is that unclear. Is that terrifying and concerning? Yes, yes it is. Just roll with it.</p><h3>3. If you see something that needs to be done, just do it.</h3><p>I kept waiting for it to feel like an “internship” or even the slightest resemblance to training or even, at minimum, possibly things I needed to get done? Ha ha. No, not that lucky. If you’re asked to do something specific, be excited. You’re on a small team of extremely busy people with an extremely low budget. They hired you because frankly, they don’t have time to train you or money to hire someone better. They hired you because they really believed you could do it. They saw drive, initiative, and a willingness to start over multiple times and/or ask for help when you need it. And honestly? They don’t necessarily care what you’re working on as long as you’re working on something. My coworker once said to me when I asked what I should be working on, ‘Whatever makes the company better.’ That is basically it. If it’s making the company better, go for it. And when given the opportunity to work on something specific, do it the best you know how and then ask for feedback consistently to change it. This leads to number four.</p><h3>4. Everything you build can and will be changed. Guaranteed.</h3><p>Everything is in process of being built and reconstructed. It will be changed. Be ready and open for constant feedback. Just spent 8 hours on a page? Yeah, no. It’s getting replaced. They aren’t mad at you. They aren’t trying to make you small. They might have even explicitly told you to build it the way you built it and it’s nothing against you or your work. It’s just not quite right. And think of it as ‘together, we’re building this thing’. And together, we’re trying to figure out the best possible product we can build. When they shut you down, it’s as much on them as you.</p><h3>5. Keep your head up and don’t panic.</h3><p>Startups are tough. I spend a lot of my day trying to breathe properly when I find out completely unrealistic deadlines are coming up. It’s okay. You can do this. Roll with the crazy; see yourself as a collaborator, not an employee, and make it your own. Think about what you would like to see happen if it was your business and go for that. Ultimately, it’s a chance to be part of something. Not a small, throwaway piece like you would be at a huge company, but a truly vital part of the team. And good or bad, it’s an unforgettable experience.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db52f8eaead2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to succeed in the workplace]]></title>
            <link>https://clisaolson.medium.com/how-to-succeed-in-the-workplace-6ff12aadb3d4?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ff12aadb3d4</guid>
            <category><![CDATA[success]]></category>
            <category><![CDATA[advice]]></category>
            <category><![CDATA[work]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[life-lessons]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Wed, 16 Oct 2019 03:54:55 GMT</pubDate>
            <atom:updated>2019-10-17T15:57:04.117Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m actively working on this and feel there’s many areas I could improve on. But here’s some consolidated tips and approaches for having a more successful work experience.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2FCDxnTCyGsNNMA%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2FCDxnTCyGsNNMA%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2FCDxnTCyGsNNMA%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="185" frameborder="0" scrolling="no"><a href="https://medium.com/media/07cdda47162ed8d7dfc6f24b1fa3bcf3/href">https://medium.com/media/07cdda47162ed8d7dfc6f24b1fa3bcf3/href</a></iframe><h4>Care</h4><p>Really care about what you do. Care about the part you play, no matter how insignificant. Care about the people you work with and the project you get to be a part of. Even if you hate your job, appreciate that this is a second, minute, hour of <strong><em>your</em></strong> life that you won’t get back. This is how you’re spending your time for this moment. Care, not for anyone else necessarily, but for you. To know that you’re putting your heart into your life. This is how you’re spending your time, therefore it’s how you’re spending your life. And it really does matter. And having that attitude will change things.</p><h4>Encourage your coworkers</h4><p>Publicly affirm the people you work with. Not just individually, but in front of management, in front of other engineers. This helps so much to build trust and camaraderie. This might never get reciprocated. You’ll have to embrace that and be okay with it. Even if you get thrown under the bus, continue to do this. It’s creating a culture and a movement (even if it’s an individual one) of the type of person you want to be. And that’s absolutely worth something.</p><h4>Communicate</h4><p>The infamous word. Communication. This is a difficult one. How to know when to communicate when you’re frustrated, who to communicate it to, how to say it, if you should say it at all.</p><p>Here’s some tips I’ve found that have helped. Try to match bringing up problems with potential solutions. Always speak in terms of ‘<em>we</em>’ and ‘<em>our</em>’, never ‘<em>you</em>’ or ‘<em>your’</em>. Only bring things up when you know you’re in a healthy state of mind to say it kindly and respectfully. If there is no solution, or no solution you can think of, maybe it’s not the best time to bring it up. Once you’ve brought it up and felt there was understanding on both sides, it’s probably not best to bring it up again. At that point, it’s in the team’s hands, or management’s hands how they will handle it.</p><h4>Be open to feedback</h4><p>Work is one of the few opportunities where we get to quantitatively improve. This is such a rare thing to be able to get feedback on how we’re doing in a certain area and then make steps and plans to get there. Feedback is a chance to not take anything personal, but instead truly and actively improve on a skillset. Approaching it with openness and gratitude can take you such a long way with management and yourself.</p><h4>Give yourself breaks</h4><p>This is super important for me. Go outside. Go on walks. Physically get up often. Drink water. If your job is physically taxing, sit down. Sit in the shade. Take deep breaths. Take a minute to find something that makes you laugh. Take your mind off of work. Let yourself focus on something else for a while.</p><p>This is crucial when you’re trying to solve a problem. Sometimes I find the best solution when I was outside on a walk. That’s when I come in and actually make progress.</p><h4>No gossip. No negativity.</h4><p>Work is a great place for negativity, unfortunately. The new guy. The bad boss. The disappointing benefits. The monotonous problems that never go away. The long commute. The weather. The annoying project. We don’t like the WiFi speed, we’re irritated with the glare. There’s an incessant list of things any person could be complaining about at any moment.</p><p>Don’t be one of them. Don’t fall into it. Be better. Be elevated. Be the one who chooses positivity, the one who doesn’t talk behind people’s back, the one who finds the good in every situation.</p><p>If you already don’t like your job, I can tell you the fastest way to hate it more is to verbally express negativity and gossip. It’s the anchor to a sinking ship.</p><h4>Speak up</h4><p>Be bold, be known. Speak up in meetings. Make sure people know you’re there. Put yourself out there. Even if it’s for no other reason than networking. You and a number of other people are all in this together, for this time. You may as well get to know who you’re ‘<em>in the ring</em>’ with. You generally become more approachable when you speak up. I’ve noticed people talk to me way more often after I’ve spoken up than when I’m silent.</p><h4>Laugh at yourself</h4><p>This is the <em>hardest</em> for me. I take myself seriously and I want to be taken seriously. But work is the <em>best </em>opportunity to laugh at yourself, laugh at your mistakes, laugh at ridiculous situations. If you’ve been put in a lose-lose, if you did something that made you embarrassed, if someone is being completely unreasonable… <strong><em>laugh.</em></strong> Really, everything is pretty funny if you sit and think about it long enough.</p><h4>Gratitude</h4><p>If you are one of the lucky ones to have a job, it really is something to be thankful for. The ability to go somewhere you can contribute to, provide value to it, and receive compensation for it is a rewarding thing. It really does provide a sense of purpose and worth and it’s something thousands of people wish they had. It really is something to be thankful for, to have a job. If you’re able to tap into thankfulness, it changes your outlook on a job.</p><h4>Practice every day</h4><p>We get a new chance, every single day, to be this person. We could be the biggest gossip at the office today, and never gossip again tomorrow. We could be pessimistic and angry and impatient yesterday, but optimistic, excited, and patient today. We get a chance to become whoever we want every single day, every moment, really. Don’t be defined by who you think your coworkers think you are, or who you thought you were. Don’t box yourself in. Redefine who you want to be today. And if you mess up, you get another chance now, and again, and again. It’s a process and we really do get to practice becoming our best selves every day.</p><p>I hope this was encouraging and motivating whoever read this far. I’m working on this all the time and am glad to hear/share thoughts and feedback any time.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ff12aadb3d4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[44 things that will happen to you when you move to NYC]]></title>
            <link>https://clisaolson.medium.com/44-things-that-will-happen-to-you-when-you-move-to-nyc-f1afd1467859?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1afd1467859</guid>
            <category><![CDATA[subway]]></category>
            <category><![CDATA[new-york-city]]></category>
            <category><![CDATA[new-york]]></category>
            <category><![CDATA[city-living]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Sat, 01 Jun 2019 20:24:42 GMT</pubDate>
            <atom:updated>2019-06-01T20:24:42.008Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X6rWaKbcs_ZMFFXO" /><figcaption>Photo by <a href="https://unsplash.com/@ts_imagery?utm_source=medium&amp;utm_medium=referral">Trent Szmolnik</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><ol><li>Someone will probably yell at you to go if you’re waiting for the pedestrian green light to turn on</li><li>Someone will probably yell at you. In general. Weekly or more.</li><li>If your bag is open, headphones dangling out, no one will tell you. If they tell you, they’re probably not from New York.</li><li>Someone will tell you you haven’t fully experienced New York until _____ blank. And they will all disagree on what that blank is.</li><li>You’ll end up in Queens on accident.</li><li>You’ll get in many people’s way and eventually nail the ‘oops, got in your way’ and ‘get out of my @!&amp;$ing way’ looks.</li><li>You’ll try and fail to find meetup groups based on the sheer amount of people.</li><li>You’ll be totally down to meeting up with someone until you find out they live in Brooklyn. (or vice versa with manhattan)</li><li>You’ll think Times Square is cool for about 10 minutes your first time and then never think that again and avoid it like the plague at all costs.</li><li>You’ll learn the difference between 14th station and 14th station. (Finding out that lines run east to west.)</li><li>You’ll end up on the east side of Harlem on accident and realize two blocks away is vastly different.</li><li>You’ll find out why New Yorkers like Central Park so much. (Escape the incessant commuter chaos)</li><li>You’ll drop your wallet in the subway during rush hour and miss your next 4 stops trying to collect your items. (or was that just me…)</li><li>You’ll have someone be really nice to you and it will catch you so off guard, you’ll remember it the rest of the week. (And possibly year)</li><li>You’ll never take for granted having the $3 pizza slices that taste like heaven.</li><li>You’ll learn who the Brooklyn people are and the manhattan people are and tread carefully around both. (Same with Mets and Yankees)</li><li>You’ll try to squeeze through the doors of the subway as it’s closing and have a parade of people come to your rescue trying to pry the doors open. (It’s a bonding experience)</li><li>You’ll accidentally get on express and be 50 streets away from your intended destination.</li><li>You’ll try to attend festivals and things at first until you realize the sheer vastness and amount of people make every event a 5–6 hour, waiting in line, overly unnecessary extravaganza and avoid them altogether.</li><li>You’ll complain about your job and the weather a lot. But also proclaim proudly there’s no where else you’d rather be.</li><li>You’ll become extremely good at ignoring people and nailing the, ‘don’t talk to me’ look.</li><li>You’ll have a bad experience with a place/person and be elated to realize you’ll literally never see those people/places probably ever again.</li><li>You may experience wanting to become a new person every day for the sole reason that you could. And meet thousands of people. For a year. And probably never have it come back to bite you.</li><li>You may make a spontaneous musical purchase because there’s so much incessant art and you want to be a part of it. (Even if you can’t play)</li><li>You’ll realize you can say literally almost anything and most New Yorkers will simply shrug and say, ‘okay’.</li><li>You’ll see photo shoots, music videos being shot, famous people, and you will care less. In fact, your highest priority will be exiting the scene ASAP to avoid the onslaught of Non-New Yorkers that will begin freaking out.</li><li>You’ll see so many confident people that own their style and personality that insecurity and sensitivity will majorly stick out.</li><li>You will not say ‘I hate new york’ or ‘I love my job’ if you want to have friends.</li><li>You’ll be offended. And then slowly have that whittled away until you, too, will simply shrug at anything and say, ‘okay’.</li><li>You’ll fall in the subway. Because you thought you got cool/confident enough to not hold onto the bar. Someone will be there to catch you, holding on like a steel pillar. You’ll share a knowing smile or an angry glance.</li><li>People will have opinions about where you live. What health insurance you have. What you do. Who you date. You’ll learn to genuinely not care and defend yourself.</li><li>You’ll find a confidence and aggressiveness you didn’t know you had.</li><li>You’ll become extremely good at blocking everyone and everything out</li><li>You’ll probably end up purchasing air pods or noise cancelling over ear headphones. Or both.</li><li>You’ll figure out what you want and who you are because you have to. You have to know what you’re about here or you’ll change every day.</li><li>You’ll be angry and irritated at the chaos some days and enamored and overjoyed about it the next. Just go with it.</li><li>You’ll learn positivity is a rare breed here. And something people appreciate and are surprised by when presented with it.</li><li>You’ll hear most people say they ended up here for work and not because they sought it out.</li><li>You’ll learn to understand, New Yorkers aren’t rude. People are just generally in the way.</li><li>You’ll be asked for directions to a specific street or landmark. And no matter what excuses you give, tourists can and will hold it 100% against you if you can’t give them specific directions to that thing and are nothing but courteous and patient while doing it.</li><li>You’ll try, at first, to ‘get around the people’. Get over this as soon as possible. You cannot and never will ‘get around the people’. This is an impossible task. Give it up.</li><li>You’ll learn, after a while, to exist in stampedes without freaking out.</li><li>You probably won’t talk about or go to the famous landmarks unless someone’s visiting. And if you do, you most definitely will keep that to yourself.</li><li>You’ll have a great time. But not in the way you expect.</li></ol><h4>What’d I miss?</h4><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1afd1467859" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things I wish I knew before I started the job search]]></title>
            <link>https://clisaolson.medium.com/things-i-wish-i-knew-before-i-started-the-job-search-d1d5766ae924?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1d5766ae924</guid>
            <category><![CDATA[strategy]]></category>
            <category><![CDATA[job-interview]]></category>
            <category><![CDATA[job-hunting]]></category>
            <category><![CDATA[jobs]]></category>
            <category><![CDATA[job-search]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Fri, 15 Feb 2019 21:48:01 GMT</pubDate>
            <atom:updated>2019-02-16T00:18:22.107Z</atom:updated>
            <content:encoded><![CDATA[<h4>Fast and detailed tips for job hunting.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*mK5gODjZxnIehIHu-7eglw.gif" /></figure><h4>Apply for multiple titles. Don’t get stuck to one.</h4><p>In the front-end realm, this meant applying for Developer Advocate, Product Design, UI Engineer, UI Developer, JavaScript Developer, Jr. Developer, Web Developer, Jr. Engineer, Front-end Engineer, Front-end Developer, Customer Service Engineer, UX Designer, UX Engineer, UX/UI Developer, Sales Engineer. That’s a LOT of titles and a lot of traction to find jobs I might be more qualified for and happier in than the stagnant and exclusive ‘Front-end Engineer’.</p><h4>Take screenshots of job postings</h4><p>I can’t tell you how many times I finally hear back from the company I applied to, click on the link I saved (which I thought should be enough tracking-wise) and the link is dead, or the job posting has been taken down. I’ve spent many panicked minutes trying to remember what the exact job title was, what the requirements/responsibilities section said, how everything was worded, what the job title was I applied for, etc. Just take a screenshot.</p><h4><strong>Take detailed notes during phone screens</strong></h4><p>Seriously. Okay you’re nervous, you’ve been preparing, you’ve been practicing, you’re waiting with bated breath as the clock ticks down to your scheduled phone interview time. You get the call, you jump slightly in your chair, swallow, take a breath, say hello. And BAM. They start talking for 10 minutes straight about the role, the company, what they do, what they’re looking for, what to expect, etc. You’re just trying to catch your breath when they ask, ‘Do you have any questions so far?’. Crap.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/424/1*vtluS2pH9xQeYIApu8o0Rg.gif" /></figure><p>This was me my first few interviews. Take notes. This is when you find out a TON about the company, arguably more than at any other stage in the interview. This is when the interviewee (you) gets to find out if you are a good fit for them and what they’re looking for. After the initial phone call, it becomes a lot more about your skillset and what you can bring and a lot less about them and what they do.</p><h4>Organize your job search.</h4><p>In any way that makes sense to you. For me, this meant the built-in notes app on my laptop and just a massive list with dates, job title, company, and whether I followed up or not. I would’ve added screenshots and links if I was a smarter job searcher. :)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/584/1*1JMjh0jMQZrBShuiN7TgXg.png" /></figure><h4><strong>Have tons of questions ready. Tons. Write them down. Have them ready in front of you.</strong></h4><p>I thought I was okay when I had 10–15 questions written down. A LOT of them will get answered. Have open-ended questions ready in case the detailed nitty-gritty ones about the job get answered. Be aware too that if you’re doing a phone interview through your computer, you don’t want noise of you typing or clicking around your screen that will interfere with the call. I used a small whiteboard next to my laptop that I would jot notes down with.</p><p>Open-ended question samples:</p><blockquote>‘What brought you to this specific role?’</blockquote><blockquote>‘What would be an ideal candidate for this position?’</blockquote><blockquote>‘What’s your favorite part about working for X company?’</blockquote><h4><strong>Be as honest as possible</strong></h4><p>Don’t spend 15 hours on the coding challenge and get help from tech mentors and code reviews when they told you to spend 4–5 hours and to not use help. You want to find the right job for YOU and they need to find the right role for THEM. This is weird right? Because you want to sell yourself. But that doesn’t mean stretching too far what you do/don’t know. That being said…</p><h4>Avoid saying I’ve never done [x].</h4><p>I have a specific example for this one. I was asked in an interview if I’ve used Vue.js which I haven’t at all. My response was:</p><blockquote>‘I learn whatever Front-end framework I need to learn for the task at hand. I’ve worked a little bit in Django, React, Ruby on Rails, etc. The front-end landscape is changing every year, so I’m happy to jump into a framework and implement as I go to get the job done.’</blockquote><p>I never admitted that I’d never used it. I instead changed the framing of the response to portray myself in a positive light.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/382/1*yMv4W6sDo9lUXzpK07faTQ.gif" /></figure><h4>Pay attention to every piece of the interview.</h4><p>Their tone in emails, the way they handle your mistakes, the kind of coding challenge they gave you, the way they speak to you, everything. Every piece of it is important and should be noted as you decide where you want to work as much as they’re deciding who they want to hire.</p><h4>Continue studying, applying, and scheduling phone calls until you have an offer.</h4><p>I spent 4–5 days trying to prep for a coding challenge for a company I was over the moon stoked about. It was a dream company and I basically put everything else on hold trying to prepare. Well, it was a 60-minute HackerRank challenge that I didn’t do very well at and it took days after to try to regain my momentum. Always factor in applications into your day until you’ve signed an offer. It’s not official until it’s official.</p><h4>Numbers game is not a bad idea.</h4><p>Every person I asked for job advice told me, ‘You need a referral’. This just isn’t true. You don’t NEED a referral. Send out applications, make adjustments as needed to your portfolio, resume, cover letter. Get feedback, practice your responses. Numbers game eventually gets people work a lot of the time. It’s not impossible.</p><p>Also, if you’re just generally not as much of an extrovert, a social mingling hour situation may not be the best way for you to shine and sell yourself. It certainly isn’t for me.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*lHFh5nYeI5XS6F8_NVqjJQ.gif" /></figure><h4>Study/Practice/Create projects for what is relevant for you. Be wary of all the noise and blogs.</h4><p>You could spend years of your life ‘never being ready’ because by the time you master something, there’s a new way of doing it, a new popular framework or tool, or it’s all completely changed. It’s really depressing and can feel overwhelming. Choose a direction (Dev-Ops, Front-End, Particular framework/language/specialty), start building stuff with it, and forge ahead. If you spend hours researching or trying to stay relevant, in my opinion, it’s a pretty impossible task. Employers are hiring you for how you can learn and progress through the job, not for your current skillset. If you stayed stagnant over a year in a specific skillset, you’d be a terrible hire, no matter how ‘expert’ you are in it.</p><h4>Write thank you letters. Always.</h4><p>Thank you letters are key. I usually always heard back within an hour if I sent a follow-up, sometimes not at all if I didn’t. Write them for every interaction you have with employers. It shows gratitude and focus. Along those lines, be professional in every email, message, phone call, and video call. They’re gauging you just as you’re gauging them. Beware of your social media too, they could be checking that out as an initial/final step to see if you are who you say you are.</p><h4>Expect and Anticipate a lot of rejection</h4><p>Don’t stress over every single interview/rejection. Even if it’s not true, a healthy mindset is that they’ll end up with the hire they need, and you’ll end up with the job you need.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*tY7eqMUe7_ae37dtPrtrFg.gif" /></figure><h4>Don’t get lost in the sea of ‘things to study’.</h4><p>Choose something and go for it. Look at the actual job postings and learn those using Udemy, online videos, official docs, etc. Do one video, mess with a bunch of stuff and create it on your own to actually solidify and learn it. If it’s tedious and you hate it, you’re probably not in the right thing. Maybe try a different area of software engineering and see if you enjoy it more.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*n8XmNqRVpKY_63l_tl647g.gif" /></figure><p>An example for me would be Adobe Illustrator. The ‘Adobe Creative Suite’ was on almost every job I was applying for so I bought a $10 Udemy course and started playing with it and found out I absolutely loved it. If I hated using it and it was on every single job posting, I’d consider maybe switching my direction slightly.</p><h4>Go directly to the company site always.</h4><p>If I didn’t see the job title listed on the company site, I would drop the whole application. It’s probably an outdated post, or the company has already begun to move ahead with candidates. I would avoid the ‘one-click applications’ if I were you. The only responses I got from an application like that was a one-person, unpaid ‘internship’ at a startup. Not really what I was hoping for.</p><h4>Use multiple platforms</h4><p>LinkedIn, AngelList, GlassDoor, Indeed. Use any/all of them. I also recommend finding companies that you’re generally interested in and see if they may be hiring or reaching out directly to someone on the team. There’s something to say for someone who’s just genuinely stoked about the company itself and would be excited to work there. Along those lines…</p><h4>Excitement goes a long way.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/250/1*PzeuOuhcneFx7uCWW539jg.gif" /></figure><p>Companies love employees who love to show up to work. If you can demonstrate that, you’ve demonstrated worth. I’ve seen posts about burned-out engineers who just show up and go home. As a new hire, you have an excitement that you can bring that can lift up the whole team and make you stand out.</p><h4>Have fun with it</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/384/1*M3KkNiasEhxKf5tzBuledQ.gif" /></figure><p>It’s tough to remember when you’re nervous and put on the spot, but smile, laugh and try to have fun interviewing. Even if you fail, it’s honestly more practice for you and ultimately it doesn’t matter. It makes a good story that you can pass on and you can do better for the future. It also goes along with what I was talking about earlier that you’re testing the type of people you want to work with on the job.</p><p>If you get stuck, do they let you sit in silence for 10 minutes before guiding you in the right direction? Do they seem like they can work with other engineers? Are they rude or condescending? Do they seem like they value Jr. level engineers or mentorship? If it was an awful interview, it could be that it’s not a place you’d feel comfortable with anyways to work for long-term.</p><p>Hope this is helpful! Good luck on your job search! ❤</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*JnaV3NBhsNouRzdW18MD_A.gif" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1d5766ae924" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What happens when you type a URL into your browser?]]></title>
            <link>https://clisaolson.medium.com/what-happens-when-you-type-a-url-into-your-browser-b1b6b443c8f1?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1b6b443c8f1</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[servers]]></category>
            <category><![CDATA[world-wide-web]]></category>
            <category><![CDATA[internet]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Sun, 05 Aug 2018 22:26:40 GMT</pubDate>
            <atom:updated>2018-08-05T22:26:40.324Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nPkIZcB-GIVm0zJhbEIP_A.png" /></figure><p>This is something a lot of us probably do. We go on our desktop or labtop computer, we type something into our browser and we expect to see a landing page that we’ve grown accustomed to seeing from Instagram or Google. It’s quite a complex process that makes this all happen and really incredible that we can do something as simple as that; type an English word into the browser and have the computer understand what we want and how to get us there. We’ll use the example of typing in <a href="https://www.holbertonschool.com/">https://www.holbertonschool.com</a> as reference as we dive into what’s happening behind the scene.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*me0DVwqWy2ehS7OONJnP-Q.png" /></figure><p>Let’s split up the phrase we type into our browser. This phrase is known as the URL: Uniform Resource Locator. A URL is one type of Uniform Resource Identifier which is the name for everything that references objects on the World Wide Web. It starts with https. You may or may not type this part in right? You can just type ‘google.com’ and you’ll see once you get to the page, it auto-fills in the implicit information that came with that domain name. I’ll go into how that works later. But for now, whether you type it in or not, when you go to holbertonschool.com, as our example, it will auto-complete either https:// or <a href="http://./">http://.</a></p><h4>HTTP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w6VQB-Z6O5wkBM3SJiMxMQ.png" /></figure><p>HTTP stands for HyperText Transfer Protocol. HTTP defines the protocol for how messages should be sent and received. It also gives Web servers and browsers a protocol for how to respond to commands. Think of HTTP as a set of rules the web server, browser and the World Wide Web live by to communicate with each other. This first part of the URL is called the Protocol identifier. In our case, we’re actually using https, but we’ll talk about the s later.</p><h4>://</h4><p>The colon slash slash is a symbol signifying the beginning of the protocol being used to access a resource. It’s mostly just a syntactical thing of how the initial designers decided to build it. The way web pages are configured is that they begin with a protocol identifier, i.e. HTTP, HTTPS, and resource name separated by a colon and two forward slashes. This is the formatting they were programmed for.</p><h4>www</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXf2NPl5_UPOD3WublPNgA.jpeg" /></figure><p>This part of the URL is known as a subdomain. You might’ve at some point noticed strange behavior with subdomains. Some websites you can type in example.com and it works fine. Other times, you may need to specify <a href="http://www.example.com/">www.example.com</a>, or info.example.com. Subdomains can change the behavior of the site you’ll end up on depending on how the web page is configured. For example, in west.example.com, or hello.example.com would be subdomains of the example.com domain. Depending on how the website is configured, there can be lots of subdomains that all redirect to the main page. www is the most common subdomain used.</p><h4>holbertonschool</h4><p>This is the domain name. This is the part of the URL that gets converted to an IP Address.</p><h4>.com</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/302/1*nkbfV1U5XApJ77jwe-Q6_A.png" /></figure><p>Com is what is known as a TLD — top-level domain. .com is the largest TLD, but there’s also .org, .edu , .net, etc. .com lets the Domain Name Service know where to look for the IP if it can’t it. One of the places the DNS will look is the TLD Servers until it finds the IP.</p><p>Now that we know what each individual piece is, let’s dive into a little more detail about how this actually works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/638/1*tI4uMJ052GNhZUNbhuk_Mw.jpeg" /></figure><p>When you type <a href="https://www.holbertonschool.com/">https://www.holbertonschool.com</a> into your browser, and hit Enter the first thing that happens is the browser and the Operating System (OS) check if they know the IP. The IP is a string of digits representing a unique Id for every machine in the network. If the browser doesn’t have the IP in it’s cache, they check the Domain Name Service. The Domain Name Service, or DNS, translates the names (holbertonschool.com) into numbers.</p><h4>Resolving Name Server</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*FsvXwp2VwDd3lQysDCGxAQ.gif" /></figure><p>The DNS utilizes a tool known as the Resolving Name Server to check the IP of holbertonschool.com. If the RNS doesn’t know, it has a series of places it will check until it finds it. First it goes to the root servers. There’s an invisible dot at the end of every URL. Really, the URL looks like this: <a href="https://www.holbertonschool.com/">https://www.holbertonschool.com</a>. . Did you catch that dot at the end? That’s the Root. The DNS will check the root servers for the IP next. If the root servers don’t know the IP, they’ll check with the Top Level Domain Server. This is the .com we were talking about. The TLD servers hold the IPS for .com, .net, etc. If the TLD servers don’t know, they’ll check the Authoritative Name Servers (ANS). This is the furthest down the road you can get to find the IP address, so at this point they’ll (hopefully) have found the IP in the Domain Name Registrar and return the IP back down the line, passed to the RNS which returns the IP to the browser. The browser will cache this IP so that next time it has it immediately on hand.</p><h4>HTTP Request</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*xFBK_-HVLG1eDJq7r0NECg.png" /></figure><p>When the IP is passed back to the browser, it will build a HyperText Transfer Protocol. This is when I should probably mention that little ‘s’ at the end of http in our example of holbertonschool.com.</p><h4>What is HTTPS?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*pDYBmCHvrcMGs4nRFEeMWQ.png" /></figure><p>That little s at the end of HTTP is pretty important. It signifies that it’s a secure version of HTTP, ‘s’ standing for Secure. HTTPS means that all communications between your browser and the websites are encrypted. It’s often used to protect highly confidential online transactions like online banking and online shopping order forms.</p><h4>SSL</h4><p>HTTPS typically uses SSL or TLS which are types of certificates. The website will send its SSL certificate to your browser. The certificate contains the public key needed to begin the secure session in which a ‘handshake’ occurs between the browser and website. When a trusted SSL digital certificate is used during HTTPS, you’ll see a green padlock icon in the corner of the URL bar.</p><h4>Why HTTPS?</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*CkkRRSDSnScgx5rW3ewgmA.png" /></figure><p>The reason the secure version of HTTP is so important is because HTTP communications are all sent in plain text. This means if you enter your credit card information, for example, into an unsecured website, your credit card number, expiration date, name and security code are all readable by any hacker that breaks into the connection between the browser and the website. If the website uses an SSL certificate, even if the hacker broke into the connection, all of your information is encrypted, so they wouldn’t be able to decrypt any of the data.</p><p>So we ended off that the IP was returned to the browser. Now that the browser has the IP, it begins the Transmission Control Protocol (TCP)/Internet Protocol (IP).</p><h4>TCP/IP</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/262/1*6D63a_xmNa545o6p_wFNhw.jpeg" /></figure><p>TCP/IP is the suite of communication protocols most networks (all computers on the Internet) use to communicate. It specifies how data is exchanged over the internet including how it should be broken into packets, addressed, transmitted, routed, and received at the destination. It’s designed to make networks reliable and it recovers automatically from failure of any device on the network. To break them up slightly. TCP defines how applications can create channels of communication across a network. IP defines how to address and route each packet to make sure it reaches the right destination.</p><h4>Server</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*1W_r-y2isUwOdxUgj3oMvA.png" /></figure><p>We’ve gotten this far without talking about servers. Nothing on the World Wide Web would work without servers. So what is a server? A server is a computer without a keyboard, mouse or screen that is accessible only by network. It can be physical or virtual, it’s configured and managed remotely and it runs an OS. A server is composed of multiple pieces including an Application server, a Web server, a database, HTML and Source Code. Let’s dive into what each of these does. The server the web server and source code to communicate with the computer of the user requesting the website.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/868/1*pjJBM3z6A-yenv4lV_p9Ag.png" /></figure><h4>Application Server</h4><p>An application server’s job is to handle all application operations between the users and the backend. It serves dynamic content and generates an equivalent of a HTML file. It processes dynamic programming languages such as Ruby, Python, or PHP and generates HTML.</p><h4>Web Server</h4><p>A web server’s job is to serve web pages. It process dynamic and static web content and serves HTML code to browser. Web Servers can’t process languages such as Ruby, Python or PHP like the application server can. Web servers can process static content like images, HTML and CSS.</p><h4>Database</h4><p>The database is a structured set of data held in a computer. It’s organized to be easily accessed, managed and updated. In the case of holbertonschool.com, a database might store the images of mentors, instructors and school.</p><p>All servers are configured differently, but there’s some problems with having just one server. What if something happens to your database? What would happen if Facebook had just one server? For one, they would very quickly run out of storage space. Secondly, what if that server went down? Without a backup, this would affect millions of people. For these reasons, and many more, you want to have multiple servers. In the case of bigger companies, hundreds and hundreds of servers. One common way of managing multiple servers is using what is called a load balancer.</p><h4>Load Balancer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/497/1*1aZsJy7PkjmKuvigkNEX9Q.png" /></figure><p>A load balancer distributes the work-load to multiple individual systems to reduce the amount of stress on any individual system. This increases reliability, efficiency, and availability of your application. A load balancer can split traffic between servers and you can even have multiple load balancers all balancing multiple servers so no single node gets overloaded.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/1*zTgoHltovn7BxSsRSKlCeA.png" /></figure><p>There’s multiple distribution algorithms to manage distribution of traffic between servers. One of them is Round Robin, this passes each new connection to the next consecutive server in line, eventually distributing connections evenly across the machines being load balanced. Another algorithm is called Weighted Round Robin which proportions the ratio weight of each machine according to the connections it receives over time.</p><h4>Load Balancer Configuration</h4><p>One way to set up a load balancer is Active-Active, another is Active-Passive. In Active-Active, both can service an application at any given time. In Active-Passive, one node is on standby, ready to serve as backup and take over if the primary server is unable to serve. No matter which way the load balancer is configured, there should be two nodes that are virtually identical. If you’re wondering why they should be identical, it’s because if one server goes down and it’s not the same as the other server, this would cause major problems in regards to losing data and losing the original content and configuration that was otherwise present.</p><h4>Database Configuration</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wSpyqLr3bmTm0SoCAqLGyw.jpeg" /></figure><p>An option for database configuration is Primary-Replica (Master-Slave). The way this works is one device has unidirectional control over one or more other devices. The ‘master’ logs the updates, which then ripple through to the slaves. The slave will then output the message saying it received the update successfully, allowing each subsequent server to send the update to the next until it gets through all the ‘slave’ databases.</p><p>Have you heard of a firewall? This is an additional element you can add to your server configuration for an extra layer of security.</p><h4>Firewalls</h4><p>The reason to add a firewall is to prevent unauthorized users from accessing private networks connected to the Internet. All messages that pass through the firewall are examined and it blocks any message that don’t meet specified security criteria. Firewalls can be software or hardware but ideally it’s a combination of both.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/259/1*7MSG6YM92-wb4BXuR4LWLw.jpeg" /></figure><p>Along with firewalls, something called monitoring tools can be added to your server configuration in order to monitor the data being collected and passed through your server. It can be customized to give you alerts or display information specific to your needs.</p><h4>After the IP is sent back….</h4><p>So back to our original question, what happens after the DNS finds the IP of holbertonschool.com and it’s sent back to the browser. From here, the OS passes the IP through TCP/IP, validates the SSL Certificate, makes the handshake between the browser and the website, verifies it’s secure and encrypted, and passes it to the load balancer (assuming there is one). The load balancer will then decide which server to send the request to depending on the algorithm it’s configured with. It will get passed down to a server and the server will utilize the application server (depending on whether it’s serving static or dynamic content, which in our case is dynamic) to organize the source code (Python, PHP, etc.) which grabs information from the database and generates HTML. The application server generates this HTML page from everything it gathered, including static and dynamic content and passes it to the web server which serves the page to your browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*OiiKuzD0Z3CrDWmg_HxgfQ.jpeg" /></figure><p>There’s a lot of steps and pieces involved to serve web page content. It’s pretty amazing all we have to do as the user is type in <a href="https://www.holbertonschool.com/">https://www.holbertonschool.com</a> and press enter. I hope this was helpful in beginning to understand the complexity of the World Wide Web and how much we take URLs for granted.</p><p>See you next time! Happy coding!</p><p><a href="https://www.quora.com/What-does-the-colon-and-2-slashes-after-https-stand-for">https://www.quora.com/What-does-the-colon-and-2-slashes-after-https-stand-for</a></p><p><a href="https://www.webopedia.com/TERM/W/World_Wide_Web.html">https://www.webopedia.com/TERM/W/World_Wide_Web.html</a></p><p><a href="https://en.wikipedia.org/wiki/.com">https://en.wikipedia.org/wiki/.com</a></p><p><a href="https://en.wikipedia.org/wiki/Subdomain">https://en.wikipedia.org/wiki/Subdomain</a></p><p><a href="https://en.wikipedia.org/wiki/Server_(computing)">https://en.wikipedia.org/wiki/Server_(computing)</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1b6b443c8f1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[IoT OmG]]></title>
            <link>https://clisaolson.medium.com/iot-omg-c4f411481877?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/c4f411481877</guid>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[iot]]></category>
            <category><![CDATA[internet-of-things]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Tue, 26 Jun 2018 06:40:54 GMT</pubDate>
            <atom:updated>2018-06-26T06:40:54.299Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*1gkZsmqehAaGm4zXFtEo2A.jpeg" /></figure><p>Let me throw some information at you about this thing called IoT and then we can talk about it. The internet of things is the idea of devices all talking to each other. All connected, all working together for the ‘greater good’. An IoT device is something that can be manipulated/controlled remotely. Examples would be using your phone to connect with an Uber driver or talking to your Google Home to order food for you. When we think of small things like Uber, it seems fairly harmless. When we think of things like smart homes, it feels slightly more invasive, and when we think of smart cities, it feels overwhelming.</p><p>You can paint a pretty gorgeous picture or a pretty gut-lurching picture when it comes to IoT. Both are credible and have their advantages/disadvantages. Topics like security and privacy leave a bad taste in everyone’s mouth when it comes to IoT. That being said, being a coffee drinker myself, the idea of my alarm triggering my coffee machine sounds pretty nice.</p><p>As you’ve probably gathered, IoT stands for the Internet of Things. it’s the concept of software being embedded in everyday things that we regularly interact with. Think about the software embedded into cars to turn on your gas light, or your check engine light, or, as mentioned, the software that connects phones to each other so you can call an Uber.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*Lxd2r5zHNI_W7d8a0Gv4kg.png" /></figure><p>If you’ve heard of the Internet of people, instead of connecting people, it’s about connecting things. Things can start to share their experiences with other things. It’s taking objects and adding the ability of that object to sense and communicate and touch and control. Things are able to interact and collaborate with other things. This forms a network of things interacting similarly to how humans do. Billions of things all connected from cellphones to coffee makers to lamps to watches to heart monitors to alarm systems… The possibilities are endless.</p><p>Before jumping into opinions, there’s some reasonably good things we can think of that IoT either has done, is currently doing or has the capacity to do in the future. I already mentioned being able to brew coffee from an alarm clock, but what about sprinklers that are able to talk to the city water conservation to decide how much water to disperse. Or what about the idea of office supplies automatically getting re-ordered when needed? Smart bracelets that can live track you and talk to various objects in your home to make your life easier. That’s the idea right? Making our lives more seamless.</p><h4>So IoT.</h4><p>Internet of Things. Let’s think about this. If you’ve used any devices recently, you’ll notice there’s a lot of applications that are free. Why is that? How do they make money? Take the example from the post from The Guardian that describes Amazon’s new product, the Dash button. With this product, you can sign into your Amazon account and with the press of a button get a refill on dog food, shampoo, or bottled water. While this is incredibly convenient, what does that mean? What information is being ‘freely’ given from Amazon? This gives Amazon access to vital consumer information that is worth millions and millions of dollars. They now get to know what we buy, what brand we buy, how much of it we buy, and approximately when we buy it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/299/1*OFc--buQTn0Af-PI4JsuLg.jpeg" /></figure><p>Take another example such as the in-house devices like Google Home or Amazon Echo. Listening to everything we say, how we say it, keeping track of what we want, when we want it and how we want it. Sounds eerily similar to George Orwell’s 1984 doesn’t it? That being said, there’s so much good we’ve grown accustomed to that is only possible through IoT. Take, Apple Pay, or Uber. Without these interconnected devices all wired to the internet, we would have an extremely different world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/353/1*R0QImACih2nas-qfD_AYow.jpeg" /></figure><h4>What are the positive impacts of IoT?</h4><p>It could save people a lot of time and effort with medial tasks so they can plan out their day and life more efficiently. It could save people’s lives in terms of something like tsunamis. Getting information to people rapidly and using billions of inter-connected devices to communicate to masses all at once. How about gathering live traffic to re-route you during auto accidents? Or having advanced heart monitors that can live trace with a machine at the hospital. There’s an example of Google using IoT for good in studying the patterns people used to research their flu symptoms. Because of all this aggregated data, Google was able to help come up with better quality health service.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*RfRwmf-ALeR4PFeORsRzKw.png" /></figure><h4>Negative impacts?</h4><p>There’s quite a few. When it comes to systems as complicated as the Internet, there’s no way to predict what will happen. Unexpected behavior is inevitable. If we say, (as I have said myself) that self-driving cars are safer than humans, what does that mean? We’re implying that software is more secure than the human who designed it. When we think of humans always behind the software, we make the assumption that we’re only as good as what we can collectively design. How good is that? Is it worth the risk?</p><h4>Safety</h4><p>Safety is a huge topic when it comes to IoT. Would someone be able to break into your smart toaster and suddenly have access to your entire house? Hacking into cars is a concern. Causing massive collateral damage on an entire system that’s all inter-woven and inter-connected would be catastrophic. Further, there’s the question of data storage. At this point, it’s hard to fathom how this amount of data would be stored and used daily. The quantity we’re talking about is colossal.</p><p>Another thought as well is the idea of what data is. How is the data collected? Is it accurate? Would these intricate, elaborate, billion-item systems be used to present accurate and precise information? So much comes into gathering information about users and it could skew the entire culture and world as we know it if it isn’t processed correctly.</p><h4>Smart Cities</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/275/1*tvcQSjd8-fW6F-I5IcQOWA.jpeg" /></figure><p>The further we push ourselves in areas of machine learning and artificial intelligence, the more advanced and improved these intertwined systems will become. Ideally, it seems, there are interconnected devices that can help humanity as a whole save energy and consume more efficiently and effectively. The question then comes into play if only the mass corporations are getting these millions of data sets, how would it affect the lives and futures of the smaller companies without the resources of ‘smart technologies’. It seems there would be far less options if the click of a button only connected me to Walmart, Target, or Olive Garden. Would humans as a whole inconvenience themselves for the sake of trying something new?</p><p>According to Forbes, the retail, healthcare and industrial/supply chain will grow the most. This makes sense as it seems the recurring theme is gathering masses of data about consumption and consumer interest.</p><h4>More Examples</h4><p>IoT is expected to soon impact close to every industry. Environmental monitoring, building and home automation, agriculture, manufacturing, infrastructure applications, enterprise applications, let alone the things we think of right away like smart homes and consumer applications. On a non-consumer approach, what would IoT look like?</p><p>In terms of manufacturing, IoT systems could be tracking live responses to customers and building with that in mind. The iterations would be faster and more effective to consumer demands. In agriculture, by gathering data on temperature and soil, IoT systems could make smart decisions on how to best water, fertilize, and assess for the next year. What about energy management? Energy consumption could be greatly optimized by allowing systems to take over heating, cooling and lighting.</p><p>Healthcare is a huge industry that could possibly lead to the most benefit for humans. By using IoT devices to monitor heart rate and blood pressure, there would be less need for human involvement and the adjustments or care that were delivered would be more pin-pointed to the individual’s need.</p><p>When it comes to transportation, rather than the need for human drivers and human involvement in trying to quickly make decisions on speeds and possible collisions, the inter-connected systems could be dynamically gathering data to create the best route possible for the good of all. (It’s sounding utilitarian isn’t it?)</p><h4>Main Players</h4><p>The main companies driving IoT are Microsoft, Amazon, Google, IBM, Cisco, Verizon, AT&amp;T, and Fitbit. The main platforms at this point to handle that data are AWS, Azure, Cisco, Salesforce, Oracle and Microsoft. There’s others of course.</p><h4>In summary</h4><p>There’s lots to think about and lots to study when it comes to IoT. This really just begins to scrape the surface of the vast opinions, benefits, disadvantages, and possibilities of the future that’s coming with IoT on the rise. It’s something to consistently be aware and conscious of when you shop, what you buy, why you bought it, how you formed your decision, how much you value privacy, what you want out of society and what you expect of technology and it’s involvement in your life.</p><p>What do you think? Feel free to keep the conversation going!</p><p><a href="https://www.theguardian.com/technology/2017/jun/06/internet-of-things-smart-home-smart-city">https://www.theguardian.com/technology/2017/jun/06/internet-of-things-smart-home-smart-city</a></p><p><a href="http://www.businessinsider.com/internet-of-things-definition">http://www.businessinsider.com/internet-of-things-definition</a></p><p><a href="https://en.wikipedia.org/wiki/Internet_of_things">https://en.wikipedia.org/wiki/Internet_of_things</a></p><p><a href="https://www.inc.com/geoffrey-james/the-internet-of-things-is-a-bad-idea.html">https://www.inc.com/geoffrey-james/the-internet-of-things-is-a-bad-idea.html</a></p><p><a href="https://www.forbes.com/sites/jacobmorgan/2014/05/13/simple-explanation-internet-things-that-anyone-can-understand/#2e6036721d09">https://www.forbes.com/sites/jacobmorgan/2014/05/13/simple-explanation-internet-things-that-anyone-can-understand/#2e6036721d09</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c4f411481877" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning Simplified]]></title>
            <link>https://clisaolson.medium.com/machine-learning-simplified-e64fc33df49?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/e64fc33df49</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[linear-regression]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Sat, 26 May 2018 23:52:15 GMT</pubDate>
            <atom:updated>2018-05-29T17:27:19.315Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*180ReKsWC80Rss0kZGenIw.gif" /></figure><p>It’s crazy to think about how comfortable we’ve gotten as a society interacting with our devices. We’re not phased by regularly talking to our cellphones or TVs and watching them respond. Interesting to think how much high tech the younger generations will grow up with as a sense of ‘normal’. In that sense, when words like ‘Artificial Intelligence’ and ‘Machine Learning’ get thrown around, whether knowing it or not, we all have somewhat of an idea of what this looks like. But let’s break it down even more.</p><h4>Artificial Intelligence</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*82d8djGwo4WlkRusyYGl3A.gif" /></figure><p>So what is machine learning? To talk about machine learning, we need to talk about artificial intelligence. Artificial Intelligence is the high-arching concept of developing software that can perform tasks that would normally take human involvement. In other words, the idea of machines having the capacity to behave and make decisions like humans. Examples of this that you’re most likely familiar with are the navigation systems on smartphones, email inboxes, and plagiarism checks. The navigation applications are able to predict the best route to go as it gathers information while you’re driving, dynamically sort out what category emails belong in based on what it’s reading and compare two essays and determine their similarities/differences. These are all things that would normally take human involvement.</p><h4>Machine Learning</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*QjDqexSg9P_Io0wOQ-Crcg.gif" /></figure><p>So that’s artificial intelligence, at least at a high level. Something that at this point, you’ve most likely interacted with, seen, and experienced. How does machine learning come into play? What does it mean and how does it differ from artificial intelligence? Machine learning is the capability of a computer program to improve how it performs a certain task based on past experience. It’s a machine that has the ability to learn. How is it possible that we can go online to our social media websites and the computer, not us, can recognize our friends and suggest them to us? The idea of tagging is all done through machine learning. Another example would be the suggestions we’re able to see on Netflix, Amazon, Instagram, etc. What do these examples have in common? They’re taking in a massive amount of data and intelligently sorting through it to spit out some options. So for instance, Facebook’s tagging feature. It takes in all the faces it knows of, compares it to it’s data set it has on hand, on spits out some suggested tags for us to choose from. In the case of Netflix or Amazon, it takes in all the data it knows of about what we like, what we generally click on, the similarities between two sets of tv shows, and spits out some shows that follow a specific set of criteria.</p><p>We make these types of decisions all the time as humans. We decide which restaurant to go to based on the Yelp reviews and looking at the menu, maybe debating prices and thinking of how much we usually spend and pick something within a middle range. That’s what machine learning does! As a subset of Artificial Intelligence, it makes ‘smart’ decisions based on the data given to it, similar to those we make as humans.</p><p>Hopefully you feel you have a grasp on what’s happening conceptually at a high level. But what about the ‘how’ question. How does this actually work? I think when discussing the ‘how’, it starts to feel pretty overwhelming and confusing, hence why everything gets tossed into the ‘artificial intelligence’ bucket. But I’ll do my best to break it down into bite-size, comprehendible pieces.</p><h4>Supervised vs. Unsupervised Learning</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*Iwa_gqdE7sWdTbCi98PC0w.gif" /></figure><p>You can break down machine learning into two separate categories called ‘Supervised Learning’ and ‘Unsupervised Learning’. In Supervised Learning, the program is fed labeled data and desired output to learn from. For example, think of labels in children’s books when they’re learning their first words. A picture of a fish would have a sentence stating, ‘this is a fish’. The program ‘learns’ this way, by memorizing these labels over hundreds of pictures of fish, and by using that knowledge, can make predictions of what it’s seeing. In Unsupervised learning, you have the opposite effect. All the data is unlabeled and the program learns by creating patterns of the data it sees, without any instruction or ‘answers’, so to speak. This would be similar to jumping into a foreign country and trying to learn a language purely by listening and interacting with native speakers, not by sitting in a classroom or being told what words mean directly. Another category worth mentioning is ‘Reinforcement Training’. This is when the program is ‘graded’ based on the attempts. For example, it plays a specific game hundreds or millions of times and records the ‘failures’. It learns by failing and receiving feedback; the ‘trial-and-error’ approach.</p><p>Supervised vs. Unsupervised are two major categories of splitting up machine learning. From there, it subdivides even further into different approaches. The most popular approaches to answer the ‘how’ question, (how does this actually work) are k-nearest neighbor, Decision Tree Learning, and Deep Learning, but we’ll mention a few others to have a more well-grounded of idea of how these conceptual ideas are actualized and implemented.</p><p>Let’s jump into these and see how they work!</p><h4>k-nearest neighbor</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/220/1*lIO9fY5z6Y414tLetYpZyA.png" /></figure><p>The way this algorithm works on a very high level is that it groups pieces of data together and decides how ‘near’ they are to each other. Hence, the name, nearest neighbor. Based on a certain point in a vector, the points will be reassigned to form around the closest points to it. So if you had a drawing with a red dot in the center surrounded by 3 other dots of varying colors. k-nearest neighbor would circle those 4 dots and based on the reference dot of red, decide how to shift the dots around in the vector so that they’re nearest to those most similar.</p><h4>Decision Tree Learning</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*6wgF6240vz6sWrRma7zBZw.gif" /></figure><p>Decision Trees are somewhat explained in the name themselves. They make decisions based on a particular condition. It will decide whether to spit out one answer or another based on the data it sees. To oversimplify, think of pictures of birds and cows. There’s a set of parameters defining birds and defining cows. For example, cows have 4 legs, birds have 2 legs. Based on the pictures it’s seeing, the decision tree decides that the data is either weighted more heavily towards a bird or more heavily towards a cow and learns form these repeated decisions.</p><h4>Neural Networks</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/550/1*pO5X2c28F1ysJhwnmPsy3Q.gif" /></figure><p>The Artificial Neuron Network concept was set up with the idea of mimicking how the brain functions. Our brain sends off chemical responses, one neuron to the next, based on what it’s seeing and interacting with. It passes the updated information off, neuron to neuron, until it comes to it’s final, conclusive answer. The Neuron Network functions in a similar fashion. The network has an input layer, an in-between layer, and a final output. Let’s use the example of the cows and the birds again. The input layer provides data from one of the animals needing classification. For example, this could be the number of legs, the appearance of wings, or the relative size or weight. Based on these classifications, the in-between layer transforms input into output, classifying the data. To go into a little more detail, each of these layers consists of values varying from 0 to 1 of how much similarity there is from one layer to the next. They’re weighted with point values to determine on a scale how much of that particular classification is present and then passed along to the next layer. Based on these weights and biases, it’s able to learn.</p><h4>Deep Learning</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/936/1*-teDpAIho_nzNShRswkfrQ.gif" /></figure><p>If you’ve heard anything about machine learning before, you’ve probably heard about deep learning. Deep learning refers to multiple layers within the neural network. Rather than a single in-between layer, there can be many layers, creating a more complex and dynamic neural network.</p><h4>Linear and Logistic Regression</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*2KAInY20QPhkLCJ8jWVLJw.gif" /></figure><p>Linear Regression falls under the Supervised Learning category and the way it works is that it predicts outcomes based on continuous features. So picture a graph in your mind with random points scattered across it. Linear Regression tries to form a line based on the points it sees. It forms a line based on these points, either a positive relationship between the independent variable x and the dependent variable y or a negative relationship. Negative relationship would mean x is increasing while y is decreasing. Positive relationship would mean y is increasing while x is increasing. This line that is formed is what is called the Regression Line. Once there’s a final line with a final point, the estimated point at the end of the line is compared with the actual point.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*PkEl-8DBQa-xEft_tacXLQ.gif" /></figure><p>Logistic Regression is also classified as Supervised Learning. It’s used to predict the likelihood of an event occurring based on previous data. In terms of x and y, y can be either 0 or 1. If the event does not happen, y is given the value of 0. It it does happen, y is given the value of 1. This is knows as Binomial Logistic Regression. If there are multiple values of y, it’s called Multinomial Logistic Regression. Dislike Linear Regression where it tries to predict data by finding a line, logistic regression doesn’t see straight lines but instead sees relationships between variables and comes up with predictions based on the odds and ratios discovered.</p><h4>Human Biases</h4><p>A final note worth mentioning is that the computer is taught by what the human programs. There will always be some sense of bias depending on how the human valued the importance of one thing over another. In the earlier example of the fish, if we only fed the program thousands of pictures of clownfish, it would be severely biased towards the clownfish as opposed to other types of fish.</p><p>A lot of this stuff is easier to grasp once you watch some videos and see it in action. But I hope this was helpful on a conceptual level to understand a bit about AI, Machine Learning, Deep Learning, and a little of the ‘how’ it all works at a basic level.</p><p>Happy coding!</p><blockquote>Citations</blockquote><p><a href="https://simple.wikipedia.org/wiki/Logistic_Regression">https://simple.wikipedia.org/wiki/Logistic_Regression</a></p><p><a href="https://www.digitalocean.com/community/tutorials/an-introduction-to-machine-learning">https://www.digitalocean.com/community/tutorials/an-introduction-to-machine-learning</a></p><p><a href="https://blogs.sas.com/content/subconsciousmusings/2017/04/12/machine-learning-algorithm-use/">https://blogs.sas.com/content/subconsciousmusings/2017/04/12/machine-learning-algorithm-use/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e64fc33df49" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mutable vs. Immutable Objects]]></title>
            <link>https://clisaolson.medium.com/mutable-vs-immutable-objects-123b4d797896?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/123b4d797896</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[high-level-programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Wed, 09 May 2018 05:51:12 GMT</pubDate>
            <atom:updated>2018-05-09T05:51:12.777Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*U1yu7L8AFkgh_1zWZfRxcQ.jpeg" /></figure><h4>OOP</h4><p>Python is built around objects. The idea is that you have blocks of things you want to accomplish within one reusable object, hence the known phrase, ‘Object-Oriented Programming’ or OOP. Being an object-oriented language, Python is set up to be used to organize patterns to accomplish entire brackets of things rather than separate files systematically or sequentially.</p><h4>Objects</h4><p>So what is an object exactly? An object is an instance of a class. Classes are the structure that the objects and instances are built in. So picture a wax figure. The class would be the mold that you pour the wax into. The object conforms to the shape of the class it’s in.</p><p>If we were to create a class, it would look like this:</p><pre>class ClassName:</pre><pre>    pass</pre><p>An object is an instance of a class. I’ll show you what that would look like in the case of a class named crayon.</p><pre>class Crayon:</pre><pre>    pass<br></pre><pre>blue = Crayon()</pre><p>That initializes the object blue as an instance of the class by setting it equal to Crayon().</p><p>If we had anything else inside of our class, Crayon, it would be available to the object blue we just created. For example, if our class looked like this :</p><pre>class Crayon:</pre><pre>    def color_things(self):</pre><pre>        print(“coloring everything blue”)</pre><p>We could use our object like this:</p><pre>blue.color_things()</pre><h4>Ids and Types</h4><p>Now that you have an idea of how classes and objects work, we can talk briefly about ids and types. An Id is the identity of an object; it’s the address of the object in memory. An id is always unique within the lifetime of it’s object. Type returns the type of an object.</p><p>Both of these things are important because depending on the type in Python, the id will either stay the same or change. The memory addresses change depending on the data type.</p><h4>Mutable vs. Immutable</h4><p>Some objects are immutable and others are mutable. Mutable objects can be changed after creation. Examples of mutable objects are lists, sets, and dictionaries. Immutable objects cannot be changed after creation, examples being integers, floats, booleans, strings, tuples and unicode.</p><p>Let’s look at some examples.</p><p>First we assign a to equal 3 by using a single equal sign. This is called assignment. We do the same with variable b.</p><pre>&gt;&gt;&gt; a = 3<br>&gt;&gt;&gt; b = 3</pre><pre>&gt;&gt;&gt; type(a)<br>&lt;class &#39;int&#39;&gt;</pre><pre>&gt;&gt;&gt; type(b)<br>&lt;class &#39;int&#39;&gt;</pre><p>We’ve set a and b to equal the same integer value. Since integers are immutable, a and b are actually stored at the same memory address. We can see that by checking the id.</p><pre>&gt;&gt;&gt; id(a)<br>4307789712</pre><pre>&gt;&gt;&gt; id(b)<br>4307789712</pre><p>Let’s look at an immutable example.</p><pre>&gt;&gt;&gt; a = [1, 2, 3, 4]<br>&gt;&gt;&gt; b = [1, 2, 3, 4]</pre><pre>&gt;&gt;&gt; type(a)<br>&lt;class &#39;list&#39;&gt;</pre><pre>&gt;&gt;&gt; type(b)<br>&lt;class &#39;list&#39;&gt;</pre><p>We’d expect these to be at different memory address because lists are mutable. We can see that confirmed below.</p><pre>&gt;&gt;&gt; id(a)<br>4316334920</pre><pre>id(b)<br>4316334856</pre><h4>== vs. is</h4><p>This brings up the difference between variables being identical versus linked to the same object. Using ‘==‘ and ‘is’, we can see the difference. ‘==‘ shows us whether the values are identical. Using ‘is’, we can see whether they’re linked to the same object.</p><p>So, as in the first example where we had :</p><pre>&gt;&gt;&gt; a = 3<br>&gt;&gt;&gt; b = 3</pre><pre>&gt;&gt;&gt; a is b<br>True</pre><pre>&gt;&gt;&gt; a == b<br>True</pre><p>This is to be expected since a and b are pointing to the same address and also are holding the same value. However, in the second example, we’ll see things change a bit.</p><pre>&gt;&gt;&gt; a = [1, 2, 3, 4]<br>&gt;&gt;&gt; b = [1, 2, 3, 4]</pre><pre>&gt;&gt;&gt; a is b<br>False</pre><pre>&gt;&gt;&gt; a == b<br>True</pre><p>Even though the values are the same, they’re pointing to different objects since list is a mutable data type.</p><h4>Aliases and References</h4><p>We can look at some other interesting examples when we bring up aliasing and referencing. An alias is when one variable’s value is assigned to another variable. Variables are just names that store references to values so if the data is immutable, aliasing doesn’t matter. The data won’t change either way, so it doesn’t matter how many times it’s referred to. If the data is mutable, however, things can get confusing.</p><p>We’ll start with two different values.</p><pre>&gt;&gt;&gt; a = [“a”, “b”, “c”]<br>&gt;&gt;&gt; b = [1, 2, 3]</pre><pre>&gt;&gt;&gt; a is b<br>False</pre><p>False is to be expected. But now, we’ll set a = b</p><pre>&gt;&gt;&gt; a = b</pre><p>This means a now refers to b’s location in memory of an object. This is called a reference, since it’s referencing b.</p><pre>&gt;&gt;&gt; print(a)<br>[1, 2, 3]</pre><pre>&gt;&gt;&gt; print(b)<br>[1, 2, 3]</pre><p>So the values are now the same since a is referencing b. Let’s start changing some values and see what happens.</p><pre>&gt;&gt;&gt; b += [5]</pre><pre>&gt;&gt;&gt; print(a)<br>[1, 2, 3, 4, 5]</pre><pre>&gt;&gt;&gt; print(b)<br>[1, 2, 3, 4, 5]</pre><p>The changes are reflected in both variable a and b. But what if we now make changes to a?</p><pre>&gt;&gt;&gt; a = a + [8]</pre><pre>&gt;&gt;&gt; print(a)<br>[1, 2, 3, 5, 8]</pre><pre>&gt;&gt;&gt; print(b)<br>[1, 2, 3, 5]</pre><p>The variable a’s changes are reflected and held, but b’s changes are not reflected. Since a is referencing b, a is impacted by b, but b is not impacted by a.</p><p>This is why it matters so much whether you’re dealing with mutable or immutable data types. If you’re not extremely careful with assignment, aliasing, and referencing, you can run into problems quickly.</p><h4>How arguments are passed to functions</h4><p>Unlike other languages, Python uses something known as ‘Call by Object’ to pass arguments to functions. When passing immutable arguments, the object reference is passed to the function parameters. This makes sense because they’re immutable, so they can’t be changed inside/outside of the function. When it comes to mutable arguments however, they’re also passed as object references but they can be changed in place of the function.</p><p>Depending on the scope, the id of the variable will change.</p><p>For example :</p><pre>&gt;&gt;&gt; a = 9<br>&gt;&gt;&gt; id(a)<br>4307789904</pre><pre>&gt;&gt;&gt; def func(a):<br>        a = 15<br>        print(id(a))<br>&gt;&gt;&gt; func(15)<br>4307790096</pre><pre>id(a)<br>4307789904</pre><p>Even though the value was changed inside of the function, the id of the global a is still preserved.</p><p>Hope this was a helpful recap of objects, classes and immutable vs. mutable objects! Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=123b4d797896" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamic Libraries]]></title>
            <link>https://clisaolson.medium.com/dynamic-libraries-3da1bc3e62a3?source=rss-a96837273518------2</link>
            <guid isPermaLink="false">https://medium.com/p/3da1bc3e62a3</guid>
            <category><![CDATA[c]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[libraries]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[code]]></category>
            <dc:creator><![CDATA[Lisa Olson]]></dc:creator>
            <pubDate>Tue, 17 Apr 2018 05:07:36 GMT</pubDate>
            <atom:updated>2018-04-17T05:07:36.893Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LYryPfj69P3VXc3_L_Dq1A.jpeg" /></figure><h3>What are libraries?</h3><p>Libraries are a way of condensing code into smaller units. Instead of having multiple files, we can have one single file that contains multiple object files. The way it works is when a C file is compiled, part of the compilation process is the linking phase. During this phase, functions used within the program are checked in a library to see if the code exists or not. There are two types of libraries used in this way. The first is called a static library. The second is called a dynamic library.</p><h4>Analogy</h4><p>If you’re wondering how these libraries could be useful, an example would be sheet music. Rather than grabbing each page of sheet music right before we need it, we can condense all the pages into one single, ready-to-use binder that we would then grab when needed.</p><h3>Differences</h3><p>The main difference between these two libraries is that a dynamic library, otherwise known as a shared library is referenced as the program is running. This means there’s a dependency upon the application and the library. In a static library, all of the code within the library is copied over to the application. So in a static library, the library file becomes irrelevant once it has been copied, making the application completely independent.</p><h3>Advantages/Disadvantages</h3><p>The good thing about static libraries is that you can hand someone your program and it’s entirely ready to go. There’s nothing the user needs to download or install to make your program work. It’s fully autonomous. The bad thing about static libraries are that it makes your program way bigger, taking up much more space than using a dynamic library would.</p><p>A dynamic library is great because you don’t need to recompile or relink the applications using certain functions if they change, as you would need to do in a static library. Shared libraries can also be called by programs written in different programming languages. A disadvantage to a shared library is that your application is dependent on tons of files that aren’t local to your individual program. This means you have to ensure everything’s updated and in sync and that there’s documentation on what was required for installation to run your program.</p><h3>Creation</h3><h4>Dynamic :</h4><p>So, to create one of these dynamic libraries (Linux), the command is fairly simple:</p><blockquote>gcc -g -fPIC *.c -shared -o liball.so</blockquote><p>That gives you a dynamic library. Let’s go over the flags.</p><ul><li>g → includes debugging information</li><li>fPIC → “Position Independent code”; this allows for the code to be located at any virtual address at runtime</li><li>shared → creates the shared library with the prefix lib and the suffix .so, standing for “shared object”</li></ul><h4>Static :</h4><p>To create a static library, the command is :</p><blockquote>ar -rc libraryname.a file.0 file2.o file3.o</blockquote><blockquote>cc main.o -L. -libraryname -o program</blockquote><ul><li>ar → archiver; used to create static libraries</li><li>-rc → tells ar to replace older object files with new ones and to create the library if it doesn’t already exist</li><li>cc main.o → creates program using main.o and attaches it to the name of the library</li><li>L → tells linker it may be found in the current directory</li></ul><p>Hope that helps clear up some of the fogginess around libraries’ functionality and the differences between dynamic/static libraries. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3da1bc3e62a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>