text stringlengths 8 267k | meta dict |
|---|---|
Q: Is there a way to find the size of the area in a bitmap which has been filled using the bitmapdata.floodfill method? Basically, I am using the floodfill method to colour-in sections of a bitmap image. That part is easy enough but the issue comes in with the way I am adding an effect to the colour fill routine.
To ad... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564944",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: xml parsing is faster in C/C++ or Java? I need to parse XML either in C/C++ or Java.
Which one is fast?
I think SAX parser will be ok with java
Pl. help
A: Generally C++ is compiled to native code while java is compiled to byte code and then is interpreted at runtime. Therefore C++ code should theoretically run fat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: .load() jquery with JSP and Access Database I have got a situation where I call .load() with a jsp which returns a html table and values extracted from database.
Every time there is a change through insert, update or delete, .load() is called.
function showResponse(responseText, statusText, xhr, $form)
{
var ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dump terminal session to file? I run gnome-terminal with unlimited scroll-line history
I want to dump text I can see in terminal to file and parse it
Is there a way to do it?
A: If you want the whole contents of the terminal history:
In the gnome-terminal menu, Edit > Select All and then Edit > Copy. (Or use your f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: android: webservice image replace with images in Local folder I am into final stage of chat application in android.
I am facing few issues while working with images and web service.
So when i select the image and sent that image to web service i get URL from service. How can i convert that url into image that is i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Payment APIs in android Is there any google payment APIs for android like we are having "paypal" ?
And
I want to implement credit card payment process in my android application. There is a form in my application. User will enter his card information and on submission the service will verify and accept or reject the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564963",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: My app isn't closing correctly and I'm not sure why First off, I'm using the Action Bar. When I go back to my Main class after pressing the Home option, then press the Back button, my app won't close like it should. Instead, it tries to open the activity it left from, but since I'm calling finish(), it just animates... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564966",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: how to reserve vector space for class objects? If I have a class's header file like the following:
class arrayStack
{
private:
struct StackNode
{
StackNode(int p, int v):previous(p),value(v){}
~StackNode(){std::cout<<"destructor calledn"<<std::endl;}
int previous;
int value;
};
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Name sorting using counting sort I'm having trouble sorting names in alphabetical order using counting sort, for instance I'm suppose to sort in alphabetical order and have number input added to it for example 0001 Alex Smith, Gregory John, Alex Smith, Adam Richard, Alex Ryan. The output should be in this order:
Ada... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How should I Implement Localization on Wpf Application using MVVM pattern? I am working on a wpf application using Devexpress Tool and following MVVM pattern..
I have applied Localization on it using Locbaml Tool and it is working perfectly fine but just for the View.
In this app i am setting Grid Row Vlidation err... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to change the background or foreground color of the visual studio 2010 tooltip I need to change the tooltip in visual studio 2010 when you hover your mouse over a code item when not debugging.
Obviously I am trying to theme my VS to be dark, but I cant seem to change this setting.
I have Powertools, Visual Assi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: regular expression to check if string is valid XML I am looking java code to check if a string is valid XML.
A: It's not possible to validate XML with regular expressions. XML is not a regular language.
Use an XML parser to try to parse the string as XML or else validate the XML document against a schema, for examp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Jquery Unobtrusive validation lost after implementing onSubmit event I'm using ASP.NET MVC. My validation works well until I attached an event to the form's onSubmit event.
This is how my form looks:
@using (Html.BeginForm("Recover", "Auth", FormMethod.Post, new { Id = "RecForm", onSubmit = "return Events.Submit(thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564991",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set more than one html table in an aspx page in different alignments? I am having 5 table which I need to show in one page.
For that I have to show 2 tables in one row and other 3 in second row.
Is it possible to do this in C#? Or is there any other way to do fulfill requirement of getting so many input form ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to load a UserControl dynamically with LoadControl Method (Type, object[]) I am a bit new to user controls. my user control class is ucDefault . I dont have any constructors explicitly specified . I have to load my user control with the default constructor . How can i do it ?
A: Try,
Control control=LoadContro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to use VBO for morphing? I want to have a mesh that can be animated. I'm loading mesh from a file, including key frames. I want to put all the frames into VBO and compose two of them on the GPU in a vertex shader. So i want to pass to frames to GPU and some uniform that will allow to create one result frame from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565007",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to load Office documents in Blackberry using Browser Field and WP7? It is possible to load Office documents, PDF in UIWebView in iOS and I think same case applies to Android.
How about Blackberry and Windows ?
A: Regarding each platform:
*
*Yes, you can load PDF into a UIWebView in iOS
*No, you c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does column-oriented NoSQL differ from document-oriented? The three types of NoSQL databases I've read about is key-value, column-oriented, and document-oriented.
Key-value is pretty straight forward - a key with a plain value.
I've seen document-oriented databases described as like key-value, but the value can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "110"
} |
Q: Adding node in Account settings tree of Thunderbirds account settings dialogue I am developing a Thunderbird add-on in which I want to add a node to every mail account in the account manager (opens when the user clicks on Tools->Account Settings). This node should show a panel with additional settings for the accoun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565022",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android resource diectory name to string for WavFile usage I am using the Wave tools downloaded from here: http://www.labbookpages.co.uk/audio/javaWavFiles.html
To begin to read a wav file in my res/raw directory I have done the following in a sub class which extends my main activity.
WavFile wavFile = WavFile.openW... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I stop Py_Initialise crashing the application? From VBA and VB6 I'm calling a dll the creates a Python interpreter. If I set the PATH environment variable to point to "C:\python27" and PYTHONPATH to "c:\python27\lib" all is fine.
If I don't set the PATH then calling Py_Initialise() crashes XL or my VB6 app, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Can multiple threads write into a file simultaneously, if all the threads are writing to different locations? I am writing the code in c++. Can I run into any kind of race conditions or seg-faults?
A: There's no problem doing that from the point of view of the underlying system (for all systems I know). However, ty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Sample code for progressive video streaming on Android? Is progressive video streaming in the Android Media Player possible?? if yes then can anyone please provide me with a sample code for the same?
thanks
A: It's rather simple. You able to use setDataSource method of MediaPlayer or SetPath of VideoView.
Hope it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565035",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: OSX su command issue So I cant get su command to work on a terminal. All I do is type "su" and press enter, it asks for the password and I enter my currently logged in user password. It always gives this error. I swear this used to work earlier, not sure what happened.
su: Sorry
I am running a Mac OSX 10.7.1 (Lion)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: hide textbox control using javascript or jquery I want to hide textbox control using javascript or jquery.I have used javascript
document.getElementsByName('Custom_Field_Custom1').style.display="none";
java console shows me this error :
document.getElementsByName('Custom_Field_Custom1').style.display="none" is u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android aSyncTask and starting another activity I've got this inner class as part of an application which doesn't accept changes in orientation (it makes more sense in landscape orientation).
private class initialDBQuery extends AsyncTask<SQLiteDatabase, Void, Cursor> {
@Override
protected Cursor doInBack... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ASIHTTPRequest and ASINetworkQueue and JSON Parsing //
// RootViewController.m
// JsonPetser33
//
// Created by ME on 9/26/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import "RootViewController.h"
//
#import "SBJson.h"
#import "ASIHTTPRequest.h"
#import "ASINetworkQueue.h"
//
@implementati... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Check if fields exist in other table I have two queries, one is to check the no. of times the STUDENTNO exists in the table Subjects
SELECT COUNT(*) AS COUNT
FROM Subjects R
INNER JOIN students w W ON R.studentno = W.studentno
WHERE R.studentno = '89514'
Next is to get the valid students (whose name and student... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565053",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPad Split View Call/Load from another view Please help me with the issue mentioned below.
My issue is, whether there is way to call the split view from another view, say after I tap on a button..?
For eg, as shown in the attached pic, when the app launches, it shows the first screen.
When the user taps on "Click" b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java multiple selection dialog box I have a dialog box with a drop down menu like this:
Object[] possibilities = {"1", "2", "3", "4"};
ImageIcon icon = new ImageIcon("images/middle.gif");
int i = Integer.parseInt((String)JOptionPane.showInputDialog(pane,"How Many Channels:","Reset Visible Channels",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to use hashmap value to textview in android? i have one hashmap.hashmap have different value.
i want to display hashmap value in textview.
my code is
Iterator iterator = objJMap.keySet().iterator();
while (iterator.hasNext())
{ String key = (String) iterator.next();
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ABPersonPickerNavigationController and UITabbarController How can we use use ABPersonPickerNavigationController on suppose the third tab of the UITabbarcontroller.
Actually I am showing all Address book contacts in this controller...so I use ABPersonPickerNavigationController
Currently I am using this code but when ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Don't understand this Rails error message I'm using code downloaded from a book called Agile Web Development with Rails 4th edition. It provides code for Rails 3.05 and Rails 3.1. I'm using the latter... I don't understand the error message it produced when I tried to load it in the server.
I'd be grateful if you c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: upload images having an url I have a script to upload files to the server from your computer. It works fine and basically it's a
<form enctype="multipart/form-data" action="post_img_upload.php?id='.$topicid.'" method="POST">
<input name="uploaded_file" type="file" />
<input type="submit" value="Subila" />
then, th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to connect to a remote unix box from java and run unix script in it? I need help in writing java code that can connect to a remote UNIX box, and run a script on that box.
I have scoured the internet, but I have been unable to find proper documentation on how this can be accomplished.
Where is the best place to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to get template name in symfony I want to get my template name in my layout.php. please help me
<?php $module_name = $sf_context->getModuleName(); ?>
i'm using this above code to get module name, but how to get my current template name.
A: if you set the template in your action with the setTemplate() function ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: django null and empty string I find that when I insert nothing of a string form field through a form it captures it as an empty string ''.
However when I insert nothing of an integer form field through a form it captures it as [null].
Is this good practice? Should the string be null as well in the db?
A: It is goo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: How do I make a form background translucent? I want to use the code provided here (http://www.codeproject.com/KB/GDI-plus/LovelyGoldFishDeskPet.aspx)
to make a form background semitransparent using an alpha image. But I don't know how to implement the code. Can you help me, I just started my C# 3 hours ago. Please ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565076",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: GWT/Gin creating class with @Inject annotation in constructor Let's say I have a class
public class Foo{
@Inject
public Foo(MessageBus messageBus, SomeServiceAsync service){
...
}
...
I have some doubt on how I would construct such a class, given that the constructor parameters are to be injected. Or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How make font in TextView more thinner? I want to make font in TextView more thinner. How can I do it?
A: You can do this using a fontFamily:
From xml:
android:fontFamily="sans-serif-light"
Programmatically
textView.setTypeface(Typeface.create("sans-serif-light", Typeface.NORMAL));
A: in android only four fontty... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which IDE can detect method1 from class1 object by inheritance? I am beginning CakePHP, but I need IDE for detect method of class that have 2 level extends.
I need IDE that detect method1 from class1 object.
A: NetBeans replaces the line number of method declarations with an indicator when a method is either overri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565079",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Alternate to PHP exec() function Currently I am using:
exec("zcat $filename", $output)
To uncompress a .Z type file but unfortunately my hosting company has now disabled this function.
Is there a workaround?
$pathtofile = "filename.lis.Z";
exec("zcat $pathtofile", $output);
A: .Z files are LZW compression. If you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: facebook oauth dialog not working in android 2.2(samsung GT-S5830) in a webview and web browser I am trying to implement facebook Oauth dialog(direct url approach)
http://developers.facebook.com/docs/reference/dialogs/oauth/
It works fine at all places except android in samsung GT-S5830 where it stops with the text ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Virtual function calling mechanism class base {
public:
virtual void fn(){}
};
class der: public base {
public:
void fn(){}
};
der d;
base *b = &d;
b->fn();
When the compiler encounters the statement b->fn(), the following information is available to the compiler:
*
*b is a pointer to the class base,
*b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all unique character of String in sql I have a Table with column firstName and lastName as String. Now want to take all unique first char of those column.my table have thousand of row in that table ,but i just want to have Is the any string function in SQL to do this?
One more thing I need to find only alpha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Configuration for .Net application I have very little knowledge of .Net programming, i got my software developed on .Net platform, Now i have installed the software but it prompts an error like Error in LibraryManager.SelectActive(),I have my database configured on local sql server and using windows authentication f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to install Maven Plug in into My eclipse How to install Maven PLug into My eclipse
Actually i followed this way please refer to the screen shots
below
http://imageshack.us/f/405/31444757.jpg/
http://imageshack.us/f/13/32898163.jpg/
Under Eclipse Find and Install New Software i used below paths
http://m2ecl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to Disable Auto-link for TBB When I build my VS project as Debug, it always auto-linked with tbb_debug.lib (which in turn linked with tbb_debug.dll). Is there a way to override this and make tbb.lib linked even for a Debug build?
A: First, are you sure it is 'auto-linked'?
If so, this is done using #pragma comm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how can i know if my code is Synthesizable? [Verilog] In designing a circuit in verilog using top-down method, I can start from the behavior of a circuit followed by defining the details in every module to construct a structural circuit that is synthesizable.
But how can I know if my code is synthesizable?
Are there... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to hide the box in html file before changing the module I had developed an application.In my application Message Button .if we click on that means one page*(first html)* is open and page consist of see all messages link,If we click on that link means it will go to another page (change the module),I try to hide t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implementing Database in WP7 Mango I had many doubts regarding Database in windows Phone Mango.
*
*In WP7 mango how i can enter/Insert a list of objects or observable
collection to a table
*I had a database (*.sdf) with me that contains some data, I used
SQLMetel and i created a .cs file; but while reading that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565101",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Will you create a service for Rx.Observable? I have the following code in VM..
Observable
.Timer(remainingTimeSpanForNextHour, TimeSpan.FromHours(1))
.Timestamp()
.Subscribe( x => FillBookingData());
My questions are ~
*
*Do you think we need to test ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android - referencing string array using another string with getIdentifier() and getStringArray I have a variety of string arrays I want to access depending on which one the user decides to use. I don't want to use a SQLite DB because I am very new to Android/Java and I have struggled to find examples so I'm guessi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Facebook: Custom Landing Page "For Fans" Facebook provides us with an option to choose a custom landing tab for the new visitors (i.e. non-fans). Can we have a custom Landing tab for fans so that every time i open the page, i m directed to that custom page rather than the Wall..
A: Have you checked Facebook Help Ce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compare List and enable the required control I am having two list<string> as follows
listA is having the following values 10,20,30,40 and
listB is having the following values 10,20,30
If listB contains listA elements i would like to enable particular controls if not i would like to disable the Controls
I tried of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Referencing textfield on stage issue I use this sample code taken from the docs: all the code is contained inside SocketExample.as, that is the DocumentClass too.
package {
import flash.display.Sprite;
public class SocketExample extends Sprite {
public function SocketExample() {
var soc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Event.target issue with Firefox 6 In Firefox 6 I tried to get the target element on which the event occurred, but it does not show any element and it shows undefined in alert. Tried to debug it using the Firebug tool and found the attribute "target" missing for the event object. Can anyone help me out? I do have the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Develop GPS application I have a Windows 7 tablet pc with GPS facility. I need to develop a GPS application for my tablet pc. How can I do that? Is there any built in API is available for that?
What kind of API do I have to use?
some1 please help.
A: Use the framework 4's Location API, check out samples below:
http... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565122",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Load image to a tableView from URL iphone sdk I have tableView and need to load image from URL. I have an array that contains the URLs of images and when the page loads I need to load all the images into the tableview. Note that, not from a single URL, have an array with different URLs. How can I implement that? Ple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: My custom ForeignKeyConvention is resulting in two foreign keys being created instead of one I am trying to create my own foreign key convention that will name the FK in "FK_SourceTable_TargetTable" format.
However, when I run it I end up with two foreign keys instead of one.
My custom foreign key convention looks ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why wont my data filter the date .. smalldatetime SELECT S.studentID, S.studentFName, S.DOB, S.studentEMail, S.studentAddress
FROM Student AS S RIGHT OUTER JOIN
(SELECT Attendance.studentID, COUNT(*) AS cnt FROM Attendance CROSS JOIN
CourseUnit WHERE (Attendance.attStatus = 'Yes') AND (CourseUnit.courseCode = 'S3000... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: java.lang.ArrayStoreException in java.util.Hashset Here is the stack trace :
java.lang.ArrayStoreException
at java.util.HashMap.transfer(Unknown Source)
at java.util.HashMap.resize(Unknown Source)
at java.util.HashMap.addEntry(Unknown Source)
at java.util.HashMap.put(Unknown Source)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Class and Activator.CreateInstance Here is some class:
public class MyClass<T, C> : IMyClass where T : SomeTClass
where C : SomeCClass
{
private T t;
private C c;
public MyClass()
{
this.t= Activator.CreateInstance<T>();
this.c= Activato... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed I built an application and deployed locally ... and it was working perfectly. I deployed it on a remote server and started getting the exception mentioned in the subject line. It's not because of any f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "45"
} |
Q: Calling a java-script function when value of a Dojo auto-completer changes I am trying to call a javascript function when the value of a Dojo auto completer changes.
Calling the javascript function from the "onChange" attribute has no effect (I mean the function is not called/executed).
In the javascript function I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565149",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: .NET Application Updater Component without Webdav Does the .NET Application Updater Component (http://windowsclient.net/articles/appupdater.aspx) work without the WebDav protocol?
A: Quote from the page you linked:
The .NET Application Updater component uses HTTP-DAV to download the application update and thus req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565156",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GroupBy in LINQ and set property I have such class:
public class Foo
{
public string Regn{get;set;}
public string DocName{get;set;}
...
}
In the my application this class uses with IEnumerable:
IEnumerable<Foo> items;
How to get new IEnumerable, where for all items with the same Regn and DocName property D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to make our application to support multi-touch?
Possible Duplicate:
Android multi-touch support
My application requires multi-touch user input.
How can i achieve multi-touch in my application ? is there any tutorial from which i can learn ? Please give me some links of tutorials.
Thanks in advance.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7565176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP array group by data values This is my $data variable:
cv = 1,2,3,4,5:::cpt = 4,5 ...
Now I need some function, where I can add the number as param (number will be $data number value).
for example.
function getPermission($id) {
... return $something;
}
Then if I call the function like: echo getPermission(4); ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565177",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring Roo finder issue I have followed Spring Roo tutorial (by Ben Alex). Until create finder everything went fine. When I am create finder It won't generate generate relevent JSP file. it only update java and .aj file. What kind of issue this can be?
~.domain.Rsvp roo> controller class --class ~.web.PublicRsvpCon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails 3 Apache & Mongrel colleagues.
Here is what I have:
Windows XP
Ruby 1.9.2p180 (2011-02-18) [i386-mingw32]
Rails 3.1.0
Also I have installed mongrel server gem install mongrel -v 1.2.0.pre2 --pre
When I do rails s, mongrel starts (everything is ok)
But I want to use my RoR application via Apache 2.2, that is in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Exception in thread AWT-EventQueue-2 java.lang.NullPointerException I am trying to run a JApplet with jnlp.
I have created my MyApplet which extends JApplet and packaged in a jar.
I have also created MyApplet.jnlp and MyApplet.html
My Runtime env is jdk 1.7.0.02.
When I run it in a browser I get below exception from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: list for flex mobile app (android) I am new in flex android and I've been practicing this right now. I have here an exercise program with flex android app (AS3). Here's the code of my HomeView.mxml:
<?xml version="1.0" encoding="utf-8"?>
<s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565195",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using IOS and facebook APIS Hi Does any one know how to use facebook chat apis with ios, I have use git command from the steps followed here http://developers.facebook.com/docs/guides/mobile/ios/ after that i dont have any idea how to create a sample app and what syntax to follow. Thanks a lot
Max
A: I haven't yet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Comparison Report of migration from VSS 2005 to TFS 2010 We have Visual Source Safe 2005 and tried migrating on TFS 2010 in test environment but some of the nodes are missing and it looks like some data got skipped during migration and we have so many projects with multiple nodes and sub nodes so its hard to identif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565197",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Functional programming vs. variable and memory Does functional programming use variables?
If no, how do the functional programs occupy memory?
A: Both functional programs and imperative (C#, Java) programs use variables, but they define them differently.
In functional programs the variables are like those in mathem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Linq intersect or join to return items from one collection that have matching properties to another? I have the following scenario: Two lists of different Types which happen to contain 3 matching properties (in reality, the names are not the same as they are from different systems/database tables, but their content... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Solr query is hanging server I have developed a enterprise search using solr, I have developed a patternMatching class to match the query string
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7565217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java.lang.IllegalArgumentException: Invalid authentication type: want I have a web-service method which works fine until enabling FIPS mode in tomcat.
The code bellow executes fine if FIPS mode is disable:
((X509TrustManager) tm[0]).checkClientTrusted(clientCert, "want");
But when FIPS get enable on tomcat. Same li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Setting access to a folder to only one user I Want to assign permissions to only a single user to a folder in windows using C#, Other users should not be able to open or change the access rights of that folder.
for example if I have 3 users - UserA ,UserB and UserC in Users group. I want to give permission to access... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: android.database.sqlite.SQLiteException: near "(" this is my error:
09-27 08:16:34.547: WARN/System.err(8366): at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
09-27 08:16:34.547: WARN/System.err(8366): at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:92)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: retrieve thumbnail image of a browser bookmark I am creating my own android app widget to display browser bookmarks. & i need 2 show the thumbnail image of the bookmarks in my widget.
However the Browser.BookmarkColumns doesnt expose the "thumbnail" data.
any idea on how to get the thumbnail image ?
thanx in advance... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPhone command line Unit Tests (and File I/O) The short question is: How can I get iPhone (objective-c) file operations to work correctly from a command line Unit Test?
The long question, with explanation: This will eventually become a script to perform automated building/testing for my iPhone build, via a Hudson in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: How to write the Stored Procedure I am having one situation,
Book Number | Book Authors | Publications | Versions
Controls i used in above fields, label in Book No., Combo box in Book Authors, Label in Publications and Combo box in Versions.
The above is my UI, if i choose the book authors from the combo box(values ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to find GO button keycode using Javascript Anyone have idea, how to find GO button's keycode using Javascript in Android browser.
A: The 'Go', 'Enter/Return', 'Search', ... keys are all synonyms of KeyEvent.KEYCODE_ENTER
The KeyboardView only changes its appearance based on EditText inputMethod options.
All res... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565239",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Generating QueryString Param For Static Content Once Per Application I'm generating stylesheet/javascript links all over my website using a single extension method, so i have a place to generate querystring.
Example
http://mydomain.com/site.css?v0.0.1
The plan is when i do a new build, the content should be fetched... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which credentials should I put in for Google App Engine BulkLoader at JAVA development server? I can't upload data to my GAE Java dev serwer. Bulkloader asks for a password, but no password matches:
D:\python_google_appengine>appcfg.py upload_data --config_file=bulkloader.yaml --filename=templates.csv --url=http... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to get variable data out side of when condition i declare a variable name as Result1 this variable i have used in when conditions
so that variable i want to used out side of when condition. facing issues as variable name as OUT of scope , to resolve this issue can we declare a global variable as gblresult.
how ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with loading an XML file or writing to it I have a GUI application which reads data from an XML file (current_users.xml) and also writes to that XML file. GUI is placed at /var/www/bin-release and XML files are located in the directory /home/os/work2/project/
The GUI expects the XML file to be in the directo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem in adding admob ads in layout I have Admob ads Network in my app..I placed this ads Network in my relative layout..In these relative layout i have buttons..so at the bottom of the layout i put my addNetwork to display ads.Now the problem is that onClick of my button i open an dialog..In these dialog i have E... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: App name showing incorrectly on the ticker We have an old name for the app and we want the app to show the correct name on the ticker but we have not been able to do it (it is still showing the old name). We updated the title of the url canvas and submitted it on the debugger and interestingly enough, the title is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to print out registers in Linux kernel? I want to print out values of a couple of registers from the linux kernel code running on ARM. Particularly I have the following assembly in linux -
e3c52007 bic r2, r5, #7 ; 0x7
e1520003 cmp r2, r3
0a000003 beq c011fa60 <smem_find+0x... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can i select from table where tablename is specified as SqlParameter? I am trying to perform dynamic sql select where I am selecting from a table using a parameter.
SELECT null FROM @TableName
However I am getting error must declare table variable @TableName. I suspect this is because I am selecting from a tab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Django many to many relation on generic models I have some models which will need to have many to many relation with some images. Instead of creating each relation individually, I want to have some generic model relations that I can use for all my models. So I've created Image and ImageItem models (I'm not sure if I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ZipArchive::getFromName does not find filename Any idea what I am doing wrong here? It keeps dying with 'bye bye'. There is an index.php file inside the zip archive.
$zip = new ZipArchive;
$zip->open($source);
$test = $zip->getFromName('index.php');
if(!$test) {
die('bye bye');
} else {
die($test);
}
A: We... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565279",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: HsqlException: data exception I am using hsqldb version 2.2.5 in my application sometimes I am getting
org.hsqldb.HsqlException: data exception: string data, right truncation.
So I want to know what are the possible reasons for that. I am not inserting any data like longvarchar in a varchar column.
http://source... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: PHP - Compare two MySQL tables Is there a PHP code that let's you compare 2 MySQL tables with each other and lets you add missing entries into one?
I have two tables. hs_hr_employee and rights. I want to add data from certain columns from the hs_hr_employee table so that they would be the same in the rights tables.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compact command not freeing up space in MongoDB 2.0 I just installed MongoDB 2.0 and tried to run the compact command instead of the repair command in earlier versions. My database is empty at the moment, meaning there is only one collection with 0 entries and the two system collections (indices, users). Currently t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: how to get same xmpp connection from one activity to another? i am new programmer.i would like to implement sample application for getting chat by using xmpp server.In this implementation i have created connection by using ConnectionConfiguration object as follows :
ConnectionConfiguration connConfig =new Connection... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Problem: control Session timeout My session renews every 20 minutes. I've set timeout to 300 minutes but still it renews probably because Application Pool recycles.
I am storing UserId which is Guid in Session which returns null. Problem is when I use Membership using
Membership.GetUser().ProviderUserKey
it works f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7565298",
"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.