text stringlengths 8 267k | meta dict |
|---|---|
Q: unity3d, animation stuck at 1st frame i have a menu scene and scene A, scene B. when i go to scene A, a 3D object will play some animation, and i have some button to click and make it animation also, but from menu if i go to scene B, i come back to menu then i go scene A, all the animation in scene A will not workin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636240",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In SharePoint 2010 how can I add user selected WebParts at run time? I am quite new to SharePoint and have been given an interesting problem to solve. My users have requested to each have a custom home page that they can customise with ease. The design I have been given is to have an almost blank page with space for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: The "property" property of the meta tag is missing in response when getting open graph data, using jquery, cross-domain ajax and YQL I'm using jquery 1.5.1, James Padolsey Cross Domain Ajax 0.11 which uses YQL to get external sites.
this is my code
$.ajax({
url: "http://ogp.me/",
type: "GET",
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636247",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: LogCat error spamming: old mainboard version This error adds to my LogCat view for android many times a second!
It occurs when I run my application from eclipse on my ZTE blade android 2.2. It does not matter what application I run by the way.
Anyone know how I should find out how to solve this problem or actually ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636260",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to retrieve String's and write them to a file or resource and overrwrite and reuse it? I am retrieving about 7 URL's from a service. I want to be able to write these URL's some where and have my application read from them in another activity.
The thing that makes this tricky is the URL's change every week. So i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636264",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: uiscrollview subclass just creating a subclass of uiscrollview here and im trying to catch a -(void)scrollViewDidScrollUIScrollView *)scrollView{} in it but for some reason it is not registering.
@interface WallScrollView : UIScrollView{
}
@end
@implementation WallScrollView
-(id)initWithFrame:(CGRect)frame{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636267",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the best way of create BroadcastReceiver? I have spent few days to work on Service + BroadcastReceiver, but still cannot make it perfect. I hope someone can help, thanks!
I am writing a App that show user current location on map(The map that I wrote, not Google Map) and send out Notification alarm when user ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636273",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Select elements with class except one with specific id $('.ui-widget-content').css('border','none');
$('#helpDialog .ui-widget-content').addClass('HelpDialogBorder');
I am doing like this to remove border. But, there is an element where I want to keep border.
Is there any way in first line itself to select all ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636275",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Changing configuration options of a CKEditor instance I have a CKEditor instance attached to a textarea. I would like to be able change some configuration options of this instance after its creation, depending on the value of another form field.
Is it possible to do this, or else it's necessary to destroy the instan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to stop the loading circle in browsers? Imagine I have a flash mp3 player and when the page loads the player starts to play a song. So while flash is downloading the mp3 file the browser reports the page like it's still loading. Which I understand, there are still active downloads. But a client wants ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636278",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: IIS 7 URL rewrite regular expression Using IIS7 URL rewrite module, I am trying to get the value of a specific query string parameter, and if it exists I need to get the value of that parameter.
Example URL :
test.aspx?F5REDIRECTION&SearchType=HeaderSearch&hiddendims=&Keyword=tshirt&nkw=1&vsp=2
I need to check if "... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636283",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: java 7 socket listen exception I have java 7 socket listen exception during jboss initialization.
JAVA: c:\Program Files\Java\jdk1.7.0\\bin\java
17:14:15,388 INFO [WebService] Using RMI server codebase: http://127.0.0.1:8083/
17:14:15,405 ERROR [AbstractKernelController] Error installing to Start: name=jboss:servi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Could not find artifact org.codehaus.mojo:mojo-sandbox:pom:3-SNAPSHOT in codehaus snapshot Does anyone know why I get this error even if I forced the update (-U) ?
This error came about when I tried to build this POM.xml.
[POM.XML]
<?xml version="1.0" encoding="UTF-8"?><project>
<modelVersion>4.0.0</modelVersion>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PHP Magento/Google import script I have the following script taken from another Stack Overflow answer.
<?php
define('SAVE_FEED_LOCATION','google_base_feed.txt');
set_time_limit(1800);
require_once '../app/Mage.php';
Mage::app('default');
try{
$handle = fopen(SAVE_FEED_LOCATION, 'w');
$heading = array('id','... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636288",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: c# regex parsing I am trying to parse data from a very long html content. I am just pasting here the important part I am interested in:
Technical Details
<div class="content">
<ul style="list-style: disc; padding-left: 25px;">
<li>1920x1080 Full HD 60p/24p Recording w/7MP still image</li>
<li>32GB ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636300",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I use code contracts to work around the inability to have generic constructor constraints? I'm tying to write a class that will create immutable copies of another class, and the way I'm doing it requires that the copy takes a date and an instance of the original in the constructor. I know that you can't create a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636302",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: jquery find index() of same node name I have this setup, just to find the index() of an element, but it should look at elements of the same level with the same nodename.
The returning numbers are not as expected. See the code comment. I want filteredByNodeNameIndex to be '2'.
Hope this example code is clear enough:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can I modify a va_list before passing it on? In my attempts to understand what I can and can't do with a va_list in (Objective-)C, I came across this little puzzle. I was hoping to create a category on NSString that would simplify the stringWithFormat: message a bit in some cases, just for the fun of it. What I was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636310",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Is it possible to convert a Jenkins free-style job to a multi-configuration job? I have quite a few free-style jobs in Jenkins that I would like to convert to multi-configuration jobs so I can build across multiple platforms under one job. These jobs specify quite a few build parameters and I would like to not have... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636312",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "23"
} |
Q: Selecting a part of a string I have a string stored in variable say
$input = 999 success: id:10.123/AVC13231 | ark:/asf4523/2425fsaf
I want to select only a part of a string "10.123/AVC13231"
say i want to achieve this:
$output = 10.123/XXXXXXXX ;
and no other part $input should be selected even the id: part
The ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636319",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: C++ vector size types I just started learning C++ and have a question about vectors.
The book I'm reading states that if I want to extract the size of a vector of type double (for example), I should do something like:
vector<double>::size_type vector_size;
vector_size = myVector.size();
Whereas in Java I might do
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: Mobile Document Type Definition Mobile site is not showing correctly. I have to zoom in to view my site correctly even if I have the correct DTD:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN"
"http://www.wapforum.org/DTD/xhtml-mobile12.dtd">
<html xmlns="http:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636327",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Crystal Reports Visual Studio 2008 and SQL Server 2008 R2 I have a Windows Forms application that was created in Visual Studio 2008 and targets .NET 3.5. It uses the embedded version of Crystal Reports that comes with VS 2008. It was calling a SQL 2000 database successfully.
The company upgraded to SQL Server 2008 R... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636329",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP/jQuery form scripts sending duplicate emails? I've tried to fix this problem, or find a similar problem, but I'm still scratching my head over this one.
I have an HTML form that I'm validating with a jQuery function, then passing it to a PHP script for mailing. The problem I'm having is once the functions run, t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Django data model example for versioned collection of items I'm looking for an example of a Django models.py file implementing the following use case:
*
*A page with a list of items can be created (a Collection)
*When the Collection gets reordered | is added to | is removed from and saved, the version number of ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636331",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Refine search results control I am using People Search Core Results PageLayout for my People Search WebPart.
By default when you search it gives an option of Refine your search.
As I observe its getting those options from a Control.
<SEARCHWC:RefineSearchResults runat="server" Title="<%$Resources:sps,RefineByTitle%>... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636336",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VBA: Unicode to ASCII conversion? I have a string that is in unicode format that I want to convert to ASCII format. If the character is not in the ASCII range, then it should be converted to the closest English letter. For example "Ǎǎǵǩȥȑȍ" to "Aagkzro".
A: A quick web search pulled up the following link which par... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Undefined variable - Passing a variable through the url I get cant get my variable to echo on the page even though it shows in the URL. Here is the link that passes it
<a href='eventform.php?$eventname'>
And the code to get it on a other page:
$eventname = 0;
if (isset($_GET['eventname'])) {
$eventname = $_GET['eve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636339",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: htaccess redirects from old site to new site There is an existing site h*tp://www.oldsite.com/ which I need to redirect to the new site h*tp://www.newsite.co.za/. The oldsite is already setup as parked domain on the newsite host account. Below are the file structure of the newsite host.
h*tp://www.newsite.co.za/ - /... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Split a List into a List of Lists, splitting on an element Can the following be rewritten so that is uses LINQ, (rather an these old-fashioned foreach loops)
IEnumerable<IEnumerable<T>> SplitIntoSections<T>(IEnumerable<T> content,
Func<T, bool> isSectionDivider)
{
var sections = new List<List<T>>();
sec... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Can we use Server.MapPath in Bitmap? recently i created a webpage, where in i have a img tag, whose source is linked to another page, where i am resizing the image, whose name is being sent from the src from previous page in query string. but when i create the new object of bitmap, i gets the error, Parameter is not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636350",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: using phing to deploy different environments We're using phing to deploy our php application and we got into a little issue with deploying our environments.
We have 2 different production environments (each one with different config files), and a separate testing environment. We don't have an issue with the testing ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Why doesn't Tomcat 6 find my styles.css Trying to determine where/how to place style sheets in web app
deployed to Tomcat 6 so that the styles.css can be resolved.
I've tried every thing I can think of without success.
I did these tests to ferret out were to put the file but
little has been successful.
1.) put css i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636360",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: simple explanations for macsec and ipsec I need to implement IPSEC and MACSEC transformations on ethernet packets (i.e. I don't need to deal with setting up parameters, security associations, or key exchange issues, just do the transformations on the packets when that is already known. Also I can nick GCM/AES implem... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using SSL/TLS when sending an email from PHP I am very new to email servers and sending email with PHP...
Is it possible to have email sent from a PHP script on my server encrypted using SSL or TLS before it is sent to the recipient's mail server?
I need to ensure only the intended recipient can read the email, in c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to make Object bound to WPF control thread safe I have an Observable collection object whose value I am updating from my code. This collection is bound two way to a data grid. Now, is this collection thread safe - that is if I try to modify the value of the collection from the code and at the same time the user ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to create a Document object in Java? I want to create a Document object with jdom. I have written a function but after I debug I can see that it is not created. and since I am new to XML I don't understand why I can not create. Can you please help me for that?
public Document createSNMPMessage (){
Element ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636374",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ignoring namespace in XmlReader I'm using an xmlreader to read an xml file. The problem is i have many undefined namespaces in the child elements. Because of it, I'm unable to read the content of the files. Is there any way to read the contents of the files avoiding this issue or is there any solution to handle thes... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636380",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can I use the following events/delegates, written in C#, in VB.NET? I'm using JdSoft's APNS-Sharp library in my ASP.NET web app. The library is written in C#, and makes extensive use of Delegate Functions and Events for threading purposes. My application is written in VB.NET, and I'm a little confused on about h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636382",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: mySQL not behaving as expected I am running the following query
SELECT *
FROM wp_posts
WHERE (post_title LIKE 'Professionally')
OR (post_content LIKE 'Professionally')
AND post_type='post'
AND post_status='publish'
I know that I have a row that has post_type of post, and post_status of publish that starts with t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636383",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: The simpliest way to change only colors in theme I'm using WPF Toolkit Themes( http://wpf.codeplex.com/wikipage?title=WPF%20Themes ).
Actually I'm using only ExpressionDark.
But I want to change colors for every control. Need I override all elements and write whole of the big code? Isnt there any siplier way to chan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636384",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I wait for SU access after request? My app requests SU access something like this:
Process p = null;
p = Runtime.getRuntime().exec("su");
That prompts the user to allow or deny the access, but my app continues to execute the next line of code while the choice is displayed on the screen. How can I make the a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636391",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JQuery ERB template not inserting HTML I'm a beginner at JQuery/JS and am trying to implement a dependent drop-down list in a Rails 3.1 app. I have the following form:
<%= debug params %>
<%= form_for([@wall.climbing_centre, @wall]) do |f| %>
<% if @wall.errors.any? %>
<div id="error_explanation">
<h2><... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636394",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Passing command line arguments to mono-service Is there a way to pass command line arguments to a service invoked by mono-service? All of the command line arguments seem to be absorbed by mono-service instead of passed to the service.
A:
Update: as per my patch that went in end 2011 you can now use the intended in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636395",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Adding Snap to jQuery UI Slider, but keeping animation I setup a timeline-like content scroller to do a horizontal slider between 5 years.
I wanted to add a snap to between them. This works, though now I don't see the animation sliding from one to the other. How do I have both the animation of scrolling between poin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636397",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to include logging in a Perl module? I'd like to include logging in a Perl module I am writing, but maintain portability so that applications that use it are not bound to a specific logging mechanism, such as Log::Log4Perl.
I've considered;
*
*Logging to STDERR and leaving it to the application to redirect t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636404",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to play wma file in iphone? I want to build a radio app in iPhone for which wma streaming is necessary. So if u have any idea please help me.
thanks in advance
A: Matt Gallagher published in his blog a good tutorial with code for playing MP3 streaming in iPhone. I don't know if it will work for WMA, however I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636405",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android WebView Java-Javascript bridge I wonder if it's possible to obtain Javascript variable value from Java code. In other words, I've got JS code in WebView and I need to be able to obtain variables from that JS code from WebView.
A: Yes it's possible by installing Java-JS bridge and then injecting JS into pag... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636409",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Call JSF action method from custom component with parameters and table I'm trying to make a composite component containing a table with a commandButton on each row, calling an actionmethod taking the row object as a parameter. It would look like this without being a custom component:
<h:dataTable value=#{bean.object... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636412",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Adding methods/modifying classes of a jar Very silly question, I am doing a project and I can't think about any workaround
I have implemented new functions in an open jar (let's call it converter), I want to modify one of these methods: ExchangeToEuro, ExchangeToDollar, CheckCurrency.
My question is: Are there any m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636421",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: VBA Excel - Reading data from another workbook So I'm just trying to call data from a cell in another workbook but my code is just returning "#name?" when I use "cells(3,3)".
Cells(1, 1).Formula = "='\\Drcs8570168\shasad\[CR Status.xlsx]Sheet1'!cells(3,3)"
However, this does work if I write it like this
Cells(1, 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636431",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: What are the pros and cons of using serialVersionUID and @SuppressWarnings("serial") on classes implementing Serializable? This question has been the subject of some lively discussions in my team. My personal choice is to use
@SuppressWarnings("serial")
My thoughts are that it means there is one less thing to main... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636437",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: ComponentOne : C1NavigationList databinding with XMLDataSource In the process of Iphone View ability for a shopping cart system, where i am trying to implement using the ComponentOne tools for Iphone in the products listing.For which i have identified C1NavigationList control for the same.
As i understand it is a Hi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636443",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Binding boolean DependencyProperty to a button's Visibility property in Generic.xaml I have a class called CarSystemWindow that descends from Window, and it has a CanPinWindow boolean dependency property:
public class CarSystemWindow : Window {
public static readonly DependencyProperty CanPinWindowProperty =
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636444",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Facebook CSharp Api using graph api to get other users feed, issue Im trying to get o other users feed in ASP.NET using Facebook CSharp API LIB, but with no sucess.
The results not cover all wall posts, only external posts to that came from other users to that user.
Here is piece of my code that call facebook grap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636446",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "=~" raise "No instance for (RegexContext Regex [Char] [String])" OS: MacOSX 10.7.1
GHC and Haskell-platform from brew.
GHCi, version 7.0.4: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer-gmp ... linking ... done.
Loading package base ..... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636447",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Salesforce SOQL To Get Case Owner In One Hit Using Salesforce SOQL I can get the Owner's Id using the following:
SELECT Case.OwnerId
FROM Case
WHERE Case.CaseNumber = '00001234'
I can then get the User details for the User who owns the case in this query:
SELECT User.Id, User.Name, User.Custom_Field__c
FROM User... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636449",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using Different Java Code in a Project (How to reach variables) I wrote a simple drawing program, and for to create a menu, I used this source, http://download.oracle.com/javase/tutorial/displayCode.html?code=http://download.oracle.com/javase/tutorial/uiswing/examples/components/MenuLookDemoProject/src/components/Me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636472",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: What's difference between and null in JAXB? I am have created a Java Webservice application which uses JAXB. When I test my application using SoapUI and I send a SOAP message like <foo></foo>, it will convert to 0, but if there's no <foo> tag in my SOAP message, it will convert to null. Why is <foo></foo> not conve... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636473",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing Objects to table cell from plist i will like to seek advise on what should i do next in order to pass a list of data from Plist to an array.
i will like to pass the plist data to my tableview BrowseViewController.m, but i do not know how to do it.
i tried NSlog, the plist are passing info over but i don't kn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636475",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Want to stop the data going into OS/application after read using SetWindowsHookEx I am developing one simple application which is reading the keystrokes from the OS. I have used API "SetWindowsHookEx" to read the keystroke data.
Currently data is read by the hook as well sent into the OS or application.
I want to st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636476",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Xcode 4.1 not adding library for BCTabBarViewController I wanted to try out BCTabBarController and added the files to my test-project by:
*
*Dragging the BCTabBarController.xcodeproj onto my project in the project navigator.
*Going to my project/target/Build Phases/Target Dependencies and adding BCTabbarControll... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636477",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Prevent entity from being created, but need entity for native query I have a native query that executes a stored procedure and the results is mapped to an entity, this works fine but the thing is the entity is created in the database (I'm referring to the actual table being created, but this table will always be emp... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636480",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a curve vertex on OpenGL C++ I am learning how to make a 2D object with OpenGL. I made a simple rectangle with GL_QUADS with four vertex 3f example vertex1, vertex2, vertex3, vertex4. The question is, is there anyway so I can make a curve sides from that vertex(example : from v1 to v2 is the left side of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636485",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: can search engine searches content in query-string? My page URL is
www.xyz.com/default.aspx?name=searching-my-new-code
Is google reads name query-string "name" value in searching algorithm???
Suppose i am searching on google "searching my new code" at that time google searching algo code can read this value from my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636490",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Replacing a word by synonyms in Haskell I was going through this plagiarism detector and trying to write a program in Haskell which will read a file and replace some of its words with synonyms. Is there any dictionary available for this purpose in Haskell?
Also, if you have any input regarding algorithm or any other... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636501",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Why use ? From a presentation perspective, if I write a text between a <label> tag it looks identical as to if I hadn't.
So, why do we use this tag at all?
A: HTML is not about presentation. It is a way of describing data. If you have some text that represents a label for an input, you wrap it in label tags not for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636502",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "58"
} |
Q: Java regex pattern Is there any way of excluding this characters: - \ _ to this pattern? I need especifically this pattern and no other
Pattern pattern = Pattern.compile("[\\p{P}\\p{Z}]");
A: Use character class subtraction:
Pattern.compile("[\\p{P}\\p{Z}&&[^-_\\\\]]");
A: Generally to exclude a character you pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636504",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python: Can I have a string as a key and a function as value in a dictionary? In other words, is this giving me errors purely because it's impossible to actually do or am I just writing it wrong:
class someClass:
self.myString = "Hello"
self.myMap = {
'someString' : self.functionInClass
}
So if fu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636508",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How is this a nullpointerexception? I'm really confused: I'm simply trying to add the names of each object in an ArrayList to another ArrayList.
for (int i = 0; i < availableParts.size(); i++) {
for (int j = 0; j < namesOfIngredients.size(); j++){
if (availableParts.get(i).getName() != namesOfParts.get(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636509",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Custom ActionResult always returns empty string for "ContentType" I've got the following custom ActionResult. It works properly if I "Force" the ContentType, but the default behavior appears to be to retrieve an empty string as the ContentType
C# Version
public ActionResult Restful(Web.Mvc.Controller controller)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636516",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: QT Creator easier "contexthelp" I just started using the QT Creator but there's some stuff that really annoys me...
I like that i can show the coding window and the context help window next to each other.
But the shortcut for showing the context help for the currently selected Symbol is F1, which is just terrible as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636519",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: RangeValidator to revalidate when a new value is entered I have a asp RangeValidator of type money. When I enter a value that is below or above the min/max value I get an error message (onblur) as expected. However, when I re-enter a new value within the min/max, the error remains. The page does validate and lets me... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636520",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .Net remoting: Reversing the connection Ok so this is the first time I'm playing with .net remoting but seems fun so far.
Creating a server that exposes a remoting object and then consuming it from a client is a piece of cake and works like a charm. (I'm using a TcpChannel btw)
What I wanna do now is reverse the con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636529",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any way/trick to pass std::set to a C API which expects C Array? Is there is a way/trick to pass std::set to a C API which expects C Array?
A: No, but you could fill an array with your set contents pretty quickly. For example, assuming mySet is a set of the same type as YOUR_TYPENAME:
YOUR_TYPENAME arr* =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636531",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JNDI lookup gives "NullPointerException" when do lookup for a queue in LDAP I have successfully registered and retrieved the connection factory object from LDAP server.But when i try to look up for queue from LDAP server it gives NPE.
I'm using OracleAQ with ApacheDS..
My code is;
DirContext destctxQF = (DirContext)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Maps V3 Geometry Library - Interpolate does not return expected Lat/Lng I have spent hours on a strange problem with the interpolate function of google maps' geometry library. (see: http://code.google.com/apis/maps/documentation/javascript/reference.html#spherical)
I use the following javascript code to illus... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Jenkins key-value variable or using a variable to define another I'm setting up a centralized build system where several projects get "packaged". The project can be selected using a choice parameter, and based on it I'm building the SVN checkout path. The repository is the same, but each app has a slightly different... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636547",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Wordpress : Multiple Columns on Homepage I am trying to create a Wordpress site. The design is Here
I have created most of the outline of the site, barring the 3 regions "Follow Us", "Self Employment" & "Into Work Consortium".
The client has told me he would like to make those 3 regions editable.
My template contain... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636550",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to make Visual Studio 2010 to run all tests on the same thread? Even when Visual Studio 2010 does not run tests in multiple parallel threads, it still uses different threads to run different test methods. It uses one thread to run one test, and then switches to other thread to run other test. It conti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636554",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Require a library with configuration in CoffeeScript? I'd like to use CoffeeScript with Nano.js, a minimalistic CouchDB module. In JavaScript, the requirements are:
var nano = require('nano')('http://127.0.0.1:5984');
However, there is no documentation on how to write this in CoffeeScript?
nano = require 'nano', 'h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How do I call a Word Macro with parameters from JScript I have a Word template with a macro defined in the ThisDocument section:
Sub Go(pID As Integer, pPassword As String)
I am trying to execute this macro from JScript as follows:
application.Run("Go", 1, "secret");
But this fails - what am I doing wrong?
A: Ok,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get all ids from a collection I got my collection items like this :
hotels = Hotel.where('selection = ?', 1).limit(4)
How can I get all ids of this items without a loop? Can i use something like :
hotels.ids ?
Thank you
A: You can also pull just the id's.
hotels.select(:id).where(selection: 1)
A: What about ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636563",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "19"
} |
Q: form Panel layout issue in extjs2 I am new to extjs layouts.
I have a Form panel with default layout.I am adding a fieldset which contains a grid and two buttons. I am rendering a form Panel to div.
Div in JSP
<div id="mydiv"></div>
FormPanel in JS
var fp = new Ext.FormPanel(
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636564",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: write information into Excel after each loop I have a 6x7 matrix(A) and some operation I'm doing on it for k=1:50 (number of loops).
I know that in order to write a single matrix in an excel file I need:
xlswrite('Filename.xls', A, 'A1')
How is it possible to write the information after each loop, in that way that ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there a way to tell the compiler to put a block of code somewhere? I have a long method, and for reading clarity would like to put some of the code in a separate method. However, that can’t be done because that code uses the variables in the method. So I would like to put that code somewhere else and tell the com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636569",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Qt-webkit WebSocket protocol Which WebSocket protocol is supported by Qt-webkit?
For example, the following list has the WebSocket protocol lists.
The WebSocket protocol: draft-hixie-thewebsocketprotocol-76
A: Alright After some research I could find some details on this but I need some confirmation on this.
As for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: C# , Substring How to access last elements of an array/string using substring I am generating 35 strings which have the names ar15220110910, khwm20110910 and so on.
The string contains the name of the Id (ar152,KHWM), and the date (20110910). I want to extract the Id, date from the string and store it in a textfile... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636574",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Uninstall Sync Framework I'm trying to clean up my system a bit, and came across two entries related to either Visual Studio 2005, 2008, or 2010:
Microsoft Sync Framework 2.0 Core Components
Microsoft Sync Framework 2.0 Provider Services
I do not currently, and will not in the future, be using the Sync Framework. C... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636575",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: fatal: Unable to look up android.kernel.org (port 9418) (Name or service not known) repo sync fails with the following message:
repo init -u git://android.kernel.org/platform/manifest.git
Getting repo ...
from git://android.kernel.org/tools/repo.git
fatal: Unable to look up android.kernel.org (port 9418) (N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636576",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java generics - parameters cannot be applied to method
I can't seem to figure out why a method call I'm trying to make doesn't work.
I've looked much around SO before asking this, and while there are (many) threads about similar problems, I couldn't find one that quite fits my problem..
I have the following code:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to replace LSB of a byte with a LSB of another byte How to replace LSB of a byte with a LSB of another byte in c#.
Something like this
byte1 - 0 1 1 1 1 1 1 1
byte2 - 0 0 1 1 1 0 0 0
Now i want lsb of byte1 i.e "1" to be replaced by lsb of byte2 i.e "0" .
So my final byte should be like this :
byte3 - 0 1 1 1 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636581",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Select multiple rows by max I have a simple table with a "versioning" scheme:
Version | PartKey1 | PartKey2 | Value
1 | 0 | 0 | foo
2 | 0 | 0 | bar
1 | 1 | 0 | foobar
This table is medium (~100 000 lines for a full version). At the start it is loaded with ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636585",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: EJB 3.1 remove invocation context for security purpose (ThreadLocal, ...) I have a webapp on one Glassfish server (front-end) and an EJB 3.1 app (back-end) on another Glassfish server. The webapp communicates with the EJB 3.1 via remote invocation.
I would like to pass context data (user data i.e.) without having to... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636586",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android: Limit supported devices in Android Market I have an application in the market that I want only Nexus S-users to be able to download.
How can I do this?
There is a "Supported Devices" in the publishing process, but I dont want to exclude devices 700times.
Can I in the manifest support only the Nexus S?
Dag
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Removing Backstack Entry in WP7 Mango How we can implement back stack entry removal in WP7 Mango app effectively.
A: You can use the NavigationService.RemoveBackEntry method to remove the most recent journal entry from the back history. However, to pass certification, you must make sure that pressing the back butto... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636597",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Calculating time difference between 2 dates in minutes I have a field of time Timestamp in my MySQL database which is mapped to a DATE datatype in my bean. Now I want a query by which I can fetch all records in the database for which the difference between the current timestamp and the one stored in the database is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "104"
} |
Q: Extracting and copying files to local folder from a zip archive stored in a blob storage I have stored my zip file in blob storage . I already read archive from blob to stream
.Code is as follows
string blobUrl = http://127.0.0.1:10000/devstoreaccount1/usercontrols/ucProfileViewSMSIS.zip";
string containerName = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AS3 Array pulling specific information I am using an array to keep information about 2 blocks that have landed. I then need to pull the spriteoffset from this array. How do I do this? My method below does not work.
aryBlockRow[(elementbody.yp + elementbody.block[ii].yp)/BLOCKSIZE][(elementbody.xp + elementbody.block... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636606",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Area Chart is not taking value as int I'm using Google's Area Chart to dispaly a graph.
For some reason I'm not ble to use values past into the function:
I have the following code:
function SetAreaChartData(valueString) {
//This works
AreaChartData.setValue(0, 0, 'SomeName');
AreaChartData.setVal... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7636607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.