unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Increment an array copy to count user entered int Java
===
When I run the program:
Enter a number: 222
Digit: 0 1 2 3 4 5 6 7 8 9
Occurrences: 1 9
*Obviously this is homework. I have scoured over the website for the past four days and have changed the code cou... | 0 | [
2,
13,
28461,
40,
7718,
4344,
20,
2468,
4155,
1297,
19,
38,
8247,
800,
3726,
3726,
76,
31,
485,
14,
625,
45,
2830,
21,
234,
45,
13,
19428,
15611,
45,
713,
137,
172,
203,
268,
331,
400,
453,
469,
561,
12933,
18,
45,
137,
561,
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... |
android alarm not able to launch alarm activity
===
I am new to android programming and am trying to make this simple alarm app. I have my code written and it is compiled with no errors. The app runs in the emulator, that is the main activity asks the date and time, but when i click on the confirm button, it displays ... | 0 | [
2,
13005,
6490,
52,
777,
20,
3394,
6490,
2358,
800,
3726,
3726,
31,
589,
78,
20,
13005,
3143,
17,
589,
749,
20,
233,
48,
1935,
6490,
4865,
9,
31,
57,
51,
1797,
642,
17,
32,
25,
9316,
29,
90,
11908,
9,
14,
4865,
1461,
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... |
How can I convert video steaming to images in android?
===
I'm new in here and in andriod development, I'm trying to convert a video that I receive from rtsp stream (h.264 i think) to images(any kind of images), there's any way to do it? thanks | 1 | [
2,
184,
92,
31,
8406,
763,
21984,
20,
3502,
19,
13005,
60,
800,
3726,
3726,
31,
22,
79,
78,
19,
235,
17,
19,
17,
5741,
43,
522,
15,
31,
22,
79,
749,
20,
8406,
21,
763,
30,
31,
2588,
37,
13,
5256,
3401,
3766,
13,
5,
252,
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... |
Vb.net - FileMovement Lock on destination folder
===
Source code: vb.net
We are using File.Move() method to move the file from source to destination locaion.
But the destination location is being monitored by one tool, whenever we are moving files to the destination location, it will pick up the file and process ... | 0 | [
2,
13,
20468,
9,
2328,
13,
8,
3893,
16598,
1130,
3991,
27,
6970,
19294,
800,
3726,
3726,
1267,
1797,
45,
13,
20468,
9,
2328,
95,
50,
568,
3893,
9,
16598,
5,
6,
2109,
20,
780,
14,
3893,
37,
1267,
20,
6970,
2205,
793,
872,
9,
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... |
Setting notification bar icon from standard java class
===
I am currently working on an android project and I am trying to create a notification from a standard java class (not an activity class).
I've added a icon into the drawable folder called icon.png but when I try and set the icon to an int using ``R.drawabl... | 0 | [
2,
2697,
52,
4634,
748,
9801,
37,
1236,
8247,
718,
800,
3726,
3726,
31,
589,
871,
638,
27,
40,
13005,
669,
17,
31,
589,
749,
20,
1600,
21,
52,
4634,
37,
21,
1236,
8247,
718,
13,
5,
1270,
40,
2358,
718,
6,
9,
31,
22,
195,
905... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 JSON object using jQuery and GSON returned by Spring controller
===
I was looking for some solution around here and I didnt find any correct answer to my question so I would like to ask you.
I have POJO with some simple attribs. and one List of another POJOs.
public class Standard implements Serializ... | 0 | [
2,
2017,
18,
68,
487,
528,
3095,
568,
487,
8190,
93,
17,
489,
528,
587,
34,
1573,
9919,
800,
3726,
3726,
31,
23,
699,
26,
109,
4295,
140,
235,
17,
31,
1182,
477,
186,
4456,
1623,
20,
51,
1301,
86,
31,
83,
101,
20,
1349,
42,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
multi level nested grid for win & web apps?
===
is there any free open source multi level nested grid developed using c# for windows and web apps . i need a grid which can display parent child relation ship at nth level with plus minus sign. if is available then please give me the url.
thanks in advance. | 0 | [
2,
1889,
662,
5618,
69,
7354,
26,
628,
279,
2741,
4865,
18,
60,
800,
3726,
3726,
25,
80,
186,
551,
368,
1267,
1889,
662,
5618,
69,
7354,
885,
568,
272,
5910,
26,
1936,
17,
2741,
4865,
18,
13,
9,
31,
376,
21,
7354,
56,
92,
3042... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Reactive Extensions, trigger OnNext immediately and then over an interval
===
I have a webservice that I want to query for updates immediately after a boolean is set to true, and then recheck every 5 minutes.
Here is my current observable:
_queryDisposable = Observable
.Interval(Time... | 0 | [
2,
25541,
17529,
15,
7286,
27,
20021,
1375,
17,
94,
84,
40,
14422,
800,
3726,
3726,
31,
57,
21,
2741,
11449,
30,
31,
259,
20,
25597,
26,
16779,
1375,
75,
21,
9827,
413,
210,
25,
309,
20,
1151,
15,
17,
94,
302,
12542,
352,
331,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
XSD: Unable to use type defined in the same XSD
===
I'm writting the following XSD, however I'm having problems with it. For whatever reason, I'm not being allowed to use my simple types that I define in my XSD. I'm getting this error: `Cannot resolve the name 'mySimpleType1' to a(n) 'simpleType definition' component... | 0 | [
2,
993,
18,
43,
45,
2343,
20,
275,
1001,
2811,
19,
14,
205,
993,
18,
43,
800,
3726,
3726,
31,
22,
79,
20127,
1203,
14,
249,
993,
18,
43,
15,
207,
31,
22,
79,
452,
1716,
29,
32,
9,
26,
2099,
1215,
15,
31,
22,
79,
52,
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... |
Last-child doesn't seem to be working
===
This is the code i have:
HTML:
<div id="nav">
<ul>
<li><a href="#">Link 1</a></li>
<li><a href="#">Link 2</a></li>
<li><a href="#">Link 3</a></li>
<li><a href="#">Link 4</a></li>
</ul>
</div>
CSS:
#nav ul li a {
width... | 3 | [
2,
236,
8,
11287,
1437,
22,
38,
2260,
20,
44,
638,
800,
3726,
3726,
48,
25,
14,
1797,
31,
57,
45,
13,
15895,
45,
13,
1,
12916,
4924,
3726,
7,
18343,
7,
1,
13,
1,
1287,
1,
13,
1,
1210,
1,
58,
746,
14057,
3726,
7,
5910,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I make the checkboxes keep their option?
===
I have built a WP theme with an options panel, and I have a small issue.
If you are looking at the code below, I have two checkboxes (type="radio")
The problem is that these checkboxes are not keeping their option after I refresh the options page, but they are a... | 0 | [
2,
184,
92,
31,
233,
14,
2631,
5309,
160,
643,
66,
4255,
60,
800,
3726,
3726,
31,
57,
392,
21,
13,
13790,
3184,
29,
40,
6368,
4113,
15,
17,
31,
57,
21,
284,
1513,
9,
100,
42,
50,
699,
35,
14,
1797,
1021,
15,
31,
57,
81,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iText/purePDF create text centered under image
===
in purePDF (AS3 port of iText) i add an image by creating an ImageElement, setting it's absolute position and then call document.add(myImageElement).
Then i would like to add a text right underneath the image, such that it is horizontally centered in respect to the... | 0 | [
2,
31,
11969,
118,
21059,
11124,
1600,
1854,
10583,
131,
1961,
800,
3726,
3726,
19,
4267,
11124,
13,
5,
472,
240,
1295,
16,
31,
11969,
6,
31,
3547,
40,
1961,
34,
2936,
40,
1961,
27567,
15,
2697,
32,
22,
18,
7070,
649,
17,
94,
64... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
rich:fileUpload more informations
===
I want to upload many files and I have chosen rich:fileUpload control for this.
My problem is that I need to add more information for each file, for example the title I want to appear in the application for that file. How can I do that, and send to the fileUploadListener metho... | 0 | [
2,
2042,
45,
16877,
576,
8294,
91,
676,
18,
800,
3726,
3726,
31,
259,
20,
71,
8294,
151,
6488,
17,
31,
57,
2519,
2042,
45,
16877,
576,
8294,
569,
26,
48,
9,
51,
1448,
25,
30,
31,
376,
20,
3547,
91,
676,
26,
206,
3893,
15,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to detect value in array of hashes
===
I have array of hashes:
@array = [{:id => "1", :status=>"R"},
{:id => "1", :status=>"R"},
{:id => "1", :status=>"B"},
{:id => "1", :status=>"R"}]
How to detect, does it contain in hashes with the value of status "B"? Like in simply a... | 0 | [
2,
184,
20,
9092,
1923,
19,
7718,
16,
63,
438,
18,
800,
3726,
3726,
31,
57,
7718,
16,
63,
438,
18,
45,
13,
1,
8576,
93,
800,
636,
1,
45,
1340,
800,
1,
13,
7,
165,
7,
15,
13,
45,
10631,
267,
3726,
1,
7,
139,
7,
1,
15,
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... |
Is casting char to int a safe operation in C#?
===
Given the following code:
string source = "Some Unicode String";
foreach( char value in source ) {
int y = (int)value;
}
Is it possible that the cast from char to int could fail (and under what circumstances)? | 0 | [
2,
25,
9087,
4892,
20,
19,
38,
21,
1834,
1453,
19,
272,
5910,
60,
800,
3726,
3726,
504,
14,
249,
1797,
45,
3724,
1267,
800,
13,
7,
3220,
28010,
3724,
7,
73,
26,
14322,
5,
4892,
1923,
19,
1267,
13,
6,
13,
1,
19,
38,
13,
93,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Unexpected behaviour of Application.OnActivate in Delphi 7
===
I wrote a D7 application to test the behaviour of Application.OnActivate .
This is the relevant part :
procedure TMainForm.FormCreate (Sender: TObject);
begin
Memo1.Lines.Add (IntToStr (Memo1.Lines.Count + 1) + ' - MainForm.FormCreat... | 0 | [
2,
9380,
7727,
16,
3010,
9,
218,
19516,
1373,
19,
23030,
453,
800,
3726,
3726,
31,
738,
21,
13,
43,
465,
3010,
20,
1289,
14,
7727,
16,
3010,
9,
218,
19516,
1373,
13,
9,
48,
25,
14,
7480,
141,
13,
45,
7004,
13,
38,
6232,
4190,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# using a library - compile from source? Really?
===
I'm not very experienced in C#, done some small stuff with it, but it's quite similar to Java, only different, so no fuss. For my current project I need a small web server. So I've been looking around and found that a lot of people are doing a HttpListener based th... | 0 | [
2,
272,
5910,
568,
21,
1248,
13,
8,
26561,
37,
1267,
60,
510,
60,
800,
3726,
3726,
31,
22,
79,
52,
253,
3882,
19,
272,
5910,
15,
677,
109,
284,
3217,
29,
32,
15,
47,
32,
22,
18,
1450,
835,
20,
8247,
15,
104,
421,
15,
86,
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... |
Cross Domain Active Directory Authentication
===
We have a website running on a different AD domian then we need to authenticate with. For reasons I will not go into, we can not allow a trust between them.
So we have:
Rackspace.Domain <br/>
SuperDuperEnterpriseDomain
The website is running at rackspace unde... | 0 | [
2,
919,
4603,
1348,
16755,
27963,
800,
3726,
3726,
95,
57,
21,
2271,
946,
27,
21,
421,
21,
43,
107,
12553,
94,
95,
376,
20,
14351,
1373,
29,
9,
26,
2932,
31,
129,
52,
162,
77,
15,
95,
92,
52,
1655,
21,
1527,
128,
105,
9,
86,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Perforce superuser is lost
===
I am using a Perforce server but the only superuser account is lost due to the fact that the Perforce support guy (who use the superuser account) left the company and did not write down the superuser account details. My team is depending on the perforce server. What can I do now to regai... | 0 | [
2,
416,
8774,
1026,
16704,
25,
529,
800,
3726,
3726,
31,
589,
568,
21,
416,
8774,
8128,
47,
14,
104,
1026,
16704,
2176,
25,
529,
397,
20,
14,
837,
30,
14,
416,
8774,
555,
1244,
13,
5,
1924,
275,
14,
1026,
16704,
2176,
6,
225,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 terminate AlertDialog.Builder having ListView once the item is clicked and new alert dialogue is created
===
I am facing a very strange problem. when I try to launch and alert dialogue when an item is clicked from the ListView. The ListView is still there in the background and launched alert dialogue comes over... | 0 | [
2,
184,
20,
17952,
7863,
4286,
5567,
9,
20904,
452,
968,
4725,
382,
14,
9101,
25,
15802,
17,
78,
7863,
6402,
25,
679,
800,
3726,
3726,
31,
589,
4325,
21,
253,
2578,
1448,
9,
76,
31,
1131,
20,
3394,
17,
7863,
6402,
76,
40,
9101,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Unable to do even basic Clang tutorial
===
I'm trying to do the tutorials at:
https://github.com/loarabia/Clang-tutorial/wiki/TutorialOrig
and I can't even do the first tutorial. I installed LLVM 3.1 and Clang 3.1 and when I do:
~/loarabia-Clang-tutorial-3d79443$ clang++ tutorial1.cpp
In file included from... | 0 | [
2,
2343,
20,
107,
166,
2125,
4258,
263,
29724,
800,
3726,
3726,
31,
22,
79,
749,
20,
107,
14,
29724,
18,
35,
45,
7775,
18,
6903,
10404,
20926,
9,
960,
118,
1415,
16951,
549,
118,
150,
9949,
8,
2473,
9819,
192,
118,
17375,
118,
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... |
Directional arrow from source to destination driving directions
===
What I want :
My app requires plotting driving directions from source to destination, which is done.My problem is I need a directional arrow pointing from source to destination.
What have I done:
I am able to draw an arrow, also I have calculate... | 0 | [
2,
13,
19393,
7409,
37,
1267,
20,
6970,
2891,
7876,
800,
3726,
3726,
98,
31,
259,
13,
45,
51,
4865,
4781,
22716,
2891,
7876,
37,
1267,
20,
6970,
15,
56,
25,
677,
9,
915,
1448,
25,
31,
376,
21,
13,
19393,
7409,
6832,
37,
1267,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Browser logout on back button
===
I'm currently researching the best method of solving an issue I'm having and was wondering if you could help.
I have a user profile section in my website that I want to make a bit more secure.
I have an issue where when a user logs in, if they click the back button it takes them... | 0 | [
2,
16495,
6738,
1320,
27,
97,
5167,
800,
3726,
3726,
31,
22,
79,
871,
527,
68,
14,
246,
2109,
16,
17533,
40,
1513,
31,
22,
79,
452,
17,
23,
5712,
100,
42,
110,
448,
9,
31,
57,
21,
4155,
5296,
1050,
19,
51,
2271,
30,
31,
259,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JsonWriter IOException Incomplete Document
===
I'm using a com.google.gson.stream.JsonWriter with a StringWriter to write a somewhat long JSON.
StringWriter stringWriter = new StringWriter();
JsonWriter jsonWriter = new JsonWriter(stringWriter);
Then iterating over a collection and writing the JSON.
... | 0 | [
2,
487,
528,
9657,
13,
1963,
10066,
872,
14011,
4492,
800,
3726,
3726,
31,
22,
79,
568,
21,
13,
960,
9,
16111,
4875,
9,
263,
528,
9,
11260,
9,
728,
528,
9657,
29,
21,
3724,
9657,
20,
2757,
21,
4131,
175,
487,
528,
9,
3724,
965... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
File Locking When Using Command Line App
===
I have a problem with moving a directory after I have used a command line app on it, this is in a MVC application hosted on IIS 7.5
When using this command...
Directory.Move(TEMPDir, PERMDir);
I get...
Access to the path 'C:\Connect\attachments\TEMP\9cd... | 0 | [
2,
3893,
17538,
76,
568,
1202,
293,
4865,
800,
3726,
3726,
31,
57,
21,
1448,
29,
1219,
21,
16755,
75,
31,
57,
147,
21,
1202,
293,
4865,
27,
32,
15,
48,
25,
19,
21,
307,
8990,
3010,
2812,
27,
595,
18,
453,
9,
264,
76,
568,
48... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 get field data in Magento from a custom module?
===
I'm very new to Magento development (this is my first module). The purpose of this module is to fix some problems that we are having with the original one, while not making any changes to the model/controller. I am modifying this existing template, but I can... | 0 | [
2,
184,
107,
31,
164,
575,
1054,
19,
4723,
17050,
37,
21,
5816,
12613,
60,
800,
3726,
3726,
31,
22,
79,
253,
78,
20,
4723,
17050,
522,
13,
5,
1565,
25,
51,
64,
12613,
6,
9,
14,
2131,
16,
48,
12613,
25,
20,
6098,
109,
1716,
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... |
iOS - navigation controller don't delete view controller from stack
===
in my program i create a list of Item in a view. When I click on a particular item, i open another view for see the information relative to the item.
But when I come back to the previous view, the navigation controller don't delete the view fro... | 0 | [
2,
13,
7760,
13,
8,
8368,
9919,
221,
22,
38,
27448,
1418,
9919,
37,
7566,
800,
3726,
3726,
19,
51,
625,
31,
1600,
21,
968,
16,
9101,
19,
21,
1418,
9,
76,
31,
10840,
27,
21,
1498,
9101,
15,
31,
368,
226,
1418,
26,
196,
14,
67... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Import txt File Into my database with specific format
===
I am new to mysql and i searched internet. before i use csv file or sql file to import my data into db but now i have a txt file with this type:
number
989399999999
989388888888
989384444444
this continue about 300 data... | 0 | [
2,
9010,
20225,
38,
3893,
77,
51,
6018,
29,
1903,
2595,
800,
3726,
3726,
31,
589,
78,
20,
51,
18,
22402,
17,
31,
9036,
2620,
9,
115,
31,
275,
272,
18,
710,
3893,
54,
4444,
255,
3893,
20,
9010,
51,
1054,
77,
13,
9007,
47,
130,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Manage the duration of the life cycle of an activity
===
could you suggest me how can I make my app does not go on pause?
Thanks | 0 | [
2,
4705,
14,
9403,
16,
14,
201,
4150,
16,
40,
2358,
800,
3726,
3726,
110,
42,
5601,
55,
184,
92,
31,
233,
51,
4865,
630,
52,
162,
27,
6911,
60,
3669,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
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... |
input and display elements for text with linked words in java
===
I'm writing an application that stores some data about films.
The application has a form that user can add new films from there; then users can search films and view it's data.
For two fields (one multi-line and one single-line), I need user be ab... | 0 | [
2,
6367,
17,
3042,
2065,
26,
1854,
29,
4727,
715,
19,
8247,
800,
3726,
3726,
31,
22,
79,
1174,
40,
3010,
30,
4134,
109,
1054,
88,
1491,
9,
14,
3010,
63,
21,
505,
30,
4155,
92,
3547,
78,
1491,
37,
80,
73,
94,
3878,
92,
2122,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 Request from __init__.py in Pyramid
===
When setting up a Pyramid app and adding settings to the Configurator, I'm having issues understanding how to access information from request, like request.session and such. I'm completely new at using Pyramid and I've searched all over the place for information on thi... | 0 | [
2,
1381,
68,
3772,
37,
13,
1,
108,
242,
1,
9,
6448,
19,
9565,
800,
3726,
3726,
76,
2697,
71,
21,
9565,
4865,
17,
4721,
12410,
20,
14,
1065,
13549,
3457,
15,
31,
22,
79,
452,
1549,
3260,
184,
20,
1381,
676,
37,
3772,
15,
101,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 Find Out My Application Is About to Run Out Of VM Heap
===
Hi Android Developers,
I want to listen to the vm heap events and be notified of low and high memory usages. That is to say, when my app uses low memory, i want to load more data into my cache; whereas i want to empty my cache as possible as i can, w... | 0 | [
2,
184,
20,
477,
70,
51,
3010,
25,
88,
20,
485,
70,
16,
13,
20147,
15414,
800,
3726,
3726,
4148,
13005,
10168,
15,
31,
259,
20,
3834,
20,
14,
13,
20147,
15414,
963,
17,
44,
22904,
16,
708,
17,
183,
1912,
7514,
18,
9,
30,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to design android app for both 2.3 and 4?
===
I'm atarting development of a new Andoird app and would like it work on both 2.3 and before and on the newer versions such as 4.0.
i understand some UI elements do not exist on 2.3 but i dont want my app to look old style.
how do i combine? | 0 | [
2,
184,
20,
704,
13005,
4865,
26,
156,
172,
9,
240,
17,
268,
60,
800,
3726,
3726,
31,
22,
79,
35,
2900,
68,
522,
16,
21,
78,
17,
14643,
43,
4865,
17,
83,
101,
32,
170,
27,
156,
172,
9,
240,
17,
115,
17,
27,
14,
12372,
3281... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Conflicting declarations of enum
===
I have a header file called `custom_types.h` that was working fine until now. I have a few enums declared in it and there is no implementation file with the same name.
These are the two declarations in the file:
enum playback_type {
NOTE_PB,
SONG_PB
... | 0 | [
2,
22297,
7098,
18,
16,
1957,
723,
800,
3726,
3726,
31,
57,
21,
157,
106,
3893,
227,
13,
1,
4636,
6015,
1,
4474,
18,
9,
252,
1,
30,
23,
638,
1123,
163,
130,
9,
31,
57,
21,
310,
1957,
723,
18,
2482,
19,
32,
17,
80,
25,
90,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Code working on local but not Server
===
I am working on php crawling.
I have written some code in php for crawling the html data but I faced some error like **response code 500.**
My code is working on my local system properly and got output.
But when I deployed same code on server I faced this issue.
I w... | 1 | [
2,
1797,
638,
27,
375,
47,
52,
8128,
800,
3726,
3726,
31,
589,
638,
27,
13,
26120,
19108,
9,
31,
57,
642,
109,
1797,
19,
13,
26120,
26,
19108,
14,
13,
15895,
1054,
47,
31,
3110,
109,
7019,
101,
13,
1409,
99,
18,
8782,
870,
179... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Primefaces in cell editing unable print error/success messages
===
I'm using primefaces in cell editing datatable but im unable to print any success/failure upon editing.this is my code,did i miss anything?
public TagEBean navigateEdit(RowEditEvent event ) {
tagEBean = tagBusServ.getFullTagByCode... | 0 | [
2,
1621,
6413,
18,
19,
1667,
9510,
2343,
4793,
7019,
118,
29245,
7561,
800,
3726,
3726,
31,
22,
79,
568,
1621,
6413,
18,
19,
1667,
9510,
1054,
5924,
47,
797,
2343,
20,
4793,
186,
1280,
118,
24910,
4221,
685,
9510,
9,
1565,
25,
51,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
State list drawable not working properly on pre-honeycomb versions
===
I'm making an application with checklists that primarily targets Android 4.0. There I use this selector as the background of my list item:
<?xml version="1.0" encoding="utf-8"?>
<selector
xmlns:android="http://schemas.android.c... | 0 | [
2,
146,
968,
2003,
579,
52,
638,
7428,
27,
782,
8,
18478,
10204,
3281,
800,
3726,
3726,
31,
22,
79,
544,
40,
3010,
29,
2631,
5739,
18,
30,
2257,
7767,
13005,
268,
9,
387,
9,
80,
31,
275,
48,
23946,
28,
14,
2395,
16,
51,
968,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
JSF - Extensive Read-Write to Application-Scoped Bean
===
In my XPages web app (Xpages a Lotus Notes Technology based in JSF), I need to have a dynamic map to store the session IDs and the last accessed time (in millisecond). This is implemented as a <code>TreeMap</code> inside a application-scoped bean. Each initial ... | 0 | [
2,
487,
18,
410,
13,
8,
3386,
1302,
8,
23716,
20,
3010,
8,
11555,
43,
15322,
800,
3726,
3726,
19,
51,
993,
6486,
18,
2741,
4865,
13,
5,
396,
6486,
18,
21,
15175,
2434,
1099,
432,
19,
487,
18,
410,
6,
15,
31,
376,
20,
57,
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... |
Connect JIRA to MS SQL Server 2008
===
I'm trying to connect Jira to external database. (the main goal is to connect to Jira's db from visual studio).
When i finish the whole sequence of steps by jira's walkthrough ( https://confluence.atlassian.com/display/JIRA/Connecting+JIRA+to+SQL+Server+2008 ) i get the next me... | 0 | [
2,
6379,
487,
3517,
20,
4235,
4444,
255,
8128,
570,
800,
3726,
3726,
31,
22,
79,
749,
20,
6379,
487,
3517,
20,
4886,
6018,
9,
13,
5,
124,
407,
1195,
25,
20,
6379,
20,
487,
3517,
22,
18,
13,
9007,
37,
3458,
1120,
6,
9,
76,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iOS Dynamic tables - Classification of data into rows and sections
===
I've already got an array of dictionary (for loan items), example below:
(
{
BIBNo = 291054;
date = "10/08/2012";
itemSequence = 000010;
name = "iPhone application development for IOS 4 / Duncan ... | 0 | [
2,
13,
7760,
7782,
7484,
13,
8,
4039,
16,
1054,
77,
11295,
17,
4501,
800,
3726,
3726,
31,
22,
195,
614,
330,
40,
7718,
16,
9186,
13,
5,
1106,
3826,
3755,
6,
15,
823,
1021,
45,
13,
5,
13,
1,
13,
16930,
251,
800,
1515,
1036,
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... |
Set primary key with doctrine in table with auto increment
===
I have a MySQL table with the columns, translation_id, language_id and text.
Has you can imagine, the translation_id is an auto increment field.
I'm trying to insert through *Doctrine*.
The model is configured like this:
/**
* @Id @Colum... | 0 | [
2,
309,
1256,
1246,
29,
7521,
19,
859,
29,
3108,
13,
28461,
800,
3726,
3726,
31,
57,
21,
51,
18,
22402,
859,
29,
14,
7498,
15,
4064,
1,
1340,
15,
816,
1,
1340,
17,
1854,
9,
63,
42,
92,
4382,
15,
14,
4064,
1,
1340,
25,
40,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 start with all the nodes collapsed in d3js?
===
Starting from this example http://bl.ocks.org/1062288 I would like to have a tree with all the nodes collapsed, so the initial graph should contain only one node (the root). | 0 | [
2,
184,
92,
31,
799,
29,
65,
14,
16272,
7355,
19,
13,
43,
240,
728,
18,
60,
800,
3726,
3726,
1422,
37,
48,
823,
7775,
6903,
6287,
9,
5668,
18,
9,
5583,
118,
1036,
3698,
24475,
31,
83,
101,
20,
57,
21,
1541,
29,
65,
14,
16272... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
About progress bar in C# completely freezed
===
I have a huge amount of data and windows form control to load from a file, and when the file size really is huge, I gotta use progress bar.
The thing is, progress bar works, but it will freeze immediately the moment the program starts to construct data and load it to ... | 0 | [
2,
88,
3455,
748,
19,
272,
5910,
1524,
11551,
43,
800,
3726,
3726,
31,
57,
21,
2329,
2006,
16,
1054,
17,
1936,
505,
569,
20,
6305,
37,
21,
3893,
15,
17,
76,
14,
3893,
1072,
510,
25,
2329,
15,
31,
12185,
275,
3455,
748,
9,
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... |
Are we allowed to show a user's friend's profile photo in our mobile app to other users?
===
The user of our app would create a group using his friend list. His friends don't have to use the app. Is it ok to show the friend's profile photo within our app without their consent to other non-friend users? Since their pro... | 0 | [
2,
50,
95,
1159,
20,
298,
21,
4155,
22,
18,
860,
22,
18,
5296,
3056,
19,
318,
3241,
4865,
20,
89,
3878,
60,
800,
3726,
3726,
14,
4155,
16,
318,
4865,
83,
1600,
21,
214,
568,
33,
860,
968,
9,
33,
954,
221,
22,
38,
57,
20,
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... |
Python/Jquery/Ajax Cascading dropdown
===
I am trying to setup a cascading dropdown with python/jquery/ajax.
The first dropdown is manually setup in the html code.
The second/third dropdowns are dependent on the previous selections.
When I select the first dropdown i am able to populate the second dropdown wi... | 0 | [
2,
20059,
118,
728,
8190,
93,
118,
6881,
7522,
7167,
13489,
68,
2804,
2968,
800,
3726,
3726,
31,
589,
749,
20,
18161,
21,
7167,
13489,
68,
2804,
2968,
29,
20059,
118,
728,
8190,
93,
118,
6881,
7522,
9,
14,
64,
2804,
2968,
25,
2367... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Qt-fy existing enum to use with Qt metadata
===
Let's assume I have an existing enum X { A, B } and want to use it with Qt metadata such as `QMetaObject` / `QMetaEnum`.
QMetaObject meta = FsxSimConnectQtfier::staticMetaObject;
for (int i=0; i < meta.enumeratorCount(); ++i) {
QMetaEnum m = meta.enu... | 0 | [
2,
2593,
38,
8,
9596,
3149,
1957,
723,
20,
275,
29,
2593,
38,
28057,
800,
3726,
3726,
408,
22,
18,
7158,
31,
57,
40,
3149,
1957,
723,
993,
13,
1,
21,
15,
334,
13,
1,
17,
259,
20,
275,
32,
29,
2593,
38,
28057,
145,
28,
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... |
Can't access port 80 over the public IP
===
I have an ubuntu box at a local IP behind an Arris router from my ISP. I've setup port forwarding on the router for port 80 such that it forwards TCP/UPD to the local IP of the ubuntu box.
However, I cannot telnet using the public IP, and I can't access apache's welcom... | 0 | [
2,
92,
22,
38,
1381,
1295,
2972,
84,
14,
317,
15735,
800,
3726,
3726,
31,
57,
40,
287,
12968,
2473,
1649,
35,
21,
375,
15735,
439,
40,
13,
14595,
18,
858,
139,
37,
51,
25,
306,
9,
31,
22,
195,
18161,
1295,
917,
68,
27,
14,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 default code error
===
I am new to android development I have installed SDK in netbeans 7.1.1 .
This is the default code which gets generated when i create a new android project in netbeans
package android.bug;
import android.app.Activity;
import android.os.Bundle;
public class... | 0 | [
2,
13005,
12838,
1797,
7019,
800,
3726,
3726,
31,
589,
78,
20,
13005,
522,
31,
57,
4066,
13,
18,
43,
197,
19,
4275,
863,
5950,
453,
9,
165,
9,
165,
13,
9,
48,
25,
14,
12838,
1797,
56,
3049,
6756,
76,
31,
1600,
21,
78,
13005,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I switch activity with tab action bar?
===
I have some different activities with different layout, and I use an action bar in Tab mode. So I would pass from an activity to another when I select a tab in action bar.
How can i do?? Have you any suggest??
I would someting as:
In <code>ActionBar.TabListener <... | 0 | [
2,
92,
31,
5521,
2358,
29,
6523,
1028,
748,
60,
800,
3726,
3726,
31,
57,
109,
421,
1648,
29,
421,
9106,
15,
17,
31,
275,
40,
1028,
748,
19,
6523,
3740,
9,
86,
31,
83,
1477,
37,
40,
2358,
20,
226,
76,
31,
5407,
21,
6523,
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... |
tastypie accessing data from non pk field
===
i tryed this example from tastypie cookbook
[Tastypie Cookbook][1]
[1]: http://django-tastypie.readthedocs.org/en/latest/cookbook.html#using-non-pk-data-for-your-urls
by adding this code to access user Resource from the username rather than the id
#myapp... | 3 | [
2,
12892,
1084,
9903,
1381,
68,
1054,
37,
538,
13,
17244,
575,
800,
3726,
3726,
31,
1131,
69,
48,
823,
37,
12892,
1084,
9903,
27526,
636,
536,
9433,
9903,
27526,
500,
2558,
165,
500,
636,
165,
500,
45,
7775,
6903,
14365,
14541,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Move model forward reletive to his rotation XNA
===
How can I move model (in 3D space) forward reletivly to his rotation?
For example:
rotation = new Vector3(0, MathHelper.ToRadians(90), 0);
obj.Move(Vector3.Forward);
The function move has to move the object one unit to the left instade of one unit for... | 0 | [
2,
780,
1061,
917,
302,
1336,
1284,
20,
33,
9431,
993,
325,
800,
3726,
3726,
184,
92,
31,
780,
1061,
13,
5,
108,
203,
43,
726,
6,
917,
302,
1336,
3757,
102,
20,
33,
9431,
60,
26,
823,
45,
9431,
800,
78,
7497,
240,
5,
387,
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... |
Interactive SVG in html, the right way
===
I need to include a SVG image(a map) in my html doc, and hopefully I can use JQuery to manipulate it. I looked this up on the Internet and some say you can't manipulate the SVG directly. Some suggested the JQuery SVG plugin by Keith Wood, but I can't open that [link][1]. Her... | 0 | [
2,
9194,
13,
18,
22955,
19,
13,
15895,
15,
14,
193,
161,
800,
3726,
3726,
31,
376,
20,
468,
21,
13,
18,
22955,
1961,
5,
58,
2942,
6,
19,
51,
13,
15895,
9765,
15,
17,
13416,
31,
92,
275,
487,
8190,
93,
20,
18468,
32,
9,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Save and load tweets using twitter4j
===
I want to write an Android app that gets tweets using twitter4j. I want to make the app save the downloaded tweets (for example in a database) and make the timeline appear when the app is started without internet connection or before the timeline was downloaded.
This functiona... | 0 | [
2,
2079,
17,
6305,
20224,
18,
568,
10623,
300,
728,
800,
3726,
3726,
31,
259,
20,
2757,
40,
13005,
4865,
30,
3049,
20224,
18,
568,
10623,
300,
728,
9,
31,
259,
20,
233,
14,
4865,
2079,
14,
23887,
20224,
18,
13,
5,
1106,
823,
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... |
Long run stored procedure by windows service asp.net
===
I have five stored procedure,Each sp will take around more then one hour,am just running these sp using continuously by creating windows service,When run the service after one hour i got error related to connection
My connection string given below..i am usin... | 0 | [
2,
175,
485,
8214,
7004,
34,
1936,
365,
28,
306,
9,
2328,
800,
3726,
3726,
31,
57,
355,
8214,
7004,
15,
14322,
3782,
129,
247,
140,
91,
94,
53,
1671,
15,
765,
114,
946,
158,
3782,
568,
11738,
34,
2936,
1936,
365,
15,
3185,
485,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Openerp sxw report
===
Can someone tell me how to stop openerp6.1 from taking the rml file from database table
ir_act_report_xml and make it use rml in sale/report/sale_order.rml
Thanks in advance
- Usha | 0 | [
2,
19597,
306,
13,
18,
396,
499,
1330,
800,
3726,
3726,
92,
737,
494,
55,
184,
20,
747,
19597,
306,
379,
9,
165,
37,
741,
14,
761,
8184,
3893,
37,
6018,
859,
13,
1523,
1,
5183,
1,
17437,
1,
396,
8184,
17,
233,
32,
275,
761,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
starting java class and class path wildcards
===
I'm trying to start java class from commad line (Java 7.0, Windows XP). Class is packaged to jar and deployed to execution environment with other jars needed for execution. Not to be verbouse I'm trying to user wildcard. Next code is not working for me
java -cp ..... | 0 | [
2,
1422,
8247,
718,
17,
718,
2013,
23003,
18,
800,
3726,
3726,
31,
22,
79,
749,
20,
799,
8247,
718,
37,
11951,
1283,
293,
13,
5,
1004,
1385,
453,
9,
387,
15,
1936,
23045,
6,
9,
718,
25,
6030,
43,
20,
5112,
17,
6698,
20,
5769,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Async Task data being inserted multiple times. Android
===
I am trying to insert messages by the user to the xml file database.
My client is on android and server on php.Php is responsible for inserting data in xml.
User writes his message in the textbox and press submit the text is inserted in the listview one ... | 0 | [
2,
21,
9507,
150,
3005,
1054,
142,
14215,
1886,
436,
9,
13005,
800,
3726,
3726,
31,
589,
749,
20,
14692,
7561,
34,
14,
4155,
20,
14,
23504,
3893,
6018,
9,
51,
6819,
25,
27,
13005,
17,
8128,
27,
13,
26120,
9,
26120,
25,
1864,
26,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Warning: Division By Zero Working on PHP and MySQL
===
I am doing a calculation with an array which is drawn from mysql and the problem is "division by zero" warning
I am running a loop over this statment
$v = (($v - $valuei)/($valuei) * '100');
Here $v is is changing (let's say from 100 to 150 e.g 100,... | 0 | [
2,
3590,
45,
460,
34,
4606,
638,
27,
13,
26120,
17,
51,
18,
22402,
800,
3726,
3726,
31,
589,
845,
21,
19644,
29,
40,
7718,
56,
25,
3160,
37,
51,
18,
22402,
17,
14,
1448,
25,
13,
7,
17557,
34,
4606,
7,
3590,
31,
589,
946,
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... |
Auto generate comments for functions in eclipse CDT
===
I am using eclipse Juno with CDT. I have written a function in a cpp file and I want to add comments for the function. Does CDT supports Auto generate comments by "typing /** then press enter"? In my case the auto generated comments are only as follows.
/**
... | 0 | [
2,
3108,
7920,
7534,
26,
3719,
19,
11652,
1745,
38,
800,
3726,
3726,
31,
589,
568,
11652,
21715,
29,
1745,
38,
9,
31,
57,
642,
21,
1990,
19,
21,
272,
3421,
3893,
17,
31,
259,
20,
3547,
7534,
26,
14,
1990,
9,
630,
1745,
38,
674... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Simple Java Server/Client not working?
===
I have a basic Server and a Client coded in Java. It's a code I saw on the internet and modified a bit to suit my needs. Now the thing is, I'm basically sending a message from the client to the server. This message would be "hello there". The server checks port 6789 for a mes... | 0 | [
2,
1935,
8247,
8128,
118,
150,
18513,
38,
52,
638,
60,
800,
3726,
3726,
31,
57,
21,
2125,
8128,
17,
21,
6819,
13,
22254,
19,
8247,
9,
32,
22,
18,
21,
1797,
31,
441,
27,
14,
2620,
17,
5372,
21,
1142,
20,
2961,
51,
2274,
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... |
ArrayAdapter replaces list rather than update ListView
===
I hope someone can help.
I have a Food Menu app. When the user opens the app they are presented with a list of food categories such as "Main Course". I am pulling this list from the Strings.xml file with string-array. When a category is selected it opens a... | 0 | [
2,
7718,
27576,
106,
3934,
18,
968,
864,
119,
11100,
968,
4725,
800,
3726,
3726,
31,
1376,
737,
92,
448,
9,
31,
57,
21,
950,
11379,
4865,
9,
76,
14,
4155,
8965,
14,
4865,
59,
50,
1831,
29,
21,
968,
16,
950,
6422,
145,
28,
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... |
OpenCV functions errors in iOS
===
I'm try to write application for iOS using openCV. When I'm using code from the examples (for example squares.c) and adopt it to my interface all is good. But when I'm try to add some functions for testing strange errors occurred. For example:
const cv::Point* p = &squares[j][... | 0 | [
2,
368,
12732,
3719,
11908,
19,
13,
7760,
800,
3726,
3726,
31,
22,
79,
1131,
20,
2757,
3010,
26,
13,
7760,
568,
368,
12732,
9,
76,
31,
22,
79,
568,
1797,
37,
14,
3770,
13,
5,
1106,
823,
735,
18,
9,
150,
6,
17,
9512,
32,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP DOM: getElementsByTagName Returns all nodes with this name (although I'm inside a specific tag)
===
Im looking for an answer for DAYS! and I haven't found any.. :(
here is my XML sample:
<?xml version="1.0" encoding="UTF-8"?>
<Businesses>
<Business NAME="Bus1">
<DEAL ID="2">
<title>My f... | 0 | [
2,
13,
26120,
11859,
45,
164,
27567,
18,
779,
8628,
7259,
4815,
65,
16272,
29,
48,
204,
13,
5,
8655,
31,
22,
79,
572,
21,
1903,
3383,
6,
800,
3726,
3726,
797,
699,
26,
40,
1623,
26,
509,
187,
17,
31,
2933,
22,
38,
216,
186,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Applying a set of consecutive regular expressions to multiple files (emacs)
===
I am working on a project that converts a few dozen html files into text files, and have composed the replace-regexp formulae that do the job. The question is, how to apply all six of them consecutively, and then to do so to each of the do... | 0 | [
2,
11989,
21,
309,
16,
4195,
1290,
13832,
20,
1886,
6488,
13,
5,
62,
6893,
18,
6,
800,
3726,
3726,
31,
589,
638,
27,
21,
669,
30,
8406,
18,
21,
310,
5550,
13,
15895,
6488,
77,
1854,
6488,
15,
17,
57,
1869,
14,
3934,
8,
12463,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 access data from structure of another class?
===
I've created structure and want to access data from it in another class. So, I've created property but got an error "Property dfi not found on object of type File". What I'm doing wrong?
//File.h
typedef struct
{
double *data;
... | 0 | [
2,
184,
107,
31,
1381,
1054,
37,
1411,
16,
226,
718,
60,
800,
3726,
3726,
31,
22,
195,
679,
1411,
17,
259,
20,
1381,
1054,
37,
32,
19,
226,
718,
9,
86,
15,
31,
22,
195,
679,
1354,
47,
330,
40,
7019,
13,
7,
10890,
106,
1084,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iOS board game architecture
===
I'm about to port my Five-in-a-row client to the iOS platform. Originally I've designed it in Java. There are 15*15 fields that need to be displayed. On the PC I represent fields with individual objects which only responsible for themselves (event handling, etc...). I'm not sure if it's... | 0 | [
2,
13,
7760,
686,
250,
2607,
800,
3726,
3726,
31,
22,
79,
88,
20,
1295,
51,
355,
8,
108,
8,
58,
8,
5417,
6819,
20,
14,
13,
7760,
2452,
9,
912,
31,
22,
195,
1006,
32,
19,
8247,
9,
80,
50,
357,
2483,
1193,
2861,
30,
376,
20,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
(Answered) Calculated Offset Percentages for Fluid Row in Bootstrap
===
not so much a question as an answer to other questions about Twitter Bootstrap's current (v2.0.4) lack of Offset Percentage margins when using Fluid rows. I spent one night with Excel and came up with the following CSS:
/* ---------- Star... | 0 | [
2,
13,
5,
5950,
4662,
69,
6,
10785,
17493,
5780,
18,
26,
6250,
3131,
19,
5894,
16514,
800,
3726,
3726,
52,
86,
212,
21,
1301,
28,
40,
1623,
20,
89,
2346,
88,
10623,
5894,
16514,
22,
18,
866,
13,
5,
710,
135,
9,
387,
9,
300,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# SQLite Optimization
===
I'm currently thinking of using SQLite as db engine for my C# project, but i ran into the following problem: i can't find any api for memory storage. What i want to achieve is the following:
Upon start of the program i want to load the db file (from HDD) into memory.
During execution of ... | 0 | [
2,
272,
5910,
4444,
10601,
21597,
800,
3726,
3726,
31,
22,
79,
871,
1440,
16,
568,
4444,
10601,
28,
13,
9007,
1406,
26,
51,
272,
5910,
669,
15,
47,
31,
717,
77,
14,
249,
1448,
45,
31,
92,
22,
38,
477,
186,
21,
2159,
26,
1912,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Lack of 'required' fields in form suggests I am not correctly associating models
===
I'm having trouble validating an input form and saving the data from that form. I suspect that perhaps these are both caused by an association problem, though I am not sure.
I'm using CakePHP 2.2.0 RC2.
I have three models: Use... | 0 | [
2,
1792,
16,
13,
22,
99,
3003,
2095,
22,
2861,
19,
505,
5049,
31,
589,
52,
12044,
28,
18,
16325,
1880,
2761,
800,
3726,
3726,
31,
22,
79,
452,
2572,
7394,
1880,
40,
6367,
505,
17,
7599,
14,
1054,
37,
30,
505,
9,
31,
7551,
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... |
PHP - Performance when executing tasks in exe with php vs same task in php
===
Is this performance effective (on a Windows Server) to execute tasks in .exe lauched by a php script?
I'm a C# .Net coder and find it way more faster/easier to code directly in C# my backend SQL and 3rd party API functions that requires... | 4 | [
2,
13,
26120,
13,
8,
956,
76,
25836,
8674,
19,
1396,
62,
29,
13,
26120,
4611,
205,
3005,
19,
13,
26120,
800,
3726,
3726,
25,
48,
956,
3140,
13,
5,
218,
21,
1936,
8128,
6,
20,
15644,
8674,
19,
13,
9,
1706,
62,
7164,
6261,
34,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Spring component-scan not working? Mapped URL returns 404
===
I am creating a Spring MVC webapp and I like to use automatic discovery of components such as controllers.
In my application-context file I put the following tag
<context:component-scan base-package="com.example" />
There is a controller presen... | 0 | [
2,
1573,
5912,
8,
18,
1245,
52,
638,
60,
20877,
287,
6362,
4815,
13,
23397,
800,
3726,
3726,
31,
589,
2936,
21,
1573,
307,
8990,
2741,
7753,
17,
31,
101,
20,
275,
6715,
4291,
16,
5090,
145,
28,
9919,
18,
9,
19,
51,
3010,
8,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Magento, price does not refresh to the correct group pricing when create a new order from admin
===
I have just installed Magento CE1.7 and I'm having problem seeing the correct price when creating orders directly from the admin panel.Here is what happens.
When I create a new order from admin panel without selectin... | 0 | [
2,
4723,
17050,
15,
2162,
630,
52,
24905,
20,
14,
4456,
214,
24318,
76,
1600,
21,
78,
389,
37,
21,
43,
2160,
800,
3726,
3726,
31,
57,
114,
4066,
4723,
17050,
4000,
165,
9,
465,
17,
31,
22,
79,
452,
1448,
2078,
14,
4456,
2162,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Browser sizing Ctrl +/- :: How to manipulate settings?
===
Explanation: In all browsers we are able to re-size the content with Ctrl+ or Ctrl- (in Windows) don't know about macs.
My site is built with CSS on a fluid layout, however I find that for my design the content looks best at 2 (times) * Ctrl +
**Questi... | 0 | [
2,
16495,
13,
18,
3335,
13,
4812,
6362,
2754,
118,
8,
13,
45,
45,
184,
20,
18468,
12410,
60,
800,
3726,
3726,
5764,
45,
19,
65,
16495,
18,
95,
50,
777,
20,
302,
8,
10454,
14,
2331,
29,
13,
4812,
6362,
2430,
54,
13,
4812,
6362,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Sending notifications for website users signed via Facebook or Twitter. How?
===
Let's imagine that we have ecommerce website that suggests 3 way for user registration:
- regular email
- via facebook
- via twitter
Now let's imagine that we have user signed via facebook/twitter account and we need send him n... | 0 | [
2,
4907,
52,
4634,
18,
26,
2271,
3878,
908,
1197,
9090,
54,
10623,
9,
184,
60,
800,
3726,
3726,
408,
22,
18,
4382,
30,
95,
57,
13,
62,
26470,
2271,
30,
5049,
203,
161,
26,
4155,
8587,
45,
13,
8,
1290,
8517,
13,
8,
1197,
9090,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 install .net sp1 on server 2008 R2?
===
I have a 2008 Server R2 standard 64 bit with .net 3.5 already enabled in the feature role. I am attempting to add features to SQL 2008 R2 installed on the same machine, which require .net 3.5 SP1, however, when I attempt to install 3.5 sp1, I get an error message "you mus... | 0 | [
2,
184,
20,
16146,
13,
9,
2328,
3782,
165,
27,
8128,
570,
761,
135,
60,
800,
3726,
3726,
31,
57,
21,
570,
8128,
761,
135,
1236,
4384,
1142,
29,
13,
9,
2328,
203,
9,
264,
614,
9338,
19,
14,
1580,
597,
9,
31,
589,
6314,
20,
35... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
onClick function call using scriptlet code
===
i want to add a button when i click it the date should be displayed but the button doesn't work .
my servlet:
package test.servlets;
import java.io.*;
import javax.servlet.*;
public class FunctionalTestServlet extends HttpServlet
... | 0 | [
2,
27,
150,
10129,
1990,
645,
568,
3884,
1336,
1797,
800,
3726,
3726,
31,
259,
20,
3547,
21,
5167,
76,
31,
10840,
32,
14,
1231,
378,
44,
6115,
47,
14,
5167,
1437,
22,
38,
170,
13,
9,
51,
13,
10321,
1336,
45,
6030,
1289,
9,
103... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
getting javascript form content with python
===
I am a novice python programmer and I am having troubles finding a tool to help me get a form from a javascript. I have written a small script in python and also have a simple interface done in javascript. The user needs to select a few items in the browser and the javas... | 0 | [
2,
1017,
8247,
8741,
505,
2331,
29,
20059,
800,
3726,
3726,
31,
589,
21,
21999,
20059,
17968,
17,
31,
589,
452,
16615,
3007,
21,
5607,
20,
448,
55,
164,
21,
505,
37,
21,
8247,
8741,
9,
31,
57,
642,
21,
284,
3884,
19,
20059,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AFNetworking and asynchronous data inside block
===
My code:
-(void)addressLocation:(NSArray *)inputData {
NSString *plusAddress = [[inputData objectAtIndex:0] stringByReplacingOccurrencesOfString:@" " withString:@"+"];
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"http://maps.google... | 0 | [
2,
13,
2565,
24106,
68,
17,
21,
16023,
1291,
1054,
572,
1921,
800,
3726,
3726,
51,
1797,
45,
13,
8,
5,
2625,
1340,
6,
27950,
19032,
45,
5,
103,
4964,
2787,
1637,
6,
108,
4881,
18768,
13,
1,
13,
2172,
11130,
1637,
13349,
27950,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
r - ggplot2 - highlighting selected points and strange behavior
===
I want to highlight selected points and encountered some strange behaviour:
a <- 1:50
b <- rnorm(50)
mydata <- data.frame(a=a,b=b)
ggplot(mydata,aes(x=a,y=b)) + geom_point()
Nothing special until here. Now, my approach to high... | 0 | [
2,
761,
13,
8,
13,
4572,
13221,
38,
135,
13,
8,
23102,
1704,
819,
17,
2578,
3257,
800,
3726,
3726,
31,
259,
20,
14373,
1704,
819,
17,
8208,
109,
2578,
7727,
45,
21,
13,
1,
8,
137,
18126,
334,
13,
1,
8,
761,
4747,
79,
5,
2290... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
iOS - Orientation change - Optical illusion or element moving?
===
I'm wondering about the dynamic animation in iOS when I turn the orientation. E.g. on my iPad, the animation looks very "true" in the menu. The elements (apps, folders, docks, background image, status bar, ...) seem to slide to the right place in a per... | 0 | [
2,
13,
7760,
13,
8,
10245,
753,
13,
8,
9445,
10560,
54,
4520,
1219,
60,
800,
3726,
3726,
31,
22,
79,
5712,
88,
14,
7782,
6236,
19,
13,
7760,
76,
31,
805,
14,
10245,
9,
13,
62,
9,
263,
9,
27,
51,
31,
8240,
15,
14,
6236,
187... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 extend the facebook app aceess token that is going to be invalid very soon?
===
We have business clients who use our apps to market their products.
So everytime new customers come we ask them to install our app. They follow facebook standard procedures to install apps.
Our apps are based on server based au... | 0 | [
2,
184,
20,
7206,
14,
9090,
4865,
7878,
160,
18,
20,
2853,
30,
25,
228,
20,
44,
16671,
253,
651,
60,
800,
3726,
3726,
95,
57,
508,
7421,
72,
275,
318,
4865,
18,
20,
1135,
66,
1985,
9,
86,
352,
891,
78,
5279,
340,
95,
1349,
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... |
Migrating data from Many-To-Many to Many-To-Many through in django
===
I've got a model
class Category(models.Model):
title = models.CharField(max_length=1024,null=True,blank=True)
entry = models.ManyToManyField(Entry,null=True,blank=True,
... | 0 | [
2,
28749,
1054,
37,
151,
8,
262,
8,
14842,
20,
151,
8,
262,
8,
14842,
120,
19,
3857,
14541,
800,
3726,
3726,
31,
22,
195,
330,
21,
1061,
718,
3230,
5,
13998,
18,
9,
13998,
6,
45,
581,
800,
2761,
9,
5433,
1109,
5,
8304,
1,
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... |
How Do I properly use NSString sizeWithFont constratinedToSize
===
I've gone over what feels like every post about this method on SO.
And a lot of the posters answers are to just put a really large value as the height constraint.
However, for me this is not working. This is my code:
//Create the contentLabe... | 0 | [
2,
184,
107,
31,
7428,
275,
13,
2172,
11130,
1072,
1410,
21931,
1065,
5253,
2864,
69,
262,
10454,
800,
3726,
3726,
31,
22,
195,
1042,
84,
98,
5121,
101,
352,
678,
88,
48,
2109,
27,
86,
9,
17,
21,
865,
16,
14,
17771,
6709,
50,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# LINQ - convert nested dictionary to a list
===
Need some help, please, i got in fight with linq and I lost :(
How do I flatten a nested dictionary into a list of some objects (SomeObject in the following example) which should hold keys of those dictionaries?
For example: let's have a dictionary of the followi... | 0 | [
2,
272,
5910,
6294,
1251,
13,
8,
8406,
5618,
69,
9186,
20,
21,
968,
800,
3726,
3726,
376,
109,
448,
15,
2247,
15,
31,
330,
19,
1074,
29,
6294,
1251,
17,
31,
529,
13,
45,
5,
184,
107,
31,
1844,
1316,
21,
5618,
69,
9186,
77,
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... |
Nested Unordered Menu clicks on Ipad
===
I have a nested menu list like below. I was wondering if there is a way to get touchscreens to display the drop down menu without following the main menu item:
<ul>
<li><a href="">Main Menu Item</a>
<ul>
<li><a href="">Sub Menu Item</a></li>
</ul>
</li>
</ul> | 0 | [
2,
5618,
69,
367,
7861,
69,
11379,
10840,
18,
27,
31,
8240,
800,
3726,
3726,
31,
57,
21,
5618,
69,
11379,
968,
101,
1021,
9,
31,
23,
5712,
100,
80,
25,
21,
161,
20,
164,
1723,
7187,
18,
20,
3042,
14,
2804,
125,
11379,
366,
249... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 move a page 50px down, without having side effects
===
I'm developing some kind of website builder project, where I can put the page into a edit mode. Then the content moves 50px down and display the "edit bar". Well sounds easy BUT
- The background didn't move down ( fixed with background-position-y: 550px... | 0 | [
2,
184,
20,
780,
21,
2478,
1222,
306,
396,
125,
15,
366,
452,
270,
2292,
800,
3726,
3726,
31,
22,
79,
3561,
109,
825,
16,
2271,
14960,
669,
15,
113,
31,
92,
442,
14,
2478,
77,
21,
9392,
3740,
9,
94,
14,
2331,
4927,
1222,
306,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 detect if a tumblr user is logged in?
===
I'm writing a theme and wanted to display content only to the admin of the blog, but I don't know how to detect if the admin is logged in.
I did notice that at the bottom of the HTML, right before the closing body tag there is this code:
<iframe src="http://as... | 0 | [
2,
184,
20,
9092,
100,
21,
13,
5633,
6287,
139,
4155,
25,
13,
19287,
19,
60,
800,
3726,
3726,
31,
22,
79,
1174,
21,
3184,
17,
417,
20,
3042,
2331,
104,
20,
14,
21,
43,
2160,
16,
14,
8146,
15,
47,
31,
221,
22,
38,
143,
184,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
firing a click event for a child control
===
my code is the following :
<li><span>..</span>
<input type="button" id="clickme" Value="click ME" />
</li>
My question is how can i fire the click event of the input child of li ( the button ) automaticaly using jquery | 0 | [
2,
7139,
21,
10840,
807,
26,
21,
850,
569,
800,
3726,
3726,
51,
1797,
25,
14,
249,
13,
45,
13,
1,
1210,
1,
18,
3206,
1,
9,
9,
1,
118,
18,
3206,
1,
13,
1,
108,
4881,
1001,
3726,
7,
811,
444,
7,
4924,
3726,
7,
150,
10129,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Do we have to use mysql_real_escape_string() while working with sessions?
===
Please look at the codes below:
$username = $_POST['username'];
$_SESSION['user_name'] = $username;
Do I have to use `mysql_real_escape_string()` function while I'm setting `$username` value too? Is there any threat here if ... | 0 | [
2,
107,
95,
57,
20,
275,
51,
18,
22402,
1,
7467,
1,
62,
13109,
1,
11130,
5,
6,
133,
638,
29,
5763,
60,
800,
3726,
3726,
2247,
361,
35,
14,
11358,
1021,
45,
5579,
16704,
7259,
800,
5579,
1,
6962,
2558,
22,
16704,
7259,
22,
1266... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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 edit the devexpress cheked listbox
===
'protected void lxtBoxCarrier_DataBound(object sender, EventArgs e)
{
var lxtBoxCarrier = (ASPxListBox)sender;
var ds = BusinessLogic.GetCarrier_DriverDetails();
if (ds.Tables.Count > 0)
{
lxtBoxCarrier.DataSour... | 0 | [
2,
184,
20,
9392,
14,
9664,
21230,
4982,
4616,
968,
5309,
800,
3726,
3726,
13,
22,
16265,
69,
11364,
13,
24560,
38,
5309,
1367,
10574,
1,
18768,
7410,
5,
23793,
2660,
106,
15,
807,
10663,
18,
13,
62,
6,
13,
1,
4033,
13,
24560,
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... |
PHP 5:How can I extand a file in a higher directory?
===
first timer here.
I'm writing a script to convert namespaces and class names to meet current standards i.e.:
// original
namespace oldNS;
class foo_bar_baz_someClass extends topLvlFile {
// revised
class someClass extends topLvlFile {
namespa... | 0 | [
2,
13,
26120,
7040,
1544,
92,
31,
1396,
38,
290,
21,
3893,
19,
21,
1184,
16755,
60,
800,
3726,
3726,
64,
85,
139,
235,
9,
31,
22,
79,
1174,
21,
3884,
20,
8406,
204,
5582,
18,
17,
718,
1817,
20,
1255,
866,
3364,
31,
9,
62,
9,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I perform "mysqldump" from within Python?
===
I would like to copy the contents of a MySQL database from one server to another using a third server. This could be done from the shell prompt using this:
mysqldump --host=hostname1 --user=username --password="mypwd" acme | mysql --host=hostname2 --user=use... | 0 | [
2,
184,
107,
31,
2985,
13,
7,
915,
18,
22402,
43,
11134,
7,
37,
363,
20059,
60,
800,
3726,
3726,
31,
83,
101,
20,
4344,
14,
8478,
16,
21,
51,
18,
22402,
6018,
37,
53,
8128,
20,
226,
568,
21,
422,
8128,
9,
48,
110,
44,
677,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
iFrame wont size correctly
===
I am trying to put this live video in my public access channels website. This is the embedding that they (att-uverse) sent me. The problem is that it doesn't show the controls, but has white space above the video around the size that the controls should be.
<iframe src="http://vid... | 0 | [
2,
31,
8361,
7290,
1072,
12044,
800,
3726,
3726,
31,
589,
749,
20,
442,
48,
515,
763,
19,
51,
317,
1381,
6328,
2271,
9,
48,
25,
14,
11911,
69,
3258,
30,
59,
13,
5,
10303,
8,
291,
9453,
6,
795,
55,
9,
14,
1448,
25,
30,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Least code to convert one object to anothe for both single object and List<object>?
===
I need to convert one object to another...in both cases of a single instance of the object as well as corresponding Lists of those objects. I'd rather not have to perform the same mappings in 2 places. Here is what I mean:
This co... | 0 | [
2,
639,
1797,
20,
8406,
53,
3095,
20,
21,
251,
124,
26,
156,
345,
3095,
17,
968,
1,
23793,
1,
60,
800,
3726,
3726,
31,
376,
20,
8406,
53,
3095,
20,
226,
9,
9,
9,
108,
156,
1871,
16,
21,
345,
4851,
16,
14,
3095,
28,
134,
28... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Date_format - php
===
When I try to format the date of a datetime field in my mysql db, and echos' the result, like this:
echo $result["date"];
but yet it says for example, 2012-01-03 10:27:53
my script looks like this:
DATE_FORMAT(date, '%a, %b, &Y')
and it should then say 01, 03, 2012 (or s... | 0 | [
2,
1231,
1,
23588,
13,
8,
13,
26120,
800,
3726,
3726,
76,
31,
1131,
20,
2595,
14,
1231,
16,
21,
1231,
891,
575,
19,
51,
51,
18,
22402,
13,
9007,
15,
17,
8117,
18,
22,
14,
829,
15,
101,
48,
45,
8117,
5579,
29955,
2558,
7,
820... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Selecting text in a WebView and capture the spans
===
My question pretty much speaks for itself. I want to be able to not only capture the text when selecting text in a WebView, but I also want to capture the spans surrounding the text. Is there any way to do this natively? | 0 | [
2,
20764,
1854,
19,
21,
2741,
4725,
17,
3683,
14,
16967,
800,
3726,
3726,
51,
1301,
1772,
212,
9381,
26,
1145,
9,
31,
259,
20,
44,
777,
20,
52,
104,
3683,
14,
1854,
76,
20764,
1854,
19,
21,
2741,
4725,
15,
47,
31,
67,
259,
20,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's the simplest "unused" code that won't be optimized out?
===
Very frequently, I want to test the value of a variable in a function via a breakpoint. In many cases, that variable never actually gets referenced by any code that "does stuff", but that doesn't mean I don't still want to see it. Unfortunately, the ... | 0 | [
2,
98,
22,
18,
14,
24384,
13,
7,
1020,
8795,
7,
1797,
30,
230,
22,
38,
44,
22864,
43,
70,
60,
800,
3726,
3726,
253,
3086,
15,
31,
259,
20,
1289,
14,
1923,
16,
21,
7612,
19,
21,
1990,
1197,
21,
1442,
3132,
9,
19,
151,
1871,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Split id and add to array
===
I have to split off the last two characters of an ID, the id may vary in length. example 56427R1 and R00220P3. Once the last two characters are split off, I need to add the first set of characters and the last two characters to an ArrayList. Thanks in advance. | 0 | [
2,
2132,
4924,
17,
3547,
20,
7718,
800,
3726,
3726,
31,
57,
20,
2132,
168,
14,
236,
81,
1766,
16,
40,
4924,
15,
14,
4924,
123,
7392,
19,
1476,
9,
823,
331,
3470,
2567,
139,
165,
17,
761,
2032,
18411,
306,
240,
9,
382,
14,
236,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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... |
Dealing with float precision in javascript
===
Suppose for I have a large amount of numeric values `y`, and I want to group them by rounding them down to the nearest multiple of `x` and convert the result to a string. How do I get around the annoying floating point precision? Two things I have tried:
>>> y = 1.... | 0 | [
2,
5746,
29,
11510,
13133,
19,
8247,
8741,
800,
3726,
3726,
5787,
26,
31,
57,
21,
370,
2006,
16,
15764,
596,
4070,
13,
1,
93,
1,
15,
17,
31,
259,
20,
214,
105,
34,
560,
68,
105,
125,
20,
14,
6557,
1886,
16,
13,
1,
396,
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... |
encoding issue using php and mysql, wordpress
===
I have the following text which I manually enter into the wordpress posts table
&#226;€š
I encode into utf-8 using:
$text = "&#226;€š";
$enc = mb_detect_encoding($text, "UTF-8,ISO-8859-1");
$hotelDescription = ... | 0 | [
2,
19608,
1513,
568,
13,
26120,
17,
51,
18,
22402,
15,
833,
5890,
800,
3726,
3726,
31,
57,
14,
249,
1854,
56,
31,
23671,
2830,
77,
14,
833,
5890,
9868,
859,
279,
10158,
73,
5910,
20271,
73,
1569,
5910,
4736,
3470,
73,
1569,
5910,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
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.