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.
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.
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.
I don't see you defining "march4" at all, it needs to have some value to be comparable.
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.
What is "A"? You are trying to create an object of type "A", but from the code you have posted, no such class exists...
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.
Nice work, you can mark the thread as solved so that people know too.
Thanks for the reply, seems I don't really need to solve this for the moment (sorry!), I'll just mark as solved.
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.
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).
Coffee House and no coffee discussion from what I can see. :sad:
Short Caramel Latte thanks!
The reason you are getting numbers is because you aren't type casting back to 'char'. Try that...
You still make little sense, but what is this? why do you subtract 100?
s2+= s.charAt(i) -100;
You already have the "PasswordVerifier" so you now want to use the methods within it.
PW.isValid(user)
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).
Laziest post I have ever seen. Perhaps you should start coding.
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.
startsWith? so "coolblahblahblah" will be true too? not sure that sounds totally secure, but yeah, the compiler error is as stated above.
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.
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.
Yes, I am using IE7...
Have you tried on other machines? could it be a setting you have?
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.
can you try to post relevant sections of the code and not the whole thing?
Is your problem still there? looks fine to me.
Yep I know, as I said, it's hardly an issue, more an observation...
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.
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.
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.
There are applications that allow you to do this. e.g. "DisplayFusion"
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%
Ah, hadn't thought about that... thanks.
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 "+".
Anybody out there who likes to untick it? Or am I just a weirdo :S...
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 :)
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).
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...
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...
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.
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.
You need to make your description clearer, I can't understand it. I believe you are also looking for the web development > javascript forum.
lol, just to clear things up I don't think JavaScript is a good idea :p
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.
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?
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...
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".
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.
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...
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.
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.