unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Oracle to MySQL syntax question
===
Can someone show me the MySQL equivalent of the following statement (which works in Oracle 10g)?
INSERT INTO VOUCHER (VOUCHER_NUMBER, BOOK_ID, DENOMINATION)
SELECT a.a1, b.ID, b.DENOMINATION FROM
(SELECT rownum a1 FROM dual CONNECT BY rownum <= 10000000) a, BOOK b
... | 0 | [
2,
15759,
20,
51,
18,
22402,
22649,
1301,
800,
3726,
3726,
92,
737,
298,
55,
14,
51,
18,
22402,
4602,
16,
14,
249,
3331,
13,
5,
2140,
693,
19,
15759,
332,
263,
6,
60,
14692,
77,
566,
15523,
139,
13,
5,
2625,
6396,
106,
1,
1629... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Static/Dynamic Runtime Linking
===
What are the best practices for choosing the linking method in VC++? Can anything/everything be statically linked?
On a dynamically linked project, is the relative/absolute location of the linked library important?
What are the pros and cons ? | 0 | [
2,
12038,
118,
20985,
485,
891,
12585,
800,
3726,
3726,
98,
50,
14,
246,
5242,
26,
10883,
14,
12585,
2109,
19,
13,
8990,
20512,
60,
92,
602,
118,
13224,
44,
12038,
1326,
4727,
60,
27,
21,
7782,
1326,
4727,
669,
15,
25,
14,
4543,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Version control with the least disk-space overhead
===
I've been considering using a version control system like SVN as a general-purpose backup and synchronisation tool between the few PCs I use. This would be for all sorts of data, including MP3s and ripped DVDs - a LOT of data (120gb+).
My main issue is that SVN... | 0 | [
2,
615,
569,
29,
14,
639,
8582,
8,
5582,
8860,
800,
3726,
3726,
31,
22,
195,
74,
5154,
568,
21,
615,
569,
329,
101,
13,
18,
16578,
28,
21,
297,
8,
12060,
10119,
17,
13,
16023,
4330,
5607,
128,
14,
310,
5168,
18,
31,
275,
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... |
TSQL to grant db_datareader and db_datawriter for MS SQL Server
===
What is the exact SQL to grant db_datareader and db_datawriter access to a user in SQL Server?
Say the user name is MYUSER and the DB in question is MYDB.
Thanks!
| 0 | [
2,
13,
38,
18,
22402,
20,
2048,
13,
9007,
1,
18768,
10647,
106,
17,
13,
9007,
1,
18768,
9657,
26,
4235,
4444,
255,
8128,
800,
3726,
3726,
98,
25,
14,
5340,
4444,
255,
20,
2048,
13,
9007,
1,
18768,
10647,
106,
17,
13,
9007,
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... |
Why are there so many sites dedicated to programming and yet there are relatively few that actually describe the systems that they're trying to produce?
===
There's a lot of sites out there that teach people how to build better software--but why is it that there are very few sites that actually give detailed descripti... | 0 | [
2,
483,
50,
80,
86,
151,
3259,
2360,
20,
3143,
17,
768,
80,
50,
3109,
310,
30,
1121,
4996,
14,
1242,
30,
59,
22,
99,
749,
20,
2213,
60,
800,
3726,
3726,
80,
22,
18,
21,
865,
16,
3259,
70,
80,
30,
5348,
148,
184,
20,
1895,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++ ifstream failure, why is this line not going where it's supposed to?
===
I want to make the line marked with // THIS LINE SHOULD BE PRINTING do its thing, which is print the int values between "synonyms" and "antonyms".
This is the text file:
dictionary.txt
1 cute
2 hello
3 ugly
4 ea... | 0 | [
2,
272,
20512,
100,
11260,
2990,
15,
483,
25,
48,
293,
52,
228,
113,
32,
22,
18,
2293,
20,
60,
800,
3726,
3726,
31,
259,
20,
233,
14,
293,
2739,
29,
12894,
48,
293,
378,
44,
7312,
107,
82,
584,
15,
56,
25,
4793,
14,
19,
38,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is XCode 3 displaying multiple compiler errors or warnings for each that actually occurs.
===
When I build in XCode, any errors or warnings are being duplicated. So in the IDE, I get twice the number near the icons in the status bar, and where the yellow or red bubbles show up in the editor, there are two warning... | 0 | [
2,
483,
25,
993,
9375,
203,
17418,
1886,
21486,
11908,
54,
3590,
18,
26,
206,
30,
1121,
3690,
9,
800,
3726,
3726,
76,
31,
1895,
19,
993,
9375,
15,
186,
11908,
54,
3590,
18,
50,
142,
19429,
43,
9,
86,
19,
14,
13,
3448,
15,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Need help with onclick syntax in classic asp environment
===
can't seem to get the syntax right in order to pass the AttID variable. This line of code is in a for loop so I have to print using vbs response.write and not just straignt html.
Response.Write "<TD class=alt><input type=button onclick=deleteRec... | 0 | [
2,
376,
448,
29,
27,
150,
10129,
22649,
19,
2732,
28,
306,
2307,
800,
3726,
3726,
92,
22,
38,
2260,
20,
164,
14,
22649,
193,
19,
389,
20,
1477,
14,
35,
13647,
7612,
9,
48,
293,
16,
1797,
25,
19,
21,
26,
5293,
86,
31,
57,
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... |
Reverse (parse the output) of Arrays.toString(int[])
===
Is there in the JDK or Jakarta Commons (or anywhere else) a method that can parse the output of Arrays.toString, at least for integer arrays?
int[] i = fromString(Arrays.toString(new int[] { 1, 2, 3} );
| 0 | [
2,
7006,
13,
5,
3574,
870,
14,
5196,
6,
16,
7718,
18,
9,
262,
11130,
5,
6391,
2558,
500,
6,
800,
3726,
3726,
25,
80,
19,
14,
487,
43,
197,
54,
16383,
8322,
13,
5,
248,
4922,
962,
6,
21,
2109,
30,
92,
2017,
870,
14,
5196,
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... |
best way to access pixel in opengl?
===
I'm pretty much a newbie with opengl. i imagine glReadPixels is horrible so whats the best way to do this? i was thinking of having a function that locks a texture rect, do something like glTexSubImage2D to copy the pixels to ram, modify it, then use glTexSubImage2D to copy the ... | 0 | [
2,
246,
161,
20,
1381,
18146,
19,
368,
8430,
60,
800,
3726,
3726,
31,
22,
79,
1772,
212,
21,
78,
5893,
29,
368,
8430,
9,
31,
4382,
13,
8430,
10647,
18321,
6798,
25,
9244,
86,
98,
18,
14,
246,
161,
20,
107,
48,
60,
31,
23,
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... |
Show full path of the ruby file when loaded
===
When reading source code, I always want to know the full path of the file when it is loaded, is there any callback method in ruby to accomplish this, or any other way to do this? thanks in advance. | 0 | [
2,
298,
503,
2013,
16,
14,
10811,
3893,
76,
8572,
800,
3726,
3726,
76,
1876,
1267,
1797,
15,
31,
550,
259,
20,
143,
14,
503,
2013,
16,
14,
3893,
76,
32,
25,
8572,
15,
25,
80,
186,
645,
1958,
2109,
19,
10811,
20,
14570,
48,
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,
0,
0,
0,
0,
0... |
Determining scope of a MemberExpressions target
===
Is there anyone here with experience writing custom Linq proviers?
What I'm trying to do is tell whether a MemberExpression that is a property on a business object should be included in the sql, or treated as a constant, because its from a local variable that just... | 0 | [
2,
13521,
9914,
16,
21,
322,
28993,
18,
2935,
800,
3726,
3726,
25,
80,
1276,
235,
29,
1496,
1174,
5816,
6294,
1251,
895,
9397,
18,
60,
98,
31,
22,
79,
749,
20,
107,
25,
494,
1472,
21,
322,
28993,
30,
25,
21,
1354,
27,
21,
508,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 git be integrated w/XCode?
===
Is there any way to use a git repository with the built in SCM functions of XCode? | 0 | [
2,
92,
13,
10404,
44,
5547,
619,
118,
396,
9375,
60,
800,
3726,
3726,
25,
80,
186,
161,
20,
275,
21,
13,
10404,
24869,
29,
14,
392,
19,
4729,
79,
3719,
16,
993,
9375,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How does VS2008+ReSharper compare to IntelliJ IDEA?
===
I used to be a Java user, but I moved into 100% .NET 4 years ago. Having grown accustomed to ReSharper and all the commands it offers, how does it compare to IntelliJ? Both being from JetBrains, I'd imagine they are close - but I haven't used it. (I know I can do... | 0 | [
2,
184,
630,
4611,
2753,
2430,
99,
23646,
106,
11590,
20,
19,
4213,
9999,
882,
60,
800,
3726,
3726,
31,
147,
20,
44,
21,
8247,
4155,
15,
47,
31,
385,
77,
12849,
13,
9,
2328,
268,
122,
1464,
9,
452,
3651,
20946,
20,
302,
23646,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Full text search on calculated columns
===
I need to allow full-text searching on two fields that are concatenated together. In this case, FullName = FirstName + ' ' + LastName. The simple approach seems to be to create a FullName calculated column then include that as a column in the full-text indexing. Is this an ac... | 0 | [
2,
503,
1854,
2122,
27,
10785,
7498,
800,
3726,
3726,
31,
376,
20,
1655,
503,
8,
11969,
5792,
27,
81,
2861,
30,
50,
1065,
793,
1316,
1669,
429,
9,
19,
48,
610,
15,
503,
7259,
800,
64,
7259,
2754,
13,
22,
13,
22,
2754,
236,
725... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 take a value from a row in one table in my MySQL database and insert into another table in the same database?
===
So say I have a `products` table with a list of products, and one of the fields is `price`. This table also has an `id` field. When someone makes a purchase I insert a row into another ta... | 0 | [
2,
25,
32,
938,
20,
247,
21,
1923,
37,
21,
3131,
19,
53,
859,
19,
51,
51,
18,
22402,
6018,
17,
14692,
77,
226,
859,
19,
14,
205,
6018,
60,
800,
3726,
3726,
86,
395,
31,
57,
21,
13,
1,
14086,
18,
1,
859,
29,
21,
968,
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... |
When should I use IEnumerator for looping in c#?
===
I was wondering if there are any times where it's advantageous to use an IEnumerator over a foreach loop for iterating through a collection? For example, is there any time where it would be better to use either of the following code samples over the other?
IE... | 0 | [
2,
76,
378,
31,
275,
13,
660,
6336,
106,
3457,
26,
5293,
68,
19,
272,
5910,
60,
800,
3726,
3726,
31,
23,
5712,
100,
80,
50,
186,
436,
113,
32,
22,
18,
3314,
1291,
20,
275,
40,
13,
660,
6336,
106,
3457,
84,
21,
26,
14322,
529... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Resource for c# codegen best practices
===
I am looking for one or more resources on best practices for c# codegen (writing c# via code at runtime). | 0 | [
2,
6577,
26,
272,
5910,
1797,
1863,
246,
5242,
800,
3726,
3726,
31,
589,
699,
26,
53,
54,
91,
2566,
27,
246,
5242,
26,
272,
5910,
1797,
1863,
13,
5,
12646,
272,
5910,
1197,
1797,
35,
485,
891,
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,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
In cocoa, how can I display the spinning NSProgressIndicator in a different color?
===
I am using a "spinner" NSProgressIndicator in my cocoa app:
![spinner image][1]
I would like to display it in a different color so that it will show up well on a dark background:
![inverted spinner image][2]
How would I ... | 0 | [
2,
19,
24507,
15,
184,
92,
31,
3042,
14,
9609,
13,
2172,
2740,
13026,
108,
4673,
3457,
19,
21,
421,
1665,
60,
800,
3726,
3726,
31,
589,
568,
21,
13,
7,
3401,
18005,
7,
13,
2172,
2740,
13026,
108,
4673,
3457,
19,
51,
24507,
4865,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Syntax error on sql update query, classic asp environment
===
I'm getting the following error on the line of code below:
Syntax error (missing operator) in query expression 'REPLACE(LTRIM(RTRIM(ATTACHMENTS)), ,'')'.
Any help would be awesome...
-----------the line of code that is giving me problems--... | 0 | [
2,
22649,
7019,
27,
4444,
255,
11100,
25597,
15,
2732,
28,
306,
2307,
800,
3726,
3726,
31,
22,
79,
1017,
14,
249,
7019,
27,
14,
293,
16,
1797,
1021,
45,
22649,
7019,
13,
5,
7292,
68,
6022,
6,
19,
25597,
1803,
13,
22,
99,
5119,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 convert my java files into an application?
===
I coded up 4 .java files. The thing is that I can only execute my .java files from my IDE, how do I execute the .class files like an application? I study at uni, and I was told that Java is platform independent. Any tutorial/book recommendations would be highly a... | 0 | [
2,
184,
107,
31,
8406,
51,
8247,
6488,
77,
40,
3010,
60,
800,
3726,
3726,
31,
13,
22254,
71,
268,
13,
9,
1004,
1385,
6488,
9,
14,
584,
25,
30,
31,
92,
104,
15644,
51,
13,
9,
1004,
1385,
6488,
37,
51,
13,
3448,
15,
184,
107,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jQuery 1.3 only selecting the first element
===
I'm not sure if this is a bug or just some crazy new thing in jQuery 1.3 that I'm unaware of, or if I've just gone crazy.
I have a table with 11 checkboxes in it, and I can't select them all using jQuery 1.3:
// jQuery 1.2.6
$(".myTable").find(":checkbox")... | 0 | [
2,
487,
8190,
93,
137,
9,
240,
104,
20764,
14,
64,
4520,
800,
3726,
3726,
31,
22,
79,
52,
562,
100,
48,
25,
21,
6256,
54,
114,
109,
3328,
78,
584,
19,
487,
8190,
93,
137,
9,
240,
30,
31,
22,
79,
12100,
16,
15,
54,
100,
31,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get DataItem when updating GridView
===
How can I get the underlying DataItem from a GridView row that is in edit mode and the user clicks on "Update"?
I have an editable GridView. I've added a CustomValidator to the Edit view of one of the columns. When the user clicks on Update I run a server validate method an... | 0 | [
2,
164,
1054,
2119,
79,
76,
71,
43,
1880,
7354,
4725,
800,
3726,
3726,
184,
92,
31,
164,
14,
10974,
1054,
2119,
79,
37,
21,
7354,
4725,
3131,
30,
25,
19,
9392,
3740,
17,
14,
4155,
10840,
18,
27,
13,
7,
576,
8209,
7,
60,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NHibernate Insert is Committing but object is not persisted in table.
===
When debugging everything appears good. The insert commits and there is no roll back, no exceptions. I sure hope some can help with this.
Here is my call:
using (ITransaction transaction = _session.BeginTransaction())
{
... | 0 | [
2,
12109,
15191,
8820,
14692,
25,
19524,
47,
3095,
25,
52,
22125,
19,
859,
9,
800,
3726,
3726,
76,
121,
16254,
2762,
796,
1780,
254,
9,
14,
14692,
9686,
18,
17,
80,
25,
90,
3001,
97,
15,
90,
13392,
9,
31,
562,
1376,
109,
92,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can't get Python to import from a different folder
===
I can't seem to get Python to import a module in a subfolder. I get the error when I try to create an instance of the class from the imported module, but the import itself succeeds. Here is my directory structure:
Server
-server.py
-Models
--user.py
Here'... | 0 | [
2,
92,
22,
38,
164,
20059,
20,
9010,
37,
21,
421,
19294,
800,
3726,
3726,
31,
92,
22,
38,
2260,
20,
164,
20059,
20,
9010,
21,
12613,
19,
21,
972,
8814,
106,
9,
31,
164,
14,
7019,
76,
31,
1131,
20,
1600,
40,
4851,
16,
14,
718... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to add mouse wheel support to a component descended from TGraphicControl?
===
I have created a delphi component which descends from TGraphicControl. Is it possible to add support for mouse wheels?
| 0 | [
2,
184,
20,
3547,
7567,
3556,
555,
20,
21,
5912,
9581,
37,
13,
38,
12084,
12898,
60,
800,
3726,
3726,
31,
57,
679,
21,
23030,
5912,
56,
14898,
18,
37,
13,
38,
12084,
12898,
9,
25,
32,
938,
20,
3547,
555,
26,
7567,
7384,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Retrieve music artist data from wikipedia?
===
When it comes to classifying music by genre, I've found wikipedia to have more interesting genre information than most other data sources.
I seem to remember a database that collected this sort of information from Wikipedia and made it more easily accessible, but I cou... | 0 | [
2,
11917,
232,
1169,
1054,
37,
20169,
60,
800,
3726,
3726,
76,
32,
1624,
20,
25117,
68,
232,
34,
5975,
15,
31,
22,
195,
216,
20169,
20,
57,
91,
4883,
5975,
676,
119,
127,
89,
1054,
2662,
9,
31,
2260,
20,
1518,
21,
6018,
30,
36... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
get path and filename of all files in a given dir and its subdirs using c++ (builder)
===
I was given this code a while back. I finally got around to testing it (with some changes to put the files in a different place)...
void AddFiles(AnsiString path/*, TDataSet *DataSet*/)
{
TSearchRec sr;
int... | 0 | [
2,
164,
2013,
17,
3893,
7259,
16,
65,
6488,
19,
21,
504,
13,
9035,
17,
82,
972,
9035,
18,
568,
272,
20512,
13,
5,
20904,
6,
800,
3726,
3726,
31,
23,
504,
48,
1797,
21,
133,
97,
9,
31,
722,
330,
140,
20,
4431,
32,
13,
5,
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 do you approach release management for a web app (SaaS)?
===
What is the best approach to releasing a new version of a hosted web app, and how often do you typically release? Do you pick an arbitrary date, say every week, month, etc. to rollout an accumulated set of fixes (perhaps using an approach similar to [Joe... | 0 | [
2,
184,
107,
42,
2141,
830,
1097,
26,
21,
2741,
4865,
13,
5,
1229,
472,
6,
60,
800,
3726,
3726,
98,
25,
14,
246,
2141,
20,
8054,
21,
78,
615,
16,
21,
2812,
2741,
4865,
15,
17,
184,
478,
107,
42,
2442,
830,
60,
107,
42,
2036,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best way to search through HTML in a C# string for specific text and mark the text?
===
What would be the best way to search through HTML inside a C# string variable to find a specific word/phrase and mark (or wrap) that word/phrase with a highlight?
Thanks,
Jeff | 0 | [
2,
98,
25,
14,
246,
161,
20,
2122,
120,
13,
15895,
19,
21,
272,
5910,
3724,
26,
1903,
1854,
17,
943,
14,
1854,
60,
800,
3726,
3726,
98,
83,
44,
14,
246,
161,
20,
2122,
120,
13,
15895,
572,
21,
272,
5910,
3724,
7612,
20,
477,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 track multiple svn branches in git
===
This isnt really a question but ive come across a neat article which helped me ever so much
http://www.jukie.net/~bart/blog/svn-branches-in-git hope it is useful. | 0 | [
2,
184,
20,
792,
1886,
13,
18,
16578,
4395,
19,
13,
10404,
800,
3726,
3726,
48,
8441,
510,
21,
1301,
47,
5568,
340,
464,
21,
15956,
2002,
56,
1456,
55,
462,
86,
212,
7775,
6903,
6483,
9,
2142,
8960,
9,
2328,
118,
1,
1850,
38,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Emulating HTTP POST using command line curl and exporting output to text file
===
How do I emulate an HTTP POST request using curl and capturing the result on a text file? I already have a script called dump.php:
<?php
ob_start();
print_r($GLOBALS);
$var = ob_get_contents();
ob_end_clean();
... | 0 | [
2,
3579,
10038,
7775,
678,
568,
1202,
293,
14320,
17,
7487,
68,
5196,
20,
1854,
3893,
800,
3726,
3726,
184,
107,
31,
23804,
40,
7775,
678,
3772,
568,
14320,
17,
12859,
14,
829,
27,
21,
1854,
3893,
60,
31,
614,
57,
21,
3884,
227,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
quick way to retrieve user information active directory
===
can any body show me how to query user information from the active directory. i have code that works, but its really slow. i'm using C#.
this is the code i currently use:
static void Main(string[] args)
{
SearchResultCollec... | 0 | [
2,
2231,
161,
20,
11917,
4155,
676,
1348,
16755,
800,
3726,
3726,
92,
186,
358,
298,
55,
184,
20,
25597,
4155,
676,
37,
14,
1348,
16755,
9,
31,
57,
1797,
30,
693,
15,
47,
82,
510,
2276,
9,
31,
22,
79,
568,
272,
5910,
9,
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... |
How can you programmatically control a Casio Exilim EX-F1 digital camera?
===
I would like to be able to programmatically emulate a shutter button press on my Casio Exilim EX-F1 digital camera.
It comes with a USB tethered remote control that can emulate a shutter press, so I would think there is a way to emulate t... | 0 | [
2,
184,
92,
42,
625,
6732,
1326,
569,
21,
7167,
1963,
1396,
49,
8585,
1396,
8,
410,
165,
1888,
3336,
60,
800,
3726,
3726,
31,
83,
101,
20,
44,
777,
20,
625,
6732,
1326,
23804,
21,
17948,
5167,
901,
27,
51,
7167,
1963,
1396,
49,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQLException: fetched column value was truncated when executing while (rs.getNext())
===
I have a program that pulls a large dataset from Oracle using a fairly-straightforward query. You could almost call the query/logic an "export" of sorts in that it selects the columns from a table with a minimal where clause (i.e... | 0 | [
2,
4444,
255,
10066,
872,
45,
13,
28998,
4698,
1923,
23,
22328,
69,
76,
25836,
133,
13,
5,
1224,
9,
3060,
20021,
5,
6,
6,
800,
3726,
3726,
31,
57,
21,
625,
30,
8071,
21,
370,
1054,
3554,
37,
15759,
568,
21,
6647,
8,
25428,
212... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Algorithm Questions Website
===
Has anyone seen or know of a website which gives you a varying degree of difficulty algorithm to solve(time based or not doesn't matter). Preferably in a multitude of languages.
What I am looking for and not sure if it exists is a place which would give me a algorithm to try to solve... | 4 | [
2,
9083,
2346,
2271,
800,
3726,
3726,
63,
1276,
541,
54,
143,
16,
21,
2271,
56,
2352,
42,
21,
9852,
1168,
16,
6967,
9083,
20,
8402,
5,
891,
432,
54,
52,
1437,
22,
38,
1161,
6,
9,
6369,
4801,
19,
21,
22980,
16,
2556,
9,
98,
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... |
How do I make sure a file path is within a given subdirectory?
===
I want to make sure a file path set via query string does not go outside of the desired subdirectory. Right now, I am checking that:
1. The path does not start with "`/`", to prevent the user from giving an absolute path.
2. The path does not cont... | 0 | [
2,
184,
107,
31,
233,
562,
21,
3893,
2013,
25,
363,
21,
504,
972,
10197,
93,
60,
800,
3726,
3726,
31,
259,
20,
233,
562,
21,
3893,
2013,
309,
1197,
25597,
3724,
630,
52,
162,
719,
16,
14,
9264,
972,
10197,
93,
9,
193,
130,
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... |
In the Dispose(bool) method implementation, Shouldn't one set members to null?
===
None of the guides/notes/articles that discuss `IDisposable` pattern suggest that one should set the internal members to `null` in the `Dispose(bool)` method (especially if they are memory hogging beasts).
I've come to realize the im... | 0 | [
2,
19,
14,
17913,
5,
1192,
1823,
6,
2109,
6123,
15,
5714,
22,
38,
53,
309,
443,
20,
16203,
60,
800,
3726,
3726,
2369,
16,
14,
14838,
118,
10280,
18,
118,
20360,
18,
30,
5990,
13,
1,
19405,
12551,
579,
1,
3732,
5601,
30,
53,
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... |
Git: Fetching latest commit on a branch
===
I'm struggling to understand something about GIT.
We've got a repository with a number of branches in it. I can fetch a local copy of one of those branches (git checkout -b ...), make some changes, then push them back. If I fail to tag the end of the branch, however, how ... | 0 | [
2,
13,
10404,
45,
18312,
68,
5736,
9686,
27,
21,
1686,
800,
3726,
3726,
31,
22,
79,
7587,
20,
1369,
301,
88,
13,
10404,
9,
95,
22,
195,
330,
21,
24869,
29,
21,
234,
16,
4395,
19,
32,
9,
31,
92,
18312,
21,
375,
4344,
16,
53,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 turn a token stream into a parse tree
===
I have a lexer built that streams out tokens from in input but I'm not sure how to build the next step in the process - the parse tree. Does anybody have any good resources or examples on how to accomplish this? | 0 | [
2,
184,
20,
805,
21,
20,
2853,
3766,
77,
21,
2017,
870,
1541,
800,
3726,
3726,
31,
57,
21,
13492,
106,
392,
30,
9464,
70,
20,
2853,
18,
37,
19,
6367,
47,
31,
22,
79,
52,
562,
184,
20,
1895,
14,
328,
1424,
19,
14,
953,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Should I implement source control for j2ee application server configuration files?
===
For a typical J2EE web application, the datasource connection settings are stored as part of the application server configuration.
Is there a way to version control these configuration details? I want more control on the dataso... | 0 | [
2,
378,
31,
8713,
1267,
569,
26,
487,
135,
2851,
3010,
8128,
8091,
6488,
60,
800,
3726,
3726,
26,
21,
3874,
487,
135,
2851,
2741,
3010,
15,
14,
1054,
12097,
2760,
12410,
50,
8214,
28,
141,
16,
14,
3010,
8128,
8091,
9,
25,
80,
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... |
Getting this junk out of my vector
===
I want to eliminate the junk that I'm getting on the `vector<int> synsAux` below. It should print:
1
7
7
1
I'm getting an extra 2 before the first and third digit, why? Is this 2 an ascii value for the blank space or something? How do I avoid its reading... | 0 | [
2,
1017,
48,
12096,
70,
16,
51,
7497,
800,
3726,
3726,
31,
259,
20,
10628,
14,
12096,
30,
31,
22,
79,
1017,
27,
14,
13,
1,
28033,
1,
6391,
1,
6063,
18,
8061,
1,
1021,
9,
32,
378,
4793,
45,
137,
453,
453,
137,
31,
22,
79,
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... |
Any jsp tag library to perform simple excel editing?
===
Is there any jsp tag library that can perform simple excel editing on web? | 0 | [
2,
186,
487,
3401,
3383,
1248,
20,
2985,
1935,
20700,
9510,
60,
800,
3726,
3726,
25,
80,
186,
487,
3401,
3383,
1248,
30,
92,
2985,
1935,
20700,
9510,
27,
2741,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How do I merge two columns in a DataSet?
===
Previously I've asked about [inserting a column into a dataset][1]. I now have a similar question...namely merging two or more columns into a single column.
Lets say I have the following data set:
DataSet ds = new DataSet();
ds.Tables.Add(new DataTable());
... | 0 | [
2,
184,
107,
31,
12666,
81,
7498,
19,
21,
1054,
3554,
60,
800,
3726,
3726,
1343,
31,
22,
195,
411,
88,
636,
108,
4104,
1203,
21,
4698,
77,
21,
1054,
3554,
500,
2558,
165,
500,
9,
31,
130,
57,
21,
835,
1301,
9,
9,
9,
7259,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java Wrapper equality test
===
public class WrapperTest {
public static void main(String[] args) {
Integer i = 100;
Integer j = 100;
if(i == j)
System.out.println("same");
else
System.out.println("not same");
... | 0 | [
2,
8247,
28051,
10337,
1289,
800,
3726,
3726,
317,
718,
28051,
10543,
13,
1,
317,
12038,
11364,
407,
5,
11130,
2558,
500,
13,
10663,
18,
6,
13,
1,
13820,
31,
800,
808,
73,
13820,
487,
800,
808,
73,
100,
5,
49,
800,
3726,
487,
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... |
Implementing a 'reverse' or 'nested' master page with ASP.NET
===
I'm hoping my cryptic title isn't too cryptic, but I'll try to explain what it is I actually want to do.
I have a master page 'A' which has child pages 'B' and 'C'.
This is implemented with the standard master page model in ASP.NET just fine.
My... | 0 | [
2,
17333,
21,
13,
22,
99,
9453,
22,
54,
13,
22,
2696,
1427,
22,
1129,
2478,
29,
28,
306,
9,
2328,
800,
3726,
3726,
31,
22,
79,
3935,
51,
25792,
581,
2532,
22,
38,
266,
25792,
15,
47,
31,
22,
211,
1131,
20,
3271,
98,
32,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mem_fun fails, pthread and class ptr
===
pthread takes in as its parameter void *(*start_routine)(void* userPtr), i was hoping i can use std::mem_fun to solve my problem but i cant.
I would like to use the function void * threadFunc() and have the userPtr act as the class (userPtr->threadFunc()). Is there a functio... | 0 | [
2,
55,
79,
1,
16638,
13614,
15,
351,
96,
10647,
17,
718,
351,
6384,
800,
3726,
3726,
351,
96,
10647,
1384,
19,
28,
82,
18906,
11364,
1637,
5,
2483,
13680,
1,
8821,
7538,
6,
5,
2625,
1340,
2483,
4155,
4417,
139,
6,
15,
31,
23,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to persist attributes of ASP.NET User controls
===
I have a ASP.NET user control which hosts a 'HtmlImage'. The src attribute is successfully set at run-time, but adding the rendered control to another container causes a loss of the src attribute.
The rendered control is stored in Session (I know this is not id... | 0 | [
2,
184,
20,
22084,
13422,
16,
28,
306,
9,
2328,
4155,
8671,
800,
3726,
3726,
31,
57,
21,
28,
306,
9,
2328,
4155,
569,
56,
5397,
21,
13,
22,
15895,
22039,
22,
9,
14,
13,
18,
5453,
35,
14755,
25,
3673,
309,
35,
485,
8,
891,
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... |
New to Embedded Development. Working on digital KVM
===
I'm new to embedded development - but have been interested in the field for a while. I think this is close enough to being programming related; and I've seen enough people here show knowledge in this area, so I'll ask here.
I decided that a cool project that w... | 0 | [
2,
78,
20,
12138,
522,
9,
638,
27,
1888,
13571,
79,
800,
3726,
3726,
31,
22,
79,
78,
20,
12138,
522,
13,
8,
47,
57,
74,
3158,
19,
14,
575,
26,
21,
133,
9,
31,
277,
48,
25,
543,
511,
20,
142,
3143,
1597,
73,
17,
31,
22,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ANSI Color extraction library in C/Objective-C
===
I'm seeking a library, or bit of code I can incorporate into a Cocoa project where I can turn a stream of text with ansi color control codes into an attributed string. There are many projects that do this, but having examined their code they're either messy or overly... | 0 | [
2,
40,
18,
49,
1665,
16748,
1248,
19,
272,
118,
23793,
1284,
8,
150,
800,
3726,
3726,
31,
22,
79,
5246,
21,
1248,
15,
54,
1142,
16,
1797,
31,
92,
14710,
77,
21,
24507,
669,
113,
31,
92,
805,
21,
3766,
16,
1854,
29,
40,
18,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How best to structure class heirachy in C# to enable access to parent class members?
===
I am having a couple of issues deciding how best to describe a certain data structure in C# (.NET 3.5).
I have to create a class library that creates some text files for the input of a command line program. There are dozens of ... | 0 | [
2,
184,
246,
20,
1411,
718,
24,
3517,
5864,
19,
272,
5910,
20,
9240,
1381,
20,
4766,
718,
443,
60,
800,
3726,
3726,
31,
589,
452,
21,
1335,
16,
1549,
11211,
184,
246,
20,
4996,
21,
1200,
1054,
1411,
19,
272,
5910,
13,
5,
9,
23... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Associate attribute with code generated property in .net
===
I wish to set an attribute on a public property in .NET, however I do not have access to the explicit property itself, as this has been code generated in another file.
I have this field:
public virtual string Name { get; set; }
I wish to set thi... | 0 | [
2,
4169,
35,
14755,
29,
1797,
6756,
1354,
19,
13,
9,
2328,
800,
3726,
3726,
31,
2536,
20,
309,
40,
35,
14755,
27,
21,
317,
1354,
19,
13,
9,
2328,
15,
207,
31,
107,
52,
57,
1381,
20,
14,
14990,
1354,
1145,
15,
28,
48,
63,
74,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
RESTful Grails: how do I include related entities in my XML?
===
Let's say I have a class called Store that has many Employees. My RESTful listXML method looks like this:
def listXML = {
render Store.list() as XML
}
And the result looks like this:
<stores>
<store id="1">
<... | 0 | [
2,
760,
1566,
489,
7301,
18,
45,
184,
107,
31,
468,
1597,
12549,
19,
51,
23504,
60,
800,
3726,
3726,
408,
22,
18,
395,
31,
57,
21,
718,
227,
1718,
30,
63,
151,
3716,
9,
51,
760,
1566,
968,
396,
8184,
2109,
1879,
101,
48,
45,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VIsual Studio - How to change the return value of a method in the debugger ?
===
When I'm debugging, I often have to deal with methods that does not use an intermediate variable to store the return value :
private int myMethod_1()
{
return 12;
}
private int myMethod_2()
... | 0 | [
2,
3458,
1120,
13,
8,
184,
20,
753,
14,
788,
1923,
16,
21,
2109,
19,
14,
121,
2345,
11356,
13,
60,
800,
3726,
3726,
76,
31,
22,
79,
121,
16254,
2762,
15,
31,
478,
57,
20,
1183,
29,
3195,
30,
630,
52,
275,
40,
6889,
7612,
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... |
MySQL Syntax error
===
I tried running the following statement:
INSERT INTO VOUCHER (VOUCHER_NUMBER, BOOK_ID, DENOMINATION)
SELECT (a.number, b.ID, b.DENOMINATION)
FROM temp_cheques a, BOOK b
WHERE a.number BETWEEN b.START_NUMBER AND b.START_NUMBER+b.UNITS-1;
which, as I understand it, should... | 0 | [
2,
51,
18,
22402,
22649,
7019,
800,
3726,
3726,
31,
794,
946,
14,
249,
3331,
45,
14692,
77,
566,
15523,
139,
13,
5,
2625,
6396,
106,
1,
16299,
15,
360,
1,
1340,
15,
21624,
6,
5407,
13,
5,
58,
9,
16299,
15,
334,
9,
1340,
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... |
ANTS 4 OMP abort error
===
I have downloaded the trial versions of ANTS and dotTrace profilers.
When profiling in ANTS, at a certain point the program stops and I get this error in a Console window:
> system error(-2147467259):
> __kmp_setaffinity: SetThreadAffinityMask: Unspecified
> error
>
> OMP abort:... | 0 | [
2,
13,
5958,
268,
635,
2554,
21557,
7019,
800,
3726,
3726,
31,
57,
23887,
14,
2178,
3281,
16,
13,
5958,
17,
14123,
38,
7367,
5296,
1224,
9,
76,
8721,
49,
802,
19,
13,
5958,
15,
35,
21,
1200,
454,
14,
625,
6604,
17,
31,
164,
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... |
Download a html file in Silverlight
===
I'm trying to use the WebClient class to download a html file from another website and present it as a text stream, But I'm getting a security error, what am I doing wrong, or is this another one of Silverlights security "Features"
[code]
namespace ImageScrape
{
publ... | 0 | [
2,
7121,
21,
13,
15895,
3893,
19,
1172,
3130,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
14,
2741,
150,
18513,
38,
718,
20,
7121,
21,
13,
15895,
3893,
37,
226,
2271,
17,
734,
32,
28,
21,
1854,
3766,
15,
47,
31,
22,
79,
1017,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Display the clipboard information in a ASP.net
===
I am having a requirement to show the data in the clipboard to the readable control.
The clipboard data may be text,document or any type. the control should display the information.
Is there any controls available in ASP.net | 0 | [
2,
3042,
14,
12229,
2806,
676,
19,
21,
28,
306,
9,
2328,
800,
3726,
3726,
31,
589,
452,
21,
8981,
20,
298,
14,
1054,
19,
14,
12229,
2806,
20,
14,
1302,
579,
569,
9,
14,
12229,
2806,
1054,
123,
44,
1854,
15,
28132,
54,
186,
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... |
Help urgently--How to handle the error that occurs on giving wrong number of parameters in a function call in Python??
===
When i give wrong number of parametrers in a function , i get errors.
How to handle it ???
I gave
def fun_name(...):
try:
...
...
...
except TypeError:
print 'Wrpng no of arg... | 0 | [
2,
448,
26685,
8,
8,
1544,
20,
3053,
14,
7019,
30,
3690,
27,
1438,
1389,
234,
16,
12905,
19,
21,
1990,
645,
19,
20059,
60,
60,
800,
3726,
3726,
76,
31,
590,
1389,
234,
16,
2258,
10870,
1224,
19,
21,
1990,
13,
15,
31,
164,
1190... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
HandOver Steps?
===
What are the standard handover steps? | 0 | [
2,
224,
2549,
2382,
60,
800,
3726,
3726,
98,
50,
14,
1236,
224,
2549,
2382,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Mixing "USING" and "ON" in Oracle ANSI join
===
I wrote an Oracle SQL expression like this:
SELECT
...
FROM mc_current_view a
JOIN account_master am USING (account_no)
JOIN account_master am_loan ON (am.account_no = am_loan.parent_account_no)
JOIN ml_client_account mca USING (account_no... | 0 | [
2,
5826,
13,
7,
12655,
7,
17,
13,
7,
218,
7,
19,
15759,
40,
18,
49,
1865,
800,
3726,
3726,
31,
738,
40,
15759,
4444,
255,
1803,
101,
48,
45,
5407,
13,
9,
9,
9,
37,
1324,
1,
17657,
1,
4725,
21,
1865,
2176,
1,
4594,
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... |
C# Applicaion - Should I Use Stored Procedures or ADO.NET with C# Programming Techniques?
===
I have a C# Application I am creating that stores all data in SQL Server.
Sometimes it's easier for me to make data changes programmatically and sometimes it's easier to have stored procedures and functions in the SQL Se... | 0 | [
2,
272,
5910,
4865,
16904,
872,
13,
8,
378,
31,
275,
8214,
8876,
54,
21,
537,
9,
2328,
29,
272,
5910,
3143,
4212,
60,
800,
3726,
3726,
31,
57,
21,
272,
5910,
3010,
31,
589,
2936,
30,
4134,
65,
1054,
19,
4444,
255,
8128,
9,
103... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 does LINQ defer execution when in a using statement
===
Imagine I have the following:
private IEnumerable MyFunc(parameter a)
{
using(MyDataContext dc = new MyDataContext)
{
return dc.tablename.Select(row => row.parameter == a);
}
}
private void UsingF... | 0 | [
2,
184,
630,
6294,
1251,
121,
2407,
5769,
76,
19,
21,
568,
3331,
800,
3726,
3726,
4382,
31,
57,
14,
249,
45,
932,
13,
660,
6336,
106,
579,
51,
16638,
150,
5,
6351,
7307,
21,
6,
13,
1,
568,
5,
915,
18768,
1126,
11969,
4752,
800... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 detect launching from a "Startup"-folder shortcut?
===
I need to add the "Run when Windows starts" option to my program CintaNotes, but do not want to sacrifice the "cleanness" of it: it is a 100% portable freeware and should not leave traces in the system.
I've come up with the idea to autodetect running from... | 0 | [
2,
184,
20,
9092,
13762,
37,
21,
13,
7,
13680,
576,
7,
8,
8814,
106,
502,
4118,
60,
800,
3726,
3726,
31,
376,
20,
3547,
14,
13,
7,
3169,
76,
1936,
3244,
7,
4255,
20,
51,
625,
13,
4484,
18278,
3231,
15,
47,
107,
52,
259,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why do I get "unresolved external symbol" errors when using templates?
===
When I write code for a class using templates and split the code between a source (CPP) file and a header (H) file, I get a whole lot of "unresolved external symbol" errors when it comes to linking the final executible, despite the object file ... | 0 | [
2,
483,
107,
31,
164,
13,
7,
1020,
99,
5594,
4763,
4886,
4678,
7,
11908,
76,
568,
22894,
18,
60,
800,
3726,
3726,
76,
31,
2757,
1797,
26,
21,
718,
568,
22894,
18,
17,
2132,
14,
1797,
128,
21,
1267,
13,
5,
150,
3421,
6,
3893,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 does someone go about writing a "macro" in C#?
===
I know something about MACROS. I don't mean the ASSEMBLY language kind. I am talking about those programs that you can use perform repetitions actions on another program. I am talking about those programs that you can use to record a series of events on your com... | 0 | [
2,
184,
630,
737,
162,
88,
1174,
21,
13,
7,
540,
7638,
7,
19,
272,
5910,
60,
800,
3726,
3726,
31,
143,
301,
88,
9069,
18,
9,
31,
221,
22,
38,
884,
14,
1475,
816,
825,
9,
31,
589,
1582,
88,
273,
1726,
30,
42,
92,
275,
2985,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 add throw() to the declarations for my C++ destructors?
===
I have seen some C++ classes with a destructor defined as follows:
class someClass
{
public:
someClass();
~someClass() throw();
};
Is this a good idea?
I am well aware that destructors should ... | 0 | [
2,
378,
31,
3547,
3814,
5,
6,
20,
14,
7098,
18,
26,
51,
272,
20512,
13,
20137,
248,
18,
60,
800,
3726,
3726,
31,
57,
541,
109,
272,
20512,
2684,
29,
21,
13,
20137,
248,
2811,
28,
2415,
45,
718,
109,
1898,
13,
1,
317,
45,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
automate video capture
===
I have a bunch of short videos from my digital cam. i know how to convert them to a better codec with ffmpeg but i would also like to make a preview image for the video. Not a thumbnail that window does, something like media player classic which takes about 5-30 shots of the video. I was hop... | 0 | [
2,
3108,
5281,
763,
3683,
800,
3726,
3726,
31,
57,
21,
7653,
16,
502,
6610,
37,
51,
1888,
5373,
9,
31,
143,
184,
20,
8406,
105,
20,
21,
574,
1797,
150,
29,
13,
2460,
79,
20427,
47,
31,
83,
67,
101,
20,
233,
21,
16121,
1961,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WebClient vs. Proxy Settings - or fun with Download Accelerators
===
I have a relatively simple feature that uses the WebClient class to perform
an HTTPS POST to a web server. This code works reliably but encounters
problems when using the EarthLink or AT&T download accelerator feature.
The download accelerato... | 0 | [
2,
2741,
150,
18513,
38,
4611,
9,
27188,
12410,
13,
8,
54,
2414,
29,
7121,
24484,
18,
800,
3726,
3726,
31,
57,
21,
3109,
1935,
1580,
30,
2027,
14,
2741,
150,
18513,
38,
718,
20,
2985,
40,
7775,
18,
678,
20,
21,
2741,
8128,
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 create a Java/Swing text component that is both styled and has a custom font?
===
How can I create a Java/Swing text component that is both styled and has a custom font? I want to highlight a small portion of the text in red, but at the same time use a custom (embedded via `Font.createFont`) font. JLabel acc... | 0 | [
2,
184,
92,
31,
1600,
21,
8247,
118,
18,
3546,
1854,
5912,
30,
25,
156,
1034,
43,
17,
63,
21,
5816,
9978,
60,
800,
3726,
3726,
184,
92,
31,
1600,
21,
8247,
118,
18,
3546,
1854,
5912,
30,
25,
156,
1034,
43,
17,
63,
21,
5816,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Better way to drop a ton of databases from a server
===
Im runing mySQL in a server where i need to drop tons of databases (after some testing with the server). All databases that i need to drop have the same prefix "Whatever_".
After the prefix, the names are random. So you have your Whatever_something, Whatever_2... | 0 | [
2,
574,
161,
20,
2804,
21,
13,
444,
16,
6018,
18,
37,
21,
8128,
800,
3726,
3726,
797,
485,
68,
51,
18,
22402,
19,
21,
8128,
113,
31,
376,
20,
2804,
5278,
16,
6018,
18,
13,
5,
5162,
109,
4431,
29,
14,
8128,
6,
9,
65,
6018,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Evaluate my Python server structure
===
I'm building a game server in Python and I just wanted to get some input on the architecture of the server that I was thinking up.
So, as we all know, Python cannot scale across cores with a single process. Therefore, on a server with 4 cores, I would need to spawn 4 processe... | 0 | [
2,
13,
15599,
51,
20059,
8128,
1411,
800,
3726,
3726,
31,
22,
79,
353,
21,
250,
8128,
19,
20059,
17,
31,
114,
417,
20,
164,
109,
6367,
27,
14,
2607,
16,
14,
8128,
30,
31,
23,
1440,
71,
9,
86,
15,
28,
95,
65,
143,
15,
20059,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 LoadWith limiting fields returned
===
Is there a way to use LoadWith but specify the fields that are returned?
For example, if I have two tables 1) Products 2) Categories
and do something like
DataLoadOptions dlo = new DataLoadOptions();
dlo.LoadWith<Products>(d => d.Categories);
db.... | 0 | [
2,
6294,
1251,
20,
4444,
255,
6305,
1410,
17567,
2861,
587,
800,
3726,
3726,
25,
80,
21,
161,
20,
275,
6305,
1410,
47,
19077,
14,
2861,
30,
50,
587,
60,
26,
823,
15,
100,
31,
57,
81,
7484,
137,
6,
1985,
172,
6,
6422,
17,
107,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
win32 C++ printing PRINTDLGEX not declared?
===
I am trying to figure out how to print in C++. I want to get the device context using the PrintDlgEx function, which needs a PRINTDLGEX structure. However, I cannot create a PRINTDLGEX because it says it's undeclared. I have included the Commdlg.h and Windows.h and linke... | 0 | [
2,
628,
3125,
272,
20512,
7312,
4793,
43,
10641,
1706,
52,
2482,
60,
800,
3726,
3726,
31,
589,
749,
20,
1465,
70,
184,
20,
4793,
19,
272,
20512,
9,
31,
259,
20,
164,
14,
3646,
4141,
568,
14,
4793,
43,
10641,
1706,
1990,
15,
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... |
How to add callback function to a javascript class?
===
The following code in javascript gives me the error *"this.callback is not a function*
function ajaxRequest()
{
var httpObject;
this.open = open;
this.callback = function(){};
function getHTTPObject()
{
... | 0 | [
2,
184,
20,
3547,
645,
1958,
1990,
20,
21,
8247,
8741,
718,
60,
800,
3726,
3726,
14,
249,
1797,
19,
8247,
8741,
2352,
55,
14,
7019,
1637,
7,
1565,
9,
9200,
1958,
25,
52,
21,
1990,
2483,
1990,
20624,
99,
10351,
5,
6,
13,
1,
403... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Return value alternative in Managed Code
===
With reference to MS Visual Studio, we have EAX register in unmanaged code to look at the return values of the functions in watch window etc. In Managed code, is there any alternative?
| 0 | [
2,
788,
1923,
2676,
19,
1471,
1797,
800,
3726,
3726,
29,
2801,
20,
4235,
3458,
1120,
15,
95,
57,
13,
62,
7522,
2243,
19,
367,
177,
8030,
1797,
20,
361,
35,
14,
788,
4070,
16,
14,
3719,
19,
1455,
1463,
2722,
9,
19,
1471,
1797,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How can I access spreadsheets in the open document format (.ods) with java?
===
I want to read, write and create Spreadsheets in the Open Document Format with Java. And I want the resulting Java-program running on a computer without OpenOffice.org or other ODS-capable programs installed. Exists a library to access thi... | 0 | [
2,
184,
92,
31,
1381,
1789,
17627,
18,
19,
14,
368,
4492,
2595,
13,
5,
9,
5648,
18,
6,
29,
8247,
60,
800,
3726,
3726,
31,
259,
20,
1302,
15,
2757,
17,
1600,
1789,
17627,
18,
19,
14,
368,
4492,
2595,
29,
8247,
9,
17,
31,
259,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Math requirement to apply for course?
===
Hi I have been programming for a while now and I'm about to leave my job to study more. The course I want to study says it requires year 12 / sixth form mathematics or I can take an exam there when I apply. I never did any year 12 so I have no idea what to expect. My maths hav... | 0 | [
2,
5057,
8981,
20,
5645,
26,
674,
60,
800,
3726,
3726,
4148,
31,
57,
74,
3143,
26,
21,
133,
130,
17,
31,
22,
79,
88,
20,
767,
51,
1205,
20,
949,
91,
9,
14,
674,
31,
259,
20,
949,
898,
32,
4781,
159,
390,
13,
118,
2859,
505... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Create thread with >70% CPU utilization
===
I am creating a test program to test the functionality of program which calcultes CPU Utilization.
Now I want to test that program at different times when CPU utilization is 100%, 50% 0% etc.
My question how to make CPU to utilize to 100% or may be > 80%.
I think cr... | 0 | [
2,
1600,
9322,
29,
13,
1,
13040,
17578,
28071,
800,
3726,
3726,
31,
589,
2936,
21,
1289,
625,
20,
1289,
14,
18548,
16,
625,
56,
3550,
21142,
160,
17578,
28071,
9,
130,
31,
259,
20,
1289,
30,
625,
35,
421,
436,
76,
17578,
28071,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Vim: apply settings on files in directory
===
How do I specify Vim settings for all files under the current directory?
The ideal solution would be if Vim searched for and read a .vimrc in the current directory before searching for ~/.vimrc, and apply the settings there for the entire tree.
I've seen a [plugin](... | 0 | [
2,
1790,
79,
45,
5645,
12410,
27,
6488,
19,
16755,
800,
3726,
3726,
184,
107,
31,
19077,
1790,
79,
12410,
26,
65,
6488,
131,
14,
866,
16755,
60,
14,
5628,
4295,
83,
44,
100,
1790,
79,
9036,
26,
17,
1302,
21,
13,
9,
1755,
79,
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... |
getopt implementation suitable for proprietary C++ programs?
===
I'd like to use getopt in my C++ program, but since getopt is licensed under the GPL, and my program is proprietary, I can't.
Does anyone know of any alternatives?
| 0 | [
2,
164,
2594,
38,
6123,
6445,
26,
18856,
272,
20512,
1726,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
275,
164,
2594,
38,
19,
51,
272,
20512,
625,
15,
47,
179,
164,
2594,
38,
25,
6392,
131,
14,
489,
5727,
15,
17,
51,
625,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0... |
iPhone app - Show UIActivityIndicator while an IBAction is performed
===
I want a button in my navbar which lets the user refresh the contents of a tableview. The tableview is already populated and once the user presses the refresh button, I want to show a UIActivityIndicator while I fetch the items to be displayed on... | 0 | [
2,
21024,
4865,
13,
8,
298,
13,
5661,
19348,
108,
4673,
3457,
133,
40,
13,
4598,
8645,
25,
986,
800,
3726,
3726,
31,
259,
21,
5167,
19,
51,
16048,
1850,
56,
6884,
14,
4155,
24905,
14,
8478,
16,
21,
859,
4725,
9,
14,
859,
4725,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP MVC Cookies not persisting
===
I have a ASP MVC App with some seemingly simple code to save and retrieve cookies but for some reason they won't persist. The code in the controller is :
if (System.Web.HttpContext.Current.Response.Cookies["CountryPreference"] == null)
{
HttpCookie co... | 0 | [
2,
28,
306,
307,
8990,
19396,
52,
22084,
68,
800,
3726,
3726,
31,
57,
21,
28,
306,
307,
8990,
4865,
29,
109,
9688,
1935,
1797,
20,
2079,
17,
11917,
19396,
47,
26,
109,
1215,
59,
230,
22,
38,
22084,
9,
14,
1797,
19,
14,
9919,
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... |
Learning project: Please help me setup a server capable of the following:
===
I'd really like some help with this as I have hardly any idea where to start.
I'm fed up of not having somewhere to properly test any web code and the free hosting sites I've found only support half of what I want.
**I want to setup my... | 0 | [
2,
2477,
669,
45,
2247,
448,
55,
18161,
21,
8128,
3868,
16,
14,
249,
45,
800,
3726,
3726,
31,
22,
43,
510,
101,
109,
448,
29,
48,
28,
31,
57,
5943,
186,
882,
113,
20,
799,
9,
31,
22,
79,
6068,
71,
16,
52,
452,
3493,
20,
74... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
position:absolute, need help in marquee
===
Actually i try to move some box alternatively with in a box. I had done it, But both the block does not interrupt each other. What should i do? How to make the block cross each other. I try with style:position, but its not working..
I have using this code..
<marq... | 0 | [
2,
649,
45,
2297,
656,
14047,
15,
376,
448,
19,
1423,
2005,
62,
800,
3726,
3726,
1121,
31,
1131,
20,
780,
109,
1649,
16785,
29,
19,
21,
1649,
9,
31,
41,
677,
32,
15,
47,
156,
14,
1921,
630,
52,
15811,
206,
89,
9,
98,
378,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is SQL Server Management Studio as bad as it seems? How to view relatiosnip attributes????
===
So, I'm using SQL Server Management Studio Express,it has been working not bad so far, ignoring some of the weirdness.
But I just happened to get a whole shwack of data deleted when I happened to delete a row in a paren... | 0 | [
2,
25,
4444,
255,
8128,
1097,
1120,
28,
896,
28,
32,
2206,
60,
184,
20,
1418,
302,
8927,
7760,
889,
306,
13422,
60,
60,
60,
60,
800,
3726,
3726,
86,
15,
31,
22,
79,
568,
4444,
255,
8128,
1097,
1120,
2999,
15,
242,
63,
74,
638,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Coding Test - allow use of web?
===
During hiring a .NET web developer I give the candidate a coding test.
I tend to limit the candidate to MSDN installed on the test server - I think it holds everything the candidate needs to complete the task.
I admit, this is not the normal case as I don't expect the c... | 0 | [
2,
13,
15458,
1289,
13,
8,
1655,
275,
16,
2741,
60,
800,
3726,
3726,
112,
16867,
21,
13,
9,
2328,
2741,
10058,
31,
590,
14,
2316,
21,
13,
15458,
1289,
9,
31,
5480,
20,
4496,
14,
2316,
20,
4235,
43,
103,
4066,
27,
14,
1289,
812... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Compression library using Nvidia's CUDA
===
Does anyone know a project which implements standard compression methods (like Zip, GZip, Tar, BZip2, LZMA,...) using NVIDIA's [CUDA library][1]?
I was wondering if algorithms which can make use of a lot of parallel tasks (like compression) wouldn't run much faster on a g... | 0 | [
2,
14864,
1248,
568,
13,
20763,
18175,
22,
18,
272,
5729,
800,
3726,
3726,
630,
1276,
143,
21,
669,
56,
8713,
18,
1236,
14864,
3195,
13,
5,
1403,
12133,
15,
489,
2553,
306,
15,
2475,
15,
334,
2553,
306,
135,
15,
644,
380,
540,
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 the CLR, is a local copy of an exe is created when running the exe from a remote folder ?
===
in the CLR, is a local copy of an exe is created when running the exe from a remote folder ?
if yes, where ? | 0 | [
2,
19,
14,
10842,
139,
15,
25,
21,
375,
4344,
16,
40,
1396,
62,
25,
679,
76,
946,
14,
1396,
62,
37,
21,
5388,
19294,
13,
60,
800,
3726,
3726,
19,
14,
10842,
139,
15,
25,
21,
375,
4344,
16,
40,
1396,
62,
25,
679,
76,
946,
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,
0... |
What conventions/idioms/patterns are you using configuring IOC Containers using the new Fluent Interfaces
===
I am in the middle of moving over a large body of code to Castle Trunk which includes the new fluent interface for configuring the container. Since the project has a huge windsorConfig xml file that is beyond ... | 0 | [
2,
98,
15117,
118,
20347,
79,
18,
118,
5972,
8766,
18,
50,
42,
568,
1065,
13549,
68,
31,
2499,
18988,
568,
14,
78,
19252,
6573,
18,
800,
3726,
3726,
31,
589,
19,
14,
772,
16,
1219,
84,
21,
370,
358,
16,
1797,
20,
1339,
6436,
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... |
PHP refersh
===
i want to detect the browser is refershed or not using php and if browser refresh particular php code should execute.
please help me ,any code snippet is very helpful.
thanks in advanace,
regards
Naveen | 0 | [
2,
13,
26120,
3806,
252,
800,
3726,
3726,
31,
259,
20,
9092,
14,
16495,
25,
5017,
7399,
54,
52,
568,
13,
26120,
17,
100,
16495,
24905,
1498,
13,
26120,
1797,
378,
15644,
9,
2247,
448,
55,
13,
15,
6001,
1797,
13,
29061,
25,
253,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Any way to synchronize table column widths with HTML + CSS?
===
I have a number of tables with the same columns and it would look a lot nicer if they shared the same column widths. Is such a thing possible? Putting them in the same table with some rows with no borders between them isn't an option.
| 0 | [
2,
186,
161,
20,
13,
16023,
2952,
859,
4698,
9456,
18,
29,
13,
15895,
2754,
272,
18,
18,
60,
800,
3726,
3726,
31,
57,
21,
234,
16,
7484,
29,
14,
205,
7498,
17,
32,
83,
361,
21,
865,
2210,
139,
100,
59,
2592,
14,
205,
4698,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to cache a WSDL with Java-WS
===
I've created an app that interacts with a SOAP service using java WS. I generate classes and manage the WSDL using the built in netbeans functions.
Every time I run the application, it has to download the WSDL and parse it again. The WSDL is frozen at each version so I don't t... | 0 | [
2,
184,
20,
16522,
21,
619,
18,
8643,
29,
8247,
8,
10268,
800,
3726,
3726,
31,
22,
195,
679,
40,
4865,
30,
10001,
18,
29,
21,
6447,
365,
568,
8247,
619,
18,
9,
31,
7920,
2684,
17,
4705,
14,
619,
18,
8643,
568,
14,
392,
19,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AttributeError: 'module' object has no attribute 'model'
===
Can anyone help me please to solve this..
from django.db import models
# Create your models here.
class Poll(models.model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
class Choice(models.... | 0 | [
2,
35,
14755,
29992,
45,
13,
22,
19673,
62,
22,
3095,
63,
90,
35,
14755,
13,
22,
13998,
22,
800,
3726,
3726,
92,
1276,
448,
55,
2247,
20,
8402,
48,
9,
9,
37,
3857,
14541,
9,
9007,
9010,
2761,
6926,
1600,
154,
2761,
235,
9,
718... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++: Error handeling problem
===
In general I use exceptions to deal with errors, however the problem I have here is that the error applies to a diffrent thread than the one that caused it.
Basicly the window has its own thread, and the direct3d device must be created and reset by the same thread that created the w... | 0 | [
2,
272,
20512,
45,
7019,
22559,
68,
1448,
800,
3726,
3726,
19,
297,
31,
275,
13392,
20,
1183,
29,
11908,
15,
207,
14,
1448,
31,
57,
235,
25,
30,
14,
7019,
13169,
20,
21,
20811,
8993,
9322,
119,
14,
53,
30,
1497,
32,
9,
2125,
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... |
Delphi folder scanner - Unicode folder names
===
Yo.
I need to scan a directory and its sub-folders, I used FindFirst and FindNext procedures, but the TSearchRec's Name property is a string, thus unicode folder names (hebrew, arabic etc) are '?????' in the Name property.
I tried using TntComponent, with WideFind... | 0 | [
2,
23030,
19294,
23195,
13,
8,
28010,
19294,
1817,
800,
3726,
3726,
3727,
9,
31,
376,
20,
8313,
21,
16755,
17,
82,
972,
8,
8814,
445,
15,
31,
147,
477,
3552,
17,
477,
20021,
8876,
15,
47,
14,
13,
38,
25136,
14673,
22,
18,
204,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Enterprise Library Validation Block - Should validation be placed on class or interface?
===
I am not sure where the best place to put validation (using the Enterprise Library Validation Block) is? Should it be on the class or on the interface?
Things that may effect it
- Validation rules would not be changed ... | 0 | [
2,
6002,
1248,
27999,
1921,
13,
8,
378,
27999,
44,
1037,
27,
718,
54,
6573,
60,
800,
3726,
3726,
31,
589,
52,
562,
113,
14,
246,
209,
20,
442,
27999,
13,
5,
12655,
14,
6002,
1248,
27999,
1921,
6,
25,
60,
378,
32,
44,
27,
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... |
Extending python - to swig or not to swig
===
I found the bottleneck in my python code, played around with psycho etc. Then decided to write a c/c++ extension for performance.
With the help of swig you almost don't need to care about arguments etc. Everything works fine.
Now my question: swig creates a quite lar... | 0 | [
2,
8176,
20059,
13,
8,
20,
13,
18,
12445,
54,
52,
20,
13,
18,
12445,
800,
3726,
3726,
31,
216,
14,
4040,
9870,
19,
51,
20059,
1797,
15,
257,
140,
29,
8652,
2722,
9,
94,
868,
20,
2757,
21,
272,
118,
150,
20512,
3896,
26,
956,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 set the time out of a socket.connect() call?
===
I have an app that connects to a host that might be down. If the host is down I don't want to wait for the 30 or so seconds it takes to time out. I'm using blocking sockets at the moment.
I've been looking at socket.poll() and socket.select() but I'd rather ... | 0 | [
2,
184,
107,
31,
309,
14,
85,
70,
16,
21,
18482,
9,
25996,
5,
6,
645,
60,
800,
3726,
3726,
31,
57,
40,
4865,
30,
8534,
20,
21,
2015,
30,
530,
44,
125,
9,
100,
14,
2015,
25,
125,
31,
221,
22,
38,
259,
20,
1760,
26,
14,
71... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Syncronize two databases in MySQL
===
I was looking for a portable script or command line program that can syncronize two MySQL databases. I am not looking for a GUI based solution because that can't be automated or run with the buid/deployment tool.
Basically what it should do is scan database1 and database2. Chec... | 0 | [
2,
6063,
19587,
2952,
81,
6018,
18,
19,
51,
18,
22402,
800,
3726,
3726,
31,
23,
699,
26,
21,
13469,
3884,
54,
1202,
293,
625,
30,
92,
6063,
19587,
2952,
81,
51,
18,
22402,
6018,
18,
9,
31,
589,
52,
699,
26,
21,
9457,
432,
4295... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.