text stringlengths 8 267k | meta dict |
|---|---|
Q: Do we need the "Expect: 100-continue" header in the xfire request header? I found the apache xfire has add one head parameter in its post header:
POST /testservice/services/TestService1.1 HTTP/1.1
SOAPAction: "testAPI" Content-Type: text/xml; charset=UTF-8
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Any C# .NET Libraries to export images into a PPT File I would like to export a series of images [JPEG/Gif files] into a power point presentation. Are there any .NET libraries that I can use for this purpose ? Looking for a library, which can help me create ppt from C# .NET, and import the images into slides and arr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why doesn't my recursive array search work on this array of data? I have a recursive array search function which has previously been working a treat. For some reason though now it appears to be telling me things exist in the array which actually don't.
IE, I have an array like this
Array
(
[0] => Array
(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there an event for an image change for a PictureBox Control? How do I know when the image of the picturebox change?
Is there an event for an image change?
A: First make sure that the images are loaded asynchronously. To do this set the PictureBox's WaitOnLoad property to false (which is the default value).
pictu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Sharepoint Attendees without a Workspace for Calendar Event I am wondering if it is possible to have a custom form in Sharepoint 2010 where I am able to add/edit a calendar event and access the attendees list that is normally visible on the workspace page.
I assume that perhaps I need to at least hard code a workspa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Has anybody had this problem - jquery not working with Magento in Firefox? I'm running Magento 1.5.1.0 and have included a jquery image fader on the home page, running on my testing server. It works perfectly in Ie and chrome but does not work in Firefox.
If i enable Template Path Hints it will run the script ok tur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress post into Jquery mobile framework I want to show my wordpress post into jquery mobile application... But so far i didnt got the success. I am using jquery.post() function but my response comes empty....
Request to the desired url goes well , status comes 200 ok but response coming is always blank :( Altho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551351",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problems with "sliding menus" program I was reading a program to make sliding menus. Though the program works fine,there are certain things for which i don't have a clue what do they mean and what are they doing.
HTML
<html>
<head>
<title>Shakespeare's Plays</title>
<link rel="stylesheet" href="script.css" />
<scrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HttP url problem to read xml data in jquery ajax if you copy http://tgbs.ir/xml/Category.xml in your browser , you will see content of xml file. but in below code alert doesnt show and i think url doesnt work .
please help me to solve this problem because this code has to read from this url.
Date.ReadCategoryXml = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a if statement with NSNull in objective-c I am develop a iPhone application, in which i need to use JSON to receive data from server.
In the iPhone side, I convert the data into NSMutableDictionary.
However, there is a date type data are null.
I use the following sentence to read the date.
NSString *ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Set value into a property in Class1 from Form1 then get value of that property in Class1 to Form2 using C# Windows Form I have this problem, i've set a value to a property from shall we say Form1, then get that value in Form2 but it return null.
sample code.
//Sample.cs
public class Sample
{
private string excha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set the volume mute in movie player in iphone? I am creating an app regarding movie player. In movie player I played videos. It worked fine but I want to mute the volume through coding. I want to set one button for volume mute. When I click the button it performs actions for mute. How can I proceed for this?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to delete subarray from array in php? I have multidimensional array and I need to delete one sub array how can I do it without creating another array and copying values?
$myarray
[one] a->1 b->2 c->4
[two] a->5 b->8
[three] a->44 b->55 c->66
I need to remove two $myarray['tw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android Page Flip For Web View Now I am trying page flip animation for web view in android
visit http://github.com/harism/android_page_curl and you can get information on how to page flip, but it is applicable only for images. What would I have to do to apply this for web view?
A: i had also facing same problem so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551389",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Is it okay to allow objects to be stored in each other depending on loading order? I have an object that represent's a User's account on my site, and a separate object that acts as an attachment to the main account object and extends the user's ability to operate some major functionality on the site - a full functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get the User's ID when they click "Like" Button on my dynamic url? Please forgive my poor English,
My Problem is that i have a article.php?id=xxx ,
and i set the Like Button(facebook socail plugin) on the article.php ,
and i also set the like_href=http://bikeid.net/20110908/article.php?id=25 ,
the query id wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Free reporting tools for .net? I'm looking free reporting tools like SharpShooter.
I use VS2008, if reporting tools can work with asp.net it would be great!
A: there should be CrystalReports bundeled with VS2008. Or you should be able to use Microsoft Reporting
Here is a sample-walkthrough from MSDN
A: don't miss ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP: what is the purpose of session_name I'm not quite sure what the purpose of session_names is..
Can someone please explain in what circumstances defining a name would be beneficial?
A: The default is - I think - PHPSESSID. If you have more than one application on the same host, they would share those sessions. S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Data fetching from SugarCRM custom build module I have a custom made module in SugarCRM called AOS_Products. I have stored a product detail in that module. I want to fetch that product detail using PHP.
Can anyone suggest how I can do that?
A: You can directly access sugarcrm's database, one module will be mapped ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inherting parent folder permissions in new java-created files I hava a java application, that creates files and folders somewhere on the customer machines.
i need that the new files and folders will get the same permissions as their parent folder, and their same permitted group.
I can tell the user to do some linux ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UIScrollView blocks run loop? I implemented a NSTimer(repeats) and UITableView on the same viewController.
Somehow, when I scroll through the tableView, the run loop seems to stop firing the NSTimer.
The same goes for UITextView, which is also a subclass of UIScrollView.
May I know what is happening here?
A: The r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there a way to restrict sending an email to a pre-defined destination only? I would like to send some info from within the app per email - but restruct the recipient list.
I know when sending emails the standard email-dialog opens. However, is there a solution anyway? Possibly somehow intercepting the "Send" Btn ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not get minOccurs="1" maxOccurs="1" for a string type in a DataContract Below is a DataContract in my WCF service and its respective xsd schema shown in the wsdl file.
[Serializable]
[XmlRoot(Namespace = "http://www.example.com/l0257/services/mgnt/datatypes/0/1",IsNullable = false)]
public partial class Instru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: FB.Auth.setAuthResponse only compatible with OAuth2 issue Loading my facebook page in a tab shows following error:
FB.Auth.setAuthResponse only compatible with OAuth2.
I use oauth parameter like this:
FB.init({
appId: fbAppId,
status: true,
cookie: true,
xfbml: false,
oauth: true
});
Am I doin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Can I access asp.net server control in Ajax.AjaxMethod? How can i access asp.net server control in Ajax.AjaxMethod.
My code is below.
protected void Page_Load(object sender, EventArgs e)
{
Ajax.Utility.RegisterTypeForAjax(typeof(Default2));
}
[Ajax.AjaxMethod(Ajax.HttpSessionStateRequirement.ReadWrite)]
publ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: convert latitude and longitude into x and y cordinates
Possible Duplicate:
Longitude, Latitude to XY coordinate conversion
In my iphone application i am getting latitude and longitude of my current place.But I want to draw a line graph taking these latitude and longitude as points.How this is possible??
A: Try t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: DOMDocument and php html problems Alright. So I'm using DOMDocument to read html files. One thing I've noticed is that when I do this
$doc = new DOMDocument();
$doc->loadHTML($htmlstring);
$doc->saveHTML();
it will add on a doctype header, and html and body tags.
I've gotten around this by doing this
$doc = new DO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to know if the request is ajax in asp.net in Application_Error() How to know if the request is ajax in asp.net in Application_Error()
I want to handle app error in Application_Error().If the request is ajax and some exception is thrown,then write the error in log file and return a json data that contains er... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Passing an operator as a parameter to odbc_execute() I am taking my first tentative steps into prepared statements (and falling flat on my face).
Previously, I built the following from $_GET and echoed it back - the code was working fine and it returned what I expected from my simple test database.
SELECT * FROM ed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ListView with DataPager problem VB.Net / ASP.NET I've been hunting down this problem for days, so far I have tried many popular methods, absolutely nothing, my listview just dissapears after I rebind it. I am binding a List(Of KeyValuePair(Of String, Integer)), for the indexing functionality, to ListView. When I fir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send app to background on button tap In my apps there is a button named "Back". When the user clicks on that button, the apps should be sent to the background, like when we click on the home button.
A: Even if you manage to do this, it is against Apple's HIG (because it will look as a crash to the user) - if you pl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I plot a function and data in Mathematica? Simple question but I can't find the answer.
I want to combine a ListLinePlot and a regular Plot (of a function) onto one plot. How do I do this?
Thanks.
A: An alternative to using Show and combining two separate plots, is to use Epilog to add the data points to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: how to pass string value from one class to another I just want to know that how to pass the string value from one class to another..
Actually i have two classes.In first class i fetch string value from the array and i just want to use this string value into my second class.Now i don't know how to pass value between ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to convert my Xml File into customized Xml file using XSLT 2.0? I want to Convert my Input Xml File into more customized xml file by using XSLT 2.0.
This is my Input Xml File...
<w:document>
<w:body>
<w:p>
<w:pPr pStyle=”Normal”/>
<w:r>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551454",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can we have "Chroma key" technique using plain CSS or jQuery? This one is not trivial. I want to create a chroma key menu. For those not familiar, it is the same in video with the green background (or whatever color) being removed and special background is added.
I have images as a background in a menu. What I want... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: c# generic constraint where is not class? is there a where clause for a generic that determines that T is of type primitive?
void Method<T>(T val) where T : primitive
case:
have a functional language written in C that feeds on primitive unmanaged blitable types, or things that can be pushed into a primitive easil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: j is null exception while tinyMCE editor is added to the page as a widget I have a page where we can add any number of widgets containing tinyMCE editor. When I add the first widget the editor works fine. If I try to add a second widget or more the editor of the second widget shows 'j is null' error. The widgets and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: connect to different type of DBs Is it possible for a playframework app to connect to different types of database systems, for example, MySQL and also MongoDB, and decide on the fly based on the traffic which database:table on which database system to talk to.
A: Basically, Play manages only one RDBMS database usi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551468",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mysql to mysqli php I am trying to convert my current code to MySQLi extension... But I have a problem with this code..
$sql = "SELECT COUNT(*) FROM users WHERE username='$username'";
$result = mysql_query($sql);
if (mysql_result($result, 0) > 0) {
$errors[] = 'The username is already taken.';
}
W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Server type from a given URL What is the PHP function to get the server type and information from a given 'URL'?
A: PHP doesn't has a built in function to get that type of information (which is rarely useful unless you have easier ways to get it that don't involve programming, or unless you are planning to attack t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does omitting the declaration of ivars for properties might cause trouble or leaks? I started to learn and develop for iOS4, so I just skipped the old ivar declaration convention and started to use pure properties without even declaring ivars. Everything went fine, I even released my first homemade app on the app st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Pass parameter client to server-side with RIA services I'm using RIA Services with EF and a Silverlight UI and the built-in validation framework. Problem is the following:
The validation rules differ slightly based on user-input client-side, consider this simple scenario.
protected override ValidationResult IsValid(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Highlighting a cell while touching iphone(giving a glowing effect just like touching a button) This may be a simple question but i cant find a solution.i'm using a table view.i want to give a highlight option when user selects that cell.highlight means giving a glowing effect for the cell(just like highlighting a b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: blocking in login page In simple web program I want to block users for some time in log in page if they type incorrect password for 3 times! How can I implement it? Is it good idea that store counter in database?
A: This may help:
http://www.webcheatsheet.com/PHP/blocking_system_access.php
A: This is something tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551487",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't download sources (NullPointerException) Whenever the m2eclipse plugin wants to download the source files of a Maven dependency I'm getting the following error:
java.lang.NullPointerException
at org.eclipse.m2e.jdt.internal.BuildPathManager.attachSourcesAndJavadoc(BuildPathManager.java:845)
at org.eclip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Passing Value to Javascript function via Android Menu I have a WebView and the it loads a html page which has javascript function in it.
The WebView has some Menu's namely, edit, refresh, next & previous.
When i press Edit, i want the javascript to do what it has to?.
When i press edit, the JS function has to show c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling stored procedure in jdbc I am developing android application. And i am using sql sever 2008 database to store and retrieve the data. Now i am calling the stored procedure in jbdc. Here is the code. Now it gives me Exception which says Invalid Column Index at 3. I am using the same code in other place which w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Start/Stop apache using shell script I am trying to start/stop apache 2.2, using shell script. At present I am using:
/usr/local/apache/bin/apachectl start
/usr/local/apache/bin/apachectl stop
If there is a way to start it:
./StartApache.sh start
Thanks in advance.
A: Why not use the official way - the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551493",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Split articles in subpages every nine articles I want to seperate my content elements to several subpages of 9 content elements each.
Example:
If I have 5 content elements then I have only 1 page in the navigation. If I have 14 content elements then there is the navigation with the link to page 1 & 2.
It should be a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Form wrapped in jQuery causing some issues I have a form wrapped in jQuery. It slideToggles on click of a div. This form is self submitting. So when I display any errors / confirmation on submit of the form, they'll be encapsulated within the jQuery / div. On the page reload the jQuery hides the form disallowing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make Scroll pane static? Observation::
Whenever the user reaches the last cell in the table and press Tab key, the focus is shifted to the first cell i.e the top the table.
Brought the table view back to the last cell, by using the function table.scrollRectToVisible(rect), but due this there is movement and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: webview without scroll bars in android app i am trying to load some web pages in web view of my android app. By default when the page gets loaded i want the web page to be within the device screen size, without any scroll bars making to move either horizontally or vertically.Is this possible. I found a option of add... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding to cart problem (What am I missing) What am missing in code?
Any suggestions?
Error display like this:-
Error Type:
Microsoft JET Database Engine (0x80040E14)
Syntax error (missing operator) in query expression 'orderID =1AND productID ='.
/mcartfree/addToCart.asp, line 49
Code is so far
'Main program
Sub... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .bat file interaction with java or C#.net GUI application How to interact .bat file with java or C#.net GUI application? Here is part of my .bat code.
:Valid
echo Enter student id:
set/p "pass=>"
if NOT %pass%== UserStudentId goto FAIL
When I run the .bat file it will ask Enter student id: in command prompt, then v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set color mTitles Array in that API demo? http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List6.html
In the above link , how toset color to mTitles string.
A: You should be able to do something like in the getview function
TextView title = (TextView)sv.getChildAt(0)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Paint app for ipad [opengl-es] line strokes not proper I have a strange problem with openGL. I am working on paint app for both iphone and ipad. I am using opengl-es for my app. In my app I am filling colors in outline images, drawings a line onscreen based on where the user touches. I just use the "touchesMoved" fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: why this for loop goes in infinite loop executation? see i have one code like this
int main () {
uint32_t i ;
for(i=4;i>=0;i--)
printf("i is %d \n",i);
return 0;
}
it goes in infinite loop.
why i's value goes below 0 & still loop is going to executive?
A: You see negatives values in your... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Get the hit row in MongoDb Let us say we have the next JSON structure:
{
{
name:"FirstComponent",
items:[
{
Caption:"Item1",
Value:"1"
},
{
Caption:"Item2",
Value:"3"
},
{
Caption:"Item3",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does using a regex and .scan produce these results? >> "aaaaaafbfbfsjjseew".scan(/(.)/)
=> [["a"], ["a"], ["a"], ["a"], ["a"], ["a"], ["f"], ["b"], ["f"], ["b"], ["f"], ["s"], ["j"], ["j"], ["s"], ["e"], ["e"], ["w"]]
>> "aaaaaafbfbfsjjseew".scan(/((.))/)
=> [["a", "a"], ["a", "a"], ["a", "a"], ["a", "a"], ["a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551538",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Generate Sql DB Script in C# I have a sql table that contains Table Columns Properties like TableName, ColumnName, Datatype, IsPrimary, IsNullable, DefaultValue, Length etc and also a versionId.
So my requirement is comparing two versionIds and then generating scripts in C#
like alter table.
Please tell me how to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Getting friendly device names in python I have an 2-port signal relay connected to my computer via a USB serial interface. Using the pyserial module I can control these relays with ease. However, this is based on the assumption that I know beforehand which COM-port (or /dev-node) the device is assigned to.
For the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: HLOOKUP over several columns returns nothing else then N/A I am very familiar with VLOOKUP in excel, but HLOOKUP seems not as easy to master as its vertical pendant. Here is a very simple case I can' solve by myself:
http://dl.dropbox.com/u/3224566/Book1.xlsx
I don't understand what is wrong with that kind of formul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem in screen resolution I have created an app.During creation i have used Nexus s device for testing of my app.But i want my app to support multiple screen.So for that have created separate layout for small device, medium device and so on as suggested in android support multiple screen documentation.Now my pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery Mousemove and performance question I've just wrote some code (and it works) for displaying some text near the mouse when the mouse is on any of 4 rectangles (different text for different rectangle). I used html tag < map >< /map>, css and jquery. Everything works fine. I don't like 100% CPU Usage when mouse i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: calculate median excel having conditions I'm looking for a excel formula which will help me calculate the medians of different data.
1 45
2 54
3 26
4 12
1 34
2 23
3 9
Now, I need to calculate the median of data from B1:B4 and then B5:B8, and print whether the number is lesser/equal/greater than the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hide the .jsp url extension in struts2 project I am working in the struts2 web application.I want to do the mapping of my url such that the extensions like ".jsp" should be eliminated from the url.
So below is the snippet code of my web.xml.I want to do that my url show /login instead of /login.jsp.
<filter-mappin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: disable cookies in Tomcat5 In /conf/context.xml I add:
<Context cookies="false">
Idea being to enable url rewrite, disabling cookies (a security patch for a client's server at work). I personally am not sure how this will make it more secure, feel free to throw in your expertise on the matter, but either way, I got... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Report Viewer on asp.net page keeps asking for authentication Report Viewer on asp.net page keeps asking for authentication
i have report viewer control on asp.net page, on my machine (IIS 7.5, windows 7) its working fine, but when i deployed it to another machine (IIS 7.5, Windows 7), every time i open the report v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551571",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monkey Runner import giving error i created an empty file an named it something.py, and then i just copied the lines of code from the android developer website. However, if i try to run it, i get an
ImportError: No module named com.android.monkeyrunner
Is there something i am missing? There doesn't seem to be anythi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Map reduce value list order problem As we know Hadoop groups values with per key and sends them to same reduce task.
Suppose I have next lines in file on hdfs.
line1
line2
line3
....
linen
In map task I print filename and line.
In reduce I receive in different orders.for examle key=> { line3, line1, line2,....}
Now,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any Listener for Media Recorder? Actually i am creating an application which starts recording when user start speaking and
stop recording automatically when user stop speaking.
so is there any way to find if user is speaking or not?
is there any listener for Media Recorder for this?
A: No, AFAIK there are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: create timer using list value and assign those timer to execute query in C# I have a list and i want to use this list value to create timer.And also want to use those timer to execute 2 MySql query. Here is my code,
Timer timer;
List<uint> _dataValues = new List<uint>();
private void button... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to using DOM importNode without DOMException I want to copy an node to a different Documentg, but it always has DOMException about
org.apache.harmony.xml.dom.NodeImpl.setNameNS(NodeImpl.java:227)
here is my code
private String getString(Node seqNode) {
try {
DocumentBuilderFactory factory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551582",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Usercontrol action event with TextBox I am new to asp.net,
My problem is I have one TextBox and user control Button in default.aspx ,After clicking the Button I need change the text value of TextBox(some default value from user control).
Is that possible?If Yes,where i need to write the code?
Default.aspx
<%@ Regi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551583",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java : get values from table and apply formula in the bellow code, I try to calcul the formula:
y=val1+val2+val4/all values
val is a string get from a table.
my aim is , for a row 0, get all values from each column "values" then calcul the formule.
after that do the same for each row.
but my code doesn't print me t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add a row to a table using sqlite browser in android I was able to delete rows in the table i have created by simply clicking on the button "Delete Record". But when i am trying to add a row by clicking on the button "New Record", it displayed an error like this
so, in the preferences i have set the default ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting Images from camera buffer iOS. Capture still image using AVFoundation
I'm using this well known sample code from Apple to convert camera buffer still images into UIImages.
-(UIImage*) getUIImageFromBuffer:(CMSampleBufferRef) imageSampleBuffer{
// Get a CMSampleBuffer's Core Video image buffer for the me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551587",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: checking existance of the list element via c# functions I have a list like:
List<int> baslikIndexes = new List<int> { };
and I added the elements manually. I want to know whether for example if element "23" is in it or not. I am trying to use "Exists" method but I haven't figured out how to use it. I tried this an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551591",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Client Server Apps+java I have a java requirment contains both client and server side program.
Server side
Server program frequently check the data base and checks if a new order came, if order came it check the order and send it to the corresponding client machine using IP address and port.The client machines are o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551594",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Pinch Zoom out in Google Maps in Android? I am developing an application in Android in which I'm using google map using the Javascript V3 library with Phonegap. It works fine for me until I noticed that map is zooming in on touch event but couldn't able to zoom out when I tried for number of times.
I'll appreciate i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I send an email through my Exchange ActiveSync mail account? How can I send an email through my Exchange ActiveSync mail account and not gmail? When I use createchooser only gmail appears...
Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND);
String aEmailList[] = { "me@mail.com" };
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not load type from assembly Before you say anything, I have read the previously asked questions about this issue. The answers there did not fix my problem.
It's pretty simple, I guess, if you know the answer. Here's my problem:
I've got a solution with several projects, I'm creating a plugin-based application ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: image resize with php? ive done my research on the net and here as well and i keep on coming up with no answer that can help me:
i have the below code which displays an image from a folder based on a user's location however the image is too big and i need to resize it.
all the scripts that i have tried or read relat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculate distance between two locations using google map in iphone I just want to calculate distance between two location .
In which user can enter both the location's addresses, and from that addresses I want to calculate the distance between them.
Is it possible to calculate distance from CLLocation using these ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551610",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AppWidgetProvider(Widget) with Service Android Why in almost all the tutorials or examples people do that:
@Override
public void onUpdate(Context context, AppWidgetManager appWidgetManager,
int[] appWidgetIds) {
...
context.startService(resumeIntent);
super.onUpdate(context, appWidgetManager, appWidg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: getting rss news feed using jquery mobile I am making a mobile web app. This app will get news from yahoo. I am currently using jquery plugin to get these news. I am also using jquery mobile for interface. On the index page I have listview and it contains all the titles such as Top News, World News, Sports News etc.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551613",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails assets images in production I found some strange behavior of assets images
If I run unicorn in production mode at hosting - /assets/image.png - server give me blank image ie file exist, but size=0 . In same time at localhost I run in unicorn development mode - and all works fine, Then I run webrick at hosting ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551615",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: python encoding Using mechanize, I retrieved source page of an web which contains some non-ASCII characters, such as Chinese characters.
Code goes below:
#using python2.6
from mechanize import Browser
br = Browser()
br.open("http://www.example.html")
src = br.reponse().read() #retrieve the source of the web
prin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Twitter Bootstrap's javascript Popover looking wrong I'm trying to implement Bootstrap JS's Popover (this), and for some reason it's not showing up like it's supposed to.
This is what I'm getting
As you can see, the body of the Popover is shifted towards the left, and the border's kinda broken.
Here's my code
<a cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: strncpy segfault I've been having trouble getting this section of code to work. I'm trying to get a character array to be copied so I can get a count of how many tokens there are to dynamically allocate and save them to be examined for environment variables. However, I keep segfaulting when it tries to strncpy the o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: asp.net mvc3 working with master pages In my website, when the user logs in, I want to show the user name and also show a logout button.
In ASP.NET 4.0, we could use the code behind file of the master page to write code for a common thing like this. But I don't know how to achieve this in MVC3. I would not like to p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails 3.1 - JS - Socket.io-emit in *.js.erb gets not executed and prevents execution of jQuery-Function I want to use node.js with my Rails-Project to serve asynchronous io. I don't want to use juggernaut, faye or something like this, because I need clean connections with web-socket, server-sent events and spdy with... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Eclipse: How to get TODOs from SQL and XML files in tasks In Java files I can write TODO comments and they show up in the Tasks window.
// TODO: Do something about this
However, when I write TODO comments in for example SQL scripts and XML files, they don't show up. Is there a way I can get them to do that? For exa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551635",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Ninject Binding Constraint that searches up to find a type I've got a class hierarchy like this (simplified):
class Connection
{
}
interface IService<T>
{
}
class ServiceImplementation : IService<int>
{
public ServiceImplementation(Connection)
{
}
}
interface IConnectionConfiguration
{
public void Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551638",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: change portlet title from code in Liferay without Jquery I'm having solution to change title of portlet through JQuery.
$('#idOfPortlet').find('.portlet-title').html('new title');
But we dont want to use JQuery in our project.
Is there any solution to change title of portlet using YUI or anyother thing through code... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551639",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NullReferenceException in C# when dealing with Streams? So, I'm pretty new to all this network programming, and I have a few questions...
I'm building a client-server chat application, wherein the server is running, the client(s) connect(s) to the server, and then when a client sends a message to the server, the ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Internet explorer 10 wrong behavior with HTML5 video is it other browsers? With this test, IE10 dev-preview shows very strange behavior. It passes the test but continue the playback while it should remain at the paused state. Other browsers don't show this behavior.
Given the following piece of code (extracted from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Mongo DB: how to select items with nested array count > 0 The database is near 5GB. I have documents like:
{
_id: ..
user: "a"
hobbies: [{
_id: ..
name: football
},
{
_id: ..
name: beer
}
...
]
}
I want to return users who have more then 0 "hobbies"
I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Querying data from a child model I have 3 models that I have setup thus far in a simple application I am working on:
So far I have these models:
*
*UserAccountEntity - Top level Table (Has a One-Many Relationship to UserAccountEntityStrings)
*UserAccountEntityStrings - Child Table (Has a Many-One relation ship t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to define part of a Manipulate control variable definition to reduce code duplication This is a little related to this question
Define control as variable in Mathematica
But the above question did not answer my problem, as it talks about the full control definition. (I also tried some of the tricks shown there, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7551647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.