Better HN
topnewbestaskshowjobs
Log inSign up

glibby

73 karma · joined Nov 15, 2017 (9y ago) · 5 submissions

Verifying my Blockstack ID is secured with the address 12T6CWauXoRM8WqPDcJZYgg6wx4w6HkD7u https://explorer.blockstack.org/address/12T6CWauXoRM8WqPDcJZYgg6wx4w6HkD7u
Submissions

comment 1y ago · link · parent

By all means, write it. Just don't use it. These warnings are almost always in the context of code you're going to release, not exercises in learning on your own.

comment 3y ago · link · parent

I would have naively calculated average error as avg(max( abs(smallest), largest)). so it would be 100 in your case. I'm sure that's not statistically correct but it makes sense to me.

comment 3y ago · link · parent

Use the partial derivatives of the topo height to calculate a normal. dot that normal against your fake sun angle to shade your terrain. it seems though that the magic in this is in throwing away specific details and changing the sun angle when it is aesthetically pleasing which makes sense. on the surface it looks like you should be able to use the heightfield and standard filters to get a reasonable result but I'll take their word for it that real world data will prove more difficult.

comment 3y ago · link · parent

I believe the rule of using "are" when following a noun that ends with "s" still applies though. eg. "the vertices are" but "the collective is".

I can't think of a collective noun that ends in S that I would follow with "is".

comment 6y ago · link · parent

That report just sources the same CDC report, but I think it gets some of its conclusions wrong.

It says:

>In contrast, among people 20 to 44, 14% to 21% of 705 cases were admitted to hospitals and 2% to 4% to ICUs; 0.1% to 0.2% died.

But the CDC report indicates that 12% total (of all cases) are known to have been hospitalized, and of that number, 20% were age 20-44. So that would mean that (0.12*.2=) 2.4% of people total were 20-44 and in the hospital. Now 29% of all cases were in that age group, so that would mean for the 20-44 age group there was a (2.4/29=)8.3% chance of hospitalization.

Maybe I misunderstood something there, but I think I'm right.