Janna Lockhart

Greenhorn
+ Follow
since Dec 21, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Janna Lockhart

Originally posted by Connie Boyd:
It's not a perfect world, and I'm not a perfect person, but I do what I can, right?


Absolutely, and I think that's great. Lots of people think that because there isn't a perfect solution to a problem, we shouldn't even try. I think your view is a great one!
20 years ago
In response to Sridevi: I understand and respect your position on the vegetarian issue. I think that many vegetarians choose not to kill animals for consumption but still consume medicines or other products that indirectly came from either testing or killing animals and I don't have a problem with that for this reason: they are doing what they can to limit the killing of animals to the point that it seems reasonable to them. Just becase the solution isn't perfect, doesn't mean that they shouldn't try to limit what they feel is unneccesary. Kudos to them.
I guess this post was in response to Sandra Lavigne's suggestion in the McD discussion that we all check out the PETA website. PETA drives me crazy because they oppose any animal testing whatsoever but medicinal drugs cannot be approved by the FDA without having gone through testing on first animals, then humans. I doubt that most of the PETA supporters forgo taking all medicines. I doubt that they choose not to vaccinate their children despite that the drugs were tested on animals. You can't persecute the means and then accept the benefits. Sorry, Sandra. I'm not trying to attack you, but the PETA organization because they are way too extreme and make a bad name for all the animal lovers that try to protect and respect animals in a sensible way.
20 years ago
I cannot believe I feel the need to delve into this after the McD controversy, but...
I have a question for all you veggies out there that will sound a little accusatory and I don't mean it to be at all. Honest. I have just always wondered how the philosophy comes to terms with modern medicine. For instance, drugs must first be tested on animals before they can reach consumers, so do you also boycott medicine? Surgeries (which are almost always developed on animals)? Do you vaccinate?
Just wondering...not trying to step on anyone's toes...
20 years ago

Originally posted by Jane Griscti:

It will take alot more than money to correct the wrongs; both past and present.


Money will not correct the wrongs but it will introduce a host of other problems. I think it would divide race relations further than we already are and take us backwards, not forwards. No body (with any intelligence) is arguing that African Americans were not treated appalingly but money does not undo that.
20 years ago
Originally posted by Shama Khan:
You mean to say that the reparations were paid to Native Americans who were here when the Mayflower arrived. I am sure you are mistaken but reparations to Native American and to African American is pretty much the same thing.
To my knowledge, financial reparations were never made to Native Americans. What I was referring to, was the return of lands that were Reservations designated by Government and then retaken. That is wholly different from what we are talking about here. Consider the implication of such an act; where then, would the line be drawn? As a woman, I could argue many of the same wrongs that minorities could. Should the government pay me? African Americans could vote nearly 50 years before women! I need a check for that, let me tell you.

[This message has been edited by Janna Lockhart (edited August 10, 2001).]
20 years ago
Agreed. Most schools won't even entertain the thought of admitting a Masters Student without work history and if your's will, you still would probably get a lot more out of your Masters after having worked for a while. I recommend getting a job and putting that knowledge to use.
20 years ago
So I've been seeing and hearing more and more discussions about slavery reparations (here's one--http://www.msnbc.com/news/611586.asp) and I wondered what people's opinions on this subject are. I don't think it makes any sense, especially when people use the argument that we have paid such reparations to Native Americans or the Japanese that were incarcerated during WWII. The difference in those situations is that we paid living victims of atrocities that our government had committed against them. The African-American slavery issue is quite different because the victims are no longer alive and nor are the perpetrators. I think because of that, America is right to be unwilling to discuss this issue.
What do you think?
20 years ago
Thanks Alex!
20 years ago
Your method does not necessarily return the same variable that it accepts. A method could look like this:
public String traverseStringArray(int i)
{
String [] names = {"Bob", "Jim", "Craig"};
if (i < names.length())
return names[i];
else
return String fail = "Sorry, there's no one here by that identification number!";
}
If you were assuming when you asked the question that you were returning the value you handed it, I believe you could do that without an error because it would cast for you.

[This message has been edited by Janna Lockhart (edited April 10, 2001).]
20 years ago
I'm trying to make a simple application in which the user selects their birthdate from a month JComboBox and a day JComboBox. I then want to take this birthday and calculate how many days from today it is until their birthday. Since you initialize JComboBox with a String, I have just concatenated the input to a single string value that equals mm/dd/yyyy, the yyyy part of which I retrieve by getting the current year. My question is, is their a method that figures out what day of the year a particular date is? As in day 1 = Jan 1 and day 365 = Dec 31? Therefor, I would just need to figure whether or not their birthday has already occured this year. If it hasn't, I say the number of days until their birthday is equal to ((365 - number their bday falls on) - (todays date)). If their birthday has already passed for this year, the value would be ((365 - number of days for todays date) + (number their bday falls on)).
void computeBDay(String input)
{
java.util.Date presentDate = new java.util.Date();
java.util.Date birthDay = new java.util.Date(input);
if (presentDate.before(birthDay))
{
//then calculate easy
}
else
{
//calculate difficult
}
Please help! Any ideas at all would be appreciated!
20 years ago
It's part of the portability of Java that it adjusts for the time zone that you're in. Notice the time stamps here at the java ranch on our posts? They accurately display the time stamp according to your time zone rather than the time zone of each user so that it's a more accurate view of the relative timing of each post!
20 years ago
I think you may find Just Java 2 a lot like TIJ in that it may not be the best book to begin with. It is a wonderful java book, but not necessarily for absolute beginners (just regular beginners ). My intro to Java class used Java Software Solutions (Lewis & Loftus) but it's pretty dry. Maybe you could ask those in an intro class what book they're using and start there.
[This message has been edited by Janna Lockhart (edited January 24, 2001).]
20 years ago
I don't think the argument is practical that try catch statements should not be used for this reason: Java is an OO language that allows for many different programs, classes, whatever to interact. Any good OO implementation dictates that any class that I write should not have to know the details of any class that it interacts with. That is what OO is all about. Therefor, when I am coding a class, I should not (and maybe cannot) have to look at all the possible exceptions that could occur when interacting with another class. I should just be aware that an exception has the possibility of occuring, and catch it(doing whatever is necessary with that exception when it occurs).
20 years ago
I think it looks like James has created a very good implementation for you. Consider buying UML Distilled which is an easy, but comprehensive manual on UML which is indispensable when doing OOAD and what Rational is designed for. You'll find it incredibly helpful.
20 years ago
I have posted this problem before and I still encounter it, so maybe its a problem with my browser? Oftentimes (ok, all the time) when playing Rules Roundup, the question does not display but the answers do. If I refresh the page, I get a new question (that's based on the fact that I get new answers) that does display properly but as soon as I submit my answer, I'm onto another set of answers without a question. Help!
20 years ago