text stringlengths 8 267k | meta dict |
|---|---|
Q: Zend Dojo Element Id missing I am creating a Zend Form using Dojo elements and I would like to layout the form elements using CSS. Unfortunatly the element is not being given an ID like all other elements in my form.
Output
<dt id="purchase_required-label"></dt>
<dd><table id="widget_purchase_required" class="dijit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Open Source Scripting Languages that work well with Microsoft SQL Server I have been using PHP for a number of years now and have found it to be (relatively) well documented, easy to work with, to setup and to use.
One of its main advantages is its capablility of working, without many modifications, similarly on a W... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is sparrow framework compatible with iOS 3.0? I am new to iOS development. I want to build a simple game with sparrow or cocos2d (whichever of these i find more useful). I want to know that whether sparrow framework is compatible with iOS 3.0. I wanted it so that the game also works on iPhone 1. I also want my game ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: UITableViewController change navigation button I have several UITableViewControllers where I am trying to change the background image of the "back" button or navigation button (see image below). How is this possible?
button http://casperslynge.dk/button
Thank you.
A: Just set the tintColor of the UINavigationBar.
F... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to Read a csv or text file and put into list I am new to android programming, I am trying to read a simple list , like a grocery list, from a text file (.txt) to put it into a list for an app I am making I was wondering how I would do this I or if anyone knows any tutorials for a simple tutorial. I am also work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery ui - autocomplete - several parameters for input I wanted to do search the streets with autocomplete.
Select Province, city, street. Has a problem that based on the selected region and fetch parameter passed to the search of the city in a region. Later, the street on the basis of the parameter state and city.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Viewing available methods In XCode, when I am about to write method call, pressing Esc shows all the available methods from that class and all it's superclasses. Is there a shortcut to show ONLY the methods defined in that class?
A: I don't think so. But you can see the .h file of the class. Press command and clic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Widget integrated going out of its own zone I got a main window (Item) with a 640*480 size.
I integrated a custom widget defined in another qml file, its size is 100*100. This item contains a Pathview that only shows 3 items from a list containing a lot of items.
The thing is that when I add my CustomPathView to my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaScript Future Date Failing Checking Date these dates fail What do I need to change?
20 Jan 2013
20 jan 2013
20 JAN 2013
2 Jan 2013
30 Jan 2013
20 feb 2013
20 jun 2013
Code:
function ValidateFutureDate(alertstring,pCheckDate)
{
// Default Return Variable to return success.
var returnSuccess = 1;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Animated Images in ImageView? Example Images
Would implementing these into an android app as an ImageView be the same as implementing a regular image, or would problem, low performance occur since they are .GIFs?
I am aware that .PNGs are the go to image for android so is it possible to create animated .PNG images, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unit test to verify that a repository loads an entity from the database correctly I have a simple standard repository that loads a composite entity from the database. It injects all dependencies it need to read the complete entity tree from a database through IDbConnection (wich gives the repository access to IDbCom... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I change acceptance with decimal separator to . instead of , with input in Netbeans IDE 7.0.1 on Windows 7 x 64 english? How do I change acceptance with decimal separator to . instead of , with input in Netbeans IDE 7.0.1?
This is within Netbeans itself like trying this -->
System.out.println("Cost?: ");
cost... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call native code which draw in WPF Image from C# code? I have a native library (no sources available) wrapped into C# code.
The following C# declaration exists:
[DllImport(DRIVER_DLL_NAME,
CallingConvention = CallingConvention.Cdecl,
EntryPoint = "RenderBitmap")]
private static extern int RenderBitmap(int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Handling VB.NET DataRow Input string was not in a correct format for a null value I am looping through the rows of a DataRowCollection and assigning the fields of each row to a variable. I always get "Input string was not in a correct format" no matter how I cast this. I just need gapCd to contain 0 if the field is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610861",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why its returning an error? #include <stdio.h>
int call()
{
extern int b;
b=10;
printf("%d",b);
}
int main ()
{
int b=8;
call();
return 0;
}
Why is throwing an error like these do I get the following linker error:
/tmp/ccAsFhWX.o:meka.c:(.text+0x7): undefined reference to `_b' collect2: ld... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: modifying least significant bits in double (Java and C++) How to set to zero N least significant bits of a double in Java and C++?
In my computations, the "...002" in 1699.3000000000002, is caused by numerical error, so I would like to eliminate it.
A: I'd guess that you are actually doing currency calculations. In... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to trigger an event after using event.preventDefault() I want to hold an event until I am ready to fire it e.g
$('.button').live('click', function(e){
e.preventDefault();
// do lots of stuff
e.run() //this proceeds with the normal event
}
Is there an equivalent to the run() function described ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "191"
} |
Q: Javascript autogenerating getters for corresponding property name issue Hi I do not understand behavior...
var myObject = {};
for (prop in obj){
var fnName = "get" + prop;
myObject[fnName] = function(){
return obj[prop];
};
}
I have object "obj" containing properties which have objects assigne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parse string using RegEx and C# I have the following Regular Expression-
string s = "{\"data\": {\"words\": [{\"wordsText\": \"Three Elephants /d
in the jungle\"}]}}";
string[] words = s.Split('\\',':','[',']','{','}','"');
foreach (string word in words)
{
Console.WriteLine(word);
}
Whic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the meaning of "Min xfer" and "throughput" in the output of IOzone I'm a new user of IOzone, when I run the IOzone with the command: ./iozone -i 0 -i 1 -t 2 -T, it generates the following result(partially):
Command line used: ./iozone -i 0 -i 1 -t 2 -T
Output is in Kbytes/sec
Time Resolution = 0.000001 secon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What is the purpose of Dynamic Bean in ATG I've read documentation, but there is no definition of the main purpose of Dynamic Bean. I understand how to implement this but dont know why this approach so good.
So could someone tell the situation when it's good to use Dynamic Bean?
Thanks
A: Dynamic beans typically al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: jQuery change text in link I have a simple question for jQuery...
I have a table with a link like this
<table>
<tr>
<td class="views-field">
<a href="ciao">201105</a>
</td>
</tr>
</table>
Now I would change the link's text from 201105 to 2011-05
(simple add a "-" after the first 4 characters)
I tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610879",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Combining SVN repositories I have multiple svn repositories, that i'm trying to combine to one.
I did a couple of svnadmin dump {old-repo} | svnadmin load --parent-dir {new-subfolder} {new-repo} runs to combine them all. However is there a way to point the working copies to the new revision?
If I do a svn switch --r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Making a program with singletons multithreaded C# I have written a program in C#. Now I finished all the functionality and it works. But only running with one thread. I'm doing a lot of calculation and sometimes loading about 300 MB or more of measurement files into the application.
I now want to make the program m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: artifactory classifier metadata snapshot maven 3.0 My problem is "simple" but I didn´t found the solution until now:
I have 2 projects.
*
*Project A built with a classifier (called dev or pro) with help of a specific profile
*Project B with a dependency to A (using classifier dev or pro)
*I execute install goa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JavaScript date() Object returns NaN with getYear (and other) I am currently having some issues converting a string dateTime object in JavaScript
I am assuming it is because my string cannot me used properly in a new Date() but I'm not sure that is the problem.
My Input: "2011-09-29 14:58:12"
My code:
var date = "2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How do I create a dynamic mouse cursor .NET without using interop? I have an application which I'm interested in eventually porting to mono so I'm trying to avoid using p/invoke's to accomplish this task.
I would like to load a cursor dynamically, as in I have a Bitmap that is generated on the fly in the application... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is it possible to unset a session variable with a specific and variable index? Let's say I have this specific session variable, $_SESSION['cart_'.$itemid].
Is it possible to sort all through session variable and find the once with index 'cart_'.$itemid and unset them?
A: Sure. You could do something like
foreach (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery img.attr('width') returns zero.. IE7 Works in all browsers except <= IE7..
Check this example, http://jsfiddle.net/uVRbG/1 in iE7.
When I remove the style display:none from the object however, it works correctly:
http://jsfiddle.net/uVRbG/2/
I don't get it, I simply want the hardcoded value...it shouldn't ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610892",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I return a class that inherits a generic list? I have this class:
public class CampaignMaps : List<CampaignMap> { };
The CampaignMap object is my of my own and does not inherit anything. It has your standard properties and methods.
I then have a CampaignMapAdapter object which acts as the data to my ObjectDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to insert value into xml? I am really new to XML and JDOM so I have a noob question, sorry for that. I have a XML file and I want to insert value into it. My XML file is like that;
<?xml version="1.0"?>
<message>
<header>
<messageType> </messageType>
<sendFrom> </sendFrom>
<HostName>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I use SQLite to read data from the Firefox cookies file? In my Firefox profile directory there is a cookies.sqlite file which holds the data for Firefox's cookies. I grabbed the Firefox SQLite Manager extension and loaded this file, which works, but how can I use plain query commands to read the cookies out o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610896",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Accent insensitive string comparison? Is there any way to do an accent insensitive string comparison? For example, é == e? I couldn't find any options to pass rangeOfString:options:. Any help is greatly appreciated.
A: You want to pass the NSDiacriticInsensitiveSearch option to whichever method you use (e.g. compar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610898",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: How do I host a Django project's admin static files? I've heard I should use Apache for serving static files in a production environment. I'm having some problems understanding how I'm supposed to do that though. My project's static URL is /static/, and django.contrib.admin's static path is /static/admin/. Those are... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Increase shipping price and/or add line item for extra cost I'm implementing a custom FedEx integration solution for a Magento site. Part of this is to add a signature requirement checkbox in the onepage checkout, and add $3 if this is checked. Unfortunately it seems that the FedEx Rate Web Service doesn't take any ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: AppEngine Python SDK for Windows fails to run apps with an EOFError I'm using Google AppEngine Python SDK for windows on a project, I get the following error when trying to launch an app.
2011-09-30 17:20:21 Running command: "['C:\\Python25\\pythonw.exe', 'C:\\Program Files\\Google\\google_appengine\\dev_appserver.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Slider with ajax content I have a jquery slider, its like on default it is closed. So when the user try to open and ajax request is send and the data comes. My problem is each time the user closes and opens the ajax request is send. so how can i make the ajax call for the first time and if the user closes and opens ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are the special things about tag Anchor tag is one of the very important element in HTML that is used for connectivity in web pages. There are many special things about this tag. One of the important things I came to know about today is the "rel" attribute in <a> tag, that is used to avoid search-engines to in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: redirect nohup stdout and flush I want to use nohup and redirect stdout to a file but I do not need a archive I just want to be able to interactively view the current stdout. I am thinking I can redirect the stdout to a file to for it to be flushed after each output
???
nohup ruby myapp.rb > output.log &
interactl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: FileOutputStream into FileInputStream What is the simplest way to convert a FileOutputStream into FileInputStream (a piece of code would be great)?
A:
I receive an FileOutputStream. What I want is read it.
You certainly can't read from an OutputStream. I think you mean you want to read from the file being writte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Photoshop psd file loses alpha channel in Maya Cg shader For one of our 3D artists I've ported and extended a shader from Unity3D to Maya. The shader in Unity3D uses PSD files as input for textures and makes use of the alpha channel of one of the textures as a heightmap.
In Maya it seems as if the alpha channel is l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Callable as the default argument to dict.get without it being called if the key exists I am trying to provide a function as the default argument for the dictionary's get function, like this
def run():
print "RUNNING"
test = {'store':1}
test.get('store', run())
However, when this is run, it displays the followi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Q: Activity and thread handling I want to make an http request (I use ksoap2) in the onCreate() during this time I want to have a ProgressDialog on screen to block the user. Once the request is done, I want to finish my onCreate using the elements that I retrieve from my http request.
For now:
I have a class which impl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610945",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Unresolved dependence org.jboss.arquillian:arquillian-bom in JBoss 7 Quickstarts I'm trying to get arquillian run with jboss 7. I have downloaded the Quickstart projects from JBoss site, at http://www.jboss.org/jbossas/downloads, but I'm having troubles in running the Arquillian tests in the kitchensink project.
Mav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: client PC information from web page asp.net I need to create an asp.net web page which shows the client system (PC) information when they access the page. I think i need to use some sort of plug in to get access to client system. But i dont know where to start the things here and how to integrate the plugin with my ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610953",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: What is the effect of reverse proxy on a GWT application? I am deploying a GWT 2.4 app on Glassfish 3.0.1. I can easily access my application via http://host:PORT/appContext/ However, when I reverse proxy the application with Apache I get an exception with the following excerpt (from Glassfish logs):
Exception whil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610969",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Should I use and add on to the existing denormalized DB structure, or create my own? We have a 3rd party software, and I have been asked to create an extension for it. The extension will deal with data that exists in the current software, and include some additional data.
The existing data is extremely denormalized... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Automatic build with source control monitoring I am using SourceSafe 2005, and I have a project in VB.NET Framework 4.
What I want is a way to automate the build process and hopefully integrate easy deployment. I'd like to be able to send an automated notification when a build is made that lists the comments of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Matplotlib inset polar plot I'm trying to inset a polar plot inside a normal x vs y plot in cartesian coordinate. I know that inset can be obtained through pylab.axes as illustrated in this example. But I do not know how to specify this is a polar plot, possibly without any grid. Any help is welcomed
A: Here you ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Detect distance of HTML element from to top and to left? I have a tag within a HTML5 document.
How can I detect the distance with JavaScript from the top-left corner of the HTML page to the top left corner of the canvas tag?
I need to be able to position dynamically generated html tags relative to the canvas.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: linked reports in sharepoint On sharepoint server we can publish out SSRS reports. And it is fine.
We are moving our SSRS reports from reporting services to sharepoint. But I have some linked reports. After a little research, I've found that "linked reports are not supported".
here
Is there any way to implement "li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use a generic delegate in an interface I'm trying to create an interface holding a generic delegate. I then want the classes implementing the interface to decide the actual type method, or preferably even return another delegate.
Below are some code describing what I'm trying to acheive.
public delegate void ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby on rails add javascript variable to link_to url params I have a javascript variable, I would to send along with my params when a person clicks a link.
var js_variable = something;
...
<%= link_to_remote "Link Name", {:url => {url_params}, ajax_options}, {html_options} %>
how do I add js_variable to the url_par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Elements not wrapping inside fixed-width div I have this simple html, with styling:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can we make a process restart faster? i have an app that runs a process and a service.
When I use an auto killer application, it ends the process of that app and then it shows "restarting.." when I see the running applications.
How can I make this "restart" faster or how can I prevent the auto killer apps from e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: face book like button is not showing like on facebook account. I am using facebook like button. I have taken the code from http://developers.facebook.com/docs/reference/plugins/like/
I want user to be able to like products from the cart in magento. Below is my code.
<iframe src="https://www.facebook.com/plugins/like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610988",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: nhibernate QueryOver not throwing exception when mapping is missing Can anyone explain what's the idea behind nHibernate QueryOver not throwing exception when there is no mapping for used class? Let's say i have a FakeClass class and no mapping defined, code below executes without exception.
var result = session.Qu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7610998",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Notification flags have value -3 I'm writing a custom upload notification, very similar to that from the Picasa Photo Uploader
http://code.google.com/p/picasaphotouploader/source/browse/trunk/src/com/android/picasaphotouploader/UploadNotification.java
At creation, I set the FLAG_ONGOING_EVENT and it works. After th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Blender default UV Mapping Coming from 3d Studio, I am used to primitive and procedurally generated objects (ruled, lathed, extruded, NURB-based) having UV mapping coordinates by default, and in the case of more complex meshes, breaking out a more manual mapping process.
I am currently having difficulty in Blender,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611006",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: m2eclipse "Resolve in workspace" but in IntelliJ? Possible? I am trying to make IntelliJ choose a Maven module in my Intellij Project over the module in the repository, but I can't get it to work!
I am trying to do what is called "Resolve in workspace" in Eclipse... anyone who knows how to do this in IntelliJ?
A: C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I make my code run in a loop and ask the user "Try again Yes or no?" import java.io.*;
public class Magic{
static final int maxsize = 50;
public static void main (String [] args) throws IOException{
int i, j, k, l, n, key;
boolean n_ok;
String line;
int [] [] square = new int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611015",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: How to Run C# Exe without .Net Framework I am using Visual Studio 2010.
I made a C# project and it runs perfectly on my Computer.
Problem is this that when Application is run on another Computer, that ask for .Net Framework.
Everybody doesn't have administrator Access to install .Net Framework and also peoples don't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Binding Style to DataGridTextColumns ElementStyle I have a datagrid with some objects. The objects have a name, a "type" property and a bunch of irrelevant properties.
based on if the type is "MaterialType" or not i want to set a style for the cells textblock (bold & intend 10px)
I started out with a converter. => i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611024",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Updating Subversion from PHP on Windows - Permissions-related (Access Denied) I have written a PHP script which updates a SVN working copy.
It works fine on my development machine (W2k3 Server)but I cannot get it to work on a production server (W2k8 Server). I'm using the latest Collabnet Subversion binaries (1.6.1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to make NSUserDefaults data last for 3 sessions I have this piece of code
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults];
if (![defaults objectForKey:@"firstRuns"]){
[defaults setObject:[NSDate date] forKey:@"firstRuns"];
if ([cellValue isEqual: @"First"] ||... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSS display: inline-block does not accept margin-top? I have an element with display: inline-block, but it doesn't seem to accept margin-top. Is this because the element is still treated as an inline element?
If yes, does anyone have a workaround?
EDIT #1:
My CSS is quite simple:
.label {
background: #ffffff;
d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "72"
} |
Q: F# Lambda Signature I'm reading Programming F# by Chris Smith right now trying to figure out F# when i come across Lambadas. Here is a lambda from one of the examples
let generatePowerOfFunc base = (fun exponent -> base ** exponent);;
I get that it takes in something and returns a function, but what i don't get is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611034",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Django not evaluating base template in views I'm quite new to Django and I just set up my first registration page with django-registration and everything worked well (users can register, change passwords etc.). Now I want to expand my app a bit so I wanted to add a simple profile page so when a user logs in he/she c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Parse asp:boudfield in a gridview I have the following gridview: I need to parse the first 8 elements of the datetime and view these only in the gridview. How can i do that?
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="ID" BackColor="White"
BorderColor="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC 3: How do I dynamically enable/disable client side validation I have a check out view that serves as a wizard. Steps (5 of them) are contained in their own div's and are shown/hidden via jQuery as a user goes through the checkout process wizard.
On one of the steps, I have payment information. Payment options ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VB.NET Sort files in directory by alphanumeric How do I sort the files in this directory below by alphanumeric?
An example of a file: 12325_2011.jpg
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Dim di As New IO.DirectoryInfo(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QT push button and a python lambda function I'm just trying to create a UI for my script in maya/py using QT Designer.
The problem is that I want to use a lambda expression as a command for my buttons
by adding a dynamic property with the type set to string, property name set to "+command"
and lambda x: print('foba... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: OCaml expression type issue I am trying to make an OCaml function that addsthe number of 'a's in a string to a given argument.
let rec count_l_in_word (initial : int) (word : string) : int=
if String.length word = 0 then initial else
if word.[0] = 'a' then
count_l_in_word initial+1 (Str.string_afte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Adding Exception to the operations in Sparx Enterprise Architect I have a Class Diagram in Enterprise Architect .
One of the my classes has some methods and I want my methods to thrown Exception. Does any have any idea how can I do that?
As in Attached image I've interface (HsaInterface) which has two methods and I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611069",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Force ipv4 connections in .NET? I am running a console app on my server and trying to connect to my site also on the server. Its causing problems by connecting via ipv6. The software i am running in php doesnt support ipv6 thus i get errors. How do i force the console app (which is using webclient) to use ipv4 conne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Segmented controls with 2 buttons I'm trying to create a segmented control with 2 Round rect buttons but don't know how to set the 'forState' for Highlighted button.
Others said to set the background image in IB and modify the Image programmatically
Tried:
[buttonName setImage:[UIImage imageNamed:@"UnselectedImage.p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Filtering a list with linq Being new to linq, I am having trouble trying to apply a filter to a List object. This is what I have so far
var filter = productList.GroupBy(a => a.Product.FamilySku).Select(grp => grp.OrderByDescending(a => a.Product.FamilySku).First());
This works except I want to not apply the filter ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I access the skipped "parent" of SelectMany when using dotted syntax in Linq? In query syntax I can write
var greendoorsWithRooms = from room in house.roooms
from door in room.doors
where door.Color = green
select new {d=door,r=room}
Is there a way I could achieve the same with dotted syntax?
var greendoorsWit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "33"
} |
Q: Linux(MIPS): Temporarily "change" register contents when viewing core dump Some of the threads in my app are sat in optimized functions and when I debug the app, gdb can't backtrace from those functions. But I've looked at the assembler and can partially unwind the stack by hand up to the previous function's frame b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Sharepoint 2010 impersonation of user for whole Log-in session Situation:
We have employees that are requesting for a feature that allows them to give their privileges to another person. This is useful if they need to be on leave, and need to give their permissions/privileges to another user. Thus this another user ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Attaching to Process Issue In VS 2010, I attached my source code to a process for debugging purposes. I set a breakpoint to a line that my log4net log said was failing.
When I set the breakpoint, started and attached to the process, the breakpoint showed up as clear. When I hovered over the breakpoint, a warning sai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Disable scrolling in listview I have a list view and depending on some logic I want to temporary disable the scrolling.
view.setOnScrollListener(null); doesn't helps me I guess I need to write some code, can someone give me a hist or some snippet ?
Thanks
A: make your CustomListView
@Override
public boolean onInte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "44"
} |
Q: How to access class constants in Twig? I have a few class constants in my entity class, e.g.:
class Entity {
const TYPE_PERSON = 0;
const TYPE_COMPANY = 1;
}
In normal PHP I often do if($var == Entity::TYPE_PERSON) and I would like to do this kind of stuff in Twig. Is it possible?
A: After some years I rea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "152"
} |
Q: xsl concat function I am having a hard time in printing an attribute in a tag using xsl. This is my input xml
<input>
<subscriptons>
<services>
<service-info>
First
</service-info>
<service-info>
Second
</service-info>
</services>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611090",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which database storage-engine is best for implementing a blog?
Possible Duplicate:
MySql: MyISAM vs. Inno DB!
I am implementing a blog in php using MySql.
Not all engines support special field types, as BLOB (binary large object) or TEXT types, which I need to use a lot.
Furthermore I will heavily need to manage ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611091",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to Run cmd as admin and pass command to it?
Possible Duplicate:
To run cmd as administrator along with command?
I want to run a cmd using administrator privileges
and then pass the command to the process that is running cmd as administrator.
I don't want to use proc.standardinput to pass the command is there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Embedding window into another process I have read some posts here on StackOverflow, but none has worked for me. Here is the code I am using to display the window of the standard Calculator on my form:
procedure TForm1.Button1Click(Sender: TObject);
var
Tmp: Cardinal;
R: TRect;
begin
CalcWindow := FindWindow(ni... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Sorry but Another WCF service The maximum array length quota (16384) has been exceeded I know this question has been asked many times on here but I have gone through each of these and can't seem to get it to work for me. From my client, I am trying to pass in 2 byte parameters and return byte[] but while it works fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trouble parsing string date in us with the Datetime.TryParse I'm trying to put a variable, stored in a string format in a dateTime variable.
System.Globalization.CultureInfo culture = new System.Globalization.CultureInfo("en-US");
System.Globalization.DateTimeFormatInfo usaDateFormatInfo = culture.DateTimeFormat;
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: _trackEvent error in google analytics? I use this snippet to track some clic on a link without loading a new page but analytics didn't record the clic, do I made a mistake?
<a onClick="document.getElementById('divCode').style.display = 'none';document.getElementById('lecode').style.display = 'block'; clic_code_bon()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611109",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery .animate() to change facing position of game character I'm making a game using jQuery but using a simple example that I found made by someone else and building on top of it.
Here is the sample that i'm using: http://motyar.blogspot.com/2010/04/angel-dreams-jquery-game.html
I need to change the chase() functio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Soft keyboard enter key event handle I want to do some stuff on soft keyboard enter key press. See my code and output below. It executes twice, but I want it to be executed only once. How to fix it?
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611115",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Getting year and week of year from PHP date() when week spans two years I have run into an interesting issue using PHP's date() function. Haven't had any luck locating a discussion of this on SO or using Google, but maybe someone else has run into the same issue before?
I am trying to get the YEAR and the WEEK OF TH... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Flex Incompatible Override, bug? I'm writing an extension to the Flex DataGridColumn class. I want to override the editable and sortable properties so that I can dispatch an event in the setter. So I looked up the method signature from the Adobe Docs (I'm using Flex 3.5 compiler):
Language Version: ActionScript 3.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to format the results of a query using a Lambda Expression? Let's say I have this query I pass to a repository:
var results = userRepository.Get(u => u.Username == "JDoe" && u.Password == "123456");
Now, let's say I create an expression to format the results a certain way:
Expression<Func<User,string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: RelativeLayout background image + color I have a RelativeLayout where I need to have a black background and a small image exactly in the middle of it. I used this code:
<RelativeLayout
android:id="@+id/bottomBox"
android:layout_weight="4"
android:layout_width="match_parent"
android:layout_height="m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: WPF Slider control (NullReferenceException) I'm trying to display the value of a slider control in a TextBlock. However I keep getting a NullRerferenceException when I try to load the dialog.
public partial class GeneralSettingsDialog : Window
{
public GeneralSettingsDialog()
{
InitializeComponent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: fopen() hangs. Sometimes I am running on Debian Etch: Linux nereus 2.6.18-6-686 #1 SMP Sat Dec 27 09:31:05 UTC 2008 i686 GNU/Linux
I have a multi threaded c application, and one thread is hanging. Sometimes. Through core files, I have figured out that it is hanging on a fopen():
#0 0xb7f4b410 in ?? ()
#1 0xb660... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NIO Performance Improvement compared to traditional IO in Java I have seen many articles/blogs saying that Java NIO is a better solution compared to traditional Java IO.
But today one of my co-worker showed me this blog http://mailinator.blogspot.com/2008/02/kill-myth-please-nio-is-not-faster-than.html. I am wonderi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "27"
} |
Q: glutBitmapString() was not declared in this scope when i try to plot some strings with the following code:
// label min and max for current vector
glRasterPos2f(nx+1,y1);
glutBitmapString(GLUT_BITMAP_8_BY_13,"min");
glRasterPos2f(nx+1,y2);
glutBitmapString(GLUT_BITMAP_8_BY_13,"max");
i get the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7611153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.