glibby
Re:Never write your own date parsing library
on Friday July 25, 2025 @04:45PM (#44688233)
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.
Re:An app can transform smartphones into thermometers that accurately ...
on Wednesday June 21, 2023 @09:50PM (#36427111)
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.
Re:Eduard: Swiss-Style Relief Shading for Maps Using Machine Learning
on Friday February 24, 2023 @12:05AM (#34921015)
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.
Re:TikTok-owner ByteDance planning to layoff thousands in coming months
on Thursday February 23, 2023 @01:10PM (#34914202)
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".
Re:Severe Outcomes Among U.S. Patients with Covid-19, Feb 12–Mar 16, 2020
on Wednesday March 18, 2020 @09:38PM (#22623485)
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.