unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Hibernate produces extra sql
===
I have two entities: **Parent** and **Child**. And there is **@OneToOne** relationship between them.
I have the following query: **from Parent p left join fetch p.child**.
If there is a row in Parent with non existing child key(-1 for example) hibernate issuing additional query f... | 0 | [
2,
4148,
2102,
8820,
6700,
2230,
4444,
255,
800,
3726,
3726,
31,
57,
81,
12549,
45,
13,
1409,
18908,
1409,
17,
13,
1409,
11287,
1409,
9,
17,
80,
25,
13,
1409,
1,
849,
262,
849,
1409,
1429,
128,
105,
9,
31,
57,
14,
249,
25597,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TitlePageIndicator CirclePageIndicator both on same ViewPager
===
I'm developing an Android 3.1 tablet application.
I'm using a ViewPager with Fragments and also I'm using [ViewPageIndicator][1] to show a TitlePageIndicator and a CirclePageIndicator.
My problem is that I can use both together.
public clas... | 0 | [
2,
581,
6486,
108,
4673,
3457,
2775,
6486,
108,
4673,
3457,
156,
27,
205,
1418,
6486,
139,
800,
3726,
3726,
31,
22,
79,
3561,
40,
13005,
203,
9,
165,
16394,
3010,
9,
31,
22,
79,
568,
21,
1418,
6486,
139,
29,
10837,
17,
67,
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... |
Is it possible and necessary for an App to have zero memory leaks?
===
There are some memory leaks found out when i "profile" my app with Instruments.
Some of the leaks are obvious and easy to fix, but some are not. Some of the leak log showed in Instruments are really bothering me. For example:
![enter image descr... | 0 | [
2,
25,
32,
938,
17,
2378,
26,
40,
4865,
20,
57,
4606,
1912,
11724,
18,
60,
800,
3726,
3726,
80,
50,
109,
1912,
11724,
18,
216,
70,
76,
31,
13,
7,
14503,
7,
51,
4865,
29,
4507,
9,
109,
16,
14,
11724,
18,
50,
4674,
17,
2010,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 input special character "," on sqlite android?
===
i have script for insert multiple rows :
protected static final String INSERT_NAME_LIST1 = "insert into Table_Name(name1,name2) VALUES (1,'aa'),(1,'bb'),(1,'cc');";
But i have error :
06-21 14:15:31.155: E/AndroidRuntime(12798): Caused by: android.... | 0 | [
2,
184,
20,
6367,
621,
925,
13,
7,
15,
7,
27,
4444,
10601,
13005,
60,
800,
3726,
3726,
31,
57,
3884,
26,
14692,
1886,
11295,
13,
45,
3803,
12038,
426,
3724,
14692,
1,
7259,
1,
5739,
165,
800,
13,
7,
108,
18,
6767,
77,
859,
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... |
Simple Data Execution Prevention example code for Delphi
===
For a test 'crash' I need a small piece of Delphi code to see how the operating system logs the DEP violation in the event log.
I have found many sources around activating DEP but not about how to 'trigger' a DEP violation.
Do you have an example?
... | 0 | [
2,
1935,
1054,
5769,
10173,
823,
1797,
26,
23030,
800,
3726,
3726,
26,
21,
1289,
13,
22,
150,
15469,
22,
31,
376,
21,
284,
1855,
16,
23030,
1797,
20,
196,
184,
14,
2455,
329,
18893,
14,
13,
17309,
12120,
19,
14,
807,
6738,
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... |
Deprecated method, what to use instead?
===
The method `show();` in class Windows for java.awt in deprecated. What can I use instead?
package adventure;
import java.awt.*;
import java.awt.image.*;
import java.awt.event.*;
import java.net.URL;
import java.net.MalformedURLExceptio... | 1 | [
2,
121,
3515,
150,
1669,
2109,
15,
98,
20,
275,
700,
60,
800,
3726,
3726,
14,
2109,
13,
1,
9303,
5,
6,
73,
1,
19,
718,
1936,
26,
8247,
9,
3885,
38,
19,
121,
3515,
150,
1669,
9,
98,
92,
31,
275,
700,
60,
6030,
5270,
73,
901... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
File access error using cPickle on GAE - Python27
===
I Have a test app that is configured python25 that opens a text fie in the root folder and is then loaded by cPickle.
the code is based on [gae-nltk][1]
I have migrated the code to python27 and i get the following error in log console of development kit.
`.... | 0 | [
2,
3893,
1381,
7019,
568,
272,
16855,
413,
27,
13,
17721,
13,
8,
20059,
2567,
800,
3726,
3726,
31,
57,
21,
1289,
4865,
30,
25,
28895,
20059,
1811,
30,
8965,
21,
1854,
398,
660,
19,
14,
5900,
19294,
17,
25,
94,
8572,
34,
272,
168... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 pass array with *& in C++
===
I read the [dynamic array][1] and use it, but i have a bit question:
When i put following format in prototype:
void mmyfunc(int *& myArray)
{
//implementation
}
1.if i pass an array to it, how to call it? because i get :
no matching function for call... | 0 | [
2,
184,
20,
1477,
7718,
29,
1637,
1569,
19,
272,
20512,
800,
3726,
3726,
31,
1302,
14,
636,
20985,
7718,
500,
2558,
165,
500,
17,
275,
32,
15,
47,
31,
57,
21,
1142,
1301,
45,
76,
31,
442,
249,
2595,
19,
7063,
45,
11364,
1620,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
url rewrite is not working
===
htaccess on xammp (windows)
I can't get my .htaccess run on my localhost. I want to make a url rewrite which makes
**http://localhost/mywebsite/about.php** to **http://localhost/mywebsite/about**
Here's my .htaccess and I've put it in inside the C:\xampp\htdocs. BTW my website i... | 0 | [
2,
287,
6362,
27891,
25,
52,
638,
800,
3726,
3726,
13,
9020,
20604,
27,
993,
765,
2554,
13,
5,
27508,
18,
6,
31,
92,
22,
38,
164,
51,
13,
9,
9020,
20604,
485,
27,
51,
375,
11694,
9,
31,
259,
20,
233,
21,
287,
6362,
27891,
56... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
URL sometimes appended with jsessionid Grails / Spring Security
===
This is an extension of the question [here][1].
Sometimes Spring Security appends a `jsessionid` to the end of my URL. Wouldn't bother me so much if it happened all the time or never, but it seems almost random. I'm wondering why this is happenin... | 0 | [
2,
287,
6362,
1030,
4865,
10726,
29,
487,
7202,
5991,
1340,
489,
7301,
18,
13,
118,
1573,
1221,
800,
3726,
3726,
48,
25,
40,
3896,
16,
14,
1301,
636,
6836,
500,
2558,
165,
500,
9,
1030,
1573,
1221,
4865,
2451,
18,
21,
13,
1,
728... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
System.Printing in multi threaded environment cause weird font issue
===
We are experiencing font issues when using the System.printing namespace in a multi threaded environment. We are using VB.NET 4.0. We were able to prove to this was not a printer issue nor a driver issue. The challenge is that it's not consistent... | 0 | [
2,
329,
9,
10299,
68,
19,
1889,
9322,
69,
2307,
1679,
5455,
9978,
1513,
800,
3726,
3726,
95,
50,
15138,
9978,
1549,
76,
568,
14,
329,
9,
10299,
68,
204,
5582,
19,
21,
1889,
9322,
69,
2307,
9,
95,
50,
568,
13,
20468,
9,
2328,
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... |
Custom UITableView - iOs
===
I followed this tutorial on creating a simple rss reader...
http://www.kieranmcgrady.com/blog/2012/4/25/tutorial-how-to-create-a-simple-rss-reader-for-ios.html
The problem is that I am having problem with design since everything is done programmatically.
How would i go about maki... | 0 | [
2,
5816,
13,
11193,
579,
4725,
13,
8,
13,
7760,
800,
3726,
3726,
31,
709,
48,
29724,
27,
2936,
21,
1935,
13,
1224,
18,
7765,
9,
9,
9,
7775,
6903,
6483,
9,
8960,
2195,
4829,
20978,
9,
960,
118,
220,
5567,
118,
3212,
13722,
15718,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 edittext using computer keyboard in Ubuntu
===
In Ubuntu 12.04, I'm not able to write on `edittexts` using the computer keyboard... Someone knows how to solve this issue?
Thanks in advance! | 0 | [
2,
13005,
9392,
11969,
568,
1428,
8896,
19,
287,
12968,
2473,
800,
3726,
3726,
19,
287,
12968,
2473,
390,
9,
3277,
15,
31,
22,
79,
52,
777,
20,
2757,
27,
13,
1,
69,
242,
11969,
18,
1,
568,
14,
1428,
8896,
9,
9,
9,
737,
3620,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
What is the most efficient JSON / mongodb document structure for search and CMS use?
===
I am working on a document structure that can be searched easily while maintaining a rebuildable structure. By that I mean the document itself holds the information required for a CMS to build the needed forms for updating the doc... | 0 | [
2,
98,
25,
14,
127,
8243,
487,
528,
13,
118,
3521,
5474,
220,
4492,
1411,
26,
2122,
17,
2390,
18,
275,
60,
800,
3726,
3726,
31,
589,
638,
27,
21,
4492,
1411,
30,
92,
44,
9036,
2351,
133,
8215,
21,
16128,
579,
1411,
9,
34,
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... |
All Permutations of Elements in a 2D Vector
===
This is a small part that I've been stuck on, and it's part of a much larger assignment.
I have a 2D vector such as:
v1: 0 1 2 3 4
v2: 0 1 2
v3: 0 1 2 3 4
v4: 0 1 2 3
v5: 0 1 2 3 4
(each row is a vector)
I need to find ... | 0 | [
2,
65,
28706,
18,
16,
2065,
19,
21,
172,
43,
7497,
800,
3726,
3726,
48,
25,
21,
284,
141,
30,
31,
22,
195,
74,
4549,
27,
15,
17,
32,
22,
18,
141,
16,
21,
212,
1662,
8427,
9,
31,
57,
21,
172,
43,
7497,
145,
28,
45,
566,
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... |
/usr/bin/ld: Dwarf Error
===
I'm trying to compile a complex application with nvcc, and a need to change the compiler from mpic++ to g++, since that I'm having this error:
<pre>/usr/bin/ld: Dwarf Error: found dwarf version '3', this reader only handles version 2 information.</pre>
What is Dwarf? What this error ... | 0 | [
2,
13,
118,
267,
139,
118,
4772,
118,
6252,
45,
9694,
7019,
800,
3726,
3726,
31,
22,
79,
749,
20,
26561,
21,
1502,
3010,
29,
13,
20763,
3384,
15,
17,
21,
376,
20,
753,
14,
21486,
37,
4628,
596,
20512,
20,
489,
20512,
15,
179,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Terms of Service Content Locker
===
I'm looking for a piece of code that will pop-up on a wordpress blog that displays my terms of service, and in order to view the content of the page, they will need to hit "I Accept". I've looked for some wordpress plugin solutions, but none of them work the way I want them to.
... | 0 | [
2,
1663,
16,
365,
2331,
11953,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
1855,
16,
1797,
30,
129,
1675,
8,
576,
27,
21,
833,
5890,
8146,
30,
9412,
51,
1663,
16,
365,
15,
17,
19,
389,
20,
1418,
14,
2331,
16,
14,
2478,
15,
59,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Troubleshooting PHP PDO Prepare statement binding
===
Here we go. I am still pretty new to PHP, and I'm trying to learn PDO. I'm trying to figure out why
$validStartYear=-1;
echo $listString;
$queryToPrep='SELECT a FROM b WHERE a regexp "Nissan" ORDER BY start_year asc LIMIT 1;';
$query = $ne... | 0 | [
2,
2572,
12511,
68,
13,
26120,
351,
537,
5723,
3331,
8728,
800,
3726,
3726,
235,
95,
162,
9,
31,
589,
174,
1772,
78,
20,
13,
26120,
15,
17,
31,
22,
79,
749,
20,
2484,
351,
537,
9,
31,
22,
79,
749,
20,
1465,
70,
483,
5579,
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... |
timelines and history files postgresql 9.1
===
Can someone explain me the purpose of timelines and history files and the setting 'recovery_target_timeline' in recovery.conf.
The vague understanding I got from the postgresql 9.1 documentation is that when the slave completes recovery it switches to a new timeline to... | 0 | [
2,
18398,
18,
17,
447,
6488,
678,
6879,
18,
22402,
561,
9,
165,
800,
3726,
3726,
92,
737,
3271,
55,
14,
2131,
16,
18398,
18,
17,
447,
6488,
17,
14,
2697,
13,
22,
99,
14069,
93,
1,
3958,
3060,
1,
891,
1143,
22,
19,
6550,
9,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
1119: Access of possibly undefined property alpha through a reference with static type flash.utils:Timer.
===
I'm having with trouble with this script... Everything in it is working except the clicking thing. This is a binary clock that i would like to dim the light on
package{
import flash.events.MouseEvent;... | 0 | [
2,
547,
1433,
45,
1381,
16,
2879,
367,
13439,
1354,
5705,
120,
21,
2801,
29,
12038,
1001,
4433,
9,
14255,
18,
45,
891,
139,
9,
800,
3726,
3726,
31,
22,
79,
452,
29,
2572,
29,
48,
3884,
9,
9,
9,
796,
19,
32,
25,
638,
1613,
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... |
Apply Outlook 2010 prf file silently to all computers
===
We recently setup a new mailserver (EX2010) and retired the old one (EX2003).
Our office 2010 setup is being deployed with a default account defined pointing to EX2003. So when a users starts outlook for the first time on a system his account is automatically ... | 0 | [
2,
5645,
19837,
498,
5396,
410,
3893,
8555,
20,
65,
7774,
800,
3726,
3726,
95,
1989,
18161,
21,
78,
4216,
10321,
106,
13,
5,
1706,
2751,
6,
17,
1602,
14,
315,
53,
13,
5,
1706,
3325,
6,
9,
318,
488,
498,
18161,
25,
142,
6698,
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... |
Common attrubite Type for Integer and String in java
===
I have created a method which has arument as Integer to fetch the DB record from Db using hibernate. Now i have string type argument for the same scenario. Can i change that method signature to Serializable to support Integer and String. Is there anyissues if i ... | 0 | [
2,
757,
35,
38,
17791,
2119,
1001,
26,
13820,
17,
3724,
19,
8247,
800,
3726,
3726,
31,
57,
679,
21,
2109,
56,
63,
21,
1820,
1130,
28,
13820,
20,
18312,
14,
13,
9007,
571,
37,
13,
9007,
568,
4148,
2102,
8820,
9,
130,
31,
57,
37... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How onFling works in viewSwitcher
===
I have 2 layouts inside a viewSwitcher, I need to change when I swipe that.
package slide.trys.one;
import android.app.Activity;
import android.os.Bundle;
import android.view.GestureDetector;
import android.view.GestureDetector.OnGestureListener;
... | 0 | [
2,
184,
27,
4372,
68,
693,
19,
4146,
15915,
106,
800,
3726,
3726,
31,
57,
172,
9106,
18,
572,
21,
4146,
15915,
106,
15,
31,
376,
20,
753,
76,
31,
27246,
30,
9,
6030,
6464,
9,
5840,
18,
9,
849,
73,
9010,
13005,
9,
7753,
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... |
How to decide the next activity from the current activity (Automatic decision activity)?
===
I am trying to decide the next activity from the current activity (Automatic decision activity)The below is my code. How to set the next activity?
public void DebugUserCheck(string workitemid)
{
... | 0 | [
2,
184,
20,
4073,
14,
328,
2358,
37,
14,
866,
2358,
13,
5,
23465,
1401,
2358,
6,
60,
800,
3726,
3726,
31,
589,
749,
20,
4073,
14,
328,
2358,
37,
14,
866,
2358,
13,
5,
23465,
1401,
2358,
6,
124,
1021,
25,
51,
1797,
9,
184,
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... |
javascript select city from selected country value
===
i have db of countries from here http://www.webmasterworld.com/html/3018309.htm
with 239 countries, every country have value. After i have selected another country in option, how can i update zone list with zones from new value?
$country_query = mysql_quer... | 0 | [
2,
8247,
8741,
5407,
136,
37,
1704,
475,
1923,
800,
3726,
3726,
31,
57,
13,
9007,
16,
1166,
37,
235,
7775,
6903,
6483,
9,
14113,
4594,
4423,
9,
960,
118,
15895,
118,
1762,
26861,
518,
9,
9020,
79,
29,
13,
22790,
1166,
15,
352,
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... |
Python losing performance writing to disk over time
===
I have written a code to take an input from a file of very big data, perform some simple processing on it and then store it in a shelve dictionary format. I have 41 million entries to process. However, after I write 35 million entries to the shelve dict, performa... | 0 | [
2,
20059,
2281,
956,
1174,
20,
8582,
84,
85,
800,
3726,
3726,
31,
57,
642,
21,
1797,
20,
247,
40,
6367,
37,
21,
3893,
16,
253,
580,
1054,
15,
2985,
109,
1935,
5511,
27,
32,
17,
94,
1718,
32,
19,
21,
39,
255,
195,
9186,
2595,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to add dynamically some text to static html template with in popup
===
my requirement is ,i have 3 templates(static html pages).based on my selection one template will open in the form of popup.i have to add some content to that template when i want to show that template in the form of popup.now iam showing that t... | 0 | [
2,
184,
20,
3547,
7782,
1326,
109,
1854,
20,
12038,
13,
15895,
22894,
29,
19,
1675,
576,
800,
3726,
3726,
51,
8981,
25,
13,
15,
49,
57,
203,
22894,
18,
5,
18077,
13,
15895,
4434,
6,
9,
1281,
27,
51,
3155,
53,
22894,
129,
368,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Symfony2 and DQL
===
I'm running this DQL statement:
return $this->getEntityManager()
->createQuery("SELECT s FROM Bundle:table s WHERE s.title LIKE '%:search%'")
->setParameter('search', $search)
->getResult();
But I'm getting this error:
Invalid parameter number: number of... | 0 | [
2,
13,
7261,
10229,
93,
135,
17,
13,
43,
22402,
800,
3726,
3726,
31,
22,
79,
946,
48,
13,
43,
22402,
3331,
45,
788,
5579,
1565,
8,
1,
3060,
2291,
856,
22256,
5,
6,
13,
8,
1,
6037,
1373,
8190,
93,
5,
7,
18,
16964,
13,
18,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Input part of a CSS file into another without ruining the design
===
I have a website already made. I want to make a mobile version of this. I basically want to import a table from the main site into the mobile site. I want to take the CSS code from the main site that covers the table and then input in my CSS file for... | 0 | [
2,
6367,
141,
16,
21,
272,
18,
18,
3893,
77,
226,
366,
8510,
68,
14,
704,
800,
3726,
3726,
31,
57,
21,
2271,
614,
117,
9,
31,
259,
20,
233,
21,
3241,
615,
16,
48,
9,
31,
11374,
259,
20,
9010,
21,
859,
37,
14,
407,
689,
77,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Session issues with a PHP/MySQL search engine
===
PHP/MySQL newbie here.
I've created a basic search engine that queries a MySQL table containing a number of values. However, the search form has MULTIPLE search buttons in order to limit a search based on a single value type (in this case, by region or magnitude, s... | 0 | [
2,
3723,
1549,
29,
21,
13,
26120,
118,
915,
18,
22402,
2122,
1406,
800,
3726,
3726,
13,
26120,
118,
915,
18,
22402,
78,
5893,
235,
9,
31,
22,
195,
679,
21,
2125,
2122,
1406,
30,
9386,
2829,
21,
51,
18,
22402,
859,
3503,
21,
234,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Highcharts force to 0 before climbing again
===
I have a highchart that I am generating the data for dynamically based on a date range entered by the user. The data in the table is power readings. The readings are done every hour. If there is no power then nothing is reported and saved in the database. So, I have ... | 0 | [
2,
183,
5433,
38,
18,
558,
20,
713,
115,
8455,
188,
800,
3726,
3726,
31,
57,
21,
183,
5433,
38,
30,
31,
589,
13500,
14,
1054,
26,
7782,
1326,
432,
27,
21,
1231,
978,
1297,
34,
14,
4155,
9,
14,
1054,
19,
14,
859,
25,
414,
187... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 fwrite before a specific tag </file>
===
I am making a script in which php will fwrite and it ads it after the </file> tag and it doesnt get included. The main purpose is to log each IP in this .htaccess file in order to not have access to this specific file. Here is my code: (Searching about 3+ hours on google... | 0 | [
2,
184,
20,
398,
23716,
115,
21,
1903,
3383,
13,
1,
118,
16877,
1,
800,
3726,
3726,
31,
589,
544,
21,
3884,
19,
56,
13,
26120,
129,
398,
23716,
17,
32,
16236,
32,
75,
14,
13,
1,
118,
16877,
1,
3383,
17,
32,
5886,
164,
506,
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... |
Move a button's location after it is already drawn
===
On my C# Winform (VS 2010 / C# / .Net 3.5), I have created a button in the designer. I want to move and resize that button to a different location based on a user's setting upon start-up of that form.
In my form's load event, I have the following code to move ... | 0 | [
2,
780,
21,
5167,
22,
18,
1474,
75,
32,
25,
614,
3160,
800,
3726,
3726,
27,
51,
272,
5910,
628,
4190,
13,
5,
710,
18,
498,
13,
118,
272,
5910,
13,
118,
13,
9,
2328,
203,
9,
264,
6,
15,
31,
57,
679,
21,
5167,
19,
14,
4742,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to add Sandbox entitlements to cocoa bundle project
===
Does anyone know how to add sandbox entitlements to special xcode project like cocoa bundle project?
I have a Safari plugin under development, which is created in xcode with bundle project type. The compiled code works well on Snow Leopard while it fails o... | 0 | [
2,
184,
20,
3547,
1965,
5309,
1957,
22235,
6601,
20,
24507,
10194,
669,
800,
3726,
3726,
630,
1276,
143,
184,
20,
3547,
1965,
5309,
1957,
22235,
6601,
20,
621,
993,
9375,
669,
101,
24507,
10194,
669,
60,
31,
57,
21,
25055,
10922,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Input box next to the word
===
I have a form...
<form id='form1'>
First Name:
<input type="text">
</form>
I want to be able to find the word `First Name` and then look for the following input and add the value "Joe". There could be label tags around the name or div/span tags around... | 0 | [
2,
477,
6367,
1649,
328,
20,
14,
833,
800,
3726,
3726,
31,
57,
21,
505,
9,
9,
9,
13,
1,
4190,
4924,
3726,
22,
4190,
165,
22,
1,
64,
204,
45,
13,
1,
108,
4881,
1001,
3726,
7,
11969,
7,
1,
13,
1,
118,
4190,
1,
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... |
Anonymous users can't see comments in drupal node, except with 'admin comments' permissions
===
I’ve run into some issues with comment viewing and permissions in a Drupal node. I have commenting enabled on a node, and in Permissions both 'View comments' and 'Post comments' are checked for anonymous viewers. But after ... | 0 | [
2,
10364,
3878,
92,
22,
38,
196,
7534,
19,
15708,
6720,
15421,
15,
1613,
29,
13,
22,
1283,
2160,
7534,
22,
5572,
18,
800,
3726,
3726,
31,
1,
195,
485,
77,
109,
1549,
29,
6484,
11244,
17,
5572,
18,
19,
21,
15708,
6720,
15421,
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... |
IE's security alert removal
===
I have a site that can be accessed both through http (http://mysite.com) and https (https://mysite.com). The https version holds secured content, while the http content is for public use. Both contents are on the same server.
Some of the https pages contain some elements such as ima... | 0 | [
2,
13,
660,
22,
18,
1221,
7863,
7797,
800,
3726,
3726,
31,
57,
21,
689,
30,
92,
44,
12904,
156,
120,
7775,
13,
5,
21127,
6903,
915,
9097,
9,
960,
6,
17,
7775,
18,
13,
5,
21127,
18,
6903,
915,
9097,
9,
960,
6,
9,
14,
7775,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a Drupal language switcher that will only link to front page of the language?
===
In Drupal, the language switcher will by default link to the matching translated page of the current language page. Would it be possible to have a block that would only link to the front page of the clicked language instead of ... | 0 | [
2,
25,
80,
21,
15708,
6720,
816,
5521,
106,
30,
129,
104,
3508,
20,
431,
2478,
16,
14,
816,
60,
800,
3726,
3726,
19,
15708,
6720,
15,
14,
816,
5521,
106,
129,
34,
12838,
3508,
20,
14,
10120,
4331,
2478,
16,
14,
866,
816,
2478,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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: SQLite with ListViews
===
-- This is my layout thus far for the input --
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orien... | 0 | [
2,
13005,
45,
4444,
10601,
29,
968,
4725,
18,
800,
3726,
3726,
13,
8,
8,
48,
25,
51,
9106,
1086,
463,
26,
14,
6367,
13,
8,
8,
13,
1,
60,
396,
8184,
615,
3726,
7,
165,
9,
387,
7,
19608,
3726,
7,
1982,
410,
8,
457,
7,
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... |
Google Analytics events fail to show up
===
I'm trying to get Google Analytics working on my [blog](http://whiletruecode.com), but the events are failing to show up in my account.
Part of the issue is that I'm using the new async code, but most of the documentation relates to the older synchronous version. I've re... | 0 | [
2,
8144,
26320,
963,
7476,
20,
298,
71,
800,
3726,
3726,
31,
22,
79,
749,
20,
164,
8144,
26320,
638,
27,
51,
636,
220,
5567,
500,
5,
21127,
6903,
10144,
13398,
9375,
9,
960,
6,
15,
47,
14,
963,
50,
7250,
20,
298,
71,
19,
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... |
Build very simple spinner in JQUERY
===
I got the Jquery plugin from google to detect a "mousehold" event for JQUERY
$('document').ready(function(){
$('#button').mousehold(function(){
//Do something to implement a spinner
});
});
The mousehold is ... | 0 | [
2,
1895,
253,
1935,
3310,
1031,
19,
487,
8190,
93,
800,
3726,
3726,
31,
330,
14,
487,
8190,
93,
10922,
108,
37,
8144,
20,
9092,
21,
13,
7,
14002,
62,
5344,
7,
807,
26,
487,
8190,
93,
5579,
5,
22,
28132,
22,
6,
9,
15193,
5,
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... |
SVN checkout not working
===
When I try to checkout with Tortoise, checkout window hangs and no buttons respond.
I am under windows 7 and use a VPN. On windows XP it works.
I desactivated firewall.
Any idea? Thanks | 0 | [
2,
13,
18,
16578,
2631,
1320,
52,
638,
800,
3726,
3726,
76,
31,
1131,
20,
2631,
1320,
29,
25691,
15,
2631,
1320,
1463,
4546,
18,
17,
90,
12861,
4590,
9,
31,
589,
131,
1936,
453,
17,
275,
21,
13,
10924,
103,
9,
27,
1936,
23045,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Javascript on AJAX with jquery
===
-
how can I handle it, to get Javascript is working after the Ajax call?
<script type="text/javascript">
$(document).ready(function(){
$.ajaxSetup({cache:false});
$("#new").click(function(){
var post_id = $(this).attr("rel")
$(".po... | 0 | [
2,
8247,
8741,
27,
20624,
29,
487,
8190,
93,
800,
3726,
3726,
13,
8,
184,
92,
31,
3053,
32,
15,
20,
164,
8247,
8741,
25,
638,
75,
14,
20624,
645,
60,
13,
1,
8741,
1001,
3726,
7,
11969,
118,
1004,
1385,
8741,
7,
1,
5579,
5,
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... |
How to find who intercept my form submit?
===
My `<form>` submit is not doing anything, I think it's because the action is intercepted by some JQuery code (what else can it be?). In my reasonably complex web application, I can't even find which line of code is intercepting the action -- yes I wrote every line of them,... | 0 | [
2,
184,
20,
477,
72,
18324,
51,
505,
12298,
60,
800,
3726,
3726,
51,
13,
1,
4190,
1,
12298,
25,
52,
845,
602,
15,
31,
277,
32,
22,
18,
185,
14,
1028,
25,
18990,
34,
109,
487,
8190,
93,
1797,
13,
5,
608,
962,
92,
32,
44,
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... |
How to link checkbox with contactList in android?
===
I want to show Contact list with multiselection Check-box in android.How can I achieve this.
Can any one suggest any example or code then it will be helpful. | 0 | [
2,
184,
20,
3508,
2631,
5309,
29,
2203,
5739,
19,
13005,
60,
800,
3726,
3726,
31,
259,
20,
298,
2203,
968,
29,
1889,
18,
5033,
2631,
8,
5309,
19,
13005,
9,
1544,
92,
31,
4689,
48,
9,
92,
186,
53,
5601,
186,
823,
54,
1797,
94,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
tips for interview preparation 3 years experience .Net developer
===
am about to complete 3 years of Exp. in .Net development.
The technos. i have been working for almost 2.9 yrs are;
Net 3.5 and 2.0 (Web forms)
Sql Server (Sps, Functions, Triggers, Views, Jobs, etc)
Html, Css, Javascript
3 Layer Arch. Web app. D... | 0 | [
2,
11034,
26,
2421,
6675,
203,
122,
1496,
13,
9,
2328,
10058,
800,
3726,
3726,
589,
88,
20,
1279,
203,
122,
16,
13,
6899,
9,
19,
13,
9,
2328,
522,
9,
14,
18203,
18,
9,
31,
57,
74,
638,
26,
557,
172,
9,
518,
13,
8040,
18,
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... |
Get remote url's last modified date with javascript
===
I am trying to get the last date that a remote url was updated using javascript. I have currently come up with this:
function getlastmod(url)
{
var ifrm = document.createElement("IFRAME");
ifrm.setAttribute("src", url);
ifrm.setAttr... | 0 | [
2,
164,
5388,
287,
6362,
22,
18,
236,
5372,
1231,
29,
8247,
8741,
800,
3726,
3726,
31,
589,
749,
20,
164,
14,
236,
1231,
30,
21,
5388,
287,
6362,
23,
6372,
568,
8247,
8741,
9,
31,
57,
871,
340,
71,
29,
48,
45,
1990,
164,
8558,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Difficulties with Isolated Storage
===
I tried this tutorial: http://wellroundedgeek.com/post/2011/01/25/Simple-XNA-Cross-Platform-Settings-Manager.aspx
But I have difficulties to call the LoadSettings() method. I get this error message in Game1 Initialize: 'WindowsGame22.AppSettings' does not contain a definition fo... | 0 | [
2,
8075,
29,
6331,
4326,
800,
3726,
3726,
31,
794,
48,
29724,
45,
7775,
6903,
854,
5000,
8840,
2354,
9,
960,
118,
6962,
118,
3097,
118,
387,
13301,
10551,
24629,
8,
396,
325,
8,
7703,
8,
27035,
8,
19831,
18,
8,
22256,
9,
472,
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... |
Python force-quit doesn't stop process due to infinite loop
===
Short question. I am testing a Log-parser that does a infinite loop (on purpose) with a cool down of 3 seconds every recurrence.
Eventually I will link all the data to a GUI front-end so I can call a stop to the loop when the user is ready with parsing... | 0 | [
2,
20059,
558,
8,
3003,
38,
1437,
22,
38,
747,
953,
397,
20,
9698,
5293,
800,
3726,
3726,
502,
1301,
9,
31,
589,
4431,
21,
6738,
8,
3574,
4104,
30,
630,
21,
9698,
5293,
13,
5,
218,
2131,
6,
29,
21,
2700,
125,
16,
203,
2582,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In rails how do I route domain.com/12345 to /fetch/12345 dynamically?
===
I'm having a little trouble understand how routes work in Ruby on Rails.
What I'm trying to achieve is have all ID's accessible directly after the domain name,
for instance
domain.com/<- ID goes here->
routes to
domain.... | 0 | [
2,
19,
2240,
18,
184,
107,
31,
858,
4603,
9,
960,
118,
918,
21997,
20,
13,
118,
410,
19913,
118,
918,
21997,
7782,
1326,
60,
800,
3726,
3726,
31,
22,
79,
452,
21,
265,
2572,
1369,
184,
5050,
170,
19,
10811,
27,
2240,
18,
9,
98... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
XNA collission detection vs. game speed
===
I have been coding for some years in C# and have now decided to try out the XNA framework to make games.
It went great until I started to implement collision handling in my very simple game.
I can understand how to do collision detection using BoundingBoxes and Boundin... | 0 | [
2,
993,
325,
19830,
18,
5991,
11643,
4611,
9,
250,
1362,
800,
3726,
3726,
31,
57,
74,
13,
15458,
26,
109,
122,
19,
272,
5910,
17,
57,
130,
868,
20,
1131,
70,
14,
993,
325,
6596,
20,
233,
466,
9,
32,
296,
374,
163,
31,
373,
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... |
Is it possible to make an alias for a module in Ruby?
===
In Python, you can set an alias for a module with 'as':
import mymodule as mm
But I can't seem to find an equivalent for ruby. I know that you can include rather than require a module, but this risks namespace collisions. Is there any equivalent to ... | 0 | [
2,
25,
32,
938,
20,
233,
40,
15794,
26,
21,
12613,
19,
10811,
60,
800,
3726,
3726,
19,
20059,
15,
42,
92,
309,
40,
15794,
26,
21,
12613,
29,
13,
22,
472,
22,
45,
9010,
51,
19673,
62,
28,
1620,
47,
31,
92,
22,
38,
2260,
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... |
Record video from viewcontroller with a button IOS 5
===
i am new to Xcode and I am making an app for kids with moving character . Is there any code to make the user taking video with a button with what he is doing on the screen and save it to library? Thanks in advance! | 0 | [
2,
571,
763,
37,
1418,
12898,
1252,
29,
21,
5167,
13,
7760,
331,
800,
3726,
3726,
31,
589,
78,
20,
993,
9375,
17,
31,
589,
544,
40,
4865,
26,
2627,
29,
1219,
925,
13,
9,
25,
80,
186,
1797,
20,
233,
14,
4155,
741,
763,
29,
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... |
Filtering Properties from Jackson JSON
===
I am using Spring MVC Annotations to create a JSON Rest API that has methods defined like:
@RequestMapping(value = "/authenticate", method = RequestMethod.POST)
public @ResponseBody AuthenticationResponse authenticate(@RequestBody final DeviceInformation deviceInf... | 0 | [
2,
25272,
3704,
37,
2303,
487,
528,
800,
3726,
3726,
31,
589,
568,
1573,
307,
8990,
40,
1270,
7504,
20,
1600,
21,
487,
528,
760,
21,
2159,
30,
63,
3195,
2811,
101,
45,
13,
1,
99,
10351,
540,
5574,
5,
15165,
800,
13,
7,
118,
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... |
SQL / PHP sequential ID numbers
===
Is there a certain type of SQL field that acts as a sequential number increasing by 1 each time a row is added.
If not how do we find the highest number of a column with a PHP mySQL query and then increase it by 1. | 0 | [
2,
4444,
255,
13,
118,
13,
26120,
1353,
5495,
10107,
4924,
2116,
800,
3726,
3726,
25,
80,
21,
1200,
1001,
16,
4444,
255,
575,
30,
3167,
28,
21,
1353,
5495,
10107,
234,
3425,
34,
137,
206,
85,
21,
3131,
25,
905,
9,
100,
52,
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... |
How to extract text from tags using ElementTree
===
I have following XML file:
<class id="1" name="good/bad">
<verb>
<token>like</token>
<token>feel</token>
</verb>
<mess>This is <sugg>not</sugg> text</mess>
<id type="incorrect">I'm glad to <marker>... | 0 | [
2,
184,
20,
10962,
1854,
37,
3383,
18,
568,
4520,
8101,
800,
3726,
3726,
31,
57,
249,
23504,
3893,
45,
13,
1,
1898,
4924,
3726,
7,
165,
7,
204,
3726,
7,
3264,
118,
5989,
7,
1,
13,
1,
2304,
220,
1,
13,
1,
262,
2853,
1,
1403,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Docblock for a class property being ignored
===
I've been documenting class properties using the `@var` tag but when I run phpdoc to generate the documents it is complaining `No DocBlock was found for property $someProperty`.
For example:
class MyClass {
/**
* Some property that should be do... | 0 | [
2,
9765,
12048,
26,
21,
718,
1354,
142,
5424,
800,
3726,
3726,
31,
22,
195,
74,
4492,
68,
718,
3704,
568,
14,
13,
1,
3311,
1,
3383,
47,
76,
31,
485,
13,
26120,
13799,
20,
7920,
14,
4374,
32,
25,
20154,
13,
1,
251,
9765,
12048,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 data from specific time period
===
I have an aspx document that returns a list of incoming flights from a database in the form of an HTML table. It displays all flights from the current day. The part that generates the rows is:
string fechha = dias + "/" + mess + "/" + años;
string fecVuel = f... | 0 | [
2,
164,
1054,
37,
1903,
85,
620,
800,
3726,
3726,
31,
57,
40,
28,
306,
396,
4492,
30,
4815,
21,
968,
16,
17126,
7630,
37,
21,
6018,
19,
14,
505,
16,
40,
13,
15895,
859,
9,
32,
9412,
65,
7630,
37,
14,
866,
208,
9,
14,
141,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I get Rectangle UITableViewCells in an iOS grouped UITableView
===
I have a UITableView with style: "Grouped"
By default, the iOS gives me rounded cells, with a white background and a grey separator.
How can I configure the table so that, for only one section of cells, the cells are rectangular (no borde... | 0 | [
2,
184,
92,
31,
164,
27181,
13,
11193,
579,
4725,
9725,
18,
19,
40,
13,
7760,
19511,
13,
11193,
579,
4725,
800,
3726,
3726,
31,
57,
21,
13,
11193,
579,
4725,
29,
1034,
45,
13,
7,
8024,
69,
7,
34,
12838,
15,
14,
13,
7760,
2352,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 output of rename command as variable
===
i am trying to set the output of a command to a variable in a script. i have searched all day and it looks like i have the command right. but each time i run my script, it just runs the command instead of only assigning it to a variable and not running it.
here is the re... | 0 | [
2,
309,
5196,
16,
302,
7259,
1202,
28,
7612,
800,
3726,
3726,
31,
589,
749,
20,
309,
14,
5196,
16,
21,
1202,
20,
21,
7612,
19,
21,
3884,
9,
31,
57,
9036,
65,
208,
17,
32,
1879,
101,
31,
57,
14,
1202,
193,
9,
47,
206,
85,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DateTime issue with vb and mdb
===
I am working on an old software that uses a .mdb database.
I have succeeded in setting up a connection to the database and i can run sql queries just fine when it comes to preprogrammed queries like this one :
`SELECT COUNT(*) AS test FROM shifts WHERE EmpId = '2' AND DateOpen ... | 0 | [
2,
1231,
891,
1513,
29,
13,
20468,
17,
8138,
220,
800,
3726,
3726,
31,
589,
638,
27,
40,
315,
2306,
30,
2027,
21,
13,
9,
79,
9007,
6018,
9,
31,
57,
2914,
19,
2697,
71,
21,
2760,
20,
14,
6018,
17,
31,
92,
485,
4444,
255,
9386... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Calling a function from within that class - php
===
I have a function called wsGO() inside a class ceff(). I want to be able to run that function from within the class ceff. I used this code:
class ceff{
$ceff_instance = new ceff($this);
$ceff_instance = wsGO();
pu... | 0 | [
2,
2555,
21,
1990,
37,
363,
30,
718,
13,
8,
13,
26120,
800,
3726,
3726,
31,
57,
21,
1990,
227,
619,
18,
839,
5,
6,
572,
21,
718,
272,
9039,
5,
6,
9,
31,
259,
20,
44,
777,
20,
485,
30,
1990,
37,
363,
14,
718,
272,
9039,
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... |
calculate and plot CI in R
===
I have the following problem using R. I have my data up to the point below.
And now i want to calculate and plot the Confidence Intervals between "dat.a$st and dat.a$hem" with the standart error. Whic means opposing of the conditions (`0:l`vs`0:r`,`2:l`vs`2:r`...)I started using R two ... | 0 | [
2,
18469,
17,
3798,
5486,
19,
761,
800,
3726,
3726,
31,
57,
14,
249,
1448,
568,
761,
9,
31,
57,
51,
1054,
71,
20,
14,
454,
1021,
9,
17,
130,
31,
259,
20,
18469,
17,
3798,
14,
6548,
15899,
128,
13,
7,
593,
38,
9,
58,
4403,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 - Entity Framework performance on "order by"
===
I have one table that stores 3k records,
I'm new with Entity Framework and ORMs but i can understand that something going wrong.
When i run this linq query :
repo.GetQuery<Article>().Where(foo=>foo.Expires_date>=date).OrderByDescending(foo=>foo.Date)... | 0 | [
2,
51,
18,
22402,
13,
8,
9252,
6596,
956,
27,
13,
7,
7861,
34,
7,
800,
3726,
3726,
31,
57,
53,
859,
30,
4134,
203,
197,
742,
15,
31,
22,
79,
78,
29,
9252,
6596,
17,
54,
79,
18,
47,
31,
92,
1369,
30,
301,
228,
1389,
9,
76... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
2D array and pointer in C - how to access elements?
===
I have an example involving a pointer to a 2D array. Can someone help me understand what is going on in this example?
int main()
{
int i = 0, j=0, sum0=0, sum1=0;
int data[4][3] = { {23,55,50},{45,38,55},{70,43,45},{34,46,... | 0 | [
2,
172,
43,
7718,
17,
454,
106,
19,
272,
13,
8,
184,
20,
1381,
2065,
60,
800,
3726,
3726,
31,
57,
40,
823,
4838,
21,
454,
106,
20,
21,
172,
43,
7718,
9,
92,
737,
448,
55,
1369,
98,
25,
228,
27,
19,
48,
823,
60,
19,
38,
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... |
CCAvenue integration with Magento 1.6.2
===
Had received a module from CCAVENUE and it was working fine with Magento 1.6.2... but just recently it has started giving an error of undefined variable dec..
Has anybody had a similar issue? And any work arounds tried... any help and suggestion would be greatly appreciat... | 0 | [
2,
8093,
16365,
4185,
8078,
29,
4723,
17050,
137,
9,
379,
9,
135,
800,
3726,
3726,
41,
420,
21,
12613,
37,
8093,
16365,
4185,
17,
32,
23,
638,
1123,
29,
4723,
17050,
137,
9,
379,
9,
135,
9,
9,
9,
47,
114,
1989,
32,
63,
373,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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-filling website forms mac apps
===
I'm pretty new to the Mac SDK, but I can find my way around the basics easily enough. There is one thing I'm stumped on however: I am trying to make an app where it automatically goes into a webpage when it becomes available, e.g. for concert ticket sales and such. I have the ap... | 0 | [
2,
3108,
8,
19971,
68,
2271,
1997,
1572,
4865,
18,
800,
3726,
3726,
31,
22,
79,
1772,
78,
20,
14,
1572,
13,
18,
43,
197,
15,
47,
31,
92,
477,
51,
161,
140,
14,
2125,
18,
2351,
511,
9,
80,
25,
53,
584,
31,
22,
79,
15781,
69... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
cocoa2d:Control Sprite in another scene from HUD layer
===
I have a sprite in **scene1.m** and i have a button in HUD layer **hud.m** .Now button appears in **Scene1**.
How can i get control of **scene1** sprite from **HUD layer**.Any ideas please ?Thanks | 0 | [
2,
24507,
135,
43,
45,
12898,
27902,
19,
226,
1691,
37,
20527,
5385,
800,
3726,
3726,
31,
57,
21,
27902,
19,
13,
1409,
18,
13739,
165,
9,
79,
1409,
17,
31,
57,
21,
5167,
19,
20527,
5385,
13,
1409,
2242,
43,
9,
79,
1409,
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... |
How do you determine when an angularjs $service has finished its work?
===
I am using the $location service inside my controller to enable deep linking. My controller does something like this:
$location.path("/"+param);
$("title").text(param);
It is critical that the second line finishes executing after the f... | 0 | [
2,
184,
107,
42,
3746,
76,
40,
18270,
728,
18,
5579,
11449,
63,
842,
82,
170,
60,
800,
3726,
3726,
31,
589,
568,
14,
5579,
19032,
365,
572,
51,
9919,
20,
9240,
855,
12585,
9,
51,
9919,
630,
301,
101,
48,
45,
5579,
19032,
9,
83... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Resize the UITabBarItem
===
Is it possible to change the size of an UITabBarItem? I'm not talking about the image inside the UITabBarItem, but the UITabBarItem itself.
For example if you have four UITabBarItems in a UITabBar, is it then possible to "merge" the two UITabBarItems in the center of the UITabBarItem (s... | 0 | [
2,
302,
10454,
14,
13,
11193,
13100,
8011,
79,
800,
3726,
3726,
25,
32,
938,
20,
753,
14,
1072,
16,
40,
13,
11193,
13100,
8011,
79,
60,
31,
22,
79,
52,
1582,
88,
14,
1961,
572,
14,
13,
11193,
13100,
8011,
79,
15,
47,
14,
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... |
Overload return types?
===
Lets say i have a class
Class rofl {
int a;
float b;
rofl::rofl(int a, float b) {
this->a = a; this->b = b;
}
}
is it possible to do
rofl* sup = new rofl(5, 2.0f);
float hello = sup;
so that variable hello would get the value o... | 0 | [
2,
84,
8294,
788,
2551,
60,
800,
3726,
3726,
6884,
395,
31,
57,
21,
718,
718,
13,
661,
4372,
13,
1,
19,
38,
21,
73,
11510,
334,
73,
13,
661,
4372,
45,
45,
661,
4372,
5,
6391,
21,
15,
11510,
334,
6,
13,
1,
48,
8,
1,
58,
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... |
batch file : goto in for loop
===
I have a batch file that have a for loop in it , in the loop I must wait for process to end
so I use IF and GOTO , the problem is the goto is breaking the loop, I tried to find other solutions but I didnt get anything , my code is doing a loop then I check for a process running , if ... | 0 | [
2,
13064,
3893,
13,
45,
330,
111,
19,
26,
5293,
800,
3726,
3726,
31,
57,
21,
13064,
3893,
30,
57,
21,
26,
5293,
19,
32,
13,
15,
19,
14,
5293,
31,
491,
1760,
26,
953,
20,
241,
86,
31,
275,
100,
17,
330,
111,
13,
15,
14,
144... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Refreshing Parent window after closing popup
===
I am creating a popup window that goes to hello.html. I want my original (parent page) to reload when i close the popup window (hello.html). I can't seem to get it to work, but I'm close. Here is the code I have so far for the main page and the hello.html page....
... | 0 | [
2,
27134,
4766,
1463,
75,
4239,
1675,
576,
800,
3726,
3726,
31,
589,
2936,
21,
1675,
576,
1463,
30,
1852,
20,
10975,
9,
15895,
9,
31,
259,
51,
501,
13,
5,
18908,
2478,
6,
20,
27339,
76,
31,
543,
14,
1675,
576,
1463,
13,
5,
115... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Exporting VS2010 class diagrams to visio
===
I am creating class diagram using VS2010. Is there any way to import VS2010 generated class diagrams to import in MSVisio?
Regards,
Priyank Thakkar | 0 | [
2,
7487,
68,
4611,
2751,
718,
14161,
18,
20,
9060,
1963,
800,
3726,
3726,
31,
589,
2936,
718,
14161,
568,
4611,
2751,
9,
25,
80,
186,
161,
20,
9010,
4611,
2751,
6756,
718,
14161,
18,
20,
9010,
19,
4235,
3762,
1963,
60,
14179,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
can not use cancan
===
I am following rails casts episode 192 for cancan (http://railscasts.com/episodes/192-authorization-with-cancan?autoplay=true).
I have ruby 1.9.3
and rails 3.2.3
My gem file has this content
............
group :test, :development do
gem 'rspec-rails', '~> 2.5'
end
group :test do ... | 0 | [
2,
92,
52,
275,
92,
1245,
800,
3726,
3726,
31,
589,
249,
2240,
18,
1325,
18,
942,
13,
19532,
26,
92,
1245,
13,
5,
21127,
6903,
7301,
18,
6146,
18,
9,
960,
118,
13397,
18,
118,
19532,
8,
10007,
1829,
8,
1410,
8,
1245,
1245,
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... |
Optimizing String Matching Alogorithm
===
function levenshtein(a, b) {
var i,j,cost,d=[];
if (a.length == 0) {return b.length;}
if (b.length == 0) {return a.length;}
for ( i = 0; i <= a.length; i++) {
d[i] = new Array();
d[ i ][0] = i;
}
for ( j = 0; j <= b.length; j++) {
d[ 0 ... | 0 | [
2,
19259,
3335,
3724,
10120,
21,
5567,
5985,
96,
79,
800,
3726,
3726,
1990,
9183,
219,
1635,
591,
108,
5,
58,
15,
334,
6,
13,
1,
4033,
31,
15,
728,
15,
15155,
15,
43,
3726,
2558,
12660,
100,
13,
5,
58,
9,
6325,
800,
3726,
713,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ListView - SimpleCursorAdapter - @android:id/empty
===
tI've a ListActivity. The layout of the ListActivity is
<ListView android:id="@android:id/list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1"
... | 0 | [
2,
968,
4725,
13,
8,
1935,
4734,
18,
248,
27576,
106,
13,
8,
13,
1,
290,
18524,
45,
1340,
118,
26542,
800,
3726,
3726,
4174,
22,
195,
21,
968,
19348,
9,
14,
9106,
16,
14,
968,
19348,
25,
13,
1,
5739,
4725,
13005,
45,
1340,
372... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to access non-Cake session data from within a CakePHP component
===
I'm currently integrating two php applications:
1. A large bespoke PHP web app built over many years, and not written in CakePHP.
2. A small CakePHP dashboarding app (jSlate).
The cake app is on the same domain and in a subfolder of the mai... | 0 | [
2,
184,
20,
1381,
538,
8,
17568,
3723,
1054,
37,
363,
21,
8390,
26120,
5912,
800,
3726,
3726,
31,
22,
79,
871,
24529,
81,
13,
26120,
3767,
45,
137,
9,
21,
370,
44,
3401,
8416,
13,
26120,
2741,
4865,
392,
84,
151,
122,
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... |
Redefined AND operator in Prolog
===
I want to redefine AND operator in SWI-Prolog . But I do not know how to do it.
I tried the following definition:
a & b = b & a
However, it is called recursive and does not work.
Wish people give me suggestions.
Thanks in advance! | 0 | [
2,
302,
13439,
17,
6022,
19,
895,
5567,
800,
3726,
3726,
31,
259,
20,
402,
62,
7509,
17,
6022,
19,
13,
18,
3976,
8,
2740,
5567,
13,
9,
47,
31,
107,
52,
143,
184,
20,
107,
32,
9,
31,
794,
14,
249,
5465,
45,
21,
279,
334,
80... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I programmatically setup a file download but not lose my current page?
===
I have a URL that will cause an Excel file to be downloaded. However, when I visit this URL, I wish to remain on the same page I'm currently viewing, only have the file download dialog appear. I have tried this Javascript in my <HEA... | 0 | [
2,
184,
107,
31,
625,
6732,
1326,
18161,
21,
3893,
7121,
47,
52,
2926,
51,
866,
2478,
60,
800,
3726,
3726,
31,
57,
21,
287,
6362,
30,
129,
1679,
40,
20700,
3893,
20,
44,
23887,
9,
207,
15,
76,
31,
2139,
48,
287,
6362,
15,
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 pass a datagridview value after double clicking to a textbox on another form
===
im working on a complex ribbon application , so far it is going well but until ive experienced a lil tricky situation where i've to pass value of gridview to a textbox on another form after double clicking the gri | 0 | [
2,
184,
20,
1477,
21,
1054,
16375,
4725,
1923,
75,
1494,
25590,
20,
21,
1854,
5309,
27,
226,
505,
800,
3726,
3726,
797,
638,
27,
21,
1502,
9162,
3010,
13,
15,
86,
463,
32,
25,
228,
134,
47,
163,
5568,
3882,
21,
9672,
5514,
93,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a notebook could run Mac OS well except the Mac book?
===
I plan to learn objective-c, but the mac book is too expensive to get one for me now, but a windows notebook is OK, so, I hope that there was a notebook could run Mac OS very well, hope you can recommend one. Thank you. :)
| 2 | [
2,
25,
80,
21,
14630,
110,
485,
1572,
13,
759,
134,
1613,
14,
1572,
360,
60,
800,
3726,
3726,
31,
944,
20,
2484,
7038,
8,
150,
15,
47,
14,
1572,
360,
25,
266,
5381,
20,
164,
53,
26,
55,
130,
15,
47,
21,
1936,
14630,
25,
5854... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
filter synced contacts
===
maybe my question have a lot of common with [this][1] post, but I have researched a lot and couldn't find answer and even is it possible to distinguish facebook or other apps' sync contacts.
[1]: http://stackoverflow.com/questions/11172550/android-how-to-exclude-facebook-contacts-fr... | 0 | [
2,
11945,
6063,
11014,
11894,
800,
3726,
3726,
913,
51,
1301,
57,
21,
865,
16,
757,
29,
636,
1565,
500,
2558,
165,
500,
678,
15,
47,
31,
57,
527,
69,
21,
865,
17,
711,
22,
38,
477,
1623,
17,
166,
25,
32,
938,
20,
9705,
9090,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 SortOption in Fulltext Search in Google App Engine
===
This is how I add document to index:
Document doc = Document.newBuilder()
.setId( user.getEmailAddress() )
.addField( Field.newBuilder().setName( "lastLogin" ).setDate( Field.date(user.getLastLogin()) ) )
.build();
I want to sort by `lastLo... | 0 | [
2,
568,
2058,
2594,
3309,
19,
503,
11969,
2122,
19,
8144,
4865,
1406,
800,
3726,
3726,
48,
25,
184,
31,
3547,
4492,
20,
4348,
45,
4492,
9765,
800,
4492,
9,
2681,
20904,
5,
6,
13,
9,
3554,
1340,
5,
4155,
9,
3060,
62,
8079,
27950,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Gradle zip packaging: copy Jar file from repository
===
I have to copy a jar from the repository (say local) in my ZIP packaging. I understand that we can define compile/runtime in dependencies. However, I could not use it them in ZIP.
I'm able to copy the jar file by specifying the path in my filesystem. However,... | 0 | [
2,
13,
7691,
413,
12133,
16850,
45,
4344,
5112,
3893,
37,
24869,
800,
3726,
3726,
31,
57,
20,
4344,
21,
5112,
37,
14,
24869,
13,
5,
6366,
375,
6,
19,
51,
12133,
16850,
9,
31,
1369,
30,
95,
92,
9267,
26561,
118,
3169,
891,
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... |
Why AlarmMAnager Is Not Working?
===
I am calling a service class from broadcastReciever My Class is As:-
InsertIntoDB objinsert;
ArrayList<ContactClass> resultList;
ContactClass mContactClass =null;
public ScheduleService() {
super("B'Day Checker Service");
}
@Override
prot... | 0 | [
2,
483,
6490,
22256,
25,
52,
638,
60,
800,
3726,
3726,
31,
589,
2555,
21,
365,
718,
37,
1992,
15110,
5221,
51,
718,
25,
28,
45,
8,
14692,
108,
262,
9007,
5122,
8249,
18,
6767,
73,
7718,
5739,
1,
29912,
1898,
1,
829,
5739,
73,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
connecting to derby database with tomcat as the server
===
How do i connect to derby database _(that comes with the netbeans)_ ? I am using Tomcat as the server. Earlier i used the following statements to connect to the derby database,but then i used `glassfish` as the server.
Context context = new InitialConte... | 0 | [
2,
6440,
20,
6473,
6018,
29,
2067,
5782,
28,
14,
8128,
800,
3726,
3726,
184,
107,
31,
6379,
20,
6473,
6018,
13,
1,
5,
887,
1624,
29,
14,
4275,
863,
5950,
6,
1,
13,
60,
31,
589,
568,
2067,
5782,
28,
14,
8128,
9,
1201,
31,
147... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
EF + MVC3: How to Create DropDownList Filter when page model is IPagedList?
===
I've been following the excellent tutorial from asp.net about creating pagination and filtering: http://www.asp.net/mvc/tutorials/getting-started-with-ef-using-mvc/sorting-filtering-and-paging-with-the-entity-framework-in-an-asp-net-mvc-ap... | 0 | [
2,
11599,
2754,
307,
8990,
240,
45,
184,
20,
1600,
2804,
2968,
5739,
11945,
76,
2478,
1061,
25,
31,
6486,
43,
5739,
60,
800,
3726,
3726,
31,
22,
195,
74,
249,
14,
5977,
29724,
37,
28,
306,
9,
2328,
88,
2936,
19006,
108,
857,
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... |
I am trying to understand how websockets work & to the extent that they are dependent on proxy servers
===
I came across this [stackoverflow question][1] & then to [this article][2] through that question.
From what I understand, both encrypted / non-encrypted websocket connections are dependent on the proxy servers... | 0 | [
2,
31,
589,
749,
20,
1369,
184,
2741,
18,
5668,
6095,
170,
279,
20,
14,
5674,
30,
59,
50,
9063,
27,
27188,
17595,
800,
3726,
3726,
31,
281,
464,
48,
636,
25325,
2549,
9990,
1301,
500,
2558,
165,
500,
279,
94,
20,
636,
1565,
2002... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 - altering HTML using remove or replaceWith
===
I need to alter some HTML using jQuery - (I have no control over the HTML hence I need to use something client side to make this slight alteration)
If a `<br />` is the first element in a div named 'column', then I need to remove it.
So:
<div class="c... | 0 | [
2,
487,
8190,
93,
13,
8,
7835,
68,
13,
15895,
568,
4681,
54,
3934,
1410,
800,
3726,
3726,
31,
376,
20,
7835,
109,
13,
15895,
568,
487,
8190,
93,
13,
8,
13,
5,
49,
57,
90,
569,
84,
14,
13,
15895,
5796,
31,
376,
20,
275,
301,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dragging rows in ordered Flex DataGridColumn
===
I'am having following issue that I don't know a good approach to ...
Problem:
I have a `AdvancedDataGrid` with a column with `dataField` 'Follow number', this column can be ordered. But in this datagrid there can also be drag 'n dropped. Now if I drag 'n drop a row ... | 0 | [
2,
13052,
11295,
19,
1905,
14409,
1054,
16375,
716,
4404,
103,
800,
3726,
3726,
31,
22,
765,
452,
249,
1513,
30,
31,
221,
22,
38,
143,
21,
254,
2141,
20,
13,
9,
9,
9,
1448,
45,
31,
57,
21,
13,
1,
1283,
2686,
11014,
18768,
1637... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
get 2 letter state/province abbreviation
===
So I'm using the GeoNames API to get country and state/province information which I'm using to populate select dropdowns in a form. This form submits it's information to a SOAP web service and the SOAP Server only understands the country and state/province data in 2 letter ... | 0 | [
2,
164,
172,
1748,
146,
118,
20275,
108,
1105,
5941,
3692,
1755,
857,
800,
3726,
3726,
86,
31,
22,
79,
568,
14,
6389,
7259,
18,
21,
2159,
20,
164,
475,
17,
146,
118,
20275,
108,
1105,
676,
56,
31,
22,
79,
568,
20,
1675,
12383,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 write text on an image in Java (Android)
===
I can do this in Objective-C on the iPhone, but now I'm looking for the equivalent Android Java code. I can also do it in plain Java, but I don't know what the Android specific classes are. I want to generate a PNG image on the fly that has some text centered in th... | 0 | [
2,
184,
20,
2757,
1854,
27,
40,
1961,
19,
8247,
13,
5,
290,
18524,
6,
800,
3726,
3726,
31,
92,
107,
48,
19,
7038,
8,
150,
27,
14,
21024,
15,
47,
130,
31,
22,
79,
699,
26,
14,
4602,
13005,
8247,
1797,
9,
31,
92,
67,
107,
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... |
MySQL self-join takes too long—can I streamline this query?
===
I'm hoping (and pretty sure that) someone out there is much better at MySQL queries than msyelf.
I have a query which checks a table that contains information on :
- a search term
- title and price results from various sites using this search term
... | 0 | [
2,
51,
18,
22402,
1119,
8,
1636,
108,
1384,
266,
175,
1,
1245,
31,
3766,
1143,
48,
25597,
60,
800,
3726,
3726,
31,
22,
79,
3935,
13,
5,
290,
1772,
562,
30,
6,
737,
70,
80,
25,
212,
574,
35,
51,
18,
22402,
9386,
2829,
119,
42... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Entity Framework - Generic Method to mark unchanged children to be deleted
===
I'm working with EF4.3.1 and have implemented the DBContext.
I have several entities with parent-child relationships. When I update an existing parent, I retreive the existing parent entity, make my changes, attach it to the context, ma... | 0 | [
2,
9252,
6596,
13,
8,
12733,
2109,
20,
943,
18088,
391,
20,
44,
19584,
800,
3726,
3726,
31,
22,
79,
638,
29,
11599,
300,
9,
240,
9,
165,
17,
57,
6807,
14,
13,
9007,
1126,
11969,
9,
31,
57,
238,
12549,
29,
4766,
8,
11287,
5833,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are the various ways of drawing things to a picturebox in VB6 and what are the advantages of each?
===
I know of two ways:
1. Using the .line, .circle, etc. methods
2. Using bitblt
Are there any others?
What are the advantages? Is bitblt faster than the native methods like .line and .circle? | 0 | [
2,
98,
50,
14,
617,
2847,
16,
3533,
564,
20,
21,
2151,
5309,
19,
13,
20468,
379,
17,
98,
50,
14,
14683,
16,
206,
60,
800,
3726,
3726,
31,
143,
16,
81,
2847,
45,
137,
9,
568,
14,
13,
9,
1143,
15,
13,
9,
24195,
15,
2722,
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... |
Possible to force version of dependent gem?
===
I'm using two gems that depend on the `faraday` gem. Unfortunately, the depend on different versions...
Bundler could not find compatible versions for gem "faraday":
In Gemfile:
vacuum (~> 0.2) depends on
faraday (~> 0.7.6)
... | 0 | [
2,
938,
20,
558,
615,
16,
9063,
8551,
60,
800,
3726,
3726,
31,
22,
79,
568,
81,
8551,
18,
30,
12547,
27,
14,
13,
1,
3700,
58,
1185,
1,
8551,
9,
6200,
15,
14,
12547,
27,
421,
3281,
9,
9,
9,
10194,
139,
110,
52,
477,
14961,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 I use the same selector twice in CSS?
===
Which of the following would be considered best (i.e. better) practice?
#anElement {
font-size:1em;
color:white;
}
/* other stuff */
#anElement {
width:100px;
margin-bottom:10px;
}
or
#anElemen... | 0 | [
2,
378,
31,
275,
14,
205,
23946,
2088,
19,
272,
18,
18,
60,
800,
3726,
3726,
56,
16,
14,
249,
83,
44,
724,
246,
13,
5,
49,
9,
62,
9,
574,
6,
1345,
60,
6926,
210,
27567,
13,
1,
9978,
8,
10454,
45,
165,
1503,
73,
1665,
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... |
Finding records in a date range
===
If I want to find the active records that are in a date range, do I need to join the table to itsself or just a flat where clause is enough?
the schema of table is something like:
bool active_ind
datetime beg_dt_tm
datetime end_dt_dm
and the query is passing in ... | 0 | [
2,
3007,
742,
19,
21,
1231,
978,
800,
3726,
3726,
100,
31,
259,
20,
477,
14,
1348,
742,
30,
50,
19,
21,
1231,
978,
15,
107,
31,
376,
20,
1865,
14,
859,
20,
82,
8411,
54,
114,
21,
1844,
113,
9040,
25,
511,
60,
14,
23874,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to redirect to another page in same window in javascript
===
i am creating an application in which i am using image transitions slideshow. in image slideshow i used hyperlink to go another page. but page open in new window. i want page open in same window.
`flashyslideshow.prototype.getSlideHTML=function(index... | 0 | [
2,
184,
20,
302,
14706,
20,
226,
2478,
19,
205,
1463,
19,
8247,
8741,
800,
3726,
3726,
31,
589,
2936,
40,
3010,
19,
56,
31,
589,
568,
1961,
4513,
18,
18066,
1544,
9,
19,
1961,
18066,
1544,
31,
147,
5443,
6258,
20,
162,
226,
2478... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.