unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Adding image to toggle (hide / show) sidebar using jQuery
===
How to add the image instead of << to hide the left side bar, and right arrow >> to show the hidden side bar instead of showing same (<<) arrow
http://jsfiddle.net/6FMZY/449/ | 0 | [
2,
4721,
1961,
20,
20,
263,
4875,
13,
5,
19522,
13,
118,
298,
6,
270,
1850,
568,
487,
8190,
93,
800,
3726,
3726,
184,
20,
3547,
14,
1961,
700,
16,
13,
1,
20,
3077,
14,
225,
270,
748,
15,
17,
193,
7409,
13,
1,
20,
298,
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... |
Converting c++ struct to c# struct
===
Can anybody tell me how do I convert the following struct to c#
typedef struct DES_ks
{
union
{
DES_cblock cblock;
/* make sure things are correct size on machines with
* 8 byte longs */
DES_LONG deslong[2];
} ks[16];
} DES_key_schedule | 0 | [
2,
19583,
272,
20512,
13,
10346,
20,
272,
5910,
13,
10346,
800,
3726,
3726,
92,
11181,
494,
55,
184,
107,
31,
8406,
14,
249,
13,
10346,
20,
272,
5910,
1001,
13862,
13,
10346,
1746,
1,
4020,
13,
1,
667,
13,
1,
1746,
1,
150,
12048... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dundas Js callback function on zooming?
===
Im adding the ability to zoom via :
Command userCommandPluse = new Command();
userCommandPluse.CommandID = 300;
userCommandPluse.Description = "Zoom In";
userCommandPluse.Image = "~/images/Plus.GIF";
userCommandPluse.Text = "+";
...
...
... | 0 | [
2,
29320,
487,
18,
645,
1958,
1990,
27,
19469,
68,
60,
800,
3726,
3726,
797,
4721,
14,
2165,
20,
19469,
1197,
13,
45,
1202,
4155,
16239,
13349,
62,
800,
78,
1202,
5,
6,
73,
4155,
16239,
13349,
62,
9,
16239,
1340,
800,
3565,
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... |
changing iframe
===
Hi is it possible to strip some part of iframe embed code? Here is example
<iframe title="Video player" width="%%player_w%%" height="%%player_h%%" src="http://www.mydomain/vfplayer/play.php?url=http://vk.com/video166253103_162876280&captions=http://www.mydomain.com/undercoverbrothers.srt<a... | 1 | [
2,
4226,
31,
8361,
800,
3726,
3726,
4148,
25,
32,
938,
20,
4998,
109,
141,
16,
31,
8361,
11911,
69,
1797,
60,
235,
25,
823,
13,
1,
49,
8361,
581,
3726,
7,
14785,
517,
7,
9456,
3726,
7,
11881,
11881,
14049,
1,
499,
11881,
11881,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
When not use local.xml for theme development in magento
===
I have heard a lot of people in the magento community mention on the benefits of using a local.xml for magento theme development
I can understand the benefits I think and I actually can't think of any cases where it use could be detrimental.
Are there ... | 0 | [
2,
76,
52,
275,
375,
9,
396,
8184,
26,
3184,
522,
19,
4723,
17050,
800,
3726,
3726,
31,
57,
752,
21,
865,
16,
148,
19,
14,
4723,
17050,
514,
3794,
27,
14,
5800,
16,
568,
21,
375,
9,
396,
8184,
26,
4723,
17050,
3184,
522,
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... |
Java classes in jar file is not getting scanned
===
In spring + spring orm hibernate project, I have separate jar for dao layer containing orm configuration xml and pojos, I have same classes in my web-app for presentation layer.
Issue is, on server startup, LocalSessionFactoryBean is trying to map classes from we... | 0 | [
2,
8247,
2684,
19,
5112,
3893,
25,
52,
1017,
12752,
800,
3726,
3726,
19,
1573,
2754,
1573,
54,
79,
4148,
2102,
8820,
669,
15,
31,
57,
1725,
5112,
26,
13,
17104,
5385,
3503,
54,
79,
8091,
23504,
17,
2353,
1636,
18,
15,
31,
57,
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... |
Google Scatter Charts point on top of another point
===
I'm using Google Scatter Charts and have it all fixed and running but I have a problem with some of the data that I use. In my data I can have multiply points with same X and Y coordinates so when they are displayed on my chart some of them are not able to be cli... | 0 | [
2,
8144,
27465,
5158,
454,
27,
371,
16,
226,
454,
800,
3726,
3726,
31,
22,
79,
568,
8144,
27465,
5158,
17,
57,
32,
65,
3535,
17,
946,
47,
31,
57,
21,
1448,
29,
109,
16,
14,
1054,
30,
31,
275,
9,
19,
51,
1054,
31,
92,
57,
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... |
Caching result of pre-computed function in Matlab
===
I have two arrays, x and y. x is the inputs of the function and y is the function values.
For example, x = [ 1 2 3 4 5 6 7 8 9 10], y = [ 3 6 2 4 1 5 6 7 0 1 8 ]. Both are the same length.
Suppose I have an another array z containing [ 2 3 8 9 10 3] (not the sa... | 0 | [
2,
1658,
7192,
829,
16,
782,
8,
960,
4881,
69,
1990,
19,
4277,
9086,
800,
3726,
3726,
31,
57,
81,
7718,
18,
15,
993,
17,
13,
93,
9,
993,
25,
14,
6367,
18,
16,
14,
1990,
17,
13,
93,
25,
14,
1990,
4070,
9,
26,
823,
15,
993,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 stop textbox moving inside its container in WebKit
===
If you click inside the textbox, hold the mouse button and start dragging up and down, the textbox will move inside the container. The problem is in WebKit only.
**It is important not to change the structure of the input being inside the absolute contain... | 0 | [
2,
184,
20,
747,
1854,
5309,
1219,
572,
82,
12147,
19,
2741,
13703,
800,
3726,
3726,
100,
42,
10840,
572,
14,
1854,
5309,
15,
1027,
14,
7567,
5167,
17,
799,
13052,
71,
17,
125,
15,
14,
1854,
5309,
129,
780,
572,
14,
12147,
9,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to simulate keyboard/mouse event in NodeJS?
===
Imagine that a NodeJS module, when invoked from console, outputs some introductory messages and then waits for user input (click enter or esc). This module already has and does everything we require, except that - wait-for-user-input prompt. So we wonder (... | 0 | [
2,
25,
32,
938,
20,
24969,
8896,
118,
14002,
62,
807,
19,
15421,
728,
18,
60,
800,
3726,
3726,
4382,
30,
21,
15421,
728,
18,
12613,
15,
76,
26252,
37,
8650,
15,
5196,
18,
109,
26958,
7561,
17,
94,
1760,
18,
26,
4155,
6367,
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... |
PHP: Cannot see upload directory
===
I have been struggling for a few days trying to find out how come I cannot move a file(`move_uploaded_file`) from temp to the directory I have setup (`/img/uploads/photos`).
After alot of testing and head scratching, I decided to write into CakePHP's CakeLog whatever is happenin... | 0 | [
2,
13,
26120,
45,
1967,
196,
71,
8294,
16755,
800,
3726,
3726,
31,
57,
74,
7587,
26,
21,
310,
509,
749,
20,
477,
70,
184,
340,
31,
1967,
780,
21,
3893,
5,
1,
16598,
1,
576,
22546,
1,
16877,
1,
6,
37,
13,
9577,
20,
14,
16755,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 reuse a GridViewColumn CellTemplate and allow for different bindings?
===
I have a ListView in a WPF window containing a number of GridViewColumns. The first column is used for a checkbox. The remainder of the columns are very similar, containing a datatemplate with a textblock. I would like to be able to re... | 0 | [
2,
184,
92,
31,
302,
3699,
21,
7354,
4725,
716,
4404,
103,
1667,
9577,
6554,
17,
1655,
26,
421,
8728,
18,
60,
800,
3726,
3726,
31,
57,
21,
968,
4725,
19,
21,
619,
7721,
1463,
3503,
21,
234,
16,
7354,
4725,
716,
4404,
2172,
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... |
Changing/adding more content to a http request, by using an add listener in Chrome Extensions
===
I've been trying to add some stuff in every URLs that begins with some certain URL, is it possible to do that in Chrome?
I've been trying to use `chrome.webRequest.onCompleted`, but I couldn't see anything in the docum... | 0 | [
2,
4226,
118,
58,
11365,
91,
2331,
20,
21,
7775,
3772,
15,
34,
568,
40,
3547,
21772,
19,
13,
12985,
17529,
800,
3726,
3726,
31,
22,
195,
74,
749,
20,
3547,
109,
3217,
19,
352,
13,
911,
7532,
30,
2661,
29,
109,
1200,
287,
6362,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Tracking Social shares for the members -Addthis PHP Script
===
Thanks for your time to read this post. i have a tricky hosting...
i always use addthis to add facebook,twitter share . but now my requirement is in the member site, i wanted to know is that particular member shared the page to facebook/twitter? how to ... | 0 | [
2,
10353,
668,
5945,
26,
14,
443,
13,
8,
14854,
1565,
13,
26120,
3884,
800,
3726,
3726,
3669,
26,
154,
85,
20,
1302,
48,
678,
9,
31,
57,
21,
5514,
93,
10637,
9,
9,
9,
31,
550,
275,
3547,
1565,
20,
3547,
9090,
15,
38,
13098,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Phonegap/Cordova, register device orientation when camera is active
===
In my Phonegap/Cordova app I'm uploading a picture (taken by the camera) to a webserver. At the webserver I'm doing some modification for creating a smaller picture instead of the 8megapixel iPhone picture.
When I upload a picture taken in port... | 0 | [
2,
1132,
1136,
306,
118,
17213,
3496,
15,
2243,
3646,
10245,
76,
3336,
25,
1348,
800,
3726,
3726,
19,
51,
1132,
1136,
306,
118,
17213,
3496,
4865,
31,
22,
79,
71,
16866,
21,
2151,
13,
5,
4386,
103,
34,
14,
3336,
6,
20,
21,
2741,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Only let certain inner divs control outer div's width
===
I have the follow html structure:
<div id="container">
<div id="block1">
<img src="someimage/path" />
</div>
<div id="block2">
Some Text
</div>
<div id="block3">
Some Tex... | 0 | [
2,
104,
408,
1200,
3754,
13,
12916,
18,
569,
4896,
13,
12916,
22,
18,
9456,
800,
3726,
3726,
31,
57,
14,
1740,
13,
15895,
1411,
45,
13,
1,
12916,
4924,
3726,
7,
1126,
5851,
106,
7,
1,
13,
1,
12916,
4924,
3726,
7,
12048,
165,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to copy data from .bin file to .pdf or .jpg in C++?
===
I'm having some problems with reading binary data from a .bin file and then writing it to a pdf file. The main goal is to receive some file data over a network, save that data, get the files magic number and then save and open the file with the appropriate pr... | 0 | [
2,
184,
20,
4344,
1054,
37,
13,
9,
4772,
3893,
20,
13,
9,
11124,
54,
13,
9,
12851,
263,
19,
272,
20512,
60,
800,
3726,
3726,
31,
22,
79,
452,
109,
1716,
29,
1876,
14171,
1054,
37,
21,
13,
9,
4772,
3893,
17,
94,
1174,
32,
20,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I connect to an EC2 instance with one key-pair while forwarding another?
===
I need to connect to an EC2 instance with the Amazon-provided key-pair, but I would like to forward the public key associated with my Github account so that I can pull from my private repo (with Fabric). Is this possible? If so, do I need... | 0 | [
2,
92,
31,
6379,
20,
40,
6695,
135,
4851,
29,
53,
1246,
8,
306,
2642,
133,
917,
68,
226,
60,
800,
3726,
3726,
31,
376,
20,
6379,
20,
40,
6695,
135,
4851,
29,
14,
8059,
8,
26735,
43,
1246,
8,
306,
2642,
15,
47,
31,
83,
101,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ruby on Rails: How to create a class schedule calendar with hour by hour breakdown?
===
I'm a new ruby on rails coder who is trying to create a neatly displayed calendar of the week for students to check their timetables.
I have stored the lessons in a table with the following data:
:course_id, :state_unit_code,... | 0 | [
2,
10811,
27,
2240,
18,
45,
184,
20,
1600,
21,
718,
4345,
7036,
29,
1671,
34,
1671,
13369,
60,
800,
3726,
3726,
31,
22,
79,
21,
78,
10811,
27,
2240,
18,
1797,
139,
72,
25,
749,
20,
1600,
21,
18620,
6115,
7036,
16,
14,
877,
26,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to display a list based on a foreign key groovy grails
===
I have two tables: `Region` and `District`. So `region_id` is the `foreign key` into the table `District` (a `region` has one or many `districts`). So, when I select a `region` on my `list` I only want to display the `districts` associated with that partic... | 0 | [
2,
184,
20,
3042,
21,
968,
432,
27,
21,
1228,
1246,
3452,
2026,
93,
489,
7301,
18,
800,
3726,
3726,
31,
57,
81,
7484,
45,
13,
1,
18790,
1,
17,
13,
1,
14789,
1,
9,
86,
13,
1,
18790,
1,
1340,
1,
25,
14,
13,
1,
28292,
1246,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should I use multiple canvases (HTML 5) or use divs to display HUD data?
===
I am in process of making a game where the health bar (animated) and some other info represented visually like some icons showing the number of bombs the player has etc. Now, this can be done both in canvas (by making another canvas for info ... | 0 | [
2,
378,
31,
275,
1886,
9696,
160,
13,
5,
15895,
331,
6,
54,
275,
13,
12916,
18,
20,
3042,
20527,
1054,
60,
800,
3726,
3726,
31,
589,
19,
953,
16,
544,
21,
250,
113,
14,
853,
748,
13,
5,
3443,
79,
1669,
6,
17,
109,
89,
15404,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Encryption of a JPG file using pycrypro's AES failing
===
Given below is the code(not complete yet) I have written to encrypt and decrypt files using python with the pycrypto module.
from Crypto.Hash import SHA256
from Crypto.Cipher import AES
import getpass
class ED(object): def getfro... | 0 | [
2,
24420,
16,
21,
487,
9623,
3893,
568,
7103,
14024,
2740,
22,
18,
21,
160,
7250,
800,
3726,
3726,
504,
1021,
25,
14,
1797,
5,
1270,
1279,
768,
6,
31,
57,
642,
20,
1957,
11435,
17,
121,
11435,
6488,
568,
20059,
29,
14,
7103,
114... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 type of delimiter should i use in Pig Latin to process apache log?
===
If this is how my Apache log looks, what delimiter should I use in PigLatin to split the data.
[Mon Jul 02 10:04:18 2012] [error] [client x.x.x.x] File does not exist: /home/ec2- user/xxxxxxxxxx/xxxxxxxxx, referer: http://xxxx/xxxxx/xx... | 0 | [
2,
98,
1001,
16,
121,
20565,
106,
378,
31,
275,
19,
7680,
2068,
20,
953,
17140,
6738,
60,
800,
3726,
3726,
100,
48,
25,
184,
51,
17140,
6738,
1879,
15,
98,
121,
20565,
106,
378,
31,
275,
19,
7680,
10577,
20,
2132,
14,
1054,
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... |
javascript/html/css Show/hide box
===
I have done something like this before but this time code is not working. Basically, I want to let users toggle a box of html on and off. Here is a jsfiddle
http://jsfiddle.net/2pcwW/
There are several problems with this. First it isn't working as is possibly due to a typ... | 0 | [
2,
8247,
8741,
118,
15895,
118,
6824,
18,
298,
118,
19522,
1649,
800,
3726,
3726,
31,
57,
677,
301,
101,
48,
115,
47,
48,
85,
1797,
25,
52,
638,
9,
11374,
15,
31,
259,
20,
408,
3878,
20,
263,
4875,
21,
1649,
16,
13,
15895,
27,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Synchronization protocol for server and many offline clients
===
I am working on a web service, that can be accessed by web site and by mobile clients without permanent internet connection.
The idea is to have synchronized database on the internet and also on all clients. When the user changes data on a mobile cl... | 0 | [
2,
13,
16023,
1829,
8494,
26,
8128,
17,
151,
168,
1143,
7421,
800,
3726,
3726,
31,
589,
638,
27,
21,
2741,
365,
15,
30,
92,
44,
12904,
34,
2741,
689,
17,
34,
3241,
7421,
366,
3032,
2620,
2760,
9,
14,
882,
25,
20,
57,
27202,
60... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SOAP web services over HTTPS is not working
===
I am currently working in sugarcrm which has url in https. Soap is not working on https url, my code is running perfectly in http url . What are the changes that requires to run the same code in https mode?
i use this code. username, password and url is only for exam... | 0 | [
2,
6447,
2741,
687,
84,
7775,
18,
25,
52,
638,
800,
3726,
3726,
31,
589,
871,
638,
19,
4200,
6711,
79,
56,
63,
287,
6362,
19,
7775,
18,
9,
6447,
25,
52,
638,
27,
7775,
18,
287,
6362,
15,
51,
1797,
25,
946,
5759,
19,
7775,
28... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
inner join query in ms sql server
===
TablePS
aID
TableAM
aID(pk)
bID
TableM
bID(pk)
bName
i know aID in TablePS.using that i have to find bName.
SELECT bName FROM TableM WHERE bID=(SELECT TablePS.aID,TableAM.aID FROM Tabl... | 0 | [
2,
3754,
1865,
25597,
19,
4235,
4444,
255,
8128,
800,
3726,
3726,
859,
1919,
3096,
859,
765,
3096,
5,
17244,
6,
4458,
859,
79,
4458,
5,
17244,
6,
334,
7259,
31,
143,
3096,
19,
859,
1919,
9,
12655,
30,
31,
57,
20,
477,
334,
7259,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Integration - Controlling Auto-Startup
===
I have an Inbound File Channel Adapter with the `auto-startup` property set to `false`. This adapter is the starting point for my application; if it sends no messages notifying the system of files, I expect everything else to be inert.
However, upon starting my cont... | 0 | [
2,
1573,
8078,
13,
8,
10106,
3108,
8,
13680,
576,
800,
3726,
3726,
31,
57,
40,
19,
7410,
3893,
1318,
9924,
106,
29,
14,
13,
1,
18042,
8,
13680,
576,
1,
1354,
309,
20,
13,
1,
13192,
870,
1,
9,
48,
9924,
106,
25,
14,
1422,
454... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Build fails even if dependencies are copied correctly
===
I have an issue while building the project with Ant. In build.xml I have written some targets that copy dependencies required for project in -pre-build.
<target name="-pre-build">
<subant target="-get-dependencies" failonerror="true">
... | 0 | [
2,
1895,
13614,
166,
100,
29411,
50,
18225,
12044,
800,
3726,
3726,
31,
57,
40,
1513,
133,
353,
14,
669,
29,
40,
38,
9,
19,
1895,
9,
396,
8184,
31,
57,
642,
109,
7767,
30,
4344,
29411,
1390,
26,
669,
19,
13,
8,
3515,
8,
29361,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Timestamp format in application log
===
I am writing the logs for my cloud hosted application in JSON format.
Ex:
<pre>
{"timestamp":1343205650,"app_name":"gmail","app_version":"2.45467","category":"Info","err_no":-1,"message":"Started","source_file":"appstartcrawler.cc","source_line":79}
</pre>
The log is ... | 0 | [
2,
436,
38,
10158,
2595,
19,
3010,
6738,
800,
3726,
3726,
31,
589,
1174,
14,
18893,
26,
51,
4005,
2812,
3010,
19,
487,
528,
2595,
9,
1396,
45,
13,
1,
3515,
1,
13,
1,
7,
891,
384,
10158,
7,
45,
13837,
12402,
264,
13798,
15,
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... |
Does .First() operate at linq level or on the returned enumerable collection?
===
I came across a colleagues code and thought it was possibly inefficient
bool any = (from c in listDeviceMaxDate
where c.DeviceKey == m_deviceList[i].deviceKey
select c).Any();
if (!any)
... | 0 | [
2,
630,
13,
9,
3552,
5,
6,
4055,
35,
6294,
1251,
662,
54,
27,
14,
587,
1957,
723,
106,
579,
1206,
60,
800,
3726,
3726,
31,
281,
464,
21,
8493,
1797,
17,
289,
32,
23,
2879,
19,
23702,
1607,
1823,
186,
800,
13,
5,
2665,
272,
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... |
Delay between opacity: 0 and starting animation to opacity: 1
===
I am using Raphael JS library and here is my code:
var rectangle = paper.rect(0, 0, 5, 5);
rectangle.attr({opacity: 0});
// I need here a 5 seconds delay, before starting an animation
rectangle.animate({opacity: ... | 0 | [
2,
7255,
128,
13,
11490,
5788,
45,
713,
17,
1422,
6236,
20,
13,
11490,
5788,
45,
137,
800,
3726,
3726,
31,
589,
568,
13874,
487,
18,
1248,
17,
235,
25,
51,
1797,
45,
4033,
27181,
800,
1397,
9,
14673,
38,
5,
387,
15,
713,
15,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Add a "Draggable Tree" component from another faces to a project that is based on primefaces
===
Our project is based on primefaces components.
And i need a draggable tree in my project; That primefaces doesn't have.
Do you know any library or anything like this, That i can use together with primefaces?
Because i... | 0 | [
2,
3547,
21,
13,
7,
3030,
4572,
579,
1541,
7,
5912,
37,
226,
4904,
20,
21,
669,
30,
25,
432,
27,
1621,
6413,
18,
800,
3726,
3726,
318,
669,
25,
432,
27,
1621,
6413,
18,
5090,
9,
17,
31,
376,
21,
5501,
263,
579,
1541,
19,
51,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Shopify API: Importing a JSON formatted list of products through a private app
===
Title says it all, essentially I have a file with a list of products I would like to add to my shopify store, I'm fairly certain it's formatted correctly although if it isn't please tell me what to fix. I was wondering how using a POST ... | 0 | [
2,
2546,
8612,
21,
2159,
45,
9010,
68,
21,
487,
528,
13,
29850,
968,
16,
1985,
120,
21,
932,
4865,
800,
3726,
3726,
581,
898,
32,
65,
15,
7398,
31,
57,
21,
3893,
29,
21,
968,
16,
1985,
31,
83,
101,
20,
3547,
20,
51,
2546,
86... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jquery change event
===
I have a serie of input field and i want the focus to jump to the next field whenever the text of the current field has been change. Mu code looks like this:
inputs.change(function(){
$(this).nextAll('input:first').focus();
})
jsfiddle : http://jsfiddle.net/x6aqt/1/
Prob... | 0 | [
2,
487,
8190,
93,
753,
807,
800,
3726,
3726,
31,
57,
21,
8142,
16,
6367,
575,
17,
31,
259,
14,
1776,
20,
3936,
20,
14,
328,
575,
6634,
14,
1854,
16,
14,
866,
575,
63,
74,
753,
9,
2832,
1797,
1879,
101,
48,
45,
6367,
18,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PhoneGap + Android - Record Audio in .wav format using Media Librart
===
I am trying to record audio using PhoneGap on Android. I want to record in .WAV format.
Code: JavaScript
media.startRecord();
I found that this function record audio in .3gp format by default. If I change the source code of PhoneGap to ... | 0 | [
2,
1132,
1136,
306,
2754,
13005,
13,
8,
571,
4023,
19,
13,
9,
1608,
710,
2595,
568,
941,
2093,
2559,
5256,
800,
3726,
3726,
31,
589,
749,
20,
571,
4023,
568,
1132,
1136,
306,
27,
13005,
9,
31,
259,
20,
571,
19,
13,
9,
1608,
71... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ms-Access GROUP BY, TOP query
===
I am using the following query on a .mdb file with the following results.
SELECT tableA.id, tableA.type, tableA.date, SUM(tableA.val) AS total, tableB.SumB
FROM tableA LEFT JOIN tableB ON tableB.id = tableA.id
GROUP BY tableA.id, tableA.type, tableA.date, tableB.SumB ... | 0 | [
2,
4235,
8,
20604,
214,
34,
15,
371,
25597,
800,
3726,
3726,
31,
589,
568,
14,
249,
25597,
27,
21,
13,
9,
79,
9007,
3893,
29,
14,
249,
1736,
9,
5407,
859,
58,
9,
1340,
15,
859,
58,
9,
4474,
15,
859,
58,
9,
8209,
15,
3907,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Sort a 2d array for distinct results without repetitions in ruby
===
I have a 2d array :-
**arr = [["John", 17],["John", 17],["Abe", 14],["Kobian", 18],["Hony", 16],["Mony", 19],["John", 18],["Hari", 15]]**
format is **["name", age]
I want to see unique results and sorted alphabetically so that no same name ... | 0 | [
2,
2058,
21,
172,
43,
7718,
26,
4421,
1736,
366,
23184,
18,
19,
10811,
800,
3726,
3726,
31,
57,
21,
172,
43,
7718,
13,
45,
8,
13,
1409,
20870,
800,
636,
2558,
7,
7373,
7,
15,
369,
500,
15,
2558,
7,
7373,
7,
15,
369,
500,
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... |
draw multiple grid square in wpf
===
I have a grid (30 columns and 20 rows). Each square has a canvas inside like :
Canvas Name="canvas1" Grid.Column="1" Grid.Row="1" Style="{StaticResource ResourceKey=ImagePlacement}
I have to copy and paste for 30x20 square. How can I find the better way? Please help me.
T... | 0 | [
2,
2003,
1886,
7354,
735,
19,
619,
7721,
800,
3726,
3726,
31,
57,
21,
7354,
13,
5,
1762,
7498,
17,
434,
11295,
6,
9,
206,
735,
63,
21,
9696,
572,
101,
13,
45,
9696,
204,
3726,
7,
1245,
8471,
165,
7,
7354,
9,
716,
4404,
103,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Monotouch google analytics all pageviews fail
===
I'm trying to get google analytics up and running on a monotouch app but no events ever get dispatched successfully, the NSError object is always null. The DispatchCompleted method on the delegate always prints "Successful: 0 - Failed: n", n = number of pageviews in qu... | 0 | [
2,
4129,
15725,
8144,
26320,
65,
2478,
4725,
18,
7476,
800,
3726,
3726,
31,
22,
79,
749,
20,
164,
8144,
26320,
71,
17,
946,
27,
21,
4129,
15725,
4865,
47,
90,
963,
462,
164,
16520,
3673,
15,
14,
13,
2172,
29992,
3095,
25,
550,
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... |
Manage RSS feeds in Sharepoint 2010 and read them with iPad App
===
My question is divided into two parts:
1.) Is it possible to manage (create new feed, add articles, ...) several RSS feeds in Microsoft Sharepoint 2010?
2.) Can I read these feeds from my iPad App?
I am creating the iPad App at the moment and... | 0 | [
2,
4705,
13,
1224,
18,
17058,
19,
1891,
3132,
498,
17,
1302,
105,
29,
31,
8240,
4865,
800,
3726,
3726,
51,
1301,
25,
2350,
77,
81,
1341,
45,
137,
9,
6,
25,
32,
938,
20,
4705,
13,
5,
6037,
1373,
78,
4063,
15,
3547,
3376,
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... |
Apply limit in mapreduce function in php?
===
How to apply limit in `php, mongodb` when using `mapreduce` function?
I tried this
$cmd=array(// codition array
"mapreduce" => "user",
"map" => $map,
"reduce" => $reduce,
"out" => array("inline" => 1),
"limit"=>2
);
$db=connect();
$qu... | 0 | [
2,
5645,
4496,
19,
2942,
99,
16041,
1990,
19,
13,
26120,
60,
800,
3726,
3726,
184,
20,
5645,
4496,
19,
13,
1,
26120,
15,
3521,
5474,
220,
1,
76,
568,
13,
1,
540,
3515,
16041,
1,
1990,
60,
31,
794,
48,
5579,
9095,
43,
3726,
857... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Running Cargo From Maven antrun Plugin
===
I have a maven (multi-module) project creating some WAR and EAR files for JBoss AS 7.1.x.
For one purpose, I need to deploy one generated EAR file of one module to a fresh JBoss instance and run it, call some REST web service calls against it and stop JBoss. Then I need to... | 0 | [
2,
946,
5570,
37,
1216,
3124,
40,
38,
3169,
10922,
108,
800,
3726,
3726,
31,
57,
21,
1216,
3124,
13,
5,
21531,
8,
19673,
62,
6,
669,
2936,
109,
176,
17,
2330,
6488,
26,
487,
10349,
18,
28,
453,
9,
165,
9,
396,
9,
26,
53,
213... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MVC Persist Collection ViewModel (Update, Delete, Insert)
===
In order to create a more elegant solution I'm curios to know your suggestion about a solution to persist a collection.
I've a collection stored on DB.
This collection go to a webpage in a viewmodel.
When the go back from the webpage to the controller ... | 0 | [
2,
307,
8990,
22084,
1206,
1418,
13998,
13,
5,
576,
8209,
15,
27448,
15,
14692,
6,
800,
3726,
3726,
19,
389,
20,
1600,
21,
91,
11614,
4295,
31,
22,
79,
5087,
7760,
20,
143,
154,
10910,
88,
21,
4295,
20,
22084,
21,
1206,
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... |
FB coment plugin not working
===
Hi i have use the custom code to show the fb coment on my page
here is my code:
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
... | 0 | [
2,
13,
13478,
326,
1130,
10922,
108,
52,
638,
800,
3726,
3726,
4148,
31,
57,
275,
14,
5816,
1797,
20,
298,
14,
13,
13478,
326,
1130,
27,
51,
2478,
235,
25,
51,
1797,
45,
13,
1,
12916,
4924,
3726,
7,
13478,
8,
14032,
7,
1,
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... |
Multi-use Makefiles?
===
I have the files `main.c`, `version1.c`, `version2.c` and `header.h`
`version1.c` and `version2.c` are two different implementations of the same header file (`header.h`), and this header file is used by `main.c`.
Now, I want to
$ make v1
cc -c main.c
cc -c version1.c
... | 0 | [
2,
1889,
8,
3699,
233,
16877,
18,
60,
800,
3726,
3726,
31,
57,
14,
6488,
13,
1,
6232,
9,
150,
1,
15,
13,
1,
10898,
165,
9,
150,
1,
15,
13,
1,
10898,
135,
9,
150,
1,
17,
13,
1,
1743,
106,
9,
252,
1,
13,
1,
10898,
165,
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... |
Spring MVC request mapping explicitly disallowing parameters
===
I'm running into a Spring (3.1) mapping conundrum:
I have a simple, findAll method:
@RequestMapping( method = RequestMethod.GET )
@ResponseBody
public List< User > findAll(){
return findAllInternal();
}
This maps on the ... | 0 | [
2,
1573,
307,
8990,
3772,
13305,
13108,
1460,
17976,
68,
12905,
800,
3726,
3726,
31,
22,
79,
946,
77,
21,
1573,
13,
5,
240,
9,
165,
6,
13305,
1065,
1020,
17500,
45,
31,
57,
21,
1935,
15,
477,
1233,
2109,
45,
13,
1,
99,
10351,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NSTextField bottom-aligned
===
I need to bottom align the text in my NSTextField so that the bottom pixel rows of my text always stays in the same spot when dynamically changing the font size ([I use this to do that][1]).
Right now I have this scenario: whenever the font size gets smaller e.g from 55 to 20, the te... | 0 | [
2,
13,
2172,
11969,
1109,
2129,
8,
12740,
800,
3726,
3726,
31,
376,
20,
2129,
23389,
14,
1854,
19,
51,
13,
2172,
11969,
1109,
86,
30,
14,
2129,
18146,
11295,
16,
51,
1854,
550,
16192,
19,
14,
205,
1999,
76,
7782,
1326,
4226,
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... |
Documenting Excel
===
We have hundreds if not thousands of Excel files in the organization, with some having dependencies and links to others. So far these Excel files have been used as islands of information, and it is my effort to put some sanity to this.
I was thinking of having something similar to an ER diagra... | 0 | [
2,
4492,
68,
20700,
800,
3726,
3726,
95,
57,
4541,
100,
52,
3805,
16,
20700,
6488,
19,
14,
1165,
15,
29,
109,
452,
29411,
17,
6271,
20,
654,
9,
86,
463,
158,
20700,
6488,
57,
74,
147,
28,
1785,
16,
676,
15,
17,
32,
25,
51,
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... |
Struts2 Value Stack
===
I want to understand Struts 2 value stack vs request scope.
I want the struts2 value stack to work same as request scope.
for e.g.
i have invoked action1 in struts 2, the action performs some db task and gets back. it performs some operation on a object called cases (type Cases, where Case... | 0 | [
2,
18316,
18,
135,
1923,
7566,
800,
3726,
3726,
31,
259,
20,
1369,
18316,
18,
172,
1923,
7566,
4611,
3772,
9914,
9,
31,
259,
14,
18316,
18,
135,
1923,
7566,
20,
170,
205,
28,
3772,
9914,
9,
26,
13,
62,
9,
263,
9,
31,
57,
26252... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Embed asset in a Flex library project, then override in main application
===
I've developed some code that I want to use in all future (web based) Flex projects. (I'm stuck at Flex 3.5 for infrastructure reasons.)
As part of its operation it reads an XML file to find project specific information.
When I moved th... | 0 | [
2,
11911,
69,
12146,
19,
21,
14409,
1248,
669,
15,
94,
84,
11891,
19,
407,
3010,
800,
3726,
3726,
31,
22,
195,
885,
109,
1797,
30,
31,
259,
20,
275,
19,
65,
1022,
13,
5,
14113,
432,
6,
14409,
2314,
9,
13,
5,
49,
22,
79,
4549... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 implement a bi-directional zero-to-one association with JPA using left join strategy?
===
I'd like to implement a bi-directional zero-to-one association with JPA. For the moment, I use the following snippet :
@Entity
class A {
...
@OneToOne(fetch = FetchType.EAGER, optional = true)... | 0 | [
2,
184,
20,
8713,
21,
1732,
8,
19393,
4606,
8,
262,
8,
849,
607,
29,
487,
1060,
568,
225,
1865,
4427,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
8713,
21,
1732,
8,
19393,
4606,
8,
262,
8,
849,
607,
29,
487,
1060,
9,
26,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Port forwarding with paramiko
===
I'm trying to do some port forwarding from a python app using paramiko. I can set up the SSH connection just fine, but I'm a bit stumped as to how to use paramiko.transport. I've already found [this file][1], but I can't work out what's going on in it. From looking at the paramiko.... | 0 | [
2,
1295,
917,
68,
29,
2258,
79,
7427,
800,
3726,
3726,
31,
22,
79,
749,
20,
107,
109,
1295,
917,
68,
37,
21,
20059,
4865,
568,
2258,
79,
7427,
9,
31,
92,
309,
71,
14,
13,
18,
1635,
2760,
114,
1123,
15,
47,
31,
22,
79,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
authentication username password url in blackberry
===
um using connection to a site which requires user and password but it doesn't connect and I don't know the reason can you help me doing this please
that's the code um using
{HttpsConnection connection;
connection = (HttpsConnection) Connector.open(url
... | 0 | [
2,
27963,
4155,
7259,
20884,
287,
6362,
19,
27367,
800,
3726,
3726,
13,
723,
568,
2760,
20,
21,
689,
56,
4781,
4155,
17,
20884,
47,
32,
1437,
22,
38,
6379,
17,
31,
221,
22,
38,
143,
14,
1215,
92,
42,
448,
55,
845,
48,
2247,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding XML data at specific location
===
I have a very large XML data that should be loaded everytime the program starts.
<Calculation>
<CalcGroup TypeOfGroup="GeneralInfo">
<Parameter Name="name"></Parameter>
</CalcGroup>
<EnvironmetData>
<EnvDataGroup Id="1">
... | 0 | [
2,
4721,
23504,
1054,
35,
1903,
1474,
800,
3726,
3726,
31,
57,
21,
253,
370,
23504,
1054,
30,
378,
44,
8572,
352,
891,
14,
625,
3244,
9,
13,
1,
16304,
11123,
1,
13,
1,
16304,
8024,
1001,
1041,
8024,
3726,
7,
3661,
108,
4120,
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... |
Function to check if keyispressed
===
I need to see if a modifier key is pressed(shift,ctrl,alt) for my mouse event(basically ctrl+click)
I was wondering if there is a simple function to check if a key is pressed without implementing a keylistner or action events so as to not have the hassle of keeping track of whe... | 0 | [
2,
1990,
20,
2631,
100,
1246,
403,
5890,
69,
800,
3726,
3726,
31,
376,
20,
196,
100,
21,
7226,
16292,
1246,
25,
2931,
5,
14157,
15,
4812,
6362,
15,
192,
38,
6,
26,
51,
7567,
807,
5,
6093,
8438,
13,
4812,
6362,
2430,
150,
10129,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subtract same number for all SQL rows in table
===
In SQL Server 2008 I have a user table like the following:
Userid
Username
UserBirthYear(int)
When a user registers to the page, she choses her birthyear. Former programmer (of course!) let the user chose the correct year, but the value which was... | 0 | [
2,
27031,
205,
234,
26,
65,
4444,
255,
11295,
19,
859,
800,
3726,
3726,
19,
4444,
255,
8128,
570,
31,
57,
21,
4155,
859,
101,
14,
249,
45,
275,
5175,
4155,
7259,
4155,
21587,
731,
5,
6391,
6,
76,
21,
4155,
2243,
18,
20,
14,
24... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I make the following text appear in my python program?
===
I want to display the following text in my program.When ever I paste the following text in python it interprets backslash as escape sequence and mess ups my ascii art..any idea to get this solved geeks.Here is the text I want to appear in my program
... | 0 | [
2,
184,
92,
31,
233,
14,
249,
1854,
1893,
19,
51,
20059,
625,
60,
800,
3726,
3726,
31,
259,
20,
3042,
14,
249,
1854,
19,
51,
625,
9,
3185,
462,
31,
640,
62,
14,
249,
1854,
19,
20059,
32,
11584,
18,
97,
18,
9545,
28,
2220,
40... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a html way to not load some html only if screen has min-width?
===
In the paradigm of responsive design it's easy to hide stuff via css like this
@media screen and (max-width: 360px) {
#flash {
display:none;
}
Is there a way not to load the div with id="flash" without javas... | 0 | [
2,
25,
80,
21,
13,
15895,
161,
20,
52,
6305,
109,
13,
15895,
104,
100,
2324,
63,
4232,
8,
3976,
43,
96,
60,
800,
3726,
3726,
19,
14,
20234,
16,
13,
22153,
704,
32,
22,
18,
2010,
20,
3077,
3217,
1197,
272,
18,
18,
101,
48,
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... |
Force DataGridView CheckBox to be Checked Under Certian Conditions
===
All, what I want to do is simple (or so I thought). I currently have a `DataGridView` with checkboxes to indicate whether user should process or not. Some processes rely on others so I force the reliant processes checked using
private void d... | 0 | [
2,
558,
1054,
16375,
4725,
2631,
5309,
20,
44,
6505,
131,
6173,
6248,
2039,
800,
3726,
3726,
65,
15,
98,
31,
259,
20,
107,
25,
1935,
13,
5,
248,
86,
31,
289,
6,
9,
31,
871,
57,
21,
13,
1,
18768,
16375,
4725,
1,
29,
2631,
530... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 - mssql connect through terminal but faild in web
===
im using this script to test my connection from linux server to mssql engine , my issue is when i apply
[root@localhost html]# php sql.php
You are connected to the new database on the mssql.
Now when i access sql.php from web its give me error "Warning... | 0 | [
2,
13,
26120,
13,
8,
4235,
18,
22402,
6379,
120,
3855,
47,
7476,
43,
19,
2741,
800,
3726,
3726,
797,
568,
48,
3884,
20,
1289,
51,
2760,
37,
13024,
8128,
20,
4235,
18,
22402,
1406,
13,
15,
51,
1513,
25,
76,
31,
5645,
636,
14032,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 would reducing "max server memory" in SQL Server improve my application performance?
===
I have an intermittent problem with one area of my application where it starts running slow. The application is ASP.Net+ with SQL Server. We discovered by chance that making *any change* to the "max server memory" in SQL serve... | 0 | [
2,
483,
83,
7974,
13,
7,
8304,
8128,
1912,
7,
19,
4444,
255,
8128,
3545,
51,
3010,
956,
60,
800,
3726,
3726,
31,
57,
40,
19667,
1448,
29,
53,
217,
16,
51,
3010,
113,
32,
3244,
946,
2276,
9,
14,
3010,
25,
28,
306,
9,
2328,
24... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Configuring log4j for JUnit
===
I want to configure log4j for JUnit test cases. My tests are spread across multiple files but has the same log4j setup. Where can I do it?
I don't want to use log4j properties file. | 0 | [
2,
1065,
13549,
68,
6738,
300,
728,
26,
7446,
242,
800,
3726,
3726,
31,
259,
20,
1065,
15951,
6738,
300,
728,
26,
7446,
242,
1289,
1871,
9,
51,
4894,
50,
1789,
464,
1886,
6488,
47,
63,
14,
205,
6738,
300,
728,
18161,
9,
113,
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,
0... |
Mongodb document retrieval
===
I am using Mongodb in java. And I want to retrieve a document which is inside a document.
I am using this code for that:
DB db = null;
int count = 0;
//Enter the day for which you want to search for logged on users
String dayToSearch = "27-06... | 0 | [
2,
3521,
5474,
220,
4492,
28419,
800,
3726,
3726,
31,
589,
568,
3521,
5474,
220,
19,
8247,
9,
17,
31,
259,
20,
11917,
21,
4492,
56,
25,
572,
21,
4492,
9,
31,
589,
568,
48,
1797,
26,
30,
45,
13,
9007,
13,
9007,
800,
16203,
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... |
Finding a given element in nested iframes
===
What's the best possible way to find a given "div.myClass" element in the current document, as well as any iframes it (and their nested iframes, too) might have?
Thanks | 0 | [
2,
3007,
21,
504,
4520,
19,
5618,
69,
31,
8361,
18,
800,
3726,
3726,
98,
22,
18,
14,
246,
938,
161,
20,
477,
21,
504,
13,
7,
12916,
9,
915,
1898,
7,
4520,
19,
14,
866,
4492,
15,
28,
134,
28,
186,
31,
8361,
18,
32,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... |
How can I use cpanminus without root and internet access
===
How can I use cpanminus without root and without internet access? I am aware of [this question about cpanminus without root](http://stackoverflow.com/questions/2980297/how-can-i-use-cpan-as-a-non-root-user), but the proposed solution requires internet access... | 0 | [
2,
184,
92,
31,
275,
272,
3206,
15495,
366,
5900,
17,
2620,
1381,
800,
3726,
3726,
184,
92,
31,
275,
272,
3206,
15495,
366,
5900,
17,
366,
2620,
1381,
60,
31,
589,
3854,
16,
636,
1565,
1301,
88,
272,
3206,
15495,
366,
5900,
500,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
I have to query a MS SQL DB using java
===
I have to query a MS SQL DB using java. I am querying DB using following code
Class.forName("net.sourceforge.jtds.jdbc.Driver");
Connection conn = DriverManager.getConnection(
"jdbc:jtds:sqlserver://XXX.XX.XX>XX:1433/DBNAME", "USERNA... | 0 | [
2,
31,
57,
20,
25597,
21,
4235,
4444,
255,
13,
9007,
568,
8247,
800,
3726,
3726,
31,
57,
20,
25597,
21,
4235,
4444,
255,
13,
9007,
568,
8247,
9,
31,
589,
25597,
68,
13,
9007,
568,
249,
1797,
718,
9,
1106,
7259,
5,
7,
2328,
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... |
[HELP]Mysql query from 3 tables
===
Suppose i have 3 tables like..
____________
|pid |pname|
| 1 | a |
| 2 | b |
| 3 | c |
------------
product
____________
|pid | qty |
| 1 | 5 |
| 2 | 8 |
| 1 | 5 |
------------
stock
____________
|pid | qty |
| 2 | 4... | 0 | [
2,
636,
14593,
500,
915,
18,
22402,
25597,
37,
203,
7484,
800,
3726,
3726,
5787,
31,
57,
203,
7484,
101,
9,
9,
13,
1,
13,
1,
11031,
13,
1,
306,
7259,
1,
13,
1,
137,
13,
1,
21,
13,
1,
13,
1,
172,
13,
1,
334,
13,
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... |
How to give sudo access to a bash script?
===
I have a bash script(`chbr.sh`) to change my display brightness from terminal as my brightness keys doesn't work.
`sudo setpci -s 00:02.0 F4.B=30`
Now, every time I run that script it asks for password which I don't like. So, I googled a little and found out that... | 0 | [
2,
184,
20,
590,
13,
18,
18601,
1381,
20,
21,
13158,
3884,
60,
800,
3726,
3726,
31,
57,
21,
13158,
3884,
5,
1,
673,
5145,
9,
1635,
1,
6,
20,
753,
51,
3042,
21138,
37,
3855,
28,
51,
21138,
5534,
1437,
22,
38,
170,
9,
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... |
run server script on server to set firefox default homepage for certain user group
===
is it possible to write a script to run on server to set/configure firefox default homepage ?
i have develop a new web application and want to set all user in the company to have their firefox default homepage point to the web app... | 0 | [
2,
485,
8128,
3884,
27,
8128,
20,
309,
535,
18219,
12838,
213,
6486,
26,
1200,
4155,
214,
800,
3726,
3726,
25,
32,
938,
20,
2757,
21,
3884,
20,
485,
27,
8128,
20,
309,
118,
1126,
15951,
535,
18219,
12838,
213,
6486,
13,
60,
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... |
Why simplexml_load_file does not work relative to host file?
===
I have `simplexml_load_file` instruction placed withing included PHP file. But this instruction works depending on where I include this file from. Why? Is it possible to make relative file path be interpreted relatively to the file instruction placed in? | 0 | [
2,
483,
1935,
396,
8184,
1,
8294,
1,
16877,
630,
52,
170,
4543,
20,
2015,
3893,
60,
800,
3726,
3726,
31,
57,
13,
1,
24629,
396,
8184,
1,
8294,
1,
16877,
1,
7304,
1037,
29,
68,
506,
13,
26120,
3893,
9,
47,
48,
7304,
693,
4758,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
from nested substring i want to store inner substring output
===
Suppose i have following command
Declare @input as varchar(500)
set @input = 'abce,dfg'
select substring(substring(@input,1,charindex(',',@input)+1),1,2)
How can i save result of inner substring? | 0 | [
2,
37,
5618,
69,
972,
11130,
31,
259,
20,
1718,
3754,
972,
11130,
5196,
800,
3726,
3726,
5787,
31,
57,
249,
1202,
10123,
13,
1,
108,
4881,
28,
4033,
5433,
5,
6000,
6,
309,
13,
1,
108,
4881,
800,
13,
22,
21880,
62,
15,
43,
1910... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Browse button used in <Control type ="" > to install .cer file in custom dialog using wix
===
I did not find type in control to browser and upload file in custom dialog in wix.
<Control type="">
Type="PathEdit" browse the folder only , can not select file.
| 0 | [
2,
10175,
62,
5167,
147,
19,
13,
1,
12898,
1001,
800,
7,
7,
13,
1,
20,
16146,
13,
9,
5482,
3893,
19,
5816,
28223,
568,
4807,
396,
800,
3726,
3726,
31,
144,
52,
477,
1001,
19,
569,
20,
16495,
17,
71,
8294,
3893,
19,
5816,
28223... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Implementing bitmask verification in MS Access
===
I have a table `Watchlist` that contains a number of players and a flag to idenfity their offenses. I want to implement the flag as a `bitmask`. However, to catch wrong input at an early stage, I would like to check the bitmask against the table `Watchlist_Flags` befo... | 0 | [
2,
17333,
1142,
23265,
25056,
19,
4235,
1381,
800,
3726,
3726,
31,
57,
21,
859,
13,
1,
9054,
5739,
1,
30,
1588,
21,
234,
16,
1007,
17,
21,
3157,
20,
31,
817,
410,
856,
66,
8749,
18,
9,
31,
259,
20,
8713,
14,
3157,
28,
21,
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... |
PHP redirect and ajax not working on remote host
===
I have developed a site on my local machine and got it working fine, but after uploading it to my remote host, the redirects (`header('location: ...`) and ajax/json calls fail to run.
I have checked for any html being written before the redirects are run and the ... | 0 | [
2,
13,
26120,
302,
14706,
17,
20624,
52,
638,
27,
5388,
2015,
800,
3726,
3726,
31,
57,
885,
21,
689,
27,
51,
375,
1940,
17,
330,
32,
638,
1123,
15,
47,
75,
71,
16866,
32,
20,
51,
5388,
2015,
15,
14,
302,
14706,
18,
13,
5,
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... |
Collapse columns in Excel with Python
===
I am making a script to parse results from a database into Excel. I have both my rows and columns grouped. I have a method for folding the group (with the +/- button). I can collapse my rows via:
call: e.showLevels(1,0)
def showLevels(self, rowlevel, collevel):
... | 0 | [
2,
6529,
7498,
19,
20700,
29,
20059,
800,
3726,
3726,
31,
589,
544,
21,
3884,
20,
2017,
870,
1736,
37,
21,
6018,
77,
20700,
9,
31,
57,
156,
51,
11295,
17,
7498,
19511,
9,
31,
57,
21,
2109,
26,
14516,
14,
214,
13,
5,
1410,
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... |
Simple Antlr3 Token parsing
===
while i'm somewhat comforted by the amount of questions regarding Antlr grammar (it's not just me trying to shave this yak shaped thing), i haven't found a question/answer that comes close to helping with my issue.
I'm using Antlr3.3 with a mixed Token/Parser lexer.
I'm using gUni... | 0 | [
2,
1935,
40,
38,
12988,
240,
20,
2853,
2017,
18,
68,
800,
3726,
3726,
133,
31,
22,
79,
4131,
5295,
69,
34,
14,
2006,
16,
2346,
3467,
40,
38,
12988,
7207,
13,
5,
242,
22,
18,
52,
114,
55,
749,
20,
25599,
48,
2167,
197,
9733,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 - ListView LongClick Order
===
I have a custom ListView Adapter.
It has implemented `onItemLongClick( ... );`
I also have some cells, which are custom layouts, containing ImageViews. These ImageViews also have LongClickListeners defined.
I'd like to alter the click order, as right now it seems like wh... | 0 | [
2,
13005,
13,
8,
968,
4725,
175,
150,
10129,
389,
800,
3726,
3726,
31,
57,
21,
5816,
968,
4725,
9924,
106,
9,
32,
63,
6807,
13,
1,
218,
2119,
79,
2701,
150,
10129,
5,
13,
9,
9,
9,
13,
6,
73,
1,
31,
67,
57,
109,
2934,
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... |
Is it possible to make a dynamical mix of listView and textView ? Let me explain
===
I tried to found a method, but no results. i want a listView like below, and when i click on an element, like "Word", it'll be like this picture :
![And the result i want][2]
[2]: http://i.stack.imgur.com/QH1rk.png
Is it po... | 0 | [
2,
25,
32,
938,
20,
233,
21,
7782,
192,
2917,
16,
968,
4725,
17,
1854,
4725,
13,
60,
408,
55,
3271,
800,
3726,
3726,
31,
794,
20,
216,
21,
2109,
15,
47,
90,
1736,
9,
31,
259,
21,
968,
4725,
101,
1021,
15,
17,
76,
31,
10840,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 replace text of a cell based on condition in excel
===
i have the following data which is sorted :
Activity Employee_Count
A 10
B 8
C 4
this is suppose to be top 10 sorting , i want to replace the last Activity value ( C ) with "other" w... | 0 | [
2,
184,
20,
3934,
1854,
16,
21,
1667,
432,
27,
2874,
19,
20700,
800,
3726,
3726,
31,
57,
14,
249,
1054,
56,
25,
22554,
13,
45,
2358,
7362,
1,
16549,
21,
332,
334,
469,
272,
268,
48,
25,
5787,
20,
44,
371,
332,
2058,
68,
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... |
Need to connect DB2 database using unix shell script
===
Need to connect to DB2 database by using unix shell script
I am using QMF tool to run DB2 queries everytime. Now i need to connect this through shell script.
DSN name --GM2P
DB name-- DPPRICMG
table name--item
Any help and suggestions would be appreciated.
... | 0 | [
2,
376,
20,
6379,
13,
9007,
135,
6018,
568,
22540,
3593,
3884,
800,
3726,
3726,
376,
20,
6379,
20,
13,
9007,
135,
6018,
34,
568,
22540,
3593,
3884,
31,
589,
568,
2593,
13235,
5607,
20,
485,
13,
9007,
135,
9386,
2829,
352,
891,
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... |
mongoid connection issue
===
I've been trying to use Mongoid with Rails on Ubuntu. Mongodb was working fine for me with rails app 3.0 to 3.2,
today suddenly, i am getting error "/home/pravinmishra/.rvm/gems/ruby-1.9.2-p318/gems/mongo-1.5.2/lib/mongo/connection.rb:413:in `connect': Failed to connect to a master no... | 0 | [
2,
21028,
6516,
2760,
1513,
800,
3726,
3726,
31,
22,
195,
74,
749,
20,
275,
21028,
6516,
29,
2240,
18,
27,
287,
12968,
2473,
9,
3521,
5474,
220,
23,
638,
1123,
26,
55,
29,
2240,
18,
4865,
203,
9,
387,
20,
203,
9,
135,
15,
786,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WebSocket CPU and over head test
===
I have no idea how to test the CPU and over head test on Web socket? Is there any online tool that I can test my application for number of times? Any great idea would help me a lot. | 0 | [
2,
2741,
18,
5668,
1198,
17578,
17,
84,
157,
1289,
800,
3726,
3726,
31,
57,
90,
882,
184,
20,
1289,
14,
17578,
17,
84,
157,
1289,
27,
2741,
18482,
60,
25,
80,
186,
2087,
5607,
30,
31,
92,
1289,
51,
3010,
26,
234,
16,
436,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... |
Reverse relation ToManyField Tastypie
===
I have two resources (Tastypie), one of which has a `ToManyField` field:
class SongResource(ModelResource):
class Meta:
queryset = Song.objects.all()
resource_name = 'song'
authorization = Authorization()
... | 0 | [
2,
7006,
5827,
20,
14842,
1109,
12892,
1084,
9903,
800,
3726,
3726,
31,
57,
81,
2566,
13,
5,
536,
9433,
9903,
6,
15,
53,
16,
56,
63,
21,
13,
1,
262,
14842,
1109,
1,
575,
45,
718,
338,
99,
12097,
5,
13998,
99,
12097,
6,
45,
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... |
Apache HttpClient is running out of connection but I'm not sure why?
===
After some usage, HttpClient seems to block here, causing my whole app to freeze:
Thread [main] (Suspended)
Unsafe.park(boolean, long) line: not available [native method]
LockSupport.park(Object) line: 186
AbstractQu... | 0 | [
2,
17140,
7775,
150,
18513,
38,
25,
946,
70,
16,
2760,
47,
31,
22,
79,
52,
562,
483,
60,
800,
3726,
3726,
75,
109,
7514,
15,
7775,
150,
18513,
38,
2206,
20,
1921,
235,
15,
3242,
51,
979,
4865,
20,
11551,
45,
9322,
636,
6232,
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... |
Why id & sessionid in URL?
===
I am trying to learn php. Here is a question that i cant find an answer.
I see some URLs like this:
http://www.siteadress.com/?view=profile&id=098&hash=589e8bed895198495d987d055699d2b9
Why some sites add ID and hashed password to URL? ır it's SeesionID?
Is there any advantage ... | 1 | [
2,
483,
4924,
279,
3723,
1340,
19,
287,
6362,
60,
800,
3726,
3726,
31,
589,
749,
20,
2484,
13,
26120,
9,
235,
25,
21,
1301,
30,
31,
2973,
477,
40,
1623,
9,
31,
196,
109,
13,
911,
7532,
101,
48,
45,
7775,
6903,
6483,
9,
9097,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 draw a widget under certain circumstances
===
Is it possible in Android to draw a widget in an `Activity` only if a `boolean` value equals true? Basically, I'd like to hide a `Button` if the currently logged in user isn't an administrator, but display if they are.
Is something like this possible? I haven't... | 0 | [
2,
13005,
2003,
21,
4807,
43,
3060,
131,
1200,
5072,
800,
3726,
3726,
25,
32,
938,
19,
13005,
20,
2003,
21,
4807,
43,
3060,
19,
40,
13,
1,
19348,
1,
104,
100,
21,
13,
1,
10858,
413,
210,
1,
1923,
2747,
18,
1151,
60,
11374,
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... |
Dashboard Button Extension Tooltip
===
I'm working specifically with the PowerTools extensions, but this applies to any Anquilla extension with buttons in the dashboard.
We can set `<ext:title>` to get a hover-over tooltip. User hovers over the GUI extension button to see this text. See example for the "count items... | 0 | [
2,
26478,
5167,
3896,
5607,
10169,
800,
3726,
3726,
31,
22,
79,
638,
3524,
29,
14,
414,
20799,
18,
17529,
15,
47,
48,
13169,
20,
186,
40,
18504,
531,
3896,
29,
12861,
19,
14,
26478,
9,
95,
92,
309,
13,
1,
1706,
38,
45,
22235,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python: How to find all the items greater than some number in an unsorted list (large data set)
===
Although, similar type of questions have been asked by others, for ex. <a href="http://stackoverflow.com/questions/7281760/in-python-how-do-you-find-the-index-of-the-first-value-greater-than-a-threshold" title="here">he... | 0 | [
2,
20059,
45,
184,
20,
477,
65,
14,
3755,
1894,
119,
109,
234,
19,
40,
367,
22843,
69,
968,
13,
5,
11312,
1054,
309,
6,
800,
3726,
3726,
419,
15,
835,
1001,
16,
2346,
57,
74,
411,
34,
654,
15,
26,
1396,
9,
13,
1,
58,
746,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 fix error css width x height when run as mobile
===
I have a image:
<img class="" width="78px" height="78px" border="0" alt="" src="test.png" smartload="7" style="opacity: 1;">
And css:
img {
border: 0;
max-width: 100%;
}
When run as PC (firefox)
![PC][1]
When run ... | 0 | [
2,
184,
20,
6098,
7019,
272,
18,
18,
9456,
993,
2947,
76,
485,
28,
3241,
800,
3726,
3726,
31,
57,
21,
1961,
45,
13,
1,
1660,
263,
718,
3726,
7,
7,
9456,
3726,
7,
4130,
306,
396,
7,
2947,
3726,
7,
4130,
306,
396,
7,
1862,
372... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mysql Query Filter
===
So I'm trying to get data from my sql database and sort it by certain variables that are related to some report generations that I might want to make.
<?
$sql = 'SELECT DISTINCT jsfdName.baseData AS Name, jsfdAddr.baseData as Address, jsfdZip.baseData AS Zip, jsfdCity.baseData AS Ci... | 0 | [
2,
51,
18,
22402,
25597,
11945,
800,
3726,
3726,
86,
31,
22,
79,
749,
20,
164,
1054,
37,
51,
4444,
255,
6018,
17,
2058,
32,
34,
1200,
12157,
30,
50,
1597,
20,
109,
1330,
8163,
30,
31,
530,
259,
20,
233,
9,
13,
1,
60,
5579,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java: read file and save as double array; then write it as new file
===
I am doing this homework where I am suppose to read a .txt file fill with int number into a double array. After which I had to write this double array into another .txt file.
At first I though everything was working as I was able to read the file... | 0 | [
2,
8247,
45,
1302,
3893,
17,
2079,
28,
1494,
7718,
73,
94,
2757,
32,
28,
78,
3893,
800,
3726,
3726,
31,
589,
845,
48,
22334,
113,
31,
589,
5787,
20,
1302,
21,
13,
9,
38,
396,
38,
3893,
3509,
29,
19,
38,
234,
77,
21,
1494,
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... |
Uiscrollview image was moved in Fullscreen i want to fix in particular position to move images
===
I using Uiscrollview for sliding some images horizontally for certain position only in top for ipad.But my issues was wereever i scroll in ipad my image was moved.But i want to move images in certain position oly like to... | 0 | [
2,
13,
5661,
3862,
8694,
4725,
1961,
23,
385,
19,
503,
7187,
31,
259,
20,
6098,
19,
1498,
649,
20,
780,
3502,
800,
3726,
3726,
31,
568,
13,
5661,
3862,
8694,
4725,
26,
7609,
109,
3502,
25658,
26,
1200,
649,
104,
19,
371,
26,
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... |
adding shadow to cell causes laggy scrolling
===
So I have a UIView which has a shadow:
[containerFrame.layer setShadowOffset:CGSizeMake(0, 1)];
[containerFrame.layer setShadowRadius:4.0];
[containerFrame.layer setShadowColor:[UIColor colorWithRed:34/255.f green:25/255.f blue:25/255.f ... | 0 | [
2,
4721,
3118,
20,
1667,
4047,
13,
6828,
2687,
13,
28166,
800,
3726,
3726,
86,
31,
57,
21,
13,
5661,
4725,
56,
63,
21,
3118,
45,
636,
1126,
5851,
106,
8361,
9,
15187,
309,
18396,
1299,
3554,
45,
15123,
10454,
11115,
5,
387,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where do I create error log function in asp.net?
===
I am using 3 tier architecture in asp.net, I want to put function "ErrorLog()" to log errors, where should I put in my structure?
| 0 | [
2,
113,
107,
31,
1600,
7019,
6738,
1990,
19,
28,
306,
9,
2328,
60,
800,
3726,
3726,
31,
589,
568,
203,
7197,
2607,
19,
28,
306,
9,
2328,
15,
31,
259,
20,
442,
1990,
13,
7,
29992,
5567,
5,
6,
7,
20,
6738,
11908,
15,
113,
378,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to skip or avoid an Android API level in the manifest?
===
We're writing an Android app which we plan to make available on Android devices that have at least Froyo (API 8) installed up to Jelly Bean (API 16), but we don't want to offer it to API levels 12 and 13 just yet, which are Honeycomb 3.1 and 3.2, respectiv... | 0 | [
2,
184,
20,
12532,
54,
2658,
40,
13005,
21,
2159,
662,
19,
14,
13160,
60,
800,
3726,
3726,
95,
22,
99,
1174,
40,
13005,
4865,
56,
95,
944,
20,
233,
904,
27,
13005,
4690,
30,
57,
35,
639,
8467,
2408,
13,
5,
2552,
49,
469,
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... |
How to get Lob Trajectory using cocos2d iphone
===
I'm trying to get a a meteor emitter to animate in a lob trajectory from a cannon based on an imputed velocity and angle when I press the fire button. I'm a noob iphone game dev. My friend and I tried to think up the physics and animation to accomplish it but failed. ... | 0 | [
2,
184,
20,
164,
13,
10904,
26007,
568,
22470,
18,
135,
43,
21024,
800,
3726,
3726,
31,
22,
79,
749,
20,
164,
21,
21,
17522,
8468,
7986,
20,
14487,
591,
19,
21,
13,
10904,
26007,
37,
21,
6689,
432,
27,
40,
797,
4881,
69,
10700,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AJAX echo not returning but php register to database works
===
I'm creating a registration form that relies on a simple AJAX call. As soon as I click Submit I want to echo out a sentence. The code I'm about to post DOES insert the register data into the database. The problem is is that it refreshes the page and does n... | 0 | [
2,
20624,
8117,
52,
2485,
47,
13,
26120,
2243,
20,
6018,
693,
800,
3726,
3726,
31,
22,
79,
2936,
21,
8587,
505,
30,
19272,
27,
21,
1935,
20624,
645,
9,
28,
651,
28,
31,
10840,
12298,
31,
259,
20,
8117,
70,
21,
5123,
9,
14,
179... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why when I create new xml layout the control in palette change to old version of control in android
===
![enter image description here][1]
![enter image description here][2]
[1]: http://i.stack.imgur.com/uR4SU.png
[2]: http://i.stack.imgur.com/dSfWk.png
First I create my project that minSdkVersion="13"... | 0 | [
2,
483,
76,
31,
1600,
78,
23504,
9106,
14,
569,
19,
27349,
753,
20,
315,
615,
16,
569,
19,
13005,
800,
3726,
3726,
13,
187,
2558,
13679,
1961,
5318,
235,
500,
2558,
165,
500,
13,
187,
2558,
13679,
1961,
5318,
235,
500,
2558,
135,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AS3: Z buffering
===
Z buffering is a better rendering technique compared to z sorting, since it can render intersecting 3D objects.
Say, I have an <code>Array</code> containing two <code>Object</code> instances as following:
{v1:new Vector3D(0, 0, 0), v2:new Vector3D(100, 0, 0), v3:new Vector3D(100, 0, 100)}
{... | 0 | [
2,
28,
240,
45,
2052,
17497,
68,
800,
3726,
3726,
2052,
17497,
68,
25,
21,
574,
15307,
4873,
2428,
20,
2052,
2058,
68,
15,
179,
32,
92,
16535,
17822,
68,
203,
43,
3916,
9,
395,
15,
31,
57,
40,
13,
1,
9375,
1,
8576,
93,
1,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.