text stringlengths 8 267k | meta dict |
|---|---|
Q: Android MediaPlayer Mute and unmute I am playing a video using MediaPlayer. Now there is a mute/unmute button. This toggle button should set first the video play without sound, on second press it should make its volume to its initial state. I tried with AudioManager.setMicrophoneMute method. It did not work. How it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568140",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Recommendations Bar not posting 'read' items to timeline I have seen various posts about the add-to-timeline social plugin being 'broken', however have any of you managed to get the to work?
With the og:type set to article the plugin was marking posts as 'read' but they were not appearing anywhere in the timeline, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to disable the color change of item in ListBox when the mouse on the item ? I have simple ListBox with some objects.
When the mouse is on some object the object background color is change.
Is it possible to avoid this color change with out disable the object ?
( this object contain button that must to be enab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Displaying Video from webcam in opencv on GTK+ I'm new to this and was wondering what i need to do to my open cv code to display using gtk.
Does it need to be converted or what?
A: It's fairly simple to do using Python. Here is a class that I've written to control a webcam using OpenCV and convert the frames to a N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568144",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Compare version numbers without using split function How do I compare version numbers?
For instance:
x = 1.23.56.1487.5
y = 1.24.55.487.2
A: In addition to @JohnD 's answer there might be a need to compare only partial version numbers without using Split('.') or other string <-> int conversion bloat. I've just writ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "160"
} |
Q: Paperclip image inside link_to => undefined method `symbolize_keys!' for # I have the following code:
<% if design.avatar.file? %>
<%= link_to image_tag design.avatar.url(:thumb), design %>
<% else %>
<%= link_to image, design %>
<% end%>
And i get this error:
undefined method `symbolize_keys!' for #<Design... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568148",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: h:commandLink not firing the form.submit event When my page is loaded I execute the following JS script, which I use to display a popup saying (please wait...) when any form is submitted.
jQuery(function(){
jQuery("form").submit(function(){jQuery('#wait-link').trigger('click');return true;});
});
This works fine ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568154",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What are the reasons behind disabling cURL for security? Many hosts use to disable cURL because of "some" security reasons.
I'm looking for these reasons. A quick google lookup didn't give me an in-depth information.
A: Many infections (especially botnet types and some admin-shell types) that abuse arbitrary code e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568160",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: tableview image not getting refreshed in my cellForRowAtIndexPath delegate i am trying to load different images into a custom cell depending on which array (detailViewListLoadMore) is being loaded into the table. The array contains annotation objects.
however the images dont seem to refresh, they seem to be the same... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568162",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MouseWheel handler doesn't handle MouseEvent with my .NET 2 form I'd like to be an early adopter of using the mouse wheel to scroll my document and although the Forms designer doesn't publish the onMouseWheel property I have configured the handler programmatically in my ctor just after InitializeComponent();- 'cos I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568166",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ipad UIImagePickerController videoQuality I am trying to set the video quality for the UIImagePickerController but I see something really werid now. The effect on the video quality only happen after I reset my application. I try to change the video quality based on some user setting, by some code like this:
if (... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568169",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Tuning in Teradata (group by) I am trying to tune a query in Teradata. It's pretty huge, so I am giving below the outline:
SEL column_1, column_2......column_20, sum(column_21), sum(column_22),.....sum(column_30)
from table_a a
inner join table_b b
on conditions...
group by column_1, ...,column_20;
I am trying to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568172",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: css classes and id's
Possible Duplicate:
Use HTML tag names, classes or IDs in CSS?
In CSS, what are the major differences with classes and ids? Why use classes for xyz and why use ids for abc? I know there are similar questions on here, but none are really answered properly.
I know to use classes with multiple e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568184",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Zooming in android - keep image in view I know there are tons of threads on actually getting pinch zoom implemented - but I got this far already.
I'm using SimpleScaleGestureListener to handle the pinching. I've managed to make sure you can't zoom out farther than to keep the image height the same as the screen size... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568185",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: WPF Full screen focus issue? I've a bit of an issue with a WPF application I recently wrote, which I'm hoping is something trivial
but I can't figure out an appropriate way to debug.
My WPF application is a full screen application, that hides the mouse and is intended to be driven via the keyboard and as far as I'm ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Rails 3.1.0 server crashes when trying to delete Association model I have the following models:
association.rb:
class Association < ActiveRecord::Base
has_and_belongs_to_many :users
has_many :condominia, :dependent => :destroy
accepts_nested_attributes_for :condominia, :allow_destroy => true
end
condominium.r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iPhone/ipad convert quartz2d line drawing to opengl This is a completely rookie question but I'm looking for some beginners guidance with opengl. I've got an app that uses quartz 2d to draw static lines on a view. This has been working fine but we are hitting some performance issues on ipad 1 and we don't feel like ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568194",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to put a hyperlink in the middle of a paragraph using the slim templating language? How do you write the following in the slim templating language?
<p>Join the <a href="">Google group</a> and let us know what you think, or what other features you’d like to see.</p>
I tried the following:
p
' Join the
a href... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Visual Studio 2010 - Macro menu disabled? My VS2010 Macros menu has been disabled. Any ideas on how to get it back?
A: Tools->Options->Environment->Add-in/Macros Security->Enable Allow macros to run
A: Macros are not available in VS 2010 Express - which version are you using?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7568199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Getting number from picture of vehicle number/license plate in android I have a app to develop which scans or take picture of vehicle number plate and get number from it. Has anyone done it before in android. How to approach this app in android. Thanks in advance.
Regards,
Anuj
A: in order to develop such type of t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568212",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to read constants from .h file in C# I want to read the constants in C#, these constants are defined in a .h file for C++. Can anyone tell me how to perform this in C# ? The C++ .h file looks like:
#define MYSTRING1 "6.9.24 (32 bit)"
#define MYSTRING2 "6.8.24 (32 bit)"
I want to read this in C# ?
A: You have t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568224",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP Remove url-"not allowed" characters from string I have read through all the questions regarding this, and would like to know if $str = preg_replace('/[^\00-\255]+/u', '', $str); is sufficient for my scenario.
My Scenario
When a user creates an account on my site, he enters his company's name. This can be anythin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Rename multiple files by using BATCH, VBSCRIPT or BASH SHELL I have a numbers of files in folder A, what I need to do is to rename the filename to different pattern example: TTFILE-201109265757.dat to YTL.MSZSH1.ch1.201109265757_0001.0001.dat
Where YTL, MSZSH1, ch1 is prefix then follow by the filename then _ then s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to implement yearly and monthly repeating alarms? I want to set monthly and yearly alarm in my app.I did this for weekly. AlarmManager.INTERVAL_DAY helped me for that.But i could not find good way to implement monthly and yearly repeat.
Searched so far:
http://www.satyakomatineni.com/akc/display?url=displaynotei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568233",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Creating a UINavigationController inside custom class I have a modal view controller which is used in several places throughout my app and, in an attempt to apply to 'DRY' as much as possible, want to encapsulate the oft repeated task of creative a UINavigationController and dropping the view controller inside of it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Multiplying a double by 100 in C# leads to unexpected answer
Possible Duplicate:
C# Maths gives wrong results!
I have the following code in my C# windows application project:
double test = 2.24 * 100;
If I add a watch to test, one would expect the value to be 224, however it is actually:
224.00000000000003
can an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to do row-wise subtraction and replace a specific number with zero? Step 1: I have a simplified dataframe like this:
df1 = data.frame (B=c(1,0,1), C=c(1,1,0)
, D=c(1,0,1), E=c(1,1,0), F=c(0,0,1)
, G=c(0,1,0), H=c(0,0,1), I=c(0,1,0))
B C D E F G H I
1 1 1 1 1 0 0 0 0
2 0 1 0 1 0 1 0 1
3 1 0 1 0 1 0 1 0
S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568246",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Issue while populating array in COBOL I am getting very strange scenario. I have one array defined in my COBOL pgm.
05 A-TABLE.
10 A-TABLE-LIST OCCURS 10 TIMES INDEXED BY A-IDX.
15 FILLER PIC X(7) VALUE '<TEST>'.
15 A-LIST-VALUE PIC X(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to know DB Size when FILEGROWTH applied? MS SQL 2008.
I have a DataBase which use FILEGROWTH (this property specifies the growth increment of the DB.).
As soon as my DataBase reach the size of 40MB DB it will be expanded +20 MB (FILEGROWTH) till reach the MAXSIZE... Correct?
If it is Correct, how can I get the C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nib's IBOutlets are not connected (nil) I have a Custom class which is supposed to load a window from a nib file.
When I load the nib file everything looks fine except the IBOutlets are not connected i.e. nil. IBActions work fine and when they are called the IBOutlets are not nil anymore.
The class is added to the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568255",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MBProgressHUD naming convention clarification I came across a very nice API MBProgressHUD, however when I was reading the documentation in the header MBProgressHUD.h I got confused since the doc says that - (id)initWithWindow:(UIWindow *)window; is a convenience constructor.
According to Apple docs regarding memory... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568256",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: file (not in memory) based JDBC driver for CSV files Is there a open source file based (NOT in-memory based) JDBC driver for CSV files? My CSV are dynamically generated from the UI according to the user selections and each user will have a different CSV file. I'm doing this to reduce database hits, since the informa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Creating Bucket using LearnBoost/Knox working on project where I have to use Amazon S3 services and thus using LearnBoost/knox...want to know how to create a bucket using the knox client.
Thanks in advance.
A: I was looking for the answer to this question, and found this unanswered. I ended up with the following ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568261",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Proper way to implement move semantics for class with std::vector of std::vector member I have a class that has a member which is a vector of vectors. I would like to write a constructor for this class that takes an r-value reference to a single vector as an argument, and moves it into the member vector as a single ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568263",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Storing database in NSCachesDirectory I want to keep my database in NSCachesDirectory.
Will it gets deleted without i am doing it programmatically?
Is there any possibility to happen this?
Please let me know.
Thank you.
A: Yes. The Caches directory will not be backed up and will probably be empty after a resto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to write tests for javascript with variable responses to different viewport width sizes I have javascript code that displays a different set of UI for different viewport widths - and I'd like to put in some automated tests for them to help in regression, but my question is, how do i do this if I'm using qunit or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568271",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a jquery work that can make css shadow-roundedcorners works on IE6 and Up I need to make a cross browser css, to keep my websites look same in each browser.
Is there any Cross Browser CSS sheet, which can be also called as "css hack" to make shadows and rounded corners shown as same in all browsers and is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to set Time Range in UIDatePickerModeTime Hello friends I am trying to set the Time Range Of the DatePicker in UIDatePickerModeTime,as we have MaxDate and MinDate,whether its possible to set Mintime and Maxtime selected by user,,
Suppose I want the user to select the time between 16:00 to 19:00 only for each day... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Looking for a PInvoke style way to customise the SaveFileDialog using System.Windows.Forms.CommonDialog I would like to write an implementation of System.Windows.Forms.SaveFileDialog extending from System.Windows.Forms.CommonDialog and using the bool RunDialog(IntPtr hwndOwner) method to register a custimisation hoo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows service blocking TCP traffic I have a strange issue. Have a windows service running on Windows Server 2008 that receives files over TCP and saves to disk. Initially service was running as Local System account. It worked ok for 7 days and stopped receiving. From the sender side connection succeeds but send fa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568291",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unloading COM Objects C#
Possible Duplicate:
How to properly clean up Excel interop objects in C#
I am using EXCEL INTEROP for reading excel files in my .NET application. However I see that after am done with it, I still see the EXCEL.EXE in Windows Task Manager.
The code is as follows:
ApplicationClass excel = n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Find free rooms for today using mySQL If in a mysql table RESERVATIONS there are RPOM_NUMBER, DATE_ARRIVAL and DATE_DEPARTED
How do I find all the rooms that are available today?
A: Select RPOM_NUMBER where current_date() not between DATE_ARRIVAL and DATE_DEPARTED;
This might be help you. If you can give details t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568296",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Exporting an array to CSV I need a module for Drupal 7 that can export CSV when given an array of values.
A: You don't need Drupal for this, you can use the PHP fputcsv function. Have a look at that page, there are clear examples of how to save an array as a CSV file.
Hope that helps
A: Sorry for the late response... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Error: "can only concatenate tuple (not "list") to tuple" in urls, Django I've got an error in my urls:
TypeError at / can only concatenate tuple (not "list") to tuple
Can't get what I did wrong. Where is the list in there?
from django.conf import settings
from django.conf.urls.defaults import patterns, include,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to type in local language in text box? now we are able type in English in a text box in a web based application and than it can be converted to desired language but my problem is i want to type the text in my local language and convert them to another. what should i do now?
help me please
pleas give me solutio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568306",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: iOPhone: AdMob just blue banner with compass I'm trying to ingegrate AdMob in one of my free iPhone Apps. In my last Apps the integration seems to work fine and I got real banners from AdMob.
But at the moment I'm getting only a blue banner with a small compass icon. Looks like a test banner.
Is that okay? I deactiv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Check if Twisted Server launched with twistd was started successfully I need a reliable way to check if a Twisted-based server, started via twistd (and a TAC-file), was started successfully. It may fail because some network options are setup wrong. Since I cannot access the twistd log (as it is logged to /dev/null, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Exception while re-deploying my webapp on tomcat 6 All,
I am having problems redeploying my java webapp packaged as war using maven 3.0 (mvn package) on tomcat 6.0
However if I restart my server completely i donot get this exception and the whole app runs perfectly fine.
Here is the details of catalina log:
WARNING:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568313",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery animate help needed I am using animate in jQuery. I am getting problem to execute animate. It executes after test function I want to run this before test function
$('.next').live('click',function() {
$('.ac_bgimage').animate({
left:"-100em"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568314",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: java multi-line string behave strange in rational function test I just wonder why it act this way.
In IBM RFT 6.x version integrated with a eclipse IDE .
I run the follow lines to get a text output from another program.
String Text = "";
String Text_Value = "";
Text = (String) outputText().getProperty(".value");
Te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568320",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change Tracking with DTO to POCO Entity Framework 4/4.1 I've used Entity Framework 4.0 POCO entities for persistence layer in the current project.
I've used DTO's to send the data from Service Layer to UI Layer. Repositories and inside of Service Layer have used POCO.
There is a Mapping Layer to map (DTO to Domain(P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568322",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android market publish (application language settings): "Fill fields with auto translation from English" Under Android publish > your application > language > add language is option Fill fields with auto translation from English (en)
What does it do? Does it translate my application to all possible languages automa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568325",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I return positive responses other than HTTP 200 OK with Luracast Restler? I understand that Restler automatically returns the result of my method with the HTTP Status code 200 (OK) and if I want to return an error response I use
throw new RestException(400); // returns HTTP 400 Bad Request
But how do I retu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Sharing contracts between WCF client and service It was my understanding that when a developer (a company) develops both client and service, it’s better to put data and service contracts into a separate assembly to be used by both client and service applications. It is to avoid code duplication while generating a pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568328",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to handle "System.IO.IOException: There is not enough space on the disk." in Windows Azure I have a problem in Windows Azure. I'm storing temporary files in local storage. After a certain time i get a System.IO.IOException: There is not enough space on the disk.
So I have read some articles about it and microsof... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Dynamically change the HTML source using native JavaScript? I was trying to change my HTML files. Please see this to get a better understanding of what I am up to.
Every thing worked fine but as I viewed the source it was not changed. The changes I was trying to make were only reflected on the web-page I had opened ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568343",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: I am trying to refresh the data in form2 if the value from form1 is changed when the form2 is already loaded I have two forms Form1 and Form2and I showed details from Form1 in Form2. I am trying to refresh the data in Form2 if the value from Form1 is changed when the Form2 is already loaded. I have displayed the det... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568347",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Show JQuery UI Autocomplete suggestions on top of other elements I'm using JQuery UI Autocomplete to suggest different cities on a map control. I usually have other divs showing content that interfere with the suggestions from the autocomplete. The divs appear on top of the suggestions.
Changing the z-index of these... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android - ResourceNotFoundException for application label I am wondering if anyone can help me. I am getting a ResourceNotFoundException in my android application.
It occurs when the following code is run (the exception occurs on the getString() call)
context = getApplicationContext();
PackageInfo p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: 3d plot in R - Patch I have the following data in a data frame:
**x** in (0,1)
**y** in [0,1]
**z** in [0,1]
For example:
X,Y,Z
0.1, 0.2, 0.56
0.1, 0.3, 0.57
...
I'd like to plot them on this type of chart:
I tried on R, but all I could get was a not-so-fancy 3d scatterplot.
I also read about the lattice 3d wiref... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568356",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to use Jersey with Eclipse Helios? My base need is to use the Jersey framework to develop very basic REST webservices.
I've read several tutorials regarding Jersey (JAX-RS framework) and writing webervices but so for I've not found an easy way to setup a development environment based on Eclipse Helios and Glassf... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jquery- how to get different page elements There is one hyperlink in One.html and when I click on that link then window Two.html page having some images open[window.open('Two.html','mywindow','width=400,height=200')]
I want, when I click on image on window then that same image will also appear in One.html
Below is m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568366",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Redirection from filter in Java EE How do I track the first HTTP request when a session will get initialized and allow it from a filter?
After initializing this session "it" will always pass through the filter.
A: You can use a session attribute as a boolean flag:
HttpSession sess = request.getSession();
Ob... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568369",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Limit the number of non decimal digits in an edittext I have an edittext in which I have to enter only digits below 10000. 9999.99 is a valid entry but 10000 is not. Is there any way to limit the number of digits in the mantessa part
A: add this line android:numeric="integer" and take a TextWatcher check total val... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Define an item order in the list I have items in a list. I would like to add a number field that would indicate the order of the items in the list. Is it possible to do it ? I can't find any option like that.
In fact, it seems that the "Change Order" option available in all previous SP version is missing in SP 2010.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568372",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Multiple UI Threads - Winforms I want to create multiple UI threads in my application. I have simulated the scenario as below. I am creating a new window / form on a button click in a background thread
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: jQuery - Rotate an image by a static amount, and then apply a drop shadow? Can anyone give me a jQuery example of how to:
*
*Rotate an image by a static number of degrees (say 30 degrees)
*Apply a drop-shadow effect to the rotated image
A: -webkit-transform: rotate(30deg);
-moz-transform: rotate(30deg);
filte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568379",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Windows Azure Exception: "Access to the path XYZ.exe is denied." I use local storage on Windows Azure to store temporary files. In there I call an .exe file to make a conversion of several other files in same local storage folder. Problem is I always get the exception "Access to the path XYZ.exe is denied.".
I shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why is environ['QUERY_STRING'] returning a zero length string? I found the solution to my (dumb) problem and listed it below.
I'm using Python 2.7.1+ on Ubuntu 11.04. The client/server are on the same computer.
From the Wing debugger, I know the server code is being called and I can walk through the code one line at... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568381",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.NET sitemap as dropdown menu display problem with non child elements I have a asp.net sitemap with single level dropdown menu. I am using following code in master page to display them as dropdown menu by generating <li> and <ul>. It works fine the issue is, even if some items dont have child items it generates e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: cartographer - undefined method 'has_key?' i have a problem with Cartographer plugin for rails3:
https://github.com/joshuamiller/cartographer
I've done everything just like in the docs and all i'm getting is this error: undefined method 'has_key?' for false:FalseClass in this line:
<% raw Cartographer::Header.new.t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568385",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: GWT problem when setting inner html I'm having big trouble while setting text (as HTML) for gwt HTML component. In my case I'm setting my UiBinder template, let's call it foo.ui.xml
...
<g:HTMl ui:field="testfield"/>
...
Because it's a dialog window I want to dynamically change content of this field. In my View cla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Vertically aligning multiple lines of text in IE7 I am trying to vertically align text in IE7 is proving to be a PITA without the css options of display: table; and display: table-cell;
It is for a navigation that looks similar to this:
<ul>
<li><a href="#"><span>Text covers one line</span></a></li>
<li><a h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568399",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jibx 1.2.3 modular schema to code generation - binding compilation causes Internal error - cannot modify class I have a maven multi-module project having hierarchy:
parent
+ ota-module
+ ota-common
+ ota-veh-avail-rate
OTA2003B ( http://www.opentravel.org/Specifications/SchemaIndex.aspx?FolderName... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568403",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to set the progress bar before showing result? how to implement code for set the Progress bar before displaying the result in the same activity. .. My issue is want to Show Progress Dialog Before Setting Image And Before Starting Video.... help me to solve the problem.
A: ProgressDialog dialog;
private class T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: MS Access select statement, select *, ' ' from sometable shows the following result In MS Access the query SELECT *, ' ' from sometable shows the following result:
EXPR001 field1 field2
------- ------ --------
some some
value value
(result 1)
While in SQL Server or other MSDB the above q... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568408",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: In Objective C does every user class extend NSObject by default? While going through an Objective C programming book just now . I noticed this code
@interface Fraction: NSObject
{
int numerator;
int denominator;
}
-(void) print;
-(void) setNumerator: (int) n;
-(void) setDenominator: (int) d;
@end
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568415",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Replacing Open File Dialog in Excel XP with a COM Add-in I am working on a C# add-in for Excel XP for which I need to handle file open and save events with my own dialogs. I managed to do this for save by (basically) handing the WorkbookBeforeSave event on the Excel Application object and cancelling the default beha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568416",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: findAll filter by associated in CakePHP 1.1 I need help to solve a problem with a CakePHP 1.1 project, and a findAll query.
Here is the query:
$events = $this->EventCategory->findAll(null, null, array("EventCategory.name" => "ASC"));
And this is a example of the result array:
[1] => Array
(
[EventCa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568417",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Correct Format for JSON (Json.NET am trying to consume json strings inside asp.net and google told me about this Json.NET library.
I have the following json from a php webservice:
"[{\"AccountID\":\"demo\",\"UserID\":\"1\",\"Password\":\"*blank*\",\"Active\":\"1\",\"Name\":\"\"}][{\"AccountID\":\"demo\",\"UserID\":\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568418",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to drop list of table from a schema in Oracle? My Oracle scott schema contains table list like that
'prefix_A'
'prefix_B'
'prefix_C'
'A'
'B'
'C'
Now i want to drop list of tables ,containing table prefix like that 'Prefix_',But others table A ,B ,C will be remain same.
How it is possible ?
Thanks in Advance.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568419",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How To Perform iOS App Validation From the Command Line Is it possible to perform the local Validation for iOS applications (which can be see in the Organizer under Archives) function via the command line?
UPDATE: Just to clarify - the goal here is to eventually make this validation a part of the continuous integrat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "29"
} |
Q: cloud and eucalyptus authentication experiment In general we can enter to eucalyptus with some credentials.but i want to have my own authentication policy of implementing.Here i would like to use key distribution center for providing the keys for confidentiality so that user can have security features.. can anybod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568422",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there an event in Javascript that fires when user changes tabs in browser Let me start with the problem: Chrome behaves strange when using setTimeout() if the user changes browser tabs, the executing of the Javascript is halted/pauzed. After the user changes back, Chrome wants to catch up, so the animation isn't ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568423",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What winapi C function call can I use to convert unicode to ascii and vice versa? It has to work with a C program so it has to be a winapi c call
A: That would be WideCharToMultiByte and MultiByteToWideChar.
A: All 128 ASCII characters convert to the unicode code point with the same value (see ASCII in unicode glo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I determine why my process terminates I have a problem where during a call to a 3rd party library routine my process terminates. I am completely unable to catch this in my debugger. This may be related to this question: How can I debug a win32 process that unexpectedly terminates silently?.
When I step over ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568425",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: write the contents of application page to a file in WP7 I want to write the entire contents of my application page (eg Mainpage.xml) to a file (in Isolated Storage ) How do I do it in WP7 ? are there any methods available to parse the page contents and write it to file in windows phone 7 ?
A: There is no built in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568428",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get text between two Elements in DOM object? I'm using JSoup to parse this HTML content:
<div class="submitted">
<strong><a title="View user profile." href="/user/1">user1</a></strong>
on 27/09/2011 - 15:17
<span class="via"><a href="/goto/002">www.google.com</a></span>
</div>
Which looks like... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: NodeJS: How to save facebook profile picture I am using express and nodejs and am having problems saving facebook profile pictures to my server.
Location of picture: http://profile.ak.fbcdn.net/hprofile-ak-ash2/275619_223605264_963427746_n.jpg
Script Being Used:
var http = require('http')
var fs = require('f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: make pause between drawing two draws I want to make a pause between drawing two draws. I've tried Thread.sleep, handlers, asyncTask and got same result - when activity starts up I must wait for a time that I set to see the first draw, only when I call same method (test) again, I see second draw instead of seeing fir... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Rails's link_to return url with dot instead of slash Rails 3.0.9 with haml gem & Ruby 1.9.2-head with rvm
I have order resource.
Fragment of routes.rb file
resources :orders
The call link_to helper with instance of the Order model return /order.2 instead of /orders/2.
Fragment of order_controller.rb and index.html... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Splitting content into 2 columns CSS I am trying to split the content into 2 columns
using the below CSS
.container2 {width: 320px; height: 100px; display: block;}
.image2 {border: 1px solid #F2F3F4;
float: left;
height: 50px;
margin-right: 6px;
padding: 1px;
width: 50px;}
.image2 img { height: 5... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568448",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: as3 Number type - Logic issues with large numbers I'm curious about an issue spotted in our team with a very large number:
var n:Number = 64336512942563914;
trace(n < Number.MAX_VALUE); // true
trace(n); // 64336512942563910
var a1:Number = n +4;
var a2:Number = a1 - n;
trace(a2); // 8 Expect to see 4
trace(n + 4 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iPhone : How to create expanadable table view? I want to create expandable table view.
I found one link which is same as I want.
But I want to create my own table view (Dont want to implements this github code).
How do I achieve this type of functionality ?
A: See this nice tutorial:
Table View Animations and Ges... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568450",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Getting web content - browser does not support frames I have a snippet of code like this:
webUrl = new URL(url);
reader = new BufferedReader(new InputStreamReader(webUrl.openStream()));
When I try to get html content of some page I get response that my browser doesn't support frames. So I do not get the real html o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568457",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Default schema for a user Default schema for a user.
Its mean, whenever I execute a select query without pointing any schema, it uses the schema which is set as default (I read somewhere).
For Some reason I have change the default schema for a user. Now select statement should be point default schema, But it’s no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568458",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Animation on UIButton Click in iPhone Everybody..
How to set animation on button click ?
I have two buttons, both have different frame..
First CGRectMake (10 , 10 , 100 , 80 ); It has Black Image,
Second CGRectMake (200, 10 , 210 , 80 ); It has White Image,
When I click on First button of those, It should be ani... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568464",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android - Issue dealing with static method (?) and the last step This is really doing my head in, I have been following these instructions but it won't work. Step three is causing me trouble. I'm note sure exactly what needs to be added where. It says;
"In the onCreate() method of your app instance, save your con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568467",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Pass Nothing from Javascript to VBScript in IE9 I have a framework written in VBScript. Inside some function in this framework, a parameter of the function is checked for Nothing in an If statement and then some actions are executed.
Code that uses the framework is written in JavaScript. So I need to pass Nothing to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568471",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "127"
} |
Q: How can I solve this MDX Problem? I want to be comparing the previous and current values, but my MDX query is giving the following error
"The CURRENTMEMBER function expects a hierarchy expression for the 1 argument."
How can I solve this problem?
My MDX query is below. please help
with member [Measures].[Grow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7568472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.