Recent submissions

Comment · 4 years ago
To be fair, you're supposed to get a permission dialog and it seems you have to pick the specific device(s) to connect to them.

https://web.dev/usb/#get-access-to-usb-devices

However I suppose that the mere existence of this API means that there could be a way to bypass the request; The browser already does have full access to every device.

Comment · 4 years ago
Hotel searches on Kayak are pretty poor simply due to the fact that they somehow always show low-res images. I generally book on Agoda or search on Google Maps nowadays. Kayak is still my go-to for flights though.
Comment · 4 years ago
For flights yes, for hotels I suppose it varies on location.

In South East Asia hotels are cheaper on Agoda and even contacting the hosts directly wouldn't get you a better price most of the time. It's a waste of time to try so I stopped doing that.

Comment · 4 years ago
It's also possible that they suggested worse options just to get a bigger fee without looking more expensive than what you could find with a single search.

I think the best "cheap" travel agents nowadays would just do the job of searching for you for an explicit fee, and then just send you the links. This is generally useful when you have specific requests and not much time to find them.

Comment · 4 years ago
Hasn't 2000s+ Apple always talked that way in their marketing copy?
Comment · 4 years ago
What you describe is exactly why people use dependencies. You just decided to trade your time for the noble act of having “no production dependencies”, while one of the 275 modules installed by Jest (real number) stole your production secrets anyway.

As for point 2, Node 18.1 I think just introduced a native argument parser.

Comment · 4 years ago
One of many, existed since at least 2013. The most popular one went bust since it was free and many more were born, bought and died since.

It’s good to keep seeing alternatives though since the lifespan of such services isn’t very long.

I myself ended up making my own version on AWS Lambda and SES and that worked well for 7 years without a change. This pattern is so common I think an example lives on AWS’ own help site.

Comment · 4 years ago
Page media has been supported for decades. Line numbers aren’t strictly related to page media. It’s hard to complain about the lack of in-depth support for a media that isn’t meant to display “the web”.

I do agree that it could be better. They have been adding print-related features though, at least I remember some in CSS3. CSS Colors Level 4 includes cmyk functions.

Comment · 4 years ago
Dialog is fine, but what I’m most excited is the upcoming Popup API. The finest part is that “the most recent popup gets the top-most layer”. You never have to fight z-index again because popups now live in a compositing layer outside the document itself (even though they’re still part of it), akin to position:fixed but without the conflicts.
Comment · 4 years ago
:is() exclusively reduces nesting if your nest produces a single rule, which is the least common situation and is generally dealt with by just duplicating the selector rather than nesting.
Comment · 4 years ago
Your comment reads like a lot of complaining by someone who doesn’t do a whole lot of CSS.

You’re complaining about the mere availability of color functions, that alone kills the rest of the comment.

Comment · 4 years ago
EasyList is a txt file. If they can’t host it on CF, it means they can’t use CF for EasyList.

They didn’t ban the whole organization, but effectively told them to stop. I don’t see a difference.

Comment · 4 years ago
This issue caused CF to irreversibly ban them though, so it's not "just a bandwidth issue" anymore.

> Based on the URL that are being requested at Cloudflare, it violates our ToS as well. All the requests are txt file extension which isn't a web content

> you cannot use Cloudflare to cache or proxy the request to these text files

Comment · 4 years ago
First class has its own levels I think, just because you spend 10k for a flight you're not going with a limo directly under the plane without any wait in the airport. Some airports do have shortcuts though, that's true.
Comment · 4 years ago
Isn't PreCheck supposed to lessen that a bit?

I don't think "security" is going to be lessened in our lifetime, if anything it can only get worse. Disrupting the space would take an insane amount of money you don't have. People who have money, can fly private.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton