text stringlengths 8 267k | meta dict |
|---|---|
Q: problem loading page in iframe in c# I am having the same problem as in this question.
I am using below code
<td>
<asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="test.aspx">Add Hotel Detail</asp:HyperLink>
</td>
<td>
<iframe id="frame1" style="height:800px; width:900px;" src="AdminControlPanel.aspx">
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Name Of the program not seen in Downloads I'm facing a problem in executing the code i've written in eclipse for Blackberry...I cannot see the name of the file in downloads when i tried to execute the eclipse code..To resolve this i went for dese options
1)I've again created another workspace in eclipse and copied t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Google differentiates between www.domain.com and domain.com with Omniauth/OpenID I have Facebook, Aol, Yahoo and My OpenID working correctly with Omniauth using either www.my-domain.com and my-domain.com for the same account.
Sadly, Google treats these separately and if after registering with www.my-domain.com and t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to redirect both stdout and stderr to a file I am running a bash script that creates a log file for the execution of the command
I use the following
Command1 >> log_file
Command2 >> log_file
This only sends the standard output and not the standard error which appears on the terminal.
A: If you want to log to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "354"
} |
Q: force c++ program to show 'synchronized' output to MATLAB command window using dos() I'm executing my c++ compiled program in MATLAB with dos('myprog.exe'). myprog produces some output that it is printed to the MATLAB command window only after myprog.exe finishes execution.
Is there a way to force MATLAB print the o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526977",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Server control behaving oddly I have a server control that I have written, which generally works fine. However when I add in the highlighted line, it adds in not one but two <br /> elements, which is not what I am after.
mounting=new DropDownLabel();
mounting.ID="mountTypeList";
mounting.Attributes.Add("class", "mou... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Custom Cell not getting redrawn three20 i have an awkward problem where calling to [self invalidateModel]; does not redraw my custom cells.
I have a TTTableViewController with an action sheet that allows to order the display of a table when pressed. The data gets redrawn correctly but the cells are not redrawn. Inst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526989",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: nginx: how to always return a custom 404 page for the default host I have nginx 0.8.53 configured with some virtual hosts which work as desired. However, due to nginx's "best match" on virtual hosts, I need to add a default host to catch all requests that aren't for a specific virtual host. I would like the default... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "31"
} |
Q: How to compare and sum values of multiple periods using LINQ in VB.Net I have the following example datatable:
Value1 Value2 Customer Product Date
100 50 1000 100 1.8.2010
50 20 1000 101 5.1.2010
200 60 1000 100 6.2.2011
180 100 1001 100 7.3.2010
500 7... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526997",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Webservices in BlackBerry I am trying to make an application that will connect to a web service and call functions from it. I have worked on HTTP connections that will hit the server. This one will send me data. But can I hit a web service and call functions from it on Blackberry? I don't have such information yet h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7526999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I read keyboard input on a Winform? I've tried using the KeyUp and KeyDown events to read keyboard input but as soon as I place other controls on the Winform, the keys are not read. How do I make sure that the keys are read?
A: You could set KeyPreview = true on your form to catch keyboard events.
EDITED to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527000",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Convert PDF documents to TIFF using iTextSharp Using iTextSharp, I want to convert PDF documents into Tiff. Is there any example? Thanks for your time.
A: I think you can't do that with iTextSharp and someone agrees with me.
Take a look at Ghostscript: with a little work you can achieve your goal.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7527002",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Sending a FILE pointer to a function for reading I've been working on this thing for hours on end and I have searched and searched and my code still does not work right.
How do I read my FILE from a function within main using argv[] as the file that I want read?
#include <stdio.h>
#include <stdlib.h>
#include <errn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527005",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Converting Web Page with Google map into PDF I am using iTextSharp library for converting my .aspx page into PDF. I am using Table, labels and Google map in my page. Every thing converts into PDF except Google map. In PDF file it shows Google map code instead of showing Map. I could not understand, how to fix this p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how combine between two arraylist if has same value sorry if i confusing, i have two arraylist as below
al1 - [Consignment, Bank, Custodian, Rejected, Bank]
al2 - [[2, 0, 0, 0, 0, 0, 0],
[6, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 0, 0, 0, 0],
[4, 0, 0, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 0, 0]]
1st eleme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: gwt developer console running outofmemory right away been using the gwt plugin in eclipse for about a year, has worked pretty fine.
However, i recently upgraded to OSX lion, and i also upgraded intellij to latest version.
Now, i have a standard gwt project. I have historically been able to start it with the devconso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527014",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unable to return my sql connection object from web service to asp.net project This my web service code :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Data.Sql;
using System.Data.SqlClient;
namespace D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Image not displaying in local host in my asp site I am loading an asp image into my site and its showing in the design view but when I run it on the local host it wont display the image.
<div><asp:Image ID="Image1" runat="server" src="~/images/FusionChart.png" /></div>
the image is stored in "images" folder within... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527026",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: to_char in vb.net I am using to_char to trim the time part in date, when I am running below query in oracle it is showing right output that is skipping time span. but same when I am filling up in dataset and displaying in grid view time span also appears in output.
StrSql.Append("select")
StrSql.Append(" to_ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FirebirdSQL queries gets stuck at 12:00PM I'm running Firebird 2.5 (and have also tried earlier versions) on Windows. Every day after 12:00PM running insert/update queries on one specific table hang, but complete successfully by 12:35 or so, no matter when started. It does seem that Firebird is doing some kind of ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: "git push heroku master" fails with the error: "Connection to ... closed by remote host" I am trying to deploy my first Heroku application. Every time I "git push heroku master", I get this... (specific directory/file names edited out)
C:\Documents and Settings\Alex\My Documents\Business\Software\...>git push heroku... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527030",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to perform doubleClick event on an array of button I have created an array of buttons. Now what I want is on double click of each of the buttons I want to display a toast which shows the text of the button which is clicked. I did it for singleClick but I don't know how to do it for doubleClick.
The code I have w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Missing shared Library for Android app What do I have to do to include an external library to my Android application?
I know, it's similar to a problem what I found here very often, but I don't want to use Google Maps API, I want to use another library, in this case it's apache commons.
I followed every step and com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527038",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a link that has a textbox "auto-filled"? How do I create a link that when the user clicks, it will bring him to the Google page as shown below (with the To field completed):
Right now, what I've managed is to simply link him to https://mail.google.com/mail/#compose and this is what he will see:
Simil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to hide whole loading process of page and show ready page to users? I'm having following problem: my PHP page generates navigation menus from db like <ul> menus then with the help of JS shows it like multi-level menu. The problem is, it shows whole loading process. At first user sees something like that:
Then... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527042",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: what is the alternative for the deprecated cachemanager class in android I see that cachemanager is a deprecated class in Android sdk. So what is the substitiute of cachemanager. I see a way with the data storage techniques. but how are they supposed to implement the cache algorithm. Does everyone has to write there... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: how to Check datetime entered I have a textBox where the user enters a datetime using a calendar, I am checking for whether the text box is empty or not by
if ((string.IsNullOrEmpty(txt_SendAt.Text) == false)
How can I check whether the datetime entered is less or = to the current datetime
A: if ((string.I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527047",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get data From Status bar and disable it? I am creating a custom lock screen so that in my activity the Status
bar won't be there.
At the mean time i want to get the the status bar notifications such
as missed calls, new chat messages, new emails, new voice-mail, etc...
How to implement this?
please give me a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527049",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to COUNT values and and use it as a variable in a Stored Procedure Basically, What i am trying to do is ;
The number of classes required is a variable. EG. The user could put 5 , 4 as a minimum.
Since i am new, i cant upload pictures, But here is a picture of my ER diagram, to get a idea of the table structur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to set the python -O (optimize) flag within a script? I'd like to set the optimize flag (python -O myscript.py) at runtime within a python script based on a command line argument to the script like myscript.py --optimize or myscript --no-debug. I'd like to skip assert statements without iffing all of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527055",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Best way to handle and deploy XQuery stored procedures? Is there a tool for deploying things into exist? if I've got a bundle of, say, schemas and XQuery stored procedures? Is there a way of, say, bundling those into a zip or tar file and uploading them or deploying them into eXist?
Alternatively what is the best wa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527056",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I retrieve the new timeline data from the API? At the f8-conference Facebook just announced the new timeline view. This is based on the new Open-Graph model
The question is, how is this data retrieved via the API?
Retrieval should address a number of complexities:
*
*The filtered nature should be just l... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: maven can't find archetype in my repository I'm trying to create my own maven archetype. For now, I'm going through this tutorial [here][1] without success. I'm able to build the archetype project okay, but when I try to generate a project from that archetype I get the error below. Maven can't seem to find the ar... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Include ExtJS control into my div I am trying to use this example to include this im my web-site. The matter is, if I try to copy it into my application, these controls fit all page. How can I include ExtJS controls into my div?
A: The ExtJS Portal demo uses an Ext.Viewport control to maximize the application to th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Draggable element should stay in the stop moving point when page is refreshed When the element (id="draggable") stop dragging, the position of the element will be sent to the database via 'mapDemo.php'. Currently the element will go back to the start moving point if refreshing the page . What I want to do is the el... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: android activity method call I am new to android development. Today I tried something that I created a project called androidPickerviws.
In that project I created two activities and in Timepicker.java activity there is method called displayTime(hours,minute);. Now my doubt is can I use this method displayTime() in D... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to merge module in dll project and define .def file I have a code of dll which were created by MS Visual Studio 6.0 and and quite old build environment and it contain various modules in it,and platform was Pocket PC 2003(ARMV4).
Now I have to convert the solution platform at WIN32 on vs2008.So first I have to co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to document and use enum-like data types in Python? Let's assume that the current code is using strings for parameters and you want to document their valid values.
Example
def MyFunc(region = None):
if region in ['A','B','C', None]:
# dosomething
else:
# complain about invalid parameter
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527077",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Difference between "memory cache" and "memory pool" By reading "understanding linux network internals" and "understanding linux kernel" the two books as well as other references, I am quite confused and need some clarifications about the "memory cache" and "memory pool" techniques.
1) Are they the same or different... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527080",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: multi-upload images in ror which is the best way to handle multi-upload via AJAX in a RoR 3 app?
I read a lot of stuff about swfupload, pupload and so on, a suggestion about the best way to attempt is welcome!
Thanks
A: have you tried swfupload?
Its easy to use with rails3 + paperclip/attachment_fu
The article is w... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dual-Side Templating vs. Server-Side DOM Manipulation I'm making an app that requires dynamic content be fully rendered on the page for search engine bots - a problem, potentially, should I use JS templating to control the content. Web spiders are supposedly getting better at indexing RIA sites, but I don't want to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527083",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Scrolling a scrollbar with the TK GUI How can a TkScrollbar be scrolled with code?
Neither .scroll nor .autoscroll are recognised.
test = TkScrollbar.new(root).pack('side'=>'right', 'fill'=>'y')
test.scroll(1)
test.autoscroll
Edit: Forgot the link to the doc: http://ruby-doc.org/stdlib/libdoc/tk/rdoc/classes/Tk/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to query MongoDB from R? I want to get a MongoDB query from R.
With the mongo shell, I would query with:
db.user.find({age:{$gt:21}})
However, In R-Mongo, I haven't found how to describe this query.
Thanks
A: If you are using RMongo, the query would be:
dbGetQuery(mongo, "user","{'age':{'$gt': 21}}}")
The re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Multiple select in Mobile Safari I have a multiple select with the first option as "All" and other options. What I'm trying to do is when "All" is selected, A, B, C, D will deselect but A, B, C, D is selected, "All" is unselected.
HTML:
<select name="filter" id="filter-select" multiple="multiple">
<option id="Al... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527096",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Currency formatting using Western digits I need to be able to display currency amounts where the currency is of the user's preferred locale, but using only Western digits. For example, if the user's chosen locale for the currency is ar_AE (for the United Arab Emirates) then the amount should be displayed as
AED 1,2... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery slow fade element on interval and fade back in if user hovers I'm using jQuery to show some notifications to the user which will appear on screen using the jQuery append method. Once they appear on screen I want to wait say 5 seconds and THEN slowly begin to fade the element out before removing it from the DO... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: C# Com OLE Server I am trying to figure out the best way to interact with an OLE Server using C# .NET
i have found some code that enables interaction with COM+ that appears to work for the OLE server but I wonder if there is a more elegant or simpler way?
I require that it be late bound.
Code (as pilfered from else... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Search in many-to-many relationship with Doctrine2 This is probably an easy one but I can't figure it out nor find an answer.
I have a simple Article and ArticleTag Entities with many to many relationship. How can I get all articles with a certain tag (or tags)?
My following tries:
$qb = $repository->createQueryBuil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: redeem code for app in iTunes Store, still valid when new version accepted? i've recently uploaded my first app on iTunes Store, it's been accepted and now it's on-line.
i've downloaded some promo code (redeem) and eMailed away to let them download it free and try it.
but now i saw there was a (little) error in my a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mongodb: how to debug map/reduce on mongodb shell I am new to MongoDB, I am using map/reduce.
Can somebody tell me how to debug while using map/reduce? I used "print()" function but on MongoDB shell, nothing is printed. Following is my reduce function:
var reduce = function(key, values){
var result = {co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Convert NSString UPPERCASE into Capitalized I have some strings like NAVJYOT COMPLEX, NEAR A ONE SCHOOL, SUBHASH CHOWK , MEMNAGAR, Ahmedabad, Gujarat, India.
I want to convert them so the first character is uppercase and remaining are lowercase, e.g: Navjyot Complex, Near A One School, Subhash Chowk, Memnagar, Ahme... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Getting Graphics-Object or Bitmap from BrowserField on Blackberry I would like to get the Bitmap of the content of a webpage as it is displayed in the BrowserField. Therefore I'd need the Graphic-object of the browser field. But the paint-method is protected unfortunately.
Is there a way to get this?
Thank's
A: Nor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527130",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: IE9 CSS hack for background-position? I need an IE9 CSS hack to be able to set the background-position property differently for IE9.
I have tried with several different ones that didn't work and from what I read somewhere, the background property is not possible to "hack" at least the same way as the other.
I basica... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Drag and drop XCodeProj into another XCodeProj not giving me the option to copy I'm trying to "install" core plot 0.4.
The first instruction is to drag and drop the XCodeProj file into my own project. I do this. Normally when I drag and drop images or the such like it asks me if I want to copy the file into my own p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: TimePicker - how to get AM or PM? I want to set an alarm based on a user's selection in TimePicker. TimePicker is set to AM/PM mode. In order to know if a user wants his alarm to set to 10 AM or 10 PM, how should I get the AM/PM value?
The listener TimePickerDialog.OnTimeSetListener passes only hours and minutes.
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "32"
} |
Q: How to create custom dialog which contain different UI in windows phone 7 I want to show any screen as a dialog. This is my main requirement, but if this is not possible second thing is: I have to create one custom dialog which contain different UI.
From above any one of requirement I have to fulfill.
A: The Coding... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iPhone MIMChartLib Chart Drawing: How can i set the Y-axis starting from 18000 but not 0? I am now using MIMChartLib to developer Iphone Chart,
But i am having trouble about the line chart,
for example
here is my CSV
Time;NAME;value001;value002;value003;value004;
01:00.0;ABCABC;1837;1837.2;1836.5;1831
02:00.0;ABCAB... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get the ipod path or save the document files path ipod? I am working in iphone technology. How to get the path in iphone or ipod.
I get the path only particular app.What is the coding for get the full documents directory.
I am using following code,that is work and display for particular directory
- (void)list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Change default configuration on Hadoop slave nodes? Currently I am trying to pass some values through command line arguments and then parse it using GenericOptionsParser with tool implemented.
from the Master node I run something like this:
bin/hadoop jar MYJAR.jar MYJOB -D mapred.reduce.tasks=13
But this only get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Prevent a process from starting and block its launching My problem is the next :
When an user hold search's button on an android phone, and this, while a progress bar is in action, the following error message is displayed:
ERROR / AndroidRuntime ( 16794 ): java.lang. SecurityException: Requesting codes from com.g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error when deploying site of a maven multi module project with FTP I have a multi module project. When I launch mvn site:deploy, the deployment of the base module works fine, but it fails to create the directory of the module sites on the FTP server:
[INFO] Error uploading site
Embedded error: Required directory: '/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: div with dynamic min-height based on browser window height I have three div elements: one as a header, one as a footer, and a center content div. the div in the center needs to expand automatically with content, but I would like a min-height such that the bottom div always at least reaches the bottom of the window,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527152",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "42"
} |
Q: wrong number of arguments (0 for 1) (ArgumentError) I am using devise as an authentication system and created a scenario.
Scenario: Home page have a login page
When I go to the home page
And user is not logged in
Then I should see "Sign In"
for step definition
When /^user is not logged in$/ do
signed_... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527157",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: addthis make magento bundle product error I got a problem about magento bundle products here. The price won't get updated everytime I make come options change on the products. And I also can't add it to the cart. I've spent several days to find the problem and finally I realize that the problem comes from this addth... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MSVC: __declspec(dllexport) does not symbols I have a small issue when it comes to writing a DLL in MSVC (the 2010 version in particular).
My program consists of the main part and a DLL. The DLL contains a function that is
__declspec(dllexport) int test_function(void) {
return 42;
}
The file is compiled using a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527161",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: dropdownlist in footer row of gridview being clear on postback I am using a dropdownlist in footer row of gridview(ASP.Net) and I fill that on rowdatabound event,first time it works fine but when the form is postbacked,dropdown gets cleared.
It can be solved by refilling it on each postback,but I want that only sing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Spring MVC 3: open ModelAndView in a new tab I am submitting a form in jsp. After running the underlying logic spring mvc returns view.
There are 2 conditions. i.e.
if(condition1){
mav = new ModelAndView("jspPageName1");
return mav;
}else{
mav = new ModelAndView("jspPageName2");
return mav;
}
I wan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What to choose for Yii based website: subdomains pointing to modules or separate yii-applications I'm making a website on yii which has several separate parts, each on it's own subdomain like themes.example.com, events.example.com etc with main page example.com where these parts are listed. I will also need to authe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to analyze log files with regexp? alternatives? I want to analyze some logs for some statisics of usage.
Basically what I wanna do is use regexp to ease the pain of analysis
So I have a text file with logs something along this
2011-09-17 09:16:33,531 INFO [someJava.class.special] sendRequest: fromGevoName=null,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there any way to open new tab(or popup, or window) with certain html content in silverlight? I have a grid filled with some data in my silverlight4 app.
I want to have "Show this as html" button for the grid.
I can generate the html, export it to savefile dialog, but that's not what i need, because in this way u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527181",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Does the use of nosql (say mongodb) increase development productivity? I develop 3 to 4 Spring Roo applications a year currently with Hibernate and MySQL. It has been stated here at Stackoverflow that relational databases are not the best fit for a typical object oriented webapplication .
If your DB is 3NF and you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: java inputstream What is an InputStream's available() method is supposed to return when the end of the stream is reached?
The documentation doesn't specify the behavior.
A:
..end of the stream is reached
Don't use available() for detecting end of stream! Instead look to the int returned by InputStream.read(), wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What's the best way of adding a custom centre button to a tab bar? Many apps have a standard tab bar with a custom button in the centre which performs some special function. Some examples can be found here:
http://mobile-patterns.com/custom-tab-navigation
What's the best way of implementing this?
A: I got Franciso... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Default load in combobox If I want to load for example a default country when the combobox shows up ("Country: Lebanon"), how do I do so?
I am using VS2008 (C#). Thank you.
A: Add some items to the Combobox...it is just a sample, you can run a loop also to add items.
combobox1.Items.Add("USA");
combobox1.Items.Add(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery Menu, Prevent constant loading I have made a jQuery menu, Looks great, works a treat. The only problem I have is when a user mouse's over it, It tends to "Bounce" quite a bit on a few mouseOver and mouseOuts, becoming slightly annoying and to a point where we may have to scrap it.
Does anyone know a way to st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527196",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Problem with mysql query I am creating a playlist table. I want to print tracklist from database. I have this sequence of data stored in database.
album | track | singer
----------------------
A | 1 | X
A | 1 | Y
A | 2 | X
A | 3 | Z
This way that is if track 1 has sung by both x ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Setting styles for subcontrols of usercontrol Say I have a user control like this:
<UserControl x:Class="StyleTest.UserControl1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527202",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Hide selected TabIItems in WPF TabControl I'm using the TabControl in WPF as a sort of equivalent to the ASP.Net multiview control. I need to make two of the four tabitem headers hidden. What would be the best method of doing this in XAML?
A: I fixed this by adding DataTriggers to my Template. If my tab is DeTached... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527211",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to develop android applications on the device? Is there a way to develop android applications on the devices themselves? If I want to write some code for a linux machine I usually do that on a linux machine. It would be nice to develop android applications on the device (say a Nexus S) (type the code)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: What kind of iteration should I use for LinkedList? I know that traversing LinkedList by indexing is bad, because list.get(n) is executed in linear time O(n). Thus i shouldn't use indexing. I looked at the AbstactList.Itr that is returned by iterator() call, it uses get(cursor) too. I'm confused.
As pointed out by @... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527217",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Finding a record in one of 2 tables In PostgreSQL 8.4.8 database I have 2 tables: noreset and track.
They have exactly same column names and contain records identified by unique id.
A record can be present only in one of the tables, for example:
# select qdatetime, id, beta_prog, emailid, formfactor
from norese... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527220",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: color of apache wicket component I have the following code:
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:wicket="http://wicket.apache.org/dtds.data/wicket-xhtml1.4-strict.dtd"
xml:lang="en" lang="en">
<body>
<wicket:panel>
<div wicket:id="serviceListContainer">
<table>
<tr wicket:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527230",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ANTLR @header, @parser, superClass option and basic file io (Java) I want to use parser actions with basic file io (Java), e. g. PrintWriter in an ANTLR grammar. Must I use the superClass option or can I use @header? In both cases how can I declare the PrintWriter-object and how must I handle the exceptions?
A: The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Save button click event getting fired up on refreshing the page once done with binding the data to a gridview through save button in asp.net I am working on a web application using C# and ASP.NET. I am binding the data to the gridview through the textboxes in the same page and I wrote the binding method in my "Save"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I am getting No such property while giving target step in soapui I am taking the value from the one response and coamparing that value with one integer and based on the boolean i am navigating to the other step.
It is showing No such property: testrunner. Please let me know why this is happening..
if (cardScheme == ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBScript Sending Email with High Importance I used VBScript to write a function to send email automatically.
With .Configuration.Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "SMTPHOST.redmond.corp.microsoft.com"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527249",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Stop location.hash of frame's parent from reloading page I have a frameset with to frames left/right. The content of the frame left the one below. As you can see, I want to update the hash/fragment identifier of the left frame's parent (the uppermost window) location.
However, this leads to reloading the whole frame... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527250",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Browser compatibility/support table for JavaScript methods/properties I found a few days ago a nice site with a big table with all the javascript proprieties/methods and the availability to all major browser.
My problem is that I can't find that site any more. Where can I find such a list?
UPDATE: Of course I've se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527269",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How do I use custom fields in Mantis' Roadmap? I'd like to have an effort estimate for upcoming versions of my software in its Roadmap in Mantis Bug Tracker.
I could figure out easily how to add a custom fields (integer type, called "days to complete") to issues, and how to show it on the "view issues" page. But I c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527270",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: The underlying connection was closed: An unexpected error occurred on a send I am trying to use DoDirectPayment method in my website.
This is the sample I am referring:
using com.paypal.sdk.services;
using com.paypal.sdk.profiles;
using com.paypal.sdk.util;
using com.paypal.soap.api;
namespace ASPDotNetSamples
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: sql databases Northwinds , pubs , AdventureWorks or some others? Technology : Microsoft SQL Server 2008
Aim : Master SQL Server 2008 using Microsoft's databases
I am looking for a tutorial where I get a lot of exercises to do, so that I can master SQL Server 2008. Isn't it a good idea to choose Microsoft's databases... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS - UITableViewCell initialization fail, EXC_BAD_ACCESS i've a simple View that is the third level of a UINavigationController, it show an empty table from a nib, here is the code of the .m file:
#import "ThirdLevel.h"
@implementation ThirdLevel
@synthesize lista, categoria;
- (void)viewDidLoad {
[super v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: array size > 0 although no key is set short question.
given the following example:
$arr = array();
$arr[0] = false ?: NULL;
var_dump($arr[0]);
var_dump($arr[1]);
var_dump(isset($arr[0]));
var_dump(isset($arr[1]));
var_dump(count($arr));
the resulting output is:
NULL
NULL
bool(false)
bool(false)
int(1)
why does... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527280",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Entity relationships design with JPA2 I have two entities, User and UserSetting. The obvious relationship between these two has User as the first rate entity which contains a set / list of UserSettings so when a User is loaded the settings get loaded too. E.g User 1-->* UserSetting
Trouble is that's not what I want.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I access the properties of my object using STAssertTrue How do I access the properties of my object using STAssertTrue in unit tests?
I don't have access to the properties of my object and I want to do a comparison?
A: You can access object properties as usual, so I guess you are talking about missing code c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527285",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Add endpoint header security WCF programmatically I've this web.config file to configure client proxy from a external service this service required authentication on the messages header, I've the service well configured on my web.config but for now I'm try create the proxy with this configuration on code,with propos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Allocate and initialize pointer in local function I want to allocate memory and fill it to the pointer, that are one of the function parameter, but I think that I don't get some important thing, help me please.
So, If I do that everything works fine:
void alloc(char **p, int n)
{
*p = new char[n];
}
int main() {
ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527293",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Putting html within a php array I'm having problems with the syntax for a php array.
<?php
$pages = get_pages(array('child_of' => $post->ID, 'sort_column' => 'menu_order'));
$data = array();
foreach($pages as $post){
setup_postdata($post);
$fields = get_fields();
$data[] = '<p>'.$fields->company_name.'</p><im... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527294",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: How to prevent dialog to open twice I had button in my app, on doubleClick of my button I open a dialog. Sometimes when I doubleClick the button in a fast way then the dialog opens twice, as a result of which the user has to cancel the dialog twice.
So can anyone suggest me how can I prevent this dialog to open twic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: posting pickle dumps string with urllib I need to post data to a Django server. I'd like to use pickle. (There're no security requirements -> small intranet app.)
First, I pickle the data on the client and sending it with urllib2
def dispatch(self, func_name, *args, **kwargs):
dispatch_url = urljoin(self.base_ur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7527302",
"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.