<?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 Jamie Perkins on Medium]]></title>
        <description><![CDATA[Stories by Jamie Perkins on Medium]]></description>
        <link>https://medium.com/@inorganik?source=rss-f49242c6debb------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sDK_uoSfQ5htv_zq.jpeg</url>
            <title>Stories by Jamie Perkins on Medium</title>
            <link>https://medium.com/@inorganik?source=rss-f49242c6debb------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:58:25 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@inorganik/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[Implementing a simple, effective search in Firebase with just Firestore]]></title>
            <link>https://inorganik.medium.com/implementing-a-simple-effective-search-in-firebase-with-just-firestore-957dd716ccdb?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/957dd716ccdb</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[firebase]]></category>
            <category><![CDATA[firestore]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Fri, 06 Nov 2020 20:17:03 GMT</pubDate>
            <atom:updated>2020-11-09T16:00:11.457Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wKdaOO3FtefHGaHm" /><figcaption>Photo by <a href="https://unsplash.com/@clemono?utm_source=medium&amp;utm_medium=referral">Clem Onojeghuo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>When I was building my first full-scale Firebase app, I quickly discovered that search is one of the drawbacks of firestore. From <a href="https://firebase.google.com/docs/firestore/solutions/search">the docs</a>:</p><blockquote>Cloud Firestore doesn’t support native indexing or search for text fields in documents.</blockquote><p>In other words, if you are coming form MySQL, there is no “LIKE” query. Or if you are coming from MongoDB, there is no RegExp queries. We have more constraints.</p><p>The docs go on to suggest using a third-party paid service called <a href="https://www.algolia.com/">Algolia</a>. This is disappointing, since you probably don’t want to pay for a separate service.</p><p>However, here’s one way to setup a pretty effective search with just firestore. In this context I’m using Angularfire, but it will probably be useful for any firestore client. Let’s build it!</p><h4>A unicode trick</h4><p><a href="https://firebase.google.com/docs/database/rest/retrieve-data">Range queries</a> get us part of the way. In combination with a special unicode character, \uf8ff we can string-match titles with a definite start, but uncertain end:</p><pre>this.afs.collection&lt;Book&gt;(‘books’, <em>ref</em> <em>=&gt;<br>  ref</em>.orderBy(‘title’).startAt(<em>term</em>).endAt(<em>term</em> + ‘\uf8ff’)<br>).valueChanges();</pre><p>The docs explain:</p><blockquote>The <strong>\uf8ff</strong> character used in the query above is a very high code point in the Unicode range. Because it is after most regular characters in Unicode, the query matches all values that start with a term.</blockquote><p>But wait! If the user types “the black pearl” it won’t find “The Black Pearl” because the case doesn’t match.</p><p>Not only that, but if they type “black pearl” it won’t match without the “The” in front. A solution follows…</p><h4>Special document properties just for search</h4><p>Let’s add 2 extra title properties to our document to make search more flexible, and make sure they are included when it gets added to a collection: title_lower and title_partial.</p><pre>const bookDoc: Book = {<br>  title: book.title,<br>  title_lower: <em>book</em>.title.toLowerCase(),<br>  title_partial: this.partialTitle(<em>book</em>.title),<br>  ...<br>};</pre><p>One stores the title lowercased, and the other stores a partial title. The partial title method just removes the first word if the title has more than one word:</p><pre>partialTitle(<em>title</em>: <em>string</em>): <em>string</em> {<br>  <em>const</em> parts = <em>title</em>.split(&#39; &#39;);<br>  if (parts.length &gt; 1) {<br>    parts.shift();<br>    return parts.join(&#39; &#39;).toLowerCase();<br>  } else {<br>    return <em>title</em>.toLowerCase();<br>  }<br>}</pre><h4>The Query</h4><p>Finally let’s combine multiple queries into one, to search 2 title properties at once. Our search method will also find docs typed with uppercase characters in search terms, because we just lowercase everything:</p><pre>search(<em>term</em>: <em>string</em>): Observable&lt;Book[]&gt; {<br>  <em>term</em> = <em>term</em>.toLowerCase();</pre><pre>  // search both title_lower and title_partial<br>  <em>const</em> title$ = this.afs.collection&lt;Book&gt;(&#39;books&#39;, <em>ref</em> <em>=&gt;<br>    ref</em>.orderBy(&#39;title_lower&#39;).startAt(<em>term</em>).endAt(<em>term</em> + &#39;\uf8ff&#39;)<br>  ).valueChanges();</pre><pre><em>  const</em> partial$ = this.afs.collection&lt;Book&gt;(&#39;books&#39;, <em>ref</em> <em>=&gt;<br>    ref</em>.orderBy(&#39;title_partial&#39;).startAt(<em>term</em>).endAt(<em>term</em> + &#39;\uf8ff&#39;)<br>  ).valueChanges();</pre><pre>  return merge(title$, partial$).pipe(<br>    pairwise(),<br>    map(([<em>title</em>, <em>partial</em>]) <em>=&gt;</em> {<br>      <em>const</em> result = [...<em>title</em>, ...<em>partial</em>];<br>      // dedupe<br>      return result.filter((<em>thing</em>, <em>index</em>, <em>self</em>) <em>=&gt;<br>        index</em> === <em>self</em>.findIndex((<em>t</em>) <em>=&gt;</em> <em>t</em>.title === <em>thing</em>.title)<br>      );<br>    })<br>  );<br>}</pre><p>And there you have it. We’re using rxjs’ merge to combine our 2 queries, and sending their results through the stream in pairs, so we can concatenate the results and then dedupe them.</p><p>This is ideal for a typeahead because the user will likely find what they are looking for before they type the entire title. Is it perfect? No. For instance, if the user starts typing a word in the title that is not the first or second word, they won’t find it. Does it save you from paying for a third party service? Yes.</p><h4>Make it even more powerful?</h4><p>To really juice this up, we could combine a 3rd stream. Keep in mind billing — a collection query result charges a read for each doc returned in the result. We are already using 2 queries per search. You may want to include a search button instead of using a typeahead to reduce queries.</p><p>This query uses the array-contains matcher. You might think this could replace everything else, but it can’t. The reason is because <em>the entire term</em> has to match. The would be too restrictive alone, but could find a word match anywhere in the title.</p><pre>const word$ = this.afs.collection&lt;Book&gt;(‘books’, <em>ref</em> <em>=&gt;<br>  ref</em>.where(‘title’, ‘array-contains’, <em>term</em>)<br>).valueChanges();</pre><p>You may choose to include this, but if not you still have a powerful search that’s cost effective.</p><p>If you’d like a demo of this, go to <a href="https://pod.fan/">Podfan</a> and try searching a podcast.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=957dd716ccdb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Introducing a new podcast that anyone can publish to]]></title>
            <link>https://medium.com/podfan/introducing-a-new-podcast-that-anyone-can-publish-to-177804931462?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/177804931462</guid>
            <category><![CDATA[podcasting]]></category>
            <category><![CDATA[podcast]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Thu, 02 Jul 2020 14:03:12 GMT</pubDate>
            <atom:updated>2020-07-02T14:03:12.223Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Podfan is trying something new— and trying to solve one of the core problems of podcasting at the same time.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zarq_VSSINUyTDiO" /><figcaption>Photo by <a href="https://unsplash.com/@giuliamay?utm_source=medium&amp;utm_medium=referral">Giulia May</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Discoverability</h3><p>Discovering new podcasts is an old problem of podcasting, and something we’ve tried to solve many ways — with social podcast apps, an untold number of recommendation blogs, charts and category algorithms. But none of these solutions get to the root of the discoverability problem, which is that listening to a podcast is <strong>time-consuming</strong>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8qOsKxQZWnihovkKxfgWLg.png" /><figcaption>The arduous journey of podcast discovery</figcaption></figure><p>Just consider the incredible odds that face a podcast being discovered- if somehow it manages to blip on your radar, it still has to pique your interest enough for you to queue it up in your podcast player — an incredible feat for any podcast. But then you have to put in the time to listen to it.</p><h3>Enter the teaser episode</h3><p>Do movie producers expect you to watch a movie based on the title alone? No, they distribute movie trailers! Why shouldn’t podcasts?</p><p>Movies are long, and so are podcasts. Time is the biggest obstacle preventing listeners from discovering a new podcast. With a teaser episode, you only need a few minutes or less to get a feel for the podcast. Listeners just get a taste! Caroline Crampton <a href="https://hotpodnews.com/the-really-really-short-podcast/">wrote about the value of short podcasts </a>in Hotpod.</p><p>With the <a href="https://pod.fan/super-sampler">Super Sampler</a>, podcasters can upload their teaser for free to a podcast dedicated to discovery and reach a broader audience!</p><h3>Introducing the Super Sampler</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9t20fpPj0OLVpshPl6h6uQ.png" /></figure><p><a href="https://pod.fan/super-sampler">The Super Sampler</a> is a podcast of just teaser episodes from many different podcasts. If you’re a podcaster, here’s how you can<strong><em> </em></strong>upload your teaser for free:</p><ol><li><a href="https://pod.fan/claim">Claim your podcast</a> on Podfan (free and takes less than a minute)</li><li>Create a teaser episode that is 3 minutes or less in length.</li><li>Upload your teaser episode on the Podfan dashboard</li></ol><p>The Super Sampler will help podcasters get exposure for their shows, and enable a discovery bonanza for listeners.</p><h3>Oh yeah, and…</h3><p>Podfan is great for more than just teasers. It’s the easiest way to distribute a private feed for your podcast. It offers listeners 1-click subscribe to private feeds, and recurring payments with Stripe. You can optionally offer 7-day free trials, and unlimited hosting is included! Plus you can accept recurring donations for free. Claim your free Podfan page <a href="https://pod.fan/claim">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=177804931462" width="1" height="1" alt=""><hr><p><a href="https://medium.com/podfan/introducing-a-new-podcast-that-anyone-can-publish-to-177804931462">Introducing a new podcast that anyone can publish to</a> was originally published in <a href="https://medium.com/podfan">Podfan</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[New Mantra: Headspace]]></title>
            <link>https://inorganik.medium.com/new-mantra-headspace-208816412606?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/208816412606</guid>
            <category><![CDATA[mental-health]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Fri, 17 Jan 2020 16:08:56 GMT</pubDate>
            <atom:updated>2020-02-03T20:30:23.051Z</atom:updated>
            <content:encoded><![CDATA[<h3>The opportunity cost of anxiety</h3><p>How much headspace is wasted on anxiety? Or, how much headspace do you give to something you read on twitter, or heard on a podcast, saw on Instagram, or read on this very site? For me, way too much.</p><p>Giving headspace to these anxieties is an opportunity cost. In a recent episode of <a href="https://www.npr.org/podcasts/510289/planet-money">Planet Money</a>, Jacob Goldstein and Nick Fountain asked economists at a summit, “<strong>what’s the most useful idea in economics?</strong>”. Lisa Cook, a professor of economics at Michigan State, answered, “Opportunity cost.” That really made me think. She’s right. Goldstein and Fountain explain:</p><blockquote>“Opportunity cost tells us the cost of doing any one thing is giving up doing anything else. So the cost of going to college is not just the tuition you have to pay. It’s all the wages you give up by not working or by working less because you’re in college…And in a more personal sense — you know, day-to-day life — opportunity cost means the cost of doing something at any given moment is not doing something else at that exact same moment. And literally at this moment, Lisa Cook is giving up the opportunity to do so many things.”</blockquote><p>Giving headspace to your anxieties is doing it at the cost of so many things… keeping your head in the game, whatever that means for your situation. Thinking about other people besides yourself. Or even, just thinking of something funny to say.</p><p>Anxiety appears to be a form of narcissism in disguise. Today I feel like we have too much narcissism. It’s afforded to us more than ever before by having a higher than ever standard of living, and by the digital age; having tools to expose and be exposed to everyone’s thoughts and opinions.</p><p>…And we have to process it all.</p><p>As a result I want to make a conscious effort to give these things less headspace. I’m hoping I can form a healthy habit of devoting more headspace to positive things that benefit the work that I do and the people around me.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=208816412606" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dynamic subscriptions with proxy observables in RxJs]]></title>
            <link>https://inorganik.medium.com/dynamic-subscriptions-with-proxy-observables-in-rxjs-1ccdbd6a67dd?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ccdbd6a67dd</guid>
            <category><![CDATA[rxjs]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Mon, 07 Oct 2019 20:01:39 GMT</pubDate>
            <atom:updated>2019-10-07T20:04:42.994Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pqvhWO1s5-C4xkpp" /><figcaption>Photo by <a href="https://unsplash.com/@dewang?utm_source=medium&amp;utm_medium=referral">Dewang Gupta</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Have you ever wished there was an <a href="https://rxjs-dev.firebaseapp.com/">RxJs</a> method that would let you have <strong>one observable</strong> for multiple observable streams that are constantly starting and completing? In <a href="https://rxjs-dev.firebaseapp.com/guide/testing/internal-marble-tests#marble-syntax">marble syntax</a>, they might look like this:</p><pre>^-a---b--c---|  ^---d---e-f---|  ^g--h----i-|</pre><p>Here, an observable stream starts, emits some values, and then completes. And then it happens again. And again. This requires your app to maintain separate subscriptions for each one. But you want to perform the same logic when they emit, and you need it to be done in <strong>one observable</strong>. What operator can dynamically subscribe and unsubscribe to multiple, perhaps simultaneous streams? Answer: none of them.</p><p><strong>Spoiler alert</strong>, there is no Github repo at the end of this article. The solution already ships with RxJs…</p><p>Another example; let’s say you have an array of observables. You need to subscribe to all of them in one subscription, and then perform some logic on all the values in the array whenever just one emits. <em>But here’s the catch</em> — the array adds and removes observables at runtime:</p><pre>streams: Array&lt;Observable&lt;any&gt;&gt; = [x$, y$, z$];<br>// which becomes [x$, z$]<br>// and later [y$, a$, b$]</pre><p>These might seem like contrived cases, but they’re actual cases I’ve run into.</p><p><strong>The solution</strong> I landed on is a “proxy observable”. The proxy is just a Subject or BehaviorSubject that you call next() on from other subscriptions. Use the BehaviorSubject if you want the last emitted value available to new subscriptions. Otherwise just use Subject.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fgiphy.com%2Fembed%2Fl41YfdYdptDB9RHIA%2Ftwitter%2Fiframe&amp;url=https%3A%2F%2Fmedia.giphy.com%2Fmedia%2Fl41YfdYdptDB9RHIA%2Fgiphy.gif&amp;image=https%3A%2F%2Fi.giphy.com%2Fmedia%2Fl41YfdYdptDB9RHIA%2Fgiphy.gif&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=giphy" width="435" height="239" frameborder="0" scrolling="no"><a href="https://medium.com/media/ce7cb2fef1a33779adaf5877af17acc1/href">https://medium.com/media/ce7cb2fef1a33779adaf5877af17acc1/href</a></iframe><p>For example, in an Angular service for web socket connections, you could use a proxy observable to expose a single observable for multiple connections that are opening and closing.</p><pre>proxy$ = new Subject&lt;any&gt;();</pre><pre>// subscribe to the proxy<br>this.proxy$.pipe(<br>  takeUntil(this.destroyed$)<br>).subscribe(value =&gt; {<br>  // perform logic on any emitted value<br>});</pre><pre>newConnection(url: string) {<br>  const connection = webSocket(url);<br>  connection.pipe(<br>    takeUntil(this.destroyed$)<br>  ).subscribe(message =&gt; this.proxy.next(message));<br>}</pre><p>Your app can keep calling newConnection(). Connections can close and open, and emitted values will all be handled by the proxy subscription.</p><p>In the example of the array holding varying amounts of observables, your code might look something like this:</p><pre>proxy$ = new Subject&lt;any&gt;();<br>subscription: Subscription;<br>multipleStreams: Array&lt;Observable&lt;any&gt;&gt;;</pre><pre>// subscribe to the proxy<br>this.proxy$.pipe(<br>  takeUntil(this.destroyed$)<br>).subscribe(value =&gt; {<br>  // perform logic on latest array values<br>});</pre><pre>renewArraySubscription() {<br>  if (this.subscription) this.subscription.unsubscribe();<br>  this.subscription = combineLatest(...this.multipleStreams).pipe(<br>    takeUntil(this.destroyed$)<br>  ).subscribe(values =&gt; {<br>    this.proxy$.next(values);<br>  });<br>}</pre><p>Here, therenewSubscription() method can be called every time the array’s contents change. You can perform logic inside the proxy$ subscription, or put it in a tap() and expose theproxy$ itself, for your app’s components. This allows all the subscription logic to abstracted away in your service.</p><p><strong>That’s it.</strong> Got any other use-cases this solves? I’d love to hear about them in the comments.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ccdbd6a67dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You may say I’m a tapper, but I’m not the only one]]></title>
            <link>https://inorganik.medium.com/you-may-say-im-a-tapper-but-i-m-not-the-only-one-5033ab6d18dd?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/5033ab6d18dd</guid>
            <category><![CDATA[idle-games]]></category>
            <category><![CDATA[mobile-games]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Mon, 30 Sep 2019 18:55:44 GMT</pubDate>
            <atom:updated>2019-09-30T19:03:59.706Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Idle games are my guilty addiction.</em></p><p>It could be because, at my station in life, I get a dopamine hit from accomplishing things. Or it could be because these games <em>are designed</em> to form an addiction. Possibly because I don’t have the time to invest in “real” games. Maybe because generally when you “check on” these games, there’s always something there for you. Or because of all those things. But I must say I am addicted.</p><p>Perhaps it started with <a href="https://dogeminer.se/">Dogeminer</a>, which I actually wrote <a href="https://github.com/inorganik/dogebot">a script</a> for… I was definitely hooked on <a href="https://hyperhippogames.com/adventure-capitalist/">Adventure Capitalist</a> for a while. Now I play the sequel <a href="https://hyperhippogames.com/adventure-communist/">Adventure Communist</a>. They are simple enough, you tap something to generate resources, which allows you to buy more things that generate more resources, and upgrade those things, ad nauseam. I really like NimbleBit’s take — <a href="https://apps.apple.com/us/app/bit-city/id914343148">Bit City</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*0oNb1z603aVcD9kF9xsEMA.png" /><figcaption>Twin City</figcaption></figure><p>I’m still trying to get to the last moon city on this one. I’ve literally been playing it on and off for years.</p><p>Another one I enjoy is <a href="https://apps.apple.com/us/app/egg-inc/id993492744">Egg Inc.</a>, another game I’ve been playing for years, and I still haven’t gotten to the end. (I’ve gotten the last egg but haven’t earned the diamond trophy for it yet). I discovered Egg Inc. because the developer made Zombie Highway (1 and 2) — a completely different game I was hooked on for a while.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*dCwIoXwqNDbdIwNRBBki-w.png" /><figcaption>The Universe egg on Egg Inc.</figcaption></figure><p>A more recent favorite is <a href="https://apps.apple.com/us/app/sprout-idle-garden/id1447749336">Sprout: Idle Garden</a>, but I quickly finished that game. The graphics are beautiful though. Here’s a maze I made in the game:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*y6jk7eNgxnN1UuIQ8AiQlw.png" /></figure><p><a href="https://apps.apple.com/us/app/bud-farm-grass-roots/id1100883805">Bud Farm</a> had me for a while, but somehow I lost interest. There are others I’ve dabbled in… <a href="https://apps.apple.com/us/app/green-the-planet/id955387547">Greening the planet</a>, <a href="https://apps.apple.com/us/app/cats-are-cute/id1395888987">Cats are Cute</a>, and some of the various “merge” incarnations.</p><p>Am I missing out on any other good ones?</p><p>The interesting thing about all these games is that they seem to have a HUGE user base. How do I know? There are a few clues…</p><ul><li>Most have a very active sub reddit and discord</li><li>They have fan-maintained wikis</li><li>For missions or “coops” which allow multiple players to team up, teams quickly fill up when posted on reddit/discord</li><li>I’m never <em>anywhere near</em> the top scores and I do pretty well</li></ul><p>So even though I don’t know any idle gamers IRL, I know you’re out there! Anyone want to build an idle game with me? 🙂</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5033ab6d18dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Internationalizing your Angular app]]></title>
            <link>https://medium.com/briebug-blog/internationalizing-your-angular-app-aeebb4e50bfe?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/aeebb4e50bfe</guid>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[i18n]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Thu, 05 Sep 2019 19:52:05 GMT</pubDate>
            <atom:updated>2021-02-03T17:52:23.319Z</atom:updated>
            <content:encoded><![CDATA[<p>A guided tour of your options and how to implement them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OssHQA580t6HNzHMdmZ-WQ.jpeg" /><figcaption>“We are the world, we are the children… 🎶”</figcaption></figure><p>Supporting a user’s locale and language is an often overlooked but important way to make your app user-friendly. When you internationalize your app, you’ve taken an important step in making your app accessible and usable for more users around the world.</p><p><strong>This article has moved</strong>: <a href="https://blog.briebug.com/blog/internationalizing-your-angular-app">https://blog.briebug.com/blog/internationalizing-your-angular-app</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aeebb4e50bfe" width="1" height="1" alt=""><hr><p><a href="https://medium.com/briebug-blog/internationalizing-your-angular-app-aeebb4e50bfe">Internationalizing your Angular app</a> was originally published in <a href="https://medium.com/briebug-blog">BrieBug Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I ❤ RSS]]></title>
            <link>https://medium.com/podfan/i-rss-daab45fc838c?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/daab45fc838c</guid>
            <category><![CDATA[rss]]></category>
            <category><![CDATA[podcast]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Mon, 15 Jul 2019 18:54:11 GMT</pubDate>
            <atom:updated>2019-07-15T20:59:37.245Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>RSS champions the little guy. It empowers the unheard voice, and has made a monopoly in podcasting impossible.</blockquote><p>I’d like to take a moment to recognize RSS. An antiquated piece of web technology to be sure, built on XML, a relic of the web’s past. And in fact you can find plenty of articles <a href="https://techcrunch.com/2018/04/07/rss-is-undead/">declaring</a> <a href="https://www.vice.com/en_us/article/a3mm4z/the-rise-and-demise-of-rss">RSS</a> <a href="https://twobithistory.org/2018/09/16/the-rise-and-demise-of-rss.html">dead</a>…despite the contrary.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NtYRHFeIzqdzAwwRscbJ1g.jpeg" /></figure><p>Though it’s no longer a mainstream blog reading tool, it lives on at a grand scale. RSS makes publishing and subscribing to podcasts possible. There are, at time of writing, over 750,000 podcasts. Each one of these publishes an RSS feed which your podcast player consumes. In other words, when you open up Apple Podcasts, or whichever podcast app you use, all the new episodes available for you to listen to are there because they were published in that podcast’s RSS feed.</p><blockquote>Since its inception, podcasting has embodied the spirit of the independent creator. And thanks to adopting RSS, podcasting has remained decentralized.</blockquote><p>If you were to read one of the “RSS is dead” articles, what they complain about is actually pretty laughable. “Lack of user tracking” and also that “RSS also offers very few opportunities for branding content effectively”, and “No way to insert ads.”</p><p>Ha.</p><p>RSS came from a time when digital media wasn’t controlled by any major platforms. There were no algorithms, no EdgeRank standing between a content creator and their audience. It was and <em>still is</em> a direct line between the publisher and the subscriber. And in today’s internet, that’s pretty remarkable.</p><p>What that means is that anyone, regardless of what color they are, their gender or their beliefs, can publish their voice, and <em>anyone</em> can subscribe to it, without interference, in decentralized bliss. Nobody’s content is favored over anyone else’s.</p><p>With the news media, RSS distribution has fallen out of favor. Journalism has become commoditized and the sheer number of articles published daily by each outlet make it impractical. Even blogging platforms (like this one) have dropped support for RSS. But for podcasts, it’s the standard.</p><p>Since its inception, podcasting has embodied the spirit of the independent creator. And thanks to adopting RSS, podcasting has remained decentralized. It’s been an open, wild, and untamed frontier in our digital landscape. There may be challenges that we still face, but at the same time there are no shadow bans, no demonetization, no censorship that has plagued giant platforms. RSS champions the little guy. It empowers the unheard voice, and its role as a standard in podcasting has made monopoly impossible.</p><p>So here’s to open technologies, regardless of their age, that make an open and free internet possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=daab45fc838c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/podfan/i-rss-daab45fc838c">I ❤ RSS</a> was originally published in <a href="https://medium.com/podfan">Podfan</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Use of WebSockets in Angular — Way Easier Than You Expected]]></title>
            <link>https://medium.com/briebug-blog/making-use-of-websockets-in-angular-way-easier-than-you-expected-25dd0061db1d?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/25dd0061db1d</guid>
            <category><![CDATA[rxjs]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[websocket]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Thu, 16 May 2019 18:07:20 GMT</pubDate>
            <atom:updated>2021-02-03T17:53:00.429Z</atom:updated>
            <content:encoded><![CDATA[<h3>Making Use of WebSockets in Angular — Way Easier Than You Expected</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DlTgMe5CZ5BfICp6i42f-g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/40XgDxBfYXM?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jordan Harrison</a> on <a href="https://unsplash.com/search/photos/server?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Using WebSockets may seem daunting, but they are delightfully simple. And what you’ll be really glad to know, is that RxJs ships with a thin wrapper around the native browser WebSocket client. No additional third party dependencies are needed, and you get an observable data stream right out of the box!</p><p><strong>This article has moved</strong>: <a href="https://blog.briebug.com/blog/making-use-of-websockets-in-angular">https://blog.briebug.com/blog/making-use-of-websockets-in-angular</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=25dd0061db1d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/briebug-blog/making-use-of-websockets-in-angular-way-easier-than-you-expected-25dd0061db1d">Making Use of WebSockets in Angular — Way Easier Than You Expected</a> was originally published in <a href="https://medium.com/briebug-blog">BrieBug Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Angular: Implementing Drag and Drop in a Material tree]]></title>
            <link>https://medium.com/briebug-blog/angular-implementing-drag-and-drop-in-a-material-tree-f96b9fe40f81?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/f96b9fe40f81</guid>
            <category><![CDATA[material-design]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Wed, 27 Mar 2019 16:11:46 GMT</pubDate>
            <atom:updated>2021-02-03T17:51:54.901Z</atom:updated>
            <content:encoded><![CDATA[<h3>Angular: How to Implement Drag and Drop in a Material tree</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*3eXe0uv9l4jetGXcP2e4YQ.gif" /></figure><p>The Material CDK released Drag and Drop in version 7, and it offers a powerful api for supporting drag and drop in your Angular app! The Material Tree is also a recent addition to Material, and it makes it possible to display structured data like a file explorer.</p><p><strong>This article has moved</strong>: <a href="https://blog.briebug.com/blog/angular-how-to-implement-drag-and-drop-in-a-material-tree">https://blog.briebug.com/blog/angular-how-to-implement-drag-and-drop-in-a-material-tree</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f96b9fe40f81" width="1" height="1" alt=""><hr><p><a href="https://medium.com/briebug-blog/angular-implementing-drag-and-drop-in-a-material-tree-f96b9fe40f81">Angular: Implementing Drag and Drop in a Material tree</a> was originally published in <a href="https://medium.com/briebug-blog">BrieBug Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Charting a course for Apple’s role in podcasts]]></title>
            <link>https://inorganik.medium.com/charting-a-course-for-apples-role-in-podcasts-ae21dcf6328d?source=rss-f49242c6debb------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae21dcf6328d</guid>
            <category><![CDATA[podcast]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Jamie Perkins]]></dc:creator>
            <pubDate>Tue, 19 Mar 2019 16:30:18 GMT</pubDate>
            <atom:updated>2019-03-19T16:30:18.833Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/607/1*O4UAA1-lB2IcQzpz3_iC3w.jpeg" /></figure><p>Apple has thus far been a noble steward of podcasts, and you could easily make the case that Apple brought podcasts into the mainstream, by making them freely accessible and open for anyone to create without a fee. While podcasts have enriched the Apple ecosystem, podcasting has grown to a point where it’s no longer an incentive to buy an iPhone. So what should Apple’s role be going forward?</p><p>Apple is at a crossroads. Its direct competition, Spotify, is buying up podcasting companies which will inevitably end in certain podcasts being available only through Spotify. Will Apple continue its hands-off approach? Maintaining the iTunes podcast index and its podcast apps for iOS, Apple watch and even Apple TV are an investment with no apparent return.</p><p>Some have suggested that Apple create a paid subscription option for podcasters. However this flies directly in the face of podcasting’s biggest virtue — it’s openness. Being locked into the Apple Podcast app on Apple devices, and sending such a huge cut (30%/month) to Apple doesn’t feel like a win for consumers or the podcast industry, making individual podcast subscriptions too expensive to be sustainable.</p><p>The beauty of podcasts is that there are no gatekeepers who run ads over your content and dictate terms of how you can monetize or interact with your listeners. Anyone can subscribe to your feed in any podcast player, and get your content as it’s created.</p><p>Instead I propose Apple take a course more congruent to its current handling of podcasts, by promoting an open system which is accessible to as many creators and listeners as possible, while nurturing the podcast ecosystem by providing creators the ability to offer paid subscriptions in the most open way possible:</p><ol><li>Apple should make it as frictionless as possible to subscribe to a private feed in an open way.</li><li>Apple should lower their take for podcast subscriptions paid for in-app to 10% .</li><li>Apple should allow podcast apps to direct users outside the app to pay for podcast subscriptions.</li></ol><h3>A win for Apple</h3><p>These changes would show that that Apple supports a democratized platform, and that Apple really does want what’s best for consumers and podcasters alike. Apple would be pointed to as an example of what good tech stewardship looks like.</p><h3>A win for Podcasters</h3><p>This would also make content subscriptions sustainable for indies instead of just juggernaut networks. Creators could offer listeners a subscription themselves instead of taking a tiny cut of a bundled subscription fee for a podcast network. It would reduce paid-subscription friction and allow podcasters to charge a sustainable subscription fee.</p><p>Truly open platforms are a rare thing these days. So far Apple has done a great community service by supporting the podcast ecosystem without muddying the waters with its own financial interests. This has been a boon to podcasting. I hope Apple continues to be a pillar of the podcast ecosystem by supporting a truly open platform.</p><p>✨🎙✨</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae21dcf6328d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>