<?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 Alan Kebert on Medium]]></title>
        <description><![CDATA[Stories by Alan Kebert on Medium]]></description>
        <link>https://medium.com/@AKebert?source=rss-4e0fa722b67------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*5Tyv2Y96BMxVWou3.JPG</url>
            <title>Stories by Alan Kebert on Medium</title>
            <link>https://medium.com/@AKebert?source=rss-4e0fa722b67------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 09:53:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@AKebert/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[For quite awhile I’ve not wanted to publish my thoughts on social media.]]></title>
            <link>https://medium.com/@AKebert/for-quite-awhile-ive-not-wanted-to-publish-my-thoughts-on-social-media-cc398b27ab14?source=rss-4e0fa722b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc398b27ab14</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <category><![CDATA[api]]></category>
            <category><![CDATA[oauth]]></category>
            <dc:creator><![CDATA[Alan Kebert]]></dc:creator>
            <pubDate>Tue, 17 Jan 2017 03:37:17 GMT</pubDate>
            <atom:updated>2017-01-17T03:37:17.757Z</atom:updated>
            <content:encoded><![CDATA[<p>For quite awhile I’ve not wanted to publish my thoughts on social media. Mainly, I feel there are already multitudes of sources vying for an individual’s attention throughout the day. If I put something out there I want it to be worth the time, and I have felt that I still needed to put in the work to develop the knowledge that would make my opinions valuable. Having recently received some advice that a blog should be a tool for personal growth as well as sharing knowledge, and that some of my knowledge may be less trivial than I imagine it to be, I suppose I will just go for it and let any readers decide the merit for themselves.</p><p>I think it’s fun to start a new project. It is also fun to collaborate with someone who has a different skill set than your own. It reminds me of traveling. Take a tour of the highlights of a new place, and if you’re lucky you get a solid glimpse of how the locals really do things. For people with rails skills I would like to bring to your attention a great way to collaborate with different kinds of front ends: api mode. With rails 5 you have access to the “ — api” flag during creation of a new rails project. There’s already plenty of why and how here: <a href="http://edgeguides.rubyonrails.org/api_app.html">http://edgeguides.rubyonrails.org/api_app.html</a> so I will just go over a few highlights:</p><ul><li>Make a JSON api in minutes</li><li>Don’t load any support for views</li><li>Limit the amount of middleware you load but keep a lot of the good stuff</li></ul><p>This is pretty cool because your collaborator doesn’t need to know the rails way to organize things. They just need to know how to consume a JSON api. Scaffold your project quickly with rails, consider which information you would normally submit to your view templates, and then just render it as JSON instead. I’ve done a project this way, and found the workflow to be simple. Most of our communication consisted of “which information do you need for this view” and then “okay here is the format you’ll receive it in.”</p><p>There were a couple of hang ups I ran into doing this for the first time. We hosted our app as separate front end and back end applications. This requires configuring CORS headers, which you may have never run into making self contained rails apps. CORS headers dictate whether your app will accept instructions from outside origins. You can set them to accept everything initially, but for security I think it would be best to really tighten them down once you know for sure where your front end is hosted. Secondly, we used OAuth. There are some great gems for implementing OAuth like OmniAuth, but they rely on tracking a session. The session controller is part of the middleware that gets cut out in api mode, and your api is cleaner if it remains stateless anyway. The solution that worked for us was to have the API redirect the user request to the OAuth provider with a callback to the API. Upon receiving the OAuth credentials, associate them with a user, and then generate a token to give to the front end app. Now the front end app sends the token with requests that require authorization, and the user’s session can be tracked entirely within the front end.</p><p>I also received good advice that was not obvious to a novice like myself: namespace your api so that you can easily maintain different versions. Multiple front ends can use the same API, but if you make breaking changes you can copy everything else to a “v2” or similar and have the apps that are reliant on the changes request “v2” while other apps can keep using “v1”. This keeps things extensible and maintainable :)</p><p>These are the things I ran into while following more in depth guides not necessarily targeted at a junior level developer. Hopefully this saves some fellow newbies some time and frustration. Happy coding!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc398b27ab14" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[First Entry: On the Gap Between Taste and Ability]]></title>
            <link>https://medium.com/@AKebert/first-entry-on-the-gap-between-taste-and-ability-c15bef47ec72?source=rss-4e0fa722b67------2</link>
            <guid isPermaLink="false">https://medium.com/p/c15bef47ec72</guid>
            <category><![CDATA[education]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Alan Kebert]]></dc:creator>
            <pubDate>Tue, 02 Aug 2016 13:00:12 GMT</pubDate>
            <atom:updated>2016-08-02T13:00:12.794Z</atom:updated>
            <content:encoded><![CDATA[<p>I, like I imagine the majority of teenagers do, reached that point where I felt that I could really evaluate whether something was of a high quality or not. Of course, being a teenager I had not yet reached the point where I could produce much of anything at a high quality. Like many, I tried for awhile to substitute parody for real ability. Eventually there was a point where parody was boring and I had become humble enough to accept that I simply wasn’t good at doing a lot of things that I would like to be good at, but I wanted to learn.</p><p>I’ve always been willing to try new activities, games, sports, etc. I think this really helped me out because I became accustomed to being a beginner. After starting from scratch enough times, and backed by the success I’d had over time in some of my activities, I was able to realize that there is simply a process to mastering things. You start out, and you’re terrible at it. That’s fine though because if you could be good from the outset then the activity probably can’t hold interest for long anyway. You must discover the basic skills of the activity, and practice them until they no longer take conscious effort. Once you can perform the basic actions without thought, you are ready to actually play or do the activity. From there it is still a long path to mastery. People who are either very clever, determined, or both have doubtless found certain strategies for your activity that are more effective than others. You must follow these strategies until you fully understand them. Once you understand fully, you will understand when you can break from the template situationally. Around this point you can start to call yourself an expert</p><p>Realizing this process has been transformative in my life. It allows for a “growth” mindset by making you realize that you won’t be good at almost anything you initially set out to learn or do, but if you work at it and learn from your mistakes you can become good at almost anything you would like to do. It helps eliminate frustration with the process, because frustration stems from a difference in expectation and reality. Where you could be frustrated by the discrepancy between what you know to be high quality and what you can actually produce, you can instead be pleased that you are making incremental progress toward producing real quality.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c15bef47ec72" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>