text stringlengths 8 267k | meta dict |
|---|---|
Q: What is difference between new and new[1]? What is difference between new and new[1]? Can I use delete with new[1]?
Edit
Well well well, I should've provided the background, sorry for that. I was evaluating BoundsChecker at work with VS 2010 and it complained about a memory leak when I used delete[] on new[1]. So in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510603",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: C# linq map composite dictionary with list I have one composite dictionary and one list
Dictionary<Point, List<int>> GroupedIndex
List<double> TobeMatched
Now I want to create new dictionary with same key but with Values mapped by corresponding index from the GroupedIndex int values with TobeMatched index
Example:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Print Monitor - Error whil installing I have written a virtual printer driver that includes print monitor dll as well infs. Only problem is that when i try to run the install it with command below, I get "the specified port is unknown, error 0x0000704.
rundll32 printui.dll,PrintUIEntry /if /b "aPrinter" /f aprinter.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to clear session of external website using PHP, JavaScript I am loading an external website using iframe in my site. In iframe src URL, I am passing the username and password to login directly to the external website to show the registered content.
Now if I logout in my site, I need to clear the session of the e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510608",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nowrap / Don't break the line after a input If i have several input (radio or option) followed by their label, all on the same line. How i make it so it don't break the line after the radio, but break if needed after the label.
<input type="radio" id="i1"/><label for="i1">First radio</label>
<input type="radio" id="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510612",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: IOError: 13, 'Permission denied' when writing to /etc/hosts via Python I have a Python app that I'm working on that needs to access the hosts file to append a few lines. Everything worked on my test file, but when I told the program to actually modify my hosts file in /etc/hosts I get IOError 13. From what I underst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Java compatible English Dictionary API? I am trying to mimic a simple news reader, a desktop application developed on swings. As a part of this I am looking at including a dictionary lookup for a word from within the tool. I am looking at trying to display the meaning for word as a tool tip that appears upon a doubl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510620",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I there a good ruby book for learning sockets programming? Is there a good book for ruby sockets programming or we have to rely on Unix C books for theory and source ?.
A: If the goal is to learn socket programming I would recommend using C and reading through some Unix system programming books. The books will prob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510621",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Validate and get data from Facebook cookie using OAUTH 2.0 I have a web page made in GWT. There I use all the login facebook stuff with a manipulated gwtfb library, all works fine. After migrating to oauth 2.0 now the cookie sent to the server has changed to a encrypted one.
I want to get a java example code that im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510622",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: rspec mocking "undefined method `stub_model' for # (NoMethodError)" I'm using Rails 3.1 and I wanted to add some stubs and mocks to my specs but I get a NoMethodError:
undefined method `stub_model' for #<Class:0x007ff9c339bd80> (NoMethodError)
Here is an excerpt of my GemFile:
gem 'rspec'
gem 'rspec-rails'
I ran b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: can i format the HTML alert box into my colors and style with css? i want to show an alert when someone click on Paypal button and the alert should say you will be directed to Paypal website but the basic html alert ox is awful in style ,
is there a way to improve its styling ?
or i have to design a div and code i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: QTP Frame work design that can scale along with the AUT Hi I am comfortable with the basics on QTP and DP.
I am planning to build a framework with QTP for our web portal application , which consists of a very rich GUI and lot of features.
Please explain me the basic things I should care about while designing the fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510633",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting image to anchor tag not working I want to set image to anchor tag but it is not working. Can anybody tell me what is wrong?
<a href="#" style="width:200px;height:100px;background:url('@Url.Content("~/Content/Images/facebook.png")');"></a>
Note: Don't pay attention to background. It is Asp.Net MVC syntax. Bu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Tips for writing good EBNF grammars I'm writing some Extended Backus–Naur Form grammars for document parsing. There are lots of excellent guides for the syntax of these definitions, but very little online about how to design and structure them.
Can anyone suggest good articles (or general tips) about how you like to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Android New Intent Problem ; startActivity(); Anyone have any idea why this don't works ? the startActivity(i);
Not Working
public class UiHelper {
/**
* About Dialog
*/
public static void showAboutDialog(Activity activity) {
AlertDialog.Builder builder = new AlertDialog.Builder(activity);
builder.setTi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Local Push Notification Settings and notification section in device settings I am using local push notifications in my app. I need the users to have an option in the push notification section of the device settings page. Currently my app is not listed under the notification section. Is there a way so that apps with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510645",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LIKE vs CONTAINS on SQL Server Which one of the following queries is faster (LIKE vs CONTAINS)?
SELECT * FROM table WHERE Column LIKE '%test%';
or
SELECT * FROM table WHERE Contains(Column, "test");
A: I think that CONTAINS took longer and used Merge because you had a dash("-") in your query adventure-works.com.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "272"
} |
Q: todo tags not working on eclipse and pydev I'm using eclipse 3.7.0 on fedora and pydev 2.2.2
I tried to use the todo tags but it doesnt work.
the todo tags on window > preferences looks fine.
i can add a using left click beside the line.
please advice
A: Comments with #TODO will only generate tasks if:
*
*The c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Is this an example of an iOS UITableView? I need to do something like this :
.
Is it a UITableView? Or how should I do this? Any idea is welcome.
Code:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
if (indexPath.section == 0) {
if (indexPat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call javascript function with parameter in jquery event handler? I am stuck. Searched and tried for hours.
EDIT:
I still can't make it work. Okay, I'll just put the source code to make it clear what I want to accomplish.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510654",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: how can I use multiple ModelMetaDataProvider's w/asp.net-mvc3 I have a custom ModelMetadataProvider which takes care of everything so far. But I have a couple of new classes where I am going to let users customize the metadata in the database and store settings like display name, sql query for combo's and some other... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510661",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Pop gives error when trying to Center in application Hello I am having this error when trying to center my popUp. If I remove the centerPopUp code line, the popUp appears but of course is not centered.
The Error is as such:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510665",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NetBeans: How to select JLabel that resides inside JFrame? I developed a small desktop application in Java. At some position in my UI I drag and drop a JLabel from Palette to JFrame. Later-on i remove its text by right click -> Edit Text. I did this because i am populating this label dynamically using setText() meth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510666",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to get a Scala HashMap to automatically initialize values?' I thought it could be done as follows
val hash = new HashMap[String, ListBuffer[Int]].withDefaultValue(ListBuffer())
hash("A").append(1)
hash("B").append(2)
println(hash("B").head)
However the above prints the unintuitive value of 1. I would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: copying oracle tables to DB2 I want to access oracle tables in DB2(something like DBlink from DB2 to oracle).Any help is appreciated.
A: You can use db2 federation. One link is here.
A: Oracle has a feature called Heterogeneous Services which allows us to build links between Oracle databases and non-Oracle databas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to use Castle.Windsor in an assembly loaded using reflection Let's say I have a library Lib.dll, which uses Castle.Windsor to initialize its services.
I have a main application App.exe, which loads Lib.dll on runtime using reflection. App.exe does not know the location of Lib.dll beforehand, it is only known at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Design Pattern in Java Software Development I am going to make a web application. It is based of RESTful API in java. I want to implement Manager Pattern and DAO Pattern in that. Can anybody suggest a good book/reference which leads me to develop a good web application using that patterns?
A: I would recommend the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Opening native map application from url in iPhone, Android, Blackberry I was trying to open the native map application to show direction from Current Location to the given location. Understandably, the url should work on all the smart phones, not just iPhone.
The most common url that can be used for all the phones c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510708",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: problem in retriving multiple checkbox values I am unable to access the values of checkboxes i select.
Here is my code which i tried.
<input type="checkbox" id="<%= "gname_" + in.intValue() %>" name="chkBox" onclick='chkboxSelect(localArrGroupNames[<%=in.intValue() %>],<%= "gname_" + in.intValue() %>)'>
JS code: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: android - java.net.SocketException: Transport endpoint is not connected What is the meaning of the following exception? when does it occur?.
Here is the exception log -
09-22 12:19:08.329: WARN/LogFilter(8361): Unable to shutdown server socket
09-22 12:19:08.329: WARN/LogFilter(8361): java.net.SocketException: Tran... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Application crashes at [[NSBundle mainBundle] pathForResource My Application is crashes in the device at this point,
[[NSBundle mainBundle] pathForResource
I am giving the path for the pdf here . but at the execution time it is showing that it is not getting path there . and that may be the reason for crashing.
how... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510717",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Memory error in C program, The name disappears? Im trying to make a simple game, http://pastebin.com/BxEBB7Z6, in c. The goal is to beat the computer by getting as close to 21 as possible by getting random numbers.
For each round the players name and sum is presented, but for some reasons it only works that first ti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using Action as a param, why isn't it possible here? What can I do solve this issue? Using Action as a param, why isn't it possible here? What can I do solve this issue?
static void Main(string[] args)
{
while (true)
{
int eventsNum = 1000;
var evt = new CountdownEvent(eventsNum... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510719",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to get the images of epub book in android i was trying to read the epub book into my android application and succeed withe getting text into my app but not able to load images of epub book. actually what happen when we read the epub book using epub library (it extract/read the epub book and store somewhere in te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510721",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to combine these two javascript/jquery scripts I have an id #navigation li a and a class .menu-description . I want to change text color of the class .menu-description when hovered on #navigation li a
My jquery so far:
<script>
$(document).ready(function() {
$('#navigation li a').mouseover(function() {
//Ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL and Java driven application I am looking to make a Java based application that also uses an external MySQL database. Does anyone know of some good resources that I could read up on? I am very interested to give this a shot!
Thanks in advance!
A: MySQL provides a JDBC driver, so you can use pretty much any Jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510726",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calling a php function with the help of a button or a click I have created a class named as "member" and inside the class I have a function named update(). Now I want to call this function when the user clicks 'UPDATE' button.
I know I can do this by simply creating an "UPDATE.php" file.
MY QUESTION IS :-
Can I ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting Proxy Username & password using Objective-C - iPhone I'm testing an application in iPhone simulator where it actually makes an HTTP request using dataWithContentsOfURL: method of NSData.
My mac has proxy settings protected with username & password. By default the simulator is not considering the proxy setti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510730",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CRM 2011 outlook client: Some entities are not available after changing the user language Error: cannot load crm when trying to view crm records for contact/accounts in outlook 2010
EDIT: I found out that this problem occurred because of the selected language by the user. Now i still have to find out how to solve th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails geocoder gem issues I am using the geocoder gem and I need to code a start and end address for a model, however I am not sure if I can accomplish this using this gem and if I can whether I am doing it correctly. If this cannot be done with the gem, is there another resource that will allow me to geocode two lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510734",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I give parameters to a WIX setup from the setup's download link I'm trying to do the following :
*
*Suppose a user with username "annie" is connected to the foo.example.com website
*On the website I give a link to download a msi setup (developped with WIX 3.5)
*The setup installs a small program that w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510735",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Colouring a hierarchical XamDataGrid I'm using a XamDataGrid (Infragistics-control) to display some hierarchical data. The objects that I can have up to 10 levels and I need to be able to give each level a specific background-color. I use the AssigningFieldLayoutToItem-event to get the "level" of the item and it wou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510740",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using SWI-Prolog with Eclipse and Java (and JUNG): Should I use ProDT, PDT, or both? I want to use SWI-Prolog, Eclipse, and Java together and I have two interrelated related issues:
*
*I don't know if I should use ProDT, PDT or both in combination.
*PDT says that it includes a "subsystem that enables Java code t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Stuck up with MessageList in Blackberry I am try to do MessageList in blackberry using midlet, but whatever I do some expection comes up. Right now am getting NullPointerException. Here is the code
EncodedImage indicatorIcon = EncodedImage.getEncodedImageResource("img/indicator.png");
ApplicationIcon applicationI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510746",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ruby, deploying an exe with ocra that contains the TK GUI Ocra is unable to handle applications that require 'tk'
require 'tk'
puts 'nope'
Packing this code with
ocra http://github.com/larsch/ocra
doesn't work (like mentioned in one of the issues at the link)
Issue: https://github.com/larsch/ocra/issues/29
(Ocra i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: tr:hover not working I'm trying to highlight (change background color) of the entire row when the mouse is hovering on a table row. I searched through the Net and it should be working, but it doesn't. I'm displaying it on Chrome.
<table class="list1">
<tr>
<td>1</td><td>a</td>
</tr>
<tr>
<td>2</td><td>b</td>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "59"
} |
Q: How do Formtastic and simple_form compare? How do Formtastic and simple_form compare?
What are the pros and cons of each?
A: At the moment, simple_form with Twitter Bootstrap 3 is a pain. But it works very well with BS2. Formtastic and BS3 work very well through the formtastic-bootstrap gem:
gem 'bootstrap-sass', '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510760",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "63"
} |
Q: how to store image and its path in sql server 2005 using vb2010? we are doing a mini project on creating a photo viewer.we are using vb2010 as front end and microsoft sql server 2005 as backend;we were stuck up with reading and storing the picture and its path into the database!
A: Download and Upload images from ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Downloading and playing videos in iphone through phonegap Is there any way to write an app in which we can download and play a video in our iphone using PhoneGap ?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7510767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP regexp: matching everything until a word appears In PHP I'm looking to match everything until a certain word appears:
$text = "String1
.
testtesthephepString2 Here";
$faultyregexp = "#String1(.+)String2 Here#";
preg_match($text, $faultyregexp, $result);
Now I want ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510774",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: 2 ways to get the latest row from db I have a struts2 app with spring transactions and JPA2 over hibernate. The problem is that I have some rows in the database that are changed by an external source (some mysql triggers) and in my front app I have an ajax script that checks this values every 2 seconds. I always nee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: cakephp: login link not taking me to login page instead it is taking me to loginRedirect page My login link on register page is not taking me to login page. Instead it is taking me to report_card page which is the loginRedirect page.
In beforeFilter i've set autoRedirect to false coz' i'm setting cookies in login f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510787",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: QR Code reader for android i am making a qr code reader, i came across zxing lib. i was able to successfully incorporate it on my project. however, when using the app i noticed that it requires another application (i.e qr droid app) before i can use it, otherwise the application crashes. is there a way that it wo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to use .NET Regex to express positive numbers with decimal How can use regular express to express the positive amount with most 20 digits in integral and 6 decimals, such as 0.25, 1234566789.123456?
Thank you.
A: var regexStr = @"^\d{1,20}(\.\d{1,6})?$";
var r = Regex.Match("15", regexStr); // match 15
r = Rege... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Download Images from FTP in asp.net I have a list of images along with full path of FTP stored in my SQL SERVER.
Now I want to download that images from the web page, Suppose I have search criteria after that 50 images shows in my grid then once i hit the download images all the images download into my local compute... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to build offline web applications in IE8? Is it really true that there is no way to support an offline web application using IE8? I wonder how people/companies are getting around this problem (no IE8 support for HTML5 offline features) if they absolutely need to use an IE browser (not IE10) and need to use it wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Rewrite url and preserve posted data I have a php server and i want to rewrite incoming urls. Since incoming requests are post requests I also want posted data to be transferred at the new urls.
I have managed to redirect urls with the following rewrite rules:
RewriteRule ^test/(.*)$ http: //localhost/index.php?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to save mechanize.Browser() cookies to file? How could I make Python's module mechanize (specifically mechanize.Browser()) to save its current cookies to a human-readable file? Also, how would I go about uploading that cookie to a web page with it?
Thanks
A: Deusdies,I just figured out a way with refrence to My... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Android tabs changing between activities I have an application with 3 tabs. I have made the xml files to describe the layout and it works perfectly. But I'm stuck at this point. My tabs are A B C. I want when I click on tab A, the tabs B C to be replaced by another tab D. Are there any solutions for this?
<!-- langu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JavaScript: inline function vs. regular statements Once again I found JavaScript code on the Internet that contains an inline function where, in my opinion, regular statements would make just as much sense. Here's the first sample:
function outerHTML(node){
// if IE, Chrome take the internal method otherwise build... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510810",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NSOperationQueue Implemetation I have shown a UIAlertView with "Please Wait" text while loading some data to let the user to know that something is being processing now.
So I hide the UIAlertView in the - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath Function a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to show calculated values in NSTableView? I have an NSTableView that binds via an NSArrayController to an NSMutableArray of NSString's.
There's also a TextView in the same window. What I want to do is display a number of occurrences of each NSString in the NSTableView.
I've thought of a way to do this, but that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fslex, binary file lexing Is there any ability to lexemize binary file formats (e.g. jpeg images) with Fslex (with no readability lacks) or i should write my own lexer/use something like fparsec?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7510820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How cairngorm framework works internally I had gone through many documents, no where mentioned how cairngorm framework works internally, means, how cairngorm Event, frontController, BusinessDelegate,ServiceLocator,Commands works and why we are extending or implementing cairngorm class like ICommand, IResponder and c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I change a varchar constraint in SQL Server 2005 after I have defined my PK's and FK's? Can I change a varchar constraint in SQL Server 2005, after I have defined my PK's and FK's?
varchar(10) ----> varchar (50)
A: If the column in question is part of a foreign key constraint, then obviously not - the data t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mod_rewrite error: [client 127.0.0.1] File does not exist I want to start using mod_rewrite so i can use friendly url's in the future. Im testing all in my localhost dev. environment but, Im not having any luck getting the module to work!
My modules is enabled (apache restarted):
LoadModule rewrite_module modules/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510829",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How cairngorm suites for Flex 4.5 mobile application Can cairngorm framework suites for developing mobile application using flex 4.5 ?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7510831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is window.Close() not working in Firefox? Why javascript: window.Close() is not working in Firefox, Is there any solution?
What are the parameters in window.Close()?
A: In firefox you can't close a window that is not opened by javascript(pop-up). window.close() will not work.
A: Probably because it is window.c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Loading methods of a specific class from a C++ library using JNI I have a C++ library xyz. It has many classes like xyzA, xyzB etc. I want to use the method getAge() from the class xyzA which is in the xyz library.
The xyz.so file already exists.
Steps I have followed:
*
*Created a Java class xyz.java
class xyz {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Failed to call IResourceEventListener.resourceChangeEventEnd java.lang.StackOverflowError when I start eclipse ide.. An exception comes
Failed to call IResourceEventListener.resourceChangeEventEnd
java.lang.StackOverflowError
How to resolve it..
Can anyone help me
thanks
A: It's quite old question, but maybe it wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: GET HTTPs request not working properly in phonegap I'm running this app in an Android phone (Samsung Galaxy mini running on ANdroid 2.2). I'm using couchdb for my database and host it on cloudant.
On device ready, the app will make a get request to the https db server which contains feeds of data that i need to be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to write this javascript without using apostrophes I'm trying to get a line of flags wiht google translate on my site. This other site already has it, but it uses blogger API. I changed the JS accordingly, but I found out that my forum software encodes de apostrophe as \'
Is there any way I can write the same ht... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Which message queue can handle private queues that survive subscriber disconnects? I have some requirements for a system in need of a message queue:
*
*The subscribers shall get individual queues.
*The individual queues shall NOT be deleted when the subscriber disconnects
*The subscriber shall be able to reconn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: django how to display users full name in FilteredSelectMultiple i am trying to use FilteredSelectMultiple widget to display list of users. currently it is displaying only username. I have tried to override the label_from_instance as seen below but it does not seem to work. how can it get to display users full name.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: CSS direct descendant ">" operator not working (and it's not IE6)? I am trying to do something very simple - select the tags which are direct descendants of a tag.
The CSS I am using is as follows:
table.data > tr { background-color: red; }
My HTML looks like this:
<table class="data">
<tr>
...
</... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: PHP join three tables when if the data is not in one of them I am working on joining three tables together, but in one of the tables no information will be in there, unless the user opens the email we sent them
I am currently using this sql but it seems not to work correctly
SELECT email.senton, customer.*, count(tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Play back Rational Functional Tester How to play back Rational Functional Tester 8.1 without IDE instead use command prompt please provide the command
A: Do a search for "command line" at the following link:
http://publib.boulder.ibm.com/infocenter/rfthelp/v8r1/index.jsp
You'll get a full page of info.
A: java -c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Smarty accessing array {foreach from=$ncache.recmd name=spon key=k item=v}
{if ($smarty.foreach.spon.iteration%2) eq 0 || $smarty.foreach.spon.last}
<tr>
<td>
<label>
<input type="checkbox" name="iid[]" value="{$ncache.recmd[$k].item_id}"class="checkbox"/{$ncach... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: GDB+Python: Determining target type Is there a way to determine whether the debugged target is a core dump or a 'live' process?
A: As far as I know, there is no dedicated way to do it in Python, however, you can still use
*
*gdb.execute("<command>", to_string=<boolean>) to execute a "CLI" command in Python, whe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Click a button and it should load the content into the main content area I have create 3 buttons on the left menu for "Cars," "Music," and "Games"
When the user clicks one, it should load the appropriate contents into a DIV
in the main content area. Each button should replace the contents of anything
previously d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to call an activity from ListView Adapter? I have custom ListView,my ListView contains one button, if we click on button i want to go another activity with some data.I used following code,
holder.mMore.setOnTouchListener(new OnTouchListener() {
@Override
public boolean onTouch(View v, Mo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Coldfusion - Subdirectory file not displaying Recently set up a new ColdFusion8 server instance on a Win2K8/R2 / IIS7.5 / CF8 Enterprise Hostgator dedicated server and everything seemed to be working, until I browsed to a subdirectory:
http://www.quirkup.com/myQuirkup/
There is an index.cfm in that subdirectory. II... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Save all cookies from first page in text file on hard disk I need to save all cookies from first page in text file on hard disk.
How to do this with javascript?
A: For security reasons you cannot use javascript to read/write files on the client computer. You can read/write cookies which could be persistent and if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Access external objects in Jersey Resource class I have the scenario where I have the following embedded jetty server:
Server server = new Server(8080);
Context root = new Context(server, "/", Context.SESSIONS);
root.addServlet(
new ServletHolder(
new ServletContainer(
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: write a function to returns 0 with probability p? a function f() returns 0 or 1 with 0.5 probability each.
Write a function g() that returns 0 with a probability of p..??
Assume p is given and lies between 0 and 1.
A: If you had access to a (pseudo-) random number generator you could generate a random number betw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510876",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IOS4 removing shadow of the icon of the application I have given an icon to my application the image i am giving is not having any shadow over it but on iphone it shows the shadow over the icon.
Is it possible to remove the shadow.
A: Yes,you can Remove shadow by doing this.
Include a row in the info.plist file of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: read the html element with array name jquery
Possible Duplicate:
How to get a value of an element by name instead of ID
How can I read the value of the field named item[tags][] from the following HTML document:
<ul id="mytags" class="tagit">
<li class="tagit-choice">
Acrylic
<input type="hidde... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Changing LOCALE_SISO639LANGNAME for LOCALE_USER_DEFAULT Is there a way to change "LOCALE_SISO639LANGNAME" on runtime?
I would like to set another language for "LOCALE_SISO639LANGNAME" on runtime and when queried by "GetLocaleInfo", it should be new language instead of system default.
By the way, it seems, you can't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Help with File descriptors in Unix Every process has a file descriptor table (FDT) and each file has a file descriptor. The file descriptors for stdin, stdout and stderr are 0,1, and 2. These values are same for all processes. The FDT I believe contains references to the INODE entries of those file. The file descrip... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: passing size of an array to a function ...,you must pass to the function the array size. (Note:Another practise is to pass a pointer to the beginning of the array and a pointer to the location just beyond the end of the array.The difference of the two pointers is the length of the array and resulting code is simpler... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to make Magento support some French Characters? I've been trying to make Magento support some french characters but haven't got any success so far.
The French text that I would want to display is:
Vous aimerez peut-être aussi
But somehow, it appears like this:
Its been the same with several other characters. M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Wordpress custom user table I have defined a custom user table in my wp-config.
define('CUSTOM_USER_TABLE', 'wp_users');
define('CUSTOM_USER_META_TABLE', 'wp_usermeta');
But, when i try to print out the logged in user info, user_level seems to be missing and the roles is empty. Any idea?
Any help is appreciated!!!!... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510901",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Want to develop a Newsletter Sending system for about 18000 email recipients using swift mailer I would like to develop a newsletter sending system using Swiftmailer. I would like to know:
1) Do I require to set a cron job for this ?
2) Batchsend() or Send() with a loop, which one is better ( I want each address to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Asset Pipeline: Trouble on deploying my Rails 3.1 application with Capistrano I am using Ruby on Rails 3.1.0 and Capistrano. I have a problem on make the application to work in production mode (the remote machine is running Ubuntu 10.4 - my local machine is a MacOS running Snow Leopard 10.6.7).
When I deploy with Ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: richTextEditor problem in symfony I have installed sfExtraPluginForm in my symfony and i want to get a rich text editor in my forms but it just shows a simple textarea.
I have installed sfExtraPluginForm and created a form in form folder.
The code i have written is:
$this->setWidgets(array(
'title'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get Django application name for a file inside that application? Having full path for the file that is a part of django application I would like to get a Django application name.
For example for this path:
/lib/python2.6/site-packages/django/contrib/auth/tests/auth_backends.py
Application name is auth.
I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510930",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to take multiple values from user as input using gridview in c#? I need to input values for a week in my website. To use multiple labels and textbox doesn't look nice.
Can I use gridview for that? and how? because gridview will always have modes as edit,cancel and not for input.
Are there any other control that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510931",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What version of LLVM and Clang is available in XCode 4.2? What version of LLVM and Clang is available in XCode 4.2? I have searched a lot to try to find this information and the only thing i have seen is that it could be LLVM 3.0
A: The version of llvm-gcc and clang in Xcode is not related to llvm.org releases. Th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is it possible to edit wall posts? Is it possible to edit wall posts? If so, how can I do this?
Anyhow, I'd like to replace a wall post with modified one.
Wall posts often fail to read meta data which is provided by open graph elements when I post a link to Wall through my app.
A: This is not possible. According t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Could not create message from InputStream: Invalid Content-Type:text/html Hello.
I made a client for WSDL by the manual:
http://static.springsource.org/spring-ws/site/reference/html/client.html
But when I start up my application, I get this error:
Exception in thread "main" org.springframework.ws.soap.SoapMessageCre... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7510937",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.