streptomycin

Joined 15 years ago

Karma
3,960
Submissions
1,172
Member since
Feb 18
View on Hacker News

Recent submissions

Comment · 1 month ago
My kids are too young for that, but my nephew is applying to college now. I told him that anyone who says they have any great insight into how he should be thinking about his future education/career is either wrong or lying.
Comment · 1 month ago
If tons of people thought advertising was going to lead to the extinction of humanity, then probably more people would be extremely worried about advertising.

I understand that some people think AI is completely 100% safe, but you guys also have to be aware that a lot of people disagree with you, otherwise you're going to find their actions very confusing.

Comment · 1 month ago
Probably thinks he has a better chance negotiating with China now than with misaligned AGI in the future.
Comment · 1 month ago
Indeed, as Dario wrote in this post:

> This could be seen as analogous to the SALT treaties — capping the number of missiles limited the potential for destruction while preserving each country’s deterrent

Comment · 2 months ago
Not ruined, just diminished. If too much of the $0.25 is taken by fees, then make it $0.50, or $1, or whatever. In many places, there'd be plenty of business still.
Comment · 2 months ago
Comment · 3 months ago
If you mod a subreddit you can see stats. On the biggest one I mod (35k subscribers) 2.5% of the traffic comes from Old Reddit, compared to 41% from New Reddit and 16% from Mobile Web, and the rest from mobile apps. Unsure why they differentiate Mobile Web from the others, since it's possible to view either Old or New Reddit in mobile browsers. Regardless, Old Reddit is not very popular.
Comment · 3 months ago
I hope they do the same for the file system access API!
Comment · 4 months ago
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

Comment · 4 months ago
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.

Comment · 4 months ago
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.
Comment · 4 months ago
It's been in Chrome for 6 years and I'm not aware of any problems it's caused.
Comment · 4 months ago
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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton