unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
What is the difference between a method and a function
===
I am a long-time Applescript user and new shell scripter who wants to learn a more general scripting language like Javascript or Python for performance reasons.
I am having trouble getting my head around concepts like object orientation, classes and instan... | 0 | [
2,
98,
25,
14,
2841,
128,
21,
2109,
17,
21,
1990,
800,
3726,
3726,
31,
589,
21,
175,
8,
891,
4037,
8741,
4155,
17,
78,
3593,
3884,
106,
72,
2846,
20,
2484,
21,
91,
297,
3884,
68,
816,
101,
8247,
8741,
54,
20059,
26,
956,
2932,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 specify the exit code of a console application in .net?
===
I have a trivial console app in .net. It's just a test part of a larger application. I'd like to specify the "exit code" of my console app. How do I do this?
Thanks! | 0 | [
2,
184,
107,
31,
19077,
14,
4350,
1797,
16,
21,
8650,
3010,
19,
13,
9,
2328,
60,
800,
3726,
3726,
31,
57,
21,
13,
19712,
8650,
4865,
19,
13,
9,
2328,
9,
32,
22,
18,
114,
21,
1289,
141,
16,
21,
1662,
3010,
9,
31,
22,
43,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it reasonable to assume my visitors have javascript enabled?
===
I understand that server-side validation is an absolute must to prevent malicious users (or simply users who choose to disable javascript) from bypassing client-side validation. But that's mainly to protect your application, not to provide value for ... | 0 | [
2,
25,
32,
9954,
20,
7158,
51,
4531,
57,
8247,
8741,
9338,
60,
800,
3726,
3726,
31,
1369,
30,
8128,
8,
1416,
27999,
25,
40,
7070,
491,
20,
2501,
24231,
3878,
13,
5,
248,
1659,
3878,
72,
3538,
20,
1460,
579,
8247,
8741,
6,
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... |
Circle coordinates to array in Javascript
===
What's the best way to add the coordinates of a circle to an array in JavaScript? So far I've only been able to do a half circle, but I need a formula that returns the whole circle to two different arrays: xValues and yValues. (I'm trying to get the coordinates so I can an... | 0 | [
2,
2775,
13714,
20,
7718,
19,
8247,
8741,
800,
3726,
3726,
98,
22,
18,
14,
246,
161,
20,
3547,
14,
13714,
16,
21,
2775,
20,
40,
7718,
19,
8247,
8741,
60,
86,
463,
31,
22,
195,
104,
74,
777,
20,
107,
21,
519,
2775,
15,
47,
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... |
Database schema to track random settings in website for marketing
===
I have Flex based consumer [website][1] where I would like to change various look and feel type settings based on random and other criteria, and then track these through to what results in the most sales.
For instance I might completely switch o... | 0 | [
2,
6018,
23874,
20,
792,
5477,
12410,
19,
2271,
26,
4743,
800,
3726,
3726,
31,
57,
14409,
432,
6461,
636,
14113,
9097,
500,
2558,
165,
500,
113,
31,
83,
101,
20,
753,
617,
361,
17,
583,
1001,
12410,
432,
27,
5477,
17,
89,
9157,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Invert 4x4 matrix - Numerical most stable solution needed.
===
I want to invert a 4x4 matrix. My numbers are stored in fixed-point format (1.15.16 to be exact).
With floating-point arithmetic I usually just build the adjoint matrix and divide by the determinant (e.g. brute force the solution). That worked for me so... | 0 | [
2,
19,
8122,
268,
396,
300,
8187,
13,
8,
16010,
127,
4521,
4295,
851,
9,
800,
3726,
3726,
31,
259,
20,
19,
8122,
21,
268,
396,
300,
8187,
9,
51,
2116,
50,
8214,
19,
3535,
8,
3132,
2595,
13,
5,
165,
9,
1193,
9,
1091,
20,
44,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Starting Graphics & Games Programming (Java and maybe C++)
===
I've always had an interest in creating my own games, and now at university I have the opportunity to create some 2D and 3D games using Java and C++ for those who are that way inclined.
I've never really programmed a game before, let alone graphics, so ... | 0 | [
2,
1422,
8351,
279,
466,
3143,
13,
5,
1004,
1385,
17,
913,
272,
20512,
6,
800,
3726,
3726,
31,
22,
195,
550,
41,
40,
1163,
19,
2936,
51,
258,
466,
15,
17,
130,
35,
155,
31,
57,
14,
2893,
20,
1600,
109,
172,
43,
17,
203,
43,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Displaying whitespace in HTML when pulling from MySQL TEXT column
===
I have saved input from a textarea element to a TEXT column in MySQL. I'm using PHP to pull that data out of the database and want to display it in a p element while still showing the whitespace that the user entered (e.g. multiple spaces and newli... | 0 | [
2,
17418,
359,
5582,
19,
13,
15895,
76,
3303,
37,
51,
18,
22402,
1854,
4698,
800,
3726,
3726,
31,
57,
4377,
6367,
37,
21,
1854,
17760,
4520,
20,
21,
1854,
4698,
19,
51,
18,
22402,
9,
31,
22,
79,
568,
13,
26120,
20,
2201,
30,
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... |
I need a LINQ expression to find an XElement where the element name and attributes match an input node.
===
I need to replace the contents of a node in an XElement hierarchy when the element name and all the attribute names and values match an input element. (If there is no match, the new element can be added.)
For... | 0 | [
2,
31,
376,
21,
6294,
1251,
1803,
20,
477,
40,
993,
27567,
113,
14,
4520,
204,
17,
13422,
730,
40,
6367,
15421,
9,
800,
3726,
3726,
31,
376,
20,
3934,
14,
8478,
16,
21,
15421,
19,
40,
993,
27567,
14417,
76,
14,
4520,
204,
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... |
ChangeServiceConfig problem setting logon credentials
===
I've got this weird problem - I'm calling `ChangeServiceConfig` on a newly installed service (I `CreateService` it myself) to supply the logon credentials, but while the function succeeds (returns TRUE), if I try to start the service, it fails with a 1069 (logo... | 0 | [
2,
753,
11449,
14093,
2816,
1448,
2697,
6449,
103,
5059,
43,
10107,
18,
800,
3726,
3726,
31,
22,
195,
330,
48,
5455,
1448,
13,
8,
31,
22,
79,
2555,
13,
1,
16229,
11449,
14093,
2816,
1,
27,
21,
2771,
4066,
365,
13,
5,
49,
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... |
What are good tools/frameworks for i18n of a php codebase?
===
I have been looking at a few options for enabling localization and internationalization of a dynamic php application. There appears to be a variety of tools available such as gettext and Yahoo's R3 and I am interested in hearing from both developers and tr... | 0 | [
2,
98,
50,
254,
4672,
118,
8361,
7684,
26,
31,
1087,
103,
16,
21,
13,
26120,
1797,
8436,
60,
800,
3726,
3726,
31,
57,
74,
699,
35,
21,
310,
6368,
26,
13168,
375,
1829,
17,
294,
1829,
16,
21,
7782,
13,
26120,
3010,
9,
80,
1780,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 visually "break out" of a Container in Flex?
===
Here's my problem - I have some code like this:
<mx:Canvas width="300" height="300">
<mx:Button x="800" />
</mx:Canvas>
So the problem is that the Button inside the canvas has an x property way in excess of the Canvas's width - since it... | 0 | [
2,
184,
107,
31,
20747,
13,
7,
12008,
70,
7,
16,
21,
12147,
19,
14409,
60,
800,
3726,
3726,
235,
22,
18,
51,
1448,
13,
8,
31,
57,
109,
1797,
101,
48,
45,
13,
1,
79,
396,
45,
1245,
8471,
9456,
3726,
7,
6571,
7,
2947,
3726,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best practices for internationalizing web applications?
===
Internationalizing web apps always seems to be a chore. No matter how much you plan ahead for pluggable languages, there's always issues with encoding, funky phrasing that doesn't fit your templates, and other problems.
I think it would be useful to get t... | 0 | [
2,
246,
5242,
26,
294,
3335,
2741,
3767,
60,
800,
3726,
3726,
294,
3335,
2741,
4865,
18,
550,
2206,
20,
44,
21,
4430,
99,
9,
90,
1161,
184,
212,
42,
944,
2173,
26,
10922,
263,
579,
2556,
15,
80,
22,
18,
550,
1549,
29,
19608,
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... |
Fast way to search for particular string (or byte array) in another process memory in C#?
===
Please post a working source code example (or link) of how to search string in another process memory and getting offset of match if found. The similar way its done in game cheating utils which search for values in game memor... | 0 | [
2,
1512,
161,
20,
2122,
26,
1498,
3724,
13,
5,
248,
34,
591,
7718,
6,
19,
226,
953,
1912,
19,
272,
5910,
60,
800,
3726,
3726,
2247,
678,
21,
638,
1267,
1797,
823,
13,
5,
248,
3508,
6,
16,
184,
20,
2122,
3724,
19,
226,
953,
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... |
qt/wxwidgets third party components?
===
I'm used to working in a Delphi and C# environment which seem to have a rich set of third party components available. I'm currently wanting to do cross-platform programming in C++ using either qt or wxwidgets. Is there a large market for third party components? I was looking at... | 0 | [
2,
2593,
38,
118,
499,
396,
3976,
43,
3060,
18,
422,
346,
5090,
60,
800,
3726,
3726,
31,
22,
79,
147,
20,
638,
19,
21,
23030,
17,
272,
5910,
2307,
56,
2260,
20,
57,
21,
2042,
309,
16,
422,
346,
5090,
904,
9,
31,
22,
79,
871,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a difference between (local), '.' and localhost?
===
I've used all three of these when making local programmatic connections to databases. Is there any real differences between them? | 0 | [
2,
25,
80,
21,
2841,
128,
13,
5,
15580,
6,
15,
13,
22,
9,
22,
17,
375,
11694,
60,
800,
3726,
3726,
31,
22,
195,
147,
65,
132,
16,
158,
76,
544,
375,
625,
6732,
6760,
20,
6018,
18,
9,
25,
80,
186,
683,
4921,
128,
105,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Detecting Unsaved Changes using JavaScript
===
I have a requirement to implement an "Unsaved Changes" prompt in an ASP .Net application. If a user modifies controls on a web form, and attempts to navigate away before saving, a prompt should appear warning them that they have unsaved changes, and give them the option ... | 0 | [
2,
9092,
68,
367,
19863,
43,
1693,
568,
8247,
8741,
800,
3726,
3726,
31,
57,
21,
8981,
20,
8713,
40,
13,
7,
1020,
19863,
43,
1693,
7,
11443,
4417,
19,
40,
28,
306,
13,
9,
2328,
3010,
9,
100,
21,
4155,
7226,
12970,
8671,
27,
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... |
Remote print module in Java
===
I am working on an application that will sport a web-based point of sale interface.
The point of sale PC (I am not sure as of now whether it will run on Linux or Windows) must have a fiscal printer attached to it, but like any web app, it is the server which processes all stuff.
I... | 0 | [
2,
5388,
4793,
12613,
19,
8247,
800,
3726,
3726,
31,
589,
638,
27,
40,
3010,
30,
129,
2440,
21,
2741,
8,
1281,
454,
16,
3299,
6573,
9,
14,
454,
16,
3299,
5168,
13,
5,
49,
589,
52,
562,
28,
16,
130,
1472,
32,
129,
485,
27,
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... |
Provider model in .net
===
When the .net 2.0 framework first came out, the provider model was all the rage. 2.0 even shipped with a bunch of default providers (Membership, sitemap, role). Since the release of 2.0, the hype has died down, and whilst I still use providers day to day, it seems to get far less press.
I... | 0 | [
2,
11747,
1061,
19,
13,
9,
2328,
800,
3726,
3726,
76,
14,
13,
9,
2328,
172,
9,
387,
6596,
64,
281,
70,
15,
14,
11747,
1061,
23,
65,
14,
6283,
9,
172,
9,
387,
166,
12991,
29,
21,
7653,
16,
12838,
13488,
13,
5,
6990,
2418,
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... |
Checking for and not printing javascript in generated data?
===
In my php web app, suppose I want to go the extra mile and in addition to going gangbusters and being anal-retentive about sanitizing my inputs, I also want to ensure that no javascript is being output in strings I am inserting into templated html.
Is... | 0 | [
2,
9886,
26,
17,
52,
7312,
8247,
8741,
19,
6756,
1054,
60,
800,
3726,
3726,
19,
51,
13,
26120,
2741,
4865,
15,
5787,
31,
259,
20,
162,
14,
2230,
2037,
17,
19,
848,
20,
228,
3285,
3822,
6052,
17,
142,
40,
192,
8,
99,
1316,
6142... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best C++ Resource
===
Java has it's own (self-documented) <a href="http://www.javadoconline.com/">Javadoc</a>, PHP has <a href="http://www.php.net">PHP.net</a>, all the MS documenation can be found at the <a href="http://msdn.microsoft.com/en-us/library/aa139615.aspx">MS Developers Network</a>, but whenever it comes t... | 0 | [
2,
246,
272,
20512,
6577,
800,
3726,
3726,
8247,
63,
32,
22,
18,
258,
13,
5,
8411,
8,
28132,
69,
6,
13,
1,
58,
746,
14057,
3726,
7,
21127,
6903,
6483,
9,
1004,
1385,
537,
1126,
1143,
9,
960,
118,
7,
1,
1004,
1385,
13799,
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... |
Safehandle in C#
===
What is SafeHandle? how does it differ from IntPtr? When should I use one? What are its advantages? | 0 | [
2,
1834,
3203,
413,
19,
272,
5910,
800,
3726,
3726,
98,
25,
1834,
3203,
413,
60,
184,
630,
32,
11394,
37,
19,
13726,
6384,
60,
76,
378,
31,
275,
53,
60,
98,
50,
82,
14683,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Advice on C# Expression Trees
===
I'm working on a method that accepts an expression tree as a parameter, along with a type (or instance) of a class.
The basic idea is that this method will add certain things to a collection that will be used for validation.
public interface ITestInterface
{
//... | 0 | [
2,
4978,
27,
272,
5910,
1803,
1913,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
2109,
30,
16548,
40,
1803,
1541,
28,
21,
18906,
15,
303,
29,
21,
1001,
13,
5,
248,
4851,
6,
16,
21,
718,
9,
14,
2125,
882,
25,
30,
48,
2109,
129,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Rhino Mocks: How to mock ADO.NET's DataRow?
===
ADO.NET has the notorious DataRow class which you cannot instantiate using new. This is a problem now that I find a need to mock it using Rhino Mocks.
Does anyone have any ideas how I could get around this problem? | 0 | [
2,
18642,
10506,
18,
45,
184,
20,
10506,
21,
537,
9,
2328,
22,
18,
1054,
5417,
60,
800,
3726,
3726,
21,
537,
9,
2328,
63,
14,
11904,
1054,
5417,
718,
56,
42,
1967,
6322,
15882,
568,
78,
9,
48,
25,
21,
1448,
130,
30,
31,
477,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I configure visual studio to use the code view as the default view for Webservices?
===
When you double click on a class (in 'solution explorer')... if that class happens to be a webservice... then you get this...
> To add components to your class, drag
> them from the <u>Toolbox</u> and use
> the Properti... | 0 | [
2,
184,
107,
31,
1065,
15951,
3458,
1120,
20,
275,
14,
1797,
1418,
28,
14,
12838,
1418,
26,
2741,
11449,
18,
60,
800,
3726,
3726,
76,
42,
1494,
10840,
27,
21,
718,
13,
5,
108,
13,
22,
18,
18687,
3309,
8520,
22,
6,
9,
9,
9,
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... |
Programmatically focusing a hippo.CanvasEntry?
===
Consider this Python program which uses PyGtk and Hippo Canvas to display a clickable text label. Clicking the text label replaces it with a Hippo CanvasEntry widget which contains the text of the label.
import pygtk
pygtk.require('2.0')
import gtk, ... | 0 | [
2,
625,
6732,
1326,
7796,
21,
16710,
9,
1245,
8471,
18195,
60,
800,
3726,
3726,
3563,
48,
20059,
625,
56,
2027,
13,
28860,
38,
197,
17,
16710,
9696,
20,
3042,
21,
10840,
579,
1854,
1899,
9,
25590,
14,
1854,
1899,
3934,
18,
32,
29,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting an error when filling a datatable from a data adapter
===
I am getting this error but only very occasionally. 99.9% of the time it works fine:
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
Does anyone have any idea on what the cause... | 0 | [
2,
1017,
40,
7019,
76,
7702,
21,
1054,
5924,
37,
21,
1054,
9924,
106,
800,
3726,
3726,
31,
589,
1017,
48,
7019,
47,
104,
253,
4533,
9,
7787,
9,
2621,
16,
14,
85,
32,
693,
1123,
45,
1702,
20,
9240,
16747,
9,
53,
54,
91,
11295,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 reference MS office interops in c#
===
I am trying to access Outlook 2007 from C#. I have installed the PIA msi after following the directions found on msdn. After a successful install nothing shows up in Visual Studio's references under the .net tab.
| 0 | [
2,
184,
107,
42,
2801,
4235,
488,
1480,
11314,
19,
272,
5910,
800,
3726,
3726,
31,
589,
749,
20,
1381,
19837,
624,
37,
272,
5910,
9,
31,
57,
4066,
14,
13009,
4235,
49,
75,
249,
14,
7876,
216,
27,
4235,
43,
103,
9,
75,
21,
1300... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Design time serialization in C#
===
I have created a non-visual component in C# which is designed as a placeholder for meta-data on a form.<br>
The component has a property which is a collection of custom objects, this object is marked as Serializable and implements the GetObjectData for serilizing and public constuc... | 0 | [
2,
704,
85,
5956,
1829,
19,
272,
5910,
800,
3726,
3726,
31,
57,
679,
21,
538,
8,
20893,
5912,
19,
272,
5910,
56,
25,
1006,
28,
21,
209,
12427,
26,
7618,
8,
18768,
27,
21,
505,
9,
1,
5145,
1,
14,
5912,
63,
21,
1354,
56,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.NET MVC - Problem passing parameters to the controller
===
I have a controller with an action method as follows:
public class InventoryController : Controller
{
public ActionResult ViewStockNext(int firstItem)
{
// Do some stuff
}
}
And when I run it I ge... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
13,
8,
1448,
2848,
12905,
20,
14,
9919,
800,
3726,
3726,
31,
57,
21,
9919,
29,
40,
1028,
2109,
28,
2415,
45,
317,
718,
13875,
12898,
1252,
13,
45,
9919,
13,
1,
317,
1028,
29955,
1418,
7576,
20021,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Anyone have issues going from ColdFusion's serializeJSON method to PHP's json_decode?
===
The Interwebs are no help on this one. We're encoding data in ColdFusion using `serializeJSON` and trying to decode it in PHP using `json_decode`. Most of the time, this is working fine, but in some cases, `json_decode` returns `... | 0 | [
2,
1276,
57,
1549,
228,
37,
1191,
9818,
22,
18,
5956,
2952,
728,
528,
2109,
20,
13,
26120,
22,
18,
487,
528,
1,
546,
9375,
60,
800,
3726,
3726,
14,
1480,
14113,
18,
50,
90,
448,
27,
48,
53,
9,
95,
22,
99,
19608,
1054,
19,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 declare an impicitly typed variable in VB inline in an ASP.Net page?
===
I want to do the following but in VB:
<%=var t = ViewData.Model%>
| 0 | [
2,
184,
107,
31,
10123,
40,
5420,
596,
242,
102,
1001,
43,
7612,
19,
13,
20468,
19,
1143,
19,
40,
28,
306,
9,
2328,
2478,
60,
800,
3726,
3726,
31,
259,
20,
107,
14,
249,
47,
19,
13,
20468,
45,
13,
1,
11881,
3726,
3311,
13,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
MyClass in VB.Net
===
What is a realistic use for VB.Net's MyClass keyword? | 0 | [
2,
51,
1898,
19,
13,
20468,
9,
2328,
800,
3726,
3726,
98,
25,
21,
12786,
275,
26,
13,
20468,
9,
2328,
22,
18,
51,
1898,
1246,
9587,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How do you rename a Verity collection in ColdFusion?
===
Can't seem to rename an existing Verity collection in ColdFusion without deleting, recreating, and rebuilding the collection. Problem is, I have some very large collections I'd rather not have to delete and rebuild from scratch. Any one have a handy trick for ... | 0 | [
2,
184,
107,
42,
302,
7259,
21,
24995,
1206,
19,
1191,
9818,
60,
800,
3726,
3726,
92,
22,
38,
2260,
20,
302,
7259,
40,
3149,
24995,
1206,
19,
1191,
9818,
366,
121,
1336,
68,
15,
6042,
99,
1880,
15,
17,
16633,
14,
1206,
9,
1448,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Unicode URL decoding
===
The usual method of URL-encoding a unicode character is to split it into 2 %HH codes. (**\u4161** => **%41%61**)
But, how is unicode distinguished when decoding? How do you know that **%41%61** is **\u4161** vs. **\x41\x61** ("Aa")?
Are 8-bit characters, that require encoding, preceded b... | 0 | [
2,
28010,
287,
6362,
121,
15458,
800,
3726,
3726,
14,
3820,
2109,
16,
287,
6362,
8,
219,
15458,
21,
28010,
925,
25,
20,
2132,
32,
77,
172,
13,
11881,
10681,
11358,
9,
13,
5,
1409,
1,
291,
300,
15225,
1409,
800,
1,
13,
1409,
1188... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to detect number of context switches that occurred while running C# code?
===
From C#, is it possible to detect the number of context switches that occurred while executing a block of code on a particular thread? Ideally, I'd like to know how many times and what CPU my thread code was scheduled on.
I know I can... | 0 | [
2,
184,
20,
9092,
234,
16,
4141,
18114,
30,
2437,
133,
946,
272,
5910,
1797,
60,
800,
3726,
3726,
37,
272,
5910,
15,
25,
32,
938,
20,
9092,
14,
234,
16,
4141,
18114,
30,
2437,
133,
25836,
21,
1921,
16,
1797,
27,
21,
1498,
9322,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Creating A Private Photo Gallery Using Asp.Net MVC
===
I need to create a photo gallery service that is managed by users. I've done this a million times using just Asp.net but I was wondering if there are any special considerations that I need to make when using Asp.net MVC.
Basically, I will be storing the actual ... | 0 | [
2,
2936,
21,
932,
3056,
2246,
568,
28,
306,
9,
2328,
307,
8990,
800,
3726,
3726,
31,
376,
20,
1600,
21,
3056,
2246,
365,
30,
25,
1471,
34,
3878,
9,
31,
22,
195,
677,
48,
21,
507,
436,
568,
114,
28,
306,
9,
2328,
47,
31,
23,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the easiest way to start tomcat in embedded mode from the cargo-maven2-plugin?
===
I have defined tomcat:catalina:5.5.23 as a dependency to the cargo plugin, however I still get the following exception:
java.lang.ClassNotFoundException: org.apache.catalina.Connector
at java.net.URLClassLoader$1.run(U... | 0 | [
2,
98,
25,
14,
27237,
161,
20,
799,
2067,
5782,
19,
12138,
3740,
37,
14,
5570,
8,
540,
3124,
135,
8,
18527,
5831,
60,
800,
3726,
3726,
31,
57,
2811,
2067,
5782,
45,
9709,
9356,
45,
264,
9,
264,
9,
2001,
28,
21,
26835,
20,
14,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you handle unit/regression tests which are expected to fail during development?
===
During software development, there may be bugs in the codebase which are known issues. These bugs will cause the regression/unit tests to fail, if the tests have been written well.
There is constant debate in our teams about... | 0 | [
2,
184,
107,
42,
3053,
1237,
118,
99,
13026,
872,
4894,
56,
50,
1727,
20,
7476,
112,
522,
60,
800,
3726,
3726,
112,
2306,
522,
15,
80,
123,
44,
13925,
19,
14,
1797,
8436,
56,
50,
167,
1549,
9,
158,
13925,
129,
1679,
14,
27369,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 throw a XmlSchemaException on XML Schema validation errors?
===
Calling `Validate()` on an **XmlDocument** requires passing in a `ValidationEventHandler` delegate. That event function gets a `ValidationEventArgs` parameter which in turn has an `Exception` property of the type `XmlSchemaException`. Whew!
My... | 0 | [
2,
184,
20,
3814,
21,
23504,
7526,
540,
10066,
872,
27,
23504,
23874,
27999,
11908,
60,
800,
3726,
3726,
2555,
13,
1,
18506,
8209,
5,
6,
1,
27,
40,
13,
1409,
396,
8184,
28132,
1409,
4781,
2848,
19,
21,
13,
1,
18506,
43,
857,
494... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Business Entity Loading Pattern
===
The project I'm working is using n-tier architecture. Our layers are as follows:
- Data Access
- Business Logic
- Business Entities
- Presentation
The Business Logic calls down into the data access layer, and the Presentation layer calls down into the Business Logic... | 0 | [
2,
508,
9252,
12797,
3732,
800,
3726,
3726,
14,
669,
31,
22,
79,
638,
25,
568,
13,
103,
8,
5259,
2607,
9,
318,
9124,
50,
28,
2415,
45,
13,
8,
1054,
1381,
13,
8,
508,
7085,
13,
8,
508,
12549,
13,
8,
6364,
14,
508,
7085,
3029,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
PHP Session data not being saved
===
I have one of those "I swear I didn't touch the server" situations. I honestly didn't touch any of php scripts. The problem I am having is that php data is not being saved across different pages or page refreshes. I know a new session is being created correctly because I can set a ... | 0 | [
2,
13,
26120,
3723,
1054,
52,
142,
4377,
800,
3726,
3726,
31,
57,
53,
16,
273,
13,
7,
49,
6688,
31,
223,
22,
38,
1723,
14,
8128,
7,
8329,
9,
31,
10971,
223,
22,
38,
1723,
186,
16,
13,
26120,
17505,
9,
14,
1448,
31,
589,
452,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Launch web page from my application in Linux
===
I have an application that launches a webpage in the "current" browser when the user selects it. This part of my app works fine in the Windows version but I can't figure out how to do this in Linux build.
Right now the Linux version is hardcoded for Firefox in a spec... | 0 | [
2,
3394,
2741,
2478,
37,
51,
3010,
19,
13024,
800,
3726,
3726,
31,
57,
40,
3010,
30,
22933,
21,
2741,
6486,
19,
14,
13,
7,
17657,
7,
16495,
76,
14,
4155,
5407,
18,
32,
9,
48,
141,
16,
51,
4865,
693,
1123,
19,
14,
1936,
615,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you loop through each line in a text file using a windows batch file?
===
I would like to know how to loop through each line in a text file using a Windows batch file and process each line of text in succession.
thx | 0 | [
2,
184,
107,
42,
5293,
120,
206,
293,
19,
21,
1854,
3893,
568,
21,
1936,
13064,
3893,
60,
800,
3726,
3726,
31,
83,
101,
20,
143,
184,
20,
5293,
120,
206,
293,
19,
21,
1854,
3893,
568,
21,
1936,
13064,
3893,
17,
953,
206,
293,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Linux tool for search-replace
===
What Linux command-line tool would I use for performing a search and replace on a file. Can the search text, and replacement, be specified in a regex format? | 0 | [
2,
13024,
5607,
26,
2122,
8,
99,
5119,
800,
3726,
3726,
98,
13024,
1202,
8,
1143,
5607,
83,
31,
275,
26,
2955,
21,
2122,
17,
3934,
27,
21,
3893,
9,
92,
14,
2122,
1854,
15,
17,
4610,
15,
44,
9931,
19,
21,
7953,
1706,
2595,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Do you design/sketch/draw a development solution first and then develop it? If so how?
===
I work alot with decision makers looking to use technology better in their businesses. I have found that **a picture is worth a thousand words** and prototyping a system in a diagram of some sorts always lends alot to a discus... | 0 | [
2,
107,
42,
704,
118,
5835,
9744,
118,
43,
12404,
21,
522,
4295,
64,
17,
94,
2803,
32,
60,
100,
86,
184,
60,
800,
3726,
3726,
31,
170,
21,
5639,
29,
1401,
13,
7293,
699,
20,
275,
1099,
574,
19,
66,
4426,
9,
31,
57,
216,
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... |
OleDbException System Resources Exceeded
===
The following code executes a simple insert command. If it is called 2,000 times consecutively (to insert 2,000 rows) an OleDbException with message = "System Resources Exceeded" is thrown. Is there something else I should be doing to free up resources?
using (O... | 0 | [
2,
12116,
9007,
10066,
872,
329,
2566,
17365,
800,
3726,
3726,
14,
249,
1797,
15644,
18,
21,
1935,
14692,
1202,
9,
100,
32,
25,
227,
8819,
436,
4195,
102,
13,
5,
262,
14692,
8819,
11295,
6,
40,
12116,
9007,
10066,
872,
29,
2802,
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 are best practices that you use when writing Objective-C and Cocoa?
===
I know about the HIG (which is quite handy!), but what programming practices do you use when writing Objective-C, and more specifically when using Cocoa (or CocoaTouch). | 4 | [
2,
98,
50,
246,
5242,
30,
42,
275,
76,
1174,
7038,
8,
150,
17,
24507,
60,
800,
3726,
3726,
31,
143,
88,
14,
4148,
263,
13,
5,
2140,
25,
1450,
20277,
187,
6,
15,
47,
98,
3143,
5242,
107,
42,
275,
76,
1174,
7038,
8,
150,
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,
0,
0,
0... |
jQuery match multiple attributes
===
I have the following markup, and I want to make the 'All' radio button checked.
<ul>
<li><input type="radio" value="All" name="Foo" />All</li>
<li><input type="radio" value="New" name="Foo" />New</li>
<li><input type="radio" value="Removed" name="Foo" ... | 0 | [
2,
487,
8190,
93,
730,
1886,
13422,
800,
3726,
3726,
31,
57,
14,
249,
943,
576,
15,
17,
31,
259,
20,
233,
14,
13,
22,
1233,
22,
603,
5167,
6505,
9,
13,
1,
1287,
1,
13,
1,
1210,
1,
108,
4881,
1001,
3726,
7,
11129,
7,
1923,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VB.Net MessageBox.Show() moves my form to the back
===
I have an MDI application. When I show a message box using MessageBox.Show(), the entire application disappears behind all of my open windows when I dismiss the message box.
The code is not doing anything special. In fact, here is the line that invokes the mess... | 0 | [
2,
13,
20468,
9,
2328,
2802,
5309,
9,
9303,
5,
6,
4927,
51,
505,
20,
14,
97,
800,
3726,
3726,
31,
57,
40,
8138,
49,
3010,
9,
76,
31,
298,
21,
2802,
1649,
568,
2802,
5309,
9,
9303,
5,
6,
15,
14,
1078,
3010,
20341,
439,
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... |
How can I assign an event to a timer at runtime in vb.net?
===
Given this:
Public Sub timReminder_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs)
If DateTime.Now() > g_RemindTime Then
Reminders.ShowDialog()
timReminder.Enabled = False
End If
End ... | 0 | [
2,
184,
92,
31,
13952,
40,
807,
20,
21,
85,
139,
35,
485,
891,
19,
13,
20468,
9,
2328,
60,
800,
3726,
3726,
504,
48,
45,
317,
972,
2574,
99,
79,
19720,
1,
38,
7030,
5,
779,
3377,
2660,
106,
28,
329,
9,
23793,
15,
34,
3377,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Protecting internal view layer template pages in servlet applications
===
I have a very basic question about MVC web applications in Java.
Since the olden days of raw JSP up until current technologies like Seam, a very basic pattern has always been the internal dispatch from the controller that initially accepted t... | 0 | [
2,
8718,
3117,
1418,
5385,
22894,
4434,
19,
13,
10321,
1336,
3767,
800,
3726,
3726,
31,
57,
21,
253,
2125,
1301,
88,
307,
8990,
2741,
3767,
19,
8247,
9,
179,
14,
315,
219,
509,
16,
4333,
487,
3401,
71,
163,
866,
5740,
101,
13927,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to rename an SQL Server 2005 instance
===
I would like to change the name of my SQL Server instance. Is there a simple way of doing this or is a significant effort required? Note, this is a named instance - not the default instance. | 0 | [
2,
25,
32,
938,
20,
302,
7259,
40,
4444,
255,
8128,
812,
4851,
800,
3726,
3726,
31,
83,
101,
20,
753,
14,
204,
16,
51,
4444,
255,
8128,
4851,
9,
25,
80,
21,
1935,
161,
16,
845,
48,
54,
25,
21,
1505,
2150,
1390,
60,
1945,
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,
0,
0,
0,
0... |
Perl: Grabbing the nth and mth delimited words from each line in a file
===
Because of the more tedious way of adding hosts to be monitored in Nagios (it requires defining a host object, as opposed to the previous program which only required the IP and hostname), I figured it'd be best to automate this, and it'd be a... | 0 | [
2,
416,
255,
45,
9910,
14,
13,
103,
96,
17,
307,
96,
121,
23012,
715,
37,
206,
293,
19,
21,
3893,
800,
3726,
3726,
185,
16,
14,
91,
7859,
5907,
161,
16,
4721,
5397,
20,
44,
20575,
19,
9277,
7760,
13,
5,
242,
4781,
14684,
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... |
Haskell Syntax case expression in a do block
===
I can't quite figure out this syntax problem with a **case** expression in a **do** block.
What is the correct syntax?
If you could **correct my example** and **explain it** that would be the best.
Thanks
module Main where
main = do
... | 0 | [
2,
63,
16507,
22649,
610,
1803,
19,
21,
107,
1921,
800,
3726,
3726,
31,
92,
22,
38,
1450,
1465,
70,
48,
22649,
1448,
29,
21,
13,
1409,
10325,
1409,
1803,
19,
21,
13,
1409,
537,
1409,
1921,
9,
98,
25,
14,
4456,
22649,
60,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MySQL commercial license costs
===
We are building a commercial product that is using MySQL as the back-end. The product will not be open source (at least not initially).
We have had a very hard time getting any costing information from MySQL, they seem to want a percentage of the list price of the product, but no ... | 0 | [
2,
51,
18,
22402,
1439,
3962,
4227,
800,
3726,
3726,
95,
50,
353,
21,
1439,
2374,
30,
25,
568,
51,
18,
22402,
28,
14,
97,
8,
2451,
9,
14,
2374,
129,
52,
44,
368,
1267,
13,
5,
721,
639,
52,
1537,
6,
9,
95,
57,
41,
21,
253,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you store Dates, which are actually timestamps
===
Java & Oracle both have a *timestamp* type called Date. Developers tend to manipulate these as if they were *calendar* dates, which I've seen cause nasty one-off bugs.
> For a basic date quantity you can simply chop off the time portion upon input, i.e., red... | 0 | [
2,
184,
107,
42,
1718,
4076,
15,
56,
50,
1121,
436,
4919,
1919,
800,
3726,
3726,
8247,
279,
15759,
156,
57,
21,
1637,
891,
384,
10158,
2483,
1001,
227,
1231,
9,
10168,
5480,
20,
18468,
158,
28,
100,
59,
46,
1637,
3430,
219,
2542,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can you limit a TFS Check-In notes to a custom path?
===
You can limit "Check-In Policy" rules via the "Custom Paths" policy. But the "Check-in Notes" tab doesn't seem to fit in to the same system. Why isn't "Check-In notes" just another "Check-In policy"??
I'm using Team Foundation Server 2008 SP1
| 0 | [
2,
184,
92,
42,
4496,
21,
13,
11720,
18,
2631,
8,
108,
2434,
20,
21,
5816,
2013,
60,
800,
3726,
3726,
42,
92,
4496,
13,
7,
12542,
8,
108,
1486,
7,
1761,
1197,
14,
13,
7,
4636,
6015,
12074,
7,
1486,
9,
47,
14,
13,
7,
12542,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 manage database revisions on a medium sized project with branches?
===
At work we have 4 people working together on a few different projects. For each project we each have a local copy we work on and then there is a development, staging, and live deployment, along with any branches we have (we use subversio... | 0 | [
2,
184,
107,
42,
4705,
6018,
11323,
18,
27,
21,
4152,
13,
6560,
669,
29,
4395,
60,
800,
3726,
3726,
35,
170,
95,
57,
268,
148,
638,
429,
27,
21,
310,
421,
2314,
9,
26,
206,
669,
95,
206,
57,
21,
375,
4344,
95,
170,
27,
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... |
Show a Form without stealing focus (in C#)
===
i'm using a Form to show notifications (it appears at the bottom right of the screen) but the problem that i'm having is that when I show this form it steals the main form focus.
Is there a way to show this "notification" form without stealing focus?
Thanks for your t... | 0 | [
2,
298,
21,
505,
366,
12222,
1776,
13,
5,
108,
272,
5910,
6,
800,
3726,
3726,
31,
22,
79,
568,
21,
505,
20,
298,
52,
4634,
18,
13,
5,
242,
1780,
35,
14,
2129,
193,
16,
14,
2324,
6,
47,
14,
1448,
30,
31,
22,
79,
452,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Update viewstate after populating a list with ASP.NET AJAX
===
I've got a dropdown list that is being populated via a webservice using ASP>NET AJAX. On the success callback of the method in javascript, I'm populating the dropdown via a loop:
function populateDropDown(dropdownId, list, enable, showCount)
{
... | 0 | [
2,
11100,
1418,
3859,
75,
1675,
10038,
21,
968,
29,
28,
306,
9,
2328,
20624,
800,
3726,
3726,
31,
22,
195,
330,
21,
2804,
2968,
968,
30,
25,
142,
11111,
1197,
21,
2741,
11449,
568,
28,
306,
1,
2328,
20624,
9,
27,
14,
1280,
645,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 screen scrapers work?
===
I here people writing these programs all the time and I know what they do, but how do they actually do it? I'm looking for general concepts. | 0 | [
2,
184,
107,
2324,
10241,
445,
170,
60,
800,
3726,
3726,
31,
235,
148,
1174,
158,
1726,
65,
14,
85,
17,
31,
143,
98,
59,
107,
15,
47,
184,
107,
59,
1121,
107,
32,
60,
31,
22,
79,
699,
26,
297,
8700,
9,
3,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Sorting text (adVarChar) ADO recordset field as numeric
===
Using VBA (in Project 2003 and Excel 2003) i have a set of functions that return an `ADODB.Recordset` object (referencing **Microsoft ActiveX DataObject 2.8 Library**)
The functions are part of a generic tool that creates all the columns as `adVarChar`. Un... | 0 | [
2,
2058,
68,
1854,
13,
5,
1283,
3311,
5433,
6,
21,
537,
742,
1198,
575,
28,
15764,
596,
800,
3726,
3726,
568,
566,
969,
13,
5,
108,
669,
973,
17,
20700,
973,
6,
31,
57,
21,
309,
16,
3719,
30,
788,
40,
13,
1,
5672,
9007,
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... |
Silverlight 2.0 DataGrid How to remove mouseover effect
===
I am just starting with SL and WPF. I am using the DataGrid control and I need to remove the mouseover effect (I actually will need to do more customizations than that). How do I do this. I think I need to do it with a control template but not sure how. I'm r... | 0 | [
2,
1172,
3130,
172,
9,
387,
1054,
16375,
184,
20,
4681,
7567,
2549,
1590,
800,
3726,
3726,
31,
589,
114,
1422,
29,
13718,
17,
619,
7721,
9,
31,
589,
568,
14,
1054,
16375,
569,
17,
31,
376,
20,
4681,
14,
7567,
2549,
1590,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
LinqToSql and abstract base classes
===
I have some linq entities that inherit something like this:
public abstract class EntityBase { public int Identifier { get; } }
public interface IDeviceEntity { int DeviceId { get; set; } }
public abstract class DeviceEntityBase : EntityBase, IDeviceEntity
... | 0 | [
2,
6294,
1251,
262,
18,
22402,
17,
8502,
1000,
2684,
800,
3726,
3726,
31,
57,
109,
6294,
1251,
12549,
30,
17569,
301,
101,
48,
45,
317,
8502,
718,
9252,
8436,
13,
1,
317,
19,
38,
25570,
13,
1,
164,
73,
13,
1,
13,
1,
317,
6573,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to get result count before LIMIT was applied in PHP/postgres
===
When paging through data that comes from a DB, you need to know how many pages there will be to render the page jump controls.
Currently I do that by running the query twice, once wrapped in a count() to determine the total results, and a sec... | 0 | [
2,
246,
161,
20,
164,
829,
2468,
115,
4496,
23,
2435,
19,
13,
26120,
118,
6962,
6879,
18,
800,
3726,
3726,
76,
19006,
68,
120,
1054,
30,
1624,
37,
21,
13,
9007,
15,
42,
376,
20,
143,
184,
151,
4434,
80,
129,
44,
20,
16535,
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... |
What's the CSS Filter alternative for Firefox?
===
I'm using CSS Filters to modify images on the fly within the browser. These work perfectly in Internet Explorer, but aren't supported in Firefox.
Does anyone know what the CSS Filter equivalent for these is for Firefox? An answer that would work cross browser (Safa... | 0 | [
2,
98,
22,
18,
14,
272,
18,
18,
11945,
2676,
26,
535,
18219,
60,
800,
3726,
3726,
31,
22,
79,
568,
272,
18,
18,
21062,
20,
17579,
3502,
27,
14,
2855,
363,
14,
16495,
9,
158,
170,
5759,
19,
2620,
8520,
15,
47,
4847,
22,
38,
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... |
Source code management strategies - branching, tagging, forking, etc. - for web apps
===
This posting here (http://stackoverflow.com/questions/156044/how-do-you-manage-database-revisions-on-a-medium-sized-project-with-branches) got me wondering how best to work on a web project using branching and deploying to dev, st... | 0 | [
2,
1267,
1797,
1097,
10272,
13,
8,
1686,
68,
15,
3383,
2762,
15,
26,
1581,
15,
2722,
9,
13,
8,
26,
2741,
4865,
18,
800,
3726,
3726,
48,
15669,
235,
13,
5,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652,
18,
118,
13097,
3277,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Loading XHTML fragments over AJAX with jQuery
===
I'm trying to load fragments of XHTML markup using jQuery's `$.fn.load` function, but it raises an error trying to add the new markup into the DOM. I've narrowed this down to the XML declaration (`<?xml...?>`) -- the view works if I return static text without the decla... | 0 | [
2,
12797,
993,
15895,
10837,
84,
20624,
29,
487,
8190,
93,
800,
3726,
3726,
31,
22,
79,
749,
20,
6305,
10837,
16,
993,
15895,
943,
576,
568,
487,
8190,
93,
22,
18,
13,
1,
4403,
9,
19035,
9,
8294,
1,
1990,
15,
47,
32,
15303,
40... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CoreImage for Win32
===
For those not familiar with Core Image, here's a good description of it:
http://developer.apple.com/macosx/coreimage.html
Is there something equivalent to Apple's CoreImage/CoreVideo for Windows? I looked around and found the DirectX/Direct3D stuff, which has all the underlying pieces, but ... | 0 | [
2,
2884,
22039,
26,
628,
3125,
800,
3726,
3726,
26,
273,
52,
3694,
29,
2884,
1961,
15,
235,
22,
18,
21,
254,
5318,
16,
32,
45,
7775,
6903,
26051,
106,
9,
24212,
9,
960,
118,
6893,
759,
396,
118,
10375,
22039,
9,
15895,
25,
80,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to render hand-drawn figures
===
I guess I'll illustrate with an example:
In [this game][1] you are able to draw 2D shapes using the mouse and what you draw is rendered to the screen in real-time. I want to know what the best ways are to render this type of drawing using hardware acceleration (OpenGL). I had... | 0 | [
2,
246,
161,
20,
16535,
224,
8,
19950,
2957,
800,
3726,
3726,
31,
2321,
31,
22,
211,
15620,
29,
40,
823,
45,
19,
636,
1565,
250,
500,
2558,
165,
500,
42,
50,
777,
20,
2003,
172,
43,
12129,
568,
14,
7567,
17,
98,
42,
2003,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you measure if an interface change improved or reduced usability?
===
For an ecommerce website how do you measure if a change to your site actually improved usability? What kind of measurements should you gather and how would you set up a framework for making this testing part of development? | 0 | [
2,
184,
107,
42,
4058,
100,
40,
6573,
753,
3999,
54,
2736,
182,
4091,
60,
800,
3726,
3726,
26,
40,
13,
62,
26470,
2271,
184,
107,
42,
4058,
100,
21,
753,
20,
154,
689,
1121,
3999,
182,
4091,
60,
98,
825,
16,
12776,
378,
42,
74... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0... |
How do you update an object with Linq 2 SQL without rowversion or timestamp?
===
I'm trying to take a POCO object and update it with Linq2SQL using an XML mapping file... This what what I have:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namesp... | 0 | [
2,
184,
107,
42,
11100,
40,
3095,
29,
6294,
1251,
172,
4444,
255,
366,
3131,
10898,
54,
436,
38,
10158,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
247,
21,
2353,
716,
3095,
17,
11100,
32,
29,
6294,
1251,
135,
18,
22402,
568,
40,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to retrieve only a portion of a matched string using regex in Javascript?
===
Say I've got a string, "foo (123) bar", and I want to retrieve all numbers surrounded by the delimiters "(" and ")". If I use `varname.match(/\([0-9]+\)/)`, my delimeters are included in the response, and I get "(123)" when wh... | 0 | [
2,
25,
80,
21,
161,
20,
11917,
104,
21,
2980,
16,
21,
11265,
3724,
568,
7953,
1706,
19,
8247,
8741,
60,
800,
3726,
3726,
395,
31,
22,
195,
330,
21,
3724,
15,
13,
7,
4120,
111,
13,
5,
918,
240,
6,
748,
7,
15,
17,
31,
259,
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 add recommendations to your ecommerce site?
===
Every ecommerce website would love to have a full featured recommendation engine like Amazon but how do you get one started? I found one open source project ([Taste](http://taste.sourceforge.net/)) but what other resources would you recommend for education an... | 0 | [
2,
184,
107,
42,
3547,
12121,
20,
154,
13,
62,
26470,
689,
60,
800,
3726,
3726,
352,
13,
62,
26470,
2271,
83,
339,
20,
57,
21,
503,
1070,
14066,
1406,
101,
8059,
47,
184,
107,
42,
164,
53,
373,
60,
31,
216,
53,
368,
1267,
669,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Reorder PDF Page Order
===
Is it possible to reorder an already generated PDF file programmatically, and using as little resources as possible, as this will need to be ran on ~8000 PDFs every month or so?
We are currently using iTextSharp to merge the PDF’s in to larger PDF’s, but iTextsharp’s Documentation does no... | 0 | [
2,
302,
7861,
13,
11124,
2478,
389,
800,
3726,
3726,
25,
32,
938,
20,
302,
7861,
40,
614,
6756,
13,
11124,
3893,
625,
6732,
1326,
15,
17,
568,
28,
265,
2566,
28,
938,
15,
28,
48,
129,
376,
20,
44,
717,
27,
13,
1,
28064,
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... |
Asking for help: What is a decent beginner graph problem?
===
I'm trying to get more acquainted with problems that require Graphs to be solved (are are best solved by graphs).
If someone has an old ACM Programming Competition problem that utilized graphs, or have another problem that they found particularly enlig... | 0 | [
2,
3379,
26,
448,
45,
98,
25,
21,
12238,
26931,
7210,
1448,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
164,
91,
21771,
29,
1716,
30,
4077,
7210,
18,
20,
44,
15091,
13,
5,
1509,
50,
246,
15091,
34,
7210,
18,
6,
9,
100,
737,
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... |
What are the open source code search engines you know about?
===
I know of google code search http://www.google.com/codesearch and koders http://www.koders.com/ . These two sites help me find usage of some of the libraries, where official documentation of the libraries would go only so far. If you know of some other t... | 0 | [
2,
98,
50,
14,
368,
1267,
1797,
2122,
4016,
42,
143,
88,
60,
800,
3726,
3726,
31,
143,
16,
8144,
1797,
2122,
7775,
6903,
6483,
9,
16111,
4875,
9,
960,
118,
9375,
25136,
17,
1584,
1157,
18,
7775,
6903,
6483,
9,
921,
1157,
18,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python Dependency Injection Framework
===
Is there a framework equivalent to Guice (http://code.google.com/p/google-guice) for Python? | 0 | [
2,
20059,
26835,
13646,
6596,
800,
3726,
3726,
25,
80,
21,
6596,
4602,
20,
9457,
1105,
13,
5,
21127,
6903,
9375,
9,
16111,
4875,
9,
960,
118,
306,
118,
16111,
4875,
8,
7215,
1105,
6,
26,
20059,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Asp.net MVC View Testing?
===
With more and more code pushed to the Views in Asp.Net MVC (i.e. AJAX, JQuery, etc...), how do you maintain the 'testability'?
- How do you test your Views?
- How do you test your views with client-side jscript code?
- How do you test your Views with Async behavior?
It seems that ... | 0 | [
2,
28,
306,
9,
2328,
307,
8990,
1418,
4431,
60,
800,
3726,
3726,
29,
91,
17,
91,
1797,
2007,
20,
14,
4146,
19,
28,
306,
9,
2328,
307,
8990,
13,
5,
49,
9,
62,
9,
20624,
15,
487,
8190,
93,
15,
2722,
9,
9,
9,
6,
15,
184,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Object allocate and init in Objective C
===
What is the difference between the following 2 ways to allocate and init an object?
AController *tempAController = [[AController alloc] init];
self.aController = tempAController;
[tempAController release];
and
self.aController= [[AController al... | 0 | [
2,
3095,
65,
111,
9530,
17,
19,
242,
19,
7038,
272,
800,
3726,
3726,
98,
25,
14,
2841,
128,
14,
249,
172,
2847,
20,
65,
111,
9530,
17,
19,
242,
40,
3095,
60,
21,
12898,
1252,
1637,
9577,
58,
12898,
1252,
800,
636,
2558,
58,
12... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Notification of object destruction in Ruby
===
I have written a custom Rails model. This model is backed by an actually server not by a database table (so it does not inherit from `ActiveRecord::Base`). In order to get the requested information from the server I open a SSH connection to it. Because rails does not r... | 0 | [
2,
52,
4634,
16,
3095,
5203,
19,
10811,
800,
3726,
3726,
31,
57,
642,
21,
5816,
2240,
18,
1061,
9,
48,
1061,
25,
6334,
34,
40,
1121,
8128,
52,
34,
21,
6018,
859,
13,
5,
656,
32,
630,
52,
17569,
37,
13,
1,
7889,
14953,
45,
45... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
AI Applications in C++: How costly are virtual functions? What are the possible optimizations?
===
In an AI application I am writing in C++,
1. there is not much numerical computation
2. there are lot of structures for which run-time polymorphism is needed
3. very often, several polymorphic structures int... | 0 | [
2,
21,
49,
3767,
19,
272,
20512,
45,
184,
20035,
50,
6599,
3719,
60,
98,
50,
14,
938,
21597,
18,
60,
800,
3726,
3726,
19,
40,
21,
49,
3010,
31,
589,
1174,
19,
272,
20512,
15,
137,
9,
80,
25,
52,
212,
16010,
21683,
172,
9,
80... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the equivalent of the C++ Pair<L,R> in Java?
===
Is there a good reason why there is no Pair<L,R> in Java? What would be the equivalent of this C++ construct? I would rather avoid reimplementing my own.
It seems that 1.6 is providing something similar (AbstractMap.SimpleEntry<K,V>), but this looks quite con... | 0 | [
2,
98,
25,
14,
4602,
16,
14,
272,
20512,
2146,
1,
255,
15,
139,
1,
19,
8247,
60,
800,
3726,
3726,
25,
80,
21,
254,
1215,
483,
80,
25,
90,
2146,
1,
255,
15,
139,
1,
19,
8247,
60,
98,
83,
44,
14,
4602,
16,
48,
272,
20512,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Does setbuf() affect cout?
===
Yet again, my teacher was unable to answer my question. I knew who may be able to...
So, I've never really learned C. In C++, I would, obviously, use a cout statement all of the time. In a recent assignment, my teacher told us to make sure to put
setbuf( stdout , NULL );
at... | 0 | [
2,
630,
309,
2345,
410,
5,
6,
6245,
272,
1320,
60,
800,
3726,
3726,
768,
188,
15,
51,
2197,
23,
2343,
20,
1623,
51,
1301,
9,
31,
404,
72,
123,
44,
777,
20,
9,
9,
9,
86,
15,
31,
22,
195,
243,
510,
2691,
272,
9,
19,
272,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to import a SQL Server .bak file into MySQL?
===
The title is self explanatory. Is there a way of directly doing such kind of importing? | 0 | [
2,
184,
20,
9010,
21,
4444,
255,
8128,
13,
9,
13344,
3893,
77,
51,
18,
22402,
60,
800,
3726,
3726,
14,
581,
25,
1119,
1396,
9863,
7496,
9,
25,
80,
21,
161,
16,
1703,
845,
145,
825,
16,
9010,
68,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Using Mercurial, is there an easy way to diff my working copy with the tip file in the default remote repository
===
When using mercurial, I'd like to be able to diff the working copy of a file with the tip file in my default remote repository. Is there an easy way to do this?
I know I can do an "hg incoming -p" t... | 0 | [
2,
568,
9046,
3594,
192,
15,
25,
80,
40,
2010,
161,
20,
20811,
51,
638,
4344,
29,
14,
4265,
3893,
19,
14,
12838,
5388,
24869,
800,
3726,
3726,
76,
568,
9046,
3594,
192,
15,
31,
22,
43,
101,
20,
44,
777,
20,
20811,
14,
638,
434... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 should I order my ctor parameters for DI/IOC?
===
I'm a bit of a DI newbie, so forgive me if this is the wrong approach or a silly question.
Let's say I have a form which creates/updates an order, and I know it's going to need to retrieve a list of products and customers to display. I want to pass in the Order ... | 0 | [
2,
184,
378,
31,
389,
51,
272,
2153,
12905,
26,
926,
118,
49,
2499,
60,
800,
3726,
3726,
31,
22,
79,
21,
1142,
16,
21,
926,
78,
5893,
15,
86,
8591,
55,
100,
48,
25,
14,
1389,
2141,
54,
21,
10752,
1301,
9,
408,
22,
18,
395,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# Attributes On Fields
===
How do I set an attribute on a field anywhere in my assembly, then reflect on those field attributes in my entire assembly and get/set the field values that the attribute is attached too? | 0 | [
2,
272,
5910,
13422,
27,
2861,
800,
3726,
3726,
184,
107,
31,
309,
40,
35,
14755,
27,
21,
575,
4922,
19,
51,
1475,
15,
94,
6907,
27,
273,
575,
13422,
19,
51,
1078,
1475,
17,
164,
118,
3554,
14,
575,
4070,
30,
14,
35,
14755,
25... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Mask redirect to temporary domain with mod_rewrite
===
We are putting up a company blog at companyname.com/blog but for now the blog is a Wordpress installation that lives on a different server (blog.companyname.com).
The intention is to have the blog and web site both on the same server in a month or two, but tha... | 0 | [
2,
5983,
302,
14706,
20,
4700,
4603,
29,
7226,
1,
99,
23716,
800,
3726,
3726,
95,
50,
3873,
71,
21,
237,
8146,
35,
237,
7259,
9,
960,
118,
220,
5567,
47,
26,
130,
14,
8146,
25,
21,
833,
5890,
7758,
30,
1551,
27,
21,
421,
8128,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What do people think of the fossil DVCS?
===
fossil <http:\\www.fossil-scm.org>
I found this recently and have started using it for my home projects. I want to hear what other people think of this VCS.
What is missing in my mind, is IDE support. Hopefully it will come, but I use the command line just fine.... | 0 | [
2,
98,
107,
148,
277,
16,
14,
9981,
13,
43,
8990,
18,
60,
800,
3726,
3726,
9981,
13,
1,
21127,
45,
1,
6483,
9,
15912,
947,
8,
18,
9095,
9,
5583,
1,
31,
216,
48,
1989,
17,
57,
373,
568,
32,
26,
51,
213,
2314,
9,
31,
259,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a standard encoding for NEEDED entries in ELF?
===
I'm trying to make some of my code a bit more friendly to non-pure-ascii systems and was wondering if there was a particular character encoding used for NEEDED entries in ELF binaries, or is it rather unstandard and based on the creating system's filesystem e... | 0 | [
2,
25,
80,
21,
1236,
19608,
26,
851,
11399,
19,
15704,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
233,
109,
16,
51,
1797,
21,
1142,
91,
4753,
20,
538,
8,
21059,
8,
472,
1892,
49,
1242,
17,
23,
5712,
100,
80,
23,
21,
1498,
925... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
unwanted leading blank space on oracle number format
===
I need to pad numbers with leading zeros (total 8 digits) for display. I'm using oracle.
select to_char(1011,'00000000') OPE_NO from dual;
select length(to_char(1011,'00000000')) OPE_NO from dual;
Instead of '00001011' I get ' 00001011'.
Why do I... | 0 | [
2,
21095,
1005,
6463,
726,
27,
15759,
234,
2595,
800,
3726,
3726,
31,
376,
20,
4432,
2116,
29,
1005,
4606,
18,
13,
5,
20148,
469,
19076,
6,
26,
3042,
9,
31,
22,
79,
568,
15759,
9,
5407,
20,
1,
5433,
5,
1036,
1306,
15,
22,
2190... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get timer ticks in Python
===
I'm just trying to time a piece of code. The pseudocode looks like:
start = get_ticks()
do_long_code()
print "It took " + (get_ticks() - start) + " seconds."
How does this look in Python? | 0 | [
2,
164,
85,
139,
8809,
18,
19,
20059,
800,
3726,
3726,
31,
22,
79,
114,
749,
20,
85,
21,
1855,
16,
1797,
9,
14,
8452,
9375,
1879,
101,
45,
799,
800,
164,
1,
1786,
4020,
5,
6,
107,
1,
2701,
1,
9375,
5,
6,
4793,
13,
7,
242,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Wouldn't MS Access(.mdb) file size reduce after deleting the content of database?
===
I was inserting data into a MS Access database using JDBC-ODBC driver. The blank mdb file was 2KB. After populating this database, the size grew to 155MB. Then I was deleting the data. But I found the size of mdb remains the sam... | 0 | [
2,
1265,
22,
38,
4235,
1381,
5,
9,
79,
9007,
6,
3893,
1072,
4136,
75,
121,
1336,
68,
14,
2331,
16,
6018,
60,
800,
3726,
3726,
31,
23,
14692,
68,
1054,
77,
21,
4235,
1381,
6018,
568,
487,
43,
7229,
8,
5648,
7229,
2425,
9,
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... |
Does a (.net) COM+ assembly need to be installed in the GAC?
===
I have a .net assembly that has a COM+ ServicedCopmonent in it and at the moment I install it into the GAC to get everything working. This means that I need to have every assembly that it references in the GAC as well.
During development it is quite ... | 0 | [
2,
630,
21,
13,
5,
9,
2328,
6,
13,
960,
2430,
1475,
376,
20,
44,
4066,
19,
14,
4369,
150,
60,
800,
3726,
3726,
31,
57,
21,
13,
9,
2328,
1475,
30,
63,
21,
13,
960,
2430,
365,
43,
9734,
2111,
2291,
19,
32,
17,
35,
14,
688,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Get all items from thread Queue
===
I have one thread that writes results into a Queue.
In another thread (GUI), I periodically (in the IDLE event) check if there are results in the queue, like this:
def queue_get_all(q):
items = []
while 1:
try:
items.append(q... | 0 | [
2,
164,
65,
3755,
37,
9322,
22521,
800,
3726,
3726,
31,
57,
53,
9322,
30,
6215,
1736,
77,
21,
22521,
9,
19,
226,
9322,
13,
5,
7215,
6,
15,
31,
19886,
13,
5,
108,
14,
18652,
807,
6,
2631,
100,
80,
50,
1736,
19,
14,
22521,
15,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the difference between include and extend in Ruby?
===
Just getting my head around Ruby metaprogramming... the mixin/modules always manage confuse me everytime.
- **include** : mixes in specified module methods as **instance methods** in the target class
- **extend** : mixes in specified module method... | 0 | [
2,
98,
25,
14,
2841,
128,
468,
17,
7206,
19,
10811,
60,
800,
3726,
3726,
114,
1017,
51,
157,
140,
10811,
7618,
19746,
3863,
9,
9,
9,
14,
2917,
108,
118,
19673,
160,
550,
4705,
26465,
55,
352,
891,
9,
13,
8,
13,
1409,
22640,
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... |
Which languages support *recursive* function literals / anonymous functions?
===
It seems quite a few mainstream languages support [function literals][1] these days. They are also called [anonymous functions][2], but I don't care if they have a name. The important thing is that a function literal is an expression whic... | 0 | [
2,
56,
2556,
555,
1637,
99,
24244,
2483,
1990,
20665,
18,
13,
118,
10364,
3719,
60,
800,
3726,
3726,
32,
2206,
1450,
21,
310,
7469,
2556,
555,
636,
22359,
20665,
18,
500,
2558,
165,
500,
158,
509,
9,
59,
50,
67,
227,
636,
210,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
in-house projects: to stable release or not?
===
Suppose you work at a medium-to-large software company with many independently-developed projects (independent coders) but which rely on each other (dependent code).
If it were up to you, would you make sure each project produced stable branches so that the other pro... | 0 | [
2,
19,
8,
1682,
2314,
45,
20,
4521,
830,
54,
52,
60,
800,
3726,
3726,
5787,
42,
170,
35,
21,
4152,
8,
262,
8,
11312,
2306,
237,
29,
151,
9029,
8,
20102,
2314,
13,
5,
17390,
1797,
1224,
6,
47,
56,
12139,
27,
206,
89,
13,
5,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.