text stringlengths 8 267k | meta dict |
|---|---|
Q: how to display legend on right side of piechart in achartengine android I am using the pie chart view from achartengine's tutorial. Here is what i want.
I want the legends i.e. pass/fail to be displayed to the right of the pie chart as shown in the figure. In the demo examples of achartengine, they are bottom align... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Query syntax for MySQL I am stuck on the query synatax for the following scenario.
Lets say I have a table structured like:
id - name - count
Now I would like to get records whose count values sum to a particular number.
Example.
1 - A - 3
2 - A - 2
3 - A - 5
4 - B - 1
5 - C - 2
And I would like to get only rec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Like Button And W3C Errors Im using this like code on my website and W3C Dont Like It Can someone please give me the right code i should use to pass so i know where im going wrong please see code at http://www.justvibe.co.uk/ as i cant seam to post it up.
Thanks
Dan
*ERRORS***
Validation Output: 7 Errors
Line 37, C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Facebook authorize w/permissions request yield "Page Not Found" Somewhere along the way in the past few weeks, the authorize Facebook call in iOS fails with a "Page Not Found". This happens for any user that has not installed the app or if the app's permissions have changed and the user must approve the additional p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Help with filtered views across multiple pages! SHAREPOINT 2010 I'm rather new to this SharePoint stuff so be easy with me :)
What I am trying to do is have one complete list with all documents (Shared Documents), each assigned a certain DocumentType (managed metadata), and then show only some of these files dependi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How could i parse this HTML using Jquery? I want to parse HTML using Jquery
I am getting some HTML from server as responseText like this :
<html>
<title>Title</title>
<body>
<p>My JSON data</p>
</body>
</html>
Now i want to parse this using jquery parseJSON function, How could i do this plz help me.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How to stop a jQuery accordion change event when recreating it? I have three different accordions in three different dom elements, when I move one accordion section to another accordion section programmatically on a click of move button, I'm recreating all the accordions on the page. I want the selected accordion to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: cakephp: notice 8:undefined index: id error i'm getting Undefined index: id [APP\controllers\merry_parents_controller.php, line 31]Code
debug($this->data['MerryParent']);
echo 'id: '.$this->data['MerryParent']['id'];
MerryParentsController::login() - APP\controllers\merry_parents_controller.php, lin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is best practice in IIS? One application pool for each application, or a shared application pool? In IIS 7, what is best practice? Should I create an application pool for each application, or should I share an application pool with as much application as possible?
Are there any performance drawbacks or security... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Joomla Questionnaire Component Customization? i developed a lawyer website and looking the below mentioned:
I have 5 categories and each category have 40 questions(in 4 pages with/without mandatory options).all the questions are managed by admin only and the questions have checkbox,dropdown,radio button and so on.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is this pattern reconstitution or what is the name for this problem? I've following problem and don't know the terminology to describe it and hence search for possible solutions.
I have a pivot table (matrix), eg each row and column have a named header. there is a defined set for rows and columns. Now let's assume t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Modify `input` value HTML:
<div class="mydiv">
My Div
<ul>
<li><input type="submit" value="first"/></li>
<li><input type="submit" value="second (blah blah)"/></li>
<li><input type="submit" value="third . blah blah"/></li>
</ul>
</div>
How can I retrieve the value of the input and re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL Index on Multiple tables, can it be done? Been searching for a solution for a while now,
go to (1) or (2) to skip description,
first i will explain the situation.
My firm have upgraded our erp. system, my primary work is to create lists used by others in the firm, i take all my data from this systems database
du... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553099",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Linking error in MSVC 2008 I have a file structure like this:
file1.h
extern const char *build_info[][3];
file1.cpp
#include "file1.h"
const char *build_info[][3] = {
{ "abc", "de", "feg" },
{ ... },
...
};
file2.cpp
// Use build_info
Now I am getting this erro under MSVC 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to call a Date picker dialog inside the Dialog's button I have created an Activity which has a dialog, this dialog has an EditText field with Button.
Now, on button click I have to show a Date Picker. How can I do this?
A: public void onClick(View v) {
AlertDialog.Builder builder = new AlertDia... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Delete link disappears in Django admin inline formset if ValidationError raised I have a form with KeywordInline. When I add new object using the form inlined formset has a js-link to add new form into formset. Newly added forms have a js-enabled delete button (x mark on the right).
KeywordInline
class KeywordInline... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Information about user how liked my page/group After a user clicked on a "like" button of a facebook group or facebook page is it possible to get any addional information about the user beside name and uid?
I know with an app I can request access to a lot of data but I don't want to do that. I also know about facebo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Page Curl Animation on Android with OpenGL-ES I want to achieve a nice 3D page curl animation in Android. I read some articles and found that nice effect can be achieved by OpenGL-ES so I started to learn OpenGL-ES (I did some of tutorials of OpenGL-ES and am still continuing) but I found it too complex for me to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553112",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to center a button (.NET Compact Framework) I want to centre a button in .NET Compact Framework. I dont see any property like StartPosition in .NET CF Form object.
Can someone please suggest me how to centre button in .NET CF 3.5?
A: You mean you want to center the button in it's container along these lines?
my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Received memory warning. Level=2 &Level =1 in cocos2d I am getting "Received memory warning. Level=2 &Level =1 " while playing my game third time.
I have already cleared all texture that used in the game ?
what should i do ?
A: Using instruments is probably a good first step to see how much memory you are allocatin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why don't my user controls render? I've created a set of user controls in vb.net and in their original project they work fine.
I've since created a user control library dll and I wish to use it in a new project.
I add the reference to the dll fine, specify the tag library in an asp.net page fine and define controls ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merging the keys of two dictionaries What is the best way to merge only the keys of two dictionaries?
For example we have:
private readonly IDictionary<string, string> _dictionary1= new Dictionary<string, string>{{"1","one"},{"2","two"}};
private readonly IDictionary<string, string> _dictionary2 = new Dictionary<str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GWT fails to create XML elment I'm creating a XML structure basically like this one: Create XML document on GWT client side (first anser).
It works fine in 99% of the cases but sometimes, after running for a while, it randomly fails with the follwoing messages:
com.google.gwt.dev.shell.HostedModeException: Somethin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Encoding is not giving the right result in objective c I have a c# code which encodes a string. I am trying to write a corresponding routine in objective c.
The code is as follows:
// c# code
public static string Encode(Guid guid)
{
string encode = convert.ToBase64String(guid.ToByteArray());
encode = encoded... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Does it matter what color format an image has when saving it as PNG? I am creating tiles for a larger image and I'm saving them to disk. Question: Is there any way I can optimize the image so that reading and decompressing the PNG from disk is faster? Possibly by changing the order or color bytes in the color space ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: improper act in web page I have a web page that contain login control, I face a problem :
The code behind not matched to the design.For example , it gives me an error
Login1 cannot be found in the current context
And when I try to add event to the login it is written as the following:
<%@ Page Language="C#" Auto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding out the call site from hex representation I'm trying to analyse a crash dump of MS BizTalk service, which is constantly consuming 100% CPU (and I assume that's because of our code :) ). I have a couple of dumps and the stack trace of the busiest threads looks similar - the only problem is, that the top of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Redirect all file reading and writing I'm using a virtual file system (PhysFS) in my application. Is there any way to redirect all file reading and writing through this virtual file system? I would like everything to be redirected, such that even third-party libraries go through this file system.
Is there something... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Finding the Server Redirects as a result of a jQuery Post I would like to post a serialized form like the one in the following url
http://api.jquery.com/jQuery.post/
And i need to figure out whether there is a redirect, if the application to which i post the data has been timed out [auto logoff] from jquery,
so i w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: create simple xml in Java I am trying to build server that sends a xml file to client. I am getting info from db and wants to build from that xml file.
But I have a problem with:
DocumentBuilder documentBuilder = null;
Document doc =documentBuilder.newDocument();
I am getting NullPointerException. Here is me full c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add/modify the 'Description' property value for LinkTable in VBA? I have a LinkTable which points to an existing table of SQL server in my Access database.
I need to change the 'Description' property value for that table link.
I had tried many ways but failed to do that.
Can any any one help me in this regard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Java limit at json format I want to transfer some database data through a TCP socket. The data is formatted to JSON.
Since the database size might grow, I'm afraid that the String object maximum size will not be enough to store the entire data with JSON formatting.
I already had an problem transferring the data usin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java AWT: Remove frame title bar and add customised title Bar I am new to AWT and was wondering how to remove the title bar that comes up when we open a frame and add customised title bar.
Though I was able to remove Tiltle Bar using setUndecorated(true) but not getting a idea how to add a Custom Title bar with just... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Aptana - Different PHP projects same deploy directory I have a PHP project in Aptana which files I want to share with others projects. I can do this by properties project -> resources -> linked resources. But I want to deploy on the server this project in all the projects that share this.
For example: Project 1) CMS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Selecting next submit after actual textarea and disable it I have various instances of a form in a page. I want to desactivate the submit button of that ones with the default text in the textarea. My actual code is:
// This works
$(".proposal-write-comment-submit").each(function(){
var element = $(this).closest(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: defining alphabets as numbers not working inside loop Please check my code below,it returns 0 while I am expecting a result 14.But when I add A+D manually it returns 5.Am i doing something wrong inside the loop ?
<?php
define('A',1);
define('B',2);
define('C',3);
define('D',4);
define('E',5);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java proxy settings I have global proxy settings made from Java control applet. It takes proxy settings from browser. I need to run a Java application that does not use global proxy settings, it has to use direct connection.
How can I do it with command line arguments?
A: Did you have a look here: http://download.o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Mysql file upload error? Here is my code to upload a file. Everything is working perfect. This code uploads the file to destination folder and MySQL query work perfect and insert all data into their relative fields in database. But it is not going to the page which is mentioned in header() function. It gives me an ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get new profile cover with sdk Is it possible to get and to change the new porfile cover (mine or my friends' profil cover) with the sdk php or JS ?
A: It is possible to get the Facebook's user cover image using the Graph API. You have to add 'fields=cover' to the user request. The response is an array of fields id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to enable Spring Security Annotations not using app-Context.xml file? I've implemented my Application using SecurityContextImpl as SecurityContext. anything works well (Authentication and Authorization).
Now I want to use Spring Security Annotations (@Secured , ...) , I my searched result in a single comment :"U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you set up github version control for a team of two? We're trying to set up github version control for a Jsp-project in NetBeans 7.0.1. The problem is we don't have a clue what to do. I Have set up a public account on github and done all the steps in the install guide on github, ssh keys and everything. So if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SilkTest : Navigate to Browser Instance1 I login as User1 from Browser- instance1, then login as User2 from same browser Instance2, how can I go back to Browser- instance1?
Browser: IE6-7
A: Assuming you are using the Open Agent, you should be able to access the windows with Desktop.Find("//BrowserApplication[1]")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to filter all the posts that don't have one of the IDs in the favoiritePosts array? I want to filter all the posts that don't have one of the IDs in the favoritePosts array.
I tried this but it doesn't work:
[NSPredicate predicateWithFormat:@"postID IN %@",favoritesPosts_];
I get this error: 'Invalid predicate:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to populate a property that is not directly stored in Database with CodeFirst I have 2 Entities, each of which is managed by EF Code First, and each happily sitting in its own table. Entity_A has a property, called "SumTotal", which should be the sum of a specific column in Entity_B that matches a certain crite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553180",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to configure the "Assign To" list in mantis When a reporter creates a bug , in the "Assign To" drop down list , at present there is all the users i've created for my project.How to confgure the list so that only a single usere is listed in "Assign To" list.
A: The config option $g_handle_bug_threshold determin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to do versioning of shared library? Windows provides the resource file for version information for an application and DLL. The resource file includes information like version, copyright and manufacturer.
We have a shared library and would like to add version information.
How can we do it on Linux with a shared l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Reusing data entry methods across views I have written code for scrolling my table view even when keyboard hides it from entering data, using the notification center and the keyboardDidShow and keyboardDidHide methods.
The problem is that I have almost 8 views in my app where I need to enter some data.
Should I writ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to integrate facebook graph api in Spring Roo I am very new to Spring Roo. I have decided to create my first project in Spring Roo that should implement facebook graph api. I have found few api (fbRest, facebook-api-java) after searching over the internet but some blogs say these are old. I don't know, where i g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Transform-to-center animation in horizontal list I have an horizontal listbox of many images. Now I need whenever I choose an image not at center. It will slide to center of listbox (not jump). Can anyone give me the solution ? Thanks a lot !
A: Have you tried ScrollToHorizontalOffset?
If you have specific require... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Two branch pointers, but merging one Could someone explain, why in a situation like this:
A--B--C--D (master)
\
\E--F (feature/xxx, feature/xxx-blah)
if I do a merge feature/xxx-blah into master, the branch pointer doesn't actually move? The commit is there, master pointer is advanced, but both features ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Catching Click() in fancybox Js code
$(".iframe").fancybox({'zoomSpeedIn': 0, 'zoomSpeedOut': 0, 'showCloseButton' : 'false','overlayShow': false,
"width" : 500, "height" : 265 , 'titleShow': false, 'onClosed': function() {
parent.location.reload(true); }});
$("#abtn_add_new").click(functi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Storing windows path in MySQL without escaping backslashes I would like to store windows path in MySQL without escaping the backslashes. How can I do this in Python? I am using MySQLdb to insert records into the database. When I use MySQLdb.escape_string(), I notice that the backslashes are removed.
A: Have a look ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java Doubt on Multiple inheritance Java does not support multiple inheritance but Object class is by default super class of all classes.
e.g
class Object
{
}
class B
{
}
class A extends B
{
}
Class A can access all method of B and Object.Is not it a example of multiple inheritance?
So is it correct that Java does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: can the below c++ thread code cause a process crash on an embedded system? similar c++ code as below is written for an embedded device. the process running on the device crashes upon start. on some other version of the device, crash is not observed. can it be related to the thread argument & thread detach being call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to display SQLite DataBase table? in my app i am using the database for displaying some user information, i created data base by using the SQLite DataBase Browser, and placed that database in the assets folder, this is the coding for that, i want to display this table.
public class DataBaseHelper extends SQLite... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Editing and Extracting data from a text file (ASP .NET) I need to extract data from a text file in ASP .NET.
Example Data:
; comment
data = astringvalue
; comment
; string values
person = bob
animal = rabbit
; boolean values (yes / no)
isValid = yes
isAnimal = no
I will be creati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java: Am I missing a restricting pattern? I need to restrict implementation with only selected methods Say I have some class that is too fat of methods for one concrete case, but fits to about a half of them, so it is no way but to extend it. Simultaneously, I want to hide the fact that I've extended this fat class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553216",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UpdateSourceTrigger=Explicit Updating multiple field I have multiple textbox with the biding set as explicit
Text="{Binding UpdateSourceTrigger=Explicit, XPath=Columns/Column[1]/@Header}"
when i try to update them with with a button:
txtName.GetBindingExpression( TextBox.TextProperty ).UpdateSource();
txtColumn1.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android monkeyrunner test calls onClick handler twice I am experiencing funny behavior of monkey. When app shows AlertDialog with two buttons, my onClick handler sometimes called twice. This does not happen when I press the button manually, only when using monkey.
Here is my activity code:
@Override
public void onR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using php sessions with ajax (mobile device) I will explain my problem. I need to know if the steps below are correct:
The user enters their login details and these get submitted to the php server. If these are correct, I want to use the php code to start a session. However, because this is a mobile device I will be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: google suggested city name autocomplete I'm trying to build a web page in which I want to use google suggested city/state name combinations when user starts typing their address, it auto completes the city and state just like in google maps.
For reference visit this URL:
Google Maps
When someone start typing in top ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Tool for JSON API Documentation Is there a tool or an easy way to generate/maintain documentation of a rich RESTful JSON API?
I also would want to publish and maintain (as executable documentation) it, something like what relishapp provides. An example.
The application is Restful Ruby on Rails 3 application, tested ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: href geo: fallback for non-mobile browsers? I want to use to open clients possible mobile navigation software, but how can i fallback to a normal URL if geo isn't assoicated with any program on the device?
E.g. in firefox on PC i get this message;
Firefox doesn't know how to open this address, because the protocol ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Problem in ContactsContract API android i have an HTC legend.In its phone contacts it shows 4-5 contacts.But when i query it in my application it shows nearly 45 contacts.I think its gmail contacts.
String[] Projection = new String[] { ContactsContract.Contacts._ID,
ContactsContract.Contacts.DISPLA... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553241",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Add text to config file and use it in code behind in asp.net I am using AES encryption and generating a random salt, I am storing this random salt in the database.. Before I store the value to the database I want to append a string to it. I want this string to be placed in config file. How can I store a string in co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Image Resizing I've got a script that uploads files to the server as well as adds the filename to a database, but what I'd like to do it restrict the maximum dimensions of the image before uploading. So if I upload an image that is 1000 x 500 it will be restricted but still keep it's dimensions and will be chang... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: xslt condition to check if each row of a table has same or different data Is there any condition in xslt that will help me to find if a table field, say Name, has different value? I have a set of different names with me in a xml file. I need to display each name in a different color on the html table. If there are 2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert Seq to ArrayBuffer Is there any concise way to convert a Seq into ArrayBuffer in Scala?
A: scala> val seq = 1::2::3::Nil
seq: List[Int] = List(1, 2, 3)
scala> seq.toBuffer
res2: scala.collection.mutable.Buffer[Int] = ArrayBuffer(1, 2, 3)
EDIT After Scala 2.1x, there is a method .to[Coll] defined in Traver... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How can I determine is stream is empty? I have a WCF service which is returning PDF files as a stream over a NetTcp endpoint. This is all working fine. However, if the file is not found, or if I can't find the related row in the database to retrieve the filepath then I return Stream.Null from the service.
However I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can add map object to list object non static in java I have problem with this code,when I add map object to list,all previous added object will be changed.how can I declare map as non static?
for(Statment){
map.put(Key,value),
}
result.add(map);
A: When you add something to a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: Is there a FIFO stream in Scala? I'm looking for a FIFO stream in Scala, i.e., something that provides the functionality of
*
*immutable.Stream (a stream that can be finite and memorizes the elements that have already been read)
*mutable.Queue (which allows for added elements to the FIFO)
The stream should be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: WinRT Reflection (C++/CX) how can I introspect an object in C++/CX? I known how to get its class name (using IInspectable) but I wasn't able to figure out how to get a list of its properties or how to invoke methods if I have just a name of the method (string). I searched for an answer here and at Google but what I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: HTTP Binding Failure while binding with BPEL process. I have created a very sample SOA application with HTTP binding. The end point URL of my HTTP Binding is a sample netbeans application ( Calculator as a service ) . The service runs through glassfish server and is working fine.
I have created a simple BPEL synch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Objective-C – Smart programming with dependencies I have an iOS application that parses xml data from the web. I've setup it to parse some xml tags for me and then display some information in the application.
I do not own the xml data so it's not unlikely that the xml tags could change without my knowledge and then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AS3: Best way to include non-specific functions in to class Say I have the following set up of classes...
Road - extends MovieClip Car - extends Road
Controller - extends Car
And I want to incorporate some common Mathematical functions in them all to make them faster e.g.(replacing Math classes with some speedy ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RedirectToAction is not working while authentication of mvc3 form with jquery i have been facing an issue in my loginscreen of my application which is developed with mvc3 and jquery, as i am writing the code for checking login credentials in controller and and that controller event is firing by clciking the buttoon ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing XML literal as a parameter in Scala I can pass a variable as a multivalued parameter:
scala> <b/>
res26: scala.xml.Elem = <b></b>
scala> Elem(null,"a",Null,TopScope,res26)
res27: scala.xml.Elem = <a><b></b></a>
But I can't pass an XML literal as a multivalued parameter:
scala> Elem(null,"a",Null,TopScope,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: build Custom Share panel of buttons , android I am trying to build a sliding panel from top to down and vice versa.
I found the solution to build in for iphone here: Build a custom share panel of buttons.
How can I build this panel for Android? All I need is the steps.
On Youtube, you can see the panel I built fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to sort some XML elements according to their dependencies, by using XSLT? I would like to sort the following XML file:
<root>
<element name="a" depends="b,c" />
<element name="b" depends="c" />
<element name="c" />
</root>
With this result:
<root>
<element name="c" />
<element name="b" depends="c" />
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Check LDAP store for changes in attributes Is it possible to check if a users atrributes have changed when you query an LDAP. What I want to do is, everytime i run my program i want it to search the ldap and if two attribiutes change, IE from 3 to 0, and Active to Withdrawn, then write those users to a file.
Is this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Scala on Android using Netbeans (preferably 6.8) I have tried Scala on Android using various suggestions found on the Internet. However, I have never been able to get a "one-click" solution for Netbeans. Eventually I settled for Java + Eclipse. However, the urge to create Scala programs on Android persists.
Has any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Question about .NET remoting and serializing I have a interface (let name it OuterInt) and a class (OuterClass) that implemented It. Interface OuterInt consists of the other intefaces (InnerInt1, InnerInt2 and etc.) And there are some classes (InnerClass1, InnerClass2 and etc.) that implement these inner interfaces.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Does Entity Framework support Encryption i am using SQLite as the database and Entity Framework to design my database structure.
Needed an info. Does Entity Framework support "Encryption" of a particular column in the database.
Eg: If i have a table T1 with 2 columns C1 and C2. Now if i need to encrypt the data that... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Customizing ebay store HTML and CSS code (How to?) I have an ebay store and it has some themes but I would like to be able to change the CSS and HTML code myself.
Does anyone know how this is done?
Thanks
A: I've done it several times earlier. Main thing is to add link to stylesheet (which is on your server). If i ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: south & mysql problem can somebody help me out on this:
I have installed recently south to use it updating changes in my django-based project on the production server (Appache 2.0, MySql 5.0, python 2.5, Mysqldb for python, django 1.3, and south 0.7.3).
After converting my app named signature to south, which was do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery Galleriffic plugin hiding images in IE7 Has anyone resolved the Galleriffic IE7 issue? I noticed a few questions posted in the past on this topic. I have tried absolutely everything and have had no luck... The main images are hidden for some reason, only in IE7, anyone have a clue why?
A: Issue was with a C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553308",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHPUnit reports a PHPUnit_Framework_Exception I added a simple test to a bundle.
As suggested in the manual I tried to have PHPUnit load the configuration with:
phpunit -c /app
phpunit.xml looks like this:
<?xml version="1.0" encoding="UTF-8"?>
<!-- http://www.phpunit.de/manual/current/en/appendixes.configuration.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: add markers to my OSM .PHP and .JS heey everyone,
I've got a task from my work where I need to put our customer database on a OSM using .PHP and .JS is this possible? And is it possible to get the info rom our database without having the lat and longtitude of the addresses?
I'm also not very good at programming. thx... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do not have permission to open the created .mdf file using my application in Windows 7 log in as normal user then i am able to create .mdf file using my application, but not able to open the same file. It says i don't have permissions to open contact administrator. Let me know the reason.
A: you should put the file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Leave message to Drupal 7 with iPhone app How to leave message to an article in Drupal 7 with iPhone app (iOS 4.3)? Any connector from D7 I can use in iOS SDK ?
A: The Drupal Services module provides endpoints via XMLRPC/JSON-RPC/etc. to perform many core functions remotely (including adding comments to nodes). As ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553326",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Background image color changes firefox/chrome I have a very strange from when testing a website on Chrome.
The CSS is exactly the same but appears different. Plus tested on the same monitor.
Firefox
Chrome
You can see from the Chrome print screen the background image I am using for the knives/forks, its the back... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: InflateException I've been encountering and InflateException error and am not really sure what it means. I hope someone can explain it to me. Thanks. Below is the stack trace.
09-26 17:35:29.747: ERROR/AndroidRuntime(10214): Uncaught handler: thread main exiting due to uncaught exception
09-26 17:35:30.072: ERROR/An... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Implementing thread-safe arrays I want to implement a array-liked data structure allowing multiple threads to modify/insert items simultaneously. How can I obtain it in regard to performance? I implemented a wrapper class around std::vector and I used critical sections for synchronizing threads. Please have a look a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Trouble sending files through IE8 I got some problem with sending files through IE8.
var form = formAppend('', OBJ.uploadFileContainer);
form.enctype = 'multipart/form-data';
form.action = 'iCal/iCalUpload.php';
form.target = 'help';
form.method = 'post';
var input = inputAppend('[type=file][name=calendarFile]', for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553341",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merge tool for c# code Can anyone recommend a merge tool that's specifically designed for merging C# code? The features I'm after:
*
*Can identify code constructs (classes, methods, ...)
*Can detect reorders of those constructs
*Ignore reorder-only differences
*3-way merge
*Compilation errors highlighted on-t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to select last 3 minutes' records from MySQL with PHP this is my SQL table:
+----------------+----------------+-----------+------------------------+
| User_Name | Password | IP | Login_Time |
+----------------+----------------+-----------+------------------------+
| rthrthrhrt ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: Date array sorting issue, iPhone sdk I have an array that contains different date values. And I have used the following code to sort the date array, its done.
combinedArr = [[NSMutableArray alloc]init];
NSInteger counts = [pbTitle count];
for (int i = 0; i < counts; i++) {
CustomObject *customobject2 = [Cu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monitor start and close of process? Is there a way to monitor processes in the Mac OS X before they Start & End?
I have a dynamic which I would like to inject in few selected processes before the start, so that hooking can be performed. And would like to do the reverse when application quits, i.e. when application q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery UI tabs - getting URL of tab loaded with Ajax I have jQuery UI tabs using AJAX. My problem is I can't seem to retrieve the url which was loaded inside a tab.
For example - I get URL of loaded tab like this
var links = $("#tabs > ul").find("li a");
var selectedTab = $("#tabs").tabs('option', 'selected');
var u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Issue with editing edittext in ExpandableListView I have 3 group containing 3 child which has EditText , when I click on EditText the software keyboard pop's out, at that time the expandable list is redrawn
When the I am done with text editing , software keypad is closed at that time I need to store the value of Ed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7553366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.