<?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 Anthony Lalande on Medium]]></title>
        <description><![CDATA[Stories by Anthony Lalande on Medium]]></description>
        <link>https://medium.com/@BillyBBone?source=rss-cbe9b167c789------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*E4Cp72eXKhqkerYww2UyxA.png</url>
            <title>Stories by Anthony Lalande on Medium</title>
            <link>https://medium.com/@BillyBBone?source=rss-cbe9b167c789------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 17:14:39 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@BillyBBone/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[Using Kodi to access files on a Mac through Samba file sharing]]></title>
            <link>https://medium.com/@BillyBBone/using-kodi-to-access-files-on-a-mac-through-samba-file-sharing-9732b00f87bc?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/9732b00f87bc</guid>
            <category><![CDATA[macos]]></category>
            <category><![CDATA[kodi]]></category>
            <category><![CDATA[tech-support]]></category>
            <category><![CDATA[file-sharing]]></category>
            <category><![CDATA[videos]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Tue, 26 Aug 2025 20:27:11 GMT</pubDate>
            <atom:updated>2025-08-28T20:00:10.455Z</atom:updated>
            <content:encoded><![CDATA[<p>I recently had the need to access media files on my Mac through the Kodi app on my TV. Since both are connected to the same Wi-Fi LAN, I figured this would be an easy task.</p><p>Instead, I found the task very complicated, due to Kodi’s confusing interface for adding new media sources, as well as a number of bugs relating to file sharing on macOS Sequoia (15.6.1).</p><p>Here are some notes, which I hope will make the task easier for anyone else looking to replicate this setup:</p><ol><li>As a pre-requisite, both of your devices need to be on the same local area network (LAN), whether wired or wireless.</li><li>Samba file sharing is the software that allows you to link the two devices. It is built-in to macOS, so all you need to do is enable it. To do so, go into your <strong>System Settings</strong>. Under the <strong>General</strong> sidebar tab, open the <strong>Sharing</strong> item.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*SD4bWwOkZxmavcsRR1Yg2A.png" /></figure><p>Turn on <strong>File Sharing:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*BLrRHFmL1zQBUGh4DxKAzQ.png" /></figure><p>Then, click on the <strong>(i) icon</strong> to further configure file sharing. In the window that opens, add the folders you want to make available to Kodi in the left pane, by clicking on the <strong>+ button:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*GDSprWeN6CxlJo3m6mcsvg.png" /></figure><p>Next, click on the <strong>Options…</strong> button at the bottom, and make sure the <strong>“Share files and folders using SMB”</strong> option is checked:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*SOhlypKVP-Cgye4EQqRLPA.png" /></figure><p>Hit <strong>Done</strong> in both modal dialogue boxes to close them.</p><p>3. Kodi doesn’t support anonymous logins, so you would be well-advised to create a new user for Kodi on your Mac, and only give it very limited privileges.</p><p>To do so, click on the <strong>Users &amp; Groups</strong> tab on the left-hand sidebar in <strong>System Settings</strong>. Then, click on the <strong>Add User…</strong> button. You will be prompted for an administrator password. Once you’ve entered these, a form opens up:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*SHkGoaCsd2HiTydH_Hjq7A.png" /></figure><p>Make sure you set your new user to <strong>“Sharing Only”</strong>. Give it a short name and a password. You may want to limit your password to something weak like a short string of digits since the stakes are low and entering long passwords via remote controls is tedious.</p><p>4. You’re almost done. Now, you need to go back to your Samba server configuration and authorize your new Kodi user to log-in, but FIRST, you need to <a href="https://apple.stackexchange.com/questions/469442/unable-to-select-sharing-only-user-when-setting-up-file-sharing/470727#470727">workaround an annoying bug in macOS</a>.</p><p>In the <strong>Applications</strong> folder, open <strong>Utilities</strong> and then the <strong>Terminal</strong> application:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/1*nENDW-AeimPkTZXDlsg9lQ.png" /><figcaption>(Your terminal may look different)</figcaption></figure><p>In order to allow your new Kodi user to sign-in, you need to give it a home folder and shell. Paste the following into the Terminal window. (If you’ve named your user anything other than kodi , you’ll need to modify the snippet below):</p><pre>sudo mkdir /Users/kodi;<br>sudo chown kodi /Users/kodi;<br>sudo dscl . -change /Users/kodi UserShell &quot;/usr/bin/false&quot; &quot;/bin/zsh&quot;;<br>sudo dscl . -change /Users/kodi NFSHomeDirectory &quot;/dev/null&quot; &quot;/Users/kodi&quot;;</pre><p>You will be prompted for a password; enter your administrator password, <em>not</em> the Kodi password.</p><p>Now, you need to open a terminal session as the new Kodi user:</p><pre>su kodi</pre><p>You will be prompted for Kodi’s password. Once you enter it, you can immediately close the session:</p><pre>exit</pre><p>5. You’ve successfully applied a workaround to the bug, so now, authorize Kodi to access the Samba file share. Go back to <strong>System Settings</strong>, open <strong>General</strong>, then <strong>Sharing, </strong>then click on the <strong>(i) icon</strong> next to <strong>File Sharing:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*GxUeSrAm36a08nb_GnWMKg.png" /></figure><p>Click on the <strong>+ button, </strong>add the new Kodi user, then set its privileges to <strong>Read Only</strong>. Repeat this for each Shared Folder in the left pane.</p><p>This gives the Kodi user the filesystem rights to access these folders you are sharing. Without this, even if the Kodi user could log-in (it still cannot), it wouldn’t be authorized by macOS to access these shared folders.</p><p>6. Click on the <strong>Options…</strong> button. You should see the Kodi user listed under Windows File Sharing. (If you do not see it, the workaround applied in step 4 was not successful.)</p><p>You may also see other accounts listed multiple times. This is a bug in macOS.</p><p>Click on the checkbox next to Kodi, and enter the Kodi password when prompted.</p><p>7. Click on <strong>Done</strong> in the first modal dialogue boxes. At the top of the <strong>File Sharing: On</strong> section, you will see your IP address. Make note of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/827/1*D6rwCLHybnRu084ax3gGmw.png" /></figure><p>8. Finally, and I believe optionally, you can go back to your Terminal and undo the workaround, since it is no longer needed:</p><pre>sudo dscl . -change /Users/kodi NFSHomeDirectory &quot;/Users/kodi&quot; &quot;/dev/null&quot;;<br>sudo dscl . -change /Users/kodi UserShell &quot;/bin/zsh&quot; &quot;/usr/bin/false&quot;;<br>sudo rm -rf /Users/kodi;</pre><p>9. Now, go over to Kodi. Navigate over to <strong>Videos</strong>, then <strong>Files:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tf2Iiuwss_CXSZC9sbfOHg.png" /></figure><p>Next, go to <strong>Add videos…</strong> and <strong>Browse</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XMqvUtRK4grhGuNo8sK98Q.png" /></figure><p>Scroll to the bottom of the list and choose <strong>Add Network location…</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uHkNqydcy5dmmyQacQwxdA.png" /></figure><p>Fill-in the form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qW1XgWlyCsBIRk9qUDcKGQ.png" /></figure><ul><li><strong>Protocol</strong> should be <strong>Windows network (SMB)</strong></li><li>The <strong>Server name</strong> is the IP address you noted in step 7 above.</li><li>You may leave <strong>Shared folder </strong>blank.</li><li>Under <strong>Username</strong>, kodi(lowercase!).</li><li>And under <strong>Password</strong>, the password for the Kodi account.</li></ul><p>Click OK.</p><p>You will be returned to the <strong>Browse for New Share</strong> window, where you should see your new network location:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X1B-kNVTZfb65R5_I00vpQ.png" /></figure><p>Clicking the <strong>OK</strong> button will drill-down into your network location. There, you should see the folders you are sharing from your Mac:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CzzinF5TiMO1s9-iqqdKag.png" /></figure><p>From here, you can add any folders with video content. Simply navigate into it and click <strong>OK</strong> to add it as a video source.</p><p>Finally, give your video source a cool name:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6CA_2GxXawsxvgM0YkcFpw.png" /></figure><p>Click <strong>OK</strong>.</p><p>You’re done! Your video content should now be accessible through the network.</p><p>I hope you have found this guide useful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9732b00f87bc" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Flawed Research on Shrinkflation Spawns Disinformation]]></title>
            <link>https://medium.com/@BillyBBone/flawed-research-on-shrinkflation-spawns-disinformation-90f0064a9ab5?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/90f0064a9ab5</guid>
            <category><![CDATA[misinformation]]></category>
            <category><![CDATA[grocery-shopping]]></category>
            <category><![CDATA[media-criticism]]></category>
            <category><![CDATA[shrinkflation]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Thu, 29 Aug 2024 11:43:46 GMT</pubDate>
            <atom:updated>2024-08-29T13:25:00.874Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CSMeYoUEFCiRTiKn-eVTxg.jpeg" /><figcaption>Image generated with Meta AI, &quot;Newspapers and junk food on the same shelf in a grocery store aisle&quot;</figcaption></figure><p>Most shoppers will be familiar with the following scenario: You go to the grocery store, pick up the same box of granola bars that you buy every week, pay the same price as always, only to discover when you get home that the box now contains four bars, whereas it used to contain five.</p><p>“Shrinkflation” has been spotted by many of us, but <em>knowing</em> something exists and <em>proving it</em> are two different things.</p><p>When Community Researchers, a Toronto-based nonprofit research organization, <a href="https://www.communityresearchers.org/_files/ugd/8a61e8_738f52aca6d94488acd2637c180ef73f.pdf">released a study</a> claiming that it had found evidence of shrinkflation, my interest was piqued. I dove into the research, eager to learn more about the phenomenon.</p><p>What I found instead was a very flawed piece of research, and a number of Canadian news outlets derelict in their duty to perform even the most basic fact-checking.</p><h4>What is shrinkflation?</h4><p>“Shrinkflation” is the name used to describe an upward trend in an item’s <em>unit price</em> while the <em>total price</em> stays the same. If you used to pay $4 for a box of five granola bars and now you are paying the same price but only getting four, the price of each granola bar you are buying has risen 25%, from $0.80/each to $1/each.</p><p>It is not always obvious to spot, which is why many shoppers see it as a pernicious, creeping issue. For these same reasons, the topic of shrinkflation makes a great bogeyman for the news media to talk about, because it provokes strong emotional reactions and requires very little evidentiary backing.</p><p>Shrinkflation is often portrayed by the media as a form of corporate greed, or at the very least, they are happy to sensationalize that angle. Claiming to have found evidence of shrinkflation, I believe, is seen as tantamount to being able to prove some damnable moral transgression, some kind of theft or deception.</p><p>True to form, the media did not waste any time writing stories about the newly-published piece of research:</p><ul><li><a href="https://www.thestar.com/business/new-report-confirms-what-many-suspected-shrinkflation-is-real-and-its-shrunk-some-products-by/article_283eddae-446e-11ef-a5ab-17812c3f7f4b.html"><strong>Toronto Star</strong></a><strong>: </strong>New report confirms what many suspected: ‘shrinkflation’ is real — and it’s shrunk some products by up to 25%</li><li><a href="https://financialpost.com/news/retail-marketing/shrinkflation-grocery-store-is-real-studies-confirm"><strong>Financial Post</strong></a>: No, it’s not your imagination — shrinkflation is real.</li><li><a href="https://toronto.ctvnews.ca/here-are-the-food-products-that-have-seen-shrinkflation-in-ontario-according-to-one-study-1.6969650"><strong>CTV News</strong></a>: Here are the food products that have seen shrinkflation in Ontario, according to one study</li></ul><p>Perhaps some of these journalists and editors could have tempered their eagerness to upset the public and done a little fact checking first. A very cursory review of the study should have been enough to spot its major flaw: it does not actually study shrinkflation at all.</p><h4>Flawed Research</h4><p>Community Researchers conducted their study by comparing the package sizes of 60 different products between 2019 and 2024, using grocery store flyers.</p><p>For instance, a package of Armstrong brand marble cheese weighed 450g in 2019 versus only 400g in 2024. Elsewhere, a bottle of Crisco vegetable oil was 1420mL in 2019 versus 1180mL in 2024.</p><p>This is perfectly fine research on changes in the sizes of different products across a five year timespan, but only establishes one of the two components necessary for proving shrinkflation. The other, price, is not discussed in the study.</p><p>Recall that shrinkflation refers to a change in unit price. Without a comparison of prices across the same five year time span, unit prices cannot be established, and without unit prices, it is impossible to establish whether shrinkflation has occurred.</p><p>A block of cheese that shrinks in weight by 11% but falls in price by the same amount experiences no change in value. If the 2024 price is 20% less, it actually got <em>cheaper!</em> Nevertheless, this study would incorrectly classify these both as instances of shrinkflation.</p><p>What’s particularly galling about this study is that it provides a definition of shrinkflation as, “A decrease in the net quantity of the product <em>while the price remains the same</em>” (my emphasis). By its own definition, the report does not provide sufficient data to back up its claim.</p><p>I wrote to Community Researchers with my complaint on two occasions, but did not receive a substantive reply.</p><h4>Amplification by the Canadian News</h4><p>A very cursory review of the report should have been enough to spot this problem, but even that, it seems, is too high a bar for some journalists and their editors.</p><p>Or, perhaps they simply don’t care anymore. It seems to me that back in the days of print news, there was a cost to publishing a story. A large part of an editor’s job would consist in assessing the paper, ink and opportunity costs of running a news story.</p><p>The New York Times’ motto used to be “All the news <em>that’s fit to print”. </em>For a news story to be included in the day’s newspaper, it had to be subject to a fitness test.</p><p>When newspapers moved online, the objectives and cost incentives changed sufficiently such that “content generation” is now the order of the day. The fitness and truthfulness of a piece seem to be second-order priorities.</p><p>Paper, ink, and limited column space are no longer constraining factors affecting which stories get published and which ones don’t. In the age of online news, content is cheap to host, retractions can be done silently, and since every story has at least the potential of driving ad sales, media outlets seem fine with throwing everything they can up on the web and calling it added value.</p><h4>Free Markets and Information</h4><p>I believe in the free marketplace of ideas, and that anyone can make any claim about anything they feel like. A research group making an unsubstantiated claim does and should reflect badly on their brand as credible truth-seeking researchers. You fight this kind of bad analysis with good argumentation, not censorship.</p><p>I equally believe that published research should be met with a skeptical eye. When a major flaw in a piece of research is pointed out to its publisher, a good faith effort to address it should be made. To me, that would have included publicly acknowledging the error, correcting the public record, and apologizing for spreading misinformation.</p><p>Community Researchers has done none of this.</p><p>For their part, the media seem too incompetent or disingenuous to offer the counterbalancing view that competition puts the brakes on runaway greed, and that Canada’s grocery stores are not wanting for competition. Every product category contains a wide range of product choices. If one brand of granola bar ceases to be the most cost-effective, several others are there to vie for consumer dollars.</p><p>Nonetheless, some in the news media are prepared to play the engagement game of misrepresenting economic reality, cherry-picking evidence to fit a narrative, or, as in this case, lying to their audience about what research has or has not proven. The media seem content to keep playing to their strength by churning out sensationalist news stories which require less than five minutes to debunk.</p><p>Make a habit of asking for evidence, and you’ll find that the news is wrong often, about a wide range of topics. What makes this specific case so interesting to write about are the parallels one can draw between grocery shopping and reading the news.</p><p>In both categories, consumers are confronted with a glut of choice. Supermarkets are cathedrals of food. News outlets are storytelling factories. Buyers must beware of the choices they make in both markets. <em>Caveat emptor. </em>At least at the grocery store, you have nutritional characteristics printed on the box.</p><h4>Qualiflation</h4><p>In the context of this discussion of grocery store offerings, there is a term similar to shrinkflation lurking just around the corner. That term is <em>qualiflation</em>, another awkward concatenation of words, this time adjoining “quality” to inflation.</p><p>The idea behind qualiflation is that neither packaging size nor total price changes, but that instead, quality degrades. For instance, your package of granola bars stays the same in price and quantity ($4 for five bars), but meanwhile, a higher-quality ingredient such as chocolate gets substituted by something cheaper and not as good, like carob.</p><p>The reason I bring up this term is that it seems overwhelmingly likely to me that the news as an institution has suffered extreme qualiflation in recent decades. Whereas the format and price of the news has not changed all that much in the early 21st century, it seems anecdotally true that many stories (like the ones above) are more like cheap filler than nutritionally-dense fare.</p><p>Community Researchers, as well as the outlets cited above, all have a quality control problem. I believe it’s a very good idea for the savvy news consumer to exercise an abundance of skepticism and to fact-check news outlets, researchers, and journalists at every chance — they often seem unwilling or incapable of doing so themselves.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=90f0064a9ab5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Do Computers Think in 1s and 0s?]]></title>
            <link>https://medium.com/@BillyBBone/why-do-computers-think-in-1s-and-0s-cf498d9b3176?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf498d9b3176</guid>
            <category><![CDATA[digital]]></category>
            <category><![CDATA[cosmology]]></category>
            <category><![CDATA[computer-science]]></category>
            <category><![CDATA[existential]]></category>
            <category><![CDATA[binary]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Mon, 24 Aug 2020 12:53:16 GMT</pubDate>
            <atom:updated>2020-08-24T12:53:16.247Z</atom:updated>
            <content:encoded><![CDATA[<p>As I alluded to in <a href="https://medium.com/@BillyBBone/how-does-light-carry-data-across-optical-fiber-783740c384d8">How Does Light Carry Data Across Optical Fiber</a>, computers like to think of information in terms of 1s and 0s. What is special about those two numbers? Why aren’t any other numbers used?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UTaOKkC0_Ha3DgqrzrcPzw.jpeg" /><figcaption>A lonely satellite dish cranes its neck upwards towards the void, awaiting a signal, awaiting <em>something</em>. (<a href="https://pixabay.com/photos/raisting-sattelit-reception-signal-1010862/">Photo</a> by mmsiof)</figcaption></figure><p>This is a simple question with fascinating implications. I can think of three ways of approaching it:</p><ol><li><strong>The Signal Processing Answer</strong></li></ol><p>To understand why 1s and 0s are so important, let’s first look at the nature of analog and digital signals. To transmit an analog signal, you need a dial, like the one you’d find on a stove. The dial has tick marks that go between 0 and some number—usually 8 or 9, but for our purposes, and to keep things simple, picture a stove dial that runs from 0 to 1.</p><p>As you turn the dial, you directly influence the strength of the signal being transmitted to the burner. The dial, when off, sends zero signal. Nothing. The burner is room temperature. If you turn the dial half way, you transmit a value of 0.5. As you keep rotating it towards 1 (full heat), the value gradually increases: 0.51, 0.55, 0.62549, and so on.</p><p>To transmit a digital signal, you’d use a switch that is either on or off; 1 or 0. There either is a signal or there isn’t. The burner is either fully on or completely off.</p><p>This is a really important distinction, because as information travels along a wire, it can be subject to degradation and distortion. If I have a dial connected by a long wire to a burner in the next town, the position I chose on the dial won’t match the heat produced by the burner. I might set the dial to 0.87, but as the signal travels along the wire, it will get weaker until there is very little signal coming through the other end. I might only get a burner heat of 0.28.</p><p>Digital thinking shifts the question away from “How strong is the signal?” to “Is there a signal at all?”. If my burner is connected to a switch, and I flip it on (sending a 1), no matter how much the signal degrades, I can reason that any tiny bit of current coming out the other end implies that a 1 was sent to begin with. I can recover information lost in transit. Even if my burner receives an extremely weak 0.03 signal, it knows there was a signal at the start, and no matter how degraded it is when it arrives at its destination, the instruction is clear and unambiguous: turn the burner on.</p><p>This is the core trade-off between analog and digital thinking. Analog circuits are able to transmit <em>much more information</em> (i.e. any of the infinite decimals you can think of between 0 and 1), but don’t ensure the <em>reliability</em> of the information as it travels through wires. Digital circuits, on the other hand, transmit <em>the smallest amount of information possible</em> (a 0 or a 1), but do so in a way that is <em>impervious to loss</em>. This is a property called <em>discreteness</em>.</p><p>Is this a useful trade-off to make? What’s the use of a burner with only two settings? Why did I even buy this absurd and expensive long-distance stove if I can only have raw or charred onions, and nothing in-between?</p><p><strong>2. The Mathematical Answer</strong></p><p>When humans and aliens make contact, there will inevitably be disagreements between us, given that we have ten fingers and they, (it is well known), only have two.</p><p>Representatives from both species will meet, look at a small pile of pebbles on the ground, count them in their head, and then write the tally on their respective notepads, like some intergalactic Newlywed Game. Our number will be 17. Theirs will be 10001. War will erupt, a tragedy in itself, now compounded by the fact that both species expressed the same information about the same pile of pebbles. Both were correct. Our number was in <em>decimal</em> (we use ten digits, including 0), and theirs was in <em>binary</em> (two digits, 1 and 0).</p><p>It may seem a bit mind-bending at first to think that you could express a number like 17 using only 1s and 0s, but consider how both the human and the alien count the pebbles in their heads:</p><figure><img alt="Two side-by-side columns show the tallies that the human and alien keep as they count each pebble." src="https://cdn-images-1.medium.com/max/373/1*lTNxSSNl1iaWH95iM0jHNw.png" /><figcaption>The human counts with ten digits, and the alien counts with only two, but the principle remains the same. With each pebble, they both add 1 to the rightmost digit in the tally. If that digit can’t get any bigger, it is reset to 0 and a 1 is carried-over to the next digit on the left, and so-on.</figcaption></figure><p>The genius of computers is in the realization that, when you combine discreteness (discussed in the first part) with binary counting, you can effectively transmit any number, any value, with full reliability.</p><p>Our long-distance digital stove currently sends a single <em>bit </em>(short for “binary digit”; a 1 or a 0) along the wire, and that’s why it only has two settings—on or off. But what if it could send more? If we modify our stove to transmit ten separate bits along the wire, one after the other, we would have much more control over the temperature. Here’s how that would work:</p><p>On one end, our dial would run from 0 to 1000. As you turned the dial, you would select a number (say, 655 for medium-high heat). A little counter inside the dial would keep track of the number, using ten binary digits (1010001111). Those digits would then be fed into the wire, one after the other. No matter how weak the signal at the other end, the mere presence of signal would let you recover the 1s, and the absence of signal (i.e. a pause) would let you recover the 0s. With that, the number received would be fully captured (1010001111), converted back to decimal (655), and the appropriate heat would be expressed by the burner.</p><p>(Astute readers may wonder, “This explains how you can represent numbers bigger than 1 in binary, but what about fractions? What about negative numbers?”. There are good explanations for each of these that would make this discussion a bit long, but the short oversimplification is that if two computers can first agree on what format a number will take, all they have to do is transmit the individual digits. If computer A first informs computer B that it will send “a negative number with two leading digits and three trailing digits”, all it has to do next is send the numbers “14338”, and computer B will put those two piece of information together to obtain a final value of “-14.338”.)</p><p><strong>3. The Cosmological Answer</strong></p><p>To borrow from the plot of <em>Apocalypse Now</em>, you’ve made it up the Nùng River, past the beaches of signal processing, and past the midpoint of binary counting. You now arrive at the end of the journey, the heart of darkness. Here resides Colonel Kurtz, he who has witnessed the transcendental madness of the matter, “the horror, the horror”.</p><p>Ok, that’s a tad dramatic. We’re actually not arriving at a place of darkness, we’re arriving at a greater truth, a place of light, a cosmological explanation of 1 and 0 (“cosmological” from the Greek word “cosmos”, beauty—as in <em>cosmetics</em>).</p><p>In a way, you could say that 0 and 1 are existential numbers. 0 represents <em>nothingness</em>, absence. 1 represents <em>somethingness</em>, the presence of an entity. The gap between these two concepts is behind the most profound questions the human race asks: Where did we come from? How did the universe come into being? What was there before? Where do we go when we die? How can <em>nothingness</em> beget <em>somethingness</em>? Where does <em>somethingness</em> go when it must become <em>nothingness</em>?</p><p>These are some of the fundamental mysteries we ponder, and maddeningly, we are probably little closer to answers now than we were thousands of years ago. This precondition of nature, this open question endlessly befuddles us, confuses us, and seems to wrap our understanding of the universe within an impenetrable riddle.</p><p>(Ironically, the aliens have the answer, but we’ll shoot them for having two fingers.)</p><p>One of the biggest motivations behind the development of computers and software is the desire to build a better, faster, vaster intelligence than our own. Early computers, for instance, were <a href="https://medium.com/@BillyBBone/what-is-a-gpu-how-is-it-different-from-a-cpu-9ac27167503a">built to calculate missile trajectories</a> and did so many, many times faster than humans could. Today, we’re closer than ever to achieving the ultimate milestone in this quest, that of building an artificial intelligence (AI) so powerful that it would be indistinguishable from human intelligence.</p><p>As software increases in complexity, computer scientists are getting better at modelling the “real world” inside a computer—because what good is an artificial intelligence that isn’t in touch with reality? In building out software that can reason about reality, we find that the chasm between <em>nothingness</em> and <em>somethingness—</em>which we may never fully understand how to cross—keeps reappearing.</p><p>For instance, <em>reasoners</em> are pieces of software that can read an encyclopedia, learn from it, fact-check it, and even come up with new conclusions. One of the <em>axioms</em> (a fundamental, necessary truth) built into this kind of software that makes reasoning possible, states that <em>nothingness </em>and <em>somethingness</em> simply cannot be equated or connected in any way. This key realization about knowledge—that there only really exist two knowable concepts that are mutually exclusive—is non-negotiable to the software. As it runs, as it fact-checks existing knowledge and derives new conclusions, it constantly asks itself the same question: “Does any of the knowledge I have learned <em>somehow</em> lead to the conclusion that somethingness and nothingness are, in fact, the same thing?” If the answer is ever ‘yes’, the program knows it has read or produced a bad piece of knowledge.</p><p>In other words, humans and computers can perceive reality in any number of ways, and can write any number of encyclopedias, but for any depiction of reality to be logically sound and consistent, the cardinal rule must never be broken: something cannot be nothing, and nothing cannot be something.</p><p>We have built tools that can flip bits between 0 and 1 without fully understanding this phenomenon in our own reality. This raises interesting questions about our own condition. If electricity (or light, or radio waves, or any of the forces of elemental physics under our control) can cross the chasm between something and nothing, what are the meta-forces (the forces outside of our reality) that flip these bits in our world? What are the forces that dictate when our 1s must become 0s?</p><p>It strikes me as profoundly fascinating and even poetic that an entire microcosm can be constructed around the notion of juggling 1s and 0s, of so casually manipulating the building blocks of reality, of so nonchalantly hopping back and forth across the divide—acting with such indifference towards the fact that our entire universe, and the deepest questions we have, lie in the space between these two poles of existence, between 0 and 1.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf498d9b3176" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is a GPU? How is it different from a CPU?]]></title>
            <link>https://medium.com/@BillyBBone/what-is-a-gpu-how-is-it-different-from-a-cpu-9ac27167503a?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ac27167503a</guid>
            <category><![CDATA[gpu]]></category>
            <category><![CDATA[history-of-computing]]></category>
            <category><![CDATA[eniac]]></category>
            <category><![CDATA[cpu]]></category>
            <category><![CDATA[video-cards]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Tue, 18 Aug 2020 20:02:50 GMT</pubDate>
            <atom:updated>2020-08-18T20:02:50.076Z</atom:updated>
            <content:encoded><![CDATA[<p>By now, most people are familiar with the term CPU (the Central Processing Unit) and the analogy that it is like the “brain” inside the computer’s “body”. Mice, keyboards, microphones, and cameras (among others) are the inputs to the CPU, in exactly the same way as fingers, ears and eyes constantly feed information into the brain.</p><p>Not so well-known is its younger cousin, the Graphics Processing Unit or GPU. What is a GPU? How is it different from a CPU?</p><p><strong>Let’s start by taking a step back:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*-et1xiepiVxmRnzDBinvOA.jpeg" /><figcaption>The <a href="https://en.wikipedia.org/wiki/ENIAC">ENIAC</a> (Electronic Numerical Integrator and Computer) was an early computer built by the US Navy. It cost $7.2M (in 2019 dollars) and was completed in 1945. It could perform calculations in 30 seconds that would take a human 20 hours to solve. (<a href="https://commons.wikimedia.org/wiki/File:Eniac.jpg">Photo</a> in public domain)</figcaption></figure><p>The earliest electrical computers, built in the first half of the 20th century, had all the charm and warmth of a furnace room, and were just about as large. These monstrously complex machines cost a small fortune to build and run, and so naturally, you wouldn’t invest in a computer unless you knew you could get a lot of value from it. Out of necessity, the first computers were built to perform tasks of great importance, but which were highly-repetitive and time-consuming for humans to perform (like breaking German codes during WWII, or calculating missile trajectories). These were very analytical and rudimentary machines used mostly for number crunching of one kind or the other.</p><p>As the design and sophistication of computers evolved, these machines got smaller, faster, cheaper, and more capable of solving a greater range of problems. The number-crunching circuitry that used to span entire walls got miniaturized and consolidated into what was already being called the CPU as early as 1955.</p><p>Naturally, the components <em>connected </em>to the CPU improved as well. Early computers would communicate the results of their calculations with lights, punch cards or line printers (an early form of printer). Eventually, monitors replaced printers as the preferred way of reading the text and reports generated by computer software.</p><p>Computer monitors paved the way to displaying images and animation. Drawing an image on a computer monitor is a relatively easy task for even a slow computer to perform, because it doesn’t necessarily need to be fast. Animation, on the other hand, requires <em>many</em> images to be displayed on the screen, in rapid succession. This is much more work for the CPU to take on, and this is where the rationale for having separate circuitry to handle computer graphics starts emerging.</p><p><strong>Today:</strong></p><p>In modern computers, the CPU sits on the motherboard, the main circuit board inside the computer. Video cards are smaller, separate circuit boards that attach to the motherboard, and take care of telling your monitor what to display.</p><p>On the video card sits a chip called the Graphical Processing Unit or GPU. This is a separate processor which has been designed specifically to be really fast at processing image data. It won’t necessarily be very good at doing the kind of analytic work that the CPU does, because the GPU has a more “visual” kind of intelligence.</p><p>Early computers were expensive, complex, and quite fragile, and so computer engineers were quick to learn the value of <em>modular</em> design. This simply means that computer hardware benefits from being divided into different components that specialize on one task. If one component breaks or needs to be updated, it can be swapped out independently of the other components. This lets consumers install new, faster components (like a video card that can handle 4K video) without having to buy an entirely new computer.</p><p>It is useful to separate graphical processing from analytical processing so that both can run simultaneously — just like how the human brain deals with speech and motor functions separately, allowing you to walk and talk at the same time. When playing a video game, the GPU can handle all of the math for drawing 3D worlds with lighting, texture and animation, while the CPU can focus on other things, like keeping track of what items you have in your backpack, how many lives you have left, and whether your pet dragon has eaten recently.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ac27167503a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Does Light Carry Data Across Optical Fiber?]]></title>
            <link>https://medium.com/@BillyBBone/how-does-light-carry-data-across-optical-fiber-783740c384d8?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/783740c384d8</guid>
            <category><![CDATA[modulation]]></category>
            <category><![CDATA[pigeons]]></category>
            <category><![CDATA[data-transmission]]></category>
            <category><![CDATA[light]]></category>
            <category><![CDATA[optical-fiber]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Thu, 13 Aug 2020 20:47:16 GMT</pubDate>
            <atom:updated>2020-08-13T20:47:16.632Z</atom:updated>
            <content:encoded><![CDATA[<p>When streaming a video or loading a website on your phone, there’s a good chance that some or all of the data that makes its way to you has travelled across an optical fiber as flashes of light. How does computer information get transformed into light and back again? How does that light travel across optical fiber?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GrLc-SWVn3bouFED2CnQ8Q.jpeg" /><figcaption>Optical fibers are cables made from plastic or silica glass. They are used to transmit information in the form of light, often across large distances. (Photo used <a href="https://commons.wikimedia.org/wiki/File:Fiber_optic_illuminated.jpg">with permission</a>).</figcaption></figure><p><strong>The quick answer:<br></strong>Computers (and other digital devices and circuits) like to think of information in terms of ones and zeroes. Every file stored on your hard drive or available over the Internet is actually composed of a large number of ones and zeroes, called <em>bits</em>.</p><p>When information needs to be transmitted from one place to the other (say, from Facebook’s servers to your phone), those bits are sent one-by-one along some kind of physical conduit, e.g. copper wiring in the case of a DSL connection, the air in the case of a Wi-Fi network, and optical fiber in the case of long-distance communications. Bits will travel across several different physical media on their way to your device.</p><p>In the case of copper cables (like phone lines), an electric charge carries the information from one end of the cable to the other. When an electric charge is present, a 1 is transmitted. When an electric charge is absent, a 0 is transmitted. By flipping the current on and off rapidly (we’re talking about millions of times per second or more), the bits in the file make their way along the cable.</p><p>Optical fiber operates on the exact same principle, but uses light instead of electricity. On one end of the cable, an LED will flash on and off. On the other end of the cable, a light sensor will record a 1 when a light is present, and a 0 when light is absent.</p><p>Optical fibers are cheap, and since light travels along them extremely fast, they make excellent conduits for transmitting digital information.</p><p><strong>A little more: modulation and pigeons</strong></p><p>The process of changing bits of data to better travel across a physical medium (air, copper cabling, optical fiber, etc.) is called <em>modulation</em>. The process of reversing modulation is called, unsurprisingly, <em>demodulation</em>.</p><p>The word “modem” is actually a combination of “modulator” and “demodulator”. A modem’s main function is to take a stream of ones and zeroes, and transform them into a format best suited for the physical medium being employed. You can’t easily <em>hear</em> what modulated data sounds like with cable or DSL modems, but if you were using the Internet back in the bad old days of dial-up access, and you had the misfortune of picking up the receiver while online, you’d hear something like <a href="https://youtu.be/gsNaR6FRuO0">this</a>, the sound of two modems talking to one another.</p><p>Morse code is kind of like an early form of modulation. A written message is passed to a telegraph operator, who transforms it into a series of long and short pulses, transmits it along a cable to another operator, who then demodulates it back into a written message.</p><p>A now-famous April Fools joke paper from 1990, <a href="https://tools.ietf.org/html/rfc1149">RFC1149 — Standard for the Transmission of IP Datagrams on Avian Carriers</a>, argues for carrier pigeons to be used as a physical medium for the transmission of bits on the internet:</p><ol><li>A file would be printed, and the printout would be cut into small strips. (Modulation)</li><li>Each strip would be attached to a carrier pigeon, that would then return to its owner. (Transmission)</li><li>The owner would wait to receive all of his pigeons, collect all of the strips of paper, and then scan them back into his computer. (Demodulation)</li></ol><p>Although this was in jest, it nicely illustrates the separate processes of modulation, transmission and demodulation.</p><p>The Bergen Linux Group created the world’s only known implementation of the CPIP (Carrier Pigeon Internet Protocol) 11 years later. It ran over a distance of 5km. The birds lost more than half of the pieces of paper, and even over very short distances, data would flow at a rate of a few bits every hour. (If someone approaches you with an offer to obtain pigeon Internet for a low price of $19.95/month, run!)</p><p>An optical fiber wrapped around the world at the equator, on the other hand, could carry the same information there and back in about 450 milliseconds (less than half a second). I think we made the right choice in deciding to invest in optical fiber…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=783740c384d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Valley Vice]]></title>
            <link>https://medium.com/@BillyBBone/the-valley-vice-c08a373bd66?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/c08a373bd66</guid>
            <category><![CDATA[humans]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[silicon-valley]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[automation]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Thu, 21 May 2020 04:03:17 GMT</pubDate>
            <atom:updated>2020-05-21T04:03:17.059Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pDVSuj4WrrhRjyfY8Qveiw.jpeg" /><figcaption>A doorman stands outside the Roosevelt Hotel in New Orleans (<a href="https://commons.wikimedia.org/wiki/File:Roosevelt_Hotel_Reopening_Baronne_Street_New_Orleans_1_July_2009_-_04.jpg">photo</a> used with permission)</figcaption></figure><p>Without a doubt, in the industrial landscape of the 20th century, automation has been the biggest driver of change. For over a hundred years, machines have proven to be incessant disruptors of the labour market, making countless low-skilled, manually-intensive jobs redundant. Society has largely embraced these changes, on the moral basis that a job designing the machines that perform mindless work is a better use of a person’s time and abilities, than a job doing the mindless work <em>of</em> a machine.</p><p>In the 21st century, automation continues to apply a disruptive pressure on the job market, but as artificial intelligence, the Internet, devices, and sensors evolve, it begins encroaching on jobs that require more skill and cognitive ability. Consequently, the Silicon Valley plays an increasingly important role in shaping professional and social interaction.</p><p>The “Valley Vice” is a phrase coined by <a href="https://ogilvy.co.uk/people/rorys">Rory Sutherland</a> to reference the Silicon Valley’s propensity to define a job in very narrow terms, and then find a technological replacement. He gives the example of a doorman who stands at the entrance of a building, and who eventually gets replaced by an automatic door.</p><p>If one believes that all a doorman has to do is open the door for guests, an automatic door is a fine replacement. However, that’s a pretty reductionist way to look at what a doorman offers, and the effect he or she has on those going in and out of the building. A doorman provides recognition and status to residents of a building. A doorman can sign for deliveries, help guests carry packages, hail taxis, hold umbrellas, and screen unwanted visitors. (And if you’ve ever watched an episode of Law &amp; Order, you know how helpful doormen can be to criminal investigations!)</p><p>Picture a world where automatic doors didn’t exist. You’re a young engineer in an industry where everyone wants to create innovative apps and find disruptive solutions to existing problems. The thought of being the first to create a door that opens and closes on its own is thrilling — you can practically picture the audience’s faces as you demonstrate your ‘magic’ doors for the first time. Not only that, you’re excited to realize that, as long as you’re able to convince yourself and others that this effectively eliminates the need for doormen, your product practically sells itself: what building owner wouldn’t be interested to learn they could spend $1,500 once to install a set of magic doors instead of paying $30,000/year for an employee’s salary?</p><p>The Silicon Valley is fond of pushing the loaded notion that human presence can be made redundant through innovation, because making products centred around technological innovations is much, much easier than making products that respond to the full gamut of the user’s functional, psychological and emotional needs. Many forms of automation are more effective precisely <em>because</em> they leave out the human element. A worker who stands next to a conveyor belt in a factory and tightens bolts all day long doesn’t need to exercise any kind of creativity — doing so could actually be dangerous both to him and to the product being manufactured! But what happens when machines begin taking over jobs where empathy, creativity, intuition, humour, and other human attributes that are difficult for software to imitate, are useful? What happens when a machine performs those jobs well enough <em>in spite of</em> lacking the qualities of a human? What happens when this same machine <em>fools people</em> into believing it is human?</p><p>Consider the case of Jane’s assistant…</p><p>Jane is a therapist with her own practice. She happily sees about 20 patients a week, and has about 50 clients who depend on her services in total. Jane’s mother, who was also a therapist, used to work in a small practice with two other doctors. They shared a secretary, Sally, who managed all three appointment books.</p><p>Growing up, visiting her mother’s office, Jane came to know Sally, a warm and gentle soul, who offered the full range of human capacity to perform the primary (but not sole) job of scheduling appointments. She often wore purple, and always offered Jane candy from her secret stash when she visited. Thirty years later, Jane still checks-in with Sally once a month to see how she’s doing.</p><p>Jane’s mom had a budget and a need for a human assistant, but Jane decides she can take on the job herself, equipped with email, text messages, and a scheduling app, all in the palm of her hand.</p><p>Thus, a second incarnation of the assistant role now only consists of a small subset of scheduling and communication tasks which Jane decides can be appended to her own job description. This isn’t at all unreasonable, since Jane can likely do the job in a few hours per week. After all, automation in the household has reduced the amount of time spent on chores from an average of 60 hours per week a century ago, to about 15 hours per week today (<a href="https://penguinrandomhousehighereducation.com/2018/05/21/steven-pinker-progress-ted-talk/">Pinker 2018</a>). Just because technology can’t address every single activity doesn’t mean it can’t address some with ruthless efficiency.</p><p>As her client roster grows, Jane notices that she’s spending at least an hour every day, calling patients back, scheduling and re-scheduling appointments, replying to emails and text messages, leaving voicemails, and so on. None of this is too demanding, but the problem is, after a while, she begins finding it tedious. Jane is a highly-educated psychotherapist, and although she doesn’t consider the duties of a receptionist to be below her station, she didn’t get into psychology to spend time booking appointments either.</p><p>For a moment one afternoon, Jane muses about hiring a human assistant, her own “Sally”, someone who would breathe life into a small practice. Maybe the person Jane hires will take a special interest in decorating the office with flowers. Or maybe they’ll be a high-school dropout who gets inspired to return to school and study therapy. By their nature, whomever Jane hires would be a fully actualized, dynamic and empathic human with aspirations and stories to tell. (No one would ever hire someone who acted and performed their job exactly the way an artificial intelligence does. Such a person would be hard to relate to, wouldn’t have any hobbies or friends, would be eerily pleasant all the time, and would probably make your skin crawl.)</p><p>When an acquaintance tells Jane about the new automated assistant he just got for his own financial consulting business, Jane listens intently. “It’s wonderful!” he raves, “It has an artificial intelligence that answers the phone and takes care of all the scheduling. It sounds completely human, and most of my clients don’t even realize they’re talking to a machine. It even makes small breathing sounds! You <em>have</em> to try this thing!”</p><p>Jane, impressed with her friend’s recommendation, purchases one for her office, and with that, a third iteration of the assistant role is born. This one costs $150 and won’t water the plants or go back to school. It has one function that it performs with relentless enthusiasm and mock empathy. By now, Jane has effectively defined and redefined the job of an assistant three times, with the first and last definitions being enormously different in terms of what they are, and what they bring to the office.</p><p>A week later, a patient with severe emotional regulation and anxiety issues calls. He is in crisis. “Hi, yeah”, he mutters, “I’d like to make an appointment with Dr. Jane.”</p><p>The automatic assistant responds cheerily, professionally, “Certainly! Dr. Jane has an opening next Friday afternoon.”</p><p>“Next Friday? Next Friday?? Oh god… I really don’t know if I can make it until then…” he mutters in desperation.</p><p>A human assistant in a therapist’s office would know how to deal with a comment like that. A therapist acting as her own assistant would know how to deal with a comment like that. An attentive assistant might even recall that this patient lost his sister three years ago this Thursday, and that this is a really hard time of year for this guy. Any competent, empathic person performing the role of an assistant would likely find or make some time for the patient in crisis, or at the very least direct him towards emergency resources.</p><p>“I’m sorry, I didn’t get that.” responds the artificial intelligence politely, un-helpfully. “Would you like me to book your appointment next Friday at 3pm?”</p><p>Although I’m contriving a very specific scenario that fits my purposes, I think this is the best way to illustrate the tradeoff we make when we redefine and replace human abilities with ersatz techno substitutes. In the vast majority of cases, people will be able to schedule appointments with their therapist or hair stylist or financial advisor with ease, thanks to automated assistants. In many cases, visitors to a building may only need the door opened and nothing else. In everyday life, automation makes sense in a lot of places.</p><p>The problem isn’t automation <em>per se</em>. The problem occurs when we find a new way of technologically augmenting a given human activity, and then rush to devalue all the connected skills and capacities that we can’t emulate as easily (e.g. creativity, insight, intuition), and in essence, the qualities of the person who used to perform that job.</p><p>I think society is very happy with automation when it replaces low-skilled or dangerous labour, such as in radioactive environments, or on assembly lines. Requiring a factory worker to perform the same motion hundreds of times per hour seems like a pretty dehumanizing activity to begin with, and I don’t think I’m alone in preferring that a robot perform that kind of task. We can even call the whole thing “upward mobility” or “social progress”.</p><p>As artificial intelligence lurches forward, automation begins replacing jobs with slightly higher barriers to entry, like Sally’s. What this effectively means is that an increasing number of social interactions are performed by pseudo-humans, and collectively, we find that our daily lives are increasingly influenced by the dictates of processes that are rigid, agents who are unfeeling, and products which put technology before human needs.</p><p>What’s more, if the software that runs our lives is all made by a certain type of person in a certain part of California, it will necessarily contain specific assumptions about how people look, sound, interact, and think. These assumptions make their way into the products being brought to market, and when those products pretend to be human, they do so with cultural ideals that are “baked in”, and unlikely to change. This means that people at the margins of those assumptions — people unable to conform or unwilling to adapt — tend to get marginalized.</p><p>When we evaluate a new technology, it’s important to do so critically. It’s not enough to focus on what the technology <em>adds</em>, it’s just as crucial to consider what it <em>misses </em>and what compromises it necessitates on the individual and collective scales.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c08a373bd66" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transparent Software]]></title>
            <link>https://medium.com/@BillyBBone/transparent-software-df975faffb89?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/df975faffb89</guid>
            <category><![CDATA[complexity]]></category>
            <category><![CDATA[software]]></category>
            <category><![CDATA[trust]]></category>
            <category><![CDATA[transparency]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Tue, 14 Apr 2020 13:51:31 GMT</pubDate>
            <atom:updated>2020-04-15T03:10:49.958Z</atom:updated>
            <content:encoded><![CDATA[<p>I wrote in <a href="https://link.medium.com/trTfLBDfD5">Making Trojan Horses</a> about how software updates can be likened to a big wooden horse that potentially hides a destructive force. Every time a software update is offered to you, you are always told about how it’ll fix bugs, make things faster, or perform better. You are told the old version is bad and full of security holes, but the next one will be better. So why not update now?</p><p>In that way, software updates — all software for that matter — are like Trojan Horses: you are sold on the package exterior, but largely unaware of what they contain inside.</p><p>Now, imagine for a moment that you had a special ability. Whenever someone handed you an object, you would be able to see it in complete detail — not just the outside and what the thing looks like. In your mind, you’d be able to see each tiny component, each screw, each metal clip, every dent, and so on. Without taking anything apart, your special sense would let you know everything there was to know about the object’s physical construction and state. Among other benefits, this would make you a perfect consumer, because you’d be seeing the world through a lens of perfect information and perfect trust.</p><p>Picture yourself with this power, walking through a department store. A salesman at a kiosk calls out to you, “Hey buddy! Come and take a look at this! This is the best, safest, quickest-to-boil electric kettle on the market. I guarantee you, it’s the last one you’ll ever need!” You pick it up, and instantly, your special ability informs you that the handle is weak and that one of the heating coils has already started to rust. This kettle will last you no more than three months, you figure, and so you decide to pass on the salesman’s offer.</p><p>In a sense, this special ability would allow you to see asterisks everywhere. On product packaging, the presence of an asterisk means there’s small print attached. There’s a caveat, a footnote. There’s more you need to know. There are some expectations to manage and some lawyers to quiet. Tom Waits says it best, “The large print giveth and the small print taketh away.”</p><p>With your special ability, you’d be able to detect asterisks in the real world, too. When the salesman hands you what he claims is an electric kettle (no asterisk), you’d quickly discover that no, actually, it’s an electric kettle* (with asterisk). No one expects a kettle to last only three months, and so there’s a footnote to attach, an extra piece of crucial information.</p><p>Not only would this ability allow you to spot product defects, but it would also help you spot danger and deception. If a large wooden horse (no asterisk) were given to you as a present, you could touch it with your hands and instantly see that it’s actually a wooden horse* (with an asterisk). It has a secret, it is being deceptive.</p><p>All of this is premised on having the ability to analyze every single one of the details of something, to be able to completely ignore abstraction, and deal with the physical world in its full complexity. Humans need to deal in abstractions (e.g. words and concepts) precisely because we are not very good at handling complexity, and so having this ability really would be an incredible gift.</p><p>Whereas the ability to “see into” the physical wooden horse might fall into the realm of superpowers, the ability to “see into” software is much more realistic and equally compelling. For one, software exists entirely in the logical realm, rather than the physical realm, meaning that, like the text in a book, the code that makes up an app is entirely readable and unambiguous. If you wanted to analyze every single piece that makes up a pocket watch, you’d have to take it apart, potentially damaging it in the process. If you want to analyze every single piece of code that makes up a clock app on your phone, you can do that without taking the app apart. Heck, you can even do it while the app is running!</p><p>As well, even though the complexity of even a basic piece of software is way, way more than what the human brain can handle (Tetris, for instance, is made up of hundreds upon hundreds of <em>instructions</em>, the building blocks of apps), it is orders of magnitude less complex than any material in the physical world, and the laws that govern it. True, software is like a book that can always be opened and read, but it’s a book written in a cryptic language that takes some work to decipher, and is the size of multiple phone directories.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/963/1*MrBTh4RRts1HETFwpP2B2Q.jpeg" /><figcaption>Margaret Hamilton, standing next to the navigation software that she and her MIT team produced for the Apollo Project, 1969. (<a href="https://en.wikipedia.org/wiki/File:Margaret_Hamilton_-_restoration.jpg">Source</a>)</figcaption></figure><p>Is it any wonder that malware exists? It’s not possible to really see inside software, so everyone is left to their own devices to judge whether to trust an app enough to install it. For instance, would you install an app that promises it’ll make your hard drive 40% faster? What if it’s actually an app* that doesn’t do much to improve your hard drive performance but instead records every key you press and sends those logs to a suspicious-looking server every night?</p><p>As we delegate more and more of our everyday tasks to apps and platforms of all kinds, and as we let cameras and sensors into our homes, the ability to “see into” software becomes vitally important for our well-being and privacy. In my opinion, the entire field of computer science has been derelict in its management of complexity, to its own detriment. We need to develop better ways of abstracting software, of understanding what it actually does. We need the tools to better understand and control which of our information gets shared with whom and for what purposes.</p><p>We need transparent software.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df975faffb89" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Trojan Horses]]></title>
            <link>https://medium.com/@BillyBBone/making-trojan-horses-3a54c9d0fb59?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a54c9d0fb59</guid>
            <category><![CDATA[trojan-horse]]></category>
            <category><![CDATA[software-update]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[usability]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Mon, 16 Mar 2020 14:53:57 GMT</pubDate>
            <atom:updated>2020-03-16T14:53:57.041Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*X2KhxMk06pxg5b26xsZqWA.jpeg" /><figcaption><a href="https://www.flickr.com/photos/jurvetson/49336372937/">Photo</a> by Steve Jurvetson (licensed under <a href="https://creativecommons.org/licenses/by/2.0/">CC BY 2.0</a>)</figcaption></figure><p>There used to be a kind of computer virus known as a Trojan Horse. Like the wooden horse in the legend of the fall of Troy, a Trojan Horse presents itself as something welcome and benign, but hides within it a more destructive force.</p><p>Lurking within a game or screensaver, it would run some malicious code in the background, perhaps deleting files on your hard drive, or keeping a log of all of your keystrokes.</p><p>Trojan Horse viruses still exist, but they’re generally now referred to by the much less colourful term “malware”. For instance, a VPN app may contain some malware that uses your computer and electricity to mine Bitcoins for someone else, without your knowledge.</p><p>Trojan Horses function by being deceptively attractive. They need to convince you to lower your guard, accept the gift, and ultimately to be betrayed by the gift’s hidden nature. A Trojan Horse can also function effectively if, instead of being something you are convinced to <em>want</em>, it is something you are told that you <em>need</em>.</p><p>In the modern software landscape, it is very common to see auto-update mechanisms built into many operating systems and apps. These bits of code communicate over the internet with a software repository, and inquire as to whether a new version of some element of the system or app is available — such as a bug fix, a performance improvement or a new feature.</p><p>Depending on how aggressive the auto-update mechanism is, one of three things happens next:</p><ul><li>You are offered the opportunity to install the update or skip it. (Optional update, your choice);</li><li>You are offered the opportunity to install the update now or later. (Forced update with your choice of timeline);</li><li>You are told that the update will soon be or has already been installed. (Forced update, no choice).</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A6cIy9WaITwLAdTPoLcX2w.png" /><figcaption>This window shows one of the ways in which macOS communicates an update to its users.</figcaption></figure><p>The amount of information shown about the update is generally proportional to the forcefulness of the auto-update mechanism. That is to say, when a user has little or no choice about accepting a software update, that update tends to be scant on the details.</p><p>When my Android phone updates itself, for instance, it does so in a very forceful manner. I usually get a notification that “an update will be installed the next time your phone is restarted”, which means my only option for rejecting the update is to keep my phone on and powered so as not to trigger a restart. Since I have no real choice here, it doesn’t really matter what’s in the software update: the next time my phone’s City of Troy guards go to sleep, some higher power will wheel in a big fancy wooden horse, and that will be that.</p><p>There is a very strong rationale for this kind of forced update, since it can be an extremely efficient way to combat the spread of infectious kinds of malware. Once a software maker is made aware of a security hole in its app, it can create an update to fix the problem and quickly disseminate it to its users, with no explanation needed.</p><p>On the other hand, an update that is presented as an option will tend to be accompanied by more marketing material. The release notes may read something along the lines of “This new version fixes many bugs, adds a new and improved emoji selector, and performs its core function even faster than before.” This all sounds very attractive. After all, the prettier the horse, the more likely we are to let it through the gates.</p><p>There is a myth that newer versions are better, always, and it’s not too difficult to spot where that assumption comes from. If you were to base your estimation of the quality of the apps on your phone solely on their release notes, you would have no problem seeing that every subsequent update fixes bugs, makes things faster, and adds value in a variety of ways. You would conclude that the software on your device is therefore only getting better as time goes forward, as you install one update after the next.</p><p>What no release notes mention, unsurprisingly, are the bugs they introduce, and the features they break. In every Trojan Horse that comes inside the city walls, there exists the potential for a few rogue actors to lie in wait. This is not necessarily intentional malfeasance in the same way as proper malware, but it is fully possible—even likely— for updates to unwittingly deliver one or more regressions (reverse improvements). Since we therefore can’t say that updates necessarily always improve or degrade software quality, we can only really say that they provide variability in an app’s usefulness and functionality.</p><p>Ideally, the software maker has Quality Assurance processes in place, making regressions rare. Conventions like Semantic Versioning can also limit the scope of changes. Unfortunately, even when implemented properly by smart, capable teams, I have seen both of these processes fail quite dramatically.</p><p>“Software quality” is a bit of a slippery concept, as well — or at the very least, it’s a relative concept. A new feature may benefit you but completely break my workflow. A software maker may spend a lot of time and money developing a new feature or fixing a bug that has almost zero impact on its customers. Which is the better piece of software, the old or the new version? The software maker will always insist the newer version is superior (otherwise why would it offer an update?), but is the point of software to match the maker’s needs, or the user’s? These are questions that could be asked of any two versions of an application, going back even before the internet and auto-update. The subjective value of an application’s usability is not a new question.</p><p>However, auto-update mechanisms have minimized hurdles for publishing new versions, and on the whole, have accelerated the number of times these decisions must be made. Trojan Horses were once considered a kind of malware. Nowadays, I would argue that they represent the ethos of auto-update. I am told that each time I agree to install an update, only good things are coming through the gates, and when I have no choice but to accept that software update, it’s for my own safety. I’m not opposed to progress, but I don’t like it being forced upon me, especially when—for my purposes—that progress is subjectively regressive.</p><p>A better software update mechanism is possible. It would have to split incoming software updates into two streams:</p><ul><li>Critical Security Updates which must immediately be installed, and</li><li>Feature Improvements, which would always be optional.</li></ul><p>This would ensure that we reap all of the benefits of auto-updates (e.g. fixing critical security issues very quickly), and still maintain an open channel for product managers to propose new changes to their users on an opt-in basis. Ideally, updates in the Feature Improvement stream would also be reversible, allowing you to try a new update, but then opt out if you don’t enjoy the change it provides.</p><p>I doubt we’ll see this kind of update schema any time soon. As a programmer, I have a hunch that the increased complexity it would take to implement auto-update the right way would make it prohibitively expensive. Even if one were to pour time and energy into building a framework that could handle updates in this way, it might ultimately be a fruitless exercise. On the publishing end, the software maker will ultimately be the one to decide whether each new update goes in the “must-have” or the “might-want” channel. I think marketing and sales forces would constantly apply pressure to slip feature updates into the security channel. For instance, few people would willingly apply an optional update which invisibly collects details on your usage of an app. However, if that questionable update is delivered via the security channel, the user doesn’t get to say no, and now the software maker has access to new sources of information.</p><p>This is mostly the situation we are in now, so why go through all that effort to create a fast lane through the city wall where horses can get waved right through, and another Border Security Checkpoint where they might get turned away? In the end, all updates are Trojan Horses; how the hell are we supposed to know which ones to trust?</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a54c9d0fb59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Herman]]></title>
            <link>https://medium.com/@BillyBBone/herman-a32fc3fed33c?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/a32fc3fed33c</guid>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Tue, 15 Jan 2019 23:12:56 GMT</pubDate>
            <atom:updated>2019-01-15T23:12:56.395Z</atom:updated>
            <content:encoded><![CDATA[<p>Herman was a regular guy.</p><p>It was Monday, and so he’d put on his trousers around 8:30, be out the door by 9, on the 144 at 9:14, and so on.</p><p>It was Monday, and so Gary would have some story about his weekend. Herman liked Gary, even though he was always telling lies.</p><p>By 12:13, Herman would be biting into his cucumber sandwich in the breakroom.</p><p>By 9pm, Herman would be setting his TV to sleep: 45 minutes, and dozing off to Big Bang Theory reruns.</p><p>Herman didn’t mind the routine. Herman resented making choices, and so Herman was comfortable with Mondays.</p><p>Herman was a company man.</p><p>It was Tuesday, and so he put on his slacks around 8:40, and he’d rush out the door to make the 144 at 9:14.</p><p>It was Tuesday, and Gary complained about clients. Gary always complained about clients on Tuesdays. Mondays got to Gary, Herman saw that.</p><p>By 1:04pm, Herman was biting into prêt­-à-­manger sushi from the shop downstairs. They used a lot of crab on Tuesdays. Herman didn’t really care for crab, but he never complained.</p><p>At 10:04pm, Herman decided to head home from work. He ate some leftover sushi before hopping onto the desolate L train.</p><p>Herman couldn’t wait until tomorrow. Tuesdays were so difficult to bear when Wednesdays loomed large on the horizon.</p><p>Herman was a sunset guy.</p><p>It was Wednesday, and Herman felt like wearing a scarf to work, so he picked out a nice houndstooth one.</p><p>It was Wednesday, and that meant Gary would be talking about last night’s episode of CSI:NCIS. Gary lived such a boring life, and Herman was starting to realize that.</p><p>At 2:14, Herman tipped the waitress 10%. It wasn’t much, but she did a shitty job, and Herman saw that.</p><p>At 11:05, Herman tossed around in bed for the <em>n</em>th time. He couldn’t sleep. Thursday was just around the corner, just around the corner….</p><p>Herman was a go-­go-­go kinda guy.</p><p>Fuck it, Thursdays rocked. Herman sprang up from bed at 6am sharp. He slammed off his alarm and then his body to the floor to do 40 whole push­ups.</p><p>37…38…39…40….</p><p>Herman always did two lines of coke on Thursdays. Thursdays were two-­line-coke kinda days, and Herman saw that.</p><p>Work rocked. Herman closed three deals by noon, and he wasn’t even in sales! Herman toasted his own success with a couple of whiskeys at Wanda’s, 1:10pm.</p><p>Gary was so jealous of Herman, and everyone knew that.</p><p>“Dear diary”, Herman confessed at 11:12pm sharp. “Thursdays go by so fast.”</p><p>At 12:04am, Herman felt a pang of guilt, and did another line of coke. It was just another way to fend Fridays off.</p><p>Herman was a con man.</p><p>On Fridays, things were <em>lithe, man</em>. Herman slunk out of bed and oozed into the shower.</p><p>“Morning Herman!”, greeted the bus driver at 9:15. am!</p><p>Gary got promoted, and Herman had a new boss. It was Gary.</p><p>Herman begged and pleaded to keep his job, but Gary didn’t like Friday Herman.</p><p>Gary said Friday Herman <em>“didn’t comply, man”</em>, and so Gary fired Friday Herman.</p><p>Herman saw himself, jobless.</p><p>By 2:14, Herman was biting into a sub from the shop around the corner, contemplating his next move.</p><p>At 9:14pm, Herman lay in bed, hugging his wife. “We’ll figure something out”, he promised, and kissed her, and they drifted off to sleep.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a32fc3fed33c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why I’ll never support electronic voting]]></title>
            <link>https://medium.com/@BillyBBone/why-ill-never-support-electronic-voting-e40d661a28cd?source=rss-cbe9b167c789------2</link>
            <guid isPermaLink="false">https://medium.com/p/e40d661a28cd</guid>
            <category><![CDATA[democracy]]></category>
            <category><![CDATA[voting]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[elections]]></category>
            <category><![CDATA[pencil]]></category>
            <dc:creator><![CDATA[Anthony Lalande]]></dc:creator>
            <pubDate>Mon, 01 Oct 2018 18:56:51 GMT</pubDate>
            <atom:updated>2018-10-01T18:56:51.294Z</atom:updated>
            <content:encoded><![CDATA[<p>I attended a lecture by the great David Suzuki a while back. He pointed out that any shop with a sign that reads “No Animals” is probably going to go out of business, since humans are technically animals. “No Animals” means “No Customers”, too.</p><p>He was being pedantic on purpose, of course, because the point he was trying to make is that in some ways, humans see themselves as separate from their environment.</p><p>In the same way, I snicker a pedantic little snicker when I hear politicians talk about “bringing technology into the classroom”. Do they mean more chalk? Longer rulers? “Because technically”, I say to myself as I adjust my imaginary glasses, “any purposeful application of science is technological by nature.” Blackboards are technology in the classroom. So are chairs. So is paper.</p><p>I know, and everyone else knows what the politicians really mean: <em>digital</em> technology. Things that have Wi-Fi and colour LEDs. The cool stuff! Tablets and smart whiteboards, VR and AI, lions and tigers and bears, Oh My!</p><p>The point of drawing your attention to the gap between <em>what we mean</em> when we say “technology” (like a smart whiteboard) and <em>what we know</em> to be “technology” (like a plain old blackboard), is that I think this easily leads to the idea that more complexity is the same as progress.</p><p>I don’t think that conclusion is always wrong, but I think it needs to be nuanced a bit. Technology exists to fulfill a need. When we start with the assumption that a smart whiteboard in a classroom is necessarily better, we may overlook its relationship to the need it ostensibly serves. Is the goal of a classroom environment to use as many Kilowatt hours as possible? To look as cool and futuristic as possible? Or is it to foster learning?</p><p>If we start with a need and use evidence-based research to evaluate which technology is best suited to fill that need, we’re in a good place. If, however, we start with this idea that “newer is necessarily better”, we run the risk of installing the smart whiteboard in the classroom first, and then spending a lot of time and money continually upgrading to the newest whiteboard software, in hopes of achieving something that has the same impact on learning as the tried-and-true blackboard had for a tiny fraction of the price.</p><p>(Smart whiteboards may actually be a huge boon to the classroom, I don’t mean to imply otherwise. My opinion on that isn’t really important, because my point is that thoughtful, evidence-based evaluation of the need is really what matters, especially when creating public policy.)</p><p>Along these lines of thought, I don’t think electronic voting is a good idea. In fact, I think it’s a truly terrible idea.</p><p>As I see it, the single biggest need associated with a fair election is, well, fairness. Every single voice needs to count once, and only once. It’s as simple as that.</p><p>The biggest advantage that electronic ballots offer over paper ballots, is that they can be counted extremely quickly. As in, the polls close at 9pm, and the results are posted online at 9pm.</p><p>This is a pretty stunning speed-up over manual counting, which can sometimes last into the wee hours of the morning in cases of contentious elections. In some cases, manual re-counting may be necessary, and the entire results of the election may hang in the balance for days after the polls close.</p><p>The prospect of counting votes perfectly, instantly, and without employing a legion of volunteers and election officials is not insignificant. But is it <em>better?</em></p><p>Absolutely not.</p><p>The problem of speed is not a problem at all. I don’t believe I’ve ever heard anyone complain about the manual counting process being too slow. On the contrary, many people find it suspenseful and exhilarating to gather around the TV and watch the results come in. It is only in rare circumstances that the counting process drags on for more than a day.</p><p>Elections need to be a spectacle, literally. There need to be as many eyes watching and scrutinizing the results as possible. Instant counting turns elections into <em>fait accompli</em>. There’s no discussion and no public oversight, just numbers, reactions after the fact, and the very dangerous notion that the count is final and the process infallible.</p><p>Not only is that boring, but it is toxic to democracy.</p><p>Having an army of volunteers, overseers, representatives from different parties, and observers from civil society, all watching the counting process, is just as necessary to a healthy democracy as full participation in the voting booth.</p><p><em>The fact that manual counting is slow is not a problem, it is a safeguard.</em></p><p>Next, if you look at any kind of electronic voting terminal, I doubt you could find any advantages that they bring over the venerable paper ballot. You do not need to plug in a pencil. You can’t hack a pencil. Anyone can use a pencil, not everyone can use a computer, no matter how simple you try to make it. If a pencil breaks, it still writes. If the tip breaks, you sharpen it. We have sophisticated forensic technology to audit the authenticity of a pencil mark on a ballot. Anyone can read and interpret a checkbox.</p><p>There could not be a more apt technology for tamper-proof voting, accessible to all, than the pencil and paper ballot.</p><p>By comparison, voting machines are complex, hard to repair, tamper-prone, opaque, expensive and not accessible to all.</p><p>I believe democracy is best exercised when it is a slow, deliberate, deeply participatory process, and any technology — digital or not— that proposes to solve a non-existent problem at the cost of increased complexity and decreased transparency, is a non-starter.</p><p>The only improvement to the voting process I’ll accept is a potential future upgrade of pencils from 2B to 2.1B. Anything else is dangerous, and I hope you’ll join me in opposing electronic voting anywhere it rears its ugly, undemocratic head.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e40d661a28cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>