I would like to learn Computer Graphics and be good for
my career but the only thing i know is python programming.
where should i start and go next? Im also studying from home.
Hi,
I am new to iphone programming designs. I have hundreds of plists on my server. On the first launch i will be downloading all these plists into my application and storing it here. What are all the best ways to save and retrieve these plists in my application ? What are the iPhone libraries that should be used to get the best and memory efficient iphone application ?
I'm not particularly knowledgable about programming and I'm trying to figure out how to get a precise value calculated in a C program. I need a constant to the power of negative 7, with 5 significant figures. Any suggestions (keeping in mind I know very little, have never programmed in anything but c and only during required courses that I took years ago at school)?
Thanks!
"8,5,,1,4,7,,,,7,,1,9,3,6,,,8,6,3,9,,2,5,4,,,,,3,2,,,7,4,1,1,,4,,6,9,,5,,,,5,,,1,,6,3,,,6,5,,,,7,4,,1,7,6,,,,8,,5,,,7,1,,3,9,"
I'm doing a programming challenge where i need to parse this sequence into my sudoku script.
Need to get the above sequence into 8,5,0,1,4,7,0,0,0,7,0,1,9,3,6,0,0,8.........
I tried re but without success, help is appreciated, thanks.
I am making a network call in an AsyncTask, but the problem i am facing is the amount of time it is taking to start the doInBackground method.
Here is a part of my code:
button.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Log.d("Temp:",System.currentTimeMillis()+"");
new Move().execute();
/*some other logic
}
}
And my AsyncTask is:
private class Move extends AsyncTask<Void, Void, Void> {
@Override
protected Void doInBackground(Void... temp) {
Log.d("start:",System.currentTimeMillis()+"");
gson.fromJson(Web.Request.get(some_URL),Void.class);
Log.d("end:",System.currentTimeMillis()+"");
return null;
}
}
These are the logs i got:
32658-998/com.example.game D/temp:? 1408923006159
32658-998/com.example.game D/start:? 1408923035163
32658-998/com.example.game D/end:? 1408923035199
So actually it took almost 29 secs to reach the first line in doInBackground method, where as it took just 36 ms to finish the network call. I tried it many times, the time taken is almost in the same order.
Is it possible to start the AsyncTask immediately? Or is there any other way to solve this problem.(other than a running a simple thread?)
Thank you :)
I have come across many ad hoc implementations of thread class in C++, but why is there no standard library thread class like the one in Java? The one that I generally use in C++ is http://www.linuxdocs.org/HOWTOs/C++Programming-HOWTO-24.html
So, I have created a big website (a lot of text in different files and a lot of programming). I need to add one more language, how should I do? What is the fastest way I can add second language and let my visitors to choose between them? Any ideas?
Thanks.
I'm attempting to recreate a time sheet built on asp and I can't figure out how to get the current weeks starting date "6-13-2010" and have it populate a combo box can you help me with this I'm new to C# and asp programming.
I have a service which does its work(perform network operation) depending upon the type of message(message.what) property of the message. Then it returns the resoponse, also as a message to the requesting component(depending upon the message.replyTo).
So, i am trying to write the testcases.. But how?????
My Architecture of service is like this:
1) A component(ex. Activity) bounds to the service.
2) The component sends message to the Service(using Messenger).
3) The service has a nested class that handles the messages and execute the network call and returns a response as message to the sender(who initially sent the message and using its replyTo property).
Now to test this.. i am using Junit test cases..
So , in that ..
1) in setUp() i am binding to the service..
2) on testBusinessLogic() . i am sending the message to the service ..
Now problem is where to get the response message.
I do not know much about Haskell, but from what I have read about the mutability of computations (e.g: functions returning functions, complex monads and functions, etc.) it seems like you can do a lot of meta-programming, even at runtime.
How can Haskell, if everything like functions and monads are so complex, compile to machine code and retain all this?
I am using MVC design pattern in jsp-servlet web application, and want to what is the exact difference between MVC1 and MVC2 , can someone help?
EDIT newly I hear that there is 2 versions of using MVC in servlet programming, I hear that in MVC1 there is kind of coupling between controller and view , but in MVC2 they overtake it, if someone know whether this is right or wrong I'll be very thankful.
I am interested in what people use as their text editor, and would specifically like to know what is the feature of vim that you like the most?
In answering, please state what you mostly use vim to do, sysadmin tasks, programming, and in what language you mostly program in.
I'm fairly new to database programming in .NET.
If I want to call several existing queries from the same database for different tasks, should I have one DataSource per database, per database connection, or per query?
Hi,
I have a programming running on linux ubuntu which tries to connect to a server port using TCP.
Can you please tell me how can I find out that is timeout value for a client socket connecting to a server socket for ubuntu?
Thank you.
I'm looking for some resources that demonstrate good graphic design for generated (PHP/HTML/CSS) reports.
The website I'm designing is essentially a long test. Everything is finished except the report generation, and this part needs to look good!
I'd appreciate any advice/resources you can point me to! I know this isn't directly programming related, but my purposes do encompass coding and output.
I know this is possible in other programming languages. Suppose we have the following arrangement:
- (void) myMethod:(NSString*)variables, ... {
// Handle business here.
}
- (void) anotherMethod:(NSString*)variables, ... {
// We want to pass these variable arguments for handling
[self myMethod:variables, ...]; // Do not pass GO
}
// Start the party:
[self anotherMethod:@"arg1", @"arg2", @"arg3", @"arg4", nil];
What's the trick to get this working in ObjC?
Hi, in C if I have a printf statement containing say "%.2f", it says that the precision is 2 digits after the decimal place. I haven't explicitly specify the width. I have two questions:
Is this good programming practice?;
Is without specifying the width means that the width of the field will get adjusted automatically when printing the number, irrespective of the number of digits it contains?
Thanks a lot...
I am trying to learn iPhone/iOS programming. I have an UIPickerView that should dispay its selected row as soon as it becomes visible (it is contained on a flippSideView).
Unfortunately, the flipSideViewController's awakeFromNib is not called. It is too early to call [pickView selectRow ..] from viewWillLoad (the pickView does not exist at that time), and somewhat too late to do it in viewDidAppear.
So, how can I make the pickerView display the selected row as soon it becomes visible?
Can anyone help me how to get (or log) all URLs accessed by web browsers in a computer. Together with its response time?
Note: visual C++ will be the Programming language to be use and this will run under windows platform.
I use Solr in my website, and now I am about to configure my VPS account.
I am at the stage where I need to install java in order to make Solr work.
Now, I only plan on running solr, and using it as it is (I have no java programming skills at all), so my Q is, do I need the entire JDK which includes JRE, or is JRE enough?
Thanks
BTW: My server OS is Linux (ubuntu 9.10).
Thanks
Anybody knows some actual documentation written? I can't find anything good for any of the 2 competing mods. Looks like Emacs is pretty much abandon when it comes to Python and it is a shame as there is no other programmable programming editor that comes close to Emacs.
im new to this and would like to develop sound programming practices.
i am wondering if members of an Enum declaration should be all uppercase or just the first letter?
thank you.
The question says it all really, I'm looking for book recommendations, video tutorials etc. I've been programming since I was about six so I don't need a book that spends 4 pages on for loops (thought that might be a Bad example in terms of javascript).
Also I'm learning ASP.net at the moment so anything on interoperability features/issues would be welcome, though I'm guessing I just showed my ignorance with that question.
Im using Sql compact server.I created table with varchar datas.But i select a particular column member to be an identity.im programming in c#.
I want pass the query. how can i achieve this? Im new to this sql compact,
Can you give examples of books that teach large web app development?
it must not be focused on a programming language, but to be generical with the concepts and structure.
thanks :)