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.
I was wondering if there is a recommended 'cross' Windows and Linux method for the purpose of converting strings from UTF-16LE to UTF-8? or one should use different methods for each environment?
I've managed to google few references to 'iconv' , but for somreason I can't find samples of basic conversions, such as - converting a wchar_t UTF-16 to UTF-8.
Anybody can recommend a method that would be 'cross', and if you know of references or a guide with samples, would very appreciate it.
Thanks, Doori Bar
Hi all,
I have an iPhone application, now i want to convert that application to a universal application which runs on all the devices iPhone/iPod/iPad.
So, where to start, what things i need to do?
Any help, link, sample app, anything, will be highly appreciated.
Thanks in advance :)
Hi,
I'm using g:datePicker name="date1" id="date1" value="${program?.startDate}"
In controller when used params.date1 it is showing value as "struct" and unable to save date in my database.
How can we parse date in to one param like eg: 2010-10-10 11:11:11 using datePicker ?
thanks in advance
srinath
I have an table view showed
part description, quantity, price
And I have a Model/View using this code
model = new QSqlRelationalTableModel(this);
model->setTable("parts");
model->setRelation(3,QSqlRelation("part_tbl","part_id","part_desc"));
model->select();
ui->tableView->setModel(model);
I need to add a new column that shows quantity * price in the table view. It's important to know I'm using QsqlRelationalTableModel
Help is appreciated, Thanks in advance
I'm doing my first steps in MacRuby. Does anyone know how I can add a custom Toolbar to my Cocoa/MacRuby application, which will accept "regular" items for e.g. switching the view (see http://www.stevestreeting.com/wp-content/uploads/2011/06/SelectableToolbarDemo001.png).
I've read some tutorials and I guess I have to create a custom delegate for the Toolbar and then connect it via the Outlets window, but how does the myCustomDelegate.rb have to look like?
Thanks a lot!
Cheers
Hi,
Is there no way for javascript hosted on a webserver to read a file on a client's local machine? (this has obvious security risks). I guess I'm wondering if there's any access granting a user can do, like drag and dropping a file into the browser, or explicitly selecting a file from a popup to get around this?
I know flash 10 allows reading of a local file, just wondering if there were any method to do this in javascript.
Thanks
just yesterday i finished one site, which provides video watching.
but now i need to show the number of views of each film. i never wrote such thing, so i don't know what to do.
maybe i must add one field in mysql database, and increase it every time the video opened?
but i use flash player, and i can't wrote script onclick of player.
so, could you give me an idea...
thanks
Hi everyone,
I am trying to run a load test from remote controller and I get this error.
Failed to queue test run 'username@computername 2010-04-15 06:06:03': Object of type 'Microsoft.VisualStudio.TestTools.LoadTesting.LoadTestConstantLoadProfile' cannot be converted to type 'Microsoft.VisualStudio.TestTools.WebStress.WebTestLoadProfile'.
Running unit test from remote controller works just fine.
Thanks.
Hey, I'm just wondering if someone could tell me, or point me in the right direction, on how to make a count up timer.
I'd like to have it constantly, from the second I put it into place count up saying the seconds, minutes, hours, days, and years.
Thanks!
I am trying to reach methods and properties of ObjectFrame through vb.net.
But when I declared this as
Dim objOLEObject As ObjectFrame
and then trying to instantiate it as
ObjOLEObject = New ObjectFrame
it shows error like:
"429: Retriveing the COM class factory for component with CLSID {3806e95d-e47c-11-cd-8701-00aa003f0f7} failed due to the following error: 80040154"
To resolve this we re-installed both MS-Office 2003 and VS-2005, but could not get the solution.
Could anyone suggest me how to declare and use this in vb.net?
Thanks.
A is an Array of n positive int numbers
k given int
Algorithm should find if there is a pair of numbers which product gives the result
a. A[i] * A[j] = k
b. A[i] = A[j] + k
if there is such a couple the algorithm should return thier index.
thanks in advance.
Is there any tool to log current observers of a given object, in the spirit of what "gdb info gc-roots" does? I found "gdb info gc-references" could do that (sort of) as a by-product of its original purpose, but that won't work with non garbage collected apps. Thanks!
Hi
I feel stupid, but I can't get a TIMESTAMP column to be shown in human understandable way in a SELECT.
I could do that in MySQL, not in sqlite3.
Could someone show me an example please?
Thanks
What's a good way to validate phone numbers being input in codeigniter?
It's my first time writing an app, and I don't really understand regex at all...
Is it easier to have three input fields for the phone number?
Recommendations and explanations are welcome! Thanks!
I cannot get getResourceAsStream to find a file. I have put the file in the top level dir, target dir, etc, etc and have tried it with a "/" in front as well. Everytime it returns null.
Any suggestions ? Thanks.
public class T {
public static final void main(String[] args) {
InputStream propertiesIS = T.class.getClassLoader().getResourceAsStream("test.txt");
System.out.println("Break");
}
}
I have a property inside a class that is getting changed by something. The only place I change the value of this code is a line that looks like this:
pushpin.Position.Altitude = -31;
During visual studio debugging, is there a way to watch .Altitude for any changes made, preferably it breaks at the assignment statement that changes the value.
If this is the correct way to track down this problem, could I have a step-by-step tutorial/instruction on how to do this?
Thanks.
Hi, I've been using XPath with Selenium quite happily and even using getEval with a but of Javascript, but a colleague said wouldn't it be great to be able to use JQuery selectors in Selenium.
I've googled it, but can't find any articles that seem to work for me. Could anyone provide a comprehensive guide on how to use JQuery syntax to extract doc elements and their respective values out of selenium.
I'm using C# to write my selenium tests, so if any examples could be from a C# perspective that'd be great.
Thanks
hello all,
I am looking for component that can handle a spesific date.
what i am trying to do is to get Astring fron sever that represent date(for example 04-08-2012) in my iphone i want to be able to "work" with this date. such to compare it to another date , check if the date in the past or future and to print it to the app GUI
i tried work with NSDate but i didnt found how can i set a spesific date?
thanks
HI folks,
I'm trying to establish connection to a remote server using ruby socket connection TcpSocket.
I started with TcpSocket.new(port,host)
Now, How do I pass the credentials to it.
The remote server needs credentials to allow me to connect.
Any help is very much appreciated.
Thanks
Hi all,
Is it possible using reflection and C# .NET to call dynamicly different function (with arguments) written in C or C++ before .NET came(unmanaged code) ?
And smole C# example if possible would be appreciated!
Thanks!
Br,
Milan.
Hello,
I made a comment on a Wordpress blog and I noticed that after I submitted the comment, the top of the browser was flush with the top of my comment. In other words, the web page was auto-scrolled down to the top of my comment.
How can I do this? I am using a comment system with PHP / MySQL.
Thanks in advance,
John
Hi,
Is there a sexy way to get a web page with Google Maps (in fullscreen), and just a small div#header on the top and a small div#container on the middle?
I had make some research and I had found this example: http://koti.mbnet.fi/ojalesa/exam/index.html ... but this is not exactly what I would like to do.
If you have a thin code example of a nice website example, this would help me a lot.
Many Thanks.
Hey,
I have this mysql tables I want to display with jqgrid. The problem appears when I want to display a parametrized query.
For example lets say I want to display all students older than 21. I have this variable named age which I want to pass to server.php file where I can construct the XML or JSON.
On server I see some variables like $examp = $_REQUEST["q"]; but I dont know where to put $age to be accesed in server.php
Thanks
I was experimenting with Netbeans 6.8 (I'm currently an Eclipse user) because I like having a profiler built into the IDE. It seems that for maven projects, netbeans does a full compile (it invokes process-classes) every time I try to run the project, as opposed to Eclipse, which uses the incremental Java compiler. Is there a way to avoid having netbeans run mvn process-classes every time I want to run the main class?
thanks,
Jeff