• absentbird@lemmy.world
      link
      fedilink
      arrow-up
      29
      ·
      3 months ago

      ISO 8601 is YYYYMMDD (or YYYY-MM-DD in extended format)

      Are you really going to wood chipper someone for leaving off the leading 20? I think we can safely infer the century and millennium with a high confidence, why not trade them for two extra name characters?

        • absentbird@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          3 months ago

          Here you go gramps:

          (shortD) => {
              return parseInt(shortD.slice(0, 2), 10) > 50 ? "19" + shortD : "20"+shortD;
          }
          
          • 5C5C5C@programming.dev
            link
            fedilink
            arrow-up
            12
            ·
            edit-2
            3 months ago

            Did the software industry learn nothing from Y2K? Was it too long ago already for people to remember the mess we made for ourselves?

            Saving two characters in a file name is not worth the hell you are leaving in your trail by shoving this nonsense in an obscure corner of production code that people are going to forget about until it’s too late.

            • Clent@lemmy.dbzer0.com
              link
              fedilink
              English
              arrow-up
              3
              ·
              3 months ago

              Their grandchildren will be pissing on their graves over it.

              I often wonder what files may outlive me.

              People have kept old physical remnants. There are obviously famous examples but there are far more mediocre examples.

              All the unique content I’ve created fits on a modestly sized hard drive so keeping it around would be trivial compared to maintaining all those physical remnants.

              • seralth@lemmy.world
                link
                fedilink
                English
                arrow-up
                3
                ·
                3 months ago

                And you assume that changes to filesystems, new filesystems being created or other such things won’t at some point create a edge case that creates a problem?

                When you could just be safe? Sounds stupid as fuck to me to blindly trust nothing will happen to create problems.

                • absentbird@lemmy.world
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  3 months ago

                  I understand you feel very strongly about four digit years, but I really don’t see any situation that I couldn’t sort out with a simple script.

                  Usually I don’t put dates in file names in the first place, but when I do I use the UTC timestamp; a date without a timezone is inherently fuzzy, and it’s easier to compare and differentiate numerical times.

                  If someone used two digit years in their naming convention I wouldn’t even blink, let alone get the woodchipper, life is too short to get angry over stuff like that.

        • BeeegScaaawyCripple@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 months ago

          are we just talking digital because i’ve inherited archives. my current one only goes back to the 1950s but in the next decades i expect to get some going back centuries.

      • 5C5C5C@programming.dev
        link
        fedilink
        arrow-up
        11
        ·
        3 months ago

        I recently had an accountant file something for the IRS that was dated as expiring in 1940 when it should’ve been 2040. I had to catch it myself after reading through 70 pages of dense forms before it was sent off, and I could’ve easily missed it.

        Digital records have existed long enough now that it’s downright irresponsible to leave off the century for anything where having an accurate date might even slightly matter.

        • absentbird@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          3 months ago

          The exact date of creation is usually preserved in the filesystem, we’re just talking about what to name the documents themselves. The filename should be short and to the point, it gets truncated if it’s too long, and on windows you only have 260 characters for the entire path to the file plus the name.

          • 5C5C5C@programming.dev
            link
            fedilink
            arrow-up
            7
            ·
            3 months ago

            If two characters are hurting your 260 character limit then you have other more serious problems to contend with.

      • PokerChips@programming.dev
        link
        fedilink
        arrow-up
        4
        ·
        3 months ago

        I use to do that but got tired of typing out unnecessary characters and appreciate the shorter character length. I think my folders and files will be long gone by Y2Point1K.

      • ulterno@programming.devBanned
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        3 months ago

        So, was the time of murder 20th of October 2021 - 1:25 PM or 21st of October 2020 - 1:25 AM?

        Depending upon that, you may/may-not have an alibi.

        • absentbird@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          3 months ago

          We’re just talking about the filename, the exact creation time is tracked by the OS. Plus I’d imagine most documents also have a time and date inside. The file name is mostly for sorting and human readability.

          • ulterno@programming.devBanned
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 months ago

            Oh, it was just filenames, not everything-everywhere?
            Then I guess it’s fine.

            What’s this date btw?
            10/8/10

        • ulterno@programming.devBanned
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months ago

          hehe yeah

          Your full file extension ends up being: MM.DD-text
          but hopefully noone needs to parse it that way.

          I tend to use YYYY-MM-DD_hh:mm:ss.zzz or YYYY-MM-DD_hh-mm-ss.zzz depending upon the requirement and just recently realised the problem with the . before the zzz.
          Luckily I don’t need to add the zzz quite often.

    • mrgoosmoos@lemmy.ca
      link
      fedilink
      English
      arrow-up
      3
      ·
      3 months ago

      I make a point to train people on this at work, and I also make a point to periodically delete all relevant files that are not dated or not dated correctly

      oh no you lost some important files? should’ve followed the standards

      we only have so much space and your 1.2 GB undated file that isn’t even in the folder it should be in is getting deleted

      • BeeegScaaawyCripple@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        edit-2
        3 months ago

        one place i was at had ridiculous formatting standards. but like i loved that i could tell everything in a document by reading its title. just, when your pdf scan of your supporting documents for your tax return is 135 pages long, well the title took ten minutes to read

        it was like 2010 tax return supporting documents + w2 - john doe - abc corp + w2 - john doe - def corp + 1099INT - john doe - BankBank +…pdf

        and one of my jobs was to double check that the title accurately represented all 135 documents in that godsforsaken supporting documents scan. That was a rough year.

        Other firm i worked at that year, because i was stupid and moonlit at TWO tax firms one tax season, just called the file SUPPORTING DOCS.pdf . Typed everything in all caps because we thought the IRS was blind. Also allowed us to stream music online and not have to play it on headphones with our doors shut in our offices. They were better.

    • The Ramen Dutchman@ttrpg.network
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I assumed they meant it like 2025-08-18

      Though TBF I sometimes rename files using the terminal and go mv $file "some_name_$(date +%s),ext"

    • dan@upvote.au
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      3 months ago

      Especially younger people. They’re used to files just… being there on their phone. Photo albums? Nah, just scroll though every photo you’ve ever taken to find the right one.

      That, and having powerful search functionality + tagging has made perfect folder structures less of a requirement. I’ve never had trouble finding documents in paperless-ngx just by searching, for example.

      • The Ramen Dutchman@ttrpg.network
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 months ago

        Photo albums? Nah, just scroll though every photo you’ve ever taken to find the right one.

        Then screenshot it so that the screenshot of the photo is at the top, then switch to the other app and upload the screenshot of the photo there.

    • Sundray@lemmus.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      3 months ago

      What is this “desktop” of which you speak?

      Is that what’s under all these files?

    • unphazed@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      3 months ago

      My actual desk and office - messy. My desktop - folder, folder, 4 shortcuts. My phone -groups of apps ordered by function - Pebble, Office, Entertainment, etc. My garage - absolute hoarder nightmare from hell cause I just can’t seem to get to it. Why I can be ordered in one area and not in another is beyond me.

  • Shady_Shiroe@lemmy.world
    link
    fedilink
    arrow-up
    16
    ·
    3 months ago

    Man, I hate my moms pc folder layout, like why do you have Documents folder inside of documents folder inside of Documents folder? Why do you create excel sheets inside Downloads folder when you didn’t download them???

  • weariedfae@sh.itjust.works
    link
    fedilink
    arrow-up
    15
    ·
    3 months ago

    Ok. Calling me out like that. It’s fine, I deserve it.

    I store everything “temporarily” because “I’ll sort it later” on the Desktop.

    It’s never later.

  • lessthanluigi@lemmy.sdf.org
    link
    fedilink
    arrow-up
    9
    ·
    edit-2
    3 months ago

    > says SSD
    > shows a symbol of an HDD

    > MFW most people don’t care because they understand the nuance of communication except for me

  • sk1nnym1ke@piefed.social
    link
    fedilink
    English
    arrow-up
    9
    ·
    3 months ago
    • New_document.docx
    • New_document_1.docx
    • New_document_111.docx
    • New_document_12.docx
    • New_document_12aaa.dox
    • New_document_12aaafinal.docx
      • EvilCartyen@feddit.dk
        link
        fedilink
        arrow-up
        8
        ·
        3 months ago

        You can literally just upload a library of documents to github or another repo service like codeberg. That’s basically what a code project is, a bunch of files.

        • luciferofastora@feddit.org
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          The main difference being that code is typically stored in plain text files, where you can more easily compare and merge differences, while some other document types are harder to diff usefully. That doesn’t mean you can’t use git to keep their version history, it just means resolving merge conflicts might be a bitch.

  • NJSpradlin@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    3 months ago

    I find myself having too many nested folders, and I’m just a normie. I wonder how deep they go for you tech people.

    At some points, Windows won’t let me change the file name because it was too long and I’m assuming the file path to it plus the ridiculously long name (“person last name, first name - type of document (purpose) yyyymmdd”) just breaks Windows.

    Sometimes I have to copy those files to my desktop just to rename the new file, so that I can upload the file to an online system that only lets me upload files with names under 42 characters long. It’s wild.

    • bitjunkie@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      3 months ago

      This was one of the reasons I quit trying to develop on Windows way back when. I had a very well organized system of subfolders for all my code, and it was literally running into some kind of path length limit trying to import deeply nested dependencies in certain projects. This was WELL into the era of 64-bit computing, absolutely no excuse other than Microsoft taking shortcuts.

      • ScintillatingStruthio@programming.dev
        link
        fedilink
        English
        arrow-up
        4
        ·
        3 months ago

        I still run into this issue when one of my company’s clients requires developing on Windows. Doesn’t take many subfolders before node_modules just starts breaking.

        There are lots of reasons I hate developing on windows and that’s certainly one of them.

    • Lightfire228@pawb.social
      link
      fedilink
      arrow-up
      2
      ·
      edit-2
      3 months ago

      In my obsidian notes folder, i have

      • 01 - Inbox
      • 02 - Breadbox
      • 03 - Data

      .

      • Inbox is for newly created notes
      • Breadbox is for notes that i need to reference or otherwise want quick access to
      • Data is for everything else

      For file navigation, i use links and references within the notes themselves, which creates a network of linked files that is far far easier to navigate than folders


      Everything else is sorta all over the place, but in general

      • ~/Documents
        • dumping ground for important documents, folders are arbitrarily made as I go
      • ~/Downloads
        • dumping grounds for downloaded things, generally important files are moved elsewhere
      • ~/Code is where i put all of my personal projects and other junk related to programming

      ~/ is the user home directory

      • C:\Users\Name for windows
      • /home/name for linux

      For pictures, i use a self hosted Immich instance

    • notarobot@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      3 months ago

      In my projects folder I have an “all” folder where I store all my projects. But back at the projects folder there are others like “by-client”, " by-language", and “by-date”. When I make a new project I create it inside the all folder, and then place shortcuts inside the corresponding folders.

      • NJSpradlin@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        3 months ago

        I do something like:

        From Documents > ‘routine documents’ > FY > Month > Section (personnel, operations, or logistics) > and whatever task from there for my main day-to-day stuff

        But, for operations outside of the monthly sort, like managing personnel training, it gets really weird;

        From Documents > Training > FY > department > categories of training > subcategory > individual person’s folder for the course > application folders with dates (the last folder here is when the one that got approved and they’re going to the school on).

        This one is where I end up with file names I can’t rename.

    • Appoxo@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      Too deep.
      I am having a peoblem bwcause sometimes I broke my own rules or sorted every itme in it’s own folder.

    • ma1w4re@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      My paths are pretty short ngl /home/user/devel/projects/android/testproject/ Probably is the longest one. Or maybe even /home/user/devel/lessons/dotnet-aspnet/exam/AspnetExam/xxxroot/libs/bootstrap-icons/ But that one is temporary, I’ll archive it once it’s done