HNHacker News
TopNewBestAskShowJobs

rssoconnor

503 karma · joined October 13, 2020

submissionscomments
rssoconnor··on Savage heat baking California and other Western states will continue
Okay I think I get it now. The implied argument is that if electrical grids can handle 102 regularly in July, why can't they handle them in September?

Sorry for being slow.

(Edit: just saying I now understand the point trying to be made, not that I agree or disagree with it.)

rssoconnor··on Savage heat baking California and other Western states will continue
I'm questioning that Salt Lake City never gets above 100F ever in September while living 30 minutes north of Salt Lake City would regularly get above 102 in September.

Now they did say "in the summer" rather than "in September", and I certainly believe it regularly gets up to 102 in Salt Lake City and the surrounding area in the summer. In which case I still question why they would make the comment about 102 in the summer and use that to imply skepticism of the rest of the reporting.

rssoconnor··on Savage heat baking California and other Western states will continue
According to weather.gov [1] the temperature of Salt Lake City has never exceeded 100 in September. This is making me question the rest of your comments.

[1] https://www.weather.gov/media/slc/ClimateBook/September%20Ma...

rssoconnor··on Lenses
Do you also consider v^.x hard to read when it is Pascal?
rssoconnor··on Google Suspends Engineer Who Claimed Its AI System Is a Person
I named my Roomba Muffins after it "chewed up" the magazines in the bathroom.
rssoconnor··on Puzzling quantum scenario appears not to conserve energy
I'm just an armchair physicist, but I thought we had already established that in quantum mechanics conservation laws only hold on average and not on a per run basis.

In https://news.ycombinator.com/item?id=24762436, @HackOfAllTrades notes that angular momentum is not preserved on a per run basis.

In a Mermin Device a pair of entangled spin particles is set to two Stern-Gerlach experiments. The two particles has net (spin) angular momentum of 0 because that's was the net angular momentum of starting material. But if you measure the angular momentum of the two particles in two non-parallel directions, and if we also require that the only answers you are allowed to get are +hbar/2 or -hbar/2, then the sum of the angular momentum you get by adding +/-hbar/2 times one direction plus +/-hbar/2 times a different direction can never be 0.

rssoconnor··on Mechanical Watch
It doesn't go into a lot of detail but the article does say:

> Notice that when we turn the minute wheel only the cannon pinion turns. That pinion fits tightly inside its driving gear – it usually turns with that gear. However, when the driving gear can’t rotate because it’s blocked by the rest of the gear train, the cannon pinion can overpower the friction of that tight fit and rotate on its own. This lets us set time without interfering with the gear train, which could break the delicate parts.

Personally, I was wondering how one can wind the watch from the crown without engaging the weight of the autowinding mechanism. I'm guessing that winding with the crown causes the ratchet to slip on both pairs of blue/yellow gears.

rssoconnor··on I stopped working on black hole information loss
Indeed. Wake me up when Bohmian mechanics can predict the anomalous magnetic dipole moment.
rssoconnor··on I stopped working on black hole information loss
Same. https://www.youtube.com/watch?v=L2idut9tkeQ is the relevant episode from Space Time.
rssoconnor··on OpenSSH 9.0
In C, multiplying two unsigned shorts together can lead to undefined behaviour.
rssoconnor··on OpenSSH 9.0

        If both the pointer operand and the result point to elements of the same array object, or one past the last element of the array object, the evaluation shall not produce an overflow; otherwise, the behavior is undefined.
This is that part that says the result of addition is undefined unless both the original pointer and the result point to the same array object (or one past the last element).
rssoconnor··on OpenSSH 9.0
In our example here the argument `pfds` to the addition operator in the expression `pfds + p` is (presumably) a perfectly valid pointer. And `p` is a perfectly valid `int`. So there are no invalid pointers passed as arguments to the addition operation. You might think the result of the addition expression is an invalid pointer, but the result is simply undefined behaviour.

Typically an invalid pointer is created by deallocating some memory, which transforms previously valid pointers to the memory into invalid pointers without the pointer values themselves changing their value.

rssoconnor··on OpenSSH 9.0
cppreference.com hosts references for both the C and C++ languages. My quote is from the C language part of the site.

Furthermore, we are not discussing operations on an invalid pointer value. We are talking about the addition operator operating with a pointer value and when its behaviour is defined.

Lastly, it is your reference here that is to a C++ language draft, not the C language.

rssoconnor··on OpenSSH 9.0
https://news.ycombinator.com/item?id=30956370
rssoconnor··on OpenSSH 9.0
`pfds + p` is only defined if both the original pointer and the result pointer are pointing at elements of the same array or one past the end of that array. Note that executing `pfds - 1` when `pfds` points at the first element of an array is undefined behaviour and may fail on some platforms.

https://en.cppreference.com/w/c/language/operator_arithmetic...

rssoconnor··on The Tardis Monad
Unbelievably, I actually used this in a project when I found myself thinking that I needed a combination of a forward and backward propagating state monad.

[1] https://github.com/ElementsProject/simplicity/blob/35627fc49...

rssoconnor··on I don't like computers (2016)
I admit that NixOS doesn't make these, advanced-but-useful tasks particularly easy. NixOS's design has only gotten as far as making these tasks possible, which is still an improvement over the state of the art at the time.
rssoconnor··on I don't like computers (2016)
Not only can you do that in NixOS, but you can even do something lighter weight and apply a patch to an existing package. This has the advantage that the patch often persists through software updates.

For example, I used to patch OpenSSH to increase the minimum field size for DH key exchanges [1]. Eventually OpenSSH did update their minimum field sizes so I do not use this patch anymore.

[1] https://r6.ca/blog/20150111T040537Z.html

For those interested, patching OpenSSH in NixOS involves adding the following to one's system configuration:

    nixpkgs.config.packageOverrides = oldpkgs: {
      openssh = pkgs.lib.overrideDerivation oldpkgs.openssh (oldAttrs: {
        patches = oldAttrs.patches ++ [ ./openssh-dh-grp-min.patch ];
      });
    };
where openssh-dh-grp-min.patch is the patch file you want to apply.
rssoconnor··on U.S. Inflation Accelerates to 40-Year High
To be fair, you ought to select the option to put it on a (natural) log scale. The effect you note is still apparent, but the log scale makes one's tendency to compare it to the 70's more fair.
rssoconnor··on The Kelly criterion: How to size bets (2019)
Whether it is a third "why" or not is a bit philosophical. I think the property I stated leans heavy towards arguing for maximizing expected geometric growth, because this property has nothing to do with the notion of utility. Indeed, no matter what you utility function is, as long as it is strictly monotone, it will be the case that a Kelly strategy always eventually permanently yields a bankroll with more utility than any other strategy. This holds for the simple reason that when reinvesting profits into the next bet, you must reinvest actual money, not utility.

As for me, I often waffle between thinking this Kelly property I stated is important versus expected utility of some sort.

rssoconnor··on The Kelly criterion: How to size bets (2019)
Interesting. I think whether you follow a riskier strategy or not depends on the shape of the bets you are making. If you are picking up pennies in front of a steamroller (high probability of low payout and low probability of losses), then what you say seems to make sense. If you are playing lottery tickets (low probability of high payout and high probability of losses) then I guess you want to bet conservatively until the Kelly strategy falls below you and then you switch to the Kelly strategy.
rssoconnor··on The Kelly criterion: How to size bets (2019)
> why do I want that?

The reason why you want to do that is because, given unbounded amount of betting, the bankroll of someone following the Kelly strategy will, with probability 1, eventually permanently exceed that of any other strategy.

rssoconnor··on Removing trucks could be almost 'impossible,' say heavy towing experts
First of all I feel I should start by saying that the Ottawa protests are not about truckers.

https://www.trucknews.com/blogs/the-so-called-freedom-convoy...

The protests are disavowed by the Canadian Trucking Alliance and 90% of truckers are vaccinated and are exempt from the quarantine rules. Instead, the protest organizers are western separatists with their own agendas. This is their protest and the are using the Trucking industry as a tool in their PR. The very fact that we are discussing truckers now here on HN has more to do with their PR campaign than trucker well-being.

https://cantruck.ca/statement-by-canadian-trucking-alliance-...

Secondly, Canada's ending of the exemption for truckers from quarantine rules is reciprocal with the US rules. Canada unilaterally reinstating the quarantine exemption for cross-border truckers does approximately nothing to help unvaccinated cross-border truckers because they are still subject to the US rules regarding vaccination status when entering back into the United States. Again, this just goes to show that the protests in Ottawa have nothing to do with actual cross-border trucking. It would require international cooperation to actually address the alleged issue at hand.

Now, with regards to the matter of whether truckers traveling alone are the cause of the hospitals being full: The Omicron variant didn't originate in Canada. The virus was imported into the country from outside through a human vessel and was only able to establish itself in the country due to a violation of quarantine. No doubt the Omicron variant entered the country multiple times through multiple carriers.

Probably some of these carriers were subject to quarantine rules and violated the rules. Possibly some of these carriers were exempt from quarantine rules to begin with. But as a matter of fact, the reason the hospitals are full is because some people came into the country and didn't adequately quarantine, regardless of whether they were required to or if they were exempt.

Now, I do get it. Canada is not New Zealand. Our COVID border protections are a sieve. There was no way Omicron was ever going to be kept out of Canada. But just because our border protections are a sieve, isn't reason to eliminate them. Our goal here is not to prevent COVID from existing in Canada. Our goal is to spread out when people get sick over time so the people who will require hospital services don't all require it simultaneously. And it is plausible that our sieve can help in that regards.

When Omicron first enters Canada, it will spread more slowly if the "seeds" we are importing are spread out over time. The fewer seeds that are planted, and the more time in between them, both spreads out when people fall ill and gives more time to administer booster shots to the most at risk people.

With that all said, Omicron is now firmly planted in Canada. Whether cross-border travelers of any kind import Omicron basically makes no difference. So, as long as COVID doesn't mutate to move from the the second most contagious virus known to the most contagious virus known or otherwise escape immunity, the border policy isn't really effective at doing anything anymore. From my armchair it seems very unlikely that COVID has room to grow more contagious. But I also felt the same thing about Delta, so WTF do I know.

Therefore, I defer to those who hopefully know more than I do. If government advisors say, "hey, this COVID thing is well past its peak. Border policy is no longer doing anything meaningful. There is no longer any point in keeping it." then I'll be on board with that. If government advisors say, "so long as COVID continues to run its mutation experiments in millions of human shaped petri dishes across the globe, we will continue to keep our COVID border sieve in place." then I'm on board with that too. And if that means 10% less cross-border trucking capacity, then I'm okay with that too.

rssoconnor··on Removing trucks could be almost 'impossible,' say heavy towing experts
How about we wait until hospitals have the capacity to resume elective surgeries.

https://www.cbc.ca/news/canada/kitchener-waterloo/waterloo-r...

Ontario hospitalization of people with COVID-19 peaked on January 18th, less than one month ago, at the highest level ever recorded during this pandemic. While perhaps less than half of those hospitalized are there for COVID, nevertheless, those people need to be put in isolation wards. That is, unless you believe that the second-most contagious virus known should be just allowed to course through hospital wards.

Ontario COVID ICU usage peaked on January 24th at the second highest level ever seen during this pandemic. That was only two weeks ago. On Jan 31st Ontario eased their lockdown and there is great uncertainty about whether hospital and ICU admissions are going to start increasing again in the subsequent weeks because we have only a limited understanding of how many people were infected during the Omicron wave.

Baring another mutation that would thrust COVID into the position of the most contagious known virus, or otherwise evade immunity, we are nearing the end of the pandemic phase, where the virus is novel to the general population, and entering an endemic phase. Hospital beds will clear, surgeries will resume and then we can resume a more normal lifestyle. However, if you are a fan of medical services, like I am, we probably need a little bit more time.

rssoconnor··on Beancount: Double-entry accounting from text files
Did you covert your hledger journal to beancount, or just start anew?
rssoconnor··on Google requiring all ‘G Suite legacy free edition’ users to start paying
From what I've read, on Android you just go to Settings / Passwords & accounts / Add account / Personal (IMAP) and you can use ICloud email through IMAP.

That said, if you don't have anyone in your family with an Apple product, this iCloud+ thing may not be right for you.

rssoconnor··on Ask HN: Gmail account security
I've heard this from a several posts this week. Genuine question: since maintaining GSuite is expect to cost $6/user/month and Fastmail costs $5/user/month, do you really find the $1/user/month in savings worth the trouble of moving email providers and losing Drive/Docs etc.?

I'm planning a move too, but Fastmail's price doesn't strike me as competitive enough compared to Google's price. Amazon WorkMail is $4/user/month and Rackspace Email is $3/user/month.

rssoconnor··on Google requiring all ‘G Suite legacy free edition’ users to start paying
Fortunately one of my 5 has an Apple device.

I haven't gone through the process yet, but it additionally looks like I will need to borrow a Mac or Windows machine to start up iCloud Email. Once it is enabled I should be able to use IMAP or their web client.

rssoconnor··on Google requiring all ‘G Suite legacy free edition’ users to start paying
From what I've read, Rackspace Email is $3 per user per month.

And iCloud+ is $1/month for up to 5 users for 5 domains with up to 3 addresses per domain per user.

rssoconnor··on Ask HN: Free mail service for custom domains - G Suite alternative
From what I've read about iCloud family sharing is that purchase sharing is optional and can be turned off.

I haven't tried out the family sharing yet though.

← PreviousPage 7 of 10Next →