News for hackers. Stuff that matters.
Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by karmanyaahm on Tuesday October 12, 2021 @09:11AM (#28839206)
I don't understand how this works, but shouldn't it be as simple as NumAvailable = NumIn - NumSold - NumDamaged?

NumSold and NumIn are ofc eady to keep track of, and NumDamaged could just be like a portable barcode scanning device that the staff scans with whenever putting away a broken item.

Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by michael1999 on Tuesday October 12, 2021 @09:28AM (#28839382)
You forgot NumStolen, NumPickedUpAndDroppedElsewhere, and NumEatenBySquirrels. Shrinkage is relentless.
Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by ethbr0 on Tuesday October 12, 2021 @11:48AM (#28841190)
If the world were a deterministic computer system, yes.

It is not.

For instance, NumIn would indicate how many received at the store, no? But what then?

It needs to physically exist somewhere. The display? Overflowing onto the overhead? Overflowing onto the next overhead over? Pushed to the back of the overhead behind something else? Kept in the back because there's no room anywhere?

For 10,000+ different products or so per store.

Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by capitainenemo on Tuesday October 12, 2021 @09:25AM (#28839351)
Stolen, moved around in store by customer, put in the front special deal display..
Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by ghaff on Tuesday October 12, 2021 @09:29AM (#28839413)
A lot of stores used to do things like close for part of a day to do inventory. I assume there is still some syncing up during the night or whatever. But I also assume that, as with many things, many stores have probably been willing to trade off a degree of accuracy for reduced costs.
Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by SAI_Peregrinus on Tuesday October 12, 2021 @08:45PM (#28846913)
They still do, but it usually only happens a few times per year.
Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by jamincan on Tuesday October 12, 2021 @09:25AM (#28839342)
NumStolen, NumScannedAsOneThingButActuallyAnother, NumLost...
Re:The Home Depot Teams Up with Walmart to Expand Same-Day a... by tapatio on Tuesday October 12, 2021 @05:13PM (#28845161)
And numStolen.