text stringlengths 8 267k | meta dict |
|---|---|
Q: How to add data dynamically into the spinner from xml Hello I'm downloading XML and parsing data. I want to add data to the spinner. The data updates every time I run the application.
public class Main extends ListActivity {
TextView valueTextView;
HashMap<String, String> name=null;
private HashMap<Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606213",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to reference a C# Class Library project in Visual Studio 2010? I am new to visual studio and was wondering how to setup visual studio 2010 so that I can reference my C# windows class library project? I currently have a solution with 2 projects - C# library project and a unit test project.
What is the best way t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: How to retrieve data from MarketDataIncrementalRefresh message? How can I retrieve the following values from a MarketDataIncrementalRefresh?
*
*Symbol/Instrument
*Offer
*Bid
*OfferSize
*BidSize
I'm familiar with Quote message handling, for example:
If quote.isSetOfferPx Then Offer = quote.getOfferPx.getValu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606218",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can i give pager to drupal_add_tabledrag i am using the function drupal_add_tabledrag. Now i want pager also in that. Is there any option?
Thanks
A: That won't work, tabledrag will only work if all items are on the same page. Adding a pager is illogical as it will become impossible to manage the weights of the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606225",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Create a cookie with a non url encoded value using JQuery and the Cookie plugin I am creating a cookie on the client side and adding 3 string values in it separated by commas. The string have special characters. The problem is when I am fetching the value of the cookie in my code behind, the cookie has value as foll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Unable to view item in browser based on its key in Python GAE I'm using python GAE with webapp.
I have a form for a user to create a object in the database, something like:
class SpamRecord(db.Model):
author = db.ReferenceProperty(Author, required=True)
text = db.StringProperty()
After it's created, the u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Message sent to deallocated instance -- short and simple This has to be very basic, but I don't see the problem. The program crashes whenever the following code block is executed. Analyzer reports a possible memory leak:
if (anImage) {
eventImageView.frame = defaultEventImageFrame;
UIImage *scaledImage = [an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How should my Rails before_validation callbacks handle bad data? I have several before_validation callbacks that operate on the attributes being set on my model. I run into trouble when I have a situation like this:
class Foo < ActiveRecord::Base
before_validation :capitalize_title
validates :title, :presence =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to get the value of a disabled text field in jsp I am having a dropdown box and a 5 textfields( all disabled). I am entering data into textfield by using javascript, from the dropdown(what ever value is present in the dropdown, goes into the text fields).
Now, when the submit button is clicked, I want to get th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why RewritePath changes the Browser Url? I have an ASP.NET 4 HttpModule (see code below). When the url path starts with "/1.0" I want Cassini/IIS to go to MyService.svc. However, I don't want to show "MyService.svc" to the user (i.e. no update to the url in the browser). I want the user to see "www.something.com/1.0... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to use handler to run a task in background I am using the following code to to access web service and it's showing me an error. The application is not responding.
package com.android.webservice;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapSeria... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606254",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to have a "Create View" with multiple dynamic fields? I need to be able to have multiple so-called "create" forms in my view. I need advice as to how to go about achieving it. My form basically allows a user to create passenger details / book for several passengers depending on the number they have selected from... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to fetch file informations and md5 checksum using 1 command in linux I want to fetch all the file information viz: "permission","hardlink","owner","group","fsize","month","date","time","filename"
and
MD5 Sum information in one line command. How can I do this?
currently I get the 1st one by running ls -latr /home... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: can not get html inside iframe , and can not fire events of elements inside iframe i am using Facebook graph API to invite Facebook friends to my codeigniter application , i want to fire a click event inside an element of iframe , but it is not firing , my code is
$("iframe").contents().find('input[name="lo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Scala/Lift - Cannot access image uploaded until jetty is restart I created a file upload form, the form will take an image file from user then save it in the webapp/images/ directory.
The problem is I cannot access the image uploaded by user until jetty is restarted.
Is there anything I should add to the code? Do I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cant store Hash table in session - Asp.net MVC3 In my application I want to store a hash table in session and retrieve later from session.
The code is shown below
Hashtable ht = new Hashtable();
DateTime fromDate = Convert.ToDateTime(dt.Rows[0]["FromDate"]);
DateTime toDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Joyent no.de: cant ssh/git push into my node.js machine I get:
ssh: connect to host switchboard1.no.de port 34726: Bad file number
fatal: The remote end hung up unexpectedly
As the instructions say my config file in .ssh looks like:
Host switchboard1.no.de
Port 34726 User node ForwardAgent yes
And I'm running o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iPhone:How to change default delete button's frame in UITableViewCell I have facing problem is that Is there any way to change default frame
of delete button in UITableView and one more thing is that delete button is always display in center of cell of UITableViewcell so any way to change frame of delete button.
//... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606276",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: call function in class i want to change the "value" when run my app.
but when i call RS232::PackageRecived in "RS232.cpp" i revived This Error :
Error 1 error C2352: 'RS232::PackageRecived' : illegal call of non-static member
//////////////////////////////////////////// RS232.cpp FILE
#include "RS232.h"
vo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to draw a vertical scale bar with css i want to draw a vertical scale bar with css for my project. please help me. here u can see the image.
http://www.google.co.in/imgres?q=vertical+scale+bar&um=1&hl=en&sa=N&biw=1024&bih=578&tbm=isch&tbnid=FJiiXsutIEBcKM:&imgrefurl=http://www.anychart.com/products/anychart/doc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-4"
} |
Q: Parameter query run hyperlink & open webpage, for tracking UPS package I have a parameter query that looks up the tracking # for a given customer_order_ID and outputs the tracking# as a website link, as a single record. Please advise me how I can have the link run automatically when the user inputs the customer_ord... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606282",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to put XDocument elements into Comboboxes (second box dependent on first) (C# .net 3.5) I'm trying to take XML and display two comboboxes. The first combobox will contain a distinct list (i.e., no duplicates) from the provinceCode elements. The second combobox will show only nameEN elements matching the province... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mongo: Selecting X elements from an array placed in an object I have the following collection for a user in a MongoDB:
{
"_id" : 1,
"facebook_id" : XX,
"name": "John Doe",
"points_snapshot" : [{
"unix_timestamp" : 1312300552,
"points" : 115
}, {
"unix_timestamp" : 1312330380,
"poi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Sqlite in a textview Is it possible to display a sqlite values in a textview?I have made it in a tableviewcontroller,but i am not able to display the same in a textview. appdelegate.biblearray is the array that holds the sqldata.I have the same qustion in another forom .please look at this link for that question [he... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Monomac An Exception as thown by the type initializer for System.Net.WebRequest I'm writing a program in monomac to ftp files to a server. I used the FtpWebRequest as
FtpWebRequest request =(FtpWebRequest)WebRequest.Create("ftp://serverip/filename");
When I'm running this code in monodevelop its running properly. B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can i write join query in android sqlite? Hi, I am new to android. I want to write query for join in sqlite. My code is -
public Cursor SearchCategory(SQLiteDatabase db){
//return db.query("category_master", null, "status = 'Active'", null, null, null, null);
String Category_Sql = " select cat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606298",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I edit the bytes code of a JPG file preserving still its header and footer? (in Java) I already have successfully coded my Steganography program in a PNG file using Java. My program works very well in both PNG and BMP files. But when I tried running my program in a JPG file, the revealed data is not the same... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Postgres select all columns but group by one column I have a simple table with a unit_id oid, time timestamp, diag bytea. The primary key is a combination of both time and unit_id.
The idea behind this query is to get the latest row (largest timestamp) for each unique unit_id. However the rows for each unit_id with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Can XAML tag names be bound? I have a simple Question.. Is it possible to use binding like this:
<my:{Binding Path=Foo} />
The reason why I want to do this is I need the foo to change by using conditional compilation, for Example:
#if BAR
var foo = "FooBar"
#endif
A: As far as I know having dynamic changes to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cutting out the middle portion of an image (example shown)? This is something I've seen done by Grooveshark, which removes the need to use multiple images for expandable buttons and such.
Basically, an image like this
is used to produce buttons of any width smaller than the image itself. I assume this is done by so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ReadDirectoryChangesW and determining which process caused the change How can I determine which processes are making changes to which files.
I did find this:
FileSystemWatcher: how to know which process made the change?
But I'm curious if anything has changed lately? Is it possible yet to determine which process ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606318",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: fscopyobjectasynch : be asked for decision where file is going to be overwritten I am developping a small file copy utility and I am using fscopyobjectasynch to copy files.
When a file already exists in the destination, I would like to ask the user if he want to keep the original file or to overwrite it.
I am tryin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Converting date string to date I'm trying to use strtotime to convert date strings in the format Jan 14th 2011 to the format 2011-01-14 but it's not working.
Is this format not suitable for strtotime and if so, how can I convert it. The month is always in 3-letter format, like Jan, Feb, Mar, Apr, May, Jun, Jul, Aug... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Confusing PHP/AJAX timeout after 900 secs(15 mins) all of the below is based on Linux, recent Apache, recent PHP module for Apache.
I am experiencing an unexpected behavior for my AJAX+PHP based web-application.
It is quite a simple AJAX approach, basically involving a request to a PHP-script (execute.php) that runs... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Function returning 2 types based on input in Perl. Is this a good approach? i have designed a function which can return 2 different types based on the input parameters
ex: &Foo(12,"count") -> returns record count from DB for value 12
&Foo(12,"details") -> returns resultset from DB for value 12 in hash format... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606332",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Where Is gcvt or gcvtf Defined in gcc Source Code? I'm working on some old source code for an embedded system on an m68k target, and I'm seeing massive memory allocation requests sometimes when calling gcvtf to format a floating point number for display. I can probably work around this by writing my own substitute ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606338",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Is there some way for networking data to be directed to two applications simultaneously? I'm developing an application that processes a real time data feed across the internet. There are 2 fundamentally different things I want to do with it: one extremely simple but critical that it never is interrupted. Another muc... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: scatter.smooth R function - color How can I change the color of the scatter.smooth in R? I can add a "col" parameter, but that only changes the color of the data points (the dots), not the actual line that is on the screen. How do I change the color of the actual line.
A: As an alternative, you can use lattice::xyp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606342",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Create multidimensional array from csv I am having trouble generating a multidimensional array from a csv file. I need to have the output 'grouped' by country as each country may have multiple networks. Some rows do not have a value for country or zone as they are related to the row above it. Unfortunately this is h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606344",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is a timer mandatory for drawing OPENGL ES I have a method called startAnimation:
-(void)startAnimation{
1: self.animationTimer=[NSTimer scheduledTimerWithTimeInterval:1/60
target:self selector:@selector(gameLoop)
userInfo:nil repeats:YES];
2: //[self gameLoop]
{
The gameLoop method is like this:
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tilde or accent on Rails 3 I have this piece of code to make a consult:
text = 'pestañas'
text.split(' ').each do |word|
@dictionary = Dictionary.where('spanish_word LIKE ?', "%#{word}%").first
end
But if I see on the debugger, I have this consult:
Dictionary Load (0.3ms) SELECT `dictionaries`.* FROM `dictiona... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JTable Header contains Image and on top of that image I want to place 3 buttons in a single header JTable Header contains Image and on top of that image I want to place 3 buttons in a single header. My requirement is to Create a "Play List" table in which user can add their favourite songs.
So in the header I want t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606359",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Bots - detecting JavaScript Events Can Bots figure out JavaScript sections of a webpage? Would it be possible for them to parse through the source code of a webpage (I am guessing the dynamic scripts will show up in the source code) and determine javascript events.
Also, I am curious if bots can do this in any othe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to release the objects which are in Xib in iphone In my .h file create 3 objects like below
IBOutlet UIScrollView *scrollView;
IBOutlet UITextView *txtMessage;
IBOutlet UIWebView *webView;
In xib make Connection for all 3 objects
hierarchy in xib like
**View
---UIScrollView
---UITextView... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java's HttpServletResponse doesn't have isClientConnected method I'm implementing a long poll http connection using java servlet.
How can I know that the http client is still active at any instance? Currently, what I do is to write a byte to the output stream and flush data. If there's an IO exception then the clien... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: In PHP, does suppressing error output of a function (via @) affect performance if no error occurs? Like most of our code base, our mysql handling functions are custom built.
They work very well and include a number of logging forks.
A simplified version of our query execution function looks like this:
if(!$result=my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Comparing two ids from two tables in php using mysql This is the SQL statement I have written.
$result_array
= mysql_query("SELECT * FROM pl_fixtures WHERE id = pl_divisions.id", $con1);
It is written to compare values of dbfix.id with dbdiv.id. Can someone please tell me what is my error in comparing these tw... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606370",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: I can find() but I can't save(), why? I'm using CakePHP with SQLite3 DB in Windows 7 x64 with PHP 5.3.8. I've a controller and when do a find("all") the records are retrieved but when I try to save() nothing hapens also when I try to read() and not understand where the problem is. This the code: http://pastebin.com/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606373",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: parsingproblem in android saxparsing @Override
public void characters(char ch[], int start, int length)
throws SAXException {
super.characters(ch, start, length);
String strCharacters = new String(ch,start,length);
if (itemFound==true){
// "item" tag found, it's item's parameter
s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606378",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to process JSON output from WCF in View( MVC3) I have a scenario where the WCF returns the follwing data ( in the function given below) to a VIEW.
private List<KeyDatesCalendar> GetKeyDatesCalendarData()
{
//Dummy Data for BrandsCalendar CheckList
var keyDatesCalendar = new List<KeyDatesCalen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Consuming non-asmx SOAP 1.1 Web Service in C# with Header Security First time poster so please take it a bit easy on me if I break any posting rules - I have read them and I think I'm right.
I've been searching for a while before posting and can't seem to find a guide on what I am trying to do so I thought I would p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TFS query Column option not showing all the columns I have a column in WIT (work item template) named " Planned end date" and Reference as "SV.Deadline" . But when i create a query, and want to add this column to appear in query through "Column Options" , i do not find this column in the list.
Can anybody help ?
Al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What are some examples of problems well suited for Integer Linear Programming? I've always been writing software to solve business problems. I came across about LIP while I was going through one of the SO posts. I googled it but I am unable to relate how I can use it to solve business problems. Appreciate if some on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to restart id counting on a table in PostgreSQL after deleting some previous data? I'm using PostgreSQL database on Rails 2.3.8 and I need to restart auto increment ID on my table. How can I do that?
A: You can do it directly in PostgreSQL using "alter sequence": http://www.postgresql.org/docs/current/static/sq... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606386",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: What is the use of "lenient "? Here lenient is used in Java DateFormat. I checked the doc, but didn't get what it was saying.
Can any body please tell me what is the use of this lenient, with one real time example where we use it?
A: DateFormat object is lenient by default.
Leniency (Javadoc - Calendar)
Calendar h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606387",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "73"
} |
Q: TFS query not opened properly in Microsoft project When open a query in Microsoft project, the start date changes. Please note that, the start date is a custom field.
A: I found the answer, update the mappingfile of your project to map the custom tfs field to Project's start field like :
the mapping file can be u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606390",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Free online php pastebins that "interpret" your code? I used to use:
http://codepad.viper-7.com
However it seems like it's down atm. Are there any other php pastebins that "interpret" code?
EX. typing in this:
<?php
echo "Hello, World!";
?>
Would print Hello, World!
A: When I need to quickly test a php string... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to move the textbox cursor to the last index of text? I have a text box where the user can enter details up to 140 characters after that a dialog box pop up which showing maximum limit reached .My problem is that after the message box is shown the cursor is blinking at the beginning of the text.and also further ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606392",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to animate my view? Recently I saw a mobile "Karbonn Tornado" has one one application that shows applications on loading page in device as Tornado model.Means how tornado action goes in the same way here animates.Is it possible in iPhone.Please support with an example or supporting materials to do it.
A: possib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606396",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to use google Authorization service in our android application? i am making google calendar application in android and i don't know how to use google Authorization service in our android application?
A: This project describes google auth and this tutorial for calendar.
A: check the OAuth concept in this you ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Access VBA: enter expression in user form, store calculated result in table? I've got a form that I'd like users to be able to enter simple maths into, with the calculated value stored in the table.
For example:
*
*User enters "1+5" into a text box.
*The answer 6 is stored in the database table.
Currently, ent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606407",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Interpreting gprof output with I am trying to find a performance issue in my program and thus instrumented the code with profiling. gprof creates a flat profile like this:
Flat profile:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to parse a stream as it's been fed to MediaPlayer? I'm tinkering with a very simple streaming web radio player, using MediaPlayer's (relatively new) stream URL methods, something like:
MediaPlayer mp = new MediaPlayer();
mp.setDataSource("http://stream.infowars.com");
mp.prepare();
mp.start();
(exceptio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP - Include inside Include (Not passing variables) Lets say we have 3 files: File1.php, File2.php, File3.php
I want to have it where in File1.php I include() File2.php. Then in File2.php I include() File3.php. I tested it out by writing test text in File3.php, and when I viewed File1.php I could see that test text... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606413",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: php foreach values assign into while loop rows I have two tables which stored question and answer, as below script is used to fetch serialize answers and would unserialize each of it into an array as following:
while($ans_row = mysql_fetch_array($q_chkans)){
$answer = unserialize($ans_row["a_answered"]);
foreach($a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tsql substring or string manipulation i have an nvarchar(max) column and i need to extract everything between the opening a href tags and the closing a href tag. for example if the contents of my column where the following:
Here you can visit <a href="http://www.thisite.com">this link</a> or this
<a href="http://ww... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mem_func and for_each usage How to call class member function using std::for_each
Here is what my class is.
template <typename _TyG>
class Graph {
private:
public:
typedef typename Vertex<_TyG> VertexType;
typedef typename std::set<VertexType> GraphStorage;... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: minesweeper java I am working on a minesweeper program in Java. I have my bombs distributed throughout the field, and I have my actionlisteners responding to clicks and mouselistener, responding to right clicks. I also have each square that is clicked check to see how many bombs are adjacent to it and print the num... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606427",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make Google oAuth remember user approval for permissions? While using Google OpenID, there is an already selected option for "remember approval". How can the same be achieved for a login with OAuth 2.0 ?
It seems to ask permission everytime for the defined scope settings, whereas in facebook Oauth 2.0, it as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I automatically minify my webpages? All of my .html and .php webpages should be minified. That means I would like to get all HTML-comments and more than one whitespace-character stripped.
Does an Apache-module exist for minification?
(Or perhaps another method to automatically add a script directly before t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: get application path codeigniter with out contents after last slash hi i am using codeigniter in my application .
for my application i need application path only before the last slash
like this
if application path is
http://localhost/elephanti/connections/fb_connection/invite_friends
i want to get
http://local... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Mapping letters to integers in MATLAB The function arithenco needs the input message to be a sequence of positive integers. Hence, I need convert a message into a sequence of numbers message_int, by using the following mapping.
‘A’→1, ‘C’→2, ‘G’→3, ‘T’→4.
A: From what I understand, the alphabet you are using contai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606439",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Imail Server Express 11.5 Server APi for .Net : Unable to load DLL 'IMailsec.dll': The handle is invalid I am writing a custom application for IMAIl express 11.5 using IMAIl Server API for .Net
I am using the following code:
Dim DomData As New DomainData()
DomData.Aliases = "TestALias"
DomDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: try-catch slowness for static methods in Java I was checking out this discussion: How slow are Java exceptions?
and while experimenting, found out that if I run static methods instead of instance methods, the normal path actually takes more time than try-catch path.
What I'm doing is: create a no-op static foo() me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: right way of testing for optional field values While writing a method in my app which uses playframework,I need to get user input for Address fields and search db for a matching one.If I can't find a matching address ,I have to create a new Address.
Here only addressLine1 and country are the required fields.
A user ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to change widget name at runtime in GWT I have a label which i need to create as per the size of my record
like if there are 2 records from database , my method should check and create 2 new labels at runtime , if 10 records there should be 10 labels to be created at run time
I am able to create 10 new labels ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606456",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting the uploaded file information using jquery-ajax I'm using jquery-ajax to check whether the file already exist in my server.
I have this code:
Upload an Event Photo <br>
<input type='file' name='imageSrc' id='imageSrc' /><br>
<a href='#' class='uploadPhoto'>Upload Image</a><br>
<div class='uploadMessage'></di... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to stop Browserfield requestContent() method when back to mainScreen on blackberry When i click a button, in next screen i've loaded browserfield requestcontent() using thread.
and i've added browserfield listener.
when click back button , i came to first screen. But in background, requestContent is executing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606462",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Perfmon counter for web services request queued Is there any performance counter for web services which give the number of web service request queues?
There is one for Asp request queue, is there one for web services?
These are not wcf web services these are classic web services with asmx extension.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7606464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Does serving MIME type images improves loading speed, what benefits I am wondering if including MIME types images, instead of the images themselves, helps improve the loading speed in the page?
What are advantages of serving encoded MIME types instead of original files?
Thank you,
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7606466",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dynamic array in delphi I have created an packaged object (TMyComponent) of TLabel and TCombobox in delphi 7.
I have created an dynamic array(MyArray) of TMyComponent. Now on Add button click I have increamented length of MyArray and create object of TLabel and TCombobox and displayed on screen. If I have added 5 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606470",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android : Change App Label programmatically How can I change application label to change app name shown from java code in android?
I'm refering to:
<application android:icon="@drawable/icon" android:label="@string/app_name">
in the Android Manifest
Is there any way to update values in strings.xml file?
A: in the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: Making google analytics ID a variable My app serves multiple domains which I understand should be done by namespaces which I'm researching. Since multiple domains should have multiple analytics ID:s I get the analytics ID from the code but I want to make it even more configurable:
if os.environ.get('HTTP_HOST').... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQUERY focusout fire at every time when i press keys at on screen keyboard <html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script type="text/javascript" src="jquery-1.6.4.js"></script>
<script type="text/javascript" src="jquery-fieldselection.js"></script>
<script>
$(document).ready(function(){
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606486",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Host name validation in php How to validate the host name in PHP?
That is if suppose am running my application server on IP:192.168.1.77 and if the request contains the Host name other than 192.168.1.77 it should not allow the further processing.
Any help or suggestion would be appreciated.
A:
I'll throw a unautho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606491",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: releasing object created in getter and setter I have some doubt regarding retain in .h file. I know that if we alloc/copy/retain than we need to release it, but in following case
@property (nonatomic, retain) IBOutlet UITableView *myTable;
Do I need to release this table view object in my dealloc. I have created th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606495",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: End animation event android I have a fadeout animation in a view (which is inside a fragment), and everytime the animation happens, after it finishes the view redraws itself again. I found a work around doing view.SetVisibility(View.GONE) . But it doesn't wait for the animation to finish. I would like to execute thi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606498",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "101"
} |
Q: Rich text apostrophes aren't printing right I'm echoing text and all the apostrophes look like this â so the word it's is printed as Itâs. Is there something I need to do to the text, like encode it or decode it or something. How can I fix this?
note: actually, it seems even stackoverflow wouldn't print the characte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606499",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get dynamic TextInput field values in Actionscript 3 Hi creating dynamic TextInput fields in a function. Need to get the values of those fields in another function. Can anyone throw some light on this.
for(var i:int=0;i<answers.length;i++)
{
txtbox = new spark.compon... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Whats the point of Tuple(Of T)
Possible Duplicate:
What's the purpose of the Tuple(T1)/Singleton in .net?
Trying to mimic a Tuple as implemented in .Net 4 (For .Net 3) I just realized there is a Tuple(Of T)? This was quite a surprize!
Why would anyone do this
Tuple<string> result = new Tuple<string>("Data");
Ins... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606506",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Error: Could not find or load main class <<< Why do I get this error? I can't seem to get this code to work correctly. This is the error I keep getting:
Error: Could not find or load main class.
What causes this?
Payroll3.java
// A program to calculate and print the department, name, and pay of an employee.
impo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606507",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Get feed titles from any RSS feed with php I'm attempting to build an RSS reader at the moment I'm using php's simplexml using
For example
$xml->item->title
But however this is dependent on the structure of the rss feed itself if the structure is different it won't work so I was wondering if theres a more broader ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Downloading bar in android I have a problem that I want to create a downloading Bar means it increases as Downloading percentage increases in the background of a list row. I don't know How to implement this in Android. Please suggest me for right result.
Thanks in advance.
A: Check out for Linq Tutorials... FROM So... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Set Grouped table view background colour how can i set the background color of a grouped table view to clear color so that is get the image of the underlying Image View.
i tried to set the view color to clear view in the xib
it works fine in case of a normal table view
but doesnt work for a grouped table view
i also... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606514",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to build Python into a C++ .exe I have a c++ application and would like to take advantage of one of pythons libraries. I have seen info on how to run the python interpreter inside the program, however I want the program to be self-sufficient, so I can run it on any windows computer, even if it does not have pyth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Select entries in "joined" table matching specific data and/or non-existing data I created two tables to manage a multi language article system :
*
*table1 is a table which is used as an index of all the articles registered
table1 = (ART_ID, ART_AUTHOR, ART_DATE)
*table2 is a table which is used to store all l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606526",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c++ Function appearing to not return anything when it should I currently have a function that is meant to return T (templated function). So I always assumed it MUST return a value, but I recently stumbled across something.
#define PRINTERROR(msg) \
std::cout << msg << "\n\tFILE: " << __FILE__ << "\n\tLINE: " << __LI... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606530",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to create website specific configuration files while running multiple ASP.NET websites on a single code base? I want to create 2 websites on a single code base in asp.net.
lets for say :
www.domain1.com
www.domain2.com
I need to keep all the appsetting key name sames but with different values for each of the we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606532",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: *curious behavoir* why is font-size over width/height <html>
<head>
<style type="text/css">
ul {font-size: 25px; list-style: none;}
li{margin-left:0; padding: 0px 5px;}
li a {width: 300px; height: 300px; height:300px; background:url(whatever) bottom left;}
li a span{visibility: hidden;}
</style>
</head>
<body... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606543",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Page transitions for slow page load silverlight Windows Phone I have a silverlight page with around 250 elements on it. The page load time is around 2.5 seconds on average. I have tried to cut down on the data part, but I don't think it helps that much.
Even loading without any data takes around 2 seconds. I'm gues... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7606547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.