I hope they do the same for the file system access API!
HN user
streptomycin
The initial selling point was performance, but then they gradually realized that a lot of the slow cruft in Jest was necessary for correctness, and now it's about the same performance as Jest (obviously may vary in some specific situation).
However vitest is still great! Selling points now are stuff like:
- shares config with vite
- works with ESM out of the box (I think Jest still doesn't)
- integrated browser testing mode that is very nice
- overall just has a ton of nicely integrated features
Well there is a permission dialog and you need to select the directory to grant access and common sensitive directories are blacklisted.
A malicious ad would probably have an easier time tricking you into downloading and running an executable, which is something that has actually happened many times IRL. Worry about that before worrying about theoretical exploits that nobody has actually exploited in an API shipped in the world's most popular web browser for the past 6 years.
So what should I do if I want to make an app with this functionality? Do I have to tell users to download and run some executable? You can imagine a case where that is a bit riskier than a nicely sandboxed web app with permission to access one directory.
It's been in Chrome for 6 years and I'm not aware of any problems it's caused.
That is similar to https://developer.mozilla.org/en-US/docs/Web/API/File_System... except AFAIK that does not allow any way to access it as a normal directory outside the browser.
This isn't new, the API has been around for several years. Unfortunately Mozilla and Apple say they are never going to implement it because of security concerns https://github.com/mozilla/standards-positions/issues/154
It is a great API though, I wish the other browser vendors liked it! Because currently us PWA developers are really limited when trying to make apps that work with local data, at least in non-Chrome browsers.
The only thing I miss from Gmail is a "send and archive" button to save me a click when replying to emails.
https://fakewriters.onrender.com/ is a good example too
That's exactly what they did at my college (non-California state school) 20 years ago. Special program for students from poor high schools who otherwise wouldn't be admitted, where they came in the summer before freshman year and had to pass some prep classes first. IDK what the actual long term results were, but seems like a better idea than nothing.
The tests will be made by AI as well, because professors who spend less time on making tests can spend more time on research and get hired/promoted more. For the same reason, professors won't care who is using AI to cheat on the test that was made by AI. Maybe some people will care, but not enough to do anything about it.
(Cheating was already rampant in many classes 20 years ago when I was in college, I can't imagine what it's like now.)
Yeah I have one semi-popular package and I am still doing local publish with 2fa because all this "trusted publishing" stuff seems really complicated and also seems to get hacked constantly. Maybe it's just too complicated for us to do securely and we should go back to the drawing board.
But in practice, nobody (well, nobody making lots of ad revenue from their website) uses AdSense exclusively. Most don't even use it at all - AdX is better as a header bidding fallback than AdSense. But those who do use AdSense as a fallback are using it in competition with many other ad networks.
In practice there's this one guy who likes to support ancient JS engines, and this one other guy who likes making lots of tiny packages which depend on his other tiny packages. They both see what they're doing as features, not bugs. And they are both very prominent devs with a lot of popular packages.
So unlikely to change unless everyone stops using their popular packages.
Every now and again people get worked up and try to bully them about it, which is unfortunate because they seem like generally good people, and their arguments in favor of their positions are pretty well documented.
The distribution of the sum of two dice is actually triangular, not a bell curve https://math.stackexchange.com/a/1204492
Making a clone of a video game, even with some substantial changes, may not actually be legal https://en.wikipedia.org/wiki/Tetris_Holding,_LLC_v._Xio_Int....
The article says the city claims the biggest issue is federal regulations (the ADA) not city regulations.
My neighborhood in NJ just got those fancy ADA compliant curb ramps last year, along with a repaving. It did take them much longer to install the curb ramps (like a week or two?) than it did to pave (one day) so I can imagine there is a significant cost, even if it's a smaller amount of materials.
Also sad that NYC spends like $40k per student per year and they still have to resort to this.
instrumental convergence
Back when I had a job at a big old corporation, a significant part of my value to the company was that I knew how to bypass their shitty MITM thing that broke tons of stuff, including our own software that we wrote. So I could solve a lot of problems people had that otherwise seemed intractable because IT was not allowed to disable it, and they didn't even understand the myriad ways it was breaking things.
Any thoughts on arguments like https://randomcriticalanalysis.com/why-conventional-wisdom-o... that basically the US spends a lot on healthcare because the US is very rich?
Perl CGI scripts were ubiquitously supported by shared hosts, but IIRC mod_perl was not unless you had some custom setup on a dedicated server. Also IIRC, mod_perl was just a lot more complicated to set up and use, while mod_php was dead simple.
mod_perl was a lot more complicated, so in practice "normal people" (such as 14 year old me) didn't use it because it would have required a dedicated server and some sophisticated configuration, rather than a $2/month shared hosting account.
For me it wasn't cultural.
Perl was my first language because I wanted to make interactive websites and that was the most common way to do it in the late 90s. Shortly after, everyone switched to PHP because mod_php was much faster than Perl CGI scripts.
FWIW "quantum advantage" and "quantum supremacy" are synonyms, some people just prefer the former because the latter reminds them of "white supremacy" https://en.wikipedia.org/wiki/Quantum_supremacy#Criticism_of...
I suspect that most people would not vote for a government policy that puts their favorite websites out of business so they can do more chores :)
In some sense, "no one wants to be advertised to" is similar to "no one wants to pay for stuff". Like yeah it'd be nice if my groceries were free, but that's not very realistic, the grocery store would just close if they had to give everything away. Advertising is similar - a cost we pay so that websites can make some money in exchange for their services. Most ad supported websites would just disappear without them.
Yeah, this article says the 2023 price of a new Model Y was $48k, and then in 2024 it was worth only $33k used.
But in 2024 I bought a brand new Model Y for about $33k, after factoring in all the incentives/rebates. So if anything that $33k used price sounds high.
Reality is, prices came down a lot, and also depending on how incentives/rebates are factored in, the "sale price" might be fiction.
Same with other brands too. Back then you saw some companies like Hyundai claiming their EVs were really worth like $60k MSRP, and then turning around and leasing them for $300/month with $0 down. In some states people were leasing brand new EVs for $100/month with $0 down, or less.
Now with the federal rebate gone and states removing at least some of their incentives, the numbers might start to look a little more normal.
In NJ it goes further and the poorest towns have much better funded schools than average. Been that way for decades. Zuckerberg even gave us an extra $100 million just for fun. None of it has affected the disparity in outcomes.