Hello, I have a list with 5 elements...What I want to move foward all elements, removing the last one and add a new value to the first one. Is there any pre-made list methods that do that or help me so?
Like a Queue
Hello guys I'm looking for a way on the iPhone to parse an XML document using DOM. I have been using SAX with NSXMLParser but now I really want a DOM tree (or anything that can quickly translate the XML document into an NSDictionary)
Thanks for any help
Hello Everyone,
I have UI which provide the facility to create own format by using drag and drop utility. I have also xml file which contains the data. Now task is how to automatically generate the .xsl file of the dynamically designed format for the data stored in xml form.
If you have any idea about the solution of the above problem.
I will thankful for any help regarding this…
Thanks
B. Kumar
Hello,
I would like to pass to a jQuery function a regular function, instead of the usual anonymous function, but I'm not sure how such a thing could be done.
Instead of this:
function setVersion(feature) {
$.post("some.php", { abc:"abc" },
function(data){
// do something here
}, "json");
}
I would like to do this:
function foo(data){
// do something here
}
function setVersion(feature) {
$.post("some.php", { abc:"abc" }, foo, "json");
}
Thank you.
hello, what is the name and sintacsys of construcion ((..)) in example below?
for ((i=1;i<10;i++)) do echo $i; done
it has strange variable i
where are other constructons for numeric cycling in shell?
Hello Experts,
I am Beginner. I want to study and create custom controls. I have searched on Google but didn't find any good stuff.
Could anybody provide me some nice link or explain me that how can I start custom controls.
Thanks in advance.
Hello,
Using rails3 new routing system, is it possible to change the default :id parameter
resources :users, :key => :username
come out with the following routes
/users/new
/users/:username
/users/:username/edit
...etc
I'm asking because although the above example is simple, it would be really helpful to do in a current project I'm working on.
Is it possible to change this parameter, and if not, is there a particular reason as to why not?
Hello,
I have implemented a marquee text widget using Qt4. I painted the text content onto a pixmap first. And then paint a portion of this pixmap onto a paint device by calling painter.drawTiledPixmap(offsetX, offsetY, myPixmap)
My Imagination is that, Qt will fill the whole marquee text rectangle with the content from myPixmap.
Is there a ever faster way, to shift all existing content to left by 1px and than fill the newly exposed 1px wide and N-px high area with the content from myPixmap?
Hello,
Where can i find the key combinations for some actions, in Mozilla Firefox? For example, Ctrl+L moves the cursor to the address bar. I wanna move the cursor in the Google search box, from the right-top position). Which key is associated with this?
And some other key combinations?
Thanks!
Hello
Lets say i have a div
<div id='myDiv'></div>
If i do: $('#myDiv').html('<div id='mySecondDiv'></div>') is it the same as
var mySecondDiv=$('<div></div>');
$('myDiv').add(mySecondDiv);
I'm pretty sure i have syntax errors but you get the idea.Are the two methods same?
Hello all,
I have a pretty simple UITableView who's cells contain UITextFields and I need to be able to call resignFirstResponder to hide the keyboard whenever a user touches the UITableView outside of one of the cells.
I have read this question/answer but it seems like a very rudimentary way to achieve this. I have read about a way to do it by converting the UITableView to a UIControl so that you can connect the TouchDown event.
Does anybody know the standard or preferred way to achieve this functionality?
Hello,
I am trying to combine two integers in my application. By combine I mean stick one byte stream at the end of the other, not concatenate the strings.
The two integers are passed from hardware that can't pass a 32 bit value directly, but passes two consecutive 16-bit values separately.
Thanks,
Hello, I'm looking for any pointers on how to write a rails web app without ActiveRecord.
A doc or an example of a (not too complex) web app using storage backends other than a relational database would be greatly appreciated.
It's not clear on what should be implemented in the model classes in order to make the rails app work without the ActiveRecord layer.
Thanks,
Hello!
I know C# , but I am a total newbie regarding threading and I am having trouble to understand some basic (I think) concepts like signaling.
I spent some time looking for some examples, even here, without luck.
Maybe some examples or a real simple scenario would be great to understand it.
Thanks a lot in advance.
Hello all,
I'm trying to read all filenames from a specified (server- not client) folder, and insert all the filenames into a javascript Array.
It should behave like the Directory.GetFiles method in ASP.NET C#.
I created a new array, and I just need the loop method (Javascript or jQuery) to iterate in the specific folder, and insert all the filenames into the array.
Thanks all helpers!
Hello, SO
How to build something similar to a Flex ViewStack in AS3?
What is the best way to build a container with different views that can be switched?
Hello, I'm creating a software project in Java, is a remote administration tool. The thing is that I need to add some features with C++ and I read some about this process and I realized I need JNI, could you recommend me a good JNI Book or something related with ?
Hello,
I'm using the CKEditor 3.1, and find that whereever there is a box on the page, the ckeditor causes a new empty select box to appear next to it (although it has not been applied to that specific element.)
This seems to be a known issue : http://dev.fckeditor.net/ticket/4528
Has anyone been able to get around that?
Is there any other good fckeditors you can suggest?
Thanks!
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.
Hello,
I am writing a method that will set the properties of an object passed as a parameter. The method accepts one parameter of type interface and the return type of the method is the same interface. I was wondering if there is some kind of a naming convention for such methods. I was thinking of something like:
FillInInterfaceTypeData or InitInterfaceTypeData but both sound clumsy to me. How do you think?
Hello all.
I am currently working on an application for managing a WPD device.
I want to add an option to open the wpd device in windows explorer to view the saved files.
Problem is that I can't find a way to open explorer pointing to the device's "folder".
I have all information of the device (pnp device id, class name, etc.)
Anybody knows a solution?
Thanks in advance!
Bernd
Hello All
i have a US states list
List<string> state // contain all 51 US states
Now i have a string which contain some text like okl (it means Oklahoma for me). what i want i want 'like' query in List state and get Oklahoma state.
Hello
This might sound to be a big question, but could you specify what are the issues to be considered which designing CSS for IE6 & Other browsers.
To be in more simple terms, what is so different in CSS for IE6 when compared with other standard browsers. What are the Issues to be considered when making a IE6 compatible CSS