Live data from Hacker News

QR-style codes could replace barcodes 'within two years'

theguardian.com

51–59 of 59 posts

Re: QR-style codes could replace barcodes 'within two years'

#51

Earlier quoted context omitted.

You've got it backwards -- it's a 25-refill minimum, not limit. And what do entrepreneurs care? They send the bottles back to Coca-Cola regardless. The Coca-Cola truck comes, picks up crates of empty bottles and drops off crates of full bottles. From the way it's written, it sounds like it's a tool for Coca-Cola to track bottle usage, to separate bottles into separate streams for reuse and now-can-be-recycled.

Ah, I thought this was for customers to get free refills.

[deleted]

Re: QR-style codes could replace barcodes 'within two years'

#52

Earlier quoted context omitted.

Plastic bags make sense when people are carrying all their groceries on foot from the store to their homes. If the same people had to put their groceries in a car to be jostled about, I bet they wouldn't like their liquids in bags that can leak and leave a mess in their expensive cars. I think a lot of people like glass, but I haven't seen a recycler want it in a long time. So is it more responsible to buy glass that…

> but I haven't seen a recycler want it Perhaps that is a US problem, in Europe glass recycling is fairly Universal at all recycling centres and most neighbourhood streets have below ground waste containers for glass. At least in my reality the issue is that Retailers have virtually eliminated glass alternatives from supermarket shelves. Other than beer/wine and some 1.5L juice bottles, pretty much everything else is…

Capitalist enterprises look for the cheapest option, unless the consumer demands otherwise. Bottles are heavy and fragile, which means increased transportation costs and losses. If consumers demanded glass, they'd charge us a premium and happily provide glass, and make a profit off our demand.

Organic food is a perfect example. They incur more losses and operations are more expensive, but they charge a premium and profit from our demand. In other cases they remove harms when it threatens their profits. Antibiotics, rBST, etc in milk are scary, so milk producers remove them and advertise they're now less bad for us, so we buy that milk more.

But in order for those cases to happen, consumers had to demand the product change. And the only reason consumers demanded it was fear. They were afraid they were being poisoned, so they demanded change; producers feared for their profits, and made changes.

Sadly, consumers don't give a shit about the environment. If they did they would have demanded an end to disposable plastics decades ago, when it was widely known the kinds of pollution the packaging was causing. We didn't care then, we don't care now. Not enough to act, anyway.

But luckily, and kind of amazingly, "Government" is doing what it's supposed to do. Very slowly, laws are being passed at local and state level to set deadlines to curtail or eliminate disposable products. Sometimes the laws have no teeth, but it's a step in the right direction (even if it does take decades to take effect). But lobbyists will fight this and try to convince consumers the change is bad, so the companies don't have to spend money to change.

If consumers want the change to happen soon, they must demand it themselves. They do it when they're afraid just fine; waiting for them to be afraid enough may be too late.

Re: QR-style codes could replace barcodes 'within two years'

#53

Earlier quoted context omitted.

> GUID [...] smallest possible scenario They don't need an ID that won't collide with anything else in the universe, they need an ID that won't collide with other bottles. If we estimate 2^37 bottles per year (137 billion) then a minimal tracking number is about 40 bits, a couple more at most. What's the use case for a signature?

> that won't collide with other bottles You can generate these trivially. If that bottle id is 100, next would be 101. With 128 bit numbers it's unlikely anyone ever guess an id without seeing it. Less bits - more collisions. Maybe some other number of bits will work Regarding signature - offline verification, simple self-sustained checker can confirm that bottle is indeed valid one (can't count refills globally thou…

Yes I can guess an ID. So what? I don't understand the threat model here.

But if the goal is effectively unguessable, 64 bit numbers would be fine. That's less than a one in a million chance of guessing an ID, so trying to guess is harder than just looking at some real bottles and copying their numbers.

> simple self-sustained checker can confirm that bottle is indeed valid one

Unless the number was copied.

Re: QR-style codes could replace barcodes 'within two years'

#54

Earlier quoted context omitted.

Glass beverage bottles are unpopular in the US too, but at least in places I've lived the recyclers don't want glass anymore. I think the only commercial glass recycling that is energy-efficient (that is, competitive with using plastic) is bottle washing. If you buy beer, wine, or anything else in glass here, which is not exactly rare, you usually have to just throw the bottles away. I would be interested to know if…

As far as I understand, if you return glass into a recycling centre or to waste management anywhere here it will always be for cullet glass. Bottle washing here only happens if you return the bottles at a supermarket or other retailers, who then return it (unbroken) to the original manufacturer.

I haven't tried turning it in at a recycling center. That seems more likely to work. I was talking about roadside and public recycling bins, which don't seem to welcome glass anymore.

Re: QR-style codes could replace barcodes 'within two years'

#55

Earlier quoted context omitted.

> but I haven't seen a recycler want it Perhaps that is a US problem, in Europe glass recycling is fairly Universal at all recycling centres and most neighbourhood streets have below ground waste containers for glass. At least in my reality the issue is that Retailers have virtually eliminated glass alternatives from supermarket shelves. Other than beer/wine and some 1.5L juice bottles, pretty much everything else is…

Capitalist enterprises look for the cheapest option, unless the consumer demands otherwise. Bottles are heavy and fragile, which means increased transportation costs and losses. If consumers demanded glass, they'd charge us a premium and happily provide glass, and make a profit off our demand. Organic food is a perfect example. They incur more losses and operations are more expensive, but they charge a premium and pr…

I don't share your anti-capitalist takes. You act as if everyone always knew this was a serious problem, and to some extent I think you're overstating the problem. Plastic is somewhat bad for us and the environment but it is also hugely beneficial and cost-effective. The solution to our ills is most likely to come in the form of a biodegradable polymer rather than glass bottles and metal cans.

>If consumers demanded glass, they'd charge us a premium and happily provide glass, and make a profit off our demand.

That is exactly what happens now. You can get soda and beer in glass but it costs more. Bottled wine costs more than similar boxed wine. I'm sure there is a small difference with many other products too.

>Sadly, consumers don't give a shit about the environment. If they did they would have demanded an end to disposable plastics decades ago, when it was widely known the kinds of pollution the packaging was causing. We didn't care then, we don't care now. Not enough to act, anyway.

They do care but plastic has been recycled for decades now. Perhaps it is not the most recyclable material but lots of consumers are on board with some kind of recycling system, and reuse plastic stuff in their own lives outside of commercial recycling.

>Very slowly, laws are being passed at local and state level to set deadlines to curtail or eliminate disposable products.

On this subject, paper straws are the worst and have been proven to exude toxic chemicals. To add insult to injury, you have to store them in plastic wrappers to be sure they stay dry.

Reducing the amount of plastic in use is generally a low priority for government. It's a slow problem with many solutions that don't involve banning things.

>They do it when they're afraid just fine; waiting for them to be afraid enough may be too late.

There's not an obvious "too late" for plastic. It's a slow problem. Even the seemingly huge amount of plastic out there can be picked up and handled in various ways. The bigger issue is the microplastics that are difficult to collect. The idea that you can drive up to buy a $7 drink in a plastic cup with a plastic lid, and be refused a straw that actually works, really pisses people off. There are much more important forms of pollution that could be addressed, like the artificial chemicals and pesticides in our food.

Another example of a bad policy is the ban on plastic bags. While this might make sense sometimes, every time someone forgets their bags or even runs out of bags unexpectedly during checkout, they end up buying bags anyway. The bags for sale are often restricted to the heavy reusable kind, which are made as cheap as possible for the occasion and are not attractive or durable enough to be saved indefinitely. These bags have been found to generate more waste in some cases than letting people do what they think is right. A lot of people use the ordinary thin plastic bags around the house until they fall apart anyway, and some stores collect them for recycling as well.

Re: QR-style codes could replace barcodes 'within two years'

#56

Earlier quoted context omitted.

> that won't collide with other bottles You can generate these trivially. If that bottle id is 100, next would be 101. With 128 bit numbers it's unlikely anyone ever guess an id without seeing it. Less bits - more collisions. Maybe some other number of bits will work Regarding signature - offline verification, simple self-sustained checker can confirm that bottle is indeed valid one (can't count refills globally thou…

Yes I can guess an ID. So what? I don't understand the threat model here. But if the goal is effectively unguessable, 64 bit numbers would be fine. That's less than a one in a million chance of guessing an ID, so trying to guess is harder than just looking at some real bottles and copying their numbers. > simple self-sustained checker can confirm that bottle is indeed valid one Unless the number was copied.

> Yes I can guess an ID. So what? I don't understand the threat model here.

can print fake cola codes for infinite refills :) and some other genuine cola buyer will be very angry because their mint-condition bottle already used up. Also, "one in a million" assuming this tech is only being used by this specific product. if anyone else is going to use the same schema for anything else, numbers will dry up much faster. bringing oats as valid cola bottle is funny. if you add prefix, it'll eat up these sweet sweet bytes

also, 1/million is not that much - you can spam online check api (and you need one with just IDs) to filter out existing ones. All in all 64-bit or so IDs have too many downsides to consider them useful, one simple misstep and the whole model is broken

> Unless the number was copied.

yep, also used up by different device

Re: QR-style codes could replace barcodes 'within two years'

#58

We need to decentralize barcodes by treating product lookups as a URL, with metadata as query parameters. This way GS1 can operate much differently.

But the barcode is primarily encoding a unique handle to the item for purposes of communication between parties and systems (e.g. the thing that I just scanned as I placed it in the shipping container is thing X not thing Y).

It doesn't seem like a url is serving the same purpose, unless you are thinking that the url itself is the unique handle (and it's not actually used for a request, it's just a unique identifier).

Re: QR-style codes could replace barcodes 'within two years'

#59

Earlier quoted context omitted.

Yes I can guess an ID. So what? I don't understand the threat model here. But if the goal is effectively unguessable, 64 bit numbers would be fine. That's less than a one in a million chance of guessing an ID, so trying to guess is harder than just looking at some real bottles and copying their numbers. > simple self-sustained checker can confirm that bottle is indeed valid one Unless the number was copied.

> Yes I can guess an ID. So what? I don't understand the threat model here. can print fake cola codes for infinite refills :) and some other genuine cola buyer will be very angry because their mint-condition bottle already used up. Also, "one in a million" assuming this tech is only being used by this specific product. if anyone else is going to use the same schema for anything else, numbers will dry up much faster.…

> can print fake cola codes for infinite refills

You misunderstood what kind of "refills" are being talked about here.

> Also, "one in a million" assuming this tech is only being used by this specific product. if anyone else is going to use the same schema for anything else, numbers will dry up much faster. bringing oats as valid cola bottle is funny. if you add prefix, it'll eat up these sweet sweet bytes

I completely disagree with how you're using numbers here. Whether a number is a valid coke ID has no relation to whether it's a valid oats ID.

The thing the ID is attached to already acts like a prefix, while costing 0 bits.

The only way this could possibly make a difference is if you're scanning through hundreds of thousands of other packages and checking if their numbers happen to be a valid coke ID so you can cut it out and stick it on a coke bottle, all to avoid printing it yourself. That sounds unlikely. In particular you still need to check every number, so you're basically using other packages as a very very slow RNG to save two cents of printing costs.

> also, 1/million is not that much - you can spam online check api (and you need one with just IDs) to filter out existing ones

Mass-spamming an API that has even the slightest of anti-spam measures is a pain in the ass, especially if you want more than a couple IDs. The threat of "just find one of the many billions of real bottles and copy the ID off it" is always there, so if technical attacks are orders of magnitude harder then they don't matter.

Post reply on HN