<?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 Andrew T on Medium]]></title>
        <description><![CDATA[Stories by Andrew T on Medium]]></description>
        <link>https://medium.com/@andrewt3000?source=rss-cfb3088ef7b1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XdKQEO0zDBXbrGwT_6dZsw.jpeg</url>
            <title>Stories by Andrew T on Medium</title>
            <link>https://medium.com/@andrewt3000?source=rss-cfb3088ef7b1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 07:39:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@andrewt3000/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[Legacy auto has no incentive to make EVs]]></title>
            <link>https://medium.com/@andrewt3000/legacy-auto-has-no-incentive-to-make-evs-eed5d9cc1bbc?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/eed5d9cc1bbc</guid>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Fri, 17 Apr 2020 15:01:01 GMT</pubDate>
            <atom:updated>2021-10-20T00:26:46.964Z</atom:updated>
            <content:encoded><![CDATA[<h3>Legacy auto has little near-term incentive to make EVs</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XiyMbcSfiqs5kQk8uuUsig.jpeg" /></figure><p>People ask, why don’t legacy auto companies make compelling EVs?</p><p>It will never happen. Ever. Never ever!</p><p>The EVs made by legacy automakers are garbage. They are half-hearted, compliance cars.</p><p>Here is the reason: Legacy auto has no incentive to sell EVs.</p><p>Here is each role and why they are conflicted regarding EVs:</p><p><strong>Car Dealerships</strong><br>Car dealerships make about half their profit from service. EVs require less service.</p><p><strong>Car salesmen</strong><br>Car salesmen work on commission. They want to sell cars quickly. They don’t want to explain EVs. They don’t want to deal with questions about charging, range anxiety, etc.</p><p><strong>Auto Factory Workers</strong><br>Auto workers and their unions are opposed to EVs because they are simpler to build and require less workers.</p><p><strong>Auto engineers and designers</strong><br>Many auto engineers are mechanical engineers. EVs need less mechanical engineers and more electrical engineers. Mechanical engineers are gear heads. Electrical engineers are geeks. Many of their existing employee’s skill would be irrelevant and they would likely be laid off.</p><p><strong>Auto Executives</strong><br>Auto executives have MBAs from Harvard where they were trained to focus on their “<a href="https://hbr.org/1990/05/the-core-competence-of-the-corporation">core competency</a>” and outsource everything else. One of their core competencies is internal combustion engines.</p><p><a href="http://www.ft.com/cms/s/0/df1d7bb8-b889-11e5-bf7e-8a339b6f2164.html#axzz3xKkAHQFg">Sergio Marchionne, former Fiat-Chrysler CEO, put it this way in an FT interview</a></p><blockquote>He warned the adoption of electric technology risked continuing the process that he called “disintermediation”, under which carmakers have gradually lost control over elements of a vehicle’s contents to suppliers.</blockquote><blockquote>“It’s been a very steady, rigorous process of disintermediation,” said Mr Marchionne.</blockquote><blockquote>Having initially manufactured all their own components, carmakers currently retain primary control of making only vehicles’ powertrains — their engines and transmissions — he added.</blockquote><blockquote>“If we start losing any of that . . . we will not be able to hang on to any proprietary knowledge and control of that business,” said Mr Marchionne. “We won’t be manufacturing the batteries. We won’t be manufacturing the electric motors that are part of that powertrain.”</blockquote><p><strong>Shareholders</strong><br>Many shareholders want dividends and they don’t want the risk of investing in EVs.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eed5d9cc1bbc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Should I buy Tesla full self driving?]]></title>
            <link>https://medium.com/@andrewt3000/should-i-buy-tesla-full-self-driving-8880ab550a9c?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8880ab550a9c</guid>
            <category><![CDATA[self-driving-cars]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Wed, 13 Nov 2019 23:48:49 GMT</pubDate>
            <atom:updated>2019-11-14T22:37:44.113Z</atom:updated>
            <content:encoded><![CDATA[<p>I had several friends considering buying a Tesla ask me if they should buy the full self driving package. Here are my thoughts:</p><p>All Teslas come with AutoPilot at no additional cost. AutoPilot is similar to lane assistance / holding and adaptive cruise control. Essentially it will drive for you if you’re on the interstate or highway. However, it’s still extremely important to keep your hands on the wheel and stay vigilant.</p><p><strong>Safety</strong><br>Tesla’s have the <a href="https://www.tesla.com/blog/model-3-lowest-probability-injury-any-vehicle-ever-tested-nhtsa">lowest probability of injury</a> and one of the reason is the safety features of AutoPilot. This quote is from the <a href="https://www.tesla.com/VehicleSafetyReport">Tesla vehicle safety report</a> for Q3 2019:</p><blockquote>In the 3rd quarter, we registered one accident for every 4.34 million miles driven in which drivers had Autopilot engaged. For those driving without Autopilot but with our active safety features, we registered one accident for every 2.70 million miles driven. For those driving without Autopilot and without our active safety features, we registered one accident for every 1.82 million miles driven. By comparison, NHTSA’s most recent data shows that in the United States there is an automobile crash every 498,000 miles.</blockquote><p>Check out these clips of AutoPilot avoiding wrecks. Be sure to turn the volume up and hear how it warns before you see the wrecks.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fr5dwKsUkW1I%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dr5dwKsUkW1I&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fr5dwKsUkW1I%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/412e6e6ace3ecf1915b2beb66221674b/href">https://medium.com/media/412e6e6ace3ecf1915b2beb66221674b/href</a></iframe><p><strong>What is full self driving?<br></strong>Full Self driving currently costs an additional $7,000. The price was raised on November 1st from $6,000. You can always upgrade to FSD after purchase. However, the price is likely to go up as FSD improves and adds features. Buying FSD today entitles you to all future updates that enable a fully self driving vehicle.</p><p>So how is full self driving different from AutoPilot? The <a href="https://www.tesla.com/support/autopilot">features</a> are: Smart Summon, Navigate on AutoPilot and a few others.</p><p>Smart summon drives your car with no driver to you in a parking lot. You have to maintain line of sight and you can start and stop it with the app. It is obviously a novelty when people see your car with no driver. It is a practical feature when it’s raining. Summon is also useful when someone has parked too close to your car and you can back it out to open the doors.</p><h3>Ray4️⃣Tesla⚡️🚘☀️🔋 on Twitter</h3><p>This is the most interesting summon I&#39;ve see so far.👍👏https://t.co/NXYsKjW7pE</p><p>Navigate on AutoPilot allows you to enter your destination and it will change lanes and takes exits on the interstates. AutoLane change will also overtake slow cars on the interstate. It also lets you change lanes by using the turn signal.</p><p><strong>Looking Ahead</strong><br>Tesla has stated that by the end of the year, they will deliver a feature to navigate intersections and respond to traffic lights and stop signs. Although, I wouldn’t be surprised if it wasn’t delayed till next year. At this point, Full Self driving will be “feature complete.” Meaning it has all the functionality for full self driving and updates will increasing reliability, not add new capabilities.</p><p>Tesla’s goal is to achieve full autonomy. They intend to create a fleet of robo-taxis called the Tesla Network. It would allow owners to release their cars when they’re not using them to generate revenue similar to an Uber, but autonomous. Elon Musk has predicted a Tesla with FSD in the future could generate $30,000 of revenue per year. He also believes it will be an appreciating asset. He believes FSD could make the vehicle worth $300,000.</p><p>If you buy FSD today, you are funding it’s development. I think it’s uncertain when the FSD features and reliability will materialize because it’s uncharted territory and a very difficult technical challenge. There is no guarantee. FSD is to some degree speculative. It’s a gamble.</p><p>However, Tesla is significantly ahead of the competition. The computer in the cars is proprietary and it’s claimed to be capable of full self driving. The biggest advantage is they collect data from all their vehicles and they use driver engagements to find errors in their system. The users are essentially training the neural net by identifying errors and edge cases. It is currently estimated that Tesla has over <a href="https://cleantechnica.com/2019/10/14/lex-fridmans-tesla-autopilot-mileage-statistics-charts/">2 billion miles of data collected</a>. All other competitors combined have less 100 million miles of data.</p><p>Furthermore, I expect Tesla to double their data gathering every year whereas no competitor, to my knowledge, currently has a viable plan to collect data on a mass scale.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8880ab550a9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Batteries are no longer a commodity]]></title>
            <link>https://medium.com/@andrewt3000/batteries-are-no-longer-a-commodity-ef1a0726a6c7?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef1a0726a6c7</guid>
            <category><![CDATA[tesla]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Tue, 08 Oct 2019 20:11:21 GMT</pubDate>
            <atom:updated>2019-10-09T07:44:46.283Z</atom:updated>
            <content:encoded><![CDATA[<p>There is a common misperception that batteries are simple commodities, and that incumbent auto companies can easily catch up to Tesla by acquiring battery technology through suppliers. In the past, battery technology has been a commodity supplied as a minor component for laptops and cell phones by LG, Samsung, and Panasonic. But now batteries are the key differentiator and drivers of cost in EVs. This is a dramatic shift in the industry. Batteries are not easy, and they are no longer a commodity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-RURfEZEydaRhyTMxs5rAA.jpeg" /><figcaption>Cylindrical Panasonic 18650 lithium-ion battery cell before closing</figcaption></figure><p>Let’s start by looking at specs that illustrate Tesla’s advantage.</p><p><strong>Range</strong><br>Tesla’s top range is 370 miles. The competition still isn’t producing an EV that matches Tesla’s 2012 range of 265 miles.</p><h3>Kevin Rooke on Twitter</h3><p>The *2012* Tesla Model S did 265 miles on a single charge. No (non-Tesla) EV sold in America has ever reached that mark. 7 👏 YEARS 👏 LATER 👏</p><p><strong>Battery Life</strong><br>People say “I get a new cell phone every 2 years. Wouldn’t I need a new car battery every 2 years?” Li-ion batteries last about 500 full cycles. Users often completely discharge their cellphone during the day whereas a Tesla typically only discharges 10–20% of the capacity in a day. So higher ranges translate to longer battery life. Tesla batteries last about 500,000 miles and they are working on 1 million mile battery. Long battery life lowers total cost of ownership and helps the vehicle retain value.</p><p><strong>Performance</strong><br>Getting batteries to perform is non-trivial. The Tesla Model S has ludicrous mode and accelerates faster than a Porsche Taycan. This is enabled by longer ranger, and pyrotechnic fuses which Tesla manufactures and are not available to other manufacturers. It is also a challenge to get batteries to tow heavy loads but Model X and Tesla Semi illustrate Tesla has done the work.</p><h3>Marques Brownlee on Twitter</h3><p>Tesla Model S Perf vs Porsche Taycan Turbo S $105,990 $185,000 345mile range 280mile range 0-60 in 2.4s 0-60 in 2.6s 163mph 161mph Autopilot</p><p><strong>Cost</strong><br>Tesla’s battery cost is a secret, but Tesla most likely has the lowest cost. It is probably below $100/kWh. Tesla uses commodity battery form factors and has a secret <a href="https://medium.com/@andrewt3000/teslas-secret-sauce-268817fdcffd">efficient process for assembling</a> them. Tesla leverages economies of scale at the GigaFactory. They also have low amounts of Cobalt in their batteries which is one of the more <a href="https://www.washingtonpost.com/graphics/business/batteries/congo-cobalt-mining-for-lithium-ion-battery/">problematic</a> and expensive elements.</p><p><strong>Safety</strong><br>With high energy density comes the risk of combustion. Tesla has made many advancements such as advanced cooling systems and <a href="https://insideevs.com/news/334322/tesla-patents-pyrotechnic-battery-safety-device/">pyrotechnic fuses</a>.</p><p><strong>Research / Acquisitions</strong><br>Tesla has a research agreement with Jeff Dahn, a pioneer in Li-ion batteries. Tesla acquired Maxwell technology for their solventless dry electrode tech for making better and cheaper li-ion batteries. It has higher energy density, no cobalt needed, and cheaper/faster battery production. They also recently acquired <a href="https://electrek.co/2019/10/05/tesla-quietly-acquires-battery-manufacturer/">Hibar</a>, which makes battery cell production equipment.</p><p>Tesla has an upcoming battery day for investors. It’s an open secret they will begin manufacturing their own batteries, and, I suspect, raise more money.</p><p>Batteries are no longer simple commodities, they are core technology for automakers.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FhjCnuyqEacQ%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DhjCnuyqEacQ&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FhjCnuyqEacQ%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1fbba0c531d7eef4b344151d46b5b9a4/href">https://medium.com/media/1fbba0c531d7eef4b344151d46b5b9a4/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef1a0726a6c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Writing a software service]]></title>
            <link>https://medium.com/@andrewt3000/writing-a-software-service-7e26ba99645c?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e26ba99645c</guid>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Wed, 23 Jan 2019 23:59:22 GMT</pubDate>
            <atom:updated>2020-07-17T16:32:01.074Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ofMfrqFMfpaTH_RMvI_RQA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/photos/OqtafYT5kTw?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Ilya Pavlov</a> on <a href="https://unsplash.com/search/photos/hal-3000?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>I recently told a non-technical manager that writing a software service is significantly more difficult than writing a single-use program or one that runs in a reliable service, such as a web server. He asked why. Here are my thoughts.</p><p>I have written several software services that need to run in the background with high availability. Here are examples:</p><ul><li>Serving mileage and routing data to dispatching clients for transportation companies.</li><li>Processing ATM transactions between credit unions.</li><li>Reconciling checks between banks.</li><li>Emergency notification system for schools and government.</li><li>Machine learning computer vision systems service for manufacturing.</li></ul><p><strong>Realistic Expectations</strong><br>A key question with <a href="https://en.wikipedia.org/wiki/High_availability">high availability</a> is “How many nines do you want?” For instance, five nines, means you are up 99.999% of the time. That translates to 26.3 minutes of downtime per year. The general rule is, each time you add a nine, you add an order of magnitude increase in complexity.</p><p>So why is it so difficult?</p><p><strong>Hidden Errors</strong><br>Many errors are obscured in a single use program. For instance, a connection leak is obscured by the fact that the connections are closed by default when the process ends. Any time you use system resources (opening files, opening connections, starting threads) if they are not properly released they will build over time, deplete your machines resources and crash your service. These errors may never manifest in a smaller use program.</p><p><strong>Threading</strong><br>Another thing that can significantly complicate services is multi-threading. Multi-threading can cause <a href="https://en.wikipedia.org/wiki/Race_condition">race conditions</a> that are difficult to repeat, identify and debug especially with shared resources. On one program we had multiple threads sharing access to a single tcp/ip connection. I was using a singleton pattern to open the connection, but I wasn’t properly locking the resources from other threads. This caused a race condition. Most recently I am loading a machine learning model onto the gpu and need to only load it once even though multiple threads may initiate the loading process.</p><p><strong>Error Handling</strong><br>Error handling is often trivial in a single use command line utility. While it’s best to handle the error gracefully, typically any error terminates the program. However in a high availability service terminating the program means downtime. So at the highest level you need to catch or handle all your errors in a way that will never terminate the program. So an example is catching exceptions in the error handling. Let’s say you catch all the errors at the top of your call stack and then you log the error. You need to put a catch around the code to log the error and handle it by doing nothing. That way it doesn’t terminate the program.</p><p>Another consideration is retrying things after they fail. Often times you will need to queue large batches of work to be done in another thread. This allows you to handle errors independently and not have them get swallowed.</p><p><strong>Robust Logging</strong><br>Logging is crucial for resolving errors, especially ones that occur infrequently. The logging needs to be carefully constructed to identify exactly what went wrong. Typically I will log errors that originate in my program with stack traces and errors returned from external programs such as http errors from a web api.</p><p>Here are the items I would consider in the error logging.</p><ul><li>Error message</li><li>Stack trace</li><li>Timestamp</li><li>Context. Example: id of event that initiated the action.</li></ul><p>It’s very frustrating when a thread or the process terminates and there is no error message. You have no clues.</p><p><strong>Decluttered logging</strong><br>One key element of this is to make sure your error logging is uncluttered. Meaning you should eliminate common errors that aren’t significant so you can see clearly when there is a new error.</p><p><strong>Error Flow</strong><br>Another problem with handling errors is that you need to think about the flow and state of the program if an error occurs. As a simple example, let’s say your doing 2 important but independent task. You want them to be in separate blocks such that an error in one doesn’t prevent the other from running (In this example you might want to make 2 separate services also). Another example is say you loop and check for some state to initiate an action. You need to think about when you should change the state, most likely it needs to be before doing other action that may cause an error and never change the state.</p><p><strong>Babysitting</strong><br>Part of the process of building a high available system is to babysit the process. That means checking it periodically, perhaps everyday, for errors or that its working properly. On some systems I have it email or text me when there are errors.</p><p>It’s difficult to anticipate every error. So problems are revealed as the program runs over long periods of time.</p><p><strong>The 5 whys</strong><br>When there is a failure, don’t get lost in the blame game. Accept responsibility and try to make sure it never happens again. I have found the <a href="https://en.wikipedia.org/wiki/5_Whys">5 whys</a> model to be useful.</p><p>Why did the service fail? It posted to api and the api was asleep.</p><p>Why was the api asleep? We don’t have proper deployment and scaling procedures.</p><p>Why don’t we have proper deployment procedures? We don’t understand the interface very well.</p><p>And so on and so on… it’s a useful way to the bottom of things. Consider writing an incident report.</p><p><strong>Scaling</strong><br>Scaling can be difficult. Programs that seem to work fine under a small load may behave unexpectedly under a high load. One time I had a critical part of the process that launched messages and less critical part that received the status of the messages. Because of a bad design from the 3rd party vendor that we couldn’t change, there was an overwhelming number of status updates. I eventually solved the problem by setting the priority of the thread lower for receiving the status updates than the thread for initiating the messages.</p><p>Threading, queueing, and setting priorities are often not required for simpler programs where everything can simply be done in sequence.</p><p><strong>Other Factors</strong><br>Hardware is another conversation but the basics idea is that you want redundancy. 3rd party software and services are also critical. Often “enterprise” software has high availability. For instance, Sql Server enterprise edition doesn’t require downtime for compiling statistics or defragmenting indexes. Consider 3rd party service providers with good <a href="https://en.wikipedia.org/wiki/Service-level_agreement">service level agreements</a> and strong history and accountability.</p><p><strong>Human element</strong><br>Typically these programs have no user interface. However, the events can set expectations in user’s minds. An example was a service that sent a large number of messages. We changed the service to send the first message to the sender as a confirmation.</p><p>Writing reliable software services is challenging. It’s another level of complexity that a program designed for a single user interactions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e26ba99645c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flutter versus React Native]]></title>
            <link>https://medium.com/@andrewt3000/flutter-versus-react-native-64ea9204e35f?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/64ea9204e35f</guid>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Fri, 04 Jan 2019 20:00:15 GMT</pubDate>
            <atom:updated>2019-01-04T20:00:15.514Z</atom:updated>
            <content:encoded><![CDATA[<p>Flutter is a mobile app sdk that uses the dart language and was created by Google. I will be comparing it to React Native which is typically written in JavaScript and is supported by Facebook. This article assumes you’re familiar with React Native and provides introductory concepts to Flutter.</p><p><strong>Reactive Programming</strong><br>Like react, flutter uses a <a href="https://en.wikipedia.org/wiki/Reactive_programming">reactive programming</a> model. Flutter widgets are similar to react components. Flutter’s <strong>build</strong> method returns a Widget and is similar to react’s <strong>render</strong> method. Flutter has a <a href="https://docs.flutter.io/flutter/widgets/StatefulWidget-class.html">StatefulWidget</a> and a StatelessWidget. Stateful widgets also require a separate State class, similar to react’s state property on a components. Flutter and React both use a setState method to maintain local state.</p><p>React uses <a href="https://reactjs.org/docs/introducing-jsx.html">jsx</a> elements which use an html tag brackets syntax (&lt;&gt;) whereas Flutter’s widget tree is nested calls to constructors functions with <a href="https://www.dartlang.org/guides/language/language-tour#optional-named-parameters">optional named parameters</a>. In Flutter, everything is a widget and even <a href="https://flutter.io/tutorials/layout/">Layout Widgets</a> whereas React uses layout attributes derived from css styles such as <a href="https://facebook.github.io/react-native/docs/flexbox.html">Flexbox</a>, and <a href="https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Grid_Layout">grid</a>. Flutter layout widgets constrain the scope of the layout functionality. The Layout widgets include: columns, rows, grids, lists, and containers. Flutter has written their own components, they don’t use <a href="https://flutter.io/faq/#does-flutter-use-my-systems-oem-widgets">OEM widgets</a> or DOM webviews. The <a href="https://hackernoon.com/whats-revolutionary-about-flutter-946915b09514">Flutter widget tree is the widget tree</a>, there is no virtual and actual component tree as there is in React.</p><p><strong>Other Packages</strong><br>Flutter comes with <a href="https://flutter.io/widgets/material/">material design</a> and <a href="https://flutter.io/widgets/cupertino/">Cupertino</a> (iOs) widget libraries.<br>React native often requires a higher level UI library for production apps such as <a href="https://nativebase.io/">native base</a> or a custom design. Flutter is strongly associated with and has libraries for accessing <a href="https://firebase.google.com/">Firebase</a> and <a href="https://firebase.google.com/docs/firestore/">Firestore</a>, Google’s no sql database for serverless apps. Flutter also has an implementation of <a href="https://pub.dartlang.org/packages/flutter_redux">redux</a>. Flutter is newer and currently dart is not supported by auth0.</p><p>Here is a in depth comparison between<a href="https://flutter.io/flutter-for-react-native/"> Flutter and React Native</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64ea9204e35f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Interview with a Tesla cult member]]></title>
            <link>https://medium.com/@andrewt3000/interview-with-a-tesla-cult-member-4c2a125e2f58?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/4c2a125e2f58</guid>
            <category><![CDATA[tesla]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Fri, 04 Jan 2019 19:27:08 GMT</pubDate>
            <atom:updated>2019-06-19T18:24:46.080Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4YJKASN4ZvC0H3JwH_BxQg.jpeg" /></figure><p>I am a long term Apple (2005–2012) and Tesla investor (2012- present). I have made over 10x return on both investments and I expect another 10x return on Tesla. This is a condensed recount of numerous conversations I have had with people who have lost money shorting Tesla. I have often been called a cult member… Yeh, the cult of making money.</p><p><strong>Why are you invested in Tesla?</strong></p><p>My thesis is to invest in companies with disruptive technologies in large markets and good management. All transportation will go electric due to the <a href="https://electrek.co/2016/05/19/the-math-and-evidence-all-around-you-that-shows-shared-autonomous-vehicles-powered-by-solar-power-and-batteries-are-inevitable/">falling costs of batteries</a>. Elon Musk is resilient and has strong business and technical acumen. He is heavily invested in the company. He has an inspirational and <a href="https://www.tesla.com/blog/secret-tesla-motors-master-plan-just-between-you-and-me">consistent vision</a> and that has enabled him to recruit a world class team. He also has a lot of integrity.</p><p><strong>How can you trust Elon Musk after he misses deadlines?</strong></p><p>Forward looking statements are speculative, especially when you’re innovating. I don’t expect Tesla to hit all it’s targets, but I trust Musk to be honest about the current situation. With regards to the future, I trust him to only raise money on good terms. They typically raise money on the heels of good news.</p><p><strong>What about competition from Big Auto?</strong></p><p>This is the biggest mistake people make. I suspect most incumbent auto companies will go bankrupt, like Kodak and Blockbuster. They have crippling conflicts of interest with their existing products, dealerships, in house expertise, and they are relying too heavily on suppliers for innovation.</p><p><a href="https://medium.com/@andrewt3000/tesla-has-zero-competition-from-big-auto-a9d314830ca6">Tesla has zero competition from Big Auto</a></p><p><strong>Aren’t you worried that Tesla doesn’t have any competitive advantage?</strong></p><p>Teslas are awesome. Drive one. Tesla has numerous competitive advantages: GigaFactory, SuperChargers, Tesla Stores, over the air updates, and the most data collected for autonomous driving. Because of the GigaFactory, I suspect they have the lowest battery cost. The software and features such as ludicrous mode are difficult to copy due to vertical integration. But as Elon Musk states what matters most is the pace of innovation.</p><p><a href="https://medium.com/@andrewt3000/teslas-secret-sauce-268817fdcffd">Tesla’s core advantage over Big Auto</a></p><p><strong>What about the exit of executives?</strong></p><p>In Tesla and most organizations, the departure of CEO is the only person that will significantly change the company.</p><p>I am not concerned because they are mostly being replaced by better qualified executives. Also some key executives are still there, namely JB Straubel and Jerome Guillen.</p><p>The mistake many people make is that often with established companies executive departures are a signal the company is failing. They are like rats fleeing a sinking ship. It’s difficult to know the motivations of the departing executives. Often with high growth companies it’s burn out, or the job outgrowing their capacity to perform it (Doug Field). Some people like to work on new stuff and move on(Jim Keller). Many of the early employees have become rich and may want to retire(Deepak). Churn in high growth companies doesn’t necessarily signal problems.</p><p><strong>Are you concerned about Elon Musk’s tweets?</strong></p><p>No. We are living in a strange times due to political polarization, and social media disrupting traditional media. I think people are projecting other issues onto Musk’s tweets. I believe the use of social media is a critical tool for companies to get their message out directly and interact with customers.</p><p><strong>What about the SEC settlement?</strong></p><p>If you meet with the world’s largest sovereign wealth fund and they tell you to name your price… it speaks for itself.</p><p>The gist of the accusation was that Musk never intended to take Tesla private, and the announcement was intended to manipulate the stock price. I think he justifiably believes he could take the company private and that why he made the decision to make the announcement. It also sent a signal to the short sellers that he will fight.</p><p>Testing the limits of the law is common in growth companies. Steve Jobs was involved in an anti-poaching case. Airbnb and Uber’s business models were deemed illegal in some areas. Airbnb’s method of growth was <a href="https://davegooden.com/2011/05/how-airbnb-became-a-billion-dollar-company/">alleged to be illegal</a>. I don’t judge Elon Musk on accusations. I also draw a distinction between illegal behavior that is ruthless business practices as less serious than behavior that defrauds investors such as accounting frauds and misrepresenting what has been achieved.</p><p><strong>What about Elon Musk’s behavior?</strong></p><p>The Model 3 ramp was very stressful. High growth companies require maverick entrepreneurs to manage stressful growth. Many investors are uncomfortable with the founding CEO and want to bring in more conservative leadership. Some call it “adult supervision.” I believe investors are best served by keeping founding CEO as long as possible because they have credibility that is difficult to replace. Elon Musk is impossible to replace at this point. The fact that so many other auto and green tech companies have failed is proof of that.</p><p><strong>What about all the bad press Tesla has gotten?</strong></p><p>When I held Apple stock, I was worried over antennagate and bought insurance (put options). I lost money. When I see alarming stories about autopilot or fires, I reflect on antennagate. I try to keep a long term view and trust the management.</p><p>GM, Ford and other car companies advertise. Tesla doesn’t. How does that impact the media’s reporting? It’s hard to say. But it’s always in the back of my mind. Take for instance all these <a href="https://medium.com/@andrewt3000/tesla-versus-the-chevy-bolt-ac627b0c84f3">ridiculous articles claiming the Bolt would be a Tesla killer</a>. They are a farce. The Bolt is not in the same class. It’s ugly.</p><p>When I hear naysaying in the media, I reflect on the original iPhone reviews to gain perspective. They are absurd now. Every time I see Bob Lutz on TV talking about how Tesla will fail, I think about this interview with Steve Balmer talking about how the iPhone will be a flop.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Feywi0h_Y5_U%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Deywi0h_Y5_U&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Feywi0h_Y5_U%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/ffb9eda8e9def895d97a5fa32ace16f8/href">https://medium.com/media/ffb9eda8e9def895d97a5fa32ace16f8/href</a></iframe><p><strong>How can you invest when so many analysts are negative on Tesla?</strong></p><p>I respect the analysts and read their reports in detail. However they have mostly been wrong about Tesla and repeatedly underestimate them.</p><p>I’m not sure why they get it so wrong, but they do have many conflicts of interest. Being positive on Tesla means being negative on many of the bank’s customers, namely the entire energy and transportation sectors. Their research departments are also conflicted with their other businesses. Analysts also don’t cover as many high growth companies as they used to because they are <a href="https://www.vox.com/2014/6/26/5837638/the-ipo-is-dying-marc-andreessen-explains-why">waiting much later for IPO</a> than they did in the past.</p><p><strong>Is demand shrinking?</strong></p><p>Tesla sold about 250 thousand vehicles in 2018. There were about 80 million vehicles sold in 2018. So the total addressable market is large and they have barely scratched the surface.</p><p>As EVs go mainstream and battery prices continue to drop over the next year or two, I expect about 1/3 of consumers to be interested in them. I base this on the <a href="https://en.wikipedia.org/wiki/Technology_adoption_life_cycle">technology adoption curve</a>.</p><p>(Also, see above question about competition)</p><p><strong>What about the end of government subsidies?</strong></p><p>My primary thesis is the <a href="https://electrek.co/2016/05/19/the-math-and-evidence-all-around-you-that-shows-shared-autonomous-vehicles-powered-by-solar-power-and-batteries-are-inevitable/">falling cost of batteries</a>. Government incentives accelerate EV adoption but the falling battery costs are an independent trend dependent on economies of scale and increasing energy density.</p><p><strong>Isn’t Tesla overvalued because they worth more than GM?</strong></p><p>The GM comp makes for a great headline, not a great comparison. GM has problems, massive debt, terrible unions and a shrinking business. Toyota or tech companies might be a better comp. However, Tesla really has no peers, so comps are not a practical way to value the company. Valuations are at their core based on risk adjusted value of future cash flows.</p><p><strong>Isn’t the auto industry a tough, cyclical market?</strong></p><p>Yes. Historically the auto market has been vulnerable because it has high capital costs and in a recession it’s an easy purchase to defer. In the short term, I think EV demand will still be strong due to the fact that it’s an emerging market with falling costs. In the long term, I anticipate Tesla Network (autonomous ride sharing) will be a more recession proof business model and less cyclical.</p><p><strong>Let me know if you have any other question</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4c2a125e2f58" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tesla’s core advantage over Big Auto]]></title>
            <link>https://medium.com/@andrewt3000/teslas-secret-sauce-268817fdcffd?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/268817fdcffd</guid>
            <category><![CDATA[tesla]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Tue, 11 Dec 2018 16:22:21 GMT</pubDate>
            <atom:updated>2018-12-12T16:55:39.500Z</atom:updated>
            <content:encoded><![CDATA[<p>Most people’s biggest mistake when evaluating Tesla is overestimating the <a href="https://medium.com/@andrewt3000/tesla-has-zero-competition-from-big-auto-a9d314830ca6">competition from Big Auto</a>. Many people are skeptical that Tesla has any competitive advantage. They talk about how Tesla has <a href="https://www.tesla.com/blog/all-our-patent-are-belong-you">open sourced their patents</a>. They say “It’s just batteries, how hard could it be?” So what is their competitive advantage?</p><p><a href="https://www.finance.senate.gov/imo/media/doc/050107testme.pdf">In 2007, Martin Eberhard, then the CEO of Tesla, testified</a></p><blockquote>The auto industry battery consortium, USABC, set about to invent automotive batteries made from specialty cells for cars; Tesla uses commodity cells to make its automotive batteries. This is why Tesla’s battery is cheaper, higher capacity, more reliable, and more available than anything produced by USABC.</blockquote><p>So in the last 11 years has Big Auto learned anything? Not as far as I can tell. Tesla still uses commodity cylindrical cells whereas other car manufacturers still use prismatic (Chevy Bolt) and pouch (Nissan Leaf) cells. Manufacturing cylindrical Lithium ion battery cell manufacturing has been honed since 1991 when Sony first started manufacturing them. They have been used in laptops for many years.</p><p>Cylindrical cells are small and it requires thousands to build a battery pack for an automobile. Tesla Model S and X use 18650 lithium ion battery cells. They are 18mm in diameter, 65mm in height. The Model 3 uses slightly larger 2170 lithium ion batteries, 21mm in diameter, 70mm in height.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/200/1*rPqbkhAcqZd4rrI8ar2K5g.jpeg" /><figcaption>Comparison of AA to 18650</figcaption></figure><p>On the high end, the Tesla Model S and X 100 kWh pack has 8,256 battery cells. On the lower end, the Model 3 with 50kWh pack has 2,976 battery cells. Compare that to the Chevy Bolt, it has 60kWh pack with 288 battery cells. The Nissan Leaf has 192 battery cells. The tradeoff is that Tesla’s batteries are cheaper, but smaller and more difficult to assemble, whereas the larger cells are more costly but easier to assemble.</p><p>The low cost commodity strategy continues to be one of Tesla’s biggest competitive advantages. They likely have the lowest cost per kWh. But how does Tesla assemble so many batteries into a pack economically?</p><p>As far as I can tell, no one knows exactly. I can’t find a picture or video of the robots that assemble the cells into packs. These robot would need to <a href="https://www.motortrend.com/news/tesla-model-3-teardown-details/#tesla-3-battery-2-ultrasonic-wire-bonding">wire</a> <a href="https://chargedevs.com/features/a-closer-look-at-wire-bonding/">bond</a> the batteries to the bus bars. For every battery cell there will be 2 wire bonds (positive and negative). So it’s a lot of work. The robots need to be very fast, otherwise Tesla would need a lot of them to mass produce battery packs and it would drive up their costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mLJLsDtVhuTDFTC9BasmgQ.jpeg" /><figcaption><a href="https://teslamotorsclub.com/tmc/threads/pics-info-inside-the-battery-pack.34934/">Wire bonded cells in Model S</a></figcaption></figure><p>One hint about the process is from this Wired article by a former employee. The Model S and X battery packs are <a href="https://www.wired.com/story/teslas-secret-second-floor/">assembled in the secretive 2nd floor at Tesla’s Freemont factory</a>.</p><blockquote>Unknown to most visitors, the factory’s “secret” second floor built many of Tesla’s battery, power electronics, and drive-train systems. It was home to some of the most advanced manufacturing and automation systems in the company. Some of the robots moved at such high speeds that their arms needed to be built from carbon fiber instead of steel.</blockquote><p>On Q3 2017 earnings call, Elon Musk stated</p><blockquote>we are pushing robots to the limit in terms of the speed that they can operate at, and asking our suppliers to make robots go way faster, and they are shocked because nobody has ever asked them that question. It’s like if you can see the robot move, it’s too slow. We should be caring about air friction like things moving so fast. You should need a strobe light to see it.</blockquote><p>So… where are they? Where are the robots that are being pushed to their limit in terms of speed?</p><p>There are some <a href="https://electrek.co/2018/12/08/tesla-gigafactory-1-battery-cell-pack-drivetrain-production/">pictures</a> from the <a href="https://electrek.co/2016/07/31/tesla-gigafactory-robots-machines-battery-factory/">GigaFactory</a>, where Model 3 battery pack is manufactured, but none where I see a robot wire bonding the battery cells. I don’t see any machines that are close to moving so fast you would need a strobe light to see.</p><p>As far as I know, no traditional auto manufacturers are planning to use commodity cylindrical cells (edit: <a href="https://electrek.co/2018/09/05/jaguar-battery-contract-samsung-evs/">Jaguar may be an exception</a>). As such, their batteries will probably always be more costly than Tesla’s batteries. Even if incumbents decided to use cylindrical cells, it will be challenging to engineer a manufacturing process that is economical, and not time consuming. Packaging cylindrical cells is a process Tesla has been refining for over 10 years.</p><p>Also consider that Grohmann Engineering were consultants that helped build the battery pack assembly lines. Tesla acquired them. Then forced them to <a href="https://electrek.co/2017/04/08/tesla-model-3-production-advanced-automation/">drop all other clients</a>.</p><p>Big Auto is screwed.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=268817fdcffd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Traditional Media bias on social media]]></title>
            <link>https://medium.com/@andrewt3000/traditional-media-bias-on-social-media-1793dde4cf11?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/1793dde4cf11</guid>
            <category><![CDATA[tesla]]></category>
            <category><![CDATA[social-media]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 15:53:31 GMT</pubDate>
            <atom:updated>2018-09-27T15:53:31.077Z</atom:updated>
            <content:encoded><![CDATA[<p>The traditional media is in an all out war with social media. Donald Trump, Elon Musk and others are regularly denigrated by the media for using Twitter irresponsibly. Consider putting aside your personal feelings about these polarizing figures and consider the conflict of interest the media has on reporting about this. The old way of doing things is that when a public figure wants to get the word out about something they gave an exclusive interview with a journalist. The new way is to use social media. The traditional media has been disinter-mediated. This new way of doing things is making them irrelevant, so it’s very much in their interest to equate using twitter with irresponsibility. I can’t help but wonder what degree of their reporting is in the interest of the public, and what is in the interest of their own self preservation. Even worse, advertising dollars are being diverted from traditional media to social media.</p><p>My proposition is that it’s not inherently irresponsible to use social media to get out any message. A public figure can say something irresponsible to the traditional media just as easily as they can tweet irresponsibly. Attempts to demonize social media just don’t make sense except when viewed through this lens of the traditional media’s bias against social media.</p><p>I speak with people on a regular basis that seem completely unaware of this conflict. I urge you to take this into consideration when considering stories about social media by the traditional media. This is not a minor bias, it’s an existential threat.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1793dde4cf11" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tesla and artificial deadlines]]></title>
            <link>https://medium.com/@andrewt3000/tesla-and-artificial-deadlines-8b4f7c44a30f?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/8b4f7c44a30f</guid>
            <category><![CDATA[tesla]]></category>
            <category><![CDATA[elon-musk]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Thu, 28 Jun 2018 16:12:38 GMT</pubDate>
            <atom:updated>2019-05-04T17:52:49.288Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kbLgBq2vsdQB8ltXUvCc_Q.jpeg" /></figure><p>Every quarter analysts and reporters ask Elon Musk about deadlines. The analysts build their models. The reporters write their articles. I consider most of this information of little interest. It’s artificial. It’s noise.</p><p>In business, there is only one deadline. The deadline is when you run out of money. It’s your burn rate. It’s the pitch you tell investors when you’re raising a round of funding. It’s your credit rating when you borrow.</p><p>Elon Musk and Tesla typically raise money on the heels of good news, incredible opportunity and Elon Musk is often plowing his own fortune into the company as well.</p><p>In the early 2000s when Tesla was looking to raise funding. They created a prototype. It accelerated really quickly. It blew people’s minds and they wrote checks.</p><p>In 2008, in the depths of the financial crisis, Tesla was nearing bankruptcy. The investors were skidish. Elon Musk plowed the last pennies of his fortune into the company and that conviction helped convince their investors to write checks.</p><p>In 2013 Tesla had a profitable quarter. They raised money.</p><p>More recently, Tesla got 100s of thousands of pre-orders for Model 3s. They raised money.</p><p>My guess is sometime in the next year Tesla will be profitable, the Model 3 will be a blockbuster, and they will unveil the Model Y and raise money to build new GigaFactories in China, and Germany.</p><p>I am interested in investing in companies with conviction and opportunities. I’m not interested in artificial deadlines.</p><p>Update: 5/4/19 I was mostly right about my predictions although they got a cheap loan from the Chinese to build a GigaFactory, and they raised money on the heels of releasing their new FSD computer.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8b4f7c44a30f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[React versus Angular]]></title>
            <link>https://medium.com/@andrewt3000/react-versus-angular-cdd21a0d4727?source=rss-cfb3088ef7b1------2</link>
            <guid isPermaLink="false">https://medium.com/p/cdd21a0d4727</guid>
            <category><![CDATA[react]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Andrew T]]></dc:creator>
            <pubDate>Mon, 11 Jun 2018 20:41:46 GMT</pubDate>
            <atom:updated>2018-06-12T23:40:13.687Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://reactjs.org/">React</a> and <a href="https://angularjs.org/">Angular</a> are both popular for writing modern web apps. What are differences between React and Angular?</p><p>Angular is supported by Google. Whereas React is supported by Facebook.</p><p>Angular is a full framework, whereas React is only a view library. With React you will have to choose other libraries such as <a href="https://github.com/ReactTraining/react-router">React Router</a>, fetch (for http requests), <a href="https://facebook.github.io/jest/">jest</a> (for unit testing)</p><p>Angular uses typescript by default. React projects are typically written in Javascript. React projects can use <a href="https://flow.org/en/">Flow</a> which enables static type checking.</p><p>They both have popular mobile counterparts (<a href="https://ionicframework.com/">ionic</a> for Angular, and <a href="https://facebook.github.io/react-native/">React native</a>). They both have powerful CLIs (<a href="https://github.com/facebook/create-react-app">create react app</a> and <a href="https://cli.angular.io/">Angular CLI</a>). Both have popular styled component libraries such as <a href="https://material-ui.com/">Material UI</a> and <a href="https://material.angular.io/">Angular Material</a>.</p><p>Angular uses string templating for html, whereas React uses <a href="https://reactjs.org/docs/introducing-jsx.html">jsx</a>, a syntax extension to JavaScript. As a result, Angular has it’s own syntax for structural directives (ngFor, ngIf) whereas React uses plain old javascript for <a href="https://reactjs.org/docs/conditional-rendering.html">conditional rendering</a> and looping.</p><p>They both have popular state containers. Angular has <a href="https://github.com/ngrx/store">ng/rx store</a> whereas React has <a href="https://redux.js.org/">Redux</a> and <a href="https://mobx.js.org/refguide/api.html">Mobx</a>. Angular supports 2 way data binding using ngModel whereas React has 1 way data binding. React updates it’s state and the renders the UI elements.</p><p>While both are component driven, React emphasizes functional programming, whereas Angular and Typescript favor an object oriented paradigm. React encourages <a href="https://reactjs.org/docs/composition-vs-inheritance.html">functional composition rather than inheritance</a>. It has functional patterns such as <a href="https://reactjs.org/docs/higher-order-components.html">higher order components</a> and <a href="https://reactjs.org/docs/render-props.html">render props</a>. It can create components from functions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cdd21a0d4727" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>