unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Get Current Running Process in Android
===
>It's about Currently Running Process Info.
>I would like to capture the vivid name or the same name which appeared under icon of the current running process.
>While using [RunningTaskInfo][1] or [RunningProcessInfo][2] , I can only get the complex information like com... | 0 | [
2,
164,
866,
946,
953,
19,
13005,
800,
3726,
3726,
13,
1,
242,
22,
18,
88,
871,
946,
953,
15404,
9,
13,
1,
49,
83,
101,
20,
3683,
14,
14339,
204,
54,
14,
205,
204,
56,
682,
131,
9801,
16,
14,
866,
946,
953,
9,
13,
1,
10144... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Move thumbnail next and prev jquery
===
Hello Friends i want to move my thumbnails next and prev with using jquery i found many jquery with same effects but problem is when i implement those code in my code then my existing code conflicting with this code .I want this kind of effect [http://sorgalla.com/projects/jcaro... | 0 | [
2,
780,
5078,
325,
947,
328,
17,
782,
710,
487,
8190,
93,
800,
3726,
3726,
10975,
954,
31,
259,
20,
780,
51,
5078,
325,
947,
18,
328,
17,
782,
710,
29,
568,
487,
8190,
93,
31,
216,
151,
487,
8190,
93,
29,
205,
2292,
47,
1448,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android how to update value of ProgressBar?
===
My activity have a ProgressBar. When start activity, I'll check value get from another place and update to ProgressBar. Here's my code:
final ProgressBar progressBar = (ProgressBar) findViewById(R.id.progressBar_detail);
final TextView progressText = (Text... | 0 | [
2,
13005,
184,
20,
11100,
1923,
16,
3455,
1850,
60,
800,
3726,
3726,
51,
2358,
57,
21,
3455,
1850,
9,
76,
799,
2358,
15,
31,
22,
211,
2631,
1923,
164,
37,
226,
209,
17,
11100,
20,
3455,
1850,
9,
235,
22,
18,
51,
1797,
45,
426,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 determine which day is the first in week in current locale in C
===
How to determine which day is the first in week in current locale in C.
In Russia monday is the first day, but my mac shows localized calendar with wrong first day.
So i wonder if i can deterimnate which day is the first in current locale. Th... | 0 | [
2,
184,
20,
3746,
56,
208,
25,
14,
64,
19,
877,
19,
866,
375,
62,
19,
272,
800,
3726,
3726,
184,
20,
3746,
56,
208,
25,
14,
64,
19,
877,
19,
866,
375,
62,
19,
272,
9,
19,
1902,
5745,
25,
14,
64,
208,
15,
47,
51,
1572,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NSMutableArray add object from other array at index
===
Is there any way to do `addObjectFromArray:atIndex:`?
I have 2 NSMutableArrays. Lets say 1st array is `array1` and the 2nd is `array2`. They ar filled with values. And I need to add item from `array1` at index `3` to `array2`. Is it possible? | 0 | [
2,
13,
2172,
7903,
579,
8576,
93,
3547,
3095,
37,
89,
7718,
35,
4348,
800,
3726,
3726,
25,
80,
186,
161,
20,
107,
13,
1,
14854,
23793,
2665,
8576,
93,
45,
721,
25671,
45,
1,
60,
31,
57,
172,
13,
2172,
7903,
579,
8576,
93,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
while UUID's hashcode equals to Integer.MIN_VALUE
===
public static void main(String[] args) {
String uuid = null;
while ((uuid = UUID.randomUUID().toString().replace("-", "")).hashCode() != Integer.MIN_VALUE){};
System.out.println("i got one! " + uuid);
}
i cannot find out the result.
even i do not... | 1 | [
2,
133,
13,
19612,
1340,
22,
18,
19170,
9375,
2747,
18,
20,
13820,
9,
2160,
1,
15165,
800,
3726,
3726,
317,
12038,
11364,
407,
5,
11130,
2558,
500,
13,
10663,
18,
6,
13,
1,
3724,
13,
19612,
1340,
800,
16203,
73,
133,
13,
5,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cookie-less form login to Symfony2 site
===
I've got a symfony site that is designed to be used in an iframe on another site. For all browsers it works fine, except Safari, because Safari doesn't let an iframe set any cookies.
The solution I've been trying is to set PHPSESSID as a hidden field on the form, and use ... | 0 | [
2,
19980,
8,
923,
505,
6738,
108,
20,
13,
7261,
10229,
93,
135,
689,
800,
3726,
3726,
31,
22,
195,
330,
21,
13,
7261,
10229,
93,
689,
30,
25,
1006,
20,
44,
147,
19,
40,
31,
8361,
27,
226,
689,
9,
26,
65,
16495,
18,
32,
693,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Show all years' Request Data Item on Sharepoint list
===
I have a workflow (nintex) which request data from user every year if current date is equal or greater than contract end date ( a field of Sharepoint list).
The problem is how to show previous year's data, if user fill the form three times. In fact,... | 0 | [
2,
184,
20,
298,
65,
122,
22,
3772,
1054,
9101,
27,
1891,
3132,
968,
800,
3726,
3726,
31,
57,
21,
170,
9990,
13,
5,
5703,
38,
1706,
6,
56,
3772,
1054,
37,
4155,
352,
159,
100,
866,
1231,
25,
2747,
54,
1894,
119,
1305,
241,
123... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 update "PATH" environment variable using WIX
===
I have used the following wix fragment to update "PATH" environment variable.
<DirectoryRef Id="MyDir">
<Component Id ="setEnviroment"
Guid=" xxxxx">
<CreateFolder />
<Environm... | 0 | [
2,
2343,
20,
11100,
13,
7,
8353,
7,
2307,
7612,
568,
4807,
396,
800,
3726,
3726,
31,
57,
147,
14,
249,
4807,
396,
14847,
20,
11100,
13,
7,
8353,
7,
2307,
7612,
9,
13,
1,
10197,
93,
14057,
4924,
3726,
7,
915,
9035,
7,
1,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# DispatcherHelper.CheckBeginInvokeOnUI won't run on UnitTest
===
I'm using DispatcherHelper.CheckBeginInvokeOnUI for mvvm in a C# app, and I'm trying to run msTests with it. Any call that I make from a UnitTest that calls `DispatcherHelper.CheckBeginInvokeOnUI(delegate { //do stuff });`
works fine when it's calle... | 0 | [
2,
272,
5910,
14226,
106,
14593,
106,
9,
12542,
17143,
108,
108,
2625,
1048,
218,
5661,
230,
22,
38,
485,
27,
1237,
10543,
800,
3726,
3726,
31,
22,
79,
568,
14226,
106,
14593,
106,
9,
12542,
17143,
108,
108,
2625,
1048,
218,
5661,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 SDK - Async Task - Add image to list Footer View
===
I have the following code in my Async Tasks' post execute method:
protected void onPostExecute() {
String str = homeAdverts.get(0).getAdvertImgSrc();
imageDownloader.download(str, largeAdPanel,null);
homeTable.addFoote... | 0 | [
2,
13005,
13,
18,
43,
197,
13,
8,
21,
9507,
150,
3005,
13,
8,
3547,
1961,
20,
968,
1749,
106,
1418,
800,
3726,
3726,
31,
57,
14,
249,
1797,
19,
51,
21,
9507,
150,
8674,
22,
678,
15644,
2109,
45,
3803,
11364,
27,
6962,
1706,
17... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dojo Form Submit Woes
===
So here's the problem. We have some big dojo forms created using Zend_Dojo_Form. The problem is that validation, while working per element, does not work on any of the submit buttons. Due to the inflexibility of the standard layouts, we're compelled to use viewscripts.
I thought I had the... | 0 | [
2,
107,
1636,
505,
12298,
4808,
160,
800,
3726,
3726,
86,
235,
22,
18,
14,
1448,
9,
95,
57,
109,
580,
107,
1636,
1997,
679,
568,
10526,
43,
1,
537,
1636,
1,
4190,
9,
14,
1448,
25,
30,
27999,
15,
133,
638,
416,
4520,
15,
630,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should I go with MySql or mongodb
===
I am building a somewhat social network (connections and their connections, messages and locations) and I am a little confused in deciding whether to go with relational database (mysql) or no-sql (mongoDB) backend when designing our backend APIs. Does anyone have any retrospect on... | 0 | [
2,
378,
31,
162,
29,
51,
18,
22402,
54,
3521,
5474,
220,
800,
3726,
3726,
31,
589,
353,
21,
4131,
668,
982,
13,
5,
25996,
5757,
17,
66,
6760,
15,
7561,
17,
4095,
6,
17,
31,
589,
21,
265,
4230,
19,
11211,
1472,
20,
162,
29,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Video LightBox Plugin and Show/Hide Div in HTML5
===
I'm using Video LightBox Plugin. And i want to make a div visible when video opened and make hidden when video closed. What can i do about it? Thanks for help. The js file: http://cdtekstil.com/tr/index_videolb/videolightbox.js Plugin: http://videolightbox.com/ | 0 | [
2,
763,
471,
5309,
10922,
108,
17,
298,
118,
19522,
13,
12916,
19,
13,
15895,
264,
800,
3726,
3726,
31,
22,
79,
568,
763,
471,
5309,
10922,
108,
9,
17,
31,
259,
20,
233,
21,
13,
12916,
4560,
76,
763,
520,
17,
233,
3689,
76,
76... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NOT LESS THAN IN MYSQL
===
Following is my sql query in which i am trying to pull only those records whose dt_dischargedt can be null or they should `NOT LESS THAN` the current date so it'll show only those patient's records who doesnot get discharged. Kindly let me know how can i modify the following query to accompl... | 0 | [
2,
52,
787,
119,
19,
51,
18,
22402,
800,
3726,
3726,
249,
25,
51,
4444,
255,
25597,
19,
56,
31,
589,
749,
20,
2201,
104,
273,
742,
1196,
13,
43,
38,
1,
2906,
10813,
43,
38,
92,
44,
16203,
54,
59,
378,
13,
1,
1270,
787,
119,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JQuery .ajaxStart not being called
===
I am using the JQuery 1.7.2 and am trying to have an 'isDirty' flag throw a confirm message to the user if an ajax call is made. If the user clicks ok the ajax call should happen and if they cancel the confirm message the ajax call should not happen and leave the user on the pag... | 0 | [
2,
487,
8190,
93,
13,
9,
6881,
7522,
13680,
52,
142,
227,
800,
3726,
3726,
31,
589,
568,
14,
487,
8190,
93,
137,
9,
465,
9,
135,
17,
589,
749,
20,
57,
40,
13,
22,
403,
28067,
22,
3157,
3814,
21,
10265,
2802,
20,
14,
4155,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Trying to replace strings in an HTML document and adding extra characters
===
So far what I have is this:
private void writeNotes(){
StreamReader reader = new StreamReader(openFileDialog1.FileName);
string content = reader.ReadToEnd();
reader.Close();
stri... | 0 | [
2,
749,
20,
3934,
7887,
19,
40,
13,
15895,
4492,
17,
4721,
2230,
1766,
800,
3726,
3726,
86,
463,
98,
31,
57,
25,
48,
45,
932,
11364,
2757,
10280,
18,
5,
6,
1,
3766,
10647,
106,
7765,
800,
78,
3766,
10647,
106,
5,
10157,
16877,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Detecting When Application is Exited
===
I've been reading the following article:
https://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIApplicationDelegate_Protocol/Reference/Reference.html#//apple_ref/doc/uid/TP40006786-CH3-SW5
and I'm a tad bit confused on how I can detect when a user leaves... | 0 | [
2,
9092,
68,
76,
3010,
25,
16974,
800,
3726,
3726,
31,
22,
195,
74,
1876,
14,
249,
2002,
45,
7775,
18,
6903,
26051,
106,
9,
24212,
9,
960,
118,
1210,
2559,
622,
118,
7760,
118,
5910,
28132,
857,
118,
5661,
13703,
118,
28018,
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... |
Sleep Command Not Working
===
I have a modal with some options on it for my iPad App. When an option is selected I want to remove the modal then segue to a new screen.
I want the original screen (that launched the modal) to be seen for two seconds before the new segue happens. Why will this code not work?
[s... | 0 | [
2,
1742,
1202,
52,
638,
800,
3726,
3726,
31,
57,
21,
13,
20756,
29,
109,
6368,
27,
32,
26,
51,
31,
8240,
4865,
9,
76,
40,
4255,
25,
1704,
31,
259,
20,
4681,
14,
13,
20756,
94,
1353,
3982,
20,
21,
78,
2324,
9,
31,
259,
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... |
GCC 4.6 and missing variadic-templates expansions
===
I'm using this code to create multiple functions wrappers using variadic templates:
// Compile with g++ -std=c++0x $(pkg-config sigc++-2.0 --cflags --libs) test.cpp -o test
#include <iostream>
#include <type_traits>
#include <sigc++/sigc++.h>
... | 0 | [
2,
489,
3384,
268,
9,
379,
17,
2863,
4033,
549,
4673,
8,
9577,
6554,
18,
3233,
18,
800,
3726,
3726,
31,
22,
79,
568,
48,
1797,
20,
1600,
1886,
3719,
28051,
18,
568,
4033,
549,
4673,
22894,
18,
45,
12894,
26561,
29,
489,
20512,
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... |
Giving an object an exclusive lock on a member object
===
Each request in my web app can get one data access object instance (of type UnitofWork), via MVC3's own dependency injection mechanism. So far so good.
I am creating an Idisposable UnitofWorkScope object to aggregate some store calls on this data access obje... | 0 | [
2,
1438,
40,
3095,
40,
6753,
3991,
27,
21,
322,
3095,
800,
3726,
3726,
206,
3772,
19,
51,
2741,
4865,
92,
164,
53,
1054,
1381,
3095,
4851,
13,
5,
1041,
1001,
1237,
1041,
3783,
6,
15,
1197,
307,
8990,
240,
22,
18,
258,
26835,
136... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
pulling more cells in uitableviewcell
===
I created navigation based app. In my tableview with more sections, i want to pull more cells in one section which has 4 cells already last cell is adding action cell after **i clicked add more cells** in the last cell of that section like the **load more cell**,I want to pu... | 0 | [
2,
3303,
91,
2934,
19,
13,
11193,
579,
4725,
9725,
800,
3726,
3726,
31,
679,
8368,
432,
4865,
9,
19,
51,
859,
4725,
29,
91,
4501,
15,
31,
259,
20,
2201,
91,
2934,
19,
53,
1050,
56,
63,
268,
2934,
614,
236,
1667,
25,
4721,
1028... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why does Guava's TypeToken<T>.getRawType() return Class<? super T> instead of Class<T>
===
From Effective Java Second Edition, Item 28 : "Do not use wildcard types as return types. Rather than providing additional flexibility for your users it would force them to use wildcard types in client code."
public final... | 0 | [
2,
483,
630,
10658,
1385,
22,
18,
1001,
262,
2853,
1,
38,
1,
9,
3060,
12404,
4474,
5,
6,
788,
718,
1,
60,
1026,
13,
38,
1,
700,
16,
718,
1,
38,
1,
800,
3726,
3726,
37,
3140,
8247,
153,
1322,
15,
9101,
1274,
13,
45,
13,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Single sign on for Silverlight4 app and web application
===
I have 2 different application one is in silverlight and another is web application. I need single sign on for both. Scenario is like any user loged in into the Silverlight application then there one menu in that app to open the another web application in log... | 0 | [
2,
345,
1676,
27,
26,
1172,
3130,
300,
4865,
17,
2741,
3010,
800,
3726,
3726,
31,
57,
172,
421,
3010,
53,
25,
19,
1172,
3130,
17,
226,
25,
2741,
3010,
9,
31,
376,
345,
1676,
27,
26,
156,
9,
12705,
25,
101,
186,
4155,
6738,
69,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 are the differences between C, and C++ calling conventions?
===
As I know, the calling convention is compiler and architecture dependent. But are there any clear differences between C and C++ calling conventions? | 0 | [
2,
98,
50,
14,
4921,
128,
272,
15,
17,
272,
20512,
2555,
15117,
60,
800,
3726,
3726,
28,
31,
143,
15,
14,
2555,
3087,
25,
21486,
17,
2607,
9063,
9,
47,
50,
80,
186,
1207,
4921,
128,
272,
17,
272,
20512,
2555,
15117,
60,
3,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Picasa Login in iphone
===
Hi i'm a newbie to iphone application development..
present i'm working on ***Picasa web albums***..i integrated well in my project ,but i was stucked in a situation where passing user credentials...
i'm using **GTMOAuth2ViewControllerTouch** in order to validate user...
so when i use G... | 0 | [
2,
9327,
8588,
6738,
108,
19,
21024,
800,
3726,
3726,
4148,
31,
22,
79,
21,
78,
5893,
20,
21024,
3010,
522,
9,
9,
734,
31,
22,
79,
638,
27,
8980,
7763,
8588,
2741,
2675,
2483,
1409,
9,
9,
49,
5547,
134,
19,
51,
669,
13,
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... |
Unhandled Exception: System.Runtime.InteropServices.COMException (0x80080005):
===
I did c# code that opens ms word and it runs correct. I want to run this program in condor environment and i got an error, says..Unhandled Exception: System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class fac... | 0 | [
2,
367,
3203,
1294,
5391,
45,
329,
9,
3169,
891,
9,
6280,
2594,
11449,
18,
9,
960,
10066,
872,
13,
5,
387,
396,
8464,
28064,
264,
6,
45,
800,
3726,
3726,
31,
144,
272,
5910,
1797,
30,
8965,
4235,
833,
17,
32,
1461,
4456,
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... |
Access files in other domain
===
Very easy, I have:
`domain1.com`
`domain2.com`
Set on a **cPanel/WHM dedicated server**
I want to access an image from `domain1.com` to `domain2.com` but without using the full http route
Instead of this
`<img src="http://www.domain1.com/files/image1.jpg" />`
I want ... | 0 | [
2,
1381,
6488,
19,
89,
4603,
800,
3726,
3726,
253,
2010,
15,
31,
57,
45,
13,
1,
537,
6232,
165,
9,
960,
1,
13,
1,
537,
6232,
135,
9,
960,
1,
309,
27,
21,
13,
1409,
150,
3206,
532,
118,
18664,
79,
2360,
8128,
1409,
31,
259,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Send video taken from library to custom Titanium Module
===
I want send video picked from library to custom titanium module. In the module, I'll receive video in AVAsset/ AVURLAsset object.
Presently when I am sending the video file from application, it is considering it as TiBlob object. While I need this as AVAss... | 0 | [
2,
2660,
763,
658,
37,
1248,
20,
5816,
26398,
12613,
800,
3726,
3726,
31,
259,
2660,
763,
2114,
37,
1248,
20,
5816,
26398,
12613,
9,
19,
14,
12613,
15,
31,
22,
211,
2588,
763,
19,
21,
8471,
3554,
118,
14026,
911,
4830,
3554,
3095,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 a way to run PHP 5.3 next PHP 5.4
===
Is there a way to run PHP 5.3 next PHP 5.4? I'd like it to run simultaneously under apache. I'd like to do that on Windows 7 (using Xampp) and on Ubuntu 12.04. | 0 | [
2,
25,
80,
21,
161,
20,
485,
13,
26120,
331,
9,
240,
328,
13,
26120,
331,
9,
300,
800,
3726,
3726,
25,
80,
21,
161,
20,
485,
13,
26120,
331,
9,
240,
328,
13,
26120,
331,
9,
300,
60,
31,
22,
43,
101,
32,
20,
485,
6888,
131,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Passing NSMutableArray from one View Controller to a function in another
===
I've read up on couple of questions here on SO about passing data between two View Controllers and seen different ways suggested of doing it. My problem is as follows:
I have a view controller (lets call it a "A") that has a searchbar in a... | 0 | [
2,
2848,
13,
2172,
7903,
579,
8576,
93,
37,
53,
1418,
9919,
20,
21,
1990,
19,
226,
800,
3726,
3726,
31,
22,
195,
1302,
71,
27,
1335,
16,
2346,
235,
27,
86,
88,
2848,
1054,
128,
81,
1418,
9919,
18,
17,
541,
421,
2847,
2347,
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 initialise a complex C struct in one line?
===
I have a structure:
typedef struct stock {
const char* key1p2; // stock code
const char* key2p2; // short desc
const char* desc1; // description
const char* prod_grp; // product group
const char dp_inqty; // de... | 0 | [
2,
184,
20,
2104,
2628,
21,
1502,
272,
13,
10346,
19,
53,
293,
60,
800,
3726,
3726,
31,
57,
21,
1411,
45,
1001,
13862,
13,
10346,
2070,
13,
1,
11608,
38,
4892,
2483,
1246,
165,
306,
135,
73,
12894,
2070,
1797,
11608,
38,
4892,
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... |
Unable to save the image properly from inputstream
===
I am getting exact bytes of image from client and saving it as image file in driver. But it is not displaying at all.
if (is != null) {
File f = new File("e:/3432.jpg");
OutputStream os = new FileOutputS... | 0 | [
2,
2343,
20,
2079,
14,
1961,
7428,
37,
6367,
11260,
800,
3726,
3726,
31,
589,
1017,
5340,
34,
3231,
16,
1961,
37,
6819,
17,
7599,
32,
28,
1961,
3893,
19,
2425,
9,
47,
32,
25,
52,
17418,
35,
65,
9,
100,
13,
5,
403,
13,
187,
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... |
owncloud add own filestorage
===
I'm trying to hook owncloud into my cms. But I experience issues with the filestorage mounting. Does anyone have an example on how to create your own filestorage in an OwnCloud App.
I currently have the code below in a custom, active app (a different part allows to log CMS users to ... | 0 | [
2,
258,
19174,
3547,
258,
6488,
2153,
1303,
800,
3726,
3726,
31,
22,
79,
749,
20,
5559,
258,
19174,
77,
51,
2390,
18,
9,
47,
31,
1496,
1549,
29,
14,
6488,
2153,
1303,
17022,
9,
630,
1276,
57,
40,
823,
27,
184,
20,
1600,
154,
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... |
Sub-pixel anti-aliasing in NSBitmapImageRep
===
Is there a way to draw text in an `NSBitMapImageRep` with sub-pixel anti-aliasing? The text is drawn on an opaque white background and I've tried using the `CGContextSetShouldSmoothFonts` function, but that doesn't seem to help.
NSBitmapImageRep *bm = [[NSBitmapIm... | 0 | [
2,
972,
8,
18321,
532,
1082,
8,
10060,
18,
68,
19,
13,
2172,
3326,
15022,
22039,
99,
306,
800,
3726,
3726,
25,
80,
21,
161,
20,
2003,
1854,
19,
40,
13,
1,
2172,
3326,
15022,
22039,
99,
306,
1,
29,
972,
8,
18321,
532,
1082,
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... |
Problems with fluid layout in Firefox
===
stackoverflow has helped learn lots of cool stuff but unfortunately I'm stuck on something and don't know how to research my way out of it....so here goes floating a question which I hope has a simple answer.
I've laid out a website which works great and is just what I want... | 0 | [
2,
1716,
29,
6250,
9106,
19,
535,
18219,
800,
3726,
3726,
7566,
2549,
9990,
63,
1456,
2484,
7503,
16,
2700,
3217,
47,
6200,
31,
22,
79,
4549,
27,
301,
17,
221,
22,
38,
143,
184,
20,
527,
51,
161,
70,
16,
32,
9,
9,
9,
9,
656,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Div Slider Slideshow?
===
I am trying to create a slideshow similar to the one on lifeandtimes.com, and would like to know what is the best method to do so. I have tried www.smoothdivscroll.com and many other solutions to no avail. Any help would be appreciated. | 0 | [
2,
13,
12916,
3295,
106,
18066,
1544,
60,
800,
3726,
3726,
31,
589,
749,
20,
1600,
21,
18066,
1544,
835,
20,
14,
53,
27,
201,
290,
891,
18,
9,
960,
15,
17,
83,
101,
20,
143,
98,
25,
14,
246,
2109,
20,
107,
86,
9,
31,
57,
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... |
in which xml file i should use depends element (magento)
===
we know there are 2 necessary xml file for module development in magento<br /><br />
1.) Package_Module.xml <br /> 2.) etc/config.xml <br /><br />
some people use depends (if depends on any existing module) tag inside first xml file & some in second file
... | 0 | [
2,
19,
56,
23504,
3893,
31,
378,
275,
9597,
4520,
13,
5,
9473,
17050,
6,
800,
3726,
3726,
95,
143,
80,
50,
172,
2378,
23504,
3893,
26,
12613,
522,
19,
4723,
17050,
1,
5145,
13,
118,
1,
5145,
13,
118,
1,
137,
9,
6,
6030,
1,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Signature of a function
===
i am a beginner level programmer and have just started learning programming in C++,
i had a look at a feature called "FUNCTION OVERLOADING" and while i have understood the purpose and implementation at the code level, i haven't understood how it is implemented at the compiler level that ... | 0 | [
2,
7810,
16,
21,
1990,
800,
3726,
3726,
31,
589,
21,
26931,
662,
17968,
17,
57,
114,
373,
2477,
3143,
19,
272,
20512,
15,
31,
41,
21,
361,
35,
21,
1580,
227,
13,
7,
22359,
84,
16866,
7,
17,
133,
31,
57,
4014,
14,
2131,
17,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can't bind an Activity to Service
===
I'm having trouble getting the onServiceConnected() method to run, which means that it's not binding my activity to the service.
It's probably something simple that I've missed out - but I've tried quite a few times - starting from scratch.
Here we go...
**My Service Cla... | 0 | [
2,
92,
22,
38,
10193,
40,
2358,
20,
365,
800,
3726,
3726,
31,
22,
79,
452,
2572,
1017,
14,
27,
11449,
23520,
5,
6,
2109,
20,
485,
15,
56,
1108,
30,
32,
22,
18,
52,
8728,
51,
2358,
20,
14,
365,
9,
32,
22,
18,
910,
301,
1935... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Rails put validation in a module mixin?
===
Some validations are repetitive in my models:
validates :name, :length => { :minimum => 2 }, :presence => true, :uniqueness => true
validates :name_seo, :length => { :minimum => 2 }, :presence => true, :uniqueness => true
How would I put that in a mixin? I g... | 0 | [
2,
2240,
18,
442,
27999,
19,
21,
12613,
2917,
108,
60,
800,
3726,
3726,
109,
27999,
18,
50,
24935,
19,
51,
2761,
45,
7394,
7759,
13,
45,
7259,
15,
13,
45,
6325,
800,
1,
13,
1,
13,
45,
6840,
18535,
800,
1,
172,
13,
1,
15,
13,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set Devise to require one of email or username to be populated for saving?
===
I followed this: https://github.com/plataformatec/devise/wiki/How-To:-Allow-users-to-sign-in-using-their-username-or-email-address
Which works. So now I can login with either :username and :password or :email and :password.
H... | 0 | [
2,
184,
20,
309,
29276,
20,
4077,
53,
16,
8517,
54,
4155,
7259,
20,
44,
11111,
26,
7599,
60,
800,
3726,
3726,
31,
709,
48,
45,
7775,
18,
6903,
10404,
20926,
9,
960,
118,
9897,
536,
23588,
3319,
118,
14438,
2628,
118,
17375,
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... |
callback function design C++
===
I'm trying to implement a callback manager that can register and execute the callbacks from different classes, which each classes are from a different DLL.
Each of these classes derives from a common base class. I know how a single class can make use of a template class like below ... | 0 | [
2,
645,
1958,
1990,
704,
272,
20512,
800,
3726,
3726,
31,
22,
79,
749,
20,
8713,
21,
645,
1958,
1382,
30,
92,
2243,
17,
15644,
14,
645,
1958,
18,
37,
421,
2684,
15,
56,
206,
2684,
50,
37,
21,
421,
13,
43,
211,
9,
206,
16,
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... |
HtmlUnit submitbuttonClick is not working, it works in my apache tomcat and not in the client
===
It works fine for me but when i am trying to run it on clients server it is not clicking button. if it clicks than i don't know what happen it will not redirect on the second page. i get same page not the second page i ha... | 0 | [
2,
13,
15895,
15464,
12298,
811,
444,
150,
10129,
25,
52,
638,
15,
32,
693,
19,
51,
17140,
2067,
5782,
17,
52,
19,
14,
6819,
800,
3726,
3726,
32,
693,
1123,
26,
55,
47,
76,
31,
589,
749,
20,
485,
32,
27,
7421,
8128,
32,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP- Typo on tutorial?
===
[I followed this phpacademy tutorial on youtube][1] and I can't get the keywords to print via echo.
Instead I get:
`keywords` LIKE '%keyword%'
WTH? The code has been copied verbatim. Could be a platform problem?
Is there an issue on this statement -> `$where .= "`key... | 0 | [
2,
13,
26120,
8,
22550,
27,
29724,
60,
800,
3726,
3726,
636,
49,
709,
48,
4145,
1060,
7257,
915,
29724,
27,
7330,
500,
2558,
165,
500,
17,
31,
92,
22,
38,
164,
14,
1246,
12827,
20,
4793,
1197,
8117,
9,
700,
31,
164,
45,
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... |
Change background color of table row when hovering over another row in same table
===
This is my first post here and I'm by no means a skilled HTML/CSS/JavaScript programmer so please bear with me if I'm not expressing myself clear enough - sorry if it's too wordy!
I'm using a classic HTML table for tabular content... | 0 | [
2,
753,
2395,
1665,
16,
859,
3131,
76,
18503,
84,
226,
3131,
19,
205,
859,
800,
3726,
3726,
48,
25,
51,
64,
678,
235,
17,
31,
22,
79,
34,
90,
1108,
21,
11315,
13,
15895,
118,
6824,
18,
118,
1004,
1385,
8741,
17968,
86,
2247,
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... |
Django - Installation django-tables2
===
I'm a noob with python and Django and I trying to ise django-tables2, but my project can't find django-tables2 when I want to make an import.
My Python path is c:/Python27 and I'm trying to install django-tables2 with: pip install django-tables2 (Windows XP, 2.7.3 & ... | 0 | [
2,
3857,
14541,
13,
8,
7758,
3857,
14541,
8,
5924,
18,
135,
800,
3726,
3726,
31,
22,
79,
21,
90,
4995,
29,
20059,
17,
3857,
14541,
17,
31,
749,
20,
25,
62,
3857,
14541,
8,
5924,
18,
135,
15,
47,
51,
669,
92,
22,
38,
477,
385... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JBoss 7 using Tomcat 7 realm
===
I'm migrating an application from Tomcat 7 to JBoss 7 and this application uses its own realm. Is it possible to use a Tomcat 7 based realm in JBoss 7 ? | 0 | [
2,
487,
10349,
18,
453,
568,
2067,
5782,
453,
6640,
800,
3726,
3726,
31,
22,
79,
28749,
40,
3010,
37,
2067,
5782,
453,
20,
487,
10349,
18,
453,
17,
48,
3010,
2027,
82,
258,
6640,
9,
25,
32,
938,
20,
275,
21,
2067,
5782,
453,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Using Apple Names in App
===
Does Apple allow you to use text labels in your app that are trademarked property (iTunes, iPhone, etc)? I realize they are quite picky about using trademarks and branding, and I've read a lot of their denial of images, but is this also the case with text? Specifically i'd like to use :
... | 0 | [
2,
568,
4037,
1817,
19,
4865,
800,
3726,
3726,
630,
4037,
1655,
42,
20,
275,
1854,
13173,
19,
154,
4865,
30,
50,
11005,
69,
1354,
13,
5,
12866,
2696,
15,
21024,
15,
2722,
6,
60,
31,
4007,
59,
50,
1450,
2036,
93,
88,
568,
11005,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 set the last modified time of a file from python?
===
I have a python script that downloads a file over FTP using [ftplib][1].
My current download code looks just like the example in the ftp lib docs:
ftp.retrbinary('RETR README', open('README', 'wb').write)
Now I have a requirement that the fil... | 0 | [
2,
184,
92,
31,
309,
14,
236,
5372,
85,
16,
21,
3893,
37,
20059,
60,
800,
3726,
3726,
31,
57,
21,
20059,
3884,
30,
7121,
18,
21,
3893,
84,
1187,
306,
568,
636,
3072,
306,
8326,
500,
2558,
165,
500,
9,
51,
866,
7121,
1797,
1879... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Opencv 2.4 compilation error with objectdetect.hpp
===
I have installed OpenCV using the instructions provided on the wiki using cmake. I have built the files on my desktop. The first program that I tried to run was a simple capture from camera program. Its source is
#include "cv.h"
#include "highgui.... | 0 | [
2,
368,
12732,
172,
9,
300,
4868,
7019,
29,
3095,
28262,
9,
252,
3421,
800,
3726,
3726,
31,
57,
4066,
368,
12732,
568,
14,
7650,
1173,
27,
14,
13,
17375,
568,
272,
11115,
9,
31,
57,
392,
14,
6488,
27,
51,
17404,
9,
14,
64,
625... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Null Pointer Exception : Adnroid
===
I have designed an android application where, I want to view a menu after the splash screen. I trigger it correctly and I use an array adapter to create a custom listview. but, when I run the module, it closes after the splash and the logcat indicate a nullpointer exception. but, I... | 0 | [
2,
16203,
454,
106,
5391,
13,
45,
21,
43,
103,
18524,
800,
3726,
3726,
31,
57,
1006,
40,
13005,
3010,
113,
15,
31,
259,
20,
1418,
21,
11379,
75,
14,
13873,
2324,
9,
31,
7286,
32,
12044,
17,
31,
275,
40,
7718,
9924,
106,
20,
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... |
hibernate.cache.region.factory_class Required in hibernate.cfg.xml
===
I am working on using memcache as second level cache for Hibernate. I am using hibernate-memcached-1.2.4, spymemcached 2.8.0 and hibernate 4.1.4.
But when i try to use it , it gives me error saying
<pre>
Initial sessionfactory cre... | 0 | [
2,
4148,
2102,
8820,
9,
793,
2569,
9,
18790,
9,
17455,
93,
1,
1898,
1390,
19,
4148,
2102,
8820,
9,
8940,
263,
9,
396,
8184,
800,
3726,
3726,
31,
589,
638,
27,
568,
55,
4829,
9616,
28,
153,
662,
16522,
26,
4148,
2102,
8820,
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... |
Where does Windows 7 put files saved to Program Files
===
I have an old program that saves its files to Program Files. We are updating it to run properly on Windows 7. The problem is that we now can't find our saved files. Windows 7 allowed our program to save to program files, but obviously put the files somewhere ... | 0 | [
2,
113,
630,
1936,
453,
442,
6488,
4377,
20,
625,
6488,
800,
3726,
3726,
31,
57,
40,
315,
625,
30,
16815,
82,
6488,
20,
625,
6488,
9,
95,
50,
71,
43,
1880,
32,
20,
485,
7428,
27,
1936,
453,
9,
14,
1448,
25,
30,
95,
130,
92,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Zip file downloading from UCM server to client
===
I have a custom service which accepts the Document name and content ID as a comma separated values and merges the content ID's to form a single PDF document.I'm zipping this PDF document and want to send it across to the ADF application to allow the user to download t... | 0 | [
2,
12133,
3893,
7121,
68,
37,
12669,
79,
8128,
20,
6819,
800,
3726,
3726,
31,
57,
21,
5816,
365,
56,
16548,
14,
4492,
204,
17,
2331,
4924,
28,
21,
11951,
58,
4196,
4070,
17,
12666,
18,
14,
2331,
4924,
22,
18,
20,
505,
21,
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... |
which XML write/parse/modify is good for android
===
I need to parse and modify the XML in android ..Can any one suggest which XML parser is better to parse and modify the XML in android ..?
Currently I'm using XMLpullparser but using this i'm not able to modify the XML...
| 0 | [
2,
56,
23504,
2757,
118,
3574,
870,
118,
13670,
8612,
25,
254,
26,
13005,
800,
3726,
3726,
31,
376,
20,
2017,
870,
17,
17579,
14,
23504,
19,
13005,
13,
9,
9,
1245,
186,
53,
5601,
56,
23504,
2017,
4104,
25,
574,
20,
2017,
870,
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... |
ABPeoplePickerNavigationController EXC_BAD_ACCESS collecting emails and phone numbers
===
I am using an ABPeoplePickerNavigationController to collect an array of email addresses and phone numbers from a contact book entry. 90% of the time it works fine but a few testers are reporting crashes. The crash report says it ... | 0 | [
2,
5941,
10171,
16855,
106,
325,
13227,
857,
12898,
1252,
1396,
150,
1,
5989,
1,
20604,
10079,
8517,
18,
17,
1132,
2116,
800,
3726,
3726,
31,
589,
568,
40,
5941,
10171,
16855,
106,
325,
13227,
857,
12898,
1252,
20,
5543,
40,
7718,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to convert fraction to float in javascript?
===
I want to convert 1/2 in javascript so that when i say print x (where x = 1/2) it returns 0.5.
Also the code should take care of integer and float values. For example if I say print 1 OR print 1.5 it will return as it is. | 1 | [
2,
184,
20,
8406,
10885,
20,
11510,
19,
8247,
8741,
60,
800,
3726,
3726,
31,
259,
20,
8406,
13,
13301,
19,
8247,
8741,
86,
30,
76,
31,
395,
4793,
993,
13,
5,
2798,
993,
800,
13,
13301,
6,
32,
4815,
713,
9,
264,
9,
67,
14,
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... |
spring aop and jersey classes
===
so in spring xml config, i define the following pointcut:
<aop:config>
<aop:aspect ref="metricsAdviceInterceptor">
<aop:around method="invoke" pointcut="@annotation(com.mycom.MetricsAdvice)"/>
</aop:aspect>
</aop:config>
The idea is to col... | 0 | [
2,
1573,
21,
2594,
17,
2134,
2684,
800,
3726,
3726,
86,
19,
1573,
23504,
13,
14093,
2816,
15,
31,
9267,
14,
249,
454,
4118,
45,
13,
1,
58,
2594,
45,
14093,
2816,
1,
13,
1,
58,
2594,
45,
58,
7350,
13,
14057,
3726,
7,
15321,
18,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to check if a UITextfield has Text in it?
===
I just followed a tut on making a conversion app. It was good, but I wanted to expand on it. The tut has you input a value in for Fahrenheit and then converts to Celsius. Pretty basic. So I wanted to add a Kelvin conversion as well. But the code only let you plug ... | 0 | [
2,
184,
20,
2631,
100,
21,
13,
5661,
11969,
1109,
63,
1854,
19,
32,
60,
800,
3726,
3726,
31,
114,
709,
21,
2289,
38,
27,
544,
21,
6263,
4865,
9,
32,
23,
254,
15,
47,
31,
417,
20,
6073,
27,
32,
9,
14,
2289,
38,
63,
42,
6367... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 mySQL procedure
===
INSERT INTO in MySQL>
this is a part of code a procedure:
if ParentList is null then
set @sql=concat('insert into ', table_name, tabSave, '(md5Id, CommentsId, Parent, Content, UserId, Title, Nick) ',
'values(', @md5Id, ', ', CommentsId, ', null, \''... | 0 | [
2,
14692,
77,
51,
18,
22402,
7004,
800,
3726,
3726,
14692,
77,
19,
51,
18,
22402,
1,
48,
25,
21,
141,
16,
1797,
21,
7004,
45,
100,
4766,
5739,
25,
16203,
94,
309,
13,
1,
18,
22402,
3726,
1126,
5782,
5,
22,
108,
18,
6767,
77,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Blog page with theme completely different from the main theme?
===
I have been trying to make my [website][1] on Wordpress. I am using [Brave Zeenat][2] as my primary and [Grido][3] as my blog theme.
I have read many tutorials in places, which discuss how to apply a customized flavour of the main theme on a static ... | 0 | [
2,
8146,
2478,
29,
3184,
1524,
421,
37,
14,
407,
3184,
60,
800,
3726,
3726,
31,
57,
74,
749,
20,
233,
51,
636,
14113,
9097,
500,
2558,
165,
500,
27,
833,
5890,
9,
31,
589,
568,
636,
2559,
195,
4972,
3591,
38,
500,
2558,
135,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
heap size while scrolling in listView
===
In list-view while scrolling through List-view heap-size is continuously increasing, it reaches to 64MB on Galaxy S3 device and application gets crashed.
public class GAdapter extends BaseAdapter implements Filterable {
private List<G> list;
private GActivity mCon... | 0 | [
2,
15414,
1072,
133,
13,
28166,
19,
968,
4725,
800,
3726,
3726,
19,
968,
8,
4725,
133,
13,
28166,
120,
968,
8,
4725,
15414,
8,
10454,
25,
11738,
3425,
15,
32,
5539,
20,
4384,
5024,
27,
9358,
13,
18,
240,
3646,
17,
3010,
3049,
75... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 close the opened spinner in android
===
How to close the opened spinner through program, not item click.
i created spinner through arrayadapter.
spinner.perfromitemclick() not working
| 1 | [
2,
184,
20,
543,
14,
520,
3310,
1031,
19,
13005,
800,
3726,
3726,
184,
20,
543,
14,
520,
3310,
1031,
120,
625,
15,
52,
9101,
10840,
9,
31,
679,
3310,
1031,
120,
7718,
27576,
106,
9,
3310,
1031,
9,
1432,
2665,
2119,
4829,
10129,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
UDP chat from Android to Android device
===
Im new to Android and Java programming. I have to do a bigger project in the future witch includes some android developing. So I've watched some Videotutorials and now im trying to do some apps to train myself. Right now I want to make a chat service between two Android Devi... | 0 | [
2,
287,
7431,
6615,
37,
13005,
20,
13005,
3646,
800,
3726,
3726,
797,
78,
20,
13005,
17,
8247,
3143,
9,
31,
57,
20,
107,
21,
6197,
669,
19,
14,
1022,
5722,
1103,
109,
13005,
3561,
9,
86,
31,
22,
195,
1634,
109,
763,
2473,
9819,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Runtime error while obtaining PE headers from an application at runtime
===
I have been trying to make a executable injector into process for WINDOWS, the program compiles without any errors, but when I run the program (via Microsoft Visual Studio's Debug mode) I get a runtime error. Visual studio highlights a line (i... | 0 | [
2,
485,
891,
7019,
133,
12114,
3560,
157,
445,
37,
40,
3010,
35,
485,
891,
800,
3726,
3726,
31,
57,
74,
749,
20,
233,
21,
1396,
17194,
5924,
20316,
248,
77,
953,
26,
1936,
15,
14,
625,
26561,
18,
366,
186,
11908,
15,
47,
76,
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... |
Tools for JS and CSS file concatenating
===
I recently started working with a large code base with many (15-20) js requests per page. I'm tasked with optimization and performance improvement of these sites.
I've been using tools like Google's PageSpeed and Yahoo's YSlow in conjunction with WebPageTest.org's tests ... | 0 | [
2,
4672,
26,
487,
18,
17,
272,
18,
18,
3893,
1065,
793,
1316,
1880,
800,
3726,
3726,
31,
1989,
373,
638,
29,
21,
370,
1797,
1000,
29,
151,
13,
5,
1193,
8,
1323,
6,
487,
18,
12279,
416,
2478,
9,
31,
22,
79,
14605,
29,
21597,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery reducing code for better maintainability?
===
In jQuery you can do
$("#id1, #id2").doSomething();
But what if you have
var $id1 = $("#id1");
var $id2 = $("#id2");
Is there a way to easily group them together and execute doSomething()?
$($id1, $id2).doSomething(); //ERROR
Hav... | 0 | [
2,
487,
8190,
93,
7974,
1797,
26,
574,
4027,
4091,
60,
800,
3726,
3726,
19,
487,
8190,
93,
42,
92,
107,
5579,
5,
7,
5910,
1340,
165,
15,
6926,
1340,
135,
7,
6,
9,
537,
9099,
5,
6,
73,
47,
98,
100,
42,
57,
4033,
5579,
1340,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fixed header - switch to static or absolute to scrolled off screen when content below hits
===
A very basic setup: *title-shim-container*. The *shim* ensures, that on page load, the *container* is kept at bottom of window to make room for a video live-stream in the background.
When the *container* is scrolled up an... | 0 | [
2,
3535,
157,
106,
13,
8,
5521,
20,
12038,
54,
7070,
20,
12159,
69,
168,
2324,
76,
2331,
1021,
3858,
800,
3726,
3726,
21,
253,
2125,
18161,
45,
1637,
22235,
8,
18,
9639,
8,
1126,
5851,
106,
2483,
9,
14,
1637,
18,
9639,
2483,
406... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 a maven repository that others may use?
===
I have a project that is hosted on github. Now what I want is that just by including a few lines like these, anyone is able to use my library in their maven project.
> <dependency>
> <groupId>org.anahata</groupId>
> <artifactId>a... | 0 | [
2,
184,
20,
1600,
21,
1216,
3124,
24869,
30,
654,
123,
275,
60,
800,
3726,
3726,
31,
57,
21,
669,
30,
25,
2812,
27,
13,
10404,
20926,
9,
130,
98,
31,
259,
25,
30,
114,
34,
215,
21,
310,
1560,
101,
158,
15,
1276,
25,
777,
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... |
Xcode save and load text color and font
===
Okay so i came up with some code but i get the error SIGBRT. My app allows the user to select custom font and text color. For reference see app on app store "Quick Notes!!".
.h
-(IBAction)Verd;
-(IBAction)gray;
-(IBAction)save123456;
@property... | 0 | [
2,
993,
9375,
2079,
17,
6305,
1854,
1665,
17,
9978,
800,
3726,
3726,
1705,
86,
31,
281,
71,
29,
109,
1797,
47,
31,
164,
14,
7019,
8858,
5145,
38,
9,
51,
4865,
2965,
14,
4155,
20,
5407,
5816,
9978,
17,
1854,
1665,
9,
26,
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... |
Extjs4: Customize dropdown menu in grid column header
===
I wanted to customize the dropdown of each column header in a grid panel. The idea is to have a filter for each column (example:
Grades (dropdown menu shows checkbox with K,1,2,4 as a filter)
K
1
2
K
4
I found this solution to manipulate the dropdown... | 0 | [
2,
1396,
38,
728,
18,
300,
45,
5816,
2952,
2804,
2968,
11379,
19,
7354,
4698,
157,
106,
800,
3726,
3726,
31,
417,
20,
5816,
2952,
14,
2804,
2968,
16,
206,
4698,
157,
106,
19,
21,
7354,
4113,
9,
14,
882,
25,
20,
57,
21,
11945,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 cannot be resolved into type in play framework
===
In my model I have
package models;
import play.*;
import play.data.validation.*;
import play.db.jpa.*;
import play.libs.*;
import com.google.gson.JsonObject;
import javax.persistence.*;
import java.util.*;
... | 0 | [
2,
3723,
1967,
44,
11052,
77,
1001,
19,
418,
6596,
800,
3726,
3726,
19,
51,
1061,
31,
57,
6030,
2761,
73,
9010,
418,
9,
2483,
73,
9010,
418,
9,
18768,
9,
18506,
43,
857,
9,
2483,
73,
9010,
418,
9,
9007,
9,
728,
1060,
9,
2483,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android: How to include a menu xml inside another menu xml?
===
Simple question.
I have my menu of child items:
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:id="@+id/fp_pitcher"
android:title="Pitcher">
... | 0 | [
2,
13005,
45,
184,
20,
468,
21,
11379,
23504,
572,
226,
11379,
23504,
60,
800,
3726,
3726,
1935,
1301,
9,
31,
57,
51,
11379,
16,
850,
3755,
45,
13,
1,
60,
396,
8184,
615,
3726,
7,
165,
9,
387,
7,
19608,
3726,
7,
1982,
410,
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... |
How can I detect if the button specified as the menu shortcut mask is down during a mouse event?
===
I'm handling a Swing mouse event, and I'd like to know if the key mask specified in `Toolkit.getMenuShortcutKeyMask()` is down when the event occurs. I obviously cannot use the usual `MouseEvent.isControlDown()` method... | 0 | [
2,
184,
92,
31,
9092,
100,
14,
5167,
9931,
28,
14,
11379,
502,
4118,
5983,
25,
125,
112,
21,
7567,
807,
60,
800,
3726,
3726,
31,
22,
79,
7988,
21,
5587,
7567,
807,
15,
17,
31,
22,
43,
101,
20,
143,
100,
14,
1246,
5983,
9931,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Implementation error
===
I keep getting an implementation error and cannot figure out why please help, the parts which I think are doing this are the testValue method, the testvariables method or the run program method. This code is from the stanford learning classes on itunesU so it can be found there. Basically this... | 0 | [
2,
6123,
7019,
800,
3726,
3726,
31,
643,
1017,
40,
6123,
7019,
17,
1967,
1465,
70,
483,
2247,
448,
15,
14,
1341,
56,
31,
277,
50,
845,
48,
50,
14,
1289,
15165,
2109,
15,
14,
1289,
8220,
579,
18,
2109,
54,
14,
485,
625,
2109,
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... |
WPF: Blurring the background of a semi-transparent form (like Aero glass)
===
I have a borderlees, non-resizable WPF form (WindowStyle=None, AllowsTransparency=True, ResizeMode=NoResize) with a semi-transparent background. Here's a picture of how the form, a semi-transparent red rectangle, looks right now, running on ... | 0 | [
2,
619,
7721,
45,
10330,
2090,
14,
2395,
16,
21,
1922,
8,
7028,
18908,
505,
13,
5,
1403,
8914,
1350,
6,
800,
3726,
3726,
31,
57,
21,
1862,
4716,
18,
15,
538,
8,
99,
18,
3186,
579,
619,
7721,
505,
13,
5,
27508,
4381,
3726,
1574... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Force emacs to use Texlive 2012 instead of 2009
===
I am using Ubuntu 12.04 with Emacs 23.3.1 for handling .tex files. The default installation of Texlive in Ubuntu is version 2009, and I just upgraded to Texlive 2012: in my /usr/local/texlive directory, I can see the 2012 folder containing the files for the latest ve... | 0 | [
2,
558,
13,
62,
6893,
18,
20,
275,
14012,
5928,
563,
700,
16,
588,
800,
3726,
3726,
31,
589,
568,
287,
12968,
2473,
390,
9,
3277,
29,
13,
62,
6893,
18,
1137,
9,
240,
9,
165,
26,
7988,
13,
9,
38,
1706,
6488,
9,
14,
12838,
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... |
Rails 3: Simple form start date
===
Im using simple form in my app to get the users birthday.
It is set (and I want to keep it this way) to go back to year 1900 but I was wondering if there is a way to have the default start be like 1950 (they can still scroll back to older if they need) so most users dont have to... | 0 | [
2,
2240,
18,
2635,
1935,
505,
799,
1231,
800,
3726,
3726,
797,
568,
1935,
505,
19,
51,
4865,
20,
164,
14,
3878,
4455,
9,
32,
25,
309,
13,
5,
290,
31,
259,
20,
643,
32,
48,
161,
6,
20,
162,
97,
20,
159,
3886,
47,
31,
23,
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... |
How do i connect the C++ Wii devkitpro to the internet?
===
I am struggling with my code in devkitpro trying to get this program to connect to the internet. It says it connects. It gets a IP. However, How do i read from the internet and verify that it is even writing my data to the socket? This is a very tough devkit ... | 0 | [
2,
184,
107,
31,
6379,
14,
272,
20512,
18238,
9664,
13703,
2740,
20,
14,
2620,
60,
800,
3726,
3726,
31,
589,
7587,
29,
51,
1797,
19,
9664,
13703,
2740,
749,
20,
164,
48,
625,
20,
6379,
20,
14,
2620,
9,
32,
898,
32,
8534,
9,
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... |
gd php removes black on resize of image
===
We are having a few problems with the GD php system when resizing some images. For the most part the system works fine. However on rare occasions it messes it up with style.
There is no error message, I found the issue can happen when we add background for image, the cod... | 0 | [
2,
489,
43,
13,
26120,
4681,
18,
319,
27,
302,
10454,
16,
1961,
800,
3726,
3726,
95,
50,
452,
21,
310,
1716,
29,
14,
489,
43,
13,
26120,
329,
76,
10719,
3335,
109,
3502,
9,
26,
14,
127,
141,
14,
329,
693,
1123,
9,
207,
27,
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... |
Where to download the algorithm implementations on the 9th DIMACS Implementation challenge (shortest paths)?
===
So I have this link:
http://www.dis.uniroma1.it/challenge9/papers.shtml from another question.
On the site they describe many algorithms but I don't see any ready-to-download code for C++?
Isn't there ... | 0 | [
2,
113,
20,
7121,
14,
9083,
6123,
18,
27,
14,
561,
96,
926,
6893,
18,
6123,
2404,
13,
5,
10849,
1430,
12074,
6,
60,
800,
3726,
3726,
86,
31,
57,
48,
3508,
45,
7775,
6903,
6483,
9,
2906,
9,
8843,
661,
540,
165,
9,
242,
118,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.htaccess 404 redirect to top level
===
It's quite common for us to put in progress sites at www.domain.com/dev/ and then once the client has signed off the site to move it to the top level (www.domain.com), what we like is to be able to put a .htaccess file in the top level so that once we've moved the site out of /d... | 0 | [
2,
13,
9,
9020,
20604,
13,
23397,
302,
14706,
20,
371,
662,
800,
3726,
3726,
32,
22,
18,
1450,
757,
26,
182,
20,
442,
19,
3455,
3259,
35,
13,
6483,
9,
537,
6232,
9,
960,
118,
14438,
118,
17,
94,
382,
14,
6819,
63,
908,
168,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JQuery Hover Code: Adding an If Statement breaks it
===
I have this code that makes a box with information follow the mouse. It's really simple, just checks the custom attribute "description" in the div that you hover over and puts that in the box. However, I want to make it so if that div also has a certain CSS class... | 0 | [
2,
487,
8190,
93,
21350,
1797,
45,
4721,
40,
100,
3331,
7947,
32,
800,
3726,
3726,
31,
57,
48,
1797,
30,
1364,
21,
1649,
29,
676,
1740,
14,
7567,
9,
32,
22,
18,
510,
1935,
15,
114,
16602,
14,
5816,
35,
14755,
13,
7,
546,
8741,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Django gives MySQL 'no default value' warning on user creation
===
I'm trying to write a view to process an extended user registration form for my django site. So far I extend Django's built in registration form as follows:
class RegistrationForm(UserCreationForm):
grad_year = forms.IntegerField()
... | 0 | [
2,
3857,
14541,
2352,
51,
18,
22402,
13,
22,
251,
12838,
1923,
22,
3590,
27,
4155,
2502,
800,
3726,
3726,
31,
22,
79,
749,
20,
2757,
21,
1418,
20,
953,
40,
1984,
4155,
8587,
505,
26,
51,
3857,
14541,
689,
9,
86,
463,
31,
7206,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how does one checkout a version of a single binary file in git?
===
I am familiar with the approach of retrieving a single file version from a git repository:
git checkout <hash> -- <path/file-name>
... and it works like a charm for all my code files. I want to revert one the images I have in my repository ... | 0 | [
2,
184,
630,
53,
2631,
1320,
21,
615,
16,
21,
345,
14171,
3893,
19,
13,
10404,
60,
800,
3726,
3726,
31,
589,
3694,
29,
14,
2141,
16,
13,
6239,
3272,
8397,
21,
345,
3893,
615,
37,
21,
13,
10404,
24869,
45,
13,
10404,
2631,
1320,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Kohana: Completely remove index.php from url (not repeated issue)
===
I'm using Kohana 3.2, and i want to completely remove index.php from the url. For example, i want to access to the controller foo, action bar.
Normally, with bootstrap and htaccess correctly setted up, i can access like this:
> www.domain.com/... | 0 | [
2,
1584,
7285,
45,
1524,
4681,
4348,
9,
26120,
37,
287,
6362,
13,
5,
1270,
4251,
1513,
6,
800,
3726,
3726,
31,
22,
79,
568,
1584,
7285,
203,
9,
135,
15,
17,
31,
259,
20,
1524,
4681,
4348,
9,
26120,
37,
14,
287,
6362,
9,
26,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Grails transient properties not picked up on object creation
===
After migrating from Grails 1.3.7 to 2.0.4 I have noticed a problem with one of my domain classes where I use transient properties in order to handle passwords.
My domain class looks like this (simplified):
package test
class Use... | 0 | [
2,
489,
7301,
18,
26008,
3704,
52,
2114,
71,
27,
3095,
2502,
800,
3726,
3726,
75,
28749,
37,
489,
7301,
18,
137,
9,
240,
9,
465,
20,
172,
9,
387,
9,
300,
31,
57,
2711,
21,
1448,
29,
53,
16,
51,
4603,
2684,
113,
31,
275,
2600... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MySQL search in PHP based on keyphrases
===
I am writing a prototype auction/listings project in PHP (MySQL backend).
I have a listing table (listings), and a keyphrase table (listings_keyphrases) which has multiple keyphrases describing each item. Each listing has multiple keyphrases (as many as necessary), but e... | 0 | [
2,
51,
18,
22402,
2122,
19,
13,
26120,
432,
27,
1246,
13314,
7202,
800,
3726,
3726,
31,
589,
1174,
21,
7063,
8057,
118,
5739,
68,
18,
669,
19,
13,
26120,
13,
5,
915,
18,
22402,
97,
2451,
6,
9,
31,
57,
21,
9554,
859,
13,
5,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
bad FPS with android SurfaceView
===
I'm aware that there is alot of posts on this subject but non really helped me with my problem. Im fairly new to android programming and built my thread with the helt of a tutorial, the problem is that my emulator dosnt go over 15 fps and the program should run at 50 (FPS is initia... | 0 | [
2,
896,
13,
12087,
18,
29,
13005,
1490,
4725,
800,
3726,
3726,
31,
22,
79,
3854,
30,
80,
25,
21,
5639,
16,
9868,
27,
48,
1550,
47,
538,
510,
1456,
55,
29,
51,
1448,
9,
797,
6647,
78,
20,
13005,
3143,
17,
392,
51,
9322,
29,
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... |
What scripting language would you recommend for this task?
===
I want to implement a simple script to do some boring housekeeping on my media pc, but am not sure what scripting language would lend itself to this task.
Pseudocode for what I want to do is:
1) Scan a directory for sub directories matching a ... | 0 | [
2,
98,
3884,
68,
816,
83,
42,
12360,
26,
48,
3005,
60,
800,
3726,
3726,
31,
259,
20,
8713,
21,
1935,
3884,
20,
107,
109,
13081,
191,
15880,
27,
51,
941,
5168,
15,
47,
589,
52,
562,
98,
3884,
68,
816,
83,
13866,
1145,
20,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
YooTheme Zoo Application Blog Front Page
===
I am using YooTheme's ZOO Blog application on my front page. I have two things I'd like to acheive;
#1. When clicking on an article title, you are taken to a page where you have the article in full view, including any read-more content you may/may not have. When taken to... | 0 | [
2,
3727,
111,
124,
790,
6655,
3010,
8146,
431,
2478,
800,
3726,
3726,
31,
589,
568,
3727,
111,
124,
790,
22,
18,
6655,
8146,
3010,
27,
51,
431,
2478,
9,
31,
57,
81,
564,
31,
22,
43,
101,
20,
14187,
1284,
73,
4253,
9,
76,
25590... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to query if the time is stored as varchar?
===
The time is stored in the database as '09:21 am'
Now how can i get the range result
for instance
select * from tablename where stored_time between '09:21 am' and '10:05 pm';
I tried the above query but it's not giving the result properly. this is bec... | 0 | [
2,
184,
20,
25597,
100,
14,
85,
25,
8214,
28,
4033,
5433,
60,
800,
3726,
3726,
14,
85,
25,
8214,
19,
14,
6018,
28,
13,
22,
2545,
45,
1941,
589,
22,
130,
184,
92,
31,
164,
14,
978,
829,
26,
4851,
5407,
1637,
37,
859,
7259,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mysql error 'TYPE=MyISAM'
===
Below query I'm executing in Ubuntu 12, MySQL 5.1 version and receiving error as mentioned:
CREATE TABLE mantis_config_table ( config_id VARCHAR(64) NOT NULL, project_id INTEGER NOT NULL DEFAULT 0, user_id INTEGER NOT NULL DEFAULT 0, access_reqd INTEGER DEFAULT 0, type INTEGER DEFA... | 0 | [
2,
51,
18,
22402,
7019,
13,
22,
4474,
3726,
915,
49,
6101,
22,
800,
3726,
3726,
1021,
25597,
31,
22,
79,
25836,
19,
287,
12968,
2473,
390,
15,
51,
18,
22402,
331,
9,
165,
615,
17,
3396,
7019,
28,
2211,
45,
1600,
859,
169,
3409,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 change MySQL error log file format
===
I am running a shared hosting LAMP server. I have several clients using the same CMS software, which utilizes MySQL as the back-end database. I am getting a 145 error in my /var/log/mysqld.log regarding the mod_statistics.MYI file:
120713 8:53:22 [ERROR] /usr/libexec... | 0 | [
2,
184,
20,
753,
51,
18,
22402,
7019,
6738,
3893,
2595,
800,
3726,
3726,
31,
589,
946,
21,
2592,
10637,
6792,
8128,
9,
31,
57,
238,
7421,
568,
14,
205,
2390,
18,
2306,
15,
56,
13151,
18,
51,
18,
22402,
28,
14,
97,
8,
2451,
601... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 send with a method that accepts a block
===
I'm trying to accomplish this piece of metaprogramming in ruby
my_array = [1..10]
method = :each
my_array.send(method) {|num| puts num }
which does not work. Does anybody know how to pass in the block dynamically? I have already tried:
my_a... | 0 | [
2,
568,
2660,
29,
21,
2109,
30,
16548,
21,
1921,
800,
3726,
3726,
31,
22,
79,
749,
20,
14570,
48,
1855,
16,
7618,
19746,
3863,
19,
10811,
51,
1,
8576,
93,
800,
636,
165,
9,
9,
1036,
500,
2109,
800,
13,
45,
14322,
51,
1,
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... |
I need motion blur algorithms
===
I need motion blur algorithms for a small image
editing app. Can you point me to some resources,
books or papers or maybe code examples?
Which resources does GIMP use for this math?
Thanks | 0 | [
2,
31,
376,
2422,
10330,
15935,
800,
3726,
3726,
31,
376,
2422,
10330,
15935,
26,
21,
284,
1961,
9510,
4865,
9,
92,
42,
454,
55,
20,
109,
2566,
15,
964,
54,
3747,
54,
913,
1797,
3770,
60,
56,
2566,
630,
489,
8983,
275,
26,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Openfire: How can I know which users stored in the server are my device contacts?
===
I'm developing a simple chat for Android. I'm reading about Openfire ante asmack API. Obviously the user should see only the contacts stored in his device, so: How can I know which contacts stored in the server are my device contacts... | 0 | [
2,
368,
5929,
45,
184,
92,
31,
143,
56,
3878,
8214,
19,
14,
8128,
50,
51,
3646,
11894,
60,
800,
3726,
3726,
31,
22,
79,
3561,
21,
1935,
6615,
26,
13005,
9,
31,
22,
79,
1876,
88,
368,
5929,
13,
4760,
28,
15571,
21,
2159,
9,
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... |
unable to access database in php
===
I am using the following script for appending the serialized array
mysql_select_db("formdemo", $con);
$result=mysql_query("select * from rohit where fid='$y'");
if(mysql_num_rows($result)!=0)
{
if($result)
{
while($row=mysql_fe... | 0 | [
2,
2343,
20,
1381,
6018,
19,
13,
26120,
800,
3726,
3726,
31,
589,
568,
14,
249,
3884,
26,
4865,
7601,
14,
27877,
7718,
51,
18,
22402,
1,
18,
16964,
1,
9007,
5,
7,
4190,
19274,
7,
15,
5579,
1126,
6,
73,
5579,
29955,
3726,
915,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get all jqgrid data with virtual scrolling
===
I have virtual scrolling turned on along with only displaying the first 25 records, the grid holds 150 records, I am trying to print the data in the grid but first I need to get all the data using
$("#jqgInventory").jqGrid("getRowData"), unfortunately it is giving me th... | 0 | [
2,
164,
65,
487,
1251,
16375,
1054,
29,
6599,
13,
28166,
800,
3726,
3726,
31,
57,
6599,
13,
28166,
412,
27,
303,
29,
104,
17418,
14,
64,
771,
742,
15,
14,
7354,
2763,
4354,
742,
15,
31,
589,
749,
20,
4793,
14,
1054,
19,
14,
73... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.