Is there a query I can write against an INFORMATION_SCHEMA or against the system tables to determine if a column is an identity column in SQL CE version 3.5?
I need to write a recursive function that can add two numbers (x, y), assuming y is not negative. I need to do it using two functions which return x-1 and x+1, and I can't use + or - anywhere in the code. I have no idea how to start, any hints?
I don't have a dedicated button in Nexus1.I want to detect whether an image/video is captured from the camera like if anyone captures an image then it should write to file that image has been captured.
i have write bellow at this link http://stackoverflow.com/questions/2896811/question-about-siftdown-operation-on-heap code above ritten is pseudo code and i am interested if according to pseudo code my program is correct?
I saw code which works like this:
do_something($param) || warn "something went wrong\n";
and I also saw code like this:
eval {
do_something_else($param);
};
if($@) {
warn "something went wrong\n";
}
Should I use eval/die in all my subroutines? Should I write all my code based on stuff returned from subroutines? Isn't eval'ing the code ( over and over ) gonna slow me down?
Not quite sure how to ask or define this, but can't figure it out.
I have three tables like this:
persons person_id, first_name, last_name
hobbies hobby_id, name
persons_hobbies person_id, hobby_id
I need to make two lists. Persons that have both hobby A and B, and persons that have hobby A but not B. How can I write these two queries? Can't figure out how to do this with joining and all...
Often, it is more efficient to use a sorted std::vector instead of a std::set. Does anyone know a library class sorted_vector, which basically has a similar interface to std::set, but inserts elements into the sorted vector (so that there are no duplicates), uses binary search to find elements, etc.?
I know it's not hard to write, but probably better not to waste time and use an existing implementation anyway.
We are creating a video intensive app and want to be sure that adaptive streaming is required (given that we need to write an automated transcoding and segmentation system to support this). Does anyone know if the YouTube app is using adaptive streaming?
Hello,
I write simple application in C++/Qt. And i have a text and some octal number in it. My app splits this text by spaces. And i need to check octal numbers from text. How can i select octal numbers from this text with regular expressions?
Thank you.
createSchedule([[math109]], fall, Out).
[[cs485, cs485], [cs355, cs355, cs462, cs462, cs462], [cs345, cs345, cs352, cs352, cs352, cs362, cs362, cs362, cs396, cs396, cs396], [cs330, cs330, cs330], [cs255, cs255, cs255, cs268, cs268], [math114, cs245, cs245], [math112, cs145, cs146], [math109]]
Out = _G431
this is what prolog returns and the list of lists is shown by using write(Out) in prolog.
Any ideas why it is showing this?
Thanks
Can PHP array passed POST method to catch in ASP.NET MVC?
Query string: WebAccess/ArrayTest?val[]=1&val[]=2&val[]=3
I write: ActionResult ArrayTest (String[] val)
But this only works if the query string to remove the "[]"
java.util.logging.Logger override the file data instead of add to end of file.
Is this correct? should I create 1 file for each time I initialize the app and the log system?
If not, how do I set it to write to the end of the file?
Hi
I am quite new to programming, i have a question please help me. ( this question is java question but i can't remember the syntax but what i write here is mostly it.)
A class Person speaks i am a person
A class Student speaks i am a student
Student extends from Person
Person p = new Student
then what is p speaking then?
I was wondering what happens to the code contained in an <mx:Script> tag. If I define a function tehre, it just becomes a member function of the generated class. But I noticed that it seems OK for the compiler if I just write some (static) method calls there (specifically, I call Font.registerFont()). I feel kind of guilty for doing this, because I have no idea what's really happening and when the code gets executed.
Hi all,
I am trying to write all my query code in an object oriented way. But I don't know how to implement this for each click function and hover function etc. I also wanted to know:
What are the advantages of writing query in object oriented way?
For query what is better the object oriented way or in the ordinary way?
I want to make a little in-app demo like Tapbots does in Convertbot. Maybe there is a better solution than mine?
make everything programmatically controlable
write a huge class with hundreds of performSelector:withObject:afterDelay: calls to control the whole app for the demo
The demo actually only does two things:
Simulate touches on controls (i.e. programmatically pressing buttons)
Show text message bubbles when appropriate to explain what is going on
How would you do it?
I making an application to view videos form youtube, and I think it is very easy to write a code to make the user be able download the videos and save it in the documents folder of the application, my questions are:
1) is it legal to do this, and is there any concern of the application being rejected?
2) is it possible to make the user watch the video and when he finish (watched all the video) get this data and save it, (not to download it again since he already watched the video and downloaded it).
Hi,
I want to write a program that can post data into WordPress using C# via POST method. I have no idea to do that. I hope someone help me some ideas. WordPress have any API support that ?
Thanks !
I am familiar with impersonating an account in .net by using:
dim myIdentity as WindowsIdentity = someIdentity
using ctx as WindowsImpersonationContext = myIdentity.Impersonate()
doStuff()
end using
Is it possible to define a .net attribute so that I could write something like:
< runAsUser(someIdentity) public sub doStuff()
and then have the .net framework always impersonate when running the method doStuff()?
Hi,
Is there anything in boost libraries like binary? For example I would like to write:
binary<10101> a;
I'm ashamed to admit that I've tried to find it (Google, Boost) but no results. They're mention something about binary_int< but I couldn't find neither if it is available nor what header file shall I include;
Thanks for help.
Hi all:
I would like to write a syntax whose effect is opposite to $(parentID).children("tr.sc:hidden").
Do jQuery get ("tr.sc:show") or similar syntax?
Thanks
I have a website in which I have a several php forms that I would like to fill out with auto generated content (for the purposes of exercising different content the user could submit). I would like to write a client side application that enables me to do so.
Is there any way either using webtoolkit, java script etc of doing this?
Thank all for your help,
PHPNoob
I need to write such a define in C++
#define scanf( fscanf(inf,
in order to replace each scanf( with fscanf(inf, literary
But I do not know how...
Thanks