News for hackers. Stuff that matters.
Re:Anything longer ago than yesterday should just say the ac... by bigDinosaur on Saturday October 14, 2023 @06:01PM (#37884659)
Best to avoid spaces in file names even if the OS allows it (hell, you can put a new line in file names in Linux and I believe Mac OS but that's a terrible idea) because many programs will exhibit major error states if they end up processing these names due to assumptions about file names.
Re:Anything longer ago than yesterday should just say the ac... by OmegaMetor on Saturday October 14, 2023 @07:00PM (#37885047)
Macos allowing leading spaces in file/folder names made for some fun shenanigans on a school laptop with not great grep usage for blocking apps.
Re:Anything longer ago than yesterday should just say the ac... by devoutsalsa on Saturday October 14, 2023 @08:35PM (#37885663)
Best to combine a carriage return and tab.

    irb> puts “2021-11-21\r\t15:10:35”
    2021-11-21
        15:10:35
Re:Anything longer ago than yesterday should just say the ac... by krater23 on Sunday October 15, 2023 @03:38AM (#37887762)
And thats the reason why we should use more spaces and other special characters in filenames at every public used places. Thats the only way this bugs of lazy and stupid software developers getting fixed finally.
Re:Anything longer ago than yesterday should just say the ac... by bigDinosaur on Sunday October 15, 2023 @06:52AM (#37888669)
The principled stance is nice (and I agree with it generally) but sometimes you just need to get work done and not have to rely on trying to get some developer to fix something. Fully agreed though that it's lazy programming if an application can't deal with spaces.