# P. Sagdeo

Ranch Hand
since Nov 13, 2003
Cows and Likes
Cows
0
In last 30 days
0
Total given
0
Likes
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Scavenger Hunt
Ranch Hand Scavenger Hunt
Greenhorn Scavenger Hunt

## Recent posts by P. Sagdeo

I think that what has been posted so far is too complicated. All that is needed is to know that 1 minute should be 6 degrees (360 degrees in 60 minutes, so that follows). So when you have the minutes, to compute the degrees, you simply do:

Hours can be either much easier or a little harder. First the easy way:
Since you know there are 12 hours in 360 degrees, the difference between hours is simple 360/12 = 30 degrees. So the code is:

However, if you wanted to be like a real clock, where the hour hand slowly moves continuously over the hour, then you would have to take into account the amount of minutes that have passed. To do this, I would simply find the decimal between the hours (i.e. 6:30 would be 6.5) and then find the degrees. The code then would be something like:

Now that we have the two degree values, we can subtract their values. This can be done like:
14 years ago
On my first, 'real' try, I got a 40.
When I tried to get a high score, I got a 38.
When I tried to get a low score, I got 40.
14 years ago
mars
14 years ago
Sumo
14 years ago
louvre
14 years ago
Hi All,
I was wondering if there was a painfree way to convert String objects with numbers (i.e. "1243") to ints (1243). I know it's possible to manually do it, but I realize that it could take some time, and I don't want to reinvent the wheel.
Sincerely,
Parth Sagdeo
14 years ago
milk
14 years ago
That's programming, or even math. 1 + 2 = 3, 2 + 1 =3, 3 = 2 + 1, et.

Anyway, why can't you have the listener in any component, and just requestFocus()?
15 years ago
Dispose() - Destroys the JFrame completely, frees the resources.

System.exit(int) - Closes the entire program

JFrame.setVisible(false) - Makes the JFrame invisible, make it reappear with a setVisible(true)
[ July 19, 2004: Message edited by: P. Sagdeo ]
15 years ago
1. From where?

2. Usually, the casino/hotels offer the best prices

3. I've had good experiences with JetBlue.
15 years ago
I'm surprised all you guys who know Hindi better than I do havent said that in Hindi, love = pyar .
15 years ago

"I love you" in French is "Je t'aime", "Je t'adore" is weaker.

Yes, I have a few years of highschool French from almost 20 years ago plus some exposure to the language from living in the European French territories (aka the EU).
[ July 16, 2004: Message edited by: Jeroen Wenting ]

Actually, I thought it was the other way around.
15 years ago
Netscape always seemed to run really slowly after 4.0, but maybe that was just me. That's kinda when my years using the Navigator came to an end. I've been using Explorer since, but I have Mozilla, and it works well. The problem is that I have to go to It That Should Not Be Named's website, and they don't allow non-IE browsers.
15 years ago
Wouldn't you use the verb adorer? (In French)
15 years ago
Why don't you guys reccomend any new Hindi movies? If all you want is to immerse yourself in another culture, even Kabhi Kushi Kabhi Gham is a good "feel good" movie. Otherwise, Earth is pretty good, but Amelie seems incomplete. Personally, I felt it was so lacking in closure that I thought the bonus DVD had the rest of the movie on it. I haven't seen any non-English movies that are really noteworthy recently, but War and Peace is certainly a good one (You can tell most really old movies apart from the 1990's ones, but War and Peace is truly a clasic among movies.)

Anywho, do you guys have any recommendations on good French movies to see? (Preferably comedy, I havent seen a French comedy since The Red Balloon)
15 years ago