i think i know the answer to this question, but just want to make sure before i dismiss the possibility.
is it possible with user permission for my web app to access pim data like the address book on a iphone, similar to how a web app can access the location service?
Hi guys,
I guess no one will have a definative answer to this but considered predictions would be appriciated.
I am in the process of developing a mySQL database for a web application and my question is:
Is it more efficient to make a single query that returns a single row using AJAX
or
To request 100 - 700 rows when the user will likely only ever use the results of two or three?
Really I am asking what is heavier for the server 2-3 requests with one result or 1 request with 100 - 700 results?
Thanks,
Mark
Hi there,
I am writing some learning tests (i.e. what's the answer for...; choose correct options...). Now my question is, how should I store them. SQL db seems quite an overkill, but I really don't know what would be the best choice if I wanted to select random subset of questions etc. Perhaps some simple xml files?
Thanks for advice.
According to the accepted answer to this question, the osql.exe utility can be run as a standalone program on a computer without SQLServer, simply by copying the binary file to the new computer. My question is, however, which other files need to be copied along with osql.exe for it to work?
Thanks so much!
Hello there, I would appreciate it if anyone can answer my question.
Identify the implicit cast and explicit cast?
int a = 2, b = 3;
float f = 2.5;
double d = -1.2;
int int_result;
float real_result;
A website url has "hidden" some mp3 files by embedding them as shockwave files, as follows:
<span class="caption"><!-- Odeo player --><embed src="http://odeo.com/flash/audio_player_tiny_gray.swf"quality="high" name="audio_player_tiny_gray" align="middle" allowScriptAccess="always" wmode="transparent" type="application/x-shockwave-flash" flashvars="valid_sample_rate=true external_url=http://podcast.cbc.ca/mp3/sundayeditionstream_20081125_9524.mp3" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed></span>
How can I download the files for off-line listening?
I've found two methods:
1. The StackOverflow Method
Create a new local html file with just the links eg
<a href="http://podcast.cbc.ca/mp3/sundayeditionstream_20081125_9524.mp3">Sunday Edition 25Nov2008</a>
Open the file in the browser, right click the link and File Save Link As.
2. The SuperUser Method
Install the Firefox addin Iget. (Be sure to use the right version for your Firefox version.)
Tools Downloads Enter url in field.
Are there any other ways?
Is there a way to have a content type that is only viewable to admins AND the person who created it, including comments? I feel like I know the answer to this but its escaping me.
While taking a look at this awesome thread I noticed that some examples use
PS1="Blah Blah Blah"
and some use
PROMPT_COMMAND="Blah Blah Blah"
(and some use both) when setting the prompt in a bash shell. What is the difference between the two? An SO search and even a bit of broader google searching aren't getting me results, so even a link to the right place to look for the answer would be appreciated. Thanks!
Help make Stack Overflow become the definitive place to come to for examples of the classic "Hello World!" program. Feel free to use any language you like and keep to one example per answer please.
This must have been asked before, but after Googling I still can't find the answer.
How do you change the color of the title bar (The bar that you can click and drag around with the close, minimize and maximize buttons) to a different color than the default gray in Cocoa?
I know this is a real basic and stupid question but how do I run a perl script on OSX? I honestly can't find the answer anywhere! Presumably I have to run a command in Terminal but what?
Thanks in advance,
Jeff
In my project I am calling a web-service which giving response back as thousands of records from SQL server but as default size of SOAP ENVELOPE is 64KB I am getting only first 15 records in my logcat...Will please somebody tell me to increase my SOAP ENVELOPE size to 10 MB so that I can fetch all the results....I have searched over internet but didn't get any answer regarding this, my code is as below...
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.setOutputSoapObject(request);
envelope.dotNet = true;
This was one of my interview questions which i couldn't answer.... Is it related to web developement?
What really is a patch?
and my interview question was
how will u start new patch?
Hi folks,
I am looking for a CMS that offers an API for managing the several content elements or pages.
The programming language(or other technical details) of the CMS doesn't matter - so don't hesitate give an answer:).
Best regards
Hi!
How to write a simple method, that checks whether a concrete type is a custom struct (created with public struct { };) or not.
Checking Type.IsValueType is not enough, because it is also true to int, long, etc,
and adding a check to !IsPrimitiveType won't exclude decimal, DateTime and maybe some other value types. I know that most of the built in value types are actually "structs", but I only want to check for "custom structs"
These questions are mostly the same but without the answer I need:
#1
#2
#3
Is there a situation where the use of a list leads to an error, and you must use a tuple instead?
I know something about the properties of both tuples and lists, but not enough to find out the answer to this question. If the question would be the other way around, it would be that lists can be adjusted but tuples don't.
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?
I asked this question at SO http://stackoverflow.com/questions/8278015/forms-nauthentication-across-sub-domains-on-local-iis
Now asking it here.
I know a cookie can be shared across multiple subdomains using the setting
<forms name=".ASPXAUTH" loginUrl="Login/" protection="Validation" timeout="120"
path="/" domain=".mydomain.com"/>
in Web.config. But how to replicate same thing on local machine. I am using windows 7 and IIS 7 on my laptop. So I have sites localhost.users/ for my actual site users.mysite.com
localhost.host/ for host.mysite.com and similar.
I'd like to know about specific problems you - the SO reader - have solved using constraint programming and what constraint logic language you used.
Questions:
What problems have you used constraint programming to solve?
What constraint logic language did you use?
I'm looking for first-hand experiences, so please do not answer unless you have that.
I'm trying to add the values of two arrays in javascript eg. [1,2,1] + [3,2,3,4]
The answer should be 4,4,4,4 but I'm either getting 4,4,4 or 4,4,4,NaN if I change the 1st array length to 4.
I know a 4th number needs to be in the 1st array, but i can't figure out how to tell javascript to make it 0 rather then undefined if there is no number.
Not sure if this question is more appropriate for ServerFault or StackOverflow, sorry if it should belong elsewhere!
I am working on an application and one of the function is to automatically send an email with an attachment. I can code the application to attach the object when it resides on local or on a mapped drive.
Newbie Question: Is there a way to have the object reside on the Domino server, and still be able to point to it and have the application automatically attach and send? Is there any method that allows me to do this?
Users have no direct access to the server/filesystem, so mapped drive of the Domino server is out of the question.
Hope someone can shed some light on this question. Thanks!
I've been sent here by the people at stackoverflow
OK so I know I'm using the right code becuase I have it working on another server but when I try to send an email from a webpage on this particular server using php I get a success message back but the email never gets through.
In /var/log/maillog I see
Sep 11 14:20:28 ela1 postfix/smtp[11496]: CEE83E151FD: to=[My email address here], relay=none, delay=40, delays=0.08/0.01/40/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=btopenworld.co.uk type=MX: Host not found, try again)
Can anyone help?
Hi guys
Not sure if anyone has used aadvark but it has a very nice integration with Gtalk.
If you have signed up on aadvark - when any question is posted in your area of expertise - there will be nice pop-up in ur gtalk window asking if you are interested in answering - if you say Yes - it will ask you the question and you can answer in that window itself.
Is that something they are able to do because Google bought them or does google have an API with which we can integrate it with our application to do something similar.
Thanks