unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
can i use bdb(berkeley db) file created by c implementation by oracle berkeley db java edition?
===
I have a berkeley db file (*.bdb) which is created by the most widely used C implementation. Is it possible to read this file by a pure java implementation of Berkeley Db? I tried to read it using berkeley db java editi... | 0 | [
2,
92,
31,
275,
334,
9007,
5,
15371,
62,
631,
13,
9007,
6,
3893,
679,
34,
272,
6123,
34,
15759,
8039,
13,
9007,
8247,
1322,
60,
800,
3726,
3726,
31,
57,
21,
8039,
13,
9007,
3893,
13,
5,
2483,
9,
220,
9007,
6,
56,
25,
679,
34... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you mock classes that use RAII in c++
===
Here's my issue, I'd like to mock a class that creates a thread at initialization and closes it at destruction. There's no reason for my mock class to actually create and close threads. But, to mock a class, I have inherit from it. When I create a new instance of my ... | 0 | [
2,
184,
107,
42,
10506,
2684,
30,
275,
6623,
49,
19,
272,
20512,
800,
3726,
3726,
235,
22,
18,
51,
1513,
15,
31,
22,
43,
101,
20,
10506,
21,
718,
30,
9695,
21,
9322,
35,
2104,
1829,
17,
543,
18,
32,
35,
5203,
9,
80,
22,
18,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can require_once be used with symbolic links?
===
On a CentOS LAMP box, trying to get require_once to work inside a script in PHP5. If the file to be included is not a in symlinked directory, it works fine, but if the file to be required is in a directory found via a symbolic link, it fails to find it.
Is this a li... | 0 | [
2,
92,
4077,
1,
13120,
44,
147,
29,
12882,
6271,
60,
800,
3726,
3726,
27,
21,
5802,
759,
6792,
1649,
15,
749,
20,
164,
4077,
1,
13120,
20,
170,
572,
21,
3884,
19,
13,
26120,
264,
9,
100,
14,
3893,
20,
44,
506,
25,
52,
21,
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... |
Type casting a char string to its underlying data type.
===
I have a string(char*), and i need to find its underlying datatype such as int, float, double, short, long, or just a character array containing alphabets with or with out digits(like varchar in SQL).
For ex:
char* str1 = "12312"
char* s... | 0 | [
2,
1001,
9087,
21,
4892,
3724,
20,
82,
10974,
1054,
1001,
9,
800,
3726,
3726,
31,
57,
21,
3724,
5,
5433,
2483,
6,
15,
17,
31,
376,
20,
477,
82,
10974,
1054,
4474,
145,
28,
19,
38,
15,
11510,
15,
1494,
15,
502,
15,
175,
15,
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... |
Why would waveOutWrite() cause an exception in the debug heap?
===
While researching this issue, I found multiple mentions of the following scenario online, invariably as unanswered questions on programming forums. I hope that posting this here will at least serve to document my findings.
First, the symptom: While... | 0 | [
2,
483,
83,
2367,
1320,
23716,
5,
6,
1679,
40,
5391,
19,
14,
121,
16254,
15414,
60,
800,
3726,
3726,
133,
527,
68,
48,
1513,
15,
31,
216,
1886,
10292,
16,
14,
249,
12705,
2087,
15,
27913,
28,
29920,
2346,
27,
3143,
5691,
18,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
linq to xml in F#
===
How can i use linq to xml in F# to extract all the < a > tags in a website.
can someone point me in the right direction ? | 0 | [
2,
6294,
1251,
20,
23504,
19,
398,
5910,
800,
3726,
3726,
184,
92,
31,
275,
6294,
1251,
20,
23504,
19,
398,
5910,
20,
10962,
65,
14,
13,
1,
21,
13,
1,
3383,
18,
19,
21,
2271,
9,
92,
737,
454,
55,
19,
14,
193,
1400,
13,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
what would be the impediments to creating an "Europanto" type universal scripting language?
===
After switching back and forth between several scripting languages this week, I found myself thinking how similar they all are. Yet I'm always reaching for Google (or nowadays SO) to remember details like what the local ... | 0 | [
2,
98,
83,
44,
14,
5420,
69,
49,
6601,
20,
2936,
40,
13,
7,
62,
6521,
3206,
262,
7,
1001,
4172,
3884,
68,
816,
60,
800,
3726,
3726,
75,
13027,
97,
17,
5882,
128,
238,
3884,
68,
2556,
48,
877,
15,
31,
216,
992,
1440,
184,
835... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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: Large archive file editor, file mapping
===
I'm writing an editor software for large archive files (4GB+), in native+managed C++.
For accessing the files, I'm using file mapping like any sane person. This is absolutely great for reading data, but a problem arises in actually editing the archive.
File mappi... | 0 | [
2,
704,
45,
370,
9250,
3893,
1835,
15,
3893,
13305,
800,
3726,
3726,
31,
22,
79,
1174,
40,
1835,
2306,
26,
370,
9250,
6488,
13,
5,
300,
11400,
2430,
6,
15,
19,
1275,
2430,
177,
8030,
272,
20512,
9,
26,
1381,
68,
14,
6488,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I gain root access on a Macintosh OSX system without wiping the OS?
===
My father died recently and I've inherited his Mac. I'd love to put it to use in my own life but I don't want to wipe its brains out just so I can reconfigure it to use in my network, etc. His old files are historically important to me -... | 0 | [
2,
184,
92,
31,
3288,
5900,
1381,
27,
21,
24024,
13,
759,
396,
329,
366,
16740,
14,
13,
759,
60,
800,
3726,
3726,
51,
321,
440,
1989,
17,
31,
22,
195,
7179,
33,
1572,
9,
31,
22,
43,
339,
20,
442,
32,
20,
275,
19,
51,
258,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
shared library problems on linux
===
I'm trying to compile/link a **very** old piece of software on a linux system and I can't for some reason link with a shared library that's installed on my system.
I get the following error from the linker:
/usr/bin/ld: cannot find -lXaw
However, the lib itself is inst... | 0 | [
2,
2592,
1248,
1716,
27,
13024,
800,
3726,
3726,
31,
22,
79,
749,
20,
26561,
118,
6258,
21,
13,
1409,
7864,
1409,
315,
1855,
16,
2306,
27,
21,
13024,
329,
17,
31,
92,
22,
38,
26,
109,
1215,
3508,
29,
21,
2592,
1248,
30,
22,
18... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
I can't connect to my server over the internet
===
I can run the server on my local machine and connect to it on the same machine, but when i try to connect to it from a different computer over the internet, there is not sign of activity on my server, nor a response from the server on the computer im testing on.
Ive ... | 0 | [
2,
31,
92,
22,
38,
6379,
20,
51,
8128,
84,
14,
2620,
800,
3726,
3726,
31,
92,
485,
14,
8128,
27,
51,
375,
1940,
17,
6379,
20,
32,
27,
14,
205,
1940,
15,
47,
76,
31,
1131,
20,
6379,
20,
32,
37,
21,
421,
1428,
84,
14,
2620,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hidden folder copied during unit test run on VS2008
===
I've found that when running a VS2008 unit test that a hidden .svn subversion folder is copied under the Out folder that the unit test creates. This is because I've labeled a Resources folder in my unit test as "Additional File and Folder to deploy." Anybody know... | 0 | [
2,
3689,
19294,
18225,
112,
1237,
1289,
485,
27,
4611,
2753,
800,
3726,
3726,
31,
22,
195,
216,
30,
76,
946,
21,
4611,
2753,
1237,
1289,
30,
21,
3689,
13,
9,
18,
16578,
972,
10898,
19294,
25,
18225,
131,
14,
70,
19294,
30,
14,
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... |
Open Source Software using jQuery
===
I'm looking for some open source software projects that I can reference to get more depth in my knowledge of programming jQuery. Can you please recommend projects that make heavy use of the jQuery library.
| 0 | [
2,
368,
1267,
2306,
568,
487,
8190,
93,
800,
3726,
3726,
31,
22,
79,
699,
26,
109,
368,
1267,
2306,
2314,
30,
31,
92,
2801,
20,
164,
91,
5204,
19,
51,
1918,
16,
3143,
487,
8190,
93,
9,
92,
42,
2247,
12360,
2314,
30,
233,
1278,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Problems to delete XML elements with PHP DOM
===
Here's the XML file i'm working on:
<list>
<activity>swimming</activity>
<activity>running</activity>
<activity>soccer</activity>
</list>
The index.php, page that shows the list of activities with checkboxes, a button to delete ... | 0 | [
2,
1716,
20,
27448,
23504,
2065,
29,
13,
26120,
11859,
800,
3726,
3726,
235,
22,
18,
14,
23504,
3893,
31,
22,
79,
638,
27,
45,
13,
1,
5739,
1,
13,
1,
19348,
1,
18,
3976,
3363,
68,
1,
118,
19348,
1,
13,
1,
19348,
1,
11325,
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... |
In search of jQuery Month Picker
===
I'm in search of a JavaScript month selection tool. I'm already using jQuery on the website, so if it were a jQuery plugin, that would fit nicely. I'm open to other options, as well.
Basically, I'm after a simplified version of the [jQuery UI Date Picker][1]. I don't care about ... | 0 | [
2,
19,
2122,
16,
487,
8190,
93,
1617,
2036,
106,
800,
3726,
3726,
31,
22,
79,
19,
2122,
16,
21,
8247,
8741,
1617,
3155,
5607,
9,
31,
22,
79,
614,
568,
487,
8190,
93,
27,
14,
2271,
15,
86,
100,
32,
46,
21,
487,
8190,
93,
1092... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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's the easiest way/best tutorials to get familiar with SQLAlchemy ?
===
What are best resources/tutorials for starting up with SQLAlchemy?
Maybe some simple step by step stuff like creating a simple table and using it and going up from there. | 0 | [
2,
98,
22,
18,
14,
27237,
161,
118,
4936,
29724,
18,
20,
164,
3694,
29,
4444,
10834,
2569,
915,
13,
60,
800,
3726,
3726,
98,
50,
246,
2566,
118,
2473,
9819,
192,
18,
26,
1422,
71,
29,
4444,
10834,
2569,
915,
60,
913,
109,
1935,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 worst thing you did or had to do under pressure?
===
... which you probably wouldn't have done or done much better if you wouldn't have been under time pressure or basically any form of stress. And what the outcome or repurcussions of that thing were.
Examples:
- You wrote a terrible "won't touch t... | 0 | [
2,
98,
25,
14,
4126,
584,
42,
144,
54,
41,
20,
107,
131,
1859,
60,
800,
3726,
3726,
13,
9,
9,
9,
56,
42,
910,
1265,
22,
38,
57,
677,
54,
677,
212,
574,
100,
42,
1265,
22,
38,
57,
74,
131,
85,
1859,
54,
11374,
186,
505,
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 initialise a rather complex char array in C?
===
Assuming Visual C/C++ 6, I have a complex data structure of 22399 elements that looks like this:
{
{ "(SAME", "AS", "U+4E18)", "HILLOCK", "OR", "MOUND"},
{ "TO", "LICK;", {1, 1, 0}, "TASTE,", "A", "MAT,", "BAMBOO", "BARK"},
{ "(J)", "NON... | 0 | [
2,
184,
20,
2104,
2628,
21,
864,
1502,
4892,
7718,
19,
272,
60,
800,
3726,
3726,
11704,
3458,
272,
118,
150,
20512,
400,
15,
31,
57,
21,
1502,
1054,
1411,
16,
13,
20836,
3483,
2065,
30,
1879,
101,
48,
45,
13,
1,
13,
1,
13,
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... |
switch case vs if else
===
I was wondering if there was any difference in the way the following code was compiled into assembly. I've heard that switch-case is more efficient than if else, but in this example I am not quite sure if that would be the case.
if(x=1){
...
}else if(x=2){
...
}els... | 0 | [
2,
5521,
610,
4611,
100,
962,
800,
3726,
3726,
31,
23,
5712,
100,
80,
23,
186,
2841,
19,
14,
161,
14,
249,
1797,
23,
9316,
77,
1475,
9,
31,
22,
195,
752,
30,
5521,
8,
10325,
25,
91,
8243,
119,
100,
962,
15,
47,
19,
48,
823,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to develop a Powerful WEB Search Engine using Erlang, Mnesia & YAWS???
===
I am thinking of developing A Web search Engine using Erlang, Mnesia & YAWS. Is it possible to make powerful & fastest WEB SEARCH ENGINE using these???? What will it need to accomplish this & HOW to start with???? If you have a... | 0 | [
2,
25,
32,
938,
20,
2803,
21,
2177,
2741,
2122,
1406,
568,
13,
106,
9949,
15,
307,
2696,
549,
279,
2167,
10268,
60,
60,
60,
800,
3726,
3726,
31,
589,
1440,
16,
3561,
21,
2741,
2122,
1406,
568,
13,
106,
9949,
15,
307,
2696,
549,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Test Driven Design for iPhone Native apps
===
I'm experimenting with the iPhone SDK and doing some TDD ala Dr. Nic's rbiPhoneTest project. I'm wondering how many, if any, have been successful using this or any other testing framework for iPhone/Cocoa? More important, I'd like to know how to best assert a proprietary b... | 0 | [
2,
1289,
5355,
704,
26,
21024,
1275,
4865,
18,
800,
3726,
3726,
31,
22,
79,
5737,
68,
29,
14,
21024,
13,
18,
43,
197,
17,
845,
109,
15596,
43,
21,
531,
744,
9,
13,
4796,
22,
18,
13,
9002,
7709,
10543,
669,
9,
31,
22,
79,
571... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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's the best way to use memcache with a single-server app?
===
For a single-server LAMP site (which is usually under quite high load), what is best way to use memcache?
Does it make sense to run the memcache daemon on the same server as the application, or is that just going to take valuable memory away from M... | 0 | [
2,
98,
22,
18,
14,
246,
161,
20,
275,
55,
4829,
9616,
29,
21,
345,
8,
10321,
106,
4865,
60,
800,
3726,
3726,
26,
21,
345,
8,
10321,
106,
6792,
689,
13,
5,
2140,
25,
951,
131,
1450,
183,
6305,
6,
15,
98,
25,
246,
161,
20,
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... |
What factors should be taken into consideration when writing a custom exception class?
===
When are **custom Exception classes** most-valuable?
Are there cases when they should or should not be used? What are the benefits?
**Related questions:**
1. **[Performace Considerations for throwing Exceptions][1]**
... | 0 | [
2,
98,
4776,
378,
44,
658,
77,
9888,
76,
1174,
21,
5816,
5391,
718,
60,
800,
3726,
3726,
76,
50,
13,
1409,
4636,
6015,
5391,
2684,
1409,
127,
8,
3377,
291,
579,
60,
50,
80,
1871,
76,
59,
378,
54,
378,
52,
44,
147,
60,
98,
50... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CruiseControl [.Net] vs TeamCity for continuous integration?
===
i would like to ask you which automated build environment you consider better, based on practical experience. i'm planning to do some .Net and some Java development, so i would like to have a tool that supports both these platforms.
i've been reading ... | 0 | [
2,
6581,
12898,
636,
9,
2328,
500,
4611,
173,
5788,
26,
6357,
8078,
60,
800,
3726,
3726,
31,
83,
101,
20,
1349,
42,
56,
14904,
1895,
2307,
42,
3563,
574,
15,
432,
27,
5713,
1496,
9,
31,
22,
79,
2334,
20,
107,
109,
13,
9,
2328,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
whats the main differences between xhtml and html? which one is better in your opinion and why?
===
whats the main differences between xhtml and html? which one is better in your opinion and why? | 0 | [
2,
98,
18,
14,
407,
4921,
128,
993,
15895,
17,
13,
15895,
60,
56,
53,
25,
574,
19,
154,
4052,
17,
483,
60,
800,
3726,
3726,
98,
18,
14,
407,
4921,
128,
993,
15895,
17,
13,
15895,
60,
56,
53,
25,
574,
19,
154,
4052,
17,
483,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Capture which step of an animated system cursor is being shown on Windows
===
I want to capture as a bitmap the system cursor on Windows OSes as accurately as possible.
The provided API for this is to my knowledge GetCursorInfo, DrawIconEx.
The simple chain of actions is:
- Get cursor by using GetCursorInfo
... | 0 | [
2,
3683,
56,
1424,
16,
40,
5784,
329,
29588,
25,
142,
1721,
27,
1936,
800,
3726,
3726,
31,
259,
20,
3683,
28,
21,
1142,
15022,
14,
329,
29588,
27,
1936,
13,
6641,
18,
28,
16353,
28,
938,
9,
14,
1173,
21,
2159,
26,
48,
25,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Saving XML-Data in UserSettings
===
I'm trying to save some XML-Data in my UserSettings (Properties.Settings.Default.UserSettings) in a .NET Winforms Project. Is there a Possibility to do that or would it be better to save this Data in a seperated File?
Thanks for your Answers! | 0 | [
2,
7599,
23504,
8,
18768,
19,
4155,
19831,
18,
800,
3726,
3726,
31,
22,
79,
749,
20,
2079,
109,
23504,
8,
18768,
19,
51,
4155,
19831,
18,
13,
5,
10890,
106,
3915,
9,
19831,
18,
9,
13862,
9708,
9,
16704,
19831,
18,
6,
19,
21,
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 find full path of Outlook .pst file?
===
Is there a way to programmatically find the location of the current user's Outlook .pst file(s) through an API call or registry entry? | 0 | [
2,
184,
20,
477,
503,
2013,
16,
19837,
13,
9,
1919,
38,
3893,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
625,
6732,
1326,
477,
14,
1474,
16,
14,
866,
4155,
22,
18,
19837,
13,
9,
1919,
38,
3893,
5,
18,
6,
120,
40,
21,
2159,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Spinlock Versus Semaphore!
===
What is the basic differences between Semaphores & Spinlock? & In what best situations or conditions, we can use these. | 0 | [
2,
3310,
3966,
5706,
13,
18,
5996,
11093,
62,
187,
800,
3726,
3726,
98,
25,
14,
2125,
4921,
128,
13,
18,
5996,
11093,
160,
279,
3310,
3966,
60,
279,
19,
98,
246,
8329,
54,
2039,
15,
95,
92,
275,
158,
9,
3,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Writing Quality Tests
===
we know that code coverage is a poor metric to use when gauging the quality of test code. we also know that testing the language/framework is a waste of time.
on the other hand, what metrics can we use to identify quality tests? are there any best practices or rules of thumbs that you've ... | 0 | [
2,
1174,
2190,
4894,
800,
3726,
3726,
95,
143,
30,
1797,
5245,
25,
21,
1696,
11544,
20,
275,
76,
6540,
2762,
14,
2190,
16,
1289,
1797,
9,
95,
67,
143,
30,
4431,
14,
816,
118,
8361,
3783,
25,
21,
4600,
16,
85,
9,
27,
14,
89,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Multiple forms in an HTML page posting to itself
===
I need to have multiple forms in the same webpage, all of them POSTing to itself and then performing different actions depending on the type of form.
What's the best way to achieve this?
To be more specific, the page shows the details of an event, with a for... | 0 | [
2,
1886,
1997,
19,
40,
13,
15895,
2478,
15669,
20,
1145,
800,
3726,
3726,
31,
376,
20,
57,
1886,
1997,
19,
14,
205,
2741,
6486,
15,
65,
16,
105,
15669,
20,
1145,
17,
94,
2955,
421,
3078,
4758,
27,
14,
1001,
16,
505,
9,
98,
22,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Committing binaries to SVN
===
I've searched around a bit, but haven't found a satisfactory answer, so I'd like to hear your opinions on this.
I have a couple of tools which I have to update and deploy to a few servers every now and then. The source is managed in a SVN repository.
To save myself the bother of co... | 0 | [
2,
19524,
4511,
11301,
20,
13,
18,
16578,
800,
3726,
3726,
31,
22,
195,
9036,
140,
21,
1142,
15,
47,
2933,
22,
38,
216,
21,
25549,
1623,
15,
86,
31,
22,
43,
101,
20,
990,
154,
11900,
27,
48,
9,
31,
57,
21,
1335,
16,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is with the fascination with code metrics?
===
I've seen a number of 'code metrics' related questions on SO lately, and have to wonder what the fascination is? Here are two recent examples:
* [what code metrics convince you that provided code is crappy](http://stackoverflow.com/questions/187289/what-code-metr... | 0 | [
2,
98,
25,
29,
14,
22364,
29,
1797,
11544,
18,
60,
800,
3726,
3726,
31,
22,
195,
541,
21,
234,
16,
13,
22,
9375,
11544,
18,
22,
1597,
2346,
27,
86,
10434,
15,
17,
57,
20,
2666,
98,
14,
22364,
25,
60,
235,
50,
81,
1764,
3770,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Removing files when uninstalling Wix
===
When uninstalling my app, I'd like to configure the wix setup to remove all the files that were added **after the original installation**. It seems like the uninstaller removes only the directories and files that were originally installed from the MSI file and it leaves everyth... | 0 | [
2,
9096,
6488,
76,
367,
108,
21300,
68,
4807,
396,
800,
3726,
3726,
76,
367,
108,
21300,
68,
51,
4865,
15,
31,
22,
43,
101,
20,
1065,
15951,
14,
4807,
396,
18161,
20,
4681,
65,
14,
6488,
30,
46,
905,
13,
1409,
5162,
14,
501,
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... |
Change an elements CSS class with Javascript
===
I want to change a CSS class of an html element in response to an onClick event using javascript. | 0 | [
2,
753,
40,
2065,
272,
18,
18,
718,
29,
8247,
8741,
800,
3726,
3726,
31,
259,
20,
753,
21,
272,
18,
18,
718,
16,
40,
13,
15895,
4520,
19,
1627,
20,
40,
27,
150,
10129,
807,
568,
8247,
8741,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Generating random number excluding range
===
How do you generate a random number within a range while excluding certain range(s). Eg. range 1-10 but not in 2-4 or 7.
Solutions I've used so far:
- Generate a random an test if it
is within the dis-allowed range.
Based on result either output the
num... | 0 | [
2,
13500,
5477,
234,
13,
14938,
978,
800,
3726,
3726,
184,
107,
42,
7920,
21,
5477,
234,
363,
21,
978,
133,
13,
14938,
1200,
978,
5,
18,
6,
9,
12369,
9,
978,
137,
8,
1036,
47,
52,
19,
172,
8,
300,
54,
453,
9,
6776,
31,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Validating Web Pages
===
I have been developing websites for a couple years now and I almost never check if my pages are valid html and css. My check is by using a site such as browsershots.org and checking how it looks in all the different browsers. However recently I have been taking a college course and the prof wa... | 0 | [
2,
7394,
1880,
2741,
4434,
800,
3726,
3726,
31,
57,
74,
3561,
13931,
26,
21,
1335,
122,
130,
17,
31,
557,
243,
2631,
100,
51,
4434,
50,
7394,
13,
15895,
17,
272,
18,
18,
9,
51,
2631,
25,
34,
568,
21,
689,
145,
28,
16495,
7868,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make a char string from a C macros value?
===
For example, how to avoid writing the 'func_name' twice?
#ifndef TEST_FUN
# define TEST_FUN func_name
# define TEST_FUN_NAME "func_name"
#endif
| 0 | [
2,
184,
20,
233,
21,
4892,
3724,
37,
21,
272,
9069,
18,
1923,
60,
800,
3726,
3726,
26,
823,
15,
184,
20,
2658,
1174,
14,
13,
22,
16638,
150,
1,
7259,
22,
2088,
60,
6926,
821,
103,
13862,
1289,
1,
16638,
6926,
9267,
1289,
1,
16... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to implement tab stops in valid XHTML?
===
For explanation imagine a simple address. Written in a HTML paragraph with line breaks it would like this:
Street: Example Street 1
City: Vienna
Zip Code: 1010
Country: Austria
Most of the time that's completely okay, but sometimes I have to ... | 0 | [
2,
246,
161,
20,
8713,
6523,
6604,
19,
7394,
993,
15895,
60,
800,
3726,
3726,
26,
5764,
4382,
21,
1935,
3218,
9,
642,
19,
21,
13,
15895,
20599,
29,
293,
7947,
32,
83,
101,
48,
45,
446,
45,
823,
446,
137,
136,
45,
4945,
12133,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 library better for faster java application swt or swing?
===
which library better for faster java application swt or swing? | 0 | [
2,
56,
1248,
574,
26,
4233,
8247,
3010,
8783,
38,
54,
5587,
60,
800,
3726,
3726,
56,
1248,
574,
26,
4233,
8247,
3010,
8783,
38,
54,
5587,
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... | [
1,
1,
1,
1,
1,
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... |
Unique random numbers in O(1)?
===
The problem is this: I'd like to generate unique random numbers between 0 and 1000 that never repeat (I.E. 6 doesn't come out twice), but that doesn't resort to something like an O(N) search of previous values to do it. Is this possible? | 0 | [
2,
2619,
5477,
2116,
19,
635,
5,
165,
6,
60,
800,
3726,
3726,
14,
1448,
25,
48,
45,
31,
22,
43,
101,
20,
7920,
2619,
5477,
2116,
128,
713,
17,
6150,
30,
243,
6830,
13,
5,
49,
9,
62,
9,
400,
1437,
22,
38,
340,
70,
2088,
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... |
JavaScript slider
===
I need to create a 'slider' for a client's site. The slider should allow people to select how many items they want of x item, and show what the price will be based on that. The weird(ish) part is that the ratio of the price increase will go down as the amount of items goes up:
- 1 item: $10... | 0 | [
2,
8247,
8741,
3295,
106,
800,
3726,
3726,
31,
376,
20,
1600,
21,
13,
22,
18,
1210,
1157,
22,
26,
21,
6819,
22,
18,
689,
9,
14,
3295,
106,
378,
1655,
148,
20,
5407,
184,
151,
3755,
59,
259,
16,
993,
9101,
15,
17,
298,
98,
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 more accurate way to create a Javascript timer than setTimeout?
===
Something that has always bugged me is how unpredictable the `setTimeout()` method in Javascript is.
In my experience, the timer is horribly inaccurate in a lot of situations. By inaccurate, I mean the actual delay time seems to vary by ... | 0 | [
2,
25,
80,
21,
91,
8137,
161,
20,
1600,
21,
8247,
8741,
85,
139,
119,
309,
891,
1320,
60,
800,
3726,
3726,
301,
30,
63,
550,
6256,
6430,
55,
25,
184,
24421,
14,
13,
1,
3554,
891,
1320,
5,
6,
1,
2109,
19,
8247,
8741,
25,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can i split a PHP script that takes a long time to run into smaller chunks?
===
I have a PHP script that initialises an image gallery. It loops through all images, checks if they are thumbnailed and watermarks them.
My shared hosting account only lets me have 30 seconds of execution per script, as set in the ph... | 0 | [
2,
184,
92,
31,
2132,
21,
13,
26120,
3884,
30,
1384,
21,
175,
85,
20,
485,
77,
2012,
15009,
18,
60,
800,
3726,
3726,
31,
57,
21,
13,
26120,
3884,
30,
2104,
2628,
18,
40,
1961,
2246,
9,
32,
19661,
120,
65,
3502,
15,
16602,
100,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Code formatting across Windows and Unix.
===
What Visual Studio settings and .emacs macros improve the likelihood that code written on Windows (in visual studio) will still look good in Emacs (and vice versa)? I've recently taken to turning off tabs in emacs (so tabs are rendered via spaces) and this at least makes th... | 0 | [
2,
1797,
2595,
1203,
464,
1936,
17,
22540,
9,
800,
3726,
3726,
98,
3458,
1120,
12410,
17,
13,
9,
62,
6893,
18,
9069,
18,
3545,
14,
19096,
30,
1797,
642,
27,
1936,
13,
5,
108,
3458,
1120,
6,
129,
174,
361,
254,
19,
13,
62,
6893... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 access a public static member of a Java class from Coldfusion?
===
I think the above question says it all. | 0 | [
2,
184,
92,
31,
1381,
21,
317,
12038,
322,
16,
21,
8247,
718,
37,
1191,
9818,
60,
800,
3726,
3726,
31,
277,
14,
784,
1301,
898,
32,
65,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
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... |
Which database has the best XML support?
===
I have a system which generates a large number of XML documents every day (of the order of 1 million) and I would like to be able to store and index these so that I can, for example, search for all documents with a certain field set to a given value.
I understand that th... | 0 | [
2,
56,
6018,
63,
14,
246,
23504,
555,
60,
800,
3726,
3726,
31,
57,
21,
329,
56,
7920,
18,
21,
370,
234,
16,
23504,
4374,
352,
208,
13,
5,
1041,
14,
389,
16,
137,
507,
6,
17,
31,
83,
101,
20,
44,
777,
20,
1718,
17,
4348,
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... |
When generating html, do you including formatting such as newlines and tabs?
===
Sometimes I add a \n at the end, and the relevant number of \t the beginning, and sometimes not - what's the recommended way to do this? | 0 | [
2,
76,
13500,
13,
15895,
15,
107,
42,
215,
2595,
1203,
145,
28,
78,
7939,
17,
6523,
18,
60,
800,
3726,
3726,
1030,
31,
3547,
21,
13,
1,
103,
35,
14,
241,
15,
17,
14,
7480,
234,
16,
13,
1,
38,
14,
997,
15,
17,
1030,
52,
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,
0,
0,
0,
0... |
Best Way to Handle Multiple Scrolling Columns
===
I am in the process of developing a web application that consists visually of a header above a body containing four columns of variable-height content. The design gods have decreed it to be fixed height, mainly because each of the columns can potentially get very long,... | 0 | [
2,
246,
161,
20,
3053,
1886,
13,
28166,
7498,
800,
3726,
3726,
31,
589,
19,
14,
953,
16,
3561,
21,
2741,
3010,
30,
2043,
20747,
16,
21,
157,
106,
784,
21,
358,
3503,
222,
7498,
16,
7612,
8,
252,
7748,
2331,
9,
14,
704,
4769,
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... |
Small problem with painting scroll bars with MFC
===
In an MFC application there is a small rectangular region where the scroll bars meet (bottom right of the window). It seems that this region only invalidates when the frame is resized. On other occasions (for example, if another window is dragged over it), this re... | 0 | [
2,
284,
1448,
29,
2469,
12159,
6062,
29,
307,
7061,
800,
3726,
3726,
19,
40,
307,
7061,
3010,
80,
25,
21,
284,
11354,
632,
113,
14,
12159,
6062,
1255,
13,
5,
22389,
193,
16,
14,
1463,
6,
9,
32,
2206,
30,
48,
632,
104,
16671,
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 a component
===
I listen to the podcast java posse, on this there is often discussion about components (note components are not (clearly) objects). They lament the fact that Java does not have components, and contrast with .NET that does. Components apparently makes developing applications (not just GUI a... | 0 | [
2,
98,
25,
21,
5912,
800,
3726,
3726,
31,
3834,
20,
14,
15124,
8247,
25801,
15,
27,
48,
80,
25,
478,
5460,
88,
5090,
13,
5,
10280,
5090,
50,
52,
13,
5,
18600,
102,
6,
3916,
6,
9,
59,
16786,
14,
837,
30,
8247,
630,
52,
57,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Coercing template class with operator T* when passing as T* argument of a function template
===
Assume I have a function template like this:
template<class T>
inline
void
doStuff(T* arr)
{
// stuff that needs to use sizeof(T)
}
Then in another `.h` filee I have a template clas... | 0 | [
2,
326,
106,
6302,
22894,
718,
29,
6022,
13,
38,
2483,
76,
2848,
28,
13,
38,
2483,
5476,
16,
21,
1990,
22894,
800,
3726,
3726,
7158,
31,
57,
21,
1990,
22894,
101,
48,
45,
22894,
1,
1898,
13,
38,
1,
19,
1143,
11364,
107,
384,
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... |
How can I find out what enums are defined by a class?
===
I know I can get the public static members of a class by doing something like:
<code>obj.getClass().getFields()</code>
but this doesn't get me the enums. I'd like to be able to get them from the Class object returned by the getClass method. Any ideas? | 0 | [
2,
184,
92,
31,
477,
70,
98,
1957,
723,
18,
50,
2811,
34,
21,
718,
60,
800,
3726,
3726,
31,
143,
31,
92,
164,
14,
317,
12038,
443,
16,
21,
718,
34,
845,
301,
101,
45,
13,
1,
9375,
1,
111,
11741,
9,
3060,
1898,
5,
6,
9,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Flex media framework
===
Does anybody know of a good media framework for Flex?<br/>
I'd like to be able to create apps that can play not only those formats that the Flex framework provides support for, but other formats as well (like wav, wma, ogg and other...).
| 0 | [
2,
14409,
941,
6596,
800,
3726,
3726,
630,
11181,
143,
16,
21,
254,
941,
6596,
26,
14409,
60,
1,
5145,
118,
1,
31,
22,
43,
101,
20,
44,
777,
20,
1600,
4865,
18,
30,
92,
418,
52,
104,
273,
13767,
30,
14,
14409,
6596,
1927,
555,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 do I get "permission denied" in PHP when trying to rename a directory?
===
I chmod'ed the directory to 777, same with the directory contents. Still, I get a "permission denied" error. Does PHP throw this error if apache is not the group/owner, regardless of the file permissions? Here's the call that's failing:
... | 0 | [
2,
483,
107,
31,
164,
13,
7,
1432,
12385,
5265,
7,
19,
13,
26120,
76,
749,
20,
302,
7259,
21,
16755,
60,
800,
3726,
3726,
31,
6193,
13670,
22,
69,
14,
16755,
20,
13,
25081,
15,
205,
29,
14,
16755,
8478,
9,
174,
15,
31,
164,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SharePoint does not find my custom RenderingTemplate
===
So I've created a custom RenderingTemplate and deployed it to CONTROLTEMPLATES\MyControlTemplates\
It basically dictates how a custom content type that i've created should be rendered when displayed. For that I've added this:
<FormTemplates xmlns="htt... | 0 | [
2,
1891,
3132,
630,
52,
477,
51,
5816,
15307,
9577,
6554,
800,
3726,
3726,
86,
31,
22,
195,
679,
21,
5816,
15307,
9577,
6554,
17,
6698,
32,
20,
569,
9577,
6554,
18,
1,
915,
12898,
9577,
6554,
18,
1,
32,
11374,
25250,
18,
184,
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... |
malloc() and the C/C++ heap
===
I'm working on designing the kernel (which I'm going to actually call the "core" just to be different, but its basically the same) for an OS I'm working on. The specifics of the OS itself are irrelevant if I can't get multi-tasking, memory management, and other basic things up and runni... | 0 | [
2,
3668,
2499,
5,
6,
17,
14,
272,
118,
150,
20512,
15414,
800,
3726,
3726,
31,
22,
79,
638,
27,
15026,
14,
17007,
13,
5,
2140,
31,
22,
79,
228,
20,
1121,
645,
14,
13,
7,
10375,
7,
114,
20,
44,
421,
15,
47,
82,
11374,
14,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is the a way I can retrieve sa password in sql server 2005
===
I just forgot the password. Can anyone help me how to get back the passowrd. | 0 | [
2,
25,
14,
21,
161,
31,
92,
11917,
1929,
20884,
19,
4444,
255,
8128,
812,
800,
3726,
3726,
31,
114,
9564,
14,
20884,
9,
92,
1276,
448,
55,
184,
20,
164,
97,
14,
1477,
3581,
897,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Java version names in Sun's bug database
===
In
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6525150
it says
Release Fixed 7(b14), 6u2(b01) (Bug ID:2147561)
What does 6u2 mean? (Am I right in assuming it as 1.6.0_02 ?) | 0 | [
2,
8247,
615,
1817,
19,
939,
22,
18,
6256,
6018,
800,
3726,
3726,
19,
7775,
6903,
16254,
18,
9,
7843,
9,
960,
118,
16254,
18768,
8436,
118,
4725,
1,
16254,
9,
537,
60,
16254,
1,
1340,
3726,
3577,
1811,
9839,
32,
898,
830,
3535,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Oracle 10gr2: prevent any dates that fall on a Sunday?
===
Is it possible to use a CHECK constraint to prevent any date that falls on a Sunday? I don't want to use a trigger. | 0 | [
2,
15759,
332,
8807,
135,
45,
2501,
186,
4076,
30,
1080,
27,
21,
2608,
60,
800,
3726,
3726,
25,
32,
938,
20,
275,
21,
2631,
28804,
20,
2501,
186,
1231,
30,
2564,
27,
21,
2608,
60,
31,
221,
22,
38,
259,
20,
275,
21,
7286,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How I do I make controls/elements move with inertia?
===
Modern UI's are starting to give their UI elments nice inertia when moving. Tabs slide in, page transitions, even some listboxes and scroll elments have nice inertia to them (the iphone for example). What is the best algorythm for this? It is more than just g... | 0 | [
2,
184,
31,
107,
31,
233,
8671,
118,
27567,
18,
780,
29,
25847,
60,
800,
3726,
3726,
773,
13,
5661,
22,
18,
50,
1422,
20,
590,
66,
13,
5661,
931,
6601,
2210,
25847,
76,
1219,
9,
6523,
18,
6464,
19,
15,
2478,
4513,
18,
15,
166,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 LINQ to SQL InsertOnSubmit() subject to SQL Injection Attack?
===
I have code like this:
var newMsg = new Msg
{
Var1 = var1,
Var2 = var2
};
using (AppDataContext appDataContext = new AppDataContext(ConnectionString))
{
appDataContext.CClass.InsertOnSubmit(newMsg);
... | 0 | [
2,
25,
6294,
1251,
20,
4444,
255,
19,
18,
10931,
7563,
5130,
5,
6,
1550,
20,
4444,
255,
13646,
991,
60,
800,
3726,
3726,
31,
57,
1797,
101,
48,
45,
4033,
78,
79,
18,
263,
800,
78,
4235,
263,
13,
1,
4033,
165,
800,
4033,
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... |
Shift reduce conflict
===
I'm having a problem understanding the shift/reduce confict for a grammar that I know has no ambiguity. The case is one of the if else type but it's not the 'dangling else' problem since I have mandatory END clauses delimiting code blocks.
Here is the grammar for gppg (Its a Bison like com... | 0 | [
2,
4471,
4136,
2930,
800,
3726,
3726,
31,
22,
79,
452,
21,
1448,
3260,
14,
4471,
118,
99,
16041,
1065,
15261,
38,
26,
21,
7207,
30,
31,
143,
63,
90,
28335,
9,
14,
610,
25,
53,
16,
14,
100,
962,
1001,
47,
32,
22,
18,
52,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to avoid blinking when updating page from ajax
===
I've got a table with a header, a row with input fields, rows with data. ![Like this.][1]
If somebody enters something into an input field I want to filter the data with an ajax query. After receiving the new table I change the content of the old one: ... | 0 | [
2,
184,
20,
2658,
18015,
76,
71,
43,
1880,
2478,
37,
20624,
800,
3726,
3726,
31,
22,
195,
330,
21,
859,
29,
21,
157,
106,
15,
21,
3131,
29,
6367,
2861,
15,
11295,
29,
1054,
9,
13,
187,
2558,
1403,
48,
9,
500,
2558,
165,
500,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
struts setup sample application on eclipse
===
I am new to strut/web programming and I thought I could learn alot by reading a sample app.
On google, I searched and found a sample app at
http://www.roseindia.net/struts/struts2/struts2tutorial.zip
The tutorial is really nice and it gives a sample login page.
... | 0 | [
2,
18316,
18,
18161,
5717,
3010,
27,
11652,
800,
3726,
3726,
31,
589,
78,
20,
18316,
118,
14113,
3143,
17,
31,
289,
31,
110,
2484,
21,
5639,
34,
1876,
21,
5717,
4865,
9,
27,
8144,
15,
31,
9036,
17,
216,
21,
5717,
4865,
35,
7775,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MySQLdb execute timeout
===
Sometimes in our production environment occurs situation when connection between service (which is python program that uses MySQLdb) and mysql server is flacky, some packages are lost, some black magic happens and .execute() of MySQLdb.Cursor object never ends (or take great amount of time ... | 0 | [
2,
51,
18,
22402,
9007,
15644,
85,
1320,
800,
3726,
3726,
1030,
19,
318,
637,
2307,
3690,
1858,
76,
2760,
128,
365,
13,
5,
2140,
25,
20059,
625,
30,
2027,
51,
18,
22402,
9007,
6,
17,
51,
18,
22402,
8128,
25,
398,
16573,
93,
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... |
Combining different javascript objects rendered by multiple components
===
I have a component which writes/generates javascript from a server side renderer. This component can be used in multiple times in a same page. However, once the page is loaded I have to collect all the variables or JSO written by this multiple ... | 0 | [
2,
12803,
421,
8247,
8741,
3916,
10877,
34,
1886,
5090,
800,
3726,
3726,
31,
57,
21,
5912,
56,
6215,
118,
17083,
7759,
8247,
8741,
37,
21,
8128,
270,
16535,
106,
9,
48,
5912,
92,
44,
147,
19,
1886,
436,
19,
21,
205,
2478,
9,
207... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Secure access to files in a directory identified by an environment variable?
===
Can anyone point to some code that deals with the security of files access via a path specified (in part) by an environment variable, specifically for Unix and its variants, but Windows solutions are also of interest?
*This is a big lo... | 0 | [
2,
4315,
1381,
20,
6488,
19,
21,
16755,
2889,
34,
40,
2307,
7612,
60,
800,
3726,
3726,
92,
1276,
454,
20,
109,
1797,
30,
10342,
29,
14,
1221,
16,
6488,
1381,
1197,
21,
2013,
9931,
13,
5,
108,
141,
6,
34,
40,
2307,
7612,
15,
35... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
LINQ to SQL - where does your DataContext live?
===
I'm using Linq to SQL in a data access object library. The library is used in both web (web app/web service) and non-web (windows service) contexts. Initially, I stored the DataContext on the current HttpContext since it permitted me to manage a fairly small unit of ... | 0 | [
2,
6294,
1251,
20,
4444,
255,
13,
8,
113,
630,
154,
1054,
1126,
11969,
515,
60,
800,
3726,
3726,
31,
22,
79,
568,
6294,
1251,
20,
4444,
255,
19,
21,
1054,
1381,
3095,
1248,
9,
14,
1248,
25,
147,
19,
156,
2741,
13,
5,
14113,
48... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is a catamorphism and can it be implemented in C# 3.0?
===
I'm trying to learn about catamorphisms and I've read [the Wikipedia article][1] and the first couple posts in [the series of the topic for F#][2] on the _Inside F#_ blog.
I understand that it's a generalization of folds (i.e., mapping a structure of ... | 0 | [
2,
98,
25,
21,
13,
9709,
13348,
17,
92,
32,
44,
6807,
19,
272,
5910,
203,
9,
387,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
2484,
88,
13,
9709,
13348,
18,
17,
31,
22,
195,
1302,
636,
124,
20169,
2002,
500,
2558,
165,
500,
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... |
Custom php template engine: Am i finally on the right track
===
Since I keep showing up late for answering questions tagged php where i actually know the answer i figured i'd try asking a question myself.
I've been working on so many complete rewrites of a custom template engine in php for so long and so many times... | 0 | [
2,
5816,
13,
26120,
22894,
1406,
45,
589,
31,
722,
27,
14,
193,
792,
800,
3726,
3726,
179,
31,
643,
3187,
71,
456,
26,
11777,
2346,
27945,
13,
26120,
113,
31,
1121,
143,
14,
1623,
31,
5700,
31,
22,
43,
1131,
3379,
21,
1301,
992,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Progress button for Windows Forms
===
.NET newbie here... I'd like to make a button in a Windows form that displays a progress or "cooldown" effect. That is, when the button is pressed, it becomes disabled. As some event or timer is progressing, the button shows the progress graphically. When the progress is finish... | 0 | [
2,
3455,
5167,
26,
1936,
1997,
800,
3726,
3726,
13,
9,
2328,
78,
5893,
235,
9,
9,
9,
31,
22,
43,
101,
20,
233,
21,
5167,
19,
21,
1936,
505,
30,
9412,
21,
3455,
54,
13,
7,
17743,
2968,
7,
1590,
9,
30,
25,
15,
76,
14,
5167,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
OSX lacks memalign
===
I'm working on a project in C and it requires memalign(). Really, posix_memalign() would do as well, but darwin/OSX lacks both of them.
What is a good solution to shoehorn-in memalign? I don't understand the licensing for posix-C code if I were to rip off memalign.c and put it in my project-... | 0 | [
2,
13,
759,
396,
1792,
18,
55,
3482,
9693,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
669,
19,
272,
17,
32,
4781,
55,
3482,
9693,
5,
6,
9,
510,
15,
2353,
6742,
1,
790,
3482,
9693,
5,
6,
83,
107,
28,
134,
15,
47,
11210,
118,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should I only store fixed-size data elements in a database?
===
If the amount of data stored in a given field of a DB is unknown and could be very large, should I not store it in the DB, but instead in an external file?
| 0 | [
2,
378,
31,
104,
1718,
3535,
8,
10454,
1054,
2065,
19,
21,
6018,
60,
800,
3726,
3726,
100,
14,
2006,
16,
1054,
8214,
19,
21,
504,
575,
16,
21,
13,
9007,
25,
2562,
17,
110,
44,
253,
370,
15,
378,
31,
52,
1718,
32,
19,
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,
0,
0,
0,
0,
0,
0,
0... |
How to check if a string in Python is in ASCII?
===
I am fighting with Python to understand how do I check whether a string is in ASCII or not.
I am aware of ord(), however when I try ord('é'), I have TypeError: ord() expected a character, but string of length 2 found. I understood it is caused by the way I built P... | 0 | [
2,
184,
20,
2631,
100,
21,
3724,
19,
20059,
25,
19,
28,
1892,
49,
60,
800,
3726,
3726,
31,
589,
1849,
29,
20059,
20,
1369,
184,
107,
31,
2631,
1472,
21,
3724,
25,
19,
28,
1892,
49,
54,
52,
9,
31,
589,
3854,
16,
54,
43,
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... |
Making iTerm to translate 'meta-key' in the same way as in other OSes
===
In bash shell with emacs key-binding, you can use key combination like M-f, M-b to move one word forward or backward on the shell prompt respectively. Usually, the meta key is mapped to Alt key on Windows and Linux. However, in iTerm, I could no... | 0 | [
2,
544,
31,
3964,
20,
20628,
13,
22,
5909,
58,
8,
4237,
22,
19,
14,
205,
161,
28,
19,
89,
13,
6641,
18,
800,
3726,
3726,
19,
13158,
3593,
29,
13,
62,
6893,
18,
1246,
8,
22260,
15,
42,
92,
275,
1246,
3733,
101,
307,
8,
410,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I use the Queue library in SML/NJ
===
I see that the SML/NJ includes a queue structure. I can't figure out how to use it. How do I use the additional libraries provided by SML/NJ? | 0 | [
2,
184,
107,
31,
275,
14,
22521,
1248,
19,
13,
18,
8184,
118,
15773,
800,
3726,
3726,
31,
196,
30,
14,
13,
18,
8184,
118,
15773,
1103,
21,
22521,
1411,
9,
31,
92,
22,
38,
1465,
70,
184,
20,
275,
32,
9,
184,
107,
31,
275,
14,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0... |
Can you write a block of c++ code inside C#?
===
I heard somewhere that you can drop down to C++ directly inside C# code.
How is this done? Or did I hear wrong?
Note: I do not mean C++ / CLI. | 0 | [
2,
92,
42,
2757,
21,
1921,
16,
272,
20512,
1797,
572,
272,
5910,
60,
800,
3726,
3726,
31,
752,
3493,
30,
42,
92,
2804,
125,
20,
272,
20512,
1703,
572,
272,
5910,
1797,
9,
184,
25,
48,
677,
60,
54,
144,
31,
990,
1389,
60,
1945,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How do you find the base url from a DLL in C#?
===
From within a DLL that's being called by a C#.NET web app, how do you find the base url of the web app? | 0 | [
2,
184,
107,
42,
477,
14,
1000,
287,
6362,
37,
21,
13,
43,
211,
19,
272,
5910,
60,
800,
3726,
3726,
37,
363,
21,
13,
43,
211,
30,
22,
18,
142,
227,
34,
21,
272,
5910,
9,
2328,
2741,
4865,
15,
184,
107,
42,
477,
14,
1000,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Date ranges in T/SQL
===
For a current project I am working I need to return an aggregate report based on date ranges.
I have 3 types of reports, yearly, monthly and daily.
To assist in returning this report I need a function that will return all of the sub-ranges of datetimes, within a big range.
So for exa... | 0 | [
2,
1231,
9230,
19,
13,
38,
118,
18,
22402,
800,
3726,
3726,
26,
21,
866,
669,
31,
589,
638,
31,
376,
20,
788,
40,
8544,
1330,
432,
27,
1231,
9230,
9,
31,
57,
203,
2551,
16,
2813,
15,
14767,
15,
6460,
17,
1954,
9,
20,
5404,
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 programmatically determine whether an MP3 file is CBR or VBR? (preferrably using c#)
===
I know of many utilities that can tell me the bitrate of an MP3 file, but I've never seen one that can tell me whether or not the MP3 file is VBR (variable bit rate - the bit rate fluctuates within the file) or a CBR (co... | 0 | [
2,
184,
92,
31,
625,
6732,
1326,
3746,
1472,
40,
4628,
240,
3893,
25,
272,
5145,
54,
566,
5145,
60,
13,
5,
3515,
19697,
8818,
568,
272,
5910,
6,
800,
3726,
3726,
31,
143,
16,
151,
19817,
30,
92,
494,
55,
14,
1142,
5487,
16,
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... |
What's the best way to use SqlBulkCopy to fill a really large table?
===
Nightly, I need to fill a SQL Server 2005 table from an ODBC source with over 8 million records. Currently I am using an insert statement from linked server with syntax select similar to this:
Insert Into SQLStagingTable from Select * from... | 0 | [
2,
98,
22,
18,
14,
246,
161,
20,
275,
4444,
255,
9077,
197,
19625,
20,
3509,
21,
510,
370,
859,
60,
800,
3726,
3726,
343,
102,
15,
31,
376,
20,
3509,
21,
4444,
255,
8128,
812,
859,
37,
40,
12340,
7229,
1267,
29,
84,
469,
507,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Change a Window background color, given a IntPtr handle
===
In c#, I have a handle to a window ( an IntPtr ), I want to change the background color of that window. How can I do this?
I can get the GDI graphics object for that handle like so:
Graphics graphics = Graphics.FromHwnd(theHandle);
So I should someh... | 0 | [
2,
753,
21,
1463,
2395,
1665,
15,
504,
21,
19,
13726,
6384,
3053,
800,
3726,
3726,
19,
272,
5910,
15,
31,
57,
21,
3053,
20,
21,
1463,
13,
5,
40,
19,
13726,
6384,
13,
6,
15,
31,
259,
20,
753,
14,
2395,
1665,
16,
30,
1463,
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... |
Proper use of try .. catch
===
Should I be using this method of throwing errors:
if (isset($this->dbfields[$var])) {
return $this->dbfields[$var];
} else {
throw new FieldNotFoundException($var);
}
or this style:
try {
return $this->dbfields[$var];
} catch (Ex... | 0 | [
2,
4119,
275,
16,
1131,
13,
9,
9,
2949,
800,
3726,
3726,
378,
31,
44,
568,
48,
2109,
16,
6033,
11908,
45,
100,
13,
5,
11001,
38,
5,
4403,
1565,
8,
1,
9007,
1109,
18,
2558,
4403,
3311,
500,
6,
6,
13,
1,
788,
5579,
1565,
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... |
What is a type and effect system?
===
The [Wikipedia artcile on _Effect system_][1] is currently just a short stub and I've been wondering for a while as to what is an effect system. Are there any languages that have an effect system in addition to a type system? What's a possible repreesntation of code in a mainstrea... | 0 | [
2,
98,
25,
21,
1001,
17,
1590,
329,
60,
800,
3726,
3726,
14,
636,
17375,
26132,
415,
150,
3599,
27,
13,
1,
21295,
329,
1,
500,
2558,
165,
500,
25,
871,
114,
21,
502,
21354,
17,
31,
22,
195,
74,
5712,
26,
21,
133,
28,
20,
98,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Programmers employing business people
===
Some guy with an MBA can hire a programmer or network manager to do all that incomprehensible technical stuff.
Why can't I hire an MBA or two to do all that incomprehensible "people" stuff? | 4 | [
2,
17968,
18,
18192,
508,
148,
800,
3726,
3726,
109,
1244,
29,
40,
16071,
92,
10039,
21,
17968,
54,
982,
1382,
20,
107,
65,
30,
19,
11103,
99,
6077,
18,
3426,
2447,
3217,
9,
483,
92,
22,
38,
31,
10039,
40,
16071,
54,
81,
20,
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,
0,
0,
0... |
Cobertura refuses to acknowledge code was covered
===
I am using the Maven (2) Cobertura plug-in to create reports on code coverage, and I have the following stub I am using in a method:
try {
System.exit(0);
} catch (final SecurityException exception) {
exception.printStackTrace();
}
... | 0 | [
2,
326,
4461,
3031,
10864,
20,
11762,
1797,
23,
1363,
800,
3726,
3726,
31,
589,
568,
14,
1216,
3124,
13,
5,
135,
6,
326,
4461,
3031,
10922,
8,
108,
20,
1600,
2813,
27,
1797,
5245,
15,
17,
31,
57,
14,
249,
21354,
31,
589,
568,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 traits that you look for in a software developer?
===
Specifically, what are the best indicators to forecast if someone will be a great developer, and also, someone that you would want to work with?
Examples:
- education
- breadth of technical knowledge
- depth of knowledge in a particular ... | 4 | [
2,
98,
50,
14,
14756,
30,
42,
361,
26,
19,
21,
2306,
10058,
60,
800,
3726,
3726,
3524,
15,
98,
50,
14,
246,
13310,
18,
20,
12718,
100,
737,
129,
44,
21,
374,
10058,
15,
17,
67,
15,
737,
30,
42,
83,
259,
20,
170,
29,
60,
37... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is a custom module the best way to access an external API in Drupal?
===
I'm new to extending Drupal, though I've done similar kinds of things for other CMSes. Anyone care to share opinions on the best way to access an external API from within Drupal?
I need to show things like search results, listings, and listing... | 0 | [
2,
25,
21,
5816,
12613,
14,
246,
161,
20,
1381,
40,
4886,
21,
2159,
19,
15708,
6720,
60,
800,
3726,
3726,
31,
22,
79,
78,
20,
8176,
15708,
6720,
15,
362,
31,
22,
195,
677,
835,
8623,
16,
564,
26,
89,
2390,
7202,
9,
1276,
781,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
As a software developer, what are the traits that you look for in a manager?
===
Specifically, what are the best indicators to forecast if someone will be a great manager for a team of software developers, and also, someone that you would want to work for?
Examples:
- education
- breadth of technical knowl... | 4 | [
2,
28,
21,
2306,
10058,
15,
98,
50,
14,
14756,
30,
42,
361,
26,
19,
21,
1382,
60,
800,
3726,
3726,
3524,
15,
98,
50,
14,
246,
13310,
18,
20,
12718,
100,
737,
129,
44,
21,
374,
1382,
26,
21,
173,
16,
2306,
10168,
15,
17,
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,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Identify full vs half yearly datasets in SQL
===
I have a table with two fields of interest for this particular exercise: a CHAR(3) ID and a DATETIME. The ID identifies the submitter of the data - several thousand rows. The DATETIME is not necessarily unique, either. (The primary keys are other fields of the table.... | 0 | [
2,
5808,
503,
4611,
519,
14767,
1054,
3554,
18,
19,
4444,
255,
800,
3726,
3726,
31,
57,
21,
859,
29,
81,
2861,
16,
1163,
26,
48,
1498,
5935,
45,
21,
4892,
5,
240,
6,
4924,
17,
21,
1231,
891,
9,
14,
4924,
17165,
14,
12298,
815,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Complex Find in Cake PHP
===
Hey all I'm hoping someone has enough experience with Cake PHP to make this work.
I'm working on something that at the moment could affectionately be called a twitter clone. Essentially I have a set up like this.
Users have many friends. This is a many to many relationship to the u... | 0 | [
2,
1502,
477,
19,
8390,
13,
26120,
800,
3726,
3726,
8409,
65,
31,
22,
79,
3935,
737,
63,
511,
1496,
29,
8390,
13,
26120,
20,
233,
48,
170,
9,
31,
22,
79,
638,
27,
301,
30,
35,
14,
688,
110,
28168,
44,
227,
21,
10623,
13871,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 configure spring HandlerExceptionResolver to handle NullPointerException thrown in jsp ?
===
From a jsp is thrown a NullPointerException for example using `<% null.toString(); %>`
This exception is not handled by the HandlerExceptionResolver, but thrown to the web container(tomcat) and converted into a `cod... | 0 | [
2,
184,
20,
1065,
15951,
1573,
24641,
10066,
872,
99,
5594,
2304,
20,
3053,
16203,
3132,
106,
10066,
872,
6027,
19,
487,
3401,
13,
60,
800,
3726,
3726,
37,
21,
487,
3401,
25,
6027,
21,
16203,
3132,
106,
10066,
872,
26,
823,
568,
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 do I load the contents of a text file into a javascript variable?
===
I have a text file in the root of my web app *http://localhost/foo.txt* and I'd like to load it into a variable in javascript.. in groovy I would do this:
def fileContents = 'http://localhost/foo.txt'.toURL().text;
println fileConten... | 0 | [
2,
184,
107,
31,
6305,
14,
8478,
16,
21,
1854,
3893,
77,
21,
8247,
8741,
7612,
60,
800,
3726,
3726,
31,
57,
21,
1854,
3893,
19,
14,
5900,
16,
51,
2741,
4865,
1637,
21127,
6903,
15580,
11694,
118,
4120,
111,
9,
38,
396,
38,
2483,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Configuring wordpress .htaccess to view subfolders
===
I have a WordPress install and a .htaccess that looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /i... | 0 | [
2,
1065,
13549,
68,
833,
5890,
13,
9,
9020,
20604,
20,
1418,
972,
8814,
445,
800,
3726,
3726,
31,
57,
21,
833,
5890,
16146,
17,
21,
13,
9,
9020,
20604,
30,
1879,
101,
48,
45,
6926,
2348,
833,
5890,
13,
1,
821,
19673,
62,
7226,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Wordpress LOOP with pages instead of posts?
===
Is there a way to use **THE LOOP** in Wordpress to load pages instead of posts?
I would like to be able to query a set of child pages, and then use **THE LOOP** function calls on it - things like *the_permalink()* and *the_title()*.
Is there a way to do this?... | 0 | [
2,
568,
833,
5890,
5293,
29,
4434,
700,
16,
9868,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
275,
13,
1409,
124,
5293,
1409,
19,
833,
5890,
20,
6305,
4434,
700,
16,
9868,
60,
31,
83,
101,
20,
44,
777,
20,
25597,
21,
309,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Hardest javascript debugging problem ever
===
We have an ASP.NET application and when running on client site they often get null reference Javascript errors. As with all these errors the information IE6 displays is less than helpful. But the problem is as soon as I install IE script debugger and try and debug a bit mo... | 0 | [
2,
20766,
8247,
8741,
121,
16254,
2762,
1448,
462,
800,
3726,
3726,
95,
57,
40,
28,
306,
9,
2328,
3010,
17,
76,
946,
27,
6819,
689,
59,
478,
164,
16203,
2801,
8247,
8741,
11908,
9,
28,
29,
65,
158,
11908,
14,
676,
13,
660,
379,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 sorted collection type in .NET?
===
I'm looking for a container that keeps all it's items in order. I looked at SortedList, but that requires a separate key, and does not allow duplicate keys. I could also just use an unsorted container and explicitly sort it after each insert.
Usage:
* Occasional i... | 0 | [
2,
25,
80,
21,
22554,
1206,
1001,
19,
13,
9,
2328,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
12147,
30,
8968,
65,
32,
22,
18,
3755,
19,
389,
9,
31,
292,
35,
22554,
5739,
15,
47,
30,
4781,
21,
1725,
1246,
15,
17,
630,
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... |
Problem with dynamic controls in .NET
===
Problem with dynamic controls
Hello all,
I'm wanting to create some dynamic controls, and have them persist their viewstate across page loads. Easy enough, right? All I have to do is re-create the controls upon each page load, using the same IDs. HOWEVER, here's the c... | 0 | [
2,
1448,
29,
7782,
8671,
19,
13,
9,
2328,
800,
3726,
3726,
1448,
29,
7782,
8671,
10975,
65,
15,
31,
22,
79,
4638,
20,
1600,
109,
7782,
8671,
15,
17,
57,
105,
22084,
66,
1418,
3859,
464,
2478,
19069,
9,
2010,
511,
15,
193,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP: Best way to extract text within parenthesis?
===
What's the best/most efficient way to extract text set between parenthesis? Say I wanted to get the string "text" from the string "ignore everything except this (text)" in the most efficient manner possible.
So far, the best I've come up with is this:
$fu... | 0 | [
2,
13,
26120,
45,
246,
161,
20,
10962,
1854,
363,
4766,
438,
4557,
60,
800,
3726,
3726,
98,
22,
18,
14,
246,
118,
4630,
8243,
161,
20,
10962,
1854,
309,
128,
4766,
438,
4557,
60,
395,
31,
417,
20,
164,
14,
3724,
13,
7,
11969,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.