|
You still need to reduce the argument to that range, which is a major source of inaccuracy. That is what I pointed out.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Yeah I actually thought in fixed point, where accuracy is lost at the very beginning (but it's easier to calculate).
GCS d--(d-) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
For a theoretical math library function, true. But for practical applications, who uses angles beyond maybe a few tens of radians?
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
In order to calculate sin(x), you must first reduce the argument by calculating y = fmod(x, Pi/2). This entails subtraction of two numbers that may be very close to each other, i.e. you may get catastrophic cancellation and loss of accuracy. In order to avoid this (even for relatively small numbers), you must use a more accurate version of Pi than can be contained in a double.
A high-quality floating-point library will perform the reduction at the highest accuracy for all finite values representable by double. This may be overkill for some embedded software (where, as you say, the angles may be small), but in that case there should be a way of indicating whether the result has any significance. Failure to do so can lead to some rather odd results...
(The article I referred to in my earlier post (https://www.csee.umbc.edu/~phatak/645/supl/Ng-ArgReduction.pdf) has a table showing how different compilers miscalculated sin(10^22) and cos(10^22))
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Now y'all are talking python. I was over here talking C++.
Real programmers use butterflies
|
|
|
|
|
That was one of my first Fortran assignments back up in 82 or 83!
Back then their approach to teaching software development was sort of like “Here’s a dictionary- now write a novel!”
Don’t know that it has changed much (aside from the Fortran part!).
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
My friend Will couldn’t believe that Tripp’s dog Harley could talk, so Tripp asked him a question.
“How does sandpaper feel?”
“Rough!” said Harley.
Will shook his head still not believing, so Tripp tried again.
“What is on top of the house?”
“Roof!” replied Harley.
Will still didn’t believe, so Tripp tried one more time.
“Okay then, who is the best baseball player of all time?”
“Ruth!” yelled Harley.
Will just walked away shaking his head, disappointed.
Harley turns to Tripp and says, “Does he think it’s Mike Trout?”
|
|
|
|
|
I got a sous vide for Christmas. I've only had an opportunity to try it once with beef short ribs, which were delicious.
Those of you with experience using a sous vide, any recommendations on what works well?
|
|
|
|
|
I think @OriginalGriff is our sous vide (among a zillion other things) expert.
Software rusts. Simon Stephenson, ca 1994. So does this signature. me, 2012
|
|
|
|
|
I look forward to hearing his opinion 😁👍
But I also welcome others...
|
|
|
|
|
(It probably involves sheep.)
|
|
|
|
|
Well,
According to Griff, everything and everyone is 'fake'. Using the HR tools at my disposal I could see that around a dozen MSFT employees were active on the site circa 2010-2017 but almost never identified themselves. Several were frequent posters in the segregated 'India Lounge' which was recently disbanded. All of you 'Mods' have zero social media connections and quite literally live in isolated caves and Arizona deserts. Site is being destroyed from the inside. As of 2022 there are near zero members working at fortune 500 corporations. Only the 50-80 year old cynical retirement bound users remain.
Sorry, I'm drinking wine 🍷 again and typing on my TV, but it's when the truth comes out.
I speak my mind.
|
|
|
|
|
Sounds like a programming version of my sister...
|
|
|
|
|
Just keep saying the word Red so the schizoaffective members continue to make fools out of themselves. The best thing about the internet is it's public.
|
|
|
|
|
Nothing wrong with wine. I have been having triple olive dirty martinis... 🍸
|
|
|
|
|
|
Not sure what point you're trying to make talking about a case of plagiarism from back in November. If someone cuts and pastes large sections of other people's work without attribution it's plagiarism, by definition, but where does that extend to mean legitimate posters will be accused of being fake and entire entire dev teams being frauds?
Are you comfortable with plagiarism? Do you feel it's fair to the original authors?
cheers
Chris Maunder
|
|
|
|
|
He is bloody eloquent when in his cups and using a TV as an input device. I have no idea what he is on about but that impressed me!
Never underestimate the power of human stupidity -
RAH
I'm old. I know stuff - JSOP
|
|
|
|
|
I was trying to figure out what any of this had to do with sous vide... 😁
|
|
|
|
|
Chris,
I think you missed the point. The thread I pointed to has your moderation team publically accusing him of being a fraud on the top level post. This was unnecessary.
What makes it worse is that the article author was telling the truth.
Chris, there isn't an infinite pool of talented software engineers to mine from. I would suggest a more professional approach to vetting the talent that visit the site.
|
|
|
|
|
He was accused of plagiarism. And it was clear that was the case.
I'm not aware of what you mean when you say "the author was telling the truth". Where was this discussion?
Randor wrote: I would suggest a more professional approach to vetting the talent that visit the site
We don't select the members who visit this site. This isn't that kind of site.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: I'm not aware of what you mean when you say "the author was telling the truth" Your moderation team openly questioned his former MVP status. Are we reading the same thing? It's right there in the thread and it was inappropriate.
Would you rather talk about this over a phone call?
|
|
|
|
|
Hmmm, you think some mutton would be good? 😉
|
|
|
|
|
Start with steak, or fish.
Take a nice thick piece of rump (UK - in the US it's "sirloin" so it's probably the same in Canadia)
It's a tasty piece of meat, that can be quite chewy because it does a lot of the donkey work of moving the cow around. I normally trim it of the edge fat as that doesn't render in teh sous vide as teh heat doesn't get high enough.
Add butter, garlic, salt, and pepper and seal the bag - I have external, chamber, and handheld sealers and they all work (though the handheld ones are a PITA because you can't reuse the ziplock bags as they don't clean easily at all). If you don't have a sealer, you can just put the meat under the water surface and hold the top shutto let the water pressure evacuate it. It works, but it's a mess if it slips during cooking ... and holding the meat fully immersed can be difficult as well.
Preheat the Sous Vide to 65C / 150F and cook the steak for an hour (can be longer, it won't make much difference) then sear it in a very hot pan on both sides for about 30 or 40 seconds. It needs this as it will come out looking a fairly unappetising grey colour ... but it should be pink and juicy all the way through and tender as heck!
Fish: (sustainably caught) cod is trivial: in the bag, 55C, 30 minutes. Prawns: 60C, 30 mins.
Chicken, joints of beef or lamb, lemon curd, reheating chilli, stew, hotdogs, even vegetables ... there are loads of things you can cook and google will find you heaps of recipes!
I'm on my third machine (and fourth, I have a spare) and wouldn't be without it or the sealer(s) - being able to cook a slow cooker full of chilli, bag it in "double portions" and freeze it for a year or more. Then just grab a bag, throw it in the sous vide and reheat at 80C for an hour while a jacket potato cooks is great for easy meals!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
(nothing to add except)
me want to get one kit (air sucker machine, circulator)
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|