text stringlengths 8 267k | meta dict |
|---|---|
Q: OAuth Performance I'm a newbie to OAuth - I have a high volume customer using OAuth: LoadBalancer with 12 servers but only using 1 server to store the OAuth tokens. Today, when testing I can only get 1000 concurrent users on the site and I need to support an SLA of 10,000.
I'm looking at the following alternatives:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to Interpret /***/ in java? What I am Doing?
I am now constructing a comments segregator as a part of my simple IDE stimulator (Which will detect all the comments in the java code).
In that my task is to note down all the starting and ending positions of comments and documentations of all forms...
1. //
2. /*.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573761",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How do I restructure a sprawling WCF service I am new to Windows Communication Foundation and I am working on a system that serves data to a front end.
The WCF portion of the system consists of hundreds of queries that retrieve specific filtered datasets. These datasets are send back to the client via over a hundred... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What is the right way to put objects to boost::property_tree? Consider following example:
#include <boost\property_tree\ptree.hpp>
#include <boost/any.hpp>
typedef boost::property_tree::ptree PT;
struct Foo
{
int bar;
int egg;
Foo(): bar(), egg() {}
};
int main()
{
Foo foo;
foo.bar = 5;
P... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Eclipse : How can i know that to what package does a class belong to? I am using Eclipse IDE
How can i know that to what package does a class belong to ??
Thank you
A: Hover over the classname. Information about the class should appear in a tooltip.
A: Look at the package statement at the top.
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7573777",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Accessing Validator collection through base page protected override void OnLoadComplete(EventArgs e)
{
foreach (var validator in Page.Validators)
{
//do something
}
base.OnLoadComplete(e);
}
Why does var validator2 = Page.Validators[1].ControlToValidate not work? It inherits the property b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to detect if user pressed cancel button or selected root (primary disk) with java.awt.FileDialog in MAC OS? Does somebody knows how to detect if user selected cancel button or root disk in java.awt.FileDialog in Mac OS (10.6 - Snow Leopard)????
I have the below code:
System.setProperty("apple.awt.fileDialogForDi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unable to get FastMM4 to work with Delphi 7 application protected using ASProtect I'm getting this error, "FastMM4 cannot install since memory has already been allocated through the default memory manager". I'm using ASProtect and Eurekalog for my Delphi 7 application (there's no problems with Eurekalog though). I'v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Request Dialog - JavaScript Example - Does not work in internet explorer I am following the example in the facebook Javascript SDK
It works fine in Chrome, but for some reason, when i run the same code in Internet explorer, I get a Javascript error.
I want to allow users of my app to send invites to use the applic... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails 3 routes handling multiple, non-required parameters I am porting a zend framework / php app to rails and there is a set of parameters for something like a query.
For example:
/locations/get-all-locations/lat/xxx.xxx/lng/xxx.xxx/radius/5/query/lemonade/updated_prev_hours/72
but could provide variations of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to replicate visual studio setup project's "detected dependencies" functionality? Question
Is there a canned solution that will detect (recursively) all dependencies of a given visual studio project file? This is basically what a visual studio setup project's "detected dependencies" functionality does -- but I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573796",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Scaling Out Socket Servers Assuming live chat clients (Skype, Windows Live Messenger) use sockets to stay connected to their relative services, what are some strategies that the developers implement to scale out their servers? Even a system like Xbox LIVE where users are able to chat and send out game invites to the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to change the From address in Django Email? As noted in the docs, the SERVER_EMAIL setting is supposed to change the 'From' address in crash emails sent to ADMINS from the Django (1.3.1) server.
But it's not.
Does this work for you in 1.3.1? (Or any Django version)
Django insists on just using my EMAIL_HOST_USER... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Stackoverflow error in BackgroundWorker ProgressChanged I have a search function in my program that uses a background worker in order to get the results. The Progress changed event is used to update the listview with the new item.
Private Sub SearchWorker_ProgressChanged(ByVal sender As Object, ByVal e As System.Com... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573803",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Do SQL constraints cause slowness? I have a few constraints (to default the value of the column) on a table that is being updated. The update is really slow, and I was wondering if it could be the constraints fault?
The constraint in question is:
ALTER TABLE [dbo].[OrderCustomers] ADD CONSTRAINT [DF_OrderCustomers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to resolve a InvalidTokenAuthenticity Issue and discovered NO SESSION is even being passed I'm using IETester to debug running Parallels on a Mac OS.
Everytime I send an AJAX request out I consistantly get a InvalidAuthenticityToken response.
I've covered every possible issue.
Then I threw in a debugger, and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SH script to move files from one dir to another depending on the filename I am trying to write a sh script that will run when one of my downloads is completed.
It should look for a specific filename on ~/Downloads and move it to a different dir depending on the filename.
I.e. I have downloaded the last episode of Gl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573815",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Get the first letter of each word in a string using regex I'm trying to get the first letter of each word in a string using regex, here is what I have tried:
public class Test
{
public static void main(String[] args)
{
String name = "First Middle Last";
for(String s : name.split("(?<=[\\S])[\... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Convert Unicode Object to Python Dict A request object that I'm dealing with has the following value for the key "address":
u"{u'city': u'new-york', u'name': u'Home', u'display_value': u'2 Main Street'}"
I need to operate on this unicode object as a dictionary. Unfortunately, json.loads() fails because it is not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Can't style a td element I'm not sure why, but i can't seem to style a td element in my script. I'm trying to remove a border from all the td elements in the table-subtitles, and i guess my css is wrong somehow.
PS: I was able to remove the border by inline css only.
HTML:
<table>
<thead>
<tr>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573827",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to call a web service with Indesign javascript? I'm an in-house developer for a print company.
We use Adobe Indesign CS3 and CS5 to create documents for printing.
I created a script in Adobe Extendscript that creates an Indesign Document and handles some basic conversions when the client fails to do s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "18"
} |
Q: C# / LINQ - having trouble querying database with LINQ I have a database with two entities, A and B. A and B have a many-to-many relationship between them (there's also an AB table too that is created automatically to realize this). A has A_prop (key) and B has B_prop (key).
I want to, given a specific B_prop, find ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Send customized response after custom certificate validation with Jetty 7 failed we are currently using a certificate based login for our webapp (running Jetty 7.4)
With JSSLUtils I configured a custom org.jsslutils.sslcontext.X509SSLContextFactory that basically inspects a certificate, validates it against the back... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Best Practices for java IO for creating a large CSV file Hi I need to create few large CSV Files the order of entires could be 2 million. i so i was wondering how to do it efficiently.. and hence few questions crop up my mind
1 . when we Write File via a BufferedWriter how often should we flush? however i think tha... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: jQuery class selector -- what scope does it default to? I have a question about the class selector in jQuery. I'm looking at a page which uses a jQuery plugin called slidedeck, and the page author has two <div>s showing two different slidedeck settings. Along these lines:
<div id="slidedeck_frame" class="skin-slid... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573845",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ListView obscuring sibling views? I can't seem to get the footer navigation bar to show up in this layout. It's obscured by the ListView no matter how I set layout_weight on the navigation bar or change the layout_height of the ListView to one of FILL_PARENT or WRAP_CONTENT. Any ideas how to get the correct result?... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Go: Why does the http server package not serve more than 5 simultaneous requests? I'm trying to code a small http server for later extension in Google's Go language. I am using Go on Windows (MinGw compiled version).
This is quite easy in this language since it already has the necessary package:
package main
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I create a birthday form for registration in Zend Framework? I am trying to create a drop down for birthday. I want 3 different drop downs (1 for month, 1 for date, 1 for year). I understand how to do it separately, but I don't know what's the best way to combine them, so I can store it in 1 field in MySQL.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Ruby on Rails Form Lookup with search and filters Basically I have a users table and a companies table. When a new user is created, they are assigned to a company. I am trying to find a way so that when a new user is created, they can click a magnifying glass icon next to the company name and it brings up a smaller ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I delete a custom UITableViewCell without using commitEditingStyle? I have a custom UITableViewCell that has a delete button on it at all times.
When the delete button is pressed, the current design is to flash an alert confirming the delete with Yes/No.
So far, all of this is working.
The problem is, actua... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573856",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Passing C++ Lambda Functions I've been searching everywhere for this, and I don't seem to be able to find a straight answer. Some sources say this isn't possible, but that only raises more questions for me, which I'll explain further below.
So here's the situation. Suppose I have a custom container class with a sele... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "57"
} |
Q: Jstree - precheck checkboxes I'm using JsTree 1.0 and having trouble pre-checking checkboxes using the checkbox plugin.
Here's my full code:
$(".tree").bind("loaded.jstree", function (event, data) {
$('.tree li.checked').each(function () {
$(this).prop("checked", true);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wordpress Dispersing Multisites I have plus 15 sites locked in a Wordpress multisite installation by a previous developer, the owner of the company decided that it would be in the best interests to break these up and segregate them to different servers. I am having issues trying to do this with plugin data not follo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573860",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: using nsmutabledata to initialize string Im trying to get my data retrieved from a socket into a nsmutablearray. however the examples and tutorials i found showed it going into a string first. which is fine i can parse it out from there. but i cant even get this string thing working.
case NSStreamEventHasByte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Change the Header Text of Autogenerated Databound Column in RadGrid How can i change the Header Text of Autogenerated DataBound Columns in RADGRID. I am loading a dataset whoz columns are autogenerated (Wgt1,Wgt2,Wgt3.......). I want these Column Headers as
Wgt | abc | Wgt | edg | Wgt |....... which at the moment is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adobe Flex PopUpManager -- multiple instances of a TitleWindow opened Setup: My Flex application is one consisting of several "subapps". Basically, the main application area is an ApplicationControlBar with buttons for each of the subapps. The rest of the area is a canvas where the subapps are displayed. Only on... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573864",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: facebook: how to grant a website permanent access to your wall? I am creating a website and I would like it to display the posts present on the wall of my own Facebook profile page. These posts must be visible to any user visiting my site.
Having read various articles online regarding the topic of the Facebook api,... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: pass the code of java to work for java/android I have 3 .java files: main.java, separetdat.java and token.java
main.java
import java.util.*;
public class Main {
public static void main(String[] args) {
Tokenizer ob1=new Tokenizer();
LinkedList listaDeCoord=new LinkedList();
SepararDatos oSepararDatos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573868",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Animation when changing textview I currently use a major workaround and have two activities switching each time I change the text on a TextView. I am using this code:
Weeklytext.this.overridePendingTransition(
R.anim.slide_in_left,
R.anim.slide_out_right
);
Is i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573870",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "35"
} |
Q: Is it possible to add a .java file to my eclipse folder and have it appear in the output directory without being compiled? Let's say I have a folder that contains various typs of files. Some of them are regular .java files that are to be compiled, others are in their own format and others are .java files that are no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: MySQL implementation of ray-casting Algorithm? We need to figure out a quick and fairly accurate method for point-in-polygon for lat/long values and polygons over google maps. After some research - came across some posts about mysql geometric extensions, and did implement that too -
SELECT id, Contains( PolyFromTex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Un-Nesting List Iterations for Performance I have several Lists that I need to iterate through in order to perform a calculation. In summary, List1 is List of roadway start and endpoints (ids) and List2 is a List of individual speed samples for those endpoints (there are multiple speed samples for each set of endpoi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573884",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How does Android test network connectivity (system level) This is not about Java level code. What I'm looking for is how Android test the connectivities in low level.
for example, when we call getActiveNetwork(), which low level (maybe C++ or even C) code is being called, and how does it work? does it ping to an ext... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Executing Sql Command only once I have a Database DB with a table name population but with no Primary Key. Means it can have duplication of data. For example: I have 5 families (f1,f2,f3,f4,f5) with different members inside it (and members may have same name). So I can have exactly same type of record in more than 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Core Data NSPredicate casting key value I have a data model which has values of type id that I was planning on casting appropriately when needed.
Is it possible for me to cast these as strings and compare them to strings from a UISearchBar using NSPredicate or do I have to use another method?
Maybe something like th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573887",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: With SharePoint/InfoPath: Is it possible to switch default views, and then save this setting with a button? So lets say that I have two views, one that is the default and another that can be triggered with a button. Is it possible to switch views, then have the view that you switched to become the default view? So t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Copy text from listview into another winform I am really stuck with this so I hope someone can help. I have 2 winforms, one has a listview and another has a textbox. I want to check which item is checked in the listview and copy this text into the second form. I have tried this code but it won't work, any help is gr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Entity Framework TypeUsage Object I am running a memory profiler on my application to find a possible memory leak. The number of System.Data.Metadata.Edm.TypeUsage objects is consistently growing and it looks like this may be cause of my memory issues.
Does anyone know a way of releasing these TypeUsatge objects f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Retrieve Spring Security's Authentication, even on public pages with filter="none" Let's say I have a simple page called faq.html. I want this page to be publicly accessible, so I apply the usual Spring Security configuration:
<sec:intercept-url pattern="/faq.html" filters="none" />
Let's also say that if the user ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573899",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Counting occurrences of numbers in a CUDA array I have an array of unsigned integers stored on the GPU with CUDA (typically 1000000 elements). I would like to count the occurrence of every number in the array. There are only a few distinct numbers (about 10), but these numbers can span from 1 to 1000000. About 9/10t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Complex YouTube search query I have to search in a subset of YouTube results. For example, the query should search for some song title that belongs to a set of artists. Is it possible to group expressions?
For example, I would like to find all videos titled Vogue by either Madonna or Rihanna. So the required query s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: append a DIV and animate it $(document).ready(function(){
function anima() {
$(".box").stop().animate({bottom:'0px'},{queue:false,duration:160});
}
$('ul#aa img').hover(function(){
$(this).parent().append("<div class='box'>Artist<br/>More</div>", anima());
}, function() {
$(".box").stop().animate({bo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-12"
} |
Q: How to place code snippets within Visual Studio 2010 Toolbox window? I've really enjoyed Anders Hejlsberg presentation at BUILD 2011 and it's not the first time that I notice someone having a collection of code snippets available within Visual Studio's Toolbox window, so given that all the searches I've performed so... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: TypeDescriptor.GetProperties vs. Type.GetProperties I'm looking at some code where an MSDN author uses the following in different methods of the same class:
if ( TypeDescriptor.GetProperties(ModelInstance)[propertyName] != null ) return;
var property = ModelInstance.GetType().GetProperty(propertyName);
Would you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573913",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: How to prevent exception in parallel threads from killing the application? I'm running a HtmlUnit web automation app. It usually works correctly, however, sometimes it goes overboard with StackOverflowError. That usually happens somewhere within its JS thread, and, hence, I can't catch it by surrounding the statemen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: 500.19 Error from custom MembershipProvider I have written a custom Membership Provider and Role Provider and locally these work great. They are pulling all the correct data and writing correctly.
However, when i deploy this project to the web server; I receive a 500.19 error pointing to the web.config file. I h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573920",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Playing short selfmade sound with immediate start in iOS I have a self-generated DTMF sound (with a wav header) generated by program that I want to be able to play quickly, in fact as soon as the user touches a button. This DTMF sound must play/loop infinitely, until I stop it. Some other sounds must be able to be p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Href Links Dymamically I have some links in an json file
<code>
"links": [
{"link": "http://www.google.com/",
"id": "1"
},
{"link": "http://www.poogle.com/",
"id": "2"
},
{"link": "http://www.foogle.com/ ",
"id": "3"
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573925",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: iOS Memory Management & NSString Initialisation Still learning iOS development with ObjectiveC and iOS, and trying to realy understand memory management! Appreciate any advise on the snippet below, eg:
1) Analyser says there are potential memory leaks, but can't solve them?
2) Should I keep alloc and init the NSStri... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573926",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Do Foreign Key constraints get checked on an SQL update statement that doesn't update the columns with the Constraint? Do Foreign Key constraints get checked on an SQL update statement that doesn't update the columns with the Constraint? (In MS SQL Server)
Say I have a couple of tables with the following columns:
Or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573933",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: lowest possible timeuuid in php (phpcassa) pycassa has pycassa.util.convert_time_to_uuid(time_arg, lowest_val=True, randomize=False)
phpcassa has static string uuid1 ([string $node = null], [int $time = null])
Can phpcassa's uuid1 be used to get lowest/highest uuids like in pycassa?
If not, what's the best approach ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573938",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Make Up/Down arrow in input boxes not do anything How can I make <input> elements not react to pressing the Up arrow (keyCode 38) or the Down arrow (keyCode 40), while they are focused? I'm using jQuery for the project, but have no qualms against writing it in raw JS if that's easier.
A: Like this:
$('.yourinputcla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573948",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Comparing strings in python to find errors I have a string that is the correct spelling of a word:
FOO
I would allow someine to mistype the word in such ways:
FO, F00, F0O ,FO0
Is there a nice way to check for this ? Lower case should also be seen as correct, or convert to upper case. What ever would be the pretti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Decoding UTF-8 email subject? I have a string in this form: =?utf-8?B?zr...
And I want to get the name of the file in proper UTF-8 encoding. Is there a library method somewhere in maven central that will do this decoding for me, or will I need to test the pattern and decode base64 manually?
A: MimeUtility.decodeTex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573957",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: How do I create an Entity with Multiple Navigation Properties to the same Table? This question has been asked in a few variations, but I believe that my issue is somewhat unique.
I'm using the database-first approach with Entity Framework 4, and I am trying to map and Account to multiple Addresses, as well as map t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573958",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Modal-dialog won't hide on page load I am trying to create a modal dialog to just show content (html of some sort or other):
<script>
$.fx.speeds._default = 1000;
$(function() {
$( "#dialog" ).dialog({
autoOpen: false,
closeOnEscape: true,
modal: true,
position: 'center',
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573960",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Disable jsessionid via http header (cookie) in Tomcat 7 I'm looking to disable jsessionid from being used in the https headers.
Is there a way to turn this off or disable this being set as a cookie in tomcat 7?
I either want the jsessionid to arrive embedded into a GET method url name value pairs or to be part of a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573961",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to check Stack Usage when Calculating Ackermann I'm learning about my system's ability to calculate Ackermann's algorithm both the two and three parameter version. For very small values of m and n, my system will calculate and print results returning from A0 and A1 method calls. However anything higher than 3 or... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573962",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Cookie name length, uniqueness I want to know what is the maximum value of the cookie name?
Is the cookie name unique per domain, and/or path?
A: All those informations are specified in RFC 2965 - HTTP State Management Mechanism.
A cookie name must be, like Jay said, unique within a path.
The RFC also specifies th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573965",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: How to remove files/folders older than a certain time I already use a function do delete all files and folders within a certain folder.
function rrmdir($dir) {
if (is_dir($dir)) {
$objects = scandir($dir);
foreach ($objects as $object) {
if ($object != "." && $object != "..") {
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Retrieving form value with jQuery Sadly, this isn't as cut and dry as I had hoped. Over the past few weeks I had been researching the use of jQuery with CRM. While it's nice and dandy for style alterations, I couldn't find any examples that are closer to business logic.
For example, today I needed to alert the brow... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can IQueryable<> only contain instructions (in the form of expression tree) on how to get the initial sequence, but not 1)
public class Query<T> : IQueryable<T> ...
{
...
public IEnumerator<T> GetEnumerator()
{
return((IEnumerable<T>)this.provider.Execute(this.expression)).GetEnumerator(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573973",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Edge-Side-Includes Module for nginx? Does anyone know about an ESI 1.0 implementation for nginx?
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7573974",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: What does =+ (equals-plus) mean in C? I came across =+ as opposed to the standard += today in some C code; I'm not quite sure what's going on here. I also couldn't find it in the documentation.
A: It's an ancient defunct variant of +=. In modern compilers, this is equivalent to an assignment operator followed by a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573978",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "49"
} |
Q: Can iOS file system changes be observed from files being uploaded through iTunes? I have an application that displays a list of files to the user. The application has file sharing enabled, so the user can add or remove files through iTunes.
Is it possible to observe file system changes from the user doing this? I'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Something confusing about IQueryable.GetEnumerator public class Query<T> : IQueryable<T> ...
{
...
public IEnumerator<T> GetEnumerator()
{
return((IEnumerable<T>)this.provider.Execute(this.expression)).GetEnumerator();
}
}
Query<string> someQuery = new Query<string>();
var results1 =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573981",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: TCPDF: Mixed orientation in one pdf Is it possible to have mixed orientation in one PDF. E.g. some pages portrait and some landscape? Or is it possible to rotate content? I can see that you can set the overall orientation can be set in the constructor, but didn't see anything.
MS
A: It's actually pretty easy all yo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573994",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Must IQueryProvider.Execute be called from within IQueryable.GetEnumerator? 1) IQueryable essentially represents a query which when executed will yield a sequence of results.
a) I assume we execute query by either directly calling IQueryProvider.Execute ( immediate execution ) and passing in an expression tree o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573996",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Silverlight 4 Transition Animations Between Adding/Removing Grid Child Elements I'm using the Silverlight Wizard control provided by this blog:
http://weblogs.asp.net/bryansampica/archive/2010/07/21/silverlight-4-0-wizard-custom-control.aspx
And I would like to add a transition between ActivePage changes...the way t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7573999",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get All users in web application by setting role as search parameter - asp.net mvc In my MVC application I am using membership service . I need a page to list the users. But there are 1000's of users are in my application. So i don't need to display all of them in one page.
I am planning to give a search o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574001",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Generic Interface, IEnumerable I Have the following code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QQQ.Mappings
{
interface IExcess<T>
{
IEnumerable<string, T> getExcessByMaterialGroup(T[] data);
void Sort<TKey>(T[] data, Func<T, TKey> s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574009",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: java.lang.NullPointerException at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter I have a JSF 2.0 project with PrimeFaces 3.0.0.M3 on Glassfish.
When I run it, I get the following exception:
java.lang.NullPointerException
at com.sun.faces.renderkit.RenderKitImpl.createResponseWriter(RenderKitImpl.jav... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574013",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Apple.com product animation http://www.apple.com/mac/ (the products animating into position)
Anyone know how apple does this?
I don't need useable code. Just an idea of how to accomplish it.
I use the jQuery framework.
EDIT: Thanks to Jordan for pointing this out. Apple is using css3 animations for this, not javas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How is an MD5 or SHA-X hash different from an encryption? I've read a couple times that MD5 is not an encryption, e.g. on MD5 ... Encryption? or Command Line Message Digest Utility.
Well, I get that it's a hash/message digest, and the explanation in the links above says an encryption has to have a key, while hash/md... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574023",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Inserting complex values to a map in C++ I am having trouble inserting data into this map. I honestly can not figure out the way to do this, but the last line of the code I gave is the part that I need fixed.
map<string, vector<vector<Obj*>* >* > the_map;
vector<vector<Obj*> *>* vectors = new vector<vector<Obj*> *... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574025",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: .htaccess "Ignore all rules if link starts with..." In my root folder I have installed wordpress and there is also my submenu.php that can not be loaded with ajax if I use rules for /%postname%/ (in default )
So this is what WP gave me
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /wordpres... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to give a Facebook App Tab access to the fan page data without having users log in? I wanted to build a fan page tab that would pull that page's photo albums. At first I thought I would need to build app with extended permissions to ask for "manage_pages" and "offline_access" so that the app can use my access as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Select box not floating right I'm trying to create a basic title bar div that contains an h1 and a select list. I want the select list to be on the far right of the div, but floating it right is not working. Does anyone have any ideas? The code is very simple but can't see where the mistake is. Thanks!
<style type="... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574039",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: NSString search whole text for another string I would like to search for an NSString in another NSString, such that the result is found even if the second one does not start with the first one, for example:
eg: I have a search string "st". I look in the following records to see if any of the below contains this sear... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: JavaScript: How to pass object by value?
*
*When passing objects as parameters, JavaScript passes them by reference and makes it hard to create local copies of the objects.
var o = {};
(function(x){
var obj = x;
obj.foo = 'foo';
obj.bar = 'bar';
})(o)
o will have .foo and .bar.
*It's possible to get ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "105"
} |
Q: How to get a optimized paginated list from a query that has a UNION ALL? I have a query formed by an UNION ALL from two tables. The results have to be ordered and paginated (like the typical list of a web application).
The original query (simplified) is:
SELECT name, id
FROM _test1 -- conditions WHERE
UNION ALL
SELE... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: XML parse error I have a Valid XML.
It asked me to treat the entire metadata record as the value of metadata element "dataxml", with newlines (and percent signs) indicated by percent signs (i.e. “percent-escaped”)
so i have done the following
Note: It asked me percent only the following : \n,\r, : and % so i only st... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574066",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: About Redirect as POST I want to redirect the user to some url in other website, but to send with his redirect some post variable.. is this possible? And if yes, how?
Thanks.
A: It is not. :(
You can however submit an hidden form using Javascript.
EDIT: shame upon me. It seems it can be achieved w/o Javascript. Try... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574068",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery canvas addImage dynamically I have a canvas element and I need to add images dynamically.
function draw(){
var ctx = document.getElementById('myCanvas').getContext('2d');
ctx.drawImage("img/image1.jpg",0,0,200,200);
}
The html code is the next:
<div id="divCanvas">
<canvas id="myCanvas" width="322px"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574073",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: IsDayLightSavingTime changed? Before, this code would return True, now it returns False. Have any of you hear of an update on this function?
d2 = New DateTime(2010, 11, 7, 1, 0, 0)
Console.WriteLine("D2: " & System.TimeZone.CurrentTimeZone.IsDaylightSavingTime(d2))
We parse files and put the data into a database, ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574074",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is it possible to find average color of an image from its histogram? I took the average of each color by this method and wrote the average of red, green and blue to database.
Here are the images sorted by "-blue". As you can see the 5th image has the most blue. Am I doing something wrong, or is it not possible to g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Problem with pasting I'm trying to write an apple scrip to search Sparrow (mail client for Mac)
Here is the script:
on run argv
tell application "Sparrow"
activate
end tell
tell application "System Events"
key code 3 using {option down, command down}
keystroke argv
end tell... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574081",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Java XML parser
Possible Duplicate:
Java:XML Parser
I have a XML file, in which i want to get the text only within the specified tags(lets say, only the text between "<HERE> ... </HERE>. Each file have multiple "<HERE>" blocks. How can i get that?
I was using this for normal text files:
Scanner scanner = new Sca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574087",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Python Scapy wrpcap - How do you append packets to a pcap file? I have some software that can emulate things like BER and delays on the network. I need a way to test the BER module of the software to make sure it actually works correctly. My solution is to create a program that sends out raw Ethernet frames with t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574092",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: How to add row margin while inflating a LinearLayout? I have a Linearlayout part of a Tablerow of tablelayout. Below is sample description
<!-- Master Layout-->
<?xml version="1.0" encoding="utf-8"?>
<TableLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_height="match_parent" andr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7574095",
"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.