unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How can I change /category to something else for a specific Wordpress category?
===
I have created a post category called Products for a client where they can list products with a
link to their off-site shopping cart to purchase them.
Right now, the URL reads like this:
http://www.domain.com/category/products/
... | 0 | [
2,
184,
92,
31,
753,
13,
118,
14375,
93,
20,
301,
962,
26,
21,
1903,
833,
5890,
3230,
60,
800,
3726,
3726,
31,
57,
679,
21,
678,
3230,
227,
1985,
26,
21,
6819,
113,
59,
92,
968,
1985,
29,
21,
3508,
20,
66,
168,
8,
9097,
4884... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 C++11 std::atomic, what is the memory_order used for operators like ++, -- and +=?
===
It seems that unlike the member functions, you don't get to specify which memory_order to use, so there's probably some 'default' that ends up being used. | 0 | [
2,
19,
272,
20512,
1306,
354,
43,
45,
45,
26990,
15,
98,
25,
14,
1912,
1,
7861,
147,
26,
9475,
101,
13,
20512,
15,
13,
8,
8,
17,
2754,
3726,
60,
800,
3726,
3726,
32,
2206,
30,
2822,
14,
322,
3719,
15,
42,
221,
22,
38,
164,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
I need a javascript function that maps two coordinates to a pseudo-random value between 0 and 1
===
Additional requirements:
- Input of the function are two numbers, not necessarily integers
- Speed is the major concern; it should be as fast as possible
- Doesn't have to be secure, as long as its output lo... | 0 | [
2,
31,
376,
21,
8247,
8741,
1990,
30,
6867,
81,
13714,
20,
21,
8452,
8,
2195,
5555,
1923,
128,
713,
17,
137,
800,
3726,
3726,
1351,
4786,
45,
13,
8,
6367,
16,
14,
1990,
50,
81,
2116,
15,
52,
9324,
13820,
18,
13,
8,
1362,
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... |
Uploding app binary to itunes
===
i have complete my app and submit the app to app store successfully ,when i look it in my iTunes connect,it shows waiting for review.so there is a button named view in iTunes.i clicked that button to see my app in iTunes,but there comes the problem.there popups a message that it wil t... | 0 | [
2,
71,
17752,
68,
4865,
14171,
20,
12952,
800,
3726,
3726,
31,
57,
1279,
51,
4865,
17,
12298,
14,
4865,
20,
4865,
1718,
3673,
13,
15,
3185,
31,
361,
32,
19,
51,
12952,
6379,
15,
242,
1285,
1672,
26,
1487,
9,
656,
80,
25,
21,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Permission denied accessing Bigquery with Go from GAE using the API key
===
I am trying to access data stored in Bigquery through an app I am developing on Google App Engine. However each time I make a request I receive the error "permission denied".
I have added the application as a member of the API team for t... | 0 | [
2,
5572,
5265,
1381,
68,
580,
8190,
93,
29,
162,
37,
13,
17721,
568,
14,
21,
2159,
1246,
800,
3726,
3726,
31,
589,
749,
20,
1381,
1054,
8214,
19,
580,
8190,
93,
120,
40,
4865,
31,
589,
3561,
27,
8144,
4865,
1406,
9,
207,
206,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Derived class does not call init
===
I am trying to understand a certain OAuth2/web2py integration, but some quirks in the python class model are making it difficult for me to grasp. Specifically, I have this web2py controller:
def google():
if 'state' in request.vars and request.vars.state == 'googl... | 0 | [
2,
3981,
718,
630,
52,
645,
19,
242,
800,
3726,
3726,
31,
589,
749,
20,
1369,
21,
1200,
635,
1346,
96,
9298,
14113,
135,
6448,
8078,
15,
47,
109,
19321,
18,
19,
14,
20059,
718,
1061,
50,
544,
32,
1956,
26,
55,
20,
10677,
9,
35... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Stroing the Soap values in raw folder
===
I am working with web service using soap parser. I need to retrieve the values from the web service and store it in local. I have lot of string values in it.
My question is, how and where to store all the string values in my application.
Like, this sort of storage normally... | 0 | [
2,
12160,
68,
14,
6447,
4070,
19,
4333,
19294,
800,
3726,
3726,
31,
589,
638,
29,
2741,
365,
568,
6447,
2017,
4104,
9,
31,
376,
20,
11917,
14,
4070,
37,
14,
2741,
365,
17,
1718,
32,
19,
375,
9,
31,
57,
865,
16,
3724,
4070,
19,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Drupal Regiteration test with jmeter
===
i was testing my drupal registration process with a huge amount of users so i have used jmeter, the problem is among the success users registrations it creates a messy usernames like this
bTxJFT26d8
and it doesn't take the default permissions,
can any one advice | 2 | [
2,
15708,
6720,
7953,
2119,
5946,
1289,
29,
487,
7307,
800,
3726,
3726,
31,
23,
4431,
51,
15708,
6720,
8587,
953,
29,
21,
2329,
2006,
16,
3878,
86,
31,
57,
147,
487,
7307,
15,
14,
1448,
25,
497,
14,
1280,
3878,
8587,
18,
32,
969... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
install new resources.dll files at runtime
===
We have an MVCApp.Resources class library project where different .resx files reside. This library is referenced from MVCApp where resource keys are displayed in the corresponding views.
Every time, we need to modify the value of a key, we have to update the relevant ... | 0 | [
2,
16146,
78,
2566,
9,
43,
211,
6488,
35,
485,
891,
800,
3726,
3726,
95,
57,
40,
307,
8990,
7753,
9,
99,
12097,
18,
718,
1248,
669,
113,
421,
13,
9,
99,
18,
396,
6488,
14670,
9,
48,
1248,
25,
17571,
37,
307,
8990,
7753,
113,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CakePHP 2.2 - TCPDF - invalid property message
===
I have a problem with TCPDF:
viewPDF:
function viewPdf($id = null)
{
if (!$id)
{
$this->Session->setFlash('Sorry, there was no property ID submitted.');
$this->redirect(array('action'=... | 0 | [
2,
8390,
26120,
172,
9,
135,
13,
8,
13,
6668,
11124,
13,
8,
16671,
1354,
2802,
800,
3726,
3726,
31,
57,
21,
1448,
29,
13,
6668,
11124,
45,
1418,
11124,
45,
1990,
1418,
11124,
5,
4403,
1340,
800,
16203,
6,
13,
1,
100,
13,
5,
18... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Problems with solid fieldset border in IE8
===
I wish to style my fieldsets so that they have a solid border.
So I styled it like this...
fieldset {
margin: 5px;
padding: 20px;
border: solid orange;
border-width: 30px 1px 1px 1px;
}
fieldset legend {
... | 0 | [
2,
1716,
29,
2941,
575,
3554,
1862,
19,
13,
660,
457,
800,
3726,
3726,
31,
2536,
20,
1034,
51,
2861,
6095,
86,
30,
59,
57,
21,
2941,
1862,
9,
86,
31,
1034,
43,
32,
101,
48,
9,
9,
9,
575,
3554,
13,
1,
5440,
45,
331,
306,
39... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Rollback or DiscardChanges with Entity Framework Code First
===
Is there a way to rollback the changes within a context in Entity Framework 4.3.1.0? If not, what is the standard way to implement transactional behavior? | 0 | [
2,
3001,
1958,
54,
26251,
16229,
18,
29,
9252,
6596,
1797,
64,
800,
3726,
3726,
25,
80,
21,
161,
20,
3001,
1958,
14,
1693,
363,
21,
4141,
19,
9252,
6596,
268,
9,
240,
9,
165,
9,
387,
60,
100,
52,
15,
98,
25,
14,
1236,
161,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Getting error "xargs unterminated quote" when tried to print the number of lines in terminal
===
I want to get the number of line in my application I am using this code "find . "(" -name "*.m" -or -name "*.h" ")" -print | xargs wc -l". It is working fine in other applications but in one of my applications it is giving... | 0 | [
2,
1017,
7019,
13,
7,
396,
10663,
18,
367,
3964,
12721,
16371,
7,
76,
794,
20,
4793,
14,
234,
16,
1560,
19,
3855,
800,
3726,
3726,
31,
259,
20,
164,
14,
234,
16,
293,
19,
51,
3010,
31,
589,
568,
48,
1797,
13,
7,
19811,
13,
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... |
Codeigniter routes and Language Identifier
===
I have URI Language Identifier on my website I did it according to directions on codeigniter WIKI. It works fine. But How Can I get name of controller because $this->uri->segment(2) == id and $this->uri->segment(1) == name of the metod?
This is my routes.php
$ro... | 0 | [
2,
1797,
9693,
242,
106,
5050,
17,
816,
25570,
800,
3726,
3726,
31,
57,
13,
3594,
816,
25570,
27,
51,
2271,
31,
144,
32,
496,
20,
7876,
27,
1797,
9693,
242,
106,
13,
17375,
9,
32,
693,
1123,
9,
47,
184,
92,
31,
164,
204,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jasperreport server scheduling with today's date
===
I'm trying to set up a report using the scheduler with today's date as the input parameter. Is this possible?
I see you can set static value for the input parameter but cannot set it to now() or some variant. | 0 | [
2,
16750,
17437,
8128,
23096,
29,
786,
22,
18,
1231,
800,
3726,
3726,
31,
22,
79,
749,
20,
309,
71,
21,
1330,
568,
14,
4345,
139,
29,
786,
22,
18,
1231,
28,
14,
6367,
18906,
9,
25,
48,
938,
60,
31,
196,
42,
92,
309,
12038,
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... |
Return and delete all key-value pairs whose tuple keys contain a given element
===
Given a dictionary keyed by 2-element tuples, I want to return all the key-value pairs whose keys contain a given element.
For example, the dictionary can be:
tupled_dict = {('a',1):1, ('a',2):0, ('b',1):1, ('c',4):0}
and t... | 0 | [
2,
788,
17,
27448,
65,
1246,
8,
15165,
7473,
1196,
2289,
5106,
5534,
3717,
21,
504,
4520,
800,
3726,
3726,
504,
21,
9186,
1246,
69,
34,
172,
8,
27567,
2289,
18534,
15,
31,
259,
20,
788,
65,
14,
1246,
8,
15165,
7473,
1196,
5534,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iOS SDK: how to make multiple line in UIAlertView?
===
I am interested in making a UIAlertView with several lines like a Bulletin List such as making three lines:
- line 1
- line 2
- line 3
My code now is:
alert= [[UIAlertView alloc]
initWithTitle: @"How to use buttons"
message: @"lin... | 0 | [
2,
13,
7760,
13,
18,
43,
197,
45,
184,
20,
233,
1886,
293,
19,
287,
2815,
6767,
4725,
60,
800,
3726,
3726,
31,
589,
3158,
19,
544,
21,
287,
2815,
6767,
4725,
29,
238,
1560,
101,
21,
13030,
968,
145,
28,
544,
132,
1560,
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... |
assembly: WebActivator.PreApplicationStartMethod Not working
===
Basically my code look slike below:
[assembly: WebActivator.PreApplicationStartMethod(typeof(OpusOneCorp.Presentation.Client.Mvc.EndUser.App_Start.StructuremapMvc), "Start")]
namespace OpusOneCorp.Presentation.Client.Mvc.End... | 0 | [
2,
1475,
45,
2741,
19516,
3457,
9,
3515,
2552,
20669,
13680,
5909,
1807,
43,
52,
638,
800,
3726,
3726,
11374,
51,
1797,
361,
13,
18,
1403,
1021,
45,
636,
29432,
45,
2741,
19516,
3457,
9,
3515,
2552,
20669,
13680,
5909,
1807,
43,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
android: extending CheckedTextView source code
===
I was thinking of adding an icon to the items in a ListView who already has a text and a checkbox: simple_list_item_multiple_choice
I'm aware of the custom adapter solution, but I really want and more intuitive solution.
I know playing with the source code is not ... | 0 | [
2,
13005,
45,
8176,
6505,
11969,
4725,
1267,
1797,
800,
3726,
3726,
31,
23,
1440,
16,
4721,
40,
9801,
20,
14,
3755,
19,
21,
968,
4725,
72,
614,
63,
21,
1854,
17,
21,
2631,
5309,
45,
1935,
1,
5739,
1,
2119,
79,
1,
21531,
5106,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Where can I find indy 10 demos for each and every component?
===
Where Can I find demos for each and every component of Indy version 10 and for Delphi version 2010/XE/XE2.
On the [official page][1] they are listing only 7 demos, with the note *"The list will be updated regularly. Please be patient, as the demos are ... | 0 | [
2,
113,
92,
31,
477,
19,
1851,
332,
19494,
26,
206,
17,
352,
5912,
60,
800,
3726,
3726,
113,
92,
31,
477,
19494,
26,
206,
17,
352,
5912,
16,
19,
1851,
615,
332,
17,
26,
23030,
615,
498,
118,
13012,
118,
13012,
135,
9,
27,
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... |
Loop through array and display year once, months after
===
I'm retrieving dates from an SQL query with PHP, and I can't seem to get my head around how to display each year and its months based on this rather simple array:
Array
(
[0] => stdClass Object
(
[monthname(wp... | 0 | [
2,
5293,
120,
7718,
17,
3042,
159,
382,
15,
818,
75,
800,
3726,
3726,
31,
22,
79,
13,
6239,
3272,
8397,
4076,
37,
40,
4444,
255,
25597,
29,
13,
26120,
15,
17,
31,
92,
22,
38,
2260,
20,
164,
51,
157,
140,
184,
20,
3042,
206,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Retrieve controls value of gridview in RowEditing event using findcontrol, only one control works
===
I'm new to this site, so if my question is not well organised please help me out.
Here is the snippet of my ASPX file which I want to process:
...
<asp:TemplateField HeaderText="Action">
<ItemT... | 0 | [
2,
11917,
8671,
1923,
16,
7354,
4725,
19,
20942,
1115,
1203,
807,
568,
477,
12898,
15,
104,
53,
569,
693,
800,
3726,
3726,
31,
22,
79,
78,
20,
48,
689,
15,
86,
100,
51,
1301,
25,
52,
134,
6770,
2247,
448,
55,
70,
9,
235,
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... |
where can I get a simple singly linked list implementation with example in javascript?
===
I just want to be able to add elements, enumerate the list and delete elements. | 4 | [
2,
113,
92,
31,
164,
21,
1935,
4481,
102,
4727,
968,
6123,
29,
823,
19,
8247,
8741,
60,
800,
3726,
3726,
31,
114,
259,
20,
44,
777,
20,
3547,
2065,
15,
26940,
62,
14,
968,
17,
27448,
2065,
9,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Initializing a subclass in objective c
===
I think that this may be impossible, but what I was trying to do write an static initializer in my super class "load" that will initialize even my subclasses.
+ (id) load
{
Class c = [self class];
NSString *cString = NSStringFromClass([self class... | 0 | [
2,
2104,
3335,
21,
972,
1898,
19,
7038,
272,
800,
3726,
3726,
31,
277,
30,
48,
123,
44,
3992,
15,
47,
98,
31,
23,
749,
20,
107,
2757,
40,
12038,
2104,
11907,
19,
51,
1026,
718,
13,
7,
8294,
7,
30,
129,
2104,
2952,
166,
51,
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... |
AngularJS - ng-bind-html-unsafe and ng-model Problems
===
I have the following line in my html:
`<div ng-bind-html-unsafe="departmentConfig" class="control-group"></div>`
and I use a `$resource` get to retrieve the HTML, assign the HTML to `$scope.departmentConfig`, and then the view is updated perfectly. The H... | 0 | [
2,
18270,
728,
18,
13,
8,
13,
2723,
8,
4772,
43,
8,
15895,
8,
1020,
18166,
17,
13,
2723,
8,
13998,
1716,
800,
3726,
3726,
31,
57,
14,
249,
293,
19,
51,
13,
15895,
45,
13,
1,
12916,
13,
2723,
8,
4772,
43,
8,
15895,
8,
1020,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SVN Commit Log Issue
===
I am currently working on a project about calculations.I have done the main part of my project,Also integrated SVN Commit function to my code (using .ini file to read the specific address etc. )
I can easily Commit the files, what I am trying is I want to implement the real-time log to my c... | 0 | [
2,
13,
18,
16578,
9686,
6738,
1513,
800,
3726,
3726,
31,
589,
871,
638,
27,
21,
669,
88,
19186,
9,
49,
57,
677,
14,
407,
141,
16,
51,
669,
15,
2573,
5547,
13,
18,
16578,
9686,
1990,
20,
51,
1797,
13,
5,
12655,
13,
9,
2651,
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... |
Who should be responsible for selecting the appropriate derived class?
===
I recently wrote a class library that includes some objects that model certain types of files. For example, there is an abstract `Document` class, with derived classes `PdfDocument` (concrete) and `OfficeDocument` (abstract, with concrete deri... | 0 | [
2,
72,
378,
44,
1864,
26,
20764,
14,
4593,
3981,
718,
60,
800,
3726,
3726,
31,
1989,
738,
21,
718,
1248,
30,
1103,
109,
3916,
30,
1061,
1200,
2551,
16,
6488,
9,
26,
823,
15,
80,
25,
40,
8502,
13,
1,
28132,
1,
718,
15,
29,
39... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
playing a youtube video on a click within iframe in a single webpage
===
<a href="http://www.youtube.com/watch?v=NxO8LanzoiU" target="vid1">Geriatrics Informatiion</a>
<iframe height="315" name="vid1" width="560"></iframe>
When i click the anchor link, the youtube video should play in iframe. W... | 0 | [
2,
791,
21,
7330,
763,
27,
21,
10840,
363,
31,
8361,
19,
21,
345,
2741,
6486,
800,
3726,
3726,
13,
1,
58,
746,
14057,
3726,
7,
21127,
6903,
6483,
9,
245,
19302,
9,
960,
118,
9054,
60,
710,
3726,
103,
13955,
457,
1804,
2500,
1039... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 cancel CellEnter/CellLeave event in C#?
===
I have DataGridView. In some cells I'm add data. If cell, that I editing now, is empty and I want leave it, shows message "bla-bla-bla" and focus must back to editing cell.
For it I using CellEnter, CellLeave, CellEndEdit etc. and want cancel this events after checki... | 0 | [
2,
184,
20,
14815,
1667,
13679,
118,
9725,
14416,
807,
19,
272,
5910,
60,
800,
3726,
3726,
31,
57,
1054,
16375,
4725,
9,
19,
109,
2934,
31,
22,
79,
3547,
1054,
9,
100,
1667,
15,
30,
31,
9510,
130,
15,
25,
2424,
17,
31,
259,
76... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Traversing nodes but including the starting node in the result in Neo4J with Gremlin
===
I have a graph representing users and some articles they wrote. I need to create something like an activity stream including the articles wrote by the user and also by its friends.
http://twitpic.com/a342f4
I can have all th... | 0 | [
2,
19501,
68,
16272,
47,
215,
14,
1422,
15421,
19,
14,
829,
19,
4368,
300,
728,
29,
5604,
79,
1226,
800,
3726,
3726,
31,
57,
21,
7210,
3793,
3878,
17,
109,
3376,
59,
738,
9,
31,
376,
20,
1600,
301,
101,
40,
2358,
3766,
215,
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... |
Why does MSSQL(and other databases) need to have such precise date formats?
===
I know this may come across as a newbie question, but I'm curious as to why dates in SQL need to look like this:
FieldBeginDate
2010-04-01 00:00:00.000
FieldEndDate
2010-12-31 23:59:00.000
Why the three-de... | 0 | [
2,
483,
630,
4235,
18,
22402,
5,
290,
89,
6018,
18,
6,
376,
20,
57,
145,
11114,
1231,
13767,
60,
800,
3726,
3726,
31,
143,
48,
123,
340,
464,
28,
21,
78,
5893,
1301,
15,
47,
31,
22,
79,
7686,
28,
20,
483,
4076,
19,
4444,
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... |
Objective-C - Using blocks and memory management?
===
I was reading the documentation on Grand Central Dispatch, and there are two functions called `Block_copy` and `Block_release`.
According to the documentation these methods are being used while calling `dispatch_async` to take care of the memory management of the ... | 0 | [
2,
7038,
8,
150,
13,
8,
568,
5198,
17,
1912,
1097,
60,
800,
3726,
3726,
31,
23,
1876,
14,
13945,
27,
920,
521,
14226,
15,
17,
80,
50,
81,
3719,
227,
13,
1,
12048,
1,
19625,
1,
17,
13,
1,
12048,
1,
15202,
1,
9,
496,
20,
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... |
ajax show/hide script that alternates between showing two divs
===
Could someone please tell me how to make an ajax hide/show toggle script also alternate between showing the contents of another div. For example I have this div (that is hidden on the page):
<div id="div_one"></div>
And the hide/show state of... | 0 | [
2,
20624,
298,
118,
19522,
3884,
30,
4912,
18,
128,
3187,
81,
13,
12916,
18,
800,
3726,
3726,
110,
737,
2247,
494,
55,
184,
20,
233,
40,
20624,
3077,
118,
9303,
20,
263,
4875,
3884,
67,
4912,
128,
3187,
14,
8478,
16,
226,
13,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Proper syntax for array.forEach() in coffeescript
===
Good day Gentlemen,
I have a following code in coffeescript to recursively list directories (converted from javascript):
fs = require 'fs'
walk = (dir, done) ->
results = []
fs.readdir dir, (err, list) ->
return done(err)... | 0 | [
2,
4119,
22649,
26,
7718,
9,
1106,
14322,
5,
6,
19,
2364,
8741,
800,
3726,
3726,
254,
208,
12521,
15,
31,
57,
21,
249,
1797,
19,
2364,
8741,
20,
302,
24244,
102,
968,
559,
1596,
13,
5,
1126,
8122,
69,
37,
8247,
8741,
6,
45,
39... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TSQL BULK INSERT row errors cause C# exceptions
===
I am processing extremely large delimited files. These files have been pre-processed to ensure that field and row delimiters are valid. Occasionally a row is processed that fails TSQL constraints.
We use `MAXERRORS` to set an acceptable number of input errors an... | 0 | [
2,
13,
38,
18,
22402,
7238,
14692,
3131,
11908,
1679,
272,
5910,
13392,
800,
3726,
3726,
31,
589,
5511,
3898,
370,
121,
23012,
6488,
9,
158,
6488,
57,
74,
782,
8,
16835,
69,
20,
4062,
30,
575,
17,
3131,
121,
20565,
445,
50,
7394,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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++ program freezes when accessing a huge array
===
in [other question][1] I asked how to compile a vector with huge amount of data because I wanted a vector with a dictionary of 107776 entries, and I couldn't compile it.
I solved it thanks to [this answer][2]'s code:
char const * const dict[] = {"aaron",...... | 0 | [
2,
272,
20512,
625,
11551,
18,
76,
1381,
68,
21,
2329,
7718,
800,
3726,
3726,
19,
636,
9539,
1301,
500,
2558,
165,
500,
31,
411,
184,
20,
26561,
21,
7497,
29,
2329,
2006,
16,
1054,
185,
31,
417,
21,
7497,
29,
21,
9186,
16,
332,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Running VMWare powerCLI commands with SoapUI
===
I have a powershell script file with PowerCLI commands like Connect-VIServer etc. I am able to run the script file in PowerGUI after I added the library references to VMWare PowerCLI but I don't know how to run it through SoapUI. I'm guessing it won't work with the regu... | 0 | [
2,
946,
13,
20147,
5011,
414,
150,
1210,
14294,
29,
6447,
5661,
800,
3726,
3726,
31,
57,
21,
414,
15984,
3884,
3893,
29,
414,
150,
1210,
14294,
101,
6379,
8,
3762,
106,
2304,
2722,
9,
31,
589,
777,
20,
485,
14,
3884,
3893,
19,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
opening and closing using OpenCV
===
how to implement the techniques of image processing, opening and closing using OpenCV with C #? can anyone give me an example?
thank you | 0 | [
2,
1214,
17,
4239,
568,
368,
12732,
800,
3726,
3726,
184,
20,
8713,
14,
4212,
16,
1961,
5511,
15,
1214,
17,
4239,
568,
368,
12732,
29,
272,
6926,
60,
92,
1276,
590,
55,
40,
823,
60,
3531,
42,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Which is the more HTML semantically correct way to code a hidden html field with a numeric value that the user is not expected to manipulate with
===
In my examples the value will always be an integer. The user is not expected to change the value of the field.
<input type="hidden" value="14" name="user_id" read... | 0 | [
2,
56,
25,
14,
91,
13,
15895,
17220,
1326,
4456,
161,
20,
1797,
21,
3689,
13,
15895,
575,
29,
21,
15764,
596,
1923,
30,
14,
4155,
25,
52,
1727,
20,
18468,
29,
800,
3726,
3726,
19,
51,
3770,
14,
1923,
129,
550,
44,
40,
13820,
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... |
Why is the ItemText of my CheckedListBox viewed as being "0"?
===
With this code:
for (int i = 0; i <= (checkedListBoxPlatypi.Items.Count - 1); i++)
{
if (checkedListBoxPlatypi.GetItemCheckState(i) == CheckState.Checked)
{
ReturnListPlatypi.Add(ParsePlatypusID(checkedListBoxPlatypi.GetIt... | 0 | [
2,
483,
25,
14,
9101,
11969,
16,
51,
6505,
5739,
5309,
6084,
28,
142,
13,
7,
387,
7,
60,
800,
3726,
3726,
29,
48,
1797,
45,
26,
13,
5,
6391,
31,
800,
713,
73,
31,
13,
1,
3726,
13,
5,
12542,
69,
5739,
5309,
9897,
1084,
2159,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Scanning MySQL table for updates Python
===
I am creating a GUI that is dependent on information from MySQL table, what i want to be able to do is to display a message every time the table is updated with new data. I am not sure how to do this or even if it is possible. I have codes that retrieve the newest MySQL upd... | 0 | [
2,
15863,
51,
18,
22402,
859,
26,
16779,
20059,
800,
3726,
3726,
31,
589,
2936,
21,
9457,
30,
25,
9063,
27,
676,
37,
51,
18,
22402,
859,
15,
98,
31,
259,
20,
44,
777,
20,
107,
25,
20,
3042,
21,
2802,
352,
85,
14,
859,
25,
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... |
Slide and Rotate UIView
===
I am trying to slide in a UIView while also rotating it. The end result is basically a UIView that zips across the screen rotating about 70 degrees to the left, hits the edge, rotates about 50 degrees to the right, and finally ends up being still (after a few more wobbles). I am able to g... | 0 | [
2,
6464,
17,
21448,
13,
5661,
4725,
800,
3726,
3726,
31,
589,
749,
20,
6464,
19,
21,
13,
5661,
4725,
133,
67,
16164,
32,
9,
14,
241,
829,
25,
11374,
21,
13,
5661,
4725,
30,
12133,
18,
464,
14,
2324,
16164,
88,
3201,
4442,
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... |
Remove html from only a part of string
===
I have the following code which should remove all HTML from a part of string, which is quoted by dollar signs (could be more of them). This works fine, but I also need to preserve those dollar signs. Any suggestions, thanks
private static String removeMarkupBetweenDoll... | 0 | [
2,
4681,
13,
15895,
37,
104,
21,
141,
16,
3724,
800,
3726,
3726,
31,
57,
14,
249,
1797,
56,
378,
4681,
65,
13,
15895,
37,
21,
141,
16,
3724,
15,
56,
25,
9591,
34,
9311,
4832,
13,
5,
13431,
44,
91,
16,
105,
6,
9,
48,
693,
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... |
Using Azure Managed Library from WinRT
===
Is it possible to use a Managed Library to access Azure from a WinRT component?
As I understand I cannot reference the Managed Library dll's in the WinRT/Metro profile.
I could use the REST API (http://msdn.microsoft.com/en-us/library/windowsazure/dd179355) but would pr... | 0 | [
2,
568,
25715,
1471,
1248,
37,
628,
5256,
800,
3726,
3726,
25,
32,
938,
20,
275,
21,
1471,
1248,
20,
1381,
25715,
37,
21,
628,
5256,
5912,
60,
28,
31,
1369,
31,
1967,
2801,
14,
1471,
1248,
13,
43,
211,
22,
18,
19,
14,
628,
525... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Edit Multiple rows in Struts2 jQuery Grid via Inline Edit
===
The struts2-jQuery grid offers a wide variety of edit features. But for one of our requirements, the Out-of-the-Box 'Edit' feature in this grid is not suitable. we want to customize it as follows..
**Our Requirements are**:
1. User should be ... | 0 | [
2,
9392,
1886,
11295,
19,
18316,
18,
135,
487,
8190,
93,
7354,
1197,
19,
1143,
9392,
800,
3726,
3726,
14,
18316,
18,
135,
8,
728,
8190,
93,
7354,
2486,
21,
1051,
1747,
16,
9392,
967,
9,
47,
26,
53,
16,
318,
4786,
15,
14,
70,
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... |
Use Maven to pre-process source code that is going to be built with Maven
===
I have the following example source code:
public interface SomeInterface {
void method1();
@Support
void method2();
@Support(ENVIRONMENT_A)
void method3();
@Support({ ENVIRONMENT_A, ENVI... | 0 | [
2,
275,
1216,
3124,
20,
782,
8,
16835,
1267,
1797,
30,
25,
228,
20,
44,
392,
29,
1216,
3124,
800,
3726,
3726,
31,
57,
14,
249,
823,
1267,
1797,
45,
317,
6573,
109,
6280,
6413,
13,
1,
11364,
2109,
165,
5,
6,
73,
13,
1,
24168,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Highlight paths when generating tiles with Mapnik
===
I have GPS data of paths driven and I want to generate tiles with these paths highlighted, much like Open Cycle Maps. I have mapnik setup and I can use generate_tiles.py, I just don't know how to highlight those certain paths. | 0 | [
2,
14373,
12074,
76,
13500,
14836,
29,
2942,
3239,
800,
3726,
3726,
31,
57,
18298,
1054,
16,
12074,
5355,
17,
31,
259,
20,
7920,
14836,
29,
158,
12074,
12528,
15,
212,
101,
368,
4150,
6867,
9,
31,
57,
2942,
3239,
18161,
17,
31,
92... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
When should I save settings on Windows Phone 7?
===
HI,
I have a settings save method I call, but I tried unload, and lost focus the application will close out and not save before ever getting to either of those methods. When should I save application settings to keep this from happening?
Should I use a timer an... | 0 | [
2,
76,
378,
31,
2079,
12410,
27,
1936,
1132,
453,
60,
800,
3726,
3726,
4148,
15,
31,
57,
21,
12410,
2079,
2109,
31,
645,
15,
47,
31,
794,
367,
8294,
15,
17,
529,
1776,
14,
3010,
129,
543,
70,
17,
52,
2079,
115,
462,
1017,
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 disable 302 redirect
===
my website hosted in a vps server where ubuntu with LAMP installed in it.
I can't use direct links to any page without www.
that is typing url http://example.com/secondpage will redirect to http://www.example.com/.
the second page had lost.
but http://www.example.com/secondpage work... | 0 | [
2,
184,
20,
1460,
579,
13,
22863,
302,
14706,
800,
3726,
3726,
51,
2271,
2812,
19,
21,
13,
10924,
18,
8128,
113,
287,
12968,
2473,
29,
6792,
4066,
19,
32,
9,
31,
92,
22,
38,
275,
1744,
6271,
20,
186,
2478,
366,
13,
6483,
9,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Accessing view dimensions from background thread
===
This is hopefully an easy question regarding the thread-safety of the `View.getWidth()` and `View.getHeight()` methods.
I'm writing a background task that performs an operation given a View object. The only part of the view that is actually necessary is its dimen... | 0 | [
2,
1381,
68,
1418,
9913,
37,
2395,
9322,
800,
3726,
3726,
48,
25,
13416,
40,
2010,
1301,
3467,
14,
9322,
8,
18166,
1084,
16,
14,
13,
1,
4725,
9,
3060,
3976,
43,
96,
5,
6,
1,
17,
13,
1,
4725,
9,
834,
96,
7748,
5,
6,
1,
3195... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Angular.js: What is the equivalent to Ember.js' CollectionView?
===
I'm currently evaluating a few JavaScript frameworks and right now I'm working with Angular. I was wondering how I would go about accomplishing the equivalent to Ember.js' CollectionView in Angular? I can't seem to find what I'm looking for and I just... | 0 | [
2,
18270,
9,
728,
18,
45,
98,
25,
14,
4602,
20,
13,
19603,
9,
728,
18,
22,
1206,
4725,
60,
800,
3726,
3726,
31,
22,
79,
871,
26764,
21,
310,
8247,
8741,
6596,
18,
17,
193,
130,
31,
22,
79,
638,
29,
18270,
9,
31,
23,
5712,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 post publish/or build solution ZIP
===
Is there a way to automatically Zip/archive the entire solution after I right click on the project file and click "Publish"?
I've ran into some issue trying to revert to previous versions of my application because I forgot to check everything in after a publish.... | 0 | [
2,
3458,
1120,
678,
10824,
118,
248,
1895,
4295,
12133,
800,
3726,
3726,
25,
80,
21,
161,
20,
7499,
12133,
118,
23941,
14,
1078,
4295,
75,
31,
193,
10840,
27,
14,
669,
3893,
17,
10840,
13,
7,
17848,
18491,
7,
60,
31,
22,
195,
71... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
transitionTo method of kineticJs not working on click event
===
I am using transitionTo method of kineticJS to show animated rotation of a shape on click event of mouse. It works fine if we click the shape first time but then on subsequent clicks it does not rotate the shape. I want to show transition(rotation) of the... | 0 | [
2,
4513,
262,
2109,
16,
13,
16905,
728,
18,
52,
638,
27,
10840,
807,
800,
3726,
3726,
31,
589,
568,
4513,
262,
2109,
16,
13,
16905,
728,
18,
20,
298,
5784,
9431,
16,
21,
2539,
27,
10840,
807,
16,
7567,
9,
32,
693,
1123,
100,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to return same type as the argument
===
In SQL Server, I need to wrap the [`DATEADD`][1] built-in function with another function.
The problem is I need to implement this behaviour:
> **Return Types**
> The return data type is the data type of the date argument[...]
For example, if I pass in a `datetime... | 0 | [
2,
184,
20,
788,
205,
1001,
28,
14,
5476,
800,
3726,
3726,
19,
4444,
255,
8128,
15,
31,
376,
20,
8118,
14,
636,
1,
8209,
14854,
1,
500,
2558,
165,
500,
392,
8,
108,
1990,
29,
226,
1990,
9,
14,
1448,
25,
31,
376,
20,
8713,
48... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
android Scrolling Tabs
===
I want to scroll tabs in android tab widget in my application, i used [this code][1]
it works fine for android 2.2 but on android 4.0 it shows very big space like the figure bellow
![enter image description here][2]
this is my code
((Horizontal
ScrollView) findViewById(R.id.t... | 0 | [
2,
13005,
13,
28166,
6523,
18,
800,
3726,
3726,
31,
259,
20,
12159,
6523,
18,
19,
13005,
6523,
4807,
43,
3060,
19,
51,
3010,
15,
31,
147,
636,
1565,
1797,
500,
2558,
165,
500,
32,
693,
1123,
26,
13005,
172,
9,
135,
47,
27,
13005... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 facebook creates a profle for you when you type information
===
i was wondering how facebook (or any social network) creates a profle for you when it takes in your information and it puts the info in place on the profile . what (programming/script) would that be if i was gonna build a similar site. thanks | 1 | [
2,
184,
9090,
9695,
21,
8721,
413,
26,
42,
76,
42,
1001,
676,
800,
3726,
3726,
31,
23,
5712,
184,
9090,
13,
5,
248,
186,
668,
982,
6,
9695,
21,
8721,
413,
26,
42,
76,
32,
1384,
19,
154,
676,
17,
32,
11179,
14,
15404,
19,
209... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
preg_replace a link
===
I'm wanting to use a preg_replace to replace
"http://domain.com/dateiIe6EHOnzyl/_DSC7290.jpg.htm"
to
"http://domain.com/dateiIe6EHOnzyl.htm"
| 0 | [
2,
782,
263,
1,
99,
5119,
21,
3508,
800,
3726,
3726,
31,
22,
79,
4638,
20,
275,
21,
782,
263,
1,
99,
5119,
20,
3934,
13,
7,
21127,
6903,
537,
6232,
9,
960,
118,
8209,
49,
660,
379,
62,
6905,
3327,
255,
118,
1,
43,
3862,
4009... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Unable to get value of selected radio
===
I am trying to get the value of the radio button selected.
My html is:
<input type="radio" name="rad" value="one" />One<br />
<input type="radio" name="rad" value="two" />Two<br />
<input type="radio" name="rad" value="three" />Three<br />
<a ... | 0 | [
2,
2343,
20,
164,
1923,
16,
1704,
603,
800,
3726,
3726,
31,
589,
749,
20,
164,
14,
1923,
16,
14,
603,
5167,
1704,
9,
51,
13,
15895,
25,
45,
13,
1,
108,
4881,
1001,
3726,
7,
11129,
7,
204,
3726,
7,
8278,
7,
1923,
3726,
7,
849... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Increase all controls size and font size
===
I'm creating a dialog in java with some basic controls in it, and I was wondering how could I change the size of all the dialog's controls and font sizes to the double if the parameter BIG_DIALOG was passed as true.
Hope to get some guidelines on how to accomplish this
... | 0 | [
2,
1839,
65,
8671,
1072,
17,
9978,
1072,
800,
3726,
3726,
31,
22,
79,
2936,
21,
28223,
19,
8247,
29,
109,
2125,
8671,
19,
32,
15,
17,
31,
23,
5712,
184,
110,
31,
753,
14,
1072,
16,
65,
14,
28223,
22,
18,
8671,
17,
9978,
13403,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set a transparent background works with chrome in frameset?
===
in a frameset code, i have an url which need to be transparent on it's page. i tried to put style="background-color:transparent" in the < frame src=... style=....> but not works. please give a hint. tq. | 0 | [
2,
184,
20,
309,
21,
14862,
2395,
693,
29,
13,
12985,
19,
3523,
3554,
60,
800,
3726,
3726,
19,
21,
3523,
3554,
1797,
15,
31,
57,
40,
287,
6362,
56,
376,
20,
44,
14862,
27,
32,
22,
18,
2478,
9,
31,
794,
20,
442,
1034,
3726,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is this code not compiling?
===
I am getting this error with this code in the function Doit ( I am running .Net 3.5 ):
Error 1 The best overloaded method match for 'LoadPref<A>(string, System.Func<string,A>, A)' has some invalid arguments
Error 2 Argument '2': cannot convert from 'method group' to 'System.Fun... | 0 | [
2,
483,
25,
48,
1797,
52,
24378,
60,
800,
3726,
3726,
31,
589,
1017,
48,
7019,
29,
48,
1797,
19,
14,
1990,
107,
242,
13,
5,
31,
589,
946,
13,
9,
2328,
203,
9,
264,
13,
6,
45,
7019,
137,
14,
246,
84,
22546,
2109,
730,
26,
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 is the effect of content: "\0020"; property?
===
.container:after {
content: "\0020";
display: block;
height: 0;
clear: both;
visibility: hidden;
overflow:hidden;}
<div class="container"> Contents </div>
Please explain what is the effect of "content: "\0020"; property? | 0 | [
2,
98,
25,
14,
1590,
16,
2331,
45,
13,
7,
1,
2032,
1323,
7,
73,
1354,
60,
800,
3726,
3726,
13,
9,
1126,
5851,
106,
45,
5162,
13,
1,
2331,
45,
13,
7,
1,
2032,
1323,
7,
73,
3042,
45,
1921,
73,
2947,
45,
713,
73,
1207,
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... |
Is there any way to use support the Builder pattern in Rikulo?
===
I am interested in using the Builder pattern for declaratively creating UI with Rikulo. Is there a way to do so? Does the Dart syntax support a similar mechanism?
For example,
div(
label(value:"OK")
);
| 0 | [
2,
25,
80,
186,
161,
20,
275,
555,
14,
14960,
3732,
19,
13,
6639,
12415,
60,
800,
3726,
3726,
31,
589,
3158,
19,
568,
14,
14960,
3732,
26,
121,
12078,
3366,
102,
2936,
13,
5661,
29,
13,
6639,
12415,
9,
25,
80,
21,
161,
20,
107... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Extracting String from string which fit certain width
===
if i have String "Life is Good". now i need to extract some words from that string which fits on width 40. how can achieve this from objective C ? | 0 | [
2,
10962,
68,
3724,
37,
3724,
56,
2742,
1200,
9456,
800,
3726,
3726,
100,
31,
57,
3724,
13,
7,
4102,
25,
254,
7,
9,
130,
31,
376,
20,
10962,
109,
715,
37,
30,
3724,
56,
2742,
18,
27,
9456,
1417,
9,
184,
92,
4689,
48,
37,
703... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Suggestions for a large database application
===
We are looking at developing a web based application - which would have a very large database which would be queried quite often and that data would be computed and displayed on the front-end. Its basically any analytics app. Needed your suggestions on the following (ou... | 4 | [
2,
18389,
26,
21,
370,
6018,
3010,
800,
3726,
3726,
95,
50,
699,
35,
3561,
21,
2741,
432,
3010,
13,
8,
56,
83,
57,
21,
253,
370,
6018,
56,
83,
44,
9386,
11942,
1450,
478,
17,
30,
1054,
83,
44,
26331,
17,
6115,
27,
14,
431,
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... |
Sending Proxy authentication Via Websocket to Proxy server
===
I have a client who use Proxy to control client internet connection.
How can I pass user/pass authentication values in Websocket headers to the Proxy.
I'm using standard Netty implantation.
Tamir | 0 | [
2,
4907,
27188,
27963,
1197,
2741,
18,
5668,
1198,
20,
27188,
8128,
800,
3726,
3726,
31,
57,
21,
6819,
72,
275,
27188,
20,
569,
6819,
2620,
2760,
9,
184,
92,
31,
1477,
4155,
118,
6201,
27963,
4070,
19,
2741,
18,
5668,
1198,
157,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... |
Create loop which redirects to another page after condition is met
===
I'm trying to create a loop, which redirects to another script when the condition is met. But at the moment, it meets the condition, ends the loop, but doesn't redirect to the script. Nothing I have done works...
<?php
ini_set('error_r... | 0 | [
2,
1600,
5293,
56,
302,
14706,
18,
20,
226,
2478,
75,
2874,
25,
798,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
5293,
15,
56,
302,
14706,
18,
20,
226,
3884,
76,
14,
2874,
25,
798,
9,
47,
35,
14,
688,
15,
32,
5224,
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... |
Object reference not set to an instance on an object C# for loop
===
I'm having some trouble with a bit of code in C#. I'm getting the exception "Object reference not set to an instance of an object". Can you help me fix it?
public void getletter(string t, int x, int y, int b)
{
t = t.... | 3 | [
2,
3095,
2801,
52,
309,
20,
40,
4851,
27,
40,
3095,
272,
5910,
26,
5293,
800,
3726,
3726,
31,
22,
79,
452,
109,
2572,
29,
21,
1142,
16,
1797,
19,
272,
5910,
9,
31,
22,
79,
1017,
14,
5391,
13,
7,
23793,
2801,
52,
309,
20,
40,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
List mounted TrueCrypt Volumes to stdout via the command line?
===
Does anyone know a way to list mounted TrueCrypt volumes to stdout via the command line?
The page below suggests the --list option would do it in the *nix version, but I can't find any way to do this with Windows.
http://www.irongeek.com/i.php?... | 0 | [
2,
968,
4897,
1151,
11435,
6127,
20,
354,
43,
1320,
1197,
14,
1202,
293,
60,
800,
3726,
3726,
630,
1276,
143,
21,
161,
20,
968,
4897,
1151,
11435,
6127,
20,
354,
43,
1320,
1197,
14,
1202,
293,
60,
14,
2478,
1021,
5049,
14,
13,
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... |
Using PHP to Detect All Links (Including those that don't go to a file)
===
I'm trying to detect broken links. The following PHP accessing a MySQL table seems to work great (but slow due to fopen) for almost everything:
function fileExists($path){
return (@fopen($path,"r")=... | 0 | [
2,
568,
13,
26120,
20,
9092,
65,
6271,
13,
5,
3970,
273,
30,
221,
22,
38,
162,
20,
21,
3893,
6,
800,
3726,
3726,
31,
22,
79,
749,
20,
9092,
2023,
6271,
9,
14,
249,
13,
26120,
1381,
68,
21,
51,
18,
22402,
859,
2206,
20,
170,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Class<? extends SomeSuperclass> is apparently not allowed. What makes sense instead?
===
This is an Android app, but presumably it happens the same in Java. I have a type LevelFactory from which I derive Level1Factory, Level2Factory, etc. I want to have an array of these classes so I can instantiate a level given the ... | 0 | [
2,
718,
1,
60,
9073,
109,
8542,
1898,
1,
25,
3083,
52,
1159,
9,
98,
1364,
1259,
700,
60,
800,
3726,
3726,
48,
25,
40,
13005,
4865,
15,
47,
12411,
32,
5531,
14,
205,
19,
8247,
9,
31,
57,
21,
1001,
662,
17455,
93,
37,
56,
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... |
Building a pre-desc row table on My-Sql to make faster searching query
===
I am trying to make more faster searching query on My-Sql database.
I have 800,000 rows in `BOOKMARK` table.
when I run with this query
SELECT * FROM `BOOKMARK` WHERE `topic` = 'Apple'
Showing rows 0 - 29 ( 501 total, Query t... | 0 | [
2,
353,
21,
782,
8,
3196,
150,
3131,
859,
27,
51,
8,
18,
22402,
20,
233,
4233,
5792,
25597,
800,
3726,
3726,
31,
589,
749,
20,
233,
91,
4233,
5792,
25597,
27,
51,
8,
18,
22402,
6018,
9,
31,
57,
13,
27082,
11295,
19,
13,
1,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Theme not applying to emulator device
===
I have a one activity and one layout application. I am implementing ActionBarSherlock, but my theme isn't applying to my emulator/early devices.
My theme.xml:
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- the theme applied to the applica... | 0 | [
2,
3184,
52,
11989,
20,
3579,
14868,
3646,
800,
3726,
3726,
31,
57,
21,
53,
2358,
17,
53,
9106,
3010,
9,
31,
589,
17333,
1028,
1850,
9161,
3966,
15,
47,
51,
3184,
2532,
22,
38,
11989,
20,
51,
3579,
14868,
118,
16310,
4690,
9,
51... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jquery - get border style in firefox
===
for example
<div class="myel" style="border: dashed 1px #cc9900;background-color:#cc9900">Test</div>
when i'm running this script
alert($("div.myel").css("background"));
the result on firefox and chrome is :
rgb(204,153,0) none repate scroll 0% 0%
and ... | 0 | [
2,
487,
8190,
93,
13,
8,
164,
1862,
1034,
19,
535,
18219,
800,
3726,
3726,
26,
823,
13,
1,
12916,
718,
3726,
7,
915,
532,
7,
1034,
3726,
7,
24389,
45,
20960,
137,
306,
396,
6926,
3384,
518,
10289,
73,
1958,
8810,
8,
11282,
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... |
ActiveRecord Time Comparisons in Rails
===
I am trying to write some scopes that are meant to pull events for future, past, and current events from my sqlite database. Here are the scopes I have set in my Event model with their accompanying predicate methods:
scope :upcoming, where("start_at >= :time", time: ... | 0 | [
2,
1348,
14953,
85,
6050,
18,
19,
2240,
18,
800,
3726,
3726,
31,
589,
749,
20,
2757,
109,
9914,
18,
30,
50,
1380,
20,
2201,
963,
26,
1022,
15,
640,
15,
17,
866,
963,
37,
51,
4444,
10601,
6018,
9,
235,
50,
14,
9914,
18,
31,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What sort of Java Application server for a simple backend
===
Before you condemn this question inappropriate for this forum, let me explain.
I have a website project, that needs a backend. I have worked on several web projects with PHP as backend technology. Now this new project's backend only needs to do the l... | 4 | [
2,
98,
2058,
16,
8247,
3010,
8128,
26,
21,
1935,
97,
2451,
800,
3726,
3726,
115,
42,
18945,
48,
1301,
17176,
26,
48,
5691,
15,
408,
55,
3271,
9,
31,
57,
21,
2271,
669,
15,
30,
2274,
21,
97,
2451,
9,
31,
57,
577,
27,
238,
274... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WinBUGS Code for Bayesian hierarchical model
===
I’m reading this [paper][1] (which aims to model the nanowires (NW) growth using a Bayesian hierarchical approach). In page 7, the author proposed a model to describe the growth of nanowires. I’m trying to write a WinBUGS code (Please see below), but I’m not sure whethe... | 0 | [
2,
628,
16254,
18,
1797,
26,
899,
160,
806,
21376,
4272,
1061,
800,
3726,
3726,
31,
1,
79,
1876,
48,
636,
17945,
500,
2558,
165,
500,
13,
5,
2140,
8973,
20,
1061,
14,
10371,
13482,
18,
13,
5,
103,
499,
6,
2232,
568,
21,
899,
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... |
BufferedImage image pointer data as a JNI parameter for C function
===
Sorry if this is a duplicate question, or if the question is unclear. I'm developing a Java application that uses JNI (bridge to C dynamic/shared library). In the Java side of the application, I am generating a series of images, and in the C code... | 0 | [
2,
17497,
69,
22039,
1961,
454,
106,
1054,
28,
21,
487,
889,
18906,
26,
272,
1990,
800,
3726,
3726,
1875,
100,
48,
25,
21,
19429,
1301,
15,
54,
100,
14,
1301,
25,
11293,
9,
31,
22,
79,
3561,
21,
8247,
3010,
30,
2027,
487,
889,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Force Initialization of @ModelAttributes in Spring MVC 3.1
===
I am writing a wizard-like controller that handles the management of a single bean across multiple views. I use @SessionAttributes to store the bean, and SessionStatus.setComplete() to terminate the session in the final call. However, if the user abandons ... | 0 | [
2,
558,
2104,
1829,
16,
13,
1,
13998,
721,
14755,
18,
19,
1573,
307,
8990,
203,
9,
165,
800,
3726,
3726,
31,
589,
1174,
21,
10276,
8,
1403,
9919,
30,
3053,
18,
14,
1097,
16,
21,
345,
15322,
464,
1886,
4146,
9,
31,
275,
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... |
Razor jQuery accordion heading with img unwanted padding
===
Razor, MVC3 code first, JQuery Accordion 1.8.22, jQuery 1.7.2.
When I add an image to my jQuery accordion h3 header in a Razor view there is extra padding around the image. I created the accordion code from the jQuery site, when I run it as a html page t... | 0 | [
2,
14282,
487,
8190,
93,
20753,
4582,
29,
797,
263,
21095,
4432,
3258,
800,
3726,
3726,
14282,
15,
307,
8990,
240,
1797,
64,
15,
487,
8190,
93,
20753,
137,
9,
457,
9,
2287,
15,
487,
8190,
93,
137,
9,
465,
9,
135,
9,
76,
31,
35... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 - sum values in dictionary
===
I have got pretty simple list:
list = [
{'points': 400, 'gold': 2480},
{'points': 100, 'gold': 610},
{'points': 100, 'gold': 620},
{'points': 100, 'gold': 620}
]
How can I sum all *gold* values? I'm looking for nice oneliner.
N... | 0 | [
2,
20059,
13,
8,
3907,
4070,
19,
9186,
800,
3726,
3726,
31,
57,
330,
1772,
1935,
968,
45,
968,
800,
636,
13,
1,
22,
3132,
18,
22,
45,
4353,
15,
13,
22,
10279,
22,
45,
937,
2887,
1,
15,
13,
1,
22,
3132,
18,
22,
45,
808,
15,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ext.getCmp not working on hide of Youtube Video Sencha Touch
===
I'm having difficulty setting the HTML of an element (a panel) on the hide event to remove an iFrame Youtube video in Sencha Touch 2.
The hide event is working and is being called as I have a Ext.Msg.alert in the hide function that is being called and... | 0 | [
2,
1396,
38,
9,
3060,
150,
2554,
52,
638,
27,
3077,
16,
7330,
763,
8252,
1651,
1723,
800,
3726,
3726,
31,
22,
79,
452,
6967,
2697,
14,
13,
15895,
16,
40,
4520,
13,
5,
58,
4113,
6,
27,
14,
3077,
807,
20,
4681,
40,
31,
8361,
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... |
Rails 3, inserting local IP address into record field
===
I have a Rails 3 application and I would like to add a field to one of my models, the field will be called something along the lines of localip.
How do I add the current local IP to the field?
The standard create method in the controller is like this:
... | 0 | [
2,
2240,
18,
203,
15,
14692,
68,
375,
15735,
3218,
77,
571,
575,
800,
3726,
3726,
31,
57,
21,
2240,
18,
203,
3010,
17,
31,
83,
101,
20,
3547,
21,
575,
20,
53,
16,
51,
2761,
15,
14,
575,
129,
44,
227,
301,
303,
14,
1560,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to bind to the Click event and not use an anonymous function -- I just want to call a named function
===
I have the following code. The first attempt at binding to click event does not work. The second way does. The first shows the alert "CheckBox1" during Page_Load. The second one shows the alert "Chec... | 0 | [
2,
25,
32,
938,
20,
10193,
20,
14,
10840,
807,
17,
52,
275,
40,
10364,
1990,
13,
8,
8,
31,
114,
259,
20,
645,
21,
377,
1990,
800,
3726,
3726,
31,
57,
14,
249,
1797,
9,
14,
64,
1735,
35,
8728,
20,
10840,
807,
630,
52,
170,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Raphael Letter Shadows from User Input
===
Goal: User types name into user input field, selects Animate button, and name is printed vertically with each letter containing a drop shadow of each letter. The Javascript library Raphael is desirable.
Problem: So far what I have is the name being printed vertically tw... | 0 | [
2,
13874,
1748,
5327,
37,
4155,
6367,
800,
3726,
3726,
1195,
45,
4155,
2551,
204,
77,
4155,
6367,
575,
15,
5407,
18,
14487,
591,
5167,
15,
17,
204,
25,
5317,
23300,
29,
206,
1748,
3503,
21,
2804,
3118,
16,
206,
1748,
9,
14,
8247,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 store value entered in an input textfield in a database
===
I am using springsourcetoolsuite, grails project and I am coming across this problem of storing the value entered in the textfield into a table in the database created in mysql and connected to grails. Now I have a domain class called property having v... | 0 | [
2,
184,
20,
1718,
1923,
1297,
19,
40,
6367,
1854,
1109,
19,
21,
6018,
800,
3726,
3726,
31,
589,
568,
1573,
12097,
20799,
12352,
62,
15,
489,
7301,
18,
669,
17,
31,
589,
880,
464,
48,
1448,
16,
25615,
14,
1923,
1297,
19,
14,
1854... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 ton destroy the application when the user touches the home button or the back button of Anrdoid devices?
===
I'd like to destroy my application when the user touches the home button of Android device and begin the MainActivity when the user touches the "back" button of Android.
Does any ones knows how to do that... | 0 | [
2,
184,
13,
444,
4407,
14,
3010,
76,
14,
4155,
13935,
14,
213,
5167,
54,
14,
97,
5167,
16,
40,
897,
6516,
4690,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
4407,
51,
3010,
76,
14,
4155,
13935,
14,
213,
5167,
16,
13005,
3646,
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... |
Binding XML to an ASP.NET Gridview
===
I have an XML document like this:
<?xml version="1.0" encoding="UTF-8"?>
<cars>
<car type="Wagon" make="Volvo">
<colours>
<colour>Red</colour>
<colour>Yellow</colour>
</colours>
</car>
<car type="Sedan" make="Audi">
... | 0 | [
2,
8728,
23504,
20,
40,
28,
306,
9,
2328,
7354,
4725,
800,
3726,
3726,
31,
57,
40,
23504,
4492,
101,
48,
45,
13,
1,
60,
396,
8184,
615,
3726,
7,
165,
9,
387,
7,
19608,
3726,
7,
1982,
410,
8,
457,
7,
60,
1,
13,
1,
1367,
18,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java threads.. cuasing the thread to terminate after a set time
===
I have written code that submits a callable via an executor, storing the future in a map against an id, in the call method i wait for a flag to be set before proceeding.. basically waiting for an external operation to return to me and say we are done ... | 0 | [
2,
8247,
20396,
9,
9,
3141,
472,
68,
14,
9322,
20,
17952,
75,
21,
309,
85,
800,
3726,
3726,
31,
57,
642,
1797,
30,
12298,
18,
21,
645,
579,
1197,
40,
1396,
17194,
2153,
15,
25615,
14,
1022,
19,
21,
2942,
149,
40,
4924,
15,
19,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android: Changing Inclination of phone returns me to the main.xml view
===
I've been developing an Android App and I have encountered a small problem when putting my phone horizontally.
At the moment I have two views: The main one (main.xml) and a login view (login.xml). When I turn my phone while being in the logi... | 0 | [
2,
13005,
45,
4226,
22893,
16,
1132,
4815,
55,
20,
14,
407,
9,
396,
8184,
1418,
800,
3726,
3726,
31,
22,
195,
74,
3561,
40,
13005,
4865,
17,
31,
57,
8208,
21,
284,
1448,
76,
3873,
51,
1132,
25658,
9,
35,
14,
688,
31,
57,
81,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Save PDF then send in email
===
I am trying to save a pdf from a url and then send it in an email. The sender seems to have it but the receiver does not get it.
When I do a `NSLog` of the `NSString file` I get `/var/mobile/Applications/0ADE222E-6346-4C6C-8348-DA5327B980AA/Documents/myPDF.pdf`
It seems like it ... | 0 | [
2,
2079,
13,
11124,
94,
2660,
19,
8517,
800,
3726,
3726,
31,
589,
749,
20,
2079,
21,
13,
11124,
37,
21,
287,
6362,
17,
94,
2660,
32,
19,
40,
8517,
9,
14,
2660,
106,
2206,
20,
57,
32,
47,
14,
6264,
630,
52,
164,
32,
9,
76,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SyncAdapter for Android consuming WCF-service with NTLM credentials
===
I'm trying to develop a rest-client-application following the patterns of "Dobjanschi (<http://www.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html>?).
Therefore I'm using the sample from google "samplesync" (<developer.... | 0 | [
2,
6063,
20963,
12689,
26,
13005,
13,
17601,
11801,
410,
8,
11449,
29,
13,
2877,
10363,
5059,
43,
10107,
18,
800,
3726,
3726,
31,
22,
79,
749,
20,
2803,
21,
760,
8,
150,
18513,
38,
8,
2552,
20669,
249,
14,
6282,
16,
13,
7,
537,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Implementing a complex rotation-based camera
===
I am implementing a 3D engine for spatial visualisation, and am writing a camera with the following navigation features:
* Rotate the camera (ie, analogous to rotating your head)
* Rotate around an arbitrary 3D point (a point in space, which is probably not in the c... | 0 | [
2,
17333,
21,
1502,
9431,
8,
1281,
3336,
800,
3726,
3726,
31,
589,
17333,
21,
203,
43,
1406,
26,
14472,
3458,
4330,
15,
17,
589,
1174,
21,
3336,
29,
14,
249,
8368,
967,
45,
1637,
21448,
14,
3336,
13,
5,
660,
15,
21837,
20,
16164... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mac firefox 13 screen rendering issue
===
I have a really strange issue with firefox 13 on osx, the page works fine in all other browsers. Its not an easy one to replicate so i'm not sure how I can actually post any code but here is a screenshot
![enter image description here][1]
So I click the orange pin on t... | 0 | [
2,
1572,
535,
18219,
539,
2324,
15307,
1513,
800,
3726,
3726,
31,
57,
21,
510,
2578,
1513,
29,
535,
18219,
539,
27,
13,
759,
396,
15,
14,
2478,
693,
1123,
19,
65,
89,
16495,
18,
9,
82,
52,
40,
2010,
53,
20,
22156,
86,
31,
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... |
Add password to zip file PHP
===
Is it possible to compress a file in php that is password protected?
It is easy to zip files, but I can't find a way to add password. | 0 | [
2,
3547,
20884,
20,
12133,
3893,
13,
26120,
800,
3726,
3726,
25,
32,
938,
20,
26060,
21,
3893,
19,
13,
26120,
30,
25,
20884,
3803,
60,
32,
25,
2010,
20,
12133,
6488,
15,
47,
31,
92,
22,
38,
477,
21,
161,
20,
3547,
20884,
9,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Aggregate data in R
===
Im looking for at dead simple example on how to aggregate and calculate means in R.
Say, i have the following data frame:
A B
100 85
200 95
300 110
400 105
And i want to calculate the mean values for some ranges with the following result:
... | 0 | [
2,
8544,
1054,
19,
761,
800,
3726,
3726,
797,
699,
26,
35,
828,
1935,
823,
27,
184,
20,
8544,
17,
18469,
1108,
19,
761,
9,
395,
15,
31,
57,
14,
249,
1054,
3523,
45,
21,
334,
808,
8693,
2327,
7969,
3565,
7896,
4353,
10126,
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... |
C# Generics not working as expected
===
We have a problem with the usage of generics.
We have a generic collection of generic keyvalue pair which is defined as follows
public class KeyValueTemplate<K, V> : IGetIdentifier<K>
{
//...
}
public class KeyValueListTemplate<K, V> : ObservableCo... | 0 | [
2,
272,
5910,
12733,
18,
52,
638,
28,
1727,
800,
3726,
3726,
95,
57,
21,
1448,
29,
14,
7514,
16,
12733,
18,
9,
95,
57,
21,
12733,
1206,
16,
12733,
1246,
15165,
2146,
56,
25,
2811,
28,
2415,
317,
718,
1246,
15165,
9577,
6554,
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... |
Spring MVC maps parameter to .jsp instead of @RequestMapping
===
I've created a sample spring-mvc app using maven archetype
mvn archetype:generate -D groupId=test.tool -D artifactId=test-D version=0.1-SNAPSHOT -D archetypeArtifactId=spring-mvc-jpa-archetype -D archetypeGroupId=org.fluttercode.knappsack
I've... | 0 | [
2,
1573,
307,
8990,
6867,
18906,
20,
13,
9,
728,
3401,
700,
16,
13,
1,
99,
10351,
540,
5574,
800,
3726,
3726,
31,
22,
195,
679,
21,
5717,
1573,
8,
79,
8990,
4865,
568,
1216,
3124,
13,
21943,
4474,
17967,
103,
13,
21943,
4474,
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... |
C - open and read directory, then determine file type
===
Alright, so I am having some issues. Here is my code (opendir() called before this):
while( (dp = readdir(dfd)) != NULL ) {
if( strcmp(dp->d_name, ".") == 0 || strcmp(dp->d_name, "..") == 0)
continue;
lstat(... | 0 | [
2,
272,
13,
8,
368,
17,
1302,
16755,
15,
94,
3746,
3893,
1001,
800,
3726,
3726,
11885,
15,
86,
31,
589,
452,
109,
1549,
9,
235,
25,
51,
1797,
13,
5,
10157,
9035,
5,
6,
227,
115,
48,
6,
45,
133,
5,
13,
5,
7431,
800,
1302,
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... |
JSONObject.append into object - result is nested array?
===
Following code produces a nested array as a result for keys containing three items:
JSONObject ret = new JSONObject();
for (Key key:keys) ret.append("blocked",key.id());
The result is:
{"blocked": [[["1"],"2"],"3"]}
Is this expected? ... | 0 | [
2,
487,
528,
23793,
9,
22358,
43,
77,
3095,
13,
8,
829,
25,
5618,
69,
7718,
60,
800,
3726,
3726,
249,
1797,
6700,
21,
5618,
69,
7718,
28,
21,
829,
26,
5534,
3503,
132,
3755,
45,
487,
528,
23793,
13,
6239,
800,
78,
487,
528,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.