How to find out the current time in different timezone in xcode for an iphone application?
Suppose i'm inIndia and i want to know the current time in USA how do i get the time then.
Thanks in advance
Joy
I have made a data model, and now I've made a 2nd version. All of the generated NSManagedObjects mapped to that data model are all version 1. Is there some way to update them to v2 without deleting them and then saying having them generated again?
Has anyone found/made any decent color themes for Visual Studio 2010?
My VS 2005/2008 themes seem to be getting mangled in the upgrade process. I'm accustomed to using the ever famous Oren Ellenbogen's Dark Scheme featured on Scott Hanselman's blog, but the upgrade process has made it downright butt-ugly. Does anyone have any gems they'd like to share?
Hi,
I have a scrollview on a controller.
To enable paging for scrollview, i have added another controller, which initializes when the pages are made. That means for each page i have a controller made at run time.
In the view of scroll controller, i am trying to draw an image using drawRect.
The problem is i see the drawn image only for the 1st page and when i scroll, the other controllers are blank.
Please help
Is it true that if I am inIndia and wish to enroll for the apple developer program, I need to do it by sending them a FAX and it is not possible to do it online ?
On Wikipedia I found information about bezier curves and made a function to generate the inbetween points for a bezier polygon. I noticed that Expression Design uses bezier handles. This allows a circle to be made with 4 points each with a bezier handle.
I'm just not sure mathematically how this works in relation with the formula for bezier point at time T. How do these handle vectors work to modify the shape? Basically what's there relation to the bezier formula?
Thanks
I've been working on code checked out from the development line and discovered that the changes made might be breaking changes and need to be moved to an experimental branch before committing to the main dev tree. However, I don't have the experimental branch checked out and I don't want to loose the changes that have already been made.
Is there a way to commit the changes in the working folder to a different branch than originally checked out?
visitors from either of 3 countries New Zealand, Fiji or India, need a different content page respectively. site is php, content is in html files ready to be included.... im a newb please be patient!!
I am using festival TTS c++ API in my program.I have downloaded all files from http://www.cstr.ed.ac.uk/downloads/festival/2.0.95/
and install festival and speech_tools successfully on my UBUNTU 10.04
now when compile my c++ programme gcc gives error:
g++ -L/usr/lib -L/home/peeyush/Desktop/festival/src/lib -L/home/peeyush/Desktop/speech_tools/lib -o"peeyush" ./src/peeyush.o -llibeststring.a -llibestbase.a -llibestools.a -llibFestival.a
/usr/bin/ld: cannot find -llibeststring.a
collect2: ld returned 1 exit status
make: *** [peeyush] Error 1
so please help me to sort out this error.
-Thanks
Peeyush Chandel(INDIA)
I'm having trouble finding a list of the changes and bug fixes that have been madein the .Net framework for .Net 4.0. They're not easy to find, but surely they exist somewhere?
Specifically I want to find out what changes and updates have been made for System.Net.HttpWebRequest and System.Net.CookieContainer, as both are quite bugridden in 3.5 and I want to evaluate whether I should write my code for .Net 4.0 or if I should create some custom classes to work around their issues.
I would like to write myself a pretty printer for java using bison and flex. I have written a pretty printer for a script language, but I was only writing visitors, which made the printing. How can I turn a program using my formal grammar into a tree of nodes (made using C++ classes), that afterwards I could visit using my visitor? Maybe you could give me some link with an example of this? What i need to put into flex/bison files?
Scripts to generate a DMG image disk for mac usually copy a .DS_Store file with folder customizations (icons sizes, positions, image background, etc.) You customize a read/write copy of the DMG, then copy the .DS_Store and use it to automate the DMG generation.
It seems .DS_Store madein Leopard doesn't work in Snow Leopard and viceversa. A DMG created in Snow Leopard won't show the background image in Leopard.
Is there a way to made a .DS_Store file that works in both OSX?
I can select using or with the sql statement
select f.userid, f.friend_userid from friends f where userid = 1 or friend_userid = 1;
now in the output i have to merge the two rows(userid and friend_userid) into one row such that only the rows without 1 are displayed
I m using mysql....
Thanks
Pradyut
India
I have a class Client.java in two different jars jar1 & jar2
Now at run time i want to decide which Client.class loaded like
if (country==india){
// load Client class of jar1
) else{
load client class from jar2
}
can i do that...
Does anybody know the mathematics behind an attack on DSA where modulus p has p-1 made up of only small factors. In reality, this would not happen as the key generator would guarantee that this is not so.
There is much information on the web on generating good input paramters for DSA so that it is hard to crack but no information on how you find X if modulus p has p-1 made up of only small factors.
I would like to write myself a pretty printer for java using bison and flex. I have written a pretty printer for a script language, but I was only writing visitors, which made the printing. How can I turn a program using my formal grammar into a tree of nodes (made using C++ classes), that afterwards I could visit using my visitor? Maybe you could give me some link with an example of this? What i need to put into flex/bison files?
Hello,
I have made an iPhone app with localized versions. It mostly works fine, but there are two views in which localized NIBs do not load. Standard NIBs (in English) are used. I am sure I made localization properly ("Get Info", "Make file localizable", "Add Localization", added "pl" - for Polish, and then edited created NIB). All the other views are fine. What might be the problem?
Thanks for helping me.
I am getting jquery error when i am passing # contain
var url = "/CheckVol/SaveItem?status=" + status + "&name=" + name ;
$.post(url, function(data) {
});
here name contain 'my name # pankaj # lohani # india' , which is creating error.
Hi,
I am using jqueryui autocomplete widget for autocompleting a 'country' field but I am facing an issue. Suppose the user enters "in", I want the jqueryui to list countries like 'india', 'indonesia' which start with 'in', but it also lists the countries which have 'in' somewhere in the name (like: argentina). How can I solve this issue?
jQuery(".autocomplete").autocomplete({
source: CountrySuggestions, //CountrySuggestions is an array in javascript containing the list of countries
minLength: 2
});
Akshey
Sorry, I would just test this myself, but I'm currently without my mac. Does a web request made inside of a UIWebView send the same user-agent info that a web request made from mobile Safari would?
Hi,
My name is Gautam. I come from India. I really want to join Management Information Systems course in USA. COuld you help me with the schools that offer this course in Spring 2010.
Looking forward for your reply
Gautam
As the title suggests I would like to convert a long number to the format with words using C#. The Culture settings don't seem to do this and I am just currently doing this
String.Format(new CultureInfo("en-IN"), "{0:C0}", Price)
But for very long numbers I would prefer the word format. I am not from India and only vaguely family with how the system works.
Am curious why modern browsers allow switching off Javascript.
It's so clear now that to do any substantial modern web application you need to integrate some high level of Javascript, why cant javascript be made an integral part of the browser? It becomes even more annoying especially when this option is OFF by default (IE!!)
My opinion is, it should be made a standard for all the browsers to have javascript option enabled by default.
What do you guys think?