text stringlengths 8 267k | meta dict |
|---|---|
Q: Facebook App users on Google map I need to create a Google map that would display all my app users. The problem is, that that Facebook doesn't seem to provide enough information to do that, country at most. I'd like to display user position on map at least to the proximity of the city.
The only option I see, is to t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569570",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "real" execution time limit Using set_time_limit() or max_execution_time, does not "really" limits (except on Windows) the execution time, because as stated in PHP manual:
Note:
The set_time_limit() function and the configuration directive
max_execution_time only affect the execution time of the script
itself. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569573",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: What is the default timeout when calling the Facebook API using C# SDK? Below is the code used to connect to the Facebook API, will it have a default timeout? I was wondering this because I think this code should be put in a try/catch statement in case the request to Facebook times out.
ConnectSession _connectSessio... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569577",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: HttpContext Class and its Thread Safety I have an Singleton object in application that has following property:
private AllocationActionsCollection AllocationActions
{
get
{
return HttpContext.Current.Session["AllocationOptions.AllocationActions"] as AllocationActionsCollection;
}
set
{
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569578",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SITE_ROOT = URL + Variable?
Possible Duplicate:
SITE_ROOT = Variable?
How can I get this:
define ('SITE_ROOT', $_SERVER['DOCUMENT_ROOT'] . SITE_BASE);
to look something like this:
define ('SITE_ROOT', [variable from domain.com/dir/data.php] );
I'd very much appreciate if someone could help me with a solution.
M... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569579",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-5"
} |
Q: How to rotate bar chart like the example "CPTTestApp-iPhone" provided in core plot? I am trying to have my bar chart have the same rotate behaviour as in the example provided in core plot. I am using xcode4 and been googling with no luck for a while to get this working . If i copy my code in the example it does work... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569580",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: decorators in python I am trying to understand the functioning of decorators. What am i doing wrong in the following code. Please do correct it
As I have understood when aFunction() is called it in turn calls myDecorator() which also makes a call to afunction(). Right?
Also how to pass parameters into afunction()
cl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569584",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: facebook FB.ui feed dialog customize option not working I have a facebook app which has feed dialog link. on Clicking the link the feed dialog opens up. I try to customize the friends who shall be able see the wallpost. This opens up the custom privacy dialog, but closes the feed dialog. So I cannot move forward wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569592",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Implement custom cell in TTTableView to a TTViewController I have TTViewController include a TTTableView inside and init TTTableView like below:
- (void)loadView{
appTableView = [[TTTableView alloc] initWithFrame:CGRectMake(10, 20, self.view.width - 20, (self.view.height - 44 - 49)/2 - 40)];
appTableView... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569593",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS - I'm confused how memory is being handled here? UIImage API Reference Document:-
initWithContentsOfFile:
Initializes and returns the image object with the contents of the specified file.
- (id)initWithContentsOfFile:(NSString *)path
Parameters
path
The path to the file. This path should include the filename ex... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569596",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I get multiple characters from a string? I'm trying to get the 5th, 6th and 7th digits from a list of digits.
E.g. I want to get the year out of the variable dateofbirth, and save it as a separate variable called dob, as an int.
Here is what I have:
int dateofbirth = 17031989
String s = Integer.toString(date... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569599",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how to upload a web application to free server I am using net-beans 7 and I wrote a server said app on java with db.
Now I want to upload it to free global server.
I tried amazon but need a credit card.
Tried to work with Google app engine but have problems with net-beans and Google configurations.
Can you give me ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569604",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: App fabric without SQL Server whatsoever I got VPS with limited memory and my WCF service is hosted using AppFabric.
Since memory is limited and I am not using SQL server for anything other than AppFabric prerequisite im thinking about uninstalling SQL Server. (instance can eat up to 200mb memory at times). I am not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569605",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: DDD and Factories Hi I have a few questions regarding Domain Driven Design and using Factories / Factory Methods.
Per the Domain Driven Design Blue Book (Eric EVan's Book) it states that complex constructors should be encapsulated inside Factories / Factory Methods / Builders so there is a consistent place where you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569611",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Best sql practice for related records Hi I need be able to link related applications and am trying to work out the best practice table structure for saving, updating and deleting.
I have the following table:
APPLICATION{ApplicationId, Name, Description}
I need to be able to say Application 1 is linked to 2 and 3. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569614",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MVC3 load common data for views I am developing an MVC3 "movie list" application containing several "sites" depending on the request hostname.
I am trying to use a strongly typed ViewModel like this (examples are simplified to get to the essence of the question):
class ViewModelBase
{
public int siteId { get; priv... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569617",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a "Find in Files" shortcut in Eclipse? Is there a "Find in Files" shortcut in Eclipse, as there is in Visual Studio (Ctrl+Shift+F)?
I have looked in these two lists:
*
*Eclipse Shortcuts
*"Show All Shortcuts" shortcut: Ctrl+Shift+L.
Thanks.
A: select workspace and press Ctrl-H
Which dialog is selecte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569630",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "93"
} |
Q: Problem in uninstalling visual studio 2010 professional I have Visual Studio 2010 Professional, i just got new Ultimate edition of Visual Studio 2010. I'm trying to uninstall the previous Professional version but it isn't working
*
*When i try uninstalling through control panel it just freezes on
generating setup... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569634",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Fixed width of collapse panel in C#, winform? In winform application, i am using multiple collapse panels and each one contains dynamic controls added.
But the problem is, the width of the collapse panels changes dymanically (width reduces on collapsed mode and increases while expanded) but i want fixed width on bot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569641",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Performance tool - leak If I testing my codes with performance tool - leaks, and it doesn't detect any leaks. Does that mean the codes is not leaking any memory?
I have a Jail-broken iPhone, which I can monitor the available memory. If anyone knows, it's SBSettings. I tested my app which has a UITableView and I can ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569642",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Developing for HTML5 canvas using Box2D engine but NOT in Javascript Basically I have the following constraints for an upcoming project/game:
*
*Drawing should be done in the HTML5 canvas element
*Use the Box2D physic engine (or equivalent physics engine)
*Game logic (and as much code as possible) should be in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569643",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Implementing A Controller for Authorization I use Spring and Spring Security 3 at my application. All my clients side are static HTML files. I have a navigation bar that includes buttons like:
*
*List
*Edit
*Delete
*Update
When a user clicks any of them another page loads at bottom. Users have roles at my a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569647",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SessionContext.getBusinessObject() in EJB3 & JNDI lookup In EJB2, one needed to use getEJBBusinessObject() method in a EJB to pass reference to itself when calling another (local/remote) bean.
Does the same apply for EJB3?
e.g.
@Stateless
public class MyBean implements MyBeanLocal {
@Resource private SessionC... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569648",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: ASP Photo Processing - List Photo colors Like the the amazing "histogram" property in Ruby (RMagicK), that computes a list of colors in a photo, in order of frequency - is there anything similar to this for Classic ASP/.NET, in the form of a third-party plugin or component?
Regards
A: It sounds like RMagick is a de... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569652",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where can I find JavaEE packages' sources? I'm developing a JavaEE system (distributed on Weblogic App Server), but I don't have the sources for the JavaEE packages (javax.ejb.*, for instance).
Where can I find the sources (not javadoc) for these packages?
A: Try in the default Maven repository; search for "javax.e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569658",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: Print unique value for keys I have an array of dicts like this:
{
"album_image" = "BauerOVTDDVD.jpg";
"album_title" = "Zuid-Afrika, Om Van Te Dromen";
"album_year" = 2005;
"track_duration" = xxx;
"track_title" = "Ik Neem Voor Jou De Laatste Trein";
},
{
"album_image" = "BauerOVTDDVD.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569660",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to make a JavaScript menu more functional I wonder simply which way is the best practice to make this menu dynamic. I don't want to make a function for each Element.
Should I push them into an Array then loop through them?
<div id="nav">
<div id="button1"></div>
<div id="button2"></div>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569663",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple form issue with Rails 3 I've been trying recently to show a list of the fields modified with success on submitting a form. The only problem is that my form (I use simple form) doesn't show the errors when there are some and the form can't be submitted.
Here's my code simplified :
def update
@wizard.assign_a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569667",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: doctrine, symfony 1.4: How do I fix this 'Integrity constraint violation' I have defined this entity in schema.yml
Jobsearch:
tableName: jobsearch
columns:
seeker_id:
primary: true
type: integer
notnull: true
autoincrement: false
empmode:
type: string(50)
pensum:
t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569669",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: In Scala, how do I translate from hard coded files to using resources? At the moment I have something similar to the following
for (line <- Source.fromFile(new File(myFile)).getLines) {}
Suppose instead of myFile I want to use
getClass.getResource("/filename")
What is the syntax for doing this whilst retaining the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569671",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: A smart way to retrieve allowed file types from plist Scenario:
I like to define the allowed file types (content types) in the Info.plist file of my Cocoa application. Therefore, I added them like the following example shows.
# Extract from Info.plist
[...]
<key>CFBundleDocumentTypes</key>
<array>
<dict>
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569672",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Difference between the old game.achievement / new open graph I'm confused about the new version of the Open Graph (beta). I'm currently implementing the achievements functionality into a facebook app'.
I'd like to know if there's a difference between :
*
*Old game.achievements in the og:type meta tag, and...
*N... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569679",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript in Delphi: [Something] is not a function I am attempting to create a form in delphi with a TWebBrowser making use of javascript. I have a save and load class that allows users to save out certain properties on the form and then load them back in later. However, when loading (Which creates a new form, init... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569681",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Cannot add or update a child row when parent exists When executing the following query it results in a "Cannot add or update a child row" error. Normally this happens when the record in the parent table (upload.id) does not exist. In this case, though, the record in the parent does exist.
UPDATE user
SET callcent... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569682",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nuget - packing a solution with multiple projects (targeting multiple frameworks) Say I have the following solution with multiple versions of the same code each targeting a different framework and I would like to generate a nuget package from it.
SharedLib.sln
SharedLib.Net35.csproj
packages.config
SharedLib... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569685",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "17"
} |
Q: Need help understand and INSERT/UPDATE procedure I have an INSERT/UPDATE Procedure that will only seem to update when I change the existing "name".
I added a code field to the java, and want to update the code to the existing table without having to modify the "name" because it already exists. If I modify the "na... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569691",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Linking multiple arrays after parsing from XML I have parsed many differend xml to check, if - for example - a document is online or not and putting it into an array and "echo" the online documents this way:
<?php
//
//Array
$externdoc[123] = "Example 1";
$externdoc[456] = "Example 2";
$externdoc[789]... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569693",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: For what it's worth starting an string in C# with @
Possible Duplicate:
What's the @ in front of a string for .NET?
when to use @ in c#?
I'm quite new at C# programming and, in many examples, in particular at MSDN, the following code piece appears quite frequently:
string NewString = @"Hello World";
I'm quite cur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569701",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: JPA composite key @OneToMany I have the following existing DB schema, which I'd like to recreate with Java and plain JPA annotations (using hibernate as provider, so hibernate specific annotations would work as a last resort):
CREATE TABLE users (
user_id NUMBER NOT NULL -- pk
);
CREATE TABL... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569702",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Naming ivar the same as the class name I've never considered this a problem, until I ran the Xcode "Analyze" feature. Say I have a class called dude and I have created an instance of class and synthesized it so self.dude is available.
This works just fine. However, in the dealloc if I put:
[self.dude release];
I g... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569703",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Threads - Sharing variables I have a system that is multi-threaded. I want to create a object in a thread, and every object that runs in this thread can view this object.
Example,
When i use GetCurrentThreadID i always get same id, if i call it from the same thread.
I want to call, for example, getSharedObject and a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569714",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Search JS Object for Value Say I have an object:
userInfo
And I want to search each node of userInfo to see if the key 'username' has a value equal to foo.
userInfo[x].username == "foo"
Is there a better way of doing the following?
var matchFound = false;
for (var i = 0, len = userInfo.length; i < len; i++)
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569718",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: The given System.Uri cannot be converted into a Windows.Foundation.Uri I'm trying to programmatically load a BitmapImage in a XAML Metro app. Here's my code:
var uri = new Uri("/Images/800x600/BackgroundTile.bmp", UriKind.RelativeOrAbsolute);
var imageSource = new BitmapImage(uri);
The second line crashes with a Sy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569720",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "30"
} |
Q: Linq like search across multiple fields I'm trying to create a simple address screen where the user has a single "google" style query box which searches across all address fields i.e. address line 1, town, city, post code etc.
I'm using .net and EF with an SQL database. I've tried
IEnumerable<T> results = from x in ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569725",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Retrieve value from a Json Array I'm having difficulty in retrieving values from a Json array. I have a Json dataset that has been created using json_encode. This is how it appears after using json_decode and displaying using print_r:
Array ( [0] => stdClass Object ( [postID] => 1961 [postTitle] => Kiss My Fairy [p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569741",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Repository interface null error when called from HomeController I was following this tutorial:
http://blog.johanneshoppe.de/2010/10/walkthrough-ado-net-unit-testable-repository-generator/
And I had this issue:
MVC3 & EF. Interface for TDD
However, now I have my interfaces setup (I am not using ninject due to project... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569744",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Python List Parsing Probably a simple question, but I am new to Python. I have a file containing email addresses, one per line. I want to read the file and append them together separated by a comma. Is there a more pythonic way of doing this?
def getEmailList(file_name):
f = open(file_name, 'r')
emailstr =... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569748",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I output the contents of an array in an html table while using jQuery? How do I display the contents of an array in a HTML table while using jQuery?
Here's my script... This outputs the objects in the array on top of the table not in the table.
HTML
<table>
<thead>
<tr>
<th>ITEM ID</th>
<th>NUMBER OF BAGS</th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569750",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to use method(s) to add multiple, changing values I'm working on a personal project for a friend and have hit a bit of a roadblock. I can continue as I am and write some really redundant code, but I feel there must be a more efficient way of doing this.
What I'm trying to do is write a method that will add three... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569751",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: formatting a string which contains quotation marks I am having problem formatting a string which contains quotationmarks.
For example, I got this std::string: server/register?json={"id"="monkey"}
This string needs to have the four quotation marks replaced by \", because it will be used as a c_str() for another func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569753",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to make the content of a div to be in center in this div, the content's top is higher than the bottom, please tell me what to do now..
.dtestContactDet{
border-bottom:1px solid #D7D7DE;
border-bottom:1px solid #D7D7DE ;
-khtml-border-bottom:1px solid #D7D7DE;
-moz-border-radius:1px solid #D7D7DE;
-webkit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569755",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Paperclip and json, "stack level too deep" I use Paperclip in one of my model :
class Event < ActiveRecord::Base
belongs_to :continent
belongs_to :event_type
scope :continent, lambda { |continent|
self.scoped.where('continent_id IN ( ? )', continent) unless continent.blank?
}
scope :event_type, la... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569759",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Symfony 1.4 save all items' froms with one action I want to create thumbnails for 200+ objects with one action in Symfony 1.4. The problem is that thmbnail generation takes place on saving the form.
class AuthorForm extends BaseAuthorForm
{
public function configure()
{
/* some configs */
}
public func... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569765",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: optimise distance calculation in matlab I am a newbie with Matlab and I have the following scenario( which is part of a larger problem).
matrix A with 4754x1024 and matrix B with 6800x1024 rows.
For every row in matrix A i need to calculate the euclidean distance in matrix B. I am using the following technique to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569772",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I present a pick list in a SharePoint 2010 External List form from an association in my BDC model? I have created associations between entities in my .Net assembly BCS model. When I load the model into SharePoint and create external lists, I automatically get an External Item Picker control; enabling me to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569778",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can BLTookit Generate Db and Tables I am currently using Entity Framework Code First to generate my MySQL tables and schema from my classes. However, I would like to switch to BlToolkit. Does this ORM support table generation from classes decorated with various attributes? If so, can you give a quick example?
I was ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569779",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Currency formatting language? I am using a GridView and I need to show the currency in Arabic culture so I used this code which is working very well,
DataFormatString="{0:c}"
The results will be like this : د.ك. 55.000
Now what I want is to change it like this : 55.000 K.D ???
A: Have you tried DataFormatString ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569781",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: jQuery search text in elements as SQL query LIKE? Hi is there anyway to search text in dom, as we do for SQL query LIKE?
i mean, i have.
<ul>
<li>ab</li>
<li>abrecot</li>
<li>abus</li>
<li>aby</li>
<li>abrea</li>
</ul>
i would like to search for "abre" and so return in text ASC order:
<li>abrea</li>
<li>abrecot</li... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569782",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Object scope and aggressive cleanup on paused Activity instances I have an Activity that contains an AsyncTask as an inner class (as I have seen in most examples). If I fire the AsyncTask and then pause the Activity by navigating away from it, the AsyncTask continues to execute. As I understand it, this is normal ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569789",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Default values for integers in structure I can't figure out how to set default value for integer in structure. For example
typedef struct {
char breed[40];
char coatColor[40];
int maxAge = 20;
} Cat;
The code above gives me an error on execution - Expected ';' at end of declaration list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569795",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: ASP.NET image src question I set the value of a image control via the following jquery code:
$('.image').click(function () {
var imgPath = $(this).attr('src');
var imgName = imgPath.substring(0, imgPath.length - 4);
var imgAlt = $(this).attr('alt');
$('#<%= detailedImage.ClientID %>').
attr(... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569797",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Convincing eclipse/GPE to not recompile GWT code when I make a server-only change I'm working with GWT and GAE in Eclipse with the google eclipse plugin. Sometimes I just want to make a quick server fix. I change something in my server code and re-deploy, but the GWT code is all recompiled as well. At this point ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569798",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to set editor tooltip color and background in Visual Studio 2010? i am using black scheme and set up color setting for editor tooltips:
Sample preview is correct but actual result is different:
Is it possible to set up tooltip colors in Visual Studio 2010 properly?
A: After installing the Productivity Power T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569808",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: How can I interact with the Lockscreen layout to display text into it, like this app: I just discovered this application : https://market.android.com/details?id=de.j4velin.lockscreenCalendar
It seem that is now possible to write some text inside the lockscreen in the place where the alarm is usually written.
I would... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569812",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Callstack overflow on JSON .each I have a list of JSON objects that I loop through and then (using the jQuery Gmap plugin found here) create markers for that object and add it to the map.
Problem is that in each browser I'm getting callstack overflow messages:
Uncaught RangeError: Maximum call stack size exceede
i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569813",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is it possible to symbolicate MonoTouch crash dumps and get line numbers out of them? Is it possible to symbolicate MonoTouch crash dumps and get line numbers out of them? If so, how is it done?
I have configured my project in the following way:
*
*Build in release mode
*Checked 'Enable debugging' in Project Opt... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569814",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Remove subquery from JOIN? In the following query, I would like the remove the subquery from the JOIN statement (since my two SELECT statements are selecting data from same table). How can I use that alias? Thanks in advance for any help.
declare @StartDate datetime= '8/01/2011'
declare @EndDate datetime = '9/20/20... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569817",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Use ".items" on an ObservableCollection ? (loop through it) I got a "well-constituted" ObservableCollection and I'd like to inspect into it.
The definition of it is :
private Dictionary<string, ObservableCollection<DependencyObject>> _DataPools = new Dictionary<string, ObservableCollection<DependencyObject>>();
(y... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569818",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Telerik Report omitting data After performing a product evaluation by one of the managers other can change the scoring for certain categories. This changes in scoring are stored in the database for reference.
The structure of the evaluation is like this:
Evaluatoin
- Category
- Scoring point
an evaluation c... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569822",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Send string in PUT request with libcurl My code looks like this:
curl = curl_easy_init();
if (curl) {
headers = curl_slist_append(headers, client_id_header);
headers = curl_slist_append(headers, "Content-Type: application/json");
curl_easy_setopt(curl, CURLOPT_HTTPHEADER, headers);
curl_easy_setop... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569826",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: SQL Server 2005 i want to create the hour a task was started out of an datetime On SQL Server 2005 i want to create a representation of the hour that my task was started. I have a datetime that is '2010-10-01 12:30:00.000' which is the actual start time. What i would like to end up with is '12:00' which is the hour ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569831",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to tell if an android device is wifi-only? I am trying to find a reliable way to tell if an Android device is wifi-only. I tried a couple of ways:
-- Try to get device ID (IMEI/MEID), if I can not get the IMEI/MEID number, then I can assume the device is wifi-only. This doesn't work as some phones do ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569835",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Java Play Framework Hidden Url Routes Is it possible to hide/mask the urls in the java play framework. The problem I have come across is I want a user to be able to log in and view messages belonging to them but I do not want any old user to find theses messages by simply hacking the url.
What I have got is a Notifi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569836",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Should I use OVal (Object Validation Framework) even if it requires AspectJ or not? I have a Java Maven project which is developed by multiple people.
As I really like doing JUnit Tests and the like, the concept of OVal intrigues me because I can write code like:
@NotNull
@NotEmpty
@Length(max=32)
private String nam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569837",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jquery .live problem with IE I have the following code which on focus hides a "dummy" password field (containing the word 'password') and shows a real password input field. It works fine in all browsers expect IE.
In IE, it works if I tab to the password field, but if I click on the password field it focuses correct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569839",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: return functions for arrays Need a bit of help completing a Javascript program which uses succesive functions. I cant find a way of replacing the return statement with variable so I can use the varable in the second function.
The program uses the statement findArrayparts(myArray1, myArray2) to get the function find... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569842",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: tab based problems in android i am iPhone programmer and new in android development ,
I developed a tab host based application.
Can I switch between activites as I was doing in iphone
[self.navigationController pushViewController:
and
[self.navigationController popViewControllerAnimated:
is there any way of doing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569843",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: selecting Row count between a range of dates based on current Date i am doing a project on hotel reservation.in that i have to show room vacancy of selected week in the page.i am taking the booked room count from hotel Booking table.below is few feilds in booking table.
my problem is i have to get sum of HB_Noofroo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569849",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why isn't my C++ assembly signed? I have a C++ project, set to /clr, which is referenced by C# projects in the same solution. Unfortunately, it seems the C++ doesn't get properly signed, leading to the error message "assembly doesn't have a strong name." (sn.exe agrees with that error.)
However, there is an snk file... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Verify CSS is valid syntax What are some guidelines that could be used on CSS to ensure that it is valid at least in syntax only. The four checks that I came up with were ensuring that at least one "{", "}", ";" and ":" exist and if they do exist that the number of "{" and "}" matches and the number of ":" and ";" m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569853",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Passing Values to DB and Viewing it w/ 100% JavaScript? How do JavaScript-heavy web applications route freshly-entered data to a database, and then display it to the client, only using JavaScript/HTML?
Say Acme Social Network user types profile information into a HTML form and clicks 'submit':
*
*How would you sa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569855",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What kind of type is this statement? In javascript : is it legal ?
var obj = [ id: '1', name: '' ];
type typeof(obj) return n/a
A: I guess you want an object (looking at your variable name).
In that case it would be:
var obj = { id: '1', name: '' };
The [ and ] tokens are used to define an array and must look ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569859",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to do http post using apache httpclient with web authentication? I have searched a LOT for this and could not find a decent solution. The one using credentials provider is bad as it make double the amount of calls opposed to what is required i.e. it fires the request , gets a 401 and only then fires the request ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569866",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Case Statement with Dictionary Hi all i wrote the following code, what i am doing is i would like to use Switch case for my dictionary that exists but i am getting an error as
Can not implicitly convert string to bool
My code is as follows
List<string> lst = new List<string>();
lst.Add("Delete");
lst.Add("Reports")... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569869",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to set the current shell settings to every shell i a bash? I have done some 'source file' at the current bash shell and want that file to be sourced to every shell that is created. How can this be done?
A: Add an entry in your .bashrc file. If one doesn't exist, go to your home directory and create one with you... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569873",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Nullpointer @ managedQuery When I run my code, I get an exception @ managedQuery.
Whats wrong?
I don't see it.
import java.util.ArrayList;
import java.util.List;
import android.app.Activity;
import android.database.Cursor;
import android.os.Bundle;
import android.provider.MediaStore;
public class FileManager exte... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569874",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Problems accessing elements with namespaces in PHP using DOMDocument Here is my XML fragment:
<?xml version="1.0" encoding="UTF-8"?>
<ns:searchResult xmlns:ns="http://outerx.org/daisy/1.0">
...
<ns:rows>
<ns:row documentId="1440-DFO_MPO" branchId="1" languageId="2"
access="read,fullRead,write... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Overlay image with text and convert to image I want to add text to a jpg creating a new image.
There will be image_1.jpg already on the server and I want to take the user submitted copy and put it on top of image_1.jpg creating a new image that combines the copy and the original image into a new rasterized jpg
I kno... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569885",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Open part of html page I want to open part of html page in UIWebView.
I found good code, but I can't find tags, which I need.
I want to open only text (not title) and comments in different UIWebViews from URL (iOS version): http://smartfiction.ru/random?random
What tags I need to use?
Thank you very much.
A: so, te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: SVN: Partial reintegration of a branch? I'm using SVN for version control (with Eclipse / Subversive).
We have a branch and a trunk. The branch is for a specialized version of our project. Often, we experiment some changes in the branch, and then decide that those changes are useful in the main-project (trunk) too. ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I stream binary data to disk in asp.net with c# How do I stream binary data to disk, where the user first choose the location path?
What I have so far:
User click in my RadGrid, and I fetch Binary (or byte[] with .ToArrar()).
I would like something, where user was ask to browse he's computer for at location a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569900",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Ignore mouse focus on tool-tip? I've created something that works like a ToolTip in my Flex application. When I roll over a certain item renderer, I pop up a new control, position it, and remove it on roll out. The order of operations is like this:
*
*Roll over event handler triggered.
*Add the tooltip to this.s... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569902",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Easiest way to read from and write to files There are a lot of different ways to read and write files (text files, not binary) in C#.
I just need something that is easy and uses the least amount of code, because I am going to be working with files a lot in my project. I only need something for string since all I ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569904",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "441"
} |
Q: Can I paginate a custom query without overriding the default pagination? In my CakePHP (1.2) app, I have two actions that both use pagination - index and search.
In a previous question I learnt that, in order to apply a threshold score to search results, I need to use the HAVING MySQL keyword. Since CakePHP does not... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569910",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Android: Cocos2d -x crash on sound My game is using Cocos2d-x. When a sound plays, the game crashes randomly on Samsung Galaxy SII, other devices run perfectly. Only a native dump is in the LogCat:
09-27 13:01:32.615: INFO/DEBUG(26994): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-27 13:01:32.6... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569912",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: PHP: How to insert element into an array from variable I need to insert valus into a array.How i do that. my code is below:
foreach($number_array as $number)
{
if(strlen($number)==10)
{
//How to insert the number values into an array ??
}
}
A: $new_array = array()... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can Apache log if users have JS disabled We would like to know how many of our site visitors have JS disabled in order to help us decide whether or not we should develop a non-JS version of our new site design. Is this possible with Apache 2.2?
A: Use the <noscript> tag, the block inside this tag won't be used by t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569915",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How can I use a collection within an Oracle SQL statement I want to write an Oracle function that collects some data in multiple steps into a collection variable and use that collection data within a SELECT query like in this very simplified example:
CREATE OR REPLACE FUNCTION TESTFUNC01 RETURN VARCHAR2 AS
-- INT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "16"
} |
Q: Zend Studio formats txt-sources after upload Zend Studio formats txt-sources after upload.
for Ex:
<?php
echo 'test';
echo 'test';
echo 'test';
?>
after upload this source code looks like:
<?php
echo 'test';
echo 'test';
echo 'test';
?>
A: Check the file line delimiter option. In both Zend Studio and Eclipse... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569919",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: read the incoming data from web service I have a doubt to be clarified. how can i read the incoming data from web service.
What i want is i get data like this
[ " hi how r u :) " ]. so i need to fetch this message before it is displayed in list view.
sample code: http://pastebin.com/q3mbuSpU
So I need to replace ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7569920",
"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.