unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Multiple vertically scrolling UIScrollViews in a horizontal UIScrollView
===
I'm developing an app, where I have one horizontally scrollable UIScrollView fullscreen with pagination that contains multiple (let's say 3) vertically scrollable UIScrollViews, each also fullscreen. They're positioned without margins, the le... | 0 | [
2,
1886,
23300,
13,
28166,
13,
5661,
3862,
8694,
4725,
18,
19,
21,
10095,
13,
5661,
3862,
8694,
4725,
800,
3726,
3726,
31,
22,
79,
3561,
40,
4865,
15,
113,
31,
57,
53,
25658,
12159,
579,
13,
5661,
3862,
8694,
4725,
503,
7187,
29,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Traversing two-dimensional array, using 'in array'
===
I'm traversing through a two-dimensional array like this:
for (menuViewController *aSelection in mainDataArray) {
...
}
However, how do I access the lower arrays' data?
This following code doesn't work, but gives you the idea of what I mean:
... | 0 | [
2,
19501,
68,
81,
8,
7865,
7718,
15,
568,
13,
22,
108,
7718,
22,
800,
3726,
3726,
31,
22,
79,
19501,
68,
120,
21,
81,
8,
7865,
7718,
101,
48,
45,
26,
13,
5,
755,
291,
4725,
12898,
1252,
1637,
472,
5033,
19,
407,
18768,
8576,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Trying to process duplicate activerecord results
===
I was trying to write a method in ruby that could:
1) Query through and find all of the duplicates in our db that meet a certain criteria (first name, last_name, account_id, and title all match)
2) Iterate through them and combine the contents of a field called ... | 0 | [
2,
749,
20,
953,
19429,
1348,
14953,
1736,
800,
3726,
3726,
31,
23,
749,
20,
2757,
21,
2109,
19,
10811,
30,
110,
45,
137,
6,
25597,
120,
17,
477,
65,
16,
14,
19429,
18,
19,
318,
13,
9007,
30,
1255,
21,
1200,
9157,
13,
5,
3552,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Estimate width of GtkMenu before showing (for a RTL locale application)
===
I have a PyGTK application which supports Persian/Arabic locales which are RTL (right to left), So that I need to show every menu (not in menu bar) in the right side of the pointer (not left side as in RTL locales). And to do that I need to kn... | 0 | [
2,
10243,
9456,
16,
9509,
197,
755,
291,
115,
3187,
13,
5,
1106,
21,
761,
7786,
375,
62,
3010,
6,
800,
3726,
3726,
31,
57,
21,
13,
28860,
38,
197,
3010,
56,
6747,
6980,
118,
9812,
375,
160,
56,
50,
761,
7786,
13,
5,
4183,
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... |
Return calendar event details in an array
===
I have a calendar in which if the user selects the date and it takes him to an event details page. On the event details page the data is displayed in a tabular format. So far so good. The problem is how to set the details of the event in the eventDetails function and retur... | 0 | [
2,
788,
7036,
807,
3289,
19,
40,
7718,
800,
3726,
3726,
31,
57,
21,
7036,
19,
56,
100,
14,
4155,
5407,
18,
14,
1231,
17,
32,
1384,
61,
20,
40,
807,
3289,
2478,
9,
27,
14,
807,
3289,
2478,
14,
1054,
25,
6115,
19,
21,
6523,
74... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 global variables multiple declaration
===
I am including a .h file with a global boost signal in a the header file of a class which is, in turn included in the main function's file. The linker says the signal is declare multiple times. The signal declaration is wrapped in the #ifndef, #define and #endif block typica... | 0 | [
2,
272,
2062,
12157,
1886,
7098,
800,
3726,
3726,
31,
589,
215,
21,
13,
9,
252,
3893,
29,
21,
2062,
10419,
2800,
19,
21,
14,
157,
106,
3893,
16,
21,
718,
56,
25,
15,
19,
805,
506,
19,
14,
407,
1990,
22,
18,
3893,
9,
14,
3508... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Multiselect table view controller items for email attachment
===
Here is my XCode 4.3.2 problem... I have a table displaying multi-select NSArray data in a table controller. I would like to select multiple items in the table, click a button on the bottom of the view controller, and attach the selected documents in th... | 0 | [
2,
1889,
18,
16964,
859,
1418,
9919,
3755,
26,
8517,
14575,
800,
3726,
3726,
235,
25,
51,
993,
9375,
268,
9,
240,
9,
135,
1448,
9,
9,
9,
31,
57,
21,
859,
17418,
1889,
8,
18,
16964,
13,
103,
4964,
2787,
1054,
19,
21,
859,
9919,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set the src attribute of a ngInclude element in the call back of a ajax request?
===
The example at [ngInclude][1] shows how to update the src attribute of a ngInclude element.
In a similar way, I am trying to assign the template path to a variable but in the callback of an ajax request. After the assignme... | 0 | [
2,
184,
20,
309,
14,
13,
18,
5453,
35,
14755,
16,
21,
13,
2723,
22640,
4520,
19,
14,
645,
97,
16,
21,
20624,
3772,
60,
800,
3726,
3726,
14,
823,
35,
636,
2723,
22640,
500,
2558,
165,
500,
1285,
184,
20,
11100,
14,
13,
18,
5453... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is a ClassInitialize decorated method making all my tests fail?
===
I understand, from MSDN, that `ClassInitialize` is to mark a method that will do setup code for all tests, once, before all tests run. When I include such a method in the abridged fixture below, all tests fail. As soon as I comment it out, they pa... | 0 | [
2,
483,
25,
21,
718,
27313,
2952,
6933,
2109,
544,
65,
51,
4894,
7476,
60,
800,
3726,
3726,
31,
1369,
15,
37,
4235,
43,
103,
15,
30,
13,
1,
1898,
27313,
2952,
1,
25,
20,
943,
21,
2109,
30,
129,
107,
18161,
1797,
26,
65,
4894,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java: Call a moethod from different java file not working
===
I'm new to Java programming and am facing a (most likely) easy problem that I don't seem to be able to get across nor understand.
I have three different java files, one where I create an interface (SimulatorGui.java), other where I am creating a panel to... | 0 | [
2,
8247,
45,
645,
21,
17621,
11927,
43,
37,
421,
8247,
3893,
52,
638,
800,
3726,
3726,
31,
22,
79,
78,
20,
8247,
3143,
17,
589,
4325,
21,
13,
5,
4630,
1720,
6,
2010,
1448,
30,
31,
221,
22,
38,
2260,
20,
44,
777,
20,
164,
464... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 send email with libcurl with cross compiled application for arm
===
I am using [libcurl][1] for [am-1808][2] running linux[i need to send emails with my c-program], i have compiled the libcurl successfully for arm and the [sample application][3] gets compiled successfully, but when i run this application on ... | 0 | [
2,
2343,
20,
2660,
8517,
29,
13,
8326,
4734,
255,
29,
919,
9316,
3010,
26,
813,
800,
3726,
3726,
31,
589,
568,
636,
8326,
4734,
255,
500,
2558,
165,
500,
26,
636,
765,
8,
1087,
3099,
500,
2558,
135,
500,
946,
13024,
2558,
49,
37... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TextArea not saving to mySQL if over 512 Bytes
===
I've been searching for ages and can't find this precise problem, but feel free to point me in the right direction if it has.
Simple Description: have a page that has a TEXTAREA on it. This TEXTAREA is to accept HTML as it's used to edit the home page of a client's... | 0 | [
2,
1854,
17760,
52,
7599,
20,
51,
18,
22402,
100,
84,
331,
918,
34,
3231,
800,
3726,
3726,
31,
22,
195,
74,
5792,
26,
5520,
17,
92,
22,
38,
477,
48,
11114,
1448,
15,
47,
583,
551,
20,
454,
55,
19,
14,
193,
1400,
100,
32,
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... |
Struts2 token interceptor redirection
===
I am using sturts2 token interceptor to stop multiple submission but problem is that when fire two requests.
I only get response of second request which is invalid token error how can i get response of first request which is success page.
for eg. if i fire second request ... | 0 | [
2,
18316,
18,
135,
20,
2853,
13,
24171,
302,
14706,
872,
800,
3726,
3726,
31,
589,
568,
13194,
38,
18,
135,
20,
2853,
13,
24171,
20,
747,
1886,
10923,
47,
1448,
25,
30,
76,
535,
81,
12279,
9,
31,
104,
164,
1627,
16,
153,
3772,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JdbcOdbc Driver Fails to Find the Replace Function in MS Access
===
Good people,
I am trying to execute an SQL query against an MS Access database through my Java program. The program uses the JdbcOdbc driver. The query contains the inbuilt Replace function in it. It looks something like this:
SELECT Replace(fi... | 0 | [
2,
487,
9007,
716,
43,
7229,
2425,
13614,
20,
477,
14,
3934,
1990,
19,
4235,
1381,
800,
3726,
3726,
254,
148,
15,
31,
589,
749,
20,
15644,
40,
4444,
255,
25597,
149,
40,
4235,
1381,
6018,
120,
51,
8247,
625,
9,
14,
625,
2027,
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... |
Unhandled Exception in Visual-C++ for an OpenCV hello world program
===
I have recently setup openCV 2.3.1 in Visual Studio 2010. I set it up using cmake and managed to run simple 'hello world' code as follows:
#include "stdafx.h"
#include <opencv2/opencv.hpp>
#in... | 0 | [
2,
367,
3203,
1294,
5391,
19,
3458,
8,
150,
20512,
26,
40,
368,
12732,
10975,
126,
625,
800,
3726,
3726,
31,
57,
1989,
18161,
368,
12732,
172,
9,
240,
9,
165,
19,
3458,
1120,
498,
9,
31,
309,
32,
71,
568,
272,
11115,
17,
1471,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
wxWidgets Transparent control with transparent bitmap
===
I'm having transparent control ( a custom control with paint and erase background event ) and i'm trying to draw a transparent png to the centre of the control without any luck.
What i'm getting is an image with black rectangle as background!. please see htt... | 0 | [
2,
619,
396,
3976,
43,
3060,
18,
14862,
569,
29,
14862,
1142,
15022,
800,
3726,
3726,
31,
22,
79,
452,
14862,
569,
13,
5,
21,
5816,
569,
29,
5107,
17,
23593,
2395,
807,
13,
6,
17,
31,
22,
79,
749,
20,
2003,
21,
14862,
351,
272... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Metro8 SqlConnection
===
My question is quiet simple - is there any way to use SqlConnection in Metro 8? (In forms it was like SqlConnection conn = new SqlConnection(...))
How to connect with database created in Sql Management Studio ?
Thank you for any answers. | 0 | [
2,
3986,
457,
4444,
255,
25996,
872,
800,
3726,
3726,
51,
1301,
25,
2401,
1935,
13,
8,
25,
80,
186,
161,
20,
275,
4444,
255,
25996,
872,
19,
3986,
469,
60,
13,
5,
108,
1997,
32,
23,
101,
4444,
255,
25996,
872,
15201,
800,
78,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 right set height of NSTableCellView with NSTextField?
===
Greets!
I have a View-based NSTableView with Custom View as a cell (NSTableCellView class).
There is NSTextField inside custom cell.
I need to display 3 lines of text inside NSTextField and after clicking on cell content must grow up to fit full t... | 0 | [
2,
184,
20,
193,
309,
2947,
16,
13,
2172,
5924,
9725,
4725,
29,
13,
2172,
11969,
1109,
60,
800,
3726,
3726,
16624,
18,
187,
31,
57,
21,
1418,
8,
1281,
13,
2172,
5924,
4725,
29,
5816,
1418,
28,
21,
1667,
13,
5,
2172,
5924,
9725,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 make a wordpress sidebar conditional?
===
I'm working on a Wordpress site that uses the Reason theme from Themeforest. I have been
able to work out all issues except for two, one of which is the basis for this question.
The theme comes with a sidebar, but I want to disable it unless the user is on one of tw... | 0 | [
2,
184,
20,
233,
21,
833,
5890,
270,
1850,
21206,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
833,
5890,
689,
30,
2027,
14,
1215,
3184,
37,
3184,
21408,
9,
31,
57,
74,
777,
20,
170,
70,
65,
1549,
1613,
26,
81,
15,
53,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to find the number of each elements in the row and store the mean of each row in another array using C#?
===
I am using the below code to read data from a text file row by row. I would like to assign each row into an array. I must be able to find the number or rows/arrays and the number of elements on each one of ... | 0 | [
2,
184,
20,
477,
14,
234,
16,
206,
2065,
19,
14,
3131,
17,
1718,
14,
884,
16,
206,
3131,
19,
226,
7718,
568,
272,
5910,
60,
800,
3726,
3726,
31,
589,
568,
14,
1021,
1797,
20,
1302,
1054,
37,
21,
1854,
3893,
3131,
34,
3131,
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... |
Rewrite part of request url as variable on php script with nginx
===
What I'm trying to do is this:
domain.com/account/manage/somekey/ -> domain.com/account/manage/?key=somekey
domain.com/account/manage/somekey/settings/ -> domain.com/account/manage/settings/?key=somekey
somkey being a string cont... | 0 | [
2,
27891,
141,
16,
3772,
287,
6362,
28,
7612,
27,
13,
26120,
3884,
29,
13,
2723,
108,
396,
800,
3726,
3726,
98,
31,
22,
79,
749,
20,
107,
25,
48,
45,
4603,
9,
960,
118,
29148,
118,
177,
1303,
118,
3220,
4237,
118,
13,
8,
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... |
I can't convert cstring to int
===
I want to get int from cstring.
Here is Code.
--------------------------------------
CStringArray paramArray;
paramArray.Add((LPCTSTR)"151");
pvarArguments = new CComVariant[2];
pvarArguments[0] = (LPCTSTR)paramArray[1];
CString str;
str = (CStringA)pvarArguments[0]... | 0 | [
2,
31,
92,
22,
38,
8406,
272,
11130,
20,
19,
38,
800,
3726,
3726,
31,
259,
20,
164,
19,
38,
37,
272,
11130,
9,
235,
25,
1797,
9,
13,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
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... |
Codigniter pagination trouble
===
I have almost managed the CodeIgniter pagintation but i am getting an error .
[1]: http://i.stack.imgur.com/MyObz.png
if you look at here you will see no underline under 1 and pagination is occurring within 2 to 5 , 1 is missing . I am not realizing why it's happening, he... | 0 | [
2,
326,
12158,
889,
815,
19006,
108,
857,
2572,
800,
3726,
3726,
31,
57,
557,
1471,
14,
1797,
9693,
242,
106,
19006,
108,
8593,
47,
31,
589,
1017,
40,
7019,
13,
9,
636,
165,
500,
45,
7775,
6903,
49,
9,
25325,
9,
1660,
11147,
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... |
Eclipse "Variables" window, changed value color
===
I can't find how to change the background color on the "Variables" window. When a variable is changed while debugging, it highlights it with a horrible yellow background that in my zenburn style colorset doesn't allow me to see the line clearly.
Can I change that ... | 0 | [
2,
11652,
13,
7,
8220,
579,
18,
7,
1463,
15,
1015,
1923,
1665,
800,
3726,
3726,
31,
92,
22,
38,
477,
184,
20,
753,
14,
2395,
1665,
27,
14,
13,
7,
8220,
579,
18,
7,
1463,
9,
76,
21,
7612,
25,
1015,
133,
121,
16254,
2762,
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... |
produce output like Apple's instruments using trace
===
I have been developing some software on OS X for deployment on Unix servers. One one server the performance mirrors that which I see on OS X closely, but I see drastically different behavior on a different server, which I'd like to profile.
Apple's Instruments... | 0 | [
2,
2213,
5196,
101,
4037,
22,
18,
4507,
568,
5565,
800,
3726,
3726,
31,
57,
74,
3561,
109,
2306,
27,
13,
759,
993,
26,
10475,
27,
22540,
17595,
9,
53,
53,
8128,
14,
956,
17298,
30,
56,
31,
196,
27,
13,
759,
993,
3368,
15,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to create Junit for the code that uses envers?
===
I am to write a junit to check that version is being maintained or not(on an event).Here is what I did using junit
@Test
Public void testAudit()
{
try{
//create Dao code
dao.save();//This will create entry in AUD- and REVIN... | 0 | [
2,
184,
20,
1600,
7446,
242,
26,
14,
1797,
30,
2027,
1957,
5498,
60,
800,
3726,
3726,
31,
589,
20,
2757,
21,
7446,
242,
20,
2631,
30,
615,
25,
142,
3926,
54,
52,
5,
218,
40,
807,
6,
9,
6836,
25,
98,
31,
144,
568,
7446,
242,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding class variables to defined class
===
I'm a little confused on this particular problem and I have had this trouble for quite sometime now. The problem is that I don't know how to properly add a new class variable to an already defined class. In my scenario, I am using the tweepy module and using its Streaming AP... | 0 | [
2,
4721,
718,
12157,
20,
2811,
718,
800,
3726,
3726,
31,
22,
79,
21,
265,
4230,
27,
48,
1498,
1448,
17,
31,
57,
41,
48,
2572,
26,
1450,
8530,
130,
9,
14,
1448,
25,
30,
31,
221,
22,
38,
143,
184,
20,
7428,
3547,
21,
78,
718,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
text-indent for image replacement?
===
I'm using the following for my top menu `a` links:
#sliding-navigation #filter-regista {
width: 75px;
height: 29px;
background: transparent url("images/directors.png") no-repeat 0 0;
text-indent: -9999px;
}
But that isn't working on my top li... | 0 | [
2,
1854,
8,
108,
817,
38,
26,
1961,
4610,
60,
800,
3726,
3726,
31,
22,
79,
568,
14,
249,
26,
51,
371,
11379,
13,
1,
58,
1,
6271,
45,
6926,
18,
13248,
68,
8,
325,
13227,
857,
6926,
11924,
815,
8,
12463,
9626,
13,
1,
9456,
45,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
childbrowser with phonegap 2.0
===
Since phonegap 2 window.plugins is no more usable but childBrowser still relies on that.
How can i call childBrowser plugin in a phonegap 2 project?
This was working fine in 1.9:
cb = window.plugins.childBrowser; | 0 | [
2,
850,
25699,
4104,
29,
1132,
1136,
306,
172,
9,
387,
800,
3726,
3726,
179,
1132,
1136,
306,
172,
1463,
9,
18527,
17040,
25,
90,
91,
182,
579,
47,
850,
25699,
4104,
174,
19272,
27,
30,
9,
184,
92,
31,
645,
850,
25699,
4104,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Defining and storing custom data when working with the Facebook API
===
Can it be done? Does Facebook API support defining new custom fields / objects and store their data? Thanks. | 0 | [
2,
14684,
17,
25615,
5816,
1054,
76,
638,
29,
14,
9090,
21,
2159,
800,
3726,
3726,
92,
32,
44,
677,
60,
630,
9090,
21,
2159,
555,
14684,
78,
5816,
2861,
13,
118,
3916,
17,
1718,
66,
1054,
60,
3669,
9,
3,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Flask Flatpages list of folders
===
I'm using Flask with Flask-flatpages and I'm trying to get a list of all the subdirectories in the Flatpages pages folder. These folders should appear as a link that when clicked append the foldername on the url. In the pages folder are two subdirectories: misc and test. I have trie... | 0 | [
2,
28972,
1844,
6486,
18,
968,
16,
19294,
18,
800,
3726,
3726,
31,
22,
79,
568,
28972,
29,
28972,
8,
13830,
6486,
18,
17,
31,
22,
79,
749,
20,
164,
21,
968,
16,
65,
14,
972,
10197,
1596,
19,
14,
1844,
6486,
18,
4434,
19294,
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... |
Eclipse F3 Shortcut Backtrack
===
Sorry if this is a stupid question but I couldn't discover the answer on google, stack overflow, or figure it out within 5 minutes in the IDE.
**My question is for the F3 shortcut which lets you follow references to functions, classes, etc., is there another hotkey or option to ba... | 0 | [
2,
11652,
398,
240,
502,
4118,
97,
4792,
800,
3726,
3726,
1875,
100,
48,
25,
21,
3553,
1301,
47,
31,
711,
22,
38,
6297,
14,
1623,
27,
8144,
15,
7566,
20285,
15,
54,
1465,
32,
70,
363,
331,
902,
19,
14,
13,
3448,
9,
13,
1409,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
App not receiving broadcast when originated in Launcher but receiving when originated from other App
===
I Have an app that is showing a toast when receiving broadcast and action equals BluetoothAdapter.ACTION_STATE_CHANGED, everything is working OK, but the problem here is that I want to do something when bluetooth i... | 0 | [
2,
4865,
52,
3396,
1992,
76,
7449,
19,
19755,
47,
3396,
76,
7449,
37,
89,
4865,
800,
3726,
3726,
31,
57,
40,
4865,
30,
25,
3187,
21,
13865,
76,
3396,
1992,
17,
1028,
2747,
18,
705,
15808,
27576,
106,
9,
8645,
1,
3859,
1,
16229,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
UIButton/Uilabe should change its x position with respect to left uilabel
===
I have a UILabel and its text is coming from webservices, the problem is i have placed a UIButton next to that label and that button should always maintain the same distance from label. Sometimes text of UILabel can be large and sometimes te... | 0 | [
2,
13,
5661,
811,
444,
118,
21442,
58,
863,
378,
753,
82,
993,
649,
29,
2873,
20,
225,
13,
5661,
21018,
800,
3726,
3726,
31,
57,
21,
13,
5661,
21018,
17,
82,
1854,
25,
880,
37,
2741,
11449,
18,
15,
14,
1448,
25,
31,
57,
1037,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
UILongPressGestureReconizer Tag? - iPhone
===
I'm setting up a LPGR like so and I was wonder if I can create a tag in each LPGR. I need to do this so I know which of all my buttons is being pressed...
UILongPressGestureRecognizer *longpressGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self acti... | 0 | [
2,
13,
5661,
2701,
5890,
5133,
6418,
99,
1126,
11907,
3383,
60,
13,
8,
21024,
800,
3726,
3726,
31,
22,
79,
2697,
71,
21,
6759,
8807,
101,
86,
17,
31,
23,
2666,
100,
31,
92,
1600,
21,
3383,
19,
206,
6759,
8807,
9,
31,
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... |
PHP Script For Torrent Download
===
Hi Im Trying to find out a PHP script that can download torrent files on the same or different server. I know that torrentFlux and bunch of other scripts do the same but they need some other things like PHP with shell_exec() enabled and some other stuff. <br />
I read somewhere tha... | 2 | [
2,
13,
26120,
3884,
26,
23078,
7121,
800,
3726,
3726,
4148,
797,
749,
20,
477,
70,
21,
13,
26120,
3884,
30,
92,
7121,
23078,
6488,
27,
14,
205,
54,
421,
8128,
9,
31,
143,
30,
23078,
410,
9452,
17,
7653,
16,
89,
17505,
107,
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... |
Having trouble with jQuery toggle function for dropdown menu
===
I have a dropdown menu that slides up and down when toggled to reveal it's menu items. The problem is that when i go to click one of the menu items after the menu has slid down, it is recognized as a toggle and the menu slides up without opening the link... | 0 | [
2,
452,
2572,
29,
487,
8190,
93,
20,
263,
4875,
1990,
26,
2804,
2968,
11379,
800,
3726,
3726,
31,
57,
21,
2804,
2968,
11379,
30,
18066,
71,
17,
125,
76,
20,
4572,
1294,
20,
6820,
32,
22,
18,
11379,
3755,
9,
14,
1448,
25,
30,
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... |
Serlvet's request.getParameter and onclick use
===
When clicking an image i want to submit to servlet1 and determine which image was clicked. the asnwer should be redirected to index.jsp and be shown after "clicking status". how can i make it work on the servlet side? how can i use request.getParameter to determine wh... | 0 | [
2,
4245,
8916,
1198,
22,
18,
3772,
9,
3060,
6351,
7307,
17,
27,
150,
10129,
275,
800,
3726,
3726,
76,
25590,
40,
1961,
31,
259,
20,
12298,
20,
13,
10321,
1336,
165,
17,
3746,
56,
1961,
23,
15802,
9,
14,
28,
103,
4662,
378,
44,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
align an image and some text on the same line without using div width?
===
Ok so I'm trying to align an image(which is contained in a div) and some text(also contained in a div) on the same line, without setting width for the text, how can i do it? This is what I have so far.
<div id="container">
... | 0 | [
2,
23389,
40,
1961,
17,
109,
1854,
27,
14,
205,
293,
366,
568,
13,
12916,
9456,
60,
800,
3726,
3726,
5854,
86,
31,
22,
79,
749,
20,
23389,
40,
1961,
5,
2140,
25,
3437,
19,
21,
13,
12916,
6,
17,
109,
1854,
5,
2573,
3437,
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... |
Migrate xib file to Xcode 4.4
===
This should be an easy one, but surprisingly I could not find any information about it being or not being possible to do.
I have some .xib files created in older versions of Xcode/Interface Builder and I would like to use Xcode 4.4's new features but so far I've only been able to a... | 0 | [
2,
22985,
5641,
220,
3893,
20,
993,
9375,
268,
9,
300,
800,
3726,
3726,
48,
378,
44,
40,
2010,
53,
15,
47,
11701,
31,
110,
52,
477,
186,
676,
88,
32,
142,
54,
52,
142,
938,
20,
107,
9,
31,
57,
109,
13,
9,
5845,
220,
6488,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
comparing part of a line with xxdiff
===
i want to compare two files with several rows with each other, showing all of the row, but only highlighting the differences in a single row. An example is worth more than a thousand words:
1 1.329 4.156 1 U 9.800E-01 0.000E+00 e 0 HB1.1 HA.1
2 4.15... | 0 | [
2,
15047,
141,
16,
21,
293,
29,
13,
8962,
43,
6021,
800,
3726,
3726,
31,
259,
20,
11590,
81,
6488,
29,
238,
11295,
29,
206,
89,
15,
3187,
65,
16,
14,
3131,
15,
47,
104,
23102,
14,
4921,
19,
21,
345,
3131,
9,
40,
823,
25,
271... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Slickgrid highlighting not happening
===
I have a grid made using slickgrid on a html page. I want to highlight certain cells.
I have added this at the head section of html
<style>
.changed{ background: yellow }
</style>
I have this as the options:
var options = {
... | 0 | [
2,
12544,
16375,
23102,
52,
4942,
800,
3726,
3726,
31,
57,
21,
7354,
117,
568,
12544,
16375,
27,
21,
13,
15895,
2478,
9,
31,
259,
20,
14373,
1200,
2934,
9,
31,
57,
905,
48,
35,
14,
157,
1050,
16,
13,
15895,
13,
1,
4381,
1,
13,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Complex permutation/combination
===
>Abstract:
<br/>You select the modules you are registered for.
<br/>Each module has a number of groups.
<br/>Each group represents lectures for the given module.
<br/>Each combination should contain only one group from each module.
>Example
<br/>COS 121 -3 Groups
<br/>COS... | 0 | [
2,
1502,
28706,
118,
10204,
108,
857,
800,
3726,
3726,
13,
1,
2297,
18,
19915,
45,
13,
1,
5145,
118,
1,
245,
5407,
14,
17113,
42,
50,
3801,
26,
9,
13,
1,
5145,
118,
1,
14322,
12613,
63,
21,
234,
16,
1170,
9,
13,
1,
5145,
118... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Session Variable No Longer Working
===
I wonder whether someone may be able to help me please.
I feel I need a fresh pair of eyes to look at a problem I have which I can't see a solution to.
The form below is used to list `Location records` held in a MySQL database.
<form name="locationsconsole" id="l... | 0 | [
2,
3723,
7612,
90,
1045,
638,
800,
3726,
3726,
31,
2666,
1472,
737,
123,
44,
777,
20,
448,
55,
2247,
9,
31,
583,
31,
376,
21,
3180,
2146,
16,
194,
20,
361,
35,
21,
1448,
31,
57,
56,
31,
92,
22,
38,
196,
21,
4295,
20,
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... |
convert iso-8601 to mysql timestamp
===
I've search for this and have found the opposite. I'm pulling facebook page feeds using the graph api and the date format it gives is iso-8601. I need to convert that to mysql timestamp to add it to my database. Most search results provide mysql to iso. Can I get a direct conver... | 0 | [
2,
8406,
11899,
8,
3274,
3026,
20,
51,
18,
22402,
436,
38,
10158,
800,
3726,
3726,
31,
22,
195,
2122,
26,
48,
17,
57,
216,
14,
2794,
9,
31,
22,
79,
3303,
9090,
2478,
17058,
568,
14,
7210,
21,
2159,
17,
14,
1231,
2595,
32,
2352... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PDFkit Gem Not Working in Rails
===
I have installed both PDFKit and wkhtmltopdf. I used brew install for wkhtmltopdf, and for PDFkit, I added it to my gem file and created the following:
# config/initializers/pdfkit.rb
PDFKit.configure do |config|
config.wkhtmltopdf = '/usr/local/bin/wkhtmltopdf'... | 0 | [
2,
13,
11124,
13703,
8551,
52,
638,
19,
2240,
18,
800,
3726,
3726,
31,
57,
4066,
156,
13,
11124,
13703,
17,
619,
197,
15895,
262,
11124,
9,
31,
147,
13,
13712,
16146,
26,
619,
197,
15895,
262,
11124,
15,
17,
26,
13,
11124,
13703,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Running multiple Node (Express) apps on same port
===
I have multiple Node applications (build on Express framework).
Now I have placed them like this -
- /var/www/app1
- /var/www/app2
- /var/www/app3
Now I want to run these 3 apps on the same port (say 8080). Is that possible ?
One thing to note is that... | 0 | [
2,
946,
1886,
15421,
13,
5,
21230,
6,
4865,
18,
27,
205,
1295,
800,
3726,
3726,
31,
57,
1886,
15421,
3767,
13,
5,
29361,
27,
2999,
6596,
6,
9,
130,
31,
57,
1037,
105,
101,
48,
13,
8,
13,
8,
13,
118,
3311,
118,
6483,
118,
775... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
decodeStream returns null on specific image
===
I have the following code in my Android app:
URL pictureurl = new URL("http://www.somewebsite.com/picture15.jpg");
URLConnection urlConn = pictureurl.openConnection(); // NOT NULL
urlConn.setRequestProperty("Referer", "http://www.somewebsite.com/");
urlConn.... | 0 | [
2,
121,
9375,
11260,
4815,
16203,
27,
1903,
1961,
800,
3726,
3726,
31,
57,
14,
249,
1797,
19,
51,
13005,
4865,
45,
287,
6362,
2151,
911,
255,
800,
78,
287,
6362,
5,
7,
21127,
6903,
6483,
9,
3220,
14113,
9097,
9,
960,
118,
25602,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
INSERT INTO table VALUES.. vs INSERT INTO table SET Error
===
I'm trying to run the following query:
"insert into visits set source = 'http://google.com' and country = 'en' and ref = '1234567890';"
The query looks good to me and it prints a warning:
1 row(s) affected, 2 warning(s): 1364 Field 'country... | 0 | [
2,
14692,
77,
859,
4070,
9,
9,
4611,
14692,
77,
859,
309,
7019,
800,
3726,
3726,
31,
22,
79,
749,
20,
485,
14,
249,
25597,
45,
13,
7,
108,
18,
6767,
77,
7659,
309,
1267,
800,
13,
22,
21127,
6903,
16111,
4875,
9,
960,
22,
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... |
How can I find out the number of periods in a string with C#
===
I have strings such as:
1.1
1.11
11.11
1.1.1
11.11.11
All these are single strings with no spaces and only numbers and periods.
I need to be able to to count the number of periods in the strings. Is there an easy way to d... | 0 | [
2,
184,
92,
31,
477,
70,
14,
234,
16,
7302,
19,
21,
3724,
29,
272,
5910,
800,
3726,
3726,
31,
57,
7887,
145,
28,
45,
137,
9,
165,
137,
9,
1306,
547,
9,
1306,
137,
9,
165,
9,
165,
547,
9,
1306,
9,
1306,
65,
158,
50,
345,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Codeigniter mail Internal server error
===
When trying to send an email with either sendmail or smtp I get an Internal Server Error.
I receive the email but something goes wrong with cookies according to the error log:
> mod_security: Access denied with code 500. Error parsing cookies: Error normalising cookie val... | 0 | [
2,
1797,
9693,
242,
106,
4216,
3117,
8128,
7019,
800,
3726,
3726,
76,
749,
20,
2660,
40,
8517,
29,
694,
2660,
8079,
54,
7613,
13726,
31,
164,
40,
3117,
8128,
7019,
9,
31,
2588,
14,
8517,
47,
301,
1852,
1389,
29,
19396,
496,
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... |
Find identical values from MySQL table from two columns
===
I need to filter only these table rows which have same values in x and y columns.
_______________________________________
|
| x | y | name |
________________________________________
|
| 1 | 2... | 0 | [
2,
477,
6323,
4070,
37,
51,
18,
22402,
859,
37,
81,
7498,
800,
3726,
3726,
31,
376,
20,
11945,
104,
158,
859,
11295,
56,
57,
205,
4070,
19,
993,
17,
13,
93,
7498,
9,
13,
1,
13,
1,
13,
1,
993,
13,
1,
13,
93,
13,
1,
204,
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... |
Using Python to make GUI in browser
===
I want to have a GUI in a webpage that will allow the user to enter parameters and then run a simple python program and return a graph with the result. I have looked into using IronPython to do this but I have not been able to get it to work. They say all you need is to link to ... | 1 | [
2,
568,
20059,
20,
233,
9457,
19,
16495,
800,
3726,
3726,
31,
259,
20,
57,
21,
9457,
19,
21,
2741,
6486,
30,
129,
1655,
14,
4155,
20,
2830,
12905,
17,
94,
485,
21,
1935,
20059,
625,
17,
788,
21,
7210,
29,
14,
829,
9,
31,
57,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Wordpress NextGen Custom Template
===
I have a Image Gallery in NextGen and i want to show it on a page but problem is whenever i am loading image gallery with custom template it isn't loading here how is what i did, first i have a page `homepage.php` and at some place i added this code to show the gallery:
<?p... | 0 | [
2,
833,
5890,
328,
1863,
5816,
22894,
800,
3726,
3726,
31,
57,
21,
1961,
2246,
19,
328,
1863,
17,
31,
259,
20,
298,
32,
27,
21,
2478,
47,
1448,
25,
6634,
31,
589,
12797,
1961,
2246,
29,
5816,
22894,
32,
2532,
22,
38,
12797,
235,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
[Microsoft][ODBC SQL Server Driver][SQL Server]Changed database context to 'dbname'
===
I have a form with a textarea field that has about 250k of html in it. I'm posting it to an ASP page that is calling a stored procedure and inserting the text into a table. The field type and stored procedure parameter are both var... | 0 | [
2,
636,
22019,
12980,
500,
2558,
5648,
7229,
4444,
255,
8128,
2425,
500,
2558,
18,
22402,
8128,
500,
16229,
43,
6018,
4141,
20,
13,
22,
9007,
7259,
22,
800,
3726,
3726,
31,
57,
21,
505,
29,
21,
1854,
17760,
575,
30,
63,
88,
6774,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to use Adobe Acrobat Pro to print a pdf programming .net & c#
===
I have a server, on the server "Adobe Acrobat Pro" has been installed, no Adobe Reader installed. In order to adjust the margin and optimize the pdf files, every time I manually open a pdf file, click File->Print, then choose "Adobe PDF" as the prin... | 0 | [
2,
184,
20,
275,
20299,
21,
7638,
4900,
895,
20,
4793,
21,
13,
11124,
3143,
13,
9,
2328,
279,
272,
5910,
800,
3726,
3726,
31,
57,
21,
8128,
15,
27,
14,
8128,
13,
7,
5672,
863,
21,
7638,
4900,
895,
7,
63,
74,
4066,
15,
90,
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... |
How to set log= for mysql 5.0
===
I'm maintaining a MySQL instance on a Solaris 10 box with OpenCSW distro (opencsw.org) which is generally great. But maintainers have not yet been able to update Mysql from 5.0.96. I am trying to set the variable "log=". I put the relevant statement in the my.cnf file that I think ... | 0 | [
2,
184,
20,
309,
6738,
3726,
26,
51,
18,
22402,
331,
9,
387,
800,
3726,
3726,
31,
22,
79,
8215,
21,
51,
18,
22402,
4851,
27,
21,
4535,
403,
332,
1649,
29,
368,
6824,
499,
1460,
3996,
13,
5,
10157,
6824,
499,
9,
5583,
6,
56,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Inspiration / convention for element names HTML
===
I work in front end markup so I'm constantly templating site. Does anyone know of good resources to learn some good conventions or inspiration for element names? I like names that relate to print layouts so perhaps someone could point me to a resource for naming diff... | 0 | [
2,
6180,
13,
118,
3087,
26,
4520,
1817,
13,
15895,
800,
3726,
3726,
31,
170,
19,
431,
241,
943,
576,
86,
31,
22,
79,
7545,
13,
9577,
255,
1880,
689,
9,
630,
1276,
143,
16,
254,
2566,
20,
2484,
109,
254,
15117,
54,
6180,
26,
45... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
git undo pushed merge to restore separate branches
===
First, I have to apologise - there are quite a number of 'how to undo a merge' questions on SO, but I'm so new at git that I really don't understand how to adapt the solutions them to my situation (though I'm sure they can be).
I have two branches, `versionA` a... | 0 | [
2,
13,
10404,
367,
537,
2007,
12666,
20,
8454,
1725,
4395,
800,
3726,
3726,
64,
15,
31,
57,
20,
26645,
13,
8,
80,
50,
1450,
21,
234,
16,
13,
22,
1544,
20,
367,
537,
21,
12666,
22,
2346,
27,
86,
15,
47,
31,
22,
79,
86,
78,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why mysql convert failed with incorrect string value?
===
When I tried to convert a mysql table which orignal is latin encoding, I get following error:
mysql> alter table cti_phone convert to character set gb2312;
ERROR 1366 (HY000): Incorrect string value: '\xB9\xE3\xCE\xF7 \xC4...' for colum
n 'mobi... | 0 | [
2,
483,
51,
18,
22402,
8406,
1702,
29,
18867,
3724,
1923,
60,
800,
3726,
3726,
76,
31,
794,
20,
8406,
21,
51,
18,
22402,
859,
56,
54,
9693,
192,
25,
2068,
19608,
15,
31,
164,
249,
7019,
45,
51,
18,
22402,
1,
7835,
859,
13,
144... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In Python how to pipe a string into an executables stdin?
===
On Windows I have a program (prog.exe) that reads from stdin. In python I want to pipe a string as the input to its stdin. How to do that?
Something like:
subprocess.check_output("echo {0} | myprog.exe".format(mystring))
or (to make the args a... | 0 | [
2,
19,
20059,
184,
20,
7642,
21,
3724,
77,
40,
1396,
17194,
5924,
18,
354,
3653,
60,
800,
3726,
3726,
27,
1936,
31,
57,
21,
625,
13,
5,
2740,
263,
9,
1706,
62,
6,
30,
11137,
37,
354,
3653,
9,
19,
20059,
31,
259,
20,
7642,
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... |
GSON: Expected a string but was BEGIN_OBJECT?
===
I'm trying to use GSON to parse some very simple JSON. Here's my code:
Gson gson = new Gson();
InputStreamReader reader = new InputStreamReader(getJsonData(url));
String key = gson.fromJson(reader, String.class);
Here's the JSON returned from the url:... | 0 | [
2,
489,
528,
45,
1727,
21,
3724,
47,
23,
2348,
1,
23793,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
489,
528,
20,
2017,
870,
109,
253,
1935,
487,
528,
9,
235,
22,
18,
51,
1797,
45,
489,
528,
489,
528,
800,
78,
489,
528,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Items of a UITabBar are not being highlighted when selected
===
I'm having a trouble with a UITabBar with UITabBarItem added programmatically, the selected item is not being highlighted in white as usual.
Here's the source
UIImage *imageX = [UIImage imageNamed:@"sample.png"];
UITabBarItem *tabBarItem = ... | 0 | [
2,
3755,
16,
21,
13,
11193,
13100,
139,
50,
52,
142,
12528,
76,
1704,
800,
3726,
3726,
31,
22,
79,
452,
21,
2572,
29,
21,
13,
11193,
13100,
139,
29,
13,
11193,
13100,
8011,
79,
905,
625,
6732,
1326,
15,
14,
1704,
9101,
25,
52,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 ADB: pull to memory
===
Is it possible to somehow redirect the outputs of adb pull not to a file but to some place in memory?
specifically i am writing a java program, that executes
adb pull /dev/graphics/fb0
and in the same program i want to process the results without having to read the `fb0` fi... | 0 | [
2,
13005,
21,
9007,
45,
2201,
20,
1912,
800,
3726,
3726,
25,
32,
938,
20,
3625,
302,
14706,
14,
5196,
18,
16,
21,
9007,
2201,
52,
20,
21,
3893,
47,
20,
109,
209,
19,
1912,
60,
3524,
31,
589,
1174,
21,
8247,
625,
15,
30,
15644,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to add vertical scroll in Phonegap
===
I would like to add vertical scroll in Phonegap app. The app is able to move left and right.. but not up and down.. Need some guidance on how to do it.. Thanks.. | 0 | [
2,
184,
20,
3547,
7035,
12159,
19,
1132,
1136,
306,
800,
3726,
3726,
31,
83,
101,
20,
3547,
7035,
12159,
19,
1132,
1136,
306,
4865,
9,
14,
4865,
25,
777,
20,
780,
225,
17,
193,
9,
9,
47,
52,
71,
17,
125,
9,
9,
376,
109,
8193... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Loop wav file seamleassly in the background on windows 8
===
I have managed to get seamsless looping of wav files using the SharpDX library.
But this does not seem to work while the app is minimised (in the background).
Using the metro players I do not get a seamless loop this is why I use XAudio2 in the SharpDX l... | 0 | [
2,
5293,
3142,
710,
3893,
13927,
7199,
18,
18,
102,
19,
14,
2395,
27,
1936,
469,
800,
3726,
3726,
31,
57,
1471,
20,
164,
13927,
18,
923,
5293,
68,
16,
3142,
710,
6488,
568,
14,
2641,
43,
396,
1248,
9,
47,
48,
630,
52,
2260,
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... |
How can I access non-contiguous content of a range variable without using arrays
===
I am a excel vba newbie, so bear with me...
I need to access a single cell in a non-contiguous range variable and alter its value.
Is there no sequential way to loop through a non-contiguous range variable?
For ... | 0 | [
2,
184,
92,
31,
1381,
538,
8,
1126,
8407,
9627,
2331,
16,
21,
978,
7612,
366,
568,
7718,
18,
800,
3726,
3726,
31,
589,
21,
20700,
566,
969,
78,
5893,
15,
86,
2746,
29,
55,
9,
9,
9,
31,
376,
20,
1381,
21,
345,
1667,
19,
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... |
Shift in the right of last item of the menu
===
Delphi Xe2U4. Main menu items: File, Option, Help (name: HelpMenuItem). 2 buttons. Use StyleManager Xe2.
Procedure TForm1.RightMenu; // Shift in the right of last item of the menu
var mii: TMenuItemInfo;MainMenu: hMenu; Buffer: array[0..79] of Char;
begi... | 0 | [
2,
4471,
19,
14,
193,
16,
236,
9101,
16,
14,
11379,
800,
3726,
3726,
23030,
13,
13012,
135,
291,
300,
9,
407,
11379,
3755,
45,
3893,
15,
4255,
15,
448,
13,
5,
7259,
45,
448,
755,
11193,
1503,
6,
9,
172,
12861,
9,
275,
1034,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
android sqlite - instantiate-create-insert-search for elements
===
I am new to android. I would like to create a database that will contain a name and phone number. I need to add in this database or to modify the phone number element.
Can someone please help me with creating a table with this two elements in databas... | 0 | [
2,
13005,
4444,
10601,
13,
8,
6322,
15882,
8,
6037,
1373,
8,
108,
18,
6767,
8,
25136,
26,
2065,
800,
3726,
3726,
31,
589,
78,
20,
13005,
9,
31,
83,
101,
20,
1600,
21,
6018,
30,
129,
3717,
21,
204,
17,
1132,
234,
9,
31,
376,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Perl Regex - Get offset as line number instead of character position in case of a MATCH
===
I am reading a complete file in a string and then doing a regex match as below:
if($str =~ m/$regex/gc) {
$offset = $+[0];
}
Using this code, I can capture the position where the last successful match e... | 0 | [
2,
416,
255,
7953,
1706,
13,
8,
164,
17493,
28,
293,
234,
700,
16,
925,
649,
19,
610,
16,
21,
730,
800,
3726,
3726,
31,
589,
1876,
21,
1279,
3893,
19,
21,
3724,
17,
94,
845,
21,
7953,
1706,
730,
28,
1021,
45,
100,
5,
4403,
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... |
strange issue using ohm
===
I use Rails 3.2.3 and unicorn for production mode, the operation system is CentOS 6.2. (Ohm 1.0.2, Ohm-contrib 1.0.1)
Recently i met a strange problem:
When I started the unicorn, everything went fine at the beginning. But after a few hours, this error occured:
Completed 500 Intern... | 0 | [
2,
2578,
1513,
568,
1962,
79,
800,
3726,
3726,
31,
275,
2240,
18,
203,
9,
135,
9,
240,
17,
21190,
26,
637,
3740,
15,
14,
1453,
329,
25,
5802,
759,
400,
9,
135,
9,
13,
5,
1134,
79,
137,
9,
387,
9,
135,
15,
1962,
79,
8,
1126... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Media Queries max-width launch at wrong width in Chrome
===
I've set up some media queries as well as some javascript on a current wordpress theme project. In general they work fine, but (!) the media query:
@media only screen and (max-width: 980px)
Comes in to effect already at 1075px.
$(document).wi... | 0 | [
2,
941,
9386,
2829,
2049,
8,
3976,
43,
96,
3394,
35,
1389,
9456,
19,
13,
12985,
800,
3726,
3726,
31,
22,
195,
309,
71,
109,
941,
9386,
2829,
28,
134,
28,
109,
8247,
8741,
27,
21,
866,
833,
5890,
3184,
669,
9,
19,
297,
59,
170,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
FilteredItemsSelectionDialog - refreshing content provider
===
I have a filtered content selection dialog, and in the view menu I have
checkboxes that adds an extra filter. I added a selection
listener to the checkbox so that whenever the user selects/deselects it,
I want the dialog to empty its content and re-c... | 0 | [
2,
25090,
2119,
79,
18,
18,
5033,
4286,
5567,
13,
8,
27134,
2331,
11747,
800,
3726,
3726,
31,
57,
21,
25090,
2331,
3155,
28223,
15,
17,
19,
14,
1418,
11379,
31,
57,
2631,
5309,
160,
30,
10621,
40,
2230,
11945,
9,
31,
905,
21,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to pass parameters in sqlite transaction in cordova
===
I have a bookid and i need to pass it on sqlite transaction in cordova
like
<pre>
var bookName = db.transaction(function(tx){
return tx.executeSql('SELECT * FROM Iqra_Book WHERE book_id=?'[1],function(tx,res){
... | 0 | [
2,
184,
20,
1477,
12905,
19,
4444,
10601,
12799,
19,
5429,
3496,
800,
3726,
3726,
31,
57,
21,
360,
1340,
17,
31,
376,
20,
1477,
32,
27,
4444,
10601,
12799,
19,
5429,
3496,
101,
13,
1,
3515,
1,
4033,
360,
7259,
800,
13,
9007,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to get the size of a C function?
===
**Suppose I have a function like below:**
# cat 003.c
int foo(int a, int b)
{
return a+b;
}
**And compile it like this:**
gcc -S 003.c
**The gets the following assembly result:**
.file "003.c"
.text
.glob... | 0 | [
2,
184,
20,
164,
14,
1072,
16,
21,
272,
1990,
60,
800,
3726,
3726,
13,
1409,
18,
576,
15690,
31,
57,
21,
1990,
101,
1021,
45,
1409,
6926,
2008,
713,
3601,
9,
150,
19,
38,
4310,
111,
5,
6391,
21,
15,
19,
38,
334,
6,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java: how to resize an image on the gpu
===
I have an application that needed to resize a lot of big grayscale images (up to 4000 * 4000).
I don't want to use java graphics because it works on the CPU. Is there a way to perform resize on the GPU similar to directX9::StretchRect.
In stretchRect I get the resize and t... | 0 | [
2,
8247,
45,
184,
20,
302,
10454,
40,
1961,
27,
14,
489,
4201,
800,
3726,
3726,
31,
57,
40,
3010,
30,
851,
20,
302,
10454,
21,
865,
16,
580,
2030,
5093,
3502,
13,
5,
576,
20,
24762,
1637,
24762,
6,
9,
31,
221,
22,
38,
259,
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... |
BroadcastReceiver does not receive Intent.ACTION_BATTERY_LOW
===
I wrote an app, that shows a dialog when charge lvl is 15% or low.
Problem is that on one forum I received the message that it does not work on Google Nexus S (I9023). MIUI 2.3.7c.
code for receiver is (it is registered in manifest):
if (inten... | 0 | [
2,
1992,
99,
1105,
19737,
630,
52,
2588,
6936,
9,
8645,
1,
4900,
815,
93,
1,
4121,
800,
3726,
3726,
31,
738,
40,
4865,
15,
30,
1285,
21,
28223,
76,
1906,
644,
15143,
25,
13,
15264,
54,
708,
9,
1448,
25,
30,
27,
53,
5691,
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... |
auto play sound cross browser Support from Javascript
===
function makeSomeNoise (hypeDocument, element, event){
var audio = new Audio("audio/Wav");
audio.play();
I would like to add Mp3 file to this code for cross browser Support along with wav file. Auto play sound cross browser Support from Javascr... | 0 | [
2,
3108,
418,
646,
919,
16495,
555,
37,
8247,
8741,
800,
3726,
3726,
1990,
233,
3220,
251,
2628,
13,
5,
5608,
1664,
28132,
15,
4520,
15,
807,
6,
1,
4033,
4023,
800,
78,
4023,
5,
7,
1346,
6921,
118,
1608,
710,
7,
6,
73,
4023,
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... |
VBA (excel) Dictionary object adding items before .add
===
I am using a dictionary object from the MS Scripting Runtime library to store a series of arrays and perform operations on the array cells as necessary. There is a for loop to go through the process of creating all of these entries. My issue is that when using... | 0 | [
2,
566,
969,
13,
5,
1706,
11040,
6,
9186,
3095,
4721,
3755,
115,
13,
9,
14854,
800,
3726,
3726,
31,
589,
568,
21,
9186,
3095,
37,
14,
4235,
3884,
68,
485,
891,
1248,
20,
1718,
21,
231,
16,
7718,
18,
17,
2985,
1311,
27,
14,
771... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adobe Flex Binding not working
===
simple example not works for me (((
Main application
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" mi... | 0 | [
2,
20299,
14409,
8728,
52,
638,
800,
3726,
3726,
1935,
823,
52,
693,
26,
55,
13,
5,
5,
5,
407,
3010,
13,
1,
18,
45,
2552,
20669,
23504,
2172,
45,
16488,
3726,
7,
21127,
6903,
2172,
9,
5672,
863,
9,
960,
118,
79,
396,
8184,
118... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.getSize() isn't updated
===
I need to be able to change the size of an JPanel in a event function and then get the size again. It seems that the JPanel is not updated untill the function call has been finished. How can I get the real size?
import java.awt.*;
import java.awt.event.MouseWheelEvent;
im... | 0 | [
2,
13,
9,
3060,
10454,
5,
6,
2532,
22,
38,
6372,
800,
3726,
3726,
31,
376,
20,
44,
777,
20,
753,
14,
1072,
16,
40,
487,
3206,
532,
19,
21,
807,
1990,
17,
94,
164,
14,
1072,
188,
9,
32,
2206,
30,
14,
487,
3206,
532,
25,
52,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 this proper jquery coding?
===
I wanted to see if i have done this correcly: http://jsfiddle.net/ZkXv4/6/<br/>
It works as i wanted but is this done the "right" way?
This is my first thing i created with jQuery/javascript and just wanted to know did i do it correct? what could be improved etc?
If you hover o... | 2 | [
2,
25,
48,
4119,
487,
8190,
93,
13,
15458,
60,
800,
3726,
3726,
31,
417,
20,
196,
100,
31,
57,
677,
48,
18743,
150,
102,
45,
7775,
6903,
728,
18,
1707,
12312,
9,
2328,
118,
380,
197,
396,
710,
12918,
12626,
1,
5145,
118,
1,
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... |
Haskell: FIFO queue algorithm complexity
===
This is my attempt at a FIFO queue:
empty = id
remove n queue = (take n (queue []), (\x -> drop n (queue x)));
add elems queue = (\x -> queue (elems ++ x))
`empty` creates an empty queue, `remove` takes the first `n` elements of the queue and returns the... | 0 | [
2,
63,
16507,
45,
6028,
4120,
22521,
9083,
12745,
800,
3726,
3726,
48,
25,
51,
1735,
35,
21,
6028,
4120,
22521,
45,
2424,
800,
4924,
4681,
13,
103,
22521,
800,
13,
5,
4386,
13,
103,
13,
5,
2005,
4185,
20767,
6,
15,
13,
5,
1,
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... |
FormMail not sending image
===
I'm using the latest version of Matts formmail but for some reason I'm not able to configure image upload. Is the script capable of image upload? or is this an html problem in my form?
It is uploading this form. Wiling to make a small donation to whoever helps.
<form id="b... | 0 | [
2,
505,
8079,
52,
4907,
1961,
800,
3726,
3726,
31,
22,
79,
568,
14,
5736,
615,
16,
2315,
18,
505,
8079,
47,
26,
109,
1215,
31,
22,
79,
52,
777,
20,
1065,
15951,
1961,
71,
8294,
9,
25,
14,
3884,
3868,
16,
1961,
71,
8294,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
LINQ to SQL How can I submit changes after closing the connection?
===
I am accessing a database using LINQ, and making changes to the records. I retrieve the records like so:
using(var db = new DatabaseDataContext(connectionString))
{
var query =
from item in db.table
wh... | 0 | [
2,
6294,
1251,
20,
4444,
255,
184,
92,
31,
12298,
1693,
75,
4239,
14,
2760,
60,
800,
3726,
3726,
31,
589,
1381,
68,
21,
6018,
568,
6294,
1251,
15,
17,
544,
1693,
20,
14,
742,
9,
31,
11917,
14,
742,
101,
86,
45,
568,
5,
3311,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 rounding to thr nearest 50 cents
===
I have the following code that rounds my amounts to the nearest Dollar:
switch ($amazonResult['SalesRank']) {
case ($amazonResult['SalesRank'] < 1 || trim($amazonResult['SalesRank'])===''|| !isset($amazonResult['SalesRank']) || $amazonResult['SalesRank']=== null):... | 0 | [
2,
13,
26120,
560,
68,
20,
13,
96,
139,
6557,
1222,
5802,
18,
800,
3726,
3726,
31,
57,
14,
249,
1797,
30,
5839,
51,
8545,
20,
14,
6557,
9311,
45,
5521,
13,
5,
4403,
3812,
6931,
29955,
2558,
22,
18,
14461,
23083,
22,
500,
6,
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... |
Efficient Xorshift skip ahead
===
I need a fast random number generator that allows me to randomly access numbers at various positions of the random number sequence. I chose Xorshift, because it's fast and easy to implement.
To get a specific random number from the sequence, I implemented the following method (`mPo... | 0 | [
2,
8243,
993,
248,
14157,
12532,
2173,
800,
3726,
3726,
31,
376,
21,
1512,
5477,
234,
15286,
30,
2965,
55,
20,
21324,
1381,
2116,
35,
617,
3062,
16,
14,
5477,
234,
4030,
9,
31,
3305,
993,
248,
14157,
15,
185,
32,
22,
18,
1512,
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... |
egrep results to vim as a line referenced filelist
===
In a shell I use the following function to create a filelist and pass it to vim.
Feels alright, but I lost the line reference, I open the files in correct order but then I have to search again for the text as the cursor starts at first line.
Actual function ... | 0 | [
2,
12369,
99,
306,
1736,
20,
1790,
79,
28,
21,
293,
17571,
3893,
5739,
800,
3726,
3726,
19,
21,
3593,
31,
275,
14,
249,
1990,
20,
1600,
21,
3893,
5739,
17,
1477,
32,
20,
1790,
79,
9,
5121,
11885,
15,
47,
31,
529,
14,
293,
2801... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there any mySQL script that generate simple reports in text or excel format.
===
*Is there any mySQL script that generate simple reports in text or excel format. Like sales for each day!* I'm looking for simple solution using mysql workbench. Thanks | 0 | [
2,
25,
80,
186,
51,
18,
22402,
3884,
30,
7920,
1935,
2813,
19,
1854,
54,
20700,
2595,
9,
800,
3726,
3726,
1637,
403,
80,
186,
51,
18,
22402,
3884,
30,
7920,
1935,
2813,
19,
1854,
54,
20700,
2595,
9,
101,
2598,
26,
206,
208,
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,
0,
0... |
debug GWT on tomcat using eclipse
===
I'm using GWT 2.4 and have a ton of code already written. I understand the Jetty server that comes with the GWT plugin has very tight control over the jars that can be used in a project to mimic app engine as closely as possible. I need to deploy to tomcat 7. I modified my proj... | 0 | [
2,
121,
16254,
14094,
38,
27,
2067,
5782,
568,
11652,
800,
3726,
3726,
31,
22,
79,
568,
14094,
38,
172,
9,
300,
17,
57,
21,
13,
444,
16,
1797,
614,
642,
9,
31,
1369,
14,
17341,
93,
8128,
30,
1624,
29,
14,
14094,
38,
10922,
108... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Javascript:Replacing letters within certain phrases only
===
Over [here](http://stackoverflow.com/questions/11681822/javascriptreplacing-a-but-not-the-a-in-ab) I was asked to form a new question with one of my comments so here I am. I was wondering if it was possible to replace a phrase within certain words only. Eg: ... | 0 | [
2,
8247,
8741,
45,
99,
17994,
68,
2516,
363,
1200,
18492,
104,
800,
3726,
3726,
84,
636,
6836,
500,
5,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652,
18,
11698,
13434,
11105,
9298,
1004,
1385,
8741,
99,
17994,
68,
8,
58,
8,
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... |
UIWebView doesnot load pages properly in iPhone
===
I am new to iPhone,
I made ePub reader app, in which i am loading local `.html` page in my `webview`.
when i load my `.html` page it works properly but after some time it does not load properly. something unexpected things gets loads in my webview like html p... | 0 | [
2,
13,
5661,
14113,
4725,
630,
1270,
6305,
4434,
7428,
19,
21024,
800,
3726,
3726,
31,
589,
78,
20,
21024,
15,
31,
117,
2579,
4502,
7765,
4865,
15,
19,
56,
31,
589,
12797,
375,
13,
1,
9,
15895,
1,
2478,
19,
51,
13,
1,
14113,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Correction for jquery rating system
===
i want to build a 5 star rating system using jquery php and mysql,
i am following [this][1] tutorial to make it, i am getting error in jquery part,
i am good at php and mysql but had little knowledge about jquery and ajax.
jquery code
$(function(){
$('.st... | 0 | [
2,
14608,
26,
487,
8190,
93,
4647,
329,
800,
3726,
3726,
31,
259,
20,
1895,
21,
331,
778,
4647,
329,
568,
487,
8190,
93,
13,
26120,
17,
51,
18,
22402,
15,
31,
589,
249,
636,
1565,
500,
2558,
165,
500,
29724,
20,
233,
32,
15,
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 View Controller's property in AppDelegate
===
To begin with: I'm totally fresh in Objective-C and probably my problem is easy to solve, but I cannot specify my question well enough.
I'm creating an application with a structure of:
View Controller (initial one) ->moving to-> Tab Bar Controller with 2 table view... | 0 | [
2,
309,
1418,
9919,
22,
18,
1354,
19,
4865,
24249,
3322,
800,
3726,
3726,
20,
2348,
29,
45,
31,
22,
79,
5139,
3180,
19,
7038,
8,
150,
17,
910,
51,
1448,
25,
2010,
20,
8402,
15,
47,
31,
1967,
19077,
51,
1301,
134,
511,
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... |
What is the Regular Expression for this type of expression "Start Date: [Some Month] [dd], [yyyy]"?
===
What is the Regular Expression for this type of expression "Start Date: [Some Month] [dd], [yyyy]" where the entire month is typed... I want to extract this string and then further process it.. | 0 | [
2,
98,
25,
14,
1290,
1803,
26,
48,
1001,
16,
1803,
13,
7,
13680,
1231,
45,
636,
3220,
1617,
500,
636,
8096,
500,
15,
636,
93,
93,
93,
93,
500,
7,
60,
800,
3726,
3726,
98,
25,
14,
1290,
1803,
26,
48,
1001,
16,
1803,
13,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make condition inside getView of Custom BaseAdapter
===
I want to make a Custom ListView with Custom BaseAdapter, where the the status=1,I want to show a CheckBox, and else I want to show a textView..
My given condition is ..
if (NewtheStatus == 1) {
alreadyOrderText
... | 0 | [
2,
184,
20,
233,
2874,
572,
164,
4725,
16,
5816,
1000,
27576,
106,
800,
3726,
3726,
31,
259,
20,
233,
21,
5816,
968,
4725,
29,
5816,
1000,
27576,
106,
15,
113,
14,
14,
1782,
3726,
165,
15,
49,
259,
20,
298,
21,
2631,
5309,
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... |
Regular expression "AND OR" for [left | right] || [top | bottom]
===
I am trying to write a regex that will match the following YACC expression:
`[left | right] || [top | bottom]`:
It should match: (left or right) AND OR (top or bottom). OR '`|`' is simple to do but '`||`' I can't figure it out.
This expression ... | 0 | [
2,
1290,
1803,
13,
7,
290,
54,
7,
26,
636,
9742,
13,
1,
193,
500,
13,
1,
636,
3880,
13,
1,
2129,
500,
800,
3726,
3726,
31,
589,
749,
20,
2757,
21,
7953,
1706,
30,
129,
730,
14,
249,
2167,
3384,
1803,
45,
13,
1,
2558,
9742,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
I'd like to use the iPad virtual keyboard like a peripheral for a desktop computer
===
I'd like to use the iPad virtual keyboard like a peripheral for a desktop computer, just as a substitute of the original keyboard, any ideas? I didn't find anything on the net. A good solution for me is a 40 PIN apple adapter to USB... | 0 | [
2,
31,
22,
43,
101,
20,
275,
14,
31,
8240,
6599,
8896,
101,
21,
17219,
26,
21,
17404,
1428,
800,
3726,
3726,
31,
22,
43,
101,
20,
275,
14,
31,
8240,
6599,
8896,
101,
21,
17219,
26,
21,
17404,
1428,
15,
114,
28,
21,
6558,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Unable to connect to postgres database via glassfish v3.1.2
===
I am using glass fish v3.1.2. I made a connection pool and JNDI name. Here are the screen shots
![enter image description here][1]
![enter image description here][2]
[1]: http://i.stack.imgur.com/tSB6l.png
[2]: http://i.stack.imgur.com/uJ6... | 0 | [
2,
2343,
20,
6379,
20,
678,
6879,
18,
6018,
1197,
1350,
4934,
566,
240,
9,
165,
9,
135,
800,
3726,
3726,
31,
589,
568,
1350,
1968,
566,
240,
9,
165,
9,
135,
9,
31,
117,
21,
2760,
3067,
17,
487,
9805,
204,
9,
235,
50,
14,
232... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
If error in after insert trigger in mysql
===
Suppose i have two triggers for a table **X**
'**after insert**' and '**before insert**' triggers .
And i am trying to insert values in to table **X**.
If an error happened in '**after insert**' trigger while i am inserting values. what will
happen to my inse... | 0 | [
2,
100,
7019,
19,
75,
14692,
7286,
19,
51,
18,
22402,
800,
3726,
3726,
5787,
31,
57,
81,
7286,
18,
26,
21,
859,
13,
1409,
396,
1409,
13,
22,
1409,
5162,
14692,
1409,
22,
17,
13,
22,
1409,
12750,
14692,
1409,
22,
7286,
18,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.