unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
CakePHP 1.3 - Calling Shells from a Controller?
===
I cannot for the life of me figure out how to call a shell from a controller.
We have a background process that packages up data in a .pdf, and we don't want to bog down the page loads waiting for this to occur, so we want to put all this processing in a shell.
... | 0 | [
2,
8390,
26120,
137,
9,
240,
13,
8,
2555,
12529,
37,
21,
9919,
60,
800,
3726,
3726,
31,
1967,
26,
14,
201,
16,
55,
1465,
70,
184,
20,
645,
21,
3593,
37,
21,
9919,
9,
95,
57,
21,
2395,
953,
30,
16875,
71,
1054,
19,
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... |
Improve Regex to get 6 digit Date (MMDDYY)
===
I'm currently using:
[0-1]{1}[0-9]{1}[0-3]{1}[0-9]{1}[0-1]{1}[0-9]{1}
to match a 6 digit date. Is there a way to make this more restrictive, my issue is that I have other 6-8 digits digits contained in the text and I am getting the occasional false positive in... | 0 | [
2,
3545,
7953,
1706,
20,
164,
400,
15611,
1231,
13,
5,
3363,
18283,
93,
6,
800,
3726,
3726,
31,
22,
79,
871,
568,
45,
636,
387,
8,
165,
500,
1,
165,
1,
2558,
387,
8,
518,
500,
1,
165,
1,
2558,
387,
8,
240,
500,
1,
165,
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... |
Generating an XML document from Java objects where the structure is very different
===
**The Problem**
I have a complex model object tree in Java that needs to be translated back and forth into an XML document. The object structure of the XML document's schema is extremely different from the model's object tree. Th... | 0 | [
2,
13500,
40,
23504,
4492,
37,
8247,
3916,
113,
14,
1411,
25,
253,
421,
800,
3726,
3726,
13,
1409,
124,
1448,
1409,
31,
57,
21,
1502,
1061,
3095,
1541,
19,
8247,
30,
2274,
20,
44,
4331,
97,
17,
5882,
77,
40,
23504,
4492,
9,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Access 2003: Determine whether one or all of 4 fields exist in table
===
I have a table which changes every day but will always have the same name (Scrubbed). I need a query to determine whether the new fields exist in the table that day. I'll call them field1, field2, field3, field4.
I had a sql query:
SELECT ... | 0 | [
2,
1381,
973,
45,
3746,
1472,
53,
54,
65,
16,
268,
2861,
3182,
19,
859,
800,
3726,
3726,
31,
57,
21,
859,
56,
1693,
352,
208,
47,
129,
550,
57,
14,
205,
204,
13,
5,
18,
13057,
3490,
69,
6,
9,
31,
376,
21,
25597,
20,
3746,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
f:ajax onerror called before listener
===
I have a simple form and a pretty simple bean that listens to an ajax event. Here is some of the code:
<script type="text/javascript">
function myfunction() {
alert('error');
}
</script>
<h:commandButton id="someid" value="some... | 0 | [
2,
398,
45,
6881,
7522,
27,
29992,
227,
115,
21772,
800,
3726,
3726,
31,
57,
21,
1935,
505,
17,
21,
1772,
1935,
15322,
30,
3834,
18,
20,
40,
20624,
807,
9,
235,
25,
109,
16,
14,
1797,
45,
13,
1,
8741,
1001,
3726,
7,
11969,
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... |
Clean approach to store Key-Value "properties"?
===
Let say I have one model for cars. Each car has attributes: color, size, weight, etc... I want users to allow the creation of new attributes for each car objects. However I want to share "attributes" so that the attribute "size" only exists once in the db but values ... | 0 | [
2,
2745,
2141,
20,
1718,
1246,
8,
15165,
13,
7,
10890,
106,
3915,
7,
60,
800,
3726,
3726,
408,
395,
31,
57,
53,
1061,
26,
2137,
9,
206,
349,
63,
13422,
45,
1665,
15,
1072,
15,
1763,
15,
2722,
9,
9,
9,
31,
259,
3878,
20,
1655... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regular Expression to get chunk of Alpha characters around a forward slash (JAVA)
===
I'm not really good at regular expressions so I need some help here.
I have a long string of garbled characters (special and alpha numeric); however somewhere in the middle I have a chunk that I'm interested in where it has two se... | 0 | [
2,
1290,
1803,
20,
164,
15009,
16,
5705,
1766,
140,
21,
917,
14098,
13,
5,
1004,
1385,
6,
800,
3726,
3726,
31,
22,
79,
52,
510,
254,
35,
1290,
13832,
86,
31,
376,
109,
448,
235,
9,
31,
57,
21,
175,
3724,
16,
19646,
1294,
1766,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
should job schedulers be shared in a soa environment?
===
Say for example, an accounting service has a need to schedule ledger update jobs,
1. should the accounting service include it's own scheduler? or,
2. should job scheduling be a shared service?
I guess option (a) makes the service more autonomous?
... | 0 | [
2,
378,
1205,
4345,
1224,
44,
2592,
19,
21,
86,
58,
2307,
60,
800,
3726,
3726,
395,
26,
823,
15,
40,
10090,
365,
63,
21,
376,
20,
4345,
481,
1674,
11100,
4844,
15,
137,
9,
378,
14,
10090,
365,
468,
32,
22,
18,
258,
4345,
139,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Named tuple and optional keyword arguments
===
I'm trying to convert a longish hollow "data" class into a named tuple. My class currently looks like this:
class Node(object):
def __init__(self, val, left=None, right=None):
self.val = val
self.left = left
self.ri... | 0 | [
2,
377,
2289,
5106,
17,
12832,
1246,
9587,
10553,
800,
3726,
3726,
31,
22,
79,
749,
20,
8406,
21,
175,
1595,
7456,
13,
7,
18768,
7,
718,
77,
21,
377,
2289,
5106,
9,
51,
718,
871,
1879,
101,
48,
45,
718,
15421,
5,
23793,
6,
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... |
triggering route from a link
===
I have a multilingual website where the visitors can change language using a drop down list.
This drop down list is made of several a links, foreaxmple:
<a class="es-ES" href="javascript:void(0);"> <img src="/Content/images/Flags/flag_spain.png" alt="İspa... | 0 | [
2,
7286,
68,
858,
37,
21,
3508,
800,
3726,
3726,
31,
57,
21,
1889,
23427,
2271,
113,
14,
4531,
92,
753,
816,
568,
21,
2804,
125,
968,
9,
48,
2804,
125,
968,
25,
117,
16,
238,
21,
6271,
15,
26,
62,
7522,
79,
5106,
45,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cygwin Diff always returns exit code 57
===
the Diff utility on my Cygwin always returns exit code of 57, no matter if files match, missmatch or do not exists.
I have installed diffutils successfully;
$ cygcheck -c diffutils
Cygwin Package Information
Package Version Status
diffutils ... | 0 | [
2,
6728,
263,
4181,
20811,
550,
4815,
4350,
1797,
6544,
800,
3726,
3726,
14,
20811,
10082,
27,
51,
6728,
263,
4181,
550,
4815,
4350,
1797,
16,
6544,
15,
90,
1161,
100,
6488,
730,
15,
1501,
12280,
54,
107,
52,
5636,
9,
31,
57,
4066... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fetching the comment from Disqus
===
Currently I am using the Disqus in my Ruby on Rails App for the comment functionality.I've an article section so user comes and create various articles. And other user can see those articles and make comments on those.
So I want fetch the all comments made by a particular User l... | 0 | [
2,
18312,
68,
14,
6484,
37,
1460,
5495,
18,
800,
3726,
3726,
871,
31,
589,
568,
14,
1460,
5495,
18,
19,
51,
10811,
27,
2240,
18,
4865,
26,
14,
6484,
18548,
9,
49,
22,
195,
40,
2002,
1050,
86,
4155,
1624,
17,
1600,
617,
3376,
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... |
CSS transition fade in
===
So I have used CSS transitions before but I have a unique case with this one. I am writing a custom plugin for creating modals. Essentially I create a div on the fly (document.createElement('div')) and append it to the body with a few classes. These classes define color and opacity. I wou... | 0 | [
2,
272,
18,
18,
4513,
11381,
19,
800,
3726,
3726,
86,
31,
57,
147,
272,
18,
18,
4513,
18,
115,
47,
31,
57,
21,
2619,
610,
29,
48,
53,
9,
31,
589,
1174,
21,
5816,
10922,
108,
26,
2936,
13,
20756,
18,
9,
7398,
31,
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... |
jquery select return both options when click not the most recent
===
my question may sound a little confusion, but i hope after reading this it will be a little more clearer.
html
<form id="form">
selected: <input type="text" name="opt" id="opt">
<ul id="list">
<li>car</li>
<li>bus</li>
... | 0 | [
2,
487,
8190,
93,
5407,
788,
156,
6368,
76,
10840,
52,
14,
127,
1764,
800,
3726,
3726,
51,
1301,
123,
646,
21,
265,
5677,
15,
47,
31,
1376,
75,
1876,
48,
32,
129,
44,
21,
265,
91,
1207,
106,
9,
13,
15895,
13,
1,
4190,
4924,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
solve equation,strange resule
===
here is my code to solve equation:
fx=function(x){ x^3-x-3}
solve=function(a,b,eps){
if(abs(fx(a))<0.00001) return(list(root=a,fun=fx(a)))
else if(abs(fx(b))<0.00001) return(list(root=b,fun=fx(b)))
else if (fx(a)*fx(b)>0) return(list(r... | 0 | [
2,
8402,
8020,
15,
21516,
10719,
9813,
800,
3726,
3726,
235,
25,
51,
1797,
20,
8402,
8020,
45,
13,
16488,
3726,
22359,
5,
396,
6,
1,
993,
1,
240,
8,
396,
8,
240,
1,
8402,
3726,
22359,
5,
58,
15,
220,
15,
3492,
18,
6,
1,
100,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to resize the frame afte anevent happened?
===
I created a form to choose a database service such as SQL server and Oracle, and its version .then connect to it by clicking the Connect button....but before connection is made, some parameters should be set in order to place in URL...
jButton2 = new JButton();
... | 0 | [
2,
184,
20,
302,
10454,
14,
3523,
18465,
62,
40,
4943,
38,
1190,
60,
800,
3726,
3726,
31,
679,
21,
505,
20,
3538,
21,
6018,
365,
145,
28,
4444,
255,
8128,
17,
15759,
15,
17,
82,
615,
13,
9,
2504,
6379,
20,
32,
34,
25590,
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... |
trying to find "top n" but getting some errors with dates
===
Let's say I am trying to find the top 10 icecream flavors sold by a store starting from this month. My current query however only gives me the top ten flavors from 7/01
select *
from buy_history
where date > '2012-07-01 00:00:00'
grou... | 0 | [
2,
749,
20,
477,
13,
7,
3880,
13,
103,
7,
47,
1017,
109,
11908,
29,
4076,
800,
3726,
3726,
408,
22,
18,
395,
31,
589,
749,
20,
477,
14,
371,
332,
1392,
22738,
11974,
18,
945,
34,
21,
1718,
1422,
37,
48,
1617,
9,
51,
866,
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... |
ASP.Net 4 session data missing with Safari 5.1.5
===
I am having a strange issue with Safari 5.1.5, I have an ASP.NET page (version 4) that is making use of a wziard control. On a particular step of the wizard I am collecting information, the user is required to click a link button which performs a postback and popula... | 0 | [
2,
28,
306,
9,
2328,
268,
3723,
1054,
2863,
29,
25055,
331,
9,
165,
9,
264,
800,
3726,
3726,
31,
589,
452,
21,
2578,
1513,
29,
25055,
331,
9,
165,
9,
264,
15,
31,
57,
40,
28,
306,
9,
2328,
2478,
13,
5,
10898,
268,
6,
30,
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 Function Returns Column Value
===
With the help of StackOverflow I have a MySQL query that works. After making a few changes it returns `zip` and `distance`. I been trying to make a Function to set parameters for the given lat and lng values and return the zip from the other table. However the query returns two ... | 0 | [
2,
51,
18,
22402,
1990,
4815,
4698,
1923,
800,
3726,
3726,
29,
14,
448,
16,
7566,
2549,
9990,
31,
57,
21,
51,
18,
22402,
25597,
30,
693,
9,
75,
544,
21,
310,
1693,
32,
4815,
13,
1,
2553,
306,
1,
17,
13,
1,
13357,
1,
9,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I grab Grails messages strings before returning the messages entry string and args?
===
Obviously simplified, but I'm attempting to build a string which I would pass into another messages.properties entry. For example, maybe I had entries that looked like this:
someField.sillyError.good=good
someField.... | 0 | [
2,
92,
31,
4931,
489,
7301,
18,
7561,
7887,
115,
2485,
14,
7561,
2792,
3724,
17,
13,
10663,
18,
60,
800,
3726,
3726,
4409,
13,
11268,
15,
47,
31,
22,
79,
6314,
20,
1895,
21,
3724,
56,
31,
83,
1477,
77,
226,
7561,
9,
10890,
106... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 obtain a list of page posts including ghost/dark posts for a page?
===
The regular `https://graph.facebook.com/PAGE_ID/posts?access_token___` call just returns standard page posts. How can I include these? | 0 | [
2,
184,
92,
31,
5545,
21,
968,
16,
2478,
9868,
215,
3995,
118,
13754,
9868,
26,
21,
2478,
60,
800,
3726,
3726,
14,
1290,
13,
1,
21127,
18,
6903,
9614,
9,
6413,
5199,
9,
960,
118,
6486,
1,
1340,
118,
6962,
18,
60,
20604,
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,
0,
0... |
Can't getting links in google maps v3 to open marker infowindows
===
I have a problem getting links in google maps v3 to open marker infowindows.
Can anyone help with this please.
Code is here: http://pastebin.com/PgTtzdBq
Thanks | 0 | [
2,
92,
22,
38,
1017,
6271,
19,
8144,
6867,
566,
240,
20,
368,
13289,
15404,
27508,
18,
800,
3726,
3726,
31,
57,
21,
1448,
1017,
6271,
19,
8144,
6867,
566,
240,
20,
368,
13289,
15404,
27508,
18,
9,
92,
1276,
448,
29,
48,
2247,
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... |
I have a race condition in my code
===
How do I know? Well the code works 8 out of 10 times, I don't know how can you help me but anyway I hope you can, code:
#pragma optimize( "", off )
#include <string>
#include <vector>
#include <ctime>
#include "utils/settings.h"
#include "ut... | 3 | [
2,
31,
57,
21,
764,
2874,
19,
51,
1797,
800,
3726,
3726,
184,
107,
31,
143,
60,
134,
14,
1797,
693,
469,
70,
16,
332,
436,
15,
31,
221,
22,
38,
143,
184,
92,
42,
448,
55,
47,
2774,
31,
1376,
42,
92,
15,
1797,
45,
6926,
731... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ModX: Resource Content box not appearing when editing resource
===
I went to edit a page on my ModX Evo site and cannot access any of the content in my resource. The box 'Resource Content', that usually holds TinyMCE is not appearing at all. I have tried on multiple browsers and even another machine, but it is just no... | 0 | [
2,
7226,
396,
45,
6577,
2331,
1649,
52,
4870,
76,
9510,
6577,
800,
3726,
3726,
31,
296,
20,
9392,
21,
2478,
27,
51,
7226,
396,
13,
11190,
689,
17,
1967,
1381,
186,
16,
14,
2331,
19,
51,
6577,
9,
14,
1649,
13,
22,
99,
12097,
23... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 tree structure data from mysql
===
i am using mysql,
problem is , i have a group id like '101' and i want to get all device id's which is under his account and also those id's which are under its sub groups
for eg: if group id is 101: then
device_id should be
1. 44444
2. 33333
3. 55555
... | 0 | [
2,
164,
1541,
1411,
1054,
37,
51,
18,
22402,
800,
3726,
3726,
31,
589,
568,
51,
18,
22402,
15,
1448,
25,
13,
15,
31,
57,
21,
214,
4924,
101,
13,
22,
12811,
22,
17,
31,
259,
20,
164,
65,
3646,
4924,
22,
18,
56,
25,
131,
33,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
create base dn using jndi
===
I am creating the basedn in openDJ using JNDI but i am getting the below error.
javax.naming.NameNotFoundException: [LDAP: error code 32 - The provided entry dc=naren,dc=naren cannot be added because its suffix is not defined as one of the suffixes within the Directory Server]; remain... | 0 | [
2,
1600,
1000,
13,
43,
103,
568,
487,
9805,
800,
3726,
3726,
31,
589,
2936,
14,
432,
103,
19,
368,
14365,
568,
487,
9805,
47,
31,
589,
1017,
14,
1021,
7019,
9,
8247,
396,
9,
6865,
68,
9,
7259,
1270,
12235,
10066,
872,
45,
636,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
emberjs array binding not auto update
===
I try to bind a array from another array's change. but it not work.
The test.js code like this:
var App = Em.Application.create();
Item = Ember.Object.extend({
name: null
});
CompareItem = Ember.Object.extend({
i: null,
... | 0 | [
2,
13,
19603,
728,
18,
7718,
8728,
52,
3108,
11100,
800,
3726,
3726,
31,
1131,
20,
10193,
21,
7718,
37,
226,
7718,
22,
18,
753,
9,
47,
32,
52,
170,
9,
14,
1289,
9,
728,
18,
1797,
101,
48,
45,
4033,
4865,
800,
3579,
9,
2552,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Camel Spring-WS. Setting custom SOAP header
===
I have configured Camel SOAP proxy service using Spring DSL. Everything was working nice untill I found that I need to set a custom header inside <soapenv:Header/> for SOAP response message.
I am using spring-ws component and latest Camel 2.10.0.
Here is an example... | 0 | [
2,
15386,
1573,
8,
10268,
9,
2697,
5816,
6447,
157,
106,
800,
3726,
3726,
31,
57,
28895,
15386,
6447,
27188,
365,
568,
1573,
13,
43,
18,
255,
9,
796,
23,
638,
2210,
163,
255,
31,
216,
30,
31,
376,
20,
309,
21,
5816,
157,
106,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
footer for gridview
===
i have a gridView and i generate the data of column[6] by myself using code behind.
by looking at the code below, i have a footer for my gridview. and the problem is my text for column[6] won't appear if i use footer. if i delete the footertext code, then my text for column[6] is appear. wha... | 0 | [
2,
1749,
106,
26,
7354,
4725,
800,
3726,
3726,
31,
57,
21,
7354,
4725,
17,
31,
7920,
14,
1054,
16,
4698,
2558,
379,
500,
34,
992,
568,
1797,
439,
9,
34,
699,
35,
14,
1797,
1021,
15,
31,
57,
21,
1749,
106,
26,
51,
7354,
4725,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
delete file from jetty server using java 7
===
I am working on web application which is running on jetty server.
In this application I am uploading and image and use this image in my jsp page.
Now when I want to delete it using
Files.delete(File Path)
It gives me error
java.nio.file.FileSystemException:... | 0 | [
2,
27448,
3893,
37,
17341,
93,
8128,
568,
8247,
453,
800,
3726,
3726,
31,
589,
638,
27,
2741,
3010,
56,
25,
946,
27,
17341,
93,
8128,
9,
19,
48,
3010,
31,
589,
71,
16866,
17,
1961,
17,
275,
48,
1961,
19,
51,
487,
3401,
2478,
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... |
Is there a good CMS framework that easy to develop and maintenance?
===
I'm a developer, sometimes my friends ask me to make a site for them, maybe that's not complicated or only a few data process functions. But even a tiny function requires time to develop, test and maintenance. And as I'm a background developer, ev... | 4 | [
2,
25,
80,
21,
254,
2390,
18,
6596,
30,
2010,
20,
2803,
17,
5010,
60,
800,
3726,
3726,
31,
22,
79,
21,
10058,
15,
1030,
51,
954,
1349,
55,
20,
233,
21,
689,
26,
105,
15,
913,
30,
22,
18,
52,
8343,
54,
104,
21,
310,
1054,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Add after event listener in configuration
===
I know it is possible to add listeners to events that fire after the event has fired like this:
oDocumentCategories.addAfterListener("activeitemchange", function(oContainer, sValue, oldValue){
//Do stuff here
});
But is it also possible to attach th... | 0 | [
2,
3547,
75,
807,
21772,
19,
8091,
800,
3726,
3726,
31,
143,
32,
25,
938,
20,
3547,
15672,
20,
963,
30,
535,
75,
14,
807,
63,
3899,
101,
48,
45,
635,
28132,
14375,
1596,
9,
14854,
5162,
13891,
106,
5,
7,
7889,
2119,
79,
16229,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Facebook Comment box below each post for facebook application
===
Im creating a forum applicationon facebook where users can post a query and it is answerd by some experts.
below each query a facebook coment box has to appear.now the problem is that the comments in all the boxes are the same.
how do i have separate... | 0 | [
2,
9090,
6484,
1649,
1021,
206,
678,
26,
9090,
3010,
800,
3726,
3726,
797,
2936,
21,
5691,
3010,
218,
9090,
113,
3878,
92,
678,
21,
25597,
17,
32,
25,
1623,
43,
34,
109,
8365,
9,
1021,
206,
25597,
21,
9090,
326,
1130,
1649,
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... |
Implementing INotfyPropertyChanged for calculated properties
===
i am a bit new to MVVM, and was wondering
lets say i have defined `ObservableCollection<Differences> Diffs`
i also have a property such
public bool IsSame
{
get
{
return Diffs.Count == 0;
}
... | 0 | [
2,
17333,
19,
2779,
9596,
10890,
106,
1084,
16229,
43,
26,
10785,
3704,
800,
3726,
3726,
31,
589,
21,
1142,
78,
20,
17967,
20147,
15,
17,
23,
5712,
6884,
395,
31,
57,
2811,
13,
1,
4995,
10321,
579,
15015,
872,
1,
1115,
6866,
2940,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Setting Active Directory User Password Error (RPC-Server is unavailable)
===
I'm creating an ASP.NET Web Application which should set a password on an event.
Now I always get the error "RPC-Server is unavailable. (Exception HRESULT: 0x800706BA)"
PrincipalContext context = new PrincipalContext(ContextType.Doma... | 0 | [
2,
2697,
1348,
16755,
4155,
20884,
7019,
13,
5,
139,
5779,
8,
10321,
106,
25,
22563,
6,
800,
3726,
3726,
31,
22,
79,
2936,
40,
28,
306,
9,
2328,
2741,
3010,
56,
378,
309,
21,
20884,
27,
40,
807,
9,
130,
31,
550,
164,
14,
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... |
Visual Studio 2010 MS Build
===
Is there a way to see the default command line arguments that Visual Studio 2010 uses for deploying a project? | 0 | [
2,
3458,
1120,
498,
4235,
1895,
800,
3726,
3726,
25,
80,
21,
161,
20,
196,
14,
12838,
1202,
293,
10553,
30,
3458,
1120,
498,
2027,
26,
17617,
68,
21,
669,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to get x and y coordinates of image inside an imageview in android?
===
I stuck in this problem, I have an imageView and I would like to get a position of my touch only inside the image. When I touch out of image I must display x=0 and y=0. In this app I must know resize, zoom and rotate the image, there functions... | 0 | [
2,
184,
20,
164,
993,
17,
13,
93,
13714,
16,
1961,
572,
40,
1961,
4725,
19,
13005,
60,
800,
3726,
3726,
31,
4549,
19,
48,
1448,
15,
31,
57,
40,
1961,
4725,
17,
31,
83,
101,
20,
164,
21,
649,
16,
51,
1723,
104,
572,
14,
1961,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MFC button not appearing as topmost
===
I have a vector of buttons that I want them to appear in two dialogs. Some in my current window, other one in parent of the current window. And I want them to appear as topmost.
So, for the current window, it works ok.
For the parent window, I set the parent, the button is b... | 0 | [
2,
307,
7061,
5167,
52,
4870,
28,
371,
4630,
800,
3726,
3726,
31,
57,
21,
7497,
16,
12861,
30,
31,
259,
105,
20,
1893,
19,
81,
28223,
18,
9,
109,
19,
51,
866,
1463,
15,
89,
53,
19,
4766,
16,
14,
866,
1463,
9,
17,
31,
259,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Update screen content based on select box change using f:ajax
===
I'm using JSF2 with Richfaces 4.
I have the following JSF:
<h:panelGrid columns="2" cellspacing="5">
<h:outputLabel value="#{msg.FrequencyOfSpending}" />
<h:selectOneMenu id="ruleFrequencyOptions" value="#{Rule.ruleControls.C... | 0 | [
2,
11100,
2324,
2331,
432,
27,
5407,
1649,
753,
568,
398,
45,
6881,
7522,
800,
3726,
3726,
31,
22,
79,
568,
487,
18,
410,
135,
29,
2042,
6413,
18,
268,
9,
31,
57,
14,
249,
487,
18,
410,
45,
13,
1,
252,
45,
3206,
532,
16375,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
IE loads same css on one page all the time wrong
===
IE loads same css to all page but on one page it shows CSS WRONG! ALL THE TIME.
when you click on other pages it loads same css and it's fine! i can't figure out why it shows it wrong! when i try to inspect CSS throe browsers (ff, chrome, IE) they show identical st... | 0 | [
2,
13,
660,
19069,
205,
272,
18,
18,
27,
53,
2478,
65,
14,
85,
1389,
800,
3726,
3726,
13,
660,
19069,
205,
272,
18,
18,
20,
65,
2478,
47,
27,
53,
2478,
32,
1285,
272,
18,
18,
1389,
187,
65,
14,
85,
9,
76,
42,
10840,
27,
89... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
using preg_replace in php to remove space in php
===
I have the following String `+ Example + Test + Test2` and using preg_replace I would like to get the following result `+Example +Test +Test2`
I have been trying to use the following code
preg_replace("/\s*([\+])\s*/", "$1", $string)
but this one is re... | 0 | [
2,
568,
782,
263,
1,
99,
5119,
19,
13,
26120,
20,
4681,
726,
19,
13,
26120,
800,
3726,
3726,
31,
57,
14,
249,
3724,
13,
1,
2430,
823,
2754,
1289,
2754,
1289,
135,
1,
17,
568,
782,
263,
1,
99,
5119,
31,
83,
101,
20,
164,
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... |
did two sequential glDrawPixels works for alpha blend?
===
I want to blend two tga images with alpha channel assigned. the base image and the foreground image, and the foreground image has just several characters with the alpha set to 255, and the rest alpha value of the foreground image is set to 0. with this foregro... | 0 | [
2,
144,
81,
1353,
5495,
10107,
13,
8430,
43,
12404,
18321,
6798,
693,
26,
5705,
11138,
60,
800,
3726,
3726,
31,
259,
20,
11138,
81,
13,
38,
1136,
3502,
29,
5705,
1318,
2467,
9,
14,
1000,
1961,
17,
14,
26,
62,
8810,
1961,
15,
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... |
Using JUnit Categories with Maven Failsafe plugin
===
I'm using JUnit Categories to separate integration tests from unit tests. The Surefire plugin configuration works - it skips the tests annotated with my marker interface IntegrationTest.
However, the Failsafe plugin doesn't pick the integration tests. I've even ... | 0 | [
2,
568,
7446,
242,
6422,
29,
1216,
3124,
7476,
18166,
10922,
108,
800,
3726,
3726,
31,
22,
79,
568,
7446,
242,
6422,
20,
1725,
8078,
4894,
37,
1237,
4894,
9,
14,
562,
5929,
10922,
108,
8091,
693,
13,
8,
32,
12532,
18,
14,
4894,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
generating tables from jpa with limited character length
===
I want to create a text field in a database with varchar(700) (I want 700 characters max).
I tried to define it like this:
@Entity
@Table(name = "t_foo)
public class Foo {
@Column(unique = true, nullable = false)
@Id
privat... | 0 | [
2,
13500,
7484,
37,
487,
1060,
29,
1317,
925,
1476,
800,
3726,
3726,
31,
259,
20,
1600,
21,
1854,
575,
19,
21,
6018,
29,
4033,
5433,
5,
7915,
6,
13,
5,
49,
259,
10954,
1766,
2049,
6,
9,
31,
794,
20,
9267,
32,
101,
48,
45,
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... |
Get Window Handle of Chrome Tab from Within Extension?
===
I've written a Chrome Extension (w/ NPAPI as well) that allows my application and Chrome to communicate with each other. That is all mostly working fine.
What I'm trying to do now is be able to tie the HWND of a Chrome window to a particular Window ID & Tab... | 0 | [
2,
164,
1463,
3053,
16,
13,
12985,
6523,
37,
363,
3896,
60,
800,
3726,
3726,
31,
22,
195,
642,
21,
13,
12985,
3896,
13,
5,
499,
118,
13,
103,
1060,
2159,
28,
134,
6,
30,
2965,
51,
3010,
17,
13,
12985,
20,
8709,
29,
206,
89,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is an EventListener in contrast to an EventHandler?
===
How can I implement one? Will it work across multiple assemblies? If not, how can I make it work? | 4 | [
2,
98,
25,
40,
807,
13891,
106,
19,
3710,
20,
40,
807,
3203,
1252,
60,
800,
3726,
3726,
184,
92,
31,
8713,
53,
60,
129,
32,
170,
464,
1886,
21066,
60,
100,
52,
15,
184,
92,
31,
233,
32,
170,
60,
3,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Create copy of a database only schema
===
I am relativley new to MS SQL server. I need to create a test database from exisitng test data base with same schema and get the data from production and fill the newly created empty database. For this I was using generate scripts in SSMS. But now I need to do it on regular ba... | 0 | [
2,
1600,
4344,
16,
21,
6018,
104,
23874,
800,
3726,
3726,
31,
589,
302,
8927,
3757,
631,
78,
20,
4235,
4444,
255,
8128,
9,
31,
376,
20,
1600,
21,
1289,
6018,
37,
1396,
403,
242,
2723,
1289,
1054,
1000,
29,
205,
23874,
17,
164,
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... |
Atan2 table c++
===
I'm trying to calculate the angles of two points in 2D space. It works with the following:
double angle;
x = player->x - x;
z = player->z - y;
angle = atan2 (x, y);
angle *= (180.0 / M_PI);
if(angle < 0) angle += 360;
if(angle >= 360) angle -= 360;
re... | 0 | [
2,
35,
210,
135,
859,
272,
20512,
800,
3726,
3726,
31,
22,
79,
749,
20,
18469,
14,
13280,
16,
81,
819,
19,
172,
43,
726,
9,
32,
693,
29,
14,
249,
45,
1494,
5334,
73,
993,
800,
517,
8,
1,
396,
13,
8,
993,
73,
2052,
800,
517... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Perl framework for html
===
I want to authorise a team dedicatedly for password reset/printer queue delete kind of L1 tasks. I have planned to do so via 1 menu using Perl script. And I want it to be front end at HTML. I don't want user to login in server's black screen. They just login into web portal-> see the menu->... | 1 | [
2,
416,
255,
6596,
26,
13,
15895,
800,
3726,
3726,
31,
259,
20,
1314,
2628,
21,
173,
2360,
102,
26,
20884,
23422,
118,
10299,
106,
22521,
27448,
825,
16,
644,
165,
8674,
9,
31,
57,
2035,
20,
107,
86,
1197,
137,
11379,
568,
416,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Beanshell - using arraylist
===
I am using beanshell and i want to use arraylist
My code -
import java.util.*;
List test= new ArrayList();
test.add("Last Name");
But I am getting following exception
Caused by: org.apache.bsf.BSFException: BeanShell script error:Typed variable dec... | 0 | [
2,
14685,
11239,
13,
8,
568,
7718,
5739,
800,
3726,
3726,
31,
589,
568,
14685,
11239,
17,
31,
259,
20,
275,
7718,
5739,
51,
1797,
13,
8,
9010,
8247,
9,
14255,
9,
2483,
73,
968,
1289,
3726,
78,
7718,
5739,
5,
6,
73,
1289,
9,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can We use flash content in an android application And will it work as Jelly Bean is not supporting flash..?
===
tell Guys that will flash content will work in applications on android jelly bean as its not supporting flash...Share your knowledge about this.. | 0 | [
2,
92,
95,
275,
4433,
2331,
19,
40,
13005,
3010,
17,
129,
32,
170,
28,
18749,
15322,
25,
52,
3134,
4433,
9,
9,
60,
800,
3726,
3726,
494,
2776,
30,
129,
4433,
2331,
129,
170,
19,
3767,
27,
13005,
18749,
15322,
28,
82,
52,
3134,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0... |
Strings.exe won't print output?
===
I'm trying to extract information from a dump of a file with LZX Compression, I am using Strings.exe as that displays what I need to add for the rest of the other project to compile in 'Low Level' PPC.
I've tried going onto COMMAND PROMPT and typing this:
CD Desktop strings.ex... | 0 | [
2,
7887,
9,
1706,
62,
230,
22,
38,
4793,
5196,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
10962,
676,
37,
21,
11424,
16,
21,
3893,
29,
644,
380,
396,
14864,
15,
31,
589,
568,
7887,
9,
1706,
62,
28,
30,
9412,
98,
31,
376,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use TCPDF with PHP mail function
===
$to = 'my@email.ca';
$subject = 'Receipt';
$repEmail = 'rep@sales.ca';
$fileName = 'receipt.pdf';
$fileatt = $pdf->Output($fileName, 'E');
$attachment = chunk_split($fileatt);
$eol = PHP_EOL;
$separator = md5(time());
$headers ... | 0 | [
2,
184,
20,
275,
13,
6668,
11124,
29,
13,
26120,
4216,
1990,
800,
3726,
3726,
5579,
262,
800,
13,
22,
915,
1,
62,
8079,
9,
793,
22,
73,
5579,
28743,
800,
13,
22,
99,
1105,
4307,
38,
22,
73,
5579,
99,
1664,
8079,
800,
13,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Find the location and determine the corresponding value of another array having the same location of one array
===
if a=[5 8 1 2 6 7 1 4 2 3 7 8],b=[ 7 6 3 1 5 4 2 0 1 8 9 4]
a1=[1 7 3] corresponds to a matrix and
d should be [3 4 8]..d is the exact location of the corresponding a value can i get me this in matlab | 0 | [
2,
477,
14,
1474,
17,
3746,
14,
7265,
1923,
16,
226,
7718,
452,
14,
205,
1474,
16,
53,
7718,
800,
3726,
3726,
100,
21,
3726,
2558,
264,
469,
137,
172,
400,
453,
137,
268,
172,
203,
453,
469,
500,
15,
220,
3726,
2558,
453,
400,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What folder should i put my production website into?
===
I will be running 2 vhosts (dev and production). I'm thinking about creating 2 users (dev and prod) and directing apache to look into /home/dev/www and /home/prod/www. If I do this I will need to give apache the proper permissions to manage those folders.
Do... | 0 | [
2,
98,
19294,
378,
31,
442,
51,
637,
2271,
77,
60,
800,
3726,
3726,
31,
129,
44,
946,
172,
566,
11694,
18,
13,
5,
14438,
17,
637,
6,
9,
31,
22,
79,
1440,
88,
2936,
172,
3878,
13,
5,
14438,
17,
895,
43,
6,
17,
10329,
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,
1... |
R: `unlist` using a lot of time when summing a subset of a matrix
===
I have a program which pulls data out of a MySQL database, decodes a pair of
binary columns, and then sums together a subset of of the rows within the pair
of binary columns. Running the program on a sample data set takes 12-14 seconds,
with 9-10... | 0 | [
2,
761,
45,
13,
1,
1020,
5739,
1,
568,
21,
865,
16,
85,
76,
3907,
3863,
21,
16622,
16,
21,
8187,
800,
3726,
3726,
31,
57,
21,
625,
56,
8071,
1054,
70,
16,
21,
51,
18,
22402,
6018,
15,
12015,
3196,
21,
2146,
16,
14171,
7498,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Serving raw JSON and processing images via API across multiple applications
===
SO,
I thought about putting this on severfault, but it's more of a coding question.
I've developed an API that uses LAMP to serve and receive data from multiple applications (android, iphone, etc)
It's main tasks are doing mysql q... | 0 | [
2,
1799,
4333,
487,
528,
17,
5511,
3502,
1197,
21,
2159,
464,
1886,
3767,
800,
3726,
3726,
86,
15,
31,
289,
88,
3873,
48,
27,
15114,
410,
9708,
15,
47,
32,
22,
18,
91,
16,
21,
13,
15458,
1301,
9,
31,
22,
195,
885,
40,
21,
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... |
is this a secure implementation of password reset email
===
I am redesigning a password reset email mechanism because the existing implementation scares the hell out of me. My goal is to generate reset codes that are:
* Expired
* Tamper Resistant
* Single Use
* Resistant to replay attacks
The format of the re... | 2 | [
2,
25,
48,
21,
4315,
6123,
16,
20884,
23422,
8517,
800,
3726,
3726,
31,
589,
23903,
68,
21,
20884,
23422,
8517,
6534,
185,
14,
3149,
6123,
11813,
18,
14,
1094,
70,
16,
55,
9,
51,
1195,
25,
20,
7920,
23422,
11358,
30,
50,
45,
163... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using CFUUIDRefs as a Dictionary's keys
===
I have a bunch of devices.
They each have a UUID that distinguishes them from each other.
Logically, this is the natural thing to key them by in a dictionary tracking them all, then.
However, the [device UUID] method passes back a CFUUIDRef.
First off, this isn't an ... | 0 | [
2,
568,
10084,
19612,
1340,
14057,
18,
28,
21,
9186,
22,
18,
5534,
800,
3726,
3726,
31,
57,
21,
7653,
16,
4690,
9,
59,
206,
57,
21,
13,
19612,
1340,
30,
9705,
160,
105,
37,
206,
89,
9,
11545,
102,
15,
48,
25,
14,
1112,
584,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Prevent connected socket from closing in Python
===
I have simple function that act like a **client**. It sents an event message and wait for an ack(I removed that part for simplicity). After that it'll get receive more messages:
def send_data(message):
"""Connect to server and get requests"""
... | 0 | [
2,
2501,
2587,
18482,
37,
4239,
19,
20059,
800,
3726,
3726,
31,
57,
1935,
1990,
30,
601,
101,
21,
13,
1409,
150,
18513,
38,
1409,
9,
32,
795,
18,
40,
807,
2802,
17,
1760,
26,
40,
13,
8735,
5,
49,
1974,
30,
141,
26,
20595,
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... |
Error in the page
===
Hi i am create a php script for my android application which authenticate the user. In that the following error is accured.
Connected WelcomeYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '‘ AND Password = ‘... | 0 | [
2,
7019,
19,
14,
2478,
800,
3726,
3726,
4148,
31,
589,
1600,
21,
13,
26120,
3884,
26,
51,
13005,
3010,
56,
14351,
1373,
14,
4155,
9,
19,
30,
14,
249,
7019,
25,
7602,
911,
69,
9,
2587,
5575,
245,
57,
40,
7019,
19,
154,
4444,
25... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Add tilted (floating) axes to overlay with standard axes
===
I am looking for a means to add an additional axis pair, both tilted and origin displaced. They should be added to axes already used for displaying an image.
The result should look somehow close to
y x+y
|\ /
9 | ... | 0 | [
2,
3547,
10203,
13,
5,
14712,
1880,
6,
10398,
18,
20,
84,
4414,
29,
1236,
10398,
18,
800,
3726,
3726,
31,
589,
699,
26,
21,
1108,
20,
3547,
40,
1351,
8577,
2146,
15,
156,
10203,
17,
2986,
14784,
9,
59,
378,
44,
905,
20,
10398,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AppleScript string concatenation in JavaScript
===
I'm trying to automate the Google Docs login process, but the methods that I thought would work yield nothing. The code is as follows.
display dialog "Username" default answer ""
set Username to the result
display dialog "Password" default answer "" w... | 0 | [
2,
4037,
8741,
3724,
1065,
9530,
7914,
19,
8247,
8741,
800,
3726,
3726,
31,
22,
79,
749,
20,
3108,
5281,
14,
8144,
9765,
18,
6738,
108,
953,
15,
47,
14,
3195,
30,
31,
289,
83,
170,
11537,
626,
9,
14,
1797,
25,
28,
2415,
9,
304... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Which python web framework has more tutorials / books / documentation and more resources to learn?
===
i know python well, i listed out to learn Django but the django book is 2 yrs old, only updated documentation is there, is this enough for learning Django?
Can you tell any other Framework with has pretty decent doc... | 4 | [
2,
56,
20059,
2741,
6596,
63,
91,
29724,
18,
13,
118,
964,
13,
118,
13945,
17,
91,
2566,
20,
2484,
60,
800,
3726,
3726,
31,
143,
20059,
134,
15,
31,
1510,
70,
20,
2484,
3857,
14541,
47,
14,
3857,
14541,
360,
25,
172,
13,
8040,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to get a facebook url like www.facebook.com/mysite
===
I have seen this everywhere, on television and now on bottles of Evian water. they have their Facebook page as [www.facebook.com/evianUK][1]
[1]: http://www.facebook.com/evianUK
I have created a company Facebook page for a website I'm building and I... | 0 | [
2,
184,
20,
164,
21,
9090,
287,
6362,
101,
13,
6483,
9,
6413,
5199,
9,
960,
118,
915,
9097,
800,
3726,
3726,
31,
57,
541,
48,
6417,
15,
27,
633,
17,
130,
27,
12619,
16,
13,
2443,
806,
308,
9,
59,
57,
66,
9090,
2478,
28,
636,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
App won't run on iOS 4.2, Architecture issue
===
I have an app that I developed in Xcode 4.3.2. I am using the base SDK as 5.1. The app installs fine in iOS 5.0 and above. But I need to support iOS 4.0 and above.
The compiler I am using is Apple LLVM compiler 3.1.
I have added both armv6 and armv7 to the archite... | 0 | [
2,
4865,
230,
22,
38,
485,
27,
13,
7760,
268,
9,
135,
15,
2607,
1513,
800,
3726,
3726,
31,
57,
40,
4865,
30,
31,
885,
19,
993,
9375,
268,
9,
240,
9,
135,
9,
31,
589,
568,
14,
1000,
13,
18,
43,
197,
28,
331,
9,
165,
9,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Reading line 3 to 5 from file, how do I make those line numbers into variables?
===
I am super new to perl but I am simply trying to open a file and reading some lines from it.
The code so far looks like this:
open FILE, "file.txt" or die "can not open file"; while (<FILE>) { print if
($.== 3..5) }
... | 0 | [
2,
1876,
293,
203,
20,
331,
37,
3893,
15,
184,
107,
31,
233,
273,
293,
2116,
77,
12157,
60,
800,
3726,
3726,
31,
589,
1026,
78,
20,
416,
255,
47,
31,
589,
1659,
749,
20,
368,
21,
3893,
17,
1876,
109,
1560,
37,
32,
9,
14,
179... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In ColdFusion, is there a numberFormat() mask to drop the decimal if it is 0?
===
I'm trying to format numbers so that 2 decimal places show up, unless it is a whole number - then I don't want a decimal point to show. I've tried `0.00`, `_.__`, `9.99` and several combinations. Is there a mask for the `numberFormat` ... | 0 | [
2,
19,
1191,
9818,
15,
25,
80,
21,
234,
23588,
5,
6,
5983,
20,
2804,
14,
26380,
100,
32,
25,
713,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
2595,
2116,
86,
30,
172,
26380,
1489,
298,
71,
15,
4003,
32,
25,
21,
979,
234,
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... |
Some Androids Uploading Scrambled Images
===
I am using this code to upload photos on Android devices:
public void uploadPhoto() {
try {
// Create HttpPost
HttpPost post = new HttpPost("http://www.example.com/upload.php");
HttpClient client = new DefaultHttpClient... | 0 | [
2,
109,
13005,
18,
71,
16866,
15089,
3502,
800,
3726,
3726,
31,
589,
568,
48,
1797,
20,
71,
8294,
7064,
27,
13005,
4690,
45,
317,
11364,
71,
8294,
25445,
5,
6,
13,
1,
1131,
13,
1,
12894,
1600,
7775,
6962,
7775,
6962,
678,
800,
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... |
Sprockets::CircularDependencyError application.js has already been required
===
In my application, I receive a Sprockets::CircularDependencyError application.js has already been required. This affects every page in my application because none of the JS loads. Note - this error occurred after a fairly complex merge. ... | 0 | [
2,
3782,
22950,
18,
45,
45,
25166,
19038,
8883,
29992,
3010,
9,
728,
18,
63,
614,
74,
1390,
800,
3726,
3726,
19,
51,
3010,
15,
31,
2588,
21,
3782,
22950,
18,
45,
45,
25166,
19038,
8883,
29992,
3010,
9,
728,
18,
63,
614,
74,
1390... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Enclose a variable in single quotes in Python
===
How do I enclose a variable within single quotations in python? It's probably very simple but I can't seem to get it! I need to url-encode the variable `term`. `Term` is entered in a form by a user and is passed to a function where it is url-encoded `term=urllib.quote(... | 0 | [
2,
1957,
14330,
21,
7612,
19,
345,
18901,
19,
20059,
800,
3726,
3726,
184,
107,
31,
1957,
14330,
21,
7612,
363,
345,
22786,
18,
19,
20059,
60,
32,
22,
18,
910,
253,
1935,
47,
31,
92,
22,
38,
2260,
20,
164,
32,
187,
31,
376,
20... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Unable to connect to SQL Server 2008 in .Net
===
i am working on one c#.net web service.
i have deployed a web service which is working perfectly on my local system but when i tries to run the same service on my virtual dedicated server it is giving error to me.
this is my connection string
con.ConnectionSt... | 0 | [
2,
2343,
20,
6379,
20,
4444,
255,
8128,
570,
19,
13,
9,
2328,
800,
3726,
3726,
31,
589,
638,
27,
53,
272,
5910,
9,
2328,
2741,
365,
9,
31,
57,
6698,
21,
2741,
365,
56,
25,
638,
5759,
27,
51,
375,
329,
47,
76,
31,
3919,
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 add swap to Amazon EC2 instance Ununtu 12.04 LTS?
===
default Ubuntu 12.04 LTS doesn't create swap for some reason.
Is there "proper" way to add it after install?
root@aux3:/disk1# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/xvda1 8.0G 1.4G 6.3G 18% /
udev 1.9G 12K 1... | 0 | [
2,
184,
20,
3547,
17150,
20,
8059,
6695,
135,
4851,
367,
1020,
2473,
390,
9,
3277,
7137,
18,
60,
800,
3726,
3726,
12838,
287,
12968,
2473,
390,
9,
3277,
7137,
18,
1437,
22,
38,
1600,
17150,
26,
109,
1215,
9,
25,
80,
13,
7,
10890... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 drop column and unused column
===
I have one table like test and 3 columns
1. Name
2 .id
3 .address
after some time i know one column is not in used then i have to drop one column `id` .
oracle has one feature to unused column so i didn't get what is differenc between `drop` column vs set `unused`... | 0 | [
2,
15759,
2804,
4698,
17,
18927,
4698,
800,
3726,
3726,
31,
57,
53,
859,
101,
1289,
17,
203,
7498,
137,
9,
204,
172,
13,
9,
1340,
203,
13,
9,
27950,
75,
109,
85,
31,
143,
53,
4698,
25,
52,
19,
147,
94,
31,
57,
20,
2804,
53,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Comet implementation on glassfish v3
===
I am trying to implement comet grizzly on my glassfish server v3.
I am trying to connect web server from desktop application using http url object.
I am creating ObjectInputStreamer and ObjectOutputStreamer at both client and web server.
In webserver servlet I am creat... | 0 | [
2,
15625,
6123,
27,
1350,
4934,
566,
240,
800,
3726,
3726,
31,
589,
749,
20,
8713,
15625,
29328,
27,
51,
1350,
4934,
8128,
566,
240,
9,
31,
589,
749,
20,
6379,
2741,
8128,
37,
17404,
3010,
568,
7775,
287,
6362,
3095,
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... |
How can I display the name of the prpt file on a report in Pentaho Report Designer
===
This maybe simple but I am trying to display the name of the report(.prpt file) in the Page footer section of the Pentaho report. Is there any way to do this in the Pentaho Report Designer? | 0 | [
2,
184,
92,
31,
3042,
14,
204,
16,
14,
5396,
4417,
3893,
27,
21,
1330,
19,
11734,
58,
1807,
1330,
4742,
800,
3726,
3726,
48,
913,
1935,
47,
31,
589,
749,
20,
3042,
14,
204,
16,
14,
1330,
5,
9,
4899,
4417,
3893,
6,
19,
14,
24... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linq Expression to execute existing expression on a child property
===
Here is a simple class
public class Parent
{
public Child Child { get; set; }
}
Here is the method I'm trying to implement
Expression<Func<Parent, long>> GetChildIDExpr(Expression<Func<Child, long>> objectIdExpr)... | 0 | [
2,
6294,
1251,
1803,
20,
15644,
3149,
1803,
27,
21,
850,
1354,
800,
3726,
3726,
235,
25,
21,
1935,
718,
317,
718,
4766,
13,
1,
317,
850,
850,
13,
1,
164,
73,
309,
73,
13,
1,
13,
1,
235,
25,
14,
2109,
31,
22,
79,
749,
20,
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... |
Fusion Tables Layer infoWindow list
===
I am trying to print queried FusionTablesLayer rows into a separate div rather than open the information in a standard infoWindow when a marker is clicked. Basically I am trying to show the info for each marker, just like you would get when doing a normal google maps search. The... | 0 | [
2,
11117,
7484,
5385,
15404,
27508,
968,
800,
3726,
3726,
31,
589,
749,
20,
4793,
9386,
11942,
11117,
5924,
18,
15187,
11295,
77,
21,
1725,
13,
12916,
864,
119,
368,
14,
676,
19,
21,
1236,
15404,
27508,
76,
21,
13289,
25,
15802,
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... |
Rails - Order videos by comments count
===
I have a `Video` model and a `VideoComment`one with an association to `Video`.
I am trying to find the **most commented videos**.
How can I do that? | 0 | [
2,
2240,
18,
13,
8,
389,
6610,
34,
7534,
2468,
800,
3726,
3726,
31,
57,
21,
13,
1,
14785,
1,
1061,
17,
21,
13,
1,
14785,
960,
1130,
1,
849,
29,
40,
607,
20,
13,
1,
14785,
1,
9,
31,
589,
749,
20,
477,
14,
13,
1409,
4630,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0... |
How can I edit command-line args in shortcuts generated by InstallShield?
===
Sometimes when an installer installs a program, and creates shortcuts, for some reason they aren't "normal" shortcuts. They have the Target textbox and Open File Location button greyed out, like such:
![][1]
I'm using InstallShield 201... | 0 | [
2,
184,
92,
31,
9392,
1202,
8,
1143,
13,
10663,
18,
19,
502,
4118,
18,
6756,
34,
16146,
29026,
60,
800,
3726,
3726,
1030,
76,
40,
16146,
106,
16146,
18,
21,
625,
15,
17,
9695,
502,
4118,
18,
15,
26,
109,
1215,
59,
4847,
22,
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 App Develop with Enterprise certificate
===
i hope some one can help me and clean up my understanding to handle the d
We are new in taking part in App Development, so we enroll for the 99$ in the iOS Dev Center.
Up to here all is clear and we know how to use the iOS Dev Center and XCode to develop Apps.
... | 0 | [
2,
184,
20,
4865,
2803,
29,
6002,
6259,
800,
3726,
3726,
31,
1376,
109,
53,
92,
448,
55,
17,
2745,
71,
51,
3260,
20,
3053,
14,
13,
43,
95,
50,
78,
19,
741,
141,
19,
4865,
522,
15,
86,
95,
19208,
26,
14,
7787,
4403,
19,
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... |
issue with url rewriting
===
i have multiple rules on web.config they are:
1. <rewrite url="~/(.+)-(.+)-(.+)-(.+)-(.+).aspx" to="~/byalphabetical.aspx?alph=$5"/>
this one works fine , it check the 5 string and base on that it goes to byalphabetical.aspx page.
2. <rewrite url="~/(.+)-(.+).aspx" to="~/... | 0 | [
2,
1513,
29,
287,
6362,
302,
12646,
800,
3726,
3726,
31,
57,
1886,
1761,
27,
2741,
9,
14093,
2816,
59,
50,
45,
137,
9,
13,
1,
99,
23716,
287,
6362,
3726,
7,
1,
118,
5,
9,
2430,
6,
8,
5,
9,
2430,
6,
8,
5,
9,
2430,
6,
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... |
json.loads function doesn't receive proper JSON - EXCEPTION: Expecting property name: line 1 column 1 (char 1)
===
I am on Windows 7 and my curl expression is as follows:
curl --header "X-CSRFToken: csrftoken" -X POST -H "Content-type:application/json" -d "{"username":"Steven"}"
However an exception is thrown ... | 0 | [
2,
487,
528,
9,
8294,
18,
1990,
1437,
22,
38,
2588,
4119,
487,
528,
13,
8,
5391,
45,
7752,
1354,
204,
45,
293,
137,
4698,
137,
13,
5,
5433,
137,
6,
800,
3726,
3726,
31,
589,
27,
1936,
453,
17,
51,
14320,
1803,
25,
28,
2415,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Declare Array Variable To Use In A Ruby On Rails View
===
I am using Ruby 1.9.3 and Rails 3.2.6. I want to create a page where users can invite friends to sign up. The page would contain a number of fields where a user can enter email addresses. I would like these stored in an array. Basically each field on the pa... | 0 | [
2,
10123,
7718,
7612,
20,
275,
19,
21,
10811,
27,
2240,
18,
1418,
800,
3726,
3726,
31,
589,
568,
10811,
137,
9,
518,
9,
240,
17,
2240,
18,
203,
9,
135,
9,
379,
9,
31,
259,
20,
1600,
21,
2478,
113,
3878,
92,
10275,
954,
20,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mysql2 gem Can't build native extensions
===
Our intern's computer is having problems installing the mysql2 gem. We just upgraded his computer from OS X 10.6 to 10.8 (Mountain Lion). I have tried installing mysql through homebrew and through the 64 bit DMG installer. I also tried symlinking to the dev tools (as poi... | 0 | [
2,
51,
18,
22402,
135,
8551,
92,
22,
38,
1895,
1275,
17529,
800,
3726,
3726,
318,
19297,
22,
18,
1428,
25,
452,
1716,
25429,
14,
51,
18,
22402,
135,
8551,
9,
95,
114,
9958,
33,
1428,
37,
13,
759,
993,
332,
9,
379,
20,
332,
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... |
Mysterious UDP packages altering TCP window size
===
I have a robotic device that asks me for measurement data over ethernet, about 20 times per second. It sends UDP packets to port 5020 for every request, and expects me to answer. I use a Linux box together with my sensor. A usual pair of request and answer looks ... | 0 | [
2,
6896,
287,
7431,
16875,
7835,
68,
13,
38,
7439,
1463,
1072,
800,
3726,
3726,
31,
57,
21,
15219,
3646,
30,
3913,
55,
26,
11688,
1054,
84,
27820,
15,
88,
434,
436,
416,
153,
9,
32,
11350,
287,
7431,
12795,
18,
20,
1295,
1222,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What has changed in Terminal.app in OS X 10.8?
===
Just upgraded OS X to Mountain Lion and noticed that Terminal.app version has changed from 2.2.3 to 2.3. Unfortunately, can`t find any information about what has changed.
Do you know if there is any place that provides very detailed changelog regarding OS and Apps?
... | 0 | [
2,
98,
63,
1015,
19,
3855,
9,
7753,
19,
13,
759,
993,
332,
9,
457,
60,
800,
3726,
3726,
114,
9958,
13,
759,
993,
20,
1286,
6023,
17,
2711,
30,
3855,
9,
7753,
615,
63,
1015,
37,
172,
9,
135,
9,
240,
20,
172,
9,
240,
9,
6200... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Difficulties with long-lived TCP connections in ASP.NET server-side code during local debugging
===
Let's say you have an ASP.NET website that you launched locally from VS2010, using IIS Express . You test the app, decide you want to make some changes. You stop the debugger. But, in actuality, the application is st... | 0 | [
2,
8075,
29,
175,
8,
8279,
13,
38,
7439,
6760,
19,
28,
306,
9,
2328,
8128,
8,
1416,
1797,
112,
375,
121,
16254,
2762,
800,
3726,
3726,
408,
22,
18,
395,
42,
57,
40,
28,
306,
9,
2328,
2271,
30,
42,
1601,
6680,
37,
4611,
2751,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Filter by UserProfile fields with sfGuard plugin
===
How do I filter by the sfGuardUserProfile fields, when using the sfGuard plugin in Symfony 1.4?
As I think is standard, I created a sf_guard_user_profile table to hold fields like first name, last name, and so on.
I have a fairly stock list of users for my ad... | 0 | [
2,
11945,
34,
4155,
14503,
2861,
29,
15025,
9499,
10922,
108,
800,
3726,
3726,
184,
107,
31,
11945,
34,
14,
15025,
9499,
16704,
14503,
2861,
15,
76,
568,
14,
15025,
9499,
10922,
108,
19,
13,
7261,
10229,
93,
137,
9,
300,
60,
28,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Google Calendar Display Customization
===
I'm using the code found here: http://james.cridland.net/code/google-calendar.html
I'm currently trying to make the following customization, but unfortunately I am novice at PHP and couldn't make anything work in the way I'd like:
- I'd like to have it display only ##... | 0 | [
2,
8144,
7036,
3042,
5816,
1829,
800,
3726,
3726,
31,
22,
79,
568,
14,
1797,
216,
235,
45,
7775,
6903,
18309,
9,
10982,
43,
618,
9,
2328,
118,
9375,
118,
16111,
4875,
8,
3430,
219,
2542,
9,
15895,
31,
22,
79,
871,
749,
20,
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... |
Phonegap: Unable to start receiver nullpointerexeption
===
I found an android app. You can see it here: https://github.com/ChrLipp/SmsReceiver-Phonegap
When I run it it receives a text message and displays it on the screen. However if the app is closed and a text is received the phone crashes and the above error is... | 0 | [
2,
1132,
1136,
306,
45,
2343,
20,
799,
6264,
16203,
3132,
106,
1706,
3492,
3309,
800,
3726,
3726,
31,
216,
40,
13005,
4865,
9,
42,
92,
196,
32,
235,
45,
7775,
18,
6903,
10404,
20926,
9,
960,
118,
673,
6362,
19128,
118,
18,
79,
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... |
Python zero-size array to ufunc.reduce without identity
===
I'm trying to make a histogram of some data that is being stored in an ndarray. The histogram is part of a set of analysis which I've made into a class in a python program. The part of the code that isn't working is below.
def histogram(self, iters):
... | 0 | [
2,
20059,
4606,
8,
10454,
7718,
20,
287,
16638,
150,
9,
99,
16041,
366,
3270,
800,
3726,
3726,
31,
22,
79,
749,
20,
233,
21,
33,
38,
20476,
16,
109,
1054,
30,
25,
142,
8214,
19,
40,
13,
706,
8576,
93,
9,
14,
33,
38,
20476,
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... |
Java If objects (x,y) are near other objects (x,y)
===
I have two separate objects in java. Object1 and Object2, both are the same size and square. For each object I can get the x and y coordinates. What I need to do is check if Object1 is within a certain distance of Object2. That distance is within 32 points on both... | 0 | [
2,
8247,
100,
3916,
13,
5,
396,
15,
93,
6,
50,
424,
89,
3916,
13,
5,
396,
15,
93,
6,
800,
3726,
3726,
31,
57,
81,
1725,
3916,
19,
8247,
9,
3095,
165,
17,
3095,
135,
15,
156,
50,
14,
205,
1072,
17,
735,
9,
26,
206,
3095,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++ syntax error : missing ';' before '<'
===
Ehh, I'm having an issue which i don't understand...
class ManagedGlobals
{
public: gcroot<Editor^> MainEditor;
};
Why does my compiler give me:
syntax error : missing ';' before '<'
Why? | 0 | [
2,
272,
20512,
22649,
7019,
13,
45,
2863,
13,
22,
73,
22,
115,
13,
22,
1,
22,
800,
3726,
3726,
16177,
252,
15,
31,
22,
79,
452,
40,
1513,
56,
31,
221,
22,
38,
1369,
9,
9,
9,
718,
1471,
26763,
18,
13,
1,
317,
45,
13,
10362,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 store multiple data types in a single hashtable variable?
===
I have a `Hashtable` which has a key of `String` and the value as `String`, but I've reached a point in my project where I need to be able to store multiple different data types. For example, I'm going to need to store `int`, `String`, `Da... | 0 | [
2,
25,
80,
21,
161,
20,
1718,
1886,
1054,
2551,
19,
21,
345,
19170,
5924,
7612,
60,
800,
3726,
3726,
31,
57,
21,
13,
1,
25436,
5924,
1,
56,
63,
21,
1246,
16,
13,
1,
11130,
1,
17,
14,
1923,
28,
13,
1,
11130,
1,
15,
47,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
rendring simple_form errors
===
I have list with posts (pages#home), on click I open list with comments (posts#show), where I declare variable @feed_items. In the end of the comments I have simple_form for new comment (comments#create). Problem: if error occuring on submit button, I need to render existed list with co... | 0 | [
2,
5365,
43,
2090,
1935,
1,
4190,
11908,
800,
3726,
3726,
31,
57,
968,
29,
9868,
13,
5,
6486,
18,
5910,
8167,
6,
15,
27,
10840,
31,
368,
968,
29,
7534,
13,
5,
6962,
18,
5910,
9303,
6,
15,
113,
31,
10123,
7612,
13,
1,
20954,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 retrieve a list of public Google Docs from one user
===
Is there a way to retrieve a JSON or XML resource from Google Docs using an HTTP GET? I want to list public-only docs belonging to me on a web page, so the user viewing the web page should not need authentication or even to have a Google account.
I can... | 0 | [
2,
184,
20,
11917,
21,
968,
16,
317,
8144,
9765,
18,
37,
53,
4155,
800,
3726,
3726,
25,
80,
21,
161,
20,
11917,
21,
487,
528,
54,
23504,
6577,
37,
8144,
9765,
18,
568,
40,
7775,
164,
60,
31,
259,
20,
968,
317,
8,
4965,
9765,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's the best way to add a background to Android project?
===
My question is less about the programmatic aspect of Android and more about the designing of it.
My designer gave me a background so we can add it to our project.
It's a 960 x 640 image (iPhone designer :) and now I am wondering how I should apply it to... | 0 | [
2,
98,
22,
18,
14,
246,
161,
20,
3547,
21,
2395,
20,
13005,
669,
60,
800,
3726,
3726,
51,
1301,
25,
787,
88,
14,
625,
6732,
7289,
16,
13005,
17,
91,
88,
14,
15026,
16,
32,
9,
51,
4742,
492,
55,
21,
2395,
86,
95,
92,
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... |
How to make two Fragments appear side-by-side in a ViewPager?
===
In Google Play on tablets, click on Apps and you will see a ViewPager with CATEGORIES, FEATURED, TOP PAID, and so on. When you swipe your finger from TOP PAID to FEATURED, the Fragment for TOP PAID leaves completely and simultaneously brings in the FEAT... | 0 | [
2,
184,
20,
233,
81,
10837,
1893,
270,
8,
779,
8,
1416,
19,
21,
1418,
6486,
139,
60,
800,
3726,
3726,
19,
8144,
418,
27,
20175,
15,
10840,
27,
4865,
18,
17,
42,
129,
196,
21,
1418,
6486,
139,
29,
6422,
15,
1070,
15,
371,
2192,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
modalViewController presented from UISplitViewController comes up as the wrong orientation
===
I have a `UISplitViewController` that is set at the rootView of my application. When `viewDidLoad` is called in my left view controller I do a check, then present a modal view controller using the following:
SiteConfi... | 0 | [
2,
13,
20756,
4725,
12898,
1252,
1831,
37,
13,
5661,
25603,
4725,
12898,
1252,
1624,
71,
28,
14,
1389,
10245,
800,
3726,
3726,
31,
57,
21,
13,
1,
5661,
25603,
4725,
12898,
1252,
1,
30,
25,
309,
35,
14,
5900,
4725,
16,
51,
3010,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.