text stringlengths 8 267k | meta dict |
|---|---|
Q: problem with saving data at coredata? In my application there is searchBar. when we input a text, it will do functionGrab (grab data from internet and save it to coredata), example :
if we input "Hallo"
if([[dict objectForKey:@"Category"] isNotEmpty] && [[[dict objectForKey:@"Category"] objectAtIndex:0] class]!=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to match 01-47 I have to grep some log files.
so I code this
egrep [0-4][0-7] log
bug this code has a bug for
08,09,18,19,28,29,38,39
Can I resolve this issue?
A: | allows you to specify alternatives in a regex.
0[1-9]|[1-3][0-9]|4[0-7]
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7564261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MSBuild Compilation Error Weirdness I'm getting an error compiling a VB .NET project using the MSBuild command line. Running from devenv works perfectly fine:
error BC30518: Overload resolution failed because no accessible 'Invoke' can be called with these arguments:
Line in question:
Windows.Application.Current.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Existing project which is having pom.xml file in it I have been given an existing project which is consisting of pom.xml file in it .
Can we manually run the pom.xml file , to create a war file and deploy it into Tomcat WEB Apps
Please tell me how to do this .
Thank you very much for reading .
(And also in our exis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Declaratively setting jQuery.Data property for a HTML link Assuming I have a HTML link in my rows inside a datagrid or repeater as such
<a href="javascript:void(0);" class="DoSomething">DoSomething</a>
Now also assuming that I have handled the click event for all my DoSomethings in jQuery as such
$(".DoSomething").... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "Like Button" does not appear when I paste plug-in code into HTML snippet on iweb? Please help. I've spent hours on this. With Twitter I had no trouble adding a button to my website using iWeb but with facebook.....
The best way I can describe my problem is this: I go through all of the required steps to obtain the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is compex? I found a bunch of java files online and there is one function that appears all over the place but i cannot find the definition of on google: compex. google keeps on sending me to complex, no matter how i use symbols to make compex an important search term. it doesnt seem to be imported from anywhere... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Barcode scanner SDK for Blackberry can anyone guide me to any of the efficient Barcode scanner SDK which can work in Blackberry SDK. while googling i have got to here about ZXing lib. But i failed to find the samples and to download the SDK.
Help me with some link to the SDK download and test code sample.
A: In p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to Select from more columns but group by 1 column? SELECT studentnum
FROM Atten
WHERE (att = 'Yes') AND (unitCode = 'MMA1034')
GROUP BY studentnum
HAVING (COUNT(*) < 4)
How do i select more columns? eg, student_name as well?
A: If student information is in Student table, then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: asp.net dropdownlist onmousehover event fire dropdown display data I have asp:DropDownList control which i want to display data to user who don't want to click on it.
But user only want to make Mouse hover over asp:DropDownList Control.
Is there any possible way to make it without using datalist control or gridview ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why isn't applicationShouldOpenUntitledFile being called? I added a applicationShouldOpenUntitledFile method to my application delegate, returning NO as Apple's documentation specifies. However, I'm still getting a new document on startup. What's wrong?
@implementation AppDelegate
@synthesize window;
- (void)appli... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564290",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Is there any jquery print preview that shows you the printed page without the website header & menu? My web application generates reports and I need now to add the print preview functionality to these reports in order to show the user what he will print of that report and to show him that the report will not contain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Firefox Video tag failed i got a problem when use html5 video tag
I created a sample aspnet mvc project , on a page (named Index), i test video tag
@{
ViewBag.Title = "Index";
}
<h2>Index</h2>
<video autoplay="true" controls="controls" type="video/mp4" id="vd" >
<source src="/Content/Video/oceans-mini.m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564299",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DropdownList with Multi select option? I have a DropDownList as following
<asp:DropDownList ID="ddlRoles" runat="server" AutoPostBack="True" Width="150px">
<asp:ListItem Value="9" Text=""></asp:ListItem>
<asp:ListItem Value="0">None</asp:ListItem>
<asp:ListItem Value="1">Ranu</asp:ListItem>
<asp:ListItem Value="2">M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: call other layout or xml file in frame of a tab in android Inside frame of my tab i am calling an activity having first.xml xml file. Inside this i have two different layout. I have one more xml file graph.xml. Right now i am passing my intent to another activity where i have setcontentview of graph.xml but what i w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Calling variables with pointers in a typedef Hello i know a bit about pointers in C but the problem I am running into is how to access variables in an this typedef enum.
The structure is defined as:
typedef enum {
ZERO = (uint8_t) 0, ONE = (uint8_t) 1
} BIT;
typedef BIT lc3_word_t[16];
and the method that is call... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Curious: what is this syntax that Facebook's polling services is using during the callback I was watching the Network Monitor on Chrome's developer tool seeing how Facebook updates content throughout their news feed.
All of the responses from AJAX begin with the following:
for (;;);{"__ar":1,"payload":[]}
What is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Vista-only" heap corruption in a MFC application Ours is a MFC application, which links to a win32 DLL. When the application invokes this DLL function, the argument "buffer" becomes a "Bad Pointer", after entering the function stack. This results in an application crash.
static MyClass* Instance(string& buffer);
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to grab large xml response using ksoap I am using the ksoap library to consume .net webservice. One of the request returns a very larger xml response.The thing is ksoap shows only partial response.But the wireshark trace shows xml response as sequence of TCP segments which represent the bulk XML.
any idea to g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing data from a table view to another when clicking a row in Objective-c Suppose I have a table view with 5 rows, each row have product name(UiLabel), product photo(UiImageView) and product price(UiLabel).
When clicking a row, it will be changed to a UiView that showing the product name(UiLabel), product photo(U... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does Java allow such strange code using inner class to pass compilation? Hi I tried below code while learning Java inner class. So surprising it passed compilation but could not work in run-time. My understanding is for inner class it must be instantiated in an instance of the top class.
But why JDK compiler al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-6"
} |
Q: Validate preferences. Android I have PreferenceActivity with 2 fields.
*
*A URL
*Time in seconds
I need to validate the first one for a valid URL and the second for an integer value. How do I do it with standard means?
A: You can use android:inputType attribute for these fields in the xml, this will display a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: DML statement in a SQL Views I am trying to create a view in that view I want to insert a record or update a record based on perticular condition so can we insert or update in SQL view. Can we have insert or update statement in view?
A: Short answer: Yes. But there are restrictions.
Eg: (taken from http://msdn.micr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: String in switch java switch(title)
{
case "Return":
returnBooks();
break;
}
strings in switch are not supported in -source 1.6, use -source 7 or higher to enable strings in switch
So, I have already installed JDK7, Why compiler show this message and giving an error while on compiling?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564334",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do you normalize an ontology the way you would normalize a relational database? I know how to normalize a relational database. There are methodologies for getting to a fifth normal form. I understand the reasons why you may want to back off to fourth normal or otherwise.
What is the equivalent method for an on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are the arguments against using size_t? I have a API like this,
class IoType {
......
StatusType writeBytes(......, size_t& bytesWritten);
StatusType writeObjects(......, size_t& objsWritten);
};
A senior member of the team who I respect seems to have a problem with the type size_t and suggest that I u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to capture ALL touch events in iOS? I want to make an application that it capture all touch events and display x,y value in toolbar。
*
*If it's possible to capture all events although event not happened in this app ?
*How to show this app in the Toolbar like the Battery icon (when app run in background) ?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: cookie that only exists while viewing a particular page? The title ways it all. I want to use a cookie to send some metadata over to the client that is specific to the current page he is viewing. I'd rather not put it in the HTML, mainly because the metadata is only calculated after all the HTML is already generated... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to ignore .svn folder when searching in Total Commander How can I ignore .svn folders when searching in Total Commander?
A: *
*With Total Commander 8.01: Configuration menu / Options / (Operation) / Ignore List
*With older versions: Configuration menu / Options / (Display) / Ignore List
Then add
.svn
to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "69"
} |
Q: Track score from SCORM 2004 I am creating a LMS portal and planning to use adobe presenter as the online training quiz builder. After publishing the quiz (scorm 2004), I am not sure how to track the user's score. I already google it but could not find any working example. After searching google, I came to this point... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make zindex of a ui element relative to the parent canvas and not the containing canvas? Basically, I'm trying to create a shadow effect on a simple Path element in a user control by putting a ZIndex on the shadow element (also a Path) of 1 and a zindex on the other UI element of 2. These 2 elements are in a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564354",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: method names in Rails migrations I'm using Agile Web Development with Rails to learn about Rails. In an early chapter, the author created scaffolding and then started looking at the Migration. In his Migration, there is an "up" and and "down" method, whereas I only have a "change" method in my Migration. The author... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564355",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: WCF proxy run time initialization and performance implication I'm initializing my proxy manually through ChannelFactory class, as configurations to initialize this proxy is from some other Configuration service (not in same App.Config) and to avoid initializing cost (Service Call, Read Configuration Settings) I cach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL: Data truncation: Incorrect datetime value: '2006-10-01 02:22:44' I'm getting the following exception updating a row using MySQL via JDBC:
com.mysql.jdbc.MysqlDataTruncation: Data truncation: Incorrect datetime value: '2006-10-01 02:22:44'
The column is defined as:
'created_on_service timestamp NULL DEFAULT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Importing resources from OSGi bundle With the import mechanism in OSGi, it is straightforward to import packages from another bundle. However, I have been unsuccessful in importing resources that exist in the "root" of the bundle.
Is it at all possible to import resources that aren't package scoped in to another bun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: animating ImageButton in android? I am really new to animations in android (and pretty much anything else). Is there a way to animate an ImageButton? I just want to rotate the button for sometimes. Thats all. Any help ?
Thanks.
A: rotate.xml
<?xml version="1.0" encoding="utf-8"?>
<rotate xmlns:android="http://schem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Ruby max width output I have an array of strings that I need to print joined by a space in a way that each line only shows a maximum of 80 characters (including the space) per line.
So for example if I have:
str_ary = ["I", "am", "an", "array", "of", "strings"]
max_width = 10
I should obtain:
I am an
array of
str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: google map application not open in blackberry storm 2 i have storm 2 and i downloaded good map application from this url click here
download successful but . in device option>application(third party) i can see Google map app but in download folder i cant see this application .
how can i open this application ? appl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL CLR Trigger - get Target / Table name Track column changes - single SQL CLR Trigger for multiple Targets/Tables
SQL CLR Trigger:
Is there a way to get Target / Table name from CLR code?
Purpose:
I'm building a universal SQL CLR Trigger to track column changes in multiple Tables.
Info:
The same CLR trigger can b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Jquery ajax .html doesn't work success: function(json) {
for (var i = 0; i < json.length; i++) {
var response = json[i];
$('#rv-container').html('<p>' + response.name + '</p>' + '<span>' + response.id + '</span>');
}
$('#history_tracking').hide();
}
In the succe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make an array flexible? public List<int> GetCounts(string connectionstring)
{
List<int> results = new List<int>();
string sqlStmt = "SELECT DISTINCT COUNT(Grouping) from Attendance";
using (SqlConnection conn = new SqlConnection(@"Data Source=localhost\SQLEXPRESS;Initial Catalog... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: open multiple tabs on a single window by a single click using JavaScript I need to open multiple tabs on a single window, new window instance for a single link will not be a problem but when it comes to 20+ (which is my case) then 20+ new windows are really a problem, so I need to find a solution, the code has to ru... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Using CFBundleGetVersionNumber I want to get the version number from info.plist using:
NSString *version = (NSString *)CFBundleGetVersionNumber(CFBundleGetMainBundle());
That doesn't give me the string value from Bundle Version that I expect.
This does give me the string I expect:
NSString *version = (NSString *)CF... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Canceling a task when the main thread has exited I have a main thread that starts a task but does not wait for its completion. I also have a cancel button on the UI, on the click of which I would like to cancel the task. I tried doing this at multiple places in the method in the task:
if (cancelToken.IsCancellationR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Moving the focus from One EditText to Another (Horizontal Direction) - Android I have a Scrollview as a parent view, within that i have placed some mixture of linear layout
and there is no probs in the design, but while testing the app, i found that there is a problem in movement of cursor, my intention is to move t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: forcing a scrollbar for fixed element accomodation i am using the jquery simplemodal plugin,
now i've set it up so that it uses a dynamic height, based on the content within it.
however i've run into a bit of a snag here, it seems that if i make the browser window smaller, it does not accomodate for the height of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SelectedValue lost when tabbing to a combobox (MVVM) I have a datagridtemplatecolumn with CellTemplate / CellEditingTemplate, works ok, after loading it shows the previously choosen selectedvalue bound from the model.
But the problem is that when I 'tab' through the columns the combobox loses it's selectedvalue and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to place one image at the corner of another in relative layout in android? I have two images. image A is a rectangle one and image B is a circular one. I want image B to be at the lower right corner of image A - 1/4th of it inside image A and the other 3/4th of it outside.
I am not sure how to do this using rela... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JQuery toggle not collapsing properly in IE6 I've got 3 divs using JQuery's toggle function to collapse divs:
The divs collapse fine in Firefox, but in IE6 (target browser), this happens:
If I resize the IE window, the divs go back to looking normal, as they do in Firefox.
I've tried to get the code down to its si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiple attributes with one attribute using js variable Hello I am having problems with Jade and Node.JS
I have the following code in my template:
- var css = assets.get('css')
each path in css
link(rel="stylesheet" href=path)
It gives me the following error:
SyntaxError: Unexpected identifier
But If I do the fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I make CGI::Session store session data on the server side using Perl? Is there any way to get CGI::Session to store the session id in something besides a cookie or a query string?
A: Storing session id in the cookie or in the query string are the only 2 ways HTTP protocol allows to transfer session id on e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JSP onclick event before passing the variable it updates in link I have a link in a jsp that looks like this:
<a href="link?var1=foo&var2=bar"target="_blank">text</a>
I have a form submit submitFormAsync('Form'); that sets a variable ${design.textVar}
How can I set an onclick for this link to submit the form and th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Importing an existing Eclipse project into MyEclipse workspace I am trying to import an existing project into my ECLIPSE wORKSPACE .
While importing the project into Eclipse using the
(Existing Projects into Workspace ) option from eclipse ,
i have got the following screen shot .
Now my question is What does the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Live tiles not picking up image from isolated storage Within my WP7 app, I am generating an image for a live tile and saving in Isolated storage.
It is then available for my periodic task to update the live tile with and everything is working fine in this regard for the periodic task.
The problem I have is at the p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery - Ajax call failing to reach success callback but still functioning My question:
My ajax request downloads a generated file as expected but never fires the success callback and fires the complete callback immediately. How do I get a function to be triggered by the completed download of the file?
Some details... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564453",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Blackberry Simulator problem I am using BB Java sdk 6.0.0.30 and I have installed BB 9780 Simulator Simpackage-6.0.0.285_9780 which I downloaded from BB site.
I installed this on net.rim.ejde.componentpack6.0.0_6.0.0.30\components\simulator, after runnig an application I am facing the following problems
1 Not able ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564459",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to know if an activity is called using startActivityForResult or simply called by using startActivity? or should i send some extra data in the Intent to know the call ?if there is no predefined method,like getIntent and do something with it ?
A: I think that you should expose several intents for the same activi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564461",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: Overriding a WPF window style in a Prism module I'm writing a module for a prism application that we do not control. The requirement is to show a web browser control in one of the regions. Unfortunately, each window derives from a CustomWindow class, that has AllowsTransparency=true. Having AllowTransparency=true pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot find new threads: generic error When I try to debug my C++ application using gdb, I get the following error:
[Thread debugging using libthread_db enabled]
Cannot find new threads: generic error
If I try to quit gdb, I get A debugging session is active. Inferior 1 [process 17785] will be killed.
I am not using... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564463",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove auto suggest functionality on Textbox I have one text box and i want load 2 auto suggest basis on radio button option
Means if user select option button 1 then auto suggest should load Product employee table.if User select option button 2 then auto suggest should load Custom Product table.
I am using ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems appending audio after AudioFileOpenURL I'm having a problem playing back audio data after appending extra recording to it. Here's the general sequence of events, which don't return any errors:
AudioQueueNewInput // Start audio queue
AudioFileCreateWithURL // Create audio file
AudioFileSetProperty ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Cofoja with Wicket (or even with just Maven) I am trying my darnedest to get Google Cofoja to run in my Apache Wicket application which uses Maven2 as seems to be standard.
The project was initially generated using Leg Up with the Archetype "Wicket 1.4.12, Guice 2.0, WarpPersist 2.0 (snapshot), Hibernate 3.5.6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Left join on multiple column performance? Assume that I have 2 tables :
table1 :(20.000 records)
id code1 code2 something status
table2: (7.500 records)
id code1 code2 name
All I want is list all records in table1 with the "name" in table2 by using this QUERY:
SELECT DISTINCT `tb1`.*, `tb2`.`na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: iOS: Core location turn off after update? Obviously to save battery we need to use CoreLocation as quickly as possible and shut it off when not needed. I have a GPS app that tracks a users location, so I use almost all good location updates. Do I still need to be turing off core location at some sort of interval?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: C++ equivalent of .ToString() There must be an easy way to do this...
// C# code
for (int i = 0; i < 20; i++)
doSomething(i.ToString() + "_file.bmp");
I'm trying to do this in C++, but it turns out that the simplest things are the hardest to do in that language. Mostly because there's a catch: I'm r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Embed two-dimensional arrays as part of higher-dimensional arrays in R My questions concerns how to cleanly deal with a bunch of data I have.
I'm running an experiment with 4 conditions. There will be 20 participants in each condition, and when each completes the experiment, I'm left with a text file that has 600 ro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564494",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Can I access azure applications from any device? I have read that to use applications present on cloud, the only requirement is a web browser and an Internet connection.
Does this mean that I can access applications on azure cloud from my low end phone that has a low speed Internet connection and an Opera Mini brows... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Obtaining Coordinates from "Share this place" in Google Maps When viewing the details of any location in Google Maps, there's an option for "Share this place". I have successfully added myself to the list of receivers by adding this intent-filter to my application in the manifest:
<intent-filter>
<action android... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Getting GPS data of a remote mobile I'm developing a mobile app, somekind of a social networking thing. There I'm planning to intergrate a Location searching facilty to users. Can anyone tell me is it possible to track the gps data of a remote mobile programatically(in j2ME specialy)? I'm preffer to doing this data ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to delete a session value from table when we close a browser I am a beginner in PHP. I got a problem related to session, I created a one table with username, password fields and one temp_session table with sessionID.
When I login with given username a session is generated and session will store in temp_session t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564512",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: assert fails when it should not, in Smalltalk Unit testcase I'm stumped. Here is my testcase.
theTestArray := #(1.2 3 5.1 7).
self assert: theTestArray squareOfAllElements = #(1.44 9 26.01 49).
The assert should not fail. On calculating the square of each element is correct. So I did "step into test", shows that t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to hint types when compiling with llvm-gcc? In some C code, I'm defining a simple static array as a function argument, say:
void foo(float color[3]);
When I compile it with llvm-gcc, it produces the following LLVM assembly language output:
define void @foo(float* %n1) nounwind ssp {
Is there any way I can hint... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564523",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to replace exec () through system command in php? My Coding is so far:
How to replace exec() through system command in php?
if($str!="success")
{
$cmd = "rm -rf /portal/data/config/certificate/tmp/";
$error_text="Command : ".$cmd;
AddLog("sslconfig.php",$error_text,ERR_DEBUG_HIGH);
$output = e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do some floating point numbers appear with a trailing 0 Does anyone know why the numbers 0.001 to 0.009 are rendered to a String with a trailing 0 but other numbers do not. e.g. numbers 0.01 to 0.09 do not.
System.out.println(Locale.getDefault());
for (int i = 0; i <= 20; i++)
System.out.println(i / 1e3);
p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564525",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Grid Panel Scrollbars in Extjs 4 not working var gusersPanel = Ext.create('Ext.grid.Panel', {
flex:1,
columns: [{
header: 'User Login',
dataIndex: 'user_login',
width:150
},{
header: 'User Name',
dataIndex: 'user_nicename',
width:150
},{
header:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564527",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Display popup for users I want to implement a popup as shown on Google maps, to rate restaurants (after search). The user hovers over the overall rating, and then a popup is shown on which user can rate. I am using jquery. The popup should disappear once focus is lost from the popup. So, basically I want to know how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Bug Merge Using Svn How to merge bug occurred in one branch to another ..
Example : There is bug id :1010 (this is fixed using some 2 files) Under branch-5 i want to merge same files(2 files) to branch-3
Can anybody please help out?
A: Well, the process is something like this. Say you are merging some commits made ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: django: use QuerySet.values() to return Python types? I've got a custom Field which converts the value to/from a Python type:
class MyField(models.Field):
# …
def to_python(self, value):
# …
return MyType(value)
Is there any way to trick QuerySet.values(…) into running the field-specific con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to disable PhoneGap APIs/functionality? Is there a recommended way to remove access to unneeded PhoneGap APIs?
For example our app does not need to access the contact database.
With normal web pages, an XSS vulnerability is sandboxed to only affect one site (the browser prevents any contagion to other sites). Wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JBoss deployment results in java.lang.UnsupportedClassVersionError: Bad version number in .class file When I am trying to hit my application in local machine I am getting a Http 404 error. When I see the console I am getting the below stack trace. Also the ear file is getting deployed in deployment folder but I am s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Web Service is not Responding I have a problem that I am calling a webservice which is running on Google Chrome RESTClient AddON Software and gives 200 response but when I called the same in my Android App It is not responding.
I don't know what is the problem for Android. Please suggest me for the right result.
Tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564535",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Compute covariance matrix using Excel In Excel, I have 10 columns of data from column A to column J, and each column has 1000 rows from row 1 to row 1000. I wonder how to compute the 10 x 10 covariance matrix of the 10 columns of data in Excel?
My partial solution is based on dollar signs and copying formulas:
Firs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564537",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Match url folders with a tag href to make an active state I made an active state for my menu on a certain urls. I have urls like this:
*
*/products/other-clothing/sporting/adults-anzac-australia-polo
*/products/other-clothing/sporting/adults-nz-tee
*/products/bags/backpacks
My code gets the folder from after t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Checking for Referential Integrity Violation before deletion in ASP .NET MVC I have an object Tag that is linked to a whole bunch of other objects. I am attempting to handle the Delete for this object. I simply don't want to delete the tag if it is associated to any other objects.
At the moment I am solving it l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564542",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to select records faster from a big database? I have a mysql table of postcodes with 200000 Records in it. I want to select just one field post_code from it and fetch the postcodes for auto suggestion in a textbox. I will do this using jquery but I want to know which method I should use to create code in php and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Exploring nutch over hadoop What possibly can i do with Hadoop and Nutch used as a search engine ? I know that nutch is used to build a web crawler . But i'm not finding the perfect picture . Can i use mapreduce with nutch and do some mapreduce job ? Any ideas are welcome . Few links will be greatly appreciated . Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564545",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What happens if printf is not handled I'm current supporting some legacy software written aeon ago, compiled in gcc 2.95.3. The program is ran in an SBC, occasionally I had to telnet into it to fix things. I notice that when the SBC is running on its own, it display some unexpected behavior e.g. missed executions.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: creating a black transparent modal view controller I wanted to create a modal view controller with a black background, but I want to make the alpha as 0.9, so I can still see the view behind it partially. How do I do this? I know I can use UIView and then just add that as a subview, however if I have a UINavigationC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564549",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Facebook Like Button with prepopulated Comment I've got a page with a table of items that the user can select. I'd like to add a facebook LIKE button.
When the user clicks the like button, it will popup the comment box, which I'd like to be helpfully prepopulated comment based on the items the user has clicked. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: QML - Move to top #TOP I am using a Flickable which is embedded in a Rectangle.
There is a button in the bottom of the rectangle.
My requirement is when I press the button my Flickable will move to top.
Its almost like #TOP in HTML.
Is anybody have an idea how to achieve this?
A: You should be able to set Flickable... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564558",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Showing a dialog in a thread I have a pygtk add which has a gtk.Button() which when pressed has to do a job of lets say 5 seconds. So, the thought of implementing the time-intensive function in the signal handler as a thread.
First of all, I have added gtk.gdk.threads_init() in the beginning.
My signal handler is de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564560",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Aligning a Child Div in a parent div
Possible Duplicate:
Make outer div be automaticly the same height as its floating content
I feel like I'm missing something very simple here...
We have a simple setup: a parent div that contains a child div.
I want to:
*
*make the parent resize its height based on the child... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Automated input generator for black-box testing I am a newbie for software testing. I want to know, is there any open source tool for automated test case generator black-box testing.
I found this tool KLEE: unassisted and automatic generation of high-coverage tests for complex systems programs, but to use this tool ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Linked Combobox (filter store) you need when choosing to download a combobox CountryComboBox combobox CityComboBox list of products filtered by field *city_id*. My code works, but not the first time))
Opt for the first combobox value - I go in the second - the filter does not apply. Click again on the first, again i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564565",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: GWT RPC: DTO vs. DAO? I've started learning GWT about a week ago and here's the question I can't answer for sure.
Here's the server-side:
// business object - has logic
interface Article {
String getTitle(); // lazy
void setTitle();
String getText(); // lazy
void setText();
Set<Comment> getComments(); // l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564568",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to apply parallelism-programming in graph problems? Problem Description:
there is n tasks, and in these tasks, one might be dependent on the others, which means if A is dependent on B, then B must be finished before A gets finished.
1.find a way to finish these tasks as quickly as possible?
2.if take parallelism... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How can I fix this mobile stylesheet bug for iPhones and ipods? This is how my mobile stylesheet looks on a live iphone device: http://awesomescreenshot.com/0b1l8g51a , the website url can be seen in the adressbar, it looks fine on ipod/iphone from the second generation. Thanks
A: @user257357; it's not only problem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to remove attributes from HTML using javascript? I have an HTML with say a textfield (input element).
<input name="capacity" type="text" value="blah blah blah">
This simply displays a text field on my page with a default value "blah blah blah".
What I want to do is remove value attribute, as I don't want to see... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Arabic words problem in LWUIT on some models I've created a gui using LWUIT which uses Arabic words (and so it is right to left)
It works fine on some models (Sony Ericsson T700 or Elm for example). But on some other models (e.g. Sony Ericsson w800) words are not displayed correctly: letters are separated and displ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any GWT fork around? I know that GWT is open-source and freely available. However just a curious question, is there any GWT fork around? I know one that can be considered which is Vaadin.
Cheers.
A: You did already answer your question, but there are others. The first that comes to mind is Pyjamas, which ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7564583",
"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.