<?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 James Friedman on Medium]]></title>
        <description><![CDATA[Stories by James Friedman on Medium]]></description>
        <link>https://medium.com/@jamesfriedman?source=rss-cae556f36b4d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5887-uQafgWzVHQe.</url>
            <title>Stories by James Friedman on Medium</title>
            <link>https://medium.com/@jamesfriedman?source=rss-cae556f36b4d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 03:08:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jamesfriedman/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[RMWC: A year into open source ]]></title>
            <link>https://medium.com/@jamesfriedman/rmwc-a-year-into-open-source-cd3840d2659e?source=rss-cae556f36b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/cd3840d2659e</guid>
            <category><![CDATA[material-design]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[rmwc]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[James Friedman]]></dc:creator>
            <pubDate>Thu, 14 Feb 2019 17:49:29 GMT</pubDate>
            <atom:updated>2019-02-14T17:49:29.601Z</atom:updated>
            <content:encoded><![CDATA[<p>“Pursue your curiosities, you don’t know where they’ll lead you”. That was the best advice I’ve gotten in my career, courtesy of my old boss Chris. A little over a year ago, my curiosities turned me towards running my own open source project. I had a direct need that had to be met, a user interface library for React, and after pursuing other options, I committed to doing it myself.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ozf9js0Lgi8aF3mMgTkk8A.png" /></figure><p>It has been a long but fruitful year. RMWC has evolved an incredible amount and grown for past what I had first envisioned for it. I’ll spare you the technical details on all of the crazy things that have changed and instead tell you all what has come out of the journey:</p><ul><li>I got to go to Mountain View California for Google IO, Google’s yearly developer conference. After a few months of running the project, the manager of the Material Design dev team reached out to me to see what I’ve been doing and mentioned I should drop by IO if I was in town. Conveniently, I was going to be in CA that week anyways, so I switched around my travel plans a bit and shot up from San Diego. It’s not something I would’ve ever gone to unsolicited, but I’m glad I did! I’d recommend everyone in tech go at least once in their career. <a href="https://medium.com/@jamesfriedman/google-i-o-2018-review-hello-ai-overlords-c761d9332808">https://medium.com/@jamesfriedman/google-i-o-2018-review-hello-ai-overlords-c761d9332808</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/proxy/1*X5Bgb-yjVtR9rMQ2NUW_OQ.jpeg" /></figure><ul><li>At the conference I got to connect with some of the Googlers that are working on the pieces of the project that directly relate to RMWC. I’ve gotten to form from friendly relationships with them and give more feedback on both the Material Design Components implementation as well as Material Design as a whole.</li><li>958 Github stars, 307 Closed Issues, 28 contributors, and 27K npm downloads a month (and counting)! Github stars aren’t exactly the most objective metric for quality in the world, but I’d love to see that number hit 4 digits (or 5).</li><li>Personally, I have it being used by 5 projects and it contributes to millions of dollars in ARR to the companies I’m affiliated with. A tertiary search of Github also shows it being used in over 700 publicly visible projects and there are many more private ones.</li><li>I’ve gotten to participate in some User Experience studies around Material Design and Material.io. It was extra fun because I got to participate as both a designer and a developer.</li><li>I’ve gained a much more intimate knowledge of React, NPM, package management / authoring, build systems, lerna, and picked up a love for Typescript along the way.</li></ul><h3>The long haul</h3><p>Part the recent effort for the V5 release was to future proof RMWC to make it more robust and more maintainable. As its usage in the greater community, as well as my own reliance on it continues to grow, it became apparent it was time to erase all of the early adolescent mistakes and catapult this thing into adulthood. So, heres to year 2. Thank you to all of the contributors, the backers, the supporters, and users. Let’s keep making it easier to build great things.</p><p>Some Links</p><ul><li><a href="https://github.com/jamesmfriedman/rmwc">https://github.com/jamesmfriedman/rmwc</a></li><li><a href="https://jamesmfriedman.github.io/rmwc/">https://jamesmfriedman.github.io/rmwc/</a></li><li><a href="https://npm-stat.com/charts.html?package=%40rmwc%2Fbase&amp;from=2018-09-13&amp;to=2019-02-13">https://npm-stat.com/charts.html?package=%40rmwc%2Fbase&amp;from=2018-09-13&amp;to=2019-02-13</a></li><li>This is crazy… <a href="https://blog.prototypr.io/googles-official-material-design-components-can-be-wrapped-in-react-and-rendered-to-sketch-60ed40ef6020">https://blog.prototypr.io/googles-official-material-design-components-can-be-wrapped-in-react-and-rendered-to-sketch-60ed40ef6020</a></li><li><a href="https://medium.com/@jamesfriedman/my-first-real-open-source-project-c6379be30251">https://medium.com/@jamesfriedman/my-first-real-open-source-project-c6379be30251</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cd3840d2659e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google I/O 2018 Review: Hello AI Overlords.]]></title>
            <link>https://medium.com/@jamesfriedman/google-i-o-2018-review-hello-ai-overlords-c761d9332808?source=rss-cae556f36b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c761d9332808</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[googleio]]></category>
            <dc:creator><![CDATA[James Friedman]]></dc:creator>
            <pubDate>Thu, 10 May 2018 14:15:19 GMT</pubDate>
            <atom:updated>2018-05-10T14:15:19.201Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X5Bgb-yjVtR9rMQ2NUW_OQ.jpeg" /><figcaption>Keynote Address</figcaption></figure><p>Throughout the course of the past 8 months, I’ve been hard at work maintaining my open source <a href="https://jamesmfriedman.github.io/rmwc/">RMWC</a> library which is based around one of Google’s technologies. I ended up getting to connect with some of the members of the Material Components team and they casually said I should drop by Google I/O this year, Google’s annual developer conference. Under normal circumstances I would’ve politely ignored that, but the timing sat conveniently between an existing trip to San Diego and a trip to Yellowstone national park. Not only did I/O sound like a much better alternative to two cross country flights, but it’s also a well known and well attended promise land for lifelong geeks such as myself.</p><h3>From a first timer’s eyes</h3><p>If you’ve ever been to a conference for anything, you know the drill. There is usually a keynote address to kick the whole thing off, followed by smaller topic based sessions, breakouts, plenty of booths to visit, food, and swag. I/O followed the tried and true pattern but with a small twist that it was outside at an amphitheater surrounded by large temporary tents for the sessions and small geodesic domes focused around specific topics. They launched into a press friendly keynote showcasing the product and progress their teams have made over the past year, no doubt fueled by relentless deadlines and thousands of gallons of coffee and Soylent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SlwKpzpaReesDdbKRxe95Q.jpeg" /><figcaption>Geodesic Domes</figcaption></figure><p>While the keynote had some “oohs”, “ahhs”, and “finally!” moments, the real show stealer was Google’s upgraded assistant. She / He / It was able to call a hair salon and a restaurant on a person’s behalf and schedule a haircut and dinner respectively with the human on the other end being none the wiser. It’s like having front row seat to the end of the world.</p><blockquote>It’s like having a front row seat to the end of the world.</blockquote><p>After the first keynote, we were treated to a second keynote targeted specifically at developers. I haven’t gone back and counted, but I’m fairly certain the speakers used the words machine learning and AI somewhere between 1 and 5,000,000,000 times over the course of an hour. It’s quite clear where Google’s future is headed.</p><h3>A mixed bag of sessions</h3><p>Sessions at I/O were given on a wide range of tech related topics by a variety of speakers from different backgrounds a fields. If you know me, I’m an excitable optimist and extreme generalist, so it was challenging for me to figure out exactly which things I might be interested in (the answer: everything). I heard sessions on AR / VR, machine learning, design theory, design application, PWA’s, web components, and about everything else you could imagine in between those. A few standouts for me:</p><ul><li><a href="https://webxr.io/">Web XR: This is a new spec for the web supporting both AR and VR experiences, available for trial today.</a></li><li>Designing for Inclusivity: “To be truly inclusive you need the people you are designing for to also participate in building the solution” [Paraphrased] from <a href="https://www.daytondailynews.com/lifestyles/meet-the-wright-state-graduate-who-helped-create-black-panther/lx54Nx2ujJwXC53xXvE3zN/">Hannah Beachler</a>, production designer for Black Panther</li><li><a href="https://www.polymer-project.org/">Polymer: Showcasing a new Reactive way of building web components.</a></li><li><a href="https://techcrunch.com/2018/05/09/google-used-improv-rules-to-deal-with-a-farting-assistant/">Designing for AI: “We use the artful dodge for queries where AI is backed into a corner that doesn’t shut down the user but encourages more conversation.” [Paraphrased] from Ryan Germick, creator of Google Assistant’s personality.</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*O_sbmImBbw-FRqPhV-oq2g.jpeg" /><figcaption>Session on the new reactive Polymer API</figcaption></figure><p>The better sessions tended to be the ones that covered high level concepts and avoided getting into the weeds. Unfortunately some of the sessions tried to cover too much. For instance, a session on “High level intro to TensorFlow apis” would have resonated better if it gave me an overview of all of the things <a href="https://www.tensorflow.org/">TensorFlow</a> could actually do instead of trying to show me how to train a machine learning model in 45 minutes with concepts that, even though I’m familiar with, I had trouble following.</p><p>One thing to note, I don’t think it’s actually worth attending I/O for the sessions themselves. They’re all streamed online and most don’t offer much participation except for a Q &amp; A at the end.</p><h3>Googlers steal the show</h3><p>These guys and girls are the real reason to attend I/O. You’ll find employees from a vast expanse of Google’s company with experts dealing in the latest, greatest, and bleeding edge. A lot of them were tethered to their geodesic dome showcase and you could tell that some were definitely getting tired giving the same 3 minute tech demo and having the same conversation after two days. But outside of the rote demonstrations, these people all had an incredible amount of knowledge in their specific subject areas and were more than willing to go off script and nerd out. I work in machine learning but also went in with some computer vision problems I’ve been stuck on for a while. Hearing the words “Yeah, that is a really hard problem to solve, have you thought of this?” from someone on the Cloud Vision team was the best validation I’ve had in a long time. I’m not crazy, this $*@&amp; is hard.</p><p>There were also “Office Hours” where you could sit down one on one with a Googler about a specific topic and get direct feedback. I was able to do a Design Review with someone from the <a href="https://material.io/">Material Design</a> team, and even though I took her on a whirlwind tour of things I’ve been working on, she offered thoughtful and helpful feedback and was able to point me to some new parts of Material 2 that were in direct response to the pain points I was experiencing.</p><h3>AI will eat the world</h3><p>I would be remised if I didn’t dedicate some human generated words to this. Google is betting big on artificial intelligence, and as such, they are enabling an army of developers to bring it to the masses. A quick primer on AI if you’re not familiar with it, it is better stated as machine learning: a bunch of complex algorithms that can be taught to do things like handwriting recognition, image recognition, and natural language understanding.</p><p>The problem is, it seems to be the goto answer for everything right now and its implications are far reaching. We are enabling the intelligent machine to make certain decisions for us based on some set of data it learned on. Back in 2015 there were headlines like “<a href="https://www.theverge.com/2018/1/12/16882408/google-racist-gorillas-photo-recognition-algorithm-ai">Google’s racist AI labels black people as Gorilla’s</a>”. While it was technically true that it was doing this, racist wasn’t the right word: it was biased. You see, whoever trained the algorithm fed it lots of pictures of people and told the computer “this is a human”. Unfortunately, that set of images didn’t have enough ethnic representation leading the computer improper labeling some groups of people as something other than human. What gets to me is that these algorithms were created by the best of the best in the field, and they got it wrong. What does it look like when you give this power to the average run of the mill developer who will use it just because everybody is doing it and doesn’t take the time to teach the machine the “right” things? I know I’m taking a lot of liberty here but Isaac Asimov’s “Three Laws of Robotics” break down pretty quickly when the machine doesn’t even identify someone as human.</p><p>In the Q&amp;A after the “Designing for AI” session, I was able to ask a question to Ryan Germick, the creator of the Google assistant’s personality. After watching AI make a phone call and book a haircut, I asked whether or not he felt that AI had a responsibility to identify itself as such. “I don’t know” he remarked, “it’s definitely a good ethics question”. In the spirit of the artful dodge though, I’m sure the AI would find a way of avoiding answering that particular query.</p><h3>My first time and last time</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1AKQpX_JF7Vrd5rJE24P-A.jpeg" /><figcaption>Google I/O 2018</figcaption></figure><p>To be honest, I think I had a bit of culture shock with the whole thing. It’s not every day that I’m surrounded by 7,000 of my fellow tech peers. I didn’t want to foot the $350 a night for a hotel so I stayed in an AirBnB hostel which I’ve come to find out is something called a “Hacker House” in the valley. It might as well have been the house off of the tv show Silicon Valley, complete with a shared workspace and all of the colorful characters.</p><p>While I had a blast on my 2 days at I/O (I had to leave a day early), I think this will be my first and last time. I highly recommend everyone who gets a chance to go should do so at least once. It’s a hefty price tag, but the overall experience and the direct connection to Googlers is worth it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c761d9332808" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Real Open Source Project]]></title>
            <link>https://medium.com/@jamesfriedman/my-first-real-open-source-project-c6379be30251?source=rss-cae556f36b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6379be30251</guid>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[James Friedman]]></dc:creator>
            <pubDate>Fri, 12 Jan 2018 13:30:38 GMT</pubDate>
            <atom:updated>2018-01-12T13:30:38.019Z</atom:updated>
            <content:encoded><![CDATA[<p><em>The following article is based on my experience in building </em><a href="https://jamesmfriedman.github.io/rmwc/"><em>RMWC: A React library wrapping Google’s official Material Web Components</em></a><em>.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SZv-Y1gfseEb1o9ZCmcmDw.png" /><figcaption><a href="http://jamesmfriedman.github.io/rmwc/">React Material Web Components</a></figcaption></figure><p>I’ve always been amazed with how much software is given away for free. From a consumer’s angle, the tech world always seems to be selling, tracking, and advertising. But for those of us who make the things? Free. Not just <em>kind of free…</em> like, totally free. It’s free to use, reuse, change, modify, distribute, scale, explode, explicate and use however you see fit. We would think it was crazy if mechanics just gave each other free car parts, but in tech it’s a way of life.</p><p>I’ve been contributing to Open Source Software(OSS) projects for a while now. I remember the first time I heard about Github. Back then the tagline was “Social coding” and it absolutely blew my mind that I could use and contribute someone else’s stuff. The first time I submitted a pull request to another code base and it was accepted, I felt like I had just performed some sort of wizardry. Over the next ten years, I would submit small PR’s, occasionally some large ones. When I found bugs I would open up issues, or post solutions I found. I even open sourced a few small utility type projects and was amazed that sometimes people actually used them.</p><h3>Code Switching</h3><p>When I made a move from <a href="https://angular.io/">Angular</a> to <a href="https://reactjs.org/">React</a> in the past year (two OSS programming frameworks), I had to find a new set of tools. Any developer proficient in a language or framework has a long list of libraries they use to get stuff done. I was at an immediate disadvantage as I scoured the web looking for the things people use most. I was looking for a user interface library (read: buttons, menus, toggles, etc) that implemented Google’s now ubiquitous <a href="https://material.io/">Material Design</a> language. The good news is, there were lots of them for <a href="https://reactjs.org/">React</a>!</p><p>I started a new project and jumped into using what appeared to be the most popular and supported one, <a href="http://www.material-ui.com/">Material UI</a>. I got to work on building my app for the next few weeks. It was all good until I pulled it up on my iPhone and the app just crashed. I started digging in and after several days of beating my head against the keyboard, I realized <a href="http://www.material-ui.com/">Material UI</a> had performance issues that couldn’t be mitigated. I sighed, and found another widely supported one called <a href="http://react-toolbox.io/">React Toolbox</a>. Turns out changing the way things look in <a href="http://react-toolbox.io/">React Toolbox</a> was a notorious pain. So I tried a third… a fourth… With respect, all of them were incredible tools with lots of utility and I’m glad they exist, major props to the people maintaining them. The Designer in me saw the places that were missed on the <a href="https://material.io/">Material Spec</a>, the incorrect rounding of corners, the incorrect use of ripples. Little details like that are important to me.</p><h3>Wrap it in a Bow</h3><p>I was getting frustrated when I stumbled across a little gem. Turns out <a href="https://www.google.com/">Google</a> had noticed the many <a href="https://material.io/">Material Design</a> implementations on the web and decided to make and support <a href="https://material.io/components/web/">their own library</a>! I was really excited about the prospect of a Google maintained project as I could ensure it was a bare bones implementation of Material Design. I quickly searched for a <a href="https://reactjs.org/">React</a> version of it but all I found were a couple of half implemented ones that I couldn’t use for various reasons. After weeks wasted on finding a workable UI library, I decided it was time to build my own.</p><p>My goal wasn’t to build this thing from scratch: I was going to use <a href="https://github.com/material-components/material-components-web/">Google’s actual code</a> and styling and just “wrap” it all in <a href="https://reactjs.org/">React</a>. It would be less for me to maintain, and it would constantly be improved by a team and <a href="https://www.google.com/">Google</a>.</p><blockquote>This is gonna be easy</blockquote><p>…said the very wrong me from 3 months ago.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WxAqXhgp4_mNFbSg-gC-NQ.png" /><figcaption><a href="https://material.io/components/web/">Google’s Material Components Web Homepage</a></figcaption></figure><h3>Hard Lessons, Good Lessons</h3><p>I’ll spare you the details of the ungodly amount of work that went into building it but I’ll do my best to summarize some key things I learned.</p><p><strong>Release Early</strong></p><p>Find the minimum you can survive with and get it out there and published. Until someone can easily install your library, they’re not going to use it. The moment someone else can start using it, new bugs and use cases will start popping up.</p><p><strong>Engage the Community</strong></p><p>Take issues people file seriously. Find out what’s working for them and what’s not. Encourage them to contribute and collaborate with them. You can’t built it all on your own, and even if you could it’s not fun to. I was genuinely shocked the first time I saw someone else answering questions without me ever intervening. And nothing feels better than someone submitting a fix for an issue you didn’t even know was there.</p><p><strong>Update Regularly</strong></p><p>I might have done this too often considering there were 6 alphas, 10 betas, and 13 release candidates… When someone runs into an issue with a library they’re generally stuck until a fix can be released. Nothing is worse than finding out that 100 other people are having the same problem, but the issue has been open for a year.</p><p><strong>Eat your own $%#@</strong></p><p>Dogfooding is a necessity. You’ll find issues, learn what works well, and most of all it gives you the drive to keep improving it. After having multiple apps built on this library, I’ve been able to improve it dramatically while enlisting the help of a growing group of regular collaborators.</p><h3>A V1 Release</h3><p>So today I released the first major version. There are no awards for it. It won’t make me any money. It will continue to take time and effort as things keep changing and evolving on the web at break neck speed. Its cost me 100+ hours of my free time… but really, I consider it a small price to pay. After all, I’ve saved thousands of man years with all of the great free software built on the backs of people much smarter than myself, the least I can do is try to contribute something of my own.</p><blockquote>Oh, and if you’re a dev reading this, next time you’re about to post an angry rant about how library X doesn’t do Y, I politely challenge you to try to make something of your own ;).</blockquote><p><strong>RMWC</strong> Src: <a href="https://github.com/jamesmfriedman/rmwc">https://github.com/jamesmfriedman/rmwc</a><br><strong>RMWC</strong> Docs: <a href="https://jamesmfriedman.github.io/rmwc/">https://jamesmfriedman.github.io/rmwc/</a><br><strong>Me</strong>: <a href="https://jamesmfriedman.com/">https://jamesmfriedman.com/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6379be30251" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quarterly Review: 3 Months into Full Time Freelance]]></title>
            <link>https://medium.com/@jamesfriedman/quarterly-review-3-months-into-full-time-freelance-2d3e8038d65b?source=rss-cae556f36b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d3e8038d65b</guid>
            <category><![CDATA[inspiration]]></category>
            <category><![CDATA[thoughts]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[freelance]]></category>
            <category><![CDATA[careers]]></category>
            <dc:creator><![CDATA[James Friedman]]></dc:creator>
            <pubDate>Fri, 14 Jul 2017 19:39:55 GMT</pubDate>
            <atom:updated>2017-07-16T21:29:24.034Z</atom:updated>
            <content:encoded><![CDATA[<p>I hate the word <em>Freelance</em>. It sounds disorganized to me, something that you would use to describe either a medieval knight or a hippie. I also joke that it contains the word “free” which is strongly juxtaposed to any number I could write down on a proposal. I’ve chosen to go with the word “Consultant” to describe what I do, but it’s a thinly veiled disguise. I’ve been full time freelancing for the past 3 months. It’s been an exciting adventure so far, and I wanted to share some of my experience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fwHGKA_nIbFWMwJzjv1lhg.jpeg" /><figcaption>A very hilarious and very real thing that happened to me…</figcaption></figure><h3>Making the Jump</h3><p>After 3 wonderful years at <a href="https://www.domo.com/">Domo</a>, it was time to to try something new. You only get better when you’re exposed to new challenges and 3 years at a tech company might as well be a lifetime. I was chatting with my dad about it back in March and he said something that will stick around with me for the rest of my life:</p><blockquote>As long as you work for someone else, they will define your ceiling.</blockquote><p>It was a moment of instant clarity. It’s easy to fulfill a job role, but what do you do when you outgrow it? Ask for a raise, ask for a promotion? What if neither are an option? My former boss would joke with me that I had reinvented my own job 4 or 5 times over the years. Still, I wasn’t raising the ceiling, I was just finding a different one to hit. But what if there was no ceiling at all? This is what attracted me to foregoing the security blanket of the 9–5. I had freelanced before but never as a permanent fixture. It felt like a life or death decision at the time. I was literally staring down another completely remote full-time job with all the bells and whistles. I took a deep breath, declined the ceiling I was being offered, and jumped.</p><h3>I Had Zero Brand</h3><p>Like, just a few degrees more than absolute zero… I had:</p><ul><li>A website that hadn’t been updated since the release of the first iPhone</li><li>A resumé I created for a job when I was 23</li><li>An outdated LinkedIn</li><li>A Twitter I didn’t use</li><li>A Dribbble account with 2 images.</li></ul><p>When you’re gainfully employed you don’t think about these things, or at least you don’t really have to. I gave myself a deadline of 2 weeks to become a real person on the internet.</p><p>I wanted to give Angular 2 one more chance (I did and still hate it) so I got to work on building a personal site. It didn’t have to be anything crazy, just from this century and not embarrassing. I set a target for an MVP and was able to get something live within the week. This was probably the single most important thing I did out of the gate because every single thing links back to it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8MK9EKNqRmWeSxJJKO-Ung.png" /><figcaption><a href="https://jamesmfriedman.com/">https://jamesmfriedman.com</a></figcaption></figure><p>I had no business card, no typeface, logo, nothing. Branding is also not my strong suit, although I consistently give it another shot. I wanted something simple that involved my initials, I opened up a scratchpad and played around with some fonts and shapes until I hit one I could live with. I ended up going with one that looked like scaffolding because it speaks to UX, DIN for my name just because I like it, and San Fransisco for the subtitle because of my love for Apple and mobile design.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zheu8GG8AbfleeLPhJUV2w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V0XeHcP7LL0G5aUo7h-XLg.png" /></figure><p>I ordered my business cards and began to apply my little bit of branding in as many places as I could. I began to sort out any and all relevant portfolio images I could find. This is harder than it sounds when you work for companies that don’t allow you to share things publicly. I updated my resumé, got GSuite setup for my business, and started using my new assets. I got to work on me legal obligations; I already had an SCorp, but my previous contract template left a lot to be desired.</p><p>I also went on a mission to signup for / update every single service I could find on the internet. Pay no attention to the fact that I will never use some of these services, but they do offer new ways to be discovered and improve your SEO. This was a ridiculous undertaking, like it took days. Every new site wanted the same exact information about work history. A few were kind enough to have an “import from LinkedIn button”. Maybe someday I’ll build a service that does it for you. “Become a freelancer with 1-click”</p><h3>Networking 101</h3><p>Now that I had a business card to hand out, I was ready to work. I started with the people I’ve been privileged to work with over the past 11 years. I organized my business contacts and proceeded to reach out to every single one of them. To be honest, I felt terrible doing this. It made me realize how bad I’ve been about keeping up with people. Still, if your friends won’t hire you, how would you ever expect strangers to? I let everyone know I had gone out on my own and was available for new projects. I was able to reconnect with some old contacts and one of my mentors so it ended up being a positive experience in the end.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HH8MihkDXo5Q48ua_tQ8gg.png" /><figcaption>Sometimes your old colleagues hire you :). View more at <a href="https://dribbble.com/jamesmfriedman">https://dribbble.com/jamesmfriedman</a></figcaption></figure><p>I also began attending a local tech meetup. I know what you’re thinking “Tech in Ormond Beach?” Surprisingly yes, although the crowd is a bit older and retired. To my surprise though, there are a couple of ex-Googlers and a guy from Oracle! I’m looking forward to attending more of these events. These people are a lifeline and, at the very least, a group of people that understand what I do.</p><p>About those biz cards... I hate them. I hate them because I always forget them. I hate them because when I remember them, they get messed up in my pocket. I hate them because no matter what technology exists to replace them, they’re still universally used and accepted. I’ve partially solved this problem by stashing them in the car, all of my bags, and leaving one in my wallet to get beat up in case I’m ever in a pinch.</p><h3>Time management…</h3><blockquote>You work for yourself, you can do whatever you want.</blockquote><p>False. True on some days, but mostly false. I worked hard at my last job, but I find myself working harder. Freelancing doesn’t fit into a nice 40hr a week box. It’s more of an ebb and flow of projects and hours that you have to keep up with. I track time for everything I do: both clients and personal. Truth be told, it’s hard to get 40 billable hours a week, in fact I’d probably have to work a minimum of 50 to bill 40 and I consider myself a highly productive person. For every phone call, proposal, lunch, home repair man, doctor’s appointment, extended bathroom break, Medium post, or any other interruption, the clock stops. Even when doing my best to mitigate this stuff it’s going to happen unless I move my office to a full blown isolation chamber. Paid time off and sick time also doesn’t exist. On the other hand, I can bill 24/7/365. It’s a wonderful world of tradeoffs that I’m sure is not for everyone. As for me, it fits my lifestyle and personality well: Highly-motivated-early-rising-self-starting-workaholic.</p><h3>“Have I Got a Deal for You”</h3><blockquote>Hey I know you said you’re only open to contracting but have I got a deal for you! This is a once in a lifetime job opportunity!</blockquote><p><em>I am only available for project based, short term (3–6 months) contract work. <br>I am only available for project based, short term (3–6 months) contract work. <br>I am only available for project based, short term (3–6 months) contract work.</em></p><p>It doesn’t matter how many times I tell people that, they just don’t listen. Maybe I’m a bit of a Snowflake, but I don’t want their full time job. I don’t care about the benefits. I don’t care about the competitive pay and options package. I don’t care about the beer tap they had installed at work. The reality is, they want to build a for profit tech company that is going to either make millions of dollars or crash and burn. If they make millions, I’ll find out that my shares are worth enough to pay off my car loan, if they crash and burn I’ll end up working harder and harder to keep the ship a-float until I jump off myself. It almost feels like going to the horse track and putting everything on #3. The pay off can be great, or you can lose everything.</p><p>My motivations are different. I wholeheartedly love to learn, discover, and create. I especially love helping people build companies and products! I love being there at the start and helping form ideas. I love jumping in where someone left off and expanding on what exists. I love solving the difficult problems and designing for growth. For the clients I’ve been privileged to work with the past few months, it has been an absolute blast designing and building the future.</p><p><strong>Warning, shameless plug</strong>: If one of my future clients is reading this, then <em>have I got a deal for you! </em>Let me help you get to where you need to be in a fraction of the time at a fraction of the cost. The current national salary average for a Senior UX / UI designer is 105K. Don’t settle for lower quality work because you can’t offer that salary. Hire me for solo work or to augment and guide your existing team. Visit <a href="https://jamesmfriedman.com/">my site</a> for more info.</p><h3>I’m Dreaming Again</h3><p>The best part of this journey so far is that I find myself dreaming again. My proverbial creative juices are flowing and ideas are popping up everywhere. I have an entrepreneurial spirit that won’t be extinguished. The fact is, it’s hard to shave off 10 hours a week to pursue your own dreams when you’re already working 40. Even if you can, it’s going to be hard to find a tipping point for your business before you can quit the full time gig. In three months, I’ve come across three different Co-founding opportunities that I would’ve never been able to pursue before. The best part is, I said yes to all three :).</p><p>It has been a crazy first three months and it feels like things are just starting to settle down, but I wouldn’t change it for anything. Overall, I’m exponentially happier. I have less stress. I have a solid amount of business coming in. I’m free to choose my own adventure.</p><p>I know this won’t last forever, my personality won’t allow for it. I enjoy project work and making my clients happy. But thats not my ceiling, thats just the first step on a new and wonderful adventure.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d3e8038d65b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Tale of Two Webs: Wordpress vs the Rest of Us]]></title>
            <link>https://medium.com/@jamesfriedman/a-tale-of-two-webs-wordpress-vs-the-rest-of-us-2ae87766c828?source=rss-cae556f36b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ae87766c828</guid>
            <category><![CDATA[art]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[rant]]></category>
            <dc:creator><![CDATA[James Friedman]]></dc:creator>
            <pubDate>Thu, 01 Jun 2017 18:35:00 GMT</pubDate>
            <atom:updated>2017-06-07T13:10:16.626Z</atom:updated>
            <content:encoded><![CDATA[<p>It was my mom’s birthday recently, and I decided I wanted to make her a shiny new website to showcase her growing collection of adorable animal art. I started with the same mindset I’ve had for the past 10 years when I would come across a content driven site that needed to be user editable: I’ll just use Wordpress.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qiAgiDW-SyQeKP9Qh4gJ3A.png" /><figcaption>Screen cap of <a href="http://sharonharrell.com/">http://sharonharrell.com</a></figcaption></figure><p>Throughout my career this has been my default; do the real development work in my framework of choice, and do the rest of it with one click installs and prebuilt themes. I did what I generally do, I Googled “Best Wordpress Themes of 20xx” and began browsing through tons of examples of beautiful well crafted themes. Lets face it, searching for this stuff inevitably lands you on ThemeForest. I purchased one of the more polished themes and jumped into getting it up and running.</p><p>I only had a few basic requirements for my mom’s site.</p><ul><li>It should need little to no maintenance by her</li><li>I wanted the content to come directly from Etsy</li><li>I wanted it to update automatically when she posted something new</li><li>The site itself had to be simple</li></ul><p>In my mind (the developer side of my mind), this should have been pretty cut and dry. I found a Wordpress Etsy plugin that could pull content and turn it into posts. Not automatic, but easy to rerun every so often. I installed the theme, used their automatic demo content, and ran the Etsy importer.</p><h3><strong>This is where things went south.</strong></h3><p>The Etsy importer only brought in things as a specific kind of post “etsy-item”, where as my theme only rendered things that were “gallery-item”. I found a post type converter, but it would have to be rerun immediately following the Etsy importer, and because the Etsy importer only looked at its own posts, it would think everything was missing and re-import all of the posts again :(.</p><h3><strong>My frustration was growing…</strong></h3><p>I know! I’ll just go edit the theme’s code and make it render the Etsy posts directly. I started digging, and digging, and digging deeper. How and why does a Wordpress theme require thousands upon thousands of lines of code? I’ve built entire applications with about a quarter of what they are using to render a portfolio site.</p><p>I was more than 8 hours in. I combed through plugins, the theme documentation and source code, I even considered rolling my own version of the Etsy Importer to work the way I needed it to.</p><p>Defeat is just another way to describe opportunity. I decided to use this an excuse to kick the tires of React and develop something that actually fulfilled all of my requirements.</p><p>In about 30 hours I was able to produce a static client side React app (all while learning React…) that meets the following requirements:</p><ul><li>It needs ZERO maintenance from my mom</li><li>The content comes directly from Etsy</li><li>It live pulls the API, so it’s always up to date</li><li>The site is unabashedly simple</li></ul><p>It’s not perfect, more like a prototype at best, lacking polish and not being super mobile friendly. It also makes all of the requests client side without caching, so it’s not hard to bust through Etsy’s 10 request a second limit. Still, she was excited about it and absolutely thrilled that it just magically reflected Etsy. Check it out at <a href="http://sharonharrell.com/">http://sharonharrell.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HKaoA8NmPg-DgvXaKnuBVQ.png" /><figcaption>Llama Mama <a href="http://sharonharrell.com/view/525059947">http://sharonharrell.com/view/525059947</a></figcaption></figure><h3><strong>I just don’t get it</strong></h3><p>Wordpress powers an enormous chunk of the internet. I’ve heard different stats, but people seem to agree it’s between the 25–30% mark. Is everyone else having the same experience? Am I the only developer capable of building Wordpress that is also incapable of installing a theme and accomplishing a few basic tasks with it? The more I look into it, the companies that are successful with the platform have created their own custom tooling to get Wordpress to work the way they want it to. My only issue is that these same companies are the ones selling these themes, most of which come with their own propriety admin and custom way of doing things. There really isn’t any sort of standard.</p><p>Recently Wordpress has made strides to develop a new trimmed down admin and a certified rest api in hopes of becoming a more fully featured and sane applications platform. This particular avenue is interesting to me, at some point I’m going to try using the new api to power <a href="https://jamesmfriedman.com,/">https://jamesmfriedman.com</a>.</p><p>Truthfully though, I don’t want to be good at Wordpress. I’m not trying to diminish it, I’ve seen people make some amazing things with it, and if thats your coup de grâce I applaud you for your resilience. I, on the other hand, just want to keep doing what I’m good at: solving complex problems and building data / logic heavy apps, the kind of things Wordpress isn’t right for anyways.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ae87766c828" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Inlining stylesheets with Webpack]]></title>
            <link>https://medium.com/@jamesfriedman/inlining-stylesheets-with-webpack-11f3e06232cb?source=rss-cae556f36b4d------2</link>
            <guid isPermaLink="false">https://medium.com/p/11f3e06232cb</guid>
            <category><![CDATA[stylesheets]]></category>
            <category><![CDATA[webpack]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[James Friedman]]></dc:creator>
            <pubDate>Tue, 25 Apr 2017 21:39:49 GMT</pubDate>
            <atom:updated>2017-04-25T21:44:49.464Z</atom:updated>
            <content:encoded><![CDATA[<p>In this post, I’ll explain how to inline entire stylesheets using <a href="https://webpack.js.org/">Webpack</a> to prevent an unsightly app during initial browser paint. This post assumes you have a basic understanding of <a href="https://webpack.js.org/">Webpack</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8NbZNpBU40Q7Zig2BEjUaw.png" /></figure><p>I’ve been working on a new <a href="https://jamesmfriedman.com/">personal site</a> lately and decided to use it as an opportunity to dive a bit deeper into <a href="https://angular.io/">Angular</a> (2 / 4 / the new one, not the JS one). Newer frameworks like <a href="https://angular.io/">Angular</a> and <a href="https://facebook.github.io/react/">React</a> have embraced component tree architectures which is awesome and flexible, but have their own set of caveats when it comes to the initial paint and bootstrap process.</p><p>Read any <a href="https://webpack.js.org/">Webpack</a> tutorial on CSS / SASS and you’ve probably seen styles loaded asynchronously from a javascript file using the <a href="https://github.com/webpack-contrib/style-loader">style-loader</a> and appended to the head via a &lt;style&gt; tag. This is great in terms of getting your app bootstrapped as quickly as possible, but it might come at the cost of your users seeing your app in a not so lovely state until while browser waits to load and parse the CSS.</p><p>I think it’s important to take a quick look at how a browser handles loading and parsing of CSS. CSS is considered a blocking resource when it’s imported using the &lt;link&gt; tag in your website &lt;head&gt;. This means that your browser will stop, download, and parse ALL of the CSS it encounters before it continues on. On the other hand, if you add the CSS via javascript using something like the <a href="https://github.com/webpack-contrib/style-loader">style-loader</a> and a &lt;script&gt; tag at the bottom of the &lt;body&gt;, your script will be parsed in order but the task of adding the actual CSS will fall in order of script execution in the call stack. While this method is great for getting something on screen as fast as possible, you could very well end up with what I did: an app that bootstraps faster than the styles are processed.</p><h3>The Solution</h3><p>The solution is relatively simple albeit not immediately obvious. We’re going to use the <a href="https://github.com/jantimon/html-webpack-plugin">HtmlWebpackPlugin</a>, an EJS template, and a few loaders to get the core styles for our site baked directly into our final index.html file. We’re also going to make sure the inlining step only happens in a production build so that in development we can still get things like live reload. Before continuing, make sure you have the following dependencies installed: npm install webpack html-webpack-plugin css-loader css-to-string-loader style-loader --save-dev. Once installed, include the following patterns in your webpack.config.js file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6402a29186c1798adac9ded20c12147b/href">https://medium.com/media/6402a29186c1798adac9ded20c12147b/href</a></iframe><p><a href="https://webpack.js.org/">Webpack</a> configurations can be infinitely varied and complex, but there are a few things to call out here:</p><ul><li>Get in the habit of managing a few different environments like dev, staging, and prod.</li><li>Have a separate NODE_ENV and BUILD_ENV. For example, we might be running in the Staging environment (NODE_ENV=’staging’) but we want to test our optimized build (BUILD_ENV=’optimized’).</li><li>I’m assuming you or your framework has its own way of handling component level styles, so we’ll be short circuiting any global loader rules you might have in module.rules and handle including a main styles file directly.</li></ul><p>Once you get our config file setup, make a new file call src/index.ejs</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0794404540b3df237827b24e045435ab/href">https://medium.com/media/0794404540b3df237827b24e045435ab/href</a></iframe><p>A quick breakdown of whats happening in this file:</p><ul><li>in our config we defined process.env for use inside of any file being required by <a href="https://webpack.js.org/">Webpack</a>. This allows us to check it inside the .ejs template because we’re in the same require context.</li><li>We check to see if we are running in optimized mode, and if we are, emit a style tag and the required CSS file. In my case, I’m using SCSS so I’ve included the <a href="https://github.com/webpack-contrib/sass-loader">sass-loader</a> in the example. You can omit this if you’re just using plain CSS.</li><li>In our non-optmized mode (aka, dev mode) this line will be skipped and our Webpack config will add a styles.js file to the entries objects. This will allow us to continue to do live CSS reloading while in dev.</li></ul><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/336dd49fc5cf15a53bec44d91090af84/href">https://medium.com/media/336dd49fc5cf15a53bec44d91090af84/href</a></iframe><p>This is the src/styles.js file we’ll be using in development mode. Notice the only difference in the loaders is that we are swapping out the <a href="https://github.com/smithad15/css-to-string-loader">css-to-string-loader</a> fro the <a href="https://github.com/webpack-contrib/style-loader">style-loader</a>. Thats it! We now have inlined base styles when in optimized mode, and we continue having live reloading styles when in dev mode! Just remember to set BUILD_ENV to ‘optimized’ when building or deploying your project, and set it to ‘dev’ when developing locally.</p><h3>Addendum, about those environment variables</h3><p>In case you were wondering where NODE_ENV and BUILD_ENV are coming from, they can be set using your package.json file using npm scripts. There are a couple of ways to do this, and both are represented below. When using Webpack, there is a special --env argument that you can attach variables to. Outside of Webpack, you’ll have to use Bash’s export command.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/724e64d9456feeaecb28d335152ce9ee/href">https://medium.com/media/724e64d9456feeaecb28d335152ce9ee/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=11f3e06232cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>