<?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 Roger Stringer on Medium]]></title>
        <description><![CDATA[Stories by Roger Stringer on Medium]]></description>
        <link>https://medium.com/@freekrai?source=rss-92d0691b20d7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*N50Q_x3vq6yXynTT9OSeXQ.png</url>
            <title>Stories by Roger Stringer on Medium</title>
            <link>https://medium.com/@freekrai?source=rss-92d0691b20d7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:26:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@freekrai/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[What doesn’t kill you….]]></title>
            <link>https://medium.com/@freekrai/what-doesnt-kill-you-ff417a56fba2?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff417a56fba2</guid>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Thu, 02 Feb 2017 22:01:35 GMT</pubDate>
            <atom:updated>2017-02-02T22:01:35.295Z</atom:updated>
            <content:encoded><![CDATA[<p>Yesterday I moved out of my house and into an apartment near downtown as my wife and I decided to separate.</p><p>It was the end result of months of keeping an eye out for the right apartment that had an extra room that my daughter could claim for her own, and was in a nice neighbourhood, finally after finding one, paying the deposit and rent, it was official.</p><p><strong>I was moving out.</strong></p><p>First, was breaking the news to my daughter, who took it mostly ok. She likes the apartment and has already started planning stuff to bring over.</p><p>But it never really hit me all the way until I finally moved out.</p><p>One of the things I did as part of the move was bring a lazy boy rocking chair from upstairs in my daughter’s room to the living room downstairs, and as I took it apart to move it, I thought of all the nights I held her in that chair to rock her to sleep, or the nights I sat in that chair and sang her a song before bed time (she had a long time ritual of specific songs and good night words).</p><p>It wasn’t the five truck loads I’d taken to the apartment, it was that damn chair that made it hit me.</p><p><em>Everything’s different now.</em></p><p><em>There’s no going back, only going forward</em></p><p><em>What the f — — — — am I doing?</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/300/1*aObfvHv7yZ-M6uQ2qSMQtw.gif" /></figure><p><strong>But then it hit me too…</strong></p><p><em>I’m moving on, trying to make things happier for myself, my daughter, and everyone.</em></p><p>And then, sadly, thanks to my daughter’s enjoyment of pop music, I got Kelly Clarkson stuck in my head:</p><blockquote>What doesn’t kill you makes you stronger<br>Stand a little taller<br>…<br>What doesn’t kill you makes a fighter<br>Footsteps even lighter</blockquote><p>1 million apologies if that song gets stuck in your head too. ¯\_(ツ)_/¯</p><p>Over the past year or so, I’ve met my birth family, discovered I have more siblings that I knew about before, and have started being happier.</p><p>This is just the next step, but not the last step.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff417a56fba2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Manage Your Data With Indexes]]></title>
            <link>https://medium.com/data-mcfly/manage-your-data-with-indexes-b336e2b485ed?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/b336e2b485ed</guid>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 22:41:42 GMT</pubDate>
            <atom:updated>2016-12-19T22:41:42.402Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qP28q-35AuHm9vzuKayhGw.png" /></figure><p>We’ve mentioned <a href="http://ift.tt/2gj3IAW">before</a> about our roll out of nextgen features, and we are starting to roll these out now.</p><p>We’ve rolled out the <a href="http://ift.tt/2fOelwb">queues</a>, and now this week we’ve launched our schema builder.</p><p>This is a very basic schema builder, after you’ve added a few records to a collection, you can set rules for each field, such as field types (number, string or mixed), index rules such as unique or required (or unique and required).</p><p>This gives you more control over your data, and also cuts down on doing things like searching to see if a record exists before adding it, now you just save it and that was it.</p><p>Some other rules will be coming shortly, followed by our new GraphQL API which is shaping up beautifully and is in testing with a few users now. Then we’ll be launching the rest of our nextgen features, but we are rolling these out one by one so that people can play with them as they roll out and not have a ton of new features hit them at once.</p><p>Originally Published on <a href="http://ift.tt/2glfJea">The Flybase Blog</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b336e2b485ed" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mcfly/manage-your-data-with-indexes-b336e2b485ed">Manage Your Data With Indexes</a> was originally published in <a href="https://medium.com/data-mcfly">Flybase</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The KoalaSafe Family Friendly Wireless Router]]></title>
            <link>https://medium.com/@freekrai/the-koalasafe-family-friendly-wireless-router-affda42ac737?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/affda42ac737</guid>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 22:39:28 GMT</pubDate>
            <atom:updated>2016-12-19T22:39:28.552Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*U46xSSjJP4k9UXuJWudz3g.jpeg" /><figcaption>The KoalaSafe Internet Router</figcaption></figure><p>I’m a parent, and I like to look at how to keep my daughter safer online, as well as being able to set schedules for when she’s allow to use the Internet, homework (or chore mode), etc.</p><p>I spent some time looking at various kids routers before deciding to go with the <a href="http://amzn.to/2hgvC26">KoalaSafe</a> and I’m happy with the result.</p><p>Once the router arrived, I plugged it into our existing router and used the iOS to pair it. Then I configured family members (in this case, my daughter), first by forgetting our main router from her electronic devices and then by adding them under her name in the app as she connected. This part took about 10 minutes total if that since it also needed to download a new firmware update to the router.</p><p>Once that was done, I played with the settings, and they are nice, simple but nice.</p><p>There are various filters you can set for content, such as youtube, facebook, instagram, netflix, etc, and you can also create a schedule. The schedule has two modes:</p><ol><li><strong>Primary mode</strong>: This is the mode for the rest of the day, and you can schedule when primary mode is active or not.</li><li><strong>Homework mode</strong>: This mode is used for what is set aside as homework <em>(or even chore)</em> time, during these scheduled blocks of time, the kids can only access certain websites, or even none at all.</li></ol><p>You can also set filters for each mode, so if the schedule says homework time, then you can close out access to most websites, and have them open when it is primary time. You can also restrict the Internet access.</p><p>All schedules and filters are handled for each family member, or you can choose to use a universal schedule.</p><p>It’s also handy being able to hit a button and restrict Internet altogether, and it also lets you choose how often to restrict it for. To the opposite side, there is a parent mode which lets you enable Internet access for a fixed period of time.</p><p>What’s most handy though, is you can use the mobile app from anywhere you have Internet, and it will talk back to the KoalaSafe router at your home. So you can change the schedule, block Internet, add new filters from anywhere and it changes the router settings at home for you.</p><p>I highly recommend checking out the <a href="http://amzn.to/2hgvC26">KoalaSafe Family Friendly Router</a> for yourself.</p><p>Originally Published on <a href="http://ift.tt/2hhlzg8">rogerstringer.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=affda42ac737" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to filter your content in real-time with the Sift Ninja API and Flybase]]></title>
            <link>https://medium.com/data-mcfly/how-to-filter-your-content-in-real-time-with-the-sift-ninja-api-and-flybase-204c59184ea3?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/204c59184ea3</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Fri, 25 Nov 2016 21:24:34 GMT</pubDate>
            <atom:updated>2016-11-25T21:24:34.270Z</atom:updated>
            <content:encoded><![CDATA[<p>If you have an app that involves letting users enter content of any kind, regardless if it’s chat, discussion boards, or a social site, you want to have the ability to filter content to make sure it is appropriate.</p><p><a href="http://ift.tt/2fKI3mf">Sift Ninja</a> provides a handy API that does just that, and combined with Flybase, you can offer real-time content checking before posting it anywhere.</p><h4>Getting Started</h4><p>To get started, you’ll need two things:</p><ol><li>A Sift Ninja account, <a href="http://ift.tt/2fKI3mf">sign up here</a> if you don’t already have one.</li><li>A Flybase account, <a href="http://ift.tt/2g2cabA">sign up here</a> if you don’t already have one.</li></ol><h4>Setting up Sift Ninja</h4><p>When you set up your Sift Ninja account, you’ll be asked to create a custom channel, name it whatever you want. This will then give you a unique URL as well as your API key.</p><h4>Setting up Flybase</h4><p>Inside your Flybase account, create an app called <em>siftninja</em>, you’ll want that and your API key.</p><h4>Setting up our Node app.</h4><p>Our node app is going to be really simple, from your terminal type:</p><pre>$ npm init<br>$ npm install --save finalhandler flybase siftninja serve-static</pre><p>This will install the node modules we need for our app.</p><h4>The backend</h4><p>Create a file called index.js, which will contain a Flybase listener to check content entered on our chat page:</p><pre>var finalhandler = require(&#39;finalhandler&#39;)<br>var http = require(&#39;http&#39;)<br>var serveStatic = require(&#39;serve-static&#39;)<br>var path = require(&#39;path&#39;);<br><br>var flybase = require(&#39;flybase&#39;);<br>var flybaseRef = flybase.init(&#39;siftninja&#39;, &quot;chat&quot;, &#39;&lt;YOUR-FLYBASE-API-KEY&gt;&#39;);<br><br>var apikey = &#39;&lt;YOUR-SIFT-NINJA-API-KEY&gt;&#39;;<br>var url = &#39;&lt;YOUR-SIFT-NINJA-URL&gt;&#39;;<br>var siftninja = require(&quot;siftninja&quot;)(url, apikey);<br><br>flybaseRef.on(&quot;check_content&quot;, function( req ) {<br>        var req = JSON.parse( req );<br>        var message = req.message;<br>        var sessionKey = req.session;<br>        siftninja( message ).then(function(result) {<br>                var result = result.body;<br>                result.message = message;<br>                if( result.response ){<br>                        var text = (&#39;&#39; + message).replace( /[&lt;&gt;]/g, &#39;&#39; );<br>                        flybaseRef.push({text:text});<br>                }else{<br>                        flybaseRef.trigger( &quot;results_&quot;+sessionKey, result );<br>                }<br>        });<br>});<br><br>var serve = serveStatic(&#39;public&#39;, {<br>        maxAge: &#39;1d&#39;,<br>        &#39;index&#39;: [&#39;index.html&#39;],<br>        fallthrough: true<br>});<br><br>// Create server<br>var server = http.createServer(function onRequest (req, res) {<br>        serve(req, res, finalhandler(req, res))<br>})<br><br>// Listen<br>var port = process.env.PORT || 3000;<br>server.listen( port, function() {<br>        console.log(&#39;Server started on port &#39; + port );<br>});</pre><p>This will create a custom event listener called check_content, which will check the message for any inappropriate text and return the results back to our frontend app.</p><p>If response was true, then the text was ok, and we save it to our Flybase app, and thus let it appear in the chat window.</p><p>If the response was false, then there was a problem with the text and we notify the user who entered it and do not save it. We’ll pass a unique session id for the user, which lets us respond to that user without notifying all other users.</p><h4>The Frontend</h4><p>Create a folder called public and inside that folder, create a file called index.html:</p><pre>&lt;html&gt;<br>&lt;head&gt;<br>        &lt;title&gt;Flybase and Sift Ninja&lt;/title&gt;<br> &lt;link href=&quot;http://ift.tt/2apRjw3&quot; rel=&quot;stylesheet&quot; integrity=&quot;sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u&quot; crossorigin=&quot;anonymous&quot;&gt;<br>&lt;/head&gt;<br>&lt;body&gt;<br>        &lt;br /&gt;<br>        &lt;div class=&quot;container well&quot;&gt;<br>                &lt;h2&gt;Enter Chat and press enter&lt;/h2&gt;<br>         &lt;div class=&quot;form-group&quot;&gt;<br>                        &lt;input type=&quot;text&quot; id=&quot;input&quot; class=&quot;form-control&quot; placeholder=&quot;Enter your message&quot;&gt;<br>                &lt;/div&gt;<br>         &lt;hr /&gt;<br>                &lt;h3&gt;Chat Output&lt;/h3&gt;<br>         &lt;ul class=&quot;list-group&quot; id=&quot;chatbox&quot;&gt;&lt;/ul&gt;<br> &lt;/div&gt;<br> &lt;script src=&quot;http://ift.tt/2fKJ9hY&quot;&gt;&lt;/script&gt;<br> &lt;script&gt;<br>                var flybase = new Flybase(&quot;&lt;YOUR-FLYBASE-API-KEY&gt;&quot;, &quot;siftninja&quot;, &quot;chat&quot;);<br><br>                if (sessionStorage.getItem(&quot;sessionKey&quot;)) {<br>                        var sessionKey = sessionStorage.getItem(&quot;sessionKey&quot;);<br>                }else{<br>                        var sessionKey = uniqueID();<br>                        sessionStorage.setItem(&quot;sessionKey&quot;, sessionKey);<br>                }<br><br>                function $(id) { return document.getElementById(id); }<br>                var box = $(&#39;chatbox&#39;), input = $(&#39;input&#39;), name = $(&#39;nameInput&#39;);<br><br>                input.addEventListener(&#39;keyup&#39;, function(e) {<br>                        if ((e.keyCode || e.charCode) === 13) {<br>                                flybase.trigger(&#39;check_content&#39;, {message:input.value,session:sessionKey});<br>                        }<br>                });<br><br>                flybase.on(&quot;results_&quot;+sessionKey, function(data){<br>                        if( !data.response ){<br>                                displayChatMessage( &#39;&amp;uarr; &lt;strong&gt;Sift ninja found something bad!&lt;/strong&gt;&#39; );<br>                        }<br>                });<br><br>                function displayChatMessage( str ){<br>                        box.innerHTML =  &quot;&lt;li class=&#39;list-group-item&#39;&gt;&quot; + str + &#39;&lt;/li&gt;&#39; + box.innerHTML;<br>                }<br><br>                flybase.once(&#39;value&#39;, function (data) {<br>                        if( data.count() ){<br>                                data.forEach( function(message){<br>                                        displayChatMessage(message.value().text );<br>                                });<br>                        }<br>                });<br><br>                flybase.on(&#39;added&#39;, function (message) {<br>                        displayChatMessage( message.value().text );<br>                });<br><br>                function uniqueID(){<br>                        function chr4(){<br>                                return Math.random().toString(16).slice(-4);<br>                        }<br>                        return chr4() + chr4() + &#39;-&#39; + chr4() + &#39;-&#39; + chr4() + &#39;-&#39; + chr4() + &#39;-&#39; + chr4() + chr4() + chr4();<br>                }<br>        &lt;/script&gt;<br>&lt;/body&gt;<br>&lt;/html&gt;</pre><p>We’ve kept this app simple, when the user hits the enter key on their text it sends an event to our backend via Flybase and then listens for a reply.</p><p>We assign our chat users a unique session ID that follows them for the life of that browser session, this then lets us add a unique listening event called <em>results_&lt;SESSIONKEY&gt; </em>that we can use to pass any issues we’ve found directly back to that user.</p><h4>Finishing Up</h4><p>You can see the original <a href="http://ift.tt/2g29QBF">repo here</a>.</p><p>Feel free to expand on what this can do, as Sift Ninja is a handy tool to have in your arsenal and the guys behind it are solid in this area, and combining it with Flybase’s real-time events lets you check content entered in real-time before saving it to your database or forwarding it to other users.</p><p>Originally Published on <a href="http://ift.tt/2g2g7gM">The Flybase Blog</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=204c59184ea3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mcfly/how-to-filter-your-content-in-real-time-with-the-sift-ninja-api-and-flybase-204c59184ea3">How to filter your content in real-time with the Sift Ninja API and Flybase</a> was originally published in <a href="https://medium.com/data-mcfly">Flybase</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When you don’t know how to react….]]></title>
            <link>https://medium.com/@freekrai/when-you-dont-know-how-to-react-87854ce03abe?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/87854ce03abe</guid>
            <category><![CDATA[life-lessons]]></category>
            <category><![CDATA[life]]></category>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Fri, 25 Nov 2016 21:21:29 GMT</pubDate>
            <atom:updated>2016-11-26T04:27:45.795Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve written before about my journey over the past year to find my biological family.</p><p>I’ve met most of them, but some I haven’t yet due to distance and cost involved.</p><p>This morning I got woken up to a message from my sister who is the same age as me (<em>three months apart actually</em>), to ask if I’d talked to our younger sister lately(<em>who I have not yet met</em>).</p><p>I replied “not lately”, and asked what was wrong, then I was told she’d been diagnosed with an inoperable brain tumour and would be starting chemo next month.</p><p>This floored me, and then I couldn’t figure out how to react, here I was learning that my younger sister was sick, and at the same time, this person is almost a stranger to me.</p><p>In the end, I managed to pass on my regards (<em>that sucks, I hope she’s going to be ok</em>) and then sent a message to my sister that I had just heard the news and hoped for the best, but it’s something that I’ve been dwelling on all day.</p><p>I’m not the best at handling emotions, and honestly never have been that good at emotions. I’m also still learning about my birth family and various siblings and I’m glad I am meeting them and expanding my family, but sometimes, you just get hit with something out of left field and have no idea how to react or what to say.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=87854ce03abe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pineapple Peach Ghost Pepper Sauce]]></title>
            <link>https://medium.com/@freekrai/pineapple-peach-ghost-pepper-sauce-3622ebe57b1f?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/3622ebe57b1f</guid>
            <category><![CDATA[food]]></category>
            <category><![CDATA[recipe]]></category>
            <category><![CDATA[cooking]]></category>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Tue, 09 Aug 2016 17:47:57 GMT</pubDate>
            <atom:updated>2016-08-09T17:49:05.328Z</atom:updated>
            <content:encoded><![CDATA[<p><em>We grow our own Ghost peppers and various handy kitchen herbs in our back yard, it’s nice to just walk out and grab what you need to make something.</em></p><p>A recent trip to the local farmer’s market got me a few fresh peaches, and the pineapple, well, that I bought in a store since those don’t grow on trees around here.</p><p>This sauce is a mixture of sweet and spicy, and you can switch out the Ghost peppers for any type of hot pepper you like. This sauce tastes great on just about anything that can take the level of heat with the touch of sweet. Try it over chicken, fish, pork loin or pretty much anything.</p><p>You can even just use some on your veggies if you want.</p><h3>What you need</h3><ul><li>5–6 ghost peppers, coarsely chopped</li><li>2 cups chopped pineapple</li><li>1 cup chopped peaches</li><li>1 handful mint leaves, rinsed</li><li>Juice from 1 lime</li><li>1 cup white vinegar</li><li>½ teaspoon salt</li></ul><h3>How to make it</h3><ol><li>Add all of the ingredients to a food processor and process until smooth.</li><li>Add to a pot and simmer over low heat for 15 minutes.</li><li>Cool and strain, if you want a less-chunky hot sauce, if you want a chunkier hot sauce, skip the straining.</li><li>Pour into bottles and refrigerate until ready to use</li><li>Enjoy! :)</li></ol><p>Originally Published on <a href="http://ift.tt/2aFrk39">rogerstringer.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3622ebe57b1f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Running self-hosted Sentry on Heroku]]></title>
            <link>https://medium.com/data-mcfly/running-self-hosted-sentry-on-heroku-ac2c019cf5d0?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac2c019cf5d0</guid>
            <category><![CDATA[heroku]]></category>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Tue, 09 Aug 2016 17:36:51 GMT</pubDate>
            <atom:updated>2016-08-09T21:35:45.019Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Sentry is a real-time event logging and aggregation platform. At its core it specializes in monitoring errors and extracting all the information needed to do a proper post-mortem without any of the hassle of the standard user feedback loop.</em></p><p>The guys at <a href="https://getsentry.com/">Sentry</a> provide a great product for monitoring web apps and alerting people of any issues.</p><p>We use Sentry heavily here at Flybase, from monitoring our APIs, to monitoring our various sites. If any errors occur then we get notified right away so we can assign and fix them ASAP.</p><p>Sentry provides a hosted model and a self-hosted model. We use the self-hosted model and wanted to share how it’s set up on Heroku.</p><p>We have a <a href="https://github.com/flybaseio/sentry-on-heroku/blob/master/app.json">repo</a> set up which is a fork of the original <a href="https://github.com/fastmonkeys/sentry-on-heroku">Fast Monkey</a> repo. The main differences are the original repo required you to use a paid redis instance rather than a hobby instance and also we changed how the background worker is handled. Minor changes, but handy when wanting a quick start.</p><p>One thing to note, I do recommend switching this to a hobby instance later when you are ready to use this full time as it keeps your sentry instance up 24/7, but that is up to you and not necessary.</p><h3>Setting it up</h3><h4>Auto setup</h4><p>From the <a href="https://github.com/flybaseio/sentry-on-heroku">repo</a> you can actually get started quickly by pushing the purple Deploy to Heroku button, this will start the process of setting up your Sentry app.</p><p>Once set up, you need to create your first user:</p><pre>heroku run &quot;sentry --config=sentry.conf.py createuser&quot; --app YOURAPPNAME</pre><p>Finally you want to configure the worker:</p><pre>heroku ps:scale worker=0 beat=0 worker_plus_beat=1 --app YOURAPPNAME</pre><h4>Manual setup</h4><p>Follow the steps below to get Sentry up and running on Heroku:</p><p>1) Create a new Heroku application. Replace “APP_NAME” with your application’s name:</p><pre>heroku apps:create APP_NAME</pre><p>2) Add PostgresSQL to the application:</p><pre>heroku addons:create heroku-postgresql:hobby-dev</pre><p>3) Add Redis to the application:</p><pre>heroku addons:create heroku-redis:hobby-dev</pre><p>4) Set Django’s secret key for cryptographic signing and Sentry’s shared secret for global administration privileges:</p><pre>heroku config:set SECRET_KEY=$(python -c &quot;import base64, os; print(base64.b64encode(os.urandom(40)).decode())&quot;)</pre><p>5) Set the absolute URL to the Sentry root directory. The URL should not include a trailing slash. Replace the URL below with your application’s URL:</p><pre>heroku config:set SENTRY_URL_PREFIX=https://sentry-example.herokuapp.com</pre><p>6) Deploy Sentry to Heroku:</p><pre>git push heroku master</pre><p>7) Run Sentry’s database migrations:</p><pre>heroku run &quot;sentry --config=sentry.conf.py upgrade --noinput&quot;</pre><p>8) Create a user account for yourself:</p><pre>heroku run &quot;sentry --config=sentry.conf.py createuser&quot;</pre><p>9) Configure workers</p><pre>heroku ps:scale worker=0 beat=0 worker_plus_beat=1</pre><h4>Email notifications</h4><p>Follow the steps below, if you want to enable Sentry’s email notifications:</p><p>1) Add SendGrid add-on to your Heroku application:</p><pre>heroku addons:create sendgrid</pre><p>2) Set the reply-to email address for outgoing mail:</p><pre>heroku config:set SERVER_EMAIL=sentry@example.com</pre><h4>Working with Sentry</h4><p>When you login to Sentry, you can create projects, each project will get assigned a unique URL to use with your tracking.</p><p>Once setup, you can use Sentry for just about any type of client, for example to add Sentry to your front end Javascript apps, you would use the Raven client:</p><pre>&lt;script src=&quot;https://cdn.ravenjs.com/3.3.0/raven.min.js&quot;&gt;&lt;/script&gt;<br>&lt;script&gt;<br>        Raven.config(&#39;https://YOUR-SENTRY-URL/&lt;project&gt;&#39;).install()<br>&lt;/script&gt;</pre><p>Then you can catch errors or send messages pretty easily:</p><p><strong>Reporting Errors:</strong></p><p>By default, Raven makes a best effort to capture any uncaught exception.</p><p>To report errors manually, wrap potentially problematic code with a try…catch block and call Raven.captureException:</p><pre>try {<br>    doSomething(a[0])<br>} catch(e) {<br>    Raven.captureException(e)<br>}</pre><p><strong>Capturing Messages:</strong></p><p>Sentry can be used to capture any message not just Exceptions:</p><pre>Raven.captureMessage(&#39;Broken!&#39;)</pre><p><strong>Tracking Users:</strong></p><p>Sentry can also be told to associate errors with user data, for example we can set it to associate errors with the logged in user:</p><pre>Raven.setUserContext({<br>    email: &#39;matt@example.com&#39;,<br>    id: &#39;123&#39;<br>})</pre><p>If at any point, the user is no longer authenticated, then you can call Raven.setUserContext() with no arguments to remove their data.</p><p><strong>tags</strong></p><p>You can assign tags to an event:</p><pre>Raven.setTagsContext({ version: &quot;1.0.4&quot; });</pre><p><strong>Getting Back an Event ID:</strong></p><p>An event id is a globally unique id for the event that was just sent. This event id can be used to find the exact event from within Sentry.</p><p>This is often used to display for the user and report an error to customer service.</p><p>Raven.lastEventId() will be undefined until an event is sent. After an event is sent, it will contain the string id.</p><pre>Raven.captureMessage(&#39;Broken!&#39;)<br>alert(Raven.lastEventId())</pre><p><strong>User Feedback:</strong></p><p>Often you might find yourself wanting to collect additional feedback from the user. Sentry supports this via an embeddable widget.</p><pre>try {<br>    handleRouteChange(...)<br>} catch (err) {<br>    Raven.captureException(err);<br>    Raven.showReportDialog();<br>}</pre><p><strong>Sentry and Angular:</strong></p><p>The Sentry Raven client also has a plugin for Angular that can integrate directly into your apps (it has integrations for nearly everything):</p><pre>&lt;script src=&quot;https://ajax.googleapis.com/ajax/libs/angularjs/1.4.5/angular.min.js&quot;&gt;&lt;/script&gt;<br>&lt;script src=&quot;https://cdn.ravenjs.com/3.3.0/angular/raven.min.js&quot;&gt;&lt;/script&gt;<br>&lt;script&gt;<br>        Raven.config(&#39;https://YOUR-SENTRY-URL/&lt;project&gt;&#39;).install();<br>        var myApp = angular.module(&#39;myApp&#39;, [<br>  &#39;ngRaven&#39;,<br>  &#39;ngRoute&#39;,<br>  &#39;myAppControllers&#39;,<br>  &#39;myAppFilters&#39;<br>]);<br>&lt;/script&gt;</pre><p>You can find a lot of information on the actual <a href="https://docs.getsentry.com/on-premise/">Sentry Docs page</a>, I just wanted to show some of the basics to get started.</p><p>Sentry is a powerful tool for monitoring your apps, and once you add plugins such as Slack notifications, you can get notified right away in case of problems.</p><p>We chose to run Sentry on Heroku so it’s kept separate from our other servers and able to not be affected by any server issues.</p><p>Originally Published on <a href="http://blog.flybase.io/2016/07/28/sentry-heroku/">The Flybase Blog</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac2c019cf5d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mcfly/running-self-hosted-sentry-on-heroku-ac2c019cf5d0">Running self-hosted Sentry on Heroku</a> was originally published in <a href="https://medium.com/data-mcfly">Flybase</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Android Apps on the Chromebook]]></title>
            <link>https://medium.com/@freekrai/android-apps-on-the-chromebook-f48f7d36bfce?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/f48f7d36bfce</guid>
            <category><![CDATA[chromebook]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[android-apps]]></category>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Wed, 27 Jul 2016 21:46:51 GMT</pubDate>
            <atom:updated>2016-07-27T21:47:02.690Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Aj7OAQ5KYMyHuaikxQz_gw.jpeg" /></figure><p>What can I say, despite being an Apple guy, I’m also a fan of Chromebooks, they are handy and portable for when you want a simple go anywhere laptop.</p><p>Using tools like Cloud9 or CodeAnywhere, you can do most of your web coding, and even connect to servers to manage sites via terminal.</p><p><em>Heck, using </em><a href="https://medium.com/appgyver.com"><em>Appgyver</em></a><em>, I recently build an iOS app without needing Xcode at all, as I built it all using Cloud9, then deployed to their site and have Appgyver perform the xcode builds.</em></p><p>Now, Google has released the Google Play Store and let you run Android Apps on it. This lets you do even more.</p><p>This is currently a limited release, you need to be in the beta channel in order to access it and also be on supported hardware, as it needs a touch screen to work.</p><p>One of the chromebooks that got this early release was the <a href="http://amzn.to/29V2xrZ">Chromebook Flip</a>. The Flip was one of my favourite Chromebooks even before this, as it’s got a nice looking metal shell to it, and the touchscreen and keyboard are both responsive and quick to work with.</p><p>With Android Apps, the Flip can now not only handle dev work with apps like Cloud9, but can also do everything else that an Android tablet can do, including running the Android Slack app, or the Zoom.us app or any other Android app.</p><p>Originally Published on <a href="http://ift.tt/2a3t2e9">rogerstringer.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f48f7d36bfce" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The CSS-Tricks Complete Guide to Flexbox]]></title>
            <link>https://medium.com/data-mcfly/the-css-tricks-complete-guide-to-flexbox-23c3bf16d4cd?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/23c3bf16d4cd</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[the-flybase-blog]]></category>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Tue, 21 Jun 2016 15:58:38 GMT</pubDate>
            <atom:updated>2016-06-21T15:58:38.268Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://css-tricks.com/snippets/css/a-guide-to-flexbox/">CSS-Tricks</a>:</p><blockquote>The Flexbox Layout (Flexible Box) module (currently a W3C Last Call Working Draft) aims at providing a more efficient way to lay out, align and distribute space among items in a container, even when their size is unknown and/or dynamic (thus the word “flex”).</blockquote><blockquote>The main idea behind the flex layout is to give the container the ability to alter its items’ width/height (and order) to best fill the available space (mostly to accommodate to all kind of display devices and screen sizes). A flex container expands items to fill available free space, or shrinks them to prevent overflow.</blockquote><blockquote>Most importantly, the flexbox layout is direction-agnostic as opposed to the regular layouts (block which is vertically-based and inline which is horizontally-based). While those work well for pages, they lack flexibility (no pun intended) to support large or complex applications (especially when it comes to orientation changing, resizing, stretching, shrinking, etc.).</blockquote><p>We’re in the middle of our next generation version of the Flybase dashboard and Flexbox is an interesting layout module that we’ve been working with. This guide has come in handy a few times.</p><p>You can read the rest of the guide here, and I highly recommend you do if you are interested in Flexbox at all.</p><p><em>Originally Published on </em><a href="http://blog.flybase.io/2016/06/18/flexbox/"><em>The Flybase Blog</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=23c3bf16d4cd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-mcfly/the-css-tricks-complete-guide-to-flexbox-23c3bf16d4cd">The CSS-Tricks Complete Guide to Flexbox</a> was originally published in <a href="https://medium.com/data-mcfly">Flybase</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Apple Explains Why iMessage Hasn’t Expanded to Android]]></title>
            <link>https://medium.com/@freekrai/apple-explains-why-imessage-hasnt-expanded-to-android-42138a242d0b?source=rss-92d0691b20d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/42138a242d0b</guid>
            <dc:creator><![CDATA[Roger Stringer]]></dc:creator>
            <pubDate>Sun, 19 Jun 2016 03:37:27 GMT</pubDate>
            <atom:updated>2016-06-19T03:37:27.839Z</atom:updated>
            <content:encoded><![CDATA[<p>Regarding: <a href="http://www.macrumors.com/2016/06/16/apple-explains-why-no-imessage-on-android/">http://www.macrumors.com/2016/06/16/apple-explains-why-no-imessage-on-android/</a></p><blockquote>When I asked a senior Apple executive why iMessage wasn’t being expanded to other platforms, he gave two answers: First, he said, Apple considers its own user base of 1 billion active devices to provide a large enough data set for any possible AI learning the company is working on. And, second, having a superior messaging platform that only worked on Apple devices would help sales of those devices – the company’s classic (and successful) rationale for years.</blockquote><p>This shouldn’t be all that surprising really, but I think that some people were disappointed iMessage didn’t come to Android this week. I think we <em>might</em> see iMessage on Android in the future, but right now, Apple sees it as an advantage to the iPhone platform on the whole, and that is still king at Apple.</p><p><em>Originally Published on </em><a href="http://ift.tt/1S8c4Xn"><em>rogerstringer.com</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=42138a242d0b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>