Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Interpret numbers when sorting; alternate submenu wording.
« previous next »
  • Print
Pages: [1]

Author Topic: Interpret numbers when sorting; alternate submenu wording.  (Read 2071 times)

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Interpret numbers when sorting; alternate submenu wording.
« on: March 02, 2009, 02:37:39 AM »
currently the submenus are
As Digits
As whole numbers

might I suggest the following instead;
With leading zero
No leading zero

Most tag applications have "leading zero" as the descriptor in options for respective "Numeric file sorting" settings, and it is far more descriptive than "As digits", or "Whole numbers"

Love this option, wish it had been done years ago, but got to keep busy whilst retired and retagging my collection without leading zeros is one way  ;D

Many thanks.
« Last Edit: March 02, 2009, 05:59:41 AM by dunno »
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #1 on: March 02, 2009, 03:43:23 AM »
Have a look through the IRC logs to see the argument that has raged over many many days about the naming of this option...
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #2 on: March 02, 2009, 05:43:35 AM »
Quote from: BigBambi on March 02, 2009, 03:43:23 AM
Have a look through the IRC logs to see the argument that has raged over many many days about the naming of this option...
Indeed...

But what do you think, "With leading zero; No leading zero", more descriptive or not for "Numeric file order" ?.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #3 on: March 02, 2009, 09:23:24 AM »
It's not just about leading zeroes. In fact, leading zeroes don't actually factor into it at all.

1, 10, 2, 20, 3, 30 vs 1, 2, 3, 10, 20, 30. Notice a complete lack of leading zeros in those two lists of numbers? Yet they're one demonstration of the two different ways the algorithm sorts.

It would be completely misleading to name it your way.
Logged

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #4 on: March 02, 2009, 09:59:14 AM »
Quote from: Llorean on March 02, 2009, 09:23:24 AM
It's not just about leading zeroes. In fact, leading zeroes don't actually factor into it at all.

1, 10, 2, 20, 3, 30 vs 1, 2, 3, 10, 20, 30. Notice a complete lack of leading zeros in those two lists of numbers? Yet they're one demonstration of the two different ways the algorithm sorts.

It would be completely misleading to name it your way.
Hello Paul,
on the contrary, it's all about leading zeros, prior to this option if you wanted your tracks displayed in numerical file order in rockbox then tracks 1 through to 9 HAD to have a leading zero because, as you pointed out a long time ago thats how proper OS's display it, and windows way of displaying a numeric file list sequentially without leading zeros was/is incorrect, Linux rules and all that...
I have no idea of how ASCI sort algorithms are supposed to work, what I do know is that rockbox forced me to add leading zeros to my music collection so that the files would be numerically sorted, now I can go back to windows way of numbering my music without leading zeros.
« Last Edit: March 02, 2009, 10:05:37 AM by dunno »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #5 on: March 02, 2009, 10:10:09 AM »
So, can you explain to me where the leading zeros are in my example?

Or how someone who doesn't know about the leading zeros trick is supposed to have any idea what the option does based on your name for it?

The option has nothing to do with leading zeros. They were simply a trick you could come up with to trick the original sort. They're unnecessary now, yes, but they don't actually factor into the sorting differences. The differences are all in how the digits after the zeros are interpreted.
Logged

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #6 on: March 02, 2009, 10:32:50 AM »
Quote from: Llorean on March 02, 2009, 10:10:09 AM
So, can you explain to me where the leading zeros are in my example?

Or how someone who doesn't know about the leading zeros trick is supposed to have any idea what the option does based on your name for it?

The option has nothing to do with leading zeros. They were simply a trick you could come up with to trick the original sort. They're unnecessary now, yes, but they don't actually factor into the sorting differences. The differences are all in how the digits after the zeros are interpreted.
it's simple, really, are your tracks tagged with leading zeros yes or no ?, that's the most common, obvious and often used method to tag ones files and used in most tagging applications, most folks know how they tag their music and they can SEE whether they have leading zeros in their tracks and it's easy to identify with, a no brainer really, that's how non developers see it.

Thank heavens for the manual......
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #7 on: March 02, 2009, 10:38:40 AM »
You seem to have completely missed my point:

This will change the sort order EVEN IF THEY DON'T HAVE LEADING ZEROS. If someone's songs are in the right order without leading zeros, this may change its order.
Logged

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #8 on: March 02, 2009, 10:44:43 AM »
Quote from: Llorean on March 02, 2009, 10:38:40 AM
If someone's songs are in the right order without leading zeros, this may change its order.
Nope, I spent hours yesterday removing all the leading zeros from my 5029 tracks, and they all now still display nicely sequentially thanks, but if the other option is selected then they're not sequential any more, that's true, I have the option enabled that keeps my tracks sequential without leading zeros.
« Last Edit: March 02, 2009, 10:49:25 AM by dunno »
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #9 on: March 02, 2009, 10:47:16 AM »
Just because yours sort fine doesn't mean everyone's will. Seriously, do you honestly believe that it's impossible to tag songs that sort one way with the old sort, and a different way with the new one? I even gave you an example of a list of numbers that sorts two different ways.

It's NOT about leading zeros. It will not be renamed. These are two things that are already decided, I was just trying to explain to you why it won't be renamed. If you can't understand this, I'm done.
Logged

Offline dunno

  • Member
  • *
  • Posts: 357
  • if it moves, bite
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #10 on: March 02, 2009, 10:54:10 AM »
Quote from: Llorean on March 02, 2009, 10:47:16 AM
Just because yours sort fine doesn't mean everyone's will. Seriously, do you honestly believe that it's impossible to tag songs that sort one way with the old sort, and a different way with the new one? I even gave you an example of a list of numbers that sorts two different ways.

It's NOT about leading zeros. It will not be renamed. These are two things that are already decided, I was just trying to explain to you why it won't be renamed. If you can't understand this, I'm done.
I'm not insisting you change anything at all, it was just a suggestion, don't be so sensitive.

Thanks for the great discussion, although I'm sorry that you don't grasp my point, as always you see everything from a developers viewpoint and not the user.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: Interpret numbers when sorting; alternate submenu wording.
« Reply #11 on: March 02, 2009, 10:55:38 AM »
And you see things from your own personal viewpoint, while ignoring the possibility that there are users out there who don't share it.

Not everyone has, needs, or wanted previously leading zeros, and most of those people will not understand an option named after them.
« Last Edit: March 02, 2009, 10:58:48 AM by Llorean »
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Interpret numbers when sorting; alternate submenu wording.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.076 seconds with 15 queries.