text stringlengths 8 267k | meta dict |
|---|---|
Q: why does this text input not cache? I have two web pages which work basically the same, code-wise, but one of them does not seem to cache information. By 'cache', I mean on the client/browser side. The text field does not retain previously entered information. In the first example below, if you register and then ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling class function from module? I am just writing some dummy code for pygame.
The first sample of code has a function in the menus.py file. I wanted to practice using import. This works fine. I then wanted to put the function in a class so I can get up and running with classes. This is the second block of code. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Working with tomcat I'm used to work with WAMP and I find it very easy to understand. Now I need to start up with JSP and I've downloaded Tomcat7.
I installed it together with JRE and Eclipse but i just can't get how it works.
I placed my project in /webaps/ but when i access the local host, it shows just the WAMP ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Distributing an application across Internet I searched but couldn't find a proper answer for this...may be I didn't look deep enough. Anyways, little insight from you guys will only make things easier. So hear me out.
this is for my final year research project. I just need concepts and if any links I can read more.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: validate the edittext field inside alertdialog I am using this function to insert into the database. I'd like to validate inputs from two edittext fields. Whenever I push ok button without giving any inputs, the program crashes.I tried to print the values as well, but it didnt display in logcat.Am i doing anything w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: USB to COM, how does the RS-232 interperate data? If I had a RFID reader that sends a bunch of keystrokes through USB like a HID, how would the COM port interperate that if I used a USB to COM converter? What would the COM port see?
A: You should see the "keystrokes" from the rfid device.
At the link level, the co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send $_POST content without submit bottun I have form inputs to send to another page to check on and validate them, and in case of errors I have to redirect the user back to the page where he/she filled the form.
So I need to send the content of $_POST back to refill the inputs to avoid refilling them manuall... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515916",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery selector differences after page refresh When the page is first loaded the snippet below alerts the correct value. If I F5 the page however I get an alert of the first option in the select, which is not the correct value. If I put the cursor in the URL bar and hit Enter then I again get the correct value.
This... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Lookup across multiple columns & rows in excel Vlookup's limitation is that it searches for a value down a single column. I need to search across multiple columns and multiple rows.
I have data in the following format:
HOST1 Guest1 Guest2 Guest3 Guest4
HOST2 Guest5 Guest6 Guest7 Guest8
I nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ClearCase single stream UCM project: When are changes visible in a snapshot view? Consider a single stream UCM project in ClearCase.
Each developer works in her own snapshot view on the integration stream of the project.
According to the ClearCase documentation when a developer completes an activity, the changes ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery index of an element in an selector array I'm trying to get the index of an element within an array returned by a jquery selector.
Here's my code:
$("div").click( function(){
alert( $.inArray( $(this), $("#div") ) );
});
An an example, for this HTML:
<div>A</div>
<div>B</div>
<div>C</div>
<div>D</div>
I wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515950",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: UIButton image in UITableViewCell keeps being overridden from XIB file We have a Masterview where project data are shown. Each row is build from a Custom UITableViewCell with a XIB file. There is a button on each Cell.
We use the Button to explode cq. implode the project list (based on a hierarchy).
When doing so th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic jasper report header image I am creating dynamic jasper reports. Things are looking fine. How do I add a dynamic header image to the generated reports?
I am using
FastReportBuilder fr = new FastReportBuilder();
Style headerStyle = new Style();
headerStyle.setBackgroundColor(Color.BLUE);
headerStyle.setPaddin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515955",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: IOS print pdf with minimal margins This must be quite simple but I can't seem to figure this out.
I've managed to implement the code for printing an PDF from my App. Problem is, the PDF has quite some whitespace around it and with the default margins... it's just not how I would like the page to come out of the prin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to upload photo in album and create a feed at the same time for the new facebook user I want to post photos into facebook, and also create a feed for the photo I posted at the same time.
It works when I post photo to the wall, but when I posted to the album, it will create a feed with the photo on the first time... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Allow directory access for certain IP's at Lighttpd I need to rewrite this rules (from apache's .htaccess):
<files "*.*">
Allow from 84.47.125.0/19 66.211.160.0/19 216.113.160.0/19
Deny from All
</files>
To lighttpd ones, to allow the access to my /pswd directory only for those IP's:
84.47.125.0/19, 66.211.160.0/1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Signing map application android I made my first app on andoid and it's a app with google maps inside. I have read some articles and I don't understand it.
I don't have any keystore or keytool. How can I sign my app? What is procedure? Do I first export signed app with option create new keystore and then get new Maps... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problem Deploying new application Im new to this, so please forgive me. What im doing is deploying my application onto the server, it works fine on my local machine but im getting errors when I try to hit the server. Here is the error below and my web.config file. I dont know what im doing wrong.
Configuration Error... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Typing in a IFrame with Selenium IDE I'd like to type something in a IFrame with Selenium IDE but I don't know how to do this.
Thanks a lot!
A: You have to select the iframe and then type
selenium.selectFrame("css=iframe.widget[<a_css_identifier>]");
selenium.type(<your_object_or_text_box>, <typed_content>);
The s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Enable feature by default in WIX While extending a WIX-installer that I have to maintain, I ran into the following problem - when shown the tree of features and components, the product feature is not selected by default.
I tried different variations, including adding InstallDefault ='local', TypicalDefault ='install... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515984",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Understanding parsing SVG file format First off, gist here
Map.svg in the gist is the original Map I'm working with, got it off wikimedia commons.
Now, there is a land mass off the eastern cost of Texas in that original svg. I removed it using Inkscape, and it re-wrote the path in a strange new way. The diff is in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515986",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to do a live update to an HTML form using javascript I need to live update a text field in html using javascript, that is as the user is typing text in one field, the contents are being displayed in another as they type. i need just a short code snippet to do that. eg as a person is typing their name, the name i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to return all rows if using if (empty($variable))? I am using this query below and it only returns the first query in the entry if i use only the if (empty($field1)) to display. If i fill in the print(""); it works but i want to use the if (empty($field1)) snippet to display. How can i do it?
$sql="SELECT fiel... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ViewModel passed via jQuery POST contains null/empty properties I'm working on my first ASP.NET MVC 3 application and what I want to accomplish is that a user can select a recipe from my grid and then have it displayed in a div called details. There the user can click the Edit button and the view switches to an edi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7515997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make a bullet list align with text in css?
The image demonstrates the problem. I want the bullet list to be aligned with the text, not indented.
This must be modified in css i guess, because source is:
<p>This is a test :)</p>
<ul>
<li>Test1</li>
<li>Test2</li>
<li>Test3</li>
<li>Test4</li>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: Using jQuery for tooltips I have a div with a form inside it. The form is small, consists of one or two dropdown/textboxes. I'm wondering what would be required to do the following:
*
*when I click on a link, a tooltip pops up with the form in it. It appears over top of the link that I clicked so that when it app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Transferring Intellij Live Templates Between Machines I'm trying to figure out how to transfer the templates in the /.IdeaC10/config/templates/user.xml file to my coworker's machines.
If I copy into the user.xml file, then those changes seem to be getting squashed by Intellij, reverting to the old file contents.
Any... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516011",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Overplotting from different data frames in ggplot2 My objective is to plot the path of a river with points indicating important sites near the river.
I have two data frames, giving the river and site coordinates respectively:
river<-data.frame(
long=c(-2.816452494909265,-2.845487331898639,-2.883036393822358),
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516017",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Android LocalServerSocket In android, there are two classes LocalServerSocket and LocalSocket. I think they are something like AF_LOCAL in unix socket (I am not sure it is correct or not).
My question is that :
Is it possible to create LocalServerSocket in Java and use a normal unix socket client to connect to it in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516018",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Change CSS value when page has loaded? Is it possible to change a value of a css style after the page has finished loading?
For example I need to change a division that is display:block to display:none after the page has finished loading?
Is this possible in jQuery and if so how do I implement it?
A: Checkout the r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Objective-c Changing UIImagePickerController to video mode I have an application which I want onlt to show in the background the video source from the camera. I have the following code in my viewcontroller:
#if !TARGET_IPHONE_SIMULATOR
imagePickerController = [[UIImagePickerController alloc] initWithRootViewCont... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: background process and UI interaction I am working on an application that is receiving XMPP notifications using the Matrix SDK. As well I am using async web service calls to receive an initial set of data from the server.
Now, I am aware that with Mango I can close the app or move it to the background and have a bac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problems with digest authentication with http.client in Node.js I try to implement digest request when using http.get and get "Digest authentication failed" message every time :(
var hashlib = require('hashlib'),
http = require('http'),
url = require('url'),
qs = require('querystring'),
hashlib = req... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516036",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best Practice for flex consuming Java web services We are planning to use flex and Java Web Services, what is the best practice to consume web service from flex is it better to directly call the web service from Action scripts or to use remoting where java client will call the web services and later flex using remot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516040",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MongoDB GridFS store multiple sizes of image or use on the fly resizing In my web app i'm using MongoDB GridFS to store user uploaded images.
The rest of the site is managed by MySQL.
In a photo table (in mysql) I have three fields for storing the MongoId of the file object.
*
*small
*medium
*large
So I store... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516045",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Which is better for provisioning sub-domains on Azure - wildcard CNAME or an API-based DNS like Route 53? I am building an application on Azure that requires the use of subdomains for each customer. Subdomains will be provisioned during the registration process. Since Azure requires the use of CNAME for DNS resolu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Authenticate communication to backend from iOS I have a backend that handles requests to a database. My apps do not talk directly to the database for security reasons.
How would I make sure that only my apps talk to the backend on my server? I do not want other people querying my backend and try to access data.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facebook achievement does not show image in the ticker I have added some achievements to my FB app. Everything works fine, but the images of the achievements are not shown in the ticker.
I checked the achievements with the URL Linter and the image property seems to be valid.
Does it take some time for Facebook to up... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Escaping double-quote in `delims` option of `for /F` I'm having a bit of trouble with a batch script which needs to parse a value out of an config file into a variable.
Suitably anonymised, the relevant line of the file looks like
<?define ProductShortName="Foo" ?>
I want to set a variable to Foo. The string Produ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516064",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Find img src and append to href I am using the jQuery Plugin Galleriffic with a content management system. I need to generate the thumbnails with jQuery.
I basically need to use jQuery to look inside a div, find all the images, wrap each image in an <a> and a <li> around that. Find the img src and input it into the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I save data in an eav field? I have successfully installed an EAV attribute by doing $installer->addAttribute('order', 'field', etc). I also successfully run an observer when the order is saved on the sales_order_save_before / sales_order_save_after event. Now I try to put data into my field on the observer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to bring alert dialog when user clicks on notification? I am trying to give user an alert dialog when alarm notification of calendar is clicked by the user,How to bring alert dialog when user clicks on notification? My question is where to give alert dialog? Either in Alarmservice? or the Class extending AlarmRe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Writing a SQL query over a given set of values I am trying to write a plsql query that allows me to query a set of known values that are not stored in a table.
Say those known values are the following strings:
*
*abc
*def
*ghi
*jkl
I would like to achieve something like the following:
select * from [fill-i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to synchronize two text box form values? Hi all i am new to jQuery. Suppose I have two HTML text boxes. How can I make it happen that if I write in text box A then same value goes to textbox B and if I write in B then it goes to A and same as delete the text. How can this be done in jQuery?
A: This is quite eas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "24"
} |
Q: Possibilities of a uml component diagram I have a question concerning the uml component diagram: as I can see in Wikipedia, it is possible to create my own "component types" like <<thin client>>, <<thick client>> etc. I thought that I can only say <<subsystem>> and <<component>>?! Are these entries stereotypes or wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Select element's initial value I would like to initialize a select with an initial value. I have a Json object returned from my backend like this one:
[{Nom:"xxx", TypeIld:1, ....},{Nom:"xxx", TypeId:1, ....}]
I have an array of typeIds declared like this :
[{ Nom: "Plats", TypeId: 0 },
{ Nom: "Crudités", TypeId:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516089",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Parsing string for retrieving date in bash I have s string in following format dd/MMM/YYYY:HH:mm:ss(e.g 13/Jan/2011:08:23:34) I need to convert this string to date. How can I do this?
Thanks in advance
A: Try
GNU Date
mydate='13/Jan/2011:08:23:34'
date +%s -d "${mydate:3:3} ${mydate%%/*} ${mydate:7:4} ${mydate#*:}"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516093",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding a user control after a postback within an UpdatePanel, followed by another postback - how to get the input of controls within the user control? I have a user control which is being loaded to the page dynamically after performing a postback within an UpdatePanel.
Then I'm performing another postback for saving... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Item 9 (equals contract) from Effective Java: is the example correct? Bloch's wonderful book "Effective Java" points out that if equals is not symmetric then the behavior of Collections contains is indeterminate.
In the example he gives (reproduced with small modifications below), Bloch says that he sees a "false", ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: SQL Queries: Queries depending on previous queries and merging results Following problem:
Query 2 and Query 3 depend on the results of Query 1 and Query 4 depends on the results of query 2. How would you express these queries without executing the same query multiple times?
Example:
Query 1
SELECT id, color, part FR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Override WCF Client Methods I have a WCF service that I use in one of my applications. Everything is working just fine, but I am trying to create some test classes that have the same API, but avoid the trip to the server to get their information. For example:
// Goes to the server to get a list of names. It might... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accent insensitive search in Grails How to make full text search using Grails Searchable Plugin accent insensitive ?
A: I have solved this problem with help of Peter Ledbrook's post, however some effort was needed:
Since latest searchable plugin uses Lucene 2.4.1 which does not contain ASCIIFoldingFilter (available... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: SQL - count and percent hit a wall on getting a count AND a percentage of total in a single query
I want the TOTAL units per location AND the PERCENT of TOTAL ACROSS ALL LOCATIONS...
what I've got - is returning a 0 (zero) for percentage - I believe I have to cast the figure into a decimal or real type - but whateve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516116",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can a Visual C++ program be compiled and run on Mac OS X or Linux? … and if so, how?
Specifically, I'd like to compile and run wavdiff on Mac OS X Snow Leopard 10.6.8. As far as I can tell (which isn't very far, since I'm a total novice at C++), this was created with MS Visual C++ or similar.
I'd be most grateful fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Modify DataTables TableTools default PDF export filename at runtime I am using JQuery DataTables TableTools plugin and am defining a default filename for the PDF. However, I am using datatables with ajax, and have a date range selector, so the page isnt refreshed and therefore I am unable to provide a new default fi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to debug java class file in eclipse while running the ant script? I am running the ant script from eclipse helios. Which executes the jave files in same workspace.
how to debug the java code? I have put line break points and running the script in debug mode but the control is not going in java class file. It is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516121",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Making a object class name a parameter I have a TC script that handles report options for a variety of screens. The window class name changes on each screen and, as I want this script to work in a translated environment, the window caption will be changing as well. The first part works correctly but how to I accou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send "{" or "}" signs through send keys method in vb 2010 I want to send { and } signs to the Active window in Visual Basic 2010.But the problem is when we send a key like "Backspace" we send it as "{BS}".So it also contains the { & } signs.
Therefore when we send { and } signs nothing happen.Anyone help me..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Print screen with GWT I want to print a html page generated by GWT. I am using Window.print().
But when print is invoked only one page is printed.
Is there a way to print all pages?
A: We were able to print complete page by creating new window and adding inner html of current page to it and then executing print on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: ØMQ multithreaded REQ/REP I'm trying to write an application that will allow the user to start long-running calculation processes which will receive commands from a web server using ØMQ. I use standart request-reply architecture: server has a REQ socket connected to a worker processes REP socket. When a new command ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Segmentation fault in std::vector::erase() in Visual C++ I am having a segmentation fault in the erase function of std::vector that is driving me crazy. Am having the following code:
std::map<uint32_t, std::vector<boost::uuids::uuid> >::iterator it
= theAs.find(lSomeUint32);
if (it != theAs.end()) {
std::vecto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516145",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facing Issue while using XMLHttpRequest with QML JavaScript Facing Issue while using XMLHttpRequest with QML and JavaScript.
I am calling JavaScript Function from a QML button click, In that JavaScript I am sending XMLHttpRequest to an server. But when I send the request I get immediate call back in the function (wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how can i trace an error or exception due to a trigger in sql server 2005? I need help to find the error in a trigger, the syntax is correct and i can add it to my table.
however when i insert data in this table through a software i get an error. when i disable the trigger the software can insert data. the problem i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516155",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why does set iterator pointer cause segmentation fault? Bottom line, why would iterator cause segmentation fault?
Note, I'm typing here the relevant parts of my code and not copy pasting. If there is an error in compilation, please note but do not consider it the source of my issue.
In my code, I have a map of box... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516158",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to embed 3rd party Javascript that uses , how can i stop php from parsing the "" I'm working in an insane mess of a CMS system where php, javascript, and html are all within templates. I'm trying to drop in code from a third party site for integration functionality, but they have javascript of the form:
<scri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Delay the fade In action until the Animation action has occurred Right basically I have a number of headers. When one of those headers is clicked, the rest of the headers slide down (for this I am using the animate() method). This works fine. But straight after the headers slide down, I want the contents of that hea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JavaScript-Facebook-integration: window.fbAsyncInit no longer firing We use the fbAsnycInit hook to init the FB object, which was working till last week.
Now the hook does not get called any longer.
There are no JS errors in the FireBug-Console in FF and the IEs Development tools. The hook is assigned correctly (ac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516164",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jQuery Slider/Accordion Combination I'm trying to make a section on a website for client testimonials whereby once clicked the text area expands over a corresponding image with the testimonial. Alone this would be straight forward enough using a simple slider but we are trying to incorporate into this an accordion m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Trying to fully understand JavaScript hoisting Edit
Looks like it was an issue on my part and my usage of jsfiddle :?
Ive been reading a couple of articles on hoisting lately, one is by Nicholas Zakas, and the other is by Ben Cherry.
Im trying to follow the examples and just test on my own to make sure I fully grasp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Regular expression for Alphabet, numeric and special character Can someone please give regular expression for a word, which should have:
*
*length in the range of 6 to 10
*It must be a combination of alphanumeric, numeric and special character (non-alphanumeric character)
A: So in other words, all characters a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery get generated elements attributes FF vs IE problem I have a click event on my select-tag (filterBA), and then the options are generated dynamicly.
$("#filterBA").click(function(event){
var $tgt = $(event.target);
if($tgt.is('option')){
if($tgt.attr('id') != 0){
sortRowsByBA($tgt.at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android TabHost.setCurrentTab() not working I have a TabActivity that I am having problems after the device changes orientation. Followed some places on how to keep the current tab open after the change, but even tho I do get the correct tab number, it always sets it back to 0.
public void onCreate(Bundle savedI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516187",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Putting today's date in blank cells I would like a macro that puts today's date into all blank cells within a column. If there is a date already in then a cell, then it should skip this row.
A: You can do this without VBA, see http://www.contextures.com/xlDataEntry02.html
With code as requested (select your range t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Two same name variables In https://github.com/Khan/khan-exercises/blob/master/khan-exercise.js
there are two var Khan variables. How come? Do they affect each other?
A: One Khan is the name of the global variable "Khan", the other is a variable inside the self executing function that it is equal to.
var Khan = (fun... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Create Custom URLs I have a model that returns a list of artist's names from a database along with their ID. I want to loop through these artists in my view and create links to their pages with the following format:
http://www.example.com/the-artist-name/artist-portfolio/ID.html
What is the best way to do this?
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the pros and cons of using MSI and MSP? What are the pros and cons of using MSI and MSP in using them for deployment. I was thinking of automating the deployment of my software using MSI and MSP.
I wanted to understand if there is any concerns. And also how feasible is it to use MSP for patch deployment
A:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Facebook Comments - current page URL Is there any way the Facebook Comments box can use the current page's URL? I want to add the feature to my site but don't want the same comments showing on each page. For example, I want the comments for "article1" to only show with "article1." The comments for "article2" woul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can't locate build.xml file when running ant through a shell script I'm using bash shell running on Cygwin on Windows 7. I have this in my bash script, which attempts to figure out the location of a build file based on the location of the currently executing script …
SCRIPT_DIR="$( cd -P "$( dirname "$0" )" && pwd ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516206",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery iterate some div I have html:
<div class="box">
<input name="radio-1" value="1" type="radio" class="radio">
<div class="hidden_box">
some content
</div>
</div>
<div class="box">
<input name="radio-2" value="1" type="radio" class="radio">
<div class="hidden_box">
some content
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516210",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C++ / Mysql Connector : undefined reference to `get_driver_instance' I've found some topics on this forum concerning the same error, but I didn't find the solution in it.
I'm trying to make work C++ & Mysql Connector on Ubuntu 11.04.
My error is (after following official Mysql tutorial)
/tmp/ccDmH4pd.o: In function ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Prevent google overlay/infowindow from allowing clicks through to markers underneath I'm trying to make some custom Google maps info windows, but I'm getting the issue where markers underneath my custom info window is clickable through the info window.
Here's an example (basically straight from googles example here)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: adding new role to already authenticated user (without logging him out) I'm using Spring Security, and in some cases after logging in user can make some actions which should gave him access to some resources, so ideally it should be done via giving this user a new role. But, the authorities inside org.springframewor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Asp.net Mvc Convert return Action result(view) to string I am working on a project in asp.net mvc3(c#).
I need a solution for convert a view(not a partial view) to string from different controllers.
Code Explantion:
1) Calling "details" action of proposalmoduleController from proposalsController.
2) proposalmodul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516234",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best way to execute Javascript on an anchor Generally, there are 3 ways (that I am aware of) to execute javascript from an <a/> tag:
1) Use onclick():
<a href="#" onclick="alert('hello'); return false">hello</a>
2) Directly link:
<a href="javascript:alert('hello')">hello</a>
3) Or attach externally:
// In an onloa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Return to the first index of UINavigationController? I'm doing an application which uses a UINavigationController and I'm switching to other UIViewControllers as follows:
if(self.myViewController == nil){
MyViewController *aViewController = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Very basic AChartEngine XY I've been trying for hours to get something as simple as displaying a line chart based on 2 dots that I supply manually and all I get is a crash. I've tried to understand how everything works based on the demo code but it's too complex. I'm not even concerned about writing nice code with o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to play mp3 music files (more than one music) in java? I write some core java code to a play one mp3 file in java .I was successful. But i want to play more than one mp3 music file sequentially one by one in java.
can it be possible ??
If possible plz help me.
Here is the demo code ,
import java.io.BufferedI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516253",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jquery templates iterate on value, not number of keys Using the jquery template plugin is pretty straighforward, but i'm facing an issue quite simple to explain.
I'd like to iterate in my template based on the value of one key I get;
for example num_lines : 15
{{each (var i = 0; i < ${num_lines}; i++)}}
poet
{{/eac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is using optional parameters for backwards compatibility a good idea? I was wondering about providing backwards compatibility by using optional parameters.
In my program I have an interface with a function that is used throughout my program as well as in a lot of unittests. For some new functionality, a boolean ha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Creating an SQL Server connection string without importing a datasource in C# I am going off of this tutorial: http://www.dotnetperls.com/sqlclient . Instead of adding a data source and a having visual studio compile my connecting string - I want to do it myself. The reason being is that the database will not alway... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516262",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: pass argument to mouseCallback I have a simple, but problematic question.
Is there a way, using google script to send an argument to a mouseCallback?
Some examples are explained here, but each time the cell in written in the function.
I want this cell to change over time, and I need to pass a string to the callbac... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Using libunwind on HP-UX and getting stacktrace I have a C application that is executing in an HP-UX environment and I need to get the stacktrace.
I am attempting to use U_STACK_TRACE, but output to stderr is going somewhere else and I need it printed to a string.
How can I do this?
I.E. How can I take the output fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need some basic github help I am trying to learn github to deploy a webpage. Here are the steps I am taking:
git checkout master
git pull origin master
git checkout –b my-awesome-branch
Do some work, do a git status to check on everything, everything is ok.
git add .
git commit –m "awesome message here"
git push or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can TeamCity check out code to more than one machine Can I have TeamCity Build server check out code to another server or machine, in addition to itself? What I am asking is can I run build configurations that automatically checks out, udpates source code from TFS into multiple servers. Each Build configuration hand... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Routing ASP.NET MVC root application to MVC virtual directory I have an MVC application setup as a root application. With in that root dir I have a virtual directory that is also an MVC app. I need to navigate from the root app to the virtual directory. The first hurdle was finding the controller that existed in ano... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replace continuous space with single space and multiple " " elements I have one html document which contains whitespaces in some nodes. For example,
<B>This is Whitespace Node </B>
When this html is displayed in the browser, more than one continuous space in html is always displayed as one space. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516311",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MySQL leading whitespace with C# When I update a field in my MySQL database, it always adds a whitespace to the value.
I tried to remove the whitespace with the trim-command and the replace-command. Neither of them worked. So I expect that it isn't a whitespace but some vague ASCII character. These are the commands ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Routed Events problem - hitting the root UI element before the child element My routed events are hitting the root UI element before the child element. Is this expected? How can I have the routed events hit the child element first?
Objective: If text is typed anywhere other than "custom textbox", put text in "def... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Format code in Doxia Apt Format I am currently starting to write a documentation for one of our projects. For reasons of simplicity we chose to use the Almost Plain Text (APT) Format, see more info here:
http://maven.apache.org/doxia/references/apt-format.html
APT is great documentation format, since it uses a mini... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516315",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: the new facebook like, that open the comment box...+ overlow:hidden a quick introduction :
facebook has changed the LIKE (count) button
into something like :
LIKE (count)
[ -------------------- clic = open a Big zone bottom / right --------------------]
problem :
Its nice BUT ....
you forgot that a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7516316",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.