Are there any ways to check whether my Mysql database and PHP script are optimal? I want to figure it out and fix if it's possible till I publish it on internet for many users.
Thanks.
Hi,
A little background on the question: I am developing a RedDwarf(http://reddwarfserver.org/) client on iphone, for the client/server communication I use idarkstar. I had to make minor modifications to make it work till now.
So here's the question, if the server is taking to long to respond or the network is very slow, how do I add a timeout functionality to make sure it doesn't keep waiting on the server forever?
appreciate any pointers.
I'm having a problem when scrolling down and up a tableView on iPhone it gets kind of stuck while loading the images i need a method to preload the images so the scroll can be fluid or load the images 'till the scroll event stops...
any help on this?
Hello guys, i define an object:
tempRes = new Object[100000][7];
now after that i fill it up till 100 rows for example.
Now how to delete every object past that(from tempRes[100] too tempRes[10000]).
I need this for a JTable.
I want to create a wizard that includes a few steps, that in the final steps
we need to include all the steps and save to the data base.
What is the best design to do this ?
Is there an implementation for jquery ?
Do I need to save the steps in session till the final save ?
I discharged a Li-ion battery of my mobile till 3.7Volts and left it idle for sometime.However after some 20mints of time , I found voltage is 3.75V.My software is reading inconsistent voltage from the ADC due to this behaviour. Can anybody comment?
I have alignment file and long record in it. Suppose while displaying to an end user i want to show Sequence ID and 50 sequences in each line and continue further till the end of file.
Can anyone suggest me algorithm or example code in python.
Thanks in advance
Requirement:-
File1 has contents like -
ABCD00000001,\some\some1\ABCD00000001,Y,,5 (this indicates there are 5 file in total in unit)
File2 has contents as ABCD00000001
So what i need to do is check if ABCD00000001 from File2 exist in File1 -
if yes{
print the output to Output.txt till it finds another ',Y,,X'}
else{ No keep checking}
Anyone? Any help is greatly appreciated.
User will insert the name of vendor, it will display that like given below
A
Down of "A" insert next 3 vendor i.e. B,C,D then again each one
For B its E,F,G
then for C its H,I,J
then for D its K,L,M
till 10 levels.
Want C# code for the same.
I want to get use of dictionary items like I do in List generic class,
e.g;
foreach(item in ItemList)
{
item.BlaBla;
}
but in dictionary there s no chance, like e method above...
Dictionary<string, HtmlInputImage> smartPenImageDictionary;
I mean I got to know the key item for the dictionary item.. but what I want, I want to travel from beginning of the list till the end..
How much time does MySQL need to build an index of a table with 30,000,000 entries that are strings of length 256?
At the moment it seems to take hours and I don't know how long I should wait till I conclude that MySql simply failed at building an index.
Hi,
Do you ever feel bad keeping office or lab computers "on" after day work? Is there anything useful you guys utilize those computers till you come back the next day morning.
Thank you.
Hi guys, I found an old Windows XP SP2 in my -trash- cd can and tryed it on a 30 gb FAT32 partition.
Installation went fine till the copying operation was completed and XP asked for reboot. After that either it starts over again or throws invalid disk.
Starting over is an infinite loop the only way I see is to choose the "Repair console" but i'm not used to a dos box.
Can anyone help me through this harmful instalation?
Cheers, Daniel
I have an assembly with a class which defines a custom event using a delegate and custom event args. Now i have to load this assembly dynamically through my code and create the instance of this class. Till here i'm fine. Now i have to provide a event handler to the event raised by the class object using custom delegate. How can i add a event handler to the event raised from class using Relection ?
How do I rename a file after is has been uploaded and saved?
My problem is that I need to parse information about the files automatically in order to come up with the file name the file should be saved as with my application, but I can't access the information required to generate the file name till the record for the model has been saved.
Hi,
I'm running through the Ruby on Rails tutorial at http://guides.rubyonrails.org/getting_started.html (adjusting where appropriate for Google's App Engine). All is well up till section 6.3: when I try to click "New Post", I get the following error:
Internal Server Error (500)
Request Method: GET
Request URL: http://localhost:8080/500.html
access denied (java.io.FilePermission /dev/urandom read)
It works fine when I upload the application to Google's App Engine; it's just on my development machine (OS X 10.6) that it doesn't work.
Thanks in advance.
Hi all,
I'm actively developing grails portlets for liferay till today .
I was wondering is there a future road map for next plugin releases and updates for portlet support, because i was not finding people developing portlet applications on grails on net.
Is there any portlet applications running under production ?? .
could any one please provide links if any ?
thanks,
srinath
I have two textbox .... textbox1 and textbox2
textbox1 == choose from date
textbox2 == choose to date
if user select from date in textbox1 as 01-May-2011 and in textbox2 as 30-May-2011
then all the dates from 01-MAy-2011 to 30-May-2011 will be inserted in each row of mssql2005 datatable...
example. . :
IN database Table1 structure ...
ID Date
1 01-MAy-2011
2 02-MAy-2011
3 03-MAy-2011
4 04-MAy-2011
5 05-MAy-2011
and so on till 30-May-2011
- (IBAction)restoreUserDefaults {
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if([defaults objectForKey:@"Exam Name"] == nil) {
examName = [[NSString alloc] initWithString:@"Name"];
} else {
examName = [[NSString alloc] initWithString:[defaults objectForKey:@"Exam Name"]];
}
[examNameLabel setText:[NSString stringWithFormat:@"%@",examName]];
}
Hey all,
Basically above is the method that is being called when one ViewController is being close and another is being opened the problem is, is that the UILabel in the new ViewController isn't changing to the value i need it to? Any ideas?
Regards
Lyon J Till
I am new to eclipse and wanted to do the following;-
1) how to use my custom build commands with eclipse. Till now I only saw make all?I use a shell script for building my project, how can I use that in eclipse environment.
2) When I create a new project with the existing source code, it doesn't add the files, without building the code and if code fails to build (because I generally don't have make all). How to resolve this issue
Hi ,
i want to create a wizard the include a few steps ,that in the final steps
we need to include all the steps and save on the data base.
what is the best design to do this ?
there is implemante for a jquery ?
i need to save the steps in sessions till the final save ?
thanks !!!!
I have a java web application that has informix DB as it's back end database , now i take a decision to make my app work with SqlServer so i changed all the informix related syntax into SqlServer, and i may take a decision in the future to switch into oracle so the pain will be repeated again and again, as a result i decided to make my application a DataBase independent one that's able to work with any DB vendor smoothly, but i have no idea till now about how to do that, so your ideas is welcomed.
I have the following sequence of code calls:
SQLPrepare
SQLExecute(hstmt, SQL_CLOSE);
SQLFreeStmt
//It works till here
SQLExecute //Now it fails.
Why am I required to call SQLPrepare again, I just freed the cursor. I shouldn't prepare the SQL statement again.
Plain and Simple, I want to use a Listbox in my project,
The demo here: http://www.extjs.com/examples shows no answer,
In fact, I really hate it when companies show-off their 'complex' widgets in this manner and fail to show the most basic of all widgets. For example, I discovered class SimpleComboBox over the net till then I assumed that we required a class to contain list store, etc...
Hello everyone,
I have one query regarding the (UITextfield and Webservice) for example
When i start writing text in UITextfield. Make sure, the app does not query the server(Webservice) for each letter typed. It should wait till I make a pause and then send the request.
Is this possible to when using of UITextField?
Thanks in advance