sillyboy 43 Practically a Master Poster

doomsday + 3 == march4

I am not even sure this line is valid, but "march4" means nothing here. It has no value, the program isn't able to "guess" what "march4" is supposed to be.

sillyboy 43 Practically a Master Poster

perhaps you can make your life easier by naming your variables a little more meaningfully, e.g. "current", "previous". In any case, during your iterations, at some stage you want "previous" to store the value of the previous iteration's value, while "current" will get updated. This then allows you to compare the 2 values and assess whether to break, or continue looping.

sillyboy 43 Practically a Master Poster

I don't see you defining "march4" at all, it needs to have some value to be comparable.

sillyboy 43 Practically a Master Poster

simply introduce another variable, e.g. "y". keep track of the current value and also the value of the previous iteration, just make sure you set each of the values at appropriate times.

sillyboy 43 Practically a Master Poster

What is "A"? You are trying to create an object of type "A", but from the code you have posted, no such class exists...

sillyboy 43 Practically a Master Poster

You should use the code tags to make it easier to read your code. You will be able to get rid of that error, by declaring inFile as static, like you have done for console.

sillyboy 43 Practically a Master Poster

Nice work, you can mark the thread as solved so that people know too.

sillyboy 43 Practically a Master Poster

Thanks for the reply, seems I don't really need to solve this for the moment (sorry!), I'll just mark as solved.

sillyboy 43 Practically a Master Poster

Ok, you will need to at least use a little JavaScript for comparisons on username / password. Just note, the registration will not be possible using client-side code only!

Anyway, as the simplest (stupidest) option, you just have pre-defined username / password combinations and check this as a form is submitted using JavaScript.

Good luck.

sillyboy 43 Practically a Master Poster

there are many ways to do this, and it depends on how well you want to do this. things you may want to consider are performance, security, etc...

since this is posted in the html/css section does this mean you want to use html/css? in my opinion this is the simplest way, but provides little / no protection for your members.

perhaps you could do a search on server-side languages and decide which will meet your needs best (this goes outside the scope of html/css though).

sillyboy 43 Practically a Master Poster

Coffee House and no coffee discussion from what I can see. :sad:

Short Caramel Latte thanks!

sillyboy 43 Practically a Master Poster

The reason you are getting numbers is because you aren't type casting back to 'char'. Try that...

sillyboy 43 Practically a Master Poster

You still make little sense, but what is this? why do you subtract 100?

s2+= s.charAt(i) -100;

sillyboy 43 Practically a Master Poster

You already have the "PasswordVerifier" so you now want to use the methods within it.

PW.isValid(user)
sillyboy 43 Practically a Master Poster

It is pretty hard to understand what you are trying to do, but as a start, you should be using the correct data type. You want characters, not ints (which would explain the numbers you are getting).

sillyboy 43 Practically a Master Poster

Laziest post I have ever seen. Perhaps you should start coding.

sillyboy 43 Practically a Master Poster

I am not sure what browser you are using, but you should be able to set the application which is trigger on specific file extensions. Set the application for your extension to the alternative and hopefully that will solve you issue.

sillyboy 43 Practically a Master Poster

startsWith? so "coolblahblahblah" will be true too? not sure that sounds totally secure, but yeah, the compiler error is as stated above.

sillyboy 43 Practically a Master Poster

Hey guys,

I'm having some cross-browser issues when linking remote files. I am only really concerned with IE / firefox, where IE like something like href="file://" and firefox likes href="file://///". Anyway, using either of these makes the link work in either of the browsers, which isn't really ideal.

This isn't a major worry, and I'll probably just stick with the firefox alternative, but does anybody know if there is a "correct" way to do this or a workaround?

Thank you.

sillyboy 43 Practically a Master Poster

I agree, in that your technology doesn't need to be new. It seems you have put a lot of thought into the idea, and should be effective as long as you can get people to use it.

I think there are good things going for it:
"What would make this better than simply a phone conversation?" A common problem can be answered to many clients at the same time.

sillyboy 43 Practically a Master Poster

Yes, I am using IE7...

Have you tried on other machines? could it be a setting you have?

sillyboy 43 Practically a Master Poster

I think this type of service is good, but I am not sure it is going to be anything new. I am also unsure it is actually "microblogging", but more of a chat system.

Regardless, good luck with your plans.

sillyboy 43 Practically a Master Poster

can you try to post relevant sections of the code and not the whole thing?

sillyboy 43 Practically a Master Poster

lol

sillyboy 43 Practically a Master Poster

Is your problem still there? looks fine to me.

sillyboy 43 Practically a Master Poster

Yep I know, as I said, it's hardly an issue, more an observation...

sillyboy 43 Practically a Master Poster

I think there are several ways to do it using css. e.g. perhaps you have a larger table with the other table nested. Then the text would occupy other cells within the parent table.

sillyboy 43 Practically a Master Poster

I'd say it is probably hotmail behaving badly with your particular browser. I've had problems with hotmail - chrome, so I just use something different when I need to use hotmail.

sillyboy 43 Practically a Master Poster

I don't think they are necessarily "too complicated" but usually people simply post their assignments or just don't search themselves. Generally those who show effort are going to get more attention. There is also going to be a lot more people seeking answers than trying to answer.

sillyboy 43 Practically a Master Poster

There are applications that allow you to do this. e.g. "DisplayFusion"

sillyboy 43 Practically a Master Poster

If you are hosting over the internet, your local IP address won't work because it is "local". I think you can try the router ip + port instead... not 100%

sillyboy 43 Practically a Master Poster

Ah, hadn't thought about that... thanks.

sillyboy 43 Practically a Master Poster

I assume you are after JavaScript, not Java. Anyway with JavaScript values are not strongly typed, so if the values are numbers, you can use "+".

sillyboy 43 Practically a Master Poster

Anybody out there who likes to untick it? Or am I just a weirdo :S...

sillyboy 43 Practically a Master Poster

Just wondering why remember me is checked by default. I usually don't want it ticked and generally I think sites have it un-ticked. It's only 1 click of the mouse and so its definitely no bid deal, just something I notice :)

sillyboy 43 Practically a Master Poster

I think you are at a stage where you need to start producing some code to enable us to help you out more. Make sure next time you post, you have some code (use code tags too) you are struggling with (try make it relevant code, we don't need your whole program).

sillyboy 43 Practically a Master Poster

I had a quick search, expecting to see some ugly contraptions, but to my surprise these things look good. In saying that, I would prefer a iPod personally...

sillyboy 43 Practically a Master Poster

I think you may have had the correct idea initially. What you have now is checking for upper, convert to lower, and then you are checking for lower (but all the characters are already lower since you called upper_case(), so then all the characters are made changed to upper case).

While you iterate through the string you need either change to upper or change to lower, not both.

See if that gets you further...

sillyboy 43 Practically a Master Poster

I'll try give you a start...

Look at the "onchange" event for your combo box. What is currently selected? (you can try work that out yourself). Finally there is a Date object in javascript you should find useful.

sillyboy 43 Practically a Master Poster

What exactly are you having problems with? You have a good base there already, all you need to do is fill in those functions and use them. The implementation of the functions should not be too difficult if you think it through.

sillyboy 43 Practically a Master Poster

You need to make your description clearer, I can't understand it. I believe you are also looking for the web development > javascript forum.

sillyboy 43 Practically a Master Poster

lol, just to clear things up I don't think JavaScript is a good idea :p

sillyboy 43 Practically a Master Poster

Ok, so I got your sample input file, and a general overview of your graphs (bar & pie). The other guys have provided you with a api you could look at, which will make your life easier.

You are still seemingly providing us with the whole problem and not with specific areas you are struggling with, and I am sorry, but I'm not going to write your app for you.

Look at the api, see if you can get data from the file and present it in a way the api can use.

sillyboy 43 Practically a Master Poster

Again, it depends on what you mean by secure. At the simplest level, you could have javascript which will read a simple login form. I don't advise this because it isn't really secure.

At the other end of the scale, you will be looking at some server-side language with access to a database, which could be overkill and a big learning curve.

What content are we talking about?

sillyboy 43 Practically a Master Poster

Please what?

Show me what you are trying to achieve and maybe I can help.

As I said, design your chart to begin with (that is the hardest part). Once that is done, you will need to know some file I/O, maths functions, the swing package.

BUT, first you need to know what you are trying to do...

sillyboy 43 Practically a Master Poster

The error you are getting is because of your if statements calling upper_case() and lower_case(). These 2 functions return nothing, and so the if statement can't evaluate its "trueness".

sillyboy 43 Practically a Master Poster

Follow the css specifications and firefox will display your web page as it should. Sometimes you may need to add small work arounds to tweak it for ie7. You could also look into a css designer which takes care of compatibility issues for you.

sillyboy 43 Practically a Master Poster

That is a fairly open-ended question. I think you first want to have a design for the chart. The design is going to be the hardest part of this problem, and I don't know how to advise you without some requirements...

sillyboy 43 Practically a Master Poster

As a temporary measure you could try use OpenOffice instead (free office suite). Unfortunately I don't really have a solution to your problem, I would suggest google, or hopefully somebody else can help you out.

sillyboy 43 Practically a Master Poster

It would probably be more intuitive to pass the value from a form to jsp. I understand the value is stored in javascript, but you should be able to use a hidden field or something to put it into the form.