text stringlengths 8 267k | meta dict |
|---|---|
Q: Fql request error? String fqlurl="https://api.facebook.com/method/fql.query?SELECT flid, owner, name friendlist WHERE owner=me()&format=json";
I made request but I don't see the result I have an error
java.lang.IllegalArgumentException: Illegal character in query
What's wrong here.
A: you need to specify FRO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: EJB deployment error when migrating to jboss 6.1 I am migrating from jboss 5.1 to 6.1. I have an ear which having some EJBs and a war. I am getting following error after deploying it in 6.1.
12:00:23,184 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.unit:unitName=ZServer.ear/#ZPersistCtx
12... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Not allowing user exit the app using Home Button In my app i do not want the user be able to exit my app on pressing the Home press key. There's a specific reason for not allowing the user to do this. Can anyone suggest what can be the correct way to achieve this?
At present what i am doing is Overriding the onKeyDo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606858",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Display image hover div at vertically middle prob all
I want to display a horizontal stripe on image to vertical align.
this is my code
Html
<div class="demobox" id="demo-5">
<img src="Untitled-1000x288.jpg" />
<div class="details">
<h3>Play Trialer</h3>
</div>
</div>
css
#demo-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how can block sending message in an ios through programmatically? through iphone application how to blocking sms using background service running in iphone . want to listen and trigger when Message send through default message in an iphone. need to block message when we are in travel .
A: You can't do this in a no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: CommunicationObjectAbortedException in WCF service channel while multiple data load I am using WCF service in my client-server application and I am facing following error while communication between server and client.
Error Message =>> System.ServiceModel.CommunicationObjectAbortedException: The communication object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: how to show or display the newly changed text field value instead of default value using jquery ajax method?
Here is my code,
This is my form part, this is basically divided into
two main actions using jquery,
1) First action :, Based on Selection
from :'Academic Year' selection, 'Course' selection & 'Class'
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Merging Solr 3.4.0 indexes using lucene Merge Tool I have three solr 3.4.0 indexes that I want to merge, after searching I've found that there are two ways to do it:
*
*Using Lucene Merge tool.
*Merging through core admin
I am using lucene 3.4.0 and running following command:
java -cp d:/lucene/lucene-core-3.4.0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606883",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: window.open(URL,name,specs,replace) ?? name Vs replace If current window iswww.myparent.com by clicking a button-a, it invokes this function window.open('children','same','',??). The new page opens as www.myparent.com/children
Clicking button-b, it invokes this function window.open('sub','same','',??).
www.myparen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Access to operation of domain service is denied although user is authorized A user of our system (Silverlight 4/WCF Ria Services) has a problem using Internet Explorer 9 and our application. Using FireFox isn´t a problem. I tried to reproduce the problem on other systems, with an equal configuration as the user´s sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606891",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I output a value to a register with a Verilog task? My understanding of Verilog tasks is that they act like subroutines and are able to accept both input and output parameters. Using $display, I can peek at the values of my register variables along the way. For some reason my output register does not seem to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: WebSockets, GlassFish, Grizzly -- can't connect I am trying to get started with WebSockets, and trying to write a simple application to send messages back and forth via a websoket.
However, it looks like the socket that I am trying to create never gets connected. Why can that be?
Below is the code of my WebSockets c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606895",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UITableView got lag when scroll to larger row number I have a UITableView that each of its cell has a same-size UIImageView as contentView's subView.
When I scroll it, at the beginning, it was quite smooth,but when it comes to larger row number, almost 50 row or more, the FPS become lower than 30,and the larger the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Convert VARCHAR2 to TIMESTAMP in Oracle I have a VARCHAR2 value in the format '14-SEP-11 12.33.48.537150 AM' and I need to convert this to a TIMESTAMP as is. That is like,
SELECT TO_DATE('14-SEP-11 12.33.48.537150 AM', '<format_string>') FROM DUAL;
I want the return from the above query to be '14-SEP-11 12.33.48.53... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606903",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How can we speed-up flash builder debug launch.. other than heapsize change? Is there any configuration or method by which we can speedup debug or launch of application.. i have machine with 4 GB RAM, core i-7 processor. still it launches application from flash builder in 4 minutes.
A: uncheck all the validators.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606905",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use of 'extern' keyword while defining the variable After seeing this answer
I have this doubt.
In my project,
I have seen some extern variables declared and defined like below:
file1.h
extern int a;
file1.c
extern int a=10;
But in the link I mentioned it says that in the c file it should be defined like:
int a = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to determine the number of the input arguments in Java Is there some methods to determine the number of input arguments from console in Java.
Or just compare args[i] to null?
A: How about using args.length ?
A: In public static void main(String[] args), args is an array. You can get the number of elements of a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606911",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: LoadKeyboardLayout() Function does not work in VB 2010 I want to change my default keyboard Layout for a installed another Keyboard Layout using my VB application.I googled about this and find Function LoadKeyboardLayout() Function to do that.But Is this support in vb 2010.When I wrote below code and there is no syn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why android onLongPress always is fired after onDoubleTap? I have onLongPress and onDoubleTap actions placed on the button according to this code:
...
GestureDetector detector = new GestureDetector(this, new TapDetector());
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: WP7 How to refresh separate Pivot Item? In wp7 i want to refresh separate pivot Item? Is Possible this?
I am create 5 pivot items Dynamically . I want to refresh Each item separate .
A: With WP7 there is no refresh or repaint concept. Silverlight uses retained-mode graphics, where the various UI elements are retain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL query to match multiple values to a field in select statement I want to select distinct values of Column A where Column B = any members of a set S.
Is there a way to do this directly in SQL without looping and then filtering afterwards in code?
Thanks
EDIT: The set S is a PHP array. Does this make a difference?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to convert xml files to groovy syntax from command line is there any way to convert xml file to groovy syntax to be used in Xml MarkupBuilder?
For example: the foo.xml file look like:
<foo attribute1="value1" attribute2="value2">
<nestedFoo>
sampleText
</nestedFoo>
</foo>
Then execute the the com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to make a UIAlertView to hide automatically without User Interaction? When the focus in a particluar rect of the screen , it need to show up a message and need to hide automatically . Whether alertview will be flexible or any other way is there to implement the stuffs in iPhone and iPad .
A: You can use timer ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Retrieve HTML File in mail Could any one help me out retrieving HTML file in mail?
A: Your HTML should be attached to mail as attachment and your mail message should have multipart style. ten you will be able to fetch it with regular mail API.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7606938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle REGEX functions I am working on Oracle 10gR2.
I am working on a column which stores username. Let's say that one of the values in this column is "Ankur". I want to fetch all records where username is a concatenated string of "Ankur" followed by some numerical digits, like "Ankur1", "Ankur2", "Ankur345" and so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606939",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can a connection be represented only by a small space in a HTTP server running on node.js? I have read that a HTTP server created in node.js does not create new threads for each incoming connection(request). Instead it executes a function that has been registered as a callback corresponding to the event of recei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606941",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to test if email is send (or received)? below is a part of a website where orders are sent to a small a computer that prints the email out directly on a receiptprinter.
The problem is that sometimes (1 in 50 times) the email is never printet, even though you are send to the kvittering.php page.
Any ideas of how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Behavior of a Java process in case of OutOfMemoryError What would be the behavior of a Java program on getting OutOfMemoryError. Is there any defined behavior? Will the process crash or would it go into wait/sleep state?
Update: if I am not handling it in my code?
A: And OutOfMemoryError is handled like any other e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Popup always stays on top I've WPF application which has one Main window on which I'm opening a Popup window. The problem I'm facing is the Popup window always stays on top. If I open some other application(any windows application) the main window goes into background but the Popup windows remain on top.However if I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: how Implement usercontrol in winforms mvp pattern? I want to Implement MVP pattern. I have a user control that has some Textboxes and when I put it in form I call a method from usercontrol and fill textboxes. But in mvp pattern I don't know how I can access to usercontrol1.fill(). Do you have an example that could h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: pluginthreadasynccall hangs the browser I need to call a javascript function from my plugin. In order to do that I have spawned a thread using npnfuncs->pluginthreadasynccall(savedinstance, wcfEventForwarder, NULL). Inside wcfEventForwarder thread function, I am waiting for messages (on a POSIX message Q) which are ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606956",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to use multiple database in symfony I'm creating a project in symfony, but suddenly I'm having trouble when there are two databases for my project like this:
all: gapi_1:
class: sfDoctrineDatabase
param:
dsn: mysql:host=localhost;dbname=gapi_1
username: root
password:
gapi_2:
class: sfDoctrineDatab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The import org.ksoap2.transport.HttpTransportSE cannot be resolved I downloaded ksoap2 from this link:
after importing the downloaded .jar file into an Android project in Eclipse, I got import error for only the first import line (HttpTransportSE). I searched but nobody else has had/posted this issue. How could this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: in atk4, how do i use ajax to update a view I currently have a page defined which displays some data in rows. At the end of each row, there is a view which shows a total which is extracted from mysql.
$r->add('View_PointsLeft', 'pleft', 'pointsleft')
->setPoints($row['points_left'])
->setBacklo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get a sortable set in hibernate We've generally been using Sets for one to many and many to many collections in hibernate. This has worked fine for until now.
But now we need more and more to do in-memory sorting of child collections at the controller layer because different views need to see child collectio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Will this code cause memory leak on my MVC application? public class SomeViewModel
{
public List<Something> listOfSomethings = new List<Something>();
public Entity EntityObj;
etc...
etc..
..
}
public class Controller()
{
public SomeViewModel viewModel;
public ActionResult SomeAction() ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: encrypting an object in javascript var Obj = {};
Obj.ID = e.row.ID;
Obj.firstName = e.row.firstName;
Obj.lastName = e.row.lastName;
This is my object, and i save this object in a file. now before saving into file, i want to encrypt it and save and while reading i want to decrypt and read.
var newFile = FileSystemP... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Measuring Site Load Times via performance api I listened to a talk by Steve Souders a few days ago and he mentioned the new performance spec that newer browsers are implementing and it was pretty intriguing. In his speech he mentioned the following example as a means of measuring perceived page load time:
var timin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: QT : Exited with saying " During startup program exited with code 127" I Had a Qt program which was working fine in Linux . We migrated our linux from 32bit to 64 bit and while trying to run the same program again throws me a error given below
"During Startup program exited with code 127"
In the Output window I als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get device descriptor and configuration descriptor of usb device in Mac? I have minimum exposure to xcode and I/Okit framework. I have seen device descriptor and configuration descriptor of a usb device in USB prober.
I have written an xcode program using I/O kit framework which gives the usb device name as o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jqgrid not working in IE8 and firefox 3.6.6 My jqgrid is working in Firefox 7 and IE9 but not in IE8 or Firefox 3.6.6. I am using latest version of jqgrid.
Here are the script files I've included:
<link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
<link href="@Url.Content("~/Co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How detect iphone battery level in application running in background? I am developing an iphone application which includes battery level tracking. The main requirement of my application is to run application in background and comes on foreground when battery level reaches to low. I knew battery level tracking in iph... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error Changing Visual Studio Version in run-command(Start -> Run -> devenv) I am trying to change the version of Visual studio in run command. I am following the steps given in one of the post : Change Visual Studio Version in run-command(Start -> Run -> devenv)
But I am getting following error - "Can not edit - err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Read any key to continue Java How can I implement the press ANY key to continue in Java. In C I use getch() and it works fine but Java I must press enter in every read method implement in every OutputStream class.
Thanks in advance.
A: The only way which I found was whith JNI and C.
A: I found a code, Equivalent f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Extracting multiple object values I have an object like this:
object["key1"] = "text1"
object["key2"] = "text2"
object["key3"] = "text1"
object["key4"] = "text3"
How can I give out (e.g. alert) the elements with the same values (text1, text2 and so on)?
In the above example it should be object["key1"] and object["k... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606990",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC - RegisterRoutes I would like to rewrite the url from
http://localhost:51639/home/index?id=123
to
http://localhost:51639/home/product
Here is my code in Global.asax.cs
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to add sequences to a migration and use them in a model? I want to have a "Customer" Model with a normal primary key and another column to store a custom "Customer Number". In addition, I want the db to handle default Customer Numbers. I think, defining a sequence is the best way to do that. I use PostgreSQL. Ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: How to apply shape and selector simultaneously for Button? I have applied a shape for a button like:
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle" >
<gradient android:startColor="#DD000000" android:endColor="#DD2d2d2d" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606995",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "91"
} |
Q: JPA Hibernate manyToMany with non-unique key I have two entities (tables): Department and Person. Both tables have a field CODE which is not unique.
How can I define manyToMany bidirectional relations between these tables?
*
*Department has collection Persons which contains all entities with Person.CODE eq Dep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Slash in virtual directory name (IIS) I have a website on IIS 6 running PHP. Let's say the address is:
http://mysite
I want to create a virtual directory to run an ASP.NET MVC 3 app under this address. I want the virtual directory to look like this:
http://mysite/api/v2
I cannot create a virtual directory called '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: error: comp. bet. signed/unsigned integer expressions CODEBLOCKS the assignment is: have a number saved in a string, then convert from a string to an integer--> convert that number to a decimal number from N-base the user inputs.
#include <iostream>
using namespace std;
int main()
{
string snum;
int n=0, b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Dynamically Binding gridview with dynamic column and dynamic rows with Editing and updating in gridview? I am new in .net application development.Please help me to find the solution.
My requirement is I am getting filled data table from database.Now i want to fill it in GridView.The problem is that the column name a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Proper way to stretch elements? Currently I have: http://jsfiddle.net/walkerneo/JnEpS/3/
Assuming I want the following:
*
*Gray boxes change height on resize, but constant width
*Blue box changes height and width on resize
*Cyan box changes width but not height on resize
What is the proper way to do it?
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jQuery Mobile dropdown menu in header wont work I have made my own dropdown menu in the header on a jQuery mobile page:
<div data-role="header">
<ul id="menu">
<li><a href="#" data-role="button" data-icon="gear" data-rel="dialog">Menu</a>
<ul>
<li><a href="">Forgot to accept</... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HyperNext Android Creator and making Android apps I've been trying to learn how to make Android apps and installed Eclipse and Android SDK but found it hard going as I'm not a programmer and only know a little Java. I then tried HyperNext Android Creator and found it much easier as it did have me creating some small... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: paste image without background PIL I am trying to paste many small grayscale images into a bigger one. All images are jpegs. The small images had been previously rotated, so they have black background. What I wanted to do is to paste them without a background color, in other words, I need the background color to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alternative IP address for same SVN server, with TortoiseSVN I've been looking through the many svn questions on this site but haven't found one which I think applies to my situation.
Its pretty simple.
Can I add an alternate IP address to my TortoiseSVN working copy, so if the primary IP address fails, the alternat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: customizing the NSPredicateEditor I want to customize the NSPredicateEditorRowTemplate, but I needn't the subtraction sign in the first RowTemplate, the second, and the third, like the Finder application.
A: If you tell the NSPredicateEditor that it cannot remove all the rows in the editor, then the editor will aut... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607032",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to add layer to OpenLayers, but without it getting automatically added in LayerSwitcher Control? I have a Openlayer web map with LayerSwitcher control added. I need this to switch some of my layers. But I am also adding and removing some layers, which are temperory and i donot want them added to the LayerSwitche... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Duplicates in results from .ToArray in LinQ query I did a query which should return only 3 rows, but I get 36 rows with the rest being duplicates.
var query = from a in db.as
join b in db.bs on a.pri equals b.for
join c in db.cs on b.pri equals c.for
where b.Age == age
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to generate JsonStringer for this Json Data Format? hello i have a JSON data format can anyone please help me to make dynamic JSONStringer object for this String
{"Text":"Hello Simple Text",
"Files":[{"ContentType":"image/png",
"Content":"iVBORw0KGgoAAAANSUhEUgAAAR8AAACMCAIAAADKsDpDAAAACXBIWXMAAA7EAAAOxAGVKw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: NullPointerException when going back through activities I'm debugging my application, and getting a 'strange' exception. It's not consistent and therefore really hard to solve. I'll post some code below.
The class that gives my exception:
private ArrayList<String> idList;
@Override
public void onCreate( Bundle save... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: issues with SVN to check out the code I'm trying to checkout the code of javamaildir from source forge, i configured SVN on my local machine(Windows XP OS) and trying to point to trunk on javamaildir code.
But I 'm getting the error
RA layer request failed
svn: PROPFIND request failed on '/viewvc/javamaildir/javamai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Counter is updated only once despite clicks I'm trying to build a counter where the admin user of the web site may update a counter by clicking a link. When the user clicks the counter link $.get sends the data to a mySQL record and the record is updated. The number is then sent back to Jquery which updates the coun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Customize the facebook like button I have put up my code in jsfiddle. The link is http://jsfiddle.net/QWAYE/1/ I have also put another sample code in this link http://jsfiddle.net/MCb5K/ The first link is working fine for me and i want to make it look like the second link but dont know what changes i need to do. Ple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to display modal window to overlapping the iframe? Am trying to display a file in a modal window when a button in an iframe is clicked. The iframe is present in a main window and an iframe is also there where we have kept a button to view the file in a modal window.
The modal window is working fine, but it open... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Extract feeds from web page I'm looking for a code snippet (language is not important here) that will
extract all feeds (RSS, atom etc.) that is associated with this page.
So input is URL and output list of channels.
Important is completeness, it means if the page has associated some information channel
it should be... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Automatic translation for HTML files I want translate a web page for multiple languages. I can create a .html file for each language, but I would like only one .html file and use an automatic way for translations.
Is it be possible?
A: It is not possible for a static website. I suggest you stick to having separate ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: jQuery Google Charting - changing series data I am sure there is a simple solution to this but I can't seem to get it working.
I need to change the series data for my chart:
This works (in my function):
var data = [$.gchart.series('title1', [50], '#F5B800'),
$.gchart.series('title2', [40], 'red')];
$(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Order a list by a string value with the same name as the property I'm sure there's a better way to do this but I don't know how. Could I use what they call reflection?
I want to order the resultList by the value in id where the id has the same value as the name of the property to order by.
var resultList = reposit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CORBA : How to pass a QT object as a parameter I'm new to CORBA and is trying to create a Corba interface for my QT Application. I checked the data types that you could use with CORBA, but I'm not sure if I could use a QT object as a parameter in a CORBA function. What I would want to pass is QWSPointerCalibrationDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unable to Add custom view to Android Action bar,why? I am trying to add my custom view into Action bar.
final View addView=getLayoutInflater().inflate(R.layout.home_actionbar_buttons, null);
getActionBar().setCustomView(addView);
my XML,
<LinearLayout android:id="@+id/linearLayout1"
xmlns:android="http:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: SWFUpload Not Initialising I've loaded the SWFUpload Javascript (confirmed the location is correct for all files loaded) and I've added the code to load a basic SWFUploader, but the problem is, I don't see any button. I don't see anything. Does the following code look correct?
<!DOCTYPE html>
<html lang="en">
<head>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to locate silverlight controls to the same location when browsing? I'm trying to create a login screen in silverlight and i was taken two textboxes and put them in two of rows in Grid layout but when i run the app textboxes taking right alignment and stick with end of the window right side, any one help me to ge... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Global change to timezone in application I have an MVC3 application that is recently published to a web server. This server has a different timezone than mine, and that means DateTime.Now on this server is different from my own. That also means that all times shown on the website is shown wrong for me.
The user base... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607100",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I set a custom font for the whole application? Is there any way to How to Apply global font [new custom font] to whole application in iphone objective-c.
I know that we can use below method to set font for each label
[self.titleLabel setFont:[UIFont fontWithName:@"FONOT_NAME" size:FONT_SIZE]];
But I want to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: iPhone: UIBarButtonItem as first responder? Is it only classes inheriting from UIControl that can become "first responder"?
I need a button in the navigation bar that brings up a UIPickerView using the inputView/inputAccessoryView properties. I know that I can use the customView property of the UIBarButtonItem and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Center [UIColor colorWithPatternImage]? I couldn't find anything on how you can center the 'image' when you use (maybe you can't):
[self setBackgroundColor:[UIColor colorWithPatternImage:[UIImage imageNamed:@"background"]]];
Setting my [self setContentMode:UIContentModeCenter]; doesnt help.
Do I have to manually dr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Pdf Not Generated using wkhtmltopdf using automated linux Bash Shell Script? I am trying to generate pdf using automated bash shell script, that script after every min checks the content of a file url.txt which conatins all urls line by line and i am using wkhtmltopdf for pdf generation
But the problem is pdf is no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to parse this json data to java Here is the json code..i am new to json parsing..so please let me know how to parse this json data to java.
thanks in advance!!
{
"geometry" : {
"location" : {
"lat" : 13.0561990,
"lng" : 80.2348820
}
},
"icon" : "http://maps.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Git merge conflict to always take the newest file How can I make a git conflict ALWAYS get resolved by taking the newest file (latest changed timestamp), completley without a prompt?
I am building a syncscript with git backend, and I never want to actually merge a file, just override all older copies with the one th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Advantage and Disadvantage of N2CMS I am currently gathering knowledge on various CMS option's available for .Net(free/open-source).
I came across DotNetNuke and N2CMS.
Was just wandering thru the source code of n2cms and found it quiet useful.
Even thought i don't have much idea about the disadvantage's .
Please le... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hibernate: Parent-Child Relationship to Itself I have two tables:
TABLE NAME: TABLE_A
A_ID
A_CODE
A_DESC
TABLE NAME: TABLE_B
B_ID
B_TABLE_A_PARENT_ID
B_TABLE_A_CHILD_ID
Where:
The TABLE_A's A_ID can be entered in TABLE_B's B_TABLE_A_PARENT_ID and B_TABLE_A_CHILD_ID to create relationship to itself.
My Code:
@Entit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iphone : How to draw line on Label? I want to make my label as shown in the image
I know I can get this effect by putting image view on it.
but is there any other method to do ?
How can I put line on label ?
A: Try this,
UILabel *blabel = [[UILabel alloc] initWithFrame:CGRectMake(XX, 6, 271, 26)];
blabel.text ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: QList with columns Does anyone know of an easy way to create a QlistView or QListWidget with columns?
All I need is a list with 2 columns that is undeitable and sortable.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7607136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: fragments best practice I have a content provider in my Android 3.1 Application, and are calling startActivity() with Intents that has content://my.package/xxx Uris, and Intent.ACTION_VIEW actions. In my andoroid-manifest.xml I have my content provider's mime-types set up so that my Activity picks up the intents. Ev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Windows Phone 7 FTP using Sockets I have some Windows Mobile Smart Device applications coded in Visual Studio C# that use FTP for the send/receive mechanism. It's not ideal, but it works.
I've been investigating whether these can be ported over to Windows Phone 7 and the major problem is the lack of FTP in Windows P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I benchmark malloc implementations? I am comparing between different malloc implementations and I would like to compare their run time and memory usage.
In particular, I am interested in the runtime and in the maximum resident memory. It is important that the maximum resident memory will be the real one (wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: not getting Font effect in PDF when convert HTML To PDF file Using this below Code i am Abel to convert a HTML text To PDF and my code can generate PDF File on particular location . but problem is...... i give font style in body tags so when PDF is generate i am not getting this font style effect in generate PDF ex.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the best practices for passing JSP variables to html tag's attributes? I have a code like <div id="test<%=j%>" class="test" >
</div> and my editor shows problems with the matching divs. I suspect this is responsible for a lot of ghosts in my code where values are not populated in beans, e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to copy a file to an arbitrary location when installing a VSIX project? I am developing a Visual Studio 2010 extension (VSIX project) to add some extra properties to the entities in the Entity Framework designer. In addition to registering the appropriate classes for MEF discovery, I would like a T4 include file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: read cookies in javascript On textbox onchange property i have called one javascript function
In that I have written this,
function testbox1()
{
var strline1side1 = document.frmartwork.side1textbox1.value;
document.cookie="lineside1="+strline1side1.replace(" "," ")+";path=/;";
}
I want to assign this "lineside1" ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google AppEngine Java Web Technologies In the last period, I tried to learn something about the Google cloud technology and I quite liked it.
I made a test project for learning GWT bound to GAE, too. In my opinion, the web toolkit is a nice framework for building a Web 2.0 UI from scratch, for those who always worke... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing a background image repeat file I was wondering if it's possible to change what file the background image repeats to when the old image runs out.
So, if image01.jpg is set as the first background-image, when it runs out vertically image02.jpq would be added as the background image to complete the page?
It m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Google analytics for android working but... Where can i check which sections/events of my app have been opened? I can see that GoogleAnalytics web tell me that one guy has done 11 visits to my Android App
Its working but.... i dont know where i can check which sections/events of my app have been opened, and i have t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to write build time stamp into apk
*
*Making some changes in Android Contacts package
*Using mm (make) command to build this application
Because I have to change and build this app again and again, so I want to add a build time stamp in the Contacts.apk to check the build time when we runn it in the hand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: Contex Drawing + Pagination I am trying to draw contents of scrollview into a PDF context & I am facing problem with pagination.
Following Code I have used:
- (void)renderTheView:(UIView *)view inPDFContext:(CGContextRef)pdfContext
{
// Creating frame.
CGFloat heightOfPdf = [[[self attributes] objectForKey... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "54"
} |
Q: How to do webview animation in android suppose i have three text as heading.Any how you can take textview or anything.one text on left,one in center and one in right side.so i want an animation when i will slide the screen left then left text will be gone,center text will come to left and right text will come to ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607168",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to make dialog box appear on the left? I want to add OnclickListener for a button,where in I want to display the Dialog box on the left of the screen on click of it.I tried to implement that but it always appears on the center of the screen.Any idea on how to implement that?
A: If I understand your question cor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Locking global array in a reentrancy-desired function in a multithreaded program? Sorry if a question title is confusing. I just wanted to put all the things together.
I have a piece of code like:
int newThread(int(*pfunc)())
{
pthread_t tid;
pthread_create(&tid, NULL, pfunc, NULL);
int i = 0;
while(thre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7607174",
"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.