<?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 Alec Ortega on Medium]]></title>
        <description><![CDATA[Stories by Alec Ortega on Medium]]></description>
        <link>https://medium.com/@whynotdostuff?source=rss-6ee199aa11d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*2UjNibJAL0BdKHsRosu6lQ.jpeg</url>
            <title>Stories by Alec Ortega on Medium</title>
            <link>https://medium.com/@whynotdostuff?source=rss-6ee199aa11d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:16:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@whynotdostuff/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[Meet the First-Gen Engineer Who Forged His Path In Tech Despite All Odds]]></title>
            <link>https://medium.com/read-think/meet-the-first-gen-engineer-who-forged-his-path-in-tech-despite-all-odds-3f8e4854ef02?source=rss-6ee199aa11d------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f8e4854ef02</guid>
            <category><![CDATA[life]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[entrepreneurship]]></category>
            <dc:creator><![CDATA[Alec Ortega]]></dc:creator>
            <pubDate>Thu, 29 Sep 2016 12:52:14 GMT</pubDate>
            <atom:updated>2016-09-29T12:52:14.582Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DwGPP9XZPtoIooOHmrZmJA.png" /></figure><p>“If you could have <em>anything</em> in the world right now, what would it be?”</p><p>Some friends and I were having a heart to heart one evening, and a few guys tossed around the idea of having a big house or a nice car. But when the question came around to me, I answered without hesitation: “Stability.”</p><p>Three years ago, after graduating high school, I came out to my Hispanic Catholic family, and unfortunately, the experience wasn’t as positive as I had hoped. In an instant, <strong>my seemingly stable life spiraled out of control:</strong> my parents cried, said they “would never accept me the way I was,” and offered to get me conversion therapy. I clung to the thought that eventually they’d come around, but instead, my coming-out only served a catalyst for their own personal turmoil, as they quickly separated and moved out, leaving me alone in my childhood home that was under impending foreclosure.</p><p>I felt paralyzed.</p><h3>The Chaos</h3><p>I had planned to live at home, attend community college, save tuition money, and eventually transfer to a four-year in-state university. But as the date on the eviction notice quickly approached, this plan became laughable. <strong>How could I even think about college when I didn’t know where I was going to sleep, how I was going to afford food, and what tomorrow would bring?</strong></p><blockquote>“I didn’t want to be defined by the circumstances life had handed me; I wanted to be defined by what I could do with the opportunities that lay ahead.”</blockquote><p>Luckily, a friend’s family took me in, and I got a job stocking shelves at a retail store. But that was just a temporary fix. While most kids my age were trying to decide on a college major, I had to decide what I was going to invest 110% of my time in so that I could stay afloat.</p><p>After a few months of working retail, I started taking some classes at a local community college in architecture and transitioned over to graphic design, but I wasn’t in love with creating illustrations. One day, a friend mentioned that I might like building websites, and by time I created my first CSS hover state, I was hooked. Stocking shelves during the day, I spent nights and weekends reading every article on web development I could find.</p><h3>Life 2.0</h3><p>In web development, changing just a few lines of code can have a huge impact on how a web page behaves and looks. I was on a mission to do the same with my life, I needed to make a few choices in a small amount of time that would fundamentally change my future. <strong>So within eight months, I taught myself to code, applied to schools in Boston, and moved cross country, alone, for a fresh start.</strong></p><p>Once I got into college, I felt like maybe I had finally caught up to my peers, and I hoped I would assimilate into some form of normalcy. A week into attending classes, however, I felt completely out of place. I still had to lie that I wasn’t hungry for lunch when in reality I couldn’t afford food. My heart still raced whenever I went to the store to buy essentials because I was worried that the bank would stop letting me overdraft my account. It was difficult to relate to people when conversations about going home for the weekend or spring break trips felt so horribly alienating.</p><p>On top of this, my peers had connections and established networks in Boston.</p><blockquote>“I had no idea how to break into an industry that I so desperately wanted to pursue a career in; no concept of what opportunities were available to me.”</blockquote><p>I needed to find a community where I could surround myself with people who were just as passionate to share their technical knowledge as I was eager to learn it.</p><p>Initially, I found the community I was looking for through my first internship at a startup accelerator called <a href="http://masschallenge.org/">MassChallenge</a>, and through connections I made there, joined a company called <a href="http://www.wespire.com/">WeSpire</a> as a QA Engineering Intern.</p><p>When I started at WeSpire, I had absolutely no idea what I was doing; the Ruby on Rails syntax looked like hieroglyphics to me. But I wanted to be an engineer, and I knew that anything I learned would get me one step closer to my goal.<strong> I would sit in front of the computer for hours scrolling through tutorials and </strong><a href="http://stackoverflow.com/"><strong>Stack Overflow</strong></a><strong>, trying to ignore emails reminding me that I was drowning in credit card debt.</strong> Fortunately, the time I invested in learning new coding languages allowed me to be able to build more things, which led to me being a more valuable employee, which led to a title change and quantifiable salary bump, and with it, the first taste of stability I’d had in years.</p><p>All I wanted was to be able to take someone I liked to dinner without worrying about the fact that it would put me even more in debt than I already was. I had to project a facade into the world of someone that had it far more together than I actually did, and I had to believe that at some point I wouldn’t have to any more. It’s true that money doesn’t buy happiness, and I value the connections I make with the people around me above all else. But, it’s extremely difficult to even think about making carefree happy memories or even just relaxing <strong>when the concern of your financial security is always in the back of your mind.</strong> Friends rallied around me, I cut out everything that was holding me down, and I kept moving forward.</p><h3>Paying It Forward</h3><p>Once I reached a place that somewhat resembled stability and became the first member of my family to hold a corporate job, I wanted to give back the opportunity that so many had given me up to that point. I connected with a non-profit that had just started at the time, called <a href="http://www.resilientcoders.org/">Resilient Coders</a>, which was running a small after school program to <strong>spread code literacy to young people from traditionally underserved communities as a way to help break the cycle of poverty</strong>. Using what I’d learned from my own experience, I started teaching students that might not have had the opportunity to go to college, but who had an incredible passion for technology.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HZzrRbtnXlPEqFEShTLYFA.jpeg" /><figcaption>Alec and some members of Resilient Coders</figcaption></figure><p>Two years later, I now lead mentorship at Resilient Coders, and we’ve launched a bootcamp program in partnership with the Boston Police Department and an internal consultancy that lets our students work on real world projects. This experience has shown me first-hand that a<strong> four year university isn’t the end-all-be-all of talent sourcing</strong>. The mentees that I meet with every week, as well as the students I’ve taught through alternative-education programs, like <a href="https://www.startupinstitute.com/">Startup Institute</a>, have gone on to earn full-time salaried positions at successful local tech companies, including <a href="http://www.freshtilledsoil.com/">Fresh Tilled Soil</a>, <a href="https://www.thegrommet.com/">The Grommet</a>, <a href="https://www.bostonglobe.com/">The Boston Globe</a>, and my current company <a href="http://hubspot.com/jobs">HubSpot</a>.</p><h3>Bridging the Opportunity Gap</h3><p>To outsiders, the tech industry often seems like an ivory tower. Even with the insane demand for engineers, the <strong>barrier of entry is almost too high</strong> for anyone that doesn’t have access to quality learning materials or copious amounts of free time. Additionally, when the perceived ideal persona of a tech worker is a white male with outstanding internships and a degree from a prestigious university, it <strong>alienates and discourages anyone that doesn’t fit that mold from even considering tech as a career path</strong>.</p><p>As a step toward diversifying the tech industry, today’s companies need to acknowledge and embrace the fact that some people, like me, have gotten to this “Point B” from a wide range of “Point A’s.” Diversity isn’t just about hiring people with a certain skin color, gender, or sexual orientation. It’s about first recognizing that we often have an unconscious bias favoring those who’ve had the same experiences as us, but then using this knowledge to <strong>consciously hire people with different perspectives, ideas, and non-traditional backgrounds</strong>.</p><p>That’s how we raise the bar; that’s how we challenge one another to think differently. I’d urge tech companies to look closer, because what people lack in experience and pedigree, they may make up for in passion. <strong>At the end of the day, while brilliance is everywhere, opportunity is not.</strong></p><h4>“Breaking Barriers: First-Gens in Tech” Event</h4><p>To help bridge the opportunity gap, HubSpot is hosting an event called <strong>“Breaking Barriers: First-Gens in Tech”</strong> which will introduce first-generation students to the range of career opportunities that exist in technology. We’re defining first-generation students as those who are the first in their families to attend college, born to immigrant parents, non-US born, or the first in their families to work in a corporate environment.</p><p>The event will take place at the HubSpot offices in Cambridge, MA on Friday, October 14th from 9:30 AM to 4:00 PM. If you would like to attend or know someone who might want to attend, please <strong>sign up </strong><a href="https://www.eventbrite.com/e/breaking-barriers-first-gens-in-tech-tickets-27586925236"><strong>here</strong></a><strong> </strong>and spread the word.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f8e4854ef02" width="1" height="1" alt=""><hr><p><a href="https://medium.com/read-think/meet-the-first-gen-engineer-who-forged-his-path-in-tech-despite-all-odds-3f8e4854ef02">Meet the First-Gen Engineer Who Forged His Path In Tech Despite All Odds</a> was originally published in <a href="https://medium.com/read-think">ThinkGrowth.org</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[CSS: Beginner Tips and Tricks]]></title>
            <link>https://medium.com/@whynotdostuff/css-beginner-tips-and-tricks-160cfb6504d7?source=rss-6ee199aa11d------2</link>
            <guid isPermaLink="false">https://medium.com/p/160cfb6504d7</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[tutorial]]></category>
            <dc:creator><![CDATA[Alec Ortega]]></dc:creator>
            <pubDate>Mon, 07 Dec 2015 01:50:46 GMT</pubDate>
            <atom:updated>2016-02-12T16:39:26.308Z</atom:updated>
            <content:encoded><![CDATA[<p>HTML and CSS are arguably two of the easiest languages to learn and are usually the first two that total beginners pick up. You learn the languages and make a website that looks pretty decent in a minimal amount of time. Other than the cascading nature of CSS, it’s fairly loose in structure and unlike other languages it won’t scream at you when you screw up the syntax. But, as your original website grows in complexity, it’s easy for that beginning CSS to start looking like spaghetti code. It gets to a point where you have 10 different classes that override or repeat each other and the frustration of untangling your original code begins. So then where’s the best place to start and what’s the best way to structure your CSS code? Here are some best practices that I’ve come across that have been “ah ha!” moments for me when I was starting out.</p><h3>Think of CSS classes like adjectives</h3><p>I was initially taught to think of CSS classes as “names” for the elements on my HTML.</p><p>Following that train of thought let’s consider this example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xHqZQ7NvIMOPoMFYNrhP4g.png" /></figure><p>In this example, we’re naming each element differently and then just applying styling to each as needed.</p><pre>.box-1 {<br>  background-color: blue;<br>  height: 100px;<br>  width: 100px;<br>}</pre><pre>.box-2 {<br>  background-color: green;<br>  height: 100px;<br>  width: 200px;<br>}</pre><pre>.box-3 {<br>  background-color: blue;<br>  height: 100px;<br>  width: 100px;<br>}</pre><p>While this is a great start, this train of thought quickly becomes confusing as your project scales. Imagine if at some point in the future we needed to add ten more boxes. While classes do directly tie together styling and markup, it isn’t a one to one relationship. Instead of thinking of them as names, think of CSS classes as <strong><em>adjectives</em></strong> that are mini packets of code that describe specific attributes. Instead of directly connecting CSS classes to elements, we can use classes as a way to describe how elements are similar or unique in relation to one another.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p7G1WvSUVpptorn5FXTPfA.png" /></figure><p>We can create a class that describes how the elements are similar to other. A class <em>box</em> that describes a similar trait for all boxes shown.</p><pre>.box {<br>  height: 100px;<br>}</pre><p>Now we can describe how they differ from one another. The immediate traits that should jump out are the varying widths and colors of the elements. We can write this in CSS like:</p><pre>.small {<br>  background-color: blue;<br>  width: 100px;<br>}</pre><pre>.large {<br>  background-color: green;<br>  width: 200px;<br>}</pre><p>The great thing about this technique is that it naturally leads to a convention of naming a class after the styling it applies. For instance, using “primary-color” as a class name over “blue”. You can then go back and use these modular bits of CSS in the future should you ever need to create more boxes. While this definitely won’t happen in all cases, it’s a good thing to think about if you find yourself applying the same property to multiple elements.</p><h3>Don’t Rely too Heavily on Frameworks</h3><p>While CSS frameworks provide a great way to quickly prototype, they can also lead to an overly-complicated solution to a very easy problem. It’s important to realize that a grid system isn’t the only way to implement a responsive layout or element. While frameworks are great, using them can sometimes be like using a bulldozer to plant a flower. The other day a co-worker of mine told me he wanted to have something sit in the center of the screen, be full width on mobile but stop at a certain point on desktop, and it had to be responsive in between the two. The solution he showed me looked like:</p><p><strong>HTML:</strong></p><pre>&lt;div class=&quot;row&quot;&gt;<br>  &lt;div class=&quot;show-for-medium-up md-1&quot;&gt;&lt;/div&gt;<br>  &lt;div class=&quot;sm-12 md-10&quot;&gt;<br>    &lt;img src=&quot;path/to/image&quot;&gt;<br>  &lt;/div&gt;<br>  &lt;div class=&quot;show-for-medium-up md-1&quot;&gt;&lt;/div&gt;<br>&lt;/div&gt;</pre><p>While this definitely gets the job done, there are extra divs in the markup that are only used as spacers. In addition, there’s no fine-grained control over the final width of the image without changing the number of columns that the div takes up. The solution is technically correct and gets the job done, but at first glance it’s difficult to get an immediate feel for what it does. I proposed the alternative solution of:</p><p><strong>HTML:</strong></p><pre>&lt;img src=&quot;path/to/image&quot;&gt;</pre><p><strong>CSS:</strong></p><pre>img {<br>  margin: 0 auto;<br>  max-width: 600px;<br>  width: 100%;<br>}</pre><p>Here, it’s immediately apparent that the image needs to be full-width, and max out at 600px. The only magic is the auto-centering margin. If you didn’t know that applying 0 auto automatically centers relative or statically positioned elements, this blog post probably just changed your life. If you find yourself placing framework classes on elements you’ll never see, or if you’re using HTML elements for styling, you might be running into this issue.</p><h3>Make Every Line Matter</h3><p>A really good way to test that you’re not repeating yourself or using CSS properties that you don’t need is to use the handy dandy developer tools in your browser of choice.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lor0xC4d2SYuClvkttOmIg.png" /><figcaption>Chrome CSS Style Inspector Tool</figcaption></figure><p>If you click on an HTML element within any inspector tool you’ll be shown all the CSS properties that are applied to that element. You’ll also be shown some checkboxes next to those properties when you hover your cursor over them, you can turn on or turn off that particular style by checking or unchecking the box. Since I didn’t really understand every single property that I was applying when I started out, turning off styles and seeing the element immediate affected by the change was extremely helpful. The ideal end goal is to have <strong><em>almost</em></strong> every “uncheck” change the target element. Removing unnecessary properties makes your CSS much more manageable and readable.</p><p>While these most definitely aren’t all the best practices they are some of the common ones that have helped me in the past. I hope they can help you in your future endeavors in CSS!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=160cfb6504d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>