text stringlengths 8 267k | meta dict |
|---|---|
Q: DotNetOpenAuth Claimed Identifier from Facebook is never the same I'm using DotNetOpenAuth v3.5.0.10357 and each time a user authenticates against Facebook I get a different claimed identifier back. The token looks to be encrypted so I assume DNOA is somehow encrypting the token along with the expiry. Can anyone con... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529082",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to have a "no image found" icon if the image used in the function returns an error? In my application I use timthumb for resizing images. Those images are not controlled by me because I get them from RSS feeds. Sometimes the image are not shown in my page. When I examine the entire link with the timthumb I get t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529084",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: problem in appending two strings I am trying to append two strings. But it is generating an error that -[CFString stringByAppendingString:]: message sent to deallocated instance 0x5db1310 what does this mean? I am unable to resolve this error. Please tell me where I am doing wrong.
Thank you very much.
- (void)upda... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529085",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Request permissions to fetch user data AND publish to Timeline in same dialog Has anyone figured this out yet?
The question with more fancy details:
You've got a Facebook application that on one side fetches and analyzes the user's data, and on the other side posts fancy posts to the user's timeline using the new OG... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529086",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: AS3: invalid Bitmap I am trying to run the following function where car is a movieclip:
public function cacheCar():void
{
car.bounded = new Rectangle(car.getBounds(car));
var carOffset:Matrix = car.transform.matrix;
carOffset.tx = car.x - car.bounded.x;
carOffset.ty = car.y - car.bounded.y;
car.bmpData = new Bitmap... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529088",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ListView Border Color Is it possible to create a 1px width, colored border around a ListView?
I tried the following coding:
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient android:startColor="#BFFFFFFF" android:endColor="#BFFFFFFF" />
<corners andro... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529095",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Getting a "Page X of Y" message in Wordpress' single.php I'm wondering how i can make i.e 'Page 2 of 13' appear on the bottom of Wordpress' single.php page.
Let's say a user clicks a post title on the front page, and when it's opened with single.php the user sees what page he's on (and also how many are total). So i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529098",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to place reference lines ['abline()'] in background? This is perhaps very basic, but I just can't seem to find a working solution:
I'm building a boxplot with custom axes using the 'boxplot()' function in R, and I'd like to have thin grey lines for reference across the y-tick intervals, something like:
boxplot("... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529102",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to send and receive data between emulators? I want to send data (text data) from 1 emulator to other emulator. 1 emulator act as server and other as client. where i can get client & server side code for this, plz help me .
A: Assuming both devices are connected to the same WIFI network, you could use sockets:... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529103",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Task Killer Apps vs. SupportFragmentManager Backstack I face the following very annoying problem:
I'm using the Google Compatibility Library in order to future-proof my apps.
Now... I'm keeping track of my backstack:
1) Launch App.
2) User Interaction A -> Fragment gets added to UI/ Back Stack.
--- Backstack Size: 1... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529104",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Syntax issue with case expression inside scalar function Having trouble creating a scalar function inside MS SQL 2005. Any suggestions would be appreciated. The title1_type field should be set according to the case statement. The sku is passed which should determine the type base on the case statement.
create FUNCT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529107",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Linking problem in dynamic library while mixing C C++ code I had a C dynamic library, due to some requirement change I have to do some refactoring.
I had following code in one c file.
__attribute__((noinline))
static void *find_document(...)
{
...
}
bool docuemnt_found(const char *name) {
...
find_document(.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529111",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Redoing a try after catch in Java import java.util.Scanner;
public class Questioner {
Scanner scanner = new Scanner(System.in);
boolean condition;
int tempInt;
double tempDouble;
public Questioner()
{
condition = true;
}
public String stringInput(String text)
{
System.out.print(text);
return scann... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529113",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: when clicking don't want to go to top of page
Possible Duplicate:
Href=“#” Don't Scroll
I have the following html in my code
<a href="#">link</a>
When i click on 'link', then my page goes automatically to top what is very normal as you all know. But i want that my page stays where it is when clicked on that link... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529114",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Control memory used by shelve I am using shelve in Python to handle a huge dictionary that would not fit in the memory, as well as to achieve persistence.
While running my code, which requires frequent retrieval and insertion into random locations in the dictionary, I noticed that the shelve is using only about 3% o... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529117",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Why does declaring pointer makes it contents nil?
Possible Duplicate:
Declared but unset variable evaluates as true?
Why does this code work on Mac OS
int main (int argc, const char * argv[])
{
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
NSString *str;
NSLog(@"%@", [str length]);
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529118",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PHP license code implementation Does anyone have any suggestions on how to implement a activation license for PHP applications? Whilst I'm not planning on encrypting the source, and I'm not expecting there to be some magical way to stop people breaking the license check (people who want to do it, are going to do it ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529124",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Non-preemptive Pthreads? Is there a way to use pthreads without a scheduler, so context switch occurs only if a thread explicitly yields, or is blocked on a mutex/cond? If not, is there a way to minimize the scheduling overhead, so that forced context switches will occur as rarely as possible?
The question refers t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529128",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Execute 'adb' from an APK Planning to execute adb to do some operation from a TestActivity.Java and try to execute the TestActivity.apk.
File wd = new File("/Android/android-sdk-windows/tools/");
Process proc = Runtime.getRuntime().exec(
"adb shell monkey -p com.sample.cts -v 50", null, wd);
pr... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529131",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Points array visualization in 3d I need to show points array in three-dimensional coordinate system. Which component or library should I use for it(Winforms/WPF)?
A: Here is a tutorial for Direct3D in C#, it's for winforms: http://msdn.microsoft.com/en-us/library/ms920768.aspx. I don't think it matters whether you ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529133",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: set methods aren't working for HttpsURLConnection I'm trying to make a rest request in java. I tested the web service using RestClient in Firefox and it works great.
When i try to modify the HttpsUrlConnection instance in java the values aren't changing and i get a 500 response code.
Here's my code:
public Str... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529136",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any way to change encoding in a Receive Pipeline in Biztalk? I have a receive pipeline with only a flat file dissambler in the dissamble stage,
but I need to change the encoding. The incoming file isn't utf-8 but it should be when it comes out.
A: See Tomas Restrepo's Fix Message Encoding Custom Pipeline ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529143",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Javascript isn't uploading binary data My javascript function only uploads text files correctly. Can anybody help me figure out how to make it also accept images etc. ?
function fileUpload(files) {
if (!files.length) {
fileList.innerHTML = "<p>No files selected!</p>";
} else {
var list = document.crea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529159",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "5"
} |
Q: Android: how to process onClick without an activity? http://developer.android.com/reference/android/view/View.html#attr_android:onClick
Here it is said that
For instance, if you specify android:onClick="sayHello", you must declare a public void sayHello(View v) method of your context (typically, your Activity).
I... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529165",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Removing jQuery small boilerplate this is my code:
$(document).ready(function() {
$('td').empty();
getWeather();
});
$('.data').change(function() {
$('td').empty();
getWeather();
});
How can I optimize it?
I was thinking of using "OR", but I couldn't fit it anywhere.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529167",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Best practices for Storing JSON in DOM I want to render some json data using HTML template.
I haven't started implementing anything yet, but I would like to be able to "set" values of data from json to html element which contains template for one record, or to render some collection of items using some argument whi... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529173",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "9"
} |
Q: Naming a list from an item within an other list That's probably a very easy one, but I cannot solve my issue. The below code returns an error:
person = c("name", "surname")
list(person[1]= "John")
Error : '=' unexpected in "list(person[1]="
I would like it to return:
$name
[1] "John"
Can StackOverflow help me wit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529175",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Optimized C# equivalent of tsql "in (value1, value2)"? In SQL you can write something like
if value in (value1,value2) then ... else ...
In C# it would be nice to write
A) if( value == (value1 or value2) ) { ... }
Or
B) if( value in (value1, value2) ) { ... }
Of course you can already write:
C) if( new[]{v... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529176",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: on draw on an android button First I'm new to android.
Okay, here goes.
I'm attempting to override the onDraw of a button, because I want to create a different styled button.. Something ever so slightly different.
Now I can draw the background quite easily, but I can't for the life of me figure out why I have no t... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529183",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Loading corresponding entities while loading a collection Currenty I'm working on a webshop using an auction module. This auction module has its own set of entities representing an auction and their bids. The main entity is the ProductAuction model. This model has an relation to the Catalog_Product model of Magento.... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529186",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Simple automated slideshow in jQuery i have a simple slideshow which is working okay so far. it consists of a pager and the images to display. both are an unordered list:
<ul id="keyvisualpager">
<li><a><span>Show Keyvisual 1</span></a></li>
<li><a><span>Show Keyvisual 2</span></a></li>
<li><a><span>Show... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529188",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Implement locking & unlocking a document while editing Here's the situation:
I have a web-based ticket application, multiple users.
One problem that might occur (and does happen in the old version I'm replacing) is that user1 opens a ticket, edits it, and saves it. But while he was editing it, user2 also opened and ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529190",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Entity Framework 4.1 - Code First with existing Database, how to define classes, using Attributes or EntityTypeConfiguration? What is the difference? I have been studying the EF for a short time and cant find the answer to this question.
I have existing database and I am using CodeFirst to create classes for the mod... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529193",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: error with Qt libraries in visual c++ application I am working with a Qt based project in visual c++. Initially I installed Qt 4.7.3 and imported its libraries in visual c++. Everything was working fine. yesterday, I ran "configure" command on command on command prompt. After that I am receiving error messages while... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529198",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: python -- trying to count the length of the words from a file with dictionaries def myfunc(filename):
filename=open('hello.txt','r')
lines=filename.readlines()
filename.close()
lengths={}
for line in lines:
for punc in ".,;'!:&?":
line=line.replace(punc," ")
words=line.split()
for... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529199",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-2"
} |
Q: Keeping multiple OnClickListeners in one class I am kinda new to Android and it would improve my application a lof if I coul keep several OnClickListenres in one class. What I am thiking of is something like this :
Public class OnClickListeners {
public Button.OnClickListener open;
public Button.OnClickListener doS... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529200",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Unhandled Error in Silverlight Application Code: 4004 System.Collections.Generic.KeyNotFoundException I'm getting this error in a very strange manner. I've been able to isolate it, and I know what is causing it, but I don't have a clue why.
This is the situation: I have a ChildWindow, which contains a TabControl, wh... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529203",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: PayPal - How to refuse payments below a certain threshold? I am selling a high volume product that costs a minimal amount per piece. ($0.001 USD each to be exact).
I allow my customers to purchase a one time amount of product or a recurring payment amount of product at their desired choice of USD per payment.
How ca... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529204",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there a way to create a "header row" for a Winforms ComboBox? Is there a way to create a "header row" for a winforms combo box?
So that's it's always displayed at the top?
A: The quick answer is: probably not. You would have to make your own usercontrol to do something like that.
This Getting ComboBox to show a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529207",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: One Log4j for two Web Applications I have two war files , one is client war file and another is Axis2.war file.
Is it possible to have common Log4j for both these Applications (Means both using one Log4j.properties file )
Thank you .
A: Yes, you need to place Log4J JAR in common directory (like /lib in Tomcat) a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529215",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Dynamic linq - Group by interval (DateTime, Numeric) I search everywhere and didn`t find anwser for this question. I want to group by intervals (DateTime, Numeric) in Dynamic linq (the data will be crated dynamically so i must use dynamic linq)
Lets assume that we have such data:
ID|Date|Price
1|2010-11-01|100
2|... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529227",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to get totalsize of files in directory? How to get totalsize of files in directory ? Best way ?
A: I tested the following code and it works perfectly fine.
Please do let me know if there is anything that you don't understand.
var util = require('util'),
spawn = require('child_process').spawn,
size = spawn('... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529228",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "15"
} |
Q: Which lightweight python web framework has applications and hot-deployed code I am used to PHP having applications. For example,
c:\xampp\htdocs\app1
c:\xampp\htdocs\app2
can be accessed as
localhost://app1/page.php
localhost://app2/page.php
Things to be noticed:
*
*a directory placed inside the www-root direct... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529229",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Is there any way to run Python on Bada? I'm starting developing to Bada platform. But C++ isn't my favorite language. So, is there any way to run Python on Bada?
Update: For Android there is a scpripting layer (SL4A), and it's make possible to quickly prototype applications for android on the device itself using hig... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529231",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Running both 32 bit and 64 bit unit test in TFS 2010 My project has both 32 bit and 64 bit components. THey have both managed and unmanaged components. I need to run unit test for both configuration. I also have separate set of different test files to deploy for each configuration, so I've been using deployment i... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529232",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Free Record / Replay solution for j2ee EJB layer I'm looking for a free (if possible) solution where:
*
* You can 'record' all the kinds of objects created during normal (production-like) usage of a webapp on an EJB application server (like Weblogic).
* Afterwards you can 'replay' each page separately on an non-... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529235",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: how do i make addition of two fields in ssrs expression? I have generated one ssrs report
now i have two fields having values
1st field value is =Fields!FirstNO.Value
2nd field value is =Fields!SecondNO.Value
now i have one field average and i need to write expression like
average = (Fields!FirstNO.Value+Fields!Seco... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529238",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: defining the negative start parameter in substr as a variable Is using the following correct for defining the negative start parameter for a substr,
because its the only way i know how to get it to retur the correct result.
$start == (-44);
or
$start == (int) -44;
$pair = substr($str, $start, 4);
A: You can j... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529243",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How can I integrate MakerClusterer with current Google Map? V3 I'm having trouble getting the MarkerClusterer into my current Google Map (which has taken a long time to get this far!!). How can I combine the two? I'm using V3 of the api.
Here's the MarkerClusterer code:
var center = new google.maps.LatLng(37.4419, -... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529244",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: programmatically add a UIButton to rootview, what am I doing wrong? I have freshly setup app, just with a window an a root view (from the iOS single view application template, provided by XCode).
Now I try to add a button to it.
The according code looks like this:
- (BOOL) application:(UIApplication*)application did... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529245",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: FTP SocketTimeoutException even with using passive mode We are using commons-net-1.4.1.jar and java5_64 on AIX. I am getting the following exception on listing files on an FTP server.
java.net.SocketTimeoutException: Accept timed out
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.ne... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529251",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: "Operation not permitted" on using os.setuid( ) [python] I'm trying to build a platform to launch some scripts. This scripts are placed in home folder of each user. Every launch should be done with each user id so, I'm doing, for each user, this:
user_id = pwd.getpwnam( user )[ 3 ]
user_home = pwd.getpwnam( user )[ ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529252",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: Issue with respond time loader I am usign jquery ajax method to send data to another page. But issue is I want to show response loader while fetching result from other page. I have id of img is #ajaxloader. BUt issue is when I show it, it continue to respond. that is if result is fetched its not hiding loader...I go... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529257",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What major ASIHTTPRequest features is AFNetworking missing? With work having recently stopped on ASIHTTPRequest, it seems like attention is shifting to AFNetworking.
However, I've not yet found a good comparison of the features of the two libraries, so I don't know what I might lose if/when I switch over.
Major diff... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529258",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "93"
} |
Q: Unable to access _POST values PHP Find below my form and the action page it submits to. The _POST array is empty. Not sure how. Please help.
index.php
<form method="post" action="track-them.php">
<input type="text" width="255" id="txt" />
<textarea id="ta" type="text" cols="25" rows="4"></textarea>
<input type="subm... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529259",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Git global ignore not working I've created the file .gitignore_global and put it in my git install directory. When I run the command:
git config --global core.excludesfile ~/.gitignore
the rules in the ignore file do not get applied to my commits.
When I rename the file .gitignore and put it in my project root, the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529266",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "108"
} |
Q: recursion through hashes in ruby I'm doing a bit of recursion through hashes to build attr_accessor and class instances.
I get all of the value from a main hash.
I use it to describe an event (dance class and club) and I'd like to be able to store the info like this:
data = {:datetime => '2011-11-23', :duration => '... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529268",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to mimic skinned java swing with .net means? Question in short:
What is the easiest way to mimic a swing based (skinned, customized) java GUI with .NET means?
Question explained:
Our main app has a swing based skinned (and customized) java GUI.
Apart from that we are going to build some smaller GUI equipped tool... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529272",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: iOS SDK: Feed Dialog without authorize gets send to facebook home page I ran into an interesting bug and just want to know if anyone did experience the same problem (since I couldn't find anything about it after 2h of google):
I initalize the facebook SDK (newest Version 23. Sept 2011) like this:
facebook = [[Facebo... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529274",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "4"
} |
Q: How to do SQL join effectively? I have two tables.
*
*Order
*Replication.
A single order record can have multiple Replication records. I want to join these two tables, such that i always retrieve a single record out of the join even if multiple records exist.
Sample data
Replication table:
ORDID | STATUS |... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529277",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to widen up the sound wave in AS3? I am implementing this code for drawing the sound wave. It is in the adobe livedocs at soundmixer . My problem is how to widen up the sound wave? For example I would like it to be 655 pixels. I can change it to draw to different channels and also change the height of the drawin... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529284",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Dynamic assembly selection and loading in runtime I have an application that has reference to Microsoft.Data.SqlXml.dll assembly (part of SQLXML). But on different machines, depending on whether it's live environment or test, or developers local PC, different versions of SQLXML are installed. This arises an issue: d... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529286",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: how to get a word count on word document in python? I am trying to get the word counts of .doc .docx .odt and .pdf type files.
This is pretty simple for .txt files but how can I go about doing a word count on the mentioned types?
I'm using python django on Ubuntu and trying to word count the documents words when a u... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529287",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Telerik MVC grid problems Ok, Telerik has some good visual appealing controls, but it damn hard to use and too diferent from html programming.
My problem:
I had in my page a grid with ajax turned on. So sorting, paging.. are made with ajax calls to my controllers.
In this page there is a link to open a window (teler... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529295",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: MySQL How To Use Main Select Value As Subquery Argument? I am trying to construct a query that is a bit more complicated than anything I've done in my limited experience with databases.
TABLE:
id - data - type - data3
1 - hello - 1 - 1
2 - goodbye - 1 - 1
3 - goodbye - 1 - 2
4 - goodbye - 2 - 1
5 - hello - 2 - 1
T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529301",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: jQuery document ready after ajax request I'm having problems with updating elements that are not ready after an ajax request.
If I run my myFunction() function on page load like so:
$(function() {
myFunction();
}
I have no problems at all. But if I then use something like
$.ajax({
url: this.href,
dataT... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529304",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How can I add these left and right arrows to my toolbar? I would like to layout a "photo" view in my app like the following:
Any idea where can I find these arrows in the bottom and how to add them the same way ?
Also any idea on how to disable for example the left arrow when there's no previous item like in this p... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529305",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: unable to display the last visited date Following is the script that is meant to store the time,date the user last visited a webpage.But nothing happens when i run the HTML with the script.
window.onload = init;
function init() {
var now = new Date();
var last = new Date();
document.cookie = "username=" + ";pa... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529307",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Where can I find phpunit.sh after installation on Ubuntu 11.04? Like in subject I have installed phpunit but cant find phpunit.sh file to pass path to netbeans.
But I checked
phpunit -version
and recive
PHPUnit 3.5.15 by Sebastian Bergmann.
So i think the installation is ok.
A: There is just phpunit (in my syst... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529309",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Jquery not working with the widgets I am using IGoogle interface kind of Jquery and Css for which im referring some Script tags at the bottom of my aspx page as below:
<script type="text/javascript" src="/IGUI Utilities/jquery-1.2.6.min.js"></script>
<script type="text/javascript" src="/IGUI Utilities/jquery-ui-pers... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529323",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to rewrite / proxy an Apache URI to an application listening on a specific port / server? They say that Apache's mod_rewrite is the swiss-army knife of URL manipulation, but can it do this?
Lets say I want to add a new application to my Apache webserver, where the only configurable option of the app is a port nu... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529324",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: PHP Case-insensitive equivalent of strtr Where I could find a case-insensitive version of strtr?
strtr is overloaded, I am talking about the following one
string strtr ( string $str , array $replace_pairs )
A: Use str_ireplace:
str_ireplace(array_keys($replace_pairs), array_values($replace_pairs), $str);
| {
"language": "en",
"url": "https://stackoverflow.com/questions/7529330",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Similarity function for Mahout boolean user-based recommender I am using Mahout to build a user-based recommendation system which operates with boolean data.
I use GenericBooleanPrefUserBasedRecommender, NearestNUserNeighborhood and now trying to decide about the most suitable user similarity function.
It was sugges... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529333",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Thin client And Net programming i have built a clientServer application ( C# and VS 2008 ) for a LAN network consist of several PCs . it's working fine .
now we have a network consist of a server and thin clients . i do have no idea where and how to install my client application to work correctly .
any idea ?
A: T... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529335",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Eclipse helios Servlet creation wizard fields are blank Am trying to create a simple servlet using servlet creation wizard in helios(eclipse). A popup opens up and when I type the class-name, at the top of the popup I can view a red cross mark which says 'The Source folder cannot be empty'. There is Browse bttn avai... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529337",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: ServicePointManager Monitoring HTTP Requests I am working with an application that sends hundreds of HTTP requests a minute to different URIs. Is there any way to monitor the connections the application has created? I found that the ServicePointManager is great for inspecting a particular domain, but it requires a ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529340",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "3"
} |
Q: Iterating through elements of the same class in jquery I have a collection of div's belonging to the same class and
having form fields. I want to be able to iterate through the div's
of the same class and get the hidden form elements and store in array.
i have created and array object that adds to an array after ea... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529345",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Gettext: Different path for message catalogs In a Python application that uses gettext to provide support for internationalization, I would like to change the path of the *.mo message catalogs to po/language.mo instead of the default localedir/language/LC_MESSAGES/domain.mo, as I would like to use Launchpad's transl... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529346",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Serializing Begets Deep Cloning? I was reading an article written by an ASF contributor, and he briefly mentioned that an "old Java trick" to deep clone an object is to serialize it and then deserialize it back into another object. When I read this I paused, and thought "hey, that's pretty smart." Unfortunately neit... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529349",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Force WinForms to regenerate .designer.cs files We have a controls project that contains many controls used throughout our applications. There are many old and many redundant properties on these controls, and almost none of them have attributes specified on them (such as DefaultValue() in particular).
As part of th... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529352",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: How to avoid page scroll-up when a link gets clicked I have a div which is half way down the page. After I click a button, I load an image in that div. What happens is, that the page scrolls all the way up. How to avoid this ?
A: you have to edit your click event. the simplest thing would be to return false. you co... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529353",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Is there easier way to work with F# mutable structures How I do it now is really weird. And the sad thing is I've got many structures and use them often.
Here is how I'm acting for a moment :
[<type:StructLayout(LayoutKind.Sequential, Pack=1, CharSet=CharSet.Ansi)>]
type OneDevice = {
mutable id ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529357",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Adding onclick event to li element in IE6 So I have a list, and I want to dynamically add an event via JavaScript. I have it working great in Firefox, but I also need it to work in IE6 (ugh), but it's required. It doesn't have to be pretty, just needs to work. The event that triggers simply removes the item from the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529358",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: Reading text file, matlab I am reading a text file 'mytext.text' in matlab. Data file looks like:
1 -4436.6910 415.1843 -3019.7497 1,3,4,5,21,23
2 -4366.4541 1353.9975 -3085.1166 1,3,4,23
....
I don't know the length of Col5. How can I read it in matlab?
fid=fopen( 'mytext.text','r');
Grdata = texts... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529361",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: How to improve Spring MVC performance? Are there best practises how to improve the performance of spring webapps?
I use ehcache for static content, try to load JavaScript at the end of my app but the app doesn't run smooth yet. For a simple registration only the GET-request to map the url and initalize session and b... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529362",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to run the instance of SQL Server Express 2008 How to run the SQL Server 2008 Express edition, when I go to start menu, the SQL Server 2008 R2 Configuration tools there is only one option SQL Server installation center.
When I open it there I cannot find any option how to run it, there is no option like configur... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529363",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: How to get future dates How to get a few future dates with Wednesdays and Fridays using NSDateComponents? Answers will be greatly appreciated. Thanks in advance.
A: This is actually a bit of a tricky problem if you want it to be totally bullet-proof. Here's how I would do it:
NSInteger wednesday = 4; // Wed is the... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529365",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "-1"
} |
Q: How do i access a edittext box on a listview row I have a list view with edittext on each row. If a user clicks on a rowhowcan i access that particular edittext?
A: You should initialize EditText's onClickListener() inside your adapter's getView() method, right where you inflate this EditText. Hope this helps.
A: ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529367",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Fade out parent DIV - but not the children I have this HTML code :
<div id="espacePub">
<div id="menu">
<ul>
<li>Link 1</li>
<li>Link 2</li>
<li>Link 3</li>
<li>Link 4</li>
<li>Link 5</li>
<li>Link 6</li>
</ul>
<... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529371",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Pythonic way to mix two lists I have two lists of length n and n+1:
[a_1, a_2, ..., a_n]
[b_1, b_2, ..., b_(n+1)]
I want a function giving as a result a list with alternate elements from the two, that is
[b_1, a_1, ..., b_n, a_n, b_(n+1)]
The following works, but does not look smart:
def list_mixing(list_long,list... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529376",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "12"
} |
Q: php-ews class library always returns null I am trying to make SOAP calls to our Exchange server using the classes I found here:
http://code.google.com/p/php-ews/
I have coded up a few examples, starting with the basic example as below and no matter what I try and do this always returns null.
$ews = new ExchangeWebSe... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529388",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "1"
} |
Q: PropertyUtils.getProperty fails when trying to get a simple property value I've a strange issue with the PropertyUtils.getProperty(bean, fieldName) method, where I got a java.lang.NoShuchMethodException.
Suppose we have a simple java class called pojo:
public class Pojo {
public java.util.Date aDate;
public ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529411",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "6"
} |
Q: xCode simulator won't show keyboard If I start up a blank app (single view application) and simply put a UITextField into the NIB, everything is fine: a keyboard will show up once I click the UITextField in the simulator.
If I start up the app I'm working on at the moment, the keyboard will not show up (as if I had ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529414",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: Remembering the state of the tree view menu on refreshing the page in ruby I have a tree view menu in ruby.
I am expanding the tree and it works well.
On refreshing the page it collapsesand my expansion is not seen.
Please let me know if there is a way to rember the state of the tree view.
my view code:
%table.tree... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529420",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Hibernate JPA configurations not working I am configuring hibernate with JPA annotations. I have file called country.java with JPA annotations. I have a client file to insert value in country table. while the program runs, it is showing error like "'hibernate.dialect' must be set when no Connection avalable" I have ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529424",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: What's the best way to check for duplicate keys in Querystring/Post/Get requests I'm writing a small API and need to check for duplicate keys in requests. Could someone recommend the best way to check for duplicate keys. I'm aware I could check the key.Value for commas in the string, but then I have another problem ... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529429",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "10"
} |
Q: If array is thread safe, what the issue with this function? I am totally lost with the things that is happening with my code.It make me to think & get clear with Array's thread Safe concept. Is NSMutableArray OR NSMutableDictionary Thread Safe ?
While my code is under execution, the values for the MainArray get's ch... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529430",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "0"
} |
Q: Default return value of a boolean type return function in c++
Possible Duplicate:
Why can you return from a non-void function without returning a value without producing a compiler error?
According to the c++ standard what should be the return value of the following function.
bool done()
{
// no return value... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529432",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How to add custom validate method for viewmodel I tried to add custom validator for ViewModel class:
[Serializable]
public class UserViewModel : IValidatableObject
{
public IEnumerable<ValidationResult> Validate(ValidationContext context)
{
yield return new ValidationResult("Fail this validation");
... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529433",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "2"
} |
Q: How do I find out if window animations are enabled in settings I know, I can start the Settings-Activity with
Intent intent = new Intent(Settings.ACTION_DISPLAY_SETTINGS);
startActivityForResult(intent,1);
But how do I know if the animations are enabled in the first place?
I have an animation inside a custom view a... | {
"language": "en",
"url": "https://stackoverflow.com/questions/7529435",
"timestamp": "2023-03-29T00:00:00",
"source": "stackexchange",
"question_score": "20"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.