skysight-inc/HackerNews huggingface dataset:
>The simplest and most effective solution against a drive-by attack scenario is, in our opinion, to treat GPU access in the browser as a sensitive resource, like microphone or camera access, that requires permission before use. For WebGL and WebGPU, this is not currently the case (Firefox 114, Chrome 115, Chromium 117). This would also prevent malicious parties from stealthily using local computing resources for, e.g., cryptomining.

Personally, I've been wanting this for a decade or longer. But WebGL/WebGPU is another vector for fingerprinting, and removing it from the available by default set of APIs would also lower the level of adoption, so I doubt they'll allow to hide it behind a permission.
The table in the article makes this look complicated, but it really isn't. All the cases in the article can be grouped into two families:

- The JS/Go/Rust family, which treats $ like \z and does not support \Z at all

- The Java, .NET, PHP, Python family, which treats $ like \Z and may or may not (Python) support \z.

\Z does away with \n before the end of the string, while \z treats \n as a regular character.
For multiline $ the distinction doesn't matter, because \n is the end.

Really the only deviation from the rule is Python's \Z, which is indeed weird.
My point being that even if the CEO intends long term growth, it may not matter.

People’s perception regarding the CEO is telling the truth or not is largely irrelevant at that point.

If the offer is big enough their hands are often tied due to their obligation to the rest of the owners.
Show HN: Open-Source Flutter Production Boilerplate
I guess with modern googles one would just pack an "ipad" equivalent tablet. If one worries about accidents and freak space particles disabling it give them 3. If one still worries one can develop a "space rated" tablet. But probably at those radiation levels one should also start worrying about the crew's health.

But of course that is projecting our current capabilities back in time. I looked it up and the "Osborne 1" portable computer[1] was just released 9 days before the shuttle's first flight. It weighed 24.5 lb (11.1 kg) and could display 52 x 24 characters on a small CRT. So yeah, that would not be nice to read manuals with :D

1: https://en.wikipedia.org/wiki/Osborne_1
It would appear the G in GPU now stands for AI.
What is it with making this a bureaucracy problem before addressing the fact that AI models are often fed data that doesn't belong to the company training the model, which has usually been gathered with methods that would be considered outright theft or corporate espionage in other industries?

Of course there are bureaucracy issues, and there always will be, but I think it's absolutely not the main topic here.
World Happiness Happiness of the younger, the older, and those in between
https://archive.is/XkIJs
DOI: http://doi.org/10.18724/whr-f1p2-qj33
Perhaps, there is a running theory that Covid activates latent Epstein-Barr Virus among other things. But as far as I know it’s just a glorified hypothesis with little scientific evidence to support it.

I wouldn’t even classify the actual covid episode I had as severe (and indeed, as far as I could tell from reading reports there doesn’t seem to be strong correlation between severity of illness and whether someone gets long covid or for how long). It was not bad enough to go to the hospital (though I did consider doing so a couple of times).

I don’t really get allergies or otherwise and consider myself to have a pretty normal immune system. I get sick at about the same rate as what you would expect a normal person to get sick. My health simply took a v shaped nosedive on a graph for 6 months after I got covid.
I feel like you are underestimating how many fundamental misunderstandings people can have (including both of us) even though they have deep understanding of adjacent issues.
> I wish all politicians had that.

Even the politicians you disagree with? So for example, AfD in Germany making the radical, meaningful change for the better of the German people by removing non-Germans from Germany ... and telling you to get stuffed ... you'd love that presumably?

What you love is this policy. Don't confuse that with the method, which you clearly wouldn't like if the shoe was on the other foot.
Not surprising. Natural selection doesn't care about morality. We're all descended from rapists and murderers.
My ideas are judged on their merits. Unfortunately I’m not the one at fault for freenode - the blame goes to Christel who sold freenode behind the backs of the team as a last ditch effort before her team abandoned and moved to their own new network.

The plan to launch Libera started long before the “incident”.

Logical people who read the events come to this conclusion. I hope you will be able to do the same.
Well, it could be implemented like this, it's just more cumbersome than "create N-1 anonymous pipes, fork N processes, wait for the last process to finish": at the very least you'll need to select() on the last unattached pipe, and when job control comes into the picture, you'd really would like the "setting up the pipeline" and "monitoring the pipeline's execution" parts to be disentangled.
This was also posted on mastodon https://oldbytes.space/@kenshirriff/112124283096167861

(I assume it's the same post, couldn't read the one on twitter)
Mini radio tags help track 'murder hornets' and other invasive insects
What I don't understand is why forks don't happen more often.
There are many fundamental things People Should Know™, but we are not LLMs that have ingested entire libraries worth of books.

Exploratory programming and being curious about strange effects is a great way to learn the fundamentals. I already knew how pipes and processes work, but I don't know the Ethereum VM.
The author now knows both.
Well if your dependent on oil to make your car run, the people who have the power to block oil distribution have a huge leverage.

I don't get your argument, we have a huge dependency on the oil distribution infrastructure. A switch in transportation system is a switch in the type of infrastructure, not a freedom vs control thing.
This is weirdly projective and I'm happy to be an obvious counterpoint to it. I grew up in the middle of nowhere. I moved to a city and didn't have a car for years. It was great and I wish I could've sustained it.

As-is, I have a car (the absolute cheapest thing I could find, for Home Depot runs during home renovation) but drive it once a week and commute to the city center by public transit because New England lets you do that, even if it's not as convenient as I'd like.
I was surprised to learn that a full blood donation (500ml) is about 10% of all of the blood in the body.
Is there an Apple Tasks app (or compatible app) for Android?
If you really want to learn regex, you'll have a hard time piecing it all together via blog posts.

Brad Freidl's Mastering Regular Expressions is a good book to read if you want to stop being surprised/lost.

I'll admit I stopped at the dive into DFA/NFA engine details.
> Normalizing not having cars i.e. making people dependent on the government from birth.

IMHO relying on cars makes us more dependent on the government, overall, because then we depend on road maintenance, fuel supply, fuel subsidies, raw materials and transport for auto parts, et cetera. The government is a critical actor in ensuring all of this.
The Google employees who created transformers
No supply chain more critical to Apple than China, Cook says
There is plenty of things we do not need. Like phones, computers, tvs, books, more than bare variety of food and drinks. More than couple of cubic meters of living space. Choosing what clothes or footwear to wear... All things we could do without...
I used to think like you but no longer do. A city NEEDS to have people of all ages, backgrounds, income levels etc in it to not die. Yes those people who live in that most central subsidized housing are in some ways winning a lottery ticket, and the real policy is to build a lot more housing as close to the city as possible. But Paris are doing that! AND adding new public transit etc etc. This multifaceted approach is better than just sterile economista policy. Vienna does it very successfully as well. Almost no one owns their home there, they're all renting very cheaply very high quality beautiful homes, including inside and very close to the city.
This article reminded me of a thought I’ve often had: that the USA is a great place to live for the upper middle class and above, but it’s one of the worst wealthy countries to live in when you’re poor.

From the context of the USA it seems downright amazing to see a society where public housing isn’t automatically assumed to be a number of bad things: taxpayer waste, crime haven, and antiquated disrepair.

The benefits of the tenant management system also seems like it’s good for everyone in society. Our daily surroundings really shouldn’t be a race to the highest bidder for high-rent tenants like McDonald’s to come in, underpay employees, and poison local residents with junk food. The approach to the city as a public landlord being selective and building a neighborhood through balancing available goods and services seems incredibly desirable.

In the US this is all inverted the wrong way: the wealthy neighborhoods are the only ones that can keep chains like McDonald’s and Walmart out, walkability and positive urban fabric is a luxury amenity for the few (e.g., NYC, Miami, and Chicago’s best neighborhoods), and the wealthy are the ones that are subsidized instead of those who are low income or middle class.
Farmed salmon leads to loss of nutrients, instead eat 'feed fishes' directly
> Do you have any children? I can't imagine car free city is good when you have two or more young children. For one, groceries are a problem as you likely need to stock more food to cook. Sure you can go to the store every other day but that takes a lot of time and is more expensive. Plus you are on a lot tighter schedule. Most people with kids race home to pick up children and don't want to stop by the store and schlep back groceries.

Millions of people with children in larger European cities live without requiring a car to buy groceries, bring their kids to activities, etc. Also when kids are old enough the transportation infrastructure is available for them to be independent and go do their things by themselves.

I can't imagine how you cannot imagine that this already happens, in many places, and it's not an issue at all.
> Between the trade-off bad job, no time, and car/public transport, the car quickly becomes the best solution

If you beat public transport by using a car then there just isn't enough public transit or the city isn't dense enough (likely the former, due to the latter). If you live 3km from your job in London or NYC then at least during rush hour it's likely to be faster to use public transport than a car.

> Life becomes too busy to spend the extra 30 minutes commuting per day that public transport would cost.

This is again based on the premise that public transport costs time, rather than saves time or doesn't matter time wise.

People who work in really dense cities but live far outside it so they need to drive from home are already likely to not drive all the way into the city center but rather drive to the edge of the city center, park there more cheaply, and take a train the last 10% of the way. The key is that that traffic in the city center is slower than public transport, including the wait times and walking required. Within some distance from the city center of a city that is dense enough and has enough public transport, this holds true. And it's in this area that private car traffic make little sense at all. But that doesn't mean people can't have cars. Or that suburban people won't drive. You might still want to drive somewhere on the weekend. Or you might need to drive to even reach the public transport.
Apple's MM1 AI Model Shows a Sleeping Giant Is Waking Up
I get these arguments against it and I'm sympathetic to the reasoning, but the point of public policy is results and the Parisian policy certainly seems to just work better than most US housing policy. SF, Boston, NYC also spend a ridiculous amount of money ostensibly trying to achieve similar outcomes but their approaches just don't work.
I did as well. The reality was that we leaned on the people who did have cars all the time. To play Thursday night hockey, to buy booze, to get to Chinatown for dinner faster... And, yes, given I was usually carrying luggage I took a taxi to the airport--which is admittedly not a common trip for the random consumer on a personal trip.

I know a couple who live in SF without a car, as much as a statement as anything else. And I see them making a lot of use of Uber, Zipcar, conventional rentals, and weekend visitors who have a car.
Grants?! Isn't that massively anti-competitive/entrenching a monopoly?

I would've expected it to be at least disguised as a tax break or something. ('No tax on US-manufactured chips' or whatever.)
Jars.ai Interactive AI Shows
It feels like it needs to have the right mix of transit to make it work.

Wife and I both agreed that we preferred Kaohsiung to Taipei if we were to live in Taiwan. With the HSR, it would be about the equivalent of my commute from Princeton to NYC.
And that's the irony of cars. The more people love to drive, the less lovely the drive becomes.
> Every Thursday, Jacques Baudrier, the Paris city councilor in charge of housing, scrolls through the list of properties being exchanged by sellers and buyers on the private market. With some exceptions, the city has the legal right to pre-empt the sale of a building, buy the property and convert it to public housing.

What are the mechanics of how this works? If I agree to buy a property for a million dollars, does the city get a chance to match that price?
I understand assembly too.
> Indeed, it is jarring when we returned to the US.

No place is a panacea. Berlin surely has its issues. But Europe and Berlin in particular is very nice for this expat from the US. I love that I pay basically nothing out of pocket over what’s taken from my taxes for healthcare. The trains are basically ubiquitous and at least near me just refreshed with new cars. We walk basically everywhere and take transit also. I’m far healthier than when I was stateside driving everywhere. The food has far less harmful things in it. Etc etc.

My cousin who lives in Japan says similar things about Japan. He’ll never go back to Canada where he’s from. The feeling is similar to me and the US though I’ll be bringing my family home to the US eventually because I miss home and the potential for stupid high salaries and what that might do for my retirement fund. But yeah. Europe for the win for the time being.
Well, Google Glass probably failed either because it didn’t work sufficiently well (the technology just wasn’t there yet) or because the purported utility it provided wasn’t actually that desirable.

AirPods probably succeeded because (despite the at-first weird aesthetic decisions) they turn out to be far more convenient than wired earphones and nice to use. If the battery life and the rate of charging, for example, had not been as good, I don’t think they would have taken off.

So I think mockery doesn’t really have anything to say about the potential success of a product; it fades rapidly anyway whether it succeeds or not. Humans get used to things incredibly quickly and are very adaptable. It’s both a virtue and a curse (because the other side of the coin is that we get bored quickly).

If I were (even) more of an Apple fanboy I might argue that AirPods succeeded because Apple knows how to make fun, decidedly non-clunky products and Google doesn’t because it’s not in that business — it sells eyeballs to advertisers whereas Apple sells beautifully crafted hardware/software combinations to creative individuals. If Google had been first to try wireless earphones, they might have flopped and put everyone off the idea.
If I were trying to optimize my code, I would start with loading the entire benchmark bytecode to memory, then start the counter. Otherwise I can't be sure how much time is spent reading from a pipe/file to memory, and how much time is spent in my code.

Then I would try to benchmark what happens if it all fits in L1 cache, L2, L3, and main memory.

Of course, if the common use case is reading from a file, network, or pipe, maybe you can optimize that, but I would take it step by step.
No pun intended. We all see (right?) that one of the cultural topics of the XXI is about focus. In a relative past people could study and/or read "all" texts and be intellectuals or feel like that. It is obvious that the focus economy always existed but now there are zillions of potential content to consume (good or not, doesn't matter).

Wikipedia, as an example, has the opportunity to add layers (not many) of content in the quest of helping (not solving) this focus problem. As you said Wikipedia does not currently has this purpose, but this does not mean that they cannot carry the lit torch and pay attention to the focus economy (wordplay just by chance).

It is also important to highlight that Wikipedia has many externalities, it is not just them. For example, Wikipedia results are generally the first that cames up in a search engine and their content is much used in machine learning. In this context, the problem of focus is not just about Wikipedia itself but the "focus graph" that has Wikipedia as one of the top releveant nodes.
As opposed to fermented drinks, which were a pivotal moment in human brain shrinkage (at least the temporary variety).
In Excel, every cell has some number of inputs (which are other cells), and a rule for calculating the cell’s value from its input. That is basically how software build systems work, except usually they use files instead of spreadsheet cells, and they run commands (like “compile this source code”, or “combine these seven files into one program”) instead of Excel formulas.
re.match('^bob$', 'bob') → yes

re.match('^bob$', 'bobs') → no

Most people would expect 'bob\n' not to match, because I used '$' and it has an extra character at the end, just like 'bobs'. In Python it does match because '\n' is a special case.
Just for contrast. I'm living a car free life in my mid-late 20s at the moment in Denmark, and I rarely ever order delivery.

Supermarkets are close enough (I actually live above one, but were that not there, there are still three others within a five minute walk), that I rarely do a "weekly" shop and just buy my groceries when needed, most of which are of decent to high quality.

It's not really much of an inconvenience to keep a relatively well stocked kitchen without a car here. I'm really struggling to understand how a "granny cart" worth of groceries once a week is a chore? That's a couple of bags worth at most.

Buses could be a bit more frequent here, but they're still good enough that I don't have a hard cut off for when I have to leave the office. I lose maybe 7-8 hours a week on my commute, which is time I'd spend reading anyway.
Seeing you expecting it to decline and me expecting it to rise, I guess we could return to this conversation in one year :)
35 hour work week is for government employees. Obviously, there are a lot of them but there are still more nongovernmental employees who don't have the benefit of a government job or unions that work a typical 35-45hr/week.

> Still I’d be curious how upper middle class folks with kids survive without cars.

All my middle class friends the kids walk. Everywhere. There are public restrooms everywhere. There are buses, parks, libraries, supermarkets, stores everywhere.
As leverage for what? If everyone is using the public transport, wouldn’t “taking it away”, if that were even possible, be a massive self-own for the local and state economy? Also, what about countries using this method with overwhelming success?
That is the narrative, sure, but is it the reality? Why would it ever be presented otherwise?

The US government refuses to follow its own laws.
I’m also a somewhat old school C# dev and the main reason I don’t use top level statements is that they only work in a single file of an application, so that single file is different from every other file in your solution.

It’s okay if you’re only writing a single file, and it really seems intended for beginners or micro applications, but for those of us writing anything besides the most trivial, it’s merely “cute” and just adds inconsistency.
The fines for going down the wrong street without a permit were used by the local councils as a new revenue source.
I haven't ever seen a reputable study that proves a significant connection between T levels and sexual orientation in humans
These (American) articles on urbanism and what not always make it seems much more insane than it is.

I live in the Netherlands, a country usually lauded for it's bicycles and public transport and what not.

And let me tell you: We still drive cars. All the time.

Even in Amsterdam, our biggest city, 4/10 families still owns their personal car. In the Netherlands as a whole it's 9.5/10 or so.

It's about THE MIX of options.
Sea level rise.
And yet Vienna is one of the most beautiful, livable cities in the world, with its masses of public housing, while major U.S. cities have homelessness crises and TV shows about house flipping for profit. Perhaps we should stop debating things based on the hokum of Econ 101 textbooks and look at what in the real world has actually worked (e.g. abolishing most forms of zoning, massive investments in public housing, robust public transportation, drastically curbing real estate speculation).
>> If you know you’ll be commuting to The Factory for the next forty years

That was not the norm historically. Average job tenure is longer now that it was in the past. And the typical manufacturing facility lasted nowhere near forty years. The average lifespan of a factory is around 10 years. Most companies aren't around for forty years.
Isn't JavaScripts regex one of the worst modern regex implementations?

They seem to improve. Negative lookbehind isn't missing anymore [1]. But still lack the handy \Q and \E to escape stuff [2].

[1] https://stackoverflow.com/a/3950684

[2] https://stackoverflow.com/q/6318710
> Belgian beer

Completely unrelated, but I love a classic British ESB. The microbreweries at attempt them here in the US just suck. I miss a nice Spitfire XPA.
This is hard for me to imagine. Where in Paris were you? Which big western cities specifically do you feel like it resembled?