unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Store and query Business rule
===
I have question related to business rules. Let's have a entity Account with some properties (amount, name, type etc) on which we define business rules.
I store my rules in database table as follows
Rule_id | Field | Operator | value .
-------
Rule can be like ,amount > 100... | 0 | [
2,
1718,
17,
25597,
508,
1828,
800,
3726,
3726,
31,
57,
1301,
1597,
20,
508,
1761,
9,
408,
22,
18,
57,
21,
9252,
2176,
29,
109,
3704,
13,
5,
58,
9780,
15,
204,
15,
1001,
2722,
6,
27,
56,
95,
9267,
508,
1761,
9,
31,
1718,
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... |
How to execute php in an external file
===
Why doesn't this work?
// File hosted on `example.com`
// db-con.php
<?php
define("DB_HOST" , "host");
define("DB_NAME" , "name");
define("DB_USER" , "user");
define("DB_PASS" , "pass");
-
// File hosted on `another-examp... | 0 | [
2,
184,
20,
15644,
13,
26120,
19,
40,
4886,
3893,
800,
3726,
3726,
483,
1437,
22,
38,
48,
170,
60,
12894,
3893,
2812,
27,
13,
1,
29041,
9,
960,
1,
12894,
13,
9007,
8,
1126,
9,
26120,
13,
1,
60,
26120,
9267,
5,
7,
9007,
1,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why it is not possible to get full path in FF and Chrome
===
I googled alot to know whats the reason behind FF and Chrome not returning full path of the browsed file.I every where found saying that "it's not possible because of security issues".I still have a doubt what the security issues can be.Could any one please ... | 1 | [
2,
483,
32,
25,
52,
938,
20,
164,
503,
2013,
19,
13,
2460,
17,
13,
12985,
800,
3726,
3726,
31,
8144,
43,
21,
5639,
20,
143,
98,
18,
14,
1215,
439,
13,
2460,
17,
13,
12985,
52,
2485,
503,
2013,
16,
14,
10175,
69,
3893,
9,
49,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
OpenGL display correctly textures
===
Guys I'm very new to OpenGL and I've got a question.
I'm rendering textures on the two surfaces which actually have the same location and position.
In this kind of cases I wont to be displayed only one of the textures, while I get following
![enter image description here]... | 0 | [
2,
368,
8430,
3042,
12044,
12714,
18,
800,
3726,
3726,
2776,
31,
22,
79,
253,
78,
20,
368,
8430,
17,
31,
22,
195,
330,
21,
1301,
9,
31,
22,
79,
15307,
12714,
18,
27,
14,
81,
11569,
56,
1121,
57,
14,
205,
1474,
17,
649,
9,
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... |
Paypal Sandbox suddenly stopped sending IPNs
===
Paypal Sandbox stopped sending IPN without any apparent reason. It was working yesterday but when I came back today it stopped sending IPN. I have not changed my application code at all in between. Can anyone tell me the reason why it stopped working?? | 0 | [
2,
1372,
6720,
1965,
5309,
1605,
1175,
4907,
31,
17479,
18,
800,
3726,
3726,
1372,
6720,
1965,
5309,
1175,
4907,
31,
17479,
366,
186,
5982,
1215,
9,
32,
23,
638,
7124,
47,
76,
31,
281,
97,
786,
32,
1175,
4907,
31,
17479,
9,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Error installing nehe-tuts on Haskell Platform 2012.2.0.0
===
I tried to install nehe-tuts but cabal gave this error:
[1 of 1] Compiling Control.DeepSeq ( Control\DeepSeq.hs, dist\build\Control\Dee
pSeq.o )
Control\DeepSeq.hs:56:1:
array-0.3.0.3:Data.Array can't be safely imported! The module itself isn't... | 0 | [
2,
7019,
25429,
2836,
438,
8,
38,
1982,
18,
27,
63,
16507,
2452,
563,
9,
135,
9,
387,
9,
387,
800,
3726,
3726,
31,
794,
20,
16146,
2836,
438,
8,
38,
1982,
18,
47,
4846,
192,
492,
48,
7019,
45,
636,
165,
16,
137,
500,
24378,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Set Item postition in ActionBar
===
I have this layout that add **1 or more items** into the ActionBar
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/item_test"
an... | 0 | [
2,
309,
9101,
678,
9861,
19,
1028,
1850,
800,
3726,
3726,
31,
57,
48,
9106,
30,
3547,
13,
1409,
165,
54,
91,
3755,
1409,
77,
14,
1028,
1850,
13,
1,
60,
396,
8184,
615,
3726,
7,
165,
9,
387,
7,
19608,
3726,
7,
1982,
410,
8,
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... |
should a property be attributed as strong if it's returned from calling a C method by reference
===
For the following code (build with ARC)
in .h
@interface VideoFrameExtractor : NSObject {
AVFormatContext *pFormatCtx;
AVCodecContext *pCodecCtx;
}
in .m
int av_open_input_file(AVFormatContext **ic_ptr,... | 0 | [
2,
378,
21,
1354,
44,
6270,
28,
966,
100,
32,
22,
18,
587,
37,
2555,
21,
272,
2109,
34,
2801,
800,
3726,
3726,
26,
14,
249,
1797,
13,
5,
29361,
29,
4686,
6,
19,
13,
9,
252,
13,
1,
6280,
6413,
763,
8361,
1706,
19915,
248,
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... |
CUDA sincospi function precision
===
I was looking all over and I couldn't find how the function computes or uses it's PI part.
For my project I am using a defined constant that has precision of 34 decimal places for PI. However, this is much more than the normal math.h defined constant for PI which is 16 decimal pl... | 0 | [
2,
272,
5729,
3278,
10460,
2159,
1990,
13133,
800,
3726,
3726,
31,
23,
699,
65,
84,
17,
31,
711,
22,
38,
477,
184,
14,
1990,
23909,
18,
54,
2027,
32,
22,
18,
4194,
141,
9,
26,
51,
669,
31,
589,
568,
21,
2811,
3587,
30,
63,
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... |
Same layout looks different on a Samsung Galaxy Tab
===
I'm developing an Android 2.2.2 application which will support multiple screens sizes and all screens will be portrait. I won't support landscape.
I have test the following layout on an HTC Desire and on a Samsung Galaxy Tab 7.7.
<?xml version="1.0" e... | 0 | [
2,
205,
9106,
1879,
421,
27,
21,
22981,
9358,
6523,
800,
3726,
3726,
31,
22,
79,
3561,
40,
13005,
172,
9,
135,
9,
135,
3010,
56,
129,
555,
1886,
14236,
13403,
17,
65,
14236,
129,
44,
5548,
9,
31,
230,
22,
38,
555,
4453,
9,
31,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SEAM and Hibernate validation
===
Seam 2, Jboss 6.1
I currently use Hibernate validation annotations on my persistance object with seam to do validation on my jsf pages:
@Entity
@Table(name = "CLIENT", catalog = "testdb")
public class Client implements java.io.Serializable {
private Inte... | 0 | [
2,
13927,
17,
4148,
2102,
8820,
27999,
800,
3726,
3726,
13927,
172,
15,
487,
10349,
18,
400,
9,
165,
31,
871,
275,
4148,
2102,
8820,
27999,
40,
1270,
7504,
27,
51,
22084,
2416,
3095,
29,
13927,
20,
107,
27999,
27,
51,
487,
18,
410... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Efficiency whilst reading a txt file to an array
===
I have written a script in which I read in .txt files to arrays. It works perfectly but I'm curious if there is a more efficient way of reading the text files in.
I have this:
try {
String line;
filestart = new BufferedReader(new FileReader("C:\\path\\fil... | 0 | [
2,
7836,
4575,
1876,
21,
20225,
38,
3893,
20,
40,
7718,
800,
3726,
3726,
31,
57,
642,
21,
3884,
19,
56,
31,
1302,
19,
13,
9,
38,
396,
38,
6488,
20,
7718,
18,
9,
32,
693,
5759,
47,
31,
22,
79,
7686,
100,
80,
25,
21,
91,
824... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Give up the ownership of a stream/file
===
I'm having a real strange issue while working with streams.
I open a stream like this:
_stream = new FileStream(filename, FileMode.Open, FileAccess.ReadWrite, FileShare.Read);
Where _stream of course is a FileStream. I added a dispose method for this class like tha... | 0 | [
2,
590,
71,
14,
5074,
16,
21,
3766,
118,
16877,
800,
3726,
3726,
31,
22,
79,
452,
21,
683,
2578,
1513,
133,
638,
29,
9464,
9,
31,
368,
21,
3766,
101,
48,
45,
13,
1,
11260,
800,
78,
3893,
11260,
5,
16877,
7259,
15,
3893,
15570,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
gmaps4rails - follow the youtube tutorial and http://root2linux.com/2011/05/google-maps-in-rails3-application-sample-application/
===
I am working on Rails 3 with google map. I follow the tutorial and the following link
http://root2linux.com/2011/05/google-maps-in-rails3-application-sample-application/
but the map... | 0 | [
2,
13,
14336,
1919,
300,
7301,
18,
13,
8,
1740,
14,
7330,
29724,
17,
7775,
6903,
14032,
135,
1226,
7147,
9,
960,
118,
3097,
118,
4071,
118,
16111,
4875,
8,
15022,
18,
8,
108,
8,
7301,
18,
240,
8,
2552,
20669,
8,
6101,
5106,
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... |
PARI/GP and gcc
===
I am trying to install PARI/GP and in the configuration step I get:
$ ./Configure
[...]
Looking for the compilers ...
...cc is /usr/bin/cc
...gcc is /usr/local/bin/gcc
GNU compiler version 4.8.0 20120705 (experimental) (GCC)
###
### C compiler does not work... | 0 | [
2,
19498,
118,
13321,
17,
489,
3384,
800,
3726,
3726,
31,
589,
749,
20,
16146,
19498,
118,
13321,
17,
19,
14,
8091,
1424,
31,
164,
45,
5579,
13,
9,
118,
1126,
15951,
636,
9,
9,
9,
500,
699,
26,
14,
21486,
18,
13,
9,
9,
9,
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... |
Draw line on a 9x9 matrix acoording to the angle
===
I have declared a circle on a 9x9 matrix with radius = 1, and I want to draw line on it according to the parameters.
Here is the Matrix
![enter image description here][1]
And here is the parameters in order to find beginning and end points of the line wh... | 0 | [
2,
2003,
293,
27,
21,
561,
396,
518,
8187,
21,
716,
248,
3258,
20,
14,
5334,
800,
3726,
3726,
31,
57,
2482,
21,
2775,
27,
21,
561,
396,
518,
8187,
29,
13288,
800,
137,
15,
17,
31,
259,
20,
2003,
293,
27,
32,
496,
20,
14,
129... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Plugin - access outside a child value from different parent variable
===
I'am new to jQuery and espacially to javascript.
I'am trying to create a jquery plugin but have some difficulties with callback events. I want to include a callback events into different functions, so that plugin will be a little bit flex... | 0 | [
2,
487,
8190,
93,
10922,
108,
13,
8,
1381,
719,
21,
850,
1923,
37,
421,
4766,
7612,
800,
3726,
3726,
31,
22,
765,
78,
20,
487,
8190,
93,
17,
9867,
1738,
49,
1326,
20,
8247,
8741,
9,
31,
22,
765,
749,
20,
1600,
21,
487,
8190,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Chrome extension adding event to Google Calendar occurs 'Parse Error'
===
I am writing an offline calendar which can sync with Google Calendar. It can get data from Google Calendar, but can't insert events to Google. Here is my inserting code:
var url = 'https://www.googleapis.com/calendar/v3/calendars/' + ... | 0 | [
2,
13,
12985,
3896,
4721,
807,
20,
8144,
7036,
3690,
13,
22,
3574,
870,
7019,
22,
800,
3726,
3726,
31,
589,
1174,
40,
168,
1143,
7036,
56,
92,
6063,
150,
29,
8144,
7036,
9,
32,
92,
164,
1054,
37,
8144,
7036,
15,
47,
92,
22,
38... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to allow only one or the other fields be filled in but not both?
===
I have a product model with 4 attributes called price, price_per_unit, unit and unit_amount. I want to allow either the price attribute to be filled or the other 3 fields but not all 4 of them. Here's a better view:
class Product < ActiveR... | 0 | [
2,
184,
20,
1655,
104,
53,
54,
14,
89,
2861,
44,
1943,
19,
47,
52,
156,
60,
800,
3726,
3726,
31,
57,
21,
2374,
1061,
29,
268,
13422,
227,
2162,
15,
2162,
1,
1432,
1,
15464,
15,
1237,
17,
1237,
1,
58,
9780,
9,
31,
259,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Auto Save a CSV File to pre-defined location with pre-defined file name
===
Suppose i have a web page from where i download a csv file. A dialog box then appears which has the options 'Open'or 'Save' file. Now, what i want is that as soon as the user clicks on the download button, the csv file automatically gets saved... | 0 | [
2,
3108,
2079,
21,
272,
18,
710,
3893,
20,
782,
8,
13439,
1474,
29,
782,
8,
13439,
3893,
204,
800,
3726,
3726,
5787,
31,
57,
21,
2741,
2478,
37,
113,
31,
7121,
21,
272,
18,
710,
3893,
9,
21,
28223,
1649,
94,
1780,
56,
63,
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... |
Problems with loading CSS and JS from Django to IIS7
===
i successfully deployed my Django site to IIS7 but i still have problems on how to configure IIS to serve the static files since i tried many many things on the internet but nothing is working, everything is working fine just on Django server(manage.py runserver... | 0 | [
2,
1716,
29,
12797,
272,
18,
18,
17,
487,
18,
37,
3857,
14541,
20,
595,
18,
465,
800,
3726,
3726,
31,
3673,
6698,
51,
3857,
14541,
689,
20,
595,
18,
465,
47,
31,
174,
57,
1716,
27,
184,
20,
1065,
15951,
595,
18,
20,
1884,
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... |
Identifying the line where a function was invoked
===
Having a repetitive code like so:
$SQL = " INSERT INTO ... ";
mysql_query($SQL, $conexion);
$error = mysql_error();
if($_ADM['id_user']==1) {
if( ! empty($error)) {
$debug = array(
'message' => "SQL Error in ... | 0 | [
2,
13785,
14,
293,
113,
21,
1990,
23,
26252,
800,
3726,
3726,
452,
21,
24935,
1797,
101,
86,
45,
5579,
18,
22402,
800,
13,
7,
14692,
77,
13,
9,
9,
9,
13,
7,
73,
51,
18,
22402,
1,
8190,
93,
5,
4403,
18,
22402,
15,
5579,
1126,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 a pre-loader image to hide tinymce source code till the content loads
===
We have integrated Tinymce for the system i am developing. My boss wants me to use a loading image till the full content loads within Tinymce textarea. I need just to hide HTML til the content loads content. Do anyone of you have an idea h... | 0 | [
2,
568,
21,
782,
8,
8294,
106,
1961,
20,
3077,
3228,
79,
1105,
1267,
1797,
3924,
14,
2331,
19069,
800,
3726,
3726,
95,
57,
5547,
3228,
79,
1105,
26,
14,
329,
31,
589,
3561,
9,
51,
4054,
2846,
55,
20,
275,
21,
12797,
1961,
3924,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mutliple dropdowns and values on the Paging
===
I have a GridView and I populate it via a DATASET . Three of its columns are three DropDownLists and AllowPaging is set to true for the grid view. My problem is when I choose a value on anyone of the ddl and click on serach button i get the data on the gridview which w... | 0 | [
2,
13,
7903,
6013,
413,
2804,
2968,
18,
17,
4070,
27,
14,
19006,
68,
800,
3726,
3726,
31,
57,
21,
7354,
4725,
17,
31,
1675,
12383,
32,
1197,
21,
1054,
3554,
13,
9,
132,
16,
82,
7498,
50,
132,
2804,
2968,
5739,
18,
17,
1655,
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... |
Shared objects between two JRuby instances in one JVM
===
I would like to know if it's possible to share an object between two JRuby instances if they run inside the same JVM?
I already tried to create a singleton java class that got referenced from both JRubies, but it's seems, that each JRuby creates it's own env... | 0 | [
2,
2592,
3916,
128,
81,
2000,
291,
779,
13946,
19,
53,
487,
20147,
800,
3726,
3726,
31,
83,
101,
20,
143,
100,
32,
22,
18,
938,
20,
1891,
40,
3095,
128,
81,
2000,
291,
779,
13946,
100,
59,
485,
572,
14,
205,
487,
20147,
60,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
python backtrack
===
I have recently posted a few questions to understand recursion and backtrack, I felt I got something right now, and tried to write a test, I did solve the sudoku problem, but when I write the code in another format, the code stucks for a while and returns False, which indicates there are no soluti... | 0 | [
2,
20059,
97,
4792,
800,
3726,
3726,
31,
57,
1989,
6054,
21,
310,
2346,
20,
1369,
26604,
5991,
17,
97,
4792,
15,
31,
427,
31,
330,
301,
193,
130,
15,
17,
794,
20,
2757,
21,
1289,
15,
31,
144,
8402,
14,
9680,
9266,
1448,
15,
47... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regex edit of a binary file/string using python
===
I'm searching a way to do some string substitution in python 2.7 usin regex on a binary file.
s is a string I get from reading a binay file. It contains this sequence (hex ) :
' 00 00 **03 00 00 01** 4A 50 20 43 52 55 4E 43 48 20 32 20 45 51 00 **F7 00 F0** ... | 0 | [
2,
7953,
1706,
9392,
16,
21,
14171,
3893,
118,
11130,
568,
20059,
800,
3726,
3726,
31,
22,
79,
5792,
21,
161,
20,
107,
109,
3724,
19910,
19,
20059,
172,
9,
465,
182,
108,
7953,
1706,
27,
21,
14171,
3893,
9,
13,
18,
25,
21,
3724,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
activemq --extdir option doesn't seem to work
===
I am starting an active mq broker using my own config file:
./apache-activemq-5.6.0/bin/activemq console xbean:custom-broker.xml
The broker is using some classes I have defined which reside in a jar. For a while now I was just sticking the jar in the activemq... | 0 | [
2,
1348,
79,
1251,
13,
8,
8,
1706,
38,
9035,
4255,
1437,
22,
38,
2260,
20,
170,
800,
3726,
3726,
31,
589,
1422,
40,
1348,
307,
1251,
14930,
568,
51,
258,
13,
14093,
2816,
3893,
45,
13,
9,
118,
7738,
2569,
8,
7889,
79,
1251,
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... |
Cannot call Action in strut2 using $.getJSON
===
I'm using Strut2 and Json to make a simple example :
on keyUp event of my textbox ,using JSON to call an action to get the data from server , then display the data to the other textfield , but when the code doesn't run as my expected, the method of the action never ... | 0 | [
2,
1967,
645,
1028,
19,
18316,
135,
568,
5579,
9,
3060,
728,
528,
800,
3726,
3726,
31,
22,
79,
568,
18316,
135,
17,
487,
528,
20,
233,
21,
1935,
823,
13,
45,
27,
1246,
576,
807,
16,
51,
1854,
5309,
13,
15,
12655,
487,
528,
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 Kill Java Process in Windows, without killing java.exe through command line?
===
I need to kill the process activemq-all-5.5.1.jar. I use taskkill /im java.exe, but it kills all other applications related with java. I need to close this specific application only. Anyone can please help me?
Thanks in advance.
... | 2 | [
2,
184,
20,
1177,
8247,
953,
19,
1936,
15,
366,
2389,
8247,
9,
1706,
62,
120,
1202,
293,
60,
800,
3726,
3726,
31,
376,
20,
1177,
14,
953,
1348,
79,
1251,
8,
1233,
8,
264,
9,
264,
9,
165,
9,
6300,
9,
31,
275,
3005,
7577,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Creating header , footer and a left side bar using CSS
===
I am trying to create header , footer and a side bar that extends throughout the content but I am having problem. I have [jsfiddle][1]. but I am unsuccessful.
[1]: http://jsfiddle.net/kitex/zAYru/ | 0 | [
2,
2936,
157,
106,
13,
15,
1749,
106,
17,
21,
225,
270,
748,
568,
272,
18,
18,
800,
3726,
3726,
31,
589,
749,
20,
1600,
157,
106,
13,
15,
1749,
106,
17,
21,
270,
748,
30,
9073,
892,
14,
2331,
47,
31,
589,
452,
1448,
9,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to handle orientation change easily
===
I'm working on a android application that adds every view programmaticaly.
When the user turns the screen, I just want to values that are filled in to be displayed again.
Is there an easy way to let Android do this automaticaly?
My application is completely dynamic so... | 0 | [
2,
184,
20,
3053,
10245,
753,
2351,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
13005,
3010,
30,
10621,
352,
1418,
625,
6732,
58,
102,
9,
76,
14,
4155,
2844,
14,
2324,
15,
31,
114,
259,
20,
4070,
30,
50,
1943,
19,
20,
44,
6115,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Profiling on AIX 6.1 using gprof
===
I profile a program compiled on AIX 5.2 using gprof. This version only runs one thread and the produced gmon.out holds all the information I need.
I'm trying to profile this program compiled on AIX 6.1. (This version should run multiple threads). Profiling this I ran into a cou... | 0 | [
2,
8721,
49,
802,
27,
21,
4028,
400,
9,
165,
568,
489,
2740,
410,
800,
3726,
3726,
31,
5296,
21,
625,
9316,
27,
21,
4028,
331,
9,
135,
568,
489,
2740,
410,
9,
48,
615,
104,
1461,
53,
9322,
17,
14,
671,
489,
2111,
9,
1320,
27... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TYPO3 Extbase: Nested models in fluid
===
I'm writing my first extbase extension for TYPO3 with nested models at the moment.
Following models exists:
**Author** - attributes: name and description
**News** - attributes: title, date, author
The author is included in the news model like this
/**
... | 0 | [
2,
22550,
240,
1396,
38,
8436,
45,
5618,
69,
2761,
19,
6250,
800,
3726,
3726,
31,
22,
79,
1174,
51,
64,
1396,
38,
8436,
3896,
26,
22550,
240,
29,
5618,
69,
2761,
35,
14,
688,
9,
249,
2761,
5636,
45,
13,
1409,
10007,
1409,
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... |
Find the position of subview in a View
===
Goal : How we can find the position of subView in a View. I wants to find out the upper left (x,y)position of my scrollBar in a View, I am also using navigation Bar in my Application does it effect on the positioning of subViews from the Top?
I know how to find the height ... | 0 | [
2,
477,
14,
649,
16,
972,
4725,
19,
21,
1418,
800,
3726,
3726,
1195,
13,
45,
184,
95,
92,
477,
14,
649,
16,
972,
4725,
19,
21,
1418,
9,
31,
2846,
20,
477,
70,
14,
1508,
225,
13,
5,
396,
15,
93,
6,
9339,
16,
51,
12159,
1850... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 rewrite urls
===
I have a URL suppose xyz.com, for some reasons I dont want anyone to access my site using www.xyz.com. Even if they add 'www', I want to alter the address in their bar to xyz.com. Is there a way? | 0 | [
2,
184,
20,
27891,
13,
911,
7532,
800,
3726,
3726,
31,
57,
21,
287,
6362,
5787,
13,
15161,
380,
9,
960,
15,
26,
109,
2932,
31,
1049,
259,
1276,
20,
1381,
51,
689,
568,
13,
6483,
9,
15161,
380,
9,
960,
9,
166,
100,
59,
3547,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
php psr-0 restful webservice library
===
is anyone aware of lightweight restful lib that is namespaced following psr-0 guide lines.
looking at slim, epiphany but would like something that is better structured and namespaced as per psr-0 recommendations.
slim claims to be psr-0 compliant but its not really and 'a... | 0 | [
2,
13,
26120,
8613,
139,
8,
387,
760,
1566,
2741,
11449,
1248,
800,
3726,
3726,
25,
1276,
3854,
16,
13613,
760,
1566,
13,
8326,
30,
25,
1817,
15265,
249,
8613,
139,
8,
387,
3378,
1560,
9,
699,
35,
8824,
15,
5971,
9944,
93,
47,
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... |
Android - writing/saving files from native code only
===
I'm trying to build an Android app which makes use of the `NativeActivity` facility of the NDK.
I'm having the following structure:
- a bunch of native shared libraries installed in `/system/vendor/<company>`; I'm working
with a custom built Android image s... | 0 | [
2,
13005,
13,
8,
1174,
118,
25102,
6488,
37,
1275,
1797,
104,
800,
3726,
3726,
31,
22,
79,
749,
20,
1895,
40,
13005,
4865,
56,
1364,
275,
16,
14,
13,
1,
21525,
19348,
1,
2646,
16,
14,
13,
706,
197,
9,
31,
22,
79,
452,
14,
24... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Passing the current session to HTTPURl connecion
===
I am trying to call a service using HTTPURlconnection(httpclient). That URL requires the user details which it takes from the SESSION (or cookie).
When i hit the URL directly on browser with session i am getting the responce.
But when i use URL connection not ... | 0 | [
2,
2848,
14,
866,
3723,
20,
7775,
911,
255,
1065,
556,
10934,
800,
3726,
3726,
31,
589,
749,
20,
645,
21,
365,
568,
7775,
911,
255,
25996,
872,
5,
21127,
150,
18513,
38,
6,
9,
30,
287,
6362,
4781,
14,
4155,
3289,
56,
32,
1384,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 all inline style tage from HTML using dom
===
I have a dom and in this i have loaded whole of the webpage html. I want to remove all the inline style from all the elements in this page. How can i do this.
| 0 | [
2,
4681,
65,
19,
1143,
1034,
3383,
62,
37,
13,
15895,
568,
11859,
800,
3726,
3726,
31,
57,
21,
11859,
17,
19,
48,
31,
57,
8572,
979,
16,
14,
2741,
6486,
13,
15895,
9,
31,
259,
20,
4681,
65,
14,
19,
1143,
1034,
37,
65,
14,
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,
0,
0,
0,
0,
0,
0... |
Hashcode bucket distribution in java
===
Suppose I need to store 1000 objects in Hashset, is it better that I have 1000 buckets containing each object( by generating unique value for hashcode for each object) or have 10 buckets roughly containing 100 objects?
1 advantage of having unique bucket is that I can save e... | 0 | [
2,
19170,
9375,
12433,
2523,
19,
8247,
800,
3726,
3726,
5787,
31,
376,
20,
1718,
6150,
3916,
19,
19170,
3554,
15,
25,
32,
574,
30,
31,
57,
6150,
12433,
18,
3503,
206,
3095,
5,
34,
13500,
2619,
1923,
26,
19170,
9375,
26,
206,
3095,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Self Tracking Entities track Object Child TrackableCollection
===
I am using EF4.0 and STE T4 Template, I have an Entity "Bag" that contains navigation prop "Items" which is a Trackable Collection.
I retrieve my Bag with Includes on "Items" and use `.StartTracking();` on my Bag Entity.
The Bag has ChangeTracking Ena... | 0 | [
2,
1119,
10353,
12549,
792,
3095,
850,
792,
579,
15015,
872,
800,
3726,
3726,
31,
589,
568,
11599,
300,
9,
387,
17,
6621,
13,
38,
300,
22894,
15,
31,
57,
40,
9252,
13,
7,
8632,
7,
30,
1588,
8368,
9476,
13,
7,
2119,
79,
18,
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... |
Twitter Bootstrap modal is not working in IE7
===
<div class="modal hide" id="modalId">
<div class="modal-header" style="padding:30px 10px">
<h3 style="float:left">Some text here</h3>
<input type="image" src="image_path" alt="loading..." class="pull-right" />
</div>
<div class="modal-body" sty... | 0 | [
2,
10623,
5894,
16514,
13,
20756,
25,
52,
638,
19,
13,
660,
465,
800,
3726,
3726,
13,
1,
12916,
718,
3726,
7,
20756,
3077,
7,
4924,
3726,
7,
20756,
1340,
7,
1,
13,
1,
12916,
718,
3726,
7,
20756,
8,
1743,
106,
7,
1034,
3726,
7,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using ProgressDialog in asynctasks pre/post execute methods
===
Edit: Problem solved. Make it global. I'm doing a facepalm right now guys. Thanks!
Below are some snippets from a class that extends AsyncTask. I want to start a progressDialog in the preExecute() method and do a progressDialog.dismiss(); in the po... | 0 | [
2,
568,
3455,
4286,
5567,
19,
21,
9507,
20255,
3656,
18,
782,
118,
6962,
15644,
3195,
800,
3726,
3726,
9392,
45,
1448,
15091,
9,
233,
32,
2062,
9,
31,
22,
79,
845,
21,
276,
26355,
193,
130,
2776,
9,
3669,
187,
1021,
50,
109,
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... |
Multiple backgrounds with background-size
===
I am trying to create a page background with an overlay using [tag:CSS3]'s multiple background support;
html, body {
background: url('https://github.com/jaysalvat/vegas/raw/master/overlays/01.png') repeat,
url('http://farm8.staticflickr.com... | 0 | [
2,
1886,
2395,
18,
29,
2395,
8,
10454,
800,
3726,
3726,
31,
589,
749,
20,
1600,
21,
2478,
2395,
29,
40,
84,
4414,
568,
636,
8628,
45,
6824,
18,
240,
500,
22,
18,
1886,
2395,
555,
73,
13,
15895,
15,
358,
13,
1,
2395,
45,
287,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHPExcel setCellValueByColumnAndRow not writing data to spreadsheet
===
i'm outputting data from a mysql database to an excel workbook using PHPExcel. My workbook has 3 sheets and most of it is working fine. I'm having problems with the last section of output to the third sheet. What I am trying to do is output a tabl... | 0 | [
2,
13,
26120,
1706,
11040,
309,
9725,
15165,
779,
716,
4404,
103,
290,
5417,
52,
1174,
1054,
20,
1789,
17627,
800,
3726,
3726,
31,
22,
79,
5196,
1203,
1054,
37,
21,
51,
18,
22402,
6018,
20,
40,
20700,
170,
5199,
568,
13,
26120,
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... |
PHP Exec() or System() Causes 500 Error
===
A fairly simple problem, I think. Here's my testing code (obviously I'll add security precautions when I'm writing this for real) -
<?php
if (isset($_POST['url']) && !empty($_POST['url'])) {
system('wget --no-parent --timestamping --convert-links --page-r... | 0 | [
2,
13,
26120,
1396,
3319,
5,
6,
54,
329,
5,
6,
4047,
3033,
7019,
800,
3726,
3726,
21,
6647,
1935,
1448,
15,
31,
277,
9,
235,
22,
18,
51,
4431,
1797,
13,
5,
4995,
710,
18190,
31,
22,
211,
3547,
1221,
20474,
18,
76,
31,
22,
79... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Rails 3 Nested Form and jQuery UI datepicker updates first element only
===
This isn't working as I'd like.
I have an entry form for a **new** job, which is made up of a number of steps. By default there are 4 **new and unsaved** steps populated per job.
Using the code from the view below, I am able to attach t... | 0 | [
2,
2240,
18,
203,
5618,
69,
505,
17,
487,
8190,
93,
13,
5661,
1231,
16855,
106,
16779,
64,
4520,
104,
800,
3726,
3726,
48,
2532,
22,
38,
638,
28,
31,
22,
43,
101,
9,
31,
57,
40,
2792,
505,
26,
21,
13,
1409,
2681,
1409,
1205,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JavaScript ASp.net.. error in Storing Value in HiddenField from JavaScript.. Check Code below
===
My Try 1:
var a=confirm('Do You Really want to Save this Record?') ;
document.getElementById('Hidden.ClientID') = a;
My Try 2:
var a=confirm('Do You Really want to Save this Record?') ;
document.getElementById(... | 0 | [
2,
8247,
8741,
28,
306,
9,
2328,
9,
9,
7019,
19,
25615,
1923,
19,
3689,
1109,
37,
8247,
8741,
9,
9,
2631,
1797,
1021,
800,
3726,
3726,
51,
1131,
6352,
4033,
21,
3726,
1126,
20590,
5,
22,
537,
42,
510,
259,
20,
2079,
48,
571,
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... |
when click a element near input ,will trigger the click event of input
===
<label onclick="alert('label')">
<input type="text" onclick="alert('input')" >
<label onclick="alert('innerLabel-1')">abc</label>
<label onclick="alert('innerLabel-2')">cde</label>
</label>
when click ... | 0 | [
2,
76,
10840,
21,
4520,
424,
6367,
13,
15,
5580,
7286,
14,
10840,
807,
16,
6367,
800,
3726,
3726,
13,
1,
21018,
27,
150,
10129,
3726,
7,
192,
6767,
5,
22,
21018,
22,
6,
7,
1,
13,
1,
108,
4881,
1001,
3726,
7,
11969,
7,
27,
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... |
redirect with variable
===
I'm sorry if I ask a silly question.
if in view `$this->load->view('some_view', $data);`, can I use it on redirect like this `redirect('some_controller', $data)`?
once again, sorry if I asking a silly question, thank you | 0 | [
2,
302,
14706,
29,
7612,
800,
3726,
3726,
31,
22,
79,
1875,
100,
31,
1349,
21,
10752,
1301,
9,
100,
19,
1418,
13,
1,
4403,
1565,
8,
1,
8294,
8,
1,
4725,
5,
22,
3220,
1,
4725,
22,
15,
5579,
18768,
6,
73,
1,
15,
92,
31,
275,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Twilio <Dial> verb not working
===
I am trying to use Twilio to call a phone number. I was looking at their sample code here: http://www.twilio.com/docs/api/twiml/dial
When I copy and paste the following sample code it will not call the number:
<?xml version="1.0" encoding="UTF-8"?>
<Response>
... | 0 | [
2,
22810,
11188,
13,
1,
43,
2815,
1,
9504,
52,
638,
800,
3726,
3726,
31,
589,
749,
20,
275,
22810,
11188,
20,
645,
21,
1132,
234,
9,
31,
23,
699,
35,
66,
5717,
1797,
235,
45,
7775,
6903,
6483,
9,
38,
499,
24434,
9,
960,
118,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Show native dialog in modal mode from java
===
I'm using a library which uses DLL file to scan a document, from java I can only say from that native object : Source.acquireImageAsBufferedImage() which is responsible to scan a paper and return it back to me.
This method is internally using native code to open a dialog... | 0 | [
2,
298,
1275,
28223,
19,
13,
20756,
3740,
37,
8247,
800,
3726,
3726,
31,
22,
79,
568,
21,
1248,
56,
2027,
13,
43,
211,
3893,
20,
8313,
21,
4492,
15,
37,
8247,
31,
92,
104,
395,
37,
30,
1275,
3095,
13,
45,
1267,
9,
1738,
3003,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dates and timespans with SQL
===
given the following table and data
create table prices
(productKey int
,PriceType char(10)
,BeginDate date
,EndDate date
,price decimal(18,2))
insert into prices(productKey, PriceType,BeginDate,EndDate, price)
values
(1,'LIST','1-1-... | 0 | [
2,
4076,
17,
436,
3206,
18,
29,
4444,
255,
800,
3726,
3726,
504,
14,
249,
859,
17,
1054,
1600,
859,
7334,
13,
5,
14086,
4237,
19,
38,
13,
15,
24137,
4474,
4892,
5,
1036,
6,
13,
15,
17143,
108,
8209,
1231,
13,
15,
2451,
8209,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to have vector data point to array
===
I'm building a c++ class that wraps a C-style api for database access. Its hierarchical, where each survey line includes many channels of data. Each channel is stored and passed as an array of many points. I would like to use vectors in my class, but the api gives me a pointe... | 0 | [
2,
184,
20,
57,
7497,
1054,
454,
20,
7718,
800,
3726,
3726,
31,
22,
79,
353,
21,
272,
20512,
718,
30,
8118,
18,
21,
272,
8,
4381,
21,
2159,
26,
6018,
1381,
9,
82,
21376,
4272,
15,
113,
206,
3431,
293,
1103,
151,
6328,
16,
1054... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Show marker annotation on ANdroid maps
===
i'm looking for a hint/way to show an annotation when clicked on a marker. I've extended ItemizedOverlay to show the marks and implemented onTad(int index) to react when a marker is tapped. Now i want to pop up a little windows as there is for iphone ([example][1])...
I'v fo... | 0 | [
2,
298,
13289,
40,
1270,
857,
27,
13005,
6867,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
6382,
118,
1443,
20,
298,
40,
40,
1270,
857,
76,
15802,
27,
21,
13289,
9,
31,
22,
195,
1984,
9101,
1333,
2549,
4414,
20,
298,
14,
4872,
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... |
join two query not by inner join
===
$query1 = "SELECT id, ac, aa FROM tbl_ac WHERE ac = ? AND aa = ?";
and
$query2 = "SELECT id, cc FROM tbl_cc WHERE cc = ?";
What is the best equivalent of those two query in just one query? I can't use `INNER JOIN` with this because each table doesn't have a... | 0 | [
2,
1865,
81,
25597,
52,
34,
3754,
1865,
800,
3726,
3726,
5579,
8190,
93,
165,
800,
13,
7,
18,
16964,
4924,
15,
21,
150,
15,
21,
58,
37,
13,
38,
6287,
1,
1738,
113,
21,
150,
800,
13,
60,
17,
21,
58,
800,
13,
60,
7,
73,
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... |
rails next/prev record
===
I saw a lot of the same solution for finding next/previous records, but I have a different case.
In my db there are some posts (1, 2, 3, 4, 5, 6...) and they have default_scope for sticked posts: default_scope :order => 'sticky DESC'
and if 4's post would be sticked, it would be at first... | 0 | [
2,
2240,
18,
328,
118,
3515,
710,
571,
800,
3726,
3726,
31,
441,
21,
865,
16,
14,
205,
4295,
26,
3007,
328,
118,
3515,
1755,
1291,
742,
15,
47,
31,
57,
21,
421,
610,
9,
19,
51,
13,
9007,
80,
50,
109,
9868,
13,
5,
165,
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... |
NSFileManager how to know if a file is being used (to avoid deleting it)
===
I'm trying to limit the space used by my iOS app and thus delete old pictures if a limit is reached. However old picture doesn't mean unused picture. I was wondering if there's a way to know if a picture is being used or has been loaded recen... | 0 | [
2,
13,
2172,
16877,
22256,
184,
20,
143,
100,
21,
3893,
25,
142,
147,
13,
5,
262,
2658,
121,
1336,
68,
32,
6,
800,
3726,
3726,
31,
22,
79,
749,
20,
4496,
14,
726,
147,
34,
51,
13,
7760,
4865,
17,
1086,
27448,
315,
3104,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
i want to execute jsx script from a html file or js script
===
Typically when you're writing a .jsx script to automate an Adobe product (like InDesign, Illustrator or Photoshop), you write, debug and execute the script from the ExtendScript IDE. Is it possible to bypass ExtendScript and run the script from an third pr... | 0 | [
2,
31,
259,
20,
15644,
487,
18,
396,
3884,
37,
21,
13,
15895,
3893,
54,
487,
18,
3884,
800,
3726,
3726,
2442,
76,
42,
22,
99,
1174,
21,
13,
9,
728,
18,
396,
3884,
20,
3108,
5281,
40,
20299,
2374,
13,
5,
1403,
19,
19862,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to play videos using RTP in ios
===
I want to create an app which plays videos using the RTP protocol.
I just need to know if anyone can provide any resources/websites, as to where I can find information on how to use the RTP protocol. | 0 | [
2,
184,
20,
418,
6610,
568,
761,
13726,
19,
13,
7760,
800,
3726,
3726,
31,
259,
20,
1600,
40,
4865,
56,
1533,
6610,
568,
14,
761,
13726,
8494,
9,
31,
114,
376,
20,
143,
100,
1276,
92,
1181,
186,
2566,
118,
14113,
18,
6359,
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,
0,
0... |
"invalid character in the given encoding"....Hebrew characts in .doc file
===
the subject error occurs when I try to upload a .doc file in Hebrew language to a SharePoint list.
XmlDocument document = new XmlDocument();
if (_view.DocumentStream != null)
{
do... | 0 | [
2,
13,
7,
108,
18506,
43,
925,
19,
14,
504,
19608,
7,
9,
9,
9,
9,
16774,
4892,
5183,
18,
19,
13,
9,
13799,
3893,
800,
3726,
3726,
14,
1550,
7019,
3690,
76,
31,
1131,
20,
71,
8294,
21,
13,
9,
13799,
3893,
19,
7438,
816,
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... |
Best way to protect from multiple shared_ptr to the same object
===
Sending the same pointer into two different `shared_ptr`'s is bad, it causes double deallocation, like thus:
int* p = new int;
std::shared_ptr<int> p1(p);
std::shared_ptr<int> p2(p); // BAD
You can accomplish the same purpose with ... | 0 | [
2,
246,
161,
20,
2196,
37,
1886,
2592,
1,
4417,
139,
20,
14,
205,
3095,
800,
3726,
3726,
4907,
14,
205,
454,
106,
77,
81,
421,
13,
1,
16608,
43,
1,
4417,
139,
1,
22,
18,
25,
896,
15,
32,
4047,
1494,
1183,
19032,
15,
101,
108... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MongoDb insert (Perl driver) vs mongoimport inconsistency
===
I have a collection in mongo in which I am inserting data from Perl (using MongoDb) and with mongoinsert. The problem is that the data types for numbers become inconsistent.
For example, from Perl, I do:
$collection->insert({ _id => 1, value => "... | 0 | [
2,
3521,
5474,
220,
14692,
13,
5,
1432,
255,
2425,
6,
4611,
3521,
839,
1660,
1993,
19,
12124,
702,
8883,
800,
3726,
3726,
31,
57,
21,
1206,
19,
3521,
839,
19,
56,
31,
589,
14692,
68,
1054,
37,
416,
255,
13,
5,
12655,
3521,
5474,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to get a list of events that satisfy some conditions
===
I want to get a list of all events with more than a min number of users attending it.
It could be easy using the Facebook Graph API query:
https://graph.facebook.com/search?q=party&type=event&fields=id,name,description,location,picture,start_time,end... | 0 | [
2,
184,
20,
164,
21,
968,
16,
963,
30,
14711,
109,
2039,
800,
3726,
3726,
31,
259,
20,
164,
21,
968,
16,
65,
963,
29,
91,
119,
21,
4232,
234,
16,
3878,
6237,
32,
9,
32,
110,
44,
2010,
568,
14,
9090,
7210,
21,
2159,
25597,
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... |
android - NullPointerException in onResume caused by MapActivity?
===
I'm getting this error only the first time i run my app. Why???
Any clue????
Here is my code:
I'm getting user's facebook name and pic in method init()
I start a service when a toogle botton is enabled
public void onCreate(Bundle save... | 0 | [
2,
13005,
13,
8,
16203,
3132,
106,
10066,
872,
19,
27,
99,
18,
9472,
1497,
34,
2942,
19348,
60,
800,
3726,
3726,
31,
22,
79,
1017,
48,
7019,
104,
14,
64,
85,
31,
485,
51,
4865,
9,
483,
60,
60,
60,
186,
8906,
60,
60,
60,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
reading the exit value of a defunct process
===
I have a dead process that is now in the defunct state which means that its parent process has not read its exit value. (and it is not going to read it)
I know that the exit value is stored somewhere in the kernel for the parent process to read but, is there a way for... | 0 | [
2,
1876,
14,
4350,
1923,
16,
21,
16250,
953,
800,
3726,
3726,
31,
57,
21,
828,
953,
30,
25,
130,
19,
14,
16250,
146,
56,
1108,
30,
82,
4766,
953,
63,
52,
1302,
82,
4350,
1923,
9,
13,
5,
290,
32,
25,
52,
228,
20,
1302,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Silverlight Elevated Permissions Passing Data
===
We have a Silverlight 5 application that we currently have set up to run out of browser. I think we'd prefer to have it stay OOB. The high level overview of the app is we have a grid and we need to run an exe to ultimately print this grid. So we have it running OOB and... | 0 | [
2,
1172,
3130,
8052,
5572,
18,
2848,
1054,
800,
3726,
3726,
95,
57,
21,
1172,
3130,
331,
3010,
30,
95,
871,
57,
309,
71,
20,
485,
70,
16,
16495,
9,
31,
277,
95,
22,
43,
6369,
20,
57,
32,
1179,
635,
4995,
9,
14,
183,
662,
215... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 buttonset: intercept clicks so that buttons don't change state
===
I am using jQuery UI buttonset for an on/off pair of buttons, mainly because of the nice styling you get with it. I want to handle clicks so that when you click one of the two buttons you get a dialog where you can make some more choices, and af... | 0 | [
2,
487,
8190,
93,
5167,
3554,
45,
18324,
10840,
18,
86,
30,
12861,
221,
22,
38,
753,
146,
800,
3726,
3726,
31,
589,
568,
487,
8190,
93,
13,
5661,
5167,
3554,
26,
40,
27,
118,
1299,
2146,
16,
12861,
15,
2011,
185,
16,
14,
2210,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 not stretch an image in UIButton
===
I'm trying to create a custom UITableViewCell programmatically and one of the subviews of this cell is going to be a button with an image in it (a simple image of a magnifying glass). However, I want the button's image to be centered and scaled proportionatley down to fit in... | 0 | [
2,
184,
20,
52,
6363,
40,
1961,
19,
13,
5661,
811,
444,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
5816,
13,
11193,
579,
4725,
9725,
625,
6732,
1326,
17,
53,
16,
14,
972,
4725,
18,
16,
48,
1667,
25,
228,
20,
44,
21,
516... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CMake: build library used by multiple projects
===
I have a directory containing several tools which I use for independent projects, e.g.:
CommonTools
+ Tool A
+ Tool B
+ Tool C
Tool B depends on Tool A, but Tool A can be used independently from Tool B. I think I have two options:
1. ... | 0 | [
2,
272,
11115,
45,
1895,
1248,
147,
34,
1886,
2314,
800,
3726,
3726,
31,
57,
21,
16755,
3503,
238,
4672,
56,
31,
275,
26,
1124,
2314,
15,
13,
62,
9,
263,
9,
45,
757,
20799,
18,
2754,
5607,
21,
2754,
5607,
334,
2754,
5607,
272,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Excel CSV cell intepretation
===
I have a CSV file like this:
"Foo","Bar","16/5"
Open it with Excel and it decides the the `"16/5"` is a date and displays 16 May, but I just want it to display the string verbatim on loading the CSV without me having to perform any additional actions in Excel and I'm not sure... | 0 | [
2,
20700,
272,
18,
710,
1667,
19,
591,
3515,
8593,
800,
3726,
3726,
31,
57,
21,
272,
18,
710,
3893,
101,
48,
45,
13,
7,
4120,
111,
7,
15,
7,
1850,
7,
15,
7,
1091,
18133,
7,
368,
32,
29,
20700,
17,
32,
6674,
14,
14,
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... |
How to printout a value in a makefile
===
I have a make file that I want to debug. I have a construct such as follow:
ifeq ($(CC_VER),4.3)
error "I am here"
AR = ar6x qwe
CSL_LIBDIR = $(CC_DIR)\lib
CSL_INCDIR = $(CC_DIR)\include
else
error "Please check that comm... | 0 | [
2,
184,
20,
4793,
1320,
21,
1923,
19,
21,
233,
16877,
800,
3726,
3726,
31,
57,
21,
233,
3893,
30,
31,
259,
20,
121,
16254,
9,
31,
57,
21,
6960,
145,
28,
1740,
45,
100,
18550,
13,
5,
4403,
5,
3384,
1,
2304,
6,
15,
300,
9,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
clone () implementation in Object class
===
I was reading [this][1] article and it says that "Object's clone method is very tricky. It's based on field copies, and it's "extra-linguistic." It creates an object without calling a constructor" . All I see in the [grep code][2] is the following line :
protect... | 0 | [
2,
13871,
13,
5,
6,
6123,
19,
3095,
718,
800,
3726,
3726,
31,
23,
1876,
636,
1565,
500,
2558,
165,
500,
2002,
17,
32,
898,
30,
13,
7,
23793,
22,
18,
13871,
2109,
25,
253,
5514,
93,
9,
32,
22,
18,
432,
27,
575,
3298,
15,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
avro RPC - client side progress feedback
===
Is there any example to get the client side progress feedback of a remote call using AVRO? Does AVRO support this? | 0 | [
2,
28935,
761,
5779,
13,
8,
6819,
270,
3455,
13111,
800,
3726,
3726,
25,
80,
186,
823,
20,
164,
14,
6819,
270,
3455,
13111,
16,
21,
5388,
645,
568,
28935,
60,
630,
28935,
555,
48,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
changing sharepoint column name using xslt
===
I wanna change the display name of "Item child count" on my lists. The "only" way I could find till now is through xslt(no, that particular column cannot be found the document library columns for me to edit), but being a beginer on the matter I'm finding it a bit hard to ... | 0 | [
2,
4226,
1891,
3132,
4698,
204,
568,
993,
18,
255,
38,
800,
3726,
3726,
31,
11024,
753,
14,
3042,
204,
16,
13,
7,
2119,
79,
850,
2468,
7,
27,
51,
7227,
9,
14,
13,
7,
4965,
7,
161,
31,
110,
477,
3924,
130,
25,
120,
993,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
javascript nextsibling function
===
<html>
<body>
<script language="JavaScript">
function function1() {
var m = document.getElementById("myNodeOne").nextSibling;
m.innerHTML = "asdfsdf";
}
</script>
<p>This PARAGRAPH has two nodes,
<b id="myNodeOne">Node One<... | 0 | [
2,
8247,
8741,
328,
18,
49,
8599,
1990,
800,
3726,
3726,
13,
1,
15895,
1,
13,
1,
9760,
1,
13,
1,
8741,
816,
3726,
7,
1004,
1385,
8741,
7,
1,
1990,
1990,
165,
5,
6,
13,
1,
4033,
307,
800,
4492,
9,
3060,
27567,
779,
1340,
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... |
SQLAlchemy inheritance with relationship is None in instantiated object
===
I would like to have a 'relationship' in an inherited (mixin) class.
However, when I create the inherited object, the relationship object is None. I cannot append to it.
How do I resolve this?
Here is code based upon the [documentatio... | 0 | [
2,
4444,
10834,
2569,
915,
13852,
29,
1429,
25,
2369,
19,
6322,
49,
1669,
3095,
800,
3726,
3726,
31,
83,
101,
20,
57,
21,
13,
22,
99,
10832,
2418,
22,
19,
40,
7179,
13,
5,
15743,
108,
6,
718,
9,
207,
15,
76,
31,
1600,
14,
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... |
ThreadStateException occures when trying to start a process
===
I am trying to run my recursive function "hueckel_operator()" in another thread whose stack size is increased to 10.000.000.
Firstly, hueckel_operator is called when I click on detect edges button. So I have created new thread in detect_edges_click() fu... | 0 | [
2,
9322,
3859,
10066,
872,
3744,
160,
76,
749,
20,
799,
21,
953,
800,
3726,
3726,
31,
589,
749,
20,
485,
51,
302,
24244,
1990,
13,
7,
2242,
62,
20615,
1,
9477,
3457,
5,
6,
7,
19,
226,
9322,
1196,
7566,
1072,
25,
1644,
20,
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... |
im4Java, change frame colour?
===
How to change frame colour in ImageMagick 4 Java?
I have something like this, but frame is all the time white...
IMOperation miop = new IMOperation();
miop.background("#000000");
miop.addImage(path+fileName);
miop.colorize(5,21,64);
miop.frame(2);
| 0 | [
2,
797,
300,
1004,
1385,
15,
753,
3523,
4609,
60,
800,
3726,
3726,
184,
20,
753,
3523,
4609,
19,
1961,
21200,
197,
268,
8247,
60,
31,
57,
301,
101,
48,
15,
47,
3523,
25,
65,
14,
85,
359,
9,
9,
9,
797,
11377,
534,
2594,
800,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Empty result from HTTPBuilder
===
I have following code
def cookies = []
request.getCookies().each {
def cookie = new BasicClientCookie(it.name, it.value)
cookie['domain'] = it.domain
cookie['path'] = it.path
cookie.secure = true
cookies.add(cookie)
}
... | 0 | [
2,
2424,
829,
37,
7775,
20904,
800,
3726,
3726,
31,
57,
249,
1797,
6312,
19396,
800,
20767,
3772,
9,
3060,
20840,
1596,
5,
6,
9,
14322,
13,
1,
6312,
19980,
800,
78,
2125,
150,
18513,
38,
716,
17391,
5,
242,
9,
7259,
15,
32,
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... |
Can I make a mask grow via TweenLite in Action Script?
===
I am working on a project with two images, a background(B) and a foreground(F).
My goal is to have (F) "burn away" to reveal (B). At the moment I am trying to do this with a circle shaped mask. I can get my mask to appear statically, but no matter what I tr... | 0 | [
2,
92,
31,
233,
21,
5983,
3213,
1197,
13,
38,
458,
219,
10601,
19,
1028,
3884,
60,
800,
3726,
3726,
31,
589,
638,
27,
21,
669,
29,
81,
3502,
15,
21,
2395,
5,
220,
6,
17,
21,
26,
62,
8810,
5,
410,
6,
9,
51,
1195,
25,
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... |
Tweet Button Javascript
===
I'm trying to make a shortcut function so that if somebody presses Alt+T they can tweet the article. I have the shortcut part sorted so ignore that part, it's just tweeting the title and URL of the page. Here's what I have so far
<script type="text/javascript">
shortcut.add("Alt... | 0 | [
2,
20224,
5167,
8247,
8741,
800,
3726,
3726,
31,
22,
79,
749,
20,
233,
21,
502,
4118,
1990,
86,
30,
100,
8861,
16527,
7051,
2430,
38,
59,
92,
20224,
14,
2002,
9,
31,
57,
14,
502,
4118,
141,
22554,
86,
7174,
30,
141,
15,
32,
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... |
Matching Array with Column of a Table
===
I have an array of certain dates called `array_of_dates`.
And I have a table called `my_table` with columns 'date' and 'count'.
Is there a way I can write an active records query to match the 'date' column in `my_table` with `array_of_dates` and return hashes ? All **key... | 0 | [
2,
10120,
7718,
29,
4698,
16,
21,
859,
800,
3726,
3726,
31,
57,
40,
7718,
16,
1200,
4076,
227,
13,
1,
8576,
93,
1,
1041,
1,
8209,
18,
1,
9,
17,
31,
57,
21,
859,
227,
13,
1,
915,
1,
5924,
1,
29,
7498,
13,
22,
8209,
22,
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... |
Folder cannot be moved in Wordpress
===
Whenever I try to upload a theme through Wordpress it says `The uploaded file could not be moved to C:\wamp\www\tweet\wordpress/wp-content/uploads/2012/07.`,I googled alot and many peope suffer the same problem while upload the image in gallery,It is basically of permission but ... | 0 | [
2,
19294,
1967,
44,
385,
19,
833,
5890,
800,
3726,
3726,
6634,
31,
1131,
20,
71,
8294,
21,
3184,
120,
833,
5890,
32,
898,
13,
1,
124,
23782,
3893,
110,
52,
44,
385,
20,
272,
45,
1,
1608,
2554,
1,
6483,
1,
38,
10969,
38,
1,
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... |
get filename with pure extension
===
I'm coding a script to get image from a site. All is good, but then I notice there are some sites which have images in format like this:
http://site-name/images/dude-i-m-batman.jpg?1414151413
http://site-name/images/dude-i-m-batman.jpg?w=300
right now I'm dealing wit... | 0 | [
2,
164,
3893,
7259,
29,
4267,
3896,
800,
3726,
3726,
31,
22,
79,
13,
15458,
21,
3884,
20,
164,
1961,
37,
21,
689,
9,
65,
25,
254,
15,
47,
94,
31,
3551,
80,
50,
109,
3259,
56,
57,
3502,
19,
2595,
101,
48,
45,
7775,
6903,
9097... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Sprite size on different screen size Andengine Android
===
Hy,
I am developing my first game in Android Adnengine, It is racing game from top view I used parallax backgroung and some cars.I tested it on my device which is of smaller width height,I placed the cars of 32 with and 64 height according to the camera wid... | 0 | [
2,
27902,
1072,
27,
421,
2324,
1072,
17,
16847,
13005,
800,
3726,
3726,
4085,
15,
31,
589,
3561,
51,
64,
250,
19,
13005,
21,
43,
103,
16847,
15,
32,
25,
2179,
250,
37,
371,
1418,
31,
147,
2258,
211,
7522,
97,
7944,
2373,
17,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 layout for vertical and horizontal fit
===
I have designed simple UI on TAB . it has one expnad list, two Textviews and two buttons .
Everythings fits properly when the tab is horizontal (I made few things are fill_parent) .
but when I change to vertical then only 3/4 of screen hieght will be used and rem... | 0 | [
2,
13005,
9106,
26,
7035,
17,
10095,
2742,
800,
3726,
3726,
31,
57,
1006,
1935,
13,
5661,
27,
6523,
13,
9,
32,
63,
53,
13,
6899,
325,
43,
968,
15,
81,
1854,
4725,
18,
17,
81,
12861,
13,
9,
796,
18,
2742,
18,
7428,
76,
14,
65... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Trying to figure out why my responsive theme isn't resizing the side bar correctly
===
I'm using a responsive wordpress theme that is based on twitter bootstrap. For some reason the side bar images aren't resizing correctly. (You can see what I mean by checking out the [site][1] and trying to resize.) I'm pasting my c... | 0 | [
2,
749,
20,
1465,
70,
483,
51,
13,
22153,
3184,
2532,
22,
38,
10719,
3335,
14,
270,
748,
12044,
800,
3726,
3726,
31,
22,
79,
568,
21,
13,
22153,
833,
5890,
3184,
30,
25,
432,
27,
10623,
5894,
16514,
9,
26,
109,
1215,
14,
270,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 call server side method from client side by using DWR Library?
===
I am trying to use DWr library for first time. but, Now i am bit confused. Can you please tell me how exactly DWr calls server side mthod from client side.
E.g. getdata is method at server side in java
i am calling that method at client si... | 0 | [
2,
184,
20,
645,
8128,
270,
2109,
37,
6819,
270,
34,
568,
13,
43,
7127,
1248,
60,
800,
3726,
3726,
31,
589,
749,
20,
275,
13,
43,
7127,
1248,
26,
64,
85,
9,
47,
15,
130,
31,
589,
1142,
4230,
9,
92,
42,
2247,
494,
55,
184,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JqGrid custom function editoptions
===
I have a jqgrid with a column which have a custom editoptions.
editable: true,
edittype: "custom",
editoptions: { custom_element: itemFirstPaidElem, custom_value: itemFirstPaidValue
Here are the two custom function:
function itemFir... | 0 | [
2,
487,
1251,
16375,
5816,
1990,
9392,
25458,
4710,
800,
3726,
3726,
31,
57,
21,
487,
1251,
16375,
29,
21,
4698,
56,
57,
21,
5816,
9392,
25458,
4710,
9,
9392,
579,
45,
1151,
15,
9392,
4474,
45,
13,
7,
4636,
6015,
7,
15,
9392,
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... |
A ProtoBuf.ProtoException confused me
===
foreach (SBAODetail item in data.SbaoDetailCollection )
{
OrderTransaction order=Factory .Create <OrderTransaction >();
order.Id = 100000;
order .OrderCode =item .OrdCo... | 0 | [
2,
21,
9347,
2345,
410,
9,
2740,
262,
10066,
872,
4230,
55,
800,
3726,
3726,
26,
14322,
13,
5,
18,
969,
8355,
8682,
9101,
19,
1054,
9,
18,
969,
8355,
8682,
15015,
872,
13,
6,
13,
1,
389,
7028,
8645,
389,
3726,
17455,
93,
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... |
Getting first 3 values of an array in PHP
===
Suppose I have an array that looks like this
array ([apple] => 1, [dog]=>2, [cat]=>5, [bread]=>9, [shoes]=> 4)
Is it possible for me to print the first 3 values of the array? If so, how? Any ideas? | 0 | [
2,
1017,
64,
203,
4070,
16,
40,
7718,
19,
13,
26120,
800,
3726,
3726,
5787,
31,
57,
40,
7718,
30,
1879,
101,
48,
7718,
13,
5,
2558,
24212,
500,
800,
1,
137,
15,
636,
8462,
500,
3726,
1,
135,
15,
636,
5782,
500,
3726,
1,
264,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Newbie at push notifications
===
im a begginer at iOS Dev, and i want to send my user a push notification every day at a predefined time (chosen by the user)
I dont have to have internet access to do this, do i? | 0 | [
2,
78,
5893,
35,
3250,
52,
4634,
18,
800,
3726,
3726,
797,
21,
44,
19086,
1031,
35,
13,
7760,
9664,
15,
17,
31,
259,
20,
2660,
51,
4155,
21,
3250,
52,
4634,
352,
208,
35,
21,
782,
13439,
85,
13,
5,
2613,
1264,
34,
14,
4155,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Getting AMQ6004 error while starting MQ
===
We have got the mqmgr in our server at /opt/mqm/utils directory. We stopped the mqmgr successfully and when we tried to start the same again, we are getting the following error :
bash-2.05$ mqmgr start
MQMGR- Starting MQXXXP01 Queue Manager
AMQ6004: An error occurred du... | 0 | [
2,
1017,
589,
1251,
7664,
300,
7019,
133,
1422,
307,
1251,
800,
3726,
3726,
95,
57,
330,
14,
307,
1251,
79,
8807,
19,
318,
8128,
35,
13,
118,
2594,
38,
118,
79,
1251,
79,
118,
14255,
18,
16755,
9,
95,
1175,
14,
307,
1251,
79,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
is it acceptable to store 800x1067 pixels image (about 270 kb) into sqlite/Core Data?
===
I'm writing an app that will store a bunch of records with images attached. I'm thinking in define 800x1067 pixels (about 270 kb) size's image.
Is reasonable to store this kind of images into a sqlite database? I guess will be... | 0 | [
2,
25,
32,
12513,
20,
1718,
7993,
396,
1036,
4167,
18146,
18,
1961,
13,
5,
6901,
13,
13710,
15251,
6,
77,
4444,
10601,
118,
10375,
1054,
60,
800,
3726,
3726,
31,
22,
79,
1174,
40,
4865,
30,
129,
1718,
21,
7653,
16,
742,
29,
3502... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Android activity weirdly zoomed in?
===
I am running the app on Galaxy Note, which is hdpi. And I got all the drawables (drawable-hdpi, drawable-mdpi etc.) correct. But the page (activity) is weirdly zoomed in like this:
![enter image description here][1]
You can notice that the cursor icon, top hea... | 0 | [
2,
483,
25,
14,
13005,
2358,
5455,
102,
19469,
69,
19,
60,
800,
3726,
3726,
31,
589,
946,
14,
4865,
27,
9358,
1945,
15,
56,
25,
8590,
2159,
9,
17,
31,
330,
65,
14,
2003,
579,
18,
13,
5,
43,
12404,
579,
8,
252,
43,
2159,
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... |
the one who `new/malloc` should `delete/free`?
===
It seems to be a common sense in C/C++ that, the function which `new/malloc` some memory should `delete/free` them before the function finishes, right?
But suppose I have this kind of problem that, there is a function `reader` which will read chunks from a file int... | 0 | [
2,
14,
53,
72,
13,
1,
2681,
118,
3482,
10799,
1,
378,
13,
1,
24249,
591,
118,
4639,
1,
60,
800,
3726,
3726,
32,
2206,
20,
44,
21,
757,
1259,
19,
272,
118,
150,
20512,
30,
15,
14,
1990,
56,
13,
1,
2681,
118,
3482,
10799,
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... |
mysql DELETE query failing, using implode IN clause
===
I am currently populating an array with checkboxes, imploding the array variable and using that variable in an IN clause within a DELETE function. var_dump is showing that I am creating a correct query, yet I can't get any deletion to occur. This is a new appro... | 0 | [
2,
51,
18,
22402,
27448,
25597,
7250,
15,
568,
5420,
19471,
19,
9040,
800,
3726,
3726,
31,
589,
871,
1675,
10038,
40,
7718,
29,
2631,
5309,
160,
15,
5420,
17752,
68,
14,
7718,
7612,
17,
568,
30,
7612,
19,
40,
19,
9040,
363,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to Register these class In Autofac
===
I am using autofac as Ioc Container。
Have Three Class:
class Service
{
public Service(Repository rep,UnitOfWork context){}
}
Class Repository
{
public Repository(UnitOfWork context){}
}
class UnitOfWork{}
... | 0 | [
2,
184,
20,
2243,
158,
718,
19,
3108,
1473,
150,
800,
3726,
3726,
31,
589,
568,
3108,
1473,
150,
28,
31,
2499,
12147,
1,
57,
132,
718,
45,
718,
365,
13,
1,
317,
365,
5,
99,
14882,
14599,
9411,
15,
15464,
1041,
3783,
4141,
6,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.