‹ BackHN Continuity

Thread

Make Tmux the OS

222 points · 131 comments · weaksauce

  1. gizajob · · focus · HN ↗
    > The concept of "filesystem" is an increasingly weak concept.

    Yeah because Apple has broken that idea over and over and over. The anti-unix unix.

    1. someonebaggy · · focus · HN ↗
      It's nothing to do with evil old Apple and everything to do with phones being hard to type on, and search becoming better.
      1. gizajob · · focus · HN ↗
        iPhoto. iTunes. iCloud. iMovie. Notes.

        None use the file system in anything like the way their unix underpinning would have files be understood or organised for users. Hard to even know where your files are without asking the app to deal with them one by one. Predated phones and even Spotlight doesn’t do a good job of showing/knowing where your files are.

        1. someonebaggy · · focus · HN ↗
          And why should they? I don't know where my browser cache is either. Or my rows in my sqlite database. Or the system clock configuration. Actually I do know: They're stored on the hard drive.

          Files aren't physical.

          1. dankobgd · · focus · HN ↗
            i know where mine is, so i can clear it myself if i care.
          2. gizajob · · focus · HN ↗
            Diff two iPhoto libraries to check if they contain the duplicate photos
            1. someonebaggy · · focus · HN ↗
              On the phone itself?
              1. gizajob · · focus · HN ↗
                On the filesystem-enabled device called Mac commonly used for semi-pro operations like file management and backup.
            2. rovr138 · · focus · HN ↗
              Create a new library,

              import the images from both libraries (<a href="https:&#x2F;&#x2F;support.apple.com&#x2F;en-us&#x2F;119920" rel="nofollow">https:&#x2F;&#x2F;support.apple.com&#x2F;en-us&#x2F;119920)

              View &gt; Utilities &gt; Duplicates

              or use jdupes or czkawka on both directories.

              1. gizajob · · focus · HN ↗
                Great tip, but also: exactly.
          3. skydhash · · focus · HN ↗
            &gt; And why should they? I don&#x27;t know where my browser cache is either.

            This makes it a pain where you want to have a custom configuration. Like moving the cache to a ramdisk. My NVME disk is plenty fast, but rarely I want my browser cache to persist across a reboot. It&#x27;s a pain to move the cache to &#x2F;tmp&#x2F;firefox-cache as an example (&#x2F;tmp is a ramdisk on my laptop). Also a pain to backup profiles.

          4. bigstrat2003 · · focus · HN ↗
            So which is it? Is Apple not responsible for ditching the filesystem, or is it a good thing that Apple has ditched the filesystem? You can&#x27;t have it both ways.
          5. creativeSlumber · · focus · HN ↗
            Your browser cache is a cache. You don&#x27;t care if it goes away. On the other hand, your pictures you do care. That&#x27;s the only copy.
          6. bguebert · · focus · HN ↗
            It&#x27;s important to know so they can own their own photos and not like feel like they can&#x27;t cancel a cloud hosting service that keeps increasing the cost because they will lose them all.
      2. goalieca · · focus · HN ↗
        I remember it like this. Windows XP and earlier was a horrible era for stability and security and the world was overall less connected. Phones were always on and always connected. The iPhone was honestly the first stable internet device, that didn&#x27;t sleep or pause, and the first internet device many people had that wasn&#x27;t infected by viruses.
        1. dpark · · focus · HN ↗
          &gt; Windows XP and earlier was a horrible era for stability and security

          Huh? Windows XP was the first NT-based release for home users. It was a milestone in stability.

          1. sporadicism · · focus · HN ↗
            XP was godawful for years security- and stability-wise until the release of SP2.
            1. bigstrat2003 · · focus · HN ↗
              Security maybe, but not stability. XP SP1 was rock solid, and even RTM was nowhere close to &quot;godawful&quot;.
            2. dpark · · focus · HN ↗
              No it wasn’t. XP was quite solid in terms of stability, miles beyond its predecessors. You have to remember that its mediate predecessor was Windows ME.

              It was also far more secure, but it was still not nearly secure enough.

              &gt; ”Upon its release, Windows XP received critical acclaim, noting increased performance and stability (especially compared to Windows Me)…”

              <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windows_XP" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windows_XP

              1. sporadicism · · focus · HN ↗
                It definitely was.

                &gt; It was also far more secure, but it was still not nearly secure enough.

                That&#x27;s one way to say &quot;plagued by a decade of botnets.&quot;

                &gt; <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windows_XP" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Windows_XP

                Now google XP blue screen of death. Still alive and well then.

                If the bar is Microsoft&#x27;s most loathed release, then I guess you could call it stable and secure.

                1. dpark · · focus · HN ↗
                  &gt; It definitely was.

                  Weird that contemporary articles praised its stability then.

                  &gt; That&#x27;s one way to say &quot;plagued by a decade of botnets.&quot;

                  No, it’s a way of saying that it introduced real identity-based security isolation to the OS. Prior to this every user had full access to the entire system incisions everyone else’s data who shared the system.

                  Unfortunately Windows XP was not hardened to the reality of the internet. (Nor were any of its predecessors.)

                2. anthk · · focus · HN ↗
                  Compared to W98SE, the actual OS for home users (almost no one used ME), Windows XP was a godsend.
          2. kergonath · · focus · HN ↗
            It was more stable after the SP2, but initially it was undermined by buggy drivers and rampant malware, NT kernel or not. True, it was better than ME…

            What most people remember of XP now is what it became after a couple of years of fixes and improvements, and the contrast with Vista.

            1. dpark · · focus · HN ↗
              It was hailed for its improvements in stability from the time it was released. My recollection was that it was a massive improvement over 98&#x2F;ME lineage. It was mostly a wash vs Windows 2000.

              Yes, it became more stable with the service packs, but it was a significantly more stable OS out of the gates than anything consumer users had been getting.

              Rampant malware was a separate (and very significant) issue.

              1. tehologist · · focus · HN ↗
                I was a windows 2k user during that time because win xp was horribly unstable till sp3. It was rock solid after that, finally as good as windows 2k. Though I never liked the Fisher price color scheme.
              2. kergonath · · focus · HN ↗
                &gt; My recollection was that it was a massive improvement over 98&#x2F;ME lineage.

                That much is true.

                &gt; It was mostly a wash vs Windows 2000.

                No, not really. They did some empirical testing at the university I went to and the conclusion was that they kept the Windows boxes on 2k almost until Vista.

                1. dpark · · focus · HN ↗
                  My university switched pretty quickly. But I do not know how empirical that decision was. Anecdotally all of my friends made the switch from 2k and were fine with XP. But again, anecdote. Your university apparently found that 2k was meaningfully more stable for them.
          3. orbital-decay · · focus · HN ↗
            Sure, but there were also multiple points in time (even after SP2) when you had to unplug the network to install it, because in a couple minutes of being online or in a large LAN it would get infected during the setup and shutdown. You also needed all updates and a third-party firewall on a CD. Win+R shutdown &#x2F;a is still in my fingertips after all these years.
        2. creativeSlumber · · focus · HN ↗
          There were plenty of internet connected phones before the iphone. Nokia, Samsung all had phones with full internet access and browsers and other apps. I think there was even a Java mobile app standard called J2ME.
      3. jrm4 · · focus · HN ↗
        It is everything to do with Apple. Everything.

        It started with the Ipod and the weird mp3 system, to the Ipad not shipping with a real file manager and is all so very obviously deliberate.

    2. somat · · focus · HN ↗
      It is the age old conflict, what is better a verb focused or noun focused world.

      Is the core the database(the filesystem) and the apps roam around in it, or is the core the apps each with their own database.

      I grew up with noun focused operating systems, which is probably why I prefer them. Here are your things and you can use various actions on them(some valid some not). And as such find the verb focused ones unpleasant to use. Here are your actions each includes it&#x27;s things. But where are my things? It does not matter, each action knows where it&#x27;s correct things are. But I want my things, I know they are in there somewhere. (fights the phone for a while)

      1. glitchc · · focus · HN ↗
        &gt; Is the core the database(the filesystem) and the apps roam around in it, or is the core the apps each with their own database.

        The first option is evidently better for the user. The filesystem is a neutral entity with a well-defined interface, whereas each app is on its own journey. For a period of time that journey may align with the user&#x27;s workflow, and both are happy. But there inevitably comes a time where the app and the user diverge, and for the user, it is imperative that they be able to switch to another app without losing access to their data.

        To a user, the data matters most, and the filesystem, because of its neutrality, is the best model for access.

        1. throwaway290 · · focus · HN ↗
          But that leads to a thing where an app has a file format that contains a bunch of its data, and it acts like a mini-database anyway, except now the user needs to remember where it is located. Then if there&#x27;s data that links between multiple files and doesn&#x27;t belong to a particular one, it is blurred again.
          1. glitchc · · focus · HN ↗
            Yup it&#x27;s not perfect, but in the filesystem model, the file continues to exist until an alternative solution emerges. In the app model, the file (and associated data) may be locked away forever.
          2. andrewflnr · · focus · HN ↗
            These are all relatively trivial problems, or (in the last case) essential risks of increased power.
        2. nonethewiser · · focus · HN ↗
          Can you imagine if the iphone booted into a filesystem?
          1. Wowfunhappy · · focus · HN ↗
            Yes, you would have apps, folders, and files together on your homescreen. As it already does, except today the homescreen can only contain apps.
      2. rubslopes · · focus · HN ↗
        &gt; It is the age old conflict, what is better a verb focused or noun focused world.

        Reading your comment earlier, while trying to make dinner now, made me realize that the reason I hate the layout of my house might be the same reason I never got into Vim...

        To get to the kitchen, I have to walk through the dining room, where all the plates, bowls, glasses are. But I can’t grab what I need yet, because I haven’t seen the food. I first need to get to the kitchen, look at what’s there, and decide what I’m going to make... Only then do I know which tools I need.

        My house verb first, but my brain works noun first.

    3. analog31 · · focus · HN ↗
      First came proprietary file formats, and they were evil. Now, un-find-able files in proprietary formats.
    4. WhyNotHugo · · focus · HN ↗
      Actually, macOS isn&#x27;t Unix. It&#x27;s in the name of its kernel: XNU: X is Not Unix. Don&#x27;t let the fact that it&#x27;s a certified Unix confuse you.
      1. [deleted] · · focus · HN ↗

        [deleted]

    5. MithrilTuxedo · · focus · HN ↗
      Windows shows my Desktop folder in four distinct locations in the native file manager. Some representations of my home folder have more files and folders in them than others.

      I use Bash via Git4Windows as much as possible, but even there... `cd ~&#x2F;git; cd ..&#x2F;Downloads; cd ..&#x2F;git` doesn&#x27;t work because `..` from `~&#x2F;Downloads&#x2F;` is `~&#x2F;One Drive&#x2F;`.

      It&#x27;s... non-Euclidiean.

      1. snnshsudj · · focus · HN ↗

        [dead]

      2. michaelsbradley · · focus · HN ↗
        Install MSYS2, and use its Bash, for a better overall experience.
      3. dd8601fn · · focus · HN ↗
        I still don’t really understand exactly how that bullshit supposedly works, and it makes me want to throw my shitty Windows work laptop.

        It reaffirms the distance I’ve put between myself and that tinker toy OS over the last decade, every day.

        1. psd1 · · focus · HN ↗
          It&#x27;s approximately equivalent to a fuse driver at a mountpoint. It remaps to a hidden cache for something approximately equivalent to webdav.

          You should not throw your laptop because of the specifics of how the onedrive integration works. You should throw it because the onedrive integration is invasive and obnoxious.

    6. peder · · focus · HN ↗
      No, that was just Apple and others realizing that (1) the file system needed some type of wrapper for security purposes, and (2) the move to the cloud didn&#x27;t work very well with local file systems (they still don&#x27;t... most of my data in the cloud isn&#x27;t a &quot;file&quot;).
Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.