|
Wordle 556 5/6*
⬜⬜⬜⬜⬜
⬜🟩⬜⬜🟨
🟨🟩⬜⬜⬜
⬜🟩🟨🟩⬜
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
|
|
|
|
|
🟩⬜⬜🟨⬜
🟩⬜🟩⬜⬜
🟩🟩🟩⬜⬜
🟩🟩🟩🟩🟩
I thought this was a slang/abbreviation - not impressed.
Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP
|
|
|
|
|
It's in many dictionaries as a separate word: Google "Is ***** a word?" and you'll see how many.
It happens: language adapts to the changes to how it's users use it. Modern English is way, way different from the version from 1000 years ago. Heck, modern yoofspeak is differnet from that of last year ...
"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!
|
|
|
|
|
Wordle 556 2/6
🟩⬛⬛🟨⬛
🟩🟩🟩🟩🟩
Seems I watch too many movies!
|
|
|
|
|
Wordle 556 4/6
⬛⬛⬛⬛⬛
⬛🟩⬛🟨🟨
🟨🟩🟩🟨⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 556 5/6
⬛⬛🟨🟨⬛
🟨🟩⬛⬛⬛
⬛🟩⬛🟨⬛
🟨🟩🟩🟨⬛
🟩🟩🟩🟩🟩
Get me coffee and no one gets hurt!
|
|
|
|
|
Wordle 556 5/6
🟨⬜⬜⬜⬜
⬜⬜⬜⬜🟨
⬜🟩🟩🟩⬜
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
In my program, I am asking the user to input a date(in just integers ie 12 31 2019 367) and the number of days they add to it. In one of my functions, this is precisely what I am doing.
The user inputs 12 31 2019 367, and the program is meant to print 1 1 2021, but instead prints 1 1 2020(a year behind)...
What I did(Sorry for a lot of code, I tried to keep it simple and clean):
int days_in_month[] = {0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31};
void add_days_to_date(int *mm, int *dd, int *yy, int days_left_to_add)
{
int days_left_in_month;
while(days_left_in_month > 0)
{
days_left_in_month = days_in_month[*mm] - *dd;
if (days_in_month[2] && is_leap_year(*yy) == true)
{
days_left_in_month++;
}
} printf("after while\n");
if(days_left_to_add > days_left_in_month)
{
days_left_to_add -= days_left_in_month;
*dd = 1;
if(*mm == 12)
{
*mm = 1;
(*yy)++;
}
else
{
(*mm)++;
}
}
else
{
*dd += days_left_to_add;
days_left_to_add = 0;
}
}
int main()
{
int mm, dd, yy, days_left_to_add;
printf("Please enter a date between the years 1800 and 10000 in the format mm dd yy and provide the number of days to add to this date:\n");
scanf("%d %d %d %d", &mm, &dd, &yy, &days_left_to_add);
add_days_to_date(&mm, &dd, &yy, days_left_to_add);
printf("%d %d %d\n", mm, dd, yy);
} What I got after inputs:
Inputs: 12 31 2019 367
Output: 1 1 2020(meant to be 1 1 2021)
Thank you in advance and for your time and patience...
modified 27-Dec-22 10:45am.
|
|
|
|
|
This is not a forum in which to post programming questions. See the red letters in the comment guidelines at the top.
To err is human. Fortune favors the monsters.
|
|
|
|
|
See "Got a programming Question?" in Red third line from the top
[^]
"A little time, a little trouble, your better day"
Badfinger
modified 26-Dec-22 23:58pm.
|
|
|
|
|
On top of these two items this sounds like a homework question.
|
|
|
|
|
George introduced a single pipped card with a wonderful ending displaying a quality of elegance. (8)
International CCC - 12/27/2022
Puzzles are eligible to be posted starting at 00:00 GMT
Clue remains available for 24 hours.
Winners may become Setters if they choose.
|
|
|
|
|
Graceful.
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
Wow, that was fast.
George introduced a single pipped card with a wonderful ending displaying a quality of elegance. (8)
George = Gr
introduced = juxtaposition indication
a single pipped card = ace
with a = juxtaposition indication
wonderful ending = ful
displaying a quality of elegance = definition
Graceful
Georgius Rex
Ace
|
|
|
|
|
Well I was awake when it was set which is different! And I don’t have to set one which is even better!
If you can't laugh at yourself - ask me and I will do it for you.
|
|
|
|
|
#Worldle #339 3/6 (100%)
🟩🟩🟩🟨⬜⬇️
🟩🟩🟩🟩🟨↖️
🟩🟩🟩🟩🟩🎉
https://worldle.teuteuf.fr
second guess
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I wanted to know this:
Q: What is the difference of the earth distance and the barycenter of the earth and sun?
(Note I accidentally wrote "earth distance" instead of "earth-sun distance")
A: The earth-distance is the distance between the center of the Earth and the center of the Sun. The barycenter of the Earth and Sun is the point in space where the two bodies are balanced in terms of their gravitational pull. The barycenter of the Earth and Sun is not necessarily located at the same distance from either body, as the Earth's mass is much greater than the Sun's, so the barycenter is located closer to the Earth than to the Sun.
Oops.
Fixed the question:
Q: What is the difference of the earth-sun distance and the barycenter of the earth and sun?
A: The earth-sun distance is the distance between the center of the Earth and the center of the Sun. The barycenter of the Earth and Sun is the point in space around which the Earth and Sun orbit each other. The barycenter is located slightly off-center from the Earth-Sun distance, closer to the Sun.
And asked again:
Q: What is the difference of the earth-sun distance and the barycenter of the earth and sun?
A: The earth-sun distance is the distance between the center of the Earth and the center of the Sun. The barycenter of the Earth and Sun is the point at which the two bodies are balanced, and is located slightly outside the center of the Sun and slightly inside the center of the Earth.
I guess it's all in how you ask the question. What I really wanted to know was the km's.
Q: How many kilometers between the center of the sun and the earth-sun barycenter?
A: The average distance between the center of the Sun and the Earth-Sun barycenter is approximately 149.6 million kilometers.
No, that's the average distance between the earth and the sun, lol.
I guess Chat GTP hasn't read:
Quote: Since the Sun is much more massive than Earth, the center of mass is closer to the Sun.
The center of mass, in fact, is inside the diameter of the Sun, so the resulting wobble caused by Earth is small. Planetary orbits and barycenters « KaiserScience[^]
Wikipedia[^] actually answers this question - the distance from the primary (the sun) to the barycenter for the earth is r1 = 449 km.
|
|
|
|
|
An educated, rather convincing, liar.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I was reading through the Questions part of codeproject on C++ template related entries and I found two really bizarre questions about templates - one involving nested template specializations (not directly possible) and one involving using a .cpp implementation file with a template.
In both instances, my first thought was why in the heckin' heck would you do it that way in the first place?! And then in both cases I mentally sketched an alternative.
Then I noticed I was the one that posted those questions in the first place.
Totally forgot about them.
To err is human. Fortune favors the monsters.
|
|
|
|
|
did you try apply for a job at nasa ? may you can use c++ to launch something there....
Caveat Emptor.
"Progress doesn't come from early risers – progress is made by lazy men looking for easier ways to do things." Lazarus Long
|
|
|
|
|
lol, been working on embedded stuff for 20 years. I regularly come across previous questions thinking, "Hey this guy has the same problem I do...." then I sigh when I realize I was the OP.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
There should be a name for this.
|
|
|
|
|
Propose to call it recursive amnesia.
When you forgot what you forgot.
Also happens when you go to a shop and know you forgot something while in the shop, and even not knowing anymore why you needed to buy it.
|
|
|
|
|
It’s also known as “getting old”.
|
|
|
|
|
Ha! I just came here to write that.
To err is human. Fortune favors the monsters.
|
|
|
|