unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
clean/sanitize HTML, but preserve loose HTML chars with Ruby/Rails + Nokogiri + Sanitize (?)
===
so, in a Ruby on Rails app, we were using a combination of the Sanitize gem and HTMLEntities to do some clean up of user input HTML. the Sanitize Gem used to use Hpricot, but now uses Nokogiri. I need to get Hpricot out of... | 0 | [
2,
2745,
118,
2729,
242,
2952,
13,
15895,
15,
47,
6224,
4675,
13,
15895,
4892,
18,
29,
10811,
118,
7301,
18,
2754,
90,
921,
14913,
2754,
523,
242,
2952,
13,
5,
60,
6,
800,
3726,
3726,
86,
15,
19,
21,
10811,
27,
2240,
18,
4865,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
word size and data bus
===
I am confused about **the definition of word size**.I read that the word size of a processor is its data bus width. Like an 8 bit processor has an 8 bit wide data bus. I recently read that the maximum size of the virtual address space is determined by word size i.e. if the word size is n bit... | 0 | [
2,
833,
1072,
17,
1054,
1683,
800,
3726,
3726,
31,
589,
4230,
88,
13,
1409,
124,
5465,
16,
833,
1072,
1409,
9,
49,
1302,
30,
14,
833,
1072,
16,
21,
14762,
25,
82,
1054,
1683,
9456,
9,
101,
40,
469,
1142,
14762,
63,
40,
469,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to remove request reader from HttpInputStream
===
i need help whit a servlet.
I need to head a inputStream in one request and write a tiff file.
The inputStream come whit request header and i dont know how i remove that bytes and write only the file.
see initial bytes from the writen file.
-qF3PFkB8o... | 0 | [
2,
184,
20,
4681,
3772,
7765,
37,
7775,
108,
4881,
11260,
800,
3726,
3726,
31,
376,
448,
5558,
21,
13,
10321,
1336,
9,
31,
376,
20,
157,
21,
6367,
11260,
19,
53,
3772,
17,
2757,
21,
13,
38,
6021,
3893,
9,
14,
6367,
11260,
340,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java - regex not working
===
I have a string of `"abc123("` and want to check if contains one or more chars that are not a number or character.
`"abc123(".matches("[^a-zA-Z0-9]+");` should return true in this case? But it dose not! Whats wrong? | 0 | [
2,
8247,
13,
8,
7953,
1706,
52,
638,
800,
3726,
3726,
31,
57,
21,
3724,
16,
13,
1,
7,
21880,
918,
240,
5,
7,
1,
17,
259,
20,
2631,
100,
1588,
53,
54,
91,
4892,
18,
30,
50,
52,
21,
234,
54,
925,
9,
13,
1,
7,
21880,
918,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
FindViewById() not finding View
===
Just added a new button to my already-working-fine layout, but the findViewById function seems to be angry with something I don't get to understand.
Here's a bit of the layout:
<LinearLayout
...
>
<ListView
android:id="@+id/my_lovely_list... | 0 | [
2,
477,
4725,
779,
1340,
5,
6,
52,
3007,
1418,
800,
3726,
3726,
114,
905,
21,
78,
5167,
20,
51,
614,
8,
14120,
8,
7509,
9106,
15,
47,
14,
477,
4725,
779,
1340,
1990,
2206,
20,
44,
3365,
29,
301,
31,
221,
22,
38,
164,
20,
136... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Netty-based application with long calculations
===
I going to start application development where network subsystem based on Netty. There are not so many documentation for it, especially it hard to find some "good practices".
So the question is: where in Netty-based application I should perform long calculations?
... | 0 | [
2,
4275,
1084,
8,
1281,
3010,
29,
175,
19186,
800,
3726,
3726,
31,
228,
20,
799,
3010,
522,
113,
982,
972,
10724,
432,
27,
4275,
1084,
9,
80,
50,
52,
86,
151,
13945,
26,
32,
15,
1118,
32,
552,
20,
477,
109,
13,
7,
3264,
5242,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 override event.preventDefault()
===
I have a form that, when submitted, goes through the usual e.preventDefault() and sends an ajax request instead. However, if this ajax request returns a certain condition, I want the form to be submitted normally. How do I achieve this?
// Submit handler
$(".reser... | 0 | [
2,
487,
8190,
93,
84,
11891,
807,
9,
3515,
6645,
13862,
9708,
5,
6,
800,
3726,
3726,
31,
57,
21,
505,
30,
15,
76,
7368,
15,
1852,
120,
14,
3820,
13,
62,
9,
3515,
6645,
13862,
9708,
5,
6,
17,
11350,
40,
20624,
3772,
700,
9,
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... |
Taskbar icon not showing until App get focus
===
I'm having a problem. My application won't be shown in Windows 7 taskbar until it gets focus. I've tried a lot of things, including:
this.TopMost = true;
this.ShowInTaskBar = true;
In different stages of the form lifecycle, but nothing happens. The FormBo... | 0 | [
2,
3005,
1850,
9801,
52,
3187,
163,
4865,
164,
1776,
800,
3726,
3726,
31,
22,
79,
452,
21,
1448,
9,
51,
3010,
230,
22,
38,
44,
1721,
19,
1936,
453,
3005,
1850,
163,
32,
3049,
1776,
9,
31,
22,
195,
794,
21,
865,
16,
564,
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... |
Cores and hyperthreading
===
I'm writing an extremely optimized and CPU-intensive multithreaded code in C which performs a task in a more or less limited time space. During this time it does not venture out of its L1 cache except to load initial values and to store final results. So essentially this is a parallelized ... | 0 | [
2,
2884,
18,
17,
5443,
96,
22883,
800,
3726,
3726,
31,
22,
79,
1174,
40,
3898,
22864,
43,
17,
17578,
8,
108,
8710,
1284,
1889,
96,
10647,
69,
1797,
19,
272,
56,
11563,
21,
3005,
19,
21,
91,
54,
787,
1317,
85,
726,
9,
112,
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... |
Self-Hosted WCF Custom binding, Binary message, HTTPS transport WITHOUT certificate
===
I have some self-hosted WCF services using CustomBinding for HTTP protocol on a specific port.
I use BinaryMessageEncodingBindingElement and HttpTransportBindingElement so far without problem.
Now I need to secure a bit more by... | 0 | [
2,
1119,
8,
25219,
11801,
410,
5816,
8728,
15,
14171,
2802,
15,
7775,
18,
1739,
366,
6259,
800,
3726,
3726,
31,
57,
109,
1119,
8,
25219,
11801,
410,
687,
568,
5816,
22260,
26,
7775,
8494,
27,
21,
1903,
1295,
9,
31,
275,
14171,
384... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Remove Labels in a Django Crispy Forms
===
does anybody know if there is a correct way to remove labels in a crispy form?
I got as far as this:
self.fields['field'].label = ""
But it's not a very nice solution...
Thanks :)
Ron | 0 | [
2,
4681,
13173,
19,
21,
3857,
14541,
11497,
93,
1997,
800,
3726,
3726,
630,
11181,
143,
100,
80,
25,
21,
4456,
161,
20,
4681,
13173,
19,
21,
11497,
93,
505,
60,
31,
330,
28,
463,
28,
48,
45,
1119,
9,
1109,
18,
2558,
22,
1109,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
where is com.google.android.gcm.GCMBaseIntentService?
===
I'm following the tutorial on GCM here http://developer.android.com/guide/google/gcm/gs.html
At point 5 of **Step 2**, it says:
--
Add the following intent service:
service android:name=".GCMIntentService"
This intent service will be called by the G... | 0 | [
2,
113,
25,
13,
960,
9,
16111,
4875,
9,
290,
18524,
9,
10362,
79,
9,
10362,
79,
8436,
6391,
2291,
11449,
60,
800,
3726,
3726,
31,
22,
79,
249,
14,
29724,
27,
489,
9095,
235,
7775,
6903,
26051,
106,
9,
290,
18524,
9,
960,
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... |
How to "cd" to a directory after "grep"?
===
I want to find a directory using `grep` then change current directory to the resulting directory.
For example:
$ ls | grep 1670 |
finds me directory haib12CJS1670. I am trying to do something like below:
$ ls | grep 1670 | cd
so that my directory is set... | 2 | [
2,
184,
20,
13,
7,
6324,
7,
20,
21,
16755,
75,
13,
7,
6879,
306,
7,
60,
800,
3726,
3726,
31,
259,
20,
477,
21,
16755,
568,
13,
1,
6879,
306,
1,
94,
753,
866,
16755,
20,
14,
2927,
16755,
9,
26,
823,
45,
5579,
644,
18,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VTK: I lose color information when I use the vtkOBJReader or vtkPLYReader, how to I display 3D images with this information?
===
If I use the vtkOBJReader, all that gets displayed is the wavefront OBJ (understandable, as the color and lighting information is stored in the accompanying MTL file, however I only see the ... | 0 | [
2,
566,
38,
197,
45,
31,
2926,
1665,
676,
76,
31,
275,
14,
566,
38,
921,
11741,
10647,
106,
54,
566,
38,
15362,
102,
10647,
106,
15,
184,
20,
31,
3042,
203,
43,
3502,
29,
48,
676,
60,
800,
3726,
3726,
100,
31,
275,
14,
566,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ease in 3 lines text
===
i would like to show three lines from a certain text with timestamp, but with ease in animation, my idea would be to show 3 lines of a document and they will replace each other with ease.
**For example:**
[0:02]Line 1
[0:03]Line 2
[0:04]Line 3
In the second 2:
(empty)
... | 0 | [
2,
6378,
19,
203,
1560,
1854,
800,
3726,
3726,
31,
83,
101,
20,
298,
132,
1560,
37,
21,
1200,
1854,
29,
436,
38,
10158,
15,
47,
29,
6378,
19,
6236,
15,
51,
882,
83,
44,
20,
298,
203,
1560,
16,
21,
4492,
17,
59,
129,
3934,
20... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to use controls in nested master page?
===
In my main Master page i have:
<html>
<head runat="server">
<title>Master Page</title>
</head>
<body>
<form runat="server">
<div>
<table cellpadding="0" cellspacing="0" style="width: 100%">
<tr>
... | 0 | [
2,
184,
20,
275,
8671,
19,
5618,
69,
1129,
2478,
60,
800,
3726,
3726,
19,
51,
407,
1129,
2478,
31,
57,
45,
13,
1,
15895,
1,
13,
1,
1743,
485,
721,
3726,
7,
10321,
106,
7,
1,
13,
1,
22235,
1,
4594,
2478,
1,
118,
22235,
1,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Weird Batch File Issue
===
Can someone help me with this one? I have a batch file, where I am trying to connect a couple network drives based on my current internal IP address. Problem is, it is outputting the following:
Home 192.168.2.99
Basement
Where it should be just outputting:
Home 192.168.2.99
Her... | 0 | [
2,
5455,
13064,
3893,
1513,
800,
3726,
3726,
92,
737,
448,
55,
29,
48,
53,
60,
31,
57,
21,
13064,
3893,
15,
113,
31,
589,
749,
20,
6379,
21,
1335,
982,
10396,
432,
27,
51,
866,
3117,
15735,
3218,
9,
1448,
25,
15,
32,
25,
5196,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
accessing and sorting array objects in json using javascript
===
I’m playing around with json objects in javascript and wanted see if someone could help me out with a problem
My json file contains a list of hash objects containing a key (id) and the value being an array of [ ipaddress, timestamp, url]
e.g.
{... | 0 | [
2,
1381,
68,
17,
2058,
68,
7718,
3916,
19,
487,
528,
568,
8247,
8741,
800,
3726,
3726,
31,
1,
79,
791,
140,
29,
487,
528,
3916,
19,
8247,
8741,
17,
417,
196,
100,
737,
110,
448,
55,
70,
29,
21,
1448,
51,
487,
528,
3893,
1588,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Generating a 5 min spaced time sequence
===
I would like to generate a 1 min spaced time sequence to paste then to a xts object.
Basically, I've got a tick-by-tick dateTime object like that :
[1] "2010-02-02 08:00:03 CET" "2010-02-02 08:00:04 CET" "2010-02-02 08:00:04 CET" "2010-02-02 08:00:04 CET" "2010-02... | 0 | [
2,
761,
13500,
21,
331,
4232,
726,
43,
85,
4030,
800,
3726,
3726,
31,
83,
101,
20,
7920,
21,
137,
4232,
726,
43,
85,
4030,
20,
640,
62,
94,
20,
21,
993,
38,
18,
3095,
9,
11374,
15,
31,
22,
195,
330,
21,
8809,
8,
779,
8,
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... |
How to create WritebleBitmap from a resource image with C++ for Windows Metro app?
===
I can easily create a BitmapImage from a resource JPG image file using the following code...
Windows::Foundation::Uri^ uri = ref new Windows::Foundation::Uri(L"ms-appx:///Hippo.JPG");
Imaging::BitmapImage^ image = ref ne... | 0 | [
2,
184,
20,
1600,
2757,
2854,
3326,
15022,
37,
21,
6577,
1961,
29,
272,
20512,
26,
1936,
3986,
4865,
60,
800,
3726,
3726,
31,
92,
2351,
1600,
21,
1142,
15022,
22039,
37,
21,
6577,
487,
9623,
1961,
3893,
568,
14,
249,
1797,
9,
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... |
GRAILS 2.0 Exception :- java.lang.VerifyError: (class: xls/Recruitment, method: initErrors signature: ()V) Unable to pop operand off an empty stack
===
I am trying to run grails application and I get below exception
SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groo... | 0 | [
2,
489,
7301,
18,
172,
9,
387,
5391,
13,
45,
8,
8247,
9,
9949,
9,
2304,
8612,
29992,
45,
13,
5,
1898,
45,
993,
7532,
118,
99,
13057,
242,
1130,
15,
2109,
45,
19,
242,
29992,
18,
7810,
45,
13,
5,
6,
710,
6,
2343,
20,
1675,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 insert array into hashtable w/o initializing in Java?
===
I have a hashmap initialized as follows:
Hashmap<String[][], Boolean> tests = new Hashmap<String [][], Boolean>();
I would like to insert into tests without having to initialize the key:
tests.put({{"a"}, {"a"}}, true);
However, Java ... | 0 | [
2,
184,
20,
14692,
7718,
77,
19170,
5924,
619,
118,
111,
2104,
3335,
19,
8247,
60,
800,
3726,
3726,
31,
57,
21,
19170,
15022,
2104,
1333,
28,
2415,
45,
19170,
15022,
1,
11130,
2558,
500,
2558,
500,
15,
9827,
413,
210,
1,
4894,
800... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generating random values in PHP
===
I am quite a newbie when it comes to php and i wanted to try something but i have absolutely no idea how should i do this.. To be honest i am not sure if can explain this to you very clearly either.. Lets get started..
I have couple of letters for example a, b, c, d and e..
an... | 0 | [
2,
13500,
5477,
4070,
19,
13,
26120,
800,
3726,
3726,
31,
589,
1450,
21,
78,
5893,
76,
32,
1624,
20,
13,
26120,
17,
31,
417,
20,
1131,
301,
47,
31,
57,
6916,
90,
882,
184,
378,
31,
107,
48,
9,
9,
20,
44,
6964,
31,
589,
52,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
an idiomatic way to initialize a Scala ArrayBuffer?
===
I would like to initialize an ArrayBuffer with value -1 in indexes 0 through 99. Is there a simple, idiomatic way to do so?
This works, but it's a bit crufty:
> val a = new ArrayBuffer[Int]()
> a.appendAll(Nil.padTo(100, -1))
I'd like to see something m... | 0 | [
2,
40,
28380,
12479,
161,
20,
2104,
2952,
21,
25975,
7718,
2345,
6866,
60,
800,
3726,
3726,
31,
83,
101,
20,
2104,
2952,
40,
7718,
2345,
6866,
29,
1923,
13,
8,
165,
19,
4348,
160,
713,
120,
7787,
9,
25,
80,
21,
1935,
15,
28380,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 pipe commands in ubuntu
===
How do I pipe commands and their results in ubuntu when writing them in the terminal. I would write the following commands in sequence -
1) ls | grep ab
>> abc.pdf cde.pdf
2) cp abc.pdf cde.pdf files/
I would like to pipe the results of the first command into the second co... | 0 | [
2,
184,
20,
7642,
14294,
19,
287,
12968,
2473,
800,
3726,
3726,
184,
107,
31,
7642,
14294,
17,
66,
1736,
19,
287,
12968,
2473,
76,
1174,
105,
19,
14,
3855,
9,
31,
83,
2757,
14,
249,
14294,
19,
4030,
13,
8,
137,
6,
644,
18,
13,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Creating current user cookie in rails application
===
app/helpers/sessions_helper.rb
module SessionHelper
def sign_in(user)
cookies.permanent[:remember_token] = user.remember_token
self.current_user = user
end
def signed_in?
!current_user.nil?
end
def current_user=(user)
@cu... | 0 | [
2,
2936,
866,
4155,
19980,
19,
2240,
18,
3010,
800,
3726,
3726,
4865,
118,
14593,
445,
118,
7202,
18,
5757,
1,
14593,
106,
9,
7549,
12613,
3723,
14593,
106,
6312,
1676,
1,
108,
5,
16704,
6,
19396,
9,
28502,
2558,
45,
18342,
1,
262... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python items from list to other list: weird results
===
I'm trying to transfer items from one list to the other (like below) but the result is really puzzling. Does anyone have an idea what's going on here??
l1=range(1,11)
l2=[]
for i in l1:
if i>=6:
l2.append(i)
l1.... | 0 | [
2,
20059,
3755,
37,
968,
20,
89,
968,
45,
5455,
1736,
800,
3726,
3726,
31,
22,
79,
749,
20,
2617,
3755,
37,
53,
968,
20,
14,
89,
13,
5,
1403,
1021,
6,
47,
14,
829,
25,
510,
3323,
5092,
802,
9,
630,
1276,
57,
40,
882,
98,
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... |
Mysql maximum rows in a variable timeframe
===
I'm making a fitness logbook where indoor rowers can log there results.
To make it interesting and motivating I'm implementing an achievement system.
I like to have an achievement that if someone rows more than 90 times within 24 weeks they get that achievement.
Doe... | 0 | [
2,
51,
18,
22402,
2979,
11295,
19,
21,
7612,
85,
8361,
800,
3726,
3726,
31,
22,
79,
544,
21,
11331,
6738,
5199,
113,
5906,
21508,
18,
92,
6738,
80,
1736,
9,
20,
233,
32,
4883,
17,
13,
24271,
1880,
31,
22,
79,
17333,
40,
5111,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JAXB alternative on Android for XML Schema?
===
Is there any lightweight library for Android that acts like JAXB on the desktop?
Give an XML schema, create code to parse, validate, manipulate and then again write it.
The files already exist and since it's a finance application nothing that isn't modified must be tou... | 0 | [
2,
11712,
220,
2676,
27,
13005,
26,
23504,
23874,
60,
800,
3726,
3726,
25,
80,
186,
13613,
1248,
26,
13005,
30,
3167,
101,
11712,
220,
27,
14,
17404,
60,
590,
40,
23504,
23874,
15,
1600,
1797,
20,
2017,
870,
15,
7394,
1373,
15,
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... |
JavaScript simple echo/print query
===
I know this is basic stuff, but after hours of research on google, this site and others I simply cannot come up with an explanation of why this code wouldnt work. And it doesnt. Can someone please spot the mistake? many thanks in advance:
The JavaScript bit:
<script lan... | 0 | [
2,
8247,
8741,
1935,
8117,
118,
10299,
25597,
800,
3726,
3726,
31,
143,
48,
25,
2125,
3217,
15,
47,
75,
974,
16,
527,
27,
8144,
15,
48,
689,
17,
654,
31,
1659,
1967,
340,
71,
29,
40,
5764,
16,
483,
48,
1797,
5369,
170,
9,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
User Permission Mask from NetworkCredentials
===
Although I am currently developing this WinForms application on our Sharepoint server I intend for the finished program to function from any computer on the Domain. I'm using the WSS web services to get all the information I use from Sharepoint.
I have written some c... | 0 | [
2,
4155,
5572,
5983,
37,
982,
6037,
43,
10107,
18,
800,
3726,
3726,
419,
31,
589,
871,
3561,
48,
628,
4190,
18,
3010,
27,
318,
1891,
3132,
8128,
31,
13863,
26,
14,
842,
625,
20,
1990,
37,
186,
1428,
27,
14,
4603,
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... |
MySQL error with dates
===
MySQL tells me I have a wrong syntax, but I don't know where. Can anyone help me?
$dt = $xml->item->parameter[2];
$to = date('Y-m-d H:i:s',strtotime($dt));
$query = sprintf("select * from me,val where group_id=%s AND m_id= me_id AND time_stamp <= $to",mysql_real_escape_strin... | 0 | [
2,
51,
18,
22402,
7019,
29,
4076,
800,
3726,
3726,
51,
18,
22402,
2609,
55,
31,
57,
21,
1389,
22649,
15,
47,
31,
221,
22,
38,
143,
113,
9,
92,
1276,
448,
55,
60,
5579,
43,
38,
800,
5579,
396,
8184,
8,
1,
2119,
79,
8,
1,
63... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python socket Buffering: Message Framing
===
I am receiving the data stream(46 Bytes) from external hardware(Zigbee receiver) to PC on a TCP/IP socket. Then by using Python programming,iam trying to extract the message from the received data stream from TCP/IP socket.
my python source code and extracted data from t... | 0 | [
2,
20059,
18482,
17497,
68,
45,
2802,
21244,
800,
3726,
3726,
31,
589,
3396,
14,
1054,
3766,
5,
3516,
34,
3231,
6,
37,
4886,
7610,
5,
16594,
8506,
6264,
6,
20,
5168,
27,
21,
13,
38,
7439,
118,
4307,
18482,
9,
94,
34,
568,
20059,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
django pdf with logo image
===
I have created Invoice Pdf text template using pisa. But I want to display logo(image) in the pdf file along with the text.My views as follows:
def generate_invoice(request, user_id = None):
personal_html = ''
personal_html += 'hai'
fileread = str(... | 0 | [
2,
3857,
14541,
13,
11124,
29,
6449,
1961,
800,
3726,
3726,
31,
57,
679,
19,
13379,
13,
11124,
1854,
22894,
568,
21865,
9,
47,
31,
259,
20,
3042,
6449,
5,
22039,
6,
19,
14,
13,
11124,
3893,
303,
29,
14,
1854,
9,
915,
4146,
28,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Reverse Proxy for WCF Rest Service
===
I created a web site that exposes several WCF Rest Services. Currently I separated it
to Web and Application servers. The main issue that I deal with is to create a proxy for the rest services which are placed in the Application server.
The flow is as following :
The client w... | 0 | [
2,
7006,
27188,
26,
11801,
410,
760,
365,
800,
3726,
3726,
31,
679,
21,
2741,
689,
30,
13833,
18,
238,
11801,
410,
760,
687,
9,
871,
31,
4196,
32,
20,
2741,
17,
3010,
17595,
9,
14,
407,
1513,
30,
31,
1183,
29,
25,
20,
1600,
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... |
Ant: Create an antform based on a directory content
===
I'm writing an Ant script that installs some unix software automatically. What I'm doing is to call several targets from my build.xml. Each target installs one component, including tasks like shutting down services, copy and manipulate installation files etc.
... | 0 | [
2,
40,
38,
45,
1600,
40,
40,
38,
4190,
432,
27,
21,
16755,
2331,
800,
3726,
3726,
31,
22,
79,
1174,
40,
40,
38,
3884,
30,
16146,
18,
109,
22540,
2306,
7499,
9,
98,
31,
22,
79,
845,
25,
20,
645,
238,
7767,
37,
51,
1895,
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... |
play framework 2.0.2 mssql config
===
i have problem connect to MSSQL:
In my application.conf:
db.default.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.default.url="jdbc:sqlserver://localhost\\SQLEXPRESS:1433;databaseName=testdb;user=sa;password=***;"
When i run app i got error:
play.api.Configurati... | 0 | [
2,
418,
6596,
172,
9,
387,
9,
135,
4235,
18,
22402,
13,
14093,
2816,
800,
3726,
3726,
31,
57,
1448,
6379,
20,
4235,
18,
22402,
45,
19,
51,
3010,
9,
14093,
45,
13,
9007,
9,
13862,
9708,
9,
21752,
3726,
960,
9,
22019,
12980,
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... |
.bat rename files name remove first x characters and last x characters
===
I nead to rename files i some folder, like explained it neads to rename files name in one folder by removing first number of x characters and last number of x characters i sett.
Can someone show me how to do that. Thanks | 0 | [
2,
13,
9,
4900,
302,
7259,
6488,
204,
4681,
64,
993,
1766,
17,
236,
993,
1766,
800,
3726,
3726,
31,
2836,
1283,
20,
302,
7259,
6488,
31,
109,
19294,
15,
101,
2897,
32,
2836,
1283,
18,
20,
302,
7259,
6488,
204,
19,
53,
19294,
34,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
check real-ip IP address with javascript for nodejs
===
I have this code as part of a nodejs application that runs behind an nginx proxy:
var ip_address = (request.headers['x-real-ip']);
if (ip_address !== "127.0.0.1") {
var ip = request.headers['x-real-ip'];
console.log(ip);
}
else {
var ip = "173... | 0 | [
2,
2631,
683,
8,
4307,
15735,
3218,
29,
8247,
8741,
26,
15421,
728,
18,
800,
3726,
3726,
31,
57,
48,
1797,
28,
141,
16,
21,
15421,
728,
18,
3010,
30,
1461,
439,
40,
13,
2723,
108,
396,
27188,
45,
4033,
15735,
1,
27950,
800,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do i fix the warning
===
I have two classes in my project.SIAViewController.h and its sub class cell.h.
in cell.h i have
@interface cell : UIViewController
@property(nonatomic)CGRect frame;
@property(assign,nonatomic)UIImage *image;
@property(nonatomic)int tag;
@property(nonatom... | 0 | [
2,
184,
107,
31,
6098,
14,
3590,
800,
3726,
3726,
31,
57,
81,
2684,
19,
51,
669,
9,
4357,
4725,
12898,
1252,
9,
252,
17,
82,
972,
718,
1667,
9,
252,
9,
19,
1667,
9,
252,
31,
57,
13,
1,
6280,
6413,
1667,
13,
45,
13,
5661,
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... |
Change Image of UItabbar Item, Using storyboards
===
Hey guys I have the following story board ![enter image description here][1]
As you can see there is a tab bar application with 5 tabs, on the storyboard I've assign the logo for each tab. Now when the user clicks a cell in a particular view I want to change the ... | 0 | [
2,
753,
1961,
16,
13,
11193,
13100,
139,
9101,
15,
568,
609,
2806,
18,
800,
3726,
3726,
8409,
2776,
31,
57,
14,
249,
609,
686,
13,
187,
2558,
13679,
1961,
5318,
235,
500,
2558,
165,
500,
28,
42,
92,
196,
80,
25,
21,
6523,
748,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 to change dropdown with AJAX
===
I need a radio button to change a dropdown and have most if it working just not sure about a few things. I want to have CreativeID as the ID and CreativeName as the name. Here's my AJAX:
$('input[name=creativeType]').change(function(){
$.ajax({
url... | 0 | [
2,
487,
8190,
93,
20,
753,
2804,
2968,
29,
20624,
800,
3726,
3726,
31,
376,
21,
603,
5167,
20,
753,
21,
2804,
2968,
17,
57,
127,
100,
32,
638,
114,
52,
562,
88,
21,
310,
564,
9,
31,
259,
20,
57,
4231,
1340,
28,
14,
4924,
17,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Return Unique Data from 3 columns and how many times it shows up
===
What I have:
SELECT SGFORM.FFORMDESC, SGFORM.FPAPERNAME, SGFORM.FPAPERDESC
FROM SGFORM
Group by SGFORM.FPAPERNAME, SGFORM.FPAPERDESC, SGFORM.FFORMDESC
Having Count (*) > 0;
This gives me a list of the unique items but it doesn't tell me ho... | 0 | [
2,
4444,
255,
788,
2619,
1054,
37,
203,
7498,
17,
184,
151,
436,
32,
1285,
71,
800,
3726,
3726,
98,
31,
57,
45,
5407,
13,
18,
263,
4190,
9,
410,
4190,
3196,
150,
15,
13,
18,
263,
4190,
9,
410,
17945,
7259,
15,
13,
18,
263,
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... |
Mountain Lion - SVN Missing
===
I upgraded to Mac OS X Mountain Lion and found out SVN is no longer present. I use netbeans 6.9.1 in conjunction with Apache's SVN. How can I get it back and working?
Thanks | 2 | [
2,
1286,
6023,
13,
8,
13,
18,
16578,
2863,
800,
3726,
3726,
31,
9958,
20,
1572,
13,
759,
993,
1286,
6023,
17,
216,
70,
13,
18,
16578,
25,
90,
1045,
734,
9,
31,
275,
4275,
863,
5950,
400,
9,
518,
9,
165,
19,
9558,
29,
17140,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
app is asking for AppleID when being run
===
I am updating my iOS app with the Apple suggested transaction VerificationController code to verify in-app purchases due to the recent "hack" published that allowed people to purchase in-ap purchases without paying due to spoofed receipts from spoofed Apple servers.
I ha... | 0 | [
2,
4865,
25,
3379,
26,
4037,
1340,
76,
142,
485,
800,
3726,
3726,
31,
589,
71,
43,
1880,
51,
13,
7760,
4865,
29,
14,
4037,
2347,
12799,
25056,
12898,
1252,
1797,
20,
21012,
19,
8,
7753,
3301,
18,
397,
20,
14,
1764,
13,
7,
22983,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python app import error in Django with WSGI gunicorn
===
I'm trying to deploy a Django app with gunicorn on Heroku and I've run into a few hitches.
When I began my project my Django version was 1.3 and didn't contain the standard wsgi.py module, so I added the standard wsgi module as top/wsgi.py (top being my proje... | 0 | [
2,
20059,
4865,
9010,
7019,
19,
3857,
14541,
29,
619,
18,
2234,
1223,
49,
8559,
800,
3726,
3726,
31,
22,
79,
749,
20,
17617,
21,
3857,
14541,
4865,
29,
1223,
49,
8559,
27,
36,
9266,
17,
31,
22,
195,
485,
77,
21,
310,
770,
5370,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 create splash screen not using thread or something like that in Android?
===
I want to introduce my logo in 5 seconds at start. But it must be motional. I used thread my logo was stoped in 5 seconds. I thought that maybe I could use "gif" but it can not work. I want to show my logo motional. How can i do it ... | 0 | [
2,
184,
92,
31,
1600,
13873,
2324,
52,
568,
9322,
54,
301,
101,
30,
19,
13005,
60,
800,
3726,
3726,
31,
259,
20,
8500,
51,
6449,
19,
331,
2582,
35,
799,
9,
47,
32,
491,
44,
2422,
192,
9,
31,
147,
9322,
51,
6449,
23,
747,
69,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
QSystemTrayIcon, open other dialog than mainwindow closes the application
===
As the title says, if I make a systemtray icon which has an option to open an other dialog (e.g. preferences) through there, when I close this other dialog, the whole application closes when I call
this>close(); from withing that preference... | 0 | [
2,
2593,
10724,
1939,
6906,
1126,
15,
368,
89,
28223,
119,
407,
27508,
543,
18,
14,
3010,
800,
3726,
3726,
28,
14,
581,
898,
15,
100,
31,
233,
21,
329,
38,
2787,
9801,
56,
63,
40,
4255,
20,
368,
40,
89,
28223,
13,
5,
62,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
"Win32Exception: The operation completed successfully" after WTSQueryUserToken on 32bit Windows (64bit works)
===
I'm developing a small Windows Service in C# that needs to do interop with Win32 API at some point. I'm getting the following exception which does not make sense to me:
`System.ComponentModel.Win32Excep... | 0 | [
2,
13,
7,
4181,
3125,
10066,
872,
45,
14,
1453,
1066,
3673,
7,
75,
619,
38,
18,
8190,
93,
16704,
262,
2853,
27,
2512,
3326,
1936,
13,
5,
3470,
3326,
693,
6,
800,
3726,
3726,
31,
22,
79,
3561,
21,
284,
1936,
365,
19,
272,
5910,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Html5/CSS3 list style issue
===
I am creating a `<ul>` and `<li>` wrapped by `<section>` tag. Everything works fine except the list style (dot) display outside of my `<section>` tag. I am not sure why. I appreciate it if someone can share tips. Thanks a lot.
my html
<section id='test'>
<ul>
... | 0 | [
2,
13,
15895,
10551,
6824,
18,
240,
968,
1034,
1513,
800,
3726,
3726,
31,
589,
2936,
21,
13,
1,
1287,
1,
17,
13,
1,
1210,
1,
3684,
34,
13,
1,
10579,
1,
3383,
9,
796,
693,
1123,
1613,
14,
968,
1034,
13,
5,
12527,
6,
3042,
719... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 an array value as field in Java? a1.section[2] = 1;
===
New to Java, and can't figure out what I hope to be a simple thing.
I keep "sections" in an array:
//Section.java
public static final String[] TOP = {
"Top News",
"http://www.mysite.com/RSS/myfeed.csp",
"top"
};
I'd like to do... | 0 | [
2,
184,
20,
275,
40,
7718,
1923,
28,
575,
19,
8247,
60,
21,
165,
9,
10579,
2558,
135,
500,
800,
137,
73,
800,
3726,
3726,
78,
20,
8247,
15,
17,
92,
22,
38,
1465,
70,
98,
31,
1376,
20,
44,
21,
1935,
584,
9,
31,
643,
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... |
Collections.newSetFromMap(»HashMap«) vs. Collections.synchronizedSet(»HashSet«)
===
Apparently, there are two ways to obtain a thread-safe `HashSet` instance using Java's `Collections` API.
- How do they differ?
- Which, and under what circumstances, is one preferred over the over? | 0 | [
2,
5721,
9,
2681,
3554,
2665,
15022,
5,
1,
25436,
15022,
1,
6,
4611,
9,
5721,
9,
16023,
1333,
3554,
5,
1,
25436,
3554,
1,
6,
800,
3726,
3726,
3083,
15,
80,
50,
81,
2847,
20,
5545,
21,
9322,
8,
18166,
13,
1,
25436,
3554,
1,
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... |
javascript + send multiple strings with URL
===
I have a script that calls another php page and passes values using PHP get.
The one variable, q is sent with the URL where str is a variable.
xmlhttp.open("GET","getdata.php?q="+str,true);
I have a few multiple variables that I want to send in the URL stri... | 0 | [
2,
8247,
8741,
2754,
2660,
1886,
7887,
29,
287,
6362,
800,
3726,
3726,
31,
57,
21,
3884,
30,
3029,
226,
13,
26120,
2478,
17,
3789,
4070,
568,
13,
26120,
164,
9,
14,
53,
7612,
15,
2593,
25,
795,
29,
14,
287,
6362,
113,
13,
9729,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 convert my eclipse project to an earlier java version?
===
I have a project in Eclipse which previously used JRE7 and referenced the JRE7 system libraries. I absolutely need it to now run in JRE6. I have not used any Java 7 specific syntax so the source code itself is entirely compatible. Here is what I have ... | 0 | [
2,
184,
107,
31,
8406,
51,
11652,
669,
20,
40,
1201,
8247,
615,
60,
800,
3726,
3726,
31,
57,
21,
669,
19,
11652,
56,
1343,
147,
487,
99,
465,
17,
17571,
14,
487,
99,
465,
329,
8649,
9,
31,
6916,
376,
32,
20,
130,
485,
19,
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... |
SQL -- SELECT statement -- concatenate strings to
===
I have an SQL question. Everything works fine in the below SELECT statement except the portion I have highlighted in bold. What I'm trying to do is allow the user to search for a specific Rule within the database. Unfortunately, I do not actually have a Rule col... | 0 | [
2,
4444,
255,
13,
8,
8,
5407,
3331,
13,
8,
8,
1065,
9530,
8820,
7887,
20,
800,
3726,
3726,
31,
57,
40,
4444,
255,
1301,
9,
796,
693,
1123,
19,
14,
1021,
5407,
3331,
1613,
14,
2980,
31,
57,
12528,
19,
5657,
9,
98,
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... |
Windows Phone App integration with remote server
===
What framework exists for Handling data from a Windows Phone to integrate with a server DB? For example, a game score submission. A notification from the server to the WP App. Any framework exists to address this eco-system? Or we need to do from scratch? if yes, wh... | 4 | [
2,
1936,
1132,
4865,
8078,
29,
5388,
8128,
800,
3726,
3726,
98,
6596,
5636,
26,
7988,
1054,
37,
21,
1936,
1132,
20,
18399,
29,
21,
8128,
13,
9007,
60,
26,
823,
15,
21,
250,
1618,
10923,
9,
21,
52,
4634,
37,
14,
8128,
20,
14,
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... |
Looking for tool to convert an XSD spec into C++ with Concepts
===
I'm looking for a library that would convert an XSD specification into a C++ concept. I know there's no official spec for concepts and very little implementation of it, but it seems like semantically it maps closely to XML schemas.
Thanks in advance... | 0 | [
2,
699,
26,
5607,
20,
8406,
40,
993,
18,
43,
12737,
77,
272,
20512,
29,
8700,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
1248,
30,
83,
8406,
40,
993,
18,
43,
14177,
77,
21,
272,
20512,
2420,
9,
31,
143,
80,
22,
18,
90,
989,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
post on face book's wall complex message programmatically using iPhone sdk
===
I've just solved the problem with posting on facebook's wall programmatically using Facebook iOS sdk. It is completely working in my application. Here's the part of code:
NSString *messageString=@"test message";
FBRequest *requ... | 0 | [
2,
678,
27,
276,
360,
22,
18,
769,
1502,
2802,
625,
6732,
1326,
568,
21024,
13,
18,
43,
197,
800,
3726,
3726,
31,
22,
195,
114,
15091,
14,
1448,
29,
15669,
27,
9090,
22,
18,
769,
625,
6732,
1326,
568,
9090,
13,
7760,
13,
18,
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... |
Linq get data from m to n tables?
===
I have 2 Tables that is m to n relationships between them. Roles, Moduls, ModulsInRoles. I get current user roles. IAnd I want to get these roles' moduls. I tried to write something. But I cant success.
string[] roller = System.Web.Security.Roles.GetRolesForUser();
I... | 0 | [
2,
6294,
1251,
164,
1054,
37,
307,
20,
13,
103,
7484,
60,
800,
3726,
3726,
31,
57,
172,
7484,
30,
25,
307,
20,
13,
103,
5833,
128,
105,
9,
2954,
15,
13,
19673,
18,
15,
13,
19673,
18,
108,
661,
1355,
9,
31,
164,
866,
4155,
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... |
Override Android GUI
===
I am working on a special project of mine that should customize a bit the experience of Android users.
The idea is that we should have customized navigation buttons in every Activity that allow the user going back and forth in the application.
I understood one basically cannot hide the nav... | 0 | [
2,
84,
11891,
13005,
9457,
800,
3726,
3726,
31,
589,
638,
27,
21,
621,
669,
16,
1114,
30,
378,
5816,
2952,
21,
1142,
14,
1496,
16,
13005,
3878,
9,
14,
882,
25,
30,
95,
378,
57,
28779,
8368,
12861,
19,
352,
2358,
30,
1655,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get only ONE player in kinect
===
i want to track only one person through the kinect and i wanna track its skeletal data and at the same time i want to show the depth from containing only that player but not the other players.
Attached here is the code responsible for that, CAN anyone HELP ?!!
void mySensor_... | 0 | [
2,
164,
104,
53,
517,
19,
6399,
11557,
800,
3726,
3726,
31,
259,
20,
792,
104,
53,
840,
120,
14,
6399,
11557,
17,
31,
11024,
792,
82,
23185,
1054,
17,
35,
14,
205,
85,
31,
259,
20,
298,
14,
5204,
37,
3503,
104,
30,
517,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I make empty tags self-closing with Nokogiri?
===
I've created an XML template in ERB. I fill it in with data from a database during an export process.
In some cases, there is a null value, in which case an element may be empty, like this:
<someitem>
</someitem>
In that case, I'd like i... | 0 | [
2,
184,
92,
31,
233,
2424,
3383,
18,
1119,
8,
13023,
18,
68,
29,
90,
921,
14913,
60,
800,
3726,
3726,
31,
22,
195,
679,
40,
23504,
22894,
19,
13,
106,
220,
9,
31,
3509,
32,
19,
29,
1054,
37,
21,
6018,
112,
40,
7487,
953,
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... |
hibernate mapping for list of classes
===
I have a class A{a_id,other properties List<B>) and class B{b_id,other properties).
I have different tables for A and B and mapping table A_B(a_id,b_id,displayorder).Entries in table are constant . We can insert/update/delete from table A. I try to map it in hibernate using l... | 0 | [
2,
4148,
2102,
8820,
13305,
26,
968,
16,
2684,
800,
3726,
3726,
31,
57,
21,
718,
21,
1,
58,
1,
1340,
15,
9539,
3704,
968,
1,
220,
1,
6,
17,
718,
334,
1,
220,
1,
1340,
15,
9539,
3704,
6,
9,
31,
57,
421,
7484,
26,
21,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
New row in asp:repeater by java script
===
In my aspx page I have repeater to show list something, I want to add new row and show it in repeater without postback. I will send date soon. I don't want to use AJAX
How to add row to asp:repeater by JavaScript? | 0 | [
2,
78,
3131,
19,
28,
306,
45,
99,
306,
9834,
34,
8247,
3884,
800,
3726,
3726,
19,
51,
28,
306,
396,
2478,
31,
57,
6830,
106,
20,
298,
968,
301,
15,
31,
259,
20,
3547,
78,
3131,
17,
298,
32,
19,
6830,
106,
366,
678,
1958,
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... |
UIButton changes position after build
===
I encountered a weird problem with a UIView in my Application. I placed some UIButtons, UISlider, etc. on a View. Which looks like this:
![storyboard][1]
However, on the Simulator and on my iPhone it looks like this:
![simulator][2]
The button "+1 min" is not aligned... | 0 | [
2,
13,
5661,
811,
444,
1693,
649,
75,
1895,
800,
3726,
3726,
31,
8208,
21,
5455,
1448,
29,
21,
13,
5661,
4725,
19,
51,
3010,
9,
31,
1037,
109,
13,
5661,
811,
444,
18,
15,
287,
403,
1210,
1157,
15,
2722,
9,
27,
21,
1418,
9,
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... |
Oracle copy data to another table
===
In the Oracle, I copy data from a backup to a new table, it doesn't work.
what is the correct syntax ?
Thanks
select CODE, MESSAGE into EXCEPTION_CODES (CODE, MESSAGE)
from Exception_code_tmp
the error is
**SQL Error: ORA-00905: missing keyword
... | 0 | [
2,
15759,
4344,
1054,
20,
226,
859,
800,
3726,
3726,
19,
14,
15759,
15,
31,
4344,
1054,
37,
21,
10119,
20,
21,
78,
859,
15,
32,
1437,
22,
38,
170,
9,
98,
25,
14,
4456,
22649,
13,
60,
3669,
5407,
1797,
15,
2802,
77,
5391,
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... |
Why doesn't my regular expression implementation respect time?
===
html template starts as {@bigfoot}
after running it through my code it is {*bigfoot} not Bigfoot, or Sasquatch as he is known in some parts, is a giant ape like man. It is likely that his diet consists of ...
See how the second regular expression i... | 1 | [
2,
483,
1437,
22,
38,
51,
1290,
1803,
6123,
2873,
85,
60,
800,
3726,
3726,
13,
15895,
22894,
3244,
28,
13,
1,
6407,
3670,
1,
75,
946,
32,
120,
51,
1797,
32,
25,
13,
1,
2483,
6407,
3670,
1,
52,
580,
3670,
15,
54,
9233,
5418,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 the page source of a web page in php
===
How do i retrieve the entire page source info of a particular web page in a string variable and echo it in php. i am new to php and have no idea of doing so can any one give me the complete source code of it.
Following is my source code:
<?php
$dom = ne... | 0 | [
2,
3042,
14,
2478,
1267,
16,
21,
2741,
2478,
19,
13,
26120,
800,
3726,
3726,
184,
107,
31,
11917,
14,
1078,
2478,
1267,
15404,
16,
21,
1498,
2741,
2478,
19,
21,
3724,
7612,
17,
8117,
32,
19,
13,
26120,
9,
31,
589,
78,
20,
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... |
Product+Profile+allocation or someone else close the app
===
Hi every one I have the next issue I'm trying to test my app about memory leaks, allocation , etc.
But when I make Product+Profile I select Allocation and the profile begin but something wrong happen and the profile stop after 1 second and instantly close ... | 0 | [
2,
2374,
2430,
14503,
2430,
192,
19032,
54,
737,
962,
543,
14,
4865,
800,
3726,
3726,
4148,
352,
53,
31,
57,
14,
328,
1513,
31,
22,
79,
749,
20,
1289,
51,
4865,
88,
1912,
11724,
18,
15,
16840,
13,
15,
2722,
9,
47,
76,
31,
233,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to have cross-project fixVersions in Jira?
===
We have several, independent teams that have their own priorities and work. Yet the teams are all on the same code-base, so when we deploy, everyone's code goes out at the same time.
How have you dealt with this using Jira?
A couple of possibilities c... | 0 | [
2,
25,
80,
21,
161,
20,
57,
919,
8,
21011,
6098,
10898,
18,
19,
487,
3517,
60,
800,
3726,
3726,
95,
57,
238,
15,
1124,
952,
30,
57,
66,
258,
20872,
17,
170,
9,
768,
14,
952,
50,
65,
27,
14,
205,
1797,
8,
8436,
15,
86,
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 the packagemanager gets the information in Android?
===
I came to know that after booting device, all the system apps and market apps( if there) will be loaded right. These all things will be handled by PackageManager means which are the already installed apps, based on that it will load all the apps. But how the ... | 0 | [
2,
184,
14,
6030,
22256,
3049,
14,
676,
19,
13005,
60,
800,
3726,
3726,
31,
281,
20,
143,
30,
75,
6801,
68,
3646,
15,
65,
14,
329,
4865,
18,
17,
1135,
4865,
18,
5,
100,
80,
6,
129,
44,
8572,
193,
9,
158,
65,
564,
129,
44,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Catching errors in Workflows
===
I've been playing around with PowerShell Workflows in PS 3.0 RC, and so far, I am in love. However, there are many limitations on the sorts of things you can and can't use inside workflows. The one I'm hung up on currently is the $Error variable. When calling my workflow, I receive the... | 0 | [
2,
9436,
11908,
19,
170,
9990,
18,
800,
3726,
3726,
31,
22,
195,
74,
791,
140,
29,
414,
15984,
170,
9990,
18,
19,
8613,
203,
9,
387,
16462,
15,
17,
86,
463,
15,
31,
589,
19,
339,
9,
207,
15,
80,
50,
151,
14070,
27,
14,
14357... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# create 7z archive, then Can not open file "name.7z" as an archive
===
I am trying to zip some folders. They have different paths, will not belong to the same directory.
I tested the command line arguments that I would give, and it works, but I can't get it to work from c#:
string destination = "some path... | 0 | [
2,
272,
5910,
1600,
453,
380,
9250,
15,
94,
92,
52,
368,
3893,
13,
7,
7259,
9,
465,
380,
7,
28,
40,
9250,
800,
3726,
3726,
31,
589,
749,
20,
12133,
109,
19294,
18,
9,
59,
57,
421,
12074,
15,
129,
52,
6219,
20,
14,
205,
16755... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ninject MVC3 not working: Object reference not set to an instance of an object
===
I created an mvc4 project in visual studio 2012 RC, and added the ninject.mvc3 package using nuget. It created the standard NinjectWebCommon.cs file and I edited the RegisterServices method like so:
private static void RegisterS... | 0 | [
2,
13,
5703,
17759,
307,
8990,
240,
52,
638,
45,
3095,
2801,
52,
309,
20,
40,
4851,
16,
40,
3095,
800,
3726,
3726,
31,
679,
40,
307,
8990,
300,
669,
19,
3458,
1120,
563,
16462,
15,
17,
905,
14,
13,
5703,
17759,
9,
79,
8990,
24... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Need to run a function based on conditional
===
I'm trying to assign a function to a couple of checkboxes, but I only want them added based on a condition, in this case the step number of the form. This is a roundabout way of making the checkboxes readOnly AFTER they have been selected (or not). So, at step 1 I want t... | 0 | [
2,
376,
20,
485,
21,
1990,
432,
27,
21206,
800,
3726,
3726,
31,
22,
79,
749,
20,
13952,
21,
1990,
20,
21,
1335,
16,
2631,
5309,
160,
15,
47,
31,
104,
259,
105,
905,
432,
27,
21,
2874,
15,
19,
48,
610,
14,
1424,
234,
16,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
GTK errors when importing pynotify
===
When importing pynotify I always get those nasty GTK-Warnings:
** (process:25512): WARNING **: Trying to register gtype 'GMountMountFlags' as enum when in fact it is of type 'GFlags'
** (process:25512): WARNING **: Trying to register gtype 'GDriveStartFlags' as enum w... | 0 | [
2,
9509,
197,
11908,
76,
9010,
68,
7103,
1270,
8612,
800,
3726,
3726,
76,
9010,
68,
7103,
1270,
8612,
31,
550,
164,
273,
13077,
9509,
197,
8,
1885,
2981,
18,
45,
13,
1409,
13,
5,
16835,
45,
20038,
918,
6,
45,
3590,
13,
1409,
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... |
How can I add an unbounded checkbox column to a gridview that is bounded to a datasource?
===
The gridview I have is bounded by an SQLDataSource. I want to add a checkbox for each row that is populated. How can I do this and how can I have the checkboxes postback when checked/unchecked?
This is my gridview code:
... | 0 | [
2,
184,
92,
31,
3547,
40,
367,
7410,
69,
2631,
5309,
4698,
20,
21,
7354,
4725,
30,
25,
10906,
20,
21,
1054,
12097,
60,
800,
3726,
3726,
14,
7354,
4725,
31,
57,
25,
10906,
34,
40,
4444,
255,
18768,
12097,
9,
31,
259,
20,
3547,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 loading BuildConfig (Grails 2.1.0)
===
I've been racking my brain for hours trying to figure this out. Whenever I try to perform any kind of action to my newly created Grails project (with a fresh Grails install), I get this error message:
Error There was an error loading the BuildConfig: ivy pattern mus... | 0 | [
2,
7019,
12797,
1895,
14093,
2816,
13,
5,
263,
7301,
18,
172,
9,
165,
9,
387,
6,
800,
3726,
3726,
31,
22,
195,
74,
10257,
68,
51,
1964,
26,
974,
749,
20,
1465,
48,
70,
9,
6634,
31,
1131,
20,
2985,
186,
825,
16,
1028,
20,
51,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Php and Ajax listener for a remote response
===
I need a guidance on how to achieve this:
User comes to www.mysite.com/submit.php and fill out the form where they need to enter a phone number (for verification purposes) and what I want to happen is when form is submitted:
1. Popup - or some overlay that will te... | 0 | [
2,
13,
26120,
17,
20624,
21772,
26,
21,
5388,
1627,
800,
3726,
3726,
31,
376,
21,
8193,
27,
184,
20,
4689,
48,
45,
4155,
1624,
20,
13,
6483,
9,
915,
9097,
9,
960,
118,
7563,
5130,
9,
26120,
17,
3509,
70,
14,
505,
113,
59,
376,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Wierd Samsung P1000 getRotation issue
===
For some reason only on my P1000 device, the getRotation() value returned is wrong.. it's 90 degrees from the value i should get, i can tell by watching the values i get when touching the screen using `adb shell getevent`
Did anyone encounter this issue, or know how to deal... | 0 | [
2,
11842,
897,
22981,
351,
19484,
164,
661,
8593,
1513,
800,
3726,
3726,
26,
109,
1215,
104,
27,
51,
351,
19484,
3646,
15,
14,
164,
661,
8593,
5,
6,
1923,
587,
25,
1389,
9,
9,
32,
22,
18,
3151,
4442,
37,
14,
1923,
31,
378,
164... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 wait for NSStream to open or fail?
===
Currently when i open an NSInputStream (for example) I get an event indicating that it has opened completely. Prior to that event, if I poll the stream status, I see it is in the process of opening. But if it fails, there is no event at all. I never get told that the ope... | 0 | [
2,
184,
107,
31,
1760,
26,
13,
2172,
11260,
20,
368,
54,
7476,
60,
800,
3726,
3726,
871,
76,
31,
368,
40,
13,
2172,
108,
4881,
11260,
13,
5,
1106,
823,
6,
31,
164,
40,
807,
7950,
30,
32,
63,
520,
1524,
9,
1313,
20,
30,
807,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to add View into included layout in xml?
===
I was wondering if the following could be achieved in xml:
I have this simple layout like following:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="... | 0 | [
2,
25,
32,
938,
20,
3547,
1418,
77,
506,
9106,
19,
23504,
60,
800,
3726,
3726,
31,
23,
5712,
100,
14,
249,
110,
44,
3153,
19,
23504,
45,
31,
57,
48,
1935,
9106,
101,
249,
45,
13,
1,
60,
396,
8184,
615,
3726,
7,
165,
9,
387,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 access all the properties of excel in asp.net like sheet name name, font, colour, bold, italic etc
===
hey i have done coding to upload and display the excel file in asp.net
but the problem is :.........................
1)how to know the sheet name of the excel file (i am taking sheet1 as default sheet but if... | 0 | [
2,
184,
20,
1381,
65,
14,
3704,
16,
20700,
19,
28,
306,
9,
2328,
101,
6125,
204,
204,
15,
9978,
15,
4609,
15,
5657,
15,
32,
192,
596,
2722,
800,
3726,
3726,
8409,
31,
57,
677,
13,
15458,
20,
71,
8294,
17,
3042,
14,
20700,
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... |
Do I need to buy SSL certificate or I can use OpenSSL if I'm paying to users?
===
<p>As I understand from information, that I found I can use OpenSSL when moving my application to production.
<p>I need to know is it necessary in my case: my application will be paying users for using some javascript.
<p><b>QUESTION:... | 2 | [
2,
107,
31,
376,
20,
3034,
13,
18,
18,
255,
6259,
54,
31,
92,
275,
8965,
18,
255,
100,
31,
22,
79,
6605,
20,
3878,
60,
800,
3726,
3726,
13,
1,
306,
1,
472,
31,
1369,
37,
676,
15,
30,
31,
216,
31,
92,
275,
8965,
18,
255,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Implementing Sharedpreference
===
This is my code. I have a text view and 2 buttons accept and reject. When user clicks the accept button i used a shared preference to save the status as 100. Next time when user log in i need to check if the user has already clicked the accept button. If he has already accepted, then ... | 0 | [
2,
17333,
2592,
306,
28018,
800,
3726,
3726,
48,
25,
51,
1797,
9,
31,
57,
21,
1854,
1418,
17,
172,
12861,
3440,
17,
12170,
9,
76,
4155,
10840,
18,
14,
3440,
5167,
31,
147,
21,
2592,
9808,
20,
2079,
14,
1782,
28,
808,
9,
328,
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... |
Too Few Parameters Expected 1-MS Access error
===
I am using front end as Business Objects and backend MS Access database. I have one field with following syntax and when i pull this field in query getting error like "Too Few Parameters Expected 1"
Format(Votes.`Vote Received`,"yyyymm")
This syntax is pa... | 0 | [
2,
266,
310,
12905,
1727,
137,
8,
79,
18,
1381,
7019,
800,
3726,
3726,
31,
589,
568,
431,
241,
28,
508,
3916,
17,
97,
2451,
4235,
1381,
6018,
9,
31,
57,
53,
575,
29,
249,
22649,
17,
76,
31,
2201,
48,
575,
19,
25597,
1017,
7019... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
check if point exists in QPainterPath
===
I have an application where I place several curves in my scene. I was looking for an easy way to detect if the user pressed on the line. boundingRect() and intersects() were too inaccurate when I was having multiple lines drawn. So I made this funtion, which works like a dream... | 0 | [
2,
2631,
100,
454,
5636,
19,
2593,
20578,
106,
8353,
800,
3726,
3726,
31,
57,
40,
3010,
113,
31,
209,
238,
11548,
19,
51,
1691,
9,
31,
23,
699,
26,
40,
2010,
161,
20,
9092,
100,
14,
4155,
2931,
27,
14,
293,
9,
4138,
68,
14673,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Solution for hosting large amounts of data
===
I am working on a web application that will handle about 1000 users monthly, the problem is that users will be able to sore files (pictures, videos, office files, pdfs.. and so on)
i would like to know what is a approach in situation like this, my hosting provider will g... | 0 | [
2,
4295,
26,
10637,
370,
8545,
16,
1054,
800,
3726,
3726,
31,
589,
638,
27,
21,
2741,
3010,
30,
129,
3053,
88,
6150,
3878,
6460,
15,
14,
1448,
25,
30,
3878,
129,
44,
777,
20,
14230,
6488,
13,
5,
25602,
18,
15,
6610,
15,
488,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can't read appSettings value from Web.Config
===
I have the following in my web.config:
<configuration>
<appSettings>
<add key="PsychMon" value="true"/>
</appSettings>
. . .
</configuration>
I have the following code in my codebehind:
System.Configuration.Configurati... | 0 | [
2,
92,
22,
38,
1302,
4865,
19831,
18,
1923,
37,
2741,
9,
14093,
2816,
800,
3726,
3726,
31,
57,
14,
249,
19,
51,
2741,
9,
14093,
2816,
45,
13,
1,
1126,
13549,
857,
1,
13,
1,
7753,
19831,
18,
1,
13,
1,
14854,
1246,
3726,
7,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Lucene.Net using Ninject InSingletonScope()
===
Reading up on Lucene, it seems it's recommeneded to use the same instance of IndexSearcher across all requests.
If I have a search class which is injected using ninject
public interface IPatientSearch
{
void DoSearch(ref SearchDTO _search);
... | 0 | [
2,
18515,
556,
9,
2328,
568,
13,
5703,
17759,
19,
14031,
444,
11555,
5,
6,
800,
3726,
3726,
1876,
71,
27,
18515,
556,
15,
32,
2206,
32,
22,
18,
302,
960,
755,
69,
69,
20,
275,
14,
205,
4851,
16,
4348,
25136,
106,
464,
65,
1227... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Google Geocharts: Regions and Markers on same map?
===
I'm experimenting with Google's [GeoCharts][1]. I have state data and city data that I want to display over the city data. This means I want to use the geochart `regions` and `markers` display mode at the same time. Can this be done, or faked? I can't seem to ... | 0 | [
2,
8144,
6389,
5433,
38,
18,
45,
3332,
17,
19482,
27,
205,
2942,
60,
800,
3726,
3726,
31,
22,
79,
5737,
68,
29,
8144,
22,
18,
636,
834,
4550,
13448,
500,
2558,
165,
500,
9,
31,
57,
146,
1054,
17,
136,
1054,
30,
31,
259,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can one develop a chrome extension that accesses google drive?
===
Is there any examples of a chrome extension that accesses drive?
Using [chrome_ex_oauth.js](http://src.chromium.org/viewvc/chrome/trunk/src/chrome/common/extensions/docs/examples/extensions/oauth_contacts/chrome_ex_oauth.js?content-type=text/pla... | 0 | [
2,
184,
92,
53,
2803,
21,
13,
12985,
3896,
30,
1381,
160,
8144,
1493,
60,
800,
3726,
3726,
25,
80,
186,
3770,
16,
21,
13,
12985,
3896,
30,
1381,
160,
1493,
60,
568,
636,
12985,
1,
1706,
1,
111,
1346,
96,
9,
728,
18,
500,
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... |
Displaying n'th level category in php
===
below is my SQL table
id parent_id
1 0
2 0
3 1
4 1
5 3
6 5
i want to display n'th level hierarchic relation in array like below
array
{
1
sub{
3
sub{
5
}
4
... | 0 | [
2,
17418,
13,
103,
22,
96,
662,
3230,
19,
13,
26120,
800,
3726,
3726,
1021,
25,
51,
4444,
255,
859,
4924,
4766,
1,
1340,
137,
713,
172,
713,
203,
137,
268,
137,
331,
203,
400,
331,
31,
259,
20,
3042,
13,
103,
22,
96,
662,
2137... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Show indicators while programmatically scrolling UIScrollView
===
I am writing a framework which simplifies common (but sometimes tricky) drag and drop tasks in iOS. As part of this framework, when the user drags (and briefly holds) an object near the edge of a scrollView, it will scroll the scrollView programmaticall... | 0 | [
2,
298,
13310,
18,
133,
625,
6732,
1326,
13,
28166,
13,
5661,
3862,
8694,
4725,
800,
3726,
3726,
31,
589,
1174,
21,
6596,
56,
22862,
255,
12970,
757,
13,
5,
811,
1030,
5514,
93,
6,
5501,
17,
2804,
8674,
19,
13,
7760,
9,
28,
141,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 start intent after finishing download an image from url?
===
i need to start my intent after finishing the download the image from url without any action from user the application itself.
this is my activity which first will download the image after it will start the intent.
//download image then... | 0 | [
2,
184,
92,
799,
6936,
75,
3718,
7121,
40,
1961,
37,
287,
6362,
60,
800,
3726,
3726,
31,
376,
20,
799,
51,
6936,
75,
3718,
14,
7121,
14,
1961,
37,
287,
6362,
366,
186,
1028,
37,
4155,
14,
3010,
1145,
9,
48,
25,
51,
2358,
56,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hibernate using DAO with mySQL DB
===
I am implementing a Restful Web Service using Jersey. I have a package using hibernate to map the data to DB.
I am new to hibernate using DAO :
I have a method in GenericDao class :
public abstract class GenericDAO<T> extends DAOFactory {
public List<... | 0 | [
2,
4148,
2102,
8820,
568,
13,
17104,
29,
51,
18,
22402,
13,
9007,
800,
3726,
3726,
31,
589,
17333,
21,
760,
1566,
2741,
365,
568,
2134,
9,
31,
57,
21,
6030,
568,
4148,
2102,
8820,
20,
2942,
14,
1054,
20,
13,
9007,
9,
31,
589,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
More sophisticated static file serving under Express
===
Best explained by an example. Say I have a directory /images, where I have images a.png, b.png, and c.png.
Then I have a directory /foo/images, which has an image b.png, which is different than the b.png in /images.
I want it so if a request comes in for ... | 0 | [
2,
91,
13388,
12038,
3893,
1799,
131,
2999,
800,
3726,
3726,
246,
2897,
34,
40,
823,
9,
395,
31,
57,
21,
16755,
13,
118,
22039,
18,
15,
113,
31,
57,
3502,
21,
9,
306,
2723,
15,
334,
9,
306,
2723,
15,
17,
272,
9,
306,
2723,
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... |
raw bitmap data to jpeg or png C++
===
I have bytearray where every three bytes describes 1 pixel (RGB). The task is to convert it to jpeg or png.
Actually, I am using Zint (open source lib for generating barcodes) that uses libpng to generate image file and save it to file system, but in libpng the function png_p... | 0 | [
2,
4333,
1142,
15022,
1054,
20,
487,
20427,
54,
351,
2723,
272,
20512,
800,
3726,
3726,
31,
57,
34,
591,
8576,
93,
113,
352,
132,
34,
3231,
4359,
137,
18146,
13,
5,
139,
11400,
6,
9,
14,
3005,
25,
20,
8406,
32,
20,
487,
20427,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Haskell wall-time oscilator
===
I'm looking for a Haskell function which yield a value which slowly changes as wall-time elapses (and possibly wraps around after a while). I don't really mind whether it's `IO Integer` or `IO Double` or what. I just want a value that slowly changes as wall-time elapses.
Presumably t... | 0 | [
2,
63,
16507,
769,
8,
891,
13,
759,
12837,
3457,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
63,
16507,
1990,
56,
11537,
21,
1923,
56,
1447,
1693,
28,
769,
8,
891,
13,
62,
17057,
18,
13,
5,
290,
2879,
8118,
18,
140,
75,
21,
13... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Image wrap collision xcode
===
I have an application that involves pressing a button to activate an object. The button is oddly shaped but the device obviously thinks its rectangular. How would I go about wrapping it so that the actual lines are the boundaries and parameters for detection.
All help greatly apprecia... | 0 | [
2,
1961,
8118,
11319,
993,
9375,
800,
3726,
3726,
31,
57,
40,
3010,
30,
6569,
7196,
21,
5167,
20,
18163,
40,
3095,
9,
14,
5167,
25,
17459,
9733,
47,
14,
3646,
4409,
7973,
82,
11354,
9,
184,
83,
31,
162,
88,
13437,
32,
86,
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,
0,
0... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.