NSString *myxml=@"<students>
<student><name>Raju</name><age>25</age><address>abcd</address>
</student></students>";
in iPhone programming how to parse this XML by each node. ....
I'm working on building an iPhone app with Titanium Mobile 1.0 and I see that it compiles down to a native iPhone binary. How does this work? Seems like it would take a lot of heavy lifting to analyze the JavaScript code and do a direct translation into Objective-C without having a subset language like 280 North's Objective-J and Cappuccino.
I am very new to programming and would like to know what is the best way to go about creating a notification icon badge similar to the ones on the iPhone apps. This would be basically for creating a badge for the notifications that end up in the notification bar.
I'm trying to write the Diamond-Square algorithm in Java to generate a random map but can't figure out the implementation...
Anyone with some Java code (or other language) so i can check how the loop is made would be greatly appreciated!
Thanks!
I'm relatively new to programming so excuse me if I get some terms wrong (I've learned the concepts, I just haven't actually used most of them).
Trouble: I currently have a class I'll call Bob its parent class is Cody, Cody has method call Foo(). I want Bob to have the Foo() method as well, except with a few extra lines of code. I've attempted to do Foo() : base(), however that doesn't seem to work like. Is there some simple solution to this?
When I recently asked about the uses of Ruby someone told me it was good for prototyping. I basically know what that means, quickly get the very base of your app up and working, see if there are conceptual problems and then add the rest.
Am I right with how I understand prototyping?
What would be a concrete example of prototyping a Snake game in Ruby or any other language?
how can i control access to webpages in firefox. i'm going to develope a new addon for this but colud you tell me what should i do?
can firefox extension programming allows this.
or should i develop a desktop application to control access.
thx in advance.
Hello,
I am a beginner in Silverlight and C# programming and i´m creating a Bing Map application.
I try to add pushpins with coordinates and information from a SQL Server, but I can't figure out how to succeed.
Mike
What programming languages are used to create sites for online video convertion and mp3 extraction from youtube, like this one: http://getvideo.bg ? I guess it's not written in php ...
Hi,
what is programmer job or tasks?
is it only programming, or it includes software testing,windows installer, network management, helpdesk, documentation???
AS I am a graduate developer, I feel like I am doing everything, from upgrading hardware, installing antivirus, ...everything....
and of course coding...
thanks
Something I've always wondered, especially since it inspired me to start programming when I was a kid, was how video game bots work? I'm sure there are a lot of different methods, but what about automation for MMORPGs? Or even FPS-type bots?
Hi
Im programming webserver (C), which should send big files. My question is:
What are the main differneces in two syscalls: write and sendfile. Does sendfile depends on size of socket system buffer ? I noticed that write often writes less then i requested.
For example, if got many requests for one file: should i open it, copy into memory and use 'write', or maybe i can do 'sendfile' for each client ?
thx in advance for all answers
I'm now learning Ruby because I saw it's a very powerfull language, but now I want to know what mobile ports of Ruby we have and for what devices.
PS: I have a HTC S711, HP iPAQ Hx2, Nokia E61, Nokia N95, Palm T|X, Palm Z22, HP Jornada 720..., it's better if I can use it on these platforms, but I'm open to buy other devices, as I'm a mobile addict.
Hi there.
I need to write a simple program that records all the input from parallel port into a file. Data flows from industrial machine, setup is fairly simple, but I can't find any good open source examples on parallel port reading for Windows.
Do you know a software that does this (and lets me learn how to do it myself), or is there any guideline for parallel port programming on XP?
Thanks.
Hi everyone.
I'm using blogger.com to host some texts on programming, and I'd like to use prettify (same as stackoverflow) to nicely colour the code samples.
How do I install the prettify scripts into the blog domain?
Would it be better (if indeed its possible) to link to a shared copy somewhere?
I have webspace on a different domain. Would that help?
Many thanks.
Just Curious. I'm currently foraying into the world of Java coding, and, was wondering weather Geometry can come useful in the kind of programming a Beginner to Intermediate Skill level Java coder has.
Hi!
I am new to .NET, and don't have much experience in programming.
What is the standard way of handling user authentication in .NET in the following situation?
In Process A, User inputs ID/Password
Process A sends the ID/Password to Process B over a nonsecure public channel.
Process B authenticates the user with the recieved ID/Password
what are some of the standard cryptographic algorithms I can use in above model?
thank you for your time!
I recently ran across Project Keychain and wanted to know if there are any other SPML to LDAP gateways that are open source. Implementation language does not matter.
Does anyone know of an app that can monitor a beanstalkd queue? I'm looking for something that shows stats on tubes and jobs, and allows you to inspect the details.
I'm not really picky about language/platform, just want to know if there's something out there before I write my own.
I'm looking for a solution for producing SPSS format data files for loading into SPSS. The few offerings I can find are all commercial.
Has anyone experience with generating SPSS-format data files using open-source, freeware or home-grown solutions?
I'm not even sure that the file format is "open". Any hints appreciated (any language is fine, although java, perl or ruby preferred).
Let's say I have column A and Column B. Cells in Column A contain either "Y" or "N". How can I set the value of the cell in the corresponding row in Column B with a formula that detects if the cell's value = "N"?
Not new to programming logic but to Excel formulas, thanks for your help.
-Ryan
Good day
The question is: Could anyone give me an example about how to do fuzzy matching of two strings using Lucene.NET (or using Java version of Lucene, or in any other language that has port of Lucene).
When programming against a fluent API, I've seen the style mostly like this:
var obj = objectFactory.CreateObject()
.SetObjectParameter(paramName, value)
.SetObjectParameter(paramName, value)
.DoSomeTransformation();
What is the reasoning behind putting the dot at the beginning of the line instead of the end of the line like this:
var obj = objectFactory.CreateObject().
SetObjectParameter(paramName, value).
SetObjectParameter(paramName, value).
DoSomeTransformation();
Or, is it merely a style thing that a team makes a consensus on?
Hello everyone,
I was thinking in learning a new language and settled for Python. But now that Dive into Python 3 is out, which one should I learn, 2 or 3?
I am asking this also considering possible jobs for version 2 or 3.
So, what do you think?
Thank you!
i have a rhel 4 server and use php as a server side scripting language. There are many doc and excel files that are uploaded to the server daily. i make these files to be downloaded. i want to implement the view as html feature and they should preserve the formatting also. so which tools can be used or it can be done through php only. (on php4)