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

> It seems that noalias exactly means that the two arrays can never point to the same memory, thus they do not overlap.

I think that `noalias` would enforce that `s1` and `s2` aren't equal, but that doesn't mean that `s2` doesn't partially overlap with `s1` (i.e. it starts at an offset of `s1`).

comment 5y ago · link · parent

There's plenty of uses of chroot outside security (i.e. bootstrapping or troubleshooting a broken system), and Linux doesn't break userspace. Ever.

comment 5y ago · link · parent

> This should make pushes much faster as you have basically infinitely scalable writes. However it does make pulls more difficult.

I bet GitHub has much more read traffic than write traffic, so this trade-off does not make sense.

comment 5y ago · link · parent

The quoted $0.0038 is the total of what Spotify pays out to the distributor, who then distributes it between themselves, the artist, songwriters, their labels, etc.

comment 5y ago · link · parent

> forcing them to be used all the time

You know this doesn't do anything unless explicitly configured in the system and/or unit configuration?

comment 5y ago · link · parent

The ISS is not a communications satellite, escape velocity is lower than maximum closing velocity, and kinetic energy isn't momentum.

Of course you can make the statement true by changing everything it's about.

comment 5y ago · link · parent

> What if "missing the drone ship" means "hitting Chicago"?

It doesn't and never will. The rocket is never on a trajectory that will hit Chicago (or any other populated area). The splashdown point of the ballistic trajectory is always over the ocean, until the final burn puts it on the drone ship or landing pad. If that burn doesn't happen for whatever reason, it crashes in the ocean (and that has happened in the past).

comment 5y ago · link · parent

> I'd say there's around 10 orders of magnitude between the momentum of a rifle bullet and the momentum of a communications satellite at escape velocity.

That's quite an overestimation.

Let's be generous and say a rifle bullet is 50 gram (0.05 kg) and fires at 1.1 km/s, and a communication satellite weighs 5 metric tonne (5000 kg) and escape velocity is 11 km/s. We have 5 orders of magnitude difference in mass and 1 in velocity. As momentum is m*v, total difference is 6 orders of magnitude. Kinetic energy is 1/2*m*v^2, so that gives 7 orders of magnitude difference.*

comment 5y ago · link · parent

> then just mechanically kick it down (store up energy from the sun and then trigger a solenoid). the debris itself becomes your propulsion. you get a tiny boost up, perhaps towards your next target, and it gets a (admittedly!) tiny boost down

This doesn't actually work. If you push something down in orbit, you just make its orbit elliptical. After half an orbit it will be at the same altitude as you again, and after a full orbit it will hit you from the top. If you want to lower its orbit, you need to push it back.

Orbital mechanics is weird.

comment 5y ago · link · parent

> that commands the other way

Does Falcon 9 even have a command channel anymore? The trajectory is preprogrammed, guidance and control is automatic, and the flight termination system is automatic as well.

comment 5y ago · link · parent

Probably not too much. Turkey is already part of and synchronized to the continental European grid. Connecting Cyprus to it makes sense for them as well.

comment 5y ago · link · parent

> Any idea why they built this to go straight to Google rather than just exporting in a standard format for Google to upload?

I'm of the (perhaps cynical) view that Apple is only doing this to satisfy their legal obligations under the GDPR, and GDPR requires direct transfer.

comment 5y ago · link · parent

Easy migration to a competitor could hurt their customer retention.

Why offer it at all then? At least in Europe the GDPR requires direct transfer of your data to a competitor where technically possible.

comment 5y ago · link · parent

With DOCSIS 3.0 you can get up to 200 Mbit/s upstream, and DOCSIS 3.1 and 4.0 push that even further. There's even DOCSIS FDX (full duplex) that's fully symmetrical. It'll require some investment from the cable companies for sure, but I don't think this will be the end of cable service.

comment 5y ago · link · parent

That's probably just a mistake from the BBC. The original source [1] just says "image credit" NASA/JPL-Caltech, not copyright.

[1] https://mars.nasa.gov/mars2020/multimedia/raw-images/

comment 5y ago · link · parent

> There's been huge progress since the last rover.

One thing that changed in the last 8 years is that there are now two new orbiters around Mars (MAVEN and ExoMars TGO), which can retrieve data from the rovers faster, cache it and send it to Earth faster.

comment 5y ago · link · parent

While that statement taken alone sounds stupid, the justification they give sounds more or less reasonable:

> Of course, most math problems have correct answers, but sometimes there can be more than one way to interpret a problem, especially word problems, leading to more than one possible right answer.

> And teaching math isn't just about solving specific problems. It's about helping students understand the deeper mathematical concepts so that they can apply them throughout their lives. Students can arrive at the right answer without grasping the bigger concept; or they can have an “aha” moment when they see why they got an answer wrong. Sometimes a wrong answer sheds more light than a right answer.

comment 5y ago · link · parent

> Fortunately the mpv player exists now

Fun fact: with mpv being based upon MPlayer, it's technically older than VLC.

comment 5y ago · link · parent

Having functioning and accurate reverse-DNS is required for mail servers, as lots of mailservers reject mail from servers without correct reverse DNS. There's likely other protocols where having functioning reverse DNS is a necessity or strongly advantageous as well.

comment 5y ago · link · parent

A bot, but

> someone will enable the bot first and never get around to configuring it to, for example, not close an issue tagged as verified.

I don't understand this part. Aside from the fact that it's trivial to exclude certain tags (it's the same config file, and it's in the first example they give), doing this effectively makes your issue tracker useless as an issue tracker. Why not completely disable the issue tracker instead then?

comment 5y ago · link · parent

Does it? It's not like you're paying GitHub per open issue.

I've literally had issues I filed that the maintainer verified as an actual bug be closed due to lack of activity. I can understand that an unpaid maintainer doesn't have the time or motivation to fix it, but closing issues you know are valid seems insane to me.

comment 5y ago · link · parent

Using as much energy in a day as the US central bank system uses in a year.

A decentralized payment system might be a good idea, but Bitcoin isn't a viable implementation.

comment 5y ago · link · parent

The given value for hydrogen is for hydrogen gas (i.e. H₂), while helium is just a single atom.

comment 5y ago · link · parent

Here in The Netherlands there's a law that you should be able to cancel the same way you signed up. Signed up through a web form? Should be able to cancel through one. If they don't offer it, the closest alternative is valid. Just send them an e-mail with the relevant information and you've legally canceled. Doesn't matter whether they like it, accept it or respond to it, the subscription is void. If they keep collecting money, just reverse the charges. They'll have to sue to actually get your money, which they'll never do, because their lawyers aren't stupid and know that they'll lose (it has actually happened).

It wouldn't surprise me if this actually originated as an EU regulation instead of national law.

comment 5y ago · link · parent

But please offer the option to autorenew. I don't want to have to spend time renewing all my subscriptions every year. I have my subscriptions for a good reason and see their charges every time -- if I want to cancel I'll do that.

comment 5y ago · link · parent

> Can one not purchase anything anonymously?

You can. The VAT number is used to enter you in a lottery where you get a small chance to win some of the taxes you paid back, but that is optional. The goal of the system is to increase compliance with tax laws, by having consumers ask businesses for receipts and pressure them into paying VAT.

comment 5y ago · link · parent

Wind farms built in Texas cannot because it's not economical to equip them for that, given how rare icing conditions are in Texas. There's plenty of wind farms in colder places that are perfectly fine in icing conditions.

comment 5y ago · link · parent

> However, replacing incandescent bulbs would do basically nothing to help with this kind of power shortage caused by a cold spell

It depends on what you replace it with. If you switch to a resistive heater, yeah, that's pointless, but if you switch to a heat pump or natural gas-based heating it'd help.

comment 5y ago · link · parent

Hence I said to expand healthcare capacity. If there's not enough personnel, we should educate and hire more personnel. I'm not saying this is something we should do tomorrow -- only in the hypothetical case that we haven't found an effective prevention and/or cure in 5 years or so.

comment 5y ago · link · parent

> We're not going back to pre covid lives period.

We are. Most people, myself included, won't accept living like this forever. If vaccination fails and no treatment will be found, we'll expand healthcare capacity and accept that people will die.

1
323334
41