Better HN
topnewbestaskshowjobs
Log inSign up

Denvercoder9

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

Submissions

comment 5y ago · link · parent

> How convenient that all these clearly suicide-by-pilot incidents are called "inconclusive" by the national , non-US, agency.

The French and German agencies investigating Germanwings 9525 ruled it a suicide.

comment 5y ago · link · parent

The parent comment originally said "just don't accept HTTP connections for unknown hostnames".

comment 5y ago · link · parent

You can't: the web server has to accept the connection to know the hostname. The best you can do is close the connection immediately without sending a response if it's an unknown hostname.

I believe that at least with Apache and nginx doing this requires using a non-default module.

comment 5y ago · link · parent

There's a third option: fix your government.

comment 5y ago · link · parent

> I doubt Microsoft (GitHub's owner) cares that much about such tiny usage.

They probably don't care about one person doing this, but if tens of thousands of repositories start doing this it becomes a problem.

> They run all of Azure, after all.

They get paid for that.

comment 5y ago · link · parent

Nothing wrong with Blue Origin per se, redundancy is great (and pretty essential to become a spacefaring civilization -- as demonstrated by the back-to-back Antares and Falcon failures a couple of years ago).

However, saying SpaceX, the established company, should relocate to be next to Blue Origin, the new start-up that hasn't shown much yet, for unspecified reasons just doesn't make any logical sense.

Also, I think part of the reason space enthusiasts don't like Blue Origin is that it has had a terrible return-on-investment so far. There's a limited amount of money that will put into space, and it's great that Jeff Bezos wants to spend a billion a year on it. It would just be great if there was more to show in return for that money. For example, Elon Musk claims SpaceX has spend about a billion on reusability for the Falcon 9. Just imagine such a leap forward every year.

Another reason Blue Origin gets a bad rep is that they don't exactly try to play fair. As mentioned by a sibling comment, they tried to patent something (landing on a ship) that's at best just common sense. When NASA wanted to lease LC-39A to commercial providers, Blue Origin tried to block NASA from leasing it exclusively to SpaceX on the basis that it'd be unfair to them, even though they hadn't flown anything that could use the pad yet (and still haven't). They landed their New Shepherd after a suborbital flight to 100.5 km just weeks before SpaceX landed their first Falcon 9 booster -- claiming to be the first to land a rocket propusively. That would be fine, except Bezos then tweeted "Welcome to the club" to Musk, ignoring the fact that orbital rockets are much, much harder (as evidenced by the fact that they still haven't launched, let alone landed one, 5 years later).

comment 5y ago · link · parent

Why? Their Texas facility is hundreds of miles inland, not exactly a location you'd want to launch enormous, experimental rockets that tend to explode from.

Also, Blue Origin is just an expensive hobby compared to SpaceX. They're older, but have never flown anything to orbit, compared to the 100+ missions SpaceX has performed.

comment 5y ago · link · parent

The tyranny of the rocket equation, combined with Earth's deep gravity well, and the higher efficiency of rocket engines in vacuum makes it seem much worse than it is.

E.g. for a lunar mission: it takes 9.4 km/s Δv to get to low Earth orbit (LEO), but only 5.5 km/s Δv to get from there to the Moon [1]. Raptor (the engine used on Starship) has an exhaust velocity of 3.2 km/s on Earth, and 3.7 km/s in vacuum [2]. Plugging those numbers in the rocket equation, to get to LEO you need about 19x your payload mass in fuel. However, to get from LEO to the moon surface, you only need 4x your payload mass in fuel. So while a tanker can indeed only bring a small fraction of its launch mass as fuel to orbit, once you're in orbit you don't need that much fuel to get to the moon.

In reality the numbers to get to LEO are lower because of staging and the vacuum engines on Starship which can be used in the upper atmosphere, and you also need fuel to get back from the moon, but it probably won't add up to a full Starship.

[1] https://www.reddit.com/r/space/comments/29cxi6/i_made_a_delt... [2] https://en.wikipedia.org/wiki/SpaceX_Raptor [3] https://en.wikipedia.org/wiki/Tsiolkovsky_rocket_equation

comment 5y ago · link · parent

Except we're not talking about companies, we're talking about currency. Companies have intrinsic value: they own assets, they produce something of value. Currency does not.

comment 5y ago · link · parent

> hmmm, I thought the matrix class was deprecated? At least it says so in the official numpy documentation:

Huh, you're right. Bummer, I hadn't noticed that yet. I agree that an ergonomic matrix class is sorely missing in the Python ecosystem. It shouldn't even be that hard to implement, since all the plumbing is already there.

comment 5y ago · link · parent

Blu-ray's are still reasonably common, though they are slowly disappearing as well and I don't think there will ever be a successor. Fact is that write-once read-many is just not considered a very valuable property by itself, and as rewritable storage is becoming cheaper (if only by economies of scale) it'll displace them.

comment 5y ago · link · parent

> use a bizarre notation (either @ or .dot look very ugly in formulas).

If you use the numpy.matrix type instead of numpy.array, the * operator becomes matrix multiplicaton.

comment 5y ago · link · parent

The irony is that Google actually maintains an SVG version of the old chart in their charting library, which works pretty well: https://developers.google.com/chart/interactive/docs/gallery...

comment 5y ago · link · parent

It's a bad example, but there are legitimate scenarios where you want the ability to (temporarily) drive above the speed limit. E.g. speeding up until you can get out of the way of an ambulance, or to avoid getting rear-ended.

comment 5y ago · link · parent

> You set your cruise control when driving on city streets?

Yes, it's great, especially if you have adaptive CC.

comment 5y ago · link · parent

Payload-wise New Glenn is better comparable to Falcon Heavy than to Starship. New Glenn actually sits more or less in the middle between Falcon 9 and Falcon Heavy.

comment 5y ago · link · parent

They haven't actually put anything in orbit yet. I'd say they're at least a decade behind.

comment 5y ago · link · parent

It's probably the engine bells, since they are known to contain copper, and copper burns green.

Source: https://mobile.twitter.com/elonmusk/status/11773871411160023...

comment 5y ago · link · parent

Any firewall worth its salt can do this with IPv6 as well. There's nothing on a technical level preventing it.

comment 5y ago · link · parent

Really, the assumption that QWERTY is the most used keyboard layout is the hill you decide to die on?

comment 5y ago · link · parent

More likely a typo, considering that "z" and "x" are next to each other on the keyboard.

comment 5y ago · link · parent

Important to note that this is just a patch release with bugfixes, not a new major version.

comment 5y ago · link · parent

We don't know for sure, and we probably never will. It's impossible to prove that something is actually a constant over large distances and timescales. You can always go a bit further or wait a bit longer, where it might not be as constant as we expected.

However, most experimental data so far is in agreement on it actually being a constant.

Wikipedia has a section on it: https://en.wikipedia.org/wiki/Fine-structure_constant#Is_the...?

comment 5y ago · link · parent

I'm kind of surprised that your YouTube Music recommendations are so bad. For me it gives by far the best suggestions of any music service I've used.

comment 5y ago · link · parent

At the same time it's worth it to consider why they manage to get it done quickly and efficiently, and we struggle to get it done at all. I don't believe a free society would (or should) fundamentally be completely incapable of building a high-speed train.

comment 6y ago · link · parent

You can pin versions in requirements.txt, and have a separate requirements-dev.txt.

comment 6y ago · link · parent

Or just make sure you pass the correct type to the functions. It's easier and probably more correct as well.

comment 6y ago · link · parent

int + array has indeed been throwing errors for a while for the basic arithmetic operations, but not for slightly more complex operations such as modulo, and there are plenty more weird combinations that used to work:

https://3v4l.org/IuoGO

comment 6y ago · link · parent

But PHP didn't do that, it just silently ignored the operation or returned zero. That behaviour doesn't make any sense.

comment 6y ago · link · parent

If the message isn't signed, the receiver won't do a DKIM lookup. If the message is signed, whether the record is absent or empty doesn't matter, validation will fail.
1
343536
41