Discussion Forum: Thread 360915

 Author: qwertyboy View Messages Posted By qwertyboy
 Posted: Aug 9, 2024 16:00
 Subject: Time for another big re-numbering!
 Viewed: 318 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

qwertyboy (8607)

Location:  Canada, Alberta
Member Since Contact Type Status
Apr 9, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Maple Bricks
[m=sh980]

Niek.
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Aug 9, 2024 16:15
 Subject: Re: Time for another big re-numbering!
 Viewed: 95 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4774)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
In General, qwertyboy writes:
  [m=sh980]

Niek.

That'll be a lot of work! now the big question is will it happen before or
after the head merge
 Author: BricksThatStick View Messages Posted By BricksThatStick
 Posted: Aug 13, 2024 07:15
 Subject: Re: Time for another big re-numbering!
 Viewed: 67 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

BricksThatStick (6782)

Location:  United Kingdom, England
Member Since Contact Type Status
Jan 10, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Bricks That Stick
BrickLink Catalog Administrator (?)
In General, Nubs_Select writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

That'll be a lot of work!

Easy but very repetitive

  now the big question is will it happen before or
after the head merge

We can't wait that long
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Aug 13, 2024 11:50
 Subject: Re: Time for another big re-numbering!
 Viewed: 53 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4774)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
In General, BricksThatStick writes:
  In General, Nubs_Select writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

That'll be a lot of work!

Easy but very repetitive

  now the big question is will it happen before or
after the head merge

We can't wait that long

 Author: Cob View Messages Posted By Cob
 Posted: Aug 13, 2024 12:48
 Subject: Re: Time for another big re-numbering!
 Viewed: 52 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Cob (3634)

Location:  USA, Missouri
Member Since Contact Type Status
Nov 18, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Cob's Brick House
In General, Nubs_Select writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

That'll be a lot of work! now the big question is will it happen before or
after the head merge

I'm out of the loop, what is the head merge? I quickly searched for forum
and didn't find any answers except it was supposed to be done at the end
of May.
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Aug 13, 2024 12:53
 Subject: Re: Time for another big re-numbering!
 Viewed: 57 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4774)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
In General, Cob writes:
  In General, Nubs_Select writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

That'll be a lot of work! now the big question is will it happen before or
after the head merge

I'm out of the loop, what is the head merge? I quickly searched for forum
and didn't find any answers except it was supposed to be done at the end
of May.

They are merging all blocked, hollow, and vented stud heads. They already did
it for the base entry and are planning to do it for the printed versions but
that’s been delayed.
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Aug 9, 2024 16:29
 Subject: Re: Time for another big re-numbering!
 Viewed: 85 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (55620)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
I don't understand anything.
Maybe it could be detailed a bit to people not highly educated in Catalog concerns?
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Aug 9, 2024 16:31
 Subject: Re: Time for another big re-numbering!
 Viewed: 78 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4774)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
In General, 1001bricks writes:
  I don't understand anything.
Maybe it could be detailed a bit to people not highly educated in Catalog concerns?

its about to hit 1000 so they need to add a 0 in front of every old entry
 Author: 1001bricks View Messages Posted By 1001bricks
 Posted: Aug 9, 2024 16:34
 Subject: Re: Time for another big re-numbering!
 Viewed: 84 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

1001bricks (55620)

Location:  France, Provence-Alpes-Côte d'Azur
Member Since Contact Type Status
Sep 6, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: 1001bricks
In General, Nubs_Select writes:
  In General, 1001bricks writes:
  I don't understand anything.
Maybe it could be detailed a bit to people not highly educated in Catalog concerns?

its about to hit 1000 so they need to add a 0 in front of every old entry

Oh thanks! I just hate this moment, like every seller I guess
 Author: Ziegelmeister View Messages Posted By Ziegelmeister
 Posted: Aug 9, 2024 16:53
 Subject: Re: Time for another big re-numbering!
 Viewed: 77 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Ziegelmeister (592)

Location:  USA, Ohio
Member Since Contact Type Status
Aug 27, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Ziegelmarkt
In General, qwertyboy writes:
  [m=sh980]

Niek.

Ninjagos are about a 12-18 months away at this pace too.
 Author: Braydensbricks View Messages Posted By Braydensbricks
 Posted: Aug 12, 2024 21:50
 Subject: Re: Time for another big re-numbering!
 Viewed: 91 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Braydensbricks (181)

Location:  USA, Texas
Member Since Contact Type Status
Jul 12, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brayden's Bricks
In General, qwertyboy writes:
  [m=sh980]

Niek.

Can you explain what exactly that means for a seller or buyer?
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Aug 12, 2024 21:53
 Subject: Re: Time for another big re-numbering!
 Viewed: 64 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4774)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
In General, Braydensbricks writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

Can you explain what exactly that means for a seller or buyer?

nothing unless you have external things that use these numbers
 Author: Braydensbricks View Messages Posted By Braydensbricks
 Posted: Aug 12, 2024 22:30
 Subject: Re: Time for another big re-numbering!
 Viewed: 92 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Braydensbricks (181)

Location:  USA, Texas
Member Since Contact Type Status
Jul 12, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brayden's Bricks
In General, Nubs_Select writes:
  In General, Braydensbricks writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

Can you explain what exactly that means for a seller or buyer?

nothing unless you have external things that use these numbers

Oh ok, I was wondering why people were somewhat worried lol
 Author: StarBrick View Messages Posted By StarBrick
 Posted: Aug 13, 2024 07:25
 Subject: Re: Time for another big re-numbering!
 Viewed: 87 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

StarBrick (7477)

Location:  Netherlands, Gelderland
Member Since Contact Type Status
Oct 18, 2008 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: StarBrick's BrickShop
In General, qwertyboy writes:
  [m=sh980]

Niek.

 
Minifig No: sh0980  Name: Fire Demon
* 
sh0980 (Inv) Fire Demon
Minifigures: Super Heroes: Thor Ragnarok

already done
 Author: Braydensbricks View Messages Posted By Braydensbricks
 Posted: Aug 13, 2024 12:41
 Subject: Re: Time for another big re-numbering!
 Viewed: 49 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Braydensbricks (181)

Location:  USA, Texas
Member Since Contact Type Status
Jul 12, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Brayden's Bricks
In General, StarBrick writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

 
Minifig No: sh0980  Name: Fire Demon
* 
sh0980 (Inv) Fire Demon
Minifigures: Super Heroes: Thor Ragnarok

already done

Yep, just noticed it
 Author: Andy_Bell View Messages Posted By Andy_Bell
 Posted: Aug 13, 2024 12:50
 Subject: Re: Time for another big re-numbering!
 Viewed: 60 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Andy_Bell (2426)

Location:  USA, Alabama
Member Since Contact Type Status
Jan 19, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Murphy the Brickyard Dog
In General, StarBrick writes:
  In General, qwertyboy writes:
  [m=sh980]

Niek.

 
Minifig No: sh0980  Name: Fire Demon
* 
sh0980 (Inv) Fire Demon
Minifigures: Super Heroes: Thor Ragnarok

already done

Yep all the links are now broken
 Author: Saitobricks.ca View Messages Posted By Saitobricks.ca
 Posted: Aug 13, 2024 13:10
 Subject: Re: Time for another big re-numbering!
 Viewed: 62 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Saitobricks.ca (64) 
(was Saitobricksca)

Location:  Canada, Ontario
Member Since Contact Type Status
Aug 28, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Unlicensed Brick
In General, Andy_Bell writes:
  In General, StarBrick writes:
  In General, qwertyboy writes:
already done

Yep all the links are now broken

NOOOOO!!!! Now brickognize won't work at full power
 Author: Andy_Bell View Messages Posted By Andy_Bell
 Posted: Aug 13, 2024 16:14
 Subject: Re: Time for another big re-numbering!
 Viewed: 69 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Andy_Bell (2426)

Location:  USA, Alabama
Member Since Contact Type Status
Jan 19, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Murphy the Brickyard Dog
In General, Saitobricks.ca writes:
  In General, Andy_Bell writes:
  In General, StarBrick writes:
  In General, qwertyboy writes:
already done

Yep all the links are now broken

NOOOOO!!!! Now brickognize won't work at full power

nor rebrickable
nor brickset

and probably studio

are there no other prefixes? wouldn't it have been much less disruptive to
start a new series with a prefix sup or sho or shm

Just baffling that catalog admins operate as if there are no other sites or programs
that use these numbers!

AB
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: Aug 13, 2024 16:18
 Subject: Re: Time for another big re-numbering!
 Viewed: 57 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (52)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
In General, Andy_Bell writes:
  […]
and probably studio

Studio doesn't care about minifigures' IDs, it only cares about parts.
 Author: Andy_Bell View Messages Posted By Andy_Bell
 Posted: Aug 13, 2024 17:03
 Subject: Re: Time for another big re-numbering!
 Viewed: 62 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Andy_Bell (2426)

Location:  USA, Alabama
Member Since Contact Type Status
Jan 19, 2005 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Murphy the Brickyard Dog
In General, SylvainLS writes:
  In General, Andy_Bell writes:
  […]
and probably studio

Studio doesn't care about minifigures' IDs, it only cares about parts.

one bright spot for Studio... about that 1x2 plate
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: Aug 13, 2024 17:13
 Subject: Re: Time for another big re-numbering!
 Viewed: 60 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (52)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
In General, Andy_Bell writes:
  In General, SylvainLS writes:
  In General, Andy_Bell writes:
  […]
and probably studio

Studio doesn't care about minifigures' IDs, it only cares about parts.

one bright spot for Studio... about that 1x2 plate

Ah but the problems with the 1x2 plate aren't due to a catalogue change (nothing
changed in the catalogue), they are due to a 3D model change, how LDraw handles
them, and how Studio is not prepared to handle them
 Author: randyf View Messages Posted By randyf
 Posted: Aug 13, 2024 17:03
 Subject: Re: Time for another big re-numbering!
 Viewed: 76 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

randyf (448)

Location:  USA, Ohio
Member Since Contact Type Status
Sep 16, 2009 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: The Bricking Spectre
In General, Andy_Bell writes:
  In General, Saitobricks.ca writes:
  In General, Andy_Bell writes:
  In General, StarBrick writes:
  In General, qwertyboy writes:
already done

Yep all the links are now broken

NOOOOO!!!! Now brickognize won't work at full power

nor rebrickable
nor brickset

and probably studio

are there no other prefixes? wouldn't it have been much less disruptive to
start a new series with a prefix sup or sho or shm

Just baffling that catalog admins operate as if there are no other sites or programs
that use these numbers!

AB


BrickLink owns the IP for minifigure numbers that all other sites copy, so BrickLink
is able to adjust the numbers as needed when needed. It is up to other outside
parties to adjust their sites accordingly if they want to continue to use the
BrickLink IP. Otherwise, they are all free to start their own numbering schemes.

Having said that, I believe the rebuilt BrickLink should use links to the mostly
immutable database keys for all catalog items instead of using links to item
numbers that can -- and will -- change. In that way, BrickLink would
far lessen its impact on the rest of the larger LEGO internet community.

Until that time, though, we will do what is necessary on BrickLink to keep BrickLink
organized and structured as well as possible. For example, no one would want
BrickLink to start using a new series of numbers for a minifigure series when
one is already established. Imagine the Star Wars community if we would have
just started stw001 when we got up to sw999! I wouldn't want to suffer that
wrath!

Cheers,
Randy
 Author: Nubs_Select View Messages Posted By Nubs_Select
 Posted: Aug 13, 2024 17:46
 Subject: Re: Time for another big re-numbering!
 Viewed: 56 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Nubs_Select (4774)

Location:  Canada, Ontario
Member Since Contact Type Status
Mar 15, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Nub's Select
  Imagine the Star Wars community if we would have
just started stw001 when we got up to sw999! I wouldn't want to suffer that
wrath!

 Author: yorbrick View Messages Posted By yorbrick
 Posted: Aug 14, 2024 02:05
 Subject: Re: Time for another big re-numbering!
 Viewed: 56 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

yorbrick (1206)

Location:  United Kingdom, England
Member Since Contact Type Status
Apr 11, 2011 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Yorbricks
  Imagine the Star Wars community if we would have
just started stw001 when we got up to sw999!

That would be strange if a set had straddled the numbering change, and the person
doing the inventory had to choose which figures were sw and which were stw. And
another change to the numbering (swa001 ?) would be needed much quicker than
for the 4 digit system. And again, and again, ...
 Author: Shiny_Stuff View Messages Posted By Shiny_Stuff
 Posted: Aug 14, 2024 06:51
 Subject: Re: Time for another big re-numbering!
 Viewed: 56 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Shiny_Stuff (1893)

Location:  USA, New York
Member Since Contact Type Status
Aug 14, 2016 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Shiny Stuff
In General, randyf writes:
  BrickLink owns the IP for minifigure numbers that all other sites copy, so BrickLink
is able to adjust the numbers as needed when needed.

I just need it explained why any re-numbering is necessary just because a series
goes from 3 digits to 4.

I guess I just never understand the need for leading zeroes in general. What
is so terrible about going from 999 to 1000 and NOT adding a leading zero? If
computers are so smart, they should be able to recognize and "sort" numbers
without the need for leading zeroes; otherwise isn't it due to shitty software
or crappy/lazy coding?

____
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: Aug 14, 2024 08:02
 Subject: Re: Time for another big re-numbering!
 Viewed: 65 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (52)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
In General, Shiny_Stuff writes:
  […]
I just need it explained why any re-numbering is necessary just because a series
goes from 3 digits to 4.

Alphanumerical order.

You'd have:
sw1
sw10…sw19
sw100…sw199
sw1000…sw1999
sw2
sw20…sw29
sw200…sw299
sw2000…sw2999
sw3


instead of sw0001, sw0002, etc.
 Author: JerrysBrickyard View Messages Posted By JerrysBrickyard
 Posted: Aug 14, 2024 08:44
 Subject: Re: Time for another big re-numbering!
 Viewed: 69 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

JerrysBrickyard (199)

Location:  USA, Texas
Member Since Contact Type Status
Jan 25, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Jerry's [:] Brickyard
In General, SylvainLS writes:
  In General, Shiny_Stuff writes:
  […]
I just need it explained why any re-numbering is necessary just because a series
goes from 3 digits to 4.

Alphanumerical order.

You'd have:
sw1
sw10…sw19
sw100…sw199
sw1000…sw1999
sw2
sw20…sw29
sw200…sw299
sw2000…sw2999
sw3


instead of sw0001, sw0002, etc.

But you missed Shiny_Stuff's point in the part of the quote you removed.

  
  I guess I just never understand the need for leading zeroes in general. What
is so terrible about going from 999 to 1000 and NOT adding a leading zero? If
computers are so smart, they should be able to recognize and "sort" numbers
without the need for leading zeroes; otherwise isn't it due to shitty software
or crappy/lazy coding?

The need for the zero arises from using a lexicographic sort on the entries,
which is the easiest "sort" function to implement. But there are other
options (e.g. https://www.gnu.org/software/coreutils/manual/html_node/Version-sort-overview.html)
that would be more difficult to implement in the various software that use the
BL numbers.

So I guess the re-numbering is necessary, not because there is no other option,
but because periodically updating the numbers on a series of minifigures is much
more manageable than finding a developer to rewrite the sorting functionality
on a site that may have more pressing maintenance issues.
 Author: SylvainLS View Messages Posted By SylvainLS
 Posted: Aug 14, 2024 10:41
 Subject: Re: Time for another big re-numbering!
 Viewed: 56 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

SylvainLS (52)

Location:  France, Nouvelle-Aquitaine
Member Since Contact Type Status
Apr 25, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: BuyerOnly
BrickLink Discussions Moderator (?)
In General, JerrysBrickyard writes:
  […]
But you missed Shiny_Stuff's point in the part of the quote you removed.

Indeed.  I did read it but my mind failed to register its significance.

https://www.bricklink.com/message.asp?ID=1481960


  […]
The need for the zero arises from using a lexicographic sort on the entries,
which is the easiest "sort" function to implement. But there are other
options (e.g. https://www.gnu.org/software/coreutils/manual/html_node/Version-sort-overview.html )

(Beware: always put a space after a URL )

  that would be more difficult to implement in the various software that use the
BL numbers.

So I guess the re-numbering is necessary, not because there is no other option,
but because periodically updating the numbers on a series of minifigures is much
more manageable than finding a developer to rewrite the sorting functionality
on a site that may have more pressing maintenance issues.

It's not really about “rewrit[ing] the sorting functionality,” which sounds
like one would need to reimplement the whole thing from scratch.  One just need
to change a few lines of code here and there.
The main problem on BL is where “here and there” are (spaghetti code and big
ball of mud…)

(
Well, there's also the problem that the sorting should be done by the database
and there's this principle in databases: you shouldn't have to “massage”
your data everytime you use it.
Sorting by “natural order” means that you are “massaging” the IDs everytime you
use them (basically, splitting the IDs as prefix+number).

So, in a proper database, you'd rather either:
A. Split the ID column in two columns: prefix and number; and you sort on both
and everytime you need the ID, you need to concatenate the two values, which
is also bad and could be solved by having three columns (ID, prefix, number)
but that's redundancy and it's bad too (because there can be inconsistencies,
where ID ≠ prefix+number, and so you need checks everytime to touch to ID).

B. Or add a “sorting order ID” column to sort on (and that column woubld actually
be the ID with the leading zeroes inserted).

So it's simpler to just have the leading zeroes in the IDs.
)
 Author: JerrysBrickyard View Messages Posted By JerrysBrickyard
 Posted: Aug 14, 2024 22:25
 Subject: Re: Time for another big re-numbering!
 Viewed: 55 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

JerrysBrickyard (199)

Location:  USA, Texas
Member Since Contact Type Status
Jan 25, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Jerry's [:] Brickyard
In General, SylvainLS writes:
  In General, JerrysBrickyard writes:
  […]
But you missed Shiny_Stuff's point in the part of the quote you removed.

Indeed.  I did read it but my mind failed to register its significance.

https://www.bricklink.com/message.asp?ID=1481960


  […]
The need for the zero arises from using a lexicographic sort on the entries,
which is the easiest "sort" function to implement. But there are other
options (e.g. https://www.gnu.org/software/coreutils/manual/html_node/Version-sort-overview.html )

(Beware: always put a space after a URL )

Thanks! It took me awhile to figure that out after posting. I was wondering why
my links never seemed to work!
  
  that would be more difficult to implement in the various software that use the
BL numbers.

So I guess the re-numbering is necessary, not because there is no other option,
but because periodically updating the numbers on a series of minifigures is much
more manageable than finding a developer to rewrite the sorting functionality
on a site that may have more pressing maintenance issues.

It's not really about “rewrit[ing] the sorting functionality,” which sounds
like one would need to reimplement the whole thing from scratch.  One just need
to change a few lines of code here and there.
The main problem on BL is where “here and there” are (spaghetti code and big
ball of mud…)

(
Well, there's also the problem that the sorting should be done by the database
and there's this principle in databases: you shouldn't have to “massage”
your data everytime you use it.
Sorting by “natural order” means that you are “massaging” the IDs everytime you
use them (basically, splitting the IDs as prefix+number).

That's a very good point. And as the part number's primary use is as
a database key, it makes a lot of sense to keep the leading zeros.
  
So, in a proper database, you'd rather either:
A. Split the ID column in two columns: prefix and number; and you sort on both
and everytime you need the ID, you need to concatenate the two values, which
is also bad and could be solved by having three columns (ID, prefix, number)
but that's redundancy and it's bad too (because there can be inconsistencies,
where ID ≠ prefix+number, and so you need checks everytime to touch to ID).

B. Or add a “sorting order ID” column to sort on (and that column woubld actually
be the ID with the leading zeroes inserted).

So it's simpler to just have the leading zeroes in the IDs.
)
 Author: qwertyboy View Messages Posted By qwertyboy
 Posted: Aug 14, 2024 10:57
 Subject: Re: Time for another big re-numbering!
 Viewed: 40 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

qwertyboy (8607)

Location:  Canada, Alberta
Member Since Contact Type Status
Apr 9, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: Maple Bricks
The sorting work-arounds are not only in the BL part numbering, but also for
many of the part names. By default, the catalog page for a category sorts by
part name. Check this one (the "Technic, Axle" category):

https://www.bricklink.com/catalogList.asp?catType=P&catString=134

The names for shorter axles have double spaces in front of their length, so the
4L sorts before the 12L.

Of course this would be even more involved to get the sorting right without changing
its name.

Not that I am complaining, it works just fine.

Niek.
 Author: JerrysBrickyard View Messages Posted By JerrysBrickyard
 Posted: Aug 14, 2024 22:30
 Subject: Re: Time for another big re-numbering!
 Viewed: 60 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

JerrysBrickyard (199)

Location:  USA, Texas
Member Since Contact Type Status
Jan 25, 2021 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Jerry's [:] Brickyard
In General, qwertyboy writes:
  The sorting work-arounds are not only in the BL part numbering, but also for
many of the part names. By default, the catalog page for a category sorts by
part name. Check this one (the "Technic, Axle" category):

https://www.bricklink.com/catalogList.asp?catType=P&catString=134

The names for shorter axles have double spaces in front of their length, so the
4L sorts before the 12L.

Of course this would be even more involved to get the sorting right without changing
its name.

Not that I am complaining, it works just fine.

Niek.

That sounds intriguing! I can't see the double spaces on the link though.
Is there some sort of HTML sanitation going on that is stripping the extra space
before the text is displayed but after the sorting has already been accomplished?
 Author: randyf View Messages Posted By randyf
 Posted: Aug 14, 2024 11:27
 Subject: Re: Time for another big re-numbering!
 Viewed: 54 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

randyf (448)

Location:  USA, Ohio
Member Since Contact Type Status
Sep 16, 2009 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: The Bricking Spectre
In General, Shiny_Stuff writes:
  In General, randyf writes:
  BrickLink owns the IP for minifigure numbers that all other sites copy, so BrickLink
is able to adjust the numbers as needed when needed.

I just need it explained why any re-numbering is necessary just because a series
goes from 3 digits to 4.


With the sorting routines that BrickLink has in place (mainly alphanumeric),
additional zeroes are needed on the front of the numbers to keep the sort routines
functional. Otherwise, the minifigures would not sort properly.

The sorting routines could be modified to make this a moot point, but that would
require development from the BrickLink side. Since that is likely not going to
happen until at least a re-platforming of the entire site, we are forced to keep
the archaic systems functional.

I hope that helps.

Cheers,
Randy


  I guess I just never understand the need for leading zeroes in general. What
is so terrible about going from 999 to 1000 and NOT adding a leading zero? If
computers are so smart, they should be able to recognize and "sort" numbers
without the need for leading zeroes; otherwise isn't it due to [bad] software
or lazy coding?

____


Quote edited for language so this post will not get canceled.
 Author: Huw View Messages Posted By Huw
 Posted: Aug 13, 2024 17:57
 Subject: Re: Time for another big re-numbering!
 Viewed: 99 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

Huw (482)

Location:  United Kingdom, England
Member Since Contact Type Status
Aug 29, 2000 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: Rare Parts
  nor brickset

We've not imported the data with the changes yet but once we have it won't
take long to get everything linked again. We did it for Star Wars a few years
ago.

Huw (@brickset.com)
 Author: wahiggin View Messages Posted By wahiggin
 Posted: Aug 21, 2024 23:00
 Subject: Re: Time for another big re-numbering!
 Viewed: 102 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

wahiggin (3268)

Location:  USA, Alabama
Member Since Contact Type Status
Jun 30, 2004 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: We-Like-It Bricks
In General, Andy_Bell writes:
  In General, Saitobricks.ca writes:
  In General, Andy_Bell writes:
  In General, StarBrick writes:
  In General, qwertyboy writes:
already done

Yep all the links are now broken

NOOOOO!!!! Now brickognize won't work at full power

nor rebrickable
nor brickset

and probably studio

are there no other prefixes? wouldn't it have been much less disruptive to
start a new series with a prefix sup or sho or shm

Just baffling that catalog admins operate as if there are no other sites or programs
that use these numbers!

AB

Google Lens is broken now too
 Author: infinibrix View Messages Posted By infinibrix
 Posted: Aug 14, 2024 09:00
 Subject: Re: Time for another big re-numbering!
 Viewed: 83 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

infinibrix (5560)

Location:  United Kingdom, England
Member Since Contact Type Status
Jul 1, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: infinibrix
In hindsight all minifigs should have been given 4 number digits but also started
with 3 letters too in order to give everything continuity with less chance of
abbreviations already being taken should future themes need to be considered/implemented
 Author: randyf View Messages Posted By randyf
 Posted: Aug 14, 2024 11:40
 Subject: Re: Time for another big re-numbering!
 Viewed: 54 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

randyf (448)

Location:  USA, Ohio
Member Since Contact Type Status
Sep 16, 2009 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: The Bricking Spectre
In General, infinibrix writes:
  In hindsight all minifigs should have been given 4 number digits


In hindsight, all simple to use numbering systems ever created for organizing
data should have been done differently. In other words, almost all numbering
systems that are easy to use are not future proof. The way of the world has always
been as data needs change, data gets updated.

You can think of it like roadways. In hindsight, all of them should have been
made from the beginning with at least six to eight lanes, right? Nope. Roadways
are made for the traffic they have at the time and most of them are never future
proof.


  but also started
with 3 letters too in order to give everything continuity with less chance of
abbreviations already being taken should future themes need to be considered/implemented


The set of 2-character abbreviations plus the set of 3-character abbreviations
is always greater than just the set of 3-character abbreviations, so using 2-character
abbreviations allows for _less_ of a chance of things already being used, not
more.

Cheers,
Randy
 Author: runner.caller View Messages Posted By runner.caller
 Posted: Aug 14, 2024 11:51
 Subject: Re: Time for another big re-numbering!
 Viewed: 46 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

runner.caller (2852)

Location:  USA, South Dakota
Member Since Contact Type Status
Jan 18, 2014 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: A Minifig Galore Store
  In General, randyf writes:

  In hindsight, all simple to use numbering systems ever created for organizing
data should have been done differently. In other words, almost all numbering
systems that are easy to use are not future proof. The way of the world has always
been as data needs change, data gets updated.

I agree with this! You should see how messily numbered my inventory drawers are!

I've got:

A-008 thru A-263
B and C are trays that are no longer used.
D-0025 thru D-0152
E-001 thru E-360
F-01 thru F-48

and then a satellite bin of drawers called "Gateway" because the contents
originated from a Gateway computer box.

Gateway-1-1 thru Gateway-8-5
 Author: infinibrix View Messages Posted By infinibrix
 Posted: Aug 14, 2024 14:06
 Subject: Re: Time for another big re-numbering!
 Viewed: 58 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

infinibrix (5560)

Location:  United Kingdom, England
Member Since Contact Type Status
Jul 1, 2013 Contact Member Seller
Buying Privileges - OKSelling Privileges - OK
Store: infinibrix
In General, randyf writes:
  In General, infinibrix writes:
  In hindsight all minifigs should have been given 4 number digits


In hindsight, all simple to use numbering systems ever created for organizing
data should have been done differently. In other words, almost all numbering
systems that are easy to use are not future proof. The way of the world has always
been as data needs change, data gets updated.


That goes without saying but you are over analyzing the extremities of future
proofing when all that was really required here was a basic level of future proofing
however this was not really considered/implemented from the start (Not blaming
anyone for that) however 3 letters by 4 numbers would have covered almost all
situations and left us in a far better place than we are now!

Either way it’s a fine balance between future proofing but also not going over
the top with lengthy code references that are cumbersome to use and hard to remember.


  
  but also started
with 3 letters too in order to give everything continuity with less chance of
abbreviations already being taken should future themes need to be considered/implemented


The set of 2-character abbreviations plus the set of 3-character abbreviations
is always greater than just the set of 3-character abbreviations, so using 2-character
abbreviations allows for _less_ of a chance of things already being used, not
more.


But is it necessary and how many themes are we expecting? Even similar abbreviations
can be worked around many times over with more than enough different combinations.
System limitations elsewhere will start to rear there head well before we run
out of 3 letter combinations for use with minifig themes.
 Author: randyf View Messages Posted By randyf
 Posted: Aug 14, 2024 19:47
 Subject: Re: Time for another big re-numbering!
 Viewed: 61 times
 Topic: General
 Report:
Cancel Message
Cancel
Reply to Message
Reply
BrickLink
ID Card

randyf (448)

Location:  USA, Ohio
Member Since Contact Type Status
Sep 16, 2009 Member Does Not Allow Contact Seller
Buying Privileges - OKSelling Privileges - OK
Store Closed Store: The Bricking Spectre
In General, infinibrix writes:
  In General, randyf writes:
  In General, infinibrix writes:
  In hindsight all minifigs should have been given 4 number digits


In hindsight, all simple to use numbering systems ever created for organizing
data should have been done differently. In other words, almost all numbering
systems that are easy to use are not future proof. The way of the world has always
been as data needs change, data gets updated.


That goes without saying but you are over analyzing the extremities of future
proofing when all that was really required here was a basic level of future proofing
however this was not really considered/implemented from the start (Not blaming
anyone for that) however 3 letters by 4 numbers would have covered almost all
situations and left us in a far better place than we are now!


The nice thing about hindsight is it is always 20/20.

The heart of this site is still the work of one lone individual. He was an extremely
talented individual with great foresight on many things, but one person can only
do so much. That is why he had volunteers helping him to create the data behind
the site. Unfortunately, those volunteers did not have any standards to go by
and made them up as they went along. That is pretty typical for a fledgling business.


  Either way it’s a fine balance between future proofing but also not going over
the top with lengthy code references that are cumbersome to use and hard to remember.


Definitely.


  
  
  but also started
with 3 letters too in order to give everything continuity with less chance of
abbreviations already being taken should future themes need to be considered/implemented


The set of 2-character abbreviations plus the set of 3-character abbreviations
is always greater than just the set of 3-character abbreviations, so using 2-character
abbreviations allows for _less_ of a chance of things already being used, not
more.


But is it necessary and how many themes are we expecting? Even similar abbreviations
can be worked around many times over with more than enough different combinations.
System limitations elsewhere will start to rear there head well before we run
out of 3 letter combinations for use with minifig themes.


I agree, but the 2-character abbreviations were set in stone from the beginning
(e.g. sp* [Space], sw* [Star Wars], etc.) and many minifigures were added over
the years with 4+-character abbreviations (e.g. frnd* [Friends], coltlbm* [The
LEGO Batman Movie Collectible Minifigures], etc.). We definitely try to keep
it to three to make things easier. However, there was never a standard for how
it was done, and I can't say if there will ever be one.

Cheers,
Randy