▲ 817 ▼ this is the start of everything falling apart, i can feel it (thelemmy.club) submitted 4 days ago by QuantumEraser@fedia.io to c/programmer_humor@programming.dev 285 comments fedilink hide all child comments
[–] epyon22@sh.itjust.works 15 points 3 days ago (17 children) Because one lives the other should not long live Y-M-D permalink fedilink source parent hideshow 17 child comments replies: [–] glimse@lemmy.world 17 points 3 days ago* (last edited 3 days ago) (8 children) NO. You need a character per digit and you always want the leading 0 shown. YYYY-MM-DD permalink fedilink source parent hideshow 8 child comments replies: [–] BigPotato@lemmy.world 2 points 3 days ago (7 children) At least it makes my folders really easy to sort through... permalink fedilink source parent hideshow 7 child comments replies: [–] glimse@lemmy.world 8 points 3 days ago (6 children) Only if you leave the leading zeros! permalink fedilink source parent hideshow 6 child comments replies: [–] arty@feddit.org 2 points 3 days ago (5 children) …or your file manager is smart enough to do numeric sorting permalink fedilink source parent hideshow 5 child comments replies: [–] pupbiru@aussie.zone 5 points 3 days ago (2 children) you should never make the assumption that software you use is smart, or even not complete garbage …and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first permalink fedilink source parent hideshow 2 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent [–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent [–] glimse@lemmy.world 2 points 3 days ago (1 child) ...And you assume you will only ever look at those files with that file manager forever... There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc) permalink fedilink source parent hideshow 1 child comment replies: [–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent [–] abbadon420@sh.itjust.works 16 points 3 days ago (1 child) ISO 8601 is the only correct way. permalink fedilink source parent hideshow 1 child comment replies: [–] palordrolap@fedia.io 3 points 3 days ago It's close, sure, but actually no. That standard currently requires the letter T (and no white-space) between date and time when both are present, and, frankly, that's ugly and a space should be allowed. An old version of the standard allowed the space, and GNU's coreutils seem to have carried on the tradition, so I'm not alone in thinking this. permalink fedilink source parent [–] blackshirt@lemmy.world 1 point 3 days ago (5 children) OP's graph uses slashes. Dashes would remove all the confusion. permalink fedilink source parent hideshow 5 child comments replies: [–] zqps@sh.itjust.works 6 points 3 days ago* (4 children) No because it's the global format that typically uses periods. D.M.Y (normal) Y-M-D (superior) M/D/Y (mental illness) Mixing up the formats and denominators makes this mess even worse. permalink fedilink source parent hideshow 4 child comments replies: [–] pupbiru@aussie.zone 2 points 3 days ago (3 children) you should also always specify YYYY-MM-DD because often M and D ignores leading zeros, YY means the 2 digit suffix, and Y… well, i don’t even know what that is but i’m sure it’s something less specific than YYYY if we’re going to be picky about being clear about things, let’s be truly clear about things permalink fedilink source parent hideshow 3 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago (1 child) YYYYY would be something like "The Year of Our Lord, Two-Thousand and Twenty-Six" (or probably just "Twenty Twenty-Six", but the other is more ridiculous so I'll go with that) Y would just be "6" but I can't think of any context where that would ever be used permalink fedilink source parent hideshow 1 child comment replies: [–] pupbiru@aussie.zone 2 points 3 days ago i reckon Y might be something like years since 1970 or some other epoch (we do things like week number of the year, day number of the year, etc so i think that’s kinda similar) permalink fedilink source parent [–] zqps@sh.itjust.works 2 points 3 days ago Yep, I do it in every format. Just kept it short for readability. permalink fedilink source parent
[–] glimse@lemmy.world 17 points 3 days ago* (last edited 3 days ago) (8 children) NO. You need a character per digit and you always want the leading 0 shown. YYYY-MM-DD permalink fedilink source parent hideshow 8 child comments replies: [–] BigPotato@lemmy.world 2 points 3 days ago (7 children) At least it makes my folders really easy to sort through... permalink fedilink source parent hideshow 7 child comments replies: [–] glimse@lemmy.world 8 points 3 days ago (6 children) Only if you leave the leading zeros! permalink fedilink source parent hideshow 6 child comments replies: [–] arty@feddit.org 2 points 3 days ago (5 children) …or your file manager is smart enough to do numeric sorting permalink fedilink source parent hideshow 5 child comments replies: [–] pupbiru@aussie.zone 5 points 3 days ago (2 children) you should never make the assumption that software you use is smart, or even not complete garbage …and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first permalink fedilink source parent hideshow 2 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent [–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent [–] glimse@lemmy.world 2 points 3 days ago (1 child) ...And you assume you will only ever look at those files with that file manager forever... There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc) permalink fedilink source parent hideshow 1 child comment replies: [–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent
[–] BigPotato@lemmy.world 2 points 3 days ago (7 children) At least it makes my folders really easy to sort through... permalink fedilink source parent hideshow 7 child comments replies: [–] glimse@lemmy.world 8 points 3 days ago (6 children) Only if you leave the leading zeros! permalink fedilink source parent hideshow 6 child comments replies: [–] arty@feddit.org 2 points 3 days ago (5 children) …or your file manager is smart enough to do numeric sorting permalink fedilink source parent hideshow 5 child comments replies: [–] pupbiru@aussie.zone 5 points 3 days ago (2 children) you should never make the assumption that software you use is smart, or even not complete garbage …and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first permalink fedilink source parent hideshow 2 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent [–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent [–] glimse@lemmy.world 2 points 3 days ago (1 child) ...And you assume you will only ever look at those files with that file manager forever... There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc) permalink fedilink source parent hideshow 1 child comment replies: [–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent
[–] glimse@lemmy.world 8 points 3 days ago (6 children) Only if you leave the leading zeros! permalink fedilink source parent hideshow 6 child comments replies: [–] arty@feddit.org 2 points 3 days ago (5 children) …or your file manager is smart enough to do numeric sorting permalink fedilink source parent hideshow 5 child comments replies: [–] pupbiru@aussie.zone 5 points 3 days ago (2 children) you should never make the assumption that software you use is smart, or even not complete garbage …and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first permalink fedilink source parent hideshow 2 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent [–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent [–] glimse@lemmy.world 2 points 3 days ago (1 child) ...And you assume you will only ever look at those files with that file manager forever... There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc) permalink fedilink source parent hideshow 1 child comment replies: [–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent
[–] arty@feddit.org 2 points 3 days ago (5 children) …or your file manager is smart enough to do numeric sorting permalink fedilink source parent hideshow 5 child comments replies: [–] pupbiru@aussie.zone 5 points 3 days ago (2 children) you should never make the assumption that software you use is smart, or even not complete garbage …and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first permalink fedilink source parent hideshow 2 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent [–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent [–] glimse@lemmy.world 2 points 3 days ago (1 child) ...And you assume you will only ever look at those files with that file manager forever... There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc) permalink fedilink source parent hideshow 1 child comment replies: [–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent
[–] pupbiru@aussie.zone 5 points 3 days ago (2 children) you should never make the assumption that software you use is smart, or even not complete garbage …and file managers aren’t the only things that display lists of files. low-level tooling should not be “smart” beyond the most basic sorting without specifically being told first permalink fedilink source parent hideshow 2 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent [–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent
[–] laurelraven@lemmy.zip 2 points 3 days ago Then there's the problem with "smart" sorting like Windows Explorer does: in a folder with hex based naming, such as the gpo policy folders for an AD domain, it blends alphabetic and numeric in weird ways where it treats number strings as whole numbers in the middle, where a123e would show up after a19bc, as an example, even though it should sort first (Sorry, tangent) permalink fedilink source parent
[–] arty@feddit.org 1 point 3 days ago I only objected to the use of “only” in the comment above. I’d like to object to "never" as well. permalink fedilink source parent
[–] glimse@lemmy.world 2 points 3 days ago (1 child) ...And you assume you will only ever look at those files with that file manager forever... There is no downside to writing the leading zeroes pretty much anywhere except when aesthetics matter (event flyers, etc) permalink fedilink source parent hideshow 1 child comment replies: [–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent
[–] arty@feddit.org 2 points 3 days ago I am a big fan of ISO8601, and I only objected to your use of "only" in the comment above. permalink fedilink source parent
[–] abbadon420@sh.itjust.works 16 points 3 days ago (1 child) ISO 8601 is the only correct way. permalink fedilink source parent hideshow 1 child comment replies: [–] palordrolap@fedia.io 3 points 3 days ago It's close, sure, but actually no. That standard currently requires the letter T (and no white-space) between date and time when both are present, and, frankly, that's ugly and a space should be allowed. An old version of the standard allowed the space, and GNU's coreutils seem to have carried on the tradition, so I'm not alone in thinking this. permalink fedilink source parent
[–] palordrolap@fedia.io 3 points 3 days ago It's close, sure, but actually no. That standard currently requires the letter T (and no white-space) between date and time when both are present, and, frankly, that's ugly and a space should be allowed. An old version of the standard allowed the space, and GNU's coreutils seem to have carried on the tradition, so I'm not alone in thinking this. permalink fedilink source parent
[–] blackshirt@lemmy.world 1 point 3 days ago (5 children) OP's graph uses slashes. Dashes would remove all the confusion. permalink fedilink source parent hideshow 5 child comments replies: [–] zqps@sh.itjust.works 6 points 3 days ago* (4 children) No because it's the global format that typically uses periods. D.M.Y (normal) Y-M-D (superior) M/D/Y (mental illness) Mixing up the formats and denominators makes this mess even worse. permalink fedilink source parent hideshow 4 child comments replies: [–] pupbiru@aussie.zone 2 points 3 days ago (3 children) you should also always specify YYYY-MM-DD because often M and D ignores leading zeros, YY means the 2 digit suffix, and Y… well, i don’t even know what that is but i’m sure it’s something less specific than YYYY if we’re going to be picky about being clear about things, let’s be truly clear about things permalink fedilink source parent hideshow 3 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago (1 child) YYYYY would be something like "The Year of Our Lord, Two-Thousand and Twenty-Six" (or probably just "Twenty Twenty-Six", but the other is more ridiculous so I'll go with that) Y would just be "6" but I can't think of any context where that would ever be used permalink fedilink source parent hideshow 1 child comment replies: [–] pupbiru@aussie.zone 2 points 3 days ago i reckon Y might be something like years since 1970 or some other epoch (we do things like week number of the year, day number of the year, etc so i think that’s kinda similar) permalink fedilink source parent [–] zqps@sh.itjust.works 2 points 3 days ago Yep, I do it in every format. Just kept it short for readability. permalink fedilink source parent
[–] zqps@sh.itjust.works 6 points 3 days ago* (4 children) No because it's the global format that typically uses periods. D.M.Y (normal) Y-M-D (superior) M/D/Y (mental illness) Mixing up the formats and denominators makes this mess even worse. permalink fedilink source parent hideshow 4 child comments replies: [–] pupbiru@aussie.zone 2 points 3 days ago (3 children) you should also always specify YYYY-MM-DD because often M and D ignores leading zeros, YY means the 2 digit suffix, and Y… well, i don’t even know what that is but i’m sure it’s something less specific than YYYY if we’re going to be picky about being clear about things, let’s be truly clear about things permalink fedilink source parent hideshow 3 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago (1 child) YYYYY would be something like "The Year of Our Lord, Two-Thousand and Twenty-Six" (or probably just "Twenty Twenty-Six", but the other is more ridiculous so I'll go with that) Y would just be "6" but I can't think of any context where that would ever be used permalink fedilink source parent hideshow 1 child comment replies: [–] pupbiru@aussie.zone 2 points 3 days ago i reckon Y might be something like years since 1970 or some other epoch (we do things like week number of the year, day number of the year, etc so i think that’s kinda similar) permalink fedilink source parent [–] zqps@sh.itjust.works 2 points 3 days ago Yep, I do it in every format. Just kept it short for readability. permalink fedilink source parent
[–] pupbiru@aussie.zone 2 points 3 days ago (3 children) you should also always specify YYYY-MM-DD because often M and D ignores leading zeros, YY means the 2 digit suffix, and Y… well, i don’t even know what that is but i’m sure it’s something less specific than YYYY if we’re going to be picky about being clear about things, let’s be truly clear about things permalink fedilink source parent hideshow 3 child comments replies: [–] laurelraven@lemmy.zip 2 points 3 days ago (1 child) YYYYY would be something like "The Year of Our Lord, Two-Thousand and Twenty-Six" (or probably just "Twenty Twenty-Six", but the other is more ridiculous so I'll go with that) Y would just be "6" but I can't think of any context where that would ever be used permalink fedilink source parent hideshow 1 child comment replies: [–] pupbiru@aussie.zone 2 points 3 days ago i reckon Y might be something like years since 1970 or some other epoch (we do things like week number of the year, day number of the year, etc so i think that’s kinda similar) permalink fedilink source parent [–] zqps@sh.itjust.works 2 points 3 days ago Yep, I do it in every format. Just kept it short for readability. permalink fedilink source parent
[–] laurelraven@lemmy.zip 2 points 3 days ago (1 child) YYYYY would be something like "The Year of Our Lord, Two-Thousand and Twenty-Six" (or probably just "Twenty Twenty-Six", but the other is more ridiculous so I'll go with that) Y would just be "6" but I can't think of any context where that would ever be used permalink fedilink source parent hideshow 1 child comment replies: [–] pupbiru@aussie.zone 2 points 3 days ago i reckon Y might be something like years since 1970 or some other epoch (we do things like week number of the year, day number of the year, etc so i think that’s kinda similar) permalink fedilink source parent
[–] pupbiru@aussie.zone 2 points 3 days ago i reckon Y might be something like years since 1970 or some other epoch (we do things like week number of the year, day number of the year, etc so i think that’s kinda similar) permalink fedilink source parent
[–] zqps@sh.itjust.works 2 points 3 days ago Yep, I do it in every format. Just kept it short for readability. permalink fedilink source parent