Page 1 of 1
Display 0 as a size of non-empty directory with no data
Posted: 2010-01-21, 15:20 UTC
by m^2
Currently, after calculating size, if directory size is 0, it's displayed as <DIR>. What I dislike about it is that if doesn't tell whether directory is empty or has a million files and directories, just all empty.
So I request changing "<DIR>" to "0" for non-empty directories.
Or - better - also change "<DIR>" to "empty" for empty directories.
0 is universal
Posted: 2010-01-21, 16:40 UTC
by Clo
2
m^2

Hello !
• You are right, but IMHO "0" (maybe red-bold) is enough, "empty" needs translations and there is no convenient string to reuse currently…

KR
Claude
Clo
Posted: 2010-01-21, 18:05 UTC
by Lefteous
Posted: 2010-01-21, 18:51 UTC
by m^2
Indeed, it's a solution, but the plugin has a critical bug, which makes it unusable for almost anything else - it uses decimal units. 0 is fine, but it breaks soon after.
Posted: 2010-01-21, 18:58 UTC
by Lefteous
2
m^2
the plugin has a critical bug, which makes it unusable for almost anything else - it uses decimal units
You can switch between decimal and binary calculation in configuration.
I wonder why call it a critical bug though. I guess you hard disk drive manufacturer uses the same "critical bug" for its size calculations.
it breaks soon after
What do you mean by that?
Posted: 2010-01-21, 19:05 UTC
by m^2
Lefteous wrote:2
m^2
the plugin has a critical bug, which makes it unusable for almost anything else - it uses decimal units
You can switch between decimal and binary calculation in configuration.
Strange. I remember that about 1 year ago I searched for it being sure that there was such option, but did't find it.
But as you say it, I have no doubt you're right.
Lefteous wrote:I wonder why call it a critical bug though. I guess you hard disk drive manufacturer uses the same "critical bug" for its size calculations.
No. For them it's not a bug, but a shameless lie.
Lefteous wrote:it breaks soon after
What do you mean by that?
I just meant that as soon as total size reaches 1000 B your plugin thinks it's 1 KB already. I guess it's irrelevant now.
And I'm sorry for being harsh, the decimal-binary conflict really annoys me and so do programs from the other side.
EDIT:
I see, there's indeed a bug but different that I remembered. A simple but very annoying typo: i between K/M/G and B in KB. It can be mostly fixed in the language though.
Posted: 2010-01-21, 19:48 UTC
by Lefteous
2
m^2
I see, there's indeed a bug but different that I remembered. A simple but very annoying typo: i between K/M/G and B in KB. It can be mostly fixed in the language though.
Please consider that I'm actually using standard unit prefixes:
http://en.wikipedia.org/wiki/Byte
Posted: 2010-01-21, 20:03 UTC
by m^2
Lefteous wrote:2
m^2
I see, there's indeed a bug but different that I remembered. A simple but very annoying typo: i between K/M/G and B in KB. It can be mostly fixed in the language though.
Please consider that I'm actually using standard unit prefixes:
http://en.wikipedia.org/wiki/Byte
I don't consider wikipedia to be any authority, so I won't even bother looking inside.
There are 2 standards, one is SI, the other MS. You're SI, but not MS compliant and I'm for MS, that's why I complain. I guess it's EOT. If you
really want to continue, let's go to another thread.
Re: Display 0 as a size of non-empty directory with no data
Posted: 2010-01-25, 21:16 UTC
by ThurahT
m^2 wrote:Currently, after calculating size, if directory size is 0, it's displayed as <DIR>. What I dislike about it is that if doesn't tell whether directory is empty or has a million files and directories, just all empty.
So I request changing "<DIR>" to "0" for non-empty directories.
Or - better - also change "<DIR>" to "empty" for empty directories.
I am curious what this would do to this scenario wich I use quite often: Mark any desired amount of "DIR"s empty or not and F5 "but only of the type" choose "DIR" and those "DIR"s gets copied.