skysight-inc/HackerNews huggingface dataset:
"It depends".

If it's merely a hint for the user (did you make a typo?) there's no need to ensure "this is a valid email address". in fact: foo@gamil.com is perfect valid email-address, but quite likely (though not certain!) not what the user meant.

I've seen hundreds of email-adres-format-validations in my career, server-side. The most horrible regexps, the most naïve assumptions[1]. But to what end?

What -this is a question that a domain expert or business should answer - does it matter if an email is valid? trump@whitehouse.gov is probably valid. As is i@i.pm[2]. What your business- expert quite likely will answer is something in line of "we need to be sure we can send stuff so that the recipient will can/read it", which is a good business constraint, but one that cannot be solved by validating the format of an email. One possible correct "validation" is to send some token to the email, and when that token is then entered, you -the business- can be sure that at least at this point in time, the user can read mail at that address.

[1] A recent gig was a Saas where a naïve implementor, years ago, decided that email-addresses always had a TLD of two or three letters: .com or .us and such. Many of their customers now have .shop or somesuch.
[2] Many devs don't realize that `foo` is a valid email-adress. That's foo without any @ or whatever. It's a local one, so rather niche and hardly used in practice; but if you decide "I'll just validate using the RFC, you'll be letting through such addresses too!". Another reason not to validate the format of email: it's arbitrary and you'll end up with lots of emails that are formatted correct, but cannot be used anyway.
EU laws don't expand beyond EU. EU consist about 5% of the population, 95% can have whatever they like. Yes, there's Brussels effect but that effect work when the trouble of designing or producing something else is not worth it.

Also, you are not banned from engineering other solutions. The police isn't going to knock on the doors of engineers who are suspected to develop better charging cables :)
They must no doubt have this internally
On my Google phone, if I try to edit a reminder through the GUI, it refuses to show me a screen to edit the reminder. Instead, it spends several seconds loading the voice assistant, which then eventually asks aloud what I would like to change. It's been like that ever since they started pushing the assistant stuff harder, whenever that was.

If they've fixed that, then I'll be happy. I never did like my phone suddenly yelling at me in otherwise quiet places.
To prevent against a evil maid attack you would need to encrypt your drive

In case of a malfunction, you risk loosing all your data

Threat actors and law enforcement can bypass it

UEFI threats moving to the ESP: Introducing ESPecter bootkit https://www.welivesecurity.com/2021/10/05/uefi-threats-movin...
This needs to be made. I am often contemplating writing down my startup story which almost killed me (ambulances with sirens, multiple times) and then failed. I really think people should document the actual stories.

Also kitchen nightmares/hotel hell for companies. It would be a hit, but without the woke American additions; just go full Ramsey UK style.
I don't understand the rationale. Does the EU not have a free market where consumers can choose what they pay for? If lightning connector is an important enough issue for someone they can choose not to buy an iPhone. There are n number of alternatives available in the market, unlike the software ecosystem situation.
What Julian Assange Was Doing
Any troubles with reading comprehension?
"You have to use my designated charge port on your own device with your own adapter and change your own designs for that if you want to sell your device. We don't care if it's a step backwards in terms of design and internal space where every cubic millimeter is utilized."

Not to defend Apple or anything but EU is being the mafia here.
New Brain Network Connecting Mind and Body Discovered
Ambiguity in conversation leads to problems every day. Leisurely reading is another world entirely.
Stop with the FUD. I know you have a big imagination but the reality is that I can side load apps on Android, and all the big companies that push me t install their apps are using the official store and I never see random websites showing fake links to banking apps.

Guess what apps I have to side load, the apps the Stores do not allow, like Huawei app for my solar panels(iOS users will have to use the website since no side loading for them).

Please other Android users, can you help to fight this FUD? why did you side load apps? Do you see fake links to fake banking of FB apps? Did some big website pushed you to side load their app instead of an app from the store ?
I’m all for some kind of universality, but this authoritarian method does not strike me as a good idea. You lament their concern with fairness, by giving unfair advantages to the USB-C license holders/patent holders?

I’m not even sure people understand that Apple also contributed heavily to the development of USB-C along with other companies, some of them European.

The irony is that I believe the Lightning Connector, the iPhone connector, has been the longest standing standard connector (11 years now) and the introduction of the Qi “wireless charging” is also a good argument against this narrow sighted EU authoritarian/communist mentality that some apparatchiks can make better decisions than those who actually do and create things.

Has someone actually asked Apple to lay out its reasons for not adopting the larger and bulkier USB-C? Could it be that it has something to do with trying to engage in economic warfare against Apple because it’s harder to compete?
I remember growing up puzzling over some of these corners of the OS I’d didn’t understand. I understood it’s purpose but not how it worked. The ODBC configs in Control Panel was another one. I didn’t know at the time it would be 10-20 years before some of my curiosities were satisfied.
GreenMwizi – Kenyan scamming campaign using Twitter bots
This https://github.com/s1dlx/sd-webui-bayesian-merger
Let’s stop using the ‘side loading’ euphemism and just call it ‘loading’. Let us load our own code.
Or just good old fashioned blood letting.

https://en.m.wikipedia.org/wiki/Bloodletting
What does strongly consistent have to do with liveness? If there's a connection it seems pretty indirect.
Google Maps has an auto mode on Android.

Well, if you set a destination and start the trip, it shows a big X button at the bottom, to stop the trip.

Guess what loads slowly and goes in the location of the big X button?

You guessed right, the Google voice assistant, which I don't use.

They're really pushing the voice assistant.
Not really: following public standards will never be seen as unfair. So a manufacturer merely implementing USB-PD 5.0, which allows for 2 megawatt via water-cooled copper, to fast-charge their devices is in the clear.
China's biggest enemy is the CCP.

The CCP experimented with free markets just enough to diagnose them as a threat. But then, everything they don't absolutely control is a threat --- even their own people.

They are locked in perpetual conflict with the inherent nature of their own people. This a danger to themselves and the rest of the world.
Analytics are widely used in communication departments in European enterprise, and where that previously was very often Google Analytics, it’s hard to use it because of Google’s inability/unwillingness to change their enterprise targeting business model to be GDPR compliant. I’m not personally convinced you really need an analytics tool in most European communications departments. As long as saying something like that is akin to heresy, however, I think it’s safe to say that a lot of people are interested in alternatives to Google Analytics.

It’s likely not just in Europe anymore. Privacy seems to be a tend that is on the increase everywhere. But as I understand it, things move to the top of HN if they are interesting to a lot of people, and privacy is interesting to a lot of people these years. Not just to the “nerds” either, at least I tend to see more and more discussion on it outside of tech circles. In the EU specific you do have the very real “motivation” of dropping Google Analytics because using it puts you in the lovely area of breaking the law.
> If USB-C is mandated, there will never be a newer standard to replace it,

The law has a reevaluation period of five years. Basically lawmakers and industry representatives will convene every five years to see if a new connector should be mandated. We already know that this works, because the entire industry excluding Apple had been doing it from the day the EU first told everyone to clean up their mess "or else".
FWIW, I felt the same, and taking a few months off helped me tremendously. Not that I'm fully healed or anything, but it gave me some new perspectives, and it feels like I've regained some of my mental health.
Some people definitely do fixate (and derive a sense of purpose, whether that's good or not) from perpetual productivity improvement – I think this is why online productivity and life hack gurus are so popular.

But for some, it's all about looking like they care about productivity because that's what their job or manager expects. Certainly this was the case for me. Throughout my twenties, I pushed myself to be more "productive" in my career because I thought I had to look like a go-getter to the people who paid me. I put in extra hours and effort, and even enrolled in an online university course to further expand my skills (resulting in me having next to zero free time!).

I still like to work hard and do good work, but I no longer push myself to be very good at everything I do. "Competent" is my aim. Doing my paid work to a standard that is "good enough" is not only easier on my stress levels, but my managers continue to report satisfaction with my work.
That’s super interesting.
Perhaps this is really just an indication that CEOs are, generally speaking, incredibly bad at remote work, and shouldn’t be allowed to do so. For the sake of company profits, which is one of the few things more important than a CEO.

WeWork as an idea could be updated. Refined.

Provide execs with a day care situation. Fancy meeting rooms, little snacks, speakerphones for conference calls. (The calls don’t have to involve real employees, so work can happen!) Maybe someone to offer massages, since it is just so stressful being in charge. Fancy chefs so nobody has to leave for lunch.

Once the day is over, executive assistants can pick up their charges.
You missed my point, I'm afraid.

I meant that it very much depends on the business-case (and hence laws and regulations) what exactly you'll have to verify, and therefore where you verify and validate it.

Do you need an address to contact people on? You'll must make sure that the user can read the emails sent to that by you. Do you merely use it as a login-handle? Then it probably only has to be guaranteed unique. Do you need to just store it in some address-book? Then just checking roughly the format is probably enough. "It depends".
I feel like the first paragraph - What is React Aria Components? - explains it pretty well.

It's a set of unstyled components components for common UI patterns, with accessibility, internationalization, interactions, and behavior built in, allowing you to focus on your unique design and styling rather than re-building these challenging aspects.

If you don't like doing UI/styling, this probably isn't for you as these components require you to style them yourself.
A paid alternative to a free service is still an alternative.

They may not be alternatives you like, but they are alternatives. And for many people a paid option may be better once they start looking at why the free thing is free.
You cannot hide posts before you see them.
Always interesting to see which convicted felons get a chance to explain themselves to a sympathetic NYT writer and which ones don’t.
There are now zero incentives to research and develop better plugs in the EU since it is illegal to market devices sporting them instead of USB-C.
And then Facebook forces you to use their "web installer" that simply allows them to spy on everything you do on the phone :-)
We can, but you have to supply energy to do it; and since we still burn carbon for energy, it's not worth extracting CO2 since if you've got the spare energy for that, it's far more efficient to simply burn less coal.
Like quantity, ubiquity has a quality of its own.
Which the author then has to go back and fix because they don't understand what they're typesetting. Some journals provide the LaTeX template too so they don't even do THAT step.
Don’t worry, the EU apparatchiks have surely made themselves responsible for the consequences of their actions. It’s “Our Democracy”™ after all.
So I keep hearing, yep, I'm mostly wondering if any potentially new power management shenanigans will be supported in a timely manner.
See also Radix UI https://www.radix-ui.com for a similar library of unstyled components that focus on handling the interactions for you.
Some of these people are now being forced to budget now that the stock has plunged. They can't spend lavishly on things that most regular workers can't even dream about. They are special. Or were.
Android Play store doesn't have the same user protections as iOS Appstore. There is no reason to force sideload on Android because you can already spy on everything the user does with your Playstore apps (why would you even expect anything else from Google? The whole thing is set up for spying). That's not the case on iOS. You're comparing incomparable.
Wouldn’t that mean that infections are also a major source, as more people are infected by virus than are vaccinated by against them? Most vaccines excluding the new MRNA vaccines are just versions of the original virus, dead or weakened.
Sure, as a technically inclined user, I can understand that.

It actually is a Chinese brand, but not some one-off brand bought off Ali Express. It's a device bought from a reputable store in France with a name that I've seen around for several years (Vaporesso). Sure, that fact, in and of itself, is not enough to guarantee that corners haven't been cut and that the product is actually up to spec.

But, as a random consumer, how am I to know that it's "a pretend USB-C"? It looks exactly the same as my headphones, comes with the exact same-looking cable. There are no markings on it. The usb-c ports on my laptop have a bolt icon next to them, but its usb-c charger doesn't have any marking. They also don't say it shouldn't be used with anything other than the laptop it came with, and actually is able to charge my headphones and my mom's usb-c phone.

Even though I've kinda followed the talks about PD, negotiation, etc. its still not clear to me why this particular combination doesn't work. I was under the impression that, lacking any negotiation, ports should default to the basic 5V 500mA. So my fat laptop charger should be able to at least trickle-charge the e-cig.
If you were somewhere in the woods, your would prefer to not waste the power from you solar energy source on heating the surroundings with EM radiation, so you would use a cable instead of a wireless charging. This is why the cable charging is here to stay and is not going anywhere.
When 4 perfectly followed a complex prompt that I had spent hours trying (unsuccessfully) to get 3.5-turbo to follow even somewhat acceptably. Both models continue to impress me with their ability to tell me how to tune my prompts to get better results more consistently.
Google Reportedly Upgrading Search with AI Chatbot, TikTok Videos
yeah, another half-ass solution were the business model is to monitor you as much as possible by offering as less as possible
EU is the second largest market in the world. Of course everything is going to be made in a way that's sellable in the EU.

> Also, you are not banned from engineering other solutions. The police isn't going to knock on the doors of engineers who are suspected to develop better charging cables :)

We are discussing under an article where the regulator has sent a "stern warning" to a company. I don't think what you're saying makes sense. If I tried to sell my better plug in my home market, the police would come knocking.
The rest of the world can develop the superior charging cable plugs and we can use this thing called internet to find out about it.
Would you be so kind as to share the results of your tests, please?
Especially if your most interested in UX, it's be worth going down the rabbit hole of web accessibility. Building sis that work as expected for visitors with visual and physical impairments isn't particularly ready and often skipped entirely, especially in react.

I've never used this particular library, but if it's does what it says on the box it should make it easier to have accessible components out of the box so the developer is only focused on making it look good.
If I am reading this correctly, to torpedo one's competition, a malicious actor need only submit glowing reviews in the most insincere tone possible?

Reminds me of:

https://en.wikipedia.org/wiki/WOT_Services

A single point of vulnerability always invites abuse.
Most people do not have "their own code". Instead it is your code you want me and my grandmother to load and I simply do not want to, unless you go through Apple's hurdles to check and verify it.
After reading my previous comments, why would you think that surprises me? I know for a fact that academics of the highest reputation do very poor reviewing. The cost of a low-quality review is basically zero for the reviewer, while the cost of a high-quality review is high. The consequences of this are not surprising.
> The regulations get updated, you aren't stuck on usb-c.

Isn't there a chicken and egg problem there - no one will release products with new power interfaces, because they aren't releasable in Europe.

I suppose such products might get released first in the US, but which large tech company if going to ignore the EU market when releasing important products?
I eagerly await the sympathetic PR-optimised Bankman-Fried NYT article.
I predict a major decline in salaries and demand for software engineers. For three main reasons: AI, lack of funding to startups, remote work. A fourth reason would be overall economic growth decline. As an (aging) engineer myself, the best bet is to double down on AI, and continue to improve higher level biz and communication skills (and save more money LOL)
Here's the reply to your dogpile comment. I hope you feel validated.
Ok, I actually take it back, if it was depression the author wouldn't say they'll take time to rest - this text does look like burnout indeed.

Burnout and depression are two different things (different cause, some similar/overlaping but still distinct symptoms and different kind of treatment).
The early 2000s were a mess with company-specific cables and USB was forced upon them and made things much simpler, Apple is just the last holdout. Forcing 3rd-party manufacturers to buy chips from them for their devices to work with Apple phones feels like the real protection racket to me.
Not necessarily. If you come up with such a superior plug, you can easily have it sold on the 1st largest market in the world.

Not everything has to be sold in EU, there are plenty of things not available across all markets.
yeah but there is no NTFS support, a thing that even my ebook supports
Are "slow" charging cables more preferential to keep a better battery health?
I wonder if there is more data about this.

A while ago I've microdosed 1 to 2g of fresh truffles(which should not induce a trip), a few days/weeks after a real trip, and I had some hallucinations, which should not have happened

IDK, is it possible that a microdose could trigger some kind of a release of a previous buildup of some hallucinogens?
Depending on the rest of the world for tech, research and innovation is why us, Europeans, are worried about these authoritarian EU mandates which can only cause us falling further behind the rest of the world.
No, I can't. I need to sell it on both markets to make it profitable. There's no way to have that large margins it could sell just in the US.
How do you measure productivity?
Also I wonder how much scientific rigour went into the recent progress in AI/ML. At least in principle there might be ways to determine invariants and boundary conditions (without modifying models), also considering there had been efforts to change ML models and make them explainable.
I'm not sure about this.
I'm a big guy, I barely feel 100 ug, if I didn't know what LSD was like I could easily not notice
Wait, are you saying humans would be evolving if not for technology? Interesting take...
Yeah, then we are all complete. What a miserable outlook. Will happen though.

I understand why it is what it is, but I don’t think killing 1 person with a knife is necessarily worse than bankrupting 1000s (or more ; the fallout of financial scammers is hard to measure). I think life in prison definitely should be on the table, in the same place with the sexual deviants and murderers. I wouldn’t find it that weird to give someone like Madoff 1000 life sentences and some poor sap who got in a fight and killed someone by accident but the agressor was white and rich, getting a few years. I guess here in the EU it is the latter but not the former and in the US the reverse. I prefer the EU stance, but in an ideal world, financial crimes affecting enough people should be treated as like murder, not just a slap on the wrist.
Presumably the ones who had bestselling novels written about them.

Stabbing someone in an alley for a hit of fentanyl doesn't really draw the clicks. News is a business.
> Why do so many commenters on HN always sound so confident, yet none of them work in publishing?

It's pretty simple. Most of us here are used to just downloading "preprints" pdfs from arxiv for basically any CS/AI paper. If all papers were available on arxiv or an equivalent website for free and without forms, probably nobody here would care or complain about Elsevier et. al.

Want to in addition to publishing on arxiv, publish on Nature? Sure go ahead.
Want to only read papers after they've been peer reviewed on Nature. Go ahead.
I wouldn't be surprised if the EU banned wireless charging as well for environmental reasons.
Better to be critical of a product in beta than have toxic positivity about it so things can be fixed.
Thank you, Google, for dropping support on your OnHub products. I was able to pick up a few, cheaply, from your angry users.

I haven't bought a single home device from Google and have no desire to. But Google's utter lack of direction in this department means I now have 3 decent pieces of hardware running OpenWRT. Thanks again! ;-)
If you need to sell it on both markets and can't have two production lines, I guess your product will have USB-C port and your superior charging port, like the new MacBooks having type-C and magsafe.
It has been well said that academia is “show business for ugly people”.