text stringlengths 8 267k | meta dict |
|---|---|
Q: How to do Jo Blow is viewing "XYZ" on mysite.com facebook updates? What is required for me to integrate automatic activity updates on a user's facebook status?
I frequently see things like "Joe Shmoe" is listening to Cornbread And Butter... by Carolina Chocolate D... on Spotify
I'd like to know what it takes to inte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make an eclipse plugin listen to a newly compiled project? Whenever you hit CRTL+S on eclipse it automatically compiles the project. I was wondering if you guys have any idea on how I can make a plugin listen to any compilation change. How exactly the compiler or the IDE could trigger the parsing of an AST tr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558677",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Flex Profiler - Alternative? Question
Is there an alternative (free) tool for profiling flex applications that will show things like memory use, function calls, execution times, object allocations, etc?
Background
Flex has a built-in profiler but it requires a Premium license. At work, we currently have standard li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558678",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: I need to replace environment.Newline with a html tag I am building an ecommerce site. When the user copy pasta's a list into a "description" text area I need to be able to display it that way inside a <p> tag. Right now it is all jumbled together. I have tried the replace method to replace the newline with a <b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: My UIAlertView does not get displayed in if / else construction I want to make sure that the user enters some data in a textfield before a view pops up in my app. Here is my code:
if (nameField.text == NULL || lastNameField.text == NULL) {
UIAlertView *alertView= [[UIAlertV... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Maps: Multiple InfoWindows always show last value Okay, so I realize I'm the 100th person asking a question about this, but even after researching and trying different things for days now, I can't figure it out.
I have a function that will create markers on a google map. I will pass this function the coordina... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: A grammar that accepts the empty set by the rule S->S This was a homework assignment problem which I know I have incorrectly answered. I gave:
S -> ''
meaning that S yields the empty string. I know that the empty set and empty string are not the same. According to my professor, the answer is:
S -> S
Now, that a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558687",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: How to enforce that HTTP client uses conditional requests for updates? In a (proper RMM level 3) RESTful HTTP API, I want to enforce the fact that clients should make conditional requests when updating resources, in order to avoid the lost update problem. What would be an appropriate response to return to clients th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to join Queue(Of String) as a string? I have following code:
Dim PendingFiles As New Queue(Of String)
I need to join each element of PendingFiles with a comma and store the result as a string. How do I achieve it?
Something like this:
Dim Result As String
Result = Join(PendingFiles, ",")
'NOTE: this the way if... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558692",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Using repetition code (3,1) on H.264/AVC NAL header and encapsulating using RTP I'm trying implementing simple repetition code (3,1) on H.264/AVC stream and broadcasting it
using RTP. But something goes wrong...
What I did is to take the AVC stream something like this in HEX :
00 00 00 01 67 48 D4 78 ....
and use re... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558694",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Java generics trouble I'm about to give up on that snippet: I don't grok Java generics... I'm trying to return the value of an enum when getting a System property with that enum name, as in:
enum E { A, B }
...
E mode = GetEnumProperty("mode", E.A);
where GetEnumProperty is:
static <T> T GetEnumProperty(String prop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558698",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Google Custom Search sniffing and ruining mobile results I am working on a Google Custom Search implementation that uses the option to load search results in an iframe within another page.
Using this URL as the iframe's source (includes a sample query):
http://www.google.com/cse?cx=013856813593859657536:ss10an3on4k&... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558699",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to process duplicate columns with conditions I need to skip the all the rows with same column one, if column 2 is empty and then for others I need to calculate percentage of column 4 over column 3?
Input:
T75PA 2 0
T75PA kk 4 1
T240P 4 3
T240P test 3 3
T240P test2 3 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558700",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: parsing string as an xml using xslt I have a requirement, where input is a wel formed xml string. I need to traverse through that string and get some specific value.
input:
<Session>
<Store>
<Name>myname</name>
<ContactId>1234</ContactId>
</Store>
</Session>
I need to get the value of ContactId an... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: simple javascript: search url for string, do something I just need a simple function that will search the current url for a string (ie "nature") and then will add a class to an object. I keep finding ways to search the query, but I want to search the entire url. If possible, without jQuery. If not, jQuery will work.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How do I make neo4j not accessible to the world? I'm running neo4j version 1.5M01. I've also tried version 1.4.1. And I can't figure out how to stop it from running in hideously insecure mode, where anyone who connects to it over HTTP has full read/write/shell access to the database.
I know that neo4j doesn't manage... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558711",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I add a custom PersistenceIOParticipant for webserver hosted .xamlx services using the web.config I'm trying to duplicate the functionality below using web.config since I'm using webserver hosted .xamlx services
host.WorkflowExtensions.Add(new HiringRequestInfoPersistenceParticipant());
I've tried the follow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558713",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Binding an array of doubles to a datagrid I'm trying to bind an array of doubles to a datagrid but the grid does not show the values of the double.
My grid looks like this:
<Grid>
<DataGrid ItemsSource="{Binding}" AutoGenerateColumns="False" HorizontalAlignment="Stretch"
Margin="5,5,5,5" Name="resultDa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Count matches between two columns In Excel, I have two columns. One is a prediction, one is the result. I want to count how many times the prediction matches the result (i.e. a correct prediction).
The data is like so:
Col A Col B
Bears Bears
Chiefs Raiders
Chargers Chargers
Colts Texans
Lions
P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Alternatives to MSScriptControl for executing JavaScript? Since msscript.ocx MSScriptControl is 32 bit only, and Microsoft will be deprecating it, what is the alternative?
I am having an issue that MSScriptControl works perfectly so long as I run in a 32 bit application pool. But since it is a 32 bit control, I can... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Object returned by Linq-to-objects operators - what is going on under the hood? LINQ uses a Deferred Execution model which means that resulting sequence is not returned at the time the Linq operators are called, but instead these operators return an object which then yields elements of a sequence only when we enumer... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558723",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Impersonating a user over a website which calls a WCF My service is a netTCP webservice and the site that hooks up to it is a windows authenticated Impersonated website. When I attempt to hit my service and the service and the site are on the same server, then this work right. When I attempt to hit the service fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FTPClient download file failed,the retrieveFile() method replyCode=550 /*
I run a FTP server on localhost.when I download files use ftpClient.retrieveFile() method,it's replyCode is 550 . I read the API of commons-net and find the 550 replyCode,the defines is" public static final int FILE_UNAVAILABLE 550".but I cann... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558732",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Best practices for naming category methods in Cocoa I've stumbled into one of two classic programming problems. I'm writing a Cocoa framework which is basically a collection of (mostly) helpful methods in categories of the most-used Foundation classes. My question is how do I name these extra methods in my categorie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558736",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: array merge by key value in php and in js I have this.
array(3) {
["a"]=>
array(2) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
}
["a"]=>
array(2) {
[0]=>
string(1) "c"
[1]=>
string(1) "d"
}
["b"]=>
array(3) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558738",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: How can i add a console output to a windows wpf application C# i would like to add an additional console window to log realtine info from my wpf application.
Any idea??
Bayo
answer:
console application in the project properties works for me.
thank's
A: Don't do it.
Take a look at log4net or NLog for log output int... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558739",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Filtering out protected setters when type.GetProperties() I am trying to reflect over a type, and get only the properties with public setters. This doesn't seem to be working for me. In the example LinqPad script below, 'Id' and 'InternalId' are returned along with 'Hello'. What can I do to filter them out?
void Mai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Flex - understanding how to properly reference an image in a library project css file My flex (flash builder 4) project references (embeds) a flex library project (ReusableFx). I have it working fine when it builds and runs, but I am struggling with a Design mode error "Design mode: Error during component layout...... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: wsgi - processing unicode characters from post python 2.7
raw = '%C3%BE%C3%A6%C3%B0%C3%B6' #string from wsgi post_data
raw_uni = raw.replace('%', r'\x')
raw_uni # gives '\\xC3\\xBE\\xC3\\xA6\\xC3\\xB0\\xC3\\xB6'
print raw uni #gives '\xC3\xBE\xC3\xA6\xC3\xB0\xC3\xB6'
uni = unicode(raw_uni, 'utf-8')
uni #gives u'\\xC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558758",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why are google ads not displaying on the homepage of my Wordpress Site? so google ads are not displaying on the home page of my wordpress website, if I go to /home they will not display, however if i go to any other link in that wordpress site they show up fine (/home/category/example). I have the ads set to display... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is meant by "Linq evaluates query one method at a time"? I've read somewhere that "Linq evaluates query one method at a time". What exactly is it meant by that? Perhaps that operators are called in the order specified – for example, in the following code Select is called before Where:
var results = someCollecti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558762",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: how to generate the "exchange" map a.k.a. "swap" map I am looking for an easy way to generate a simple linear map in Octave. The matrix I need, call it sigma(n), is defined by the following property: for all matrices A and B (both of dimension n) we have the equation:
sigma(n) * kron(A,B) = kron(B,A) * sigma(n)
Fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: devise 1.4.7 does not generate routes I have been using devise for sometime now. Suddenly, I have no routes for devise controllers when I run 'rake routes'. What happened? Do I need to revert to an earlier version of devise? If so, how do I accomplish this?
routes.rb:
NbbApp::Application.routes.draw do
resources... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558767",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Keys enumeration, not returning ASCII equivalent for all punctuation I have the following key handler:
void Form1::texBox_KeyDown(System::Object^ sender,
System::Windows::Forms::KeyEventArgs^ e) {
//New lines in response to suggestion of using keypress
if (Control::ModifierKeys == Keys::Alt) r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558776",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: use php into javascript to insert value from mysql i want to use google chart map which is a piece of javascript code that take some data and display them on a map.
the chart data value are inside the javascript.
i need to retrive values from a mysql DB an insert them into the JS can i do this with php inside a js?
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558780",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: RavenDB Index Querying on Nested Properties sssI currently have an index called SchoolMetrics that aggregates several fields on the School field as the key and produces documents like this:
{
School: {
SchoolId: 1234
Name: "asdf"
}
StudentCount: 1234,
CourseCount: 1234
}
My index map i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why is InvalidEnumArgumentException obsolete in Silverlight 4? I was surprised to discover that InvalidEnumArgumentException has been made obsolete in Silverlight 4.
Does anyone know why this is? I found this to be quite a useful exception, especially when manually deserialising binary data to enum values.
[Obsolet... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Why isn't my button click event being triggered? I have the following js file:
var IOMaximizeButton = {
setup: function () {
$(this).click(function(){
console.log("maximize button was clicked!");
});
}
};
$(document).ready(function() {
IOMaximizeButton.setup();
});
Here is the body of my HTML:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558783",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Out parameters with RhinoMocks I'm obviously confused - this is a task I've accomplished with several other frameworks we're considering (NMock, Moq, FakeItEasy). I have a function call I'd like to stub. The function call has an out parameter (an object).
The function call is in a use case that is called multipl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558788",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: add remote + swap name with origin, gives error: "git fetch origin; git merge" works, != "git pull" has error -why/how? I've searched high and low to understand this, and I feel it is just slipping through my fingers. There are similar, but not identical, QnAs here.
The problem:
$ git pull
Your configuration specifi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL Like value from another table and wildcharcters I have two tables, the value of NDC_10 for table test is a 10 digit code while the value of PRODUCTNDC in table product is a 8 digit code. I am trying to select all of the rows in which the 8 digit code is inside the 10 digit code such as:
0123456789 = 10 digits
1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558792",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I make my Grid Columns always be the same width? If I set the Column's width to *, they're the same width initially but if an item is larger than the amount allowed then it will stretch the column width.
How can I force my Grid to keep it's columns the same size with explicitly defining a size?
I cannot use ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Query for events by local time I have a database (SQL Server 2005, but I think my question is more general) with GMT timestamped events. For a number of reasons, I need to be able to query and aggregate data based on a user's local time. For example, how many events occurred between 5pm and 7pm local time? DST is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Reflection with T4 Templates I have a model class called VideoGame. I need the class to get passed in a t4 template using reflection in this method.
MethodInfo[] methodInfos =
typeof(type).GetMethods(BindingFlags.Public | BindingFlags.Static);
I have the following variables.
//passed via powershell file - is a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558809",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How would I search and replace multiple regexes using python re
Possible Duplicate:
Python replace multiple strings
I am looking to replace “ “, “\r”, “\n”, “<”, “>”, “’” (single quote), and ‘”’ (double quote) with “” (empty). I’m also looking to replace “;” and “|” with “,”.
Would this be handled by re.search si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: getting java.sql.SQLException: Closed Connection when accessing large resultset Hello i have big data in my oracle 10g database and have to perform some calculations on every row of resultset. So i call a separate calculation class after fetching value of single row in the while(rs.next) loop. But this actually give... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Time analysis of binary search tree operations I read about binary search trees that if it is a complete tree (all nodes except leaf nodes have two children) having n nodes, then no path can have more than 1+log n nodes.
Here is the calculation I did... can you show me where did I go wrong....
the first level of bst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558816",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: zend autoloader error messages I am using this autoloader to load multiple external libraries in my zend app. The classes are loaded correctly and works fine. But i seem to have an issue while loading classes using multiple such autoloaders. The problem is that after finding the class in one of the autoloaders, zen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: date manipulation in javascript Suppose I get a date via a jquery calendar to a java script variable.
e.g: var d = 02/12/2011
How can I manipulate that date variable using a js function or jq method where to get the date 3 month ahead of that date? I cant just do following know. Because every month does not have 30 ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558819",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to force primary key in ActiveRecord with PostgreSQL to jump start from a specific integer value? From this: How to make a primary key start from 1000? It seems that I need to issue the SQL command: ALTER TABLE tbl AUTO_INCREMENT = 1000;
But I only have been dealing with the database through the ActiveRecord ab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558820",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: SQL Server 2008 Express to SQLite Can I convert a SQL Server Express 2008 database to SQLite?
My database is simple and only has 1 table but it has about 1000 rows and it's hard for me to make a new SQLite database and add these 1000 records.
thanks...
A: Try this: Convert SQL Server DB to SQLite DB
It is a free .... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558821",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: P4V: Automatically Integrating Changes Changelist-By-Changelist Using Branch Mapping Using Perforce, I am trying to automate the integration from our dev branch to our main branch. I have branch mapping set up, and I know I can integrate changes automatically for the entire branch. I was wondering if there is a way ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558830",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: appendbytes with mp4 Hi I have a flash as3 player that is playing flv files using appendbytes.
I have searched the web for many hours on how to stream a mp4 using appendbytes.
Does anyone have a solution for this?
Just using Netstream is not an option as we need progressive download seeking.
A: The best thing I've... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What exactly is a type cast in C/C++? What exactly is a type cast in C/C++? How does the compiler check if an explicit typecast is needed (and valid)? Does it compare the space required for an value? If I have for example:
int a;
double b = 15.0;
a = (int) b;
If I remember correctly a double value requires more spa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "40"
} |
Q: Help with WCF Service and Windows Application Client I have been looking around the internets for some time but can't find anything that fits my exact problem. If someone could explain this succinctly I would be grateful.
Basically I would like to call a WCF web service from my client (Windows App), this service wil... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cookie Corruption I have a weird issue with a php redirect script that does the following:
*
*Plant a cookie in the user's browser, or read the existing cookie if there is one.
*Redirect the user to another url (the URL for redirect is a parameter in the original URL, e.g. http://my.redir.com?url=www.google.com)... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Multi-table database in Android app I am trying to develop android app that has more than one table.
Doubts:-
*
*Can I have foreign keys? Is it advisable in terms of performance?
*Which part of code should take care of create and upgrade of all tables?
Let say I have tables for 'Cart' and 'Item'. Cart HAS Items.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Akka-Camel integration module example using Java API Can someone point me to an example of using Akka Camel integration module - using the Java API. I have a use case where a REST service is called that would start some Akka Actors in parallel to process the request and then each would push partial results to the we... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558854",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Netbeans 7 + Tomcat 7 start detection I am using Netbeans with Tomcat 7 server (the one embedded in instalation). Whenever I start the server, netbeans starts bombarding my application with requests:
/netbeans-tomcat-status-test
and my app returns 404 (i dont have this page) and fails to detect its startup (in servi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error: require.paths is removed. when running node.js & socket.io (javascript)
Iv got an error in running a socket.io example from github
https://github.com/LearnBoost/socket.io.git
when i run -> node app.js
it says.
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: What is the difference between an object and a prototype in prototypal programming? I'm trying to understand the "JavaScript way" of creating and using objects and I think I'm running into a misunderstanding of an object and a prototype.
In a new project I've started I've decided to try out prototypal inheritance. I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558872",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "22"
} |
Q: FileStream Data Incomplete when Converting MemoryStream to FileStream I'm trying to create a tab-delimited file using data retrieved from the database. The method for using a MemoryStream to create a StreamWriter and write to it seems to work fine - the "while(rdr.Read())" loop executes about 40 times. But when I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Chosen Validation in Magento I'm using the Chosen jQuery/Prototype plugin to replace select fields within Magento. Magento already has a validation system, written in prototype, in place. Unfortunately, the two do not play nice. Whenever chosen is used, the validation is completely ignored.
I've tried doing manual ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Silent Windows Installer installer without rebooting automatically Currently I have an MSI which performs a major upgrade, and it is launched as:
msiexec.exe /i installer.msi /qn REBOOT=ReallySuppress
My question is regarding that particular property REBOOT=ReallySuppress: does this mean it will not restart the sys... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: C# threading question My existing c# app updates a sharepoint site collection. Now I've been task to make my c# app update not 1 but 15 site collections. It would take too long to run sequentially, so threading would be a good solution.
However I can't just open 15 threads at once, I would like to have a configurab... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: how to use Net::Stomp and transactions with receive_frame I'm in the process of adapting some existing code using Net::Stomp from being able to handle a single topic to being able to work on multiple topics. Can anyone tell me if this approach is even possible? It's not working now because where it expects a trans... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iOS scan for radio channels I'm looking to scan for radio staion using an iOS device. I have no idea how to even begin this. I'm well versed in Objective-c; this is just not something I'm familiar with.
A point in the right direction would be fantastic.
A: There's no official support in Apple SDKs for accessing the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558893",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to apply existing fade in effect code to new element When you hover over an image I have a javascript element pop up (top image) and a css coded popup. Is there anyway of applying the fade effect of the second to the first or any other way of having the top image fade in at all? Thanks
A: Fade out the current i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Unit testing slow with Cobertura I recently integrated Cobertura into my Ant build scripts and I am wondering if I did it correctly because it has significantly slowed down the time it takes to run the unit tests.
Here is a sample console output:
...
[junit] Running gov.nyc.doitt.gis.webmap.strategy.markup.ViewportD... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: AR Query returning a relation instead of the expected object type (model person) Queries returning different object types based on using limit() or first
This example uses limit(1) and does not produce the expected object type:
c = PersonCategory.where("category = ?", "Crown").limit(1) ##
=> PersonCategory Load (0.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558906",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to specialize member of template class with template template parameter I have a template class with an int and a template template parameter.
Now I want to specialize a member function:
template <int I> class Default{};
template <int N = 0, template<int> class T = Default> struct Class
{
void member();
};
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558907",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Unpacking a list / tuple of pairs into two lists / tuples I have a list that looks like this:
my_list = [('1','a'),('2','b'),('3','c'),('4','d')]
I want to separate the list in 2 lists.
list1 = ['1','2','3','4']
list2 = ['a','b','c','d']
I can do it for example with:
list1 = []
list2 = []
for i in list:
list1.a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558908",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "256"
} |
Q: Update an empty field from another table in MYSQL I am looking for some MYSQL help on updating an empty field from another table.
I would like to allocate a number from the Spare_Mobile_Numbers table to any user with a blank in the user_table.MobileNumber.
I have a table of user data:
User_table (table)
-----------... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Jquery datePicker Removed selected date class I want to remove class for selected date when form submit button is clicked because when a date have selected I need to reset datePicker without any selected date.
I tried
$('.weekday').removeClass('selected');
But it's not working.
Thanks.
A: if you want to set the d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: CSS Side-by-side Divs In the following example i'm trying to get the divs "left" and "right" to appear side-by-side. Obviously my understanding is flawed but what mistake have I made, because (in Chrome at least) they do not appear side-by-side.
Thanks
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Facebook wall photos are unavailable I am attempting to write a script to pull the wall photos from a Facebook Fan Page wall, and display them as a gallery on a different site.
I am looking at the jSON that is generated by the Facebook API, and the Album ID is: http://www.facebook.com/album.php?fbid=278746938805288&... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Touch a file in objective-c I need to update the modification time of a file from a cocoa application. Any suggestion?
A: Use NSFileManager's setAttributes:ofItemAtPath:error: method with the NSFileModificationDate attribute.
(See the class reference but also the associated "File System Programming Guide" which is ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558936",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Capture screenshots for a Ruby on Rails application in Windows Currently I am cursed with trying to develop a Ruby on Rails app in Windows and then deploy to Linux. I am looking for a gem/plugin that will allow me to capture screenshots and feed them back to the user. WebSnap looked promising but I keep running into... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558940",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I allow a user override with Spring Security? In my Spring MVC web application, there are certain areas accessible only to users with sufficient privileges. Rather than just have a "access denied" message, I need to be able to allow users to log in as a different user in order to use these pages (sort of lik... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558943",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to add icon to .dll files in asp.net? How to add icon to .dll files in asp.net ? i making a custom control ie.dll file and i want to set an icon to it and use as a control in toolbox .
A: What you are looking for is Resources.
You can add resources to a project by right-clicking the Properties node under your p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558946",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Breakdown of Js scripts to bring HTML5/CSS3 behaviour to old browsers (IE) There's a few questions that cover this, but none of them address all the libraries/issues I'm wondering about. There are lots of scripts out there and I'm confused as to which does exactly what, and what kind of performance concerns come wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558951",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Help creating PDF in Quartz I'm reading through the Drawing and Printing Guide for iOS (http://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/GeneratingPDF/GeneratingPDF.html#//apple_ref/doc/uid/TP40010156-CH10-SW1). I'm trying to modify it a bit in order to get what I need. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558954",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Need help fixing a JavaScript regular expression error I've got a JavaScript question.
I want to create a regular expression that detects a URL in a given string. I've pasted the regular expression below. It doesn't seem to cover all cases like google.com/index.html?2012
OR www.google.com/dir/file.aspx?isc=2012. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to apply Composition to share code between Struts2 Action classes Sharing code between Action classes is easy if you use Inheritance and put all the common code and properties into a Base class. As a best practice, I think the rule of thumb is to prefer composition over inheritance. I'm finding it extremely hard... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I maximize/minimize an iFrame? I have a page that has 2 iFrames. I want to add a button that maximizes or minimizes both iframes. This button should be on each iframe. I'm using jQuery but not sure how to go about doing this.
A: If it's right in the body, you can scale it to match the parent:
$('resizeBtn'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: OpenMP won't utilize all cores? I'm trying to use OpenMP to make some code parallel.
omp_set_num_threads( 8 );
#pragma omp parallel
for (int i = 0; i < verSize; ++i)
{
#pragma omp single nowait
{
neighVec[i].index = i;
mesh.getBoxIntersecTets(mesh.vertexList... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: yet another "toggle visibility" question I am stuck with the following code:
http://jsfiddle.net/2v4aJ/
I want to toggle some text using hidden/visible.
I am using javascript functions to add dynamic text to the page, that's why I use .live ...
I can toggle to hide, but not to visible (if($('#1').is(':hidden')) is n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558968",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: if statement containing a semi-colon I've seen this if statement recently:
if(hWnd > 0)
{
....
}
Can someone explain this syntax for me?
I've never seen a semi-colon in an if statement before.
A: It's HTML encoded and that code won't compile correctly until it is decoded. It should be this:
if(hWnd > 0)
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Data fanout Java library This question relates to a very common problem that I haven't been able to find a conventional solution for.
Here is the setup:
*
*You have a number of consumers, each subscribing to a set of symbols
*You have a number of producers each producing data for a disjoint subset of these symb... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator I created a procedure (using SQL Server 2008) to retrieve the image data from image table but this procedures giving me an error
"The text, ntext, and image data types cannot be compared or sorted,
excep... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558975",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Delete / remove an attribute from a mixin The following .scss code:
@mixin div-base {
width: 100px;
color: red;
}
#data {
@include div-base;
}
will produce:
#data {
width: 100px;
color: red; }
I would like to do something like:
#data {
@include div-base;
remove or delete: width right here
}
to prod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558976",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Processing a file by two template handlers I'm using Rails 3.1 and I'm trying to process a file with two template handlers.
Well, I have registered a new template handler for .scss files. Now want to process files like this one:
app/views/custom_css/stylesheet.css.scss.erb
Through 2 template handlers. First ERB and... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to Compress Everything in my ASP.NET Pages? I have a page with css, javascript, axd, resource files.
My aim is to compress everything so that the response size is reduced and consequently the response time is improved for the end user.
Go to google.com, view source and you can see how google has compressed their... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558983",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Silverlight Datagrid using Jetpack theme does not stretch textboxes when editing contents I'm using the Jetpack theme in an application that some use of Datagrids. When editing the bound content using a DataGridTextColumn, the textbox does not stretch all the way across and down. This is a problem when adding new it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7558985",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hadoop java mapper job executing on slave node, directory issue As part of my Java mapper I have a command executes some standalone code on a local slave node. When I run a code it executes fine, unless it is trying to access some local files in which case I get the error that it cannot locate those files.
Digging ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7559003",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: MVC3 Ajax.ActionLink causes file open dialog I've got a view with the following Ajax.ActionLink defined
@Ajax.ActionLink(@Model.Game.VisitorTeam.FullName, "SelectTeam", new { gameID = @Model.Game.GameID, pickID = @Model.Game.VisitorTeam.TeamID }, new AjaxOptions { HttpMethod = "POST", OnSuccess = "pickMade" }, new {... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7559010",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can someone get accelerometer history on the iPhone? We're interested on reading accelerometer history on the iPhone. Most research indicates that the iPhone app needs to access and record accelerometer data directly.
It was mentioned that the an employee at the Apple genius bar can connect a device to read t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7559019",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ssh authentication conceptual question Everywhere I read they say ssh key pair authentication is more secure then simple password authentication because signature send to the server is always different . So if someone get my signature he cannot use it next time to login on my behalf .
Now my question is how this si... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7559025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: When I logout of facebook (Integrated with my website using OAuth) its logs me out of my website as well? When I try to logout from facebook (which i have integrated with my website!) on my website. It logs me out of my website as well and takes me to login screen! I want to logout only from facebook and not from my... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7559027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SlimDX - Terminate Thread I created new window and I used SlimDX.Windows.MessagePump.Run on a new thread.
How can I stop that loop?
A: If you're passing in a Form as a parameter to MessagePump.Run, you can simply call Close() on that form, which will stop the message pump loop. That's how I did it in my 3DAPI. Look... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7559054",
"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.