<?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 Brennan Stehling on Medium]]></title>
        <description><![CDATA[Stories by Brennan Stehling on Medium]]></description>
        <link>https://medium.com/@brennansv?source=rss-42b283987397------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Q1CpdkjzPGjfJmXSNqxa0g.jpeg</url>
            <title>Stories by Brennan Stehling on Medium</title>
            <link>https://medium.com/@brennansv?source=rss-42b283987397------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 04:21:35 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@brennansv/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[VS Code: Navigating Open Source, Extensions, and Telemetry]]></title>
            <link>https://brennansv.medium.com/vs-code-navigating-open-source-extensions-and-telemetry-2263145c58bb?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/2263145c58bb</guid>
            <category><![CDATA[vscode]]></category>
            <category><![CDATA[ide]]></category>
            <category><![CDATA[open-source]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Mon, 11 Sep 2023 20:34:58 GMT</pubDate>
            <atom:updated>2023-09-11T20:53:05.290Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="San Francisco Muni station heading toward Chinatown" src="https://cdn-images-1.medium.com/max/1024/1*UsI9A725hzjjtCooT-7rnw.png" /></figure><p>Microsoft’s VS Code, a popular IDE among developers, has recently <a href="https://ghuntley.com/fracture/">faced scrutiny</a>. But what’s all the buzz about? Let’s dive in!</p><h3>The VS Code Marketplace: A Mixed Bag</h3><p>While VS Code remains an open-source hero, there’s a hitch: <a href="https://vscodium.com/">VSCodium</a> provides binaries built using the open-source code, but lacks Microsoft Marketplace access. Now, many criticize VS Code for allegedly promoting proprietary extensions over open-source ones. Here’s my take:</p><p>I appreciate the countless extensions available for free, and I’ve used many of them. For instance, <a href="https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens">GitLens</a> caught my eye with its features but lost me at the $5/mo subscription after its trial. I personally found value in alternatives like <a href="https://gitup.co/">GitUp</a>, which is a Mac desktop app which is free and open-source. That being said, extensions, free or paid, deserve our support. The time and effort developers put into them should be acknowledged, perhaps even monetarily.</p><p>But what if, instead of paying for a single extension, we could access a bundle with assured support for our most pressing issues? It’s worth considering, especially if the VS Code Marketplace is gearing towards this.</p><h3>Telerik &amp; The Beauty of Paid Software</h3><p>Throwback time! I remember Telerik, the Danish company which sells licenses for UI components for Microsoft’s tech stack. Their quick forum responses were a lifesaver years ago when I used their products. Fast forward to iOS development, and the landscape was very different. There was no market for packages backed by customer support, I was dependent on GitHub-reported bugs being deemed “priority.”</p><p>Sure, I appreciate open-source code, but having licensed code with a support agreement has real value when the team which supports the software effectively adds to the headcount of my team. Purchasing a license for $300 which saves me 120 hours of work and gives me 1 year of technical support is a no-brainer.</p><h3>Telemetry: Friend or Foe?</h3><p>Another hot debate surrounding VS Code? Telemetry. We’re living in an age hyper-aware of data tracking and its implications.</p><p>Having been on the inside of app development, I’ve seen the utility of such data. For instance, monitoring user sign-in success rates alerted us to outages and allowed for quick resolutions. The key here was that no Personally Identifiable Information (PII) was ever collected. The focus was on app performance, user experience, and issue prioritization.</p><p>If VS Code follows suit, telemetry can be a valuable asset. The real concern would arise if this data veered off course, serving advertisers more than developers. How could we know what data is collected and how it is used?</p><h3>Wrapping Up</h3><p>So, is the rumored shift of VS Code towards commercial software products all doom and gloom? My take: as long as free and open-source extensions thrive, and the IDE stays open-source, my concerns are mitigated.</p><p>Telemetry, on the other hand, requires transparency. For now, as I can’t envision how my VS Code usage would be valuable to data brokers it is not a big concern. The real value is my activity on the Marketplace website which can reveal which types of extensions are most useful to me.</p><p>Ultimately, if there’s a tool that amplifies my productivity, I’m on board. Unless there is a smoking gun of blatant abuse of my personal data, I am not inclined to be concerned.</p><p>Supporting the developers and teams behind such VS Code? Yes, it has been a great tool for years and will remain an essential part of my toolkit.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2263145c58bb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before Mastodon’s Rise]]></title>
            <link>https://brennansv.medium.com/before-mastodons-rise-ac4bbf565e00?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/ac4bbf565e00</guid>
            <category><![CDATA[fediverse]]></category>
            <category><![CDATA[mastodon]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Mon, 27 Mar 2023 03:07:39 GMT</pubDate>
            <atom:updated>2023-03-27T03:14:49.575Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Stylish drainage grate at the Sunnyvale Caltrain station" src="https://cdn-images-1.medium.com/max/1024/1*N_SxZAeCjgVJ8oa_wWbjRQ.png" /></figure><p>Long before the Fediverse we had decentralized systems for many years. We used email, calendar, blogs, bulletin board systems, newsgroups, IRC and text messages to connect, invite others to events and just chat with our community. Internet protocols like SMTP, DNS and HTTP were designed to connect networks made up of many different systems all over the planet. Services like <a href="https://joinmastodon.org/servers">Mastodon</a> are not the first distributed systems to connect millions of people.<br> <br> You do not need deep technical knowledge to run a server to be connected to a community. It is now easier than ever to create a website, publish a newsletter and host a forum using free software. It is also often free or very affordable with so many cloud providers. Right now you can buy your own domain and set up your own platform that you control and reach your community on your terms. The illusion that platforms are controlled by large, centralized corporations was never real. Remember that.<br> <br> Google’s search engine became valuable because it indexed more content than other search engines when it first started. That content was not created by Google. Instagram has value because users post photos and videos. Facebook does the same along with making it easy to plan events and organize into groups around a shared interest. These big companies have monetized the content others create. What if instead of just making this content easily accessible on the platforms these companies control we go back to what made the Internet such a transformational force?</p><p>Maybe you don’t want to delete your accounts on these centralized platforms. That is understandable. It is where you’ve connected with your friends for a long time and walking away would be hard. But that does not mean it is the only place you can post content and stay connected with them. In fact, you could start posting on your own blog or newsletter and put links on Mastodon while still posting on other platforms. As more and more people spend less and less time using Meta apps they will have a way to stay connected with you. Many have already stopped using Facebook and Instagram.<br> <br>Many who have left the <em>Birdsite</em> are now on Mastodon and the conversations have continued like nothing has changed. If you don’t have your own domain, blog or Mastodon account yet now is a good time to consider it. Here’s a short list to get started.</p><ol><li>Buy a domain that you will own and control for years to come.</li><li>Decide where you will host your own website with your domain.</li><li>Set up your website which will link to all of your accounts everywhere.</li><li>Put the link to the website that uses your domain on all your profiles.</li><li>Ask all your friends to include the link to your website in their contacts.</li></ol><p>Mastodon now has more than 10 million active users. It is built on a W3C standard called <a href="https://www.w3.org/TR/activitypub/">ActivityPub</a>. You can think of it like a blog with much more powerful features. There are other apps in the <a href="https://fediverse.party/">Fediverse</a> which are also built on ActivityPub. You can even find ways to integrate your own website with ActivityPub. (See: <a href="https://wordpress.org/plugins/activitypub/">Wordpress ActivityPub plugin</a>) Before you know it you will be posting to the platform that you control under your own domain and you will still be connected with all your friends, family and co-workers. (See: <a href="https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_domain_name">What’s a Domain Name?</a>)</p><p>If you have questions, feel free to ask either here or find me on <a href="https://sfba.social/@brennansv">Mastodon</a>. There are also a ton of resources to get you through these 5 steps. There are also many cloud providers which will help you buy your own domain and host everything on their service for a small fee. And since you own and control your own domain you can always decide to move to another service. You will have full control.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac4bbf565e00" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Essential Books for your Career as a Software Engineer]]></title>
            <link>https://brennansv.medium.com/3-essential-books-for-your-career-as-a-software-engineer-653166bf0857?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/653166bf0857</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[books-recommendation]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Mon, 07 Nov 2022 06:54:41 GMT</pubDate>
            <atom:updated>2022-11-07T18:23:03.832Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8IU-UXNTjIufVdyl_PzHcQ.png" /><figcaption>Sutro Tower, San Francisco</figcaption></figure><p>Over the course of my career I have read several books which have taught me lessons that I make use of every day. There is so much to learn from great books and it is an excellent way to guide your career by learning from others. As a software engineer you will continually have to learn and repeatedly re-learn how to break down problems and work out solutions as you work with new languages, platforms and teams.</p><p>The books below are the 3 which I now find to be essential.</p><ol><li><a href="https://www.goodreads.com/en/book/show/116196.The_Supermen">The Supermen</a></li></ol><p>One of the first books I read at the start of my career was this book which largely focuses on Seymour Cray who created supercomputers in the 1970’s. Every time a new model was created it was entirely new hardware, leveraging the latest state of the art available which also required entirely new software to run the new supercomputer. These machines were used by governments, universities and large businesses to do all kinds of processing. There are so many interesting stories and lessons in this book.</p><p>One quality which stood out is how Seymour would always assemble his boards himself and do all of the binary math while many others would have interns or junior engineers do this work. The advantage of always doing this work himself is that he developed instincts of what the hardware could do and also became very fluent with binary math for handling work run on the circuits that it became second hand. One time a team of engineers had been working out a problem with one of the new models for a few weeks and were struggling to solve it. Seymour walked past and saw they were at the chalk board and they explained the problem. He thought about it for a moment and drew up his guidance on the board and they found it immediately solved their problem. The lesson I’ve taken from this story is that always doing the hands-on work can take up a lot of time but it can allow you to solve very difficult problems in less time.</p><p>Seymour also would not use the most cutting edge hardware immediately. He would learn how others who were the early adopters struggled to use new technology. This was work that required a lot of time and experimentation. Seymour would study their work and read about what others had done in the industry and after a while he would jump in and start adopting the new hardware. This way he had the benefit of all the work which had been done for him. In the same way we can see how new software or platform features are being used and learn so much from it. Sometimes we will need to work on the cutting edge, but not always. Leverage the fact that we can learn from those who have come before us.</p><p><a href="https://www.goodreads.com/book/show/15014.Crucial_Conversations">2. Crucial Conversations</a></p><p>While I worked at a consulting company every employee was given a copy of this book. One of the main concepts from the book is the group IQ. It is the idea that if you have a meeting with 5 people and only 2 people are contributing to the the discussion it is limiting the IQ of the group. Instead techniques should be used to bring others into the conversation which increases the group IQ. Often meetings can be dominated by just a couple of people because others do not feel comfortable to share their thoughts or even to contradict others.</p><p>One story in the book was about a company which had grown from a small number of people to the point they needed a new office which would fit everyone. A few locations were scouted and they were having an all-hands meeting and the owner of the company was laying out the criteria and the locations. One of the key criteria was to keep the commutes of most employees as short as possible since the 3 potential locations were a good distance apart.</p><p>The owner of the company was clearly ready to select the location which was the most convenient for him even though it would be much more inconvenient for most of the employees. Nobody felt comfortable about speaking up, because he was the boss. Finally, one of the new employees spoke up and artfully used a technique to contradict the owner of the company without making it confrontational. He asked to go over the criteria again which included the average commuting distance and noted the one the owner was leaning toward was far less convenient than the other 2. And without any push back the owner acknowledged the point and stated that location was off the list.</p><p>This book covers several useful techniques to use in conversations, both for work and in personal situations. It also stressed how it is best to be aware of how people are contributing or not contributing to a conversation and how to pause a conversation and prompt others to join in. Applying these techniques will not only raise the group IQ but also ensure that the team feels they are influencing decisions and the direction of the team.</p><p><a href="https://www.goodreads.com/en/book/show/37638098-creative-selection">3. Creative Selection</a></p><p>This book was written by Ken Kocienda who worked at Apple during early development of the Safari web browser, iPhone and iPad. One major lesson from the book is the value of the demo. Often we give a demo to our teams near the end of a project after most of the work is complete and all the decisions had been made. Typically it is done to solicit praise and help prepare for a promotion. What Ken explains in the book is that the demo should be part of guiding a product right from the start. Early prototypes can be mocked up, even using animation software which mimics the real behavior, just to allow people to see the vision for the end product and offer their thoughts.</p><p>During this process collaboration is key. Discussions with designers and other developers will influence the direction and help with overcoming blockers. There are definitely times when we can go down the rabbit hole which can lose so much time. The book covers how Ken hit blockers and how collaborating with others helped get past them.</p><p>There are several useful tips in the book. For one project Ken was having difficulty making progress and met with two developers who he was told might help. After he went over all of the work that had been done and all of the edge cases which still allowed unwanted side effects they advised him that he should collect all of the code which handles the edge cases in one place. Ken’s take away was, “<em>When software behavior is mysterious, get more organized.</em>” This may be obvious in hindsight, but also very powerful lesson. We are often in a rush to get our code working and try a small change here and there which adds up to a complex mess hoping that every small change will make it all work more quickly, only to introduce more edge cases. The way the code misbehaves can often not make any sense and so it should be organized so that it does make sense. And better yet, the code should work well with automated testing. Then unit tests can be created which help to ensure that all of the behavior is what was intended so there is no more mystery.</p><p>I’ll keep this lesson in mind for a long time.</p><p>What books do you recommend?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=653166bf0857" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Crossing the Streams with Services]]></title>
            <link>https://brennansv.medium.com/crossing-the-streams-with-services-337fe6e51fe2?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/337fe6e51fe2</guid>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[xpc]]></category>
            <category><![CDATA[macos]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Sat, 27 Aug 2022 23:45:57 GMT</pubDate>
            <atom:updated>2022-09-14T19:33:34.084Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KkXJuK_kly6sYvRTZORJsA.png" /><figcaption>Ghostbusters mural at 8th &amp; Bryant in San Francisco</figcaption></figure><p>We can do so much with computers these days. Having a Mac with Apple Silicon has kicked it up a few notches. We can break out of the <a href="https://medium.com/@brennansv/not-ready-for-web3-51bb5a1d1349">limitations of a web browser</a> and leverage features that only native apps can support. One of these features is services. Your Mac runs many services all the time to support apps and systems.</p><p>See for yourself. Open up Activity Monitor and switch to to the Energy tab. Give it a moment and it will list the apps you have been running. Many will have child processes which are the services which support these apps. If you look under Notes you will find it has a service called Notes Networking. It must handle all networking for the app so that if this service needs to be restarted or it crashes it does not crash the Notes app. It can be restarted by the app if the process exits. And app could have multiple services supporting it, like having assistants with specific tasks.</p><p>Services are known at XPC Services, or Cross Process Communication. In Xcode you can create a project for a Mac app and then add an extension to that app which is an XPC service. By default it currently offers a project template with Objective-C but it can be done with Swift.</p><p>Let’s have a look at how this is done. Below is the Service which is the main entry point for the service when it is launched. It creates a listener and sets the delegate.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/dade0c980566bd38a480b2c3a9109ae3/href">https://medium.com/media/dade0c980566bd38a480b2c3a9109ae3/href</a></iframe><p>Next we can define the delegate which we’ll call ServiceDelegate. We only need to implement a listener function. It is used to handle new connections by defining an interface and exporting an object. We’ll create one called BrowserLauncherService.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2c479d932f10e96c1f11f63b05f16a4d/href">https://medium.com/media/2c479d932f10e96c1f11f63b05f16a4d/href</a></iframe><p>Notice that this source file imports BrowserLaunchKit. This is a module which the app and service extension both import so they can share the same protocol. It is a very simple async function defined below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6210ca73790a3a9a38f747b6ab0c20a9/href">https://medium.com/media/6210ca73790a3a9a38f747b6ab0c20a9/href</a></iframe><p>The implementation for this protocol launches a URL in the default browser and logs activity with OSLog so you can view the activity in the Console app. Simply filter to the subsystem and enable info messages in the Console app. For services, the Console app will be a great way to see what services are doing.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ee9456bddabc50bffbb2a3ebc2ce684/href">https://medium.com/media/4ee9456bddabc50bffbb2a3ebc2ce684/href</a></iframe><p>Next we will implement the Client which will be run in the app’s main process. It gets the remote service which conforms to the protocol for the service. The Mac app and service extension can use a common dependency which defines this protocol and other shared code which may be helpful.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f53a9bc1b8fda678382c6e3323105467/href">https://medium.com/media/f53a9bc1b8fda678382c6e3323105467/href</a></iframe><p>Now our Mac app can launch a URL in the default browser.</p><h3>But why?</h3><p>But why is this useful if I can do this already? Well, services can be registered to run outside a Mac app as Login Items, Launch Agents and Launch Daemons. (see: <a href="https://developer.apple.com/documentation/servicemanagement">Service Management</a>) These are services which run even when the app is not running. One of these services could poll a REST API for updates, like GitHub notifications or if a new Xcode beta is available for download and let the user know. Perhaps it would present a notification which the user can tap which would launch the relevant URL to show the user. It would not have to launch its own companion Mac app for this purpose.</p><p>If you wanted to have a companion Mac app which is used to control what the services are monitoring it will have support in macOS Ventura to manage the services directly with <a href="https://developer.apple.com/documentation/servicemanagement/smappservice">SMAppService</a>. Currently services can be registered from the command-line which app installers typically use to register their Login Items, Launch Agents or Launch Daemons. If you are now looking to take your iOS apps built with SwiftUI to the Mac this is a great way to leverage this platform in a way that is not possible on the iPhone.</p><p>Project: <a href="https://github.com/brennanMKE/BrowserLauncher">BrowserLauncher</a></p><p>Below are more links to Apple docs which cover many more aspects to running services.</p><h3>User Agents and Daemons on macOS</h3><ul><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLaunchdJobs.html">Creating Launch Daemons and Agents</a></li><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingXPCServices.html">Creating XPC Services</a></li><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/OSX_Technology_Overview/SoftwareProducts/SoftwareProducts.html">Creating Software Products for the Mac Platform</a></li><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/DesigningDaemons.html">Designing Daemons and Services</a></li><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/Introduction.html">About Daemons and Services</a></li><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CreatingLoginItems.html">Adding Login Items</a></li><li><a href="https://developer.apple.com/library/archive/documentation/MacOSX/Conceptual/BPSystemStartup/Chapters/CustomLogin.html">Customizing Login and Logout</a></li><li><a href="https://developer.apple.com/library/archive/documentation/Security/Conceptual/Security_Overview/Architecture/Architecture.html">Security Server and Security Agent</a></li><li><a href="https://developer.apple.com/library/archive/documentation/General/Conceptual/ExtensibilityPG/Finder.html">App Extension Programming Guide: Finder Sync</a></li><li><a href="https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/Articles/AccessControl.html#//apple_ref/doc/uid/TP40002589-SW2">Elevating Privileges Safely</a></li><li><a href="https://developer.apple.com/library/archive/documentation/Security/Conceptual/SecureCodingGuide/DesigningSecureHelpers/DesigningSecureHelpers.html#//apple_ref/doc/uid/TP40002415-CH2-SW1">Designing Secure Helpers and Daemons</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=337fe6e51fe2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do we need an app for that?]]></title>
            <link>https://brennansv.medium.com/do-we-need-an-app-for-that-7aa710b39342?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/7aa710b39342</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[swiftui]]></category>
            <category><![CDATA[wwdc]]></category>
            <category><![CDATA[swift]]></category>
            <category><![CDATA[apple]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Sat, 21 May 2022 23:54:15 GMT</pubDate>
            <atom:updated>2022-06-15T07:04:47.369Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iKShXsjwRpNsCrXkt4yzYQ.png" /></figure><p>The current state of app development is summarized pretty well by Chris Nielsen in his <a href="https://javascript.plainenglish.io/i-replaced-my-native-ios-app-with-a-cross-platform-web-app-and-no-one-noticed-1653901ce244">recent post</a>. And really, the difficult choice between developing the same app for iOS, Android and Web has been top of mind to most developers since Apple first released the SDK for the first time for iPhoneOS back in 2008, about 9 months after the iPhone was released. Only a small number of native apps were released initially and Steve Jobs recommended building web apps since Safari was very capable for that purpose, which it was. In the US, every iPhone required a data plan and was only available from AT&amp;T and it operated on the Edge network which pre-dates 3G/4G/5G, just to give you a sense of how painfully slow it was.</p><p>Today broadband speeds are pretty common everywhere we go. We now have 5G and web pages could load a lot more resources for JS and CSS and we would probably not notice. Back then it was critical to use tools like <a href="http://dean.edwards.name/packer/">Packer</a> or <a href="http://www.crockford.com/jsmin.html">JSMin</a>. In early 2008, John Resig <a href="https://johnresig.com/blog/the-performance-paradox/">wrote about the trade-offs</a> that were made with these tools. You could reduce the size of JS resources so they would be downloaded in less time but the cost of decompressing still represented another delay before a web app could be usuable. One advantage of a native app is that you can install it while your device is connected to WiFi and when you launch the app it is quick. An app can also access the sandboxed filesystem for Documents and Cache so that data which was previously downloaded is immediately available.</p><h3>HTML5</h3><p>By this point in 2008 what made web apps much more capable was HTML5 which nearly eliminated the need for use of any plugins such as Flash. Many features, which would otherwise require a native app, could work in a web browser thanks to Device APIs, such as Geolocation API. Now there are <a href="https://whatwebcando.today/">many more device features</a> available as a part of web standards which modern web browsers support. Yet there are still many features which will not be available from a web browser like Bluetooth, NFC, USB and task scheduling. As long as your app is able to leverage the available features you can create an app which can deliver great <a href="https://www.nngroup.com/articles/definition-user-experience/">UX</a>.</p><p>When an app tries to do too much, it will harm the reputation of the app and the company. The most high profile example is when <a href="https://www.forbes.com/sites/oliverchiang/2011/01/25/facebook-our-focus-in-2011-is-on-mobile-html5/?sh=1924fd8b6f2f">Facebook released</a> (Forbes) their app for the iPhone built entirely with HTML5 in 2011. That Forbes article states, “Facebook is investing heavily in HTML5, a new Web standard, as a way to unify the Facebook experience across all mobile platforms.” And after significant investment in HTML5 and a major push with millions of people using the app, it went sour due to slow launch times and long delays to update screens. In 2012, Facebook admitted the <a href="https://www.infoq.com/news/2012/09/Facebook-HTML5-Native/">betting on HTML5 was a mistake</a>.</p><p>Even then Facebook had enormous resources and could put the most capable developers on this project to optimize every aspect of the app and still could not overcome the inherent shortcomings of the technologies at the time. One aspect of improving UX for an app is simple animations, which was later handled well by <a href="https://airbnb.design/lottie/">Lottie</a>. And perhaps making use of <a href="https://en.wikipedia.org/wiki/Web_worker">Web Workers</a> could have improved the performance of the Facebook app. Besides GPU support for animations, a big issue for users was how slowly screens would load which was largely due to limited caching features at the time. Each time the app is launched it would have to pull in a lot of data for posts, comments and likes as well as other media like photos which depended on HTTP connections. In 2011 the <a href="https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol">HTTP spec</a> was still 1.1 and the <a href="https://datatracker.ietf.org/doc/html/rfc7234">caching spec</a> did not come out until 2014. Later HTTP 2.0 was implemented with many more improvements such as handling multiple requests on the same connection. All the improvements likely would have helped any HTML5 app. Perhaps if Facebook were to try again, making use of <a href="https://graphql.org/">GraphQL</a> and <a href="https://relay.dev/">Relay</a> it could reach the “good enough” bar this time which was the hope when Facebook started this effort.</p><h3>Beyond HTML5</h3><p>You may be building an app which just cannot be built with what HTML5 offers. You may be working on an music streaming app which processes the audio and it requires low level C code to meet performance requirements. You may need to make use of Bluetooth, NFC or USB connections which are just not supported by web standard features. When a developer is forced into this decision it will come down to building a hybrid app or going fully native.</p><p>React Native is meant to be a UI solution which works much like PHP does with code mixed in with the markdown used for the UI. The same code can be rendered on iOS and Android, which was the promised benefit of this solution. Any native features would be accessed through a <a href="https://reactnative.dev/docs/native-modules-ios">native module</a> like <a href="https://www.npmjs.com/package/react-native-ble-manager">one which can interact with Bluetooth accessories</a>. These native modules offer an abstraction so that is a common denominator between the supported the platforms which are typically iOS and Android. It is often a compromise and it becomes necessary to build out features with native code and make calls over the bridge, which is now <a href="https://dev.to/wjimmycook/how-the-react-native-bridge-works-and-how-it-will-change-in-the-near-future-4ekc">being replaced</a> after years of being the source of performance issues.</p><p>For apps which cannot be built with just HTML5 it is often not sufficient to just use React Native without additional native code. So instead of going from 2 code bases for iOS and Android you end up with 3 code bases and have to integrate the native apps with React Native. Unfortunately once your app as been in use a while it will be necessary to update the libraries which make up React Native and this process is notorious for being difficult and risky. It is not like it once was with Java where a new SDK would be released after rigorous compatibility testing and then packaged so that it could be dropped in as a quick replacement to a previous version. While React Native appears to be a great option at first, these upgrade costs should really be factored into what is necessary to support the app.</p><h3>Committing to Native</h3><p>At one point there was a transition from web-based apps being the default to an “iPhone first policy” with many startups. Instagram was one and even now the website is not meant to be the equivalent of the app. There isn’t even an app for the iPad. The website exists primarily to support sharing links. Times have changed and it appears that we are back to web apps being first again, and perhaps even totally eliminating the need to build and release iOS and Android apps. All the improvements to HTML5, HTTP and the JavaScript engine on mobile devices has helped this return to JS-based apps, perhaps supported by the fact that building apps with Objective-C and Java have just not been appealing to many developers who were starting their careers. At least now Swift and Kotlin are much more appealing and offer many advantages over the older languages which includes JavaScript.</p><p>Still the greatest barrier to entry is the UI. Most code is quite similar for every programming language while building an iPhone app has meant learning to build apps with Storyboards, autolayout and supporting views with Table and Collection views with a great deal of code. And then all of this code relies on UIKit and is not reusable when building a Mac app. That was not a problem when all that mattered was a great iPhone app, but now it is not enough. There are now 4 major platforms in Apple’s ecosystem and building apps for each of them is just not going to be easy for most companies to justify in the budget. Then in 2019 <a href="https://developer.apple.com/xcode/swiftui/">Apple introduced SwiftUI</a> which supports each of these platforms.</p><p>Now, in theory, a lot of the same code which is used to build apps for the iPhone can be reused for macOS, watchOS and tvOS. Most apps are probably don’t need to be released on more platforms than iOS, while a subset would really be great on the Mac. Facebook Messenger, Apple’s Messages, Spotify, Apple Music, Slack and many other apps we use often on the iPhone are even better on a Mac. A full-sized keyboard and a larger screen for these apps is much better than typing on a small, virtual keyboard and being limited to a much smaller screen. And if we are already using a Mac it would be great to just leave the iPhone on the wireless charger and use the app on the Mac which syncs to the same cloud backend. Responding to a message on a Mac is the same as doing it on an iPhone, but much faster.</p><p>Apps like Slack are built with <a href="https://www.electronjs.org/">Electron</a>, a desktop cousin to React Native on mobile. It has it’s own performance issues which includes chewing up the CPU along with a lot of memory at times, but recreating all of the features supported by Slack on every platform it supports is just not reasonable. Clearly HTML, CSS and JS must be used to support this app, perhaps with a bit of help from the native integrations offered by Electron.</p><p>While SwiftUI opens up the option to leverage the same Swift code base across all of Apple’s platforms there are diminishing returns once an app is supported beyond the iPhone. Out of <a href="https://financesonline.com/number-of-smartphone-users-worldwide/">900 million</a> active iPhone users, there are about <a href="https://9to5mac.com/2021/02/11/there-are-more-than-100-million-people-wearing-an-apple-watch-says-analyst/">100 million</a> who wear an Apple watch. Apple does not regulary report the total of active Mac users, but during the trial with Epic Games and Apple in 2021 Craig Federighi claimed active Mac users to be around <a href="https://9to5mac.com/2021/05/19/craig-federighi-apple-vs-epic/">1/10th of iPhone users</a>. With the Apple Watch and Mac representing a slice of iPhone users, there is not a major incentive to invest in an app with a unique code base for those platforms. Yet, there are benefits to using the same code which was already written for iOS to create an app for macOS. And if an app were to benefit from a larger screen, full-sized keyboard and quick access when the user is already sitting in front of their Mac maybe that will be a welcome addition. Having access to messaging apps on the Mac has made it much easier for me. Consider not having a Slack app available on the desktop and using your mobile device to reply to messages with a virtual keyboard which is true for all of the apps which have only been released to the iPhone.</p><h3>App development with Swift</h3><p>While JS is very dominant and can be improved by leveraging <a href="https://www.typescriptlang.org/">TypeScript</a>, it is not going to be able break free of the limitations of JavaScript itself. Using a language like Swift, which is rapidly <a href="https://github.com/apple/swift-evolution">evolving</a> with new releases since 2016, offers features like generics, existentials and structured concurrency. On Apple platforms it can also benefit from the fact that the hardware all the way down to the chip is supported by the language and the many supporting frameworks provided by Apple. It makes it possible to achieve higher performance and use less energy without investing a lot of time in optimizing an app. There is also the <a href="https://swiftpackageindex.com/">Swift Package Index</a> which makes it easy to find many Open Source packages.</p><p>Today nearly everything an app developer will need is available from Apple thanks to a rich collection of frameworks such as Foundation, AVFoundation, CoreBluetooth, UserNotifications and Network. Many frameworks will cover a developer’s needs and made accessible with a simple import statement. It is not necessary to manage to large number of dependencies which bring in even more dependencies which is common with JS projects.</p><p>When you need to make use of an Open Source package or even one which is not public you can now use the <a href="https://www.swift.org/package-manager/">Swift Package Manager</a>. Most packages follow <a href="https://semver.org/">Semantic Versioning</a> so it is possible to keep your dependencies current with minimal effort, which was previously handled with <a href="https://cocoapods.org/">CocoaPods</a>, but without native integration with Apple’s IDE, <a href="https://developer.apple.com/xcode/">Xcode</a>. Adding a package to your project is now much easier than it once was just a few years ago.</p><p>Having access to many frameworks and packages greatly reduces the level of effort needed to build out an app’s features. Data binding is an essential feature in SwiftUI as it has been in the popular JS frameworks for years. The unique workflow which is possible with Xcode and SwiftUI previews has the potential to speed up feature development and reduce overall cost while also creating apps with much better UX. And the way SwiftUI now opens up Apple’s top 4 platforms makes Swift a very appealing option. It compares very well to JS development due to these advantages.</p><h3>Beyond Apple platforms</h3><p>It is possible to build and run Swift on Linux and Windows. Check out the <a href="https://www.swift.org/download/">Swift download page</a> for a list. There are some limitations. Not all frameworks available on Apple platforms can be imported on Windows and Linux. There may be an equivalent module which can be used, such as <a href="https://en.wikipedia.org/wiki/Glibc">Glibc</a> for Linux or <a href="https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/">WinSDK</a> for Windows. Swift conditionally uses these modules on these platforms to support Foundation and the <a href="https://developer.apple.com/documentation/swift/swift_standard_library/">Swift Standard Library</a>. Not everything will be available, but for some uses there may be enough.</p><p>Major frameworks which are missing are SwiftUI and Combine. There are <a href="https://news.microsoft.com/bythenumbers/en/windowsdevices">1.4 billion</a> active users of Windows 10 or 11. If it was possible to run a SwiftUI app on Windows with little to no changes grow their potential market with many more potential users. For developers who have invested years into Apple’s platforms and Swift language, the ability to ship an app originally built for the iPhone to all of these Mac and Windows users would be very worthwhile.</p><p>Android apps can already <a href="https://www.cnet.com/tech/computing/android-apps-and-windows-11-heres-what-you-should-know/">run on Windows</a>. Many Android users own devices which are not able to run the latest Android version, so there is a considerable amount of fragmentation. For iOS, it is possible to update to the latest version on all iPhones going back to iPhone 6s released in 2015. Since <a href="https://developer.apple.com/support/app-store/">over 70%</a> of iPhone owners are running iOS 15 the benefit of leveraging the latest features and releasing the app to a broader base of potential customers is higher than it is for Android since only newer Android devices can make use of newly released features. Is it likely for Apple to release support for SwiftUI on Windows? Perhaps not, but the way these numbers add up there is a case to make for developers who’d like to get more value out of their code.</p><p>On June 6 Apple is starting their WWDC conference and perhaps we will see some features announced which will move Apple just a bit closer to a truly cross platform approach with Swift and SwiftUI. At the very least, we should see improvements which make it much easier to bring iPhone apps to the Mac using SwiftUI.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7aa710b39342" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Social Media vNext]]></title>
            <link>https://brennansv.medium.com/social-media-vnext-6ec421a3af38?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ec421a3af38</guid>
            <category><![CDATA[social-media]]></category>
            <category><![CDATA[tiktok-app]]></category>
            <category><![CDATA[twitter]]></category>
            <category><![CDATA[facebook]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Sun, 27 Mar 2022 23:36:37 GMT</pubDate>
            <atom:updated>2022-03-27T23:50:41.319Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V0NcjaklNGrWdtSvjyTQVA.png" /><figcaption>Howard Street in San Francisco</figcaption></figure><p>So you want to build a new social media service that improves on what we’ve been using all these years. What would be the essential features? How would it stay out of all of the traps which have been such a problem for other services? Why would a new service attract users to it and away from where people are now with all of their friends?</p><p>It is not an easy problem to solve. Surely there are some shortcomings of the dominant services which have millions or even billions of users.</p><h4>Problems</h4><p>Perhaps the root of every problem is that a service was created for a single purpose in mind and users started to use it differently. Not only was the behavior not expected, it was abusive and dangerous at times. Take YouTube, for example. It was meant to be a simple video service which would let anyone create a channel, upload videos and interact with their audience. If it was only used as intended there would be no need for users to report abuses and block other users. It has become necessary to moderate comments and videos which are required to follow community standards and not violate any laws. Instead of focusing on the features for a video service, it has been necessary to invest a great deal of time and resources into managing these problems as the service grows faster than it can keep up. Users cannot understand how the rules are applied inconsistently and when action is taken there is often no explanation. This problem is common for nearly every service and any new service will need to plan on how to minimize it from the start.</p><p>Another common problem is how services are funded. Nearly always ad revenue is what keeps a service operating. Optimizing for ad performance means that every detail about every user must be collected and exploited even when it compromises their personal safety and privacy. A new social media service should not be so dependent on ad revenue and exploiting users to benefit advertisers.</p><p>The last area I’ll cover is misinformation. This is what mostly has caused the divide in recent years and it really should be addressed. Some content is misleading simply because users are posting without knowing better and some is posted intentionally. Professional troll farms are operated with the goal of influencing many people with malicious intent. It is far beyond spreading a rumor about a classmate in school. It is impacting public opinion and used to sway elections and even justify military action. Is it enough to simply deploy an army of moderators or is there a better way?</p><p>With these problems in mind, I will cover a few features which I believe a new social media service should include to reduce or eliminate these problems.</p><h4>Groups</h4><p>Services like Twitter and TikTok just have a feed. You can choose to who follow. You can also follow topics or search with hashtags. You don’t really know what you’ll see next since the algorithm decides and there is no structure to organize the content. This is where groups are an improvement. On Facebook and LinkedIn you can find a group which meets your interest and join it. You can post to just that audience and interact with a smaller number of people instead of a global user base. And within a group, the admins and moderators can set and enforce rules. If a post is popular, it would just be seen by the members of that group. And if someone does post something which violates the rules set for the group a member can report it and a moderator can act on it, however is most appropriate for the group.</p><p>On TikTok, since everyone can see your posts and report them it has become common for accounts to be suspended temporarily or even banned. Mass reporting is done maliciously to take down accounts when some people don’t like what that person is posting even if it is not violating any rules or community standards. Moderators are not even familiar with the person who made the post or those who follow them. It is not really a connected a community.</p><p>When the size of a group is small it is possible to get to know the other members. Members of the group can be come moderators. Rules can also be updated for the group which does not apply to other groups. And if someone has been behaving badly moderators could put them in timeout for a period of time so they cannot post or comment. They can even ban them from the group. This user could always find another group which has different rules and standards where they my fit in better. It is not necessary to deactivate their account globally and eject them completely from the service.</p><p>Typically groups will have members who are local to the area and share a common interest, like mountain bikers in Portland. Clearly the group would be focused on that interest and have rules which disallow posting content which is off topic which will likely just create friction in the group. And if someone is looking to organize an event to ride a nearby bike path, this group would be the ideal place to find others who’d like to join. It creates a real connection both online and in the real world. And when most of the members actually know each other and spend time together on trails it builds trust.</p><h4>Community Moderators</h4><p>Fostering a healthy community is done by curating what is posted and influencing how people interact. When moderators are employed by the company with no involvement in the community it is very disconnected and opaque. When someone has a post reported and it is taken down without any explanation is ruins the experience.</p><p>It is far better when a group has members who have been assigned as moderators who are familiar with members of the group and have a sense of what has been going on in the group. Admins and moderators can set the tone in a group so that is attracts and retains the members they want to be a part of the group. If anyone wants the group to be different they can create another group and as admin set the rules and assign moderators. Users on the service can join and leave groups as they like. There is no risk that an unnamed moderator will misunderstand a post and suspend or ban an account because that is not how groups work.</p><p>When a community is able to manage itself it can become a place online and in the real world where people feel welcome and included.</p><h4>Premium Services</h4><p>When Google launched their mail service it was free. It also launched Docs, Sheets and other services and each was supported by ads. A some point Google started to offer premium services. LinkedIn has offered premium services for many years. It is a great way to give users more and cover the costs with building and maintaining the service.</p><p>A fairly new service, Clubhouse, created a new kind of premium service. It allowed for owners of rooms, similar to groups, could get paid by members who join their rooms. Owners who operate rooms would host discussions which add value for their members. It operates in what is being called the <em>Creator Economy</em>. Hosts plan events in their rooms and generate revenue from their audience, not from presenting ads.</p><p>Over on YouTube, one way that creators generate an income for their channel is to have subscribers pay them monthly through Patreon which is a service outside of YouTube but is often paired with channel owners on the service. YouTube has even added a <em>Join</em> button so that supporters can pay content creators directly and access exclusive content and perks.</p><p>By eliminating the need to only generate revenue from ads it changes the focus of the service to produce the kind of content which is best suited to the audience instead of what gets the highest ad rate. Content creators and their audience benefit the most and the service can take a margin to fund the service.</p><h4>Real Identities</h4><p>The concept of a <em>Verified Account</em> is now supported on multiple services. Twitter has granted the blue badge to users for years so that users would know an account is actually owned by a known public figure. That’s great for them, but what about everyone else?</p><p>A real identity can support more than just a social media profile. For services like Airbnb, Lyft and Turo it is helpful to have a background check and valid driver’s license. If you want to drive for Lyft or rent a car with Turo you have to upload photos of your license into their system to verify you have an ID. If instead we could link our real identity and the state DMV would let a service check our current status, it would ensure only licensed drivers are operating vehicles on this service. And for background checks, if a user has a new addition to their record and it may be welcome by many users to restrict access.</p><p>When it comes to dating apps, it would be most welcome to ensure that someone does not have any violent history before matching them and lining them for a date. It would ensure there is a lot more trust from the start which would likely increase engagement on these services.</p><p>A person’s real identity does not have to be shown to all users, but it would be a useful filter for a service. Perhaps a real ID is only required to join some groups and use certain aspects of a service. Once a user does link their real ID with the DMV it would make many services available to them. They can decide to only show their first name or a nickname in a dating app while services can make sure that users cannot easily create multiple fake accounts to abuse the service.</p><p>With troll farms being so common, it would be much better to limit what they can do if they have not attached a real ID to their account. For product reviews, I’d rather only allow users who have purchased the product and have a real ID to submit a rating and review.</p><p>When it comes to misinformation, having a real ID associated with an account which is often reported as posting misinformation would make it much easier to block them from posting across many groups. After a period of time they could have their access restored, but would have to be careful to not break any rules or violate community standards.</p><h4>Structured Content</h4><p>Finally, one way to really level up social media would be to provide tools which allow for annotating more information to what is posted on a service. Take an example of a video which shows a crazy neighbor terrorizing their community. We’ve all seen this kind of video. It would be helpful to be able to annotate the video as more details are available. Were the police contacted? Was there legal action? What were the consequences? Has a lawyer posted their analysis of the incident? Did the local news run a story on it?</p><p>Instead of just being left with a short video with very limited context, it would be better to learn more about what happened and the outcome from it. Right now we can like a post on TikTok of one of these videos and perhaps later see a Part 2, Part 3 and so on. By creating a structure which supports adding more to the story we all can be better informed.</p><p>This type of content would work against misinformation. Instead of taking down content and suspending users, we could instead have the community contribute to a post with more than just comments. If this incident happened in Austin, TX, then let local accounts attach more details to the post. The police chief, mayor, local lawyer or anyone else who has more credibility than some random other user who simply writes, “I heard he was arrested” and not even provide a link with more details.</p><p>Instead of doom scrolling and seeing a lot of terrible things that happened it would be a much better experience to see that when something bad happens that there was some positive outcome or at least see there were consequences for the bad behavior. I’ve seen so many videos of people taken off a plane or arrested inside an airport, but I don’t know what happened next. I can try to Google it to get more details, but I’d rather crowdsource the details and make that post sharable to other social media services.</p><p>When it comes to purposely misleading posts, it would be possible to directly associate other posts which debunk it. We don’t need the company running the service to put a warning on a post if community members area able to debunk it themselves. Instead of blaming the billionaire CEO, it is on the community itself to set their own standards and enforce them. Some groups may have a higher tolerance for some topics while others do not. That is alright. Let people choose. And just like a physical town square, this online town square should not tolerate trouble makers who are only there to harm the community. The community should be empowered to protect itself.</p><h4>Conclusion</h4><p>This combination of features would make for a much better user experience than what we are getting from Facebook, Twitter, TikTok and other services today. Perhaps these features could be worked into these services. People often talk about <em>Construction TikTok</em> or <em>Fashion TikTok</em>. Why not formally support groups that the users can created and become admins and assign moderators from the community? Facebook could start allowing groups to start making money by letting members have exclusive access to content and features in the group. Twitter has started a Communities features like is sort of like groups but it has not really taken off. The service is so dedicated to the timeline feature that it has not expanding into a great photos app or even a service like Medium which could leverage the current user base and create opportunities to be a part of the creator economy.</p><p>If new services are created, these problems should be considered and I hope they include these features.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ec421a3af38" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not ready for Web3]]></title>
            <link>https://brennansv.medium.com/not-ready-for-web3-51bb5a1d1349?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/51bb5a1d1349</guid>
            <category><![CDATA[html5]]></category>
            <category><![CDATA[web3]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Fri, 14 Jan 2022 06:38:16 GMT</pubDate>
            <atom:updated>2022-01-14T16:39:26.218Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WFrEASGgaT75JDodBS5KmQ.png" /></figure><p>There’s been so much talk about Web3 and everything it is going to be which will be so much better than whatever Web2 was. But we’re really not there yet. There is a lot more work left to do.</p><p>When the World Wide Web took off in the 90’s with <em>HyperText</em> and put together by <em>Web Masters</em>, it was all new and it was not clear what it was going to become. Many were not even exposed to the Internet for the first time. College students used a very early version of electronic mail. And a little startup named Netscape created a web browser which would display static content from websites that you would find with Alta Vista. This was the very start of Web1. It seemed magical. You would enter a URL into the location bar and press enter. As several connections were made to load everything the Netscape logo would rotate and it was mesmerizing.</p><p>Early HTML was very rudamentary. It was meant for sharing technical documents which only researchers would see. It was meant to be human-editable likely with an editor on Unix like <em>Emacs</em> or <em>vi</em>. It was not possible to create a complex layout until <em>table</em> tags were introduced and abused along with the BLINK tag. It was not until later that we got Cascading Style Sheets with <em>div</em> and <em>span</em> tags to spark the debate about whether tables should never be used now that layouts could be done entirely with CSS.</p><p>At this point Document Object Model was still fixed. The <em>HTML</em> loaded into the web browser would be parsed and rendered and remain unchanged. If you wanted to make any changes to a web page you would use PERL to support CGI scripts with your Apache web server. Eventually we needed a way to identify all of the <em>HTTP</em> connections from the same user since the protocol was completely stateless and so <em>Cookies</em> were introduced with very tight privacy constraints.</p><p>Right around this time Sun Microsystems was getting Java off the ground when <em>C/C++</em> were very dominant system languages which could be used with various compilers to support software on many platforms. Java promised that you could Write Once and Run Anywhere on top of the Java Virtual Machine and a very comprehensive Standard Library. Many software developers believed Java would be the last programming language they would ever need. And to get into the mix with the new hotness that was the WWW the contribution which Sun introduced was Java applets which were mini programs. They could run inside web pages to give users interactivity which was not possible with just HTML. At the same time Netscape launched a new scripting language, totally separate, yet still called JavaScript.</p><p>In a very short time so much had changed. This is still just Web1. With JavaScript, CSS and Cookies websites gained a lot of functionality which was all presented in a web browser. Very quickly you did not need a Java applet, but you could throw one in there to show stock prices or sports scores if you liked. Web developers had a lot of new tech to play with and a lot of it was not quite stable. It required a lot of page reloading to see if your guess at a workaround would work. Microsoft came late to the game and rushed their own web browser out along with other browser makers which ignited the Browser Wars. It was still exciting but it was also exhausting. While JavaScript was useful it was very difficult to do anything meaningful with it and make it work in all of the popular web browsers and so it was limited to form validation.</p><p>For a while websites were becoming essential for a lot businesses which would buy their domain names from Network Solutions which was the only domain registrar for many years and there were only a small number of Top Level Domains or TLDs. Companies also found they could invest in websites for web apps supported by the IT department. Processes which were done with paper forms were replaced with websites. AOL was big along with Bulletin Boards and GeoCities. But perhaps the most important use for the web was to sell products and handle payments securely with Secure Socket Layers which was integrated with HTTP to become HTTPS and e-commerce and the shopping basket icon took off.</p><p>This kept a lot of consulting companies and agencies busy for years. Businesses had to go paperless and get online. You had to get your details out there so you could show some branding but also your address, phone number and hours of operation so people could look it up, doing away with the Yellow Pages. There was so much work to do and it was getting done. NFL, NBA, NHL and MLB teams were getting their own websites one by one and eventually the leagues too. It was all very useful and still felt like there was so much potential.</p><p>Then everything changed. Google had been steadily winning everyone over while displacing Yahoo and their web portal so there were plenty of eyes on Google when it started to use AJAX with Maps and Mail. Now instead of the constant page reloading you could load new data and modify the DOM to see live updates from the backend. And it was not just that AJAX eliminated page reloading, it unlocked an entire world of features many did not think was possible with web pages. Not only could you enter an address and get a map faster than MapQuest, it was very easy to read, it looked very good. You could move it around and zoom in and out. It was very smooth. Tiles would be preloaded so they would fill in immediately. Web developers who had only been using JS to validate forms were suddenly shown that this little scripting language was a heavyweight which was very much underutilized and it was time to step it up.</p><p>There was an explosion of JavaScript frameworks at this time like Prototype.js which would patch any differences between the various web browsers which prioritized flashy new features which would make it essential. Browser makers blatantly ignored Web Standards no matter how Jeffery Zeldman felt about it. There was also Backbone.js, MooTools and many others and of course jQuery with a powerful plugin system built on top of core features by John Resig, the JavaScript Ninja.</p><p>This is all going on while browser plugins like Macromedia Flash and Adobe Shockwave were also in the mix but they were always at odds with web developers and designers who were tired of the Browser Wars and saw Web Standards as the right path forward to realize the full potential of the web. And so HTML5 was branded and promoted widely. Adobe had trashed Flash as buggy, slow and insecure for years. Then Adobe acquired Macromedia and tried to convince Steve Jobs that all iPhone apps should be built with Flash. It was never allowed on the platform and despite attempts to make it work well with web browsers on Android it only killed the battery and made the web browser slower. Eventually Adobe reluctantly gave in and started to release tools which would convert Flash to HTML5 and set an end of life date for Flash. The end of Flash was Web 2.0 reaching a significant milestone. Browser plugins and Java applets were a crutch and thanks to Web Standards and the popular web browsers reaching a reasonable level of compliance it was possible to do away with them. Many don’t even remember that YouTube was only possible with Flash for many years and now just uses features defined as a part of HTML5.</p><p>Since this time more advanced JavaScript frameworks and CSS layout systems have been popularized like React.js and Angular. Many websites have adopted one stack or another and we now commonly use Single Page Apps, or SPAs, like Google Mail, Facebook and Twitter. But there are also native mobile apps and desktop apps. Often these apps leverage the backend through a REST API which also support a website or SPA. This allows a lot of features to be shared across iOS, Android and Web. It also allows Third Party apps and websites to access those features via REST APIs for powerful integrations like IFTT. This has now been the state of the web for years. But there has not been that moment like the time when AJAX opened so many people’s eyes to what could be created.</p><p>There have been gradual improvements since HTML5 took over, but really Google Maps and Mail are pretty much the same level of utility. It can show a lot more detail. You can use Street View and render bike lanes. You can also see live updates for traffic and public transit. Cities publish Open Data which Google and anyone else can use to present information on maps. But what is the next step change? What is Web3? Are we really going to be sitting around with VR headsets strapped to our faces and just ignore the red pressure markings left on our faces from a day in the Metaverse? Are all of the people who are selling us Web3 as some kind of product really pushing anything or is it just Vaporware? Or worse, is it hype to just make some quick cash?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xdQuv3vTJG6pT5-bv8u_fA.png" /></figure><p>What was groundbreaking about AJAX was that everyone could start doing something with it. Jefferey Zeldman, John Resig and many others educated us with their books and blog posts. We were trained to leverage all of the power of HTML5 combined with AJAX and an arsenal of tools for JavaScript and CSS. We are long past GeoCities now. In order to make a major step forward again we need a lot of the same ingredients which allowed HTML5 to take over.</p><p>Years back we transitioned from spending most of our time looking at websites to using apps. Passing the 50% point was a milestone. <a href="https://www.mobiloud.com/blog/mobile-apps-vs-the-mobile-web">It’s now over 90%</a>. Facebook just had a website for years without ads and then it launched a native iPhone app with a major contribution from Joe Hewitt. (He also created Firebug for Mozilla which optimized the workflows of every web developer and designer. Now all web browsers have developer tools and I credit Firebug for it.) This native app on the iPhone was really great. Twitter was launched with a REST API and OAuth support so anyone could create an iPhone app which could be a great Twitter app. Day by day users spent more time with apps and less time with web pages. Even as a native app on the iPhone it used a lot of technologies made with the web in mind. All those calls done on the REST API over HTTPS with improvements made to the HTTP protocol all made this native app possible.</p><p>Since HTML5 replaced browser plugins and Java applets, why not replace native apps with HTML5? Mark Zuckerberg tried. He believed deeply in HTML5 and decided that an all new version of the Facebook app would commit to it completely. A new major version of the app replaced the one Joe Hewitt created and articles covering it praised it for how great it looked in the early weeks. Then about a year later the articles had turned sour for how slow and unpleasant it was to use the app. HTML5 web views embedded in a “native” app just did not cut it and Zuckerberg admitted that <a href="https://techcrunch.com/2012/09/11/mark-zuckerberg-our-biggest-mistake-with-mobile-was-betting-too-much-on-html5/">Facebook bet too much on HTML5</a>. This was 10 years ago.</p><p>There is <a href="https://youtu.be/mi_fKu9WTAE">this great scene</a> from Halt &amp; Catch Fire which encapsulates the sense of the possibilities of what the web could become. Do we really want to put on a VR headsets, enter the Metaverse and shop for NFTs? There is so much more we could be doing with all of the technology at our fingertips today. What is being sold as Web3 is just not anything I want today. What I do want is for all my technology to be more useful and for the barriers which prevent solutions from being made to come down. We have our advanced mobile phones, portable computers, lots of wireless devices as well as voice assistants. Each one is powerful and capable on their own. They could be even better if they are integrated well.</p><p>One example of a very smooth integration is Apple’s products. I can quickly look up an address in Apple Maps on my Mac and send it to my iPhone as I head out the door. Once I am outside about to start driving I can get directions on my Apple Watch. As I approach a turn it vibrates to let me know. With very little effort it is so powerful. These devices integrate with each other and help me in the real world. Each of these devices are running code built with the same programing language which is refined for each of these devices which greatly reduces the effort required to make it all work. All these factors together is key and has been so elusive all this time. Each of these steps did not involve a web browser yet leverage many technologies developed for the web to make them work. I believe this is what Web3 should become. It needs to grow beyond the web browser.</p><p>JavaScript was considered a very limited technology before AJAX sparked years of new innovations. Making an AJAX request is a very small amount of code, but it was so powerful. It allowed a web page to connect, communicate and interact. We have all these devices in our lives which don’t have a web browser, but have so much potential. Maybe there just needs to be that one killer app which makes us realize what that potential could be.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=51bb5a1d1349" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[YouTube and Sponsored Content]]></title>
            <link>https://brennansv.medium.com/youtube-and-sponsored-content-978b4205d13?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/978b4205d13</guid>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[creator-economy]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Thu, 30 Dec 2021 20:27:34 GMT</pubDate>
            <atom:updated>2021-12-30T22:02:52.398Z</atom:updated>
            <content:encoded><![CDATA[<p>As a long time consumer of content on YouTube and being involved in marketing for much of my career I have had some thoughts which I have not written down to share in this way before. These are simply my thoughts on the topic as someone who wants creators of good content to be more successful and reach more viewers.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vvUShIXP1dFMR3F71wKs5A.jpeg" /></figure><p>Sponsored content, or <a href="https://en.wikipedia.org/wiki/Native_advertising">Native Advertising</a>, is the norm these days on YouTube and podcasts. It is one of potentially multiple revenue sources a content creator can generate. For decades we’ve seen branding placed in movies like Superman because a beverage company paid to be prominently placed so that moviegoers would be exposed to branding every time they watched the movie. (See: <a href="https://www.coca-colacompany.com/company/history/coca-cola-red-on-the-silver-screen">Coca-Cola on Silver Screen</a>) It is hard to miss the brands placed in the clip where <a href="https://youtu.be/vkfUUqowQjA">Superman Fights General Zod</a>. When it comes to a YouTube video the same embedded branding can be done with the backdrop behind the host in the video or with b-roll footage while not distracting too much from the current topic.</p><p>There is a careful balance which has to be made when embedding branding and ads. It should not be a major distraction from the content and also should not take a significant amount of time away from the content. In the example of this Superman scene, the movie did not have a side scene with a couple of people at a vending machine talking about how much they enjoy a refreshing Coca-Cola. There have been some heavy-handed product placements which are very awkward and noticable. One that I recall is the use of Microsoft Surface in a reality TV show. It was very unnatural and worked directly against the concept if it being an unscripted show. It not only reflected badly on the brand but also the show.</p><p>In the past few years I have watched a lot of videos on YouTube. I’ve been aware of native advertising and branding for many years. I know how BuzzFeed has taken this even further. One example from 2015 is <a href="https://www.buzzfeed.com/ikea/products-that-will-transform-your-tiny-dorm-room">15 IKEA Products That Will Transform Your Tiny Dorm Room</a> which is really an ad paid for by IKEA which doubles as content which brought in a lot of views. There are many product reviews on YouTube which are essentially promoting a product. The criticism of this category of content is these reviews are not genuine because any truly negative comments about the product would likely scare off brands from that channel. And so trust is a factor which some viewers consider when viewing a channel often. If this channel cannot be trusted to offer genuine analysis it may just be misleading and not only unsubscribe but also use the feature on YouTube to make sure content from that channel is no longer recommended. I’ve personally done this with a few channels which clearly paint a rosy picture of any product that is reviewed. In one case I made a purchase and discovered major flaws with the product which were immediately apparent and not mentioned in the video at all. I no longer trust that content creator and no longer watch any of their videos.</p><h3>Goals</h3><p>Let’s define the goals for a creator.</p><ol><li>Grow the audience</li><li>Grow revenue</li></ol><p>When a creator decides to create a channel and they want to do it full-time they will need to make progress on these 2 goals. With these goals defined the following sections cover areas which serve these goals.</p><h3>Prompts</h3><p>The first step most new YouTube channel creators will take is to prompt viewers to like and subscribe. Clearly this will benefit the channel and perhaps the data will help with recommending videos to other viewers who may enjoy it. A simple prompt should be sufficient to remind a viewer to like and subscribe at some point in the video. What some channels do well is place an animated graphic in a corner and play a sound effect to get the viewers attention. The host is still able to speak and this prompt does not interrupt the content.</p><p>For anyone who has enjoyed content from a channel and has seen multiple videos these prompts are likely going to get the desired result. And from time to time it may help to remind viewers of the key benefits to them for taking these actions. Often creators will generically talk about “the algorithm” as some evil thing which makes YouTube also seem evil. But it is just data analysis which is trying to provide a list of recommended videos based on what the videos you’ve liked before and how it correlates with similar content. Going deep into how this analysis works is not going to be fun for your viewers so focus instead on why hitting these buttons benefits them. Here’s a short list of the benefits:</p><ol><li>It indicates you like content in this video</li><li>More content like it will be recommended to you</li><li>This video will now be recommended to more people who also like this type of content</li><li>The channel gets more views, generates more revenue, creates more content that you like</li><li>Related channels also grow and produce more of the content you like</li></ol><p>Framing the benefits for the viewer as a positive will likely see more success with these prompts to like and subscribe. And it does work. I often watch videos and I am enjoying the content and when prompted I do push the like button. When it is one of the better prompts it is a positive. When it is not, well, that is covered in the pet peeves below.</p><h3>Quick Plugs</h3><p>One of the best creators for quick plugs is <a href="https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ">Marques Brownlee</a>. I could try to scrub through some of his videos to try to find one of these quick plugs, but I’d be hunting for a long time. He drops them in so smoothly without breaking away from the current topic. Perhaps what I remember most about these plugs is the teasers. There is so much content coming from this channel that a lot is already in works so MKBHD is able to tease that upcoming content with a quick comment. And it is timed for when the content is really good and the viewer is very much engaged in that moment. MKBHD simply says, “By the way, we have a deep dive coming up soon so be sure to subscribe so you don’t miss it.” Then he continues on topic. In the moment I am at peak interest. It is the perfect time to plug future content and prompt me to like and subscribe.</p><p>My takeways from how MKBHD does quick plugs is this:</p><ol><li>Make it quick</li><li>Make it relevant</li><li>Make it timely</li></ol><p>There is a pacing to MKBHD videos which is subtle but I know every detail is planned out carefully. These quick plugs are not placed near the start or end of a video, but essentially near the climax of the content so that it has the greatest success to draw the viewer in more. It is as if MKBHD is say, “You like this? Want more? Then do this.” And I do. He also has a class on <a href="https://www.skillshare.com/">SkillShare</a> which covers his process. Given the success of this channel, I think it would be useful to absorb as much as possible.</p><h3>Embedded Ads</h3><p>Some channels simply embed ads in the content. We’ve all see these long segments talking about some VPN product which will let you decieve Netflix about your current location so you can view content only available in Europe or Asia. Clearly, I am not a fan of this type of ad. That pitch is a negative to me and it reflects on the channel which embeds the ad. But when the ad aligns with the channel it is a positive. It also helps if the ad is at least fun to watch. The best example of how this is done is <a href="https://www.youtube.com/c/EvanAndKatelyn">Evan and Katelyn</a>. They do a ton of arts and crafts and when it comes to embedded ads they turn it into a skit and have some fun with it. It appears they have earned some creative control so they can make the ad in their own style and typically it is a product I can see they actually use.</p><h3>Pet Peeves</h3><p>As someone who watches YouTube videos, what many creators may not realize is that when something annoying is in every video it is repeated many times for a viewer. And every time it becomes more annoying. There are 2 examples that I will cover here. First is when a host talks about the stats about the viewers and subscribers. It takes time away from the content to essentially beg viewers to subscribe. They clearly want to boost their subscriber count because that is what they value. And every time I see this I think the content is what I value and what should sell me on hitting the subscribe button. Taking time out of every video to tell me the numbers and beg viewers to subscribe, when I have already subscribed, is a distraction which lowers the value of the content. There is one channel which produces a lot of great content but started to beg viewers to subscribe in every video and it became such a distraction that I unsubscribed and set YouYube to not recommend videos from the channel.</p><p>Second is the end pitch which is a generic bumper added to every video which was made months or years ago. Many MSNBC videos have done this which try to get viewers to install the MSNBC news app. I’ve seen this also done with ABC videos as well and it actually starts with an annoying sound effect which becomes very annoying after you’ve heard it many times. I’ve put comments in a few of these videos asking them to stop and also hit the dislike button since these are my only options to communicate feedback on videos. In recent months many of the MSNBC videos no longer include this promo at the end of each video. Instead what has been added to the channel is highlight videos which collects many videos together which may be better for some viewers. Personally I watch a video for a specific news story, but for others who really like that a show or host I can understand how the highlights videos are a very welcome addition. Instead of watching 7 videos in a row with that annoying promo being repeated every 5 minutes, the video is packed full of content with no interruptions. If they still want to promote their own app, then put in a graphic for it and put the link in the description. Passive techniques are better because they do not interrupt the content and become repetative for regular viewers.</p><h3>Lead with Content</h3><p>What I would like creators to do is focus on producing quality content which stays on topic. This is what will keep viewers coming back and sharing links on social media and directly messaging links to friends and foster discussions. I believe this is the best way to grow a subscriber base and drive up views. YouTube is unique compared to conventional TV and now streaming services which have TV shows and movies. Every video is an entry point into a channel and it may be the first time that viewer has been to that channel. If the focus is on the content they will stick around to watch a few more videos. After watching a few they may decide to subscribe. Even better, they will find the content so worthwhile they will share it with others. I often think about how Tesla relates to YouTube channels. Telsa does not pay for advertising. Instead the company focuses on the product and relies on customers to show others which drives sales for the company. In the same way, great content will cause word of mouth to grow a channel.</p><h3>Highly Sharable</h3><p>One way to focus on the content is to understand what would make the content more likely to be shared. Some channels have created a 2nd channel for clips. This may not work well since it is another channel entirely so it won’t directly drive up numbers on the main channel. Instead the structure and topic of a video could be planned out so that it would be useful to many new viewers if the link is shared on social media. This could be a a 3 minute overview of a major event. Since it is short people will be more likely to make time for it and also will be more inclined to share it versus a 2 hour video of a live stream from an event. These “highly shareable” views would be the first sample of the content on the channel for many viewers and an opportunity to prompt them to like and subscribe. The current subscribers will continue watching and you could even prompt them to share these videos which are made to be shared. The timing of this type of video could be once a month so that the analytics could show the potential impact. It may also help to provide a hashtag to use when sharing the video so it is possible to observe all of the interactions with the content on social media.</p><p>Perhaps instead of creating a clips channel, it would make sense to produce short videos specifically for social media which then includes a link to the channel or the full video. This way these other services feed into your channel.</p><h3>Playlists</h3><p>Another easy way to leverage the content which is already created is to organize videos into playlists and share those on your own website and on social media. For a channel like MKBHD which covers a lot of different tech, I only watch some of the content because a lot of it covers topics I know I won’t use. I could browse playlists on the channels I like to see if there are any videos that I missed that I want to see. It is also a great entry point from a website or social media.</p><h3>Ads on Brand</h3><p>With the focus on the content, brands will be eager to reach your audience. I know Total Boat well thanks to <a href="https://www.youtube.com/c/EvanAndKatelyn">Evan and Katelyn</a> doing so many epoxy projects and it makes sense for the company to be featured in these projects. There are often products which are aligned with a channel’s brand because of a natural alignment. Clearly Nike and Michael Jordan were meant to be. The same should be true for YouTube channels. Another example is <a href="https://www.youtube.com/c/Caseyneistatofficial">Casey Neistat</a> and Boosted which was a product he was happy to use and still uses years later when the company is no longer around. Casey’s studio had those 4 boards hanging and charging on the wall in view every time he sat at his desk to make a video. Riding an electric skateboard was a part of his identity and it is one way he showed us NYC in his videos. This product placement made the videos better while also benefitting the brand. This win-win is really the sweet spot which YouTube channels can achieve by focusing on the content.</p><h3>Revenue Sources</h3><p>The focus on ad revenue may also be causing creators to feel they must accept offers which require them to embed ads for products they don’t really use. Exploring more ways to generate revenue may help reduce the pressure to include as many ads. Many channels sell merchandise like shirts and coffee mugs with channel branding. I’ve purchased multiple items from the channels that I enjoy watching and want others to know about. Another popular mechanism is Amazon affiliate links which are in the descriptions of many videos on YouTube. It is a passive way to continually generate revenue from viewers.</p><p>There is also Patreon and the still new Join button on YouTube to allow viewers to upgrade to a premium experience. Some channels are able to sell more than just branded merch. Many woodworking channels offer the plans for the project they do for a modest price. With a lot of viewers the sales of these products can add up. And I am sure channels are able to generate commissioned work from their content. Some creators may be paid to speak at a conference or a private company event because they have established a level of expertise and trust with their audience.</p><p>Long before Apple acquired Beats, those products were featured often in music videos to associate that lifestyle with that product which drove sales. Ryan Reynolds creates a lot of fun videos to share on social media and many include Aviation Gin. He sold that company and still have a promotional deal which generates revenue for him. He does not even have to mention the gin. It is just a part of the videos he shares in some way. In the same way, a product a YouTube creator uses often could be put in frame so it is seen and associated with them with a link in the description. The backdrop which is behind the host in a video is a useful space to leverage for passive promotions.</p><p>A while back <a href="https://www.youtube.com/channel/UC3DkFux8Iv-aYnTRWzwaiBA">Peter McKinnon</a>, a full-time Canadian and popular photographer on YouTube and Instagram, partnered with a company to design and sell what he considers his ideal camera bag. A whole video covers the design process and some of the iterations to get it right. He could have just promoted the products this company already had, but designing a bag that meets his needs perfectly was much more meaningful and genuine. There are many ways a content creator can align their content and brand with revenue generation which also benefits their viewers. Depending on the topics the channel covers the will be different opportunities.</p><h3>Promote Your Brand</h3><p>Finally, break out of the YouTube bubble. Make sure you control your own website and domain name which comes up in Google search results. A channel should just be one of many ways of interacting with the community which is interested in the topic. There are many woodworkers who are active on YouTube who also interact with other woodworkers and viewers on Twitter, Instagram and TikTok. Each of these social media networks can feed new viewers to the other destinations. It may be YouTube but also could be other video platforms such as <a href="https://nebula.app/">Nebula</a>, <a href="https://curiositystream.com/">Curiosity Stream</a>, <a href="https://vimeo.com/">Vimeo</a> or services like <a href="https://www.skillshare.com/">SkillShare</a> and <a href="https://monthly.com/">Monthly</a>. Right now YouTube is king, but alternatives are emerging in addition to Netflix, Hulu, Prime Video, Disney and Apple. These new services will explore features which YouTube will not. And they may walk the line between social media and education, which many really want to support.</p><p>I hope with the points are helpful to creators who are working on growing their audiences and revenue so they can spend more of their waking hours producing great content and have more time to interact with members of their content community.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=978b4205d13" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The rise of AMC stock is something everyone should be studying.]]></title>
            <link>https://brennansv.medium.com/the-rise-of-amc-stock-is-something-everyone-should-be-studying-27cb485a4375?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/27cb485a4375</guid>
            <category><![CDATA[meme-stock]]></category>
            <category><![CDATA[amc]]></category>
            <category><![CDATA[oil]]></category>
            <category><![CDATA[retail-investors]]></category>
            <category><![CDATA[renewable-energy]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Tue, 01 Jun 2021 18:29:38 GMT</pubDate>
            <atom:updated>2021-06-01T21:59:18.521Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*7auQVxb8nkpVdRna-CK9YQ@2x.jpeg" /></figure><p>The rise of AMC stock is something everyone should be studying.</p><p>AMC has become a meme stock this year and millions of people have bought a small number of shares and are interested in AMC evolving and adapting to the current market conditions. What makes this situation worth study is that the CEO has publicly stated that the vast majority of shares are being held by millions of investors with a small number of shares each.</p><p>Normally large funds hold millions of shares and only put pressure on companies to meet quarterly financial goals. They don’t really care about what the company is doing or how policies impact customers. It is different with AMC. These retail investors are also customers who go to AMC theaters to see movies. They are motivated to improve the customer experience. The CEO says these investors are the owners of AMC and he is taking their lead because he works for them. Each of these investors are advocates for AMC which could be leveraged to get more people into their theaters or onto whatever new service the company offers.</p><p>Now that retail investors have shown how influential they can be, it demonstrates that corporations can be influenced and even controlled by everyday people. Just last week a major oil company was <a href="https://www.reuters.com/business/sustainable-business/shareholder-activism-reaches-milestone-exxon-board-vote-nears-end-2021-05-26/">forced to replace 2 board members</a> who are going to push the company to invest in renewable energy and accelerate their transition away from fossil fuels. While oil stocks have been declining the stocks have become more affordable for retail investors. They could target one of these oil companies and snap up a majority of shares across millions of retail investors and push the company to do more with renewable energy. There are growth opportunities in renewables and funding these efforts with oil money makes sense. Oil companies need to become energy companies because their revenues will only diminish as more EVs replace gas-burning vehicles.</p><p>I just bought a small number of shares, along with millions of other retail investors, and AMC has responded in a positive way. This is just a movie theater chain. If all these retail investors turn their focus to other corporations and strongly influence their decisions it would be very empowering. Instead of blaming corporations for problems we can all invest in changing them for the better.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=27cb485a4375" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Swift: Strings and Paths]]></title>
            <link>https://medium.com/swift-curriculum/swift-strings-and-paths-8f5be392693a?source=rss-42b283987397------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f5be392693a</guid>
            <category><![CDATA[ios]]></category>
            <category><![CDATA[swift]]></category>
            <dc:creator><![CDATA[Brennan Stehling]]></dc:creator>
            <pubDate>Fri, 17 Mar 2017 01:09:35 GMT</pubDate>
            <atom:updated>2017-03-17T20:33:15.734Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>TL;DR: </em><a href="https://gist.github.com/brennanMKE/49d73c7058378e3c0bf0e6cbbf042690"><em>StringsAndPaths.playground</em></a></blockquote><p>A snippet of code that I have seen pop up multiple times comes from an <a href="http://stackoverflow.com/questions/32501627/stringbyappendingpathcomponent-is-unavailable">answer on StackOverflow</a> which cannot be down voted enough. This snippet is the result of a method on <em>NSString</em> being deprecated and unavailable to Swift. The method is <em>stringByAppendingPathComponent</em> and while it is common to append path components it is no longer an option with the new String class.</p><p>What should be done to get this functionality? One solution may be to simply join strings together with a path character, but there is a long history of bugs caused by doing so. The reason is that different environments use different characters for the path separator. On Mac and Linux it is “<em>/</em>” while on Windows it is “<em>\</em>”, for example. The way I chose to solve this problem was to visit the Swift repository on GitHub and search for this method and quickly <a href="https://github.com/apple/swift/blob/adc54c8a4d13fbebfeb68244bac401ef2528d6d0/stdlib/public/SDK/Foundation/NSStringAPI.swift#L1345">I found it</a>. The function is there in Swift but it is marked as unavailable with a note explaining that the <em>URL</em> class should be used instead. Whenever I want to find a method I have used time and again with Objective-C which I cannot find in Swift I will return to GitHub to search in the same way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/810/1*QD_ffyy5ZA8BWUfq3XSJeA.png" /></figure><p>Now that we have a hint at how to make this work how is it done? Instead of using <em>NSString</em> an instance of <em>URL</em> can be created and the function <em>appendingPathComponent</em> can be used. The downside may be that it is necessary to create a new instance of an object which is what makes converting to <em>NSString</em> appealing. But a <em>String</em> should not be responsible for handling logic for paths when the <em>URL</em> class already does that. And a big reason to move to Swift is the improved support for unicode character sets. Reverting back to <em>NSString</em> abandons all of the improvments. It is best to find new ways to move forward in pure Swift.</p><p><strong>GitHub Gist</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fbf348875023f762caa7f2f1e972fcfa/href">https://medium.com/media/fbf348875023f762caa7f2f1e972fcfa/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f5be392693a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/swift-curriculum/swift-strings-and-paths-8f5be392693a">Swift: Strings and Paths</a> was originally published in <a href="https://medium.com/swift-curriculum">Swift Curriculum</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>