Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Tax cuts are drastically needed, so we can have REAL JOBS again.

So in your opinion, what are "REAL JOBS" and how do they relate to tax cuts?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

The Weather Channel, the History Channel, and Discovery are pushing global warming so all of the environmentalcases will watch the advertising.

Yeah, that's got to be it. You have it all figured out.
:yawn:

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Well, the code you posted does not have anything written to do either of those things. If you are having trouble with an updated version of it, you'll need to post that with your question. We can't discuss what we can't see very well.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You are correct - you're overwriting the file on each invocation of detailLine. To fix that, you could make the output file a class-level variable or pass a reference to it as a parameter. Either way, do not open or close the file in that method - just write the data. Close it after all of the data has been written.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Initialize sum to 0 when you declare it. The average is just

for (int i = 0; i < average.length; i++)
{
  sum += average[i];
}
double overallAvg = sum / c;
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

I agree with you, they are criminals in that sense, but they're not scum. They're just trying to make a living, and as I've mentioned before, migrating legally to the US is a pain, a long process that takes a lot of time and money, which is why most immigrants are illegal.

You won't find anywhere that I have called them scum. I also know that the process is a long one - but it is the process that we currently have in place and as such they must abide by it unless they wish to be treated as criminals.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>Yep, so we don't need more streaming in under the fence

you still don't get it, no one gets it! most of the illegal immigrants aren't even criminals. they're not scum, they're hard workers looking for job opportunities which they don't have in their own countries.

Actually I do get it. I've lived around communities of them for years now. I know that most of them are just looking for work. However, they choose to ignore the legal immigration channels and by definition become criminals when they are illegally in the country. By necessity of their illegal status, they also break tax laws, driving laws, insurance laws and others. They cannot comply with them because they lack the legal status to do so. What good are those laws if a large portion of a population ignore them? We should just let them live outside the bounds that are established for everyone else I guess?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

the US is just as corrupt, messed up and full of criminals as any other country.

Yep, so we don't need more streaming in under the fence :P

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

So, the most dishonest group of people might be the voters, at least dishonest to themselves.

Yes, there is quite a bit of truth to that. Voters don't want to get bogged down in the sticky compromises necessary to achieve what they want nor the inherent contradictions in what they demand (i.e. "Lower our taxes yet do more stuff for us!").

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

They aren't recognizing the constructors because you have not written them. You have a single constructor available which takes 4 float parameters. If you need others then you will need to write them.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, please find the question below:
<snipped>

No, posting your homework assignment does not constitute specific questions. You need to make an effort to complete the assignment on your own. If you have difficulties, then post the code and the errors or questions you cannot figure out.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Sure, the first thing that would help is filling in those methods a bit more.

Did you have any other specific questions?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Heh, Heh - welcome to posting twit-hood.

He achieved that status on his first post. Those following were merely additional cement.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

... try it

You mean try converting it to Java, since that is the language he is using?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Are you sure you have compiled it after recent changes? You program worked just fine for me. I was able to enter the number of elements that I had set ARRAY1 to hold with no errors.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Look over the following if you need to use Canvas:
http://mindprod.com/jgloss/canvas.html

I would also recommend this tutorial as well:
http://java.sun.com/docs/books/tutorial/2d/index.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, it was written by men (perhaps women), but the content of their writing was dictated to them by some higher object, like a burning bush in the desert.

So they hit the hash pipe a little too hard that day, eh?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Just noticed you had the wrong case for "$_GET" here

$sql = "SELECT * FROM 'profile' WHERE ip = $_Get[ip]";

Try

$sql = "SELECT * FROM 'profile' WHERE ip = '".$_GET['ip']."'";
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes, average[] could be made a double unless you really need it to be the int value. A cast on the final calc isn't needed though because "sum" is already a double and the double/int result will still be a double.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

i believe its more like trillions

Yep, recent estimate of 1.6 trillion: http://www.time.com/time/politics/article/0,8599,1683293,00.html?xid=rss-topstories

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Hena tattoos are for wimps who cant handle the commitment of a real tattoo

++
:)

(Heh, I got the henna quiz result too. It looks nothing like my real one though :P )

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

For one, you have an extra right parenthesis after the "c". Why are you multiplying by each average by c though?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

What a bad attitude you have...You should be taken off this site. And for your information I use to work in the water filtration business. You have a good day.. I will not be posting anything else on here especially with people of your caliber .

People of "caliber" that actually look into the information that you purport to be fact? That actually read the report you cite? God forbid. I would apologize for calling out the misinformation, but really that would be dishonest. Your post was entirely baseless.

That you used to "work in the water filtration business" is obvious. I guess pushing filtration systems on people with little knowledge of the product didn't work out too well for you.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

try

$sql = "SELECT * FROM 'profile' WHERE ip = '".mysql_real_escape_string($_Get[ip])."'";
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Where'd it all come from? Go take a look at ALL of it, then you'll know. Until you can do that, your discussion is trivial, when you can do that, you won't be having this discussion.

Such comments are trivial as well, unless you can actually add anything of substance. Perhaps you have some more "intellectual" information that you would like to share?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Anyway, initially we were speaking about chlorine and its harmful affects. Did you know that if you weigh yourself, and then you shower, and then weigh yourself again you will have gained app. 2 lbs. Crazy huh? check it out. Supposedly it is because of the chlorine in the water.A study was conducted at the Termuende research farm managed by the Western Beef Development
Centre. The study was conducted in 1999 by Western Beef Development Centre, Prairie Farm
Rehabilitation Administration and Research Branch of Agriculture and Agri-Food Canada to determine
the effect of various water quality types including simple water treatments on weight gains in cattle. The
four water types and treatments were: 1) direct access by livestock to the dugout; 2) water pumped
from the dugout to a trough; 3) water aerated and pumped to a trough; and, 4) coagulated and
chlorinated
water pumped to a trough. I though you might be interested...

What are you smoking? The study you are citing is weight gain effects from water consumption - not exposure. Much of the weight gain is attributed to higher palatability of the coagulated/chlorinated water. Did you even read it or just pick the first result you found for weight gain and chlorine??

Your claim of 2 pounds of weight gain from a shower is completely unfounded unless you want to consider people with a lot of hair not drying themselves and stepping on the scales.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Treat objections as request for further information.

Taken to extremes, that is a good way to get beaten up or thrown in jail. :P

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Empty pockets never held anyone back. Only empty heads and empty hearts can do that.

Empty pockets turned out and nailed to a fence could.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Online gaming forums are doomed.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Try asking over in the javascript forum. This is the Java (programming language) forum.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

You might take a look at this example app as a starting point: http://www.jsresources.org/examples/AudioConcat.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Yes. If we're not in the trash yet, then the experiment still has worth. If we are, as you put it, an 'unchecked mold', then we'll need to worry about when the Lysol and fungicides get broken out.

The Lysol may already be out and we just don't recognize it yet :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

ps the sure way to kill a thread is to insult the folk participating in it (please note that this is actually biting satire - not an accurate assessment) and why the heck are you reading the thread anyway?
pps a better way to kill the thread is to call the other guy a nazi and liken him to hitler - the horse don't twitch after that

It's also helpful if that post is your first after registering :)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

The mind of man is capable of som much more than the two petty trains of thought that comprise most of this argument. Truly smart people don't bother to engage in it, you guys are so far off base on both sides of the arguement.

Glad you could clear that right up for all.

Nothing more to discuss here, people. Move along.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Will that be the day HE considers the experiment failed and throws all of mankind into the trash?

Perhaps we are already in the trash. Perhaps we started out in the trash to begin with and grew and developed in the manner of unchecked mold. Does it really make any difference at this point?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

> Most sectarian violence has ended, what there is is mainly government friendly forces mopping up the Iranian sponsored terrorists.
Some improvements have been cited, but certainly not to the degree that you would suggest:
http://www.nytimes.com/ref/world/20070910_REPORTS_GRAPHIC.html

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

A professor actually gave you that case structure?? Perhaps he needs to read a chapter or two ahead of the class and brush up on his comparison operators.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

>these programming languages would be like everyday english
I don't see why this would be some great advantage to make programming more accessible. Most people can't use "everyday English" properly either.

Salem commented: Got that right! +13
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Honestly, employers will not want to see your homework as part of a job interview. Unless you have specific intern experience they will expect you to come out like all of the other CS grads with a lot of theoretical knowledge and very little idea how to apply it to their company needs. It's expected that you will need time to get up to speed with real-world development and processes.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

...Where would that be located??

Umm, in the Integer class API docs as stated?

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Does it say so in the Bible? If so, I missed it, sorry!

Well, even if it did, it would be irrelevant - so you needn't be sorry.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Looks like the thread has turned into a general "I believe in this or that" thing.

Sounds like it.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Please use code tags when you post code for review. As for the code, what question do you have about it? The fact that it doesn't return the correct string description? Hint: don't try to use a 1-based state variable backed by a zero-based array. (There's also no reason to re-create that array in every call to "toString()" ).

If you are representing state with integer state codes, you should define those as named constants as well. "RED" makes a lot more sense to read in the code than "1". Using an enum would probably be even better.

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

A char literal needs to be in single quotes

char a = 'a';
Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

... and also that

char a = a;

won't compile...

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Location: essex

kinda gives it away :)

Yes, but theoretically it's possible to have moved there afterwards :)
Or perhaps studied from a southern US curriculum...

(Actually it was merely an excuse to post the reading test joke because "O I C" came up :P)

Ezzaral 2,714 Posting Sage Team Colleague Featured Poster

Maybe I should start selling tickets to heaven. I think there are enough fools who would buy one.

Old idea... haven't you ever heard of revivals? 700 Club? ANY televangelist?