<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Guy Bianco IV</title>
    <description>The latest articles on DEV Community by Guy Bianco IV (@gjbianco).</description>
    <link>https://dev.to/gjbianco</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F90969%2F2b6e356a-6bfa-4c05-a458-d064e6235753.jpeg</url>
      <title>DEV Community: Guy Bianco IV</title>
      <link>https://dev.to/gjbianco</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gjbianco"/>
    <language>en</language>
    <item>
      <title>s/Netbook/Chromebook/</title>
      <dc:creator>Guy Bianco IV</dc:creator>
      <pubDate>Sat, 04 Dec 2021 18:44:26 +0000</pubDate>
      <link>https://dev.to/gjbianco/snetbookchromebook-488h</link>
      <guid>https://dev.to/gjbianco/snetbookchromebook-488h</guid>
      <description>&lt;p&gt;Cross-posted on my personal blog: &lt;a href="https://guy.sh/posts/chromebook"&gt;https://guy.sh/posts/chromebook&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Background
&lt;/h2&gt;

&lt;p&gt;I recently purchased the Lenovo Chromebook 3 for &lt;em&gt;very&lt;/em&gt; cheap -- just over $100 USD. The machine is small and lightweight at just shy of 2.5lbs. The keyboard is nothing superb, but quite good for the price. The display is probably the worst part about it, but perfectly fine for reading text -- even in &lt;em&gt;direct&lt;/em&gt; sunlight, due to the matte finish.&lt;/p&gt;

&lt;p&gt;Specs-wise, it sports an AMD A6 A9220C processor, 4gb of RAM, and 32gb of eMMC storage. By today's standards, very measly specs, indeed!&lt;/p&gt;

&lt;p&gt;So why did I want such a low-powered machine?&lt;/p&gt;

&lt;h3&gt;
  
  
  An Old Netbook and a Dream
&lt;/h3&gt;

&lt;p&gt;About a decade ago, my main university computer was an Acer netbook running Linux. Equipped with an Intel Atom CPU and 2gb of RAM (which I proudly upgraded to 4gb), it was a severely underpowered machine. On top of that, it had an odd display resolution (1024x700), the fans ran near-constant, and the 9-cell battery I bought for it weighed as much as the machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;I absolutely adored it.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Besides extreme portability, the wonderful thing about that machine was having to consider every drop of resource usage. Much in the same way artistic restrictions spark creativity, I had to learn and understand how a lot of my system worked.&lt;/p&gt;

&lt;p&gt;I couldn't just throw computing resources at the problem and call it a day... simply because that machine didn't have them.&lt;/p&gt;

&lt;p&gt;For example, I became very comfortable with the CLI.&lt;br&gt;
Even now, it's hard for me to use a system that doesn't offer those tools. A text editor &lt;em&gt;must&lt;/em&gt; have decent Vim bindings for me to consider it as a primary editor (most of the time, I use Vim or Neovim, anyway).&lt;/p&gt;

&lt;p&gt;Even on more powerful hardware, these are tools and skills that I still use every day. I even give a lot of credit to that netbook as to why I work at Red Hat.&lt;/p&gt;

&lt;h3&gt;
  
  
  Netbooks are Extinct(?)
&lt;/h3&gt;

&lt;p&gt;A product of their time, netbooks died a fairly quick death. I believe their time in the sun only lasted a span of 3-5 years, conveniently coinciding with my studies.&lt;/p&gt;

&lt;p&gt;They were followed by shrinking full-sized laptops and more powerful mobile devices. The middle-ground that netbooks once filled is now a sea of overlapping options from both categories.&lt;/p&gt;

&lt;p&gt;However, as traditional laptops have shrunk and mobile devices' capabilities skyrocketed, both have dramatically gone up in price. A "flagship" smartphone these days frequently toes the $1k USD mark. A modest-but-small laptop can run about the same. For reference, my beloved netbook cost less than $250 (in 2010).&lt;/p&gt;

&lt;p&gt;Beyond price and creative restrictions, another goal of mine has been portability. Netbooks filled a portability void partly &lt;em&gt;because&lt;/em&gt; of their price. They were small and light, but being cheap made them easier to bring everywhere without worry.&lt;/p&gt;

&lt;p&gt;For better or worse, the only permanent in life is impermanence. I received my degree and started my software development career. As much as I loved that netbook, it just couldn't handle the tasks I needed.&lt;/p&gt;

&lt;h3&gt;
  
  
  My Other Machine is a Cloud
&lt;/h3&gt;

&lt;p&gt;Although remote desktop solutions are nothing new, the past decade brought many new and wonderful tools and services into that space. With the rise of cloud-based VMs and Kubernetes clusters, many are trading full-blown applications on laptops for simply accessing them via SSH.&lt;br&gt;
Within a few seconds, you can have a complete Linux machine running in a VPS for pennies a day.&lt;/p&gt;

&lt;p&gt;With modest hardware and an internet connection, I have effectively-unlimited near-instant access to more computing power than even the bulkiest of laptops.&lt;/p&gt;

&lt;p&gt;The always-on access to mountains of computing power &lt;em&gt;does&lt;/em&gt; go against some of that hacker-gone-artist ethos. However, it brings it back into the realm of remotely-useable-for-work.&lt;/p&gt;

&lt;h2&gt;
  
  
  Previous Attempts
&lt;/h2&gt;

&lt;p&gt;Here are a few of the other setups I've tried. I still use some of these, but who says I have to pick just one? ;-)&lt;/p&gt;

&lt;h3&gt;
  
  
  An iPad and Keyboard
&lt;/h3&gt;

&lt;p&gt;What initially introduced me to the elegance of an SSH-focused setup was using an iPad Pro and keyboard cover to connect to a VPS. Even compared to this Chromebook, that setup is even smaller and lighter. Because the screen is so much better, it also made for a great media consumption device.&lt;/p&gt;

&lt;p&gt;So why don't I use that?&lt;/p&gt;

&lt;p&gt;Well, a lot of times I still do. It's often easier to carry an iPad than a laptop. Especially after switching from the iPad Pro to the almost-handheld iPad Mini.&lt;/p&gt;

&lt;p&gt;However, using a tablet+keyboard just isn't quite the same as a laptop form-factor. Actual lap usage is uncomfortable, at best. Every keyboard I've tried is either unusable in a lap or missing &lt;em&gt;something&lt;/em&gt; (Escape key, strange layout, etc.).&lt;/p&gt;

&lt;p&gt;For a touch-typist heavily focused on the CLI, tablet keyboards sit in the uncanny valley. They are perfectly fine for quick sessions on-the-go, but for me, a Chromebook still just feels closer to home.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Twelve-Inch MacBook
&lt;/h3&gt;

&lt;p&gt;Circa 2015, I switched over to using a Mac for my professional and personal work. I won't get into details, but it made sense for me as someone who traveled a lot for work.&lt;/p&gt;

&lt;p&gt;Trying to recapture that netbook form-factor, I bought one of the 12" MacBooks (no suffix). While I used that machine professionally for a few years, it just didn't feel quite the same. The hardware itself was great, the build quality immaculate, and it weighed right around two pounds.&lt;/p&gt;

&lt;p&gt;However, macOS just simply didn't let me tweak what I wanted in order to get the most out of the minimal hardware. This only got worse as time went on. I recognize the efforts to run Linux on Apple hardware, but that is not an adventure for me.&lt;/p&gt;

&lt;p&gt;Once the little Mac started to show its age (made even more premature by a lack of fans), I gave it to a family member who has put it to good use.&lt;/p&gt;

&lt;p&gt;As much as I enjoyed that laptop, I don't think I'd buy another one. It cost way too much for something I only managed to use as a daily driver for a couple of years.&lt;br&gt;
Not that it matters anyway, as Apple discontinued the lineup.&lt;/p&gt;

&lt;h3&gt;
  
  
  A Small-ish ThinkPad
&lt;/h3&gt;

&lt;p&gt;About a year ago, I was in search of a small Linux laptop (much like how I got this Chromebook). I ended up buying a Lenovo L13 Yoga with a 10th-gen i5 and 8gb of RAM. It even has a TrackPoint and a Wacom stylus, which are nice options.&lt;/p&gt;

&lt;p&gt;This machine runs Fedora like a dream. It's small for what it can do, and it can do quite a lot. Using Proton, I'm even able to play a surprising number of games on Steam. In fact, this machine got me back into gaming on Linux.&lt;/p&gt;

&lt;p&gt;For longer trips away from home, this ThinkPad is my primary laptop these days. While not particularly beefy, I can expect to run &lt;em&gt;most&lt;/em&gt; things I need and even play a few games. Video conferencing tools work fine on it (something I haven't yet tried on the Chromebook).&lt;/p&gt;

&lt;p&gt;There are just a lot of cases where I don't want to bring my ThinkPad with me, though. It's not particularly heavy, but not particularly lightweight, either. While it was not crazy expensive, it cost enough that I don't like taking it everywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  I Underestimated ChromeOS
&lt;/h2&gt;

&lt;p&gt;Chromebooks are also nothing new. Funny enough, the initial version of ChromeOS was available during the peak of my netbook usage!&lt;/p&gt;

&lt;p&gt;While it took ChromeOS a while to get beyond &lt;em&gt;just&lt;/em&gt; providing a browser, I  looked my nose down at them for too long. I assumed that they were great for Google Docs, GMail, maybe some YouTube, and not much else. Basically, perfect for grade school children stuck using GSuite and browser-based assignment portals.&lt;/p&gt;

&lt;p&gt;What I didn't realize was the group of enthusiasts and talented engineers working to make it quite a robust system. Side note: apparently CoreOS, now owned by Red Hat, was originally based off of ChromeOS. Small world.&lt;/p&gt;

&lt;p&gt;While it is still heavily limited in many regards, you can do and install a surprising amount on a Chromebook these days. You're not going to replace your gaming laptop with one, but it's not just for email and Twitter, either.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Especially&lt;/em&gt; if you're comfortable with a Linux CLI.&lt;/p&gt;

&lt;h2&gt;
  
  
  Linuxen-filled Linux
&lt;/h2&gt;

&lt;p&gt;On a Chromebook, you currently have at least five different ways of running some common Linux tools. I'm not going to provide tutorials or explain the gritty details of how each works, but I'd like to give an overview of what each option provides and some of the drawbacks. Most of these are not mutually exclusive and you can swap between them, as needed.&lt;/p&gt;

&lt;p&gt;I am still relatively new Chromebooks, so take this as your warning to do your own research before installing anything. Some of these options &lt;em&gt;do&lt;/em&gt; have potential security implications!&lt;/p&gt;

&lt;p&gt;The options are roughly in ascending order of complexity and capability. You might not have all of these options if you are on a particularly old Chromebook. Anything from a major manufacturer within the past couple years should work, though.&lt;/p&gt;

&lt;p&gt;NOTE: Keep in mind that enabling developer mode, without any other steps, laxes a lot of the security around ChromeOS. There are ways to re-enable boot kernel verification without losing developer mode and you can lock down passwords and sudo access for the &lt;code&gt;chronos&lt;/code&gt; user. However, realize that you are taking physical machine security more into your own hands by enabling developer mode.&lt;/p&gt;

&lt;h3&gt;
  
  
  Secure Shell Chrome Extension
&lt;/h3&gt;

&lt;p&gt;Link: &lt;a href="https://chrome.google.com/webstore/detail/secure-shell/iodihamcpbpeioajjeobimgagajmlibd"&gt;https://chrome.google.com/webstore/detail/secure-shell/iodihamcpbpeioajjeobimgagajmlibd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This extension is perfect if you just want to use your Chromebook to SSH into other machines. It also provides a number of &lt;em&gt;really&lt;/em&gt; nice features, such as clipboard integration and SFTP. Newer versions even include MoSH, which you should check out if you use SSH a lot.&lt;/p&gt;

&lt;p&gt;While it can be opened without an internet connection, it is useless without one as it &lt;em&gt;only&lt;/em&gt; provides remote access. That is, it does not include any additional tools or CLI access to the Chromebook itself.&lt;/p&gt;

&lt;p&gt;The performance/battery impact is less than opening another tab to your average news site, which is great for the provided flexibility. Because it doesn't need developer mode, this one of the most secure options. The extension is from Google, so it should be as trustworthy as the OS itself.&lt;/p&gt;

&lt;p&gt;The main drawback is that it requires another machine to remote into (even just a cheap VPS). Things like UI development might need additional steps as the development server isn't running on the same machine as the browser.&lt;/p&gt;

&lt;p&gt;Personally, this is my favorite option for "real work". It allows me to continue my existing tmux session away from my desktop and battery life should be the highest possible.&lt;/p&gt;

&lt;h3&gt;
  
  
  Linux-y Android Apps
&lt;/h3&gt;

&lt;p&gt;While based on Gentoo, ChromeOS has enough Android bits to run apps, including terminals and SSH apps. For example, Termux provides basic Linux tools and includes a package manager to install more.&lt;/p&gt;

&lt;p&gt;Because these are just Android apps from the Play Store, you don't need developer mode. However, you are limited to whatever functionality and packages the app provides. Because you're running everything through the app, you're also trusting the app developer quite a bit.&lt;/p&gt;

&lt;p&gt;I'm not sure about battery impact, but I expect it is slightly higher than the browser extension, but less than Crostini (below). It will likely depend heavily on the app and your usage.&lt;/p&gt;

&lt;p&gt;Personally, I like keeping Termux installed as another option, but I don't use it much. The environment is too sandboxed for my needs, but that could be considered a benefit.&lt;/p&gt;

&lt;h3&gt;
  
  
  crosh (Ctrl+Alt+t)
&lt;/h3&gt;

&lt;p&gt;While it is largely uninteresting on its own, you can access a minimal terminal from the ChromeOS browser. The "Chrome OS developer shell", or crosh, is accessed from the browser with &lt;code&gt;Ctrl+Alt+t&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;The most interesting command it provides is &lt;code&gt;shell&lt;/code&gt;, which drops you into something a bit more bash-like. In this shell, you get access to the file structure and some common tools like Vim, SSH, grep, etc.&lt;/p&gt;

&lt;p&gt;The performance/battery impact should be similar to the Chrome extension. The &lt;code&gt;shell&lt;/code&gt; command seems to require developer mode and the provided functionality is minimal.&lt;/p&gt;

&lt;p&gt;Personally, I only use this option for quickly managing local files or setting system flags. The Chrome extension handles remote connections far better, while Crostini and Crouton provide way more functionality.&lt;/p&gt;

&lt;h3&gt;
  
  
  Crostini
&lt;/h3&gt;

&lt;p&gt;While called &lt;code&gt;Linux (Beta)&lt;/code&gt; by ChromeOS, Crostini lets you run a full Linux VM. It's pretty easy to set up and comes directly from Google.&lt;/p&gt;

&lt;p&gt;For a "beta", it seems really stable and implies it will only get better. While we all know how Google sheds projects like a snake sheds skin, I expect this to stick around. The tech this is based on has been stable for a long time and they've already done the hard integration work.&lt;/p&gt;

&lt;p&gt;Without additional setup, it's limited in available packages. However, provided packages are impressively integrated with the rest of the system. Despite running in a VM (and perhaps a container under that?), many graphical Linux packages are available. Once installed, they appear in your app list and run just like any other app.&lt;/p&gt;

&lt;p&gt;Because it is a VM, you will need to configure directories on the host to be shared inside the VM. Additionally, the VM will reserve an amount of system memory while it is running.&lt;br&gt;
This means Crostini will likely impact device performance and battery life even when idle.&lt;/p&gt;

&lt;p&gt;However, if you need to run something like the GIMP, this is a fair tradeoff. I've even seen some people set up VSCode, though I have yet to try that myself. Overall, it really is quite a feat to install graphical applications in a VM and access them from the host OS with no additional configuration. This adds a ton of functionality to even a really low-powered Chromebook (like this one).&lt;/p&gt;

&lt;p&gt;Personally, this is my go-to option if I need to work locally. The VM starts up quick and doesn't have a tremendous impact on performance. However, it &lt;em&gt;does&lt;/em&gt; eat up a bit of memory, which is at a premium on this machine. So I don't like to leave the VM running when I'm not using it.&lt;/p&gt;

&lt;p&gt;If your machine has more memory, you could likely leave the VM running without concern.&lt;/p&gt;

&lt;h3&gt;
  
  
  Crouton
&lt;/h3&gt;

&lt;p&gt;Within ChromeOS, this is the most extreme option for accessing the traditional Linux world. From the Crouton GitHub page (&lt;a href="https://github.com/dnschneid/crouton):"&gt;https://github.com/dnschneid/crouton):&lt;/a&gt;&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;crouton is a set of scripts that bundle up into an easy-to-use, Chromium OS-centric chroot generator.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;What that means is it allows you to install a "more complete" Linux system &lt;em&gt;alongside&lt;/em&gt; ChromeOS.&lt;/p&gt;

&lt;p&gt;You manage the chroot much like a VM, but using chroot means this is neither a VM nor emulation. With crouton, you don't need to dual-boot and you can switch between ChromeOS and your Linux chroot with a hotkey. You can get into an Xfce environment (among others) while still having quick access to your regular ChromeOS setup. Your chroot doesn't start up with ChromeOS and you can shutdown the chroot to regain computing resources.&lt;/p&gt;

&lt;p&gt;Performance and package availability should be higher than Crostini. Currently, only Debian and Ubuntu are available officially and I'm not sure what all is possible in the chroot environments.&lt;/p&gt;

&lt;p&gt;This is &lt;em&gt;by far&lt;/em&gt; the least secure option as it requires developer mode &lt;em&gt;and&lt;/em&gt; running unofficial scripts as root. While it is a popular and generally-trusted open source project, you are nonetheless handing the "keys to kingdom" over to strangers on the internet. Understand the risks involved, account for your threat model, and proceed with caution.&lt;/p&gt;

&lt;p&gt;Personally, I have Crouton installed on my machine. Mostly as a means to experiment with it and see what possibilities it unlocks. I plan to continue playing around with it, but if I were setting up a new Chromebook, I would probably avoid it. I would only consider it if I &lt;em&gt;really&lt;/em&gt; needed (or wanted) a traditional Linux desktop. In that case, however, I would probably avoid ChromeOS altogether.&lt;/p&gt;

&lt;h3&gt;
  
  
  Bare Metal Linux
&lt;/h3&gt;

&lt;p&gt;This is honestly the option I currently know the least about. When I bought the machine, I had the expectation that I could install Linux directly to the drive. That is, I could find a way to install Linux &lt;em&gt;instead&lt;/em&gt; of ChromeOS.&lt;/p&gt;

&lt;p&gt;Personally, while I still believe it's possible, I don't think I'll use this option. ChromeOS likely utilizes the miniscule hardware better than I could achieve with manual tweaking. If you really want a full-powered standalone Linux machine, then I'd say buy one of those and not a Chromebook.&lt;/p&gt;

&lt;h2&gt;
  
  
  Thoughts on Education
&lt;/h2&gt;

&lt;p&gt;I love small projects that grow into bigger learning paths.&lt;/p&gt;

&lt;p&gt;My original experience with that netbook all those years ago became a watershed moment for me. That sort of spark is something that I hope more people can experience, especially children.&lt;/p&gt;

&lt;p&gt;For better or worse, technology runs more and more of our everyday lives. Projects like Raspberry Pi and the Maker community help teach people about how some of that works. Knowledge is power, after all.&lt;/p&gt;

&lt;p&gt;I now see how Chromebooks can contribute to expanding that, too. Especially with the addition of tools like Crostini, a kid with a Chromebook has access to many of the same tools behind very powerful systems.&lt;/p&gt;

&lt;h2&gt;
  
  
  Final Thoughts
&lt;/h2&gt;

&lt;p&gt;Personally, I'm expecting to learn a lot from this little $100 machine. Honestly, even if I lost it tomorrow, I'd say I already got my money's worth just from what I've learned thus far. At the very least, it opened my eyes to the truly interesting technical capabilities of ChromeOS these days.&lt;/p&gt;

&lt;p&gt;In particular, I see how a Chromebook can continue the legacy of my beloved netbook.&lt;/p&gt;

</description>
      <category>chromebook</category>
      <category>chromeos</category>
      <category>linux</category>
      <category>education</category>
    </item>
    <item>
      <title>Controlling photoanalysisd</title>
      <dc:creator>Guy Bianco IV</dc:creator>
      <pubDate>Tue, 14 Aug 2018 12:01:48 +0000</pubDate>
      <link>https://dev.to/gjbianco/controlling-photoanalysisd-3j2a</link>
      <guid>https://dev.to/gjbianco/controlling-photoanalysisd-3j2a</guid>
      <description>&lt;h2&gt;
  
  
  Background
&lt;/h2&gt;

&lt;p&gt;I recently bought a new MacBook. This article gets better, I promise.&lt;/p&gt;

&lt;p&gt;I decided to set it up fresh instead of restoring from a backup. I like to take the time to try and simplify what I've got on my machine.&lt;/p&gt;

&lt;p&gt;Naturally, I expect most applications to take a little bit to sync down settings, files, etc. All of Apple's stuff in particular has a lot to do and I'm fine with that. However, the one I am not so fine with is Photos.&lt;/p&gt;

&lt;p&gt;Specifically, a process called &lt;code&gt;photoanalysisd&lt;/code&gt;. &lt;/p&gt;

&lt;p&gt;This is a background service that, as the name implies, is responsible for analyzing your photos. For the most part, it seems like it is trying to recognize people. This service is directly tied to the "People" tab in Photos (more on this in a moment).&lt;/p&gt;

&lt;p&gt;The fact that this happens on your machine and &lt;em&gt;each&lt;/em&gt; of your machines is a good thing! There may be some things that get sent off to Apple, but the majority of the work seems to be happening on your hardware.&lt;/p&gt;

&lt;p&gt;What is not so good is the level of control you have around if/when/how this service is controlled. Or, in this case, how it seems to control your machine.&lt;/p&gt;

&lt;p&gt;If you go into the People tab of Photos before it is done analyzing, you will see its progress. Even if you have a fairly beefy machine, this process takes a long time. Weeks kind of long time. The only exception seems to be if you have a photo library barely into or lower than quadruple digits.&lt;/p&gt;

&lt;p&gt;On the surface, this shouldn't be an issue. The sorts of analysis its doing is probably computationally intense. It uses a good amount of resources, but doesn't try to fully harness the machine since it is meant to be a background process that occurs over the course of days.&lt;/p&gt;

&lt;p&gt;The main issue seems to be that you have no control over this process. I never plan to use the People tab, yet my machine still has to painstakingly go through my entire library. I have a medium size photo library (~10k) and after a few hours on the 12" i5 MacBook, it has managed to go through almost 300 of them. Many people complain about their way more powerful iMacs taking weeks to go through libraries of similar size.&lt;/p&gt;

&lt;p&gt;During this process, the machine is still usable, but it doesn't go unnoticed. It does use about 25% of the CPUs constantly. This causes the fanless machine to constantly stay pretty warm and chug on some things. Usually not enough to notice, but seems like it might cause someone to be less than impressed with their &lt;em&gt;brand new&lt;/em&gt; device if they didn't know this was going on.&lt;/p&gt;

&lt;p&gt;On top of that, it is almost impossible for a normal user to learn this is going on. The only mention of "photoanalysisd" is in Activity Monitor. This should not be the only location to learn about something that is using days of CPU time. For a feature I imagine a lot of people either don't want or don't care about having on every device with Photos.&lt;/p&gt;

&lt;p&gt;Yet it gets worse.&lt;/p&gt;

&lt;p&gt;There are seemingly very few ways to actually get it to stop or even pause. Supposedly, it only runs when a) the machine is plugged in and b) Photos isn't running. This means that people that want it to pause so they can get CPU cycles back resort to running off battery unnecessarily or leaving Photos open for no reason. Even leaving Photos &lt;em&gt;minimized&lt;/em&gt; makes it start up again. However, mine still runs even with Photos focused, so I guess it doesn't really matter.&lt;/p&gt;

&lt;p&gt;You can also just let it finish, but this takes quite a long time (well after their 14 day return policy is up). It also seems like it gets stuck for some people, never finishing.&lt;/p&gt;

&lt;p&gt;You can use launchctl to disable and kill the service. However, you have to make sure to disable all the appropriate services, otherwise this is only a temporary reprieve.&lt;/p&gt;

&lt;p&gt;Per user Gordan Aspin (&lt;a href="https://dev.to/gordonaspin):"&gt;https://dev.to/gordonaspin):&lt;/a&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;you do disable it but only in the gui context which is created every time the user logs in and why it keeps be “re-enabled”. Your disable is only for the current GUI login.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You also should be able to (re)move the service file, but that may or may not affect system stability. Not something I really want to try, personally. YMMV.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to actually do it
&lt;/h2&gt;

&lt;p&gt;To do this, you'll need to open up Terminal and run a couple of commands. Any time you're asked to copy and paste commands into your terminal, it's a good idea to at least have at least a basic understanding of what the commands are actually doing to your system.&lt;/p&gt;

&lt;p&gt;The following commands are really 4 command. The &lt;code&gt;&amp;amp;&amp;amp;&lt;/code&gt; basically means "run the first one (on the left) and if that's successful, run the second one (on the right). &lt;code&gt;launchctl&lt;/code&gt; is the command that is used to control system services in macOS.&lt;/p&gt;

&lt;p&gt;First, you'll disable and kill the GUI instance:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;launchctl disable gui/$UID/com.apple.photoanalysisd &amp;amp;&amp;amp; launchctl kill -TERM gui/$UID/com.apple.photoanalysisd&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;As well as the actual service:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;launchctl disable user/$UID/com.apple.photoanalysisd &amp;amp;&amp;amp; launchctl kill -TERM user/$UID/com.apple.photoanalysisd&lt;/code&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Closing Thoughts
&lt;/h2&gt;

&lt;p&gt;First off, if anybody from the Photos team somehow ends up reading this, I'm begging you to give us an off switch for the People tab. I don't use it, I don't plan to use it, and it is a huge waste of resources.&lt;/p&gt;

</description>
      <category>mac</category>
      <category>macos</category>
      <category>photoanalysisd</category>
      <category>photos</category>
    </item>
  </channel>
</rss>
