I need read in and parse data from a third party website which sends XML data. All of this needs to be done server side.
What is the best way to do this using PHP?
Trying to decide on the best element to use for a grid view, pretty much exactly like the one you'd see in uTorrent or any other upload/download client. Specifically, I want to have a 'progress' column too (with progress bars). Using VS2010/.NET4. What would you recommend?
Hi,
I am looking for a free/cheap SQLite editor that can handle BLOB type for Mac OS X. Basically, I just need to create a database that contains images, then load it to an iPhone app bundle. No need for fancy queries. Could someone recommend the best editor available out there for this purpose?
Thanks a lot
I want to print in the terminal with colors ? how can I do that in python ?
Another questions what is the best character that when it is printed it look like a box [brick] ?
I want to print colored blocks, it is part of game :)
suppose i have taken one picture from my iphone camera and now i want to compare this image with other images and find best match image from that.
is it possible or not?
What I need is to hash a string. It doesn't really have to be secure because its just going to be a hidden pharse in the text file (simply it doesn't have to be recognizable for a human-eye).
It should not be just a random string because when user will be typing the string I would like to hash it and compare it with already hashed one (in the text file).
What would be the best for this purpose? Can it be done with the own class?
Hi all,
I have some software which runs as a black box, I have no access to it. This software makes HTTP requests. What I want to do is intercept these requests, forward them on, catch the response, do something with it, before passing the response back to the software.
Can this be done? What's the best method?
Thanks
Hallo everybody,
i have programmed a sub procedure, that will be called in the main procedure (called by event of mainForm), to valid the inputs before the main calculation. now i'm searching for a method, how can i cancel the calculation and refocus the mainForm if some inputs mismatch. i think, it's unnecessary to use the Try-Catch statment to trap the error from calculation because i know what is its source and it should be prevented due to the code preformance. Has someone an idea to due with this?
best regards
Lert Pianapitham
On Unix, is there any way that one process can change another's environment variables (assuming they're all being run by the same user)? A general solution would be best, but if not, what about the specific case where one is a child of the other?
Edit: How about via gdb?
Which is the best programming language to use for creating a screensaver?
I am thinking of creating a screensaver to showcase projects i have done before for self satisfaction.
How should i go about it?
Thanks
Hi,
As the title says I have a list of Django objects and I want to get a list of primary keys. What is the best way of doing this?
I know I could do
my_list = []
for item in object_list:
my_list.append(item.pk)
but was wondering if there is Django or Python specific way of doing this better.
Thanks
phpFox should take care of user login management, add user and edit user. But would like to automatically create a corresponding Wordpress account when user signs up for phpFox. And when user logs into phpFox user is auto logged into Wordpress so user doesn't really even realize Wordpress login or user account exists.
What would be the best way to do this?
Apps will be on the same server so could make native calls or use curl.
I have to enumerables IEnumerable<A> list1 and IEnumerable<B> list2 and would like to iterate through them simultaneously like:
foreach((a, b) in (list1, list2)) {
// use a and b
}
If they do not contain the same number of elements, an exception should be thrown.
What is the best way to do this?
Please, could you answer my question.
How to remove digits from the end of the string using SQL?
For example, the string '2Ga4la2009' must be converted to 2Ga4la. The problem is that we can't trim them because we don't know how many digits are in the end of the string.
Best regards, Galina.
I have a Dictionary<string,int> and I simply want to decrement the value in my dictionary by one.
I have this but not sure if its best practice.
foreach (KeyValuePair<string, int> i in EPCs)
{
EPCs[i.Key] = i.Value - 1;
}
I'd like a timer class that allows me to call:
.start() .getElapsedTime() .stop() .reset()
Does Java have such a class, or do I need to use my own (which I've already written).
From a best-practice point of view, I should use the Java class libraries classes if they exist, but I'm not sure whether this one does.
Can anyone give me a link to the javadoc for this class, if it exists?
Hi everyone!
I have a problem, in a refactoring attempt I have copied files from one place to another and added them in my scm (perforce). When I was done and everything was working I deleted the old (moved) files.
Can I connect the file histories with each other? The best would be to se the "move" like it should have been done..
Thankful for any help!
i am creating a marks management system using php & mysqlwhere the concerned faculty will be able to login and enter the marks of the students. i can go with a simple table but the problem is there are 288 different subjects for which marks must be entered. So creating a mysql table with so many subjects does not look good for me. please suggest me the best way to manage user permissions so that only the corresponding faculty will be able to enter marks
What is the best way to organize a MVC2 web project (as complex as stackoverflow)?
should i have everything in one project?
if not, how should i separate the projects and folders?
I have a flash application (a game) and it needs to pass data to a php page to save the user, and the user's score. However I don't want the user to be able to alter the score him/herself or to initial a scoring without using the application.
What is the best way to do this?
Hi All,
We have a lot of products that are saving their "states" on the registry.
What is the best practice on saving program states? What are the advantages/disadvantages of saving program states as a registry entry or saving program states to a flat file such as XML?
Thanks!
Hi,
What's the best way to implement showing a number in a small circle on a UITableView row, much like is seen on the 'Inbox' row in the image below?
Thanks,
say suppose I have class as :
public class Age {
private int age;
public int getAge() {
return this.age;
}
}
In my Main class I am calling the getAge() method many times.
So I wanted to know is it advisable to call so many times or call once and assign it to some variable and use that variable.
Which is best and why?
I need to include an image within the <a> tag of an ActionLink. What is the best way to do this?
The final rendered link should look like this,
<a href="/Home/Test"><img src="test.jpg" />Test</a>