News for hackers. Stuff that matters.
Re:California moves to exempt Linux from its age-verificatio... by lxe on Monday May 25, 2026 @05:27PM (#48271862)
Bold of you to assume that lawmakers have any common sense when it comes to technology legislation. It could have taken 3 interns 3 hours at each browser company to implement a cookie consent standard 15 years ago, yet here we are in cookie banner hell.
Re:California moves to exempt Linux from its age-verificatio... by Bender on Monday May 25, 2026 @05:35PM (#48271941)
I was referring to the intern being able to add the header. Politicians need financial incentive. I don't have the resources to lobby them. I think that might require a philanthropist should there happen to be one that lurks on HN. There are some interesting people that lurk here that we sometimes learn about.

They can't do anything today as it is a federal holiday but they could do something tomorrow.

Re:California moves to exempt Linux from its age-verificatio... by gsich on Monday May 25, 2026 @06:07PM (#48272527)
DNT exists, not even that is honored by websites. There is no need for a cookie banner for technical cookies.
Re:California moves to exempt Linux from its age-verificatio... by kube-system on Tuesday May 26, 2026 @03:35AM (#48276367)
DNT is deprecated by W3C, and browsers have been removing it
Re:California moves to exempt Linux from its age-verificatio... by daemin on Monday May 25, 2026 @10:39PM (#48274365)
Cookie banners exist because it is a dark pattern companies use to get you to opt into marketing cookies by making the easiest thing the worst choice.

This could all be handled by settings in the browser, only if the sites themselves listened to the users' browser preferences.

Re:California moves to exempt Linux from its age-verificatio... by vincnetas on Tuesday May 26, 2026 @12:44AM (#48275087)
Agree. Its like in some countries you put a sticker on the mail box "no advertisement, please" and its illegal tor postman to deliver you ad brochures. Same could have been possible with browsers, but oh no, now you have to go out to each postman ant tell him explicitly that you do not want ads, and postman has no memory, if you tel him that you don't want ads. He can come back ten minutes later and you have to tell him again.
Re:California moves to exempt Linux from its age-verificatio... by tyre on Tuesday May 26, 2026 @03:21AM (#48276260)
Fun fact: in the US, the Supreme Court ruled that postal workers cannot filter out mail by the owner’s request.

It makes a bit of sense, since the mailer had already paid, but the main justification (iirc; it was years ago that I read the opinion) was that a postal service should be neutral and trusted to deliver.

Re:California moves to exempt Linux from its age-verificatio... by tardedmeme on Tuesday May 26, 2026 @04:54AM (#48276997)
Fair enough. Most advertising isn't individually posted to each address because that's expensive - they hire their own guy, who isn't a postal worker, to go around and put it in everyone's mailbox. It's like paying one cent per email to prove it isn't spam.
Re:California moves to exempt Linux from its age-verificatio... by Geezus_42 on Tuesday May 26, 2026 @08:13AM (#48278661)
No, 99.9% of the mail I get is trash and is delivered by USPS. You can't even recycle most of it because of the paper they are printed on. It's a huge, disgusting waste of resources on multiple levels.
Re:California moves to exempt Linux from its age-verificatio... by dessimus on Tuesday May 26, 2026 @09:14AM (#48279395)
> It's a huge, disgusting waste of resources on multiple levels.

The companies on the ads wouldn't do it that way if they were not getting a positive ROI from it. They probably only need to get 2 maybe 3 new customers to offset the cost of mass mailings.

Re:California moves to exempt Linux from its age-verificatio... by tardedmeme on Tuesday May 26, 2026 @05:57PM (#48286569)
This isn't true. Proctor and Gamble cancelled $200m of advertising and saw no change in sales. And companies using AI are costing more money to produce worse quality stuff more slowly. Facts don't matter, only how well you can convince a CEO.
Re:California moves to exempt Linux from its age-verificatio... by dessimus on Tuesday May 26, 2026 @06:23PM (#48286809)
Most of my physical junk mail is from local businesses like Eye Doctors, Dentists, or Trades, not National Brands unless its a local franchisee.
Re:California moves to exempt Linux from its age-verificatio... by Geezus_42 on Saturday May 30, 2026 @06:23AM (#48334659)
I don't care if the are local or national. I don't want it, I'm not interested. Most of what I get is not local, it's credit card offers. There's also the fake missed package notices that are actually home warranty companies trying trick you into calling them.
Re:California moves to exempt Linux from its age-verificatio... by Geezus_42 on Saturday May 30, 2026 @06:19AM (#48334641)
I don't care. Its still garbage I didn't ask for that is now in my mailbox so I have to deal with it. They have plenty of other ways to advertise. Everywhere I turn in public there's more ads.
Re:California moves to exempt Linux from its age-verificatio... by metiscus on Tuesday May 26, 2026 @08:30AM (#48278876)
At least in the states, the postman is almost assuredly doing the end delivery of the mail, and is often given a stack of advert materials to mix into the delivery for a certain delivery area. The use of a mailbox by anyone who isn't a USPS employee delivering paid mail is prohibited by law. https://about.usps.com/news/state-releases/tx/2010/tx_2010_0...
Re:California moves to exempt Linux from its age-verificatio... by cool_dude85 on Tuesday May 26, 2026 @08:34AM (#48278916)
In the US it's illegal for someone who's not a postal worker to put things in your mailbox for exactly this kind of reason.
Re:California moves to exempt Linux from its age-verificatio... by 1718627440 on Wednesday May 27, 2026 @09:23AM (#48293945)
So you can't hand-deliver your letters and postcards? That's sad.
Re:California moves to exempt Linux from its age-verificatio... by d1sxeyes on Tuesday May 26, 2026 @05:05AM (#48277091)
Imagine a similar sticker saying 'service of papers is not permitted at this address'.

Should USPS be required to respect that owners wishes here?

Sensible decision I think.

Re:California moves to exempt Linux from its age-verificatio... by andyferris on Tuesday May 26, 2026 @07:25AM (#48278209)
Sure, the ISP _should_ deliver the packets. No worries.

The user agent should... be an agent for the user, and be able to perform actions on their behalf.

(The legality of those actions is of course assumed by the user here... if I add an automated flamethrower to my mailbox and burn my bills, well the debt collectors may come regardless if I read them or not - we cannot shift blame to the USPS here).

Re:California moves to exempt Linux from its age-verificatio... by SiempreViernes on Tuesday May 26, 2026 @07:30AM (#48278253)
Not terribly persuasive because the first argument could just as well be seen as the postal service selling a service it can't deliver.

The second argument has the problem that for the whole thing to work the recipient must also have reason to trust the post office, but here their interests are not considered at all.

Re:California moves to exempt Linux from its age-verificatio... by olalonde on Tuesday May 26, 2026 @04:04AM (#48276615)
Lawmakers should have foreseen this would be the consequence of the law and not have gone through with it.
Re:California moves to exempt Linux from its age-verificatio... by shakna on Tuesday May 26, 2026 @04:50AM (#48276958)
The law does mandate that opting out should be as easy as opting in. The choices are meant to be equal. It is simply that no one is actually compliant.
Re:California moves to exempt Linux from its age-verificatio... by olalonde on Tuesday May 26, 2026 @07:34AM (#48278306)
They could and should have foreseen this as well.
Re:California moves to exempt Linux from its age-verificatio... by jabwd on Tuesday May 26, 2026 @05:16AM (#48277168)
It is all in the law, the problem is enforcement. 99% of the cookie banners on the web you'll encounter are in fact illegal.
Re:California moves to exempt Linux from its age-verificatio... by theknarf on Tuesday May 26, 2026 @05:10AM (#48277125)
"Do Not Track" (DNT) is already a browser setting. It just doesn't enforce anything, nor does anyone respect it.
Re:California moves to exempt Linux from its age-verificatio... by bragr on Tuesday May 26, 2026 @11:17AM (#48280994)
To be fair, some cookie banners do automatically opt you out if you send DNT, but is not the standard for sure.
Re:California moves to exempt Linux from its age-verificatio... by whywhywhywhy on Tuesday May 26, 2026 @05:36AM (#48277308)
If sites don’t listen to user preferences why would the cookie banner listen to my consent.

Ultimately there’s no good excuse for the banner solution.

Re:California moves to exempt Linux from its age-verificatio... by daemin on Wednesday May 27, 2026 @12:34AM (#48289689)
Because the site (or marketing agency in charge of the ads) has plausible deniability for the user opting into marketing and tracking when they show a banner, whereas if it's a browser setting automatically applied then there's no such chance.

Same sort of thing when you log into Wizzair and the check box below the password field is not "remember me" but "subscribe to our marketing emails".

Re:California moves to exempt Linux from its age-verificatio... by arendtio on Wednesday May 27, 2026 @03:14PM (#48299060)
Yes, the data protection people are always blamed for the banners when, in fact, the marketing people are responsible.

If you build a website without all that tracking stuff and without 'free' services from the data collection companies Google and Facebook, then you have a pretty good chance of not requiring a banner at all, because for logins, etc., you are allowed to use cookies et al. without requiring an opt-in.

But I never saw anybody at the OMR being proud about the state of cookie banners they created...

Re:California moves to exempt Linux from its age-verificatio... by kqp on Monday May 25, 2026 @10:46PM (#48274400)
This is misinformation stemming from disinformation propagated by organized industry retaliation to the law. Cookie banners are not and never have been required by law, they are intentional harassment designed to make users oppose laws that actually just say “you may not track users without their consent”. A good faith implementation would be simply nothing, because no explicit consent is required when you’re actually using cookies for honest purposes.
Re:California moves to exempt Linux from its age-verificatio... by AnthonyMouse on Tuesday May 26, 2026 @12:46AM (#48275105)
All of the cookie banners have separate categories for strictly necessary, functional, performance and marketing, because those come from the law.

The problem is that people generally want functional and often performance cookies, and then you end up with the stupid cookie banner regardless of marketing cookies.

Re:California moves to exempt Linux from its age-verificatio... by kqp on Tuesday May 26, 2026 @01:53AM (#48275542)
Strictly necessary cookies don’t require explicit consent, and generally can’t be rejected. Functional cookies don’t require additional explicit consent if you actually use that function. “Performance” actually refers to analytics, probably rebranded because users did not want it. Making you think they had to ask for the reasonable cookies, too, is the whole trick being pulled here.
Re:California moves to exempt Linux from its age-verificatio... by AnthonyMouse on Tuesday May 26, 2026 @05:50AM (#48277400)
> Functional cookies don’t require additional explicit consent if you actually use that function.

To not be indistinguishable from "strictly necessary" there would have to be a case where the "functional cookie" actually required consent, right? What case is that and how would you solicit that consent other than some kind of cookie banner?

> “Performance” actually refers to analytics, probably rebranded because users did not want it.

It refers to statistics, but sometimes you do want that, e.g. so the site can tell you how long it took you to do something compared to the average user, or provide those analytics to you. And the fact that this is ambiguous is an obvious problem -- if you get access to the data they collect is that "analytics" or "functional"?

In the face of an ambiguity, most corporate bureaucrats are going to take the risk-averse option, which is to ask for consent in case it turns out to be adjudicated as required ex post facto. The result is quite predictable. If you pass a poorly drafted law, businesses have a general preference for doing something stupid/wasteful/annoying over something that could get them sued or fined.

Re:California moves to exempt Linux from its age-verificatio... by kqp on Tuesday May 26, 2026 @11:13AM (#48280949)
> To not be indistinguishable from "strictly necessary" there would have to be a case where the "functional cookie" actually required consent, right?

The case is when you don’t use that feature.

> how would you solicit that consent other than some kind of cookie banner?

Using the feature that requires the cookie is considered consent, same as using the website is considered consent to set cookies actually necessary for the entire website to function. For example, if you click “save settings”, that’s consent to save those settings, there’s no need for a “but am I allowed to save settings?” popup.

You might be tempted to dive into the potential grey area here, and sure, one exists, but (a) that’s why the laws go into 1,000 times more detail than this HN comment, (b) most of it’s not in the grey area, and (c) even in the worst case, making 100% sure is as easy as a checkbox before the button that activates the feature, there’s never a requirement for a blanket “can we do whatever we want” before even displaying the homepage.

> It refers to statistics, but sometimes you do want that, e.g. so the site can tell you how long it took you to do something compared to the average user, or provide those analytics to you. And the fact that this is ambiguous is an obvious problem -- if you get access to the data they collect is that "analytics" or "functional"?

The GDPR calls it “statistics”, but in this context defines the word to mean analytics, not statistics shown to users. If it’s shown to users then it’s either strictly necessary or functional.

> In the face of an ambiguity, most corporate bureaucrats are going to take the risk-averse option, which is to ask for consent in case it turns out to be adjudicated as required ex post facto. The result is quite predictable. If you pass a poorly drafted law, businesses have a general preference for doing something stupid/wasteful/annoying over something that could get them sued or fined.

Businesses are generally risk averse, yes, but don’t mistake knowing a force at play for knowing them all. The “cookie consent banner” was invented and evangelized not by the laws they’re commonly believed to have sprung from but by the IAB, an ad industry consortium counting Google, Facebook, and many others as members. The same organization that organized efforts to prevent third party cookie blocking, and that tried to block the GDPR entirely. The banner norms they created did not even comply with the law until changes a few years ago, the EU just took its sweet time on enforcement.

The average small business, of course, is not in on some grand scheme, but this is where your risk aversion comes in: if all the big players are doing something, and everybody around you is doing it, and you Google it and the first 20 results all say to do it, then the risk averse move is of course to just do it and move on. After all, trusting your own judgement is scary, what if you get sued or fined?

Re:California moves to exempt Linux from its age-verificatio... by 1718627440 on Wednesday May 27, 2026 @09:30AM (#48294072)
The category is "strictly necessary and functional" not "strictly necessary" and "functional".
Re:California moves to exempt Linux from its age-verificatio... by SoftTalker on Tuesday May 26, 2026 @12:06AM (#48274853)
Tech companies could have headed off this legislation 15 years ago by just solving the problem as Bender suggested. But they wanted to pretend they had no social responsibility to not deliver filth to children, and so now the legislators are involved and they get to deal with that. I have no sympathy.
Re:California moves to exempt Linux from its age-verificatio... by ClikeX on Tuesday May 26, 2026 @03:16AM (#48276223)
Here's one thing Apple did well on. Their screentime settings also work in the browser. It could be better, but at least it's something if you set up your kids device properly.
Re:California moves to exempt Linux from its age-verificatio... by compass_copium on Tuesday May 26, 2026 @08:16AM (#48278703)
I had a teen whose main device was an iPad 4ish years ago and now a tween whose main device is a Windows laptop. I like Windows' implementation better--it's more granular when it comes to site access on Edge, and allows time limits in specific programs rather than categories of apps. I remember some apps that were clearly games had themselves listed as education apps.
Re:California moves to exempt Linux from its age-verificatio... by ClikeX on Wednesday May 27, 2026 @06:15PM (#48301514)
You can do specific apps on Apple too, though. You can select the entire category, or expand it and select individual apps.
Re:California moves to exempt Linux from its age-verificatio... by LtWorf on Tuesday May 26, 2026 @12:07AM (#48274860)
Most of those banners are in violation of GDPR. The law isn't necessarily the problem, although it could have been done better.
Re:California moves to exempt Linux from its age-verificatio... by LtWorf on Tuesday May 26, 2026 @04:57AM (#48277024)
As always, downvoting me doesn't change the legality of those banners. The law clearly states the "deny all" button must be as prominent as the accept button, and the banners employ all sort of dark patterns.
Re:California moves to exempt Linux from its age-verificatio... by d1sxeyes on Tuesday May 26, 2026 @05:09AM (#48277123)
I don't think 'the law' does clearly state that, although I'd be happy to be proved wrong, and honestly it's a point of pedantry, the enforcement indicates that you're right about the actual expectation, and definitely you're right about the actual usage.
Re:California moves to exempt Linux from its age-verificatio... by 1718627440 on Wednesday May 27, 2026 @09:38AM (#48294183)
> 8. When authorities were asked whether they would consider that a banner which does not provide for accept and refuse/reject/not consent options on any layer with a consent button is an infringement of the ePrivacy Directive, a vast majority of authorities considered that the absence of refuse/reject/not consent options on any layer with a consent button of the cookie consent banner is not in line with the requirements for a valid consent and thus constitutes an infringement. Few authorities considered that they cannot retain an infringement in this case as article 5(3) of the ePrivacy Directive does not explicitly mentioned a “reject option” to the deposit of cookies.

https://www.edpb.europa.eu/system/files/2023-01/edpb_2023011...

Also the law doesn't require anything to be done by the user to reject cookies, to begin with, as that is the default state. I often just delete the cookie dialog from the DOM.

Re:California moves to exempt Linux from its age-verificatio... by d1sxeyes on Wednesday May 27, 2026 @04:04PM (#48299793)
I agree with all the points here, but the task force report is not law, and this is not “clearly stated” (this specific phrase is fine, but the rest of the document is full of disclaimers).

It’s a useful guide on how the law is likely to be interpreted, and likely influences the interpretation itself, but my inner pedant is not satisfied.

Re:California moves to exempt Linux from its age-verificatio... by 1718627440 on Wednesday May 27, 2026 @06:33PM (#48301680)
Yeah, it was the closest I could find, but I don't really care that much to search the actual laws. I would expect it to be true, it's basically what you hear in the news and all the advise says that you should do that, when you create a GDPR-compliant website.
Re:California moves to exempt Linux from its age-verificatio... by d1sxeyes on Wednesday May 27, 2026 @11:05PM (#48303934)
> Yeah, it was the closest I could find

Yeah, me too, which is why I challenged OP on the claim that it's 'clearly stated'.

Re:California moves to exempt Linux from its age-verificatio... by LtWorf on Wednesday May 27, 2026 @03:48PM (#48299577)
Going in "reading" mode in firefox also works in many cases.
Re:California moves to exempt Linux from its age-verificatio... by ClikeX on Tuesday May 26, 2026 @03:06AM (#48276153)
Like how browsers made a do-not-track feature that got ignored by websites because there was no consequence?
Re:California moves to exempt Linux from its age-verificatio... by olalonde on Tuesday May 26, 2026 @04:00AM (#48276576)
Browsers can literally chose not to store cookies... There is no need to bring trust in the equation.
Re:California moves to exempt Linux from its age-verificatio... by freehorse on Tuesday May 26, 2026 @07:50AM (#48278432)
Can browsers know which cookies are necessary for a site functioning, logins, etc and which are for tracking, ads etc? There are many ways one can eg block third party cookies and that helps and rarely causes issues, but tracking can also be done with first party cookies, let alone fingerprinting.

For example, firefox's "strict tracking protection" setting also breaks a bunch of websites.

Re:California moves to exempt Linux from its age-verificatio... by 1718627440 on Wednesday May 27, 2026 @09:29AM (#48294045)
There are some browsers, that implement it like it was originally intended and asks the user for each cookie individually: Do you want to store "PHPSESSIONID=12345"? -> Yes. Do you want "AdTRackingID..." -> No. Do you want "AWStelemtry..." -> No, and reject all further.

Midori is an example for a graphical one, while there is Lynx for the terminal.

Re:California moves to exempt Linux from its age-verificatio... by miki123211 on Tuesday May 26, 2026 @11:28AM (#48281133)
Most laws make a distinction between cookies stored for "technical purposes" and those stored for marketing / tracking.

The former are things like "does the user want dark mode", the language you chose to use the website in, the contents of your cart, your login info etc. The latter are for tracking. Typically, the former don't need consent, the latter do. Browsers have no way of telling the two apart.

Re:California moves to exempt Linux from its age-verificatio... by axelthegerman on Tuesday May 26, 2026 @05:21AM (#48277201)
Also should have been easy to design an OAuth like flow where the government that seems to care so damn much about age verification to attest someone's age in a privacy respecting way - only yes/no if the person is of the desired age.

But then again if it was to protect children, better support for voluntary age control would be so much more useful as most minors use devices managed/owned by their parents.

But then similar to cookie banners it is just about enabling surveillance

Re:California moves to exempt Linux from its age-verificatio... by akdev1l on Tuesday May 26, 2026 @08:50AM (#48279103)
You can brute force the real age this way.

Do binary search and you don’t even need that many calls.

1. Is person older than 50? 2. Older than 25? 3. Older than 18? 4. Older than 9? 5. Younger than 14? 6. Older than 16?

Re:California moves to exempt Linux from its age-verificatio... by Joker_vD on Tuesday May 26, 2026 @09:03AM (#48279250)
Yeah, that's why the EU-designed API doesn't work that way.
Re:California moves to exempt Linux from its age-verificatio... by no_wizard on Tuesday May 26, 2026 @10:39AM (#48280495)
In the US all the age verification legislation is written by data broker companies that want to mine this data. The government also wants to be able to have access to this information by proxy.

It’s not written the way it’s written because they’re oblivious it’s written the way it’s written because it’s plain lobbying writing the bill.

For example, there’s little in the way of protections in how the age verification would be protected or prevent the analytics from being sold

Re:California moves to exempt Linux from its age-verificatio... by miki123211 on Tuesday May 26, 2026 @11:25AM (#48281100)
How do you know?
Re:California moves to exempt Linux from its age-verificatio... by vetrom on Tuesday May 26, 2026 @01:05PM (#48282557)
Take the volume and mass of lobbying by all of data broker companies, data collection companies, and executive agencies.

Combine that with the character of practically every law written involving data privacy, use, IP, and associated regulation of activity around these since the 1990s. It becomes painfully clear that the interests of private citizens have not had a seat at the table, and the Constitution has been taken as an inconvenience to bypass, not a guiding document.

Re:California moves to exempt Linux from its age-verificatio... by mentalgear on Wednesday May 27, 2026 @04:15AM (#48291227)
There actually is/was a "Do not Track" header in browsers, but due to failing or toothless legislation, websites and ad-tech companies never honored it.

It's our duty as informed persons to educate the general population to exert pressure on policy makers to act in the common good - otherwise indeed nothing will change but increasing corruption.