unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
To ternary or not to ternary?
===
I'm personally an advocate of the ternary operator: () ? : ; I do realize that it has it's place, but I have come across many programmers that are completely againt ever using it, and some that use it too often.
What are your feelings on it? What interesting code have you seen u... | 0 | [
2,
20,
13,
8766,
1857,
54,
52,
20,
13,
8766,
1857,
60,
800,
3726,
3726,
31,
22,
79,
7200,
40,
7645,
16,
14,
13,
8766,
1857,
6022,
45,
13,
5,
6,
13,
60,
13,
45,
13,
73,
31,
107,
4007,
30,
32,
63,
32,
22,
18,
209,
15,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.net Web App undo support
===
I have a simple web form that has a several fields and a gridview on it. I also have a save and cancel button.
I would like a way to undo what was done to the data on the form when the user presses cancel. This is simple enough with the fields however since changes to the gridview ... | 0 | [
2,
28,
306,
9,
2328,
2741,
4865,
367,
537,
555,
800,
3726,
3726,
31,
57,
21,
1935,
2741,
505,
30,
63,
21,
238,
2861,
17,
21,
7354,
4725,
27,
32,
9,
31,
67,
57,
21,
2079,
17,
14815,
5167,
9,
31,
83,
101,
21,
161,
20,
367,
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... |
What does mysql error 1025 (HY000): Error on rename of './foo' (errorno: 150) mean?
===
I tried this in mysql:
mysql> alter table region drop column country_id;
And got this:
ERROR 1025 (HY000): Error on rename of './product/#sql-14ae_81' to
'./product/region' (errno: 150)
Any ideas? Foreign k... | 0 | [
2,
98,
630,
51,
18,
22402,
7019,
332,
1811,
13,
5,
5608,
3993,
6,
45,
7019,
27,
302,
7259,
16,
13,
22,
9,
118,
4120,
111,
22,
13,
5,
29992,
251,
45,
4354,
6,
884,
60,
800,
3726,
3726,
31,
794,
48,
19,
51,
18,
22402,
45,
51... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Which is the best way to get a list of running processes in unix with python?
===
I'm trying:
import commands
print commands.getoutput("ps -u 0")
But it doesn't work on os x. | 0 | [
2,
56,
25,
14,
246,
161,
20,
164,
21,
968,
16,
946,
5102,
19,
22540,
29,
20059,
60,
800,
3726,
3726,
31,
22,
79,
749,
45,
9010,
14294,
4793,
14294,
9,
3060,
1320,
4881,
5,
7,
1919,
13,
8,
291,
713,
7,
6,
47,
32,
1437,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Flex: Is it possible to modify an embedded icon and use the modified icon in a button?
===
Just that, if you embed an icon:
[Embed(source='icons/checkmark.png')]
private static var CheckMark:Class;
You end up with a dynamic class. You can pretty easily assign the icon to a button at runtime by calling t... | 0 | [
2,
14409,
45,
25,
32,
938,
20,
17579,
40,
12138,
9801,
17,
275,
14,
5372,
9801,
19,
21,
5167,
60,
800,
3726,
3726,
114,
30,
15,
100,
42,
11911,
69,
40,
9801,
45,
636,
1503,
4283,
5,
12097,
3726,
22,
49,
12124,
118,
12542,
4527,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Compile error in VS.NET 2008 (VB.NET) that I can't get rid of!!
===
I can't shake this error when compiling my Visual Studio.NET 2008 solution. The project that's generating the error is a VB.NET Web Application in a 12 project solution (mixed types and languages).
I've tried all the tricks I can find on google, a... | 0 | [
2,
26561,
7019,
19,
4611,
9,
2328,
570,
13,
5,
20468,
9,
2328,
6,
30,
31,
92,
22,
38,
164,
6681,
16,
19015,
800,
3726,
3726,
31,
92,
22,
38,
4657,
48,
7019,
76,
24378,
51,
3458,
1120,
9,
2328,
570,
4295,
9,
14,
669,
30,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Open Source C++ to C# compiler/converter
===
Even if it requires manual input. Is there any good-enough option available? | 0 | [
2,
368,
1267,
272,
20512,
20,
272,
5910,
21486,
118,
1126,
8122,
106,
800,
3726,
3726,
166,
100,
32,
4781,
5132,
6367,
9,
25,
80,
186,
254,
8,
23680,
4255,
904,
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,
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... |
How to update object with no data contexts
===
Entity framework provides great flexibility to update data in the same datacontext
Dim personA = (from p in datacontext.Person where p.PersonID = 1 select p)
personA.name = txtName.value
datacontext.savechanges()
If I have to move this Update function... | 0 | [
2,
184,
20,
11100,
3095,
29,
90,
1054,
4141,
18,
800,
3726,
3726,
9252,
6596,
1927,
374,
19401,
20,
11100,
1054,
19,
14,
205,
1054,
1126,
11969,
5937,
17249,
800,
13,
5,
2665,
351,
19,
1054,
1126,
11969,
9,
7276,
113,
351,
9,
7276... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 free pointer returned by getpwuid() in Linux?
===
After I call getpwuid(uid), I have a reference to a pointer. Should I free that when I don't use it anymore? Reading the man pages, it says that it makes reference to some static area, that may be overwritten by subsequent calls to the same functions, so I'm s... | 0 | [
2,
378,
31,
551,
454,
106,
587,
34,
164,
17230,
5661,
43,
5,
6,
19,
13024,
60,
800,
3726,
3726,
75,
31,
645,
164,
17230,
5661,
43,
5,
5661,
43,
6,
15,
31,
57,
21,
2801,
20,
21,
454,
106,
9,
378,
31,
551,
30,
76,
31,
221,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I access argc and argv in c++ from a library function
===
I'm writing a library which is to be dynamically loaded in C++.
I'd like to read argc and argv (for debugging reasons) from within my code, however I do not have access to the main function. Is there any way to retrieve the command line (both Windo... | 0 | [
2,
184,
92,
31,
1381,
13,
10663,
150,
17,
13,
10663,
710,
19,
272,
20512,
37,
21,
1248,
1990,
800,
3726,
3726,
31,
22,
79,
1174,
21,
1248,
56,
25,
20,
44,
7782,
1326,
8572,
19,
272,
20512,
9,
31,
22,
43,
101,
20,
1302,
13,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Localization in OpenSocial gadget app
===
I'm trying to add multi-language support to an OpenSocial application. I see that I can link to my own message bundles in the gadget XML markup, but how do I actually extract values from them? | 0 | [
2,
375,
1829,
19,
368,
11559,
25661,
4865,
800,
3726,
3726,
31,
22,
79,
749,
20,
3547,
1889,
8,
7020,
555,
20,
40,
368,
11559,
3010,
9,
31,
196,
30,
31,
92,
3508,
20,
51,
258,
2802,
10194,
18,
19,
14,
25661,
23504,
943,
576,
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,
0,
0,
0,
0,
0,
0,
0... |
Django/Python - Grouping objects by common set from a many-to-many relationships
===
This is a part algorithm-logic question (how to do it), part implementation question (how to do it best!). I'm working with Django, so I thought I'd share with that.
In Python, it's worth mentioning that the problem is somewhat re... | 0 | [
2,
3857,
14541,
118,
6448,
11570,
13,
8,
19288,
3916,
34,
757,
309,
37,
21,
151,
8,
262,
8,
14842,
5833,
800,
3726,
3726,
48,
25,
21,
141,
9083,
8,
24268,
1301,
13,
5,
1544,
20,
107,
32,
6,
15,
141,
6123,
1301,
13,
5,
1544,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there any thing such as SELECT LAST in sql query?
===
I am using sybase database to query the daily transaction report. I had subquery within my script.
Here as it goes:
SELECT orders.accountid ,items.x,etc
(SELECT charges.mistotal FROM charges where items.id = charges.id)
FROM items,orders
WHERE date = '... | 0 | [
2,
25,
80,
186,
584,
145,
28,
5407,
236,
19,
4444,
255,
25597,
60,
800,
3726,
3726,
31,
589,
568,
10315,
8436,
6018,
20,
25597,
14,
1954,
12799,
1330,
9,
31,
41,
972,
8190,
93,
363,
51,
3884,
9,
235,
28,
32,
1852,
45,
5407,
32... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Enumerated types as constants across web services?
===
I'm working on a project where I'm trying to avoid hard-coding DB IDs in a .NET service-oriented project. There are some instances where I **need** to set ID values through code but I don't want to just hard code the IDs since I've done that before and it lead to ... | 0 | [
2,
26940,
69,
2551,
28,
3587,
18,
464,
2741,
687,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
669,
113,
31,
22,
79,
749,
20,
2658,
552,
8,
15458,
13,
9007,
13,
9178,
19,
21,
13,
9,
2328,
365,
8,
6800,
669,
9,
80,
50,
109... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to check for key being held down on startup in Java
===
I'm trying to write a resolution selection dialog that pops up when a program first starts up. To prevent boring the user, I want to implement the fairly standard feature that you can turn off that dialog with a checkbox, but get it back by holding down the a... | 0 | [
2,
184,
20,
2631,
26,
1246,
142,
269,
125,
27,
20205,
19,
8247,
800,
3726,
3726,
31,
22,
79,
749,
20,
2757,
21,
4302,
3155,
28223,
30,
1675,
18,
71,
76,
21,
625,
64,
3244,
71,
9,
20,
2501,
13081,
14,
4155,
15,
31,
259,
20,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What works of entertaining fiction best depict programmers?
===
Like anybody I like a good book or movie, especially if they have the cool programmer guy who ends up saving the world and getting the girl at the same time. Unfortunately, most works of fiction, especially movies, are really bad at getting the details ri... | 2 | [
2,
98,
693,
16,
15677,
3209,
246,
20444,
17968,
18,
60,
800,
3726,
3726,
101,
11181,
31,
101,
21,
254,
360,
54,
1308,
15,
1118,
100,
59,
57,
14,
2700,
17968,
1244,
72,
3451,
71,
7599,
14,
126,
17,
1017,
14,
695,
35,
14,
205,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you localize a database driven website
===
I've been playing with the .NET built in localization features and they seem to all rely on putting data in resx files.
But most systems can't rely on this because they are database driven. So how do you solve this issue? Is there a built in .NET way, or do you cre... | 0 | [
2,
184,
107,
42,
375,
2952,
21,
6018,
5355,
2271,
800,
3726,
3726,
31,
22,
195,
74,
791,
29,
14,
13,
9,
2328,
392,
19,
375,
1829,
967,
17,
59,
2260,
20,
65,
12139,
27,
3873,
1054,
19,
10719,
396,
6488,
9,
47,
127,
1242,
92,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What svn command would list all the files modified on a branch?
===
In svn, I have a branch which was created, say at revision 22334. Commits were then made on the branch.
How do I get a list of all files that were changed on the branch compared to what's on the trunk? I do not want to see files that were changed o... | 0 | [
2,
98,
13,
18,
16578,
1202,
83,
968,
65,
14,
6488,
5372,
27,
21,
1686,
60,
800,
3726,
3726,
19,
13,
18,
16578,
15,
31,
57,
21,
1686,
56,
23,
679,
15,
395,
35,
11323,
1024,
24606,
9,
9686,
18,
46,
94,
117,
27,
14,
1686,
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... |
String problem with SQL Reader?
===
Function FillAdminAccount() As Boolean
FillAdminAccount = True
Try
SQLconn.ConnectionString = "connect timeout=9999999;" & _
"data source=" & DefaultIserver & ";" & _
... | 0 | [
2,
3724,
1448,
29,
4444,
255,
7765,
60,
800,
3726,
3726,
1990,
3509,
1283,
2160,
29148,
5,
6,
28,
9827,
413,
210,
3509,
1283,
2160,
29148,
800,
1151,
1131,
4444,
255,
1126,
103,
9,
25996,
872,
11130,
800,
13,
7,
25996,
85,
1320,
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... |
TSQL: How do I do a self-join in XML to get a nested document?
===
I have a SQL Server 2005 table like this:
create table Taxonomy(
CategoryId integer primary key,
ParentCategoryId integer references Taxonomy(CategoryId),
CategoryDescription varchar(50)
)
with data looking like
<tabl... | 0 | [
2,
13,
38,
18,
22402,
45,
184,
107,
31,
107,
21,
1119,
8,
1636,
108,
19,
23504,
20,
164,
21,
5618,
69,
4492,
60,
800,
3726,
3726,
31,
57,
21,
4444,
255,
8128,
812,
859,
101,
48,
45,
1600,
859,
26802,
5,
3230,
1340,
13820,
1256... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 move your Javascript files to a different main domain that you also own?
===
I've noticed that just in the last year or so, many major websites have made the same change to the way their pages are structured. Each has moved their Javascript files from being hosted on the same domain as the page itself, to being ho... | 0 | [
2,
483,
780,
154,
8247,
8741,
6488,
20,
21,
421,
407,
4603,
30,
42,
67,
258,
60,
800,
3726,
3726,
31,
22,
195,
2711,
30,
114,
19,
14,
236,
159,
54,
86,
15,
151,
394,
13931,
57,
117,
14,
205,
753,
20,
14,
161,
66,
4434,
50,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Improving the quality of code?
===
So, in reading this site, it seems that the shop in which I work does a lot of things wrong and some things right. How can I improve the code that I work with from my colleagues? The only thing I can think of is to lead by example - start using Boost, etc. Any other thoughts? | 0 | [
2,
9273,
14,
2190,
16,
1797,
60,
800,
3726,
3726,
86,
15,
19,
1876,
48,
689,
15,
32,
2206,
30,
14,
2546,
19,
56,
31,
170,
630,
21,
865,
16,
564,
1389,
17,
109,
564,
193,
9,
184,
92,
31,
3545,
14,
1797,
30,
31,
170,
29,
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... |
Extract all string from a java project
===
I have a rather big number of source files that I need parse and extract all string literals and put them in a file as constant. For exemple:
Label l = new Label("Cat");
Would become:
Label l = new Label(Constants.CAT);
And in Constants.java I would have:
String ... | 0 | [
2,
10962,
65,
3724,
37,
21,
8247,
669,
800,
3726,
3726,
31,
57,
21,
864,
580,
234,
16,
1267,
6488,
30,
31,
376,
2017,
870,
17,
10962,
65,
3724,
20665,
18,
17,
442,
105,
19,
21,
3893,
28,
3587,
9,
26,
1396,
1503,
5106,
45,
1899... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Apache mod_rewrite to catch XML requests
===
How do I create a apache RewriteRule that catches any request URL ending in .xml, strips off the .xml and passes it to a specific script?
http://www.example.com/document.xml, becomes http://www.example.com/document passed to script.php | 0 | [
2,
17140,
7226,
1,
99,
23716,
20,
2949,
23504,
12279,
800,
3726,
3726,
184,
107,
31,
1600,
21,
17140,
27891,
16154,
30,
12195,
186,
3772,
287,
6362,
3119,
19,
13,
9,
396,
8184,
15,
15383,
168,
14,
13,
9,
396,
8184,
17,
3789,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ListBox with Grid as ItemsPanelTemplate produces weird binding errors
===
I've got a ListBox control and I'm presenting a fixed number of ListBoxItem objects in a grid layout. So I've set my ItemsPanelTemplate to be a Grid.
I'm accessing the Grid from code behind to configure the RowDefinitions and ColumnDefinition... | 0 | [
2,
968,
5309,
29,
7354,
28,
3755,
3206,
532,
9577,
6554,
6700,
5455,
8728,
11908,
800,
3726,
3726,
31,
22,
195,
330,
21,
968,
5309,
569,
17,
31,
22,
79,
12310,
21,
3535,
234,
16,
968,
5309,
2119,
79,
3916,
19,
21,
7354,
9106,
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... |
Programmatically Sort Start Menu
===
I'm looking to sort the start menu alphabetically using C#. I've read about deleting the registry key
`HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder`
but when I tried it on my machine it doesn't appear to do much of anything. Does anyone have any other ide... | 0 | [
2,
625,
6732,
1326,
2058,
799,
11379,
800,
3726,
3726,
31,
22,
79,
699,
20,
2058,
14,
799,
11379,
27169,
102,
568,
272,
5910,
9,
31,
22,
195,
1302,
88,
121,
1336,
68,
14,
18269,
1246,
13,
1,
11321,
3987,
1,
12980,
5011,
1,
22019... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 exactly do you do when your team leader is incompetent?
===
One of your team members has been appointed "technical lead" or "team lead" yet he is technically incompetent and lacks major leadership skills.
By technically incompetent, I mean that the person doesn't know the difference between an abstract class a... | 0 | [
2,
98,
1890,
107,
42,
107,
76,
154,
173,
1156,
25,
29269,
60,
800,
3726,
3726,
53,
16,
154,
173,
443,
63,
74,
929,
13,
7,
22307,
672,
7,
54,
13,
7,
6575,
672,
7,
768,
24,
25,
12345,
29269,
17,
1792,
18,
394,
2399,
3207,
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... |
Updating two tables in a many-to-one relationship through a view in PostgreSQL
===
I have two tables: `foos` and `bars`, and there is a many-to-one relationship between them: each `foo` can have many `bars`. I also have a view `foobars`, which joins these two tables (its query is like `select foo.*, bar.id from foos, ... | 0 | [
2,
71,
43,
1880,
81,
7484,
19,
21,
151,
8,
262,
8,
849,
1429,
120,
21,
1418,
19,
678,
6879,
18,
22402,
800,
3726,
3726,
31,
57,
81,
7484,
45,
13,
1,
4120,
759,
1,
17,
13,
1,
1850,
18,
1,
15,
17,
80,
25,
21,
151,
8,
262,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 create a Jet ODBC link to a SQL Server view with periods in the field names?
===
I need to create an ODBC link from an Access 2003 (Jet) database to a SQL Server hosted view which contains aliased field names containing periods such as:
Seq.Group
In the SQL source behind the view, the field names ar... | 0 | [
2,
184,
107,
31,
1600,
21,
4797,
12340,
7229,
3508,
20,
21,
4444,
255,
8128,
1418,
29,
7302,
19,
14,
575,
1817,
60,
800,
3726,
3726,
31,
376,
20,
1600,
40,
12340,
7229,
3508,
37,
40,
1381,
973,
13,
5,
10307,
6,
6018,
20,
21,
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 to check if there is any read/write activity for a specific harddrive with C#?
===
I'm curious how to assess if there is any read- or write-activity for a specific harddrive at a given moment with .NET / C#. Second it would be interesting to assess the actual speed of access.
Any ideas? | 0 | [
2,
184,
20,
2631,
100,
80,
25,
186,
1302,
118,
23716,
2358,
26,
21,
1903,
552,
14573,
29,
272,
5910,
60,
800,
3726,
3726,
31,
22,
79,
7686,
184,
20,
13029,
100,
80,
25,
186,
1302,
8,
54,
2757,
8,
19348,
26,
21,
1903,
552,
1457... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.NET Deployment
===
For the last couple of months I have been writing an intranet site for my college with lots of reports for staff about students. It is all going well but once a week (ish) I am having to go to IT get them to log into IIS stop the application pool, clear out the website folder, clear out the temp... | 0 | [
2,
28,
306,
9,
2328,
10475,
800,
3726,
3726,
26,
14,
236,
1335,
16,
818,
31,
57,
74,
1174,
40,
14369,
2328,
689,
26,
51,
314,
29,
7503,
16,
2813,
26,
1138,
88,
573,
9,
32,
25,
65,
228,
134,
47,
382,
21,
877,
13,
5,
1595,
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... |
Java development in a Perl shop: How to select the right tool?
===
My group is a Perl shop in an organization that is very heterogenous. Although we support the odd Java, PHP, or Python installation, we're using Perl for nearly all of our web applications and systems/data marshalling tasks. All of our boxes are Linu... | 0 | [
2,
8247,
522,
19,
21,
416,
255,
2546,
45,
184,
20,
5407,
14,
193,
5607,
60,
800,
3726,
3726,
51,
214,
25,
21,
416,
255,
2546,
19,
40,
1165,
30,
25,
253,
14154,
1863,
1291,
9,
419,
95,
555,
14,
4210,
8247,
15,
13,
26120,
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... |
ASP.NET WSAT (Website Administration Tool) and Custom Membership Providers
===
I'm building an ASP.NET MVC applicaiton that will have custom role and membership providers. I have been looking into adminstration tools to save us some time, [WSAT][1] has crossed my path. It looks good at a glance, it's all open sourc... | 0 | [
2,
28,
306,
9,
2328,
619,
10833,
13,
5,
14113,
9097,
1603,
5607,
6,
17,
5816,
4363,
13488,
800,
3726,
3726,
31,
22,
79,
353,
40,
28,
306,
9,
2328,
307,
8990,
4865,
16904,
49,
444,
30,
129,
57,
5816,
597,
17,
4363,
13488,
9,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to remove TFS source control bindings for a solution from the command line
===
Is there a command-line approach for having VS 2008 remove TFS source control bindings from a solution file and the constituent project files? I need something that I can run from a batch file so that I don't have to open the solution ... | 0 | [
2,
184,
20,
4681,
13,
11720,
18,
1267,
569,
8728,
18,
26,
21,
4295,
37,
14,
1202,
293,
800,
3726,
3726,
25,
80,
21,
1202,
8,
1143,
2141,
26,
452,
4611,
570,
4681,
13,
11720,
18,
1267,
569,
8728,
18,
37,
21,
4295,
3893,
17,
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... |
Removing .svn folders from project for deployment
===
I'm using subversion (TortoiseSVN) and I want to remove the .svn folders from my project for deployment, is there an automated way of doing this using subversion or do I have to create a custom script for this? | 0 | [
2,
9096,
13,
9,
18,
16578,
19294,
18,
37,
669,
26,
10475,
800,
3726,
3726,
31,
22,
79,
568,
972,
10898,
13,
5,
2153,
38,
16238,
18,
16578,
6,
17,
31,
259,
20,
4681,
14,
13,
9,
18,
16578,
19294,
18,
37,
51,
669,
26,
10475,
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... |
Google Analytics in ASP.Net
===
I have a web page in which people go to register to my site. there is server side validation to accept them. then I need to call some Javascript to tell GA that user was or was not registered. later I need stats on success in registration.
How can I call the GA function on my server ... | 0 | [
2,
8144,
26320,
19,
28,
306,
9,
2328,
800,
3726,
3726,
31,
57,
21,
2741,
2478,
19,
56,
148,
162,
20,
2243,
20,
51,
689,
9,
80,
25,
8128,
270,
27999,
20,
3440,
105,
9,
94,
31,
376,
20,
645,
109,
8247,
8741,
20,
494,
4369,
30,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
linqtosql, timespan, aggregates ... can it be done?
===
Can this be done w/ linqtosql?
SELECT City, SUM(DATEDIFF(minute,StartDate,Completed)) AS Downtime
FROM Incidents
GROUP BY City
| 0 | [
2,
6294,
1251,
262,
18,
22402,
15,
436,
3206,
15,
8544,
18,
13,
9,
9,
9,
92,
32,
44,
677,
60,
800,
3726,
3726,
92,
48,
44,
677,
619,
118,
6294,
1251,
262,
18,
22402,
60,
5407,
136,
15,
3907,
5,
43,
1669,
6021,
5,
5556,
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,
0... |
Exporting MSAccess Tables as Unicode with Tilde delimiter
===
I want to export the contents of several tables from MSAccess2003.
The tables contain unicode Japanese characters.
I want to store them as tilde delimited text files.
I can do this manually using File/Export and, in the 'Advanced' dialog selecting til... | 0 | [
2,
7487,
68,
4235,
20604,
7484,
28,
28010,
29,
9189,
546,
121,
20565,
106,
800,
3726,
3726,
31,
259,
20,
7487,
14,
8478,
16,
238,
7484,
37,
4235,
20604,
3325,
9,
14,
7484,
3717,
28010,
1095,
1766,
9,
31,
259,
20,
1718,
105,
28,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I get the "td" in a table element with jquery?
===
I need to get the "td" element of a table. I do not have the ability to add a mouseover or onclick event to the "td" element, so I need to add them with JQUERY.
I need JQUERY to add the mouseover and onclick event to the all "td" elements in the table.
T... | 0 | [
2,
184,
107,
31,
164,
14,
13,
7,
38,
43,
7,
19,
21,
859,
4520,
29,
487,
8190,
93,
60,
800,
3726,
3726,
31,
376,
20,
164,
14,
13,
7,
38,
43,
7,
4520,
16,
21,
859,
9,
31,
107,
52,
57,
14,
2165,
20,
3547,
21,
7567,
2549,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
One coding style policy, many beautification tools?
===
Are there any projects that help to show that two code beautification tools are configured to produce identical results?
For example, suppose that a project has mandated a particular coding style. Further suppose that the developers of this project are free to... | 0 | [
2,
53,
13,
15458,
1034,
1486,
15,
151,
7821,
38,
4634,
4672,
60,
800,
3726,
3726,
50,
80,
186,
2314,
30,
448,
20,
298,
30,
81,
1797,
7821,
38,
4634,
4672,
50,
28895,
20,
2213,
6323,
1736,
60,
26,
823,
15,
5787,
30,
21,
669,
63... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
My form doesn't properly display when it is launched from another thread
===
Here's the situation:
I'm developing a simple application with the following structure:
- FormMain (startup point)
- FormNotification
- CompleFunctions
Right?
Well, in **FormMain** I have the following function:
priva... | 0 | [
2,
51,
505,
1437,
22,
38,
7428,
3042,
76,
32,
25,
1601,
37,
226,
9322,
800,
3726,
3726,
235,
22,
18,
14,
1858,
45,
31,
22,
79,
3561,
21,
1935,
3010,
29,
14,
249,
1411,
45,
13,
8,
505,
6232,
13,
5,
13680,
576,
454,
6,
13,
8... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Defining custom actions in Selenium
===
I have a Selenium test case that enters dates into a date selector made up of three pulldowns (year, month, and day).
select validity_Y label=2008
select validity_M label=08
select validity_D label=08
This part gets repeated a lot throughout the test case. ... | 0 | [
2,
14684,
5816,
3078,
19,
23027,
14311,
800,
3726,
3726,
31,
57,
21,
23027,
14311,
1289,
610,
30,
8104,
4076,
77,
21,
1231,
23946,
117,
71,
16,
132,
2201,
2968,
18,
13,
5,
731,
15,
1617,
15,
17,
208,
6,
9,
5407,
19058,
1,
93,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Programming Contests (with prizes)
===
I've had a go at solving the [Eternity puzzle][1] (1,000,000 GBP price) and [Netflix Prize][2] ($1,000,000) in the past. I didn't win either!
What other contests with prizes do you know about / have competed in yourself?
[1]: http://en.wikipedia.org/wiki/Eternity_puzzl... | 0 | [
2,
3143,
3013,
18,
13,
5,
1410,
14101,
6,
800,
3726,
3726,
31,
22,
195,
41,
21,
162,
35,
17533,
14,
636,
62,
8766,
856,
9164,
500,
2558,
165,
500,
13,
5,
165,
11623,
14857,
306,
2162,
6,
17,
636,
2328,
410,
13541,
1507,
500,
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... |
No output to console from a WPF application?
===
I'm using Console.WriteLine() from a very simple WPF test application, but when I execute the application from the command line, I'm seeing nothing being written to the console. Does anyone know what might be going on here?
I can reproduce it by creating a WPF applic... | 0 | [
2,
90,
5196,
20,
8650,
37,
21,
619,
7721,
3010,
60,
800,
3726,
3726,
31,
22,
79,
568,
8650,
9,
23716,
1143,
5,
6,
37,
21,
253,
1935,
619,
7721,
1289,
3010,
15,
47,
76,
31,
15644,
14,
3010,
37,
14,
1202,
293,
15,
31,
22,
79,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Experience with CSLA in a WPF/WCF application
===
Has anyone used CSLA in an application that has a WPF front end and a WCF wire for entities?
If so, which "entity framework" did you use? (nHibernate, Linq, etc...)
What were the hang-ups? What did it help you with?
I am concerned with implementing this for an ... | 0 | [
2,
1496,
29,
272,
18,
531,
19,
21,
619,
7721,
118,
499,
8940,
3010,
800,
3726,
3726,
63,
1276,
147,
272,
18,
531,
19,
40,
3010,
30,
63,
21,
619,
7721,
431,
241,
17,
21,
11801,
410,
6511,
26,
12549,
60,
100,
86,
15,
56,
13,
7... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
When designing business applications, is a 'google style' search appropriate?
===
"Business applications" is a little broad I know, let me narrow a bit:
For example, say we are developing a suite of accounting tools. Search requirements are generally on account number, user name, street address, amount owed etc.
... | 0 | [
2,
76,
15026,
508,
3767,
15,
25,
21,
13,
22,
16111,
4875,
1034,
22,
2122,
4593,
60,
800,
3726,
3726,
13,
7,
18717,
3767,
7,
25,
21,
265,
2748,
31,
143,
15,
408,
55,
2868,
21,
1142,
45,
26,
823,
15,
395,
95,
50,
3561,
21,
616... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Combine multiple LINQ expressions from an array
===
I'm trying to combine a list of functions like so.
I have this:
Func<int, bool>[] criteria = new Func<int, bool>[3];
criteria[0] = i => i % 2 == 0;
criteria[1] = i => i % 3 == 0;
criteria[2] = i => i % 5 == 0;
And I want this:
Func<... | 0 | [
2,
12287,
1886,
6294,
1251,
13832,
37,
40,
7718,
800,
3726,
3726,
31,
22,
79,
749,
20,
12287,
21,
968,
16,
3719,
101,
86,
9,
31,
57,
48,
45,
2414,
150,
1,
6391,
15,
1607,
1823,
1,
2558,
500,
9157,
800,
78,
2414,
150,
1,
6391,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 do a "git export" (like "svn export")
===
I've been wondering whether there is a good "git export" solution that creates a copy of a tree without the `.git` repository directory. There are at least three methods I know of:
1. `git clone` followed by removing the `.git` repository directory.
* [`git checkout... | 0 | [
2,
184,
20,
107,
21,
13,
7,
10404,
7487,
7,
13,
5,
1403,
13,
7,
18,
16578,
7487,
7,
6,
800,
3726,
3726,
31,
22,
195,
74,
5712,
1472,
80,
25,
21,
254,
13,
7,
10404,
7487,
7,
4295,
30,
9695,
21,
4344,
16,
21,
1541,
366,
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... |
Using ASP.NET Dynamic Data site on Windows XP IIS?
===
I have a Dynamic Data website built in Visual Studio 2008 using .NET 3.5 SP1. The site works OK on my Vista machine, but I get the following error when running it on a Windows XP machine:
> Server Error in '/FlixManagerWeb'
> Application.
> -----------------... | 0 | [
2,
568,
28,
306,
9,
2328,
7782,
1054,
689,
27,
1936,
23045,
595,
18,
60,
800,
3726,
3726,
31,
57,
21,
7782,
1054,
2271,
392,
19,
3458,
1120,
570,
568,
13,
9,
2328,
203,
9,
264,
3782,
165,
9,
14,
689,
693,
5854,
27,
51,
13520,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 we still program with flat files?
===
Why are flat text files the state of the art for representing source code?
Sure - the preprocessor and compiler need to see a flat file representation of the file, but that's easily created.
It seems to me that some form of XML or binary data could represent lots of i... | 0 | [
2,
483,
107,
95,
174,
625,
29,
1844,
6488,
60,
800,
3726,
3726,
483,
50,
1844,
1854,
6488,
14,
146,
16,
14,
415,
26,
3793,
1267,
1797,
60,
562,
13,
8,
14,
782,
16835,
248,
17,
21486,
376,
20,
196,
21,
1844,
3893,
5442,
16,
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... |
FitNesse Wiki Per Project or Company?
===
For a company with many development projects, should you create multiple FitNesse wikis (one for each project/product) or contain them all within a large wiki for everything?
Advantages of one large wiki is the ability to easily link to other products in the company and tha... | 0 | [
2,
11331,
62,
13,
17375,
416,
669,
54,
237,
60,
800,
3726,
3726,
26,
21,
237,
29,
151,
522,
2314,
15,
378,
42,
1600,
1886,
11331,
62,
13,
17375,
18,
13,
5,
849,
26,
206,
669,
118,
14086,
6,
54,
3717,
105,
65,
363,
21,
370,
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... |
Integrated Help - Merged Help Indexes
===
If anyone has had more than a couple of Microsoft tools or products installed (or a local install of the MSDN library) side by side, you might have noticed that opening help (hitting F1) or opening, say, SQL Server Books Online causes the help indexes to be re-indexed - this i... | 0 | [
2,
5547,
448,
13,
8,
3901,
448,
4348,
160,
800,
3726,
3726,
100,
1276,
63,
41,
91,
119,
21,
1335,
16,
7099,
4672,
54,
1985,
4066,
13,
5,
248,
21,
375,
16146,
16,
14,
4235,
43,
103,
1248,
6,
270,
34,
270,
15,
42,
530,
57,
271... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Run custom Javascript whenever a client-side ASP.NET validator is triggered?
===
Is there a way to run some custom Javascript whenever a client-side ASP.NET validator (RequiredFieldValidator, RangeValidator, etc) is triggered?
Basically, I have a complicated layout that requires I run a custom script whenever a DO... | 0 | [
2,
485,
5816,
8247,
8741,
6634,
21,
6819,
8,
1416,
28,
306,
9,
2328,
7394,
3457,
25,
15164,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
485,
109,
5816,
8247,
8741,
6634,
21,
6819,
8,
1416,
28,
306,
9,
2328,
7394,
3457,
13,
5,
99... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
HTTPHandler to Retrieve Download File from another server?
===
I would like to provide downloadable files to website users, but want to hide the URL of the files from the user... I'm thinking an HTTPHanlder could do the trick, but is it possible to retrieve a file from an external server and stream it to the user?
... | 0 | [
2,
7775,
3203,
1252,
20,
11917,
7121,
3893,
37,
226,
8128,
60,
800,
3726,
3726,
31,
83,
101,
20,
1181,
27795,
6488,
20,
2271,
3878,
15,
47,
259,
20,
3077,
14,
287,
6362,
16,
14,
6488,
37,
14,
4155,
9,
9,
9,
31,
22,
79,
1440,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
HTML - display an image as large as possible while preserving aspect ratio
===
I'd like to have an HTML page which displays a single PNG or JPEG image. I want the image to take up the whole screen but when I do this:
<img src="whatever.jpeg" width="100%" height="100%" />
It just stretches the image and messe... | 0 | [
2,
13,
15895,
13,
8,
3042,
40,
1961,
28,
370,
28,
938,
133,
17936,
7289,
4825,
800,
3726,
3726,
31,
22,
43,
101,
20,
57,
40,
13,
15895,
2478,
56,
9412,
21,
345,
351,
2723,
54,
487,
20427,
1961,
9,
31,
259,
14,
1961,
20,
247,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you know if the HTTP Compression is Working?
===
How do you know if the HTTP Compression setup is working? Is there any tool I can use to see the compressed page before it is uncompressed by the browser? are there any tools to measure the amount compressed and response speed? | 0 | [
2,
184,
107,
42,
143,
100,
14,
7775,
14864,
25,
638,
60,
800,
3726,
3726,
184,
107,
42,
143,
100,
14,
7775,
14864,
18161,
25,
638,
60,
25,
80,
186,
5607,
31,
92,
275,
20,
196,
14,
18472,
2478,
115,
32,
25,
367,
960,
5890,
69,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Syntax highlighting code with Javascript
===
What Javascript libraries can you recommend for syntax highlighting <code> blocks in HTML?
(One suggestion per answer please). | 0 | [
2,
22649,
23102,
1797,
29,
8247,
8741,
800,
3726,
3726,
98,
8247,
8741,
8649,
92,
42,
12360,
26,
22649,
23102,
279,
255,
38,
73,
9375,
1569,
263,
38,
73,
5198,
19,
13,
15895,
60,
13,
5,
849,
10910,
416,
1623,
2247,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Is it good practice to use the XOR (^) operator in Java for boolean checks?
===
I personally like the 'exclusive or' operator when it makes sense in context of boolean checks because of its conciseness. I much prefer to write
if (boolean1 ^ boolean2)
{
//do it
}
than
if((boolea... | 0 | [
2,
25,
32,
254,
1345,
20,
275,
14,
993,
248,
13,
5,
1,
6,
6022,
19,
8247,
26,
9827,
413,
210,
16602,
60,
800,
3726,
3726,
31,
7200,
101,
14,
13,
22,
29548,
54,
22,
6022,
76,
32,
1364,
1259,
19,
4141,
16,
9827,
413,
210,
1660... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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:How to make ODBC connection in web.Config file.
===
I was to make crystal reporting with sybase database. I will use reportviewer to view those report. I am stuck on how to make ODBC connection in web.config file.
I had done with winforms but i am still learning. Just looking for help.
Thanks inb advance | 0 | [
2,
448,
45,
1544,
20,
233,
12340,
7229,
2760,
19,
2741,
9,
14093,
2816,
3893,
9,
800,
3726,
3726,
31,
23,
20,
233,
4282,
6670,
29,
10315,
8436,
6018,
9,
31,
129,
275,
1330,
4725,
106,
20,
1418,
273,
1330,
9,
31,
589,
4549,
27,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Giving character to your unit tests
===
I have been thinking a lot about unit testing and how to improve the readability of the unit tests. I thought why not give a character to the classes in the unit test to clarify what they do.
Here is a simple unit test that I wrote:
[TestFixture]
public clas... | 0 | [
2,
1438,
925,
20,
154,
1237,
4894,
800,
3726,
3726,
31,
57,
74,
1440,
21,
865,
88,
1237,
4431,
17,
184,
20,
3545,
14,
1302,
4091,
16,
14,
1237,
4894,
9,
31,
289,
483,
52,
590,
21,
925,
20,
14,
2684,
19,
14,
1237,
1289,
20,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you put { and } in a format string
===
I'm trying to generate some code at runtime where I put in some boiler-plate stuff and the user is allowed to enter the actual working code. My boiler-plate code looks something like this:
using System;
public class ClassName
{
public doubl... | 0 | [
2,
184,
107,
42,
442,
13,
1,
17,
13,
1,
19,
21,
2595,
3724,
800,
3726,
3726,
31,
22,
79,
749,
20,
7920,
109,
1797,
35,
485,
891,
113,
31,
442,
19,
109,
11755,
8,
13095,
3217,
17,
14,
4155,
25,
1159,
20,
2830,
14,
3463,
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... |
How would you compare IP address?
===
For my server app, I need to check if an ip address is in our blacklist.
What is the most efficient way of comparing ip addresses? Would converting the IP address to integer and comparing them efficient? | 0 | [
2,
184,
83,
42,
11590,
15735,
3218,
60,
800,
3726,
3726,
26,
51,
8128,
4865,
15,
31,
376,
20,
2631,
100,
40,
15735,
3218,
25,
19,
318,
319,
5739,
9,
98,
25,
14,
127,
8243,
161,
16,
15047,
15735,
12636,
60,
83,
19583,
14,
15735,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Sticky mouse when dragging controls in VS2005
===
Maybe this is a dumb question, but I have the following behavior in Visual Studio 2005 while designing forms:
1 - Drop a control onto the form (suppose it's a Label, just for discussion)
2 - Drag that label to a specific location (aligning w/other controls, whate... | 0 | [
2,
19087,
7567,
76,
13052,
8671,
19,
4611,
2835,
800,
3726,
3726,
913,
48,
25,
21,
9317,
1301,
15,
47,
31,
57,
14,
249,
3257,
19,
3458,
1120,
812,
133,
15026,
1997,
45,
137,
13,
8,
2804,
21,
569,
1204,
14,
505,
13,
5,
18,
576,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there build farm for checking open source apps against different OS'es?
===
I have an Open Source app and I have it working on Windows, Linux and Macintosh ( it's in C++ and built with gcc ). I've only tested it on a few different flavors of Linux so I don't know if it compiles and runs on all different Linux versi... | 0 | [
2,
25,
80,
1895,
1937,
26,
9886,
368,
1267,
4865,
18,
149,
421,
13,
759,
22,
160,
60,
800,
3726,
3726,
31,
57,
40,
368,
1267,
4865,
17,
31,
57,
32,
638,
27,
1936,
15,
13024,
17,
24024,
13,
5,
32,
22,
18,
19,
272,
20512,
17,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SPARC assembly
===
I've been curious in the past few months in trying my hand at doing some assembly for the SPARC processor (either V8 or V9). My question is this, I have no access to a SPARC machine, is there an emulator & assembler/linker for SPARC running on an x86(Linux)? I've looked at QEMU but Im not too sure a... | 0 | [
2,
13,
18,
22773,
1475,
800,
3726,
3726,
31,
22,
195,
74,
7686,
19,
14,
640,
310,
818,
19,
749,
51,
224,
35,
845,
109,
1475,
26,
14,
13,
18,
22773,
14762,
13,
5,
18840,
566,
457,
54,
566,
518,
6,
9,
51,
1301,
25,
48,
15,
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... |
define a .NET extension method with solution scope
===
I have a few 'helper' style extension methods I use quite regularly now *(they are mostly quite simple, intuitive, and work for good not evil, so please don't have this descend into a discussion around whether or not I should use them).* They are largely extending... | 0 | [
2,
9267,
21,
13,
9,
2328,
3896,
2109,
29,
4295,
9914,
800,
3726,
3726,
31,
57,
21,
310,
13,
22,
14593,
106,
22,
1034,
3896,
3195,
31,
275,
1450,
4217,
130,
1637,
5,
2077,
50,
1555,
1450,
1935,
15,
13,
24392,
15,
17,
170,
26,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I pass data between activities in Windows Workflow?
===
I'm not completely sure I understand the workflow way of doing things, but if it's a pipeline n filter style model I should be able to pass data (even strings) from one activity to another.
Does anyone know how to do this? Bonus points for a video!
... | 0 | [
2,
184,
107,
31,
1477,
1054,
128,
1648,
19,
1936,
170,
9990,
60,
800,
3726,
3726,
31,
22,
79,
52,
1524,
562,
31,
1369,
14,
170,
9990,
161,
16,
845,
564,
15,
47,
100,
32,
22,
18,
21,
12250,
13,
103,
11945,
1034,
1061,
31,
378,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are there any other good alternatives to zc.buildout and/or virtualenv for installing non-python dependencies?
===
I am a member of a team that is about to launch a beta of a python (Django specifically) based web site and accompanying suite of backend tools. The team itself has doubled in size from 2 to 4 over the p... | 0 | [
2,
50,
80,
186,
89,
254,
2676,
18,
20,
2052,
150,
9,
29361,
1320,
17,
118,
248,
6599,
219,
710,
26,
25429,
538,
8,
6448,
11570,
29411,
60,
800,
3726,
3726,
31,
589,
21,
322,
16,
21,
173,
30,
25,
88,
20,
3394,
21,
8434,
16,
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... |
.NET multiplication optimization
===
Does the compiler optimize out any multiplications by 1? That is, consider:
int a = 1;
int b = 5 * a;
Will the expression 5 * a be optimized into just 5? If not, will it if a is defined as:
const int a = 1;
| 0 | [
2,
13,
9,
2328,
25432,
21597,
800,
3726,
3726,
630,
14,
21486,
22864,
70,
186,
25432,
18,
34,
137,
60,
30,
25,
15,
3563,
45,
19,
38,
21,
800,
137,
73,
19,
38,
334,
800,
331,
1637,
21,
73,
129,
14,
1803,
331,
1637,
21,
44,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is "lambda binding" in Python?
===
I understand what are lambda functions in Python, but I can't find what is the meaning of "lambda binding" by searching the Python docs.
A link to read about it would be great.
A trivial explained example would be even better.
Thank you. | 0 | [
2,
98,
25,
13,
7,
24187,
8728,
7,
19,
20059,
60,
800,
3726,
3726,
31,
1369,
98,
50,
13,
24187,
3719,
19,
20059,
15,
47,
31,
92,
22,
38,
477,
98,
25,
14,
1813,
16,
13,
7,
24187,
8728,
7,
34,
5792,
14,
20059,
9765,
18,
9,
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... |
What's a good Minimal Server-Side Javascript Framework?
===
So I was writing a web app with web.py that uses plenty of client-side javascript, and my database is on couchdb so the queries are in javascript too, and eventually I just got to thinking, why not skip the python and go all javascript? Besides, some functio... | 0 | [
2,
98,
22,
18,
21,
254,
8663,
8128,
8,
1416,
8247,
8741,
6596,
60,
800,
3726,
3726,
86,
31,
23,
1174,
21,
2741,
4865,
29,
2741,
9,
6448,
30,
2027,
7062,
16,
6819,
8,
1416,
8247,
8741,
15,
17,
51,
6018,
25,
27,
4914,
9007,
86,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Software for creating PNG 8bit transparent images?
===
I'm looking for software to create PNG8 format transparent images as per [this article](http://www.sitepoint.com/blogs/2007/09/18/png8-the-clear-winner/).
**NOTE:** I need a linux solution myself, but please submit answers for other OSes.
| 0 | [
2,
2306,
26,
2936,
351,
2723,
469,
3326,
14862,
3502,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
2306,
20,
1600,
351,
2723,
457,
2595,
14862,
3502,
28,
416,
636,
1565,
2002,
500,
5,
21127,
6903,
6483,
9,
9097,
3132,
9,
960,
118,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How does a Perl socket resolve hostnames under Linux?
===
I have a (from what I can tell) perfectly working Linux setup (Ubuntu 8.04) where all tools (nslookup, curl, wget, firefox, etc) are able to resolve addresses. Yet, the following code fails:
$s = new IO::Socket::INET(
PeerAddr => 'stackoverflow.... | 0 | [
2,
184,
630,
21,
416,
255,
18482,
9854,
2015,
7259,
18,
131,
13024,
60,
800,
3726,
3726,
31,
57,
21,
13,
5,
2665,
98,
31,
92,
494,
6,
5759,
638,
13024,
18161,
13,
5,
4502,
1020,
2473,
469,
9,
3277,
6,
113,
65,
4672,
13,
5,
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... |
VB6 Integration with MSBuild
===
So this is a question for anyone who has had to integrate the building/compilation of legacy projects/code in a Team Build/MSBuild environment - specifically, Visual Basic 6 applications/projects.
<i>Outside</i> of writing a custom build Task (which I am not against) does anyone hav... | 0 | [
2,
13,
20468,
379,
8078,
29,
4235,
29361,
800,
3726,
3726,
86,
48,
25,
21,
1301,
26,
1276,
72,
63,
41,
20,
18399,
14,
353,
118,
11103,
49,
10832,
16,
7780,
2314,
118,
9375,
19,
21,
173,
1895,
118,
79,
18,
29361,
2307,
13,
8,
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... |
Emulation of lex like functionality in perl or python.
===
Here's the deal. Is there a way to have strings tokenized in a line based on multiple regexes?
One example:
I have to get all href tags, their corresponding text and some other text based on a different regex.
So I have 3 expressions and would like to t... | 0 | [
2,
3579,
11123,
16,
13492,
101,
18548,
19,
416,
255,
54,
20059,
9,
800,
3726,
3726,
235,
22,
18,
14,
1183,
9,
25,
80,
21,
161,
20,
57,
7887,
20,
2853,
1333,
19,
21,
293,
432,
27,
1886,
7953,
1706,
160,
60,
53,
823,
45,
31,
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... |
Generating Random Numbers in Objective-C
===
I'm a java head mainly, and I want a way to generate a pseudo-random number between 0 and 74. In java I would use the method:
Random.nextInt(74)
I'm not interested in a discussion about seeds or true randomness, just how you accomplish the same task in Objective-C... | 0 | [
2,
13500,
5477,
2116,
19,
7038,
8,
150,
800,
3726,
3726,
31,
22,
79,
21,
8247,
157,
2011,
15,
17,
31,
259,
21,
161,
20,
7920,
21,
8452,
8,
2195,
5555,
234,
128,
713,
17,
8871,
9,
19,
8247,
31,
83,
275,
14,
2109,
45,
5477,
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... |
Rails Request Initialization
===
We all hear a lot about scaling issues in Rails.
I was just curious what the actual costs in handling a HTTP request is in the Rails framework. Meaning, what has to happen for each and every request which comes in? Is there class parsing? Configuration? Database Connection estab... | 0 | [
2,
2240,
18,
3772,
2104,
1829,
800,
3726,
3726,
95,
65,
990,
21,
865,
88,
26829,
1549,
19,
2240,
18,
9,
31,
23,
114,
7686,
98,
14,
3463,
4227,
19,
7988,
21,
7775,
3772,
25,
19,
14,
2240,
18,
6596,
9,
1813,
15,
98,
63,
20,
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... |
Oracle considers empty strings to be NULL while SQL Server does not - How is this best handled?
===
I have to write a component that re-creates SQL Server tables (structure and data) in an Oracle database.
Translating the data types from SQL Server to Oracle is not a problem. However, a critical difference between... | 0 | [
2,
15759,
11944,
2424,
7887,
20,
44,
16203,
133,
4444,
255,
8128,
630,
52,
13,
8,
184,
25,
48,
246,
9006,
60,
800,
3726,
3726,
31,
57,
20,
2757,
21,
5912,
30,
302,
8,
6037,
7759,
4444,
255,
8128,
7484,
13,
5,
13971,
17,
1054,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Django admin site not displaying ManyToManyField relationship
===
I'm working on what I think is a pretty standard django site, but am having trouble getting my admin section to display the proper fields.
Here's my models.py:
class Tech(models.Model):
name = models.CharField(max_length = 30)
... | 0 | [
2,
3857,
14541,
21,
43,
2160,
689,
52,
17418,
151,
262,
14842,
1109,
1429,
800,
3726,
3726,
31,
22,
79,
638,
27,
98,
31,
277,
25,
21,
1772,
1236,
3857,
14541,
689,
15,
47,
589,
452,
2572,
1017,
51,
21,
43,
2160,
1050,
20,
3042,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 ADTs that you know of are not Implemented in the the OpenJDK7 Spec ?
===
What Abstract Datatypes that you know of are not currently Implemented in JDK6 nor OpenJDK7? | 0 | [
2,
98,
21,
43,
38,
18,
30,
42,
143,
16,
50,
52,
6807,
19,
14,
14,
368,
728,
43,
197,
465,
12737,
13,
60,
800,
3726,
3726,
98,
8502,
1054,
4474,
18,
30,
42,
143,
16,
50,
52,
871,
6807,
19,
487,
43,
197,
379,
2127,
368,
728,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Symbolic math lib
===
I have a planed project that will need to manipulate symbolic expressions like:
a * b = c^2 + sin(d)
I'm wondering what libs are out there for this kind of thing.
Two that I found a while ago are openaxiom and FriCAS. neither of these seem like a good fit. An ideal lib would be a lig... | 0 | [
2,
12882,
5057,
13,
8326,
800,
3726,
3726,
31,
57,
21,
944,
69,
669,
30,
129,
376,
20,
18468,
12882,
13832,
101,
45,
21,
1637,
334,
800,
272,
1,
135,
2754,
3278,
5,
43,
6,
31,
22,
79,
5712,
98,
13,
8326,
18,
50,
70,
80,
26,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to simulate a Delphi breakpoint in code?
===
I am pretty sure I have seen this before, but I haven't found out / remembered how to do it. I want to have a line of code that when executed from the Delphi debugger I want the debugger to pop-up like there was a break point on that line.
Something like:
F... | 0 | [
2,
184,
20,
24969,
21,
23030,
1442,
3132,
19,
1797,
60,
800,
3726,
3726,
31,
589,
1772,
562,
31,
57,
541,
48,
115,
15,
47,
31,
2933,
22,
38,
216,
70,
13,
118,
3082,
184,
20,
107,
32,
9,
31,
259,
20,
57,
21,
293,
16,
1797,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I kill a process by name instead of PID?
===
For example, sometimes when I try to start Firefox it says a Firefox process is already running. So I have to do this:
jeremy@jeremy-desktop:~$ ps aux | grep firefox
jeremy 7451 25.0 27.4 170536 65680 ? Sl 22:39 1:18 /usr/lib/firefox-3.0.1/... | 0 | [
2,
184,
92,
31,
1177,
21,
953,
34,
204,
700,
16,
13,
11031,
60,
800,
3726,
3726,
26,
823,
15,
1030,
76,
31,
1131,
20,
799,
535,
18219,
32,
898,
21,
535,
18219,
953,
25,
614,
946,
9,
86,
31,
57,
20,
107,
48,
45,
6996,
1,
19... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I check if an integer is even or odd?
===
How best can I check if an integer is even or odd in C? I considered how I'd do this in JAVA, but I couldn't come up with an answer either. Thanks. | 0 | [
2,
184,
107,
31,
2631,
100,
40,
13820,
25,
166,
54,
4210,
60,
800,
3726,
3726,
184,
246,
92,
31,
2631,
100,
40,
13820,
25,
166,
54,
4210,
19,
272,
60,
31,
724,
184,
31,
22,
43,
107,
48,
19,
8247,
15,
47,
31,
711,
22,
38,
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,
0,
0,
0,
0,
0,
0,
0... |
How can I tell if SP1 has been installed on VS2008?
===
How can I tell if SP1 has been installed on VS2008? e.g. If I'm working on a co-worker's machine - how can I tell if he/she has installed SP1 for VS2008? | 0 | [
2,
184,
92,
31,
494,
100,
3782,
165,
63,
74,
4066,
27,
4611,
2753,
60,
800,
3726,
3726,
184,
92,
31,
494,
100,
3782,
165,
63,
74,
4066,
27,
4611,
2753,
60,
13,
62,
9,
263,
9,
100,
31,
22,
79,
638,
27,
21,
326,
8,
22560,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Rails Console Doesn't Automatically Load Models For 2nd DB
===
I have a Rails project which has a Postgres database for the actual application but which needs to pull a heck of a lot of data out of an Oracle database.
database.yml looks like
development:
adapter: postgresql
database: blah bla... | 0 | [
2,
2240,
18,
8650,
1437,
22,
38,
7499,
6305,
2761,
26,
172,
706,
13,
9007,
800,
3726,
3726,
31,
57,
21,
2240,
18,
669,
56,
63,
21,
678,
6879,
18,
6018,
26,
14,
3463,
3010,
47,
56,
2274,
20,
2201,
21,
16490,
16,
21,
865,
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... |
Error: initializer element is not computable at load time
===
I have in a function that takes a struct, and I'm trying to store its variables in an array, but I get this when I run gcc -Wall -ansi -pedantic-errors -Werror
int detect_prm(Param prm) {
int prm_arr[] = {prm.field1, prm.field2, prm.field3};
... | 0 | [
2,
7019,
45,
2104,
11907,
4520,
25,
52,
6479,
1982,
579,
35,
6305,
85,
800,
3726,
3726,
31,
57,
19,
21,
1990,
30,
1384,
21,
13,
10346,
15,
17,
31,
22,
79,
749,
20,
1718,
82,
12157,
19,
40,
7718,
15,
47,
31,
164,
48,
76,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you balance the conflicting needs of backwards compatibility and innovation?
===
I work on an application that has a both a GUI (graphical) and API (scripting) interface. Our product has a very large installed base. Many customers have invested a lot of time and effort into writing scripts that use our produc... | 0 | [
2,
184,
107,
42,
4468,
14,
22297,
2274,
16,
12207,
13,
21618,
17,
7666,
60,
800,
3726,
3726,
31,
170,
27,
40,
3010,
30,
63,
21,
156,
21,
9457,
13,
5,
12084,
192,
6,
17,
21,
2159,
13,
5,
8741,
68,
6,
6573,
9,
318,
2374,
63,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I invoke a java method when given the method name as a string?
===
If I have two variables:
Object obj;
String methodName = "getName";
Without knowing the class of `obj`, how can I call the method identified by `methodName` on it?
The method being called has no parameters, and a `String` retur... | 0 | [
2,
184,
107,
31,
28371,
21,
8247,
2109,
76,
504,
14,
2109,
204,
28,
21,
3724,
60,
800,
3726,
3726,
100,
31,
57,
81,
12157,
45,
3095,
5122,
728,
73,
3724,
2109,
7259,
800,
13,
7,
3060,
7259,
7,
73,
366,
2506,
14,
718,
16,
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... |
What are your language "hangups"?
===
I've read some of the recent language vs. language questions with interest... [Perl vs. Python][1], [Python vs. Java][2], [Can one language be better than another?][3]
One thing I've noticed is that a lot of us have *very superficial* reasons for disliking languages. We notice... | 4 | [
2,
98,
50,
154,
816,
13,
7,
7065,
15699,
7,
60,
800,
3726,
3726,
31,
22,
195,
1302,
109,
16,
14,
1764,
816,
4611,
9,
816,
2346,
29,
1163,
9,
9,
9,
636,
1432,
255,
4611,
9,
20059,
500,
2558,
165,
500,
15,
636,
6448,
11570,
46... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 2005 locks up when attaching to process
===
I have a simple C++ DLL that implements a few custom actions for a WiX installer.
Debugging the custom actions is usually simple: put up a temporary dialog box at the beginning of the action, and attach to the process when the dialog box appears.
But toda... | 0 | [
2,
3458,
1120,
812,
12941,
71,
76,
19514,
68,
20,
953,
800,
3726,
3726,
31,
57,
21,
1935,
272,
20512,
13,
43,
211,
30,
8713,
18,
21,
310,
5816,
3078,
26,
21,
4807,
396,
16146,
106,
9,
121,
16254,
2762,
14,
5816,
3078,
25,
951,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 typedef a pointer to method which returns a pointer the method?
===
Basically I have the following class:
class StateMachine {
...
StateMethod stateA();
StateMethod stateB();
...
};
The methods stateA() and stateB() should be able return pointers to stateA() and stateB().
How... | 0 | [
2,
184,
20,
1001,
13862,
21,
454,
106,
20,
2109,
56,
4815,
21,
454,
106,
14,
2109,
60,
800,
3726,
3726,
11374,
31,
57,
14,
249,
718,
45,
718,
146,
20442,
13,
1,
13,
9,
9,
9,
146,
5909,
1807,
43,
146,
58,
5,
6,
73,
146,
590... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WPF: Slider doesnt raise MouseLeftButtonDown or MouseLeftButtonUp
===
I tried this XAML:
<Slider Width="250" Height="25" Minimum="0" Maximum="1" MouseLeftButtonDown="slider_MouseLeftButtonDown" MouseLeftButtonUp="slider_MouseLeftButtonUp" />
And this C#:
private void slider_MouseLeftButtonDown(object ... | 0 | [
2,
619,
7721,
45,
3295,
106,
5886,
3972,
7567,
9742,
811,
444,
2968,
54,
7567,
9742,
811,
444,
576,
800,
3726,
3726,
31,
794,
48,
13,
6791,
8184,
45,
13,
1,
18,
1210,
1157,
9456,
3726,
7,
9798,
7,
2947,
3726,
7,
1811,
7,
5187,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Dynamic breadcrumb generation - how to do?
===
I'm in the early phases of developing a brand spanking new site with Spring + Tiles. The site needs dynamically generated breadcrumbs.
What I mean by dynamic is that the user may reach a certain site from multiple starting points. If I have views for Customers, Orders ... | 0 | [
2,
7782,
5988,
25241,
220,
2782,
13,
8,
184,
20,
107,
60,
800,
3726,
3726,
31,
22,
79,
19,
14,
274,
14795,
16,
3561,
21,
2209,
28361,
68,
78,
689,
29,
1573,
2754,
14836,
9,
14,
689,
2274,
7782,
1326,
6756,
5988,
25241,
4562,
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... |
Sawtooth Surveys
===
I'm guessing this won't apply to 99.99% of anyone that sees this. I've been doing some Sawtooth survey programming at work and I've been needing to create a webpage that shows some aggregate data from the completed surveys. I was just wondering if anyone else has done this using the flat files tha... | 0 | [
2,
441,
15808,
14490,
800,
3726,
3726,
31,
22,
79,
19523,
48,
230,
22,
38,
5645,
20,
7787,
9,
26014,
16,
1276,
30,
6895,
48,
9,
31,
22,
195,
74,
845,
109,
441,
15808,
3431,
3143,
35,
170,
17,
31,
22,
195,
74,
12210,
20,
1600,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 local styles being ignored when using forms authentication in asp.net?
===
I have some styles applied to html for example
<body style="background: #C3DAF9;">
and when I use forms authentication it is ignored. If I put the style into an external .css file then it works.
This doesn't seem like nor... | 0 | [
2,
483,
50,
375,
6443,
142,
5424,
76,
568,
1997,
27963,
19,
28,
306,
9,
2328,
60,
800,
3726,
3726,
31,
57,
109,
6443,
2435,
20,
13,
15895,
26,
823,
13,
1,
9760,
1034,
3726,
7,
1958,
8810,
45,
6926,
150,
240,
43,
2565,
518,
73,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Advice on splitting up a process involving multiple actors into Use Cases
===
Let's say I am modelling a process that involves a conversation or exchnage between two actors. For this example, I'll use something easily understandable:-
1. Supplier creates a price list,
2. Buyer chooses some items to buy and send... | 0 | [
2,
4978,
27,
17282,
71,
21,
953,
4838,
1886,
4977,
77,
275,
1871,
800,
3726,
3726,
408,
22,
18,
395,
31,
589,
23089,
21,
953,
30,
6569,
21,
2735,
54,
1396,
673,
103,
1303,
128,
81,
4977,
9,
26,
48,
823,
15,
31,
22,
211,
275,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In .NET is there a way to enable Assembly.Load tracing?
===
In .NET is there a way to enable Assembly.Load tracing? I know while running under the debugger it gives you a nice message like "Loaded 'assembly X'" but I want to get a log of the assembly loads of my running application outside the debugger, preferably in... | 0 | [
2,
19,
13,
9,
2328,
25,
80,
21,
161,
20,
9240,
1475,
9,
8294,
20005,
60,
800,
3726,
3726,
19,
13,
9,
2328,
25,
80,
21,
161,
20,
9240,
1475,
9,
8294,
20005,
60,
31,
143,
133,
946,
131,
14,
121,
2345,
11356,
32,
2352,
42,
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... |
What do I need for a compliant email header
===
I am trying to send an email from a site I am building, but it ends up in the yahoo spam folder. It is the email that sends credentials. What can I do to legitimize it?
$header = "From: site <sales@site.com>\r\n";
$header .= "To: $name <$email>\r\n";
$he... | 0 | [
2,
98,
107,
31,
376,
26,
21,
13,
25509,
8517,
157,
106,
800,
3726,
3726,
31,
589,
749,
20,
2660,
40,
8517,
37,
21,
689,
31,
589,
353,
15,
47,
32,
3451,
71,
19,
14,
23553,
6954,
79,
19294,
9,
32,
25,
14,
8517,
30,
11350,
5059... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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++ Which is faster: Stack allocation or Heap allocation
===
This question may sound fairly noobish, but this is a debate I had with another coder I work with.
I was taking care to stack allocate things where I could, instead of heap allocating them. He was talking to me and watching over my shoulder and commented ... | 0 | [
2,
272,
20512,
56,
25,
4233,
45,
7566,
16840,
54,
15414,
16840,
800,
3726,
3726,
48,
1301,
123,
646,
6647,
90,
111,
23092,
15,
47,
48,
25,
21,
4503,
31,
41,
29,
226,
1797,
139,
31,
170,
29,
9,
31,
23,
741,
781,
20,
7566,
65,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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.