Better HN
topnewbestaskshowjobs
Log inSign up

phaemon

2,688 karma · joined Jun 6, 2012 (14y ago) · 1,369 submissions

Submissions

comment 6y ago · link · parent

> I don't want 12 eggs, can you sell me one? Easy when I've 240d to divide into, not so easy with 100 pence)

So old money would have been briefly useful in the early 1990s, over 20 years after it was phased out? Because that's when a dozen eggs cost 1 pound.

In 1970, a dozen eggs cost 3s.4d. Quick, how much is one egg? (for comparison, I see Tesco have 10 eggs for £2.20. How much is one egg?

comment 6y ago · link · parent

Well, it can't hit zero because you'd need equal numbers for that, and they're not coprime ;)

It can't be negative because you cheat and always put "larger - smaller". See your own example: you go:

    13 - 7 = 6 -> 7 - 6 = 1
     a - b = c -> b - c = d
But then then you do:

    6 - 1 = 5 -> 5 - 1 = 4
    a - b = c -> c - b = d
Which switches the order. What if you don't?

comment 6y ago · link · parent

> If someone has a better explanation of why subtracting relatively prime numbers repeatedly will always result in one

I'm not sure about better, but I think I can explain it more simply.

Our subtraction is "a - b = c", where "a" and "b" have no factors in common. And the result is that "c" also has no factors in common with "b". Well, what if they did? What would it look like if "b" and "c" had a common factor?

Let's use the example of "b = 6", that was used in the article. 6 has two factors: 2 and 3, so let's see what happens if 2 is a factor of the resulting "c":

    a  - b = c
    ----------
    8  - 6 = 2
    10 - 6 = 4
    12 - 6 = 6
    14 - 6 = 8

You can see what values of "a" are required to get a factor of "2" as the result, and at this point, I reckon most folk can see the flaw in this cunning plan. But let's rub the point in with 3:

    a  - b = c
    ----------
    9  - 6 = 3
    12 - 6 = 6
    15 - 6 = 9
    18 - 6 = 12

Again, you can see the result. In order for "b" to have a common factor with "c", "a" has to be some multiple more of that common factor.

(slightly more mathy: we're looking at "a = b + c", where b = px and c = qx (x is the common factor), so we have "a = px + qx" yet we're claiming that "x" is not a factor of "a")

Anyway, since we're subtracting and always get a smaller number, and it's always a relative prime, we clearly must end up with 1.

comment 6y ago · link · parent

This is actually a big deal as it's 10,000 times longer than previous qubit coherence. I reckon quantum computing will be mainstream in the next couple of years.

comment 6y ago · link · parent

I moved rural remote many years ago and it was a pain at the time. The only internet I could get was satellite and the latency was a killer. It still worked out and I've been fully remote since. Wouldn't trade it for anything. They brought in FTTC since so I'm in a good place. Just visit and try it out. See how you get on.

comment 6y ago · link · parent

Docker works in layers. Your problem is that you've put the thing you're changing at the bottom layer so it affects everything above it. Rearrange things so that two character change is the top layer and it will make life a lot less painful.

comment 6y ago · link · parent

I used to work in a small company and yes, they used libraries. They were handled exactly the same as open source libs: available on GitHub, just in private repos instead of public.

248.

Scientists Extend Quantum States by 22 Milliseconds(popularmechanics.com ↗)

2 points · by phaemon · 6y ago · 1 comment

comment 6y ago · link · parent

Reacting to damage is something you learned in previous generations. You've encountered that situation billions of times (you just don't remember them).

comment 6y ago · link · parent

It's also a part of the John Lewis group, and therefore a Workers Cooperative (ie it's employee owned)

comment 6y ago · link · parent

> 328K and convert that back to Celsius you end up with 54.85°C

No, that's wrong. If you convert 328K to Celsius, you get 55C. You can't add arbitrary precision to a number. The correct calculation for a whole degree is:

54C => (54 + 273)K => 327K

If you want a single decimal place of precision:

54.4C => (54.4 + 273.2)K => 327.6K

You can then subtract 273.2 to convert back, and you get the 54.4C you started with.

comment 6y ago · link · parent

The latter of course. Everyone who has given more than 10 seconds of thought to the issue has considered the opposite relationship because it's so obvious.

comment 6y ago · link · parent

Well today is your lucky day, because you can cease your wondering! The answer is "no".

In fact, any question you have that relies on thousands of doctors and professors in the field missing something obvious is always "no" (cf "never a compiler error").

comment 6y ago · link · parent

^^ This is the original paper and the full pdf is available. I recommend a brief perusal before posting your "guesses". It's not very long and has pretty graphs.

comment 6y ago · link · parent

That doesn't make any sense. There's no such thing as an adversarial collision for UUIDs. They're not hashes and don't have any security at all. If you want to use someone else's UUID, you just can!

> If you start reducing it to smaller slices of its entropy

Which it doesn't, as has been explained in the comments already several times.

comment 6y ago · link · parent

You carry on the "draconian measures" until the virus is unable to spread and dies out. It's not magic. It spreads through human contact. Reduce contact you reduce transmission.

You are in the same camp as Trump because you're spouting clueless crap as though it's authoritative.

I'm perfectly happy to be "not participating in the conversation" because your conversation is moronic bullshit.

comment 6y ago · link · parent

> Masks became political the moment the CDC, WHO, and US Surgeon General

Ah, I see you take the Trumpian line of "it's everybody else's fault except me!". It became political in your country because the dozy muppet you elected as president can't actually deal with anything.

> "People are actually dying" isn't the adult conversation.

It's the reality on the ground. Other countries are gradually opening up their "draconian measures" and are managing to contain the virus. If you can't do that, it's your own failure.

comment 6y ago · link · parent

Well, what else is a failing software engineer to do?

comment 6y ago · link · parent

In the fine HN tradition of picking fault with every article:

"It took me a while to realize that money is not evil, money is oxygen."

No, money is like food: you need it to survive, but when it becomes your reason for existing, that's pretty sad.

comment 6y ago · link · parent

And reality disagrees with you: https://www.sunwindenergy.com/news/35-mw-solar-farm-saudi-ar...

comment 6y ago · link · parent

Just like software development then?

comment 6y ago · link · parent

Well, they're going to become vast, mosquito-infested swamps. Whether you regard that as "prime real estate" probably depends if you're an estate agent or not.

comment 6y ago · link · parent

Firstly, because,"office software" is useless crap. It fills the gap between the computer literate and illiterate in the same way that pointing and grunting fills the gap between the written equivalent.

Secondly, where's my pint?

comment 6y ago · link · parent

Very true. Reason #361 for a UBI.

comment 6y ago · link · parent

Well, the head of the design team is Heiko Tietze. His PhD is in Psychology and he's worked at various companies as UX designer/lead.

So, why you'd you contact him and tell him where he's going wrong? I'm sure he'd value your insight and guidance.

comment 6y ago · link · parent

For covering their heads, presumably.

comment 6y ago · link · parent

Oh right. I'd always thought that the idea of agriculture leading to civilisation, it referred exclusively to farms and fields of crops.

If you include pastoralists, was there really any time when most humans were hunter-gatherer?

comment 6y ago · link · parent

That didn't seem to stop Genghis Khan uniting the nomadic Mongol tribes?

comment 6y ago · link · parent

Oh right. I read it as "how else could you explain it simply". I always thought the pigeon hole principal was a needless metaphor.
1
8910
46