text stringlengths 8 267k | meta dict |
|---|---|
Q: Gmail does not list sent items if mail sent from custom smtp server We have our own company's smtp server.
When we send mails using the above smtp server, the mails do not list in the gmail's sent items.
The mail is sent using asp.net
What can be done?
A: Instead of using your own SMTP server, use the SMTP server f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DataGridView ICustomTypeDescriptor I´m want build a DataGridView with Databinding to a Class where I can add Properties at Runtime.
I want to add Columns at runtime and have the values stored in the class.
I found a nice example here (Dictionary to store Properties with ICustomTypeDescriptor)
It works fine til i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Window is not releasing when switching to another window I am creating a Mac application in which I have mainwindow with some buttons.
When I click button it will open a DetailWindow with NSTableview. Every buttonclickevent change the data in NSTableView.
Here is my code:
In my mainWindow.m FIle
- (IBAction)btn1E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: directory write access for admin area I have a site, with a small admin area. The admin area needs to write to a directory, but dont want to give write access to that directory to the group or for anybody else (for security reasons). How can I change the owner of the directory (and subdirectories) to the runing use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tracking auto-renewable subscriptions for magazins I'm trying to implement the auto-renewable subscriptions but something is not really clear for me.
If I have for example a magazine like app and want to track the subscriptions even if they are invalid now, do I have to save the receipts in my app (e.g. Core Data)? ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Controlling embedded windows media player with javascript I have embeded a few videos which I need to display if a link is clicked. so what I am trying to do is click a link and it will display a video, which the user can press play on. If they click another link, the previous video stops and a new video will be dis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Clicking highlighted Link in Unoredered list Here's a sample of the page I'm working with. The problem is that the user has to click on the link before they are directed to the target page. Is there a way of making the highlighted box for each of those links active and respond to click as well?
My users are complain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selected content to upperCase? I am just wondering if there is a simple solution already to the problem of turning selected content in tinymce to upperCase letters.
Anyone got a solution?
PS: The upperCase-function is known, but won't solve the tinymce setting of selected content alone.
A: This is what i came up wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I take Android Screen shots at the right size for publishing? I'm sorry if this is a daft question but I appear to be missing something.
I am trying to publish my first app and I need at least 2 screen shots. I have taken these using DDMS in eclipse which produces an image 240 by 400. The market requires an i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: problem with closing connection on db with servlet I am trying to run my app with tomcat an the first time that I am debugging/running the app its work fine. but when I am trying to run on second time I am getting error "XJ040".
"Failed to start database 'C:\Documents and Settings\vitaly87\.netbeans- derby... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Deploy Excel Workbook Project from VS2010 I have created my first Excel 2007 workbook project in C# using VS2010 that contains a few buttons and carries out a bunch of tasks that all seems to work quite well. I now need it to run on users' machines but I'm not quite sure how to get it to work as the workbook loads b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Polymorphic static const member variables in an ABC? I have a rather strange situation where I would like to be able to define certain constants that a subclass of an ABC can override.
struct A {
static const int a = 20;
virtual int func() = 0;
};
struct B : public A {
static const int a = 3;
int fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Execute terminal command top from a Cocoa app I want to execute top and get the result in order to know how much memory is used by a process.
First, I want to execute a terminal command. I use code from this question
Execute a terminal command from a Cocoa app
I tried with uptime and it worked flawlessly.
But, when... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to solve : doesn't work toggle when using linkify class in Android? http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/view/List6.html
Taking Referece of the above link, whenI test sample and I added linkify getView function, does not work toggle.
public View getView(int positi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: BufferedReader prepends input I am trying to read from a Socket using BufferedReader as follows
BufferedReader in = new BufferedReader(new InputStreamReader(socket.getInputStream()));
while ((line = in.readLine()) != null)
{
}
I input a string, say "AUTH", I am getting the value of line variable as ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Yahoo Mail Api with Java - Can't authorize I try to authorize to yahoo api by example on http://developer.yahoo.com/mail/code/ for JAX-WS. I get an exception:
Exception in thread "main" ua.com.stormlabs.gap.yahoomail.BrowserBasedAuthManager$AuthException: Signature mismatch
at ua.com.stormlabs.gap.yahoomail.BrowserB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Complementary filter (Gyro + accel) with Android Recently I have made some research to use both the accelerometer + Gyroscope to use those senser to track a smartphone without the help of the GPS (see this post)
Indoor Positioning System based on Gyroscope and Accelerometer
For that purpose I will need my orientati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: problem with between predicate when using an nspredicate ( a between predicate) i had an exception.
there is the code i used:
NSMutableArray *returnedArray=[[[NSMutableArray alloc]init] autorelease];
NSManagedObjectContext *context = [self managedObjectContext];
NSEntityDescription *objEntity = [NSEntityDescription... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# PropertyGrid - Check if a value is currently beeing edited Is there a simple way to find out if a property grid is currently being edited by the user?
My usecase is the following:
I update the grid data every second. If the user is editing a value, all inputs get lost when my update is called. So what I want to d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Asp.net: Multiple iFrame in page I have multiple iframe in my asp.net page. But all this iframe are loading through loop and having same page in all.
These all iframes are loading at last, after loop completes and because of these i am getting last loop data in all iframes.
What to do for this.
This is my main page ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript textarea undo redo I'm making a small javascript editor (for a chrome extension) somewhat like the one on SO.
There's a toolbar for manipulation of the text in the textarea. (e.g. surround the selected text with some template)
I was wondering if there is a easy way to achieve this, currently when using th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: BitmapFactory decode function for Android I encounter problem with .decodeStream function.
File cacheMap = new File(context.getCacheDir(), "test.GIF");
if(cacheMap.exist()){
FileInputStream is = new FileInputStream(cacheMap);
Bitmap bitmap = BitmapFactory.decodeStream(is);
puzzle.add(test);
}else{
//r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create navigation tabs or thumbnails as Firefox or Google chrome? I want to show the important links or services in my website as multiple thumbnails or tabs like what we see in Firefox or Google Chrome when we open it and they show us the latest opened websites.
I think there is a way to do that with CSS or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can I automatically login to youtube using UIWebView (iOS)? I have a question about authentication with UIWebView. I want to login in webview, but without webview interface. Is it possible?
For example I will be using UITextField for user login and password. After the user enters a user name and password, the progra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asp.net GridView Headertext aligment problem with the Column text In my GridView the Headertext is aligned to left and itemstyle is aligned to left but the header is not exactly aligned to left. It leaves some space before.
Saml code: <asp:BoundField DataField="COMPANY_TYPE" SortExpression="Company_Type" HeaderText=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery how to prevent mouseenter triggering when page loads with cursor hovering element I have an element on my page with a mouseenter event bound to it which changes the dimensions of a child image.
It works just as I want, however if you hit the page with your cursor hovering where the div will be, it triggers as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Building wsp from post-build event command line What is the command for building WSP from post-build event command line?
I'm adding one more image so that you can understand my exact requirement.
A: You can build a WSP by using MSBuild. Each SharePoint project is build with the parameter
IsPackaging=True
By addi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to add method i.e get/post in a form using jquery I am using spring mvc in my project.
<form:form method="" action="" id="myform" commandName="users">
I have this form, want to add action a runtime using jquery. how can I do it
Using javascript I was doing as which worked fine
document.getElementById("myform"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to open multiple instances of a program in Linux Say for example, to open multiple instances of gedit editor I wrote a shell script like this-
gedit&
gedit&
gedit&
gedit&
But after I ran my shell script ./example.sh, I can find only one instance of gedit! I've even used the & operator, so that the shell doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553452",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Local android service receive data from local web page I have offline web page on android tablet.
Is it possible to write android service which will get data from web page when user insert data and submit it, and when android service receive data than it has to save it in text file or db.
Everything is in offline l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553455",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how i can insert a javascript code inside visual web jsf page in netbeans? how i can insert a javascript code inside visual web jsf page in netbeans 6.5.1 ?
<webuijsf:head id="head1"> <script type="text/javascript" src="ddaccordion.js"></script> </weuijsf:head>
it doesn't work however it works fine inside dreamwe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem with Apple Push Notification service I tried to set the push notification on my app iPhone.
I created the certificate and then I used the apns php library on my web server to create the notify, but this is the error:
Warning: stream_socket_client() [function.stream-socket-client]: SSL operation failed with c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple select statements in a stored procedure sql server 2005 Is it possible to add multiple select statements in a single stored procedure . The select statements are getting data from same tables. If yes, could anybody provide an example in adding multiple select statements, which retrieve data from different t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: from Plain text generate encrypted text of same legnth I want to create a java program in which I will give plain text , a key then the output should be of same length as of plain text. Using the same key I will decrypt the encrypted text. So please suggest me how to proceed?
Thanks.
A: What sort of encryption sche... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Creating a aggregation function on Oracle 10g returning unhelpful error I've got some help and was led to this page and this explanation, which should contain a efficient way to aggregate things.
It suggest to use de COLLECT function and some other custom things. I'm trying get along with it, but the error messages ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Mix and playback multiple tracks Actionscript 3 I am creating a sound mixer in AS3. I have several sound samples that a user can choose from to create their own track. The mixer will "mixdown" a max of 4 tracks and playback the "mixed" track on demand. I'm having trouble getting the sounds to playback in sync. I'm n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problem with deserialization xml to objects - unwanted split by special chars I try to deserialize xml to objects, and i met a problem with encoding of various items in xml tree.
XML example:
<?xml version="1.0" encoding="utf-8"?>
<results>
<FlightTravel>
<QuantityOfPassengers>6</QuantityOfPassengers>
<Id>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why do my linked lists appear to point to same thing after clone? I noticed that when I first have
list2 = (LinkedList)list.clone();
I could operate on both lists independently eg. list2.remove(1)
But later when I do
list = (LinkedList)list2.clone();
when I do list.remove(1) list2 is affected too. Why is that?
U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553478",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android :Changing tabs on Fling Gesture Event- not working for ListActivity inside TabActivity I have a tabactivity with three tabs. One of the tab contains ListActivity and two others contains simple Activity. And i have implemented OnGestureListener to change the tab on fling event.
The onTouchEvent and 'onFling' ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553479",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: XMPP (Jabber) windows client with SSO features I'k looking for a xmpp windows client with SSO feature in a Windows Domain.
I've tried pandion but it doens't work.
A: You're likely looking for Kerberos 5 support. The GSSAPI SASL mechanism is how this works on the wire. I think Psi implements GSSAPI. Setting this ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Date format of sql from regional settings I am reading date from the sql table. In sql table date time in the format how client set in regional format. Because of this reading date and splitting that and taking to a format what we want is becoming difficult. Is there any way to restrict sql date format from regional... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553482",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Error $mainframe->set() in joomla 1.7 I have code in joomla 1.5
global $mainframe;
$html = "web solution";
$mainframe->set('JComponentTitle', $html);
Use in joomla 1.5 is OK
But when using joomla 1.7 is error Call to a member function set() on a non-object in ...
I want help for this idea
A: Try this:
global $app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: problem with "count_all_results" and "where" with Active Record in CodeIgniter In CodeIngiter User guide ,they said the following code:
$this->db->where('name', $name);
$this->db->where('title', $title);
$this->db->where('status', $status);
// WHERE name = 'Joe' AND title = 'boss' AND status = 'active'
It means w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Buffering videos leads to page loading slow I am using flowplayer to play videos. I need to show first frame of every videos on my page. so I put the settings as autoPlay as false, and autoBuffering as true. So what happens is every videos (more than 10 videos) are buffering simultaneously and it leads the page load... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553492",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: php - get full image path from server how can i get image path on server using "browse" button in a html form, select the file (double clicking the file returning its full path), and put the result image path into variable $img_path?
let's say the image dir in my server is /images, i'd like to get path of "foo.jpg",... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Identifying a String within a file such that it starts and ends with a quote i am writing a scheme interpreter in Java.
Files contain many lines/words
This is one of the lines in the file:
"xx'x v \"yyyyy\"... eee dddd ffff\\\n"
I have to identify it such that the whole string is returned,
but in my program, it on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553496",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC3 Html.HiddenFor(Model => Model.Id) not passing back to Controller I have created a strongly typed MVC3 Razor view using the scaffolding code.
The model is a POCO with a base type of PersistentEntity which defines a property called Created, Updated and Id.
Id is an int, Created and Updated are DateTime.
I am usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Does rails and other gems install documentation anywhere when you install them? And where can I find it? I'm running OSX.
In addition I have to do a lot of work offline while travelling so if anyone can offer any tips for downloadable documentation please let me know.
A: If you have installed your gems the "normal"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Json.Net - Serialize property name without quotes I'm trying to get Json.Net to serialise a property name without quote marks, and finding it difficult to locate documentation on Google. How can I do this?
It's in a very small part of a large Json render, so I'd prefer to either add a property attribute, or override... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "41"
} |
Q: Glassfish 2.1 Spring 3.0 - How-To Setup - No Web Application I have googled around and I have not found satisfying informations about how to start to setup spring in a glassfish container.
Starting point is:
*
*Glassfish 2.1 (no discussions about the version please cause we are forced to use this)
*Spring (prefe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Need horizontal menu option on mouseover on a particular div My requirement is to make a horizontal menu in the end of a paragraph where on mouseover a menu should appear
On mouse over it should show an option to add an item like this
On clicking the add option the menu should appear like this
Please suggest any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Set maven property from plugin I've read some questions here about how to set a property (most of them talked about the version number for an application) from a maven plugin.
It seems there's no easy way of doing this and the best solution I found is to have a filter.properties file which is updated from the plugi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: get and initialValues method of ThreadLocal synchronized I came across a code where the get() and initialValue() methods of ThreadLocal is synchronized.
I couldn't find any use of having these methods synchronized. Correct me if I am wrong.
-Krishna.
A: I was investigating the same usage of synchronized on ThreadLo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to delete 2 spaces or break line become one space? here is my coding is break line str_replace
$finalresult = "a<\n>b";
$strreplace = str_replace("\n", "", $finalresult);
echo $strreplace;
here is my coding is 2 spaces str_replace
$finalresult = "a b";
$strreplace = str_replace(" ", "", $finalresult);
echo $s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Append form values to hidden XML string on post I am posting a form to a remote server and have to send over an XML formatted string as a hidden field, containing the entered info. Im struggling to append the input values entered to the XML string, E.g.:
<input type="text" name="firstname" id="fname" /> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error out of bounds exception when running recursive program in Java I'm learning about recursion as part of a Java tutorial and I am looking for a little help.
We need to make a recursive Java program which will work out how to get from one city to the other when there is no direct flight.
My latest issue is Im g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to check condition on check box click? I am trying to check the condition of checkboxes.For making checkbox i use button.I changed there sizes and provide image as checked or unchecked on their click method.Now i have two checkboxes.Now i am trying to store array value on the bases of checkbox clicked.I mean tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Parse my nested xml? Hi i need to parse an xml file whose structure is as shown below in NSXMLParser,
<Root>
<Ancor>
<A1>,,,,,,,</A1>
<A2>,,,,,,,</A2>
<A3>,,,,,,,</A3>
<subContent>
<![CDATA[,,,,,,,,,,,,,,,,,,,]]?
</subContent>
</Ancor>
<Main id=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Trying to unbind events on iPad2 with javascript Bit of background, we are creating an html5 'app' for the iPad, which has everything contained in a single page, and all the content is dynamic.
I have a dynamically generated anchor, which then has a click event bound to it as so:
$j(toElement).find(".moveSlideUp")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails 3: convert session[:params] to correct activerecord query I have two models, Foo and Bar, with same attributes, and I'm 'caching' user "search params" into a session variable, that ends into something like this:
session[:search_params] => {"price"=>"15.0", "air_conditioner"=>"0", "fireplace"=>"0", "number_of_r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# application on Apple IOS I have got C# .Net based applications. Is there any way I can run these applications for Apple IOS. I don’t have resources to develop all applications from scratch.
Many Thanks,
Ni
A: You can use the tools made by the mono project.
These will not support all of the MS namespaces (non of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: C++ unit test for testing performance (synthetic benchmark) is there any library just like unit testing library, but instead of testing for correctness, its testing the performance of such functions, the output is execution time, cpu instruction count, performance variance, cache-miss, etc..
A: I use gprof and valg... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to remove a string from a string I am adding a string (a) to another string (b) before I store it in DB, when I retrieve the value from DB, I want to remove the string(b) from string (a). string (b) is a constant. How can I do it
string a= "text1";
string b="text2";
string c = a+b;
I want to remove b from c aft... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553561",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to check if String is null I am wondering if there is a special method/trick to check if a String object is null. I know about the String.IsNullOrEmpty method but I want to differentiate a null String from an empty String (="").
Should I simply use:
if (s == null) {
// blah blah...
}
...or is there another ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: How do I solve a "java.lang.OutOfMemoryError: Java heap space"? I am writing some code to parse a very large flat text file into objects which are persisted to a database. This is working on sections of the file (i.e. if I 'top' the first 2000 lines), but I am running into a java.lang.OutOfMemoryError: Java heap spa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: failing An ANT build file if the java program it's referring to throws an Exception I have the following Ant target :
<target name="getArchiverStatus" depends="exportContent">
<java classname="com.test.cms.build.GetErrorCountForArchiver" failonerror="true">
<classpath>
<pathelement location="${cs.home}/${env}/main/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to display "Message box" using MVC3 controller I have been facing an issue to display "Message Box" after executing of some code in controller
for ex:-
public ActionResult IsLoginExsit(CustomerDO loginData)
{
JsonResult jsonResult = new JsonResult();
if (!string.IsNu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VB.Net - Buttons missing on one client We're facing a strange problem here. One of our users cannot see two buttons on a form, that everybody else can see. I'm not sure if the buttons are not there or the window is smaller than it should be. The size of this window is fixed, so it cannot be adjusted manually. (it is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: android camera error 100 For my project I am using MediaRecorder to record video.
This code is working on most of the devices, but in HTC Desire (with Android 2.3), when I call recorder.start(); it's throwing ERROR/Camera(25146): Error 100. Is anybody has any clue how to solve it?
My code is like this:
Camera camer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove the "result" overlays but not the "current position" overlay I my application there is button "show me",and a spinner to choose radius ,and one button "search" to search results,,
my problem i that when i tap on "show me" it shows the overlay at current location and when i search after choosing radius ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to update listview in AlertDialog I have a dialog that contains a listview, the data of the list view comes from the parent of the dialog. Every time the dialog is about to be displayed, it should get data from the activity to build its list items. I know I should do this in onPrepareDialog(), but I don't know h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553602",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Giving right margin in button on being clicked in android I have a screen where I display five buttons inside a Linearlayout vertically.
this linear layout is inside a relative layout and aligned to parent right.
Now I need that when any button is clicked it should shift leftwards while others remain at the original... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PhoneGap and Javascript OOP I'm starting with phonegap and also trying to apply JavaScript OOP with it. But the problem are the method calls and stuff. imagine this:
I have a main controller in JavaScript, this file try to control most of the work-flow between network calls, database a change views.
This is my main.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Download POP3 headers from a certain date (Python) I'm trying to write a pop3 and imap clients in python using available libs, which will download email headers (and subsequently entire email bodies) from various servers and save them in a mongodb database. The problem I'm facing is that this client downloads emails... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to configure a Facebook app to be used across multiple domains? We have a website application that is deployed and customised for multiple customers, across different domains, we are developing a Facebook Connect app within this website, so people can see what their friends are doing through our sites... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Groovy newInstance() method missing after set metaClass I define an metaclass
class MyMetaClass extends DelegatingMetaClass {
MyMetaClass(Class theClass){
super(theClass)
println theClass
}
Object invokeStaticMethod(Object object, String methodName, Object[] arguments) {
if(methodName == 'save') {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Count black spots in an image - iPhone - Objective C I need to count the number of black spots in an image(Not the percentage of black spots but the count). Can anyone suggest a step wise procedure that is used in image manipulation to count the spots.
Objective : Count black spots in an image
What I've done till n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553616",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Deleting many object from cache fulfilling given condition I've got model X constructed per other model Y and user U. X is stored in django-cache under key 'X_Y.id_U.id'. Now i want to delete all models X binded to Y from cache (for all users). How can i do this well?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7553618",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to get menu label in monkeyrunner.? I want to get the menu list items from an android phone. Are there any methods in monkeyrunner to fetch this?
A: From the monkeyrunner description:
Functional testing: monkeyrunner can run an automated start-to-finish
test of an Android application. You provide input value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Identifying and dropping SSL packets I want to drop/block SSL packets between two machines (linux).
I can see the packets using ethereal and use iproute command (linux) to drop these packets.
Is this possible? If yes, what should I use with the iproute command?
Thanks.
A: You can't identify SSL packets at all by th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access hidden fields value if its Visibility set to false(using C#) How can I access the content of hidden field, where the hiddenfiled's visibility set to Visible=false in the server side using C#. I am not in a situation to use CSS's display:none instead of Visible=false.
A: When you set Visisble=false on the ser... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553626",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Create Dot Net Nuke user from code Can someone please tell me if it possible to create a new user in a dotnetnuke application from code? I have a list of users that I wish to be added via a windows service.
I've figured out how to write the t-sql side of things but I need to pass in the encrypted password into the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WebResource reporting 404 file not found I'm working on a system that embeds various JS and CSS resources in the project dll, and access them using WebResource.axd. This all works fine locally, but if I download and install the app from our nightly build server, all our WebResources report a 404 error.
We initially ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to escape the backslashes and the automatically generated escape character in file path in java I have very small and simple problem but I am not getting solutions on it.
Actually I am getting a CSV file path using file chooser.
I am entering the data in this csv file in to database using load data local infile ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Asynchronous File I/O in C++ I can't find information about asynchronous reading and writing in C++. So I write code, function read() works correctly, but synchronization doesn't. Sync() function doesn't wait for the end of reading.
For my opinion variable state_read in thread has incorrect value. Please, understand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Generate Winnovative PDF to be a certain width/height pixel size I'm looking to generate a PDF document from HTML using the Winnovative PDF Converter
I wish to convert the PDF to exactly 842 x 595 pixels
I've tried doing:
pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A5
But this doesn't fit right. So I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get included method names How I can get all instance method names in the baz method call, which are only present in the Bar module (without other instance methods of this class) ?
class Foo
include Bar
def a
end
def b
end
def baz
#HERE
end
end
A: class Foo
include Bar
def a
end
def b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NSUserDefaults - storing and retrieving data I have some data that's been stored using NSUserDefaults in one view and then being displayed in another view. The issue I'm having is that when the user changes the data and then returns to the view where the data is displayed (in a UILabel), the data that was first save... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Html Agility Pack merged queries I have a table kind of:
...some td's with not needed links
<td>1010</td>
<td>Building</td>
<td>Adress stree 55</td>
<td>00000 City</td>
<td>
<a href="http://www.adress.xy/file.kml" target="_self">
<img align="top" border="1" src="/custom/img/kml.gif" alt="Details" title="Details" />
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553650",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WCF raised Duplex Event results in WinForm Event to null I have a winForm App that connects to WCF, using duplex channels with a custom Interface.
The callbacks work correctly, however attempting to raise an Event from a Callback Event has me stuck in the mud.
On the support class I use to connect to the WCF Service... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to stream big files (like CSV/XML) in rails 3.1? In Rails 3.0 it was possible to stream big files, like CSV or XML, with the self.response_body hack.
Rails 3.1 killed this feature and added streaming. Only that streaming doesn't seem to work, or there isn't documentation on how to send large files. I tried with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Class Loader Exception while working with Maps in android I got the following Class not found exception while working with map based application
09-26 15:33:19.810: ERROR/AndroidRuntime(27866):
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.zyksatwo/com.zyksatwo.MapRouteActivity}:
j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: running main thread frm another thread I have run a secondary thread which some operations are carried on. Then while executing in secondary thread i want to call some operations on main thread. Can any one have sample code for it. I could not find it from google.
Here is my sample call:
Glib::thread_init();
Glib::T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monodroid - Drag View with Touch event? I want to drag a view. Until now i tried it with a LinearLayout and margins and with a AbsoluteLayout.
AbsoluteLayout example:
button.Touch = (clickedView, motionEvent) =>
{
Button b = (Button)clickedView;
if (motionEvent.Action == MotionEventActions.Move)
{ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Full width left-aligned list Is it possible to stretch and unordered list to fill the full page-width; floating list-items (left) inside of it, without list-items getting clipped if they overflow (hidden) the unordered list?
If I simply do overflow: none; on the unordered list, whatever list-items are inside, which ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: display images in tag using nsdata is this possible? my app will download a zip file from the server and I save all the images in an array like this:
ZipReadStream *read = [unzipFile readCurrentFileInZip];
NSMutableData *data = [[NSMutableData alloc] initWithLength:info.length];
int bytesRead= [read rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Creating DateTime object from DatePicker and TimePicker control How to create DateTime object from DatePicker and TimePicker controls in Windows Phone 7?
DateTime object constructor accepts only int with years, months etc. Is there a smart way to combine date and time and assign it to DateTime ?
A: use
DateTime M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: css cursor:pointer I have this code over here
.file-wrapper {
cursor: pointer;
display: inline-block;
overflow: hidden;
position: relative;
}
.file-wrapper input {
cursor: pointer;
font-size: 100px;
height: 100%;
filter: alpha(opacity=1);
-moz-opacity: 0.01;
opacity: 0.01;
position: absolute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553686",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenGL performing very slowly Working on a game, and I was testing out my renderer. It unfortunately only runs at about 4 frames per second. Profiling reveals that surprisingly, only 5% of that runtime belongs to my code, and the remaining 95% of the total run time was spent in nvoglnt.dll.
Only one 256x256 textur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Read bluetooth RSSI value using J2ME I want to get RSSI value using J2ME. How can I get that value.
A: AFAIK there is no API available for getting the Bluetooth RSSI value in Java ME.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7553688",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.