2,040 Posted Topics

Member Avatar for brynFlew

It looks like you are missing libraries for it to compile... Did you follow the prerequisites on their [guide](http://www.aptana.com/products/studio3/getting_started)?

Member Avatar for Taywin
0
296
Member Avatar for sanket044

rotten, it is calling *cmd.exe* to execute a given command line (via the program) on Windows. Supposedly, the given command will run something that returns a value back to the caller.

Member Avatar for Taywin
0
131
Member Avatar for manhthaodn

So you may not be doing it correctly. [Here](http://stackoverflow.com/questions/2914936/mysql-foreign-key-constraints-cascade-delete) is a link to an explanation from someone who has already asked similar question on another forum. I can't explain better than that...

Member Avatar for manhthaodn
0
178
Member Avatar for petrakid_1

Why would you use eval() to call the function? What you could do if the script is being added to the DOM after the call, you could simply call it right after the add (and still inside the success & ready status check).

Member Avatar for AleMonteiro
0
155
Member Avatar for np complete

From what I glance at your code, are you sure that an int can handle 20 digit numbers? That may be the first problem you need to solve -- data type -- before you attempt to find a number...

Member Avatar for TrustyTony
0
243
Member Avatar for ahmed.alsalihi.3

You just keep going into a loop until the number is equal to 0. Simply append the value from % to the string and then divide the number by 2 (int should not keep the precision anyway). Once you are done with the whole loop, you will get a reversed …

Member Avatar for WaltP
0
259
Member Avatar for EulavValue

If you want to understand why, put `System.println("Read Content Line: "+line);` at line 17. I have a feeling that you may not completely know what the useDelimiter() method is doing... Also, you mix next() with hasNextLine()... It would be better to use hasNext() with next() so no unexpected result would …

Member Avatar for Taywin
0
157
Member Avatar for gacoekchip.pokher

I am sorry, I am confused by your question? What is "it problem"? What does it mean by "written query it"? You have already completed the task you are showing, what else do you need to do more?

Member Avatar for pritaeas
0
239
Member Avatar for lahidzi

Maybe this [link](http://msdn.microsoft.com/en-us/library/ms228394%28v=vs.90%29.aspx) could help you...

Member Avatar for lahidzi
0
54
Member Avatar for moblyft

Err... Wrong forum... Mod, please move this post... Also, go to [this forum](http://www.daniweb.com/web-development/javascript-dhtml-ajax/117) or [this forum](http://www.daniweb.com/web-development/php/17) and you should find an answer to what you are looking for. I have seen the exactly the same question before...

Member Avatar for Taywin
0
240
Member Avatar for manishachawla

What do you mean by "CS field"??? Are you asking for difficulty to solve a problem applying set theory or else? Maybe [WikiPedia](http://en.wikipedia.org/wiki/Set_theory) page is what you want?

Member Avatar for Taywin
0
41
Member Avatar for abhinashraju

I agree with stultuske. To do that, one needs to override the system (OS) keyboard short-cut. There are different OS with different short-cut... Also, don't think any OS would simply leave the access for an external program.

Member Avatar for Taywin
0
239
Member Avatar for aals

Err... You mixed jquery with pure JS... It is quite confusing to have to think back and forth; besides, it is not neat. Anyway, you should think about how it works first. When a radio button is clicked Check what value is being changed to (clicked or unclicked) If clicked, …

Member Avatar for Taywin
0
285
Member Avatar for softDeveloper

If you are going to implement an authorization system from scratch, it will be a big headache from what I am seeing now. You may need to look for a frame work/plug in for your current back-end system...

Member Avatar for Taywin
0
99
Member Avatar for DrEinstein

Let's get back to the checking odd/even second first. What do you mean by not knowing how to check second? If I remember correctly, GregorianCalendar class has getTimeInMillis() method which return primitive long for getting the time in milli seconds because it extends from Calendar class. Once you get the …

Member Avatar for DrEinstein
0
143
Member Avatar for dewdropz

Err... It's been 2 years since I coded Matlab last time... You are going to create a learning agent by passing some sample data for it to learn using decision tree? If you are going to use decision tree, you must be sure that you can find all factors and …

Member Avatar for Taywin
0
460
Member Avatar for ziyaddinsadigov

Try something similar to the script below... The *status* is whatever number you want to handle... success: function(data, textStatus, XMLHttpRequest){ console.log('Error: ' + textStatus); }, error:function (xhr, ajaxOptions, thrownError){ alert(xhr.status); alert(xhr.statusText); alert(xhr.responseText); }

Member Avatar for Taywin
0
511
Member Avatar for troca

Hmm... I am not sure what you are doing here. Are you trying to associate the table as 1 to 1? When you use association 'has_one' and 'belongs_to', the table which use the association 'has_one' does not need to have a field of the other's ID, but the one with …

Member Avatar for troca
0
185
Member Avatar for koveras vehcna
Member Avatar for Ritesh_4

What do you mean by that? You mean using a ruby script to read data from a HTML file, and then create an excel file from it? To read in a HTML file, you simply open the file and read the content using File class. To parse it, you could …

Member Avatar for Taywin
0
225
Member Avatar for pjh1985

Could you try to use double quote in place of single quote? If it is inside a double quote already, use a backslash with double quote (\") to escape the double quote inside the existing double quote.

Member Avatar for Taywin
0
140
Member Avatar for rotten69

I would like to comment on using Boolean object and the "if" statement. I am not sure that the Boolean object is that useful in JavaScript. The only reason I would use it when I want to make sure that the incoming argument is really a boolean by checking the …

Member Avatar for Taywin
0
174
Member Avatar for Cornerslikemad

It is possible but depended on a certain factor -- how the cookie is stored. If you know how it is being stored, you would know how to retrieve it.

Member Avatar for Taywin
0
21
Member Avatar for ehpratah

Actually, the code contains duplicate declaration. JavaScript will stop working if you attempt to declare the same variable in the same scope (line 112, 118, 124, ...).

Member Avatar for AleMonteiro
0
339
Member Avatar for boiishuvo

Line 15, where is the curly bracket of while loop? If you do not have it, it will execute only sum=sum+j forever... Also, other if-statement/for loop in your Java code, there is NO curly bracket to define the scope...

Member Avatar for Taywin
0
266
Member Avatar for prakash89.gitam

When you talk about *Time complexity*, do you consider *space* as well? If not, then you may try... /* LineDataObject - lineNumber (int) - content (String[]) // each string is a word of the line LineDataComparison - lineObj (LineDataObject) - duplicatedLineNumber (ArrayList<Integer>) LineComparison - allLines (ArrayList<LineDataComparison>) lineComp <- a LineComparison …

Member Avatar for Taywin
1
181
Member Avatar for mcrbne

They don't work because both of them have the exact function name -- configureDropDownLists. What you may do is to change the function name from one of them and don't forget to change the call name to match the name you change. i.e. change the function name in portion #2, …

Member Avatar for Taywin
0
206
Member Avatar for rotten69

If it is really a function, then try drinks.compact() instead. Using drinks.compact means you are calling for the value of its local variable named 'compact'.

Member Avatar for Taywin
0
1K
Member Avatar for rotten69

Also, you may need to read about dynamic array and its purposes. I don't think JavaScript has an explicity dynamic array data type (such as ArrayList in Java). Then you may understand better about when and why you sometimes want to change your array size...

Member Avatar for Troy III
0
288
Member Avatar for rotten69

When you said "dynamic form" what do you want the functionality to be? The question is a bit too broad for me. If you want the validation to happens without going through the server, you could use the form tag 'onsubmit' to do the work for you. If you have …

Member Avatar for Troy III
0
227
Member Avatar for Hades80

>The sum of the sqaures of the 2 larger interagers is 12 less than 4 times the square of the smaller number. This is definitely not a Java problem but a word problem. Though, I will help you out a bit this time. Break the question down into parts. 1)sum …

Member Avatar for Taywin
0
145
Member Avatar for nova37

There are many ways to do it. You could load them all, display them in the same location, and manipulate the display using *display* or *z-index* property. You could also dynamically call each of them from their original site (not a preferable way). How do you construct your HTML?

Member Avatar for Taywin
0
212
Member Avatar for vijayram

Why are you using an anchor tag and call it button? Anyway, if you want to only change the display text, you could simply do it as... <a href="#" class="planpeople" onclick="javascript:this.innerHTML='View in MyPlans'">Join</a> If you want it to do more than just changing its display text, you may need a …

Member Avatar for Taywin
0
178
Member Avatar for Cornerslikemad
Member Avatar for Taywin
0
37
Member Avatar for bharath54321
Member Avatar for rotten69

There are plenty of ways to do it. Also, depends on what type of game you want. However, there is a problem with animation part that browsers seem to leak memory when the time goes by. Anyway, there is no such a tutorial for game programming purpose. However, you could …

Member Avatar for rotten69
0
214
Member Avatar for riptide355

I don't think that error indicates the crash of 2 simultaneous call of query. It looks to me that the error is from a certain service from your server is not running. As a result, there is no listener from your database server to handle the request and that "couldn't …

Member Avatar for riptide355
0
190
Member Avatar for gordey wilson

In your query, I have a hard time to figure out how a "log in" user is being distinguish from the query. Also, there are multiple mistake in your sample query above and I am not sure what you mean. What is "colname"? Why there are 2 "and" in the …

Member Avatar for Taywin
0
132
Member Avatar for MashaM

Why do you have so many 'end if' for each if - else if - else statement??? Also, where is the 'end if' for if(phyz>Chem) or if(Chem>phyz)?

Member Avatar for Taywin
0
133
Member Avatar for vstl

>my code compiles when entering a word show the common words in two txt files. instead of entering the word, I want to read a txt file, the txt file have different words between two txt files, contents of this text file matches contents of other two text files, show …

Member Avatar for Taywin
0
841
Member Avatar for Khav

No no, you don't need JQuery but you may want an external library. I used to used ZeroClipboard library and it worked for a while. Unfortunately, it no longer works for me due to certain changed in browsers' securities. Don't know whether they have updated it already. Nowadays, I have …

Member Avatar for Troy III
0
151
Member Avatar for shsh111

> For example, the strings abac and bbc occur interwoven in cabcbabdcca (cabcbabdcca) along with other characters (in black). The color doesn't show up so I am not sure what you mean by "interwoven"? Please give a better example or try to add ASCII visual instead.

Member Avatar for Taywin
0
76
Member Avatar for shsh111

I believe this is a homework question and it is not "clear" to me for certain parts. When it said "find," does it mean to simply display all the repeat or store all of their indexes? Anyway, if you want an algorithm, the best you could do is O(n+m) where …

Member Avatar for SagarSe7en
0
162
Member Avatar for gabz16

Here is your code in the forum's code tag... I think you should combine all the parts where you ask for bursting time of each thread instead of separate them all... Make the code lengthy... By the way, you could do the tick with 1 time unit each until all …

Member Avatar for JamesCherrill
0
2K
Member Avatar for MArun25039

Yes, you can do it in may different ways. Below is one way to do it to match your example. If you have any question about how it works, please ask. One big note is that the property "id" should be unique to every element. The script you gave here …

Member Avatar for Taywin
0
2K
Member Avatar for ryantroop

Create & destroy an image div may not be a good idea if the client browser needs to get the image to load after the page finished loading. Show and hide trick as krish said is a good way to deal with. You could also make use of z-index too …

Member Avatar for Taywin
0
142
Member Avatar for shsh111

Follow the Pseudo code and you should be able to do it because the code explains itself.

Member Avatar for Taywin
0
102
Member Avatar for SolidSora

I'm not sure if the problem is actually from your script. I don't know how your script function in the page, so it is difficult to say what causes it. PS: Your script is very lengthy. You could use a loop to do the bar1 to bar6 portion outside the …

Member Avatar for Taywin
0
146
Member Avatar for odee
Member Avatar for magicmarkuk
Member Avatar for Troy III
0
190

The End.