D
Deleted member
Guest
310 Nui Harimes
Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!
You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!
311
Pony thing that I thought was cute:
And it features my top two favorites.
B-B-B-But....I'm sorry sg i really am, but its just better to not tap into this field, just accept it
I know why it exists. I'm just saying that 5 years ago is technically October 3rd because of leap year. That one day pushes it to October 3rd because time wise it's correct but the earth's days per year is 365.25 which still makes it October 2nd325
The reason leap years exist, Sunset, is because the seasons are not perfectly synchronized with the calendar and that leap year's extra day is meant to keep things under balance.
So, in a way, the 5th anniversary of this thread is STILL tomorrow.
If an Earth year is 365.25 days (which is actually completely right), that would mean that its 5th year anniversary would STILL be October 3rd, since it's on that day that it would have 5 Earth years, which is 5 x 365.25.I know why it exists. I'm just saying that 5 years ago is technically October 3rd because of leap year. That one day pushes it to October 3rd because time wise it's correct but the earth's days per year is 365.25 which still makes it October 2nd
Count the hours though and it will be a year Smashboards timing system doesn't count Leap Year yet at the same time it doesIf an Earth year is 365.25 days (which is actually completely right), that would mean that its 5th year anniversary would STILL be October 3rd, since it's on that day that it would have 5 Earth years, which is 5 x 365.25.
327
I did get my trophy for joining this site 5 years ago one day earlier than I should have because of leap year
That's likely due to the way this site is programmed. Maybe it only counts the days with integral values (non-decimal) instead of float values (decimal) to make it easier, since an Earth year is actually 365.242199 days, not 365.25Count the hours though and it will be a year Smashboards timing system doesn't count Leap Year
int year; //current year
bool leap = false; //whether it's a leap year or not
if(year == 0) //if the year is 0 (0 is not a leap year)
{
leap = false;
}
else if(year % 4 == 0) //else if the current year can be divided by 4
{
leap = true;
if((year % 100 == 0) && (year % 400 != 0)) //can be divided by 100, but not 400
{
leap = false;
}
}
else
{
leap = false;
}
No they count leap years it's just the timing is off because it counts the leap day in with the hour system which throws the program off. I made it sound confusing and was adjusting the whole thing..That's likely due to the way this site is programmed. Maybe it only counts the days with integral values (non-decimal) instead of float values (decimal) to make it easier, since an Earth year is actually 365.24219 days, not 365.25
Also, if this site doesn't tell whether it's a leap year or not, that's some kind of programming oversight, because the code is actually quite simple;
Code:int year; //current year bool leap = false; //whether it's a leap year or not if(year == 0) //0 is not a leap year { leap = false; } else if(year % 4 == 0) //else if the current year can be divided by 4 { leap = true; if((year % 100 == 0) && (year % 400 != 0)) //can be divided by 100, but not 400 { leap = false; } } else { leap = false; }
329
Even then, it isn't really hard to make the timing right.No they count leap years it's just the timing is off because it counts the leap day in with the hour system which throws the program off. I made it sound confusing and was adjusting the whole thing..
Then again the time for Smashboards is like 5-6 minutes ahead for my phoneEven then, it isn't really hard to make the timing right.
Just use the code I wrote as a method and add a +1 to the day counter if it returns true.
Adding something like this isn't that hard, so this is likely just an oversight.
331
You'd be surprised to see how the smallest oversight can completely change a program.Then again the time for Smashboards is like 5-6 minutes ahead for my phone
Programming is actually pretty fun. If you find the right environment, it can be one of the funniest things ever.>is not fluent in programming
That's one of the first things they taught us how to do in Java at robotics.That's likely due to the way this site is programmed. Maybe it only counts the days with integral values (non-decimal) instead of float values (decimal) to make it easier, since an Earth year is actually 365.242199 days, not 365.25
Also, if this site can't tell whether it's a leap year or not, that's likely some kind of programming oversight, because the code is actually quite simple;
Code:int year; //current year bool leap = false; //whether it's a leap year or not if(year == 0) //if the year is 0 (0 is not a leap year) { leap = false; } else if(year % 4 == 0) //else if the current year can be divided by 4 { leap = true; if((year % 100 == 0) && (year % 400 != 0)) //can be divided by 100, but not 400 { leap = false; } } else { leap = false; }
329
Same here, but in C/C++That's one of the first things they taught us how to do in Java at robotics.
339Same here, but in C/C++
337
Of course it can! Your code needs to be perfect to work and all the tests you gotta make can make things tedious.I'll pass it can get frustrating and I'd rather look at other stuff
*Hugging Shimmy*
C++ is literally one of the easiest and most convenient languages around. I'm surprised you haven't learned it.339
I should get around to learning C/C++ sometime soon. Programming is fun!
You shouldn't be, I'm just lazy.C++ is literally one of the easiest and most convenient languages around. I'm surprised you haven't learned it.
Look at the bright side.....it ain't a 5so that Hurricane I'm supposed to be getting Is currently a Category 4
Stay safe. I had tornado alarms go off during summer... not fun, but thankfully was fine.343 so that Hurricane I'm supposed to be getting Is currently a Category 4
Inb4 it turns into a Cat. 5 Hurricane..Look at the bright side.....it ain't a 5
344
I live too far away from the coast to get a hurricane. Hasn't stopped me from being in Florida while one happened though. (It was a really long time ago and I only know because of parents. I think I was like 6 when it happened.)346
All I ever got was the edge of a hurricane.