|
Wordle 731 5/6
๐จโฌโฌ๐จโฌ
๐จโฌโฌโฌ๐จ
โฌ๐จโฌ๐ฉ๐ฉ
โฌ๐ฉ๐ฉ๐ฉ๐ฉ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
|
|
|
|
|
โฌ๐ฉโฌโฌโฌ
โฌโฌ๐ฉโฌ๐จ
โฌ๐ฉ๐ฉโฌโฌ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 731 4/6
๐จโฌโฌโฌ๐จ
๐จโฌโฌโฌ๐จ
โฌ๐ฉ๐ฉ๐ฉ๐ฉ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
|
|
|
|
|
I can't work out what your third attempt could be
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
It was "prost" (German for "cheers", toast when drinking alcohol), which was somehow accepted
I know it's sometimes used in English, but didn't expect it to actually be accepted.
I'm not German, but I still thought of that word before the real solution (it's "proost" in Dutch, so not that much of a stretch)
|
|
|
|
|
Or Alain of course ? Iโm surprised it was accepted
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 731 4/6*
โฌโฌโฌโฌ๐จ
๐จโฌ๐ฉโฌโฌ
โฌโฌ๐ฉ๐ฉ๐ฉ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
Wordle 731 5/6
โฌโฌ๐ฉ๐จโฌ
โฌโฌ๐ฉโฌ๐จ
โฌ๐ฉ๐ฉโฌโฌ
๐จ๐ฉ๐ฉโฌโฌ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 731 4/6
โฌ๐จโฌ๐ฉโฌ
โฌ๐จโฌ๐ฉ๐ฉ
โฌ๐จโฌ๐ฉ๐ฉ
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
#Worldle #514 1/6 (100%)
๐ฉ๐ฉ๐ฉ๐ฉ๐ฉ๐
https://worldle.teuteuf.fr
easy one
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I drank the Kool-Aid: it tasted like the refrigerated air in gigantic server farms with top-notes of ozone and mass-layoff sweat.Quote: To determine if a circle is in an ellipse in C#, you can use the following code:
public bool IsCircleInEllipse(RectangleF ellipseBounds, PointF circleCenter, float circleRadius)
{
var xRadius = ellipseBounds.Width / 2;
var yRadius = ellipseBounds.Height / 2;
var xCenter = ellipseBounds.X + xRadius;
var yCenter = ellipseBounds.Y + yRadius;
var dx = Math.Abs(circleCenter.X - xCenter);
var dy = Math.Abs(circleCenter.Y - yCenter);
if (dx > xRadius || dy > yRadius)
return false;
if (dx <= xRadius - circleRadius && dy <= yRadius - circleRadius)
return true;
var xCornerDist = dx - xRadius;
var yCornerDist = dy - yRadius;
var cornerDistSq = xCornerDist * xCornerDist + yCornerDist * yCornerDist;
return cornerDistSq <= circleRadius * circleRadius;
}
This code checks if the circle is completely inside the ellipse. If you want to check if the circle is partially inside the ellipse, you can modify the code accordingly.
I hope this helps! Let me know if you have any other questions.
Source: Conversation with Bing, 6/19/2023
p.s. none of the "relevant" links to published code examples included in the response were to articles with a solution to determining if a circle was fully contained in an ellipse.
ยซThe mind is not a vessel to be filled but a fire to be kindledยป Plutarch
|
|
|
|
|
I give that code a C-. Multiple return points, the two if statements should really have braces and composed as if-else-else with a "ret" variable so there's only one exit to the function, at the end! And a return with a conditional and computation in it just sucks, as it makes it more difficult to debug. Otherwise, the variable naming is good, and I wonder where it stole the code from. And your p.s. is quite amusing, so much for the AI accurately referencing its sources.
|
|
|
|
|
It also assumes one knows how to get the "bounding rectangle" for an ellipse in the first place. Yeah ... I also think the code is "lifted".
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
@marc-clifton
My sources at OpenAI and MS/Bing tell me that the effort to get generated code in C# optionally written in the flavor called "High Cliftonian" has been postponed again until at least spring 2024.
cheers, bill
ยซThe mind is not a vessel to be filled but a fire to be kindledยป Plutarch
modified 21-Jun-23 8:20am.
|
|
|
|
|
|
If it ruptured at that depth, you'd be dead before you knew it - it would be a quick death, at least. 6,000 psi/410 bar!
"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!
|
|
|
|
|
Not quick enough. I watched a terrible documentary focused on dead on a submarine. Ususaly when the hull is compromised, the water compresses the air and air kills you.
Advertise here โ minimum three posts per day are guaranteed.
|
|
|
|
|
Did the passengers buy a one way ticket?
I'm claustrophobic, I wouldn't have even gotten in the sub.
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
Mike Hankey wrote: I'm claustrophobic, I wouldn't have even gotten in the sub. I'm fat, I wouldn't have fit in the sub
Jokes aside, two things spring to mind: a) let's hope they are found before the 96 hours air reserve deadline - loss of life is tragic no matter circumstances; b) just because something can be done it doesn't mean is should be done.
Mircea
|
|
|
|
|
The Titanic is a mile down, odds of survival are not in their favor, but I do hope they come out alive.
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
More like 2 miles, but after a certain point it doesn't matter.
Mircea
|
|
|
|
|
You're right, don't know where I got 1 mile from.
Give me coffee to change the things I can and wine for those I can not!
PartsBin an Electronics Part Organizer - An updated version available! JaxCoder.com
Latest Article: Simon Says, A Child's Game
|
|
|
|
|
Me and the missus went on a submarine in Hawaii, around 100-125 ft down. My wife was marveling at the fish and coral we were seeing, me thinking how screwed we'd be if something went wrong.
"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
|
|
|
|
|
jeron1 wrote: ...me thinking how screwed we'd be if something went wrong.
LOL! It brought to mind a brief conversation I had with tourists standing on the Sky Walk at work. Grand Canyon West Sky Walk is a glass walkway extending out over the edge of the Grand Canyon with a marvelous view of the bottom, some 4000' down. I casually mentioned to the others on the walk, "you do know that this was built by the low bidder, right?" Expressions were priceless... Being crushed in a sub would be a terrible way to die, but it's quick. Falling from that thing you'll have some time to think about it.
I wonder what the guy who jumped last week was thinking about?
Will Rogers never met me.
|
|
|
|
|
Roger Wright wrote: I wonder what the guy who jumped last week was thinking about? "Wow, it's really not the fall that kills you!" or "My name is Wile E Coyote, this happen to me all the time." ?
"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
|
|
|
|