<?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 Joel Peterson on Medium]]></title>
        <description><![CDATA[Stories by Joel Peterson on Medium]]></description>
        <link>https://medium.com/@brainshock?source=rss-9f535797fdf1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*aRG0__HOfpA7rASOGn6A9Q.png</url>
            <title>Stories by Joel Peterson on Medium</title>
            <link>https://medium.com/@brainshock?source=rss-9f535797fdf1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 16:28:31 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brainshock/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[Chronic Illness And Code In The Time Of COVID-19]]></title>
            <link>https://medium.com/@brainshock/chronic-illness-and-code-in-the-time-of-covid-19-4a804f83ff04?source=rss-9f535797fdf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a804f83ff04</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[depression]]></category>
            <category><![CDATA[celiac]]></category>
            <category><![CDATA[chronic-illness]]></category>
            <category><![CDATA[covid19]]></category>
            <dc:creator><![CDATA[Joel Peterson]]></dc:creator>
            <pubDate>Sat, 04 Jul 2020 19:22:47 GMT</pubDate>
            <atom:updated>2020-07-04T19:22:47.998Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_MbjjAa6ivtbFctLwW8mXg.jpeg" /></figure><p>I am 34 years old. I have three children. I have a wife, and two cats. I have a chronic illness. I am a software developer.</p><p>These are the defining factors of my entire life, in many ways. Things that have comprised my identity over the last two years. Things that are blessings, and burdens, and in some cases, shackles. But they have been my primary driving force for everything I do.</p><p>I am a product of “toxic masculinity”, this idea that men need to endure downward pressure silently. I embrace it in many ways. All of my heroes have similar stories, be they real or fictional; a step-father from a strict Christian background. The case of World War 1 medals I keep in my basement that belonged to my great grandfather, who suffered terrible PTSD and ended up being an abuser due to it. Jeremiah Johnson. Man’s men, broken and fragmented in some way. Imperfect. Damaged.</p><p>I always told myself and my wife that we need to strive to go beyond that. To find the line our own parents stopped in their direction of us, that led to so many of our own personal traumas. To ensure that it “doesn’t happen again”, that we provide structure and meaning for our kids. That we don’t fail them, the way our parents fail us — the way all parents fail all children.</p><p>Working in retail in my thirties no longer felt acceptable. I had spent my life poorly in my twenties. I had no education. I had no money. But we made some decisions that put us into a better spot, and so we used that opportunity to send me to school. Not much of it, just a five month course, a mere ten thousand dollars, a drop in the pan compared to friends and family that went into hundreds of thousands in debt in order to succeed. That made true sacrifices.</p><p>But with three children, I couldn’t afford debt anymore, nor the stress of it. I was ill, you see. Sick with a condition called “IBS”, irritable bowel syndrome. I got diagnosed after severe stomach pain. A well meaning family doctor suggested dietary changes, which I followed. I cut out gluten at the suggestion of a friend. A couple of months later, I went back to the same doctor — I felt fine. Blood test revealed a small possibility of Celiac disease, but it was nothing to worry about. Probably just stress.</p><p>I prepared for school, went through the application process, the prep, the red tape. I left my job of nearly three years, and was happy to go — no one there was happy. It was becoming a miserable environment full of frustrate faces. It was a relief to walk out those doors, and the first time I set foot in my new school, I was enamored.</p><p>For three months I worked hard, and some days, I didn’t. I was still sick, not quite as often. The burning pain in my abdomen, time spent in bathrooms, these things were still present but hey — it’s school, it’s stressful. This is normal. And I told myself, “You have always kind of been this way. You have always had a sensitive stomach.”</p><p>Once school ended, I accepted a practicum with a great truck company building software. I was in over my head after agreeing to build them a web application upon finishing their front-end website, but I did it. With much trial and error, and help and advice from a friend, I fulfilled my obligation to them. In early summer, I woke up in the middle of the night with such pain in my stomach that I kept passing out. An ambulance came. The paramedics found me passed out on the floor, but thought it was alcohol, or drugs. They made me crawl down my stairs out to the ambulance, and when they checked my blood pressure, they rushed in to apologize to my wife — they needed to take me in, now.</p><p>My potassium levels had dropped dramatically, as had my blood pressure. They said it was severe food poisoning. I went back to my doctor the following week to explain. At the time she said “these things can happen”, but she was starting to develop a curiosity, and was considering contacting a GI specialist. She did not make me aware of this, and I started to get the impression I was being written off. I walked out of the office with no intention of returning.</p><p>At the end of my contract, I began to look for work. I found it in a wonderful company called Atrema Technologies. I had interacted with one of the employees over LinkedIN, just happening to enjoy his posts. He mentioned one day how they were hiring and when I contacted him, suggested I send a resume in via the regular channels.</p><p>My cover letter was casual, and informal. Against the advice of my employment counselor at school. It also had a nice PDF resume attached, against the advice of that same counselor. But I have always preferred to go my own direction, and honesty is something I value. I am a people person in some ways, despite being a total introvert in others; and I don’t like to blow smoke, or posture. I’m just a guy looking for work, I saw your ad, and the job sounds cool.</p><p>A week later, I was called for a phone interview. A couple days later, an in-person. I was sat at the table with the two co-partners, and their accountant. The interview went well, I was honest about what I knew, and didn’t, and a day later I was offered a job.</p><p>Two months later, I would be in the office with one of those same owners and accountants, telling them essentially that I would have to leave because a doctor had told me to refrain from working. But I had no idea when I happily accepted the position and celebrated that evening what a dark turn things would take.</p><p>A couple of weeks into my employment I was on the phone with a friend. I had to interrupt her — I needed to use the bathroom. Sparing all the grisly details, one thing you never want to see when you use the bathroom is blood. And I saw a lot of it.</p><p>I told my wife when she got home, and she said “you should see a walk-in doctor tomorrow, just to be on the safe side”. I did, and I explained what had happened and what I had been going through, trying to justify to him “it’s probably no big deal, I have IBS, I just started a new job” but the look on his face was grave, and wasn’t changing. He sent me in for a colonoscopy, promptly. I was surprised by this, and a little terrified. The month leading up to this event had been worse than usual, sure; but colon cancer?</p><p>Sure enough, there was no colon cancer. But in the weeks leading up to the scope I got drastically more ill. My entire upper GI tract was constantly inflamed. I had acid reflux so bad I couldn’t sit. Our accountant came into the office early one morning to see me stacking old computers up so I could turn my sitting desk into a standing desk. I felt like I couldn’t breathe a lot of the time, like gas was trapped in my throat.</p><p>After the scope the GI doctor told me she wanted me back in a few weeks for an upper endoscopy. Now they wanted to rule out other malignancies, but she had a particular concern, which was the possibility that I had Celiac disease. “Your bloodwork was positive. I am surprised you weren’t sent in a year and a half ago.”</p><p>I had to keep eating gluten to make sure that the test could be carried out, and the entire month was a nightmare for me physically. Constant pain, burning, bathroom time, GI issues. I would walk past our receptionist’s desk multiple times a day. I had building anxiety, and moments of panic. But the scope came — the biopsies were taken. And in two months, we would have an appointment to go over the results. In the meantime my prescriptions were acid reflux medication, and a gluten free diet.</p><p>Things got far better before they got worse. I had to go to emergency multiple times during this process. The first was the day after the endoscopy when I had brutal stabbing pain. I was there all night, until two in the morning. They checked me out and everything was fine, just inflammation — I was discharged. A week later, the pain returned with a vengeance, and I was back at an emergency walk-in. The doctor came in with papers. Some were bloodwork, which was clean. But he had another slip that explained my biopsy results.</p><p>“Judging on this, it looks like you have Celiac disease.”</p><p>That was well and good, but the gluten free diet didn’t seem to be doing anything. The acid medications gave me constant, horrible gas pain in my stomach and back. I could no longer sleep. As we approached Christmas, my anxiety peaked. Christmas break hit, which I was thankful for. But three days before I woke up and my head was spinning. And it didn’t stop spinning, for two months after.</p><p>Lightheaded, dizziness, confusion, constant nausea, memory loss, and agitation. I remember driving somewhere and pulling off to the side of the road, screaming at nothing. My wife and kids, confused about what was going on. Yet another hospital trip during the break, and this time I was also told “you seem to have blood in your urine.”</p><p>I broke down. I lost it. I just sat in my car and sobbed like a child, so frustrated at all this weakness. I drove to work that morning with the intention to quit — I was done. I was dying, or something, I didn’t know what was happening, and I couldn’t carry on.</p><p>They asked me to leave the room for a moment, and when they brought me back in, they offered to give me vacation time I hadn’t even earned yet. “Go home and try to get better.” I told them I had no idea if I would be able too or not — I still didn’t know what the hell was going on. But I took it, and I left.</p><p>I found a new family doctor, I found new medications. I eventually got back to the office, with a lot of sick days taken here and there, but I was back. Still not myself. Still with barely any presence of mind. I couldn’t even do my normal job, not like I used too, but thankfully I was able to spend a lot of time building servers instead. On my lunch I would play my guitar, nauseated, dizzy, staring out the window trying not to throw up. When I got home, I’d crash on the couch, and sleep until after dinner, fatigued and exhausted. And my digestive issues still kept me up all night.</p><p>Now, sleep clinics. Sleep apnea machines. Referrals to urologists, and neurologists, months away. New medication. It works better, but it’s still miserable. I got diagnosed with low B-12, and started injections. Feeling better after a couple weeks, more functional, still awful in many other ways. Eventually things start to calm down — the gluten free diet is working. I can now remember that back before the neurological issues hit, I had seen my initial family doctor again. I brought her the paperwork with my biopsy results. “It’s probably not Celiac” she said. She seemed frustrated with me. “it’s probably just stress”. The uncertainty and deflation of that diagnosis being “wrong” just killed me.</p><p>As things are improving, other things have begun. I am having panic attacks now. I am visiting clinics again. My mom calls me, frustrated. “There is nothing wrong with you.” But my heart is beating out of my chest. They hook me up to EKG machines, and check my heart. Nothing.</p><p>“Could it be a panic attack?” I ask the physician.</p><p>“Yes, but I am not supposed to say that — people get angry when I say that.”</p><p>So now I am coping with that, and am on anti-anxiety meds, and they are starting to help. My first full week of the office, back on my actual job comes, and I get through it. But COVID has come to town.</p><p>“We are working from home effective immediately.”</p><p>The boss buys everyone laptops — sleek, pretty little things. I love mine. We will be out of the office for a couple weeks. No big deal.</p><p>A couple weeks becomes months of course, and during that time, I am getting off the acid meds. I haven’t been to a clinic, but I get panic attacks now, full on. I start to get anxiety when I leave the house. I don’t often leave the house, I just sit there and endure inside whenever I can. And I am struggling with work — I can’t remember anything. I am doing tutorials meant for beginners, and they aren’t clicking. I am doing things I have done a hundred times before, and forgetting. My vision is foggy still.</p><p>More appointments. They have put a tube into every hole in my body. I am afraid of needles now. Bloodwork makes me nearly pass out one time, and a doctor has to catch me on my way to the floor. I decided I need to get back into the office, so I do. And for two days, its fine…hard to get there, hard to stay, but I manage. I don’t feel well when I am there at my desk. But it is nice to be out of the house.</p><p>The third day, I barely make it in. I just can’t seem to get in, and I don’t make it on time. But I make it. Halfway through the day, I feel so ill, I need to leave. I spend the next two days sick. Another appointment over the phone, and another GI test, barium swallow this time to check the small intestine. Great.</p><p>I have been seeing a therapist now through work, and she tells me I have PTSD. Something Vietnam vets have. It makes no sense, but I go along with it. The first few sessions are illuminating, and difficult. My barium test comes and goes, everything looks fine. As I write this, I am still waiting for results of my last test to see if Celiac is in remission. Most days are okay, but I can’t leave the house for more than an hour. My therapist tells me this week will be a “litmus test”. I am pumped to get back to work, to go to the office.</p><p>But there is too much going on at home. The kids are crazy, I need to be here to help with them. We need to run to the store on this day, I have another appointment, so I might as well work from home and use my lunch to take it. A week goes by, and nothing but excuses, and I haven’t gone back in once. But today’s the day.</p><p>I am sitting in my room for an hour trying to will myself to go, and like a bad dream where you can’t run from the thing that is chasing you, I feel paralyzed. I call my wife upstairs. I break down to her — I don’t know what to do. I cannot leave this house, but I am trapped here now.</p><p>That night, more therapy, and I explain what is going on. We go over it. I tell her how I can’t leave my house anymore. It terrifies me. I do something I have done maybe a handful of times in my life during this session, and break down bawling in front of a total stranger. I feel emasculated — where are my heroes? These strong men that endured solitude? Who I wanted to be the best of, but here I am, embodying the worst of them? I am so sick of feeling weak, and sick. I am frustrated. I’m angry.</p><p>She tells me there is much work to be done. This isn’t going to happen overnight. I have negatively associated a place I was so excited to go too, a job I was so excited to get, with my illness. “It’s like when you eat something and get the flu, and you can’t eat it anymore” she explains. Everything I eat makes me sick, so I understand. I subsist off a diet of liver, and potatoes, and other vitamin dense foods because food doesn’t give me pleasure anymore. I don’t get the cravings some get for gluten — it looks revolting to me now because of what it has done to my body and my mind.</p><p>That same day a friend calls me. “I am the lead of such and such company, and I am looking for a support analyst. Building machines, that sort of thing. No coding, and I know you love that, so I am not sure it’s a dealbreaker.”</p><p>It’s not. I can’t code anymore. I can’t even go to the office, of a job I like, with people I like, because as soon as I walk near the building, I have a panic attack. I can’t even go to the game store I used to frequent because I got sick when I was visiting a lot, and I feel symptoms as soon as I walk in there.</p><p>I go for an interview, the longest I have been out. And this place is new. I don’t feel sick here. I am laughing and having a good time with my friend who is interviewing me. For the first time in months I feel like a human being, interacting with other human beings.</p><p>The next day I do the hardest thing I have ever done — I leave a job I love. I leave a position I was proud to get. I abandon, and betray people that have helped me so much because I just can’t go back. They are confused, but they understand. They offer to allow me not to return back to work, but will pay me until the end. I read this on my screen and I break down because I almost can’t stand the kindness. Because I have made myself into such a wretch, because I have filled myself with so much guilt over all this — but also know that I can’t go back, and that everything they have given me is what I needed. That I can’t refuse help or hospitality out of toughness, because I have become such a weak creature that requires it.</p><p>But I am recovering. My physical health isn’t perfect, and it never will be. But I am at 80 percent, which is more than I can ask. I still have neurological problems. I am still sick and dizzy and weak sometimes. More than likely, over the next ten years, they will find another disease or ailment — I have a long genetic history of auto-immune conditions. And my children may be cursed with these things as well.</p><p>After the interview, and after I submit my resignation, I get a phone call. It is my family doctor. The one that failed me, in my eyes. The reason I am here resigning. The reason I am still a “junior” after two years of coding, and the reason I am starting over. She is calling to explain why she did what she did. She is calling to apologize, but is being honest that she didn’t intend to let my health suffer. “But you DID let it suffer. This didn’t have to go on.” And she keeps explaining. And I do something I never thought I could after many angry moments thinking of her, and her dismissive failure to assess my condition; I forgive her.</p><p>I forgive her because I just want to move on, to whatever is next. Just like why I leave a job that I could stay at for years. Because I need to go forward, wherever that is, away from where I have been. COVID is starting to relax, my condition is improving, but I am a changed person. Things won’t be the same.</p><p>I failed. My two year coding journey came to an end in failure. But it was a successful failure, because it has opened other doors. And I am still alive, and still feeding my family.</p><p>There is a lot of uncertainty in my future still, but a glimmer of confidence. The same one that led me to leave my stable job and go to school.</p><p>At the end of Jeremiah Johnson, after his family have been killed, and he has been living on the mountain for ages, and doesn’t even know what time of year it is anymore, the original grizzly hunter that taught him how to survive finds him, and sees the thousand yard stare in his eyes. And he says: “You’ve come far, pilgrim”.</p><p>And Jeremiah just says, “Feels like far.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a804f83ff04" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To (Code) Solve Problems]]></title>
            <link>https://medium.com/@brainshock/how-to-code-solve-problems-212c03212998?source=rss-9f535797fdf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/212c03212998</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[consulting]]></category>
            <category><![CDATA[problem-solving]]></category>
            <dc:creator><![CDATA[Joel Peterson]]></dc:creator>
            <pubDate>Thu, 03 Oct 2019 17:27:51 GMT</pubDate>
            <atom:updated>2019-10-03T17:27:51.862Z</atom:updated>
            <content:encoded><![CDATA[<p>At the beginning of this last week, my first major product launch went down. For the few days before, it was already running on the server, we just hadn’t attached analytics or shared it with the world. So the anticipation was building. The goal was to launch Tuesday, with Monday left to go over any additional niggling things that needed to be addressed.</p><p>To break down the app and what it does, it is based on the principle of CRUD.(Create, Read, Update, Delete) It is used a lot in relational database applications, which mine essentially is, but from day one there have been issues with the data itself and figuring out how to work with and move it.</p><p>All of the data the company uses is hosted and managed on a cloud through a third party provider. They re-purposed an app meant for automotive sales to work with the what the company uses — not a bad thing, since they are essentially in the same industry, although they deal primarily with the repair and sales of big tankers, and have a dedicated parts store. The objective of my application was to give their customers a way to visualize their part inventory originally, and to replace outdated online magazine catalogues they used prior.</p><figure><img alt="A picture of four parts on the G.B.M. Parts website." src="https://cdn-images-1.medium.com/max/1024/1*WvV6wwlZIZ5Pts_mjMwdiw.png" /></figure><p>They needed a brand. More specifically, they needed to restructure their web presence around their brand. The web design they had built for them a few years prior was quite out of date. It was the product of a graduate from the same program I completed, in a time where they were still teaching archaic methods of web design and tools like Adobe Dreamweaver. In speaking to one of my current instructors, who also went through the course, the person running things on the design end was incompetent, and fortunately let go to make way for people with a more modern outlook on how things should be taught.</p><figure><img alt="A picture of the deprecated G.B.M. Trailer design." src="https://cdn-images-1.medium.com/max/983/1*wuM1kgzZz8gO-pBKz3RvLQ.png" /></figure><p>This brought up the first problem; how do we get things looking modern? The first two months of the project was all about this, and doing a complete redesign of their front-end website. It wouldn’t have made much sense to jump right into a functional web app, so they decided to hold off on that. They would let me spearhead the new design, and go from there. This is what I eventually came up with, prototyped, and built, initially in WordPress and React, and then moving over to pure HTML, CSS, and JS for longevity sake, since they didn’t really need to update information on the front page. And if they ever did, they would come to me, and the code would be easy enough to change.</p><figure><img alt="A picture of the G.B.M. Trailer Service website." src="https://cdn-images-1.medium.com/max/1024/1*OwuPEVLl8cMIBe9axiSZEQ.png" /></figure><p>A simple, pretty, functional single page application with total mobile responsiveness built right in.</p><p>So what work did I do here?</p><p>Of course I wrote the code. I built examples. I changed designs several times, and consulted with the owner on these changes until we were both satisfied with the direction. I decided on languages, frameworks, and tools to use, and tested them. If a bug came up, I squashed it. If I didn’t know how to do something, I learned.</p><p>The least of all of this was “writing code”. The bulk of what I was doing here, which took place at every point in the building process, was “solving problems.”</p><p>My client had a problem when I first signed up with them. They had several, really, but the initial problem was that their website was out of date. So then I had to troubleshoot it, look over their design, talk to the former developer to get a grasp on what was going on, and then come to them with a proposal of the product I hoped to build, why it would be better for them than what they currently had, and what would be required of them for me to do my job. They accepted, and the rest is history.</p><p>The next major problem they had was a parts store that was growing exponentially, but had not online presence, or way to convey the multitude of parts they sold and present that visually to a client base. This had yet even more minor problems associated with it: what sort of data exists which represents this inventory currently? How do we parse this data? How do we visually represent it in an appealing manner that is consistent with the new site design, to have it be a part of a bigger global brand? And then on an even lower level, what frameworks/tools/languages do we use to build it? How do we deploy it? How do we track metrics? And so on.</p><p>But the bigger problems here are not code or tool problems; they are people problems. They are business problems. Just like the way a high level language operates closer and closer to human understanding than something like assembly language, which speaks to the computer right down to the metal in machine code, my client wasn’t interested on what was going on down below — he needed to see those visual results to make a determination of if it was functional or not.</p><p>So your job as a coder, no matter where you work in the industry, is to solve a people problem. This is why the genius coder with no social skills is lamented and not lauded in most organizations today. You need to have the empathy and social understanding to grasp this, and tackle it. The low level skills are essential of course, but they mean nothing unless you can communicate properly with your client to determine what their actual needs are; and sometimes these needs do not always line up with what they are saying, so you end up as a natural consultant on what direction might be best for what they are trying to achieve (although that call is ultimately up to them.)</p><p>These are the large problems. And they need to be solved. But there are smaller problems that arise as well, even during the “low level” problem of coding which aren’t necessarily code problems you can whip up an algorithm to solve, or refer to in documentation.</p><p>On the Monday before launch, we had an interested problem arise. There were three parts that simply were not showing up on the website.</p><figure><img alt="A picture of three parts on the website that were not displaying initially." src="https://cdn-images-1.medium.com/max/1024/1*nQYpn4Ueb46xvcOiENPVhQ.png" /><figcaption>These parts exist now, but they didn’t before…or did they?</figcaption></figure><p>The way the data works is that every part in our database, represented as an excel file and then converted to CSV (comma separated value) before being imported into the stack as a .sql file has a Category, Sub-Category, and Manufacturer field. If there is nothing in these fields, the data is not rendered onto the page. We do this because we only want parts on the site which are organized so that as the images are built for this part inventory, we have some control over what is displayed and what is not. There are close to 10,000 parts here, and there was not enough time to produce four images for each before the product had finished development. This is what the client wanted, and they wanted to create these images themselves, so it is quite a lot of work on their end, and we always want the inventory to look “finished”, even if there are parts missing.</p><p>Initially I thought it was some problem in my code. After a long time fishing around, I didn’t find anything, but I did find a very long regular expression that I used to make sure foreign characters were filtered out:</p><figure><img alt="A picture of a very long line of code representing a regular expression" src="https://cdn-images-1.medium.com/max/785/1*FvIkBJWomQ1UnIFAINpyyg.png" /><figcaption>A very long regex.</figcaption></figure><p>That’s a long string. But the reason I implemented it was because we had some parts coming up with + signs in them for some inexplicable reason. I spent a week in the parts department helping to inventory things so I could get some sense of how part numbers operated them, but I didn’t think much of it when I saw a + sign in there. There were lots of parts with / and . somewhere in the middle of the part number after all, and the regex made sure we filtered those out for naming conventions, since naming images in Windows does not allow for or like those characters, and that is the operating system my client uses to build those images.</p><p>A bit of investigating later, and I figured out that the parts with the + sign were very similar in their other characters and identical in their description to the parts in question. In other words, they were the same thing. So I searched the database for the long string and found something interesting:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/174/1*s2WMS0VJFViYgR3czhmnMg.png" /></figure><p>I am not an Excel guru. I have learned to use bits and bods of it, especially for this project, but I didn’t realize that CSV files automatically convert certain strings into scientific notation. This is essentially the same as it’s long form counterpart, 222251215311, but once saved as a CSV, changes it to this short, and useless form.</p><p>This is not a code problem. This is not even a data problem. This is a piece of software working exactly as intended, but because the developer (me) was ignorant about this feature, I had to figure out this potentially disastrous issue in four hours, a day before launch. Some Google-fu and a bit of fussing later, I got it hammered down, but it is a real good example of the necessity of having a strong ability to problem solve a multitude of issues, both related directly to your craft and in areas outside of it, in order to accomplish a narrow, singular goal: <em>providing the client with a solution to their problem.</em></p><p>If you are a slow learner when it comes to code, don’t feel discouraged. If you are not a great problem solver, that is going to be far more of a hindrance. I am someone who has had to fight, hard, to learn this craft. And I have a very long way to go; I am practically a baby still, because it doesn’t come naturally. I am not concerned about people who it does come naturally too — they’ll be fine as long as they have a problem solving mentality and basic social skills. I am more concerned about those who feel like coding is “impossible” or discouraging.</p><p>If you break down the practice into a few key components, you will see that the core of what your profession is, is coming up with solutions. Your code is just a tool in your toolbox. You are a problem solver — not a “coder”.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=212c03212998" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How To Learn How To Learn How To Code]]></title>
            <link>https://medium.com/@brainshock/how-to-learn-how-to-learn-how-to-code-aa74f1629cd2?source=rss-9f535797fdf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa74f1629cd2</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[c-programming]]></category>
            <category><![CDATA[learning-to-code]]></category>
            <dc:creator><![CDATA[Joel Peterson]]></dc:creator>
            <pubDate>Fri, 20 Sep 2019 13:45:31 GMT</pubDate>
            <atom:updated>2019-09-20T13:45:31.182Z</atom:updated>
            <content:encoded><![CDATA[<p>My search for the best way to teach others how to code while still being a learner myself is a tough one. Everyone has an opinion on this.</p><p>Over the years there have been so many different fad diets and workout programs. Intermittent fasting, the Paleo Diet, Veganism, the “Spartan” diet, Atkins — I have tried all of these in my sometimes admirable, rarely effective attempt at maintaining a normal body weight. Some worked amazingly well and were quite livable, at least for a time.</p><p>Keto was one that did not work for me. The concept of being able to eat as much fat and protein as you want (although that isn’t really true if you are doing it properly, but this is not a diet blog) is appealing to a lot of people for sure. And I have seen the diet work wonders for tons of people. I was not one of them however. I felt nauseous for the entire three week span I was on it, and I was trying to do it the “smart” way near the end, though I can say honestly that the first week was a festival of bacon-y delights and other crap that has no business going anywhere near the human esophagus.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/598/0*kAUlgDerTlKSaEVu" /></figure><p>I stopped because it was miserable. I felt like garbage, I had no energy, I couldn’t focus, and I was sick. Yet someone else would have done fantastically well on it, and I had seen that result.</p><p>When I was in school for web development, I had a fellow student tell someone struggling to “just learn C” as a piece of advice. This was someone who was struggling with basic HTML. I actually pulled them aside and said “I don’t think that advice is going to work for them.” Yet recently, when a friend of mine came to me and asked, “if I want to learn how to program, where should I start?” I recommended C.</p><p>So what gives?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/0*ylPvm8jVH49Twwj_.jpg" /></figure><p>I mean, I don’t even know C. I have no real interest at this point in learning it, though C++ is looking appealing due to some things in the coding world I am interested in. So a new person, who knows nothing about code is coming to me and asking the same question I berated a colleague for, and I am giving them the same advice. Have I suddenly turned into “elitist” code-man, who thinks his skills are so good that C is like child’s play to him now?</p><p>Hardly.</p><p>I still struggle with JavaScript. I still do code tutorials. I HATE code tutorials, but I do them. In fact, I keep going back to the old ones I tried months ago that I got stuck on. And the reason why is I work with the language every day. So every day, I learn something new, even if it is something small. I am someone who learns incrementally, by doing things multiple times. Eventually they do stick. If I were to meet a past version of myself I would NOT recommend that he learn C as his first language, because I know what my strengths and weaknesses are — I know how I learn now, and I try to stick to that method because it works best for me, and that method is slower and more gradual.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/236/0*WM6ymfcqMJyBplHS" /></figure><p>I don’t insult the intelligence and ambition of my friend however. She is in a four year program to learn marketing, accounting, business — general entrepreneurship. I am sure I’m getting some of that wrong, but either way she is a go getter. My colleague was not ill intentioned in his suggestion either; C is a pretty standard starting place to learn code. Harvard’s EdX program CS50 uses it as a starting place for a good reason. If you can learn the fundamentals of C, you have a good basis for just about every other language that comes after, even if you never touch C again. I learned about my first algorithms from doing C tutorials, and when they came up in JS, I understood them innately.</p><p>If she starts learning C and were to say, “you know, this is really confusing, it isn’t working out”, then I already have a contingency for where I would direct her. Because if she winds up being serious about wanting to learn, the key to the process will be finding out what is necessary for her to learn — where to begin, where to go from there. Every person is going to have a different level of innate competency, but I don’t think anyone is “unteachable” if they have a desire to learn. And this is coming from someone who, six months ago, was telling his wife “I just don’t think there is anyway I can reasonably figure this out.” I have no natural talent; but it’s something I really want to enjoy, and I am being persistent, and I want others to be able to find that in themselves if this stuff is interesting to them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*Ts6o8bCuKh06_OHt.jpg" /></figure><p>The challenge is not learning how to code: the challenge is learning how to learn how to code. Once you can figure that out, you just need to stay the course.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa74f1629cd2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Web Designs That Look Like Things]]></title>
            <link>https://medium.com/@brainshock/web-designs-that-look-like-things-8412a8b3548b?source=rss-9f535797fdf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8412a8b3548b</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[visual-design]]></category>
            <category><![CDATA[aesthetics]]></category>
            <category><![CDATA[vaporwave]]></category>
            <category><![CDATA[ui]]></category>
            <dc:creator><![CDATA[Joel Peterson]]></dc:creator>
            <pubDate>Thu, 19 Sep 2019 02:47:10 GMT</pubDate>
            <atom:updated>2019-09-19T02:47:10.228Z</atom:updated>
            <content:encoded><![CDATA[<p>When I was in College, I spent an inordinate amount of time fooling around with designs that look like real world objects. If there is a term for that, I haven’t figured it out yet, though one of my instructors was certainly keen on it.</p><p>I have a fondness for the visual design of certain objects; game consoles, computers, machinery, and even books and their covers. Currently I am building a little personal website so I can show off my projects, and be able to use it as a resume to share my (kind of atrocious) GitHub repo. Sitting next to my computer is a little book called 6502 Assembly Language Programming by Lance A. Leventhal. I purchased this book when I was exploring assembly language for NES programming (which I still am) and was bummed when the cover on the sale page was some generic looking green cover, since I wanted the one with the orange and black design. To my delight, that’s what ended up coming anyways, and I love the way it looks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/604/0*ZaUIuOdPtcrLO44X.jpg" /><figcaption>Perfection</figcaption></figure><p>Does it matter? Not even slightly. But I am a visual person, so when I see a good cover, I get excited. I like the fonts here, the stark contrast of orange on black. So I attempted to replicate this design on my own page.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1JdOpA7depDQnXYC7q1vVQ.gif" /><figcaption>Some modified pre-existing codepens, a bit of effort and…voila!</figcaption></figure><p>Now the term “a splash of backend” sounds…almost inappropriate? I don’t know, but it needs to be changed, that much is true. The concern then becomes — where do you go from here? What does the rest of the page look like?</p><p>I experimented a bit with different colors down the page, since it is going to be a single page scrolling design. It didn’t work. Like, at all. So I have decided to rigidly adhere to this existing color scheme. Time will tell if it pans out at all, and not all of them do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FI6ArrhEol1zt2IKklcv8g.png" /></figure><p>Now I REALLY like this design. I worked hard on this project. It was meant to be a modern store front for a product designed in the 80’s, but I tried to stuff in as much visual goodness as possible. I wish this was a real site. The “soundwave” is a bit ugly as I was not familiar with how to implement an SVG at the time. But it works as intended, even if it is built of little tiny images mashed together haphazardly, and breaks at a resolution change.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Sc7xQnQuWkq9iov9" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/0*S3D93Ce8WhycP4zE.jpg" /><figcaption>I love the “soundwave”.</figcaption></figure><p>After this project, I worked on a full portfolio page mainly to show off some JS. I tried to replicate the design of the original Game Boy, as I did the Family Computer, so it seemed to make sense thematically. In my opinion it was a little too “on the nose”. I pretty much just ended up building a Game Boy in CSS instead, which kind of defeated the point, something I realized earlier. The idea of this method is not to copy a design completely, but to transpose certain elements, shapes, color schemes from something else, and build something new out of it. In the 6502 design, I have not replicated the “pixelated” text, but I have some way of representing the element of those little orange blocks. So I would put it somewhere right in the middle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*W5SqLm1IACgDr9Hsmi76iA.png" /><figcaption>Cute? Sure. But sort of missing the point.</figcaption></figure><p>There are other things I find aesthetically cool that I’d like to turn into something. The wood grain of an Atari 2600 for example. I am big into computer aesthetics — the sort of hard to put your finger on, not quite vaporwave but something approximating it theme of computer aesthetics.</p><p>If you want to see something else that is “on the nose”, check out this fullblown, no apologies vaporwave art used in the book Fullstack React:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*S50AaLbdUNlfOFlX.png" /></figure><p>I’m not even sure what to say about that.</p><p>Except for maybe “awesome.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8412a8b3548b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Introduction to Computer Programming]]></title>
            <link>https://medium.com/@brainshock/an-introduction-to-computer-programming-e31333bf1d21?source=rss-9f535797fdf1------2</link>
            <guid isPermaLink="false">https://medium.com/p/e31333bf1d21</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[computers]]></category>
            <dc:creator><![CDATA[Joel Peterson]]></dc:creator>
            <pubDate>Tue, 17 Sep 2019 16:27:04 GMT</pubDate>
            <atom:updated>2019-09-17T16:27:04.455Z</atom:updated>
            <content:encoded><![CDATA[<p>The biggest difficulty in learning to code for me was always trying to understand what code actually is at a fundamental level. I heard the same analogies many times; a computer is like a series of light switches! A processor is a brain! And while I use many of these analogies myself (because after plenty of scrutiny, I understand better why they are useful) most introductions to programming raise more questions than they answer.</p><p>“Okay, so a computer is a bunch of light switches. And manipulating these light switches sends instructions to the processor. Got it.</p><p>Now how does that get me to playing Halo on my PC?”</p><p>Cue instead headache.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*NovRz8bBGW3x5u0_031Q9g.jpeg" /></figure><p>Here’s the thing; you can make a strong argument that you don’t need to know anything about a computer in order to code. And I’d agree with that. I am a new web developer who has been working on my own for the past nine months. I did a “boot camp” for three months before that as a primer, landed a practicum after which developed into a full contract. My work does not require me to know very much about the actual operation of a computer, and the reality is that there is a great deal I probably don’t grok fully. I am working with extremely high level code such as JavaScript, so it just really isn’t a necessity.</p><p>That said, I can’t imagine doing my work without understanding at least to a degree how things work “under the hood”, if only for my own sick curiosity.</p><p>But how do you explain it to a layman? Most people’s first coding experience these days is going to happen in one of two ways; they either find a course online, which teaches them how to code small, sort of nebulous programs, or they find a tutorial book which does the same. Some of these things are going to be better at explaining code than others. Self-taught students who dig deep might find the excellent book Code: The Hidden Language of Computer Hardware by Charles Petzold. But more than likely, people interested in coding are going to have a career oriented incentive to learn, and are going to jump in head first.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/334/1*qRczSBFIZtcrwDwYQkfrFg.jpeg" /><figcaption>Code: The Hidden Language of Computer Hardware and Software</figcaption></figure><p>They will write their first Hello World! without really understanding what’s going on. They will marvel at their creation. Maybe they will create a few other programs using if statements, and loops. But at a certain point, they might sit there and think — okay, now what? I can make some simple programs, but how do I turn this into Microsoft Windows?</p><p>This is where the learning curve begins, and where things really start to break down for a lot of people. Maybe they press on, start writing bigger programs in their language of choice, and get to a point where they can’t figure something out. So they smack their head against a wall, think that they are incapable, and give up.</p><p>My reason for writing this is simple: I want people to understand that this is a completely normal, and expected part of the process of learning to code. Whether you do high level scripting, or low level driver development, the process is essentially the same. And it can be summed up very simply.</p><p>Coding is the act of establishing that you have a problem that needs to be solved, the process of thinking about how to solve that problem, and then the execution of going through the documentation of your coding language of choice to figure it out what tools are necessary in order to give the computer the proper instructions needed, the “program”, which solves the problem.</p><p>Maybe your problem is something simple like outputting a string of data at request. Maybe it is as complicated as getting a rocket to the moon. But the core principle never changes.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*j950gutI4u23OAYZhhD-8g.jpeg" /><figcaption>Margaret Hamilton and the code she wrote that put a man on the moon</figcaption></figure><p>That is why it is so important to establish that there is a critical difference between “learning to code” and “learning a programming language.” Although there is certainly overlap, you could theoretically learn to code with a “fake” pseudo-language and it would make little difference to understanding how code fundamentally works.</p><p>A good coding book for beginners is not one named something like, “Learning C#”. If it were for beginners, a far more apt name would be “Learning Programming Using C#”. The language is the vehicle to allow you to understand the process. Once you understand the process, and that 90 percent of your time will be spent problem solving internally, and 10 percent typing your solution into a computer and running the code, things usually click far more easily.</p><p>I am currently building a document which tries to accomplish this. As a beginner coder who has a fascination with older machines such as the Commodore VIC-20 and is very interested in the technicalities of how code functions, I am hoping I can bridge this gap. I am sure many others have done so even better than I ever could, but that is my intention anyway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/587/1*9dafZGOSVcqpcq-P074gdg.jpeg" /><figcaption>Commodore Vic-20</figcaption></figure><p>Speaking of the VIC-20, the reason this particular machine fascinates me is because it is such a “simple” machine that a single user could learn and understand every component of the machine; every memory address, every chip and their functions and how to invoke these functions, right down to a schematic level. On later machines this would quickly become extremely difficult, and very soon, essentially impossible. These were hobbyist devices more than anything, with very limited “practical” functionality. In an era where most consider computers a practical device in essence (except for perhaps powerful game machines, which can still function in a practical regard) it’s hard to image buying a computer for the sole purpose of experimentation — learning for the sake of learning, which is something I am a huge advocate of personally.</p><p>In the document, I try to start even earlier, with the Altair 8800. It’s difficult to “gloss over” the history of computing, and as I write the document, I now understand why it is so troublesome to put together a brief but cohesive run through of what a computer actually is. At 14 pages, it barely scratches the surface, and needs to be expanded (and amended) in many regards.</p><p>Eventually I move up to machine language, and then assembly, and then finally to interpreted and compiled programming languages, ending the document with a breakdown of a “Hello World!” program in C, and end just short of recommending what is arguably the best book on C, The C Programming Language by Brian Kernighan and Dennis Ritchie.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/379/1*zzzIp0VH2VR8Xj5WFEoGvA.jpeg" /><figcaption>One of the best books on C</figcaption></figure><p>I try to explain at this point that there is a lot more to learn, of course — the different features of the language, and of course, how to actually build something useful. But I make the suggestion the go forward in learning C, at least for a little while, as C is one of the fundamental starting points from which most other modern programming languages are derived. At this point, the reader needs to make a critical decision; what do I actually want out of programming? And then decide where to go accordingly, whether that be in the direction of web development, game development, or what have you.</p><p>At this point, the article is too early to call “apt”, so I hope “helpful” can at least apply. I went to school, somewhat ignorantly because I had the cash to pay for it at the time, without really knowing if programming was actually for me or not. This is a really important determination to make. Though most students graduated the course, some did not pursue coding afterward. Some started, and quit. Some never finished at all, and went to something else. Some very few never finished, but ended up finding coding jobs anyways — probably because they pursued it in their own time, had things start to “click”, and then just continued bashing their head against the wall until they got things working.</p><p>Over the past nine months, I have had many conversations with myself about my own self doubt. Just recently I applied for a job similar to my previous one. But I have realized now that most of qualms are about my personal fears — the fear of not getting a job. The fear of getting a job and losing it. As a father of three, this is important stuff.</p><p>But I have chosen to keep treading the road less traveled. And for anyone else who has done the same, we share the same anguish, doubts, and fears perhaps. But we also share something else — a fascination and love for this thing called code, and an addiction to the high it gives us when we get something different. And as Robert Frost declared in his poem, sticking to that road is ultimately what we hope will make all the difference for us.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*kuAx0sfd2p_tieGrmhRMnA.jpeg" /><figcaption>A pointless and arbitrary visual representation of a code wormhole so that the article has something neat in it</figcaption></figure><p>If you are on that same fork and not sure how to proceed, I hope this and other things I write can perhaps help you to figure out where you want to be.</p><p>The document I have written is available in its early form if anyone is curious to look at it. I would love any and all feedback of course! There is still much I do not understand, but am working hard too as I develop my own skills.</p><p><a href="https://www.docdroid.net/Uw6CxtY/an-introduction-to-programming-converted.pdf">https://www.docdroid.net/Uw6CxtY/an-introduction-to-programming-converted.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e31333bf1d21" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>