unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
OpenGL transparent texture
===
I need to make one of my textures transparent. How can I do it?
All code that handles my texture is:
glBindTexture(GL_TEXTURE_2D, textureName);
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width... | 0 | [
2,
368,
8430,
14862,
12714,
800,
3726,
3726,
31,
376,
20,
233,
53,
16,
51,
12714,
18,
14862,
9,
184,
92,
31,
107,
32,
60,
65,
1797,
30,
3053,
18,
51,
12714,
25,
45,
13,
8430,
4772,
43,
11969,
4221,
5,
8430,
1,
11969,
4221,
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... |
Text not displaying at the bottom in jasperReports
===
I have a main report which contains 5 subreports. In one of the subreport, there are 3 other subreports and some fields.
My requiremnet is to print a static text, in the footer section of the report. Since, this report flows over multiple pages, I want the static... | 0 | [
2,
1854,
52,
17418,
35,
14,
2129,
19,
16750,
17437,
18,
800,
3726,
3726,
31,
57,
21,
407,
1330,
56,
1588,
331,
972,
17437,
18,
9,
19,
53,
16,
14,
972,
17437,
15,
80,
50,
203,
89,
972,
17437,
18,
17,
109,
2861,
9,
51,
4077,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
search method not working after second hit
===
I've a problem with my UISearchDisplayController, the search is not working properly.
This is my code:
- (void)filterContentForSearchText:(NSString*)searchText
scope:(NSString*)scope
{
[self.searchResults remo... | 0 | [
2,
2122,
2109,
52,
638,
75,
153,
770,
800,
3726,
3726,
31,
22,
195,
21,
1448,
29,
51,
13,
5661,
25136,
2906,
5438,
12898,
1252,
15,
14,
2122,
25,
52,
638,
7428,
9,
48,
25,
51,
1797,
45,
13,
8,
13,
5,
2625,
1340,
6,
11924,
81... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Decoupling profile data from a user account
===
I was watching a documentary showing a hacker accessing the database of a site using some publicly available tools. From what I could see the tables had a phpbb prefix which hinted that some flaw might have been exploited in a phpBB board. So it might not apply to all we... | 0 | [
2,
121,
17856,
802,
5296,
1054,
37,
21,
4155,
2176,
800,
3726,
3726,
31,
23,
1953,
21,
2978,
3187,
21,
20395,
1381,
68,
14,
6018,
16,
21,
689,
568,
109,
6713,
904,
4672,
9,
37,
98,
31,
110,
196,
14,
7484,
41,
21,
13,
26120,
34... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
rabbitmq python - notifications design pattern to scale for thousands of users
===
our website has around 50,000 users and daily active traffic is pretty good.
we are designing a new notifications feature for our user base.
Our requirement is as follows:
1. Users are part of different Groups.
2. A user can be pa... | 0 | [
2,
8335,
79,
1251,
20059,
13,
8,
52,
4634,
18,
704,
3732,
20,
3464,
26,
3805,
16,
3878,
800,
3726,
3726,
318,
2271,
63,
140,
14522,
3878,
17,
1954,
1348,
2227,
25,
1772,
254,
9,
95,
50,
15026,
21,
78,
52,
4634,
18,
1580,
26,
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... |
Signing Properties: Fx Build Configuration
===
In `Eclipse EE 3.7`, I've installed the `JavaFX SDK` and created a `JavaFX Project`. When I open the `build.fxbuild` file and select the `Build Properties` tab, there's a section titled `Signing Properties`. And it asks for the following information,
- Keystore
- St... | 0 | [
2,
5479,
3704,
45,
13,
16488,
1895,
8091,
800,
3726,
3726,
19,
13,
1,
3319,
6013,
870,
13,
2851,
203,
9,
465,
1,
15,
31,
22,
195,
4066,
14,
13,
1,
1004,
1385,
16488,
13,
18,
43,
197,
1,
17,
679,
21,
13,
1,
1004,
1385,
16488,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Inviting FB friends to a page
===
In FB ui, Request Dialog helps a user to invite his friends to an app provided the user has registered with the app. In my case, I want a user who is registered with our site to invite his friends to our site. What I want to do is when a user clicks on the button "Invite friends", his... | 0 | [
2,
17076,
13,
13478,
954,
20,
21,
2478,
800,
3726,
3726,
19,
13,
13478,
13,
5661,
15,
3772,
28223,
7778,
21,
4155,
20,
10275,
33,
954,
20,
40,
4865,
1173,
14,
4155,
63,
3801,
29,
14,
4865,
9,
19,
51,
610,
15,
31,
259,
21,
4155... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Possible to send data between two iOS devices?
===
I've read tons of questions about this all over the web, and can't seem to find a solid answer. If I have an iPhone that's running on cellular data and another iOS device on wifi, is it possible for them to send data to each other directly without sending it first to ... | 0 | [
2,
938,
20,
2660,
1054,
128,
81,
13,
7760,
4690,
60,
800,
3726,
3726,
31,
22,
195,
1302,
5278,
16,
2346,
88,
48,
65,
84,
14,
2741,
15,
17,
92,
22,
38,
2260,
20,
477,
21,
2941,
1623,
9,
100,
31,
57,
40,
21024,
30,
22,
18,
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... |
Find the exact word position in string
===
Lets say I have a string..
$string = red,green,blue,yellow,black;
Now I have a variable which is the position of the word I am searching for.
$key = 2;
I want to get the word with the position of 2. Which in this case, the answer the would be `blue`.
| 0 | [
2,
477,
14,
5340,
833,
649,
19,
3724,
800,
3726,
3726,
6884,
395,
31,
57,
21,
3724,
9,
9,
5579,
11130,
800,
402,
15,
6852,
15,
6997,
15,
17589,
15,
5485,
73,
130,
31,
57,
21,
7612,
56,
25,
14,
649,
16,
14,
833,
31,
589,
5792... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is the Length column in MSSQL somewhat confusing?
===
So I found out that the length column says "Length" is 4, and precision is 10 :
Col. name: SurveyNumber
type : int
computed: no
Length: 4
Precision: 10
And it has numbers like 19350 in it. Why is len... | 0 | [
2,
483,
25,
14,
1476,
4698,
19,
4235,
18,
22402,
4131,
18084,
60,
800,
3726,
3726,
86,
31,
216,
70,
30,
14,
1476,
4698,
898,
13,
7,
6325,
7,
25,
268,
15,
17,
13133,
25,
332,
13,
45,
3313,
9,
204,
45,
3431,
16299,
1001,
13,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linq grouping with list
===
I have an entity like this
Product Room
long productid long roomid
List<Room> rooms string roomname
String name
Now I have a list of Product entities which has duplicate da... | 0 | [
2,
6294,
1251,
19288,
29,
968,
800,
3726,
3726,
31,
57,
40,
9252,
101,
48,
2374,
337,
175,
2374,
1340,
175,
337,
1340,
968,
1,
4447,
1,
3662,
3724,
337,
7259,
3724,
204,
130,
31,
57,
21,
968,
16,
2374,
12549,
56,
63,
19429,
1231... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.Net Specialized HTML Encoding
===
I want to encode the user input. but I will accept the special character or the equivalent HTML code. For instance, I don't want to encode the `®` or `®` that represents ®... or Trademark or Copyright, etc... and I want to encode the rest `<`, `>`, `"`, `'`, `&`, etc... So ... | 0 | [
2,
13,
9,
2328,
7119,
13,
15895,
19608,
800,
3726,
3726,
31,
259,
20,
20523,
14,
4155,
6367,
9,
47,
31,
129,
3440,
14,
621,
925,
54,
14,
4602,
13,
15895,
1797,
9,
26,
4851,
15,
31,
221,
22,
38,
259,
20,
20523,
14,
13,
1,
156... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 avoid being friends multiple times
===
I am stuck with the friendships model. I can be friends with an user multiple times. So I need a condition to avoid add to friend link .
My users_controller :
class UsersController < ApplicationController
before_filter :authenticate_user!
def in... | 0 | [
2,
184,
20,
2658,
142,
954,
1886,
436,
800,
3726,
3726,
31,
589,
4549,
29,
14,
5683,
18,
1061,
9,
31,
92,
44,
954,
29,
40,
4155,
1886,
436,
9,
86,
31,
376,
21,
2874,
20,
2658,
3547,
20,
860,
3508,
13,
9,
51,
3878,
1,
12898,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 skip printing the command output and just get the return value from a os.system command?
===
Consider the following examples -
Python 2.4.3 (#1, Jan 14 2011, 00:20:04)
[GCC 4.1.2 20080704 (Red Hat 4.1.2-48)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>... | 0 | [
2,
184,
20,
12532,
7312,
14,
1202,
5196,
17,
114,
164,
14,
788,
1923,
37,
21,
13,
759,
9,
10724,
1202,
60,
800,
3726,
3726,
3563,
14,
249,
3770,
13,
8,
20059,
172,
9,
300,
9,
240,
13,
5,
5910,
165,
15,
2262,
513,
542,
15,
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... |
Automatic Updating of Action's isEnabled()
===
I have written a Swing GUI with several controls associated with the same `Action` subclass. The implementation of the `Action` subclass follows this psudocode:
public class MyGUI
{
public class Action_StartPlayback extends AbstractAction
{
... | 0 | [
2,
6715,
71,
43,
1880,
16,
1028,
22,
18,
25,
219,
579,
43,
5,
6,
800,
3726,
3726,
31,
57,
642,
21,
5587,
9457,
29,
238,
8671,
1598,
29,
14,
205,
13,
1,
8645,
1,
972,
1898,
9,
14,
6123,
16,
14,
13,
1,
8645,
1,
972,
1898,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Grails domain class id inheritance
===
I have four domain classes having common properties, `transID, createdDate` wherein the `transID` is typed `int` and mapped as the Primary Key of the table. By rule of abstraction, we seperate the common properties/attributes to an abstract class then let the child class (which i... | 0 | [
2,
489,
7301,
18,
4603,
718,
4924,
13852,
800,
3726,
3726,
31,
57,
222,
4603,
2684,
452,
757,
3704,
15,
13,
1,
7028,
1340,
15,
679,
8209,
1,
113,
108,
14,
13,
1,
7028,
1340,
1,
25,
1001,
43,
13,
1,
6391,
1,
17,
20877,
28,
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... |
How to Fetch UIPopOver Selected row text
===
I am new to iPhone developer,
In my application when i click on a button popover appears.
what i want to do is, when i select any row in popover that cell should marked with right arrow image like:
`cell.accessoryType = UITableViewCellAccessoryCheckmark;`
and i... | 0 | [
2,
184,
20,
18312,
13,
5661,
6057,
2549,
1704,
3131,
1854,
800,
3726,
3726,
31,
589,
78,
20,
21024,
10058,
15,
19,
51,
3010,
76,
31,
10840,
27,
21,
5167,
1675,
2549,
1780,
9,
98,
31,
259,
20,
107,
25,
15,
76,
31,
5407,
186,
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... |
NSData writeToFile not completely written when reading
===
I am writing an iPhone app that allows you to browse images in one view, and create them in another.
The view that creates an image will write the image to the documents folder using the following code (when tapping a button to dismiss the view):
[UI... | 0 | [
2,
13,
2172,
18768,
2757,
262,
16877,
52,
1524,
642,
76,
1876,
800,
3726,
3726,
31,
589,
1174,
40,
21024,
4865,
30,
2965,
42,
20,
10175,
62,
3502,
19,
53,
1418,
15,
17,
1600,
105,
19,
226,
9,
14,
1418,
30,
9695,
40,
1961,
129,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Would this be a more secure password-reset than the conventional e-mail based ones?
===
I've just read that e-mails are sent in plain-text forms.
In that case, wouldn't a cookie of random uuid help me keep out the sniffers?
The steps go like this:
1. The user requests reset-password.
2. My website sets a cooki... | 0 | [
2,
83,
48,
44,
21,
91,
4315,
20884,
8,
99,
3554,
119,
14,
6533,
13,
62,
8,
8079,
432,
53,
18,
60,
800,
3726,
3726,
31,
22,
195,
114,
1302,
30,
13,
62,
8,
8079,
18,
50,
795,
19,
3748,
8,
11969,
1997,
9,
19,
30,
610,
15,
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... |
Unable to open google map
===
I have created a Google Map application in Flex and deployed on apache-tomcat-7.0.5. It is opening perfectly on local machine but when I am trying to opening on other machine in Network it showing "Initialization failed: please check the API key, swf location, version and network availabi... | 0 | [
2,
2343,
20,
368,
8144,
2942,
800,
3726,
3726,
31,
57,
679,
21,
8144,
2942,
3010,
19,
14409,
17,
6698,
27,
17140,
8,
6015,
5782,
8,
465,
9,
387,
9,
264,
9,
32,
25,
1214,
5759,
27,
375,
1940,
47,
76,
31,
589,
749,
20,
1214,
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... |
Python 2.5 subprocess.Popen problem
===
I'm trying to run the following little Python script:
#!/usr/local/bin/python2.5
import sys, subprocess
child = subprocess.Popen("muscle -stable -FASTA",
stdin=sys.stdin,
stdout=subprocess.PIPE,
... | 0 | [
2,
20059,
172,
9,
264,
972,
16835,
9,
6057,
219,
1448,
800,
3726,
3726,
31,
22,
79,
749,
20,
485,
14,
249,
265,
20059,
3884,
45,
6926,
187,
118,
267,
139,
118,
15580,
118,
4772,
118,
6448,
11570,
135,
9,
264,
9010,
10315,
18,
15... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Passing Grails params to Javascript
===
I want to pass URL parameters used in a GSP to a jQuery-function. I have found a solution that works but my gut tells me using global Javascript variables isn´t a good idea.
GSP - making params.id from Grails available for Javascript as a global variable:
<g:javascrip... | 0 | [
2,
2848,
489,
7301,
18,
2258,
79,
18,
20,
8247,
8741,
800,
3726,
3726,
31,
259,
20,
1477,
287,
6362,
12905,
147,
19,
21,
489,
3401,
20,
21,
487,
8190,
93,
8,
22359,
9,
31,
57,
216,
21,
4295,
30,
693,
47,
51,
5192,
2609,
55,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Qt - emitting slots instead of signals
===
Suppose I have a QPushButton widget that is connected to a slot by its clicked() signal. This first slot in turn calls another slot by the emit keyword. The second slot takes an argument from the first slot and do something with it. It worked, but from what I understand of th... | 0 | [
2,
2593,
38,
13,
8,
13,
28741,
7958,
18,
700,
16,
7616,
800,
3726,
3726,
5787,
31,
57,
21,
2593,
26973,
811,
444,
4807,
43,
3060,
30,
25,
2587,
20,
21,
7958,
34,
82,
15802,
5,
6,
2800,
9,
48,
64,
7958,
19,
805,
3029,
226,
79... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP XPath Table elements disapearing
===
I have just learned about XPath and I am wanting to read data from only certain columns in a table.
My current code looks like this:
<?php
$file_contents = file_get_contents('test.html');
$dom_document = new DOMDocument();
$dom_docume... | 0 | [
2,
13,
26120,
993,
8353,
859,
2065,
1460,
58,
7081,
2090,
800,
3726,
3726,
31,
57,
114,
2691,
88,
993,
8353,
17,
31,
589,
4638,
20,
1302,
1054,
37,
104,
1200,
7498,
19,
21,
859,
9,
51,
866,
1797,
1879,
101,
48,
45,
13,
1,
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 would I define a many-to-many relationship between 3+ models in Django?
===
Right now I have these models: Movie, MovieFormat (eg, dvd, bluray, etc), Region, and I'd like to make a relationship between these to store (Movie, MovieFormat, Region, Date) tuples (movie releases)
I could just put a many-to-many fiel... | 0 | [
2,
184,
83,
31,
9267,
21,
151,
8,
262,
8,
14842,
1429,
128,
203,
2430,
2761,
19,
3857,
14541,
60,
800,
3726,
3726,
193,
130,
31,
57,
158,
2761,
45,
1308,
15,
1308,
23588,
13,
5,
5431,
15,
3527,
15,
7078,
2787,
15,
2722,
6,
15,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Build Image on server From Canvas RGB Data
===
*Note: .toDataURL() and "todataurl-png-js" are NOT usable*
Say I wanted to construct an image in PHP from a canvas element's RGB data that is sent from JavaScript (getImageData), how would I accomplish this? More specifically, how would I first get the RGB data and put... | 0 | [
2,
1895,
1961,
27,
8128,
37,
9696,
761,
11400,
1054,
800,
3726,
3726,
1637,
10280,
45,
13,
9,
262,
18768,
911,
255,
5,
6,
17,
13,
7,
262,
18768,
911,
255,
8,
306,
2723,
8,
728,
18,
7,
50,
52,
182,
579,
2483,
395,
31,
417,
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... |
ncurses not working correctly after build
===
I build a piece a bit of code in linux using:
`g++ -o main main.cpp -lncurses`
but for some reason it will not work correctly. The files which should look like this:
_+____+____________________________________________________+
-_ ___+_++++++++++++++++++++... | 0 | [
2,
9276,
9679,
160,
52,
638,
12044,
75,
1895,
800,
3726,
3726,
31,
1895,
21,
1855,
21,
1142,
16,
1797,
19,
13024,
568,
45,
13,
1,
263,
20512,
13,
8,
111,
407,
407,
9,
150,
3421,
13,
8,
16600,
4734,
7202,
1,
47,
26,
109,
1215,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Alter existing PHP code to stop over riding backgrounds
===
Going crazy here. I've been trying to fix this for a while now and I can't seem to get it just right. I have the following piece of code in my WP theme set right now that when I add a custom background image to a post it over rides the set custom image for th... | 0 | [
2,
7835,
3149,
13,
26120,
1797,
20,
747,
84,
4247,
2395,
18,
800,
3726,
3726,
228,
3328,
235,
9,
31,
22,
195,
74,
749,
20,
6098,
48,
26,
21,
133,
130,
17,
31,
92,
22,
38,
2260,
20,
164,
32,
114,
193,
9,
31,
57,
14,
249,
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... |
diplaying blob image from mysqli using php
===
In my CI project, I would like to use a full dynamic page control. So, I’ve two controller methods, which load the php files. The model control’s queries are based on url segments. All page output generated automatically in the views php file depending on url and results ... | 0 | [
2,
926,
10630,
334,
10904,
1961,
37,
51,
18,
1251,
1210,
568,
13,
26120,
800,
3726,
3726,
19,
51,
5486,
669,
15,
31,
83,
101,
20,
275,
21,
503,
7782,
2478,
569,
9,
86,
15,
31,
1,
195,
81,
9919,
3195,
15,
56,
6305,
14,
13,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Function in function cycle
===
i need to load PHP file with random image to `<div>` every 2 seconds with fade effect so i use javascript and jQuery. I write function to hide div, load file in, than show it and wait 2 seconds, then it should call function again, but it happend just once then it stop.
Here is the fun... | 0 | [
2,
1990,
19,
1990,
4150,
800,
3726,
3726,
31,
376,
20,
6305,
13,
26120,
3893,
29,
5477,
1961,
20,
13,
1,
12916,
1,
352,
172,
2582,
29,
11381,
1590,
86,
31,
275,
8247,
8741,
17,
487,
8190,
93,
9,
31,
2757,
1990,
20,
3077,
13,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should one use/create as many indizes as possible in MySQL?
===
I realized, that the response to a MySQL query becomes much faster, when creating an index for the column you use for "ORDER BY", e.g.
SELECT username FROM table ORDER BY registration_date DESC
Now I'm wondering which indizes I should create to ... | 0 | [
2,
378,
53,
275,
118,
6037,
1373,
28,
151,
19,
43,
13569,
28,
938,
19,
51,
18,
22402,
60,
800,
3726,
3726,
31,
1896,
15,
30,
14,
1627,
20,
21,
51,
18,
22402,
25597,
2633,
212,
4233,
15,
76,
2936,
40,
4348,
26,
14,
4698,
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... |
Unable to flush reusable UITableViewCell data
===
I have a UITableView with a custom UITableViewCell.
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
//create the cell
MyCell *cell = (MyCell*)[tableView dequeueReusableCellWithIdentifier:@"My... | 0 | [
2,
2343,
20,
15017,
302,
267,
579,
13,
11193,
579,
4725,
9725,
1054,
800,
3726,
3726,
31,
57,
21,
13,
11193,
579,
4725,
29,
21,
5816,
13,
11193,
579,
4725,
9725,
9,
13,
8,
5,
11193,
579,
4725,
9725,
2483,
6,
5924,
4725,
45,
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... |
ProgressDialog not animate
===
my code:
public void showProgress(final Intent intent){
progressDialog = ProgressDialog.show(this, "", "Loading..");
new Thread(){
public void run() {
try {
synchronized (this) {
startActivity(intent);
progressDialog.dismiss();
}
} ca... | 0 | [
2,
3455,
4286,
5567,
52,
14487,
591,
800,
3726,
3726,
51,
1797,
45,
317,
11364,
298,
2740,
13026,
5,
4932,
6936,
6936,
6,
1,
3455,
4286,
5567,
800,
3455,
4286,
5567,
9,
9303,
5,
1565,
15,
13,
7,
7,
15,
13,
7,
16866,
9,
9,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Redirect to other domain if static files do not exist
===
I would like to configure nginx so that
1. The requested path is a static file, serve it;
2. otherwise redirect an external domain: `http://example.net/`.
I do understand that I need to use the `try_files` directive, but I do not understand how to implem... | 0 | [
2,
302,
14706,
20,
89,
4603,
100,
12038,
6488,
107,
52,
3182,
800,
3726,
3726,
31,
83,
101,
20,
1065,
15951,
13,
2723,
108,
396,
86,
30,
137,
9,
14,
6602,
2013,
25,
21,
12038,
3893,
15,
1884,
32,
73,
172,
9,
3190,
302,
14706,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Interchanging statements in for loop
===
This is the line of code in C.
The condition of loop here is ++i.
So how does compiler decide which condition to consider because here other two appear as conditions?
char i=0;
for(i<=5&&i>-1;++i;i>0)
printf("%d",i);
out... | 0 | [
2,
1480,
22211,
9015,
19,
26,
5293,
800,
3726,
3726,
48,
25,
14,
293,
16,
1797,
19,
272,
9,
14,
2874,
16,
5293,
235,
25,
13,
20512,
49,
9,
86,
184,
630,
21486,
4073,
56,
2874,
20,
3563,
185,
235,
89,
81,
1893,
28,
2039,
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... |
MassTransit and event versus command publishing
===
I'm new to MassTransit, and I miss something in my understanding.
Let's say I have a server farm were all nodes can do the same job. The application framework is CQRS's styled. That means I have two base kind of message to publish :
* Commands : must be handled... | 0 | [
2,
1619,
7028,
242,
17,
807,
5706,
1202,
3107,
800,
3726,
3726,
31,
22,
79,
78,
20,
1619,
7028,
242,
15,
17,
31,
1501,
301,
19,
51,
3260,
9,
408,
22,
18,
395,
31,
57,
21,
8128,
1937,
46,
65,
16272,
92,
107,
14,
205,
1205,
9,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to appear the from on click of a button?
===
i am facing a problem, i have created a form where a user has to input the details about a candidate and also upload his/her image and everything is done. The problem is that in the form there is a button which says "Click To Add More Candidate", so when this button is ... | 0 | [
2,
184,
20,
1893,
14,
37,
27,
10840,
16,
21,
5167,
60,
800,
3726,
3726,
31,
589,
4325,
21,
1448,
15,
31,
57,
679,
21,
505,
113,
21,
4155,
63,
20,
6367,
14,
3289,
88,
21,
2316,
17,
67,
71,
8294,
33,
118,
1694,
1961,
17,
796,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
When using the Toolbox in Visual Studio 2010 to pull data from a MySQL server, keeps giving errors
===
In my table called "test01" I keep getting an error when I run the site.
> You have an error in your SQL syntax; check the manual that
> corresponds to your MySQL server version for the right syntax to use
> ne... | 0 | [
2,
76,
568,
14,
5607,
5309,
19,
3458,
1120,
498,
20,
2201,
1054,
37,
21,
51,
18,
22402,
8128,
15,
8968,
1438,
11908,
800,
3726,
3726,
19,
51,
859,
227,
13,
7,
10543,
3026,
7,
31,
643,
1017,
40,
7019,
76,
31,
485,
14,
689,
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... |
Form button fuction submit - reverting back to initial state after failed submit
===
My order form has the name, email and address fields for users to fill up. When they enter the info and submit the order, I've made the bottom part of the button image animated, so when they press it they know its "processing" the ord... | 0 | [
2,
505,
5167,
398,
21263,
12298,
13,
8,
24156,
68,
97,
20,
2104,
146,
75,
1702,
12298,
800,
3726,
3726,
51,
389,
505,
63,
14,
204,
15,
8517,
17,
3218,
2861,
26,
3878,
20,
3509,
71,
9,
76,
59,
2830,
14,
15404,
17,
12298,
14,
38... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Handle Android service execution based on events in Activity
===
I'm developing a simple multi-player Android game that communicates with its Game Server using Java Sockets. And to create non-freezing UI, I decided to make `Service` class in Android app to communicate with server over the `Socket` connection. Data exc... | 0 | [
2,
3053,
13005,
365,
5769,
432,
27,
963,
19,
2358,
800,
3726,
3726,
31,
22,
79,
3561,
21,
1935,
1889,
8,
14049,
13005,
250,
30,
8709,
18,
29,
82,
250,
8128,
568,
8247,
18482,
18,
9,
17,
20,
1600,
538,
8,
4639,
9768,
13,
5661,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iTunes Connect request contract for paid applications
===
There is a problem when I try to request contract on iTunes Connect.
On page **Contracts, Tax, and Banking** I see column **Legal Entity** in which I can see my Address and Postal Code.
But when I try to request contract for paid application in next web f... | 0 | [
2,
12952,
6379,
3772,
1305,
26,
2192,
3767,
800,
3726,
3726,
80,
25,
21,
1448,
76,
31,
1131,
20,
3772,
1305,
27,
12952,
6379,
9,
27,
2478,
13,
1409,
23311,
18,
15,
2225,
15,
17,
8350,
1409,
31,
196,
4698,
13,
1409,
23435,
9252,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
actionmailer set host dynamic based on .LTD app.com/ app.fr
===
Im having 2 different languages in my rails app and would like to be able to set the domain name set in the right language. For example if a user registers from app.FR I want in below example the extension .FR used instead of .COM is there a way to do t... | 0 | [
2,
1028,
8079,
106,
309,
2015,
7782,
432,
27,
13,
9,
255,
38,
43,
4865,
9,
960,
118,
4865,
9,
6177,
800,
3726,
3726,
797,
452,
172,
421,
2556,
19,
51,
2240,
18,
4865,
17,
83,
101,
20,
44,
777,
20,
309,
14,
4603,
204,
309,
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... |
Send me a copy via joomla php mail
===
I am building a site where there are several entries, and a contact form extension that works on the basis of Joomla's php mailer. This form can be used to contact the entry owner, but I also need to be able to send an copy to my own address.
I have found out that the code to ch... | 0 | [
2,
2660,
55,
21,
4344,
1197,
2640,
2636,
531,
13,
26120,
4216,
800,
3726,
3726,
31,
589,
353,
21,
689,
113,
80,
50,
238,
11399,
15,
17,
21,
2203,
505,
3896,
30,
693,
27,
14,
2239,
16,
2640,
2636,
531,
22,
18,
13,
26120,
4216,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to set SqlDependency to ChildActions in MVC 3
===
I have searched a while and all topics relate to finding workarounds for "VaryByParam" and not SqlDependency.
I have a summary Page where I display few Charts. I use the method outlined in this blog
[http://geekswithblogs.net/DougLampe/archive/2011/01/23/char... | 0 | [
2,
184,
20,
309,
4444,
255,
19038,
8883,
20,
850,
8645,
18,
19,
307,
8990,
203,
800,
3726,
3726,
31,
57,
9036,
21,
133,
17,
65,
7569,
16464,
20,
3007,
170,
10037,
18,
26,
13,
7,
3311,
93,
779,
6351,
79,
7,
17,
52,
4444,
255,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
hibernate reverse engineering on a denormalized database
===
is it possible to use reverse engineering on a denormalized database? hibernate reverse engineering to generate the Pojo classes for all the tables in the database didnt seem to work because none of the tables have any primary keys or foreign keys in them. w... | 0 | [
2,
4148,
2102,
8820,
7006,
1552,
27,
21,
121,
17462,
1333,
6018,
800,
3726,
3726,
25,
32,
938,
20,
275,
7006,
1552,
27,
21,
121,
17462,
1333,
6018,
60,
4148,
2102,
8820,
7006,
1552,
20,
7920,
14,
2353,
1636,
2684,
26,
65,
14,
7484... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++ Using default values for parameters
===
I am new to C++ (from C# background) and I have a function with the following signature
void AddBenchNode(ref_ptr<Group> root ,ref_ptr<Node> benches, bool setAttitude = false, float scale_x =.15, float scale_y =15, float scale_z = 15, int positionx = 250, int posi... | 0 | [
2,
272,
20512,
568,
12838,
4070,
26,
12905,
800,
3726,
3726,
31,
589,
78,
20,
272,
20512,
13,
5,
2665,
272,
5910,
2395,
6,
17,
31,
57,
21,
1990,
29,
14,
249,
7810,
11364,
3547,
26359,
251,
546,
5,
14057,
1,
4417,
139,
1,
8024,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Error importing SSIS package to MSDB in SSMS
===
I am getting this error when i try to import a package to the MSDB in SSMS, i guess it got something to do with roles? But where do i change this?
![enter image description here][1]
[1]: http://i.stack.imgur.com/O7cNm.png | 0 | [
2,
7019,
9010,
68,
13,
18,
4557,
6030,
20,
4235,
9007,
19,
13,
18,
18,
79,
18,
800,
3726,
3726,
31,
589,
1017,
48,
7019,
76,
31,
1131,
20,
9010,
21,
6030,
20,
14,
4235,
9007,
19,
13,
18,
18,
79,
18,
15,
31,
2321,
32,
330,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Sharding key, chunkSize and pre-splitting
===
I have set up a sharded cluster on a single machine, following the steps mentioned here:<br><br>
<http://www.mongodb.org/display/DOCS/A+Sample+Configuration+Session><br><br>
But I don't understand the '--chunkSize' option:<br><br>
<code>$ ./mongos --configdb localhost:2... | 0 | [
2,
18723,
68,
1246,
15,
15009,
10454,
17,
782,
8,
25603,
1203,
800,
3726,
3726,
31,
57,
309,
71,
21,
18723,
69,
7460,
27,
21,
345,
1940,
15,
249,
14,
2382,
2211,
235,
45,
1,
5145,
1,
5145,
1,
13,
1,
21127,
6903,
6483,
9,
2111,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Renaming columns in pandas
===
A.pologies if this is pretty simple, but I couldn't seem to find this anywhere.
I currently have a data.table using pandas and column labels that I need to edit and then replace the original column labels. So for instance I'd like to change the column names in a data table A
where
... | 0 | [
2,
25934,
7498,
19,
16982,
18,
800,
3726,
3726,
21,
9,
306,
13331,
18,
100,
48,
25,
1772,
1935,
15,
47,
31,
711,
22,
38,
2260,
20,
477,
48,
4922,
9,
31,
871,
57,
21,
1054,
9,
5924,
568,
16982,
18,
17,
4698,
13173,
30,
31,
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... |
Optimize my chess game c#
===
First time I ever ask a question here so correct me if I´m doing it wrong.
picture of my chees
http://img842.imageshack.us/img842/2695/65744343.png
Every time I move a piece it lags for about 1 second. Every piece and tile has an Image and there is exactly 96 Images. Every time I m... | 0 | [
2,
22864,
51,
6168,
250,
272,
5910,
800,
3726,
3726,
64,
85,
31,
462,
1349,
21,
1301,
235,
86,
4456,
55,
100,
31,
307,
845,
32,
1389,
9,
2151,
16,
51,
13,
11638,
18,
7775,
6903,
1660,
263,
3790,
135,
9,
22039,
18,
22983,
9,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Oracle DateTime Arithmetic Not Consistent
===
I have a query, which creates a column that contains every minute for the next 24 hours after a date.
(SELECT TO_DATE ('05/07/2012 15:00:00', 'DD/MM/YYYY HH24:MI:SS')
+ (ROWNUM / 1440)
AS foo
FROM ( ... | 0 | [
2,
15759,
1231,
891,
21211,
52,
8224,
800,
3726,
3726,
31,
57,
21,
25597,
15,
56,
9695,
21,
4698,
30,
1588,
352,
2038,
26,
14,
328,
937,
974,
75,
21,
1231,
9,
13,
5,
18,
16964,
20,
1,
8209,
13,
5,
22,
4071,
118,
2984,
118,
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... |
Control a relay using android by wifi
===
How can i turn on or turn off a switch using android wifi? I have used sparkfuns IOIO to control relays.But now i need to do it wirelessly.
| 0 | [
2,
569,
21,
6953,
568,
13005,
34,
4807,
1707,
800,
3726,
3726,
184,
92,
31,
805,
27,
54,
805,
168,
21,
5521,
568,
13005,
4807,
1707,
60,
31,
57,
147,
9026,
16638,
18,
13,
1963,
1963,
20,
569,
6953,
18,
9,
811,
130,
31,
376,
20... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to write a simple JQuery integer division function
===
My webpage displays realtime data that is updated every 10 seconds from our PI server(historian server). I was recently tasked to take two peices of data that are allready displayed on my page and divide them, displaying the new result on a graph. I have very... | 0 | [
2,
184,
20,
2757,
21,
1935,
487,
8190,
93,
13820,
460,
1990,
800,
3726,
3726,
51,
2741,
6486,
9412,
683,
891,
1054,
30,
25,
6372,
352,
332,
2582,
37,
318,
4194,
8128,
5,
4398,
262,
5008,
8128,
6,
9,
31,
23,
1989,
14605,
20,
247,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Background Color change on a:hover
===
So I basically want to take a navigation i created with div's and make it so that each line (id) will rollover a different color.
I've tried a ton of different ways of doing it and I'm getting stuck with using the ID correctly I believe.
<div class="navcontainer">
... | 0 | [
2,
2395,
1665,
753,
27,
21,
45,
252,
2549,
800,
3726,
3726,
86,
31,
11374,
259,
20,
247,
21,
8368,
31,
679,
29,
13,
12916,
22,
18,
17,
233,
32,
86,
30,
206,
293,
13,
5,
1340,
6,
129,
3001,
2549,
21,
421,
1665,
9,
31,
22,
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... |
iOS Timezone translation
===
I work with active sync google calendar project. When I retrieve data, I accept this as a timezone :
XP7//wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA... | 0 | [
2,
13,
7760,
85,
11661,
4064,
800,
3726,
3726,
31,
170,
29,
1348,
6063,
150,
8144,
7036,
669,
9,
76,
31,
11917,
1054,
15,
31,
3440,
48,
28,
21,
85,
11661,
13,
45,
23045,
9816,
118,
1608,
58,
22160,
22160,
22160,
22160,
22160,
2216... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 run the alarm in background in iPhone sdk
===
i set the alarm time 1 hour but when the application is in running mode alarm is working fine but when it is in background the alarm is not working how it is possible to run the alarm in background in iPhone sdk | 0 | [
2,
184,
92,
31,
485,
14,
6490,
19,
2395,
19,
21024,
13,
18,
43,
197,
800,
3726,
3726,
31,
309,
14,
6490,
85,
137,
1671,
47,
76,
14,
3010,
25,
19,
946,
3740,
6490,
25,
638,
1123,
47,
76,
32,
25,
19,
2395,
14,
6490,
25,
52,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery Validate ErrorContainer not hiding
===
I have jQuery Validate working fine, and everything validates. I have an `errorContainer` set. However, when I start filling out the form, if I clear everything out manually, it still asks for the name to be filled out. Also, even if I get that error to leave (sometimes i... | 0 | [
2,
487,
8190,
93,
7394,
1373,
7019,
1126,
5851,
106,
52,
5314,
800,
3726,
3726,
31,
57,
487,
8190,
93,
7394,
1373,
638,
1123,
15,
17,
796,
7394,
7759,
9,
31,
57,
40,
13,
1,
29992,
1126,
5851,
106,
1,
309,
9,
207,
15,
76,
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 dynamically bind datatable to grid and wrap data in certain columns
===
I've searched around for a while and there are lots of posts on this topic, but none seem to give me the right answer.
I've created a datagrid on my form simply as:
<StackPanel Orientation="Vertical" HorizontalAlignment="Stretch"... | 0 | [
2,
184,
20,
7782,
1326,
10193,
1054,
5924,
20,
7354,
17,
8118,
1054,
19,
1200,
7498,
800,
3726,
3726,
31,
22,
195,
9036,
140,
26,
21,
133,
17,
80,
50,
7503,
16,
9868,
27,
48,
8303,
15,
47,
2369,
2260,
20,
590,
55,
14,
193,
162... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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; using the math.random function to do a action randomly?
===
well my question is; using the math.random function, to execute a another function randomly. for a example; when the math.random function any number except 2, nothing will happen, when math.random function chooses 2 then the next function will ex... | 0 | [
2,
8247,
8741,
73,
568,
14,
5057,
9,
2195,
5555,
1990,
20,
107,
21,
1028,
21324,
60,
800,
3726,
3726,
134,
51,
1301,
25,
73,
568,
14,
5057,
9,
2195,
5555,
1990,
15,
20,
15644,
21,
226,
1990,
21324,
9,
26,
21,
823,
73,
76,
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... |
Eclipse: Error ".. overlaps the location of another project.." when trying to create new project
===
can anyone help. I keep getting an error message in eclipse when creating a new project and i don't understand why.
I have created a workspace at the level
> C:\Users\Martin\Java\Counter
Inside Counter there a... | 0 | [
2,
11652,
45,
7019,
13,
7,
9,
9,
15406,
18,
14,
1474,
16,
226,
669,
9,
9,
7,
76,
749,
20,
1600,
78,
669,
800,
3726,
3726,
92,
1276,
448,
9,
31,
643,
1017,
40,
7019,
2802,
19,
11652,
76,
2936,
21,
78,
669,
17,
31,
221,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
efficent mysql query to compute percentage
===
I am newbie to mysql and coming from oracle background. I have a sql query that computes the total count and percentage for type in a table
for e.g
SELECT type,count(*) count_by_type ,a.tot total, (COUNT(*)*100/a.total) percent FROM xyz
JOIN (select count(*) tot f... | 0 | [
2,
13,
9039,
49,
5089,
51,
18,
22402,
25597,
20,
23909,
5780,
800,
3726,
3726,
31,
589,
78,
5893,
20,
51,
18,
22402,
17,
880,
37,
15759,
2395,
9,
31,
57,
21,
4444,
255,
25597,
30,
23909,
18,
14,
600,
2468,
17,
5780,
26,
1001,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 margin on link
===
Goodmorning everyone,
I got a problem with margin-top in IE.
I have given a link a margin-top of 2px to lign it out correctly in chrome. But this caused a offset in IE9.
Some code:
CSS
.show_cart{
display: block!important;
float:left;
padding-left: 10px... | 0 | [
2,
13,
660,
5440,
27,
3508,
800,
3726,
3726,
254,
20804,
1266,
15,
31,
330,
21,
1448,
29,
5440,
8,
3880,
19,
13,
660,
9,
31,
57,
504,
21,
3508,
21,
5440,
8,
3880,
16,
172,
306,
396,
20,
13721,
103,
32,
70,
12044,
19,
13,
129... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hiding Sencha Touch carousel bullets
===
I am going to use Sencha Touch 2 carousel in a mobile view but I need to hide the navigation bullets at the bottom of it. Is there a config for this (I looked through the api but couldn't find one), or should I use CSS to hide them? | 0 | [
2,
5314,
8252,
1651,
1723,
27374,
11366,
800,
3726,
3726,
31,
589,
228,
20,
275,
8252,
1651,
1723,
172,
27374,
19,
21,
3241,
1418,
47,
31,
376,
20,
3077,
14,
8368,
11366,
35,
14,
2129,
16,
32,
9,
25,
80,
21,
13,
14093,
2816,
26,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Storing HTML data as a calender event in ios app
===
I am using apple's default calender event in my application, I am using one web service, I gets the response for the service in HTML format (may be image data, textual data or any other data) , which i have to store it as a calender event in my app.
I am using th... | 0 | [
2,
25615,
13,
15895,
1054,
28,
21,
1658,
21607,
807,
19,
13,
7760,
4865,
800,
3726,
3726,
31,
589,
568,
4037,
22,
18,
12838,
1658,
21607,
807,
19,
51,
3010,
15,
31,
589,
568,
53,
2741,
365,
15,
31,
3049,
14,
1627,
26,
14,
365,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Export Button in power editor doesn't work
===
Apparently I'm not the only one that have experience that, I asked colleagues and other people I know and they all say the same.
The export button just refuse to export campaigns or ads to a CSV file for editing.
I tried deleting Cache and cookies,
did a registry ... | 2 | [
2,
7487,
5167,
19,
414,
1835,
1437,
22,
38,
170,
800,
3726,
3726,
3083,
31,
22,
79,
52,
14,
104,
53,
30,
57,
1496,
30,
15,
31,
411,
8493,
17,
89,
148,
31,
143,
17,
59,
65,
395,
14,
205,
9,
14,
7487,
5167,
114,
10198,
20,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Spring Framework - root-context.xml FileNotFoundException?
===
I am using SpringSource suit 2.9.2 and a newbie in Spring MVC world. I am trying to get an hold over object of Application Context using the following code: -
ApplicationContext context = new ClassPathXmlApplicationContext("root-context.xml");
An... | 0 | [
2,
1573,
6596,
13,
8,
5900,
8,
1126,
11969,
9,
396,
8184,
3893,
1270,
12235,
10066,
872,
60,
800,
3726,
3726,
31,
589,
568,
1573,
12097,
2961,
172,
9,
518,
9,
135,
17,
21,
78,
5893,
19,
1573,
307,
8990,
126,
9,
31,
589,
749,
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... |
Apache mod_rewrite ANY subdomain(s) to tld, unless subdomain(s).tld exists as virtualdocumentroot
===
Say you've got an Apache2 virtual host setup, something like this:
/htdocs/tld1.com
/htdocs/sub1.tld1.com
/htdocs/sub2.tld1.com
/htdocs/tld2.net
/htdocs/tldn.org
Say you'd like to do this... | 0 | [
2,
17140,
7226,
1,
99,
23716,
186,
972,
537,
6232,
5,
18,
6,
20,
13,
38,
6252,
15,
4003,
972,
537,
6232,
5,
18,
6,
9,
38,
6252,
5636,
28,
6599,
28132,
14032,
800,
3726,
3726,
395,
42,
22,
195,
330,
40,
17140,
135,
6599,
2015,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Http methods diffferences
===
What is difference between
HTTPPOST
HTTPDELETE
HTTPPUT
HTTPGET
Normally used post and get method for submit form and i know them very well but want to know with delete and put method when and why they can be used to improve programming skills | 0 | [
2,
7775,
3195,
20811,
2407,
2940,
18,
800,
3726,
3726,
98,
25,
2841,
128,
7775,
6962,
7775,
24249,
591,
7775,
4881,
7775,
3060,
4147,
147,
678,
17,
164,
2109,
26,
12298,
505,
17,
31,
143,
105,
253,
134,
47,
259,
20,
143,
29,
27448... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
jquery, submit form when field loses focus
===
How can I submit a form when a field (In this case the form only has one field) loses focus?
I tried this, but it's not working:
$("form").submit(); | 0 | [
2,
487,
8190,
93,
15,
12298,
505,
76,
575,
14745,
1776,
800,
3726,
3726,
184,
92,
31,
12298,
21,
505,
76,
21,
575,
13,
5,
108,
48,
610,
14,
505,
104,
63,
53,
575,
6,
14745,
1776,
60,
31,
794,
48,
15,
47,
32,
22,
18,
52,
63... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... |
Where to find good CSS (web design) tutorials? (and at least up to date too)
===
I know CSS but I want to make it a step further. I am a programmer but somewhere deep in my heart (lol) I'm happier when I do front-end than back-end. I don't know any flashy photo editing (although I am very willing to learn) techniques ... | 2 | [
2,
113,
20,
477,
254,
272,
18,
18,
13,
5,
14113,
704,
6,
29724,
18,
60,
13,
5,
290,
35,
639,
71,
20,
1231,
266,
6,
800,
3726,
3726,
31,
143,
272,
18,
18,
47,
31,
259,
20,
233,
32,
21,
1424,
653,
9,
31,
589,
21,
17968,
47... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JPA to find not yet committed entities?
===
I recently ran into a pretty unexpected (to me) behavior of JPA (provided by EclipeLink).
Consider the following code:
public int myFunction() {
entityManager.getTransaction().begin(); // Application-managed EntityManager
MyEntity entity = new M... | 0 | [
2,
487,
1060,
20,
477,
52,
768,
4164,
12549,
60,
800,
3726,
3726,
31,
1989,
717,
77,
21,
1772,
9380,
13,
5,
262,
55,
6,
3257,
16,
487,
1060,
13,
5,
26735,
43,
34,
6695,
6013,
62,
6258,
6,
9,
3563,
14,
249,
1797,
45,
317,
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... |
Java Script / AJAX email check function integration
===
I have a form with JS functions for checking empty fields and submit form without refreshing all page, I'm looking for a way to integrate email check function into what I'm having now:
$(function() {
$('.error').hide();
$('input.text-input')... | 0 | [
2,
8247,
3884,
13,
118,
20624,
8517,
2631,
1990,
8078,
800,
3726,
3726,
31,
57,
21,
505,
29,
487,
18,
3719,
26,
9886,
2424,
2861,
17,
12298,
505,
366,
27134,
65,
2478,
15,
31,
22,
79,
699,
26,
21,
161,
20,
18399,
8517,
2631,
199... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 merge several ui elements into a listview in android?
===
I'm making a view which contains an ExpandableListView, a CheckedTextView and a ListView :
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/filtersDialogView"
... | 0 | [
2,
184,
20,
12666,
238,
13,
5661,
2065,
77,
21,
968,
4725,
19,
13005,
60,
800,
3726,
3726,
31,
22,
79,
544,
21,
1418,
56,
1588,
40,
6073,
579,
5739,
4725,
15,
21,
6505,
11969,
4725,
17,
21,
968,
4725,
13,
45,
13,
1,
60,
396,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
REST AJAX cross-domain not executing callback
===
I'm having a lot of trouble to execute cross domain REST call with Jquery ajax function.
Here is code:
<pre><code> $.ajax({
url: restUrl,
type: 'GET',
crossDomain : true,
dataType: 'jsonp',
json... | 0 | [
2,
760,
20624,
919,
8,
537,
6232,
52,
25836,
645,
1958,
800,
3726,
3726,
31,
22,
79,
452,
21,
865,
16,
2572,
20,
15644,
919,
4603,
760,
645,
29,
487,
8190,
93,
20624,
1990,
9,
235,
25,
1797,
45,
13,
1,
3515,
1,
9375,
1,
5579,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
stateless or statefull c# actors
===
I'm designing a project which will activate and control many asynchronous actors simultaneously.
I'd like to ask, which approach should I use for more stability and scalability?
Stateless or stateful?
As far I as I see the difference, it looks like:
<br/>
a. Stateful
... | 0 | [
2,
146,
923,
54,
146,
13727,
272,
5910,
4977,
800,
3726,
3726,
31,
22,
79,
15026,
21,
669,
56,
129,
18163,
17,
569,
151,
21,
16023,
1291,
4977,
6888,
9,
31,
22,
43,
101,
20,
1349,
15,
56,
2141,
378,
31,
275,
26,
91,
9307,
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... |
Smack Presence Doesn't Work
===
Actually I programming a IM service (inherited google chat) by using smack API. But when i want to print buddy list and their presences, the compile mode show all presences unavailable, but in the debug mode it shows the real availability!
My code is ...
1- create connection
p... | 0 | [
2,
17417,
1970,
1437,
22,
38,
170,
800,
3726,
3726,
1121,
31,
3143,
21,
797,
365,
13,
5,
108,
1694,
242,
69,
8144,
6615,
6,
34,
568,
17417,
21,
2159,
9,
47,
76,
31,
259,
20,
4793,
9065,
968,
17,
66,
1970,
18,
15,
14,
26561,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 wrap the results of a command in quotes to pass it to another command?
===
This is for the Apple platform. My end goal is to do a find and replace for a line inside of the firefox preference file "prefs.js" to turn off updates. I want to be able to do this for all accounts on the Mac, including the user templ... | 0 | [
2,
184,
107,
31,
8118,
14,
1736,
16,
21,
1202,
19,
18901,
20,
1477,
32,
20,
226,
1202,
60,
800,
3726,
3726,
48,
25,
26,
14,
4037,
2452,
9,
51,
241,
1195,
25,
20,
107,
21,
477,
17,
3934,
26,
21,
293,
572,
16,
14,
535,
18219,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 put a \n into a property file's value?
===
I'm using Java Property files and would like to have a newline character put into a value (used as the contents of a message to the user), so that this output contains a new line.
I tried putting it in as a \\\n (as I have to escape the backslash character), but I... | 0 | [
2,
184,
107,
31,
442,
21,
13,
1,
103,
77,
21,
1354,
3893,
22,
18,
1923,
60,
800,
3726,
3726,
31,
22,
79,
568,
8247,
1354,
6488,
17,
83,
101,
20,
57,
21,
78,
1143,
925,
442,
77,
21,
1923,
13,
5,
8795,
28,
14,
8478,
16,
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... |
Urban Airship Device Token PUT Request issue
===
I am using CocoaRest client to attempt to register a device token via a PUT.
When I do so, I receive an [Authentication Failed] message.
If I perform a simple login, the request works fine.
Here are the request details:
1. URL: https://go.urbanairship.com/api/dev... | 0 | [
2,
1980,
25072,
3646,
20,
2853,
442,
3772,
1513,
800,
3726,
3726,
31,
589,
568,
24507,
11466,
6819,
20,
1735,
20,
2243,
21,
3646,
20,
2853,
1197,
21,
442,
9,
76,
31,
107,
86,
15,
31,
2588,
40,
636,
1346,
2504,
1786,
857,
1702,
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... |
Exception MongoCursorException: couldn't send query: ët§ôï9·H'ﯤ7·ø?u§Ht§ ö·Ìu§®u§Ì½u§4e
===
I am trying to talk to a remote MongoDB server from my system. The code i use is like this
$con_string='mongodb://server_ip:27017';
$m = new Mongo($con_string);
$temp=$m->selectDB("DBName");
try {
... | 0 | [
2,
5391,
3521,
839,
4734,
18,
248,
10066,
872,
45,
711,
22,
38,
2660,
25597,
45,
2133,
1,
8222,
518,
1,
252,
22,
49,
13,
1,
465,
1,
60,
291,
1,
9020,
1,
635,
1,
49,
1,
291,
1,
291,
1,
49,
165,
1,
135,
291,
1,
300,
62,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
libGDX:Adding uniform var
===
I'm trying to add an uniform var to my shader , this is my shader:
String vertexShader = "attribute vec4 " + ShaderProgram.POSITION_ATTRIBUTE + ";\n" //
+ "attribute vec4 " + ShaderProgram.COLOR_ATTRIBUTE + ";\n" //
+ "attribute vec2 " + ShaderProgram.TEXCOORD_ATTRIBUTE + "... | 0 | [
2,
13,
8326,
263,
43,
396,
45,
58,
11365,
4347,
4033,
800,
3726,
3726,
31,
22,
79,
749,
20,
3547,
40,
4347,
4033,
20,
51,
7546,
139,
13,
15,
48,
25,
51,
7546,
139,
45,
3724,
22895,
3162,
1157,
800,
13,
7,
721,
14755,
13,
195,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Do not redirect URL for an add-on domain
===
I have a main domain (`maindomain.com`) and an add-on domain (`addondomain.com`) hosted at the same server, both with blogs. The files for the add-on domain, which is running WordPress, are in a directory under the root of the main domain. The main domain used to have a Wor... | 0 | [
2,
107,
52,
302,
14706,
287,
6362,
26,
40,
3547,
8,
218,
4603,
800,
3726,
3726,
31,
57,
21,
407,
4603,
13,
5,
1,
6232,
537,
6232,
9,
960,
1,
6,
17,
40,
3547,
8,
218,
4603,
13,
5,
1,
14854,
18060,
6232,
9,
960,
1,
6,
2812,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Showing error message on dialogue box in struts 2?
===
i have a login form in struts 2 which has username and password field. what i want is when user submit the form and if it is not a valid user, i want to show the error message in a dialogue box (instead of showing the error message in login form itself). Is there ... | 0 | [
2,
3187,
7019,
2802,
27,
6402,
1649,
19,
18316,
18,
172,
60,
800,
3726,
3726,
31,
57,
21,
6738,
108,
505,
19,
18316,
18,
172,
56,
63,
4155,
7259,
17,
20884,
575,
9,
98,
31,
259,
25,
76,
4155,
12298,
14,
505,
17,
100,
32,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Tail Recursion in java
===
is this a good example to show tail recursion.
public printName(){
System.out.prntln("Smith");
printName();
} | 0 | [
2,
3424,
26604,
5991,
19,
8247,
800,
3726,
3726,
25,
48,
21,
254,
823,
20,
298,
3424,
26604,
5991,
9,
317,
4793,
7259,
5,
6,
1,
329,
9,
1320,
9,
4899,
2877,
16600,
5,
7,
7017,
7,
6,
73,
4793,
7259,
5,
6,
73,
13,
1,
3,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Use different Procfile in development and production
===
I have a homemade Sinatra application for which I intend to use Heroku to host it.
I use foreman and shotgun in development, with the following Procfile:
web: shotgun config.ru -s thin -o 0.0.0.0 -p $PORT -E $RACK_ENV
It works great in both developm... | 0 | [
2,
275,
421,
13,
15617,
16877,
19,
522,
17,
637,
800,
3726,
3726,
31,
57,
21,
27269,
21491,
3010,
26,
56,
31,
13863,
20,
275,
36,
9266,
20,
2015,
32,
9,
31,
275,
20998,
17,
13242,
19,
522,
15,
29,
14,
249,
13,
15617,
16877,
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... |
Respond to all HTML requests with layout
===
I'm working on a Rails app that will be using a client-side framework with its own routing feature. I'd like to use pushState routing, so the Rails router will need to be configured to respond to such requests (easy enough).
Is there an easy way to set all HTML requests ... | 0 | [
2,
4590,
20,
65,
13,
15895,
12279,
29,
9106,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
2240,
18,
4865,
30,
129,
44,
568,
21,
6819,
8,
1416,
6596,
29,
82,
258,
19880,
1580,
9,
31,
22,
43,
101,
20,
275,
3250,
3859,
19880,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Form displaying weirdly in IE8
===
a form I'm designing is displaying weirdly in IE8.
It looks fine in IE9, Firefox and Chrome, and I can't figure out what the problem is.
I've added screenshots of how it looks in Chrome vs IE8.
I'd appreciate any help with this.
http://www.globaltrainingsolutions.ca/conta... | 0 | [
2,
505,
17418,
5455,
102,
19,
13,
660,
457,
800,
3726,
3726,
21,
505,
31,
22,
79,
15026,
25,
17418,
5455,
102,
19,
13,
660,
457,
9,
32,
1879,
1123,
19,
13,
660,
518,
15,
535,
18219,
17,
13,
12985,
15,
17,
31,
92,
22,
38,
146... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SpamAssassin not filtering links to images
===
A client of mine is getting dogged by spam messages that contain a small amount of HTML but numbers of `<img>` tags that link to embedded spam messages. They're often coming from Yahoo or Gmail addresses, which means we can't just blacklist the mail domain.
Something ... | 2 | [
2,
6954,
11749,
9755,
108,
52,
25272,
6271,
20,
3502,
800,
3726,
3726,
21,
6819,
16,
1114,
25,
1017,
20742,
69,
34,
6954,
79,
7561,
30,
3717,
21,
284,
2006,
16,
13,
15895,
47,
2116,
16,
13,
1,
1660,
263,
1,
3383,
18,
30,
3508,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++: Overriding a protected method which is called by another method
===
I have a very basic question concerning inheritance in C++:
class A
{
public:
void foo() { print(); }
protected:
void print() {}
};
class B : public A
{
protected:
void print() { st... | 0 | [
2,
272,
20512,
45,
84,
5175,
68,
21,
3803,
2109,
56,
25,
227,
34,
226,
2109,
800,
3726,
3726,
31,
57,
21,
253,
2125,
1301,
6477,
13852,
19,
272,
20512,
45,
718,
21,
13,
1,
317,
45,
11364,
4310,
111,
5,
6,
13,
1,
4793,
5,
6,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Django dynamic form fields - onchanged
===
Im unsure how to add an 'onchanged' attribute to say the 'position_type' select widget in the example below. In addition I would like the event to trigger my template form to 'POST' which will ensure my tranny_form settings are saved, which will also re-render the template wi... | 0 | [
2,
3857,
14541,
7782,
505,
2861,
13,
8,
27,
16229,
43,
800,
3726,
3726,
797,
13815,
184,
20,
3547,
40,
13,
22,
218,
16229,
43,
22,
35,
14755,
20,
395,
14,
13,
22,
9339,
1,
4474,
22,
5407,
4807,
43,
3060,
19,
14,
823,
1021,
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... |
Android AlertBox then ProgressDialog. ProgessDialog not showing
===
Seems there is several variations on this theme. I display an AlertBox to the user do want to save this item out? If they respond OK then I want the alertbox to go away to be replaced by Progress Dialog box then when item is done being saved out it di... | 0 | [
2,
13005,
7863,
5309,
94,
3455,
4286,
5567,
9,
895,
5133,
18,
4286,
5567,
52,
3187,
800,
3726,
3726,
2206,
80,
25,
238,
8194,
27,
48,
3184,
9,
31,
3042,
40,
7863,
5309,
20,
14,
4155,
107,
259,
20,
2079,
48,
9101,
70,
60,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Google Map rendering performance
===
We are using Google map Javascript API v3 to render google maps in a SenchaTouch based HTML5 web app on iOS and Android.
We are facing issues in rendering Google maps as the performance is not good. Can someone help us on the following questions:
1. When we download a map u... | 0 | [
2,
8144,
2942,
15307,
956,
800,
3726,
3726,
95,
50,
568,
8144,
2942,
8247,
8741,
21,
2159,
566,
240,
20,
16535,
8144,
6867,
19,
21,
8252,
1651,
15725,
432,
13,
15895,
264,
2741,
4865,
27,
13,
7760,
17,
13005,
9,
95,
50,
4325,
1549... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 FFMPEG to stream continuously videos files to a RTMP server
===
FFMPEG handle RTMP streaming as input or ouput, and it's working well.
I want to stream some videos (a dynamic playlist actually managed by a python script) to a RTMP server, and i'm currently doing something quite simple, i stream my videos one ... | 0 | [
2,
568,
13,
2460,
79,
20427,
20,
3766,
11738,
6610,
6488,
20,
21,
13,
5256,
2554,
8128,
800,
3726,
3726,
13,
2460,
79,
20427,
3053,
13,
5256,
2554,
11920,
28,
6367,
54,
9028,
4881,
15,
17,
32,
22,
18,
638,
134,
9,
31,
259,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding existing project into new VS2012 solution programmatically fails
===
We have the following code in wizard to add existing project to a new solution:
//generating files
if (dte.Solution.Projects.Count < 1) // Solution is empty or doesn't exist
{
dte.Solution.Create(oneFolderHigher(Param... | 0 | [
2,
4721,
3149,
669,
77,
78,
4611,
3212,
4295,
625,
6732,
1326,
13614,
800,
3726,
3726,
95,
57,
14,
249,
1797,
19,
10276,
20,
3547,
3149,
669,
20,
21,
78,
4295,
45,
12894,
17083,
1880,
6488,
100,
13,
5,
43,
591,
9,
18,
18687,
330... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Capturing in PowerShell different sqlcmd exitcode for connectivity/data issues
===
I am calling sqlcmd from PowerShell to execute a T-SQL script. Currently I am using ":On Error exit" to exit the script if there is an error caused by the data used violating a constraint etc. This is handled by PowerShell detecting the... | 0 | [
2,
12859,
19,
414,
15984,
421,
4444,
6109,
79,
43,
4350,
9375,
26,
24026,
118,
18768,
1549,
800,
3726,
3726,
31,
589,
2555,
4444,
6109,
79,
43,
37,
414,
15984,
20,
15644,
21,
13,
38,
8,
18,
22402,
3884,
9,
871,
31,
589,
568,
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... |
Displaying Data Table And Submiting Form In One Page Struts
===
I'm new in Struts, currently i'm using struts 1.3 to build simple Contact application
I want to display data table contains contact list from the database, in the same page i want to create a form for creating new contact and then insert it to database... | 0 | [
2,
17418,
1054,
859,
17,
12298,
68,
505,
19,
53,
2478,
18316,
18,
800,
3726,
3726,
31,
22,
79,
78,
19,
18316,
18,
15,
871,
31,
22,
79,
568,
18316,
18,
137,
9,
240,
20,
1895,
1935,
2203,
3010,
31,
259,
20,
3042,
1054,
859,
1588... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Magento - local cartcontroller is not working
===
I'm trying to overwrite the function couponPostAction in Magento, which is in the cartcontroller.
I created a new local Module Nf_Ajaxcoupon.
this is the config file
<?xml version="1.0"?>
<config>
<modules>
<Nf_Ajaxcoupon>
... | 0 | [
2,
4723,
17050,
13,
8,
375,
6420,
12898,
1252,
25,
52,
638,
800,
3726,
3726,
31,
22,
79,
749,
20,
84,
23716,
14,
1990,
7336,
218,
6962,
8645,
19,
4723,
17050,
15,
56,
25,
19,
14,
6420,
12898,
1252,
9,
31,
679,
21,
78,
375,
126... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to use uisegmentedcontrol in uiactionsheet?
===
i m new to iphoe deverlopment.i want to use 2 buttons in uiactionsheet which is not bottom .so i use uisegmentedcontrol .it will appear. but when click segmentedcontrol buttons is not working
here my code
UIActionSheet *actionSheet = [[UIActionSheet al... | 0 | [
2,
184,
20,
275,
13,
5661,
28857,
69,
12898,
19,
13,
5661,
8645,
17627,
60,
800,
3726,
3726,
31,
307,
78,
20,
31,
9906,
62,
121,
2304,
11362,
1130,
9,
49,
259,
20,
275,
172,
12861,
19,
13,
5661,
8645,
17627,
56,
25,
52,
2129,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Matching people based on a set of criteria
===
I’m creating a facebook application which matches people people based on a set of criteria, and I figure it’s pretty easy to make a query to search the database for people matching the criteria EXACTLY, but was wondering how websites normally generate results which don’t ... | 1 | [
2,
10120,
148,
432,
27,
21,
309,
16,
9157,
800,
3726,
3726,
31,
1,
79,
2936,
21,
9090,
3010,
56,
1717,
148,
148,
432,
27,
21,
309,
16,
9157,
15,
17,
31,
1465,
32,
1,
18,
1772,
2010,
20,
233,
21,
25597,
20,
2122,
14,
6018,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Convert RadioButton control to check box contol in c#
===
I have a project like visual ide.I have used Designer host loader in my project.It is visual studio like project.Here you can drag and drop controls.Set the fore color,back color and also font style and font size of the control.We have the all controls like che... | 0 | [
2,
8406,
603,
811,
444,
569,
20,
2631,
1649,
1065,
13741,
19,
272,
5910,
800,
3726,
3726,
31,
57,
21,
669,
101,
3458,
13,
3448,
9,
49,
57,
147,
4742,
2015,
6305,
106,
19,
51,
669,
9,
242,
25,
3458,
1120,
101,
669,
9,
6836,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.