|
|
I agree with the previous posters: Set Theory
In C++ there is the container std::set something similar exists in Python so I assume C# also has something like it.
In C++ it looks like this:
set_difference - C++ Reference[^]
"If we don't change direction, we'll end up where we're going"
|
|
|
|
|
In Set Theory, the opposite of "Intersection" is "Difference". You're describing a Difference operation.
|
|
|
|
|
Be careful on order if you use a library.
A.diff(B) != B.diff(A)
I have seen Difference used for this operation.
It looks like Complement could be another term.
There is also Symmetric Difference which contains outliers from both sets.
|
|
|
|
|
OK, not a Maths term per se, but when anyone invokes the 'M' word in my hearing I always think "Freudenschade"......
|
|
|
|
|
|
In case it might be useful to you.
I have ubuntu Linux running on my Win 10 laptop (WSL) and it has this handy program called comm. I use it when I need to do a task like you describe. HTH
Usage: comm [OPTION]... FILE1 FILE2
Compare sorted files FILE1 and FILE2 line by line.
When FILE1 or FILE2 (not both) is -, read standard input.
With no options, produce three-column output. Column one contains
lines unique to FILE1, column two contains lines unique to FILE2,
and column three contains lines common to both files.
|
|
|
|
|
|
R.I.P. I liked some of his stuff, but definitely talented.
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
I finished GTAV DLC "The Contract" - which has been a bugbear for me as it crashed at the end of three missions several times. Got there in the end though. Quite a fun one!
And ... drum roll please ... I'm cooking a fish curry for supper tonight, so I just cut a Cod loin in half - half for Herself, half for me. Cutting by eye, I them weighed the pieces. 134g for the first one, and ... 133g for the second. Nice. That's a small but good triumph, I don't normally estimate it that close!
Probably never get quite that close again, either.
"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!
|
|
|
|
|
Fish should be eaten raw (or breaded and deep fried).
|
|
|
|
|
Yep. Speckled Trout in New Orleans. I have had Cod before, and it was OK, but a little too bland for my tastes. Don't know how it is in a curry.
But that's what makes horse races. You go Griff!.
Spicy in NOLA
|
|
|
|
|
I was reading that post and thought to myself - there but for the brace of cod go I.
|
|
|
|
|
Boom-Tish!
"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!
|
|
|
|
|
He’s just trawling you Griff!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
That one smells a little fishy to me.
ed
|
|
|
|
|
OriginalGriff wrote: I just cut a Cod loin in half - half for Herself, half for me. Cutting by eye, I them weighed the pieces. Is there a subtext here of some fishy paraphilia involving oil and knives ? My subliminal seismometer just wiggled
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
Most kitchen scales are only accurate to within 1 gram or so, so the pieces had identical mass to within the limits of measurement.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I posted about my mostly Presa Canario in that thread.
This morning around 7:45 EST something happened to him. He was fine then he made a noise and vomited. He thrashed about in what I initially thought was his back scratching routine but then I realized it looked like he had lost control of his muscles. He started breathing really hard. I tried calling the vet but they weren't open yet so I thought I'll take him to the emergency animal hospital. He's so big I had to get the neighbor to help me lift him into the backseat of my truck.
Louis is no longer alive. He either died on the way to the vet or he was already dead when we put him in the truck. It had to be an aneurysm, or heart attack. He was 7 years old.
Just needed to share. I'm missing the big idiot.
I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
|
|
|
|
|
My condolences. It is hard to lose a pet especially when it happened suddenly like that.
|
|
|
|
|
Condolences, I know how attached one to them one can get.
I've had a couple of good friends I've had to put down for one reason or another and still miss them.
The less you need, the more you have.
Even a blind squirrel gets a nut...occasionally.
JaxCoder.com
|
|
|
|
|
Very sad news. Grizzly is usually right nearby while I'm working. At the start of 2022 I bought a raised desktop to try to improve my health a bit. Now he is even more underfoot since there isn't a chair to block him. Working from home would just feel wrong without him "supervising". I'm sad to hear of your loss of Louis.
|
|
|
|
|
The wife and I are proud staff to an elderly dog (15 years old). He's looking pretty rough these days and I fear the day he passes.
|
|
|
|
|
Very sorry to hear, they really are members of the family, and being so young...
Our pup who's 12 1/2, was recently diagnosed with liver cancer. It was alot more difficult to process than I thought it could be. She's old, but still my little girl. You have my sympathies.
"the debugger doesn't tell me anything because this code compiles just fine" - random QA comment
"Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst
"I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle
|
|
|
|
|
You have my utmost condolences...so unexpected too!
I have an 8 y/o cocker and already know how much it's going to crush the wife and admittedly myself when he is gone. Until then, we make the most of each day and appreciate the joy he brings.
Remember the good times.
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|