unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
conversion of php code into java
===
I have some issue in the following code, I am trying to write the same code in java but it is not working fine,
Follow is the php code :
foreach($tmp as $k => $v) {
$result[] = array(
"attr" => array("id" => "node_".$k, "rel" => $v[$this->fields["type"]]),
... | 1 | [
2,
6263,
16,
13,
26120,
1797,
77,
8247,
800,
3726,
3726,
31,
57,
109,
1513,
19,
14,
249,
1797,
15,
31,
589,
749,
20,
2757,
14,
205,
1797,
19,
8247,
47,
32,
25,
52,
638,
1123,
15,
1740,
25,
14,
13,
26120,
1797,
13,
45,
26,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Selecting the very last record of the returned table
===
I'm from an access background with a little mySQL, so i'm slightly lost when it comes to SQL.
Here is the query I am using:
Select tbl_AcerPFSSurveyIVR.NTlogin,tbl_AcerPFSSurveyIVR.Customer_Firstname,tbl_AcerPFSSurveyIVR.Customer_Lastname,tbl_AcerPFS... | 0 | [
2,
20764,
14,
253,
236,
571,
16,
14,
587,
859,
800,
3726,
3726,
31,
22,
79,
37,
40,
1381,
2395,
29,
21,
265,
51,
18,
22402,
15,
86,
31,
22,
79,
1847,
529,
76,
32,
1624,
20,
4444,
255,
9,
235,
25,
14,
25597,
31,
589,
568,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mongo find in hash
===
Suppose I have several documents like so
{
title: 'blah',
value: {
"A": {property: "foo"},
"B": {property: "bar"},
"C": {property: "foo"},
"D": {property: "foo"}
}
}
{
title: 'blah2',
value: {
"A":... | 0 | [
2,
3521,
839,
477,
19,
19170,
800,
3726,
3726,
5787,
31,
57,
238,
4374,
101,
86,
13,
1,
581,
45,
13,
22,
220,
9396,
22,
15,
1923,
45,
13,
1,
13,
7,
58,
7,
45,
13,
1,
10890,
106,
1084,
45,
13,
7,
4120,
111,
7,
1,
15,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
multiple websites on nginx & sites-available
===
With the base install of nginx, your `sites-available` folder has just one file: `default`
how does the `sites-available` folder work and how would I use it to host multiple (separate) websites? | 0 | [
2,
1886,
13931,
27,
13,
2723,
108,
396,
279,
3259,
8,
4961,
947,
579,
800,
3726,
3726,
29,
14,
1000,
16146,
16,
13,
2723,
108,
396,
15,
154,
13,
1,
18,
6359,
8,
4961,
947,
579,
1,
19294,
63,
114,
53,
3893,
45,
13,
1,
13862,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I control PDF paper size with ImageMagick?
===
I have 16 jpg files which are around 920x1200 pixels (the widths slightly differ but heights are all 1200). I'm trying to join them into a pdf with:
convert *.jpg foo.pdf
But the resulting paper size is 1.53x2 inches. If I pass the arguments `-page Letter... | 0 | [
2,
184,
107,
31,
569,
13,
11124,
1397,
1072,
29,
1961,
21200,
197,
60,
800,
3726,
3726,
31,
57,
347,
487,
9623,
6488,
56,
50,
140,
13,
26637,
396,
165,
4621,
18146,
18,
13,
5,
124,
9456,
18,
1847,
11394,
47,
7161,
50,
65,
18081,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Finding items in one array based upon a second array
===
I have two arrays A & B
A=array([[ 5., 5., 5.],
[ 8., 9., 9.]])
B=array([[ 1., 1., 2.],
[ 3., 2., 1.]])
Anywhere there is a "1" in B I want to sum the same row and column locations in A
So for example for thi... | 0 | [
2,
3007,
3755,
19,
53,
7718,
432,
685,
21,
153,
7718,
800,
3726,
3726,
31,
57,
81,
7718,
18,
21,
279,
334,
21,
3726,
8576,
93,
5,
2558,
2558,
331,
9,
15,
331,
9,
15,
331,
9,
500,
15,
636,
469,
9,
15,
561,
9,
15,
561,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set a foreign key value in EF?
===
I have the following code:
BudgetLineItem actualLi = new BudgetLineItem();
actualLi.YearId = be.lu_FiscalYear.Where(t => t.Year == actualYear).Select(t => t.Id).First();
actualLi.TypeId = be.lu_Type.Where(t => t.Name == "Actual").Select(t => t.id).First();
... | 0 | [
2,
184,
20,
309,
21,
1228,
1246,
1923,
19,
11599,
60,
800,
3726,
3726,
31,
57,
14,
249,
1797,
45,
3391,
1143,
2119,
79,
3463,
1210,
800,
78,
3391,
1143,
2119,
79,
5,
6,
73,
3463,
1210,
9,
731,
1340,
800,
44,
9,
2377,
1,
1707,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
understanding Prototype in javascript
===
Coming from Java background, I'm trying to understand javascript.
Please let me know if these are right.
1. Like in java, there is a supreme Object, from which all other objects inherit.
2. The prototype property is like a pointer that points to the parent object (cla... | 0 | [
2,
3260,
7063,
19,
8247,
8741,
800,
3726,
3726,
880,
37,
8247,
2395,
15,
31,
22,
79,
749,
20,
1369,
8247,
8741,
9,
2247,
408,
55,
143,
100,
158,
50,
193,
9,
137,
9,
101,
19,
8247,
15,
80,
25,
21,
2510,
3095,
15,
37,
56,
65,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jqueryui draggable, how to get handle id from drag function
===
Have this simple code:
$( "#draggable" ).draggable({ handle: ".dragableHandler", drag: function(e, ui) {}
});
and have 4 images with the class .dragableHandler, and different id each.
How inside drag function find the current handle (one of images)... | 0 | [
2,
487,
2005,
11867,
49,
5501,
263,
579,
15,
184,
20,
164,
3053,
4924,
37,
5501,
1990,
800,
3726,
3726,
57,
48,
1935,
1797,
45,
5579,
5,
13,
7,
5910,
3030,
4572,
579,
7,
13,
6,
9,
3030,
4572,
579,
5,
1,
3053,
45,
13,
7,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regex to detect WITH option in a stored procedure
===
I have been working on some legacy code in our application that detects certain keywords in the text of an SQL stored procedure by using Regex and I have found a bug that I can't quite correct due to my limited knowledge of Regex.
Basically the regex that I curr... | 0 | [
2,
7953,
1706,
20,
9092,
29,
4255,
19,
21,
8214,
7004,
800,
3726,
3726,
31,
57,
74,
638,
27,
109,
7780,
1797,
19,
318,
3010,
30,
9092,
18,
1200,
1246,
12827,
19,
14,
1854,
16,
40,
4444,
255,
8214,
7004,
34,
568,
7953,
1706,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
onStop(), onPause, onCreate onResume, and GPS
===
I have an app working that is GPS based. It has many activities and all use the GPS. For example, one activity shows the distance to a location, another shows the speed and direction. I set up and call requestLocationUpdates() in onCreate() and call removeUpdates() ... | 0 | [
2,
27,
7318,
5,
6,
15,
27,
1060,
3699,
15,
27,
6037,
1373,
27,
99,
18,
9472,
15,
17,
18298,
800,
3726,
3726,
31,
57,
40,
4865,
638,
30,
25,
18298,
432,
9,
32,
63,
151,
1648,
17,
65,
275,
14,
18298,
9,
26,
823,
15,
53,
2358... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
My UINavBar doesn't Respond to Touch, and Scrolls with tableview
===
I have a subclass of a UITableViewController, and I want to add a UINavBar to it. It is a very similar setup to the native contacts app, where you tap "add contact", and it presents a grouped tableview with a navbar at the top with a "cancel," and "d... | 0 | [
2,
51,
13,
5661,
18343,
1850,
1437,
22,
38,
4590,
20,
1723,
15,
17,
12159,
18,
29,
859,
4725,
800,
3726,
3726,
31,
57,
21,
972,
1898,
16,
21,
13,
11193,
579,
4725,
12898,
1252,
15,
17,
31,
259,
20,
3547,
21,
13,
5661,
18343,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
LVL crashes on Jelly Bean
===
On Android documentation is written I can ask here about LVL problems.
My Android LVL was working great on android <=4.0.4 .
Today I updated to Jelly Bean and it doesn't work anymore. Here is the logcat:
07-27 19:53:28.036: I/Spegni schermo intelligente PRO(2976): Lo schermo s... | 0 | [
2,
644,
15143,
21563,
27,
18749,
15322,
800,
3726,
3726,
27,
13005,
13945,
25,
642,
31,
92,
1349,
235,
88,
644,
15143,
1716,
9,
51,
13005,
644,
15143,
23,
638,
374,
27,
13005,
13,
1,
3726,
300,
9,
387,
9,
300,
13,
9,
786,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Removed default scene from storyboard cant rotate!\
===
So I created a universal app, when I go into my iPad storyboard and remove the only scene that was created then add something like a navigation controller, tableview controller or even a regular view controller, I can no longer rotate my application in simulator.... | 0 | [
2,
1974,
12838,
1691,
37,
609,
2806,
2973,
21448,
187,
1,
800,
3726,
3726,
86,
31,
679,
21,
4172,
4865,
15,
76,
31,
162,
77,
51,
31,
8240,
609,
2806,
17,
4681,
14,
104,
1691,
30,
23,
679,
94,
3547,
301,
101,
21,
8368,
9919,
15... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
2 similar queries in large sql table performing differently
===
I have a huge table in my database that contains distances between cities. This enables my application to find nearby cities around the world when a starting city is selected. It contains 4 columns - ID, StartCityID, EndCityID and Distance and contains ... | 0 | [
2,
172,
835,
9386,
2829,
19,
370,
4444,
255,
859,
2955,
12670,
800,
3726,
3726,
31,
57,
21,
2329,
859,
19,
51,
6018,
30,
1588,
15731,
128,
1920,
9,
48,
14645,
51,
3010,
20,
477,
1754,
1920,
140,
14,
126,
76,
21,
1422,
136,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ray intersect planes with dynamic geometry returns empty array
===
Hey I'm building a webgl wall for my portfolio site, I need ray intersection to know both when user hovers over the wall and when they click what plane they're clicking on so I can redirect them to correct project.
http://www.martinlindelof.com
W... | 0 | [
2,
2375,
17822,
10372,
29,
7782,
11689,
4815,
2424,
7718,
800,
3726,
3726,
8409,
31,
22,
79,
353,
21,
2741,
8430,
769,
26,
51,
10588,
689,
15,
31,
376,
2375,
5351,
20,
143,
156,
76,
4155,
21350,
18,
84,
14,
769,
17,
76,
59,
1084... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why I cannot @JsonIgnore the nested object's field?
===
The code is as below:
public class Main {
private String name;
private int age;
private boolean male;
private innerPerson ip ;
public Main(){
System.out.println("main");
ip = new innerPerson(... | 0 | [
2,
483,
31,
1967,
13,
1,
728,
528,
23565,
99,
14,
5618,
69,
3095,
22,
18,
575,
60,
800,
3726,
3726,
14,
1797,
25,
28,
1021,
45,
317,
718,
407,
13,
1,
932,
3724,
204,
73,
932,
19,
38,
348,
73,
932,
9827,
413,
210,
1379,
73,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Retrieve the names of files in a folder
===
I'm finding a way to retrieve the names of all files in a specific folder in my FTP.
Any ideas ? | 0 | [
2,
11917,
14,
1817,
16,
6488,
19,
21,
19294,
800,
3726,
3726,
31,
22,
79,
3007,
21,
161,
20,
11917,
14,
1817,
16,
65,
6488,
19,
21,
1903,
19294,
19,
51,
1187,
306,
9,
186,
3478,
13,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
hexadecimal conversion
===
I am trying to do an hexadecimal to integer conversion on a 32 bit machine. Here is the code I am testing with,
int main(int argc,char **argv)
{
char *hexstring = "0xffff1234";
long int n;
fprintf(stdout, "Conversion results of string: %s\n", ... | 0 | [
2,
24,
6791,
9522,
49,
3482,
6263,
800,
3726,
3726,
31,
589,
749,
20,
107,
40,
24,
6791,
9522,
49,
3482,
20,
13820,
6263,
27,
21,
2512,
1142,
1940,
9,
235,
25,
14,
1797,
31,
589,
4431,
29,
15,
19,
38,
407,
5,
6391,
13,
10663,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Split Container SplitterDistance changes without user intervention
===
My Winforms app saves and restore its GUI state in the database. Everything's working ok, except for a Split Container's SplitterDistance.
The value is correctly loaded and set from DB, but when I exit the app **without** touching the splitter, ... | 0 | [
2,
2132,
12147,
2132,
815,
13357,
1693,
366,
4155,
6781,
800,
3726,
3726,
51,
628,
4190,
18,
4865,
16815,
17,
8454,
82,
9457,
146,
19,
14,
6018,
9,
796,
22,
18,
638,
5854,
15,
1613,
26,
21,
2132,
12147,
22,
18,
2132,
815,
13357,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
inline javascript onclick event
===
This is my html code
<a href="#" onclick="return clickHandler()">Hit</a>
This is my javascript file
function clickHandler(evt) {
var thisLink = (evt)?evt.target:Window.event.srcElement;
alert(thisLink.innerHTML);
return false;
}
Bu... | 0 | [
2,
19,
1143,
8247,
8741,
27,
150,
10129,
807,
800,
3726,
3726,
48,
25,
51,
13,
15895,
1797,
13,
1,
58,
746,
14057,
3726,
7,
5910,
7,
27,
150,
10129,
3726,
7,
24632,
10840,
3203,
1252,
5,
6,
7,
1,
10242,
1,
118,
58,
1,
48,
25... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I open a resx file in Visual Studio XML editor by default?
===
I want the 'View Code' view by default (xml editor), so that I can use features in R# File Structure window. | 0 | [
2,
184,
92,
31,
368,
21,
10719,
396,
3893,
19,
3458,
1120,
23504,
1835,
34,
12838,
60,
800,
3726,
3726,
31,
259,
14,
13,
22,
4725,
1797,
22,
1418,
34,
12838,
13,
5,
396,
8184,
1835,
6,
15,
86,
30,
31,
92,
275,
967,
19,
761,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Javascript Image roll over with onclick toggle
===
I currently have code to roll over an image link as below:
<a id="show" href="#"><img src="images/show-me.png" border=0 onmouseover="this.src='images/show-me_over.png';" onmouseout="this.src='images/show-me.png'"></a>
on clicking this it shows a div
j... | 0 | [
2,
8247,
8741,
1961,
3001,
84,
29,
27,
150,
10129,
20,
263,
4875,
800,
3726,
3726,
31,
871,
57,
1797,
20,
3001,
84,
40,
1961,
3508,
28,
1021,
45,
13,
1,
58,
4924,
3726,
7,
9303,
7,
746,
14057,
3726,
7,
5910,
7,
1,
1660,
263,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Rails: Appending and Interpolating Code in Javascript
===
I have a lightbox in which I want to render a Rails partial, like so:
var data = "render :conversations => new";
$('#lightbox').append('#{escape_javascript(data)');
Unfortunately, this results in the text "render :conversations => new" appearing ... | 0 | [
2,
2240,
18,
45,
4865,
7601,
17,
23336,
1880,
1797,
19,
8247,
8741,
800,
3726,
3726,
31,
57,
21,
471,
5309,
19,
56,
31,
259,
20,
16535,
21,
2240,
18,
7284,
15,
101,
86,
45,
4033,
1054,
800,
13,
7,
99,
16706,
13,
45,
1126,
5498... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android Library Projects and Unit Testing
===
I am developing an Android library for interacting with a web service, and I am trying to develop some unit tests to check how well this works.
When I run the specified tests, I get the following error:
[2012-07-19 15:12:09 - MMWebAPI] Could not find MMWebAPI.apk... | 0 | [
2,
13005,
1248,
2314,
17,
1237,
4431,
800,
3726,
3726,
31,
589,
3561,
40,
13005,
1248,
26,
24747,
29,
21,
2741,
365,
15,
17,
31,
589,
749,
20,
2803,
109,
1237,
4894,
20,
2631,
184,
134,
48,
693,
9,
76,
31,
485,
14,
9931,
4894,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Strings equal but different second javascript
===
I can not understand why javascript says that two identical strings are different!
if (mess == 'textnothing'){ /* mess is reported by ajax, what I am writing in a form */
document.write('equal');
}else{
document.write(mess);
... | 0 | [
2,
7887,
2747,
47,
421,
153,
8247,
8741,
800,
3726,
3726,
31,
92,
52,
1369,
483,
8247,
8741,
898,
30,
81,
6323,
7887,
50,
421,
187,
100,
13,
5,
3845,
18,
800,
3726,
13,
22,
11969,
8297,
22,
6,
1,
13,
118,
2483,
3957,
25,
1117,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
unexplained syntax error in for loop
===
I'm getting a syntax error on the 2nd to last line here, but don't know why. It seems identical to the line 2 lines before it, but for some reason I'm getting a syntax error. I've tried it both with and without a blank line between it and the line before it, with the same resul... | 0 | [
2,
29966,
22649,
7019,
19,
26,
5293,
800,
3726,
3726,
31,
22,
79,
1017,
21,
22649,
7019,
27,
14,
172,
706,
20,
236,
293,
235,
15,
47,
221,
22,
38,
143,
483,
9,
32,
2206,
6323,
20,
14,
293,
172,
1560,
115,
32,
15,
47,
26,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Server and client side for flash game
===
I am going to write flash application.
For communicate between server and client side I am going to use node.js (server) and
FlashSocket.IO (https://github.com/simb/FlashSocket.IO).
Or maybe exists best way (other best library) for communicate between server and client s... | 0 | [
2,
8128,
17,
6819,
270,
26,
4433,
250,
800,
3726,
3726,
31,
589,
228,
20,
2757,
4433,
3010,
9,
26,
8709,
128,
8128,
17,
6819,
270,
31,
589,
228,
20,
275,
15421,
9,
728,
18,
13,
5,
10321,
106,
6,
17,
4433,
18,
5668,
1198,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Terminal mysql queries
===
I'm looking to use terminal to execute mysql queries. I currently connect to a sql db via the sql workbench but would like to do this via terminal. Is this possible?
I've installed mysql via homebrew | 0 | [
2,
3855,
51,
18,
22402,
9386,
2829,
800,
3726,
3726,
31,
22,
79,
699,
20,
275,
3855,
20,
15644,
51,
18,
22402,
9386,
2829,
9,
31,
871,
6379,
20,
21,
4444,
255,
13,
9007,
1197,
14,
4444,
255,
170,
26359,
47,
83,
101,
20,
107,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android - How to handle two finger touch
===
The documentation say this about that:
> A gesture starts with a motion event with ACTION_DOWN that provides
> the location of the first pointer down. As each additional pointer
> that goes down or up, the framework will generate a motion event with
> ACTION_POINTER_D... | 0 | [
2,
13005,
13,
8,
184,
20,
3053,
81,
2363,
1723,
800,
3726,
3726,
14,
13945,
395,
48,
88,
30,
45,
13,
1,
21,
7222,
3244,
29,
21,
2422,
807,
29,
1028,
1,
2968,
30,
1927,
13,
1,
14,
1474,
16,
14,
64,
454,
106,
125,
9,
28,
206... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Testing whether a value is in a set and assigning variable
===
Given this dict and an input GET parameter that indicates a chosen fruit
fruit = {apple, banana, orange, pear}
Is there a compact way to do this in one line in python?
chosen = request_obj.get('fruit', '')
if chosen not in fruit:
chosen = ... | 0 | [
2,
4431,
1472,
21,
1923,
25,
19,
21,
309,
17,
13952,
68,
7612,
800,
3726,
3726,
504,
48,
13,
16315,
17,
40,
6367,
164,
18906,
30,
6475,
21,
2519,
3809,
3809,
800,
13,
1,
24212,
15,
13635,
15,
2987,
15,
16619,
1,
25,
80,
21,
82... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Outlook VBA script development
===
I have a script which alters the sensitivity of a message, it does work- but what happens
is that the text changes the body layout (font size etc...) And additionally, I would like to see the "footer" text (info) to have a 1 line space after the full body of the message. Any help ... | 0 | [
2,
19837,
566,
969,
3884,
522,
800,
3726,
3726,
31,
57,
21,
3884,
56,
7835,
18,
14,
17018,
16,
21,
2802,
15,
32,
630,
170,
8,
47,
98,
5531,
25,
30,
14,
1854,
1693,
14,
358,
9106,
13,
5,
21931,
1072,
2722,
9,
9,
9,
6,
17,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NSImage and retina display confusion
===
I want to add crosses on a NSImage, here's my code:
-(NSSize)convertPixelSizeToPointSize:(NSSize)px
{
CGFloat displayScale = [[NSScreen mainScreen] backingScaleFactor];
NSSize res;
res.width = px.width / displayScale;
res.height = px.height /... | 0 | [
2,
13,
2172,
22039,
17,
24325,
3042,
5677,
800,
3726,
3726,
31,
259,
20,
3547,
6945,
27,
21,
13,
2172,
22039,
15,
235,
22,
18,
51,
1797,
45,
13,
8,
5,
2172,
10454,
6,
1126,
8122,
18321,
532,
10454,
262,
3132,
10454,
45,
5,
2172,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
index.php being added after www. removed with .htaccess
===
I know that it is simple to remove the index.php from a CodeIgniter URI with `RewriteRule ^(.*)$ index.php/$1 [L]`. My issue is occurring as a result of a couple of other rules in my .htaccess file.
My issue is when the user goes to www.mydomain.com/blog t... | 0 | [
2,
4348,
9,
26120,
142,
905,
75,
13,
6483,
9,
1974,
29,
13,
9,
9020,
20604,
800,
3726,
3726,
31,
143,
30,
32,
25,
1935,
20,
4681,
14,
4348,
9,
26120,
37,
21,
1797,
9693,
242,
106,
13,
3594,
29,
13,
1,
99,
9657,
9813,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Asp.net: how to add a using inside a script tag
===
Let's say I am in source mode of a web page.
<script runat="server">
//Code inside
</script>
How do I add **using** statements so I don't have to use the fully qualified names of classes.
Thanks for helping | 0 | [
2,
28,
306,
9,
2328,
45,
184,
20,
3547,
21,
568,
572,
21,
3884,
3383,
800,
3726,
3726,
408,
22,
18,
395,
31,
589,
19,
1267,
3740,
16,
21,
2741,
2478,
9,
13,
1,
8741,
485,
721,
3726,
7,
10321,
106,
7,
1,
12894,
9375,
572,
13,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Objective C: Create a new View in touches end
===
I'm trying to do a program that everytime my touches end, another UIView will appear using a loop for as many as UIView I want. How can I set a loop of UIView in my touches end? or should I create it in viewDidLoad and call it in touches end?
-(void) touche... | 0 | [
2,
7038,
272,
45,
1600,
21,
78,
1418,
19,
13935,
241,
800,
3726,
3726,
31,
22,
79,
749,
20,
107,
21,
625,
30,
352,
891,
51,
13935,
241,
15,
226,
13,
5661,
4725,
129,
1893,
568,
21,
5293,
26,
28,
151,
28,
13,
5661,
4725,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to add slightly similar content with regular expressions (regex)?
===
I'm using Dreamweaver on a file that has about 30 instances the following:
'portfolio_bg' =>'#555555',
'portfolio_font'=>'#ffffff',
But, for each instance the hex codes are different. I want to add the following two lines underne... | 0 | [
2,
184,
20,
3547,
1847,
835,
2331,
29,
1290,
13832,
13,
5,
12463,
1706,
6,
60,
800,
3726,
3726,
31,
22,
79,
568,
1868,
458,
11937,
27,
21,
3893,
30,
63,
88,
712,
13946,
14,
249,
45,
13,
22,
1993,
23237,
111,
1,
19924,
22,
800,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Flush not working when using injected entity manager and JTA transaction using user transaction
===
**Scenario:**
Create new entity, save the new entity and return the list of all the entities.
**Implementation:**
1. Create new entity.
2. Call entitymanager.persist(entity).
3. Get the list of entities in the DB... | 0 | [
2,
15017,
52,
638,
76,
568,
23256,
9252,
1382,
17,
487,
536,
12799,
568,
4155,
12799,
800,
3726,
3726,
13,
1409,
18,
8172,
8756,
45,
1409,
1600,
78,
9252,
15,
2079,
14,
78,
9252,
17,
788,
14,
968,
16,
65,
14,
12549,
9,
13,
1409,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use GIT on Lan?
===
Nice day,
Me and my colleagues decided to use Git. I already installed mingw32, GIT extenxion, SmartGit and Github. I also studied how to use it and what is it, but I dont know How to apply it. Can anyone help me where to start.... and How setup server and client side. We are planning it ... | 1 | [
2,
184,
20,
275,
13,
10404,
27,
6178,
60,
800,
3726,
3726,
2210,
208,
15,
55,
17,
51,
8493,
868,
20,
275,
13,
10404,
9,
31,
614,
4066,
12069,
499,
3125,
15,
13,
10404,
1396,
1316,
396,
872,
15,
3978,
10404,
17,
13,
10404,
20926,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
R.id.pager? Where is this defined?
===
The example for viewpager, [here][1], contains the lines:
mViewPager = new ViewPager(this);
mViewPager.setId(R.id.pager);
I don't understand how R.id.pager is defined. Am I supposed to create a viewpager in xml somewhere? But that wouldn't make sense becaus... | 0 | [
2,
761,
9,
1340,
9,
6486,
139,
60,
113,
25,
48,
2811,
60,
800,
3726,
3726,
14,
823,
26,
1418,
6486,
139,
15,
636,
6836,
500,
2558,
165,
500,
15,
1588,
14,
1560,
45,
307,
4725,
6486,
139,
800,
78,
1418,
6486,
139,
5,
1565,
6,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VPython Install Issues
===
I'm trying to import the visual module for 64-bit python. Unfortunately, I keep getting the following error:
>ImportError: numpy.core.multiarray failed to import
>
Traceback (most recent call last):
> File "C:\python\color_space.py", line 2, in <module>
> from visual i... | 0 | [
2,
566,
6448,
11570,
16146,
1549,
800,
3726,
3726,
31,
22,
79,
749,
20,
9010,
14,
3458,
12613,
26,
4384,
8,
3326,
20059,
9,
6200,
15,
31,
643,
1017,
14,
249,
7019,
45,
13,
1,
1660,
1993,
29992,
45,
13,
6336,
6448,
9,
10375,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DomElement.click() Event don't work in chrome,but others works
===
I wanna submit the form when pressing down the enter key.
C#
<asp:LinkButton ID="LinkButton1" runat="server" class="login-button" OnClick="btnLogin_Click" >Login</asp:LinkButton>
JS
$(document).on('keydown ', function(event) {
... | 0 | [
2,
11859,
27567,
9,
150,
10129,
5,
6,
807,
221,
22,
38,
170,
19,
13,
12985,
15,
811,
654,
693,
800,
3726,
3726,
31,
11024,
12298,
14,
505,
76,
7196,
125,
14,
2830,
1246,
9,
272,
5910,
13,
1,
472,
306,
45,
6258,
811,
444,
4924,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to go back two viewControllers before, from ABPeoplepicker delegate method
===
I'm developing an app which uses ABPeopleViewController, and i want to when the user finalized choosing a contact, go backward two viewcontroller before.
Here's how i am arriving to ABPeoplePickerNavigationController:
Tap in a button ... | 0 | [
2,
184,
20,
162,
97,
81,
1418,
12898,
1252,
18,
115,
15,
37,
5941,
10171,
16855,
106,
11300,
2109,
800,
3726,
3726,
31,
22,
79,
3561,
40,
4865,
56,
2027,
5941,
10171,
4725,
12898,
1252,
15,
17,
31,
259,
20,
76,
14,
4155,
26117,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Retrieve data from query filled drop down box
===
I have made a dropdown box that is filled by a query that looks for company names from company name database, these names also have and ID number that I don't want displayed but are looked up in the query. I need the ID number to link to sites of the company so somehow... | 0 | [
2,
11917,
1054,
37,
25597,
1943,
2804,
125,
1649,
800,
3726,
3726,
31,
57,
117,
21,
2804,
2968,
1649,
30,
25,
1943,
34,
21,
25597,
30,
1879,
26,
237,
1817,
37,
237,
204,
6018,
15,
158,
1817,
67,
57,
17,
4924,
234,
30,
31,
221,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Embedded videos crash/break font-face
===
We've just released a new website ([http://www.vulytrampolines.com/][1]), and we're having issues with font-face calls on Mac Safari/Chrome only. It will load as the proper font in the first half second or so (in the navigation at the top), but then when the video loads within... | 0 | [
2,
12138,
6610,
4597,
118,
12008,
9978,
8,
6413,
800,
3726,
3726,
95,
22,
195,
114,
261,
21,
78,
2271,
13,
5,
2558,
21127,
6903,
6483,
9,
8924,
102,
38,
2781,
1638,
7939,
9,
960,
118,
500,
2558,
165,
500,
6,
15,
17,
95,
22,
99... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Tabs in ttk.Notebook for python: Is there a way to set tabs below one another?
===
So far when using Notebook for ttk/Tkinter, I am unable to set tabs below one another, they keep piling up eastward. There a way to set them to stack somehow? | 0 | [
2,
6523,
18,
19,
13,
38,
38,
197,
9,
10280,
5199,
26,
20059,
45,
25,
80,
21,
161,
20,
309,
6523,
18,
1021,
53,
226,
60,
800,
3726,
3726,
86,
463,
76,
568,
14630,
26,
13,
38,
38,
197,
118,
38,
1767,
815,
15,
31,
589,
2343,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can this Excel task be accomplished in R?
===
I have been using the Excel solver to handle the following problem
solve for a b and c in the equation:
y = a*b*c*x/((1 - c*x)(1 - c*x + b*c*x))
subject to the constraints
0 < a < 100
0 < b < 100
0 < c < 100
f(x[1]) < 10
f(x[2]) > ... | 0 | [
2,
92,
48,
20700,
3005,
44,
8812,
19,
761,
60,
800,
3726,
3726,
31,
57,
74,
568,
14,
20700,
8402,
139,
20,
3053,
14,
249,
1448,
8402,
26,
21,
334,
17,
272,
19,
14,
8020,
45,
13,
93,
800,
21,
2483,
220,
2483,
150,
2483,
396,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jquery - identical codes but only one of them works
===
Consider code A and code B. They look identical but one is written by me. The other, copy pasted from W3. Code A (the one written by me) doesn't work but Code B does. Why is this? I've done a string match and it says it doesn't match but putting them ontop of eac... | 0 | [
2,
487,
8190,
93,
13,
8,
6323,
11358,
47,
104,
53,
16,
105,
693,
800,
3726,
3726,
3563,
1797,
21,
17,
1797,
334,
9,
59,
361,
6323,
47,
53,
25,
642,
34,
55,
9,
14,
89,
15,
4344,
640,
69,
37,
619,
240,
9,
1797,
21,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I safely convert `unsigned long int` to `int`?
===
I have an app which is creating unique __ids__ in the form of `unsigned long int`s. The app needs this precision.
However, I have to send these __ids__ in a protocol that only allows for `int`s. The receiving application does not need this precision. So my... | 0 | [
2,
184,
92,
31,
9817,
8406,
13,
1,
1020,
13472,
175,
19,
38,
1,
20,
13,
1,
6391,
1,
60,
800,
3726,
3726,
31,
57,
40,
4865,
56,
25,
2936,
2619,
13,
1,
9178,
1,
19,
14,
505,
16,
13,
1,
1020,
13472,
175,
19,
38,
1,
18,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP Post to Simple Modal then Update the page
===
So what I'm attempting to do is this:
<ol>
<li>User clicks a radio html form button.</li>
<li>User clicks a submit button to confirm his choice.</li>
<li>SimpleModal pops up and displays the value of the button chosen.</li>
<li>User clicks 'Accept' in the Simple... | 0 | [
2,
13,
26120,
678,
20,
1935,
13,
20756,
94,
11100,
14,
2478,
800,
3726,
3726,
86,
98,
31,
22,
79,
6314,
20,
107,
25,
48,
45,
13,
1,
1823,
1,
13,
1,
1210,
1,
16704,
10840,
18,
21,
603,
13,
15895,
505,
5167,
9,
1,
118,
1210,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How does tumblr handle subdomains?
===
How does Tumblr handle account subdomains like *blogname*.tumblr.com? Is it an .htaccess redirect? If so, what code can I use to make something like that on my site? | 0 | [
2,
184,
630,
13,
5633,
6287,
139,
3053,
972,
537,
6232,
18,
60,
800,
3726,
3726,
184,
630,
13,
5633,
6287,
139,
3053,
2176,
972,
537,
6232,
18,
101,
1637,
220,
5567,
7259,
2483,
9,
5633,
6287,
139,
9,
960,
60,
25,
32,
40,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Relate two tables where one of the column name is common
===
I have two tables, TableA and TableB. Both tables have a column of their own that can function as part of their primary key. There is one column, "commonColumn" that exists in both tables. There is a one-to-many relationship between TableA and TableB. The co... | 0 | [
2,
16464,
81,
7484,
113,
53,
16,
14,
4698,
204,
25,
757,
800,
3726,
3726,
31,
57,
81,
7484,
15,
859,
58,
17,
859,
220,
9,
156,
7484,
57,
21,
4698,
16,
66,
258,
30,
92,
1990,
28,
141,
16,
66,
1256,
1246,
9,
80,
25,
53,
4698... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WPF Creating New usercontrol with BackgroundWorker Fail
===
I've looked around google cause i need to mutithread as my program lags whenever it attempts to load a gif and load a usercontrol at the same time. Rather, the gif hangs and the the page suddenly shows my usercontrol without any transition. Ok How the program... | 0 | [
2,
619,
7721,
2936,
78,
4155,
12898,
29,
2395,
22560,
7476,
800,
3726,
3726,
31,
22,
195,
292,
140,
8144,
1679,
31,
376,
20,
22072,
96,
10647,
28,
51,
625,
13,
6828,
18,
6634,
32,
3265,
20,
6305,
21,
489,
821,
17,
6305,
21,
4155... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
InfiniDB insert speed with insert statement
===
I have recently started using InfinDB, and so far it is working well. I use the cipimport tool for bulk loads and it inserts millions of rows in seconds. However, there are certain situations in which I need to insert several thousand rows and using the insert statement ... | 0 | [
2,
13,
23025,
9007,
14692,
1362,
29,
14692,
3331,
800,
3726,
3726,
31,
57,
1989,
373,
568,
19,
19811,
220,
15,
17,
86,
463,
32,
25,
638,
134,
9,
31,
275,
14,
13,
11526,
1660,
1993,
5607,
26,
7238,
19069,
17,
32,
14692,
18,
11999... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP Fatal error: Undefined class constant 'XML_PATH_USE_CUSTOM_ADMIN_PATH' in /app/code/core/Mage/Core/Controller/Varien/Router/Admin.php on line 123
===
i upgraded the magento site from 1.4.1.1 to latest version.
But when i loading the site it displays white page .
And in fire bug it displays network server err... | 0 | [
2,
13,
26120,
8773,
7019,
45,
367,
13439,
718,
3587,
13,
22,
396,
8184,
1,
8353,
1,
3699,
1,
4636,
6015,
1,
1283,
2160,
1,
8353,
22,
19,
13,
118,
7753,
118,
9375,
118,
10375,
118,
79,
1303,
118,
10375,
118,
12898,
1252,
118,
822... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
a case with ajax and jsonp response
===
i am trying to parse a website with ajax and jsonp and get a response to my "alert", from some reason it drops me this error: SyntaxError: syntax error and in the alert its returning "object" instead of some string of the site.
can anyone explain this to me and show me how i ... | 0 | [
2,
21,
610,
29,
20624,
17,
487,
528,
306,
1627,
800,
3726,
3726,
31,
589,
749,
20,
2017,
870,
21,
2271,
29,
20624,
17,
487,
528,
306,
17,
164,
21,
1627,
20,
51,
13,
7,
192,
6767,
7,
15,
37,
109,
1215,
32,
9458,
55,
48,
7019,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to store entire source of xml file as a string in c++
===
The xml can only be referred to in the code as an external link for eg. "www.etc.com". I want to be able to extract certain words from the page source of certain websites, but first i need to dump the source content into a string or CString. Thanks for any ... | 0 | [
2,
184,
20,
1718,
1078,
1267,
16,
23504,
3893,
28,
21,
3724,
19,
272,
20512,
800,
3726,
3726,
14,
23504,
92,
104,
44,
1870,
20,
19,
14,
1797,
28,
40,
4886,
3508,
26,
12369,
9,
13,
7,
6483,
9,
1198,
150,
9,
960,
7,
9,
31,
259... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AsyncTask postExecute or onCancelled not getting called when android kills Background tasks- No more background processes
===
I m running a queue where i m downloading videos and for que to work properly in need to get the postExecute of AsyncTask called mandatorily..or there must b an event where i can get when my ... | 0 | [
2,
21,
9507,
20255,
3656,
678,
1706,
17194,
591,
54,
27,
1245,
9725,
69,
52,
1017,
227,
76,
13005,
9340,
2395,
8674,
8,
90,
91,
2395,
5102,
800,
3726,
3726,
31,
307,
946,
21,
22521,
113,
31,
307,
7121,
68,
6610,
17,
26,
9386,
20... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dynamic data in AutoCompleteTextView with Array Adapter
===
I am having AutoCompleteTextView and loading the data from the Array adapter.
I am providing the adapter data from the String array.
Here the values in the string array are obtained once the user enters the text in the AutoCompleteTextView.I will send t... | 0 | [
2,
7782,
1054,
19,
3108,
15990,
11969,
4725,
29,
7718,
9924,
106,
800,
3726,
3726,
31,
589,
452,
3108,
15990,
11969,
4725,
17,
12797,
14,
1054,
37,
14,
7718,
9924,
106,
9,
31,
589,
2674,
14,
9924,
106,
1054,
37,
14,
3724,
7718,
9,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to get html struts styleClass with javascript/jquery
===
I need to get the value of the styleClass element in javascript. Page is in jsp with struts/html tag elements. jsp code is
<input type="hidden" class="filename" name="filename" value="<%= filename %>" />
<html:file property="testfile" style... | 0 | [
2,
184,
20,
164,
13,
15895,
18316,
18,
1034,
1898,
29,
8247,
8741,
118,
728,
8190,
93,
800,
3726,
3726,
31,
376,
20,
164,
14,
1923,
16,
14,
1034,
1898,
4520,
19,
8247,
8741,
9,
2478,
25,
19,
487,
3401,
29,
18316,
18,
118,
15895,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regular expression to match a Python integer literal
===
What is a regular expression that will match any valid Python integer literal in a string? It should support all the extra stuff like `o` and `l`, but not match a float, or a variable with a number in it. I am using Python's `re`, so any syntax supported by th... | 0 | [
2,
1290,
1803,
20,
730,
21,
20059,
13820,
20665,
800,
3726,
3726,
98,
25,
21,
1290,
1803,
30,
129,
730,
186,
7394,
20059,
13820,
20665,
19,
21,
3724,
60,
32,
378,
555,
65,
14,
2230,
3217,
101,
13,
1,
111,
1,
17,
13,
1,
255,
1,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Check for null in foreach loop
===
Is there a nicer way of doing the following:
I need a check for null to happen on file.Headers before proceeding with the loop
if (file.Headers != null)
{
foreach (var h in file.Headers)
{
//set lots of properties & some other stuff
}
... | 0 | [
2,
2631,
26,
16203,
19,
26,
14322,
5293,
800,
3726,
3726,
25,
80,
21,
2210,
139,
161,
16,
845,
14,
249,
45,
31,
376,
21,
2631,
26,
16203,
20,
2384,
27,
3893,
9,
1743,
445,
115,
20459,
29,
14,
5293,
100,
13,
5,
16877,
9,
1743,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ruby On Rails - Retreive data from text box a display its contents
===
I am new to Ruby on Rails. I have a simple application which connects to twitter. The application has a search text box on the home page and a submit button.Also there is a model and the controller for the same. I want to search some keywords dynam... | 0 | [
2,
10811,
27,
2240,
18,
13,
8,
13,
6239,
99,
1284,
1054,
37,
1854,
1649,
21,
3042,
82,
8478,
800,
3726,
3726,
31,
589,
78,
20,
10811,
27,
2240,
18,
9,
31,
57,
21,
1935,
3010,
56,
8534,
20,
10623,
9,
14,
3010,
63,
21,
2122,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
use generics to check an @Entity for @Unique
===
Is it even possible to use generics with `genericPersist` and `isUniqueEntity`? The persist method seems fairly straightforward:
package net.bounceme.dur.usenet.driver;
import java.util.ArrayList;
import java.util.List;
import java.util.logg... | 0 | [
2,
275,
12733,
18,
20,
2631,
40,
13,
1,
2291,
856,
26,
13,
1,
1020,
5312,
800,
3726,
3726,
25,
32,
166,
938,
20,
275,
12733,
18,
29,
13,
1,
17083,
596,
7490,
702,
1,
17,
13,
1,
403,
8843,
17964,
38,
856,
1,
60,
14,
22084,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to scan only a part of a application in Webinspect
===
Can anyone explain the way to scan only a certain part of a web application using Webinspect? | 0 | [
2,
184,
20,
8313,
104,
21,
141,
16,
21,
3010,
19,
2741,
108,
7350,
800,
3726,
3726,
92,
1276,
3271,
14,
161,
20,
8313,
104,
21,
1200,
141,
16,
21,
2741,
3010,
568,
2741,
108,
7350,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Stored Procedure not returning records properly in sql server 2012
===
I have to create a stored procedure that will search through matching records in database and show them in Gridview. The user can search through a form selecting multiple options, some of the options are not mandatory. I have created a Stored Proce... | 0 | [
2,
8214,
7004,
52,
2485,
742,
7428,
19,
4444,
255,
8128,
563,
800,
3726,
3726,
31,
57,
20,
1600,
21,
8214,
7004,
30,
129,
2122,
120,
10120,
742,
19,
6018,
17,
298,
105,
19,
7354,
4725,
9,
14,
4155,
92,
2122,
120,
21,
505,
20764,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Use Panel as renderer
===
I would like to use a more complex renderer consisting of several components for a list (more precisely something like [this](http://stackoverflow.com/questions/10840498/java-swing-1-6-textinput-like-firefox-bar) (a textfieldinput with some buttons arranged in a panel). However when I try it ... | 0 | [
2,
275,
4113,
28,
16535,
106,
800,
3726,
3726,
31,
83,
101,
20,
275,
21,
91,
1502,
16535,
106,
4160,
16,
238,
5090,
26,
21,
968,
13,
5,
1995,
11628,
301,
101,
636,
1565,
500,
5,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Lightbox Slider
===
I have following code.
It displays 3 images in lightbox slider and slides images as well.
But I want to display only one image and on the click of that image,i want to display more than one images in the lightbox slider.
<a href="images/image-1.jpg" rel="lightbox[roadtrip]">image #1</a>
... | 0 | [
2,
471,
5309,
3295,
106,
800,
3726,
3726,
31,
57,
249,
1797,
9,
32,
9412,
203,
3502,
19,
471,
5309,
3295,
106,
17,
18066,
3502,
28,
134,
9,
47,
31,
259,
20,
3042,
104,
53,
1961,
17,
27,
14,
10840,
16,
30,
1961,
15,
49,
259,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
using foreach loop for two lists in c# for geting lists values
===
List<String> listA = new List<string> { "A1", "A2" };
List<String> listB = new List<string> { "B1", "B2" };
for(int i = 0; i < listA.Count; i++)
{
text+= listA[i]+" and "+ listB[i];
}
I want to do that with foreach loo... | 0 | [
2,
568,
26,
14322,
5293,
26,
81,
7227,
19,
272,
5910,
26,
164,
68,
7227,
4070,
800,
3726,
3726,
968,
1,
11130,
1,
968,
58,
800,
78,
968,
1,
11130,
1,
13,
1,
13,
7,
58,
165,
7,
15,
13,
7,
58,
135,
7,
13,
1,
73,
968,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Simple program for yii?
===
Can any one suggest me a simple program for yii framework with following features?
1.User registration
2.login
3.The particular user who has logined should be able to update their profile using the session
4.Session management | 1 | [
2,
1935,
625,
26,
7679,
49,
60,
800,
3726,
3726,
92,
186,
53,
5601,
55,
21,
1935,
625,
26,
7679,
49,
6596,
29,
249,
967,
60,
137,
9,
16704,
8587,
172,
9,
5567,
108,
203,
9,
124,
1498,
4155,
72,
63,
6738,
108,
69,
378,
44,
77... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... |
how to store the clickable items(many) from the listview and get this items to next activity Listview?
===
> Blockquote
i am new in android.s0 plz help me.thanks in advance.
enter code here
l1.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView<?> parent, View ... | 1 | [
2,
184,
20,
1718,
14,
10840,
579,
3755,
5,
14842,
6,
37,
14,
968,
4725,
17,
164,
48,
3755,
20,
328,
2358,
968,
4725,
60,
800,
3726,
3726,
13,
1,
1921,
8970,
591,
31,
589,
78,
19,
13005,
9,
18,
387,
12443,
380,
448,
55,
9,
91... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Iterate over Time in ruby
===
I am working on business analytics application, where I need to fetch some data on per hour basis of a particular month. for example I wanna get the data from jun 01 2012 to jun 30 2012 and I need to fetch the data of every hour between those days.
Like 12:00 13:00,13:00-14:00 ....etc.
... | 0 | [
2,
32,
106,
1373,
84,
85,
19,
10811,
800,
3726,
3726,
31,
589,
638,
27,
508,
26320,
3010,
15,
113,
31,
376,
20,
18312,
109,
1054,
27,
416,
1671,
2239,
16,
21,
1498,
1617,
9,
26,
823,
31,
11024,
164,
14,
1054,
37,
7446,
13,
302... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Connecting to SQL Database from another computer
===
I'm new to SQL Server, and have been following this [tutorial](http://msdn.microsoft.com/en-us/library/ms345343(v=sql.105).aspx)
I carefully followed all the steps, but when I try to connect to the database from the other computer, I get the error "Login failed. ... | 0 | [
2,
6440,
20,
4444,
255,
6018,
37,
226,
1428,
800,
3726,
3726,
31,
22,
79,
78,
20,
4444,
255,
8128,
15,
17,
57,
74,
249,
48,
636,
2473,
9819,
192,
500,
5,
21127,
6903,
79,
18,
43,
103,
9,
22019,
12980,
9,
960,
118,
219,
8,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Stop part of page being index by search engines?
===
How can I stop search engines indexing part of my page? Is there an HTML5 element for this?
Its just a line of text that I want to hide (a co-worker doesnt want their name on google for some reason). Im thinking that I could inject the text with javascript, but I... | 0 | [
2,
747,
141,
16,
2478,
142,
4348,
34,
2122,
4016,
60,
800,
3726,
3726,
184,
92,
31,
747,
2122,
4016,
4348,
68,
141,
16,
51,
2478,
60,
25,
80,
40,
13,
15895,
264,
4520,
26,
48,
60,
82,
114,
21,
293,
16,
1854,
30,
31,
259,
20,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Objective c - Canceling operations in NSOperationQueue
===
I'm using `AFNetworking` `AFHTTPClient` just for the example, but this question is about `NSOperationQueue` in general.
The `AFHTTPClient` manage an `NSOperationQueue` for requests made by the client.
It also has a `cancelAllOperations` method that ite... | 0 | [
2,
7038,
272,
13,
8,
14815,
68,
1311,
19,
13,
2172,
11377,
2005,
4185,
800,
3726,
3726,
31,
22,
79,
568,
13,
1,
2565,
24106,
68,
1,
13,
1,
2565,
21127,
150,
18513,
38,
1,
114,
26,
14,
823,
15,
47,
48,
1301,
25,
88,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Need Help on integrating Bugzilla with SalesForce
===
We could integrate SalesForce Case object with the online hosted Bugzilla (by using RESTful WebServices of Bugzilla).We wanted to integrate with the Bugzilla instance installed in offline.
As per our investigation, we suspect that WebServices of Bugzilla might ... | 0 | [
2,
376,
448,
27,
24529,
6256,
380,
3247,
29,
2598,
8774,
800,
3726,
3726,
95,
110,
18399,
2598,
8774,
610,
3095,
29,
14,
2087,
2812,
6256,
380,
3247,
13,
5,
779,
568,
760,
1566,
2741,
11449,
18,
16,
6256,
380,
3247,
6,
9,
458,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jquery multiple accordion effect with hierarchical menu or a nested tree?
===
I've seen some hierarchical tree with multiple accordian effect with Jquery. How can I do this with Xajax? I've a tree with Xajax but how can I achieve the accordion effect on open and close of subtrees in my tree? Do I need to wrap the open... | 0 | [
2,
487,
8190,
93,
1886,
20753,
1590,
29,
21376,
4272,
11379,
54,
21,
5618,
69,
1541,
60,
800,
3726,
3726,
31,
22,
195,
541,
109,
21376,
4272,
1541,
29,
1886,
12270,
806,
1590,
29,
487,
8190,
93,
9,
184,
92,
31,
107,
48,
29,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generating repeating bitmaps with wxPython trouble
===
Well, while I don't consider myself an experienced programmer, especially when it comes to multimedia applications, I had to do this image viewer sort of a program that displays images fullscreen, and the images change when the users press <- or -> arrows.
The ... | 0 | [
2,
13500,
17389,
1142,
15022,
18,
29,
619,
396,
6448,
11570,
2572,
800,
3726,
3726,
134,
15,
133,
31,
221,
22,
38,
3563,
992,
40,
3882,
17968,
15,
1118,
76,
32,
1624,
20,
17090,
3767,
15,
31,
41,
20,
107,
48,
1961,
16812,
2058,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
rearrange the UIButton position in a UIView iphone?
===
i have a set of UIButtons in my class. according to the url fields from UIWebView i need to rearrange the position of my buttons.
my button array is
buttonArray = [[NSMutableArray alloc] initWithObjects:btn1,btn2,btn3,btn4,btn5,btn6, nil];
these but... | 0 | [
2,
2275,
8366,
14,
13,
5661,
811,
444,
649,
19,
21,
13,
5661,
4725,
21024,
60,
800,
3726,
3726,
31,
57,
21,
309,
16,
13,
5661,
811,
444,
18,
19,
51,
718,
9,
496,
20,
14,
287,
6362,
2861,
37,
13,
5661,
14113,
4725,
31,
376,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to dispaly login form again after invalid login
===
how can i redirect back to the Login form in win form application after invalid login
write now i am trying this in program.cs
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
// Ap... | 0 | [
2,
184,
20,
1460,
1060,
102,
6738,
108,
505,
188,
75,
16671,
6738,
108,
800,
3726,
3726,
184,
92,
31,
302,
14706,
97,
20,
14,
6738,
108,
505,
19,
628,
505,
3010,
75,
16671,
6738,
108,
2757,
130,
31,
589,
749,
48,
19,
625,
9,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Protecting PHP Mail / Contact Form
===
Ah the joys, 9 million pieces of advice, guidance and code and not one agrees with another. So I'm trying to get to the point at which I can be confident that the way I've chosen to protect my contact form is robust.
I spent some time reading around and checking out the sourc... | 0 | [
2,
8718,
13,
26120,
4216,
13,
118,
2203,
505,
800,
3726,
3726,
13,
1307,
14,
4512,
18,
15,
561,
507,
2491,
16,
4978,
15,
8193,
17,
1797,
17,
52,
53,
11043,
29,
226,
9,
86,
31,
22,
79,
749,
20,
164,
20,
14,
454,
35,
56,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dice Permutation without Repetition
===
Good day.. How can I reformat my existing code to list all possible permutations but without repetitions for example: I've input 3 dices and if there is already a combination of 1,1,2 .. 2,1,1 would not be accepted anymore and so on .. I cannot think anymore of any possible solu... | 0 | [
2,
13,
8779,
28706,
366,
23184,
800,
3726,
3726,
254,
208,
9,
9,
184,
92,
31,
3202,
721,
51,
3149,
1797,
20,
968,
65,
938,
28706,
18,
47,
366,
23184,
18,
26,
823,
45,
31,
22,
195,
6367,
203,
13,
8779,
18,
17,
100,
80,
25,
61... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Binding Data to aspxgridview editform controls
===
I have created a custom editform for my aspxgrdiview.I want to bind data from data base to edit form in edit mode.
<SettingsEditing Mode="PopupEditForm" PopupEditFormModal="True" PopupEditFormWidth="500px" />
<Templates>
<EditForm>
<div>
<ta... | 0 | [
2,
8728,
1054,
20,
28,
306,
396,
16375,
4725,
9392,
4190,
8671,
800,
3726,
3726,
31,
57,
679,
21,
5816,
9392,
4190,
26,
51,
28,
306,
396,
8807,
1115,
4725,
9,
49,
259,
20,
10193,
1054,
37,
1054,
1000,
20,
9392,
505,
19,
9392,
37... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to split strings at specific intervals to arrays in javascript
===
how to split strings at specific interveals to arrays in javascript
for example: split this string into 4 characters (including space and characters)
this is an example should be split,numbers(123),space,characters also included
to
... | 0 | [
2,
184,
20,
2132,
7887,
35,
1903,
15899,
20,
7718,
18,
19,
8247,
8741,
800,
3726,
3726,
184,
20,
2132,
7887,
35,
1903,
1480,
195,
192,
18,
20,
7718,
18,
19,
8247,
8741,
26,
823,
45,
2132,
48,
3724,
77,
268,
1766,
13,
5,
3970,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
faking xmlhttprequests with casperjs
===
I'm writing end-to-end tests with casperjs and would like to fake ajax server responses
I've came up with the idea of including a simple script that mocks the xmlhttprequest object and would always return my expected results, like the following
var ajax_requests = [
... | 0 | [
2,
1399,
1581,
23504,
21127,
99,
10351,
18,
29,
26137,
728,
18,
800,
3726,
3726,
31,
22,
79,
1174,
241,
8,
262,
8,
2451,
4894,
29,
26137,
728,
18,
17,
83,
101,
20,
7031,
20624,
8128,
13231,
31,
22,
195,
281,
71,
29,
14,
882,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to ensure Singleton is not destroyed prematurely?
===
In my project, I'm working with about 4 singletons made the Scott Meyer's way. One of them:
LevelRenderer& LevelRenderer::Instance()
{
static LevelRenderer obj;
return obj;
}
Now two of those Singletons, `LevelRenderer` and... | 0 | [
2,
184,
20,
4062,
345,
444,
25,
52,
2183,
17769,
102,
60,
800,
3726,
3726,
19,
51,
669,
15,
31,
22,
79,
638,
29,
88,
268,
345,
444,
18,
117,
14,
1824,
10078,
22,
18,
161,
9,
53,
16,
105,
45,
662,
99,
16706,
106,
1569,
662,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to set a Single key Mnemonic in button in java
===
I am working on a project and i want to set Mnemonic on buttons. But the problem is Mnemonic works on pairing key example (Alt+F) etc. But i want it to be on single key.
Pls help.. | 0 | [
2,
184,
20,
309,
21,
345,
1246,
307,
556,
79,
11151,
19,
5167,
19,
8247,
800,
3726,
3726,
31,
589,
638,
27,
21,
669,
17,
31,
259,
20,
309,
307,
556,
79,
11151,
27,
12861,
9,
47,
14,
1448,
25,
307,
556,
79,
11151,
693,
27,
23... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python Close Shell with no popup
===
I am looking for way to exit the python shell without the Kill? popup
print ("Hello")
print ("Press any key to exit")
ex = raw_input ("")
exit
I am talking about the python shell for windows not the command prompt.
This is the popup I want to ignore and ... | 0 | [
2,
20059,
543,
3593,
29,
90,
1675,
576,
800,
3726,
3726,
31,
589,
699,
26,
161,
20,
4350,
14,
20059,
3593,
366,
14,
1177,
60,
1675,
576,
4793,
13,
5,
7,
11515,
7,
6,
4793,
13,
5,
7,
5890,
186,
1246,
20,
4350,
7,
6,
1396,
800... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
GIT Packfile claims to have more objects, inaccessable
===
hey guys I'm running into multiple errors about my packfile that seem pretty insidious,
this is a pretty scary deal since this is a live site and am not sure how to handle it,
maybe someone can talk me through it, here's whats going on.
It seems that I ha... | 0 | [
2,
13,
10404,
3607,
16877,
2810,
20,
57,
91,
3916,
15,
19,
20604,
579,
800,
3726,
3726,
8409,
2776,
31,
22,
79,
946,
77,
1886,
11908,
88,
51,
3607,
16877,
30,
2260,
1772,
19,
18,
1340,
5907,
15,
48,
25,
21,
1772,
14117,
1183,
17... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DoubleClick Studio V2 AS3
===
Hello Stack Overflow community,
I am using Google's DoubleClick Studio Version 2 AS3.
I am using Flash CS5.5.
I've read through DoubleClicks' material on how to build a banner ad using Rich Media, in other words, using video.
I have a parent swf and a child swf. The parent loa... | 0 | [
2,
1494,
150,
10129,
1120,
566,
135,
28,
240,
800,
3726,
3726,
10975,
7566,
20285,
514,
15,
31,
589,
568,
8144,
22,
18,
1494,
150,
10129,
1120,
615,
172,
28,
240,
9,
31,
589,
568,
4433,
272,
18,
264,
9,
264,
9,
31,
22,
195,
13... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where should I convert my entities to DTO's?
===
My architecture looks like this:
Domain
Entities
Interfaces
DTO's
Infrastructure
ORM
Repositories
Services
Web Services
I'm wanting to use AutoMapper to convert it. I would like my service layer to only know about DTO's. So I'm guessi... | 0 | [
2,
113,
378,
31,
8406,
51,
12549,
20,
13,
43,
262,
22,
18,
60,
800,
3726,
3726,
51,
2607,
1879,
101,
48,
45,
4603,
12549,
6573,
18,
13,
43,
262,
22,
18,
5282,
54,
79,
302,
14882,
262,
2829,
687,
2741,
687,
31,
22,
79,
4638,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Query to find possible columns that should be foreign keys?
===
I am looking for a query to help with a cleanup of an old database that doesn't have many relationships where it should. I don't need it to be perfect, just to help guide me in beginning cleanup and starting to enforce data integrity.
I am assuming th... | 0 | [
2,
25597,
20,
477,
938,
7498,
30,
378,
44,
1228,
5534,
60,
800,
3726,
3726,
31,
589,
699,
26,
21,
25597,
20,
448,
29,
21,
26862,
16,
40,
315,
6018,
30,
1437,
22,
38,
57,
151,
5833,
113,
32,
378,
9,
31,
221,
22,
38,
376,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Applying Custom Metadata to Files
===
I've been trying to figure out a way to give files custom metadata. An example of this would be giving files tags, but that's not the only sort of custom metadata I want to apply. I've looked at a couple posts like these ones - http://stackoverflow.com/questions/10699494/adding-cu... | 0 | [
2,
11989,
5816,
28057,
20,
6488,
800,
3726,
3726,
31,
22,
195,
74,
749,
20,
1465,
70,
21,
161,
20,
590,
6488,
5816,
28057,
9,
40,
823,
16,
48,
83,
44,
1438,
6488,
3383,
18,
15,
47,
30,
22,
18,
52,
14,
104,
2058,
16,
5816,
28... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# convert JSON result
===
I am getting this JSON back from Box.com:
{
"total_count": 2,
"entries": [
{
"type": "file",
"id": "2615240421",
"sequence_id": "0",
"name": "successful file upload.png",
"description": null,
... | 0 | [
2,
272,
5910,
8406,
487,
528,
829,
800,
3726,
3726,
31,
589,
1017,
48,
487,
528,
97,
37,
1649,
9,
960,
45,
13,
1,
13,
7,
20148,
1,
16549,
7,
45,
172,
15,
13,
7,
2291,
2829,
7,
45,
636,
13,
1,
13,
7,
4474,
7,
45,
13,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Selection Sort Java HW
===
public static void main(String[] args) {
int[] a = {34,17,23,35,45,9,1};
int[] sorted = new int[a.length];
int index = 0;//to hold index of smallest element in array
int cc = 0;
for(int j = a.length-1;j <= 0;j--){//beause every time there
if(a[index... | 4 | [
2,
3155,
2058,
8247,
746,
499,
800,
3726,
3726,
317,
12038,
11364,
407,
5,
11130,
2558,
500,
13,
10663,
18,
6,
13,
1,
19,
38,
2558,
500,
21,
800,
13,
1,
3965,
15,
1053,
15,
2001,
15,
2599,
15,
2520,
15,
518,
15,
165,
1,
73,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ProxyPassReverse and Load Balancing resulting in exposed Backend
===
I have 3 machines running httpd. Foo1 is primarily the load balancer and it is the host that should be displayed in urls etc. Foo2 is the backend primary server and Foo3 is the hot standby. The problem is that about half the time users who type in F... | 0 | [
2,
27188,
6201,
99,
9453,
17,
6305,
16416,
6302,
2927,
19,
5043,
97,
2451,
800,
3726,
3726,
31,
57,
203,
6035,
946,
7775,
43,
9,
4310,
111,
165,
25,
2257,
14,
6305,
4468,
139,
17,
32,
25,
14,
2015,
30,
378,
44,
6115,
19,
13,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
HOW TO USE IPHONE WITH USB CONNECT TO PC SSH
===
I know we can use itunnel to forward the device port on PC port. And than PC can ssh iphone. But my question is, can iphone use ssh connect to PC (ALSO WITH USB CONNECTION)? HOW TO DO THAT. | 2 | [
2,
184,
20,
275,
21024,
29,
182,
220,
6379,
20,
5168,
13,
18,
1635,
800,
3726,
3726,
31,
143,
95,
92,
275,
32,
1020,
7440,
20,
917,
14,
3646,
1295,
27,
5168,
1295,
9,
17,
119,
5168,
92,
13,
18,
1635,
21024,
9,
47,
51,
1301,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set up a countup timer only when the button press?
===
I am implementing a countup timer and I follow an example from StackoverFlow.
In my version, I will press the Begin button to start counting and the Stop button to stop.
But the problem is that the counting start immediately after i enter the activity.
A... | 0 | [
2,
184,
20,
309,
71,
21,
2468,
576,
85,
139,
104,
76,
14,
5167,
901,
60,
800,
3726,
3726,
31,
589,
17333,
21,
2468,
576,
85,
139,
17,
31,
1740,
40,
823,
37,
7566,
2549,
9990,
9,
19,
51,
615,
15,
31,
129,
901,
14,
2348,
5167,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
linq-to-sql SingleOrDefault return when null
===
I'm writing a linq-to-sql query and I'm loading an ID (a `bigint` in the database and a `long` in my code) from a table, something like this:
var SomeQuery = (from x in ...
select x.ID).SingleOrDefault();
When I get the result, I use `Sin... | 0 | [
2,
6294,
1251,
8,
262,
8,
18,
22402,
345,
248,
13862,
9708,
788,
76,
16203,
800,
3726,
3726,
31,
22,
79,
1174,
21,
6294,
1251,
8,
262,
8,
18,
22402,
25597,
17,
31,
22,
79,
12797,
40,
4924,
13,
5,
58,
13,
1,
6407,
6391,
1,
19... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Warning: mysqli::prepare() [mysqli.prepare]:
===
i have this problem
Warning: mysqli::prepare() [mysqli.prepare]: (42000/1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc, keyword) VALUES (?,?,?,?)' at line 1 in D:\xampp\... | 0 | [
2,
3590,
45,
51,
18,
1251,
1210,
45,
45,
3515,
1060,
99,
5,
6,
636,
915,
18,
1251,
1210,
9,
3515,
1060,
99,
500,
45,
800,
3726,
3726,
31,
57,
48,
1448,
3590,
45,
51,
18,
1251,
1210,
45,
45,
3515,
1060,
99,
5,
6,
636,
915,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.