Better HN
topnewbestaskshowjobs
Log inSign up

Denvercoder9

5,570 karma · joined Oct 5, 2013 (13y ago) · 1,210 submissions

Submissions

comment 6y ago · link · parent

> The OP did not provide this, only the generic google service notification on his mobile

Are you sure? The image in the tweet linked seems to me like the login screen you get on desktop, not a mobile notification.

comment 6y ago · link · parent

> Is there a technology that we should be driving adoption of that would allow me to host my own SSO?

OpenID was that technology, but it didn't really get any adoption. OpenID Connect seems to be the replacement based upon OAuth, and seems to be pretty easy to implement if you already support OAuth.

comment 6y ago · link · parent

It's necessary in busy airspace such as around LAX, due to limited frequency-time. Pilots are used to it.

comment 6y ago · link · parent

> There's no normal setting or config file to turn it off...

There is now (and the default is a smaller popup as well).

comment 6y ago · link · parent

> Windows does it automatically whenever possible, why can't Linux?

Linux can do that as well, every desktop environment worth their salt does it by default.

comment 6y ago · link · parent

No, surprisingly that curve is actually called NIST P-521.

comment 6y ago · link · parent

It's not exactly monthly, but yeah, not much significance to it.

comment 6y ago · link · parent

amd64 (x86_64), AArch64 (arm64), armel, armhf, i386 (x86), mips, mipsel (little endian mips), mips64, powerpc, s390x.

comment 6y ago · link · parent

MP4 isn't limited in video codec or audio codec either, and it's quite common to have non-H.264 or non-AAC codecs in them. The only difference between MOV and MP4 are a few later created extensions, and the difference in every day use is negligble.

comment 6y ago · link · parent

ASML? They're a big player in EUV, but not the only one.

Buying ASML also wouldn't really gain Apple anything. There's tons of technology and know-how that goes into a fab beyond buying a lithography machines.

comment 6y ago · link · parent

Repeated mentions of deporting illegal immigrants and withdrawing from the UN convention on refugees are typically only found in ultra-right-wing party programs in Europe.

comment 6y ago · link · parent

This reads more like a (ultra-)right-wing party program than a substantiated plan to increase innovation.

comment 6y ago · link · parent

Yes, doesn't the latest generation of smartphones already do this for the front camera?

comment 6y ago · link · parent

> Python where keyword arguments need to be declared as such.

In Python you don't need to explicitly declare keyword arguments either (though it is possible). This is perfectly valid and working:

    def foo(a: str, b: int, c: bool=None, d: float=None):
        pass

    foo(b=5, a='something', d=3.0)
    # is equivalent to
    foo('something', 5, None, 3.0)

comment 6y ago · link · parent

> I really hope they make a car that looks different soon.

The Cybertruck definitely looks different.

comment 6y ago · link · parent

> people are planning for the end of COVID-19 by Jan

Unfortunately a virus doesn't care about people's plans.

comment 6y ago · link · parent

Such a database doesn't need to include religion or ethnicity. You can come a long way with just name and address.

comment 6y ago · link · parent

He might not make more money with monthly payments. There are lots of things I'd pay 10 bucks for, but won't pay a dollar monthly for.

comment 6y ago · link · parent

100% success rate is a lot easier if you inherit two working and tested rockets at birth of the company though. Both Atlas V and Delta IV had failures before ULA was formed. It'll be interesting to see if Vulcan can also achieve 100% success rate, or whether they'll have the same toothing issues SpaceX and others have had.

comment 6y ago · link · parent

You have to be careful about your errors though with this method, because you get higher-order powers. If the radius estimation was wrong by only 10%, your final answer will be wrong by almost 50%.

comment 6y ago · link · parent

> Because ethanol evaporates too fast, which is the same reason why aviation still uses leaded gasoline

Not really. Most of commerical aviation doesn't use leaded fuel anymore, and general aviation uses leaded gasoline because it is technologically still mostly stuck in the sixties.

comment 6y ago · link · parent

They got Al Capone on tax fraud.

comment 6y ago · link · parent

> And those people who don't have data for their phone?

It works fine over wifi. For those without internet at all, well, then you can't order anything online either ;)

(I know of at least one bank, but there are probably more, that also offers a (free) hardware device for people without a smartphone.)

comment 6y ago · link · parent

> Because most banks offer cash back deals when you do. I get a 3% discount on all my transactions when I use my CC, some get points to travel for free.

That's an American thing, it's non-existant in Europe (at least in The Netherlands). Also, in the end it's not a discount, it's just your own money that you get back in an inconvenient way. It's paid from the creditcard fees that retailers pay, which pass it on to you (either directly as a fee, or indirectly as higher prices). The whole idea of e.g. paying less for gas when you pay in cash is insane in most of Europe.

> Credit cards help you build a good credit score to get better interest rates on loans and mortgages.

Credit scores are another American thing that seem insane to most Europeans.

comment 6y ago · link · parent

> Musicians can do whatever they want.

They can, but only as long as they don't care about money. But musicians also need to pay rent.

comment 6y ago · link · parent

While you're right, I don't think that's something commonly used. I definitely can't remember the last time I wrote code where this would be useful.

That might be because usage of associative arrays is more or less discouraged in modern PHP in favor of value objects (especially with property promotion in PHP8). Main reason for that is that this usage is horrible for IDEs and static analysis. Way too easy to rename a parameter and create a runtime error. Typing is also enforced at usage instead of creation, and you have to repeat the type information in every function signature.

comment 6y ago · link · parent

> why they made array_map and array_filter switch parameter order

It kind of makes sense if you look at the signatures (array_map takes a callable and a variable number of arrays, while array_filter takes a singe array and an optional calable), but yeah, it's horrible to use.

comment 6y ago · link · parent

> if you over supply a function by position today PHP doesn't error

I'd argue that this it the worrying part. How often do you intentionally supply an extra argument, and how often is it an accident? I'd take the warning.

comment 6y ago · link · parent

I replace the address more often than I edit it, so personally I like it. But yes, reception has certainly been mixed.

comment 6y ago · link · parent

Chrome on Android shows any URL on the clipboard as a suggestion when focusing the address bar. It's a marginal but quite noticably improvement in user experience.
1
363738
41