text stringlengths 8 267k | meta dict |
|---|---|
Q: Getting Microsoft PlayReady server to output to Windows Media DRM 10 PD (Portable Devices) Is it possible to get Microsoft PlayReady Server to output DRM'd streams that are playable by Windows Media DRM 10-PD compatible devices?
If so, where could I find any relevant documentation?
A: It is possible. You need to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635521",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: sun.misc.BASE64Decoder showing error in java application In some java file there is a use of :
import sun.misc.BASE64Decoder;
import sun.misc.BASE64Encoder;
and when I put that java file in Eclipse IDE. It will not detecting these files.
But these packages(sun.misc.BASE64Decoder , sun.misc.BASE64Encoder) are inside... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635524",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic checkBox length in java script I am getting some values from server in XML format using ajax. The format is like :
<employees><employee><id>Id</id><employeeName>Name</employeeName></employee>.....</employees>
So to process this response i use
if(employees.childNodes.length>0){
for (loo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635528",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Validate email address textbox using JavaScript I have a requirement to validate an email address entered when a user comes out from the textbox.
I have googled for this but I got form validation JScript; I don't want form validation. I want textbox validation.
I have written below JScript but "if email invalid it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635533",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "37"
} |
Q: How to change the default enums serialization in Boost.Serialization By default in Boost.Serialization, enum types are serialized as a 32-bit integer. But I need to serialize some enum types as different width integer. I've tried to specialize the boost::serialization::serialize method, but it seems it doesn't work ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635534",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to stop every 10 questions? Let's say I have a list of 100 questions in my database.
I also have an array of shuffled questions with a index size of 0-99 which I use to reference to the database. It's so I don't shuffled the database.
My question is that the game starts at question 0 (10 for 2nd round, 20 for 3r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635536",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MYSQL performance issue concat in select or in where I used to develop databases under ms-sql, and now I've moved to mysql. Great progress. The problem is that I don't have any tool to see graphically the query execution plan...
EXPLAIN doesn't really help.
Thus I require your advice on this one:
I'll have a tabl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635539",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Authorize.Net SIM Method With Response using C# I have been trying to implement the Authorize.NEt SIM Method using the information given on their website and tutorials.But i have been only able to redirect to their payment gateway using the ddl provided by them.I need a way to get a response from SIM Method to know ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635546",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Tooltip creation in android I am using ListView in my application. For each listitem I have to keep four images to its right side. When I click on each image it has to move to that particular page. Though the image specifies what it is meant for to know clearly I want to put a tooltip for each image. How can I creat... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635551",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Trying to use EditorFor with an ICollection in an ASP.NET MVC3 View? I'm trying to display a class object in a Create view, where a property is an ICollection<string>.
For example...
namespace StackOverflow.Entities
{
public class Question
{
public int Id { get; set; }
....
public ICo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635555",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How can i implement CustumBinding configuration for this nettcpbinding configuration I have a nettcpbinding wcf service.It called 100000+ times in one second so there are more issue about performance. I must optimize this.
My first issue is: A newly accepted connection did not receive initialization data from the se... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635556",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to encode accented char I am using php and getting some utf8 string from Javascript.
I try to remove accent... by using a lot of difference function but still have troubles...
With iconv() I have wrong accent removing, with some encode() I have nothing...
When I use serialize(mystring), my wrong char look like f... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635557",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to pass a boolean field from one activity to a class? How to pass, at any time!, a boolean field from one activity to a class?
A: Pass to Activity:
Intent i = new Intent(getBaseContext(), NameOfActivity.class);
i.putExtra("my_boolean_key", myBooleanVariable);
startActivity(i)
Retrieve in Second Activity:
Bundl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635559",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Speed optimize - which is better? Let's say that we build a game and we have a player character. That character in the game will do many actions, like walking, jumping,attacking, searching target etc :
public class Player extends MovieClip
{
public function Player(){}
private function walk(){}
private func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635562",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Embed MS Excel in SWF / Silverlight For a project requirement, I want to make available editing of an excel file through browser.
The only possible ways that I could think of was by embedding the excel file either in Flash or Silverlight. I am building my project on asp.net mvc3 c#.
I wanted to know that is there a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635566",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Most appropriate way to develop a server on limited resources I am facing a problem which seems to have few, and especially simple solutions.
To get to the point; I have written a client application on Windows using C++.
This client application takes input from the user, and is supposed to send this
information to a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635567",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can ReSharper be used when editing SSIS script tasks? I have ReSharper 6 installed and integrated with Visual Studio 2008 and Visual Studio 2010. I'm editing SSIS packages in VS2008 and some of them contain script tasks. When editing the script task, a Microsoft Visual Studio Tools for Applications (VSTA) applicatio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to set transparency color of the WPF Window? Is there any way to set one specific color to be transparent for the whole WPF window?
A: You don't need to. Transparency in WPF doesn't work using mask colors like in Winforms- just set the background to Transparent, and AllowsTransparency to true. If you want dif... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DB Migrate not reflected on heroku I recently created a db migration which works fine locally. I pushed to heroku and ran
heroku rake db:migrate
Whilst the command doesn't seem to throw an error, I can see the database hasn't been updated with the column I've tried to add to a table. I've tried running heroku rake... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dubugging GAC DLL with IIS 5 I'm trying to debug a DLL in the GAC with VS 2008 / XP / IIS 5 configuration. Tried to copy the DLL in the C:\\assembly\GAC_MSIL but the symbols still doesnt get loeded :-( Also this interesting post about debugging GAC without having to copy the PDB file into the GAC : http://www.elumen... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why do I get a warning about possible loss of data when seeding the random number generator from time(NULL)? am learning vectors and made a bit of code that selects random numbers i can use for buying lottery tickets here in Netherlands. But although it runs, the compiler is warning me about 'conversion from 'time_t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: unknown property while using a list of class in Vf page i have a class
public with sharing class CAccountRep {
string sageAccountNo {get;set;}
string clientName {get;set;}
string name {get;set;}
integer noofdays {get;set;}
string billableUnits {get;set;}
decimal dailyChargeRate {get;set;}
string nominalCode {get;set... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635588",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Detect if css position overflow is working? As iOS5 beta has fixed css property overflow: scroll and overflow: auto, I’d like to target the older iOS versions with Javascript.
Is there a way to check with JS if the property is actually working or not? Trying to get the style property does alert the correct value in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635589",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: store a Byte[] in an sqlite db in small chunks? I would like to store a large Byte[] in my SQLite database.
Android has a limit to how much RAM each app can use, so I figured the best way to skirt around this limitation is to write the file in smaller chunks.
Is it possible to use a stream to access my file, and app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to do a second transform on the output of an XSLT template I have only basic XSLT skills so apologies if this is either basic or impossible.
I have a paginator template which is used everywhere on the site I'm looking at. There's a bug where one particular search needs to have a categoryId parameter appended to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: ColdFusion not "seeing" my components I have a directory structure similar to
C:...\wwwroot\project\testPage.cfm
<html>
<head>
<title>Test Page</title>
</head>
<cfset this.mappings["/local"] = getDirectoryFromPath(getCurrentTemplatePath()) />
<cfform name="myform">
Pick as many as you like:
<cfinput... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Detail property of SoapException set in .NET Web service ends up as null in Java web service client So I wrote simple asmx .NET web service in C#. All exceptions are caught and re-thrown as SoapException with Detail property set up to XmlNode that contains three sub-nodes with additional information about exception ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635600",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Variable not defined error in Classic ASP (VBScript) Microsoft VBScript runtime error '800a01f4'
Variable is undefined: 'product_id'
/Vital/form/products.asp, line 64
I am using option explicit and I have defined the variable as
Dim product_id
product_id=Request.Form("product_id")
Is this a problem with IIS or sq... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error while pressuing multiple times physical back button of device in android I am facing this error while I am pressing back multiple times on the physical button of device.
This is my log:
10-03 18:47:50.403: ERROR/ActivityManager(98): Reason: keyDispatchingTimedOut
10-03 18:47:50.403: ERROR/ActivityManager(98): ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635607",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I create Windows in D with win32? Hello I'm trying to open a window with win32 in D, and I've got a little problem. The program crashes when I call CreateWindowA.
Here is my code :
this.fenetrePrincipale = CreateWindowA(this.classeFenetre.lpszClassName, toStringz(title), WS_OVERLAPPEDWINDOW, 0, 0, 100, 100, n... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635609",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Run JQuery after Specific updatePanel fires I have a script that runs once an update panel fires:
Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
function EndRequestHandler(sender, args) {
initDropSearch();
}
function initDropSearch() {
var search = jQuery... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635623",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: android - javah doesn't find my class I am having troubles generating the C header file for JNI using javah.
Here's the script I use while standing in the <project-dir>\bin directory:
javah -classpath C:\PROGRA~2\Android\android-sdk\platforms\android-8\android.jar com.test.JniTest
As return I get:
ERROR: Could not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635624",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "13"
} |
Q: EF 4.1 Code First : How to load entity references into memory? I just started working with EF 4.1 Code First and noticed that by default, references (navigation properties), are not loaded into memory with a POCO entity you queried with LINQ-to-Entity. I have had no success with making the referenced entities load u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635628",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Loaded JavaScript files and dynamically events Anyone knows a tool that collect all the js files that are loaded with a web page?
I know that Firebug through the script tab gives me all the js files downloaded with the web page, but I have to copy the URL from the tab and make the download one by one.
Another questi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SQL- Identify nullable values I am relatively new to SQL queries.
I have a large number of tables in my SQL Database ( over 1500 )
My question is as follows:
I need to identify columns which are nullable from all the tables which have default values?
How can I go about it for all the tables?
Any help or tutorial fo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635632",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I check if a generic method parameter is a value type? Is there a way to check if a variable is value type of reference type?
Imagine:
private object GetSomething<T>(params T[] values)
{
foreach (var value in values)
{
bool is ValueType; // Check if 'value' is a value type or reference type
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635640",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: SQL Query Join 2 tables I'm new to SQL and was reading on joins but i'm a bit confused so wanted help....
I have a table called student_sport which stores StudentID and SportID
I have another table which stores details of matches... so basically sportsID,MatchId,....
What i wanna do is.... for a perticular student d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I get access to the object which the Timer is attached to? I have a programming problem which I think is being caused by my rustiness in using events and delegates...
I have the code:
public void DoStuff()
{
List<IProcess> processorsForService1 = processorsForService1 = ProcessFactory.Get... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635646",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery Equal Heights of Divs I have two columns that have draggable and droppable divs within them. I used this code:
//Equal Height Divs
function equalHeight( group ) {
var tallest = 0;
group.each(function() {
var thisHeight = $(this).height();
if(this... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635653",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using a SELECT CASE statement in ActiveRecord, as Rails model default_scope I have a model, User, which can either be an individual or a company, depending on the value of a boolean, is_company. If the user is a company, company_name stores the name; if the user is an individual, first_name and last_name stores thei... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635655",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Why my Emulator get restarted while i am going top run the Application in it? I have made a simple application in which i have use some buttons and some textView.
On button click event i am using the selector which will display the appropriate image base on the Button click action.
But i dont know what happend, and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635657",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Keygen and Checker C#? I am trying to implement a license feature in my software, i want to print the key on the CD and the user have to input the key in the system and the key will be validated then, that means that a key generated in the CD have to produce a value after decryption that will match the hard coded va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635662",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Why am I getting "Warning: mysql_connect(): Access denied for user" when attempting to connect? I can connect to php/myadmin by using the connection string, but if i am trying to connect through my php page, then it's giving the following error.
Warning: mysql_connect(): Access denied for user 'bf_cards_user'@'My S... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MS Access + NZ() function with empty table I am trying to add values from two different tables, but one of the tables is completely empty. I know the Nz() function is meant to convert Null values to a different value, i.e. 0, but the problem I am having is the table doesn't have any data, so Nz() doesn't work.
Is th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635673",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Error retrieving json with php I've some problem retrieving json information with a PHP.
I've created a simple php page that returns a json:
$data = array(
'title' => 'Simple title'
);
print json_encode($data);
And in another page I try to get that array as an object:
$content = file_get_contents($url);
$json_o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Template classes c++ friend functions My code has the same structure as the shown below. I have two container classes defined in a single header file and each one of them has a friend function with parameters of type the other class so I get a compiling error which is something like 'Class2' - undeclared identifier.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635684",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Accessing android market form java application I want to build an java application, kind of a robot that periodically asks for exist apps based on a parameter (id, name, package...).
What I want to know first is how to access the android market API (if there is any..) from my application. What plug-ins, additional j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Ajax.BeginForm response contains previous values even if I pass another model I'm having a simple action:
[HttpPost]
public virtual ActionResult New(Feedback feedback)
{
feedback.CreatedDate = DateTime.UtcNow;
if (TryValidateModel(feedback))
{
FeedbackRepository.Add(feed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635690",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: writeToFile is not writing to the file Well I am experiencing a problem and I've been struggling with it for few days. Here it is: when trying to write to an xml file (placed in the xcode project which I am developing) using writeToFile, writing doesn't work and I can see nothing in the xml file although the bool v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635696",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: MVC3 render scripts in partial view Hopefully someone out there can help me with this.....I'm building an MVC3 project and I can't seem to figure out why my partial view cannot execute any inline javascript functions. Here is made up example, but will hopefully show the principal I am trying to achieve....
I have a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: JAAS and Security - how to use custom tables with GlassFish Security? Is it possible to use JAAS with GlassFish but using my custom tables ?
I've got a mapping like this
tbUser -> user_roles <- tbRoles
It's a manytomany with users and roles mapped by an Id into user_roles table, so for this to work with JAAS and Gla... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635704",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "deadlock detected" errors on Rails 2.3.14 site -- Passenger 3.0.9, Ruby 1.9.2 About every 3rd time my app serves a particular update action (two that I've found so far), it bombs out with a "deadlock detected" error.
I haven't been able to trace it to any of our own application code. It seems that the action comple... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635705",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: OpenCL built-in function 'select' It's not clear for me what is a purpose of built-in OpenCL function select. Can somebody, please, clarify?
From OpenCL specification:
function select(gentype a, gentype b, igentype c)
returns: for each component of a vector type, result[i] = if MSB of c[i] is set ? b[i] : a[i].
Wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635706",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Regarding htaccess, PHP and hidden variable passing Alright, I have a problem. Let's say that I want to be able to visit this url
`forum.mysite.com/offtopic/23894/`
and for it to pass the variables
`forum.mysite.com/file.php?board=offtopic&thread=23894`
without anyone seeing the string. Is there any way I can do t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635709",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linking CUDA and C++: Undefined symbols for architecture i386 I have tried really hard but no success. I hope someone can help me get this working.
I have two source files.
Main.cpp
#include <stdio.h>
#include "Math.h"
#include <math.h>
#include <iostream>
int cuda_function(int a, int b);
int callKnn(void);
int ma... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635710",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is this a good REST URI? Is the following URI good in REST or how can it be improved?
This is the service definition: (REST and SOAP - WCF)
[OperationContract]
[WebGet(ResponseFormat = WebMessageFormat.Json, UriTemplate = "/Services?CostCentreNo={CostCentreNo}&Filter={Filter}")]
List<Services> GetService... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635715",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to prevent keyboard from hiding? Say I have an InputService ( keyboard ) that starts an activity. Since the activity has a transparent background, it is seen, that going on under it. Once the activity starts, the keyboard hides from under it and remains hidden after the activity has ended.
How to I prevent it fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635716",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: type declarations in 'where' -- what's going on? While reading the QuickCheck Manual, I came across the following example:
prop_RevRev xs = reverse (reverse xs) == xs
where types = xs::[Int]
The manual goes on to say:
Properties must have monomorphic types. `Polymorphic' properties, such as the one above, must... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "14"
} |
Q: Add search box for getting started search box I want to add a search box for getting started example (Hello, World) on chrom extensions http://code.google.com/chrome/extensions/getstarted.html, I was able to add a search box so I can change the word/s are used to get different thumbnails ("text=hello%20world").
The... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635724",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How can I return control from my python script to the calling bash script? I am using a bash script to loop through a configuration file and, based on that, call a python script via ssh. Unfortunately once the Python script does its job and I call quit the bash script also gets closed, therefore the calling bash scr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Extend ANTLR3 AST's With ANTLR2, you could define something like this in grammar definition file:
options
{
language = "CSharp";
namespace = "Extended.Tokens";
}
tokens {
TOKEN<AST=Extended.Tokens.TokenNode>;
}
And then, you could create a class:
public class TokenNode: antlr.BaseAST
{
...
}
Any idee... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635729",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Load / Performance tests (HTTP and Web) I'm looking for a load test tool, the main features that I need is:
*
*Distribution (very important) - I need to be able to run something like 20,000 - 30,000 request per seconds (and more), so one machine is not enough. It should be able to communicate on Amazon EC2 (jMete... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635747",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Using CodeModuleListener + Blackberry I am trying to use CodeModuleListener in my application. I am testing this on simulator. After I run my application I add another cod file to the simulator but the moduleAdded(..) method of CodeModuleListener is not called, when I expect it would be.
public static void main(Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Which features of BizTalk are essential? I collect information about BizTalk and all its stuff. I'm curious about what are the best practices when developing a new integration project? Should I really use ESB Toolkit (which seems to me quite odd and way complex)? Is it really a bad idea to use UDDI services? What co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to inject PesistenceContext in my tests using EJB 3.1? Hi in Spring it's easy to do so... as Spring doesn't require an Container, you just add an @autowired and it's done.
But in EJB 3.1, using @Inject is useless if the app is not deployed... I am getting nullpointer and it's looks logical to get them, because o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635756",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to access non-visible flex components? I'm a newbie to flex and am building a flex 4.5 app that has a custom component extending SkinnableContainer. This custom component is basically a kind of collapsible panel. When you open it you see all the controls in the contentGroup, when you close they go away and you a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Application selection dialog based on filetype I'm trying to create a Dialog, which will display a list of availible applications to open a given filetype.
I've been looking at some question here on stackoverflow that work with the same issue, but I get lost due to lacking answer. In particular I've been looking at ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635764",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jQuery: Finding link best matching to current URL I have the following code which tries to add a class of selected to a link that matches the url:
var pathname = window.location.pathname;
$(document).ready(function ()
{
$('ul#ui-ajax-tabs li a').each(function()
{
if (pathname.indexOf($(this).attr('h... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635766",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android NDK setup in Ubuntu 10.10 Hi All I am new to Android JNI. I have Ubuntu 10.10, android sdk, android-ndk-r6. All my path vaiables are set like platform-tools in sdk, android ndk path, java path etc. When I try to compile Hello-Jni sample in ndk samples folder i getting error
/home/manager/Android/android-nd... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635769",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Warning while declaring versions of dependencies in POM When I specify version of my dependencies within pom.xml, there's a warning :
Overrides version defined in PluginManagement. The managed version is _____.
What does this mean and how do I rectify it ?
A: That message would mean that the version you have speci... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635775",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: projects and gitolite remote on same machine I'm trying to setup a new development server that also will serve as a git remote host.
Some people will be developing on the server and push to the remote and some use there own machine and push to the server when there done.
We are using gitolite to facilitate those who... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635784",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: trend towards MVC as opposed to web forms in ASP.net? I know there will always be uses for both methodologies, but to those who work various contract jobs or attend conferences, do you see a trend towards MVC as being the preference for most ASP.net development. I understand this will involve lots of opinion on if ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635790",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: rails 3 not nil I'm trying to select all records that are not null from my table using where method
MyModel.where(:some_id => !nil)
but it doesn't work, is there any other solution to do this?
A: Use a string rather than a hash
MyModel.where("some_id is not null")
A: You can use:
MyModel.where("some_id IS NOT N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635791",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: How Long is the iPad Roation Duration? Pretty simple question but I can't seem to find an answer. Does anyone know the length in seconds the duration of the iPad Roation animation? I can guess that it's something short like 0.5 or 1 second long but if anyone knows an exact number it would be handy.
Thanks!
A: - (vo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635794",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery Created Nested List Based on Attribute I get stuck when trying to implement recursive logic in jQuery--I don't have much practice with it. I have a simple need, which is to nest unsorted lists by class. What I have is two dynamic lists on a page (they're generated by two CAML queries). The first list will be ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Get unique values using XSLT 1.0 (Without using XSL:Key) I'm facing a typical problem while am getting the Unique list using XSLT 1.0.
Sample XSLT:
<xsl:if test="$tempVar = 'true'">
<xsl:variable name="filePath" select="document($mPath)" />
// Do something
// I can't implement this using "Muenchian Metho... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635799",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Can compiler optimizations, like ghc -O2, change the order (time or storage) of a program? I've got the feeling that the answer is yes, and that's not restricted to Haskell. For example, tail-call optimization changes memory requirements from O(n) to O(l), right?
My precise concern is: in the Haskell context, what ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635805",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Java + Linked-List + Polymorphic Objects "Would you recommend inheriting off of the built in Linked List in order to customize it for my polymorphic objects? or should I build a Linked List from scratch?"
A: I'm not really sure what the context is here, but I would never (well, almost never) build a Linked List fro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635806",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How to use sed to remove all double quotes within a file I have a file called file.txt. It has a number of double quotes throughout it. I want to remove all of them.
I have tried sed 's/"//g' file.txt
I have tried sed -s "s/^\(\(\"\(.*\)\"\)\|\('\(.*\)'\)\)\$/\\3\\5/g" file.txt
Neither have worked.
How can I just ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635807",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "55"
} |
Q: Setting up multiple domains for single app_id Facebook recently added the option for multiple domain support within an app. You can find the post here:
https://developers.facebook.com/blog/post/570/
However, when I add the second domain to the app_domain, I get the following error:
Error
siteB.org must be derived fr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Distribute a sqlite database with a BlackBerry application How can I deploy my application with sqlite database?
A: I do not understand your question but these articles may be helpful:
*
*A java.net article: Getting Started with Java and SQLite on Blackberry OS 5.0
*In the BlackBerry developer knowledge bas... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Load a webpage in another webpage with jQuery using .load I'm looking for a way to load a webpage in another webpage using .load in jQuery.
The instructions listed on the page weren't very clear.
Let's say the domain is "example.com" and the page I'm trying to load is located at "example.com/page".
A: API explains ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where to store methods in MVC projects In MVC3, where is the best place to store methods
I am currently racking up quite a bit of code in my HomeController and feel that my methods should be seperate from the controller logic.
Should I create a model with a class of "HomeControllerMethods" or something?
A: Definit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635833",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to check for Is Not Null in VBA? Hi I have the following expression. I'm trying to say "if the second field Is Not Null". Can you help.
Thanks
=Iif((Fields!approved.Value = "N" & Fields!W_O_Count.Value IsNotNull), "Red", "Transparent")
A: Use Not IsNull(Fields!W_O_Count.Value)
So:
=IIF(Fields!approved.Value = ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "38"
} |
Q: Django queryset excluding many to many objects Let's assume we have a model:
class a(models.Model):
users = models.ManyToManyField(User) # django.contrib.auth.models.User
and these variables:
user = request.user
queryset = a.objects.all()
Then I want to exclude these records from a model that contains the us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635838",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Deleting from a List In this code, when I select an element from the middle of the list and delete, the elements below the selected element are also removed from "view". But they are present in the database and appear once again when the app is run. Please help me with this mistake. Thanks.
DeleteController delContr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635840",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Live checking value of textarea I have a textarea that have a id upload-message. And this jvavscript:
// step-2 happens in the browser dialog
$('#upload-message').change(function() {
$('.step-3').removeClass('error');
$('.details').removeClass('error');
});
B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635841",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Securing cron file I've have a cron file, monthly.php and I want to prevent direct access using web browser. It should be accessible only through CPanel cron.
Thanks.
A: Don't put it under the webroot. Just execute it using the command line php program.
A: You can use a .htaccess to deny access to it. Or you can j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Posting two games with same bundle identifier i am using game center into my app only for the leaderboard. I planned to release the app in two different mode(free and premium). Can i able to have two apps with same name and bundle identifer? if not is there is any way to do that?
A: You have to change the bundle id... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Querying the client periodically for update via sockets-Reusing ports using the Controller.java, I' implementing the run() in NetworkDiscovery.java which queries all the machine in the subnet . The active machines reply with their status. This happens at regular intervals.
public class Controller {
NetworkDiscovery ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635844",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Android switching between layout(Forms) I am fairly new to the android development platform.
I am developing a small android help desk application, as a project. My problem is switching between my layouts. now there are a lot of help on the internet but could not find anything use full to my application.
I have a "m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635848",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get line number in XSLT? Is it possible to get the line number when we apply XSLT to an XML? I need to know the line number when there is a particular template match found in the XML.
Is it possible to retrieve the line number?
A: If you mean the line number of the node in the source document, Saxon provide... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635850",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to store user credentials in an ASP.NET MVC website My settings is as follows:
I have an MVC web application (EbWebApp) which has a service reference to an WCF service named EbServiceApp. For authentication purposes I implemented a forms authentication scenario:
The user logs on to the web site, and then in tu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635862",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Store data in the internal memory not on the sd card? I've been developing a content-based app for Android and I have over 120 MB of data that i need to store on the phone. I download this data from a server when the user first runs the app. My first question is, is it ok if I store this data on the internal memory ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635865",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do you say not equal to in Ruby? This is a much simpler example of what I'm trying to do in my program but is a similar idea. In an, if statement how do I say not equal to?
Is != correct?
def test
vara = 1
varb = 2
if vara == 1 && varb != 3
puts "correct"
else
puts "false"
end
end
A: Yes. In ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "64"
} |
Q: JAX-RS and unknown query parameters I have a Java client that calls a RESTEasy (JAX-RS) Java server. It is possible that some of my users may have a newer version of the client than the server.
That client may call a resource on the server that contains query parameters that the server does not know about. Is it pos... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635875",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: What are the performance implications of disabling the lock-screen? I am working on a timer application (it's my first app to try and learn the ropes). While the timer is running, I want to offer the user the ability to prevent the screen from locking.
Since the screen is always displaying something (and refreshing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635877",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: ~/ not starting at app root I know this may be a basic question, but it is driving me crazy. I have an asp.net (4.0 framework) application that I have been working on. I have a masterpage in the root directory, and a secondary masterpage in a subdirectory. The secondary masterpage inherits the site master.
The iss... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635880",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to create an independent HTML block? I want to know if there is some way to create an independent HTML block .
For more explanation :
My problem is that I have a webpage in which I allow some users can add content (may contain HTML & CSS )
I allow them to add their content inside a certain block , but someti... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635881",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Handling client-side timeout with a Sinatra web service I'm a rank beginner with Ruby and Sinatra, but have managed to come up with a web service that works pretty well, running on Heroku. I access this web service from Salesforce.com.
The HTTPRequest class that I use in Salesforce/Apex has a maximum timeout of 60s.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7635885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.