unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Is there a way for reading/writing serializable objects to a RandomAccesFile?
===
How can I read/write serializable object instances to a RandomAccessFile in Java? I want to be able to do this the same way you do it in c++ through structs. In java only InputStreams/OutputStreamscan can read/Write objects. I am amaze... | 0 | [
2,
25,
80,
21,
161,
26,
1876,
118,
12646,
5956,
3186,
579,
3916,
20,
21,
5477,
1738,
5052,
16877,
60,
800,
3726,
3726,
184,
92,
31,
1302,
118,
23716,
5956,
3186,
579,
3095,
13946,
20,
21,
5477,
20604,
16877,
19,
8247,
60,
31,
259,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 JavaScript events are available to WebKit on Android?
===
I'm building a mobile web app targeting Android users. I need to know what JavaScript events are available to me. I have been able to make the following work, but not terribly reliably:
- click
- mouseover
- mousedown
- mouseup
- change
I ha... | 0 | [
2,
98,
8247,
8741,
963,
50,
904,
20,
2741,
13703,
27,
13005,
60,
800,
3726,
3726,
31,
22,
79,
353,
21,
3241,
2741,
4865,
15972,
13005,
3878,
9,
31,
376,
20,
143,
98,
8247,
8741,
963,
50,
904,
20,
55,
9,
31,
57,
74,
777,
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... |
When is a function to long?
===
35 lines, 55 lines, 100 lines, 300 lines? When you should start to break it apart? I'm asking because I have a function with 60 lines (including comments) and was thinking about breaking it apart.
long_function(){ ... }
into:
small_function_1(){...}
small_function_... | 0 | [
2,
76,
25,
21,
1990,
20,
175,
60,
800,
3726,
3726,
2694,
1560,
15,
5330,
1560,
15,
808,
1560,
15,
3565,
1560,
60,
76,
42,
378,
799,
20,
1442,
32,
2629,
60,
31,
22,
79,
3379,
185,
31,
57,
21,
1990,
29,
2083,
1560,
13,
5,
3970... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Verifying that memory has been initialized in C
===
I've written an API that requires a context to be initialized and thereafter passed into every API call. The caller allocates the memory for the context, and then passes it to the init function with other parameters that describe how they want later API calls to beha... | 0 | [
2,
21012,
68,
30,
1912,
63,
74,
2104,
1333,
19,
272,
800,
3726,
3726,
31,
22,
195,
642,
40,
21,
2159,
30,
4781,
21,
4141,
20,
44,
2104,
1333,
17,
6045,
1100,
77,
352,
21,
2159,
645,
9,
14,
21326,
65,
2499,
7759,
14,
1912,
26,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Pluralize - Singularize
===
Is there any algorithm in c# to singularize - pluralize a word (in english) or does exist a .net library to do this (may be also in different languages)? | 0 | [
2,
13981,
2952,
13,
8,
12217,
2952,
800,
3726,
3726,
25,
80,
186,
9083,
19,
272,
5910,
20,
12217,
2952,
13,
8,
13981,
2952,
21,
833,
13,
5,
108,
486,
6,
54,
630,
3182,
21,
13,
9,
2328,
1248,
20,
107,
48,
13,
5,
3904,
44,
67,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Why should I use "Web 2.0"-style URLs?
===
In short, why use something like `http://stackoverflow.com/badges/6/supporter` instead of something "simpler" (and subjectively, at that) like `http://stackoverflow.com/badges/6/`.
Even on my own site I've just been using /post/6/ to reference posts (by IDs, even though I ... | 0 | [
2,
483,
378,
31,
275,
13,
7,
14113,
172,
9,
387,
7,
8,
4381,
13,
911,
7532,
60,
800,
3726,
3726,
19,
502,
15,
483,
275,
301,
101,
13,
1,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
5989,
5133,
118,
12626,
24168,
106,
1,
700,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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't paste java source file into intellij idea
===
I recently moved to intellij idea.
And I need to add several files to one of the packages in my project.
The problem is I couldn't paste these files into that package. I also tried pasting the files in explorer and pressing F5 in intellij idea, but it did not wo... | 0 | [
2,
92,
22,
38,
640,
62,
8247,
1267,
3893,
77,
19,
4213,
9999,
882,
800,
3726,
3726,
31,
1989,
385,
20,
19,
4213,
9999,
882,
9,
17,
31,
376,
20,
3547,
238,
6488,
20,
53,
16,
14,
16875,
19,
51,
669,
9,
14,
1448,
25,
31,
711,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Design pattern suitable for the task, gentlemen
===
I have a requirement to save an image file in various formats.
The list of formats is subject to change quite often, so I wish the saving would be very extensible.
Also, the saving can take place in many places (hard disk, ftp, http, etc). The list of saving *locat... | 0 | [
2,
704,
3732,
6445,
26,
14,
3005,
15,
12521,
800,
3726,
3726,
31,
57,
21,
8981,
20,
2079,
40,
1961,
3893,
19,
617,
13767,
9,
14,
968,
16,
13767,
25,
1550,
20,
753,
1450,
478,
15,
86,
31,
2536,
14,
7599,
83,
44,
253,
1396,
8710... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Filtering list objects from another list
===
I have the following class in my C# .NET 3.5 win forms app:
class Field {
string objectName;
string objectType;
string fieldName;
string fieldValue;
}
and a List<Field> fieldList that is a datasource for a checkedlistbo... | 0 | [
2,
25272,
968,
3916,
37,
226,
968,
800,
3726,
3726,
31,
57,
14,
249,
718,
19,
51,
272,
5910,
13,
9,
2328,
203,
9,
264,
628,
1997,
4865,
45,
718,
575,
13,
1,
3724,
3095,
7259,
73,
3724,
3095,
4474,
73,
3724,
575,
7259,
73,
3724... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Operator overload
===
class test {
public:
test &operator=(const test & other){} // 1
const test & operator+(const test& other) const {} // 2
const test & operator+(int m) {} //3
private:
int n;
};
int main()
{
test t1 , t2, t3;
// ... | 0 | [
2,
6022,
84,
8294,
800,
3726,
3726,
718,
1289,
13,
1,
317,
45,
1289,
279,
9477,
3457,
3726,
5,
12124,
38,
1289,
279,
89,
6,
1,
12894,
137,
11608,
38,
1289,
279,
6022,
2430,
5,
12124,
38,
1289,
1569,
89,
6,
11608,
38,
13,
1,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
determine platform Qt application is running on at runtime
===
Is there a (Qt) way to determine the platform a Qt application is running on at runtime? | 0 | [
2,
3746,
2452,
2593,
38,
3010,
25,
946,
27,
35,
485,
891,
800,
3726,
3726,
25,
80,
21,
13,
5,
1251,
38,
6,
161,
20,
3746,
14,
2452,
21,
2593,
38,
3010,
25,
946,
27,
35,
485,
891,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Is it necessary to dispose System.Timers.Timer if you use one in your application?
===
I am using System.Timers.Timer class in one of the classes in my application.
I know that Timer class has Dispose method inherited from the parent Component class that implements IDisposable interface.
Instances of the class below... | 0 | [
2,
25,
32,
2378,
20,
17913,
329,
9,
891,
1224,
9,
891,
139,
100,
42,
275,
53,
19,
154,
3010,
60,
800,
3726,
3726,
31,
589,
568,
329,
9,
891,
1224,
9,
891,
139,
718,
19,
53,
16,
14,
2684,
19,
51,
3010,
9,
31,
143,
30,
85,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java library for converting XML to syntax colored HTML
===
I have a Java string of XML content. I use Velocity to generate some HTML reports, and this XML needs to be included into one of those HTML files. It would be nice if this XML is syntax colored and formatted. Does anyone know of a Java library to do this? | 0 | [
2,
8247,
1248,
26,
19583,
23504,
20,
22649,
10133,
13,
15895,
800,
3726,
3726,
31,
57,
21,
8247,
3724,
16,
23504,
2331,
9,
31,
275,
10700,
20,
7920,
109,
13,
15895,
2813,
15,
17,
48,
23504,
2274,
20,
44,
506,
77,
53,
16,
273,
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... |
Lockless list help!
===
Hi im trying to write a lockless list i got the adding part working it think but the code that extracts objects from the list does not work to good :(
Well the list is not a normal list.. i have the Interface IWorkItem
interface IWorkItem
{
DateTime ExecuteTime { get; }
... | 0 | [
2,
3991,
923,
968,
448,
187,
800,
3726,
3726,
4148,
797,
749,
20,
2757,
21,
3991,
923,
968,
31,
330,
14,
4721,
141,
638,
32,
277,
47,
14,
1797,
30,
10962,
18,
3916,
37,
14,
968,
630,
52,
170,
20,
254,
13,
45,
5,
134,
14,
968... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Spring Application context from a non bean object without using Singleton
===
I need to get the spring application context from a non bean object. In another thread in SO, the accepted answer suggests to use singleton to get the application context.
[Getting Spring Application Context][1]
But using single... | 0 | [
2,
1017,
1573,
3010,
4141,
37,
21,
538,
15322,
3095,
366,
568,
345,
444,
800,
3726,
3726,
31,
376,
20,
164,
14,
1573,
3010,
4141,
37,
21,
538,
15322,
3095,
9,
19,
226,
9322,
19,
86,
15,
14,
2217,
1623,
5049,
20,
275,
345,
444,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 an alternative to MKS Yacc that supports "selection preference syntax" or something very similar?
===
MKS Yacc supports a notation which their web site calls "[selection preference syntax][1]". It isn't illustrated, but it consists of a token in square brackets, optionally with a caret, and it indicates that... | 0 | [
2,
25,
80,
40,
2676,
20,
10804,
18,
2167,
3384,
30,
6747,
13,
7,
18,
5033,
9808,
22649,
7,
54,
301,
253,
835,
60,
800,
3726,
3726,
10804,
18,
2167,
3384,
6747,
21,
15591,
56,
66,
2741,
689,
3029,
13,
7,
2558,
18,
5033,
9808,
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 fast or lightweight Is Protocol Buffer?
===
Is Protocol Buffer for .NET gonna be lightweight/faster than Remoting(the SerializationFormat.Binary)? Will there be a first class support for it in language/framework terms? i.e. is it handled transparently like with Remoting/WebServices? | 0 | [
2,
184,
1512,
54,
13613,
25,
8494,
17497,
60,
800,
3726,
3726,
25,
8494,
17497,
26,
13,
9,
2328,
5172,
44,
13613,
118,
13088,
106,
119,
302,
7662,
68,
5,
124,
5956,
1829,
23588,
9,
4772,
1857,
6,
60,
129,
80,
44,
21,
64,
718,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Make double-precision default in g77, Fortran compiler
===
Is there an analog of the "-fdefault-real-8" gfortran (the GNU Fortran 95 compiler) option in g77 (the GNU Fortran 77 compiler)? This option sets the default real type to an 8-byte wide type.
I currently have code where single-precision arithmetic is limit... | 0 | [
2,
233,
1494,
8,
3515,
7654,
872,
12838,
19,
489,
4536,
15,
26,
17685,
21486,
800,
3726,
3726,
25,
80,
40,
11523,
16,
14,
13,
7,
8,
410,
13862,
9708,
8,
7467,
8,
457,
7,
489,
6469,
2195,
13,
5,
124,
26092,
26,
17685,
7969,
214... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Server Reporting Services Default Values From Query not working in deployed report
===
In order to populate a textbox in a page header I am setting up a parameter (as you cannot use Fields) and referencing this in the textbox. The parameter has the Default Value set to "From Query" and the Dataset and Value Field ... | 0 | [
2,
4444,
255,
8128,
6670,
687,
12838,
4070,
37,
25597,
52,
638,
19,
6698,
1330,
800,
3726,
3726,
19,
389,
20,
1675,
12383,
21,
1854,
5309,
19,
21,
2478,
157,
106,
31,
589,
2697,
71,
21,
18906,
13,
5,
472,
42,
1967,
275,
2861,
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... |
SVG Word Wrap - Show stopper?
===
For fun I am trying to see how far I can get at implementing an SVG browser client for a RIA I'm messing around with in my spare time.
But have hit what appears to be a HUGE stumbling block. There is no word wrap!!
Does anyone know of any work around (I'm thinking some kind of J... | 0 | [
2,
13,
18,
22955,
833,
8118,
13,
8,
298,
747,
1432,
60,
800,
3726,
3726,
26,
2414,
31,
589,
749,
20,
196,
184,
463,
31,
92,
164,
35,
17333,
40,
13,
18,
22955,
16495,
6819,
26,
21,
13,
2548,
31,
22,
79,
3957,
68,
140,
29,
19,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why isn't my EventHandler firing? (Asp.Net C#)
===
I am programatically making some LinkButtons, and they worked fine for a while, but now the events aren't firing and I can't figure out why?
This is what makes the button:
protected void MakeUploadButton(attachment a, PlaceHolder ph)
{
LinkButt... | 0 | [
2,
483,
2532,
22,
38,
51,
807,
3203,
1252,
7139,
60,
13,
5,
472,
306,
9,
2328,
272,
5910,
6,
800,
3726,
3726,
31,
589,
625,
721,
8438,
544,
109,
3508,
811,
444,
18,
15,
17,
59,
577,
1123,
26,
21,
133,
15,
47,
130,
14,
963,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 update report in access with bound dataset automatically?
===
I have a single entry output from a paradox table which is imported into Access. Now I have created a report and done the databinding within the report to the dataset from Paradox. When work is done in Paradox the single entry output changes...
Ho... | 0 | [
2,
184,
20,
11100,
1330,
19,
1381,
29,
4138,
1054,
3554,
7499,
60,
800,
3726,
3726,
31,
57,
21,
345,
2792,
5196,
37,
21,
17342,
859,
56,
25,
11808,
77,
1381,
9,
130,
31,
57,
679,
21,
1330,
17,
677,
14,
1054,
22260,
363,
14,
13... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
static_cast<int>(foo) vs. (int)foo
===
Could somebody please elaborate on the differences? | 0 | [
2,
12038,
1,
6146,
1,
6391,
1,
5,
4120,
111,
6,
4611,
9,
13,
5,
6391,
6,
4120,
111,
800,
3726,
3726,
110,
8861,
2247,
7541,
27,
14,
4921,
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... | [
1,
1,
1,
1,
1,
1,
1,
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... |
Linq - what locale/collation it uses to compare objects?
===
When I call a Linq (not Linq-for-SQL, just simple in-memory Linq) - what locale it uses to compare objects, and how can I affect it?
E.g.
string[] a = { "a", "b", ... };
string max = a.Max();
What locale is used here - current, invariant? ... | 0 | [
2,
6294,
1251,
13,
8,
98,
375,
62,
118,
20410,
857,
32,
2027,
20,
11590,
3916,
60,
800,
3726,
3726,
76,
31,
645,
21,
6294,
1251,
13,
5,
1270,
6294,
1251,
8,
1106,
8,
18,
22402,
15,
114,
1935,
19,
8,
790,
5171,
93,
6294,
1251,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 escape special HTML characters in JSP?
===
Before I go and create a custom tag or Java method to do it, what is the standard way to escape HTML characters in JSP?
I have a String object and I want to display it in the HTML so that it appears to the user as is.
For example:
String a = "Hello < Wo... | 0 | [
2,
184,
92,
31,
2220,
621,
13,
15895,
1766,
19,
487,
3401,
60,
800,
3726,
3726,
115,
31,
162,
17,
1600,
21,
5816,
3383,
54,
8247,
2109,
20,
107,
32,
15,
98,
25,
14,
1236,
161,
20,
2220,
13,
15895,
1766,
19,
487,
3401,
60,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Changing the browser preference from javascript
===
I am using JavaScript,No I have Problem of Cookie, If The Browser has set the disable the all cookies, The Cookie get Rejected.Is there any code to set the Enable Cookie option instead the manual option,I need it for IE,Mozilla, Firefox ,Opera and chrome?.any idea? | 0 | [
2,
4226,
14,
16495,
9808,
37,
8247,
8741,
800,
3726,
3726,
31,
589,
568,
8247,
8741,
15,
251,
31,
57,
1448,
16,
19980,
15,
100,
14,
16495,
63,
309,
14,
1460,
579,
14,
65,
19396,
15,
14,
19980,
164,
4682,
9,
403,
80,
186,
1797,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Comparison of .NET Validation Frameworks
===
I was searching for a validation framework for .NET. I saw a few, but I didn't see any comparisons. Which one do you prefer to use, and why? | 0 | [
2,
6050,
16,
13,
9,
2328,
27999,
6596,
18,
800,
3726,
3726,
31,
23,
5792,
26,
21,
27999,
6596,
26,
13,
9,
2328,
9,
31,
441,
21,
310,
15,
47,
31,
223,
22,
38,
196,
186,
6050,
18,
9,
56,
53,
107,
42,
6369,
20,
275,
15,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Copy an object in Java
===
I have an object that I need to copy in Java. I need to create a copy and run some tests on it without changing the original object itself.
I assumed that I needed to use the clone() method, but this is protected. Having done some research on the net, I can see that this can be overrided ... | 0 | [
2,
4344,
40,
3095,
19,
8247,
800,
3726,
3726,
31,
57,
40,
3095,
30,
31,
376,
20,
4344,
19,
8247,
9,
31,
376,
20,
1600,
21,
4344,
17,
485,
109,
4894,
27,
32,
366,
4226,
14,
501,
3095,
1145,
9,
31,
3632,
30,
31,
851,
20,
275,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Separate decode/encode interfaces or in one interface
===
I'm creating an implementation that performs conversion from one form to another.
The design problem I am facing now is whether the Encoder and Decoder API should be in one interface or in separate ones. e.g. Apache MINA uses [separate interfaces][1]
I am... | 0 | [
2,
1725,
121,
9375,
118,
219,
9375,
6573,
18,
54,
19,
53,
6573,
800,
3726,
3726,
31,
22,
79,
2936,
40,
6123,
30,
11563,
6263,
37,
53,
505,
20,
226,
9,
14,
704,
1448,
31,
589,
4325,
130,
25,
1472,
14,
20523,
139,
17,
12015,
115... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Converting UTF-8 to Ansi using C++Bulder 5
===
The title says it all | 0 | [
2,
19583,
287,
11720,
8,
457,
20,
40,
18,
49,
568,
272,
20512,
9077,
1157,
331,
800,
3726,
3726,
14,
581,
898,
32,
65,
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... | [
1,
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,
0... |
Can I use CreateFile, but force the handle into a std::ofstream?
===
Is there any way to take advantage of the file creation flags in the Win32 API such as `FILE_FLAG_DELETE_ON_CLOSE` or `FILE_FLAG_WRITE_THROUGH` as described here [http://msdn.microsoft.com/en-us/library/aa363858(VS.85).aspx][1] , but then force that ... | 0 | [
2,
92,
31,
275,
1600,
16877,
15,
47,
558,
14,
3053,
77,
21,
354,
43,
45,
45,
1041,
11260,
60,
800,
3726,
3726,
25,
80,
186,
161,
20,
247,
3314,
16,
14,
3893,
2502,
9318,
19,
14,
628,
3125,
21,
2159,
145,
28,
13,
1,
16877,
1,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What steps make up your web development process and how much time does each phase take?
===
Let's say you work 100 days on a project. How many days would each phase of your process (requirements analysis, specification, etc.) take?
I'm interested also in the ratio of specific activities in every phase, such as writ... | 0 | [
2,
98,
2382,
233,
71,
154,
2741,
522,
953,
17,
184,
212,
85,
630,
206,
2702,
247,
60,
800,
3726,
3726,
408,
22,
18,
395,
42,
170,
808,
509,
27,
21,
669,
9,
184,
151,
509,
83,
206,
2702,
16,
154,
953,
13,
5,
99,
3003,
99,
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... |
Why would Cint("1") fail?
===
I'm attempting to deploy a WinForms app in a Citrix environment. It's been working reliably for some time on other physical and virtual machines, but it's failing, only when running the application on a Citrix desktop.
The failures are typically where we have mixed-type data as string... | 0 | [
2,
483,
83,
13,
4484,
38,
5,
7,
165,
7,
6,
7476,
60,
800,
3726,
3726,
31,
22,
79,
6314,
20,
17617,
21,
628,
4190,
18,
4865,
19,
21,
5486,
17224,
2307,
9,
32,
22,
18,
74,
638,
13,
19003,
4801,
26,
109,
85,
27,
89,
1825,
17,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python - why use "self" in a class?
===
How do these 2 classes differ?
class A():
x=3
class B():
def __init__(self):
self.x=3
Is there any significant difference? | 0 | [
2,
20059,
13,
8,
483,
275,
13,
7,
8411,
7,
19,
21,
718,
60,
800,
3726,
3726,
184,
107,
158,
172,
2684,
11394,
60,
718,
21,
5,
6,
45,
993,
3726,
240,
718,
334,
5,
6,
45,
6312,
13,
1,
108,
242,
1,
5,
8411,
6,
45,
1119,
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,
0,
0,
0,
0,
0... |
map (key ,value)
===
I need a collection that stores entries as key-value pairs (so I can look up values by a key), but I need one that allows multiple values to share the same key using hibernate | 0 | [
2,
2942,
13,
5,
4237,
13,
15,
15165,
6,
800,
3726,
3726,
31,
376,
21,
1206,
30,
4134,
11399,
28,
1246,
8,
15165,
7473,
13,
5,
656,
31,
92,
361,
71,
4070,
34,
21,
1246,
6,
15,
47,
31,
376,
53,
30,
2965,
1886,
4070,
20,
1891,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Sql server Database Suspected marked ?
===
My sql server marked one database as suspected , on checking i found my mdf,ldf files are missing, but no errors on chkdsk, what it means some virus ? | 0 | [
2,
4444,
255,
8128,
6018,
5867,
2739,
13,
60,
800,
3726,
3726,
51,
4444,
255,
8128,
2739,
53,
6018,
28,
5867,
13,
15,
27,
9886,
31,
216,
51,
307,
8736,
15,
255,
8736,
6488,
50,
2863,
15,
47,
90,
11908,
27,
6193,
197,
43,
3656,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Will this lead to a memory leak in C++?
===
I have a C++ memory management doubt, that's (obviously) related to references and pointers. Suppose I have a class `Class` with a method `my_method`:
OtherClass& Class::my_method( ... ) {
OtherClass* other_object = new OtherClass( ... );
return *oth... | 0 | [
2,
129,
48,
672,
20,
21,
1912,
11724,
19,
272,
20512,
60,
800,
3726,
3726,
31,
57,
21,
272,
20512,
1912,
1097,
3063,
15,
30,
22,
18,
13,
5,
4995,
710,
18190,
6,
1597,
20,
7231,
17,
454,
445,
9,
5787,
31,
57,
21,
718,
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... |
Which are the required C3P0 settings for hibernate in order to avoid Deadlocks
===
I use Hibernate together with MySQL 5.1.30.
I have the next libraries:
- **c3p0-0.0.1.2.jar**
- **mysql-connector-java-5.0.3-bin.jar**
- **hibernate3.jar**
I use a hibernate.cfg.xml for configuration:
<!DOCTYP... | 0 | [
2,
56,
50,
14,
1390,
272,
240,
306,
387,
12410,
26,
4148,
2102,
8820,
19,
389,
20,
2658,
828,
3966,
18,
800,
3726,
3726,
31,
275,
4148,
2102,
8820,
429,
29,
51,
18,
22402,
331,
9,
165,
9,
1762,
9,
31,
57,
14,
328,
8649,
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... |
iPhone Development - My application crashes when i change the orientation.
===
I'm bumping into this problem where my application gets `EXC_BAD_ACCESS` error and stucks. I'm using "Rotate Left" & "Rotate Right" options of simulator to simulate the behavior. What can be the possible reasons for this error? Since i'm no... | 0 | [
2,
21024,
522,
13,
8,
51,
3010,
21563,
76,
31,
753,
14,
10245,
9,
800,
3726,
3726,
31,
22,
79,
9797,
68,
77,
48,
1448,
113,
51,
3010,
3049,
13,
1,
1706,
150,
1,
5989,
1,
20604,
1,
7019,
17,
4549,
18,
9,
31,
22,
79,
568,
13... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Would there be any point in designing a CPU that could handle IL directly?
===
If I understand this correctly:
Current CPU developing companies like AMD and Intel have their own API codes (the assembly language) as what they see as the 2G language on top of the Machine code (1G language)
Would it be possible or... | 0 | [
2,
83,
80,
44,
186,
454,
19,
15026,
21,
17578,
30,
110,
3053,
6317,
1703,
60,
800,
3726,
3726,
100,
31,
1369,
48,
12044,
45,
866,
17578,
3561,
1532,
101,
589,
43,
17,
14635,
57,
66,
258,
21,
2159,
11358,
13,
5,
124,
1475,
816,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
python IPC for Vista UAC
===
I am writing a Filemanager in (wx)python - a lot already works. When copying files there is already a progress dialog, overwrite handling etc.
Now in Vista when the user wants to copy a file to certain directories (eg %Program Files%) the application/script needs elevation, which cannot... | 0 | [
2,
20059,
31,
5779,
26,
13520,
287,
1738,
800,
3726,
3726,
31,
589,
1174,
21,
3893,
22256,
19,
13,
5,
499,
396,
6,
6448,
11570,
13,
8,
21,
865,
614,
693,
9,
76,
4344,
68,
6488,
80,
25,
614,
21,
3455,
28223,
15,
84,
23716,
7988... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 differnce between web application and website in asp.net?
===
What is the difference between web application and website in asp.net?
and if it have a difference which best in development?
thanks in advance .. | 0 | [
2,
98,
25,
14,
11394,
6175,
128,
2741,
3010,
17,
2271,
19,
28,
306,
9,
2328,
60,
800,
3726,
3726,
98,
25,
14,
2841,
128,
2741,
3010,
17,
2271,
19,
28,
306,
9,
2328,
60,
17,
100,
32,
57,
21,
2841,
56,
246,
19,
522,
60,
3669,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to determine wether a Language is LL(1) LR(0) SLR(1)
===
Is there a simple way to determine wether a language is LL1, LR0, SLR1... just from looking on the grammar without doing any complex analysis?
For instance: To decide wether a BNF Grammar is LL1 you have to calculate First and Follow sets first - which ca... | 0 | [
2,
184,
20,
3746,
13,
28342,
21,
816,
25,
13,
211,
5,
165,
6,
13,
12988,
5,
387,
6,
13,
18,
12988,
5,
165,
6,
800,
3726,
3726,
25,
80,
21,
1935,
161,
20,
3746,
13,
28342,
21,
816,
25,
13,
211,
165,
15,
13,
12988,
387,
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... |
ADO.NET Entities Framework Performance Tips Every Developer Should Know
===
What are the performance tips that every ADO.NET EF developers should know about?
Please put each tip per answer and explain why the tip is good (e.g. by minimizing DB roundtrips). | 0 | [
2,
21,
537,
9,
2328,
12549,
6596,
956,
11034,
352,
10058,
378,
143,
800,
3726,
3726,
98,
50,
14,
956,
11034,
30,
352,
21,
537,
9,
2328,
11599,
10168,
378,
143,
88,
60,
2247,
442,
206,
4265,
416,
1623,
17,
3271,
483,
14,
4265,
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... |
Mercurial: multiline commit message on the command line?
===
How can I specify a multiline commit message for mercurial on the command line?
hg commit -m "* add foo\n* fix bar"
does not work. The log shows:
changeset: 13:f2c6526e5911
tag: tip
date: Fri Jan 23 23:22:36 2009 ... | 0 | [
2,
9046,
3594,
192,
45,
1889,
1143,
9686,
2802,
27,
14,
1202,
293,
60,
800,
3726,
3726,
184,
92,
31,
19077,
21,
1889,
1143,
9686,
2802,
26,
9046,
3594,
192,
27,
14,
1202,
293,
60,
13,
18187,
9686,
13,
8,
79,
13,
7,
2483,
3547,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to load digital signals from a USB port into memory?
===
My friend is working on a project in which he needs to get some digital signals into a computer to display/manipulate them.
So I advised him to insert those signals into a USB port due to it's popularity (because the device (which outputs the signals) and... | 0 | [
2,
184,
20,
6305,
1888,
7616,
37,
21,
182,
220,
1295,
77,
1912,
60,
800,
3726,
3726,
51,
860,
25,
638,
27,
21,
669,
19,
56,
24,
2274,
20,
164,
109,
1888,
7616,
77,
21,
1428,
20,
3042,
118,
177,
4307,
12383,
105,
9,
86,
31,
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... |
ASP.NET DataGrid and custom paging
===
I'm trying to implement a DataGrid in ASP.NET, and want to achieve custom paging so that I don't have to provide all the data in one go. I've spent several hours researching on the internet, but haven't found anything useful.
When I view the page I see the first set of results... | 0 | [
2,
28,
306,
9,
2328,
1054,
16375,
17,
5816,
19006,
68,
800,
3726,
3726,
31,
22,
79,
749,
20,
8713,
21,
1054,
16375,
19,
28,
306,
9,
2328,
15,
17,
259,
20,
4689,
5816,
19006,
68,
86,
30,
31,
221,
22,
38,
57,
20,
1181,
65,
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... |
Specifying a root node of FormPanel.form.load for dynamic forms
===
I'm building a dynamic ExtJS form based on JSON data loaded from an ASP.NET web service. The problem I find is that ExtJS expects the JSON in a specific format, ie.
{ "metaData": { "title": "Testing" }, "data": [], "success": true }
When us... | 0 | [
2,
19077,
68,
21,
5900,
15421,
16,
505,
3206,
532,
9,
4190,
9,
8294,
26,
7782,
1997,
800,
3726,
3726,
31,
22,
79,
353,
21,
7782,
1396,
38,
728,
18,
505,
432,
27,
487,
528,
1054,
8572,
37,
40,
28,
306,
9,
2328,
2741,
365,
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... |
Render markup on-the-fly or store html?
===
Any advice what has worked for you when dealing with user-entered markup, e.g. wiki or markdown. I have both CPU & database space costs, so I'm not sure which way to go.
1. Store markup in database & render to
html on the server for each pageview. (Less database spa... | 0 | [
2,
16535,
943,
576,
27,
8,
124,
8,
9700,
54,
1718,
13,
15895,
60,
800,
3726,
3726,
186,
4978,
98,
63,
577,
26,
42,
76,
5746,
29,
4155,
8,
23753,
943,
576,
15,
13,
62,
9,
263,
9,
13,
17375,
54,
943,
2968,
9,
31,
57,
156,
17... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Performance of enum conversion
===
after a bit speedtracing I found a piece of code (called very very often) which converts values of one enum to values of another enum, like this:
public Enum2 ConvertToEnum2(Enum1 enum1)
{
switch(enum1)
{
case Enum1.One:
return Enu... | 0 | [
2,
956,
16,
1957,
723,
6263,
800,
3726,
3726,
75,
21,
1142,
1362,
1939,
6302,
31,
216,
21,
1855,
16,
1797,
13,
5,
4580,
253,
253,
478,
6,
56,
8406,
18,
4070,
16,
53,
1957,
723,
20,
4070,
16,
226,
1957,
723,
15,
101,
48,
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... |
Php By Reference
===
Can someone please explain what the "&" does in the following:
class TEST {
}
$abc =& new TEST();
I know it is by reference. But can someone illustrate why and when I would need such a thing? Or point me to a url where this is explained well. I am unable to grasp the concept.
Thank ... | 0 | [
2,
13,
26120,
34,
2801,
800,
3726,
3726,
92,
737,
2247,
3271,
98,
14,
13,
7,
1569,
7,
630,
19,
14,
249,
45,
718,
1289,
13,
1,
13,
1,
5579,
21880,
800,
1569,
78,
1289,
5,
6,
73,
31,
143,
32,
25,
34,
2801,
9,
47,
92,
737,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL joining a few count(*) group by selections
===
I have the following table containing the winning numbers of 6/49 lottery.
+-----+------------+----+----+----+----+----+----+-------+
| id | draw | n1 | n2 | n3 | n4 | n5 | n6 | bonus |
+-----+------------+----+----+----+----+----+----+------... | 0 | [
2,
4444,
255,
3765,
21,
310,
2468,
5,
2483,
6,
214,
34,
3155,
18,
800,
3726,
3726,
31,
57,
14,
249,
859,
3503,
14,
1414,
2116,
16,
13,
12626,
3624,
17518,
9,
2754,
8,
8,
8,
8,
8,
2430,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Django: QuerySet order by method
===
Let's say I have the following model:
class Contest:
title = models.CharField( max_length = 200 )
description = models.TextField()
class Image:
title = models.CharField( max_length = 200 )
description = models.TextField()
c... | 0 | [
2,
3857,
14541,
45,
25597,
3554,
389,
34,
2109,
800,
3726,
3726,
408,
22,
18,
395,
31,
57,
14,
249,
1061,
45,
718,
3013,
45,
581,
800,
2761,
9,
5433,
1109,
5,
2049,
1,
6325,
800,
2327,
13,
6,
5318,
800,
2761,
9,
11969,
1109,
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... |
WPF databinding: database or objects?
===
Im trying to create this:
Tag1 has the erdered list of objects O1, O3, O2
Tag2 has the erdered list of objects O1, O4
Every time I click a tag, I want to see the list of objects. So clicking Tag1 would show in a listbox:
O1
O3
O2
But I would like to **keep t... | 0 | [
2,
619,
7721,
1054,
22260,
45,
6018,
54,
3916,
60,
800,
3726,
3726,
797,
749,
20,
1600,
48,
45,
3383,
165,
63,
14,
13,
106,
1157,
69,
968,
16,
3916,
635,
165,
15,
635,
240,
15,
635,
135,
3383,
135,
63,
14,
13,
106,
1157,
69,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should you use accessor properties from within the class, or just from outside of the class?
===
I have a class 'Data' that uses a getter to access some array. If the array is null, then I want Data to access the file, fill up the array, and then return the specific value.
Now here's my question:
When creating... | 0 | [
2,
378,
42,
275,
1381,
248,
3704,
37,
363,
14,
718,
15,
54,
114,
37,
719,
16,
14,
718,
60,
800,
3726,
3726,
31,
57,
21,
718,
13,
22,
18768,
22,
30,
2027,
21,
164,
815,
20,
1381,
109,
7718,
9,
100,
14,
7718,
25,
16203,
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... |
C# - On classes and memory
===
I'm fairly new to C# but I will **try** to make this quick! ;)
This is just a theoretical situation, but imagine that:
**I)** One have a class 'ClassA' with a 'ClassB' inside it and a 'ClassC' inside of 'ClassB'.
**II)** ClassA have a method which gets called. The method itself ... | 0 | [
2,
272,
5910,
13,
8,
27,
2684,
17,
1912,
800,
3726,
3726,
31,
22,
79,
6647,
78,
20,
272,
5910,
47,
31,
129,
13,
1409,
5840,
1409,
20,
233,
48,
2231,
187,
13,
73,
6,
48,
25,
114,
21,
9482,
1858,
15,
47,
4382,
30,
45,
13,
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... |
Is there a way to call an unmanaged (not COM) dll from C# application?
===
Is there a way to use (reference) a DLL written in an unmanaged C++ (not a COM library) in my C# application?
When I try to reference it from within Visual Studio, I get 'not a COM object' error message.
Maybe there is some kind of transl... | 0 | [
2,
25,
80,
21,
161,
20,
645,
40,
367,
177,
8030,
13,
5,
1270,
13,
960,
6,
13,
43,
211,
37,
272,
5910,
3010,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
275,
13,
5,
28018,
6,
21,
13,
43,
211,
642,
19,
40,
367,
177,
8030,
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... |
Using MasterPages inheritance
===
I'm very new to ASP.NET, help me please understand MasterPages conception more.
I have Site.master with common header data (css, meta, etc), center form (blank) and footer (copyright info, contact us link, etc).
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Site.... | 0 | [
2,
568,
1129,
6486,
18,
13852,
800,
3726,
3726,
31,
22,
79,
253,
78,
20,
28,
306,
9,
2328,
15,
448,
55,
2247,
1369,
1129,
6486,
18,
13315,
91,
9,
31,
57,
689,
9,
4594,
29,
757,
157,
106,
1054,
13,
5,
6824,
18,
15,
7618,
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... |
What do you suggest on how to stop counter for the same IP in .NET ?
===
As you see on the question, what is your advice about stoping counter for the same ip ? | 0 | [
2,
98,
107,
42,
5601,
27,
184,
20,
747,
2105,
26,
14,
205,
15735,
19,
13,
9,
2328,
13,
60,
800,
3726,
3726,
28,
42,
196,
27,
14,
1301,
15,
98,
25,
154,
4978,
88,
747,
68,
2105,
26,
14,
205,
15735,
13,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
ASP.NET MVC - adding action filters programmatically
===
I've been doing a bit of research regarding action filters and wondered if there was a way to add them programmatically to controllers??
To give some context, I'd like to add a logging filter if logging is configured in the web.config, otherwise I don't want ... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
13,
8,
4721,
1028,
21062,
625,
6732,
1326,
800,
3726,
3726,
31,
22,
195,
74,
845,
21,
1142,
16,
527,
3467,
1028,
21062,
17,
3519,
100,
80,
23,
21,
161,
20,
3547,
105,
625,
6732,
1326,
20,
9919,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 best: separate databases or an extra "code" table?
===
I have a database designed to hold card data from various trading card games. Up to this point, there has only been one card game I've been tracking, but I'm using an attribute table since not all attributes apply to every card.
I'm now expanding into m... | 0 | [
2,
98,
25,
246,
45,
1725,
6018,
18,
54,
40,
2230,
13,
7,
9375,
7,
859,
60,
800,
3726,
3726,
31,
57,
21,
6018,
1006,
20,
1027,
2056,
1054,
37,
617,
5205,
2056,
466,
9,
71,
20,
48,
454,
15,
80,
63,
104,
74,
53,
2056,
250,
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... |
C# TWAIN interaction
===
I'm trying to set up a C# application which uses TWAIN example from
http://www.codeproject.com/KB/dotnet/twaindotnet.aspx
This works fine except that I need to cast Form to `IMessageFilter` and
call
`IMessageFilter.PreFilterMessage()`
to catch TWAIN callbacks.
Also I need to sta... | 0 | [
2,
272,
5910,
25682,
7754,
800,
3726,
3726,
31,
22,
79,
749,
20,
309,
71,
21,
272,
5910,
3010,
56,
2027,
25682,
823,
37,
7775,
6903,
6483,
9,
9375,
21011,
9,
960,
118,
18167,
118,
12527,
2328,
118,
38,
16767,
12527,
2328,
9,
472,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
A Question about the .NET garbage collector when cyclic references exist
===
I'm aware that the .net garbage collector detects cyclic references but I was wondering whether cyclic references may cause objects to stay longer than necessary.
I have a cyclic reference in my ASP.NET app (an intended one for performance... | 0 | [
2,
21,
1301,
88,
14,
13,
9,
2328,
15024,
10836,
76,
13,
15888,
7231,
3182,
800,
3726,
3726,
31,
22,
79,
3854,
30,
14,
13,
9,
2328,
15024,
10836,
9092,
18,
13,
15888,
7231,
47,
31,
23,
5712,
1472,
13,
15888,
7231,
123,
1679,
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... |
QueryObject Include Entity Framework
===
I have three tables: Scenarios, Components and Blocks. Blocks has a foreign key to ComponentId and Components has a foreign key to Scenarios.
Blocks also has a foreign key (TreeStructureId) to another table TreeStructures.
Now, why does this work:
ObjectQuery<Block... | 3 | [
2,
25597,
23793,
468,
9252,
6596,
800,
3726,
3726,
31,
57,
132,
7484,
45,
19611,
15,
5090,
17,
5198,
9,
5198,
63,
21,
1228,
1246,
20,
5912,
1340,
17,
5090,
63,
21,
1228,
1246,
20,
19611,
9,
5198,
67,
63,
21,
1228,
1246,
13,
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... |
Extracting Album art from MP3 files using TagLib - Is there a better way write this code?
===
I'm using Visual Basic 9 (VS2008) and TagLib.
The following code extracts the album art from an MP3 file and displays it in a PictureBox.
Is there a better way to write this code?
Dim file As TagLib.File = Tag... | 0 | [
2,
10962,
68,
244,
415,
37,
4628,
240,
6488,
568,
3383,
8326,
13,
8,
25,
80,
21,
574,
161,
2757,
48,
1797,
60,
800,
3726,
3726,
31,
22,
79,
568,
3458,
2125,
561,
13,
5,
710,
18,
2753,
6,
17,
3383,
8326,
9,
14,
249,
1797,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I convert string to datetime with format specification in JavaScript?
===
How can I convert a string to a date time object in javascript by specifying a format string?
I am looking for something like:
var dateTime = convertToDateTime("23.11.2009 12:34:56", "dd.MM.yyyy HH:mm:ss"); | 0 | [
2,
184,
92,
31,
8406,
3724,
20,
1231,
891,
29,
2595,
14177,
19,
8247,
8741,
60,
800,
3726,
3726,
184,
92,
31,
8406,
21,
3724,
20,
21,
1231,
85,
3095,
19,
8247,
8741,
34,
19077,
68,
21,
2595,
3724,
60,
31,
589,
699,
26,
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 the freaking idea behind GridView in ASP.NET
===
I have confusion about GridView in ASP.NET. Have u know this how exactly GridView works?
I mean when we bind data to gridview with 100 records through GridView1.DataBind(); and i have set **Pageindexchanging** Event and i set the **Pagesize = "40"** and **Allo... | 0 | [
2,
98,
25,
14,
15066,
882,
439,
7354,
4725,
19,
28,
306,
9,
2328,
800,
3726,
3726,
31,
57,
5677,
88,
7354,
4725,
19,
28,
306,
9,
2328,
9,
57,
287,
143,
48,
184,
1890,
7354,
4725,
693,
60,
31,
884,
76,
95,
10193,
1054,
20,
73... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Scala Programming for Android
===
I have followed the tutorial at [Scala and Android][1] with Scala 1.7.3 final. The resulting Android App works but even the most basic application takes several minutes (!) to compile and needs 900 kb compressed, which is a show stopper for mobile applications. Additionally, the IDE r... | 0 | [
2,
25975,
3143,
26,
13005,
800,
3726,
3726,
31,
57,
709,
14,
29724,
35,
636,
18,
3430,
58,
17,
13005,
500,
2558,
165,
500,
29,
25975,
137,
9,
465,
9,
240,
426,
9,
14,
2927,
13005,
4865,
693,
47,
166,
14,
127,
2125,
3010,
1384,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I update a small field in a big SQL table if another field in the same row is changed by an external process?
===
I'd like to call Update ... Set ... Where ... to update a field as soon as that evil ERP process is changing the value of another.
I'm running MS SQL. | 0 | [
2,
184,
92,
31,
11100,
21,
284,
575,
19,
21,
580,
4444,
255,
859,
100,
226,
575,
19,
14,
205,
3131,
25,
1015,
34,
40,
4886,
953,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
645,
11100,
13,
9,
9,
9,
309,
13,
9,
9,
9,
113,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to retrieve <T> from wcf service?
===
I'm currently working on a wcf service that does some lookups in a database and return the data to the client. The user has entered an id of something he wants to see in a textbox. This could be a client-id, a product-id, an order-id or whatever. The lookup method on the serve... | 0 | [
2,
184,
20,
11917,
13,
1,
38,
1,
37,
11801,
410,
365,
60,
800,
3726,
3726,
31,
22,
79,
871,
638,
27,
21,
11801,
410,
365,
30,
630,
109,
361,
15699,
19,
21,
6018,
17,
788,
14,
1054,
20,
14,
6819,
9,
14,
4155,
63,
1297,
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... |
The OLE way of doing drag&drop in wxPython
===
I have wxPython app which is running on MS Windows and I'd like it to support drag&drop between its instances (so the user opens my app 3 times and drags data from one instance to another).
The simple drag&drop in wxPython works that way:
1. **User initiates drag**... | 0 | [
2,
14,
12116,
161,
16,
845,
5501,
1569,
12361,
19,
619,
396,
6448,
11570,
800,
3726,
3726,
31,
57,
619,
396,
6448,
11570,
4865,
56,
25,
946,
27,
4235,
1936,
17,
31,
22,
43,
101,
32,
20,
555,
5501,
1569,
12361,
128,
82,
13946,
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... |
Windows window docking
===
I'm wondering how to dock / snap a window to the side of the screen in Windows, preferably with straight Win32 API. The effect I'm looking for is like the task bar -- a window that has a reserved space on screen, so that maximizing another window makes that window take up the rest of the scr... | 0 | [
2,
1936,
1463,
6120,
68,
800,
3726,
3726,
31,
22,
79,
5712,
184,
20,
6120,
13,
118,
6877,
21,
1463,
20,
14,
270,
16,
14,
2324,
19,
1936,
15,
6369,
4801,
29,
1599,
628,
3125,
21,
2159,
9,
14,
1590,
31,
22,
79,
699,
26,
25,
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... |
Nant or MSBuild, which one to choose and when?
===
I am aware there are other nant and msbuild related questions on stack overflow, but I could not find a direct comparison between the two and so here is the question.
When should one choose Nant over MSBuild? Which one is better for what?
Is Nant more suitable for... | 0 | [
2,
13,
11028,
54,
4235,
29361,
15,
56,
53,
20,
3538,
17,
76,
60,
800,
3726,
3726,
31,
589,
3854,
80,
50,
89,
13,
11028,
17,
4235,
29361,
1597,
2346,
27,
7566,
20285,
15,
47,
31,
110,
52,
477,
21,
1744,
6050,
128,
14,
81,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you post the contents of form to the page in which it is?
===
In Yahoo or Google and in many websites when you fill up a form and if your form has any errors it gets redirected to the same page.
Note that the data in the form remains as it is. I mean the data in the text fields remains the same.
I tried &lsaq... | 0 | [
2,
184,
107,
42,
678,
14,
8478,
16,
505,
20,
14,
2478,
19,
56,
32,
25,
60,
800,
3726,
3726,
19,
23553,
54,
8144,
17,
19,
151,
13931,
76,
42,
3509,
71,
21,
505,
17,
100,
154,
505,
63,
186,
11908,
32,
3049,
302,
14147,
20,
14,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Regex to pull out C/C++ function prototype declarations?
===
I'm somewhere on the learning curve when it comes to regular expressions, and I need to use them to automatically modify function prototypes in a bunch of C headers. Does anyone know of a decent regular expression to find any and all function prototypes in ... | 0 | [
2,
7953,
1706,
20,
2201,
70,
272,
118,
150,
20512,
1990,
7063,
7098,
18,
60,
800,
3726,
3726,
31,
22,
79,
3493,
27,
14,
2477,
7101,
76,
32,
1624,
20,
1290,
13832,
15,
17,
31,
376,
20,
275,
105,
20,
7499,
17579,
1990,
7063,
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... |
how can I program in ASP.net using PHP like methods
===
I am a PHP programmer and I want to develop a website using visual web developer .net
I knew that asp.net has many different approaches in dealing with database. However, I am familer with PHP way in programming for example:
$query = "select * from table ... | 0 | [
2,
184,
92,
31,
625,
19,
28,
306,
9,
2328,
568,
13,
26120,
101,
3195,
800,
3726,
3726,
31,
589,
21,
13,
26120,
17968,
17,
31,
259,
20,
2803,
21,
2271,
568,
3458,
2741,
10058,
13,
9,
2328,
31,
404,
30,
28,
306,
9,
2328,
63,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I manually enter my credentials in SQL Server management Studio 2008 when using Windows Authentication ?
===
Usually, when using Windows Authentication, the software (eg Internet Explorer) tries to use Windows Authentication, and if it doesn't succeed (because the domain is untrusted, or because the credential... | 0 | [
2,
184,
92,
31,
23671,
2830,
51,
5059,
43,
10107,
18,
19,
4444,
255,
8128,
1097,
1120,
570,
76,
568,
1936,
27963,
13,
60,
800,
3726,
3726,
951,
15,
76,
568,
1936,
27963,
15,
14,
2306,
13,
5,
5431,
2620,
8520,
6,
3919,
20,
275,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery- Call function when textarea wraps to a new line?
===
I'd like to increase the height of a textarea when the text wraps to a new line, so it dynamically expands to whatever it needs to be. I don't want to use the onscroll event because I want the expansion to always be one step ahead of the scrolling, so the te... | 0 | [
2,
487,
8190,
93,
8,
645,
1990,
76,
1854,
17760,
8118,
18,
20,
21,
78,
293,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
1839,
14,
2947,
16,
21,
1854,
17760,
76,
14,
1854,
8118,
18,
20,
21,
78,
293,
15,
86,
32,
7782,
1326,
6073... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Two way client server network communication
===
I am looking at building a client server application in C# using winforms or WPF. The client application must be a local application because it has to interact with specialised hardware.
The architecture I'm looking for is the client connects to a server port using T... | 0 | [
2,
81,
161,
6819,
8128,
982,
3291,
800,
3726,
3726,
31,
589,
699,
35,
353,
21,
6819,
8128,
3010,
19,
272,
5910,
568,
628,
4190,
18,
54,
619,
7721,
9,
14,
6819,
3010,
491,
44,
21,
375,
3010,
185,
32,
63,
20,
10001,
29,
20195,
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... |
What is the precision of long double in C++?
===
Does anyone know how to find out the precision of `long double` on a specific platform? I appear to be losing precision after 17 decimal digits, which is the same as when I just use `double`. I would expect to get more, since `double` is represented with 8 bytes on m... | 0 | [
2,
98,
25,
14,
13133,
16,
175,
1494,
19,
272,
20512,
60,
800,
3726,
3726,
630,
1276,
143,
184,
20,
477,
70,
14,
13133,
16,
13,
1,
2701,
1494,
1,
27,
21,
1903,
2452,
60,
31,
1893,
20,
44,
2281,
13133,
75,
369,
26380,
19076,
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... |
if exists statement in sql to linq
===
What is the linq equivalent of the following statement ?
IF NOT EXISTS(SELECT UserName FROM Users WHERE UserName='michael')
BEGIN
INSERT INTO Users (UserName) values ('michael');
END
also can you suggest any sql-to-linq converters? I am currently using LI... | 0 | [
2,
100,
5636,
3331,
19,
4444,
255,
20,
6294,
1251,
800,
3726,
3726,
98,
25,
14,
6294,
1251,
4602,
16,
14,
249,
3331,
13,
60,
100,
52,
5636,
5,
18,
16964,
4155,
7259,
37,
3878,
113,
4155,
7259,
3726,
22,
16590,
22,
6,
2348,
14692... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are the best practices for returning errors from functions?
===
I usually do something like the example below when I need to return error messages from a function, if no errors occur I just return an empyty string. Is this best practice, or are there alternatve ways of returning error messages from functions?
... | 0 | [
2,
98,
50,
14,
246,
5242,
26,
2485,
11908,
37,
3719,
60,
800,
3726,
3726,
31,
951,
107,
301,
101,
14,
823,
1021,
76,
31,
376,
20,
788,
7019,
7561,
37,
21,
1990,
15,
100,
90,
11908,
3744,
31,
114,
788,
40,
16453,
93,
1084,
3724... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Javascript syntax of new object
===
Yesterday I found this function:
function clone(obj) {
return typeof obj === 'undefined' ?
this : (clone.prototype = Object(obj), new clone);
}
I though that i saw alot in Javascript, but this syntax is unknown for me:
clone.prototype = O... | 0 | [
2,
8247,
8741,
22649,
16,
78,
3095,
800,
3726,
3726,
7124,
31,
216,
48,
1990,
45,
1990,
13871,
5,
111,
11741,
6,
13,
1,
788,
1001,
1041,
5122,
728,
800,
3726,
3726,
13,
22,
1020,
13439,
22,
13,
60,
48,
13,
45,
13,
5,
150,
1628... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mpirun on os X
===
Is there a way to run a local mpi job locally on os X leopard(10.5.6) with more than 62 processes. When I run the job with 62 processes, it dies
$mpirun -np 62 a.out
mpirun noticed that job rank 0 with PID 0 on node Macintosh-001D4F4BC6BC.private exited on signal 15 (Terminated).
... | 0 | [
2,
4628,
49,
3169,
27,
13,
759,
993,
800,
3726,
3726,
25,
80,
21,
161,
20,
485,
21,
375,
4628,
49,
1205,
6680,
27,
13,
759,
993,
15446,
5,
1036,
9,
264,
9,
379,
6,
29,
91,
119,
6565,
5102,
9,
76,
31,
485,
14,
1205,
29,
656... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Very Advanced Javascript WYSIWYG editor
===
I need a solution where a user could enter the URL of a web page in my system. The page would load, and then the user could click a certain section that he wants to change. So basically what I need is, a way to display a web page inside my app (could possibly be dong with f... | 0 | [
2,
253,
2255,
8247,
8741,
5809,
18,
49,
7913,
263,
1835,
800,
3726,
3726,
31,
376,
21,
4295,
113,
21,
4155,
110,
2830,
14,
287,
6362,
16,
21,
2741,
2478,
19,
51,
329,
9,
14,
2478,
83,
6305,
15,
17,
94,
14,
4155,
110,
10840,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to update a Lucene.NET index?
===
I'm developing a Desktop Search Engine in Visual Basic 9 (VS2008) using Lucene.NET (v2.0).
I use the following code to initialize the IndexWriter
Private writer As IndexWriter
writer = New IndexWriter(indexDirectory, New StandardAnalyzer(), False)
w... | 0 | [
2,
184,
20,
11100,
21,
18515,
556,
9,
2328,
4348,
60,
800,
3726,
3726,
31,
22,
79,
3561,
21,
17404,
2122,
1406,
19,
3458,
2125,
561,
13,
5,
710,
18,
2753,
6,
568,
18515,
556,
9,
2328,
13,
5,
710,
135,
9,
387,
6,
9,
31,
275,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Import to the same Subversion repository directory multiple times?
===
For a number of reasons, the canonical source of some files I have can't be a working copy of the repository (the Subversion server is behind an inaccessible firewall, and the data doesn't natively exist in the file system in my preferred structure... | 0 | [
2,
9010,
20,
14,
205,
972,
10898,
24869,
16755,
1886,
436,
60,
800,
3726,
3726,
26,
21,
234,
16,
2932,
15,
14,
5742,
4272,
1267,
16,
109,
6488,
31,
57,
92,
22,
38,
44,
21,
638,
4344,
16,
14,
24869,
13,
5,
124,
972,
10898,
8128... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Check wherever WordprocessingDocument is empty
===
How to check from WordprocessingDocument wherever word document is empty? | 0 | [
2,
2631,
12680,
833,
16835,
68,
28132,
25,
2424,
800,
3726,
3726,
184,
20,
2631,
37,
833,
16835,
68,
28132,
12680,
833,
4492,
25,
2424,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Best serialization library for .net with ability to deserialize inheritance correctly
===
I need a serialization library for .net with better features than the default xml serializer.
The problem is that it is not polymorphic - say you have class B : A { }, and have serialized an type B, you should be able to call ... | 0 | [
2,
246,
5956,
1829,
1248,
26,
13,
9,
2328,
29,
2165,
20,
1746,
106,
2815,
2952,
13852,
12044,
800,
3726,
3726,
31,
376,
21,
5956,
1829,
1248,
26,
13,
9,
2328,
29,
574,
967,
119,
14,
12838,
23504,
5956,
11907,
9,
14,
1448,
25,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Scenarios where automated testing is unhelpful
===
What are some situations where unit testing and TDD and the like are more trouble than they're worth?
Some things I've come up with are:
* When generating test data is tricky: Sometimes, being able to come up with valid, non trivial test data is a challenge in i... | 0 | [
2,
19611,
113,
14904,
4431,
25,
367,
14593,
1566,
800,
3726,
3726,
98,
50,
109,
8329,
113,
1237,
4431,
17,
15596,
43,
17,
14,
101,
50,
91,
2572,
119,
59,
22,
99,
2715,
60,
109,
564,
31,
22,
195,
340,
71,
29,
50,
45,
1637,
76,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to properly overload the << operator for an ostream?
===
I am writing a small matrix library in C++ for matrix operations. However my compiler complaints, where before it did not. This code was left on a shelf for 6 months and in between I upgraded my computer from debian etch to lenny (g++ (Debian 4.3.2-1.1) 4.3.... | 0 | [
2,
184,
20,
7428,
84,
8294,
14,
13,
1,
6022,
26,
40,
635,
11260,
60,
800,
3726,
3726,
31,
589,
1174,
21,
284,
8187,
1248,
19,
272,
20512,
26,
8187,
1311,
9,
207,
51,
21486,
11707,
15,
113,
115,
32,
144,
52,
9,
48,
1797,
23,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
beep in WinCE , it posible ?
===
is it posible to make beep in WinCE ?
i try and i get an error | 0 | [
2,
22899,
19,
26818,
13,
15,
32,
12928,
3426,
13,
60,
800,
3726,
3726,
25,
32,
12928,
3426,
20,
233,
22899,
19,
26818,
13,
60,
31,
1131,
17,
31,
164,
40,
7019,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
iPhone image distortion
===
Are there any reasons why the simulator will display UIImageViews properly, but incorrectly on the iPhone?
My Process:
An image in a PNG file
Start a UIGraphicsBeginImageContext()
Draw the PNG in a CGrect
Draw text in the CGRect
Create an UIImage from the context
Set the image of ... | 0 | [
2,
21024,
1961,
20353,
800,
3726,
3726,
50,
80,
186,
2932,
483,
14,
24565,
129,
3042,
13,
5661,
22039,
4725,
18,
7428,
15,
47,
22870,
27,
14,
21024,
60,
51,
953,
45,
40,
1961,
19,
21,
351,
2723,
3893,
799,
21,
13,
5661,
12084,
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... |
SQL to mySQL converter
===
Hai Techies,
I have some stored procedure which was written in SQL server.Now i want to migrate this to mysql.Is there any freeware tools which can do this for me. | 0 | [
2,
4444,
255,
20,
51,
18,
22402,
25893,
800,
3726,
3726,
8349,
6145,
1596,
15,
31,
57,
109,
8214,
7004,
56,
23,
642,
19,
4444,
255,
8128,
9,
1387,
31,
259,
20,
22985,
48,
20,
51,
18,
22402,
9,
403,
80,
186,
551,
5011,
4672,
56... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Do all voice-to-text algorithms operate in real-time?
===
Do all voice-to-text algorithms of current technology operate in real-time? I don't mean with a person sitting at a computer with a microphone, but rather inputing a pre-recorded audio file.
i.e. If you have a 30 minute voice recording, will it always take 3... | 0 | [
2,
107,
65,
430,
8,
262,
8,
11969,
15935,
4055,
19,
683,
8,
891,
60,
800,
3726,
3726,
107,
65,
430,
8,
262,
8,
11969,
15935,
16,
866,
1099,
4055,
19,
683,
8,
891,
60,
31,
221,
22,
38,
884,
29,
21,
840,
1805,
35,
21,
1428,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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++ Why is this vector access giving a Runtime Error?
===
I've singled out a runtime error on this line of my code:
for (synsAuxCopyIndex=1; synsAuxCopyIndex<synsAux.size(); synsAuxCopyIndex++)
Which is runnhing inside the `pushSynonyms(string synline, vector<WordInfo> &wordInfoVector)` function. I don't ge... | 0 | [
2,
272,
20512,
483,
25,
48,
7497,
1381,
1438,
21,
485,
891,
7019,
60,
800,
3726,
3726,
31,
22,
195,
345,
43,
70,
21,
485,
891,
7019,
27,
48,
293,
16,
51,
1797,
45,
26,
13,
5,
9507,
18,
8061,
19625,
25671,
3726,
165,
73,
6063,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Qt Creator - Opinions and Thoughts
===
I'm looking for some feedback from anyone that has had a chance to spend some time using Troll Tech's new IDE, [Qt Creator][1]. It's in public beta at this point, so there might not be many using it just yet. But, I think any 3rd party feedback might be useful.
Also, if you d... | 4 | [
2,
2593,
38,
9247,
13,
8,
11900,
17,
3064,
800,
3726,
3726,
31,
22,
79,
699,
26,
109,
13111,
37,
1276,
30,
63,
41,
21,
1504,
20,
3256,
109,
85,
568,
12782,
6145,
22,
18,
78,
13,
3448,
15,
636,
1251,
38,
9247,
500,
2558,
165,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Trimming Mako output
===
I really like the Mako templating system that's used in Pylons and a couple other Python frameworks, and my only complaint is how much WS leaks through even a simple inheritance scheme.
Is there anyway to accomplish below, without creating such huge WS gaps... or packing my code in like I s... | 0 | [
2,
8971,
3863,
1216,
921,
5196,
800,
3726,
3726,
31,
510,
101,
14,
1216,
921,
13,
9577,
255,
1880,
329,
30,
22,
18,
147,
19,
29262,
18,
17,
21,
1335,
89,
20059,
6596,
18,
15,
17,
51,
104,
13170,
25,
184,
212,
619,
18,
11724,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to write a nice Low-Pass-Filter in Scala
===
I needed a Low-Pass-Filter in one of my Scala projects and came up with this:
def filter(numbers: Seq[Double], filterSize: Int): Seq[Double] = {
assert(filterSize > 0)
val ringBuffer = new Array[Double](filterSize)
var ringBufferIndex = 0
... | 0 | [
2,
184,
20,
2757,
21,
2210,
708,
8,
6201,
8,
11924,
815,
19,
25975,
800,
3726,
3726,
31,
851,
21,
708,
8,
6201,
8,
11924,
815,
19,
53,
16,
51,
25975,
2314,
17,
281,
71,
29,
48,
45,
6312,
11945,
5,
16299,
18,
45,
13,
18,
1855... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
[R] Converting a localized date of the form 12-okt-2007
===
I have imported a time series with dates of the following format:
test = c("11-Feb-01","12-Feb-01","01-Mai-08")
This yields:
> as.Date(test, "%d-%b-%y")
[1] NA NA "2008-05-01"
Since, May was translated it obviousl... | 0 | [
2,
636,
139,
500,
19583,
21,
24821,
1231,
16,
14,
505,
390,
8,
3085,
38,
8,
2727,
800,
3726,
3726,
31,
57,
11808,
21,
85,
231,
29,
4076,
16,
14,
249,
2595,
45,
1289,
800,
272,
5,
7,
1306,
8,
3739,
220,
8,
3026,
7,
15,
7,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.