unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How do you check the length of the added text in a WPF TextBox control?
===
I have a `TextChanged` event for my WPF TextBox as follows:
private void textMatch_TextChanged(object sender, TextChangedEventArgs e)
{
var m = e.Changes;//here I can see e.Changes has what I'm looking for
//do so... | 0 | [
2,
184,
107,
42,
2631,
14,
1476,
16,
14,
905,
1854,
19,
21,
619,
7721,
1854,
5309,
569,
60,
800,
3726,
3726,
31,
57,
21,
13,
1,
11969,
16229,
43,
1,
807,
26,
51,
619,
7721,
1854,
5309,
28,
2415,
45,
932,
11364,
1854,
12280,
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... |
Apache axis logging - ClassCastException
===
My Jira 5.0 plugin is broken with the following exception:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
Caused by: java.lang.ExceptionInInitializerError
at org.apache.axi... | 0 | [
2,
17140,
8577,
13,
13919,
13,
8,
718,
6146,
10066,
872,
800,
3726,
3726,
51,
487,
3517,
331,
9,
387,
10922,
108,
25,
2023,
29,
14,
249,
5391,
45,
8247,
9,
9949,
9,
27977,
9,
108,
2625,
16893,
3958,
3060,
10066,
872,
35,
939,
9,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use AR on an incomplete time series
===
I would like to use the function ar() in R to fit an AR(p) process, but I am using it on an intraday timeseries and the data is not contiguous.
I tried to add NAs at the end of every day to force ar() to not compute the AR on the first p values, by typing this:
... | 0 | [
2,
184,
20,
275,
13,
512,
27,
40,
14011,
85,
231,
800,
3726,
3726,
31,
83,
101,
20,
275,
14,
1990,
13,
512,
5,
6,
19,
761,
20,
2742,
40,
13,
512,
5,
306,
6,
953,
15,
47,
31,
589,
568,
32,
27,
40,
14369,
1185,
85,
8231,
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... |
expected declaration specifiers or '...' before '&' token
===
Even though this error has been discussed many times before in this forum, Most of time it has been content specific.So i request you to explain me in general when this problem occurs and how to avoid it.
| 0 | [
2,
1727,
7098,
12737,
16292,
18,
54,
13,
22,
9,
9,
9,
22,
115,
13,
22,
1569,
22,
20,
2853,
800,
3726,
3726,
166,
362,
48,
7019,
63,
74,
6078,
151,
436,
115,
19,
48,
5691,
15,
127,
16,
85,
32,
63,
74,
2331,
1903,
9,
656,
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... |
Could not find rake-0.9.2.2 in any of the sources
===
This is an odd one. I'm getting this error when I run rake to do tests but not when I migrate. I'm running RVM, the shell dump below should give any information you need.
Any help would be greatly appreciated. I've seen a few other people with this issue, but no... | 0 | [
2,
110,
52,
477,
21009,
8,
387,
9,
518,
9,
135,
9,
135,
19,
186,
16,
14,
2662,
800,
3726,
3726,
48,
25,
40,
4210,
53,
9,
31,
22,
79,
1017,
48,
7019,
76,
31,
485,
21009,
20,
107,
4894,
47,
52,
76,
31,
22985,
9,
31,
22,
79... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Create new HTML5 video element throught JavaScript
===
I am trying to create a new HTML5 video elemnt entirely throught JS. So I try to do it the same way I create a new image, like: `obj = new Image()` I write `obj = new HTMLVideoElement()`. However this doesn't work. I get the runtime error: **Object doesn't support... | 0 | [
2,
1600,
78,
13,
15895,
264,
763,
4520,
120,
38,
8247,
8741,
800,
3726,
3726,
31,
589,
749,
20,
1600,
21,
78,
13,
15895,
264,
763,
931,
1503,
2877,
2894,
120,
38,
487,
18,
9,
86,
31,
1131,
20,
107,
32,
14,
205,
161,
31,
1600,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 straighten a rotated rectangle area of an image using opencv in python?
===
I draw a picture to show what I want. I has the information of the rectangles in the image, width, height, center point and rotation degree. Now, I want to write a script to cut them out and save them as image, but straighten them. I am... | 0 | [
2,
184,
20,
19298,
21,
24107,
27181,
217,
16,
40,
1961,
568,
368,
12732,
19,
20059,
60,
800,
3726,
3726,
31,
2003,
21,
2151,
20,
298,
98,
31,
259,
9,
31,
63,
14,
676,
16,
14,
27181,
18,
19,
14,
1961,
15,
9456,
15,
2947,
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... |
Sessions_End and StateServer Sessions mode
===
As we all know , `Session_End` event does not fire when session mode is set to `StateServer`.
But here is a problem ,that in a project I use this event to delete a record that assigned to the current logged in user that its sessions expired
Now I am looking for anot... | 0 | [
2,
5763,
1,
2451,
17,
202,
106,
2304,
5763,
3740,
800,
3726,
3726,
28,
95,
65,
143,
13,
15,
13,
1,
7202,
5991,
1,
2451,
1,
807,
630,
52,
535,
76,
3723,
3740,
25,
309,
20,
13,
1,
3859,
10321,
106,
1,
9,
47,
235,
25,
21,
144... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
script files clashing with each other
===
I am using custom scroll and accordion in a page but when I put both plugin's script in the page thn either one of tat is not working. I tried to merge both but still it is not working.
Here is my script for each plugin
**For custom scroll**
<script type="text/jav... | 0 | [
2,
3884,
6488,
13870,
68,
29,
206,
89,
800,
3726,
3726,
31,
589,
568,
5816,
12159,
17,
20753,
19,
21,
2478,
47,
76,
31,
442,
156,
10922,
108,
22,
18,
3884,
19,
14,
2478,
13,
96,
103,
694,
53,
16,
8537,
25,
52,
638,
9,
31,
79... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
using between in the middle of where clause based on an if condition
===
Select * from MyTable
where myField = 1
And myImportantField ???
...
i have following parameters :
@DoCalculateValues bit,
@FromValue int,
@ToValue int
I NEED THIS
==
if @DoCalculateV... | 0 | [
2,
568,
128,
19,
14,
772,
16,
113,
9040,
432,
27,
40,
100,
2874,
800,
3726,
3726,
5407,
1637,
37,
51,
5924,
113,
51,
1109,
800,
137,
17,
51,
25716,
1109,
13,
60,
60,
60,
13,
9,
9,
9,
31,
57,
249,
12905,
13,
45,
13,
1,
537,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In-memory scanning of files, ideally using ClamAV
===
We are implementing an enterprise application with a heavy focus on security, which includes the uploading of files. These files need to be virus scanned, but also need to be encrypted.
The current process is that the files are uploaded and then streamed - throu... | 0 | [
2,
19,
8,
790,
5171,
93,
15863,
16,
6488,
15,
5628,
102,
568,
15786,
5214,
800,
3726,
3726,
95,
50,
17333,
40,
6002,
3010,
29,
21,
1278,
1776,
27,
1221,
15,
56,
1103,
14,
71,
16866,
16,
6488,
9,
158,
6488,
376,
20,
44,
6231,
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... |
Preventing the use of certain dlls or service code in a given location
===
Is there a simple way (using code contracts perhaps?) to prevent the use of certainl dlls/namespace/assemblies within a given portion of an application?
My use case is that I'd like a warning mechanism when I try to use a company wide servic... | 0 | [
2,
11520,
14,
275,
16,
1200,
13,
43,
211,
18,
54,
365,
1797,
19,
21,
504,
1474,
800,
3726,
3726,
25,
80,
21,
1935,
161,
13,
5,
12655,
1797,
8712,
1774,
60,
6,
20,
2501,
14,
275,
16,
1200,
255,
13,
43,
211,
18,
118,
7259,
558... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iOS 6 - 3G Fallback when Gateway on Wifi is offline
===
I noticed on iOS6 Beta 2 and Beta 3 that though I am connected to a Router that definitely is offline my iPhone sends and receives data over 3G. I cross checked with some whatsmyip service that this is actually the case.
As far I know on iOS < 6 when connected... | 3 | [
2,
13,
7760,
400,
13,
8,
203,
263,
1080,
1958,
76,
12171,
27,
4807,
1707,
25,
168,
1143,
800,
3726,
3726,
31,
2711,
27,
13,
7760,
379,
8434,
172,
17,
8434,
203,
30,
362,
31,
589,
2587,
20,
21,
858,
139,
30,
4939,
25,
168,
1143... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
text formatting is not showing in sent mail using asp.net
===
net for sending email. The body of email is a
dynamically created web page using HttpWebRequest.create(). This
page is well formatted but not showing that formatting (bold effect,
color of font,size of font) when i opened that mail in my account.
SO m... | 0 | [
2,
1854,
2595,
1203,
25,
52,
3187,
19,
795,
4216,
568,
28,
306,
9,
2328,
800,
3726,
3726,
4275,
26,
4907,
8517,
9,
14,
358,
16,
8517,
25,
21,
7782,
1326,
679,
2741,
2478,
568,
7775,
458,
3692,
10351,
9,
6037,
1373,
5,
6,
9,
48... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to read hdf5 boolean enum created by h5py in C
===
I've created an array with 3 doubles and one boolen using `numpy` and written them to file using `h5py`:
import numpy as np
import h5py
data = np.zeros(10, dtype=[("THETA",np.double),("PHI",np.double),("PSI",np. double),("FLAG",np.bool)])
... | 0 | [
2,
184,
20,
1302,
8590,
410,
264,
9827,
413,
210,
1957,
723,
679,
34,
746,
264,
6448,
19,
272,
800,
3726,
3726,
31,
22,
195,
679,
40,
7718,
29,
203,
7784,
17,
53,
9827,
2284,
568,
13,
1,
6336,
6448,
1,
17,
642,
105,
20,
3893,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 i create in Objective C a macro for execute many modules in runtime
===
in this source code is link for module FirstDetailViewController
FirstDetailViewController *newDetailViewController = [[FirstDetailViewController alloc] initWithNibName:@"FirstDetailView" bundle:nil];
detail... | 0 | [
2,
184,
31,
1600,
19,
7038,
272,
21,
9069,
26,
15644,
151,
17113,
19,
485,
891,
800,
3726,
3726,
19,
48,
1267,
1797,
25,
3508,
26,
12613,
64,
546,
8682,
4725,
12898,
1252,
64,
546,
8682,
4725,
12898,
1252,
1637,
2681,
546,
8682,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CUDA Branching Optimization
===
I've got a program that uses a few CUDA kernels and this one is taking 50-100ms to run while the others take 0-5ms. I expect this has something to do with all the branching, but I'm not really sure how to reduce it. I'm compiling for a compute capability 2.1 device. If someone could poi... | 0 | [
2,
272,
5729,
1686,
68,
21597,
800,
3726,
3726,
31,
22,
195,
330,
21,
625,
30,
2027,
21,
310,
272,
5729,
17007,
18,
17,
48,
53,
25,
741,
1222,
8,
4031,
79,
18,
20,
485,
133,
14,
654,
247,
713,
8,
264,
79,
18,
9,
31,
4186,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 help on this particular syntax
===
I found this on Git hub, but I do not know some of that is going on. Can anyone please explain?
- (id)initWithTitle:(NSString *)title message:(NSString *)message completionBlock:(void (^)(NSUInteger buttonIndex))block cancelButtonTitle:(NSString *)cancelButtonTitle otherBu... | 0 | [
2,
376,
448,
27,
48,
1498,
22649,
800,
3726,
3726,
31,
216,
48,
27,
13,
10404,
5814,
15,
47,
31,
107,
52,
143,
109,
16,
30,
25,
228,
27,
9,
92,
1276,
2247,
3271,
60,
13,
8,
13,
5,
1340,
6,
108,
242,
1410,
22235,
45,
5,
217... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
UTF Encoding ID list?
===
in SQL Devleoper, I tracked down the encoding ID for some pages, to verify something. I was told that the number 2 represents UTF-8. I cannot find a table of UTF ID codes. Am I crazy? So 1 must be UTF-2? thanks | 0 | [
2,
287,
11720,
19608,
4924,
968,
60,
800,
3726,
3726,
19,
4444,
255,
9664,
413,
9477,
15,
31,
15535,
125,
14,
19608,
4924,
26,
109,
4434,
15,
20,
21012,
301,
9,
31,
23,
470,
30,
14,
234,
172,
4719,
287,
11720,
8,
457,
9,
31,
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... |
Visual C++ must return a valur error
===
I am working on a multiplatform project, and some platforms have disabled features, and in the interface for those features, a common thing I do is something like this:
bool Foo::bar() const {
// disabled
abort();
}
GCC/LLVM do not require that ... | 0 | [
2,
3458,
272,
20512,
491,
788,
21,
3347,
911,
7019,
800,
3726,
3726,
31,
589,
638,
27,
21,
1889,
27035,
669,
15,
17,
109,
6843,
57,
10154,
967,
15,
17,
19,
14,
6573,
26,
273,
967,
15,
21,
757,
584,
31,
107,
25,
301,
101,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Docsplit works fine in command line but ignores code in Ruby script?
===
This is the strangest issue I've ever seen.
I'm using Docsplit to split a multi-page pdf into a bunch of single-page Jpegs. When I use the command line input:
docsplit images scan.pdf --format jpg
Everything works fine. However, i... | 0 | [
2,
9765,
25603,
693,
1123,
19,
1202,
293,
47,
7174,
18,
1797,
19,
10811,
3884,
60,
800,
3726,
3726,
48,
25,
14,
2578,
384,
1513,
31,
22,
195,
462,
541,
9,
31,
22,
79,
568,
9765,
25603,
20,
2132,
21,
1889,
8,
6486,
13,
11124,
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... |
Qt 4.7.4 C++ QScrollBar -- Use QStyle to Set Size of Slider
===
I have tried several things to get QScrollBar's slider to change size based on the number of singleSteps(). I would like the stepSize() to be ~1.
The following link has got me the closest, but I can't seem to get it to work.
http://www.qtcentre.org... | 0 | [
2,
2593,
38,
268,
9,
465,
9,
300,
272,
20512,
2593,
3862,
8694,
1850,
13,
8,
8,
275,
2593,
4381,
20,
309,
1072,
16,
3295,
106,
800,
3726,
3726,
31,
57,
794,
238,
564,
20,
164,
2593,
3862,
8694,
1850,
22,
18,
3295,
106,
20,
753... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
unusual sql error
===
so i've been stuck on this sql error for some time.
this is the SQL line i'm using:
INSERT INTO images (image_name, orientation, restored, commercial, automotive, bespoke, before, after, date_added)
VALUES ('image4-after.jpg', 'portrait', '1', '1', '1', '1', '24', '5', '2012-07-08... | 0 | [
2,
4706,
4444,
255,
7019,
800,
3726,
3726,
86,
31,
22,
195,
74,
4549,
27,
48,
4444,
255,
7019,
26,
109,
85,
9,
48,
25,
14,
4444,
255,
293,
31,
22,
79,
568,
45,
14692,
77,
3502,
13,
5,
22039,
1,
7259,
15,
10245,
15,
4617,
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... |
GPU based datastructrue/ algorithm for task
===
I have a list of two-word sequences as shown below:
word1 word2
word4 word7
word5 word2
word5 word6
word7 word2
...
Now, for a given word, say wi, I need to find |{wi-1: wi-1wi exists in the list}|. For example, for word2, the answer will be 3 as word1, word5... | 0 | [
2,
489,
4201,
432,
1054,
10346,
1820,
62,
118,
9083,
26,
3005,
800,
3726,
3726,
31,
57,
21,
968,
16,
81,
8,
9587,
11173,
28,
1721,
1021,
45,
833,
165,
833,
135,
833,
300,
833,
465,
833,
264,
833,
135,
833,
264,
833,
379,
833,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Programmatically saving image to Django ImageField 2
===
I read many answers and tried all of this in the shell, but does not want save my local image correctly, he truncate files. When image size is 400kb, he create file in media dir with size 10-30kb. I don't know why. For example i have image with path d:/1.png. I ... | 0 | [
2,
625,
6732,
1326,
7599,
1961,
20,
3857,
14541,
1961,
1109,
172,
800,
3726,
3726,
31,
1302,
151,
6709,
17,
794,
65,
16,
48,
19,
14,
3593,
15,
47,
630,
52,
259,
2079,
51,
375,
1961,
12044,
15,
24,
22328,
62,
6488,
9,
76,
1961,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.Dialog: Setting Disclosure Indicator Clear in OwnerDrawnElement
===
I have a custom `OwnerDrawnElement` where I override the GetCell to add a Disclosure Indicator, but it is not transparent. How do I make the DisclosureIndicator `transparent`?
public override UITableViewCell GetCell(UITableView tv)
{... | 0 | [
2,
4129,
15725,
9,
4286,
5567,
45,
2697,
21449,
13310,
1207,
19,
2410,
19950,
27567,
800,
3726,
3726,
31,
57,
21,
5816,
13,
1,
10705,
19950,
27567,
1,
113,
31,
84,
11891,
14,
164,
9725,
20,
3547,
21,
21449,
13310,
15,
47,
32,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Object not recognized in Rails controller
===
I have this code in one of my controllers to get access to eventful.
eventful = Eventful::API.new('my_key_here')
However, I get the following error when I refresh my page
uninitialized constant LocationsController::Eventful
I installed the gem version 2... | 0 | [
2,
3095,
52,
2124,
19,
2240,
18,
9919,
800,
3726,
3726,
31,
57,
48,
1797,
19,
53,
16,
51,
9919,
18,
20,
164,
1381,
20,
807,
1566,
9,
807,
1566,
800,
807,
1566,
45,
45,
2552,
49,
9,
2681,
5,
22,
915,
1,
4237,
1,
6836,
22,
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... |
PHP: mysql_num_rows - conditional
===
Am trying to calculate the number of rows in a table, depending on a certain condition.
So, I did manage to write a code that would function as required, but .. it's a bit too long. So am wondering if there is any easier way to achieve such function.
Code:
// Comments
... | 0 | [
2,
13,
26120,
45,
51,
18,
22402,
1,
6336,
1,
5417,
18,
13,
8,
21206,
800,
3726,
3726,
589,
749,
20,
18469,
14,
234,
16,
11295,
19,
21,
859,
15,
4758,
27,
21,
1200,
2874,
9,
86,
15,
31,
144,
4705,
20,
2757,
21,
1797,
30,
83,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make new page in html?
===
I am a noob at HTML.
I have a folder on my desktop with page1.html and page2.html.
This is an example of page1
<html>
<h1> Welcome
<title>Website
</h1>
<body>
<p> to page 2
</body>
<a href="page2.html" target="_self">Link</a>
</html>
... | 0 | [
2,
184,
20,
233,
78,
2478,
19,
13,
15895,
60,
800,
3726,
3726,
31,
589,
21,
90,
4995,
35,
13,
15895,
9,
31,
57,
21,
19294,
27,
51,
17404,
29,
2478,
165,
9,
15895,
17,
2478,
135,
9,
15895,
9,
48,
25,
40,
823,
16,
2478,
165,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
unit test static constructor w/ different config values
===
I have a class with a static constructor which I use to read the app.config values. How do I unit test the class with different configuration values. I'm thinking of running each test in different app domain so I can have static constructor executed for each ... | 0 | [
2,
1237,
1289,
12038,
6960,
248,
619,
118,
421,
13,
14093,
2816,
4070,
800,
3726,
3726,
31,
57,
21,
718,
29,
21,
12038,
6960,
248,
56,
31,
275,
20,
1302,
14,
4865,
9,
14093,
2816,
4070,
9,
184,
107,
31,
1237,
1289,
14,
718,
29,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Looping though JSON data and displaying it in a DIV
===
I have a page with some checkboxes and a submit button. I use AJAX to post the checkbox values to a PHP script, calc.php, run some calculations with the data and assign the result to a PHP session variable. I have another PHP script, json.php, that takes that ses... | 0 | [
2,
5293,
68,
362,
487,
528,
1054,
17,
17418,
32,
19,
21,
13,
12916,
800,
3726,
3726,
31,
57,
21,
2478,
29,
109,
2631,
5309,
160,
17,
21,
12298,
5167,
9,
31,
275,
20624,
20,
678,
14,
2631,
5309,
4070,
20,
21,
13,
26120,
3884,
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... |
Formula Editor in Vb.NET just like Crystal reports
===
I am working on a Financial system where I have to give a capability to user to generate his own result using some predefined fields from database and performing mathematical calculations on it.
For instance, I have to calculate the Gratuity amount which equal... | 0 | [
2,
3729,
1835,
19,
13,
20468,
9,
2328,
114,
101,
4282,
2813,
800,
3726,
3726,
31,
589,
638,
27,
21,
1553,
329,
113,
31,
57,
20,
590,
21,
11480,
20,
4155,
20,
7920,
33,
258,
829,
568,
109,
782,
13439,
2861,
37,
6018,
17,
2955,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 database design for image options relationships
===
I have two tables, **images** and **image_data** and here is an example of my image_data table.
image_id | slide_id | language_id | type |
101 | 1 | 1 | CQ |
101 | 2 | NULL | NULL |
56 ... | 0 | [
2,
51,
18,
22402,
6018,
704,
26,
1961,
6368,
5833,
800,
3726,
3726,
31,
57,
81,
7484,
15,
13,
1409,
22039,
18,
1409,
17,
13,
1409,
22039,
1,
18768,
1409,
17,
235,
25,
40,
823,
16,
51,
1961,
1,
18768,
859,
9,
1961,
1,
1340,
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... |
extract text from xml documents in python
===
This is the sample xml document :
<bookstore>
<book category="COOKING">
<title lang="english">Everyday Italian</title>
<author>Giada De Laurentiis</author>
<year>2005</year>
<price>300.00</price>
... | 0 | [
2,
10962,
1854,
37,
23504,
4374,
19,
20059,
800,
3726,
3726,
48,
25,
14,
5717,
23504,
4492,
13,
45,
13,
1,
5199,
16828,
1,
13,
1,
5199,
3230,
3726,
7,
20840,
68,
7,
1,
13,
1,
22235,
4544,
3726,
7,
6024,
7,
1,
12068,
1185,
1186... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
GridView Access Data Source
===
I have a GridView control that I would like to display the rows of a table (cartTable), based on the field 'orderNo' which is stored in a integer 'intOrderNo', how can i configure my data source to do as such? | 0 | [
2,
7354,
4725,
1381,
1054,
1267,
800,
3726,
3726,
31,
57,
21,
7354,
4725,
569,
30,
31,
83,
101,
20,
3042,
14,
11295,
16,
21,
859,
13,
5,
1367,
38,
5924,
6,
15,
432,
27,
14,
575,
13,
22,
7861,
251,
22,
56,
25,
8214,
19,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Method after animation that isn't timed?
===
I have a loading animation while my app is downloading and parsing some XML data.
This is my how I'm doing it right now:
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[self performSe... | 0 | [
2,
2109,
75,
6236,
30,
2532,
22,
38,
85,
43,
60,
800,
3726,
3726,
31,
57,
21,
12797,
6236,
133,
51,
4865,
25,
7121,
68,
17,
2017,
18,
68,
109,
23504,
1054,
9,
48,
25,
51,
184,
31,
22,
79,
845,
32,
193,
130,
45,
13,
8,
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... |
sandwich pattern in javascript code
===
Apologize if the title of the question is misleading. Actually I am looking for the javascript equivalent of the following python code:
<pre><code>
## python code
def call_with_context(fn, *args):
## code to create context, e.g. profiling, db.connect, or drawing context st... | 0 | [
2,
11484,
3732,
19,
8247,
8741,
1797,
800,
3726,
3726,
12059,
100,
14,
581,
16,
14,
1301,
25,
23938,
9,
1121,
31,
589,
699,
26,
14,
8247,
8741,
4602,
16,
14,
249,
20059,
1797,
45,
13,
1,
3515,
1,
9375,
1,
6926,
5910,
20059,
1797... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Calculating the degree of a circle
===
Say I have an arc with a maximum degrees of 60, from 0 degrees to 60 degrees, and a maximum value, 16. I want to find out the degrees of a value in relation to the maximum value. I really hope that made sense, it's quite hard to explain.
For example, I have a maximum degrees of... | 2 | [
2,
22937,
14,
1168,
16,
21,
2775,
800,
3726,
3726,
395,
31,
57,
40,
4686,
29,
21,
2979,
4442,
16,
2083,
15,
37,
713,
4442,
20,
2083,
4442,
15,
17,
21,
2979,
1923,
15,
347,
9,
31,
259,
20,
477,
70,
14,
4442,
16,
21,
1923,
19,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Entity Framework, MVVM, and Calculations Classes
===
I'm working on a database application that manages industry-specific inputs and then runs that information through somewhat complicated calculations, lookups, etc. to return a series of other values and a go/no-go conclusion.
I've decided to use Entity Framework ... | 0 | [
2,
9252,
6596,
15,
17967,
20147,
15,
17,
19186,
2684,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
6018,
3010,
30,
9118,
1230,
8,
9219,
6367,
18,
17,
94,
1461,
30,
676,
120,
4131,
8343,
19186,
15,
361,
15699,
15,
2722,
9,
20,
788,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Most efficient way for reading IMDB movies list
===
I am reading IMDB movies listing from a text file on my harddrive (originally available from IMDB site at ftp://ftp.fu-berlin.de/pub/misc/movies/database/movies.list.gz).It takes around 5 minutes on my machine (basic info: Win7 x64bit, 16GB RAM, 500 GB SATA Hardisk 7... | 0 | [
2,
127,
8243,
161,
26,
1876,
797,
9007,
4795,
968,
800,
3726,
3726,
31,
589,
1876,
797,
9007,
4795,
9554,
37,
21,
1854,
3893,
27,
51,
552,
14573,
13,
5,
14475,
904,
37,
797,
9007,
689,
35,
1187,
306,
6903,
3072,
306,
9,
4096,
8,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to return response from webservice in form of alert
===
I have made a web service and clients will call its methods.Suppose one method takes four parameters and i want to check that if any one of these is empty i want to send a response back to the client and i want to send it like an alerts so client knows what a... | 0 | [
2,
184,
20,
788,
1627,
37,
2741,
11449,
19,
505,
16,
7863,
800,
3726,
3726,
31,
57,
117,
21,
2741,
365,
17,
7421,
129,
645,
82,
3195,
9,
18,
576,
15690,
53,
2109,
1384,
222,
12905,
17,
31,
259,
20,
2631,
30,
100,
186,
53,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android LunarLander: first key-down event is not handled
===
Android SDK's LunarLander example expects the player to press the up-arrow key **once** to play the game. In practice, however, just after loading the app in the emulator, one has to press the up-arrow **twice** to start. Adding a Log.d statement to each of ... | 0 | [
2,
13005,
12710,
10313,
45,
64,
1246,
8,
2968,
807,
25,
52,
9006,
800,
3726,
3726,
13005,
13,
18,
43,
197,
22,
18,
12710,
10313,
823,
4186,
18,
14,
517,
20,
901,
14,
71,
8,
17638,
1246,
13,
1409,
13120,
1409,
20,
418,
14,
250,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Deploying Java web application to Amazon Elastic Beanstalk
===
My team is developing a Java web application which is to be deployed in Amazon Elastic Beanstalk. The development environment is Eclipse and Subversion. They were able to deploy it using the Eclipse plugin, but to automate the deployment I'm experimenting ... | 0 | [
2,
17617,
68,
8247,
2741,
3010,
20,
8059,
931,
9428,
14685,
9718,
800,
3726,
3726,
51,
173,
25,
3561,
21,
8247,
2741,
3010,
56,
25,
20,
44,
6698,
19,
8059,
931,
9428,
14685,
9718,
9,
14,
522,
2307,
25,
11652,
17,
972,
10898,
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... |
Unable to get value (post) with jquery.post
===
I have a little problem in order to get some values from a page.
I have the following jQuery UI script :
<script>
$(function() {
$( "#dialog" ).dialog({
autoOpen: false,
show: "slideUp",
hide: "slideDown",
height: "300",
width: "40... | 0 | [
2,
2343,
20,
164,
1923,
13,
5,
6962,
6,
29,
487,
8190,
93,
9,
6962,
800,
3726,
3726,
31,
57,
21,
265,
1448,
19,
389,
20,
164,
109,
4070,
37,
21,
2478,
9,
31,
57,
14,
249,
487,
8190,
93,
13,
5661,
3884,
13,
45,
13,
1,
8741,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android NDK Native JPEG encoding
===
How can I encode an array of ARGB pixels into JPEG (jpg) file using the NDK? But not using any call to the Java API wrappers from it?
I saw there is a library call libjpeg, but I couldn't find any tutorial of how to use it in the NDK. Any more options?
Thanks | 0 | [
2,
13005,
13,
706,
197,
1275,
487,
20427,
19608,
800,
3726,
3726,
184,
92,
31,
20523,
40,
7718,
16,
13,
10663,
220,
18146,
18,
77,
487,
20427,
13,
5,
12851,
263,
6,
3893,
568,
14,
13,
706,
197,
60,
47,
52,
568,
186,
645,
20,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to update the data of some fields in one table based on the data of other field present on other table using linq or sql in C#?
===
I have the following view and table in my project,
vw_get_arabia_upod_full_details
![enter image description here][1]
Note: Please zoom the above image for seeing it clearly.
... | 0 | [
2,
184,
20,
11100,
14,
1054,
16,
109,
2861,
19,
53,
859,
432,
27,
14,
1054,
16,
89,
575,
734,
27,
89,
859,
568,
6294,
1251,
54,
4444,
255,
19,
272,
5910,
60,
800,
3726,
3726,
31,
57,
14,
249,
1418,
17,
859,
19,
51,
669,
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... |
How to connect to a cluster in which the namenode has two network cards
===
all
I have a hadoop cluster with 3 nodes, the network topology is like this:
1. For each DataNode, its IP address is like :192.168.0.XXX;
2. For the NameNode, it has two network cards: one is connect with the DataNodes as a local LAN with... | 0 | [
2,
184,
20,
6379,
20,
21,
7460,
19,
56,
14,
204,
251,
546,
63,
81,
982,
4092,
800,
3726,
3726,
65,
31,
57,
21,
41,
21709,
7460,
29,
203,
16272,
15,
14,
982,
21661,
25,
101,
48,
45,
137,
9,
26,
206,
1054,
251,
546,
15,
82,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jquey zClip, Chrome
===
I need to copy to the clipboard, and I have used this plug-in:
http://www.steamdev.com/zclip/
$('#copy_code').zclip({
path: '/scripts/js/ZeroClipboard.swf',
copy: $('textarea.form_code').val()
});
This works fine in all browsers, but begins to slow down terribly ... | 0 | [
2,
487,
2005,
93,
2052,
150,
6013,
15,
13,
12985,
800,
3726,
3726,
31,
376,
20,
4344,
20,
14,
12229,
2806,
15,
17,
31,
57,
147,
48,
10922,
8,
108,
45,
7775,
6903,
6483,
9,
18,
6575,
14438,
9,
960,
118,
380,
150,
6013,
118,
557... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Error #2154: The NetStream Object is invalid. This may be due to a failed NetConnection
===
I am unable to run the demo multicast application on my Adobe Flash Builder as it always throw the error 2154 mentioned above.
Plz help me how to rectify it....
I think there might be some problem with the server or dev key... | 1 | [
2,
7019,
7921,
13758,
45,
14,
4275,
11260,
3095,
25,
16671,
9,
48,
123,
44,
397,
20,
21,
1702,
4275,
25996,
872,
800,
3726,
3726,
31,
589,
2343,
20,
485,
14,
8376,
1889,
6146,
3010,
27,
51,
20299,
4433,
14960,
28,
32,
550,
3814,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Refreshing dataGridView items on adding or deleting entry in database?
===
i am adding , deleting and updating data to database in Winforms. i have gridview on all add,delete and update forms.
After deleting records on clicking "delete" button deleted record should removed instantly from dataGridView.
Code Behind... | 0 | [
2,
27134,
1054,
16375,
4725,
3755,
27,
4721,
54,
121,
1336,
68,
2792,
19,
6018,
60,
800,
3726,
3726,
31,
589,
4721,
13,
15,
121,
1336,
68,
17,
71,
43,
1880,
1054,
20,
6018,
19,
628,
4190,
18,
9,
31,
57,
7354,
4725,
27,
65,
354... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 column size(varchar datatype) is needed to store an image in STRING format?
===
I want to store an image in my SQLITE db. I checked out the length of the image's string with this code:
String res;
int reslen;
Log.i("asd", "doinback");
WebServiceConnecting wbs = new WebServiceConnecting();
... | 0 | [
2,
98,
4698,
1072,
5,
3311,
5433,
1054,
4474,
6,
25,
851,
20,
1718,
40,
1961,
19,
3724,
2595,
60,
800,
3726,
3726,
31,
259,
20,
1718,
40,
1961,
19,
51,
4444,
10601,
13,
9007,
9,
31,
6505,
70,
14,
1476,
16,
14,
1961,
22,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
programmatically assign position to a button in android
===
can sum body tell me how to programmatically assign a position to a button in android using linear layout. By default it takes the xtreme left position of the screen.Also i want to do it using Linear layout please do not suggest me using Relative layout... | 0 | [
2,
625,
6732,
1326,
13952,
649,
20,
21,
5167,
19,
13005,
800,
3726,
3726,
92,
3907,
358,
494,
55,
184,
20,
625,
6732,
1326,
13952,
21,
649,
20,
21,
5167,
19,
13005,
568,
6745,
9106,
9,
34,
12838,
32,
1384,
14,
993,
17048,
62,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Batch file: Variable Gird Maker
===
I have been working on a batch file that creates a gird of variables like this:
%G1%%G2%%G3%%G4%%G5%
%G6%%G7%%G8%%G9%%G10%
%G11%%G12%%G13%%G14%%G15%
but when i try running my batch file it just writes this:
%G1%%G2%%G3%%G4%%G5%
Echo is off.
... | 0 | [
2,
13064,
3893,
45,
7612,
10698,
43,
11767,
800,
3726,
3726,
31,
57,
74,
638,
27,
21,
13064,
3893,
30,
9695,
21,
10698,
43,
16,
12157,
101,
48,
45,
13,
11881,
263,
2339,
11881,
263,
2603,
11881,
263,
2560,
11881,
263,
2708,
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... |
Entity framework not creating MetaData and complaining about it.
===
I have a normal Entity Framework MVC Application. I tried using the seed method, but, it was quite hard to work out with many relationships and I opted to create a method that basically started off by calling `db.Database.Delete();` followed by `db.D... | 0 | [
2,
9252,
6596,
52,
2936,
28057,
17,
20154,
88,
32,
9,
800,
3726,
3726,
31,
57,
21,
1826,
9252,
6596,
307,
8990,
3010,
9,
31,
794,
568,
14,
5134,
2109,
15,
47,
15,
32,
23,
1450,
552,
20,
170,
70,
29,
151,
5833,
17,
31,
13920,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Display specific content to a mobile device using javascript or jquery
===
I need to display different information to an iPhone user, as they cant display flash. So therefore display a jpeg for example for anyone using an iphone, and any other device can see the flash content.
I assume the best way to go about this... | 0 | [
2,
3042,
1903,
2331,
20,
21,
3241,
3646,
568,
8247,
8741,
54,
487,
8190,
93,
800,
3726,
3726,
31,
376,
20,
3042,
421,
676,
20,
40,
21024,
4155,
15,
28,
59,
2973,
3042,
4433,
9,
86,
1793,
3042,
21,
487,
20427,
26,
823,
26,
1276,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
URL rewrite checks for static files then rewrites to index.php
===
OK, I'm pants at rewrite rules in .htaccess files!
My desired scenario is (using the URL `http://doma.in/` as an example):
- First check to see if an `index.html` file exists in the `/public` sub-dir; if it does, serve it
- If it did not; serve... | 0 | [
2,
287,
6362,
27891,
16602,
26,
12038,
6488,
94,
27891,
18,
20,
4348,
9,
26120,
800,
3726,
3726,
5854,
15,
31,
22,
79,
5622,
35,
27891,
1761,
19,
13,
9,
9020,
20604,
6488,
187,
51,
9264,
12705,
25,
13,
5,
12655,
14,
287,
6362,
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... |
Unable to push to remote GIT repository -- "[...] does not appear to be a git repository"
===
I've set up my GIT repository on my server using the following in the appropriate folder (the root of my subdomain, `git.mydomain.com`):
mkdir foo.git
cd foo.git
git init --bare --shared
This would make th... | 0 | [
2,
2343,
20,
3250,
20,
5388,
13,
10404,
24869,
13,
8,
8,
13,
7,
2558,
9,
9,
9,
500,
630,
52,
1893,
20,
44,
21,
13,
10404,
24869,
7,
800,
3726,
3726,
31,
22,
195,
309,
71,
51,
13,
10404,
24869,
27,
51,
8128,
568,
14,
249,
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... |
Improving a query to find out-of-sync values between two tables
===
I have the following query:
SELECT
tableOneId
SUM(a+b+c) AS tableOneData,
MIN(d) AS tableTwoData,
FROM
tableTwo JOIN tableOne ON tableOneId = tableTwoId
GROUP BY
tableOneId
In `Table One`, I have ... | 0 | [
2,
9273,
21,
25597,
20,
477,
70,
8,
1041,
8,
9507,
150,
4070,
128,
81,
7484,
800,
3726,
3726,
31,
57,
14,
249,
25597,
45,
5407,
859,
849,
1340,
3907,
5,
58,
2430,
220,
2430,
150,
6,
28,
859,
849,
18768,
15,
4232,
5,
43,
6,
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... |
Compare system Day and DateTime
===
I'm using the code below to compare two Times:
DateTime systemtime = DateTime.Now;
DateTime timestart = Convert.ToDateTime(txtTimestart.Text);
DateTime timeend = Convert.ToDateTime(txtTimeend.Text);
if (systemtime < timestart |... | 0 | [
2,
11590,
329,
208,
17,
1231,
891,
800,
3726,
3726,
31,
22,
79,
568,
14,
1797,
1021,
20,
11590,
81,
436,
45,
1231,
891,
329,
891,
800,
1231,
891,
9,
1387,
73,
1231,
891,
85,
13680,
800,
8406,
9,
262,
8209,
891,
5,
38,
396,
38,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Masonry height - fill gaps at container's bottom
===
I've started using jQuery [Masorny][1] plugin, I use images with fixed width of 190px each and it works fine, beside one issue. Naturally there are gaps at the bottom of each column, I want to fill theses gaps with some background.
If I set background to th... | 0 | [
2,
487,
8190,
93,
20964,
2947,
13,
8,
3509,
4127,
18,
35,
12147,
22,
18,
2129,
800,
3726,
3726,
31,
22,
195,
373,
568,
487,
8190,
93,
636,
5250,
248,
1536,
500,
2558,
165,
500,
10922,
108,
15,
31,
275,
3502,
29,
3535,
9456,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Reload Solr core with curl
===
I'm trying to reload the Solr core (version 3.6.0) by means of the following sentence:
curl http://localhost:8983/solr/admin/cores?action=RELOAD\&core=mycore
When I execute it, I get the following response:
<?xml version="1.0" encoding="UTF-8"?>
<response>
<... | 0 | [
2,
27339,
7176,
139,
2884,
29,
14320,
800,
3726,
3726,
31,
22,
79,
749,
20,
27339,
14,
7176,
139,
2884,
13,
5,
10898,
203,
9,
379,
9,
387,
6,
34,
1108,
16,
14,
249,
5123,
45,
14320,
7775,
6903,
15580,
11694,
45,
3877,
4736,
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... |
Please suggest any good newsletter module for drupal 7
===
I am looking for newletter module for drupal 7 which should works with contact us page also | 0 | [
2,
2247,
5601,
186,
254,
17782,
12613,
26,
15708,
6720,
453,
800,
3726,
3726,
31,
589,
699,
26,
78,
19535,
12613,
26,
15708,
6720,
453,
56,
378,
693,
29,
2203,
182,
2478,
67,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Setting RowSource of a Chart in a Microsoft Access 2010 Report
===
I have chart inside a report in Microsoft Access 2010 that gets its RecordSource via VBA in the OnLoad of the report. The reason is that I have a form where the user can select what to include in the report. So the query that is set in VBA is
Me... | 0 | [
2,
2697,
3131,
12097,
16,
21,
1795,
19,
21,
7099,
1381,
498,
1330,
800,
3726,
3726,
31,
57,
1795,
572,
21,
1330,
19,
7099,
1381,
498,
30,
3049,
82,
571,
12097,
1197,
566,
969,
19,
14,
27,
8294,
16,
14,
1330,
9,
14,
1215,
25,
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... |
How do you make infrastructure code only visible in namespace?
===
I have an implementation of the Shunting-Yard algorithm that I am trying to integrate clearly into our framework. Currently I have it all packed into a class with a simple public interface.
namespace MathematicalParser {
public class Expr... | 0 | [
2,
184,
107,
42,
233,
5282,
1797,
104,
4560,
19,
204,
5582,
60,
800,
3726,
3726,
31,
57,
40,
6123,
16,
14,
13,
18,
24852,
8,
3476,
9083,
30,
31,
589,
749,
20,
18399,
2885,
77,
318,
6596,
9,
871,
31,
57,
32,
65,
9402,
77,
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... |
MVC 3 - How to display a lookup Value in a view Index view instead of an ID field
===
All
I have a pretty simple need but am unable to figure how it could be done
I have 2 entities
- Employee
- Store
An employee is associated with a store such as (DB) <br>
Employee_id, Store_id <br>
1 1 <b... | 0 | [
2,
307,
8990,
203,
13,
8,
184,
20,
3042,
21,
361,
576,
1923,
19,
21,
1418,
4348,
1418,
700,
16,
40,
4924,
575,
800,
3726,
3726,
65,
31,
57,
21,
1772,
1935,
376,
47,
589,
2343,
20,
1465,
184,
32,
110,
44,
677,
31,
57,
172,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to verify whether the SQL server instance is correct or not using powershell?
===
We are using Invoke-sqlcmd cmdlet to execute SQL query using powershell.
If SQl server instance is given as wrong it is throwing exception.
How to verify whether SQL server instance is available and it is running before execut... | 0 | [
2,
184,
20,
21012,
1472,
14,
4444,
255,
8128,
4851,
25,
4456,
54,
52,
568,
414,
15984,
60,
800,
3726,
3726,
95,
50,
568,
28371,
8,
18,
22402,
9095,
43,
2390,
43,
1336,
20,
15644,
4444,
255,
25597,
568,
414,
15984,
9,
100,
4444,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Surround existing node with another node with Agility Pack
===
How would you go about surrounding all tables in a `<div class="overflow"></div>` node? This apparently does not do it:
if (oldElement.Name == "table")
{
HtmlDocument doc = new HtmlDocument();
HtmlNode newElement = doc.CreateE... | 0 | [
2,
12215,
3149,
15421,
29,
226,
15421,
29,
28813,
3607,
800,
3726,
3726,
184,
83,
42,
162,
88,
2470,
65,
7484,
19,
21,
13,
1,
12916,
718,
3726,
7,
2549,
9990,
7,
1,
118,
12916,
1,
15421,
60,
48,
3083,
630,
52,
107,
32,
45,
100... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
get background image url is not working for internet explorer
===
I neec your help...
I'm trying to get the background image of the div... and afterword to change it by adding gray prefix to the bg image name...
well everything is working perfectly in chrome and firefox...
but in IE the value of background image is... | 0 | [
2,
164,
2395,
1961,
287,
6362,
25,
52,
638,
26,
2620,
8520,
800,
3726,
3726,
31,
12616,
150,
154,
448,
9,
9,
9,
31,
22,
79,
749,
20,
164,
14,
2395,
1961,
16,
14,
13,
12916,
9,
9,
9,
17,
75,
9587,
20,
753,
32,
34,
4721,
203... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 get the values that are about to be sent to the database by the TableAdapter through the datagridview?
===
I'm entering sales entries using a TabaleAdapter and a dataGridView. When a row is about to be saved, i want to check the StockBalance of the selected product and verify that current stock for selected ... | 0 | [
2,
184,
92,
31,
164,
14,
4070,
30,
50,
88,
20,
44,
795,
20,
14,
6018,
34,
14,
859,
27576,
106,
120,
14,
1054,
16375,
4725,
60,
800,
3726,
3726,
31,
22,
79,
4604,
2598,
11399,
568,
21,
6523,
4482,
27576,
106,
17,
21,
1054,
1637... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
checking condition xslt
===
With the previous post.
here is the link
<a href="http://stackoverflow.com/questions/11523708/condition-checking-in-xslt/11534191#11534191">Previous Question</a>
Again Small Update in input xml the other validation are all same. Here only the chapter (element) is changing instead o... | 0 | [
2,
9886,
2874,
993,
18,
255,
38,
800,
3726,
3726,
29,
14,
1158,
678,
9,
235,
25,
14,
3508,
13,
1,
58,
746,
14057,
3726,
7,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652,
18,
11698,
14397,
16131,
12530,
22141,
8,
12542,
68,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Stub or mock method of tested class
===
I discovered that stub and mock are very helpful in testing.
But I wondering about one thing. I think an example will show it clearly.
Class A {
public function isOk() {
// some work
}
public function iAmDepend() {
... | 0 | [
2,
21354,
54,
10506,
2109,
16,
7631,
718,
800,
3726,
3726,
31,
1848,
30,
21354,
17,
10506,
50,
253,
15600,
19,
4431,
9,
47,
31,
5712,
88,
53,
584,
9,
31,
277,
40,
823,
129,
298,
32,
2885,
9,
718,
21,
13,
1,
317,
1990,
25,
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... |
Hibernate: Generating Reports (Stored pocedures)
===
I am working on an application using Hibernate (JPA 2.0), Spring 3.0.5 and Oracle 11g.
I need to generate few reports (CSV's) based on a number of tables in the datasbase;
The sample report CSV looks like this:
From_Date TO_Date Group Stat ... | 0 | [
2,
4148,
2102,
8820,
45,
13500,
2813,
13,
5,
16828,
43,
13,
23093,
69,
4221,
18,
6,
800,
3726,
3726,
31,
589,
638,
27,
40,
3010,
568,
4148,
2102,
8820,
13,
5,
728,
1060,
172,
9,
387,
6,
15,
1573,
203,
9,
387,
9,
264,
17,
157... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
R - using mixedorder from gtools
===
Can someone please help
Here are two lines of R code which I would like to combine into one
smplA_Bacillus = subset(smplA, select = c(lab_id, Bacillus_C))
smplA_Bacillus = smplA_Bacillus[mixedorder(smplA_Bacillus$Bacillus_C),]
The mixedorder comes from gtools but what I a... | 0 | [
2,
761,
13,
8,
568,
2198,
7861,
37,
489,
20799,
18,
800,
3726,
3726,
92,
737,
2247,
448,
235,
50,
81,
1560,
16,
761,
1797,
56,
31,
83,
101,
20,
12287,
77,
53,
7613,
9897,
1,
969,
150,
13898,
800,
16622,
5,
18,
79,
9897,
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... |
Visual Studio 2010 and TFS unwanted check out
===
I am using Visual Studio 2010 SP1 with Team Foundation Server 2010. Whenever I open a project, Visual Studio automatically checks the project file (.csproj) out (not any of the children files, however) and the corresponding .csproj.vspscc file out.
Whenever I compa... | 0 | [
2,
3458,
1120,
498,
17,
13,
11720,
18,
21095,
2631,
70,
800,
3726,
3726,
31,
589,
568,
3458,
1120,
498,
3782,
165,
29,
173,
1304,
8128,
498,
9,
6634,
31,
368,
21,
669,
15,
3458,
1120,
7499,
16602,
14,
669,
3893,
13,
5,
9,
6824,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
wpf set value for listboxitem templated binding
===
I have this style:
<Style x:Key="SelectableListBoxItemStyle" TargetType="{x:Type ListBoxItem}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListBoxItem}">
... | 0 | [
2,
619,
7721,
309,
1923,
26,
968,
5309,
2119,
79,
22894,
43,
8728,
800,
3726,
3726,
31,
57,
48,
1034,
45,
13,
1,
4381,
993,
45,
4237,
3726,
7,
18,
16964,
579,
5739,
5309,
2119,
79,
4381,
7,
2935,
4474,
3726,
7,
1,
396,
45,
447... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how do i find the generator matrix when codewords are given
===
Code = { 000, 011 , 101, 110 }
generator matrix = {011, 101}
Here the code matrix is given, and iam supposed to find the generator matrix. But iam clueless in determining the generator matrix. Could someone please shed some light on this ? | 0 | [
2,
184,
107,
31,
477,
14,
15286,
8187,
76,
1797,
12827,
50,
504,
800,
3726,
3726,
1797,
800,
13,
1,
13,
3993,
15,
713,
1306,
13,
15,
7698,
15,
7896,
13,
1,
15286,
8187,
800,
13,
1,
387,
1306,
15,
7698,
1,
235,
14,
1797,
8187,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# - run mstsc.exe with specified username and password
===
I realize that in Windows 7, it is not possible to save different credentials for the same host, but I need some workaround.
Can I provide the username and password manually in the code? Store them in a temp .rdp file?
Any ideas? Thanks. | 0 | [
2,
272,
5910,
13,
8,
485,
4235,
38,
3862,
9,
1706,
62,
29,
9931,
4155,
7259,
17,
20884,
800,
3726,
3726,
31,
4007,
30,
19,
1936,
453,
15,
32,
25,
52,
938,
20,
2079,
421,
5059,
43,
10107,
18,
26,
14,
205,
2015,
15,
47,
31,
37... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jquery Mobile List View on Blackberry torch
===
For some reason my Blackberry Torch (OS 6.0 Bundle 2647) DOES NOT render listview in Jquery Mobile 1.1.1
Blackberry Bold works fine.
Any ideas if Listview and Persistent headers are supported in Blackberry Torch ?
Thanks
RG | 0 | [
2,
487,
8190,
93,
3241,
968,
1418,
27,
27367,
11058,
800,
3726,
3726,
26,
109,
1215,
51,
27367,
11058,
13,
5,
759,
400,
9,
387,
10194,
1262,
2918,
6,
630,
52,
16535,
968,
4725,
19,
487,
8190,
93,
3241,
137,
9,
165,
9,
165,
27367... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
what is the execution mechanism of the setInterval function
===
I want to know, How it works the `setInterval` function.
**First:** I have simple example ([Live demo][1])
[1]: http://jsfiddle.net/gGYKV/4/
Also the code below.
**HTML:**
<div id="elem"></div>
<div id="count"></div>
<div id="... | 0 | [
2,
98,
25,
14,
5769,
6534,
16,
14,
309,
6280,
3377,
1990,
800,
3726,
3726,
31,
259,
20,
143,
15,
184,
32,
693,
14,
13,
1,
3554,
6280,
3377,
1,
1990,
9,
13,
1409,
3552,
45,
1409,
31,
57,
1935,
823,
13,
5,
2558,
5928,
8376,
50... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding a node into a linked list, right after the head
===
I have a linked list, and I need to create a node right after the head..
it means I have something like this:
`node *head = NULL;`
and my linked list in the end should be like :
`head -> node -> NULL`...
but when I use a normal addNode function,... | 0 | [
2,
4721,
21,
15421,
77,
21,
4727,
968,
15,
193,
75,
14,
157,
800,
3726,
3726,
31,
57,
21,
4727,
968,
15,
17,
31,
376,
20,
1600,
21,
15421,
193,
75,
14,
157,
9,
9,
32,
1108,
31,
57,
301,
101,
48,
45,
13,
1,
251,
546,
1637,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 possible to run hadoop fs -getmerge in s3?
===
I have an Elastic Map Reduce job which is writing some files in S3 and I want to concatenate all the files to produce a unique text file.
Currently I'm manually copying the folder with all the files to our HDFS (hadoop fs copyFromLocal), then I'm running hadoop fs -... | 0 | [
2,
25,
938,
20,
485,
41,
21709,
398,
18,
13,
8,
3060,
1263,
834,
19,
13,
18,
240,
60,
800,
3726,
3726,
31,
57,
40,
931,
9428,
2942,
4136,
1205,
56,
25,
1174,
109,
6488,
19,
13,
18,
240,
17,
31,
259,
20,
1065,
9530,
8820,
65,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Code coverage with Sonar : % code coverage not coherent
===
I have a question for `Code coverage` with Sonar.
In this example :
public static void apply(Person person) {
if (person != null) {
callApply(person);
}
}
In my Sonar `Code coverage`, i have the following result :
... | 0 | [
2,
1797,
5245,
29,
433,
512,
13,
45,
13,
11881,
1797,
5245,
52,
21144,
800,
3726,
3726,
31,
57,
21,
1301,
26,
13,
1,
9375,
5245,
1,
29,
433,
512,
9,
19,
48,
823,
13,
45,
317,
12038,
11364,
5645,
5,
7276,
840,
6,
13,
1,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
displaying popup window input text value in parent window?
===
function showEmp(){
if(validate())
{
for(var i=0; i < document.employee.puid.length; i++){
if(document.employee.puid[i].checked){
var emp_value = document.employee.puid[i].value;
}
... | 0 | [
2,
17418,
1675,
576,
1463,
6367,
1854,
1923,
19,
4766,
1463,
60,
800,
3726,
3726,
1990,
298,
62,
2554,
5,
6,
1,
100,
5,
18506,
8209,
5,
6,
6,
13,
1,
26,
5,
3311,
31,
3726,
387,
73,
31,
13,
1,
4492,
9,
1503,
13221,
3616,
62,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Jquery datatable Hidden column showing after calling another script .how can i hide the column specified permanently?
===
My table is
<table id="EmployeesTable" style="width: 100%;" class="grid-table06 border-one">
<thead>
<tr>
<th width="80%" align="left" va... | 0 | [
2,
487,
8190,
93,
1054,
5924,
3689,
4698,
3187,
75,
2555,
226,
3884,
13,
9,
1544,
92,
31,
3077,
14,
4698,
9931,
8384,
60,
800,
3726,
3726,
51,
859,
25,
13,
1,
5924,
4924,
3726,
7,
1503,
13221,
3616,
1430,
579,
7,
1034,
3726,
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... |
Mongoid Polymorphic Association + FactoryGirl + RSpec
===
I'm trying to embed emails inside person Mongoid object using polymorphic approach. Getting "BSON::InvalidDocument: Cannot serialize an object of class Mongoid::Relations::Embedded::Many into BSON." whenever I run the test. Please see code below and any will b... | 0 | [
2,
21028,
6516,
3446,
12498,
596,
607,
2754,
3129,
9649,
2754,
13,
1224,
12610,
800,
3726,
3726,
31,
22,
79,
749,
20,
11911,
69,
8517,
18,
572,
840,
21028,
6516,
3095,
568,
3446,
12498,
596,
2141,
9,
1017,
13,
7,
220,
528,
45,
45,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
custom actionbar layout for fragment not inflating?
===
I have a custom layout since my icons are positioned in the left . There are two icons along along with text in the left side of action bar . I am using action Bar Sherlock Holmes library .
Used the following code in OnCreateView of my fragment
getSh... | 0 | [
2,
5816,
1028,
1850,
9106,
26,
14847,
52,
19,
13830,
68,
60,
800,
3726,
3726,
31,
57,
21,
5816,
9106,
179,
51,
9801,
18,
50,
12125,
19,
14,
225,
13,
9,
80,
50,
81,
9801,
18,
303,
303,
29,
1854,
19,
14,
225,
270,
16,
1028,
74... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
dynamic binding of Button Content to an image button'sTextBlock?
===
I have a style for an image button as the following, how could I make the Text of the TextBlock, where equals "POSITION' below, the same as the Content of the button? Thanks.`
<Style x:Key="TopButtonStyle" TargetType="Button">
<... | 0 | [
2,
7782,
8728,
16,
5167,
2331,
20,
40,
1961,
5167,
22,
18,
11969,
12048,
60,
800,
3726,
3726,
31,
57,
21,
1034,
26,
40,
1961,
5167,
28,
14,
249,
15,
184,
110,
31,
233,
14,
1854,
16,
14,
1854,
12048,
15,
113,
2747,
18,
13,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Protecting Executable Download in ASP.NET
===
I have an executable that I want to restrict who is able to download. I have UI trimming in place so the link is not present when the user is not authorized to download the executable. And I put a rule into the web.config to protect the resource from unauthorized downloa... | 0 | [
2,
8718,
1396,
17194,
5924,
7121,
19,
28,
306,
9,
2328,
800,
3726,
3726,
31,
57,
40,
1396,
17194,
5924,
30,
31,
259,
20,
15436,
72,
25,
777,
20,
7121,
9,
31,
57,
13,
5661,
8971,
3863,
19,
209,
86,
14,
3508,
25,
52,
734,
76,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to convert Text to Image in Cocoa Objective-C
===
Looking for the proper way to convert text to an image in Cocoa. Everything seems to point to image to text not text to image. This was easy in the M$ world as you just created a bitmap and added the text to it, but i'm having difficulty finding this in cocoa.
... | 0 | [
2,
184,
20,
8406,
1854,
20,
1961,
19,
24507,
7038,
8,
150,
800,
3726,
3726,
699,
26,
14,
4119,
161,
20,
8406,
1854,
20,
40,
1961,
19,
24507,
9,
796,
2206,
20,
454,
20,
1961,
20,
1854,
52,
1854,
20,
1961,
9,
48,
23,
2010,
19,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regex passes in Rubular but not in Python
===
import re
import urllib.request
file_txt = urllib.request.urlopen("ftp://ftp.sec.gov/edgar/data/1408597/0000930413-12-003922.txt")
pattern_item4= re.compile("(Item\\n*\s*4.*)Item\\n*\s*5")
print(re.search(pattern_item4,bytes.decode(f)))
#Return... | 0 | [
2,
7953,
1706,
3789,
19,
7598,
7451,
47,
52,
19,
20059,
800,
3726,
3726,
9010,
302,
9010,
13,
911,
211,
4598,
9,
99,
10351,
3893,
1,
38,
396,
38,
800,
13,
911,
211,
4598,
9,
99,
10351,
9,
911,
16942,
103,
5,
7,
3072,
306,
6903... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 dropdown chaking
===
I need some ajax code to do some functions with drop down. I have two table of values: one for category, then id . And I have tow dropdown to show these values.
First it should show:
select category
select id
category=A,B,C.
id=A(001,002,003),B(01,02,03),C(100,2... | 0 | [
2,
20624,
2804,
2968,
2438,
1581,
800,
3726,
3726,
31,
376,
109,
20624,
1797,
20,
107,
109,
3719,
29,
2804,
125,
9,
31,
57,
81,
859,
16,
4070,
45,
53,
26,
3230,
15,
94,
4924,
13,
9,
17,
31,
57,
20,
499,
2804,
2968,
20,
298,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Inefficient SQL query with DATETIME calculations. How to optimize?
===
The problem comes from real environment where the `production_plan` table captures the order identification and other details in each row. Each row is updated when the product is started to be produced and after its production -- to capture UTC tim... | 0 | [
2,
19,
23702,
4444,
255,
25597,
29,
1231,
891,
19186,
9,
184,
20,
22864,
60,
800,
3726,
3726,
14,
1448,
1624,
37,
683,
2307,
113,
14,
13,
1,
11386,
1,
9863,
1,
859,
3683,
18,
14,
389,
8575,
17,
89,
3289,
19,
206,
3131,
9,
206,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Making a CMD for pyqt GUI app
===
I have been searching around on how to embed a CMD into a pyqt gui. I found the CMD module but it does not work with pyqt even when i did multithreading and processing. Does anyone have an idea or an example on how to? | 0 | [
2,
544,
21,
2390,
43,
26,
7103,
1251,
38,
9457,
4865,
800,
3726,
3726,
31,
57,
74,
5792,
140,
27,
184,
20,
11911,
69,
21,
2390,
43,
77,
21,
7103,
1251,
38,
9457,
9,
31,
216,
14,
2390,
43,
12613,
47,
32,
630,
52,
170,
29,
710... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are There Any Free Online Dictionary or Encyclopedia websites with JSON APIs?
===
As the question is...........
I have seen previous similar questions but there answers are outdated and do not help.
Anyone? | 1 | [
2,
50,
80,
186,
551,
2087,
9186,
54,
13084,
13931,
29,
487,
528,
21,
8954,
60,
800,
3726,
3726,
28,
14,
1301,
25,
9,
9,
9,
9,
9,
9,
9,
9,
9,
9,
9,
31,
57,
541,
1158,
835,
2346,
47,
80,
6709,
50,
70,
43,
1669,
17,
107,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Can I use thrust::host_vector or I must use cudaHostAlloc for zero-copy with Thrust?
===
I want to use zero-copy on mapped memory by cudaHostGetDevicePointer. Can I use thrust::host_vector or I must use cudaHostAlloc(...,cudaHostAllocMapped)?
Or is it somehow easier to do with Thrust? | 0 | [
2,
92,
31,
275,
5777,
45,
45,
11694,
1,
28033,
54,
31,
491,
275,
272,
5729,
11694,
192,
10799,
26,
4606,
8,
19625,
29,
5777,
60,
800,
3726,
3726,
31,
259,
20,
275,
4606,
8,
19625,
27,
20877,
1912,
34,
272,
5729,
11694,
3060,
546... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Applet trouble - NoClassDefFoundError
===
I realize there's a million of these posts but none of them have helped me so here goes: I'm trying to deploy a very, very simple applet that will not load properly.
My HTML:
<html>
<head>
<meta http-equiv="Content-Type" content"text/html; charset=utf-8"... | 0 | [
2,
4037,
38,
2572,
13,
8,
90,
1898,
13862,
12235,
29992,
800,
3726,
3726,
31,
4007,
80,
22,
18,
21,
507,
16,
158,
9868,
47,
2369,
16,
105,
57,
1456,
55,
86,
235,
1852,
45,
31,
22,
79,
749,
20,
17617,
21,
253,
15,
253,
1935,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Possible conflict between two scripts
===
I have this script which show/hides div's randomly. But for some reason it's not showing anything when the page is loaded:
$(document).ready(function() {
$('.control').on('click', function(e) {
e.preventDefault();
var field = $... | 0 | [
2,
938,
2930,
128,
81,
17505,
800,
3726,
3726,
31,
57,
48,
3884,
56,
298,
118,
19522,
18,
13,
12916,
22,
18,
21324,
9,
47,
26,
109,
1215,
32,
22,
18,
52,
3187,
602,
76,
14,
2478,
25,
8572,
45,
5579,
5,
28132,
6,
9,
15193,
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... |
Unix - how to append next line to previous line in a file
===
How can i append the next line to a previous line in a file, delimited by pipe symbol?<br>
**Expectd Input -- content of input.txt**<br>
ABC
BCD
DEF
EFG
FGH
**Expectd Output -- content of outpu... | 0 | [
2,
22540,
13,
8,
184,
20,
4865,
2451,
328,
293,
20,
1158,
293,
19,
21,
3893,
800,
3726,
3726,
184,
92,
31,
4865,
2451,
14,
328,
293,
20,
21,
1158,
293,
19,
21,
3893,
15,
121,
23012,
34,
7642,
4678,
60,
1,
5145,
1,
13,
1409,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Trouble connecting to QuickBooks web connector with SOAP web service PHP/.NET
===
I have been attempting to create a simple web service capable of connecting to the Quickbooks web connector (v2.1.0.30) with quickbooks 2012 on windows 7.
The implementation is clearly described in the programming guide (<http://deve... | 0 | [
2,
2572,
6440,
20,
2231,
13828,
2741,
17991,
29,
6447,
2741,
365,
13,
26120,
118,
9,
2328,
800,
3726,
3726,
31,
57,
74,
6314,
20,
1600,
21,
1935,
2741,
365,
3868,
16,
6440,
20,
14,
2231,
13828,
2741,
17991,
13,
5,
710,
135,
9,
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... |
Fancybox 2 Custom Close Button and Infinite Scroll
===
I am having an issue closing Fancybox using a custom close button on content that is pulled in via Infinite Scroll.
http://fancyapps.com/fancybox/
http://www.infinite-scroll.com/
Everything that is included on the page before Infinite Scroll can open and ... | 0 | [
2,
12251,
5309,
172,
5816,
543,
5167,
17,
9698,
12159,
800,
3726,
3726,
31,
589,
452,
40,
1513,
4239,
12251,
5309,
568,
21,
5816,
543,
5167,
27,
2331,
30,
25,
881,
19,
1197,
9698,
12159,
9,
7775,
6903,
410,
10821,
7753,
18,
9,
960... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.