You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Seweryn Niemiec (JIRA)" <ji...@apache.org> on 2011/04/13 13:00:05 UTC

[jira] [Created] (OFBIZ-4252) wrong prefixes for DATA_MEASURE units in UnitData.xml

wrong prefixes for DATA_MEASURE units in UnitData.xml
-----------------------------------------------------

                 Key: OFBIZ-4252
                 URL: https://issues.apache.org/jira/browse/OFBIZ-4252
             Project: OFBiz
          Issue Type: Improvement
          Components: framework
    Affects Versions: Release Branch 10.04
            Reporter: Seweryn Niemiec
            Priority: Minor


Units from DATA_MEASURE section use multipliers for binary prefixes, but symbols for decimal prefixes. Symbols for binary prefixes are defined in IEC 60027 standard and are: Ki, Mi, Gi, etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (OFBIZ-4252) wrong prefixes for DATA_MEASURE units in UnitData.xml

Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019384#comment-13019384 ] 

David E. Jones commented on OFBIZ-4252:
---------------------------------------

If we made any change based on this it would probably need to include 2 sets of data measure units, one for the decimal multipliers and one for the binary multipliers.

However, I'm not sure we should change it. Are you saying you have a need for both, or just hoping for some disambiguation?

As for the IEC 60027 standard: it isn't commonly used and seems largely rejected... IMO it's because they chose the funny names for the less commonly used approach of decimal multipliers, and the prefixes they chose sound funny in general (kibi-, mebi-, etc).

IMO, unless we had sets with both multipliers and a link to http://en.wikipedia.org/wiki/Binary_prefix, this change would be MORE confusing and not less.

> wrong prefixes for DATA_MEASURE units in UnitData.xml
> -----------------------------------------------------
>
>                 Key: OFBIZ-4252
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4252
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Release Branch 10.04
>            Reporter: Seweryn Niemiec
>            Priority: Minor
>              Labels: unit,
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Units from DATA_MEASURE section use multipliers for binary prefixes, but symbols for decimal prefixes. Symbols for binary prefixes are defined in IEC 60027 standard and are: Ki, Mi, Gi, etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (OFBIZ-4252) wrong prefixes for DATA_MEASURE units in UnitData.xml

Posted by "Seweryn Niemiec (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019746#comment-13019746 ] 

Seweryn Niemiec commented on OFBIZ-4252:
----------------------------------------

I do not know how exactly value stored in conversionFactor attribute is used, but if it is used for example to pretty print big numbers in reports then you will simply get wrong values. I can assure you, that no one in telecom industry expects binary prefixes in bit rates. Maybe Ki prefix is funny for some people, but there are others for which it is boring. 

For me it would be best to set conversionFactor to 1000. This way you will have correct prefixes (except for 'K', which should be 'k') and correct multipliers. People will start getting correct values.

> wrong prefixes for DATA_MEASURE units in UnitData.xml
> -----------------------------------------------------
>
>                 Key: OFBIZ-4252
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4252
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Release Branch 10.04
>            Reporter: Seweryn Niemiec
>            Priority: Minor
>              Labels: unit,
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Units from DATA_MEASURE section use multipliers for binary prefixes, but symbols for decimal prefixes. Symbols for binary prefixes are defined in IEC 60027 standard and are: Ki, Mi, Gi, etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (OFBIZ-4252) wrong prefixes for DATA_MEASURE units in UnitData.xml

Posted by "David E. Jones (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OFBIZ-4252?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019844#comment-13019844 ] 

David E. Jones commented on OFBIZ-4252:
---------------------------------------

I'm not sure if I understand, are you arguing against having two sets of units (one for decimal and one for binary multipliers)?

BTW, to increase chances of something happening for this, or any, issue the best thing to do is submit a patch with the changes you propone.

> wrong prefixes for DATA_MEASURE units in UnitData.xml
> -----------------------------------------------------
>
>                 Key: OFBIZ-4252
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4252
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Release Branch 10.04
>            Reporter: Seweryn Niemiec
>            Priority: Minor
>              Labels: unit,
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Units from DATA_MEASURE section use multipliers for binary prefixes, but symbols for decimal prefixes. Symbols for binary prefixes are defined in IEC 60027 standard and are: Ki, Mi, Gi, etc.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira