unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to set parent node to null in gedmo doctrine extenions?
===
I am using gedmo doctrine extenions nested tree , but the hierarchy it creates makes the parent of the top node "NULL" . i couldn't find any way to make it 0 (for my database 0 is parent value for each top node in a tree) by annotations or life cycle eve... | 0 | [
2,
184,
20,
309,
4766,
15421,
20,
16203,
19,
13,
6430,
1293,
7521,
1396,
1316,
5757,
60,
800,
3726,
3726,
31,
589,
568,
13,
6430,
1293,
7521,
1396,
1316,
5757,
5618,
69,
1541,
13,
15,
47,
14,
14417,
32,
9695,
1364,
14,
4766,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 speed in MoveTo funtion in Cocos2D Android
===
Have a look at this code in Cococ2D Android
distance = CGPoint.ccpSub(myObj.getPosition(), Destination);
dif = CGPoint.ccpLength(distance);
timed = dif / (CCSettings.winSize.width / speed);
this.ActionMoveTo(timed, this.myline.myPointsArr... | 0 | [
2,
7782,
1362,
19,
780,
262,
2414,
3309,
19,
22470,
18,
135,
43,
13005,
800,
3726,
3726,
57,
21,
361,
35,
48,
1797,
19,
22470,
150,
135,
43,
13005,
1583,
800,
13,
15123,
3132,
9,
3384,
306,
7563,
5,
915,
111,
11741,
9,
3060,
933... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Ordering Set product types
===
I am designing a system that sells various different product types trhough a number of disrtibutors. With the help of commenters here i have the following design for my products
![enter image description here][1]
[1]: http://i.stack.imgur.com/asajz.png
I have differnt produc... | 0 | [
2,
15775,
309,
2374,
2551,
800,
3726,
3726,
31,
589,
15026,
21,
329,
30,
18339,
617,
421,
2374,
2551,
9235,
252,
14356,
21,
234,
16,
1460,
5256,
49,
811,
248,
18,
9,
29,
14,
448,
16,
6484,
445,
235,
31,
57,
14,
249,
704,
26,
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 improve the standard NONCE library for PHP?
===
This is the first time I've worked with nonces, so I downloaded the script from http://fullthrottledevelopment.com/php-nonce-library. I did not like the code, especially because there's a chance of a legitimate request being treated as invalid because the funct... | 0 | [
2,
184,
92,
31,
3545,
14,
1236,
90,
6175,
1248,
26,
13,
26120,
60,
800,
3726,
3726,
48,
25,
14,
64,
85,
31,
22,
195,
577,
29,
538,
5052,
15,
86,
31,
23887,
14,
3884,
37,
7775,
6903,
13727,
96,
19879,
413,
26119,
9,
960,
118,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 an HTTP proxy in Python 2.7?
===
I am trying to run a script that installs pip: get-pip.py and am getting a connection timeout due to my network being behind an HTTP proxy. Is there some way I could configure an HTTP proxy in my Python 2.7 installation to be able to install what I am trying to install? | 0 | [
2,
184,
20,
309,
40,
7775,
27188,
19,
20059,
172,
9,
465,
60,
800,
3726,
3726,
31,
589,
749,
20,
485,
21,
3884,
30,
16146,
18,
11280,
45,
164,
8,
2159,
306,
9,
6448,
17,
589,
1017,
21,
2760,
85,
1320,
397,
20,
51,
982,
142,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
NSXMLParsing.. parsing xml with same node name and different attribute value
===
I want to parse the below xml in iOS.. How can i do this..
<RESULTS>
<ROW>
<COLUMN NAME="NAME">TEST1</COLUMN>
<COLUMN NAME="PHONE">4642664</COLUMN>
<COLUMN NAME="REMARKS"></COLUMN>
<COLUMN NAME="XC... | 0 | [
2,
13,
2172,
396,
8184,
3574,
18,
68,
9,
9,
2017,
18,
68,
23504,
29,
205,
15421,
204,
17,
421,
35,
14755,
1923,
800,
3726,
3726,
31,
259,
20,
2017,
870,
14,
1021,
23504,
19,
13,
7760,
9,
9,
184,
92,
31,
107,
48,
9,
9,
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... |
Boost.Test custom test summary
===
Is there a way to read the test results (all assertions that either passed ot failed) at runtime using Boost Unit Testing framework ?
What I want is to produce custom test log and output it to the console in a custom human readable format after each test I run. | 0 | [
2,
10419,
9,
10543,
5816,
1289,
14740,
800,
3726,
3726,
25,
80,
21,
161,
20,
1302,
14,
1289,
1736,
13,
5,
1233,
20878,
18,
30,
694,
1100,
13,
2779,
1702,
6,
35,
485,
891,
568,
10419,
1237,
4431,
6596,
13,
60,
98,
31,
259,
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... |
accessing the header tags in an accordion using jquery
===
How can I access the header tags in an accordion. i.e Sample 1, Sample 2 and Sample 3.
I have tried using following ways for accessing with no success.
$("#accordion div h3 a").text()
or
alert($("#accordion div h3").text())
gives only l... | 0 | [
2,
1381,
68,
14,
157,
106,
3383,
18,
19,
40,
20753,
568,
487,
8190,
93,
800,
3726,
3726,
184,
92,
31,
1381,
14,
157,
106,
3383,
18,
19,
40,
20753,
9,
31,
9,
62,
5717,
137,
15,
5717,
172,
17,
5717,
203,
9,
31,
57,
794,
568,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
pointer on 2D array
===
Well,
I have a segmentation fault and would like to know where is my mistake.
Let me explain.
In my main, I declare a 3D array: int*** Matricegroupegeneralisant
Then this main uses a function recuperationinfoFich(&matricegroupegeneralisant);
This function is declared as : recuperationinf... | 0 | [
2,
454,
106,
27,
172,
43,
7718,
800,
3726,
3726,
134,
15,
31,
57,
21,
5631,
857,
4173,
17,
83,
101,
20,
143,
113,
25,
51,
5643,
9,
408,
55,
3271,
9,
19,
51,
407,
15,
31,
10123,
21,
203,
43,
7718,
45,
19,
38,
2483,
1409,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Cannot implicitly convert type "System.Web.UI.WebControls.LoginView" to "Login"
===
I encountered this error:
Cannot implicitly convert type "System.Web.UI.WebControls.LoginView" to "Login"
The error occured on Line 26.
Source Error:
Line 26: Login Login1 =(System.Web.UI.WebControls.Lo... | 0 | [
2,
1967,
20290,
102,
8406,
1001,
13,
7,
10724,
9,
14113,
9,
5661,
9,
14113,
12898,
18,
9,
5567,
108,
4725,
7,
20,
13,
7,
5567,
108,
7,
800,
3726,
3726,
31,
8208,
48,
7019,
45,
1967,
20290,
102,
8406,
1001,
13,
7,
10724,
9,
141... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 query YQL rss table by pubDate
===
I would like to get yahoo finance news for last 3 days, something like that
select * from rss where url='http://finance.yahoo.com.news/rss' and pubDate >= '2012-06-23'
BUT this part "pubDate >= '2012-06-23'" is ignored. I always get the same results with or without this ... | 0 | [
2,
184,
20,
25597,
13,
93,
22402,
13,
1224,
18,
859,
34,
6329,
8209,
800,
3726,
3726,
31,
83,
101,
20,
164,
23553,
3711,
996,
26,
236,
203,
509,
15,
301,
101,
30,
5407,
1637,
37,
13,
1224,
18,
113,
287,
6362,
3726,
22,
21127,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
What is the correct syntax to construct a class with a shared_ptr as member field?
===
Suppose, I want to make a class (B) with a pointer to another class (A). In the constructor of A I want to construct B and passing it a pointer to (this). In principle, this pointer can be a shared_ptr, correct? Then how do I make s... | 0 | [
2,
98,
25,
14,
4456,
22649,
20,
6960,
21,
718,
29,
21,
2592,
1,
4417,
139,
28,
322,
575,
60,
800,
3726,
3726,
5787,
15,
31,
259,
20,
233,
21,
718,
13,
5,
220,
6,
29,
21,
454,
106,
20,
226,
718,
13,
5,
58,
6,
9,
19,
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... |
Firefox contenteditable image selected after drop - can't remove selection
===
If you drag-and-drop around an image in Firefox in a contenteditable area, sometimes the images will end up being selected like this:
![Selected image][1]
Fiddle here: http://jsfiddle.net/zupa/qg5Qh/
You may need to drag-drop it a ... | 0 | [
2,
535,
18219,
2331,
69,
242,
579,
1961,
1704,
75,
2804,
13,
8,
92,
22,
38,
4681,
3155,
800,
3726,
3726,
100,
42,
5501,
8,
290,
8,
12361,
140,
40,
1961,
19,
535,
18219,
19,
21,
2331,
69,
242,
579,
217,
15,
1030,
14,
3502,
129,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Change file names in windows folders
===
Hi I am trying to change the files names in some of my folders in windows machine.
I have bunch of files with files names starting with caiptal letter example
"Hello.html" but i want to change that to "hello.html" since there are like thousands of files i cannot just go ... | 0 | [
2,
753,
3893,
1817,
19,
1936,
19294,
18,
800,
3726,
3726,
4148,
31,
589,
749,
20,
753,
14,
6488,
1817,
19,
109,
16,
51,
19294,
18,
19,
1936,
1940,
9,
31,
57,
7653,
16,
6488,
29,
6488,
1817,
1422,
29,
11164,
4417,
192,
1748,
823,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 refresh part of page whit jquery when application state change
===
i use Application property to count number of online users
Application["OnlineUsers"] = (int)Application["OnlineUsers"] + 1;
and then bind Application property value to HTML tag
<div id="OnlineUser" >
<span>N... | 0 | [
2,
28,
306,
9,
2328,
24905,
141,
16,
2478,
5558,
487,
8190,
93,
76,
3010,
146,
753,
800,
3726,
3726,
31,
275,
3010,
1354,
20,
2468,
234,
16,
2087,
3878,
3010,
2558,
7,
218,
1143,
16704,
18,
7,
500,
800,
13,
5,
6391,
6,
2552,
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... |
Screen flashing between two colors fast enough so not conceivable by the human eye
===
Hi I'm trying to have a flashing screen where the color changes between two colors in WebGL. I have the code setup for a square with one color but couldn't figure how to make it switch between two colors at a speed not conceivable b... | 0 | [
2,
2324,
14316,
128,
81,
5268,
1512,
511,
86,
52,
23998,
3757,
579,
34,
14,
585,
1356,
800,
3726,
3726,
4148,
31,
22,
79,
749,
20,
57,
21,
14316,
2324,
113,
14,
1665,
1693,
128,
81,
5268,
19,
2741,
8430,
9,
31,
57,
14,
1797,
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... |
Xcode / iPhone Enterprise Distribution Certificate Made By Other Person
===
There is an Enterprise Distribution Provision that was created by another person that is no longer here (before me). Getting the development provision / certificate was fine, by adding myself to the team, etc. But what is the best way to cle... | 0 | [
2,
993,
9375,
13,
118,
21024,
6002,
2523,
6259,
117,
34,
89,
840,
800,
3726,
3726,
80,
25,
40,
6002,
2523,
8738,
30,
23,
679,
34,
226,
840,
30,
25,
90,
1045,
235,
13,
5,
12750,
55,
6,
9,
1017,
14,
522,
8738,
13,
118,
6259,
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... |
Default resource file not being used
===
This is my first try in globalization of windows forms, so I created form in my language and set property `Localizable` to true and left property `Language` on default, everything generated in default resource file, which was nice. After that I added new resource file called `F... | 0 | [
2,
12838,
6577,
3893,
52,
142,
147,
800,
3726,
3726,
48,
25,
51,
64,
1131,
19,
27175,
16,
1936,
1997,
15,
86,
31,
679,
505,
19,
51,
816,
17,
309,
1354,
13,
1,
15580,
3186,
579,
1,
20,
1151,
17,
225,
1354,
13,
1,
7020,
1,
27,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Lagging in Multiplayer LAN game on Java?
===
I'm currently developing a multiplayer LAN games with Java (with Greenfoot).
But i always had many lags in the game.
The server only have one client (i cant imagine with multiple client), and in the same computer (my computer), so i want to solve this problem first.
He... | 0 | [
2,
13,
6828,
2762,
19,
20262,
6178,
250,
27,
8247,
60,
800,
3726,
3726,
31,
22,
79,
871,
3561,
21,
20262,
6178,
466,
29,
8247,
13,
5,
1410,
647,
3670,
6,
9,
47,
31,
550,
41,
151,
13,
6828,
18,
19,
14,
250,
9,
14,
8128,
104,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Overcoming SOQL limits on the number of query results
===
We're executing a query:
SELECT Id, SomeField FROM SomeTable
We have over 80,000 items in SomeTable but only 2000 items are ever returned
SELECT Id, SomeField FROM SomeTable LIMIT 100000
does nothing to fix the problem.
What is the optima... | 0 | [
2,
84,
9076,
86,
22402,
5887,
27,
14,
234,
16,
25597,
1736,
800,
3726,
3726,
95,
22,
99,
25836,
21,
25597,
45,
5407,
4924,
15,
109,
1109,
37,
109,
5924,
95,
57,
84,
13,
15506,
3755,
19,
109,
5924,
47,
104,
824,
3755,
50,
462,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Java web application framework
===
Which Java web application framework is very lightweight, least resource hungry, best response time etc. | 4 | [
2,
8247,
2741,
3010,
6596,
800,
3726,
3726,
56,
8247,
2741,
3010,
6596,
25,
253,
13613,
15,
639,
6577,
7288,
15,
246,
1627,
85,
2722,
9,
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,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
MySQLi INSERT not working
===
The code:
#!/usr/bin/php
<?php
error_reporting(E_ALL);
while(true){
// Check how many API calls remain
$rate_limit = json_decode(file_get_contents('http://api.twitter.com/1/account/rate_limit_status.json'),true);
// Array containing all the Twitter handles
$han... | 0 | [
2,
51,
18,
1251,
1210,
14692,
52,
638,
800,
3726,
3726,
14,
1797,
45,
6926,
187,
118,
267,
139,
118,
4772,
118,
26120,
13,
1,
60,
26120,
7019,
1,
17437,
68,
5,
62,
1,
1233,
6,
73,
133,
5,
13398,
6,
1,
12894,
2631,
184,
151,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Both Javascript and Mysql calls not working on page
===
I have a really strange problem I've been trying to work around for a while now, but it's to the point where I can't anymore.
I have a simple php script. It does some api calls and pulls some data down from facebook and then displays it. For some reason on th... | 0 | [
2,
156,
8247,
8741,
17,
51,
18,
22402,
3029,
52,
638,
27,
2478,
800,
3726,
3726,
31,
57,
21,
510,
2578,
1448,
31,
22,
195,
74,
749,
20,
170,
140,
26,
21,
133,
130,
15,
47,
32,
22,
18,
20,
14,
454,
113,
31,
92,
22,
38,
3375... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 Web SQL database in mobile platforms
===
I am developing a cross platform(Phonegap) app for Android and iPhone. But the app needs to store data in database. Basically 20 tables (each table has max 50/60 rows) and all table data are static, means no need to insert new data. I will just use that tables data, no in... | 0 | [
2,
568,
2741,
4444,
255,
6018,
19,
3241,
6843,
800,
3726,
3726,
31,
589,
3561,
21,
919,
2452,
5,
7709,
1136,
306,
6,
4865,
26,
13005,
17,
21024,
9,
47,
14,
4865,
2274,
20,
1718,
1054,
19,
6018,
9,
11374,
434,
7484,
13,
5,
14322,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 put value in Textview from array of image
===
i have here a code for selection of image wherein when you click image its name will be displayed in a Textview, but my problem is that, what code should i use to automatically display the image name on my second Textview whenever i select different image.
Here's m... | 0 | [
2,
184,
20,
442,
1923,
19,
1854,
4725,
37,
7718,
16,
1961,
800,
3726,
3726,
31,
57,
235,
21,
1797,
26,
3155,
16,
1961,
113,
108,
76,
42,
10840,
1961,
82,
204,
129,
44,
6115,
19,
21,
1854,
4725,
15,
47,
51,
1448,
25,
30,
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... |
Modern Objective C Accessors on Booleans - @YES vs @(YES)
===
Using XCode 4.4's Convert to Modern Objective C Syntax, my `NSNumber numberWithBool` methods were converted to `@(YES)`. I had some issue that I've now forgotten, and converted them to `@YES`, which is supposed to be the correct syntax.
However, doing s... | 0 | [
2,
773,
7038,
272,
1381,
248,
18,
27,
9827,
413,
5950,
13,
8,
13,
1,
1714,
4611,
13,
1,
5,
1714,
6,
800,
3726,
3726,
568,
993,
9375,
268,
9,
300,
22,
18,
8406,
20,
773,
7038,
272,
22649,
15,
51,
13,
1,
2172,
16299,
234,
1410... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
drools - find object that matches maximum conditions
===
I have a table that has conditions
size | type | id | content
1 | 2 | 1 | "hai"
null | null | null | "default content"
1 | null | null | "content for size 1"
I get each and every row in the table into a list of objects.
clas... | 0 | [
2,
27008,
18,
13,
8,
477,
3095,
30,
1717,
2979,
2039,
800,
3726,
3726,
31,
57,
21,
859,
30,
63,
2039,
1072,
13,
1,
1001,
13,
1,
4924,
13,
1,
2331,
137,
13,
1,
172,
13,
1,
137,
13,
1,
13,
7,
8598,
7,
16203,
13,
1,
16203,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Format Document in Visual Studio 2010 asp tags format to lowercase
===
I have a similar problem of [this post][1].
When I try to use a shortcut CTRL + K, CTRL + D in a asp.net file (*.aspx) in order to format the document, all the document is reformated to lowercase.
I tried the solution exposed for visual stuio... | 0 | [
2,
2595,
4492,
19,
3458,
1120,
498,
28,
306,
3383,
18,
2595,
20,
987,
10325,
800,
3726,
3726,
31,
57,
21,
835,
1448,
16,
636,
1565,
678,
500,
2558,
165,
500,
9,
76,
31,
1131,
20,
275,
21,
502,
4118,
13,
4812,
6362,
2754,
680,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Develop Adnroid app on Android os
===
sorry if such question already asked, I am searching a lot but stil cant find any solution.
Is there any way developing Android app on device with android os ?
For example i have some plans for buying tablet and it will be interesting run eclipse or some thing else and just m... | 1 | [
2,
2803,
21,
43,
103,
18524,
4865,
27,
13005,
13,
759,
800,
3726,
3726,
1875,
100,
145,
1301,
614,
411,
15,
31,
589,
5792,
21,
865,
47,
13146,
2973,
477,
186,
4295,
9,
25,
80,
186,
161,
3561,
13005,
4865,
27,
3646,
29,
13005,
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... |
Configure ReSharper's "Possible multiple enumeration" for other types
===
ReSharper has the warning "Possible multiple enumeration of IEnumerable". Is it somehow possible to make ReSharper produce this warning for other types? Specifically, I want ReSharper to produce this warning for one of my own types. | 0 | [
2,
1065,
15951,
302,
23646,
106,
22,
18,
13,
7,
12551,
18,
3426,
1886,
26940,
872,
7,
26,
89,
2551,
800,
3726,
3726,
302,
23646,
106,
63,
14,
3590,
13,
7,
12551,
18,
3426,
1886,
26940,
872,
16,
13,
660,
6336,
106,
579,
7,
9,
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... |
Trying to insert LinearLayout dynamically
===
I used the below code to add a LinearLayout dynamically.
public void sendMessage02(View view){
view.getId();
EditText editText=(EditText)findViewById(R.id.edit_message);
String message=editText.getText().toString();
LinearLayout l=(Li... | 0 | [
2,
749,
20,
14692,
6745,
4414,
1320,
7782,
1326,
800,
3726,
3726,
31,
147,
14,
1021,
1797,
20,
3547,
21,
6745,
4414,
1320,
7782,
1326,
9,
317,
11364,
2660,
3845,
18,
1303,
3564,
5,
4725,
1418,
6,
1,
1418,
9,
3060,
1340,
5,
6,
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... |
UIActivityIndicatorView not displaying right on UIAlertView
===
I am writing an iOS app, and I have to display a UIAlertView with a spinner. _Sometimes_, something goes wrong when I try to add the spinner in the center of the alert, usually when there was another alert right before this one (not exactly a rule, but th... | 0 | [
2,
13,
5661,
19348,
108,
4673,
3457,
4725,
52,
17418,
193,
27,
287,
2815,
6767,
4725,
800,
3726,
3726,
31,
589,
1174,
40,
13,
7760,
4865,
15,
17,
31,
57,
20,
3042,
21,
287,
2815,
6767,
4725,
29,
21,
3310,
1031,
9,
13,
1,
9310,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 conversion for NSString to NSDecimalNumber
===
can anybody say me the conversion for NSString to NSDecimalNumber
unsigned long long order;
if (i==1) {
order = [feeArray objectAtIndex:0];
}
if (i==2) {
... | 0 | [
2,
7038,
272,
6263,
26,
13,
2172,
11130,
20,
13,
2172,
9522,
49,
3482,
16299,
800,
3726,
3726,
92,
11181,
395,
55,
14,
6263,
26,
13,
2172,
11130,
20,
13,
2172,
9522,
49,
3482,
16299,
28839,
175,
175,
389,
73,
100,
13,
5,
49,
372... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
add user and assign role in aspnet membership through sql servers SP
===
Tech - asp.net 3.5, Sql server 2005
I have integrate aspnet membership for my webapplication.
I am adding some users (member) from importing excel file.
So how can I add that user and role of that user in aspnet membership tables?
NOT... | 0 | [
2,
3547,
4155,
17,
13952,
597,
19,
28,
306,
2328,
4363,
120,
4444,
255,
17595,
3782,
800,
3726,
3726,
6145,
13,
8,
28,
306,
9,
2328,
203,
9,
264,
15,
4444,
255,
8128,
812,
31,
57,
18399,
28,
306,
2328,
4363,
26,
51,
2741,
2552,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 the combination of one imageview over another imageview as a single bitmap/imageview
===
I have a frame layout with two images, one is the photo of a person and the other is the photo of a cap, which can be dragged over the person's photo to align it correctly with his head. Now I want to save this complete... | 0 | [
2,
184,
20,
164,
14,
3733,
16,
53,
1961,
4725,
84,
226,
1961,
4725,
28,
21,
345,
1142,
15022,
118,
22039,
4725,
800,
3726,
3726,
31,
57,
21,
3523,
9106,
29,
81,
3502,
15,
53,
25,
14,
3056,
16,
21,
840,
17,
14,
89,
25,
14,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Parsing XML schema java
===
I need to parse XML schema (source can be wsdl file or xsd ) and extract all the complex types and their constituent elements with their types.. I have used JAXB (xjc)but it does not return me a list of all complexTypes . Which alternative (XSOM) should I use? I would prefer some built-in l... | 0 | [
2,
2017,
18,
68,
23504,
23874,
8247,
800,
3726,
3726,
31,
376,
20,
2017,
870,
23504,
23874,
13,
5,
12097,
92,
44,
619,
18,
8643,
3893,
54,
993,
18,
43,
13,
6,
17,
10962,
65,
14,
1502,
2551,
17,
66,
11963,
2065,
29,
66,
2551,
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... |
databse image field passing null value
===
how to pass null value to database field having type of image.i am trying this but getting error
if (photo)
cmd.Parameters.AddWithValue("EPhotograph",img);
else
cmd.Pa... | 0 | [
2,
1054,
220,
870,
1961,
575,
2848,
16203,
1923,
800,
3726,
3726,
184,
20,
1477,
16203,
1923,
20,
6018,
575,
452,
1001,
16,
1961,
9,
49,
589,
749,
48,
47,
1017,
7019,
100,
13,
5,
25445,
6,
2390,
43,
9,
6351,
7307,
18,
9,
14854,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Setting windows live in cpanel
===
i need help in setting cpanel for windows live email service. following are the setting
DNS record type: MX
Host: mydomain.com
MX server: sdf4rt4value.pamx1.hotmail.com
TTL: 3600 or 1 hour
Priority: 10 (or High priority)
how can i add mx record with ttl ? | 0 | [
2,
2697,
1936,
515,
19,
272,
3206,
532,
800,
3726,
3726,
31,
376,
448,
19,
2697,
272,
3206,
532,
26,
1936,
515,
8517,
365,
9,
249,
50,
14,
2697,
13,
43,
2172,
571,
1001,
45,
307,
396,
2015,
45,
51,
537,
6232,
9,
960,
307,
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... |
which language set for NeutralResourcesLanguageAttribute?
===
i am developing arabic and urdu app(in same application) so which language i set for NeutralResourcesLanguageAttribute(in assemble info page).
![enter image description here][1]
[1]: http://i.stack.imgur.com/fUiMg.png | 0 | [
2,
56,
816,
309,
26,
8387,
99,
12097,
18,
7020,
721,
14755,
60,
800,
3726,
3726,
31,
589,
3561,
6663,
17,
13,
13018,
4865,
5,
108,
205,
3010,
6,
86,
56,
816,
31,
309,
26,
8387,
99,
12097,
18,
7020,
721,
14755,
5,
108,
13,
1373... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
iCarousel - Two-finger swipe rather than one-finger swipe
===
I'm using iCarousel in one of my iOS projects and I must say it's an excellent piece of work.
I have a problem though - I'd like to use one-finger swipes for drawing on the UIView and two-finger swipes to switch / move between UIViews.
Is there an e... | 0 | [
2,
13,
2862,
6947,
532,
13,
8,
81,
8,
18485,
27246,
864,
119,
53,
8,
18485,
27246,
800,
3726,
3726,
31,
22,
79,
568,
13,
2862,
6947,
532,
19,
53,
16,
51,
13,
7760,
2314,
17,
31,
491,
395,
32,
22,
18,
40,
5977,
1855,
16,
170,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 if the user log-in to facebook
===
I develop application on facebook.this app can post to the user wall when he read any article on my website if he logged in to facebook. and everything work correctly but I want to do something i want my app to check if the users logged in to facebook or not if not the app must... | 0 | [
2,
2631,
100,
14,
4155,
6738,
8,
108,
20,
9090,
800,
3726,
3726,
31,
2803,
3010,
27,
9090,
9,
1565,
4865,
92,
678,
20,
14,
4155,
769,
76,
24,
1302,
186,
2002,
27,
51,
2271,
100,
24,
13,
19287,
19,
20,
9090,
9,
17,
796,
170,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Java - How to get concrete parameter type when overriding interface method of generic type
===
I am a generics newbie and I am not able to find out the best way to achieve this. Please feel free to point out if I am doing something obviously wrong.
interface Node<T> {
void addOne(Node<T> node);
... | 0 | [
2,
8247,
13,
8,
184,
20,
164,
4105,
18906,
1001,
76,
84,
5175,
68,
6573,
2109,
16,
12733,
1001,
800,
3726,
3726,
31,
589,
21,
12733,
18,
78,
5893,
17,
31,
589,
52,
777,
20,
477,
70,
14,
246,
161,
20,
4689,
48,
9,
2247,
583,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 ui tabs, create tab depending on value in database
===
i am using jquery-ui tabs to load 3 different views to user, however the problem is that user is not allowed to see all the 3 views all the time. so my question is how to dynamically remove tab if it doesn't contain any content. also another problem is that... | 0 | [
2,
487,
8190,
93,
13,
5661,
6523,
18,
15,
1600,
6523,
4758,
27,
1923,
19,
6018,
800,
3726,
3726,
31,
589,
568,
487,
8190,
93,
8,
5661,
6523,
18,
20,
6305,
203,
421,
4146,
20,
4155,
15,
207,
14,
1448,
25,
30,
4155,
25,
52,
1159... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
MATLAB - gradient in neural network starting from NaN?
===
I was trying to use the neural network tool in MATLAB 2011.
I have come across a very weird problem.
I just used the GUI of the neural network to feed my inputs and everything.
My gradient of the neural network is NaN while it gets initialized.
... | 0 | [
2,
4277,
9086,
13,
8,
17442,
19,
17371,
982,
1422,
37,
5884,
60,
800,
3726,
3726,
31,
23,
749,
20,
275,
14,
17371,
982,
5607,
19,
4277,
9086,
542,
9,
31,
57,
340,
464,
21,
253,
5455,
1448,
9,
31,
114,
147,
14,
9457,
16,
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... |
Saving space when writing floats (radian angles) to a file
===
I want to write some radian angles to a binary file. Is there any way I can save space while doing so?
I considered converting them to degrees and writing them out as a short but when converting to a short they loose their fractional part so that wasn't... | 0 | [
2,
7599,
726,
76,
1174,
11510,
18,
13,
5,
9560,
210,
13280,
6,
20,
21,
3893,
800,
3726,
3726,
31,
259,
20,
2757,
109,
4944,
806,
13280,
20,
21,
14171,
3893,
9,
25,
80,
186,
161,
31,
92,
2079,
726,
133,
845,
86,
60,
31,
724,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
ISETool.exe The process cannot access the file because it is being used by another process
===
I am attempting to extract a SQL CE DB from a windows 7.1 phone app running in the emulator using the ISETool and following the docs here: http://msdn.microsoft.com/en-us/library/hh286408%28v=vs.92%29.aspx
After launching... | 0 | [
2,
25,
62,
20799,
9,
1706,
62,
14,
953,
1967,
1381,
14,
3893,
185,
32,
25,
142,
147,
34,
226,
953,
800,
3726,
3726,
31,
589,
6314,
20,
10962,
21,
4444,
255,
4000,
13,
9007,
37,
21,
1936,
453,
9,
165,
1132,
4865,
946,
19,
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... |
my joomla is sednond spam mail
===
I have a site on joomla 1.5 everything work ok but after some time I notice that that some module or plagin that i install in the joomla send a lot a spam mail from my server.
How I can see what module or plagin is doing this and remove this.
Thanks | 1 | [
2,
51,
2640,
2636,
531,
25,
13924,
3951,
43,
6954,
79,
4216,
800,
3726,
3726,
31,
57,
21,
689,
27,
2640,
2636,
531,
137,
9,
264,
796,
170,
5854,
47,
75,
109,
85,
31,
3551,
30,
30,
109,
12613,
54,
6568,
5831,
30,
31,
16146,
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... |
Mystery with Zend_Locale
===
In my application.ini
resources.locale.default = "en_EN"
in my Bootrstrap.php
protected function _initLocaleRegistry()
{
$locale = new Zend_Locale('en_EN');
Zend_Locale::setDefault('en_EN');
Zend_Registry::set('Zend_Locale', $locale);
}... | 0 | [
2,
5586,
29,
10526,
43,
1,
15580,
62,
800,
3726,
3726,
19,
51,
3010,
9,
2651,
2566,
9,
15580,
62,
9,
13862,
9708,
800,
13,
7,
219,
1,
219,
7,
19,
51,
6801,
1224,
16514,
9,
26120,
3803,
1990,
13,
1,
108,
242,
15580,
6345,
12469... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Select, group by and also max query in linq
===
I dont really understand about linq, can you help me with this query?
SELECT *
FROM attachment
WHERE create_date IN ( SELECT MAX (create_date)
FROM attachment
GROUP BY doc... | 0 | [
2,
5407,
15,
214,
34,
17,
67,
2049,
25597,
19,
6294,
1251,
800,
3726,
3726,
31,
1049,
510,
1369,
88,
6294,
1251,
15,
92,
42,
448,
55,
29,
48,
25597,
60,
5407,
1637,
37,
14575,
113,
1600,
1,
8209,
19,
13,
5,
5407,
2049,
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... |
Get five latest data from mongoDB
===
Im working with node.js express and mongoDB, my task is to get the five latest data from database. So what i learn is simply using
sort({_id:-1}).limit(5)
if i do it directly in the mongo command window.
But i need something more complex that implment the sort functio... | 3 | [
2,
164,
355,
5736,
1054,
37,
3521,
5474,
220,
800,
3726,
3726,
797,
638,
29,
15421,
9,
728,
18,
2999,
17,
3521,
5474,
220,
15,
51,
3005,
25,
20,
164,
14,
355,
5736,
1054,
37,
6018,
9,
86,
98,
31,
2484,
25,
1659,
568,
2058,
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... |
I have some data stored in a MySQL database. How to display the stored image data(mediumblob) along with other data in a .php page
===
I have some data stored in a MySQL database. How to display the stored image data(mediumblob) along with other data in a .php page.
| 0 | [
2,
31,
57,
109,
1054,
8214,
19,
21,
51,
18,
22402,
6018,
9,
184,
20,
3042,
14,
8214,
1961,
1054,
5,
28451,
7091,
220,
6,
303,
29,
89,
1054,
19,
21,
13,
9,
26120,
2478,
800,
3726,
3726,
31,
57,
109,
1054,
8214,
19,
21,
51,
18... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Strange Crash report - crash log attached
===
I have a uitableviewcontroller and im loading a uiwebview as viewForFooterInSection for the tableview
This webview has some html content being loaded.
The app crashes whenever I try to do
[self.tableView beginUpdates];
[self.tableView reloadSections:[NS... | 0 | [
2,
2578,
4597,
1330,
13,
8,
4597,
6738,
3638,
800,
3726,
3726,
31,
57,
21,
13,
11193,
579,
4725,
12898,
1252,
17,
797,
12797,
21,
13,
5661,
14113,
4725,
28,
1418,
1106,
3670,
106,
108,
10579,
26,
14,
859,
4725,
48,
2741,
4725,
63,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Strange multiple class names in Linderdaum Engine
===
I am trying to use Linderdaum Engine and found there many strange declarations like:
class scriptfinal netexportable ClassName: public iObject
These strange names ``scriptfinal`` and ``netexportable`` are macros. But they are defined to be empty.
Why s... | 0 | [
2,
2578,
1886,
718,
1817,
19,
26930,
16319,
723,
1406,
800,
3726,
3726,
31,
589,
749,
20,
275,
26930,
16319,
723,
1406,
17,
216,
80,
151,
2578,
7098,
18,
101,
45,
718,
3884,
4932,
4275,
1706,
1993,
579,
718,
7259,
45,
317,
31,
237... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Summary band subreport displays only last value
===
I am displaying list of string values in detail band of the report , it works fine. And i want to **draw 5 graphs in summary band**. I tried in summary band it took all the values and generated report but **summary band height was limitted**. so i drawed only three g... | 0 | [
2,
14740,
323,
972,
17437,
9412,
104,
236,
1923,
800,
3726,
3726,
31,
589,
17418,
968,
16,
3724,
4070,
19,
6110,
323,
16,
14,
1330,
13,
15,
32,
693,
1123,
9,
17,
31,
259,
20,
13,
1409,
43,
12404,
331,
7210,
18,
19,
14740,
323,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
dynamics crm contact fullname for custom entities
===
Im using dynamics CRM 2011.
I took a look at the entity called contact.
This entity has a fullname primary field that is automatically populated.
This field is not visible to the crm user when creating a new contact.
I was wondering how do I achieve the s... | 0 | [
2,
12289,
6186,
79,
2203,
503,
7259,
26,
5816,
12549,
800,
3726,
3726,
797,
568,
12289,
6186,
79,
542,
9,
31,
199,
21,
361,
35,
14,
9252,
227,
2203,
9,
48,
9252,
63,
21,
503,
7259,
1256,
575,
30,
25,
7499,
11111,
9,
48,
575,
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... |
9 Digits Unique ID through the day
===
Having one puzzling requirement.
Basically I need to create unique id with these criteria
- 9 digits number, unique for the day (means it's ok if the number appears again the next day )
- generated in realtime ; java only ( means no sequence number generation from datab... | 0 | [
2,
561,
19076,
2619,
4924,
120,
14,
208,
800,
3726,
3726,
452,
53,
3323,
5092,
802,
8981,
9,
11374,
31,
376,
20,
1600,
2619,
4924,
29,
158,
9157,
13,
8,
561,
19076,
234,
15,
2619,
26,
14,
208,
13,
5,
22183,
18,
32,
22,
18,
585... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Find global subscript midpoint
===
In Caché ObjectScript (Intersystems' dialect of MUMPS), is there a way to efficiently skip to the approximate midpoint or a linear point in the key for a global subscript range? Equal, based on the number of records.
I want to divide up the the subscript key range into approximate... | 0 | [
2,
477,
2062,
972,
8741,
907,
3132,
800,
3726,
3726,
19,
16522,
3095,
8741,
13,
5,
6280,
10724,
18,
22,
8069,
16,
8543,
1919,
6,
15,
25,
80,
21,
161,
20,
20519,
12532,
20,
14,
16569,
907,
3132,
54,
21,
6745,
454,
19,
14,
1246,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 convert from string to string constant in struct?
===
So I have this struct:
public struct PurchaseOrderStatus {
public const string Open = "Open", Received = "Received";
}
How do I convert if I have the following:
string status = "Open";
To:
PurchaseOrderStatus.Open;
?... | 0 | [
2,
184,
20,
8406,
37,
3724,
20,
3724,
3587,
19,
13,
10346,
60,
800,
3726,
3726,
86,
31,
57,
48,
13,
10346,
45,
317,
13,
10346,
3301,
7861,
10631,
267,
13,
1,
317,
11608,
38,
3724,
368,
800,
13,
7,
10157,
7,
15,
420,
800,
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... |
XSLT to remove SOAP envelope but leave namespaces
===
I need to remove soap envelope from soap message. For that I want to use XSLT, not java. It would be more proper solution for operating such type of xml.
For e.g. I have a soap message:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/enve... | 0 | [
2,
993,
18,
255,
38,
20,
4681,
6447,
9127,
47,
767,
204,
5582,
18,
800,
3726,
3726,
31,
376,
20,
4681,
6447,
9127,
37,
6447,
2802,
9,
26,
30,
31,
259,
20,
275,
993,
18,
255,
38,
15,
52,
8247,
9,
32,
83,
44,
91,
4119,
4295,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
sql joins, filters and rails
===
I am a rails newbie and am trying to perform a search on a table with rails, and i'm just using my sql knowledge to do this. But this just doesn't seems like rails or ruby even...
Is there any better way to do what i'm doing below? (basically, only pass date arguments to sql if they... | 0 | [
2,
4444,
255,
10612,
15,
21062,
17,
2240,
18,
800,
3726,
3726,
31,
589,
21,
2240,
18,
78,
5893,
17,
589,
749,
20,
2985,
21,
2122,
27,
21,
859,
29,
2240,
18,
15,
17,
31,
22,
79,
114,
568,
51,
4444,
255,
1918,
20,
107,
48,
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... |
SQL: View Full Name From User ID (Send To / Send From)
===
I have the following tables:
**Students**
StudentID UserID FirstName LastName
1 1 John Doe
2 3 Peter Pan
3 5 Mark Twain
**Employees... | 0 | [
2,
4444,
255,
45,
1418,
503,
204,
37,
4155,
4924,
13,
5,
18,
2451,
20,
13,
118,
2660,
37,
6,
800,
3726,
3726,
31,
57,
14,
249,
7484,
45,
13,
1409,
24822,
18,
1409,
1209,
1340,
275,
5175,
64,
7259,
236,
7259,
137,
137,
239,
107... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Querying for specific Mongodb field
===
I need to have the following query converted in to Java code
use dbName
db.collectionName.find({},{reference:1})
I am trying to fetch the value for the key 'reference'
I tried the following but this doesn't seem to be the way
Mongo dbConnection;
D... | 0 | [
2,
25597,
68,
26,
1903,
3521,
5474,
220,
575,
800,
3726,
3726,
31,
376,
20,
57,
14,
249,
25597,
3494,
19,
20,
8247,
1797,
275,
13,
9007,
7259,
13,
9007,
9,
15015,
872,
7259,
9,
19811,
5,
1,
15,
1,
28018,
45,
165,
1,
6,
31,
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... |
Solr: suggester split words in autocomplete
===
Use Solr 3.6.0
Suggester split query into single params
servername/search/suggest?q=bmw+x5
result:
<lst name="suggestions">
<lst name="bmw">
<arr name="suggestion">
<str>bmw</str>
<str>bmw x5</str>
<str>bmw x1 2012</st... | 0 | [
2,
7176,
139,
45,
5601,
106,
2132,
715,
19,
3108,
15990,
800,
3726,
3726,
275,
7176,
139,
203,
9,
379,
9,
387,
5601,
106,
2132,
25597,
77,
345,
2258,
79,
18,
8128,
7259,
118,
25136,
118,
18,
21606,
1430,
60,
1251,
3726,
13178,
499... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
preg_replace everything after forward slash /
===
I'm getting an error with this. I'm trying to remove all chars after / is found in the string.
e.g. 'google.com/remove' should become 'google.com'
preg_replace ( '////.*/' , '' , $string);
Message: preg_replace(): Unknown modifier '/' | 0 | [
2,
782,
263,
1,
99,
5119,
796,
75,
917,
14098,
13,
118,
800,
3726,
3726,
31,
22,
79,
1017,
40,
7019,
29,
48,
9,
31,
22,
79,
749,
20,
4681,
65,
4892,
18,
75,
13,
118,
25,
216,
19,
14,
3724,
9,
13,
62,
9,
263,
9,
13,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Calling a jquery function after multiple get request is completed
===
alright so on my site my home page on load create 4 carousels by using the .get method. I am wondering how one might call a js function after every carousel has been successfully loaded. Sometimes there are 3 to 4 sometimes there aren't any carousel... | 0 | [
2,
2555,
21,
487,
8190,
93,
1990,
75,
1886,
164,
3772,
25,
1066,
800,
3726,
3726,
11885,
86,
27,
51,
689,
51,
213,
2478,
27,
6305,
1600,
268,
27374,
18,
34,
568,
14,
13,
9,
3060,
2109,
9,
31,
589,
5712,
184,
53,
530,
645,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Select row from earliest date
===
i need a list from all products that contains 2 columns with the date the product was first ordered and the ordered quantity of this product.
Structure:<br />
tbl_product<br />
- productID<br />
- productName
tbl_orderProduct<br />
- orderProductID<br />
- orderID<br />
- ... | 0 | [
2,
5407,
3131,
37,
4448,
1231,
800,
3726,
3726,
31,
376,
21,
968,
37,
65,
1985,
30,
1588,
172,
7498,
29,
14,
1231,
14,
2374,
23,
64,
1905,
17,
14,
1905,
12881,
16,
48,
2374,
9,
1411,
45,
1,
5145,
13,
118,
1,
13,
38,
6287,
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... |
Output on the console and file using python
===
I'm trying to find out a way in python to redirect the script execution log to a file as well as to the console in pythonic way. Is there any easy way of acheiving this..
-Vijay | 0 | [
2,
5196,
27,
14,
8650,
17,
3893,
568,
20059,
800,
3726,
3726,
31,
22,
79,
749,
20,
477,
70,
21,
161,
19,
20059,
20,
302,
14706,
14,
3884,
5769,
6738,
20,
21,
3893,
28,
134,
28,
20,
14,
8650,
19,
20059,
596,
161,
9,
25,
80,
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,
0,
0,
0... |
Pass the multiple checkbox values from parent window to popup window
===
I am working on JSP's, I am not able to pass the checkbox values from parent window to child window, in my parent window i have some options to select , if i have selected multiple checkboxes, the selected checkboxes must be pass to the child win... | 0 | [
2,
1477,
14,
1886,
2631,
5309,
4070,
37,
4766,
1463,
20,
1675,
576,
1463,
800,
3726,
3726,
31,
589,
638,
27,
487,
3401,
22,
18,
15,
31,
589,
52,
777,
20,
1477,
14,
2631,
5309,
4070,
37,
4766,
1463,
20,
850,
1463,
15,
19,
51,
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... |
Properties.Settings.Default.Save() store the user.config file in a directory with a hash
===
I try to save user settings. To save some data I used this code:
Properties.Settings settings = Properties.Settings.Default;
settings.Key1 = "value";
settings.Save();
but it saves the user.config file under... | 0 | [
2,
3704,
9,
19831,
18,
9,
13862,
9708,
9,
19863,
5,
6,
1718,
14,
4155,
9,
14093,
2816,
3893,
19,
21,
16755,
29,
21,
19170,
800,
3726,
3726,
31,
1131,
20,
2079,
4155,
12410,
9,
20,
2079,
109,
1054,
31,
147,
48,
1797,
45,
3704,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Extract strings from file and save in another using c#
===
I have .txt file with 300 000 rows. Is there any way to extract specific strings(lines) from that file and save in another .txt or excel only extracted lines ?
I talk about log file where i save some requests with time taken for every request. What i want to ... | 0 | [
2,
10962,
7887,
37,
3893,
17,
2079,
19,
226,
568,
272,
5910,
800,
3726,
3726,
31,
57,
13,
9,
38,
396,
38,
3893,
29,
3565,
13,
3993,
11295,
9,
25,
80,
186,
161,
20,
10962,
1903,
7887,
5,
7939,
6,
37,
30,
3893,
17,
2079,
19,
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... |
Delete user registered with shiro security plugin in grails
===
i have a form for checking the login and password before delete the user. this one:
<table>
<g:form action="deleteUser">
<tr>
<td><label for="username">Login: </label></td>
<td><g:textField name="username"/>
</tr>
<tr... | 0 | [
2,
27448,
4155,
3801,
29,
13,
18676,
1221,
10922,
108,
19,
489,
7301,
18,
800,
3726,
3726,
31,
57,
21,
505,
26,
9886,
14,
6738,
108,
17,
20884,
115,
27448,
14,
4155,
9,
48,
53,
45,
13,
1,
5924,
1,
13,
1,
263,
45,
4190,
1028,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 update list in python from user entered value in last item
===
This I tried
aList = ['Q', '0006','005C', '0078','0030','0033', '0041','0041', 'ONE_OF', '20' ]
print aList
removeItem=aList.pop()
print removeItem
print aList
a=raw_input("enter the values ")
add=aList.append('a')
print aList
I am gettin... | 0 | [
2,
184,
20,
11100,
968,
19,
20059,
37,
4155,
1297,
1923,
19,
236,
9101,
800,
3726,
3726,
48,
31,
794,
21,
5739,
800,
636,
22,
1251,
22,
15,
13,
22,
3993,
379,
22,
15,
22,
2032,
264,
150,
22,
15,
13,
22,
2032,
4130,
22,
15,
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... |
Marionette.CompositeView how to pass a parameter to the template without using any model
===
I am in the following situation.
When the `collection.length = 0` I would like to pass a parameter to `listTemplate` in order to display a message in the `listTemplate` (no models are present!).
How can I achieve my goal?
... | 0 | [
2,
9689,
3286,
9,
960,
14882,
591,
4725,
184,
20,
1477,
21,
18906,
20,
14,
22894,
366,
568,
186,
1061,
800,
3726,
3726,
31,
589,
19,
14,
249,
1858,
9,
76,
14,
13,
1,
15015,
872,
9,
6325,
800,
713,
1,
31,
83,
101,
20,
1477,
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... |
Determine which controller/action is invoked in ExecuteCore
===
I have a `BaseController` class that all my controllers inherit from. It has an overriden `ExecuteCore` method which does some initial setup that is needed for (almost) all the controllers and their actions.
protected override void ExecuteCore(... | 0 | [
2,
3746,
56,
9919,
118,
8645,
25,
26252,
19,
15644,
10375,
800,
3726,
3726,
31,
57,
21,
13,
1,
8436,
12898,
1252,
1,
718,
30,
65,
51,
9919,
18,
17569,
37,
9,
32,
63,
40,
84,
928,
817,
13,
1,
1706,
17194,
591,
10375,
1,
2109,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 customize NERDTree behavior
===
I recently added NERDTree and NERDTreeTabs to my vim configuration and I'm quite happy about it.
However, I wanted to configure it a bit further and have the following behavior:
<kbd>Ctrl</kbd>+<kbd>Left</kbd>:
- If inside the NERDTree, do nothing.
- If inside the e... | 0 | [
2,
184,
8,
262,
5816,
2952,
25758,
8101,
3257,
800,
3726,
3726,
31,
1989,
905,
25758,
8101,
17,
25758,
8101,
15783,
18,
20,
51,
1790,
79,
8091,
17,
31,
22,
79,
1450,
1700,
88,
32,
9,
207,
15,
31,
417,
20,
1065,
15951,
32,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 create HotSpot in C#?
===
I want to create a hotspon an image that I put in my winform application. I followed the solution posted [HERE][1], but I did not know where I should put the coordinates to make this method works:
protected override void OnMouseMove(MouseEventArgs mouseEvent)
{
... | 0 | [
2,
184,
20,
1600,
1047,
18,
4296,
19,
272,
5910,
60,
800,
3726,
3726,
31,
259,
20,
1600,
21,
1047,
18,
8782,
40,
1961,
30,
31,
442,
19,
51,
628,
4190,
3010,
9,
31,
709,
14,
4295,
6054,
636,
6836,
500,
2558,
165,
500,
15,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
contact form not sending data
===
I'm using a the following to have a contact page send me a email with visitors data.
<form method="post" action="submit.php">
<label for="Name">Name</label>
<input type="text" name="Name" id="Name" />
<label for="Email">eMail</label>
<... | 0 | [
2,
2203,
505,
52,
4907,
1054,
800,
3726,
3726,
31,
22,
79,
568,
21,
14,
249,
20,
57,
21,
2203,
2478,
2660,
55,
21,
8517,
29,
4531,
1054,
9,
13,
1,
4190,
2109,
3726,
7,
6962,
7,
1028,
3726,
7,
7563,
5130,
9,
26120,
7,
1,
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... |
Web Image, Image won't show
===
[Simple Tutorial for WebImage][1]
[1]: http://www.mindstick.com/Articles/0bbc555a-0a4e-4774-a580-fa804c570458/?WebImage%20Helper%20in%20ASP.NET%20MVC
tried this but the images won't show, the images are inside my project
public void GetBeatles()
{
... | 0 | [
2,
2741,
1961,
15,
1961,
230,
22,
38,
298,
800,
3726,
3726,
636,
24629,
29724,
26,
2741,
22039,
500,
2558,
165,
500,
636,
165,
500,
45,
7775,
6903,
6483,
9,
15918,
10277,
9,
960,
118,
20360,
18,
118,
387,
24188,
22779,
58,
8,
387,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 is it not good to write to static field from instance method in Java?
===
I have found a post here in [SO][1] discussing the code change required to prevent writing to a static field from an instance method but why is not a good practice to do so ? Why did Java designers allow this then ?In other words why does th... | 0 | [
2,
483,
25,
32,
52,
254,
20,
2757,
20,
12038,
575,
37,
4851,
2109,
19,
8247,
60,
800,
3726,
3726,
31,
57,
216,
21,
678,
235,
19,
636,
656,
500,
2558,
165,
500,
10988,
14,
1797,
753,
1390,
20,
2501,
1174,
20,
21,
12038,
575,
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... |
android layout - WRAP_CONTENT from right to left possible?
===
I have a TextView and an ImageButton in a linear layout (horizontal). Total width I have is 300 pixel. Button image is 50x50. Max width I can use for text is 250. The code below works perfect if the text width is less than 250 pixels (WRAP_CONTENT work n... | 0 | [
2,
13005,
9106,
13,
8,
8118,
1,
25424,
37,
193,
20,
225,
938,
60,
800,
3726,
3726,
31,
57,
21,
1854,
4725,
17,
40,
1961,
811,
444,
19,
21,
6745,
9106,
13,
5,
6778,
49,
6931,
3663,
6,
9,
600,
9456,
31,
57,
25,
3565,
18146,
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... |
css issue to align the box horizontally
===
Am new to sage CRM.Am having some CSS issues in the asp page.Some alignments are mismatching please help me out.
Am creating 4 blocks and four tables with four different function.Each block will show the total balance.Now this four blocks are in vertical positions as
bloc... | 0 | [
2,
272,
18,
18,
1513,
20,
23389,
14,
1649,
25658,
800,
3726,
3726,
589,
78,
20,
9527,
6186,
79,
9,
765,
452,
109,
272,
18,
18,
1549,
19,
14,
28,
306,
2478,
9,
3220,
12448,
18,
50,
2462,
12280,
68,
2247,
448,
55,
70,
9,
589,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Is there any way to find end tag in xml using vtd-xml
===
I have use token to loop all element based on the token count
and see that in my xml structure, it has only token type = 5 and token type = 0 from this web
http://vtd-xml.sourceforge.net/userGuide/6.html
So is there a way to find ending tag in vtd-xml | 0 | [
2,
25,
80,
186,
161,
20,
477,
241,
3383,
19,
23504,
568,
566,
38,
43,
8,
396,
8184,
800,
3726,
3726,
31,
57,
275,
20,
2853,
20,
5293,
65,
4520,
432,
27,
14,
20,
2853,
2468,
17,
196,
30,
19,
51,
23504,
1411,
15,
32,
63,
104,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Widget should show actual prefs
===
I use DefaultSharedPreferences in my app. And I want create a widget which will toggle one of my preference. I done the widget. And it doing what I want, but if I change this preference from other activity, widget dosen't update.
public class WidgetReceiver extends AppWidgetProv... | 0 | [
2,
4807,
43,
3060,
378,
298,
3463,
782,
11754,
800,
3726,
3726,
31,
275,
12838,
16608,
7431,
28018,
18,
19,
51,
4865,
9,
17,
31,
259,
1600,
21,
4807,
43,
3060,
56,
129,
20,
263,
4875,
53,
16,
51,
9808,
9,
31,
677,
14,
4807,
43... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Repeat jQuery animation (after left to right)
===
I already searched for solutions here, but unfortunately nothing worked for me.
I have some animated clouds, that fly from the left to the right of my page, but how could I repeat this animation?
My codes:
(JS)
$(window).load(function animation() {
... | 0 | [
2,
6830,
487,
8190,
93,
6236,
13,
5,
5162,
225,
20,
193,
6,
800,
3726,
3726,
31,
614,
9036,
26,
6776,
235,
15,
47,
6200,
626,
577,
26,
55,
9,
31,
57,
109,
5784,
7742,
15,
30,
2855,
37,
14,
225,
20,
14,
193,
16,
51,
2478,
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... |
Any benefit of using assert instead of using a simple "if" ?
===
Given this code :
#include <stdio.h>
#include <assert.h>
void print_number(int* somePtr) {
assert (somePtr!=NULL);
printf ("%d\n",*somePtr);
}
int main ()
{
int a=1234;
int * b = NU... | 0 | [
2,
186,
4234,
16,
568,
10908,
700,
16,
568,
21,
1935,
13,
7,
821,
7,
13,
60,
800,
3726,
3726,
504,
48,
1797,
13,
45,
6926,
22640,
13,
1,
384,
6921,
9,
252,
1,
6926,
22640,
13,
1,
22220,
38,
9,
252,
1,
11364,
4793,
1,
16299,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 - When I put more words in my list the table doesn't generate
===
Currently this script takes the words from the list and generates a grid, giving the words random positions each time. But whenever I go to add more words to the list, the grid doesn't generate at all. I want to have 110 words in the list and for... | 0 | [
2,
487,
8190,
93,
13,
8,
76,
31,
442,
91,
715,
19,
51,
968,
14,
859,
1437,
22,
38,
7920,
800,
3726,
3726,
871,
48,
3884,
1384,
14,
715,
37,
14,
968,
17,
7920,
18,
21,
7354,
15,
1438,
14,
715,
5477,
3062,
206,
85,
9,
47,
66... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 modify elements in lists of different types?
===
how can I efficiently modify the elements of these two lists using stl algorithms:
std::list<std::pair<double, string> > listPair(10);
std::list<double> listA(10);
And in such a way that the first pair-element gets the corresponding double value fr... | 0 | [
2,
184,
20,
17579,
2065,
19,
7227,
16,
421,
2551,
60,
800,
3726,
3726,
184,
92,
31,
20519,
17579,
14,
2065,
16,
158,
81,
7227,
568,
354,
255,
15935,
45,
354,
43,
45,
45,
5739,
1,
384,
43,
45,
45,
306,
2642,
1,
14368,
15,
3724,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 generate Facebook like button with only the FB page ID
===
So I have a database table with the Facebook page ID's of my users. I would like to generate a like button dynamically with only the ID available to me to do this. The problem as I see it is that I don't know what the `data-href` attribute is supposed... | 0 | [
2,
184,
107,
31,
7920,
9090,
101,
5167,
29,
104,
14,
13,
13478,
2478,
4924,
800,
3726,
3726,
86,
31,
57,
21,
6018,
859,
29,
14,
9090,
2478,
4924,
22,
18,
16,
51,
3878,
9,
31,
83,
101,
20,
7920,
21,
101,
5167,
7782,
1326,
29,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 hide certain sidebars from some users?
===
I'm working in wordpress multi site, but this question is relevant for regular use in wordpress.
How can I hide certain sidebars from certain user groups (e.g. editors or admins) ?
I have already tried the trivial:
if(is_admin() && user_can(...)){
... | 0 | [
2,
184,
92,
31,
3077,
1200,
270,
1850,
18,
37,
109,
3878,
60,
800,
3726,
3726,
31,
22,
79,
638,
19,
833,
5890,
1889,
689,
15,
47,
48,
1301,
25,
7480,
26,
1290,
275,
19,
833,
5890,
9,
184,
92,
31,
3077,
1200,
270,
1850,
18,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
non-blocking way to write to filesystem with node.js
===
I've written a non-blocking tcp-server with `node.js`. This `server` listens on a port and reroutes the request to an other server via a `http.request()`
To have a back-log of the messages rerouted I want to append every message (single line of information) i... | 0 | [
2,
538,
8,
12048,
68,
161,
20,
2757,
20,
3893,
10724,
29,
15421,
9,
728,
18,
800,
3726,
3726,
31,
22,
195,
642,
21,
538,
8,
12048,
68,
13,
38,
7439,
8,
10321,
106,
29,
13,
1,
251,
546,
9,
728,
18,
1,
9,
48,
13,
1,
10321,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Putting labels in slices of donut style CPTPiePlot, they don't line up right
===
Im trying to draw a donut pie chart on ios with core-plot, with one chart inside of another. Each slice has the same width, but the slices are color coded. I'm trying to place a colored dot in the center of each slice, but I can't figure ... | 0 | [
2,
3873,
13173,
19,
12982,
18,
16,
221,
1982,
1034,
9750,
38,
9903,
13221,
38,
15,
59,
221,
22,
38,
293,
71,
193,
800,
3726,
3726,
797,
749,
20,
2003,
21,
221,
1982,
5470,
1795,
27,
13,
7760,
29,
2884,
8,
13221,
38,
15,
29,
53... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
SQL Alchemy get dirty update columns on before_update
===
I am trying to get the dirty column data on what is being updated on before_update in SQL Alchemy, as to do password validation pre update. Any ideas? I've been reading through the docs, but I cannot find the method.
Here is the doc reference: http://docs.sq... | 0 | [
2,
4444,
255,
29883,
164,
6121,
11100,
7498,
27,
115,
1,
576,
8209,
800,
3726,
3726,
31,
589,
749,
20,
164,
14,
6121,
4698,
1054,
27,
98,
25,
142,
6372,
27,
115,
1,
576,
8209,
19,
4444,
255,
29883,
15,
28,
20,
107,
20884,
27999,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 one make an external USB camera capture at roughly the same frame rate as the iSight?
===
In an app using QTKit, I'm experiencing very low frame rates (less than 10 frames per second) when using an external USB camera capturing at 640x480. This problem can, however, be temporarily resolved by doing (approxim... | 0 | [
2,
184,
630,
53,
233,
40,
4886,
182,
220,
3336,
3683,
35,
4457,
14,
205,
3523,
1684,
28,
14,
25,
6872,
38,
60,
800,
3726,
3726,
19,
40,
4865,
568,
2593,
38,
13703,
15,
31,
22,
79,
15138,
253,
708,
3523,
5332,
13,
5,
923,
119,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Append a div with a form to an existing div using appendto
===
I am having some luck when i try appending some text to an existing div using
$("<div class='form-holder'>Append a form here</div>").appendTo('.container');
but everything goes south from there when i try
$(document).ready
(
func... | 0 | [
2,
4865,
2451,
21,
13,
12916,
29,
21,
505,
20,
40,
3149,
13,
12916,
568,
4865,
2451,
262,
800,
3726,
3726,
31,
589,
452,
109,
5419,
76,
31,
1131,
4865,
7601,
109,
1854,
20,
40,
3149,
13,
12916,
568,
5579,
5,
7,
1,
12916,
718,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Watch directory for file changes
===
I want to monitor a directory (of thousands of files, with about 5 levels of sub directories) for when files are changed. I know I can use the FSEvents API to monitor a directory for when files change inside that directory, but I can't seem to figure out how to determine which file... | 0 | [
2,
1455,
16755,
26,
3893,
1693,
800,
3726,
3726,
31,
259,
20,
7626,
21,
16755,
13,
5,
1041,
3805,
16,
6488,
15,
29,
88,
331,
2216,
16,
972,
559,
1596,
6,
26,
76,
6488,
50,
1015,
9,
31,
143,
31,
92,
275,
14,
398,
8182,
38,
18... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 effectively use Scala in a Spring MVC project?
===
I want to create a multi-module (maven) spring MVC application, with modules like:
web
persistance (hibernate)
core (general libs)
models
job-server (queue based jobs)
services (business logic)
Now to use Scala in this project... | 0 | [
2,
184,
20,
5463,
275,
25975,
19,
21,
1573,
307,
8990,
669,
60,
800,
3726,
3726,
31,
259,
20,
1600,
21,
1889,
8,
19673,
62,
13,
5,
540,
3124,
6,
1573,
307,
8990,
3010,
15,
29,
17113,
101,
45,
2741,
22084,
2416,
13,
5,
8630,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Java Client/Server Socket Broken Pipe
===
I'm creating an update client via Sockets and I'm getting a Broken Pipe on the server side. The server accepts a client socket and responds to the same socket with either a message or a large byte array (~180MB). The error does not happen when testing locally (both client an... | 0 | [
2,
8247,
6819,
118,
10321,
106,
18482,
2023,
7642,
800,
3726,
3726,
31,
22,
79,
2936,
40,
11100,
6819,
1197,
18482,
18,
17,
31,
22,
79,
1017,
21,
2023,
7642,
27,
14,
8128,
270,
9,
14,
8128,
16548,
21,
6819,
18482,
17,
4590,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Store the position of XmlPullParser
===
I'm using the XmlPullParser for parsing a xml file in Android. However i want to pause the parser whenever i want.
I use Filechannels, which i create from a RandomAccessFile. Then I create an Inputstream using the method Channels.newInputstream().
My idea was to store the ... | 0 | [
2,
1718,
14,
649,
16,
23504,
23289,
3574,
4104,
800,
3726,
3726,
31,
22,
79,
568,
14,
23504,
23289,
3574,
4104,
26,
2017,
18,
68,
21,
23504,
3893,
19,
13005,
9,
207,
31,
259,
20,
6911,
14,
2017,
4104,
6634,
31,
259,
9,
31,
275,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 confirm in-app purchases on my server?
===
From what i see in the examples, on the application side one can confirm the purchase of in-game items by listening from a response through a Broadcastreceiver. What i don't understand is how the order information can be accessed at a later point of time.
I actuall... | 0 | [
2,
184,
92,
31,
10265,
19,
8,
7753,
3301,
18,
27,
51,
8128,
60,
800,
3726,
3726,
37,
98,
31,
196,
19,
14,
3770,
15,
27,
14,
3010,
270,
53,
92,
10265,
14,
3301,
16,
19,
8,
5128,
3755,
34,
4948,
37,
21,
1627,
120,
21,
1992,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
GNU Assembler (Mac OS X 64-bit): Illegal instruction: 4
===
I am new to GNU Assembler and I'm trying to execute this piece of code:
.globl _main
_main:
movl $1, %eax
movl $0, %ebx
int $0x80
This programm should exit by the system call exit (`1`). Compiled it (no warnings):
... | 0 | [
2,
26092,
13,
13736,
139,
13,
5,
6893,
13,
759,
993,
4384,
8,
3326,
6,
45,
5143,
7304,
45,
268,
800,
3726,
3726,
31,
589,
78,
20,
26092,
13,
13736,
139,
17,
31,
22,
79,
749,
20,
15644,
48,
1855,
16,
1797,
45,
13,
9,
6725,
62... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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.