unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to cancel scrolling in UIScrollView
===
I use UIScrollView to make large-sized (larger than 320px) UI on iPhone.
I made an instance of UIScrollView and added some subviews on it.
The problem is
I want to enable scrolling only when user touches outside of subviews,
stop scrolling when user touches one of subv... | 0 | [
2,
184,
20,
14815,
13,
28166,
19,
13,
5661,
3862,
8694,
4725,
800,
3726,
3726,
31,
275,
13,
5661,
3862,
8694,
4725,
20,
233,
370,
8,
6560,
13,
5,
11312,
139,
119,
13,
12402,
306,
396,
6,
13,
5661,
27,
21024,
9,
31,
117,
40,
48... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# compilation question: newlines in 1 statement causing error.
===
A simple question
Consider this piece of code in C#
1. String a =
2. String b =
3. //Comment
4. String c = "a String";
During compilation, it was fine, but i hit an error when I run my application. From my logs, the error occur a... | 0 | [
2,
272,
5910,
4868,
1301,
45,
78,
7939,
19,
137,
3331,
3242,
7019,
9,
800,
3726,
3726,
21,
1935,
1301,
3563,
48,
1855,
16,
1797,
19,
272,
5910,
137,
9,
3724,
21,
800,
172,
9,
3724,
334,
800,
203,
9,
12894,
960,
1130,
268,
9,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WPF - How to display loading message for web browser control
===
I have a window with 2 column grid.
Left column contains a browser control
I woould like to display a little window or something to show a
that the webpage is still loading.
How could I do this?? Could I have a floating window in the 2nd column
... | 0 | [
2,
619,
7721,
13,
8,
184,
20,
3042,
12797,
2802,
26,
2741,
16495,
569,
800,
3726,
3726,
31,
57,
21,
1463,
29,
172,
4698,
7354,
9,
225,
4698,
1588,
21,
16495,
569,
31,
10761,
1287,
43,
101,
20,
3042,
21,
265,
1463,
54,
301,
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... |
ActionLinks doesn't always work in FireFox and Safari
===
I've been learning the new asp.net mvc framwork lately and I've developed a test site for a friend who runs a "light café" in sweden. The plan is to release it within a week or so after some final adjustments and fixing some security issues.
Yesterday I pub... | 0 | [
2,
1028,
6258,
18,
1437,
22,
38,
550,
170,
19,
535,
18219,
17,
25055,
800,
3726,
3726,
31,
22,
195,
74,
2477,
14,
78,
28,
306,
9,
2328,
307,
8990,
8345,
79,
3783,
10434,
17,
31,
22,
195,
885,
21,
1289,
689,
26,
21,
860,
72,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 ensure all data has been physically written to disk?
===
I understand that .NET FileStream's Flush method only writes the current buffer to disk, but dependent on Windows' disk driver and the hard disk firmware this is no guarantee that the data is actually physically written to disk.
Is there a .NET or Win3... | 0 | [
2,
184,
20,
4062,
65,
1054,
63,
74,
7994,
642,
20,
8582,
60,
800,
3726,
3726,
31,
1369,
30,
13,
9,
2328,
3893,
11260,
22,
18,
15017,
2109,
104,
6215,
14,
866,
17497,
20,
8582,
15,
47,
9063,
27,
1936,
22,
8582,
2425,
17,
14,
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... |
overloading constructors and reusing code
===
Let's say I've got an object `Customer` with a couple properties (`ID`, `FirstName`, `LastName`). I've got the default constructor `Customer()`, but then I've also got a `Customer(DataRow dr)`, since I load this object from a database and that's a simple way to do it.
... | 0 | [
2,
84,
16866,
6960,
248,
18,
17,
302,
12655,
1797,
800,
3726,
3726,
408,
22,
18,
395,
31,
22,
195,
330,
40,
3095,
13,
1,
4636,
262,
1263,
1,
29,
21,
1335,
3704,
13,
5,
1,
1340,
1,
15,
13,
1,
3552,
7259,
1,
15,
13,
1,
8558,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to reset saved data back to defaults?
===
I'm implementing saved data on my app by using NSUserDefaults, like this:
[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithObjectsAndKeys:[NSNumber numberWithInt:0],@"mySetting",nil]];
// check
BOOL firstLaunch = [[NSUser... | 0 | [
2,
184,
20,
23422,
4377,
1054,
97,
20,
12838,
18,
60,
800,
3726,
3726,
31,
22,
79,
17333,
4377,
1054,
27,
51,
4865,
34,
568,
13,
2172,
16704,
13862,
9708,
18,
15,
101,
48,
45,
636,
2558,
2172,
16704,
13862,
9708,
18,
1236,
16704,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best way to implement a cross-platform, multi-threaded server in C/C++?
===
Part of the development team I work with has been given the challenge of writing a server for integration with our product. We have some low-level sensor devices that provide a C SDK, and we want to share them over a network for us... | 0 | [
2,
98,
25,
14,
246,
161,
20,
8713,
21,
919,
8,
27035,
15,
1889,
8,
96,
10647,
69,
8128,
19,
272,
118,
150,
20512,
60,
800,
3726,
3726,
141,
16,
14,
522,
173,
31,
170,
29,
63,
74,
504,
14,
2404,
16,
1174,
21,
8128,
26,
8078,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 + PDT performance tips?
===
I recently wanted to get a decend IDE for my PHP side-projecs, and by searching SO found Eclipse+PDT. Although it's not quite at the level of Visual Studio yet, it's pretty nice and better than Notepad++ for this purpose. I can even debug somewhat, although it's pretty glitchy.
B... | 0 | [
2,
11652,
2754,
13,
9251,
38,
956,
11034,
60,
800,
3726,
3726,
31,
1989,
417,
20,
164,
21,
6661,
2451,
13,
3448,
26,
51,
13,
26120,
270,
8,
2740,
1969,
6824,
15,
17,
34,
5792,
86,
216,
11652,
2430,
9251,
38,
9,
419,
32,
22,
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... |
Create local user with PowerShell (Windows Vista)
===
I've installed PowerShell recently and one of the first things I started looking for was how to create a new user. After looking for some time I still haven't found this.
I have a little experience in bash on linux and find it very effective. Creating users there ... | 0 | [
2,
1600,
375,
4155,
29,
414,
15984,
13,
5,
27508,
18,
13520,
6,
800,
3726,
3726,
31,
22,
195,
4066,
414,
15984,
1989,
17,
53,
16,
14,
64,
564,
31,
373,
699,
26,
23,
184,
20,
1600,
21,
78,
4155,
9,
75,
699,
26,
109,
85,
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... |
javascrpit "new" considered harmful?
===
In another [question][1], a user pointed out that the 'new' keyword was dangerous to use and proposed a solution to object creation that did not use 'new'... I didn't believe that was true, mostly because I've used Prototype, Scriptaculous and other excellent javascript librari... | 4 | [
2,
8247,
18,
6711,
7328,
13,
7,
2681,
7,
724,
20297,
60,
800,
3726,
3726,
19,
226,
636,
24652,
500,
2558,
165,
500,
15,
21,
4155,
2489,
70,
30,
14,
13,
22,
2681,
22,
1246,
9587,
23,
3342,
20,
275,
17,
2097,
21,
4295,
20,
3095,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Festive Code Golf
===
Print all 12 verses of the popular holiday song. | 0 | [
2,
28923,
1797,
4034,
800,
3726,
3726,
4793,
65,
390,
12347,
16,
14,
844,
5114,
338,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Embed javascript as base64
===
I'm working on a small GreaseMonkey script where I would like to embed a jQuery plugin (Markitup) so that the script is fully self contained (images + js) except for jQuery who is served from google.
I found the site http://www.greywyvern.com/code/php/binary2base64 wich says that you ... | 0 | [
2,
11911,
69,
8247,
8741,
28,
1000,
3470,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
284,
21167,
2111,
4237,
3884,
113,
31,
83,
101,
20,
11911,
69,
21,
487,
8190,
93,
10922,
108,
13,
5,
4527,
242,
576,
6,
86,
30,
14,
3884,
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... |
What are some interesting projects to solve in Erlang for lerning purposes?
===
I recently discovered Erlang and am now working my way through a couple of tutorials. By now I'm looking forward to actually implement something as a hobby project. I'm not really interested in yet another chat server. I would like to code... | 0 | [
2,
98,
50,
109,
4883,
2314,
20,
8402,
19,
13,
106,
9949,
26,
13,
1252,
2981,
4612,
60,
800,
3726,
3726,
31,
1989,
1848,
13,
106,
9949,
17,
589,
130,
638,
51,
161,
120,
21,
1335,
16,
29724,
18,
9,
34,
130,
31,
22,
79,
699,
91... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
install EventFilter on QWidget (qt4.4.3/kde4)
===
I have a K* window, and within it, a widget which needs the events filtered.
For example I do not want the possibility of clicking it...
How can I do that?
Have I to use eventfilters? In this case, what's the best way? | 0 | [
2,
16146,
807,
11924,
815,
27,
2593,
3976,
43,
3060,
13,
5,
1251,
38,
300,
9,
300,
9,
9280,
197,
546,
300,
6,
800,
3726,
3726,
31,
57,
21,
680,
2483,
1463,
15,
17,
363,
32,
15,
21,
4807,
43,
3060,
56,
2274,
14,
963,
25090,
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... |
Does using ReaderWriterLockSlim cause a memory barrier?
===
If I am using `ReaderWriterLockSlim` to acquire read/write locks, do I need to make my variables `volatile` or use `Interlocked.Increment`?
For example, would the code below work fine, or does it need enhancement?
private ReaderWriterLockSlim rwLock... | 0 | [
2,
630,
568,
7765,
9657,
3966,
18,
8585,
1679,
21,
1912,
8548,
60,
800,
3726,
3726,
100,
31,
589,
568,
13,
1,
10647,
106,
9657,
3966,
18,
8585,
1,
20,
8942,
1302,
118,
23716,
12941,
15,
107,
31,
376,
20,
233,
51,
12157,
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... |
Castle windsor IoC and generics
===
Hey guys, I am having trouble with Castle windsors IoC container when trying to retrieve a generic type. I have added a component using generic notation without a type argumet i.e:
<IoC>
<components>
<component
id="NHibernateRepository"
service="MobilePrototype.... | 2 | [
2,
1339,
10784,
31,
2499,
17,
12733,
18,
800,
3726,
3726,
8409,
2776,
15,
31,
589,
452,
2572,
29,
1339,
10784,
18,
31,
2499,
12147,
76,
749,
20,
11917,
21,
12733,
1001,
9,
31,
57,
905,
21,
5912,
568,
12733,
15591,
366,
21,
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... |
good book on probability
===
I am planning to study theory of probability. I studied it when i was in high school. I was trying to solve a problem and i felt that i have forgotten most of it. Can anyone suggest any an easy to read book on it. | 0 | [
2,
254,
360,
27,
10177,
800,
3726,
3726,
31,
589,
2334,
20,
949,
1639,
16,
10177,
9,
31,
1449,
32,
76,
31,
23,
19,
183,
116,
9,
31,
23,
749,
20,
8402,
21,
1448,
17,
31,
427,
30,
31,
57,
5562,
127,
16,
32,
9,
92,
1276,
5601... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
using (Fluent) NHibernate with StructureMap (or any IoCC)
===
On my quest to learn NHibernate I have reached the next hurdle; how should I go about integrating it with StructureMap?
Although code examples are very welcome, I'm more interested in the general procedure.
What I was planning on doing was...
- U... | 0 | [
2,
568,
13,
5,
12848,
2291,
6,
12109,
15191,
8820,
29,
1411,
15022,
13,
5,
248,
186,
13,
1963,
3384,
6,
800,
3726,
3726,
27,
51,
7769,
20,
2484,
12109,
15191,
8820,
31,
57,
664,
14,
328,
24387,
73,
184,
378,
31,
162,
88,
24529,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generate google map based on UK postcode
===
Is it possible to do a google map lookup using the google maps API from a UK postcode? I know you can search by UK postcode on their website, but this converts to lat / long. I don't have access to the PAF database to be able to convert to long / lat.
An example:
User... | 0 | [
2,
7920,
8144,
2942,
432,
27,
1063,
678,
9375,
800,
3726,
3726,
25,
32,
938,
20,
107,
21,
8144,
2942,
361,
576,
568,
14,
8144,
6867,
21,
2159,
37,
21,
1063,
678,
9375,
60,
31,
143,
42,
92,
2122,
34,
1063,
678,
9375,
27,
66,
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... |
JSTL Printing arrayList elements
===
I have a JSP page that receives an ArrayList of event objects, each event object contains an ArrayList of dates. I am iterating through the event objects with the following:
<c:forEach var="event" items="${forthcomingEvents}">
<tr>
<td><c:out value="${event.title}... | 0 | [
2,
487,
18,
7786,
7312,
7718,
5739,
2065,
800,
3726,
3726,
31,
57,
21,
487,
3401,
2478,
30,
8359,
40,
7718,
5739,
16,
807,
3916,
15,
206,
807,
3095,
1588,
40,
7718,
5739,
16,
4076,
9,
31,
589,
32,
106,
1880,
120,
14,
807,
3916,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Refactoring parameters and unit tests
===
I have this method:
public bool CanExecute()
And after 70 commits, I added an extra parameter
public bool CanExecute(IStation target)
Now the problem is I have 7 unit tests covering this CanExecute methods testing various nulls/property combinations.
Add... | 0 | [
2,
302,
17455,
68,
12905,
17,
1237,
4894,
800,
3726,
3726,
31,
57,
48,
2109,
45,
317,
1607,
1823,
92,
1706,
17194,
591,
5,
6,
17,
75,
3201,
9686,
18,
15,
31,
905,
40,
2230,
18906,
317,
1607,
1823,
92,
1706,
17194,
591,
5,
49,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Intersection of two lines defined in (rho/theta ) parameterization
===
Have created a c++ implementation of the Hough transform for detecting lines in images. Found lines are represented using rho, theta, as described on wikipedia:
>"The parameter r represents the distance between the line and the origin, while θ is ... | 0 | [
2,
5351,
16,
81,
1560,
2811,
19,
13,
5,
139,
1807,
118,
124,
536,
13,
6,
18906,
1829,
800,
3726,
3726,
57,
679,
21,
272,
20512,
6123,
16,
14,
746,
14356,
8007,
26,
9092,
68,
1560,
19,
3502,
9,
216,
1560,
50,
1622,
568,
9270,
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... |
Is there any plugin framework for Java Applets?
===
We have a large Java application that run as applet or Java Web Start. And it grow more and more. Typical a user need only a small part of the classes. Because Java does not know which class can it found in which jar file that it load all jar files until it find the ... | 0 | [
2,
25,
80,
186,
10922,
108,
6596,
26,
8247,
4037,
38,
18,
60,
800,
3726,
3726,
95,
57,
21,
370,
8247,
3010,
30,
485,
28,
4037,
38,
54,
8247,
2741,
799,
9,
17,
32,
3213,
91,
17,
91,
9,
3874,
21,
4155,
376,
104,
21,
284,
141,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to preserve COM DLL version in an auto-generated interop assembly in VS2005?
===
I've added a reference to a co-worker's COM DLL -- MyLogic.dll -- to my C# project in Visual Studio 2005. As expected, this auto-generates Interop.MyLogicLib.dll in my output folder. However, the version number of the COM DLL is 2.1.0... | 0 | [
2,
184,
20,
6224,
13,
960,
13,
43,
211,
615,
19,
40,
3108,
8,
25314,
1480,
2594,
1475,
19,
4611,
2835,
60,
800,
3726,
3726,
31,
22,
195,
905,
21,
2801,
20,
21,
326,
8,
22560,
22,
18,
13,
960,
13,
43,
211,
13,
8,
8,
51,
242... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make UnitTest fail automaticly after some time?
===
I am using NUnit (2.4.6) and my build/test night are done with Team City 1.4. I have contacted team city and they already told me that they cannot handle this. So, here I am.
What I want is to set up my test to do their testing as usual but in the case they... | 0 | [
2,
184,
20,
233,
1237,
10543,
7476,
6715,
102,
75,
109,
85,
60,
800,
3726,
3726,
31,
589,
568,
10210,
242,
13,
5,
135,
9,
300,
9,
379,
6,
17,
51,
1895,
118,
10543,
343,
50,
677,
29,
173,
136,
137,
9,
300,
9,
31,
57,
12842,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 sort a hash's key naturally?
===
I have a perl hash whose keys start with, or are, numbers.
If I use,
foreach my $key (sort keys %hash) {
print $hash{$key} . "\n";
}
the list might come out as,
0
0001
1000
203
23
Instead of
0
0001
23
20... | 0 | [
2,
184,
20,
2058,
21,
19170,
22,
18,
1246,
8000,
60,
800,
3726,
3726,
31,
57,
21,
416,
255,
19170,
1196,
5534,
799,
29,
15,
54,
50,
15,
2116,
9,
100,
31,
275,
15,
26,
14322,
51,
5579,
4237,
13,
5,
22843,
5534,
13,
11881,
25436... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
flex 3 and acessing remote java objects
===
im just starting to learn flex and im trying to understand how Flex does remoting? From what i have read it looks like Flex provides a LifeCycle data services war which sits on your server and intercepts your remote calls , is this close?
Im concerned that if i use this o... | 0 | [
2,
14409,
203,
17,
21,
5052,
18,
68,
5388,
8247,
3916,
800,
3726,
3726,
797,
114,
1422,
20,
2484,
14409,
17,
797,
749,
20,
1369,
184,
14409,
630,
302,
7662,
68,
60,
37,
98,
31,
57,
1302,
32,
1879,
101,
14409,
1927,
21,
201,
1246... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
boolean bit size in java
===
Can any one tell the bit size of boolean in java? | 0 | [
2,
9827,
413,
210,
1142,
1072,
19,
8247,
800,
3726,
3726,
92,
186,
53,
494,
14,
1142,
1072,
16,
9827,
413,
210,
19,
8247,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Silverlight button style how to prevent the focused state when the button is pressed?
===
In my custom button I need to show that it had focus(provides some tactile feel to tabbing to the button) and show that its pressed but what I have found is my focused state is displaying rather then my pressed state. How can ... | 0 | [
2,
1172,
3130,
5167,
1034,
184,
20,
2501,
14,
2604,
146,
76,
14,
5167,
25,
2931,
60,
800,
3726,
3726,
19,
51,
5816,
5167,
31,
376,
20,
298,
30,
32,
41,
1776,
5,
26735,
18,
109,
13,
6981,
9802,
583,
20,
6523,
8136,
20,
14,
5167... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 iterate over a list repeating each element in Python
===
I'm using Python to iterate over a list, repeating each element in the list a number of times. For example given the list:
l = [1, 2, 3, 4]
I would like to output each element two times and then repeat the cycle:
1, 1, 2, 2, 3, 3, 4, 4, 1... | 0 | [
2,
184,
20,
32,
106,
1373,
84,
21,
968,
17389,
206,
4520,
19,
20059,
800,
3726,
3726,
31,
22,
79,
568,
20059,
20,
32,
106,
1373,
84,
21,
968,
15,
17389,
206,
4520,
19,
14,
968,
21,
234,
16,
436,
9,
26,
823,
504,
14,
968,
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... |
Bidirectional mapping of strings to integers
===
What is the easiest way (e.g. in Java) to map strings to (positive) integers, so that
- equal strings map to equal integers, and
- different strings map to different integers?
So, similar to `hashCode()` but different strings are required to produce different... | 0 | [
2,
1732,
19393,
13305,
16,
7887,
20,
13820,
18,
800,
3726,
3726,
98,
25,
14,
27237,
161,
13,
5,
62,
9,
263,
9,
19,
8247,
6,
20,
2942,
7887,
20,
13,
5,
21299,
6,
13820,
18,
15,
86,
30,
13,
8,
2747,
7887,
2942,
20,
2747,
13820... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
which css editor do u use on linux?
===
which css editor do u use on linux and why? | 0 | [
2,
56,
272,
18,
18,
1835,
107,
287,
275,
27,
13024,
60,
800,
3726,
3726,
56,
272,
18,
18,
1835,
107,
287,
275,
27,
13024,
17,
483,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How do you do *integer* exponentiation in C#?
===
The built-in Math.Pow function in C#/.NET raises a double base to a double exponent and returns a double result.
What's the best way to do the same with integers? | 0 | [
2,
184,
107,
42,
107,
1637,
6391,
13699,
2483,
25220,
49,
857,
19,
272,
5910,
60,
800,
3726,
3726,
14,
392,
8,
108,
5057,
9,
1638,
499,
1990,
19,
272,
5910,
118,
9,
2328,
15303,
21,
1494,
1000,
20,
21,
1494,
25220,
17,
4815,
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,
0... |
Converting MySql DateTime type into something more friendly
===
I have a Java web app that reads a MySql db and returns DateTime fields. What is the best way to convert the DateTime fields returned in the resultset into something more readable?
Currently the DateTime fields print as:
2008-12-14 16:30:00
bu... | 0 | [
2,
19583,
51,
18,
22402,
1231,
891,
1001,
77,
301,
91,
4753,
800,
3726,
3726,
31,
57,
21,
8247,
2741,
4865,
30,
11137,
21,
51,
18,
22402,
13,
9007,
17,
4815,
1231,
891,
2861,
9,
98,
25,
14,
246,
161,
20,
8406,
14,
1231,
891,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to write a technical blog?
===
I have a blog that I would like to increase traffic on.
I've read lots of technical blogs, but it's a lot different writing a blog versus reading a blog.
There seems to be several ways to write a post.
1. General article: I like this tool. This is how I do it.
2. Specific... | 0 | [
2,
184,
20,
2757,
21,
2447,
8146,
60,
800,
3726,
3726,
31,
57,
21,
8146,
30,
31,
83,
101,
20,
1839,
2227,
27,
9,
31,
22,
195,
1302,
7503,
16,
2447,
8146,
18,
15,
47,
32,
22,
18,
21,
865,
421,
1174,
21,
8146,
5706,
1876,
21,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you or together all values of a list in Python?
===
How do you or together all values of a list in Python? I'm thinking something like:
or([True, True, False])
or if it was possible:
reduce(or, [True, True, False])
| 0 | [
2,
184,
107,
42,
54,
429,
65,
4070,
16,
21,
968,
19,
20059,
60,
800,
3726,
3726,
184,
107,
42,
54,
429,
65,
4070,
16,
21,
968,
19,
20059,
60,
31,
22,
79,
1440,
301,
101,
45,
54,
5,
2558,
13398,
15,
1151,
15,
4997,
500,
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... |
JSON encode MySQL results
===
How do I use the JSON_encode function with mysql query results, do I need to iterate through the rows or can I just apply it to the entire results object? | 0 | [
2,
487,
528,
20523,
51,
18,
22402,
1736,
800,
3726,
3726,
184,
107,
31,
275,
14,
487,
528,
1,
219,
9375,
1990,
29,
51,
18,
22402,
25597,
1736,
15,
107,
31,
376,
20,
32,
106,
1373,
120,
14,
11295,
54,
92,
31,
114,
5645,
32,
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... |
Get specific lines from a text file
===
I am working on a UNIX box, and trying to run an application, which gives some debug logs to the standard output. I have redirected this output to a log file, but now wish to get the lines where the error is being shown.
My problem here is that a simple
cat output.log ... | 0 | [
2,
164,
1903,
1560,
37,
21,
1854,
3893,
800,
3726,
3726,
31,
589,
638,
27,
21,
22540,
1649,
15,
17,
749,
20,
485,
40,
3010,
15,
56,
2352,
109,
121,
16254,
18893,
20,
14,
1236,
5196,
9,
31,
57,
302,
14147,
48,
5196,
20,
21,
673... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Looking for advice on a "related videos" query on a tagged video system
===
Well I run a small video website and on the actual video page there is a strip of "related videos" similar to most video sides (e.g. YouTube) and currently all I'm doing is taking one of its tags randomly and finding other videos with the same... | 0 | [
2,
699,
26,
4978,
27,
21,
13,
7,
6203,
6610,
7,
25597,
27,
21,
27945,
763,
329,
800,
3726,
3726,
134,
31,
485,
21,
284,
763,
2271,
17,
27,
14,
3463,
763,
2478,
80,
25,
21,
4998,
16,
13,
7,
6203,
6610,
7,
835,
20,
127,
763,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 show highlighting arrows like in Coderush
===
I love the arrows used in coderush.
for those who have not seen coderush arrows ,please see this image.
![http://www.aspnetpro.com/productreviews/2004/08/asp200408bn_p/asp200408bn_p_image002.jpg][1]
<code>
http://www.aspnetpro.com/productreviews/2004/08/as... | 0 | [
2,
184,
20,
298,
23102,
13912,
101,
19,
1797,
15770,
800,
3726,
3726,
31,
339,
14,
13912,
147,
19,
1797,
15770,
9,
26,
273,
72,
57,
52,
541,
1797,
15770,
13912,
13,
15,
6744,
196,
48,
1961,
9,
13,
187,
2558,
21127,
6903,
6483,
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... |
consume a asp.net web service that returns json from an stand alone html page
===
I've developed a web service in asp.net and am able to test it from an in-project aspx page and can readily display the information that was returned in JSON format.
I now need to consume the web service from a stand-alone html page.
... | 0 | [
2,
16447,
21,
28,
306,
9,
2328,
2741,
365,
30,
4815,
487,
528,
37,
40,
1261,
1056,
13,
15895,
2478,
800,
3726,
3726,
31,
22,
195,
885,
21,
2741,
365,
19,
28,
306,
9,
2328,
17,
589,
777,
20,
1289,
32,
37,
40,
19,
8,
21011,
28... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Globalizing source code
===
I'm running an open source project and every now and then chinese users report build errors due to unrecognized escape sequences .cs and .js files. When they paste the files as they se them I notice that the latin characters are changed into chinese.
I'm using Visual Studio and when I lo... | 0 | [
2,
2062,
3335,
1267,
1797,
800,
3726,
3726,
31,
22,
79,
946,
40,
368,
1267,
669,
17,
352,
130,
17,
94,
1116,
3878,
1330,
1895,
11908,
397,
20,
367,
99,
13974,
103,
1333,
2220,
11173,
13,
9,
6824,
17,
13,
9,
728,
18,
6488,
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... |
How do you loop through currenlty loaded assemblies?
===
I've got a "diagnostics" page in my ASP.NET application which does things like verify the database connection(s), display the current appSettings and ConnectionStrings, etc. A section of this page displays the Assembly versions of important types used throughou... | 0 | [
2,
184,
107,
42,
5293,
120,
5087,
2789,
255,
1084,
8572,
21066,
60,
800,
3726,
3726,
31,
22,
195,
330,
21,
13,
7,
4286,
21944,
18,
7,
2478,
19,
51,
28,
306,
9,
2328,
3010,
56,
630,
564,
101,
21012,
14,
6018,
2760,
5,
18,
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... |
Creating App Store Distribution Certificate - What to enter in Common Name field?
===
When creating the app store distribution certificate in the certificate assistant, do I enter my name in the Common Name field, or the company name?
[This page][1] says, "In the Common Name field enter your Company/Organization/De... | 0 | [
2,
2936,
4865,
1718,
2523,
6259,
13,
8,
98,
20,
2830,
19,
757,
204,
575,
60,
800,
3726,
3726,
76,
2936,
14,
4865,
1718,
2523,
6259,
19,
14,
6259,
1482,
15,
107,
31,
2830,
51,
204,
19,
14,
757,
204,
575,
15,
54,
14,
237,
204,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generics: What's a "CONSTRUCTOR constraint"?
===
I made a custom TObjectList<T> descendant designed to hold subclasses of a base object class. It looks something like this:
interface
TMyDataList<T: TBaseDatafile> = class(TObjectList<TBaseDatafile>)
public
constructor Create;
... | 0 | [
2,
12733,
18,
45,
98,
22,
18,
21,
13,
7,
1126,
10346,
248,
28804,
7,
60,
800,
3726,
3726,
31,
117,
21,
5816,
13,
38,
23793,
5739,
1,
38,
1,
13783,
1006,
20,
1027,
972,
1898,
160,
16,
21,
1000,
3095,
718,
9,
32,
1879,
301,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is JSON and why would I use it?
===
Sorry for asking what may well seem like a dumb question. I've looked on wikipedia and Googled it and read the official documentation, but I've still not got to the point where I really understand what JSON is, and why I'd use it. I have been building applications using PHP, My... | 0 | [
2,
98,
25,
487,
528,
17,
483,
83,
31,
275,
32,
60,
800,
3726,
3726,
1875,
26,
3379,
98,
123,
134,
2260,
101,
21,
9317,
1301,
9,
31,
22,
195,
292,
27,
20169,
17,
8144,
43,
32,
17,
1302,
14,
989,
13945,
15,
47,
31,
22,
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... |
Compressing XML in WebPage
===
I transfer a fair amount of XML from the server to the client, in my application (250K-500K each time).
How can I compress it on the server, and decompress it on the client using standard JavaScript? Is it possible? | 0 | [
2,
26060,
68,
23504,
19,
2741,
6486,
800,
3726,
3726,
31,
2617,
21,
1768,
2006,
16,
23504,
37,
14,
8128,
20,
14,
6819,
15,
19,
51,
3010,
13,
5,
9798,
197,
8,
6000,
197,
206,
85,
6,
9,
184,
92,
31,
26060,
32,
27,
14,
8128,
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... |
Developing Serverless Lan Chat Program Help!
===
I want to develop simple Serverless LAN Chat program just for fun. How can I do this ? What type Architecture should I use?
Last year I have worked on TCP,UDP Client/ Server application Project.It was simple (Server listens to certain port/socket and Client connect ... | 0 | [
2,
3561,
8128,
923,
6178,
6615,
625,
448,
187,
800,
3726,
3726,
31,
259,
20,
2803,
1935,
8128,
923,
6178,
6615,
625,
114,
26,
2414,
9,
184,
92,
31,
107,
48,
13,
60,
98,
1001,
2607,
378,
31,
275,
60,
236,
159,
31,
57,
577,
27,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Url for cities/regios/countries in Rails
===
What do you recommend for displaying url's and handling views in Rails for cities, regions, countries?
i.e:
/us/ca/San-Fransisco
/countries/us/regions/ca/cities/San-Fransisco
Should be able to:
List all countries, list all regions within country and list all cities... | 0 | [
2,
287,
6362,
26,
1920,
118,
99,
5449,
18,
118,
16549,
2829,
19,
2240,
18,
800,
3726,
3726,
98,
107,
42,
12360,
26,
17418,
287,
6362,
22,
18,
17,
7988,
4146,
19,
2240,
18,
26,
1920,
15,
3332,
15,
1166,
60,
31,
9,
62,
45,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Slow methods calls
===
Are methods calls really so slow or is there something wrong in my computer?
static void Main(string[] args) {
Stopwatch sw = new Stopwatch(); sw.Start();
for (int i = 0; i < 10000000; i++) {
double z = Math.Pow(i,2);
}
Console.WriteLine(s... | 0 | [
2,
2276,
3195,
3029,
800,
3726,
3726,
50,
3195,
3029,
510,
86,
2276,
54,
25,
80,
301,
1389,
19,
51,
1428,
60,
12038,
11364,
407,
5,
11130,
2558,
500,
13,
10663,
18,
6,
13,
1,
747,
9054,
8783,
800,
78,
747,
9054,
5,
6,
73,
8783... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN?
===
We're developing a Python web service and a client web site in parallel. When we make an HTTP request from the client to the service, one call consistently raises a socket.error in socket.py, in read:
<pr... | 0 | [
2,
10896,
15,
13,
22,
25996,
872,
23422,
34,
7617,
22,
18482,
7019,
15,
54,
76,
630,
4239,
21,
18482,
829,
19,
21,
13,
1224,
38,
864,
119,
4361,
60,
800,
3726,
3726,
95,
22,
99,
3561,
21,
20059,
2741,
365,
17,
21,
6819,
2741,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Toggle whichever element is clicked
===
I am using the toggle() with jQuery and I have a sidebar on my page and each header is
<h2 class="sidebar-header">
One section of my code will look like:
<div class="sidebar-section">
<h2 class="sidebar-header">SUBSCRIBE</h2>
<p class="sidebar">Make sure... | 0 | [
2,
20,
263,
4875,
56,
5221,
4520,
25,
15802,
800,
3726,
3726,
31,
589,
568,
14,
20,
263,
4875,
5,
6,
29,
487,
8190,
93,
17,
31,
57,
21,
270,
1850,
27,
51,
2478,
17,
206,
157,
106,
25,
13,
1,
252,
135,
718,
3726,
7,
1416,
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... |
OK Programming language from USB stick with no installation
===
I'm looking for a compiler or interpreter for a language with basic math support and File IO which can be executed directly from a memorystick in either Linux or Windows. Built in functionality for basic datastructures and sorting/searching would be a p... | 0 | [
2,
5854,
3143,
816,
37,
182,
220,
5258,
29,
90,
7758,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
21486,
54,
19336,
26,
21,
816,
29,
2125,
5057,
555,
17,
3893,
13,
1963,
56,
92,
44,
5557,
1703,
37,
21,
1912,
10277,
19,
694,
1302... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 objects.filter, how "expensive" would this be?
===
I am trying to make a search view in django. It is a search form with freetext input + some options to select, so that you can filter on years and so on. This is some of the code I have in the view so far, the part thats does the filtering. And i would like som... | 0 | [
2,
3857,
14541,
3916,
9,
11924,
815,
15,
184,
13,
7,
6899,
3474,
1284,
7,
83,
48,
44,
60,
800,
3726,
3726,
31,
589,
749,
20,
233,
21,
2122,
1418,
19,
3857,
14541,
9,
32,
25,
21,
2122,
505,
29,
551,
11969,
6367,
2754,
109,
6368... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting a DataSet from an SQL Express Server C#
===
How can I get a DataSet with all the data from a SQL Express server using C#?
Thanks | 0 | [
2,
1017,
21,
1054,
3554,
37,
40,
4444,
255,
2999,
8128,
272,
5910,
800,
3726,
3726,
184,
92,
31,
164,
21,
1054,
3554,
29,
65,
14,
1054,
37,
21,
4444,
255,
2999,
8128,
568,
272,
5910,
60,
3669,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
MustOverride Properties with mixed access level Get / Set
===
Visual Basic allows for properties with mixed access levels, for example
Public Property Name() as String
Get
End Get
Friend Set(ByVal value As String)
End Set
End Property
Is ... | 0 | [
2,
491,
2549,
11891,
3704,
29,
2198,
1381,
662,
164,
13,
118,
309,
800,
3726,
3726,
3458,
2125,
2965,
26,
3704,
29,
2198,
1381,
2216,
15,
26,
823,
317,
1354,
204,
5,
6,
28,
3724,
164,
241,
164,
860,
309,
5,
779,
3377,
1923,
28,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 function to get Facebook status?
===
I'm looking for a good, simple PHP function to get my latest Facebook status updates. Anyone know of one?
Thanks! | 0 | [
2,
13,
26120,
1990,
20,
164,
9090,
1782,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
254,
15,
1935,
13,
26120,
1990,
20,
164,
51,
5736,
9090,
1782,
16779,
9,
1276,
143,
16,
53,
60,
3669,
187,
3,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Need to re-format phone number entries in a PHP Formmail script
===
I have a simple text field for "Phone Number" in a contact form on a client's website. The formmail script returns whatever the user types into the field. For example, they'll receive "000-000-0000", "0000000000", (000) 000-000, etc. The client would ... | 0 | [
2,
376,
20,
302,
8,
23588,
1132,
234,
11399,
19,
21,
13,
26120,
505,
8079,
3884,
800,
3726,
3726,
31,
57,
21,
1935,
1854,
575,
26,
13,
7,
7709,
234,
7,
19,
21,
2203,
505,
27,
21,
6819,
22,
18,
2271,
9,
14,
505,
8079,
3884,
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... |
Increase file upload size limit in iis6
===
Is there any other place besides the metabase.xml file where the file upload size can be modified?
I am currently running a staging server with IIS6 and it is setup to allow uploading of files up to 20mb. This works perfectly fine. I have a new production server where I... | 0 | [
2,
1839,
3893,
71,
8294,
1072,
4496,
19,
595,
18,
379,
800,
3726,
3726,
25,
80,
186,
89,
209,
3410,
14,
7618,
8436,
9,
396,
8184,
3893,
113,
14,
3893,
71,
8294,
1072,
92,
44,
5372,
60,
31,
589,
871,
946,
21,
16824,
8128,
29,
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... |
Oracle SQL DATE conversion problem using iBATIS via Java JDBC
===
I'm currently wrestling with an Oracle sql DATE conversion problem using iBATIS from Java.
Am using the Oracle JDBC thin driver ojdbc14 version 10.2.0.4.0. iBATIS version 2.3.2. Java 1.6.0_10-rc2-b32.
The problem revolves around a column of DATE t... | 0 | [
2,
15759,
4444,
255,
1231,
6263,
1448,
568,
13,
9747,
3409,
1197,
8247,
487,
43,
7229,
800,
3726,
3726,
31,
22,
79,
871,
3381,
29,
40,
15759,
4444,
255,
1231,
6263,
1448,
568,
13,
9747,
3409,
37,
8247,
9,
589,
568,
14,
15759,
487,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 minimize code area in Eclipse?
===
There is a nice feature in Visual Studio: you can create special code areas which can be minimized just as class methods in Eclipse are minimized. Is there a way do make such pleasant feature in Eclipse? | 0 | [
2,
184,
20,
16713,
1797,
217,
19,
11652,
60,
800,
3726,
3726,
80,
25,
21,
2210,
1580,
19,
3458,
1120,
45,
42,
92,
1600,
621,
1797,
924,
56,
92,
44,
16713,
43,
114,
28,
718,
3195,
19,
11652,
50,
16713,
43,
9,
25,
80,
21,
161,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Why is Google's "face recognition" feature available only in Picasa WEB and not Picasa for the PC?
===
I friend asked me this today.
Picasa Web has a cool (and frightening :-) feature where it will recognize all the faces in your photo album.
But the PC (desktop) version doesn't have this.
Several reasons I... | 0 | [
2,
483,
25,
8144,
22,
18,
13,
7,
6413,
3514,
7,
1580,
904,
104,
19,
9327,
8588,
2741,
17,
52,
9327,
8588,
26,
14,
5168,
60,
800,
3726,
3726,
31,
860,
411,
55,
48,
786,
9,
9327,
8588,
2741,
63,
21,
2700,
13,
5,
290,
18903,
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... |
Best approach to Windows Forms rolling log output in TextBox
===
In a Forms application I'm displaying log output from a long running command-line application that generated a lot of output. I start the program in the background, and capture its output and currently display it in a TextBox using AppendText. I prefer t... | 0 | [
2,
246,
2141,
20,
1936,
1997,
3929,
6738,
5196,
19,
1854,
5309,
800,
3726,
3726,
19,
21,
1997,
3010,
31,
22,
79,
17418,
6738,
5196,
37,
21,
175,
946,
1202,
8,
1143,
3010,
30,
6756,
21,
865,
16,
5196,
9,
31,
799,
14,
625,
19,
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... |
maven-camel build problem
===
I have a simple application using netbeans for developing and maven for building et all. My application uses camel , spring XML configured. I wanted to build an executable jar with dependencies so i am using the maven-assembly plugin with 'jar-with-deps' descriptor.
The jar is built ok ... | 0 | [
2,
1216,
3124,
8,
793,
4240,
1895,
1448,
800,
3726,
3726,
31,
57,
21,
1935,
3010,
568,
4275,
863,
5950,
26,
3561,
17,
1216,
3124,
26,
353,
2133,
65,
9,
51,
3010,
2027,
15386,
13,
15,
1573,
23504,
28895,
9,
31,
417,
20,
1895,
40,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JSP-based Templating with Spring
===
I'm using Spring's MVC with JSP views. Every JSP page has similar structure - headers, content, footers, perhaps a sidebar, etc. Looking around for "best practices" people seem to "include" footers and headers, but that means that every JSP page includes these "include" statements,... | 0 | [
2,
487,
3401,
8,
1281,
13,
9577,
255,
1880,
29,
1573,
800,
3726,
3726,
31,
22,
79,
568,
1573,
22,
18,
307,
8990,
29,
487,
3401,
4146,
9,
352,
487,
3401,
2478,
63,
835,
1411,
13,
8,
157,
445,
15,
2331,
15,
1749,
445,
15,
1774,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mySQL stored procedure where clause problem
===
I've got a mySql stored procedure that looks like this--
delimiter |
create procedure GetEmployeeById(in ID varchar(45))
begin
select id,
firstName,
lastName,
phone,
address1,
address2,
... | 0 | [
2,
51,
18,
22402,
8214,
7004,
113,
9040,
1448,
800,
3726,
3726,
31,
22,
195,
330,
21,
51,
18,
22402,
8214,
7004,
30,
1879,
101,
48,
8,
8,
121,
20565,
106,
13,
1,
1600,
7004,
3168,
9577,
10892,
2851,
779,
1340,
5,
108,
4924,
4033... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Change default printer based on location
===
I would like to write a VBScript to change the default printer, based on which printer is connected.<br>
I have a laptop that I use at work and at home, and I would like to run this script when starting windows so the default printer is always the correct one.<br>
If ... | 0 | [
2,
753,
12838,
12925,
432,
27,
1474,
800,
3726,
3726,
31,
83,
101,
20,
2757,
21,
13,
20468,
8741,
20,
753,
14,
12838,
12925,
15,
432,
27,
56,
12925,
25,
2587,
9,
1,
5145,
1,
31,
57,
21,
12294,
30,
31,
275,
35,
170,
17,
35,
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... |
F# open source projects
===
I'm looking for some open source F# projects to learn from.
Something like [this question][1] but for F#, i.e. not snippets but full projects that are good representatives of F# features (i.e. pattern matching, discriminated unions, etc).
My objective are mainly to see how all the feat... | 0 | [
2,
398,
5910,
368,
1267,
2314,
800,
3726,
3726,
31,
22,
79,
699,
26,
109,
368,
1267,
398,
5910,
2314,
20,
2484,
37,
9,
301,
101,
636,
1565,
1301,
500,
2558,
165,
500,
47,
26,
398,
5910,
15,
31,
9,
62,
9,
52,
13,
29061,
18,
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... |
Private method naming convention
===
Is there a convention for naming the private method that I have called "_Add" here? I am not a fan of the leading underscore but it is what one of my teammates suggests.
public Vector Add(Vector vector) {
// check vector for null, and compare Length to vector.Length... | 0 | [
2,
932,
2109,
10929,
3087,
800,
3726,
3726,
25,
80,
21,
3087,
26,
10929,
14,
932,
2109,
30,
31,
57,
227,
13,
7,
1,
14854,
7,
235,
60,
31,
589,
52,
21,
2514,
16,
14,
1005,
131,
15077,
47,
32,
25,
98,
53,
16,
51,
15354,
5049,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is this property not getting set?
===
I'm having trouble trying to set the value of a property after i cast it. I'm not sure if this is called *boxing*.
Anyways, the new variable is getting set, but the original is not. I thought the new variable is just a *reference* to the original. But when i check the intel... | 0 | [
2,
483,
25,
48,
1354,
52,
1017,
309,
60,
800,
3726,
3726,
31,
22,
79,
452,
2572,
749,
20,
309,
14,
1923,
16,
21,
1354,
75,
31,
1325,
32,
9,
31,
22,
79,
52,
562,
100,
48,
25,
227,
1637,
5309,
68,
2483,
9,
2774,
18,
15,
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... |
Looking for some good books/resources on understanding Bittorrent?
===
Looking for some good books/resources for a detailed understanding of how Bittorrent works? | 4 | [
2,
699,
26,
109,
254,
964,
118,
99,
12097,
18,
27,
3260,
1142,
2153,
8993,
60,
800,
3726,
3726,
699,
26,
109,
254,
964,
118,
99,
12097,
18,
26,
21,
6036,
3260,
16,
184,
1142,
2153,
8993,
693,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Zend_Pdf - Text On Top of Rectangles?
===
Is it possible to draw text over top of a drawn rectangle with Zend_Pdf? No matter what order I execute the draw statements, the rectangle is always on top of my text. | 0 | [
2,
10526,
43,
1,
11124,
13,
8,
1854,
27,
371,
16,
27181,
18,
60,
800,
3726,
3726,
25,
32,
938,
20,
2003,
1854,
84,
371,
16,
21,
3160,
27181,
29,
10526,
43,
1,
11124,
60,
90,
1161,
98,
389,
31,
15644,
14,
2003,
9015,
15,
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,
0,
0,
0,
0,
0,
0,
0,
0... |
Javascript RIA vs .NET GUI
===
I am looking at moving my company's internal business app from VB.NET to PHP. Some of the people were worried about losing GUI features that can be found in .NET. I am under the impression that with the right javascript framework, anything in .NET GUI can be replicated.
While I am sti... | 0 | [
2,
8247,
8741,
13,
2548,
4611,
13,
9,
2328,
9457,
800,
3726,
3726,
31,
589,
699,
35,
1219,
51,
237,
22,
18,
3117,
508,
4865,
37,
13,
20468,
9,
2328,
20,
13,
26120,
9,
109,
16,
14,
148,
46,
3681,
88,
2281,
9457,
967,
30,
92,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Abstracting Database Layer in a Reporting Application?
===
We have a Reporting Services application using a MS SQL server. Now the application logic is getting more complex each day. And we are supposed to migrate the reporting application to some other databases having the same information but with different schemas... | 0 | [
2,
8502,
68,
6018,
5385,
19,
21,
6670,
3010,
60,
800,
3726,
3726,
95,
57,
21,
6670,
687,
3010,
568,
21,
4235,
4444,
255,
8128,
9,
130,
14,
3010,
7085,
25,
1017,
91,
1502,
206,
208,
9,
17,
95,
50,
2293,
20,
22985,
14,
6670,
301... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Correct way to write lists
===
This is something I've pondered over for a while, as I've seen both used in practise.
##Method 1
<ol>
<li>List item 1</li>
<li>List item 2
<ol>
<li>List item 3</li>
</ol>
</li>
<li>List item 4</li>
... | 0 | [
2,
4456,
161,
20,
2757,
7227,
800,
3726,
3726,
48,
25,
301,
31,
22,
195,
14197,
69,
84,
26,
21,
133,
15,
28,
31,
22,
195,
541,
156,
147,
19,
27954,
9,
6926,
5910,
5909,
1807,
43,
137,
13,
1,
1823,
1,
13,
1,
1210,
1,
5739,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is this an inefficent use of casting?
===
this question is an extension to a [previous question i asked][1] (and was answered). I'm refactoring my code an playing around with / experimenting with various refactored solutions.
One of the solutions i came up with (but wasn't happy with .. remember, i'm just experimen... | 0 | [
2,
25,
48,
40,
19,
9039,
49,
5089,
275,
16,
9087,
60,
800,
3726,
3726,
48,
1301,
25,
40,
3896,
20,
21,
636,
3515,
1755,
1291,
1301,
31,
411,
500,
2558,
165,
500,
13,
5,
290,
23,
3094,
6,
9,
31,
22,
79,
302,
17455,
68,
51,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Checking existance before inserting via Linq to SQL
===
I'd like to know if there's an easier way to batch insert a set of records if they don't already exist in a table. For example I have a Tags table in the database having ID, Name columns - given a list of tag names I want to add only those that are not already pr... | 0 | [
2,
9886,
3182,
2416,
115,
14692,
68,
1197,
6294,
1251,
20,
4444,
255,
800,
3726,
3726,
31,
22,
43,
101,
20,
143,
100,
80,
22,
18,
40,
4950,
161,
20,
13064,
14692,
21,
309,
16,
742,
100,
59,
221,
22,
38,
614,
3182,
19,
21,
859,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Emacs equivalent of Vim's command history (for typed in Meta-x commands)
===
**Question:** For typed in commands invoked via M-x I am having difficulty understanding how Emacs allows recalling and rerunning the commands. The command-history works quite differently from Vim. It puts the commands in a buffer rather than... | 0 | [
2,
13,
62,
6893,
18,
4602,
16,
1790,
79,
22,
18,
1202,
447,
13,
5,
1106,
1001,
43,
19,
7618,
8,
396,
14294,
6,
800,
3726,
3726,
13,
1409,
24652,
45,
1409,
26,
1001,
43,
19,
14294,
26252,
1197,
307,
8,
396,
31,
589,
452,
6967,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best library for Java to grid/cluster-enable your application?
===
This is the ability to run your application on a cluster of servers with the intent to distribute the load and also provide additional redundancy.
I've seen a presentation for GridGain ([http://www.gridgain.com/][1]) and I was very impre... | 0 | [
2,
98,
25,
14,
246,
1248,
26,
8247,
20,
7354,
118,
10301,
1911,
8,
219,
579,
154,
3010,
60,
800,
3726,
3726,
48,
25,
14,
2165,
20,
485,
154,
3010,
27,
21,
7460,
16,
17595,
29,
14,
6936,
20,
14751,
14,
6305,
17,
67,
1181,
1351,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Eliminating coupling out of classes that have strong conceptual bonds with each other
===
I have the types `Rock`, `Paper`, and `Scissors`. These are components, or "hands" of the Rock, Paper, Scissors game. Given two players' hands the game must decide who wins. How do I solve the problem of storing this chain cha... | 0 | [
2,
17653,
20920,
70,
16,
2684,
30,
57,
966,
14425,
10160,
29,
206,
89,
800,
3726,
3726,
31,
57,
14,
2551,
13,
1,
4651,
1,
15,
13,
1,
17945,
1,
15,
17,
13,
1,
18,
7654,
18,
248,
18,
1,
9,
158,
50,
5090,
15,
54,
13,
7,
320... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 giving a 400 Error on a FastCGI VirtualHost
===
Apache is spitting out a HTTP response of code: 400 "Bad Request" with no details whenever I access a page driven that is handled by a FastCGI script.
- I've installed the mod_fcgid module and it's loaded and configured in the Apache config files
- I've test... | 0 | [
2,
17140,
1438,
21,
4353,
7019,
27,
21,
1512,
150,
2234,
6599,
11694,
800,
3726,
3726,
17140,
25,
26535,
70,
21,
7775,
1627,
16,
1797,
45,
4353,
13,
7,
5989,
3772,
7,
29,
90,
3289,
6634,
31,
1381,
21,
2478,
5355,
30,
25,
9006,
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... |
Program to an Interface?
===
I have seen this mentioned a few times and I am not totality clear on what it means? When and why would you do this?
I know what interfaces do, but the fact I am not clear on this makes me think I am missing out on using them correctly.
Is it just so if you were to do:
IInt... | 0 | [
2,
625,
20,
40,
6573,
60,
800,
3726,
3726,
31,
57,
541,
48,
2211,
21,
310,
436,
17,
31,
589,
52,
600,
856,
1207,
27,
98,
32,
1108,
60,
76,
17,
483,
83,
42,
107,
48,
60,
31,
143,
98,
6573,
18,
107,
15,
47,
14,
837,
31,
58... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to return the language of a given string
===
More specifically, I'm trying to check if given string (a sentence) is in Turkish.
I can check if the string has Turkish characters such as Ç, Ş, Ü, Ö, Ğ etc. However that's not very reliable as those might be converted to C, S, U, O, G before I receive the st... | 0 | [
2,
246,
161,
20,
788,
14,
816,
16,
21,
504,
3724,
800,
3726,
3726,
91,
3524,
15,
31,
22,
79,
749,
20,
2631,
100,
504,
3724,
13,
5,
58,
5123,
6,
25,
19,
4170,
9,
31,
92,
2631,
100,
14,
3724,
63,
4170,
1766,
145,
28,
272,
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... |
Is args[0] guaranteed to be the path of execution?
===
This is a fundamental question, but an important one none the less...
**When starting a C++ program whose main method has the following common signature:**
int main(int argc, char* args[]) {
//Magic!
return 0;
}
**is args[0] alw... | 0 | [
2,
25,
13,
10663,
18,
2558,
387,
500,
13572,
20,
44,
14,
2013,
16,
5769,
60,
800,
3726,
3726,
48,
25,
21,
6377,
1301,
15,
47,
40,
681,
53,
2369,
14,
787,
9,
9,
9,
13,
1409,
3185,
1422,
21,
272,
20512,
625,
1196,
407,
2109,
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... |
What payment structure do you use for small projects
===
im just wandering what payment schedule you guys use for small projects (e.g. < $10,000)?
at the moment, this is the structure i use:
* 20% deposit before any work starts
* 70% payment when project gets to 90% completion (i know this based on the project ... | 0 | [
2,
98,
7582,
1411,
107,
42,
275,
26,
284,
2314,
800,
3726,
3726,
797,
114,
14209,
98,
7582,
4345,
42,
2776,
275,
26,
284,
2314,
13,
5,
62,
9,
263,
9,
13,
1,
21756,
6,
60,
35,
14,
688,
15,
48,
25,
14,
1411,
31,
275,
45,
163... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Viewing more than 10,000 files on a FTP file server?
===
I've queued up over 10,000 files to be uploaded to a UNIX based FTP server using a freeware (Windows based) FTP client which as far as i can see has finished without error.
Now, when i view the remote directory (using the Windows software) the output is trunc... | 0 | [
2,
11244,
91,
119,
6693,
6488,
27,
21,
1187,
306,
3893,
8128,
60,
800,
3726,
3726,
31,
22,
195,
22521,
43,
71,
84,
6693,
6488,
20,
44,
23782,
20,
21,
22540,
432,
1187,
306,
8128,
568,
21,
551,
5011,
13,
5,
27508,
18,
432,
6,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How useful is NSObject's isMemberOfClass: method?
===
Here's a small test program I wrote:
#import <Foundation/Foundation.h>
int main(int argc, char **argv) {
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSArray *arr = [NSArray array];
printf("Arr isMemberOfCl... | 0 | [
2,
184,
4811,
25,
13,
2172,
23793,
22,
18,
25,
6990,
1041,
1898,
45,
2109,
60,
800,
3726,
3726,
235,
22,
18,
21,
284,
1289,
625,
31,
738,
45,
6926,
1660,
1993,
13,
1,
12235,
857,
118,
12235,
857,
9,
252,
1,
19,
38,
407,
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... |
Dynamically construct querystring behaviour in IE and FF / Chrome
===
This code
function LoadContent(Id) {
alert('Controls/Network/NetworkDetail.aspx?' + rnd() + '&CtlId=' + Id);
$.get('Controls/Network/NetworkDetail.aspx?' + rnd() + '&CtlId=' + Id, function(data) {
$(... | 0 | [
2,
7782,
1326,
6960,
25597,
11130,
7727,
19,
13,
660,
17,
13,
2460,
13,
118,
13,
12985,
800,
3726,
3726,
48,
1797,
1990,
6305,
25424,
5,
1340,
6,
13,
1,
7863,
5,
22,
12898,
18,
118,
24106,
118,
24106,
546,
8682,
9,
472,
306,
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... |
Where should I start drawing? (Java,GUI)
===
I have the points by the end of the GenerateButton class but now that I got my public double[][] matrix with all the points in, where do I begin drawing them???
my Main.java:
import java.awt.*;
import javax.swing.*;
public class Main {
public static Display dis... | 0 | [
2,
113,
378,
31,
799,
3533,
60,
13,
5,
1004,
1385,
15,
7215,
6,
800,
3726,
3726,
31,
57,
14,
819,
34,
14,
241,
16,
14,
7920,
811,
444,
718,
47,
130,
30,
31,
330,
51,
317,
1494,
2558,
500,
2558,
500,
8187,
29,
65,
14,
819,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 LINQ how do I have a grouping by a "calculated field"
===
I am using LINQ to EF and have the following LINQ query:
var results = (from x in ctx.Items
group x by x.Year into decades
orderby decades.Count() descending
select new { Decade = decades.... | 0 | [
2,
568,
6294,
1251,
184,
107,
31,
57,
21,
19288,
34,
21,
13,
7,
16304,
13045,
575,
7,
800,
3726,
3726,
31,
589,
568,
6294,
1251,
20,
11599,
17,
57,
14,
249,
6294,
1251,
25597,
45,
4033,
1736,
800,
13,
5,
2665,
993,
19,
13,
481... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can someone explain source (versioning) control to me?
===
I've never worked on a professional project with a team, as I'm still in high school. As a consequence, I've never been exposed to this whole "versioning" and "source control" thing. Are they the same? How exactly does a program that manages code manage code? ... | 0 | [
2,
92,
737,
3271,
1267,
13,
5,
10898,
68,
6,
569,
20,
55,
60,
800,
3726,
3726,
31,
22,
195,
243,
577,
27,
21,
736,
669,
29,
21,
173,
15,
28,
31,
22,
79,
174,
19,
183,
116,
9,
28,
21,
9348,
15,
31,
22,
195,
243,
74,
5043,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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++ continuous integration with performance metrics
===
I want to set up a continuous integration and test framework for my open source C++ project. The desired features are:
1. check out the source code
2. run all the unit and other tests
3. run performance tests (these measure the software quali... | 0 | [
2,
272,
20512,
6357,
8078,
29,
956,
11544,
18,
800,
3726,
3726,
31,
259,
20,
309,
71,
21,
6357,
8078,
17,
1289,
6596,
26,
51,
368,
1267,
272,
20512,
669,
9,
14,
9264,
967,
50,
45,
137,
9,
2631,
70,
14,
1267,
1797,
172,
9,
485,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Terminology used for language and culture-aware software
===
I have always thought that the terms "internationalization" and "localization" (and their funny abbreviations i18n and l10n) were universally accepted and used for talking about software which is aware of language and cultural differences. But I recently rea... | 0 | [
2,
20513,
147,
26,
816,
17,
1365,
8,
58,
5011,
2306,
800,
3726,
3726,
31,
57,
550,
289,
30,
14,
1663,
13,
7,
16386,
1829,
7,
17,
13,
7,
15580,
1829,
7,
13,
5,
290,
66,
5066,
5941,
3692,
1755,
7504,
31,
1087,
103,
17,
644,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Limit Depth of a Generic Stack?
===
Is there a built in way to limit the depth of a System.Generics.Stack? So that if you are at max capacity, pushing a new element would remove the bottom of the stack?
I know I can do it by converting to an array and rebuilding the stack, but I figured there's probably a method on... | 0 | [
2,
4496,
5204,
16,
21,
12733,
7566,
60,
800,
3726,
3726,
25,
80,
21,
392,
19,
161,
20,
4496,
14,
5204,
16,
21,
329,
9,
17083,
8354,
9,
25325,
60,
86,
30,
100,
42,
50,
35,
2049,
2301,
15,
5076,
21,
78,
4520,
83,
4681,
14,
212... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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#, add references manually
===
Is there anyway I can make the process of adding references to C# projects less painfull?
Every time I create a new C# class library project. I have to use the Add Reference dialog for 5 times at least. | 0 | [
2,
272,
5910,
15,
3547,
7231,
23671,
800,
3726,
3726,
25,
80,
2774,
31,
92,
233,
14,
953,
16,
4721,
7231,
20,
272,
5910,
2314,
787,
9383,
255,
60,
352,
85,
31,
1600,
21,
78,
272,
5910,
718,
1248,
669,
9,
31,
57,
20,
275,
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,
0,
0,
0,
0,
0,
0,
0,
0... |
div tags-on and off
===
Should be super simple for you guys...div one gets clicked, div two appears. What I don't know how to do is make div 2 go away when div one is clicked again.
<img src="/..." width="" height"" onClick="MM_showHideLayers('logo','','show','logoEasterEgg','',show')">
What should I add to ... | 0 | [
2,
13,
12916,
3383,
18,
8,
218,
17,
168,
800,
3726,
3726,
378,
44,
1026,
1935,
26,
42,
2776,
9,
9,
9,
12916,
53,
3049,
15802,
15,
13,
12916,
81,
1780,
9,
98,
31,
221,
22,
38,
143,
184,
20,
107,
25,
233,
13,
12916,
172,
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... |
How can I make the Python logging output to be colored?
===
Some time ago I saw a Mono application with colored output, probably because of it's log system, because all the messages were standardized.
Now, Python has the logging module, and it let you specify a lot of options or customize it entirely, so I'm imagin... | 0 | [
2,
184,
92,
31,
233,
14,
20059,
13,
13919,
5196,
20,
44,
10133,
60,
800,
3726,
3726,
109,
85,
1464,
31,
441,
21,
4129,
3010,
29,
10133,
5196,
15,
910,
185,
16,
32,
22,
18,
6738,
329,
15,
185,
65,
14,
7561,
46,
19009,
9,
130,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Entity Framework - how do I use the entity associations?
===
When I have tables in my database that have PK/FK relationships (int) and when they are modeled by the Entity Framework designer everything seems as it should be. I can write the code below and everything seems like it's going to work fine as well but then ... | 0 | [
2,
9252,
6596,
13,
8,
184,
107,
31,
275,
14,
9252,
10642,
60,
800,
3726,
3726,
76,
31,
57,
7484,
19,
51,
6018,
30,
57,
13,
17244,
118,
410,
197,
5833,
13,
5,
6391,
6,
17,
76,
59,
50,
16822,
34,
14,
9252,
6596,
4742,
796,
220... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.net MVC Baffling RunTime Error
===
The following code:
<% foreach (var product in ViewData.Model) { %>
<%= Html.RenderPartial("~/Views/Shared/ProductSummary.ascx",product)%>
<% } %>
Throws an httpCompileException with the following detail:
The best overloaded method match for '... | 2 | [
2,
28,
306,
9,
2328,
307,
8990,
334,
6752,
802,
485,
891,
7019,
800,
3726,
3726,
14,
249,
1797,
45,
13,
1,
11881,
26,
14322,
13,
5,
3311,
2374,
19,
1418,
18768,
9,
13998,
6,
13,
1,
13,
11881,
1,
13,
1,
11881,
3726,
13,
15895,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.