text stringlengths 8 267k | meta dict |
|---|---|
Q: calling Windows Phone 7 lockscreen programmatically
Possible Duplicate:
can you lock screen programmatically in wp7
I'd like to write an application for locking the screen (let's say, to reduce wear on the hardware lock button - locking the phone by pressing on the screen) - how could I accomplish this?
(VB.NET o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532846",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: HTML Unity PlugIn not working in wiki I have a wiki at http://toneme.org
I would like to run a unity plug-in on the main page. as a test, I have a simple unity project, which comprises a .html and a .unity3d binary. here is the contents of the .html:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532851",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: SQL LIMIT with WHERE clause Is it possible to use LIMIT x with the WHERE clause? If so, how?
I'm trying to do this:
select * from myVIew LIMIT 10 where type=3;
But i get the following error:
ERROR: syntax error at or near "where"
LINE 2: where type=3;
^
********** Error **********
ERROR: syntax error at o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532852",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "11"
} |
Q: Honeycomb gallery sample There is a link on the android dev blog to application example which works on both handsets and tablets, but there is android:minSdkVersion="11" in AndroidManifest.xml which assumes tablets rather than handsets. When I decreased the min version the application just didn't start. What did I m... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532857",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Wix Not Removing Files on Uninstall I've seen others' questions on this matter, but I can't make it work for me. I'm trying to get used to Wix so we can migrate our vdproj's (I feel like we've taken 1 step forward and 4 steps back here...the most basic of things have become completely non-trivial with Wix...but I do... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532863",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "34"
} |
Q: Pixel shader to project a texture to an arbitary quadrilateral Just need to figure out a way, using Pixel Shader, to project a texture to an arbitary user-defined quadrilateral.
Will be accepting coordinates of the four sides of a quadrilateral:
/// <defaultValue>0,0</defaultValue>
float2 TopLeft : register(c0);
/... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532867",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Eager load Many to Many in EF4 using expressions? I have two Entities: GrmDeploymentAttempt and GrmDeploymentStep. These entities have a many to many relationship through an intermediary POCO GrmDeploymentAttemptStep, which has additional information about the actual many-to-many relationship.
I am trying to load a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532871",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Is there any graph data structure implemented for C# I tried to find a graph data structure to reuse in C# without any success. Of course, I can borrow from data structure books but I want it to be more commercially practical(?) Also I would appreciate if you can tell me what the best way of implementing a graph is.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532882",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "71"
} |
Q: Doctrine 2 Query Builder abs Function This Work:
$qb = $this->em->createQueryBuilder();
$qb->select("abs(u.code) as code")
->from("User", "u")
->orderBy("code","ASC")
->getQuery()
->getArrayResult();
This Don't Work:
$qb = $this->em->createQueryBuilder();
$qb->select("u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532886",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Remove common english words strategy I want to extract relevant keywords from a html page.
I already stipped all html stuff, split the text into words, used a stemmer and removed all words appearing in a stop word list from lucene.
But now I still have alot of basic verbs and pronouns as most common words.
Is there ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532889",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Oracle SQL Query with Member and Member_phone table join MEMBER table with primary key MEMBER_ID and MEMBER_PHONE table for MEMBER_ID as foreign key and PHONE_IND as one of column with values 'S' (Secondary Phone) or 'P' (Primary Phone) along with phone number details. 'S' is our key value.
I need oracle query to fe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532890",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where is the bug in this jQuery code? I have this code and the part in /**/ has some bug... I can't find it... When I delete that part of the code it works fine.
Problem
Solution
$(window).load(function(){
$('#cTop').toggle(
function(){
showC();
},
function() {
hideC();
}
);
$('#te... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532894",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Java wrapper as daemon I am using this YAJSW to run Java Daemon on my Centos 5.5 machines. The think it runs well but out of suddent I notice I get this sort of error and then it just goes down. Any help what must I do to avoid this sort of problem? Can I use some monitoring tool to monitor and recover it as soon it... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532897",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: FireBug Lite messageQueue null I'm trying to get FireBug Lite working with IE7. Given this code (and nothing else):
<script type="text/javascript" src="https://getfirebug.com/firebug-lite.js"></script>
<link rel="stylesheet" href="../../css/third-party/jquery.ui.all.css">
This is a test!
...I get an error at Line: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532909",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "21"
} |
Q: How to change App Profiles Page to match changed Namespace We recently changed the Namespace for our canvas app from 'karmakorn' to 'karmalyze' to get ready for an alpha release.
The Facebook platform correctly points to http://apps.facebook.com/karmalyze for the canvas, but continues to point to http://www.facebook... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532914",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Razor: Get style value from elsewhere on the page I'm trying to hack my way through some ASP.NET pages put together with Razor, having never seen Razor used before today, more or less, and I was wondering if it were possible to grab a CSS style value and use it in Razor code, like this:
@foreach (var item in someLis... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532917",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: meta_where code not being recognized I used meta_where on a rails project last summer and it worked. However trying to set up a rails project at a distance using the screen sharing site "join.me" I'm getting errors when the code gets to the first line that uses meta_where ("matches").
I've put "gem 'meta_where... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532918",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Building Android Webkit Plugins? I have an application I built (based on OilCan) that modifies some popular webpages with basic enhancements.
When I distribute it as a .apk, I can launch my new application called MyApp that emulates the browser, editing the target pages to my liking.
Now I'd like to re-package it as... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532921",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Rails controller design pattern for My Events I would like to have a My_Events page, which only display events that current user subscribed to, and allow user to manipulate these events, in addition to Index page that displays all events in the system.
How should I go about this to comply with RESTful pattern? Shoul... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532922",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Javascript Objects: What gets returned from an object constructor I wasn't sure how to ask this, and I apologize if it's been asked already, but I could not find it or an answer.
What is returned when you assign a function to a var.
var obj = function(){
this.name = 'Steve';
}
alert( obj.name ===... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532923",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hashtag in url issue I have a querystring parameter that populates another page and the problem happens when the parameter starts with a hashtag #
Ex:
mysitepage/Details?param=#456
Of course this happens because hashtags in url ends the request. The problem is that these are ids from the database and cant be changed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532924",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How do I install Maven with Yum? I'm trying not to learn much about either yum or maven. I've inherited this code and I don't want to spend more time than I have to in this environment.
I've got yum. My installation "has" ("is attached too"? "knows about"?) two repos: the Amazon one and JPackage, which I understan... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532928",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "148"
} |
Q: facebook credits , how to get php back? i am using the facebook credits example and everything works but this:
if ($_GET['order_id'] && $_GET['status']) {
$html = "Transaction Completed! </br></br>"
."Data returned from Facebookkkkkk: </br>"
."<b>Order ID: </b>" . $_GET['order_id'] . "</br>"
."<b>Status: </b>"... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532929",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: NO CERTIFICATE problem for a specific user I have a problem I am trying to figure out but seem to have run into a brick wall.
I have an APK that I mailed to a user to install. It is signed in release mode. I have installed the same apk on my phone (Motorola Atrix, OS version 2.3.4) successfully.
The user has the sam... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532932",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Removing comma at the end of output java I'm trying code a basic application that will take the amount of numbers the user wants to input and then ask the user for the numbers, save the the numbers in a string array and then print them out in specific format.
this is what I have so far the only problem is I need to ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532935",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to properly use RegisterNatives I'm trying to register a native function through jni, and to do that, I have to store a pointer to the function in a jninativemethod struct, which has a void* field for the function pointer.
In setting that field, I get the error error: invalid conversion from void (*)(JNIEnv*, _j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532952",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Inconsistent line endings warning when line endings are consistent I was opening an auto-generated file in Visual Studio to inspect it, and Visual Studio tells me the line-endings are inconsistent. I know about the difference between LF and CRLF, so I thought I would try making a small change to the generation code ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532967",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Lib usb how to read character from port I want to write an application that reads data from the USB device and was looking for a library that can make the job easier. I found a library called lib-usb. Unfortunately, it has almost no documentation. Here is what I have tried:
#include <stdio.h>
#include <stdlib.h>
#in... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532970",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Response.AppendHeader() is broken I'm using
Response.AppendHeader("Refresh", "2; url=default.aspx")
To send users back to the home page after they log in or log out and it works. But, on the contact us page it fails and this is what it says:
The resource cannot be found. Description: HTTP 404. The resource you
a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532971",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Encrypting passwords on POST Django aside from using SSL, is there any way to encrypt a password in the Django framework on the first POST to the server? For example, if I have a form that accepts a username and password, then send it to another view, aren't the passwords sent to the backend unencrypted? If so, is t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532972",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Finding a gem from the require line in code I currently have an installer that installs a set of ruby scripts (that is an optional install from the main program). I have written a script that after the install, it scans through all of the require statements inside the contained ruby files, and then pulls out all of... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532979",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: How to call a test case in Selenium rc with PHP? can you tell me how to run a test case in selenium RC with php?
A: Taken from the official guide at http://www.phpunit.de/manual/3.7/en/selenium.html
Create a class that extends from PHPUnit_Extensions_SeleniumTestCase which will contain the methods from PHPUnit_Fram... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532980",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hudson/Jenkins: Start task simultaneously on multiple slave machines If I have a task (a script) that needs to start on n number of machines at the same time (with some tolerance: ~10 minutes), how do I go about setting this up in Hudson or Jenkins?
A: Are they all the same type of machine (OS?)
You can use a multi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532982",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to enable MS Access VBA debugging? This is really annoying. In MS Access VBA, there should be linebreak and debugging, however it always go through my code without hitting any of my breaks. Is there somewhere where I need to enable it first? I have the following option:
Option Compare Database
Option Explicit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7532992",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting Address Information from Google Places API I've been looking to use the Google Places API in one of my projects, but I had a question about it that I couldn't figure out. Should be very simple, but I can't quite wrap my brain around it. Here's my issue:
I'm trying to implement an autocomplete field that us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533008",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Are there any tools for analyzing my solution for good design practices? Are there any tools included with Visual Studio 2010 (Ultimate) that perform a review of a solution to determine if it follows, for example, SOLID principles? If not in VS, add-ins are okay. Free is best but will consider purchasing something.
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533012",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using jQuery UI and .Net Master pages I would like to try and use jQuery UI along side of master pages in ASP.Net 4.0; I like the widgets better than the .Net controls. But I have a question around the accordion control.
Is it possible to put an accordion control in the master page and use it like a menu and still ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533016",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: SSRS 2008 R2 - Stop auto generation of report parameters When adding a new Dataset to a report based off a stored procedure that has parameters (say @MileageLow and @MileageHigh) sometimes those stored procedure parameters are propagated into the actual report parameters.
Is there an option like "Auto Generate Repor... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533021",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Button click and ListView click I have a ListView. on click of a list item I start a Activity. Now I have added a Button on that ListView and onclick of a button I want to start a another activity. After adding a Button, I can click on the button and start a Activity but now I can not click a list item. What happene... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533027",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I make an html5 animation when a button is clicked on a webpage? I have an idea for an interactive animation that I would like to create in html5. I want to have a soccer field with jerseys on it in a formation like 4-4-2 and have different options on the side to change the formation let's say to a 4-5-1 and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533028",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: mvc 3 checkbox @value failing in partial view I have the following line of code in a partial view
@Html.CheckBox("selectedUnit", new { @value = item.data.Id })
This partial view is a table that allows for selecting of table rows. In my postback i then get a list of my checkboxes in the form with either the Id or ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533029",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: CSS in Chrome displaying High? Hi I've just started writing a page and i've hit a snag I've never had before and I'm not sure what i've done. This fiddle http://jsfiddle.net/4Fbpu/ displays fine in FF, Opera and IE 9 (surprisingly). But in Chrome the content starts midway between the header and wrapper. Does anybody... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533031",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Memory leaks on DLL unload A C++ console application loads a DLL at run time using LoadLibrary() function and then calls some of the functions exported by the DLL. Once the application is done with the DLL, it calls FreeLibrary() function to unload the DLL.
Will the memory leaks caused by the DLL function calls als... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533033",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: converting my WGS 84 co-ordinates into screen x and y I am stuck on a little problem of creating a simple map app. what i am trying to learn is the mathematics behind the conversion of my WGS 84 GPS co-ordinates.
this is the problem:
I have two WGS 84 co-ordinates; lat:53.7506 Long:-2.3931 + lat:53.7638 Long:-2.4212... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533037",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Replicate Django Admin's "add" button Let's say I have the following two models, each with their own form to create model records.
For example:
Business_Client Model:
busName field - CharField
mainContact field - ForeignKey(Contacts)
Contacts Model:
firstName field - CharField
lastName field - CharFie... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533041",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to obtain if user likes page or not with API 3.0? All what I found is related to old API not 3.0 :\ I need to determine that before an application will display proper message.
A: Your app will need to request the user_likes permission in order to do this.
Then, you can do the following using the JavaScript SDK:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533044",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: object synchronization When a synchronized block is used for synchronization on an object instance, then threads compete to get into object's implicit monitor. And once, any particular thread enters into the monitor, any other thread has to wait for entering into it. Then
synchronized(object){
// some code here
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533048",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "8"
} |
Q: Python style: should I avoid commenting my import statements? I'll try to make this as closed-ended of a question as possible:
I often find that I have a group of imports that go together, like a bunch of mathy imports; but later on I might delete or move the section of code which uses those imported items to anothe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533050",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: service/products for audio and video embedding What is the easiest solution that will allow me to embed audio and video on a webpage so that it will be supported by all recent browser versions (Firefox, Safari, IE) and devices (iOS, Android)? I've read a few things on stackoverflow and at other sources. Holy crap wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533052",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Google Maps - avoid overlapping pushpins without clustering - programming strategies? Some of our maps have 10 - 14 pushpins rendered as icon overlays on our maps using stock Google Maps icons. Each icon overlay has a number rendered inside of it. So the numbering typically goes from 1 - 14. In many cases at needed... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533054",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Jquery - Be able to select items in drop down by group? I have a drop down that has the group label:
<optgroup label="Numbers">
<option value="1">One</option>
<option value="2">Two</option>
<option value="3">Three</option>
</optgroup>
<optgroup label="Letters" disabled="true">
<option value="4">A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533058",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Running multiple PHPUnit tests within a single file with Zend? I'm trying to setup unit testing for a controller class in the Zend Framework.
I'd like to write multiple tests for the same controller, and keep them all in the same test class. But when I follow the directions on the home page, I get the following exce... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533059",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: VB.NET Public Property on a single line Is there any way I can put Public Properties on a single line in VB.NET like I can in C#? I get a bunch of errors every time I try to move everything to one line.
C#:
public void Stub{ get { return _stub;} set { _stub = value; } }
VB.NET
Public Property Stub() As String
G... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533060",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Rails render route path Im still new to Rails and have a hard time understanding how the path system works in Rails.
In my routes.rb i create an alias for signup:
match 'signup' => 'user#new'
resource :user, :controller => 'user'
The action is there and going to /signup shows the correct action. So far so good.
Now... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533061",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: jQuery - pulling part of a url through regex I am trying to set a variable. The variable should be parts of a Search query in the URL. I'm assuming to use REGEX to achieve this.
IE URL: http://tsqja.deznp.servertrust.com/SearchResults.asp?Search=true+ glass&x=0&y=0
I want to pull the words 'true' and 'glass' in th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533062",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Making PLINQ and BlockingCollection work together I have put together a simple application that monitors file creation events, creates some objects from the files content, and does some processing. Here is the sample code:
class Program
{
private const string Folder = "C:\\Temp\\InputData";
static void Main... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533067",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: "Pre load" of Wordpress site very slow I have a Wordpress site where when you type the domain and hit enter, it takes 1.5 - 4 seconds before the first piece of content even loads:
http://undergroundhealthreporter.com/
First, I have almost a dozen Wordpress sites on this host, and don't have that issue with any of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533070",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: deploy .net 4.0 wpf application problem I been working on a application that I am planing on distributing. For some reason I am not able to install it on other computers. first let me show you my deployment settings maybe I am doing something wrong in there (I left all the defaults).
Deployment settings:
after ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533071",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Can't parse (then loop) a variable that has multiple values separated by commas I have database of companies and each can ship to only a certain number of states. I manage them with a form that sends to a MySQL field for all the states (seperating each state with a comma).
I'm having trouble parsing the string so ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533072",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: error collection in asp.net webforms I am trying to change the css of a textbox based on an error on the page. Say to turn the background of the textbox red. I want to do this through the base page so that each codebehind that inherits this base page will perform this function. I am trying to do this in the OnLoad e... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533078",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: where do i put my method for adding users to groups? the model? the mapper? My question is mostly about OOP and ORM design. I'm creating models in Zend for Users and Groups, and using mappers for the db (and also using dependency injection). I have a relational table, user_groups, for linking. I'm trying to figure o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533094",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Twitter API statuses_count include retweets or not? In twitter API "users/show", there is a statuses_count, does it include retweet, or not? One issue about twitter API is that they don't have an exact definition for each of the items in the returned result. You can only guess the meaning by the name.
A: It include... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533097",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: MVC and ADFS Development Not Impossible Easily? Using VS2010 and MVC3 and the latest Razor engine bits.
I have a request to integrate ADFS to allow the app to support single-sign-on for an existing Windows domain.
This does not look like a trivial operation, and it also appears that I would have to develop on Window... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Mongoid: find through Array of ids I've fetched a number of ids through MapReduce. I've sorted those ids by some criteria and now I need to get those objects in this particular order:
MyModel.find(ids)
Right? But it returns objects not in the order ids are stored. Looks like this is just the same as
MyModel.where(:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: Creating a next feature without adding fields to a table? I have a polling web application, which has a bunch of polls. There are two tables, one with poll question's and answers, and one with people's votes on those polls. For each user I want to provide next functionality, so that when they press a next button it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533105",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: URLLoader how to get the URL that was loaded? Using the URLLoader is there anyway to get the filename of the file that has been loaded?
public function loadCSS():void {
var urlLoader:URLLoader = new URLLoader();
urlLoader.addEventListener(Event.COMPLETE, urlLoader_complete);
urlLoader.load(new URLReque... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533106",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Disable PDF/CSV Output Formats on report level in SSRS 2005 I am wondering if there is a way to disable certain output types for SSRS on a report by report basis. I am aware of the way to do it with all reports in the rsreportserver.config file, but this is not what I want.
This Post mentioned something about doing... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533108",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: string.replace(/""\n/g,"\"\""+ "\n") will this work? string.replace(/""\n/g,"\"\""+ "\n")
I am trying to parse a string and for using JSON parser. I need to replace the occurrence ""\n (quote, quote, newline) with \\"\\"\n (slash, quote, slash, quote, newline).
I tried to do this by using escape sequence, but am no... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533110",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to drag and drop list view items from one app to another? There is one win forms application with some list view items.
I'd like to drag several selected items from that app to my another win forms app.
Each list view item should contain some custom data and recieving app needs to get it also.
A: For a lengthy... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: Are Where(condition).Any() and Any(condition) equivalent About half of the examples I see for Linq queries using the Any method do so by applying it to the results of a Where() call, the other half apply it directly to the collection. Are the two styles always equivalent, or are there cases wheres that they could r... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533119",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: python: in parent class's method, call classmethod of that class, but bound to a child class Say I have the following code:
class Parent(object):
classattr1 = 'parent'
def __init__(self):
Parent.foo()
@classmethod
def foo(cls):
print cls.classattr1
class Child(Parent):
classattr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533120",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iOS: How to make UIWebView 50% transparent? I want to make a UIWebView whose background is 50% transparent, but whose content e.g. are not transparent at all.
Is such a thing possible?
Thanks.
A: It looks like this is possible, maybe. See this blog post:
http://erikloehfelm.blogspot.com/2009/04/transparent-backgro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533123",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Rotating a UIImageView around the bottom axis - Objective-C/iOS I have a UIImage view that I want to flip to being flat like a flip clock does. This is the first part to the horizontal plane (where I will change the image or add a new view or something). My problem is getting the view to flip on the bottom axis. it'... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533125",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Apache + Python + Mongo: Object Ids aren't equal
We are running two copies of a django-based application within an Apache instance. We have this python code when loading an object from the database:
id = pymongo.objectid.ObjectId(hex_string)
d = self.collection.find_one({ '_id': id })
assert id == d['_id']
On one ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533126",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Hoping to increase the speed of my WebService with Asynchronous calls, but not sure how I am writing a WebService that consumes a third party webservice and greatly extends the functionality. For example, in one portion of the workflow I have to loop through the results of one API call, and for each result make anot... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533132",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: In Reporting Services I have 2 datasets that share a parameter name. Can I Pass a different value to each dataset for this parameter? I have a report that has 2 charts in it. Each chart has its own dataset with a different stored procedure. These 2 stored procedure share a common parameter name in this case. Is ther... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533134",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: "Subscript indices must either be real positive integers or logicals" error. unable to understand why? I have these 3 functions
function r = RingRead(n,p)
r=( p * RingReadggg(n-1,p))+( (1-p)* RingReadggb(n-1,p));
end
function r = RingReadggb(n , p)
if n <= 1
r = 0;
else
r = ((1-p)* RingR... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533135",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-3"
} |
Q: Android: Change button insets I have the following button:
http://dl.dropbox.com/u/3564087/button.png
However this image has a blank area on the right side, border and shadow (which doesn't exist on the right side). This means that when I insert some text on the button and set the gravity to center, the text doesn't... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533137",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Identical query plan with radically different performance based on one improbable parameter? I have an ad-hoc query that should be pretty zippy (I have a DBA background and I'm pretty good at optimization) and in almost all cases it is. HOWEVER, when I supply a specific parameter to the query, (a pretty selective va... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533138",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: best way to transfer multi encoded characters over boost::asio I want to transfer xml in single byte characters, but some of the values will be in unicode.
i.e.
<value>Unicode string</value>
I'm using boost::asio.
A: Network/Socket transfer => single byte encoding
XML => mostly UTF-8
Conclusion: convert everythi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533139",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Email Provider Design I was thinking of creating an email provider using the provider pattern. Our Email system is in disarray. We have different areas in the same app as well as different apps using their own way of handling email. I would like to create an email provider because the information across the board is... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533141",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: tags are being inserted into the head of my document from jQueryMobile I have just started getting a very strange error when using jQueryMobile for my mobile website/app
edit i am adding a picture, probably a lot easier to understand the question
edit2 i have found the issue. still curious as to why this is the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533142",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I select literal values in an sqlalchemy query? I have a query which looks like this:
query = session.query(Item) \
.filter(Item.company_id == company_id) \
.order_by(Item.id)
It's a pretty basic query. In addition to pulling out the values for the Item, I want to append an additional value into the ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533146",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "66"
} |
Q: Simple file reader wont work I trying to learn Xcode, Cocoa, Objective C. Today I thought I was going to make a simple app the uses the Nac file browser, reads the file and displays it in an NSTevtView.
Everything acts like it wants to work but the file never displays. If I debug it, it shows my string has the file ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533147",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How do I open a "get" php window from jquery without a parent page refresh? I know the question itself may seem a little vague. Let me elaborate.
I am trying to post data to a php file from a page controlled by jquery.
Here is what I have on the jquery end:
var openURL = "http://derp.com/restr/js/addfood.php?fname... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533150",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: store and use select statement result in stored proc? Is it possible to store the results of a select query in a stored proc and then use those results from within the stored proc to further query the result set?
Example
// my stored proc (simplified example)
ALTER PROCEDURE [dbo].[users]
AS
BEGIN
Declare @us... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533153",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Lion: Problem with RVM installing rubies - problem related to openssl I'm desparate, fuddling with the following problem for two(!!) days now w/o a solution.
After an update to Lion I wanted to install additional rubies using the most recent version of rvm.
Here's what happens when I call bundler afterwards:
/Users... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533163",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: Uploading large files but POST expires? I have a form on which the user uploads a file, a video file around 500mb, it takes over an hour sometime(slow and paintful) but when it does upload, seems like the $_POST has expired? Anyone could help?
Thank you!
A: There are several directives you have to set up in the php... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Net::SSH works from production rails console, AuthenticationFailed from production webapp I have a rails app where a user can submit a form and it goes off and connects to a remote server via ssh to call a script. Eventually I plan to use delayed_job or something like that but I can't get it to work in production wi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533170",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Localization does not work in one nib I have simple app with some nib files. Some of them (with TabBarController or NavigationController) are localized with Xcode. Strings and almost every nib works like a charm when try to change language. But there is one nib which do not accept my localized version of itself. I d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533174",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: iOS Contacts Favorites I am trying to access the favorite contacts via the private frameworks. I followed the siphon code and got the frameworks from iOS-Runtime-Headers
The code that I wrote to access the list is:
NSBundle *b = [NSBundle bundleWithPath:@"/System/Library/Frameworks/AddressBookUI.framework"];
B... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533178",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: IQueryable Question Currently I return everything from my Repo as a List. I am looking to change these to IQueryable just so people can refine the results and not suffer from another sql request(I am using nhibernate).
I have a question though to make life easier on everyone I have something like this in my repo
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533179",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Generate .exe from my web service So I have created a Web Service the same way as every other one I normally create. Problem is, I want to run it to test if it starts correctly.
If I right click the project -> properties -> debug, you should be able to tell it to start an external .exe which always seemed to be in t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533182",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Detect the number of times a word shows up in a string - iphone xcode objective-c iphone xcode objective-c:
I have a string with alot of text..
I want to detect how many times @"hello" is in the string...
I know how to detect if it is or isn't but how do I detect the number of times it appears in the string?
A... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533189",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Export a class from a CoffeeScript file If I have a CoffeeScript class defined in a separate file, which I'm calling from my main script, I can make the functions within the file globally visible, but not the class.
The included file is:
root = exports ? this
root.add = (a, b) ->
return a + b
class root.use... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533191",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: RTOS: windows ce : Real mode and protected mode memory accessibility overhead I have a control loop between hardware and software using RTOS: windows ce.
I read data in from a device through Real mode.
I process the data in protected mode, due to limited memory in Real mode.
I then switch back to real mode to set ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533192",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Using metasearch's contains search option for non-string data types While using metasearch gem to do a somewhat complex search I got an error when using the "_contains" option an numerical(decimal) field and later found out in the documentation that it in only works on string data type fields. Since metasearch doesn... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Would This Be A Simple iPhone App to Create? I created and launched an Android app a couple months ago (with lots of help from this site, thanks!).
Well, I've a made a couple hundred dollars. So naturally I'm thinking that if I can sell this on Android,it should sell on the iPhone. I pieced together the Android app... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Catch-all Controller/Route If I want to catch every single non existing URL that was passed to my web application and serve them a view without serving a 404, how would I do that?
Essentially I need to record the statistics based on these hits, but I need to do it by serving content and not a 404 error.
As far as I ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533201",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "7"
} |
Q: Using raw sockets with C# I want to write a port scanner in C# and I can't use SocketType.Raw as raw sockets were taken out from desktop versions of windows. I can't use SharpPcap either or other wrapper for Winpcap as I use PPPoE for internet connection and Winpcap doesn't support PPP devices.
I need to use a libra... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7533205",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.