text stringlengths 8 267k | meta dict |
|---|---|
Q: How much stack space does this routine use? Assuming the tree is balanced, how much stack space will the routine use for a tree of 1,000,000 elements?
void printTree(const Node *node) {
char buffer[1000];
if(node) {
printTree(node->left);
getNodeAsString(node, buffer);
puts(buffer);
printTree(nod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Automating TestFlightApp with Xcode and Provisioning Portal I currently have a fairly manual process when releasing a new build in TestFlight:
*
*Download the additional devices text files from TestFlightApp
*Log into the Provisioning Profile
*Upload devices
*Update the Provisioning Profile to include the newl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How can I pass two models to a class based generic view I have an app called "blog" that has a model called "Entry". I use a class based generic to view this Entry and I am happy with this.
Now, along comes another app called "Eventapp" that has a model called "Event". Now I want to query this model for a few events... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Invalid index N for this SqlParameterCollection with Count=N only when associated table has null record I have a rather complex entity which will not save when a particular database table is missing a record. When the record exists the entity saves correctly. When the record does not I receive the exception:
Invali... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Core Plot show 'Loading' spinner I am using core plot (0.4) to render a graph and it is working fine. However (especially when on the iPad) the graph can take a while to render. I have added a UIActivityIndicatorView to the graph which shows up when the graphs starts to be drawn, but I can't find any event to hook... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: git: list all files with owner/identity at first commit (or rather, the first user to commit the file) How do I, using git, list all files in a particular directory together with the owner/identity of those files at first commit?
Is getting slices of information like this across many files usually difficult?
Edit:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Importing a Site Collection as a Subsite in powershell I have a site collection that has subsites underneath it, and I want to move the entire collection so it's a subsite of another site. Thing is, the URL site collection I want to move is the same URL that I want the new subsite to be. I researched how to basicall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576208",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What changed my WordPress .htaccess? My WordPress site went down with an error 500. After looking around, I restored the .htaccess and that fixed it. My question is what in WordPress could have changed the .htaccess by itself? Do plugins sometimes do this? What about adding sub-domains within CPanel? Any way to prev... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576209",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xcode 4 organization, Views and Controllers Thank you for reading this.
These are my first steps in the iPhone Ipad app programming.
In order to learn from scratch (and because I know my app would need dynamic views), I decided not to use Interface Builder.
My question is(regarding the fact that I don't use IB): how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where does Firefox store the sessionStorage content I am trying to find out where Firefox stores the sessionStorage content but have been unable to find so. I am expecting it to be in a SqLite database like the localStorage content is stored but I have not been able to find it.
So far, I have searched all the typica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Assigning a domain name to localhost for development environment I am building a website and would not like to reconfigure the website from pointing to http://127.0.0.1 to http://www.example.com. Furthermore, the certificate that I am using is of course made with the proper domain name of www.example.com but my test... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "70"
} |
Q: I can't seem to get the value I want from UIStepper I am using iOS 5.0 and I'm trying to get a value from my UIStepper.
I set the minimum to 0.0
The maximum is 25.0
The step value is 1.0
The starting value is 15.0
If I tap the + button ten times, the + will grey out so I know I'm at the max.
I've wired the "value ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576219",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how test if char array is null? I've been doing (in C)
char array[100];
if (array == NULL)
something;
which is very wrong (which I have finally learned since my program doesn't work). What is the equivalent where I could test a new array to see if nothing has been put in it yet?
Also, how do you make an array e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576222",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What is the difference between `void f1(const Class &c)` and `void f2(Class const &c)`? What is the difference between these below functions ( Look at keyword const ) ?
void f1(const Class &c)
and
void f2(Class const &c)
A: There is no difference. The two versions are interchangeable.
A: There is no difference b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576223",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: is better long and repeated msgs with .volatile flag or shorter but 'un-missable'? I want to make an app that relies in socket.io to offer real-time collaborative editing and I wonder which of these cases is better/faster:
<textarea id="some-id" onkeypress="broadcast()" ... >Type your text here</textarea>
*
*eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does JNLP (java web start) require server cooperation? I am trying to load a JNLP but my server always return a 404. The path is correct and I haven't modified anything from the demo so I am certain that is not the problem. Is it the case that my hosting simply does not support JNLP and I should find a one that do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Windows 7 Explorer support Multi-line Text for custom column? I've implemented a custom property handler for windows explorer using .NET 4.0. Everything is working except columns with multiple values is shown on the same line separated by ";".
I've tried to set the drawControl's control attribute to Default, M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576236",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android SDK Manager repeatedly gets stuck while downloading
Possible Duplicate:
android SDK and AVD manager getting stuck
This is not the same as some of the other SDK Manager errors people have already posted on SO. Others have posted about permissions problems, and occasionally someone runs into some kind of da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576237",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Scripting in Bash I have a function in bash say parse which takes one argument and function name is f. My file to be processed is somewhat like
a@b@c@
a@d@e@g@
m@n@
t@
I want to give the output as
a@f(b)@f(c)@
a@f(d)@f(e)@f(g)@
m@f(n)@
t@
That is apply function f to all except the first. Any clues so how can I do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Use of Iterator in java I have a object type list like
List<Object> getRecords = records.getAllRecords();
ArrayList<String> recordsDetail = new ArrayList<String>();
recordsDetail = this.getRecordsDetail(getRecords.get(3));
model.addAttribute("recordsDetail", getRecords.get(3));
But when I am writing the method like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why is my custom annotation logging bean null during autowiring? I created a custom annotation for logging following the example in this blog post almost exactly. The main difference that I can see is my LoggerInjector is annotated with @Component.
The annotation works great and I get a non-null Logger instance eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Need example EXTJS4 app with dockedItems The following app displays a toolbar on top of some HTML:
Ext.application({
name: 'app',
appFolder: 'app',
launch: function() {
Ext.create('Ext.container.Viewport', {
layout: 'border',
items: [
{
region: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Calculate the number of input sequences that could result in the same state of hash table I encountered this problem while preparing for a test.
A hash table of length 10 uses open addressing with hash function h(k)=k mod 10, and linear probing. After inserting 6 values into an empty hash table,
the table is as show... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: cakephp, how can I add a class to the url instead of the image I wonder what is the most cakey way to do this. When I do:
echo $this->Html->image('uploadimage.gif', array('alt'=>'Upload Image', 'class'=>'nyroModal', 'url'=>'#test'));
It outputs:
<a href="#test"><img src="/img/uploadimage.gif" alt="Upload Image" cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple 3D projection and Orientation handling? I'm currently working on a quirky retro flight sim and I've run into a few problems with my 3d projects, in so much as I can't find any solid generic documentation on the subject.
How do I convert simple positional vectors in my game world into 2d vectors on screen give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: maven-exec-plugin throws exception for no apparent reason I type the following in a Windows shell in the root of a Maven project that contains a class with a
public static void main(String[] args)
method that I'd like to run.
mvn exec:java -Dexec.mainClass="com.spp.config.main.SqlGeneratorHarness" -e
The class ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576265",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Does Azure Storage Tables have RowKey individually indexed to take advantage in subpartition queries? I need to know if the Azure Storage Tables have indexed the RowKey separately from the PartitionKey in order to do a query of this kind...
Assumption: My table have Forum Posts having PartitionKey = UserEMail, RowKe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: property file path changed during ant build <propertyfile file="${build.dir}/MyProperties.properties">
<entry key="releaseInformation"
type="string"
value="${build.time}"/>
</propertyfile>
When Ant copies my properties file over to the bin directory there is a property in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576281",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Admob on android - UUIDs, cookies etc Ok, so I am very new to the world of Android apps (in fact, I've just about got past the hello worlds and understanding the sdk). I was looking into how free apps make money and Admob seems to be one of the most popular ways to put ads on your app - I should state that my study ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I'm Making a set of frameworks. I want to support multiple programming languages I'm Making a set of frameworks.
I want to support multiple programming languages.
My question is what language should i use as the base?
and is there a way to multiple bindings?
I want to support all these programming languages.
C, C++... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery.ajax is hitting the url of a previous call, no matter which url I pass to it The following call should try to hit "/getSomething". However, it's hitting "/previousSomething", a url fetched previously via jQuery.ajax. I see the request to the old url go out, however neither the "success" nor the "failure" func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: (#120) Invalid album id I currently have the following code. But the graph api still return (#120) Invalid album id. If i look at $facebook_album or https://developers.facebook.com/tools/explorer/248099655226775/?method=GET&path=213152142082066 it shows an album. So the album does exist.
public function save_faceboo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576292",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Input Box Alignment? How can I get my boxes to align with one another if the text in the is longer than the others.
I have this entire form within an unordered list.
I have copied and displayed the code via jsFiddle, you can find what I am speaking of here...
http://jsfiddle.net/EFByC/
A: Your <label> tags were w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Add stylesheets and .js files to tinyMCE editor in wordpress? I would like to had some jquery files and stylesheets to the head of the tinyMCE editor of wordpress. Any suggestions on how to do this?
A: Use an own plugin or the tinymce setup paramter
// Adds an observer to the onSaveContent event using tinyMCE.init
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to designate a Rack handler Rackup is successfully running any Rack app via Rack's default handler. e.g.:
class RackApp
def call(environment)
[
'200',
{'Content-Type' => 'text/html'},
["Hello world"]
]
end
end
run RackApp.new
But rackup is giving "NoMethodError at / undefined method... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Help with a c++ statement The following statement is from WebKit. I am not 100% sure what it means. Any clues?
new ((void*)&nullAtom) AtomicString;
A: It's a placement-new. It means that the AtomicString object will be constructed at the memory location pointed to inside the parentheses (&nullAtom), rather than t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576303",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Database: Sharing two sets of values in a single table? I'll start by saying I am not a DBA and I didn't get to do heavy database development so far (so I hope I'm not asking something obvious).
The Challenge:
*
*I have a dictionary application with pre-defined values.
*New values may be added via online updates... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Message box in asp.net website using (DataServer server = new DataServer())
{
server.ExecuteNonQuery(CommandType.Text, updateuser, param);
}
MessageBox.Show("User succesfully updated");
I have a update button when The fields are updated I show a message box, but the problem is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Exporting to Excel .xlsx from a Python Pyramid project I know about the XLWT library, which I've used before on a Django project. XLWT is very neat but as far as I know, it doesn't support .xlsx which is the biggest obstacle in my case. I'm probably going to be dealing with more than 2**16 rows of information. Is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Updating a tk ProgressBar from a multiprocess.proccess in python3 I have successfully created a threading example of a thread which can update a Progressbar as it goes. However doing the same thing with multiprocessing has so far eluded me.
I'm beginning to wonder if it is possible to use tkinter in this way. Has... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to use a pointer's methods in C++? I have a code in which I use a pointer to a class that I made. As an example lets say I have a Person method, and each Person had a name. Now lets say I use a pointer for a person like
Person& * person_;
Now lets say I'm trying to get the name of the person using the pointer ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery Recursive / "InAJAXResponse" usage I'll present my problem in a topic manner bellow, tks in advance for reading!
Function:
$("#someAJAXContainer").load("someHTML.html");
Context: I want to have only one start page and then I'll add a div on the middle where all the content will be loaded dynamicly. Very simi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Display an image 2nd edition I have a problem with my c++ opencv program. It should show a picture I loaded in, but after debugging only a grey window pops up. Here is my code:
#include <cv.h>
#include <highgui.h>
int main(int argc, char* argv[])
{
IplImage* img = cvLoadImage( "IMG_7321_.jpg" );
cvNamedWind... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576317",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom Control that exposes Button Control's OnClick event I need to design a custom control that is basically going to be a fancy button, let's call it CtrlButton.
I want to drop these on my blank form, then go to the Events for my control and specify what to do for the Click event.
If my custom control CtrlButton ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Connection error using Rails 3.0 and Mongo 1.4.0 I created a library that would record events to MongoDB from my Rails application. I'm using version 1.4.0 of the mongo gem and Rails 3.0 w/Ruby 1.8.7. The relevant code is:
def new_event(collection, event)
@conn = Mongo::Connection.new("localhost", 27017, :pool_s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android: loading from SQLite Database So I'm still building a Database to support a project of mine. There are two different things to be saved: first, attribute values of some player objects and second, simple values stored in a java class.
ATM my problem lies in the process of loading values of a player object and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What do the keys in Facebook's 'data-ft' JSON structure represent? On Facebook pages, many HTML elements include a 'data-ft' JSON object that is of the form:
data-ft='{
"src":10,
"sty":263,
"actrs":"117307284966434",
"targets":"117307284966434",
"pub_time":1317143005,
"fbid":"153538678072594",
"qid":"565709260354027... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: cakephp auth login problem, only white screen after login I’ve created a small cakePHP application that uses the auth component to manage an admin section for changes.
The problem I’m having ‘only in the production environment’ is that after I login all I can see is a blank white screen. I should be redirected to a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Flex AreaChart gradient fill not applying ratios correctly When doing a gradient fill on an area chart, the gradient ratios are used only between the min and max of the chart. The area below the min is then filled with the last color in the gradient.
To make sure that it was using the ratios only between the min ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery datepicker with codeigniter issues I'm trying to write a sign up form using CodeIgniter and want to use the jquery datepicker for DOB, but the following isn't working. This is the entire page:
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="http://localhost/cc/css/style.css" type="text/css" m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Refining the return type of a method in a subclass Say I have the following two classes:
public class A {
protected A create() {
return new A();
}
public A f() {
return create();
}
}
public class B extends A {
@Override
protected B create() {
return new B();
}
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: CSS to keep element at "fixed" position on screen I'm looking for a trick to create a "fixed" HTML object on the browser screen using CSS. I want it to stay in the same position all the time, even when the user scrolls through the document. I'm not sure what the proper term for this is.
It would be like the chat but... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "71"
} |
Q: How could this be optimized?/Class Splitting Not sure if it will actually be more optimized, however What I am trying to do is take all of this code and possibly split it up within different classes? So far it is all just one class but We have been leaning more and more to multiple class projects so I am trying to f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can this Java program ever print a value other than zero? I have a favorite C# program similar to the one below that shows that if two threads share the same memory address for counting (one thread incrementing n times, one thread decrementing n times) you can get a final result other than zero. As long as n is rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576348",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Benchmarking/Performance testing of the API - REST/SOAP I'm trying to benchmark/ do performance testing of API's at my work. So the client facing is REST format while the backend data is retrieved by SOAP messages. So my question is can some of you share your thoughts on how you implement it (if you have done so in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: JQuery problem with stop() and delay() within animation As you can see on http://jsfiddle.net/FrelCee/5zcv3/4/ , i want to animate those 3 divs when the container is hovered.
Problem is this ugly queue that appears when you fast hover more than once.
I also tried using .stop() function, but then the delay() isn't wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: License Based Configuration in C# Windows Application I am working on a Windows application in C# (.NET 4.0) and need something to implement some basic ACL rules or more specifically, apply certain configurations based on the user type.
The application has license keys that we are able to use to determine the user t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Structure a python project with 2 different applications I am planning to write a visitors' kiosk in python/GTK. The project will have two applications, the frontend for the kiosk and the backend for management linked to a MySQL DB.
I want both applications to have common code.
I was thinking of structuring the pro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576368",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: UILocalNotification nil userInfo I try to cancel a Local notification. I attach a dict with a Id for locate it later:
+ (void) send:(NSString*)title actionText:(NSString *)actionText when:(NSDate *)when count:(NSInteger)count option:(NSDictionary *)options
{
UILocalNotification *notif = [[UILocalNotification al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576375",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jquery mobile data-icon not appearing on a mobile device I have a mobile web application (.NET MVC) and I'm using JQuery Mobile (beta 3 & jQuery 1.6.3). My question is regarding the attribute 'data-icon' on various elements. For example, I have an element:
<a href="@Url.Action("Index", "Home")" data-icon="home" da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How can I create a searchable attribute for a page on Confluence wiki? I want to create a page in my confluence wiki which has a searchable attribute. Right now search is limited to the pages text, and then filtering using tags. It would be great if I could filter further based on defined page attributes.
A: The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery UI DatePicker with nested_forms Gem I've looked at this but this didn't solve my issue but it's the same circumstance. jQuery is loaded just fine.
Here's my 'nested_form':
<%= f.fields_for :events do |event_form| %>
<%= event_form.text_field :name %>
<%= event_form.text_field :date, :class => 'event_date' %>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PyCharm code completion: how to prevent space key and "dot" from committing lookup item How does one disable the space key from committing the suggestion when using code completion?
If I attempt to name something "req" for example, when I'm done typing, and enter a "space," I wind up with "request" instead -- this b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576393",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Span inside div? problems in ie8? I have span tag inside div tag.
var a = jQuery("<span class = 'B'>");
For some reason i am not able to see the contents of var a on ie., but I can see the contenet on mozilla.
A: You have no div there.
Try this one
var a = jQuery("<span />", {class:'B'}).appendTo('#yourDiv');
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7576396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bash and MySQL variables error I have the following script:
#!/bin/sh
Q=`</dev/urandom tr -dc A-Za-z0-9 | head -c30`
mysql -uusername -ppasword accounts -e "update forum set key='$Q' where id='1';"
I have to add back-ticks (``) to "forum", "key" and "id", otherwise it returns me an error:
ERROR 1064 (42000) at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576398",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: js migrate question When I moved a paragraph of javascript code from a php file to a individual js file, the js doesn't work anymore.
I just simplely removed the "script" tag and paste all the js code into js file.
Did I missing some codes or tags?
The code is
<script>
_i = <?=$k+1?>;
function addlng() {
_id = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576402",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mediadisplay complete I am use Mediadisplay in stage. I want to make show button When video is complete.
But not show play button after video completed. How can I do this. Thanks for answers.
general.video_button.onRelease = function(){
general.video.play(0);
general.video_button._visible = false;
}
general... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: EditorFor dilemma I understand that Html.EditorFor is the best practice for creating form fields, but I'm really annoyed that I cannot add html attributes to it.
I understand the reason for that, but I just cannot imagine form fields without css class declarations. Is it really the formal best practice to use Editor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576406",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Know of any JQuery slider that also magnifys the current slide? I'm looking to create a similar effect to the one used in the header bar for this page:
http://www.sjlwebdesign.co.uk/portfolio/
Any idea's on a plugin or method that would achieve this effect easily?
Edit: When i say similar, I would like to have an ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576410",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to get the rotation and scale between two images with only a Surf Descriptor of each? I'm using Surf for landmark recognition. This is the process I thought:
1) save before hand one Surf Descriptor for each landmark
2) A user takes a photo of a landmark (eg building)
3) A Surf Descriptor is computed f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to stream an XElement/XDocument with WCF? I have the following method signature. I cannot change it (i.e. I cannot change the return type).
public Stream GetMusicInfo(string songId)
{
XElement data = dao.GetMusicInfo(songId);
// how do I stream the XElement?
}
How can I stream the XElement/XDocument wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to hide UITabBar on a UITabBarController that I didn't subclass? Visually this is what I want
I have a UITabBarController. I want to hide the UITabBar when the user enters the middle tab. The middle tab's loads a view controller of class B. This is the behavior of the popular camera app Instagram. Their middle t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to do a live midi streaming? I'm looking for help in my research
I'm trying to generate live midi so that people can listen to it via a web browser
I'm not sure but I'm guessing there must be a way to set up a midi server to accept connections from my desktop with midi sequencer , sending that midi data to an on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Javascript literal escaped in IE but not Firefox, Chrome or Safari I have generated inline code that assigns values to a javascript array. One of the elements of the array should be set to "c:\folder\somefilename". The statement is huge so I omitted most for the sake of brevity:
<SCRIPT type="text/javascript"> ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576438",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Print Alfresco exception I've some problem printing the exception stack trace for Alfresco Exception.
On debug mode, step by step under Eclipse IDE I'm able to see the message when the exception is raised inspecting the Exception object but, when I send the error message to console output it's always null.
The exc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to use Email tag in HTML5 In HTML5 there is a new tag
<input type="email">
when I am using it in a form, the error it shows when i leave it blank or put a non email text or in it looks pretty weird . How can I change the CSS and text for that error box ??
A: For Google Chrome, you could use the following ps... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576442",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reading response from (simulated) asynchronous file upload with jQuery, IFRAME I am simulating an asynchronous file upload by targeting an iframe, like so:
<form id="upload_form" action="upload.php" method="POST" enctype="multipart/form-data" target="upload_iframe">
<input type="file" name="upload_input" />
<ifr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django: How can I gzip staticfiles served in dev mode? My django.contrib.staticfiles settings seems to be ok as all static files get served as expected.
However, eg. /static/*.css files do not get gzipped although I have GZipMiddleware turned on.
Fyi. my views html actually does get gzipped, only the files served by... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Format an SQL query in Python without executing it Python has all sort of libraries to interface with databases, which provide a nice way to build SQL queries without worrying about SQL injections. For instance, with sqlite3:
for t in [('2006-03-28', 'BUY', 'IBM', 1000, 45.00),
('2006-04-05', 'BUY', 'MSOFT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576451",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I stop images or flash from loading into the browser? I am creating a web page that accepts a hyperlink from the user and displays that page in an iframe. While rendering the page, I would like to show just the text and simple colors, thats it.
I would like to block all the media files like images and flash ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Consume an RSS Feed for Syndication in Jekyll I have two jekyll web sites, and I want to syndicate some of the content (one of the categories) from the source blog to the receiving blog via syndication.
I can see how RSS feeds are automatically created with jekyll, but how does one consume them on another site - so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576460",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why do I get "SOAP Response Version Mismatch" Following is the flex code to import a csv data file via c# webservice.
private function Import():void{
CursorManager.setBusyCursor();
var op:Operation = Operation(_webservice.getOperation('ImportData'));
op.addEventListener(FaultEvent.FAULT,operationFault);... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576465",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How does java.util.concurrent.RecursiveTask work? could anyone tell me the logic behind java.util.concurrent.RecursiveTask? I couldn't find the source code either on a very cursory look, so maybe someone can point me to it as well? Thanks.
A: You can look at a hyperlinked source.
A: You could just get the java sou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576469",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DataBinding To Two Sources I have a need to use two listboxes, each bound to a different collection.
i originally had this working with one listbox and binding before the need to bind two came up.
Here is how I was doing that.
<Window x:Class="TeamManager.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576481",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Submit data with ajax & jQuery I need to submit some data via ajax. It is not a form, but there are couple of radiobuttons on the page that belond to a form.
I need to detect which of the two radio buttons is selected when I send ajax request, without submitting the form and append that value to my ajax post. How do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576483",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Gesture starts in one UIView, continues in another? In brief: Is there a way to hand-off an in-progress drag gesture from one view to another?
More detail: I'm working on an iPad app. Imagine a situation where there's a playfield in the middle of the screen. On the borders are a bunch of "pieces" that can be dragged... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576484",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP grouping by data value My data variable:
1=icon_arrow.gif,2=icon_arrow.gif,3=icon_arrow.gif
I need it to be grouped by the value after =, so in this case it should look like this:
$out = array('icon_arrow.gif' => '1, 2, 3');
The 'icon_arrow.gif' field need to be unique, and can't repeat.
How it can be done?
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576488",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does Sphinx auto update is index when you add data to your SQL? I am curious as to whether or not Sphinx will auto update its index when you add new SQL data or whether you have to tell it specifically to reindex your db.
If it doesn't, does anyone have an example of how to automate this process when the database da... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576489",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Toggling a boolean with link_to I've read through the relevant Stack questions but still seem to be hitting a routing error with the following code:
Routes.rb
resources :memberships do
put :toggleon
put :toggleoff
end
Memberships_controller.rb
def toggleon
@membership = Membership.find(params[:id])
@me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576497",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ruby 1.8.7 why .to_yaml converts some Strings to non-readable bytes Parsing some webpages with nokogiri, i've got some issues while cleaning some Strings and saving them with YAML. To reproduce the problem look at this IRB session that reproduces the same problem:
irb(main):001:0> require 'yaml'
=> true
irb(main):00... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576500",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Easy way to run procedure in the background I'm running stored procedure from asp.net front-end but it's quite long. What is the easy way on running that thing in the background? I mean if I close the browser, I still want my stored procedure to complete not just die. Also, I would like to perform other actions on t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to detect crawlers in Asp.net MVC I'm using an action filter that checks what browser version is being used on my site, if it's an older browser I put up a div at the top asking them to upgrade. I don't want web crawlers to get the div message, so I've implemented HttpBrowserCapabilitiesBase.Crawler and it looks... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Best way to create automated testing in a Java environment I have been tasked with finding the best way to do integrated unit testing. We have a very large Java EE 5 application (desktop). Right now we use a tool called QF-TEST which is pretty cumbersome for large tests and can be difficult to use (easy to break) ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576510",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I use Python's pprint module to pretty print out dictionary key value pairs nested with in a list? I would like to pretty print out each key value pair from dictionaries which are nested in a list. So here is what I am working with:
[{"updated_at":"2011/09/26 22:39:18 +0000","url":"http://diveintopython.net/h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576513",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Install node.js on jailed shell I am trying to install node.js on jailed shell of shared web-server. I have managed to install git, and get a copy of node.js. I was compiling like this...
./configure --prefix=~/opt
(I have an ~/opt/bin directory which allows git to execute - so thought it was a good place to put it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576515",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: counting number of words after last occurrence of every word in an array of strings i am working on text. I want to find the number of words after the last occurrence of a particular word in an array of strings.For instance,
String[] array={cat,rat,cat,bat,cat,cat,bat,fat,mat}
and I want to find the last occurrence ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Negative weight graph edges? We all have seen graphs with edge weight where the weight may represent anything from
lengths, costs, etc ..., but what does a negative weight edge stand for ?
e.g lengths my apply to road lengths in real world, is there a similar analogy for negative weight ?
Thanx
A: Imagine that you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Improving Mergesort. Improvement 3). Use one less copy between input and temp arrays I am currently working on a project for my algorithms class and am at a bit of a standstill. We were assigned to do improvements to merge sort, that was in the book, by implementing specific changes. I have worked fine through the f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: favorites button in the tableviewcells I implemented the following method in my tableviewcontroller for showing favorites with empty star and filled star:
-(IBAction) tapped:(UIButton *)sender
{
if([sender isSelected])
{
//...
[sender setImage:[UIImage imageNamed:@"fav-empty.png"] forState:UI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576522",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In a class is a variable not accessable from other thread I have an byte array declared in the header of the class. When I want to access it in the audio event Methode of the microphone the array is NOTHING and not available in this class on this point.
Any idea how to declare the array to get access in the other th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7576524",
"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.