unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How can I determine the element type of a matched element in jQuery?
===
I'm matching ASP.Net generated elements by ID name, but I have some elements which may render as text boxes or labels depending on the page context. I need to figure out whether the match is to a textbox or label in order to know whether to get t... | 0 | [
2,
184,
92,
31,
3746,
14,
4520,
1001,
16,
21,
11265,
4520,
19,
487,
8190,
93,
60,
800,
3726,
3726,
31,
22,
79,
10120,
28,
306,
9,
2328,
6756,
2065,
34,
4924,
204,
15,
47,
31,
57,
109,
2065,
56,
123,
16535,
28,
1854,
8120,
54,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Decent low-footprint web server? (.net)
===
I'm looking for a server which is:
Lightweight,
Non-buggy,
Supports .NET | 0 | [
2,
12238,
708,
8,
3670,
10299,
2741,
8128,
60,
13,
5,
9,
2328,
6,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
8128,
56,
25,
45,
13613,
15,
538,
8,
16254,
2687,
15,
6747,
13,
9,
2328,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Unable to start Camel 1.5.0
===
I'm trying to run the Camel Example "camel-example-spring-jms" (also at http://activemq.apache.org/camel/tutorial-jmsremoting.html).
However, when I try to start Camel using "org.apache.camel.spring.Main" class, I get the error saying
**"Configuration problem: Unable to locate Sprin... | 0 | [
2,
2343,
20,
799,
15386,
137,
9,
264,
9,
387,
800,
3726,
3726,
31,
22,
79,
749,
20,
485,
14,
15386,
823,
13,
7,
793,
4240,
8,
29041,
8,
15827,
8,
728,
79,
18,
7,
13,
5,
2573,
35,
7775,
6903,
7889,
79,
1251,
9,
7738,
2569,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Implementing and Enforcing Coding Standards
===
My team (of which I am the newest and most junior member) has increased in size from 3 to 9 developers in just about 1 year. Our primary product has increased in complexity and we are about to undertake a year long port/re-write to Silverlight. In the past there has be... | 0 | [
2,
17333,
17,
29296,
13,
15458,
3364,
800,
3726,
3726,
51,
173,
13,
5,
1041,
56,
31,
589,
14,
17175,
17,
127,
1630,
322,
6,
63,
1644,
19,
1072,
37,
203,
20,
561,
10168,
19,
114,
88,
137,
159,
9,
318,
1256,
2374,
63,
1644,
19,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Automatic query to Google search?
===
I've had a look at code.google.com, but I didn't find anywhere how to programatically make a search query to Google and get the results. Do you happen to know if this is possible, using some web services or any other way?
Of course, there's always the possibility to send a sear... | 0 | [
2,
6715,
25597,
20,
8144,
2122,
60,
800,
3726,
3726,
31,
22,
195,
41,
21,
361,
35,
1797,
9,
16111,
4875,
9,
960,
15,
47,
31,
223,
22,
38,
477,
4922,
184,
20,
625,
721,
8438,
233,
21,
2122,
25597,
20,
8144,
17,
164,
14,
1736,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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
===
Is there any way to force a WrapPanel to insert a "newline"?
In other words, if I am inserting elements into a wrap panel and there is still space in the panel before it overflows on the next line, can I specifically make it wrap over so that the subsequent elements are on the next line?
I am lookin... | 0 | [
2,
25,
80,
21,
800,
3726,
3726,
25,
80,
186,
161,
20,
558,
21,
8118,
3206,
532,
20,
14692,
21,
13,
7,
2681,
1143,
7,
60,
19,
89,
715,
15,
100,
31,
589,
14692,
68,
2065,
77,
21,
8118,
4113,
17,
80,
25,
174,
726,
19,
14,
411... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Castle Windsor: How do I wire up events in my configuration?
===
I have something like this:
public interface IDeviceMonitor {
int DeviceId { get; }
event DeviceUpdatedHandler NewValueRecieved;
void Start();
void Stop();
}
public class DeviceInactivityDetector {
... | 0 | [
2,
1339,
10784,
45,
184,
107,
31,
6511,
71,
963,
19,
51,
8091,
60,
800,
3726,
3726,
31,
57,
301,
101,
48,
45,
317,
6573,
13,
3448,
18507,
2111,
242,
248,
13,
1,
19,
38,
3646,
1340,
13,
1,
164,
73,
13,
1,
807,
3646,
576,
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... |
Recognize URL in plain text
===
This should be easy, but I'm not sure how to best go about it. I have a WinForms app that lets the user type in long descriptions. Occaisionally, they would type in URLs, and the RichTextBox would recognize them and make them clickable when displayed.
I'm noving the app to the web, a... | 0 | [
2,
5844,
287,
6362,
19,
3748,
1854,
800,
3726,
3726,
48,
378,
44,
2010,
15,
47,
31,
22,
79,
52,
562,
184,
20,
246,
162,
88,
32,
9,
31,
57,
21,
628,
4190,
18,
4865,
30,
6884,
14,
4155,
1001,
19,
175,
15740,
9,
635,
6909,
49,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Flex List control more than a String ?
===
I have a list control where i want to show a string (thats fine) but a colored square as well.
Imagine i have a "add player" button a text input with a color picker. I want to see the color + player name in the List. How could i do this ?
[Bindable]
public va... | 0 | [
2,
14409,
968,
569,
91,
119,
21,
3724,
13,
60,
800,
3726,
3726,
31,
57,
21,
968,
569,
113,
31,
259,
20,
298,
21,
3724,
13,
5,
887,
18,
1123,
6,
47,
21,
10133,
735,
28,
134,
9,
4382,
31,
57,
21,
13,
7,
14854,
517,
7,
5167,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are some web applications worth coding for experience?
===
Lately i got into web development (in asp.net mvc), and i'm looking for some ideas web application ideas worth coding, preferably in an increasing difficulty level.
my first app (which i'm currently coding) is a photo gallery web site | 0 | [
2,
98,
50,
109,
2741,
3767,
2715,
13,
15458,
26,
1496,
60,
800,
3726,
3726,
10434,
31,
330,
77,
2741,
522,
13,
5,
108,
28,
306,
9,
2328,
307,
8990,
6,
15,
17,
31,
22,
79,
699,
26,
109,
3478,
2741,
3010,
3478,
2715,
13,
15458,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Buttons in gridview control - VS2-2008
===
I have a gridview control which displays data returned from DB. The datakey property of the gridview is bound to the ID column of the DB
Each record in the GV had 2 buttons and one Checkbox. When either of these controls is clicked I want to obtain the row that this was cl... | 0 | [
2,
12861,
19,
7354,
4725,
569,
13,
8,
4611,
135,
8,
2753,
800,
3726,
3726,
31,
57,
21,
7354,
4725,
569,
56,
9412,
1054,
587,
37,
13,
9007,
9,
14,
1054,
4237,
1354,
16,
14,
7354,
4725,
25,
4138,
20,
14,
4924,
4698,
16,
14,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to merge two Django projects' user tables?
===
I've got two Django projects on the same server. The first launched several months ago, and has since collected hundreds of user accounts. The second project is launching in a few days, and we'd like the second project to allow users of the first app to authent... | 0 | [
2,
246,
161,
20,
12666,
81,
3857,
14541,
2314,
22,
4155,
7484,
60,
800,
3726,
3726,
31,
22,
195,
330,
81,
3857,
14541,
2314,
27,
14,
205,
8128,
9,
14,
64,
1601,
238,
818,
1464,
15,
17,
63,
179,
3674,
4541,
16,
4155,
5310,
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... |
Haskell Interactive
===
I am a bit rusty on my Haskell and am looking to ramp back up. One thing I enjoy from F# is the F# Interactive shell integrated with Visual Studio: I can evaluate virtually anything (including function and class definitions) and use F# as a shell. Is there an equivalent in Haskell? When I use `... | 0 | [
2,
63,
16507,
9194,
800,
3726,
3726,
31,
589,
21,
1142,
15395,
27,
51,
63,
16507,
17,
589,
699,
20,
9960,
97,
71,
9,
53,
584,
31,
4696,
37,
398,
5910,
25,
14,
398,
5910,
9194,
3593,
5547,
29,
3458,
1120,
45,
31,
92,
13,
15599,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Retrieving SOAP password
===
I am developing web services in C# using WCF and I want to create a custom way of handling security. I have found this way to retrieve the username out of the soap message that was sent to web service:
String username = System.ServiceModel.ServiceSecurityContext.Current.PrimaryIdent... | 0 | [
2,
13,
6239,
3272,
8397,
6447,
20884,
800,
3726,
3726,
31,
589,
3561,
2741,
687,
19,
272,
5910,
568,
11801,
410,
17,
31,
259,
20,
1600,
21,
5816,
161,
16,
7988,
1221,
9,
31,
57,
216,
48,
161,
20,
11917,
14,
4155,
7259,
70,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I enfoce using a factory on a struct in C#
===
I have a c# struct where I need to forbid calling the no args constructor on it.
MyStruct s = new MyStruct(); // can't have that
In C++ this would be easy, add a private constructor but c# doesn't allow that.
Is there a way to prevent the above?
I ... | 0 | [
2,
184,
107,
31,
1957,
4120,
1105,
568,
21,
3129,
27,
21,
13,
10346,
19,
272,
5910,
800,
3726,
3726,
31,
57,
21,
272,
5910,
13,
10346,
113,
31,
376,
20,
23041,
2555,
14,
90,
13,
10663,
18,
6960,
248,
27,
32,
9,
51,
10346,
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... |
how do widgets like "http://sharethis.com/" make what seem to be XSS calls
===
How is it that tools like this one can make an ajax style call back to a central site? basically they give you a "<script> tag to put on your site where ever it is. So in this widget you have the ability to ask for an email to be sent to yo... | 0 | [
2,
184,
107,
4807,
43,
3060,
18,
101,
13,
7,
21127,
6903,
16608,
1565,
9,
960,
118,
7,
233,
98,
2260,
20,
44,
993,
18,
18,
3029,
800,
3726,
3726,
184,
25,
32,
30,
4672,
101,
48,
53,
92,
233,
40,
20624,
1034,
645,
97,
20,
21,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the "Execute Around" idiom?
===
What is this "Execute Around" idiom (or similar) I've been hearing about? Why might I use it, and why might I not want to use it? | 0 | [
2,
98,
25,
14,
13,
7,
1706,
17194,
591,
140,
7,
28380,
60,
800,
3726,
3726,
98,
25,
48,
13,
7,
1706,
17194,
591,
140,
7,
28380,
13,
5,
248,
835,
6,
31,
22,
195,
74,
3229,
88,
60,
483,
530,
31,
275,
32,
15,
17,
483,
530,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
streaming binary data over http
===
I am looking into streaming binary data into a browser (through http). I am looking for opinions as to good ways to go about doing this. Ultimately I will have a real time data source and I would like to manipulate this data and display it (in real-ish time) in a browser. Firefox co... | 0 | [
2,
11920,
14171,
1054,
84,
7775,
800,
3726,
3726,
31,
589,
699,
77,
11920,
14171,
1054,
77,
21,
16495,
13,
5,
11639,
7775,
6,
9,
31,
589,
699,
26,
11900,
28,
20,
254,
2847,
20,
162,
88,
845,
48,
9,
3308,
31,
129,
57,
21,
683,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can't set IHTMLEventObj2::fromElement
===
I'm trying to generate synthetic Javascript events in an Internet Explorer extension, and I'm having trouble getting the fromElement property to stick. Here's an excerpt of my code:
MsHtml.IHTMLDocument4 doc4 = ... // the document object
Object o = null;
MsHt... | 0 | [
2,
92,
22,
38,
309,
31,
15895,
4943,
262,
11741,
135,
45,
45,
2665,
27567,
800,
3726,
3726,
31,
22,
79,
749,
20,
7920,
13831,
8247,
8741,
963,
19,
40,
2620,
8520,
3896,
15,
17,
31,
22,
79,
452,
2572,
1017,
14,
37,
27567,
1354,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Running untrusted third party software
===
What's the best way to protect system integrity while running possibly malicious third party executables?
I would like to allow a program to be able to store some information for its own use during execution, but disallow access to the network and to devices, and of course... | 0 | [
2,
946,
367,
11592,
69,
422,
346,
2306,
800,
3726,
3726,
98,
22,
18,
14,
246,
161,
20,
2196,
329,
11961,
133,
946,
2879,
24231,
422,
346,
1396,
17194,
5924,
18,
60,
31,
83,
101,
20,
1655,
21,
625,
20,
44,
777,
20,
1718,
109,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Book / tutorial / reference on Haskell for rusty Haskell but experienced functional programmer
===
I am experienced in functional programming, notably Scheme and F#. I'd like to get back to Haskell, which I used before. I remember reading the Haskell School of Expression. Which book / tutorial / reference would you re... | 0 | [
2,
360,
13,
118,
29724,
13,
118,
2801,
27,
63,
16507,
26,
15395,
63,
16507,
47,
3882,
7652,
17968,
800,
3726,
3726,
31,
589,
3882,
19,
7652,
3143,
15,
4371,
4276,
17,
398,
5910,
9,
31,
22,
43,
101,
20,
164,
97,
20,
63,
16507,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Django Development faster than ASP.NET for small/medium-size apps?
===
This is one of the things I've been hearing in Django VS ASP.NET discussion.
I personally find it hard to believe but I never tried Django.
What about the learning curve?
Let's kill each other and sort this out. | 0 | [
2,
25,
3857,
14541,
522,
4233,
119,
28,
306,
9,
2328,
26,
284,
118,
28451,
8,
10454,
4865,
18,
60,
800,
3726,
3726,
48,
25,
53,
16,
14,
564,
31,
22,
195,
74,
3229,
19,
3857,
14541,
4611,
28,
306,
9,
2328,
5460,
9,
31,
7200,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 GTK terminal component that can be used under Windows?
===
I need to build a terminal-like application that needs to be used under my usual Ubuntu install but also under Windows. I've been looking for a terminal component that accepts commands and is able to show some kind of command history together with o... | 0 | [
2,
25,
80,
21,
9509,
197,
3855,
5912,
30,
92,
44,
147,
131,
1936,
60,
800,
3726,
3726,
31,
376,
20,
1895,
21,
3855,
8,
1403,
3010,
30,
2274,
20,
44,
147,
131,
51,
3820,
287,
12968,
2473,
16146,
47,
67,
131,
1936,
9,
31,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.Net SQL Server Database Monitoring - Insert, Update, Delete
===
Does anyone know of a way to monitor table record changes in a SQL Server (2005 or 2008) database from a .Net application? It needs to be able to support multiple clients at a time. Each client will "subscribe" when it starts, and "unsubscribe" when it... | 0 | [
2,
13,
9,
2328,
4444,
255,
8128,
6018,
8984,
13,
8,
14692,
15,
11100,
15,
27448,
800,
3726,
3726,
630,
1276,
143,
16,
21,
161,
20,
7626,
859,
571,
1693,
19,
21,
4444,
255,
8128,
13,
5,
2835,
54,
570,
6,
6018,
37,
21,
13,
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... |
raise postback event from div tag
===
I was trying to raise a post back event by div tag<td>.
I don't know how to do that. AL I could think of is javascript, but that is not what I want.
I need to call function of a class inside a event handler. | 0 | [
2,
3972,
678,
1958,
807,
37,
13,
12916,
3383,
800,
3726,
3726,
31,
23,
749,
20,
3972,
21,
678,
97,
807,
34,
13,
12916,
3383,
1,
38,
43,
1,
9,
31,
221,
22,
38,
143,
184,
20,
107,
30,
9,
493,
31,
110,
277,
16,
25,
8247,
8741... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
unit testing classes
===
I put together a class yesterday to do some useful task. I started unit testing, and at some point realized I was adding unit test related methods to the class itself. It hit me that they don't belong there. After a bit of head scratching I derived a test class from the base class that ha... | 0 | [
2,
1237,
4431,
2684,
800,
3726,
3726,
31,
442,
429,
21,
718,
7124,
20,
107,
109,
4811,
3005,
9,
31,
373,
1237,
4431,
15,
17,
35,
109,
454,
1896,
31,
23,
4721,
1237,
1289,
1597,
3195,
20,
14,
718,
1145,
9,
32,
770,
55,
30,
59,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Simple SQL code evades me.. Unionize two mismatched tables.D
===
I'm selecting 1 field from 1 table and storing it into a temp table.
Sometimes that table ends up with 0 rows.
I want to add that field onto another table that has 20+ fields
Regular union won't work for me because of the field # mismatch.
Oute... | 0 | [
2,
1935,
4444,
255,
1797,
21579,
18,
55,
9,
9,
667,
2952,
81,
2462,
12280,
69,
7484,
9,
43,
800,
3726,
3726,
31,
22,
79,
20764,
137,
575,
37,
137,
859,
17,
25615,
32,
77,
21,
13,
9577,
859,
9,
1030,
30,
859,
3451,
71,
29,
71... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
When is it OK to intentionally obfuscate URLs?
===
Having friendly URLs is generally a good thing. However, there are sometimes when it seems like a bad idea. What is your rule of thumb?
For instance, consider a situation where I want to show a Registration Success page. I want all of the underlying logic to be ... | 0 | [
2,
76,
25,
32,
5854,
20,
18140,
5122,
13735,
9530,
13,
911,
7532,
60,
800,
3726,
3726,
452,
4753,
13,
911,
7532,
25,
1469,
21,
254,
584,
9,
207,
15,
80,
50,
1030,
76,
32,
2206,
101,
21,
896,
882,
9,
98,
25,
154,
1828,
16,
50... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to Install Reporting Services Report Viewer WebPart?
===
I'm trying to use the Reporting Services Report Viewer WebPart with a project that I'm working on and I can't seem to get a clear indication on exactly where it comes from (or maybe I just don't understand?). <a href="http://msdn.microsoft.com/en-us/library... | 2 | [
2,
184,
20,
16146,
6670,
687,
1330,
16812,
2741,
3091,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
14,
6670,
687,
1330,
16812,
2741,
3091,
29,
21,
669,
30,
31,
22,
79,
638,
27,
17,
31,
92,
22,
38,
2260,
20,
164,
21,
1207,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 increment a java String through all the possibilities?
===
I need to increment a String in java from "aaaaaaaa" to "aaaaaab" to "aaaaaac" up through the alphabet, then eventually to "aaaaaaba" to "aaaaaabb" etc. etc.
Is there a trick for this? | 0 | [
2,
184,
20,
13,
28461,
21,
8247,
3724,
120,
65,
14,
13086,
60,
800,
3726,
3726,
31,
376,
20,
13,
28461,
21,
3724,
19,
8247,
37,
13,
7,
6887,
22160,
22160,
7,
20,
13,
7,
22160,
22160,
220,
7,
20,
13,
7,
22160,
22160,
150,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Reading a sector on the boot disk
===
This is a continuation of my question about <a href="http://stackoverflow.com/questions/339795/reading-the-superblock">reading the superblock</a>.
Let's say I want to target the HFS+ file system in Mac OS X. How could I read sector 2 of the boot disk? As far as I know Unix only... | 0 | [
2,
1876,
21,
3172,
27,
14,
6801,
8582,
800,
3726,
3726,
48,
25,
21,
15503,
16,
51,
1301,
88,
13,
1,
58,
746,
14057,
3726,
7,
21127,
6903,
25325,
2549,
9990,
9,
960,
118,
24652,
18,
118,
26074,
3399,
10551,
22883,
8,
124,
8,
8542... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Read & Update filestream
===
I have a little utility that does a search of a number of files. I had to create it because both Google & Windows desktop searches were not finding the appropriate lines in files. The searching works fine (I am willing to improve on it) but one of the things I would like to add to my util ... | 0 | [
2,
1302,
279,
11100,
3893,
11260,
800,
3726,
3726,
31,
57,
21,
265,
10082,
30,
630,
21,
2122,
16,
21,
234,
16,
6488,
9,
31,
41,
20,
1600,
32,
185,
156,
8144,
279,
1936,
17404,
19994,
46,
52,
3007,
14,
4593,
1560,
19,
6488,
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... |
Sizing a control to fit a view in Interface builder
===
Lets say I have a split view, and I want to fill half of it with a table view (a fairly common use case, I would think). Is there any way to tell the table view to size itself to fit the split view or do I really have to size it manually? | 0 | [
2,
13,
18,
3335,
21,
569,
20,
2742,
21,
1418,
19,
6573,
14960,
800,
3726,
3726,
6884,
395,
31,
57,
21,
2132,
1418,
15,
17,
31,
259,
20,
3509,
519,
16,
32,
29,
21,
859,
1418,
13,
5,
58,
6647,
757,
275,
610,
15,
31,
83,
277,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 domain\username for web app on intranet without loggin in
===
I have a web app on our intranet (VS 2005). There are a couple pages that don't require the user to be logged into the app (feedback and the default page). I am trying to get the domain and username to display and/or send with the feedback. Is t... | 0 | [
2,
1017,
4603,
1,
16704,
7259,
26,
2741,
4865,
27,
14369,
2328,
366,
6738,
5831,
19,
800,
3726,
3726,
31,
57,
21,
2741,
4865,
27,
318,
14369,
2328,
13,
5,
710,
18,
812,
6,
9,
80,
50,
21,
1335,
4434,
30,
221,
22,
38,
4077,
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... |
PS1 line-wrapping with colours problem
===
Here's my PS1 variable:
PS1='\u:\W$(__git_ps1 "\e[32m\][%s]\e[0m\]")$ '
Works great for picking up my Git branch, but it has the unfortunate side-effect of wrapping the lines when the colours are active, so that they overlap when you use long commands.
Can anyon... | 0 | [
2,
8613,
165,
293,
8,
499,
525,
5574,
29,
8739,
1448,
800,
3726,
3726,
235,
22,
18,
51,
8613,
165,
7612,
45,
8613,
165,
3726,
22,
1,
291,
45,
1,
499,
4403,
5,
1,
10404,
1,
1919,
165,
13,
7,
1,
62,
2558,
3125,
79,
1,
500,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why would Guid.NewGuid() be generating an empty guid?
===
I have a Guid.NewGuid() call that is creating an Empty Guid.
What would cause such a problem and how can I fix it?
<b>Edit:</b> The code:<br />
Dim rowPointer As Guid = System.Guid.NewGuid()
Dim rowPointerValue As String = ro... | 0 | [
2,
483,
83,
9457,
43,
9,
2681,
7215,
43,
5,
6,
44,
13500,
40,
2424,
9457,
43,
60,
800,
3726,
3726,
31,
57,
21,
9457,
43,
9,
2681,
7215,
43,
5,
6,
645,
30,
25,
2936,
40,
2424,
9457,
43,
9,
98,
83,
1679,
145,
21,
1448,
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... |
Programmaticly use Gmail to receive e-mail?
===
I'd like to use a C# program to poll a gmail account and automatically download new messages. I know you can use gmail as an outbound SMTP server, but is there any way to access new messages sent to the account?
| 0 | [
2,
625,
6732,
102,
275,
489,
8079,
20,
2588,
13,
62,
8,
8079,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
275,
21,
272,
5910,
625,
20,
4994,
21,
489,
8079,
2176,
17,
7499,
7121,
78,
7561,
9,
31,
143,
42,
92,
275,
489,
8079,
28... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I use Delphi or C++Builder for Windows Mobile 6.1 Development?
===
I'm curious about what it takes to program for mobile devices (Windows Mobile 6.1) and if I can use the IDE's we're already used to (RAD Studio 2009).
Is there a Mobile Development Community around where Delphi or C++Builder users can learn fro... | 0 | [
2,
92,
31,
275,
23030,
54,
272,
20512,
20904,
26,
1936,
3241,
400,
9,
165,
522,
60,
800,
3726,
3726,
31,
22,
79,
7686,
88,
98,
32,
1384,
20,
625,
26,
3241,
4690,
13,
5,
27508,
18,
3241,
400,
9,
165,
6,
17,
100,
31,
92,
275,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Aligning content in a WPF Viewbox
===
I have a Viewbox that is using Stretch=Uniform in order to not distort the content.
However... when the frame window is wider or taller than the content, the Viewbox content is always centered.
I cannot seem to find any content alignment options on the Viewbox.
Is there a w... | 0 | [
2,
23389,
68,
2331,
19,
21,
619,
7721,
1418,
5309,
800,
3726,
3726,
31,
57,
21,
1418,
5309,
30,
25,
568,
6363,
3726,
1020,
13537,
19,
389,
20,
52,
1460,
2153,
38,
14,
2331,
9,
207,
9,
9,
9,
76,
14,
3523,
1463,
25,
6350,
54,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generics and ASP.Net Membership Provider
===
I'm trying to use a generic list as a property of the users profile. I'll admit this is probably just making my life harder than it needs to be but I don't want to change the programming model just because the data store struggles.
I have this in my web.config
<profil... | 0 | [
2,
12733,
18,
17,
28,
306,
9,
2328,
4363,
11747,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
21,
12733,
968,
28,
21,
1354,
16,
14,
3878,
5296,
9,
31,
22,
211,
5251,
48,
25,
910,
114,
544,
51,
201,
5229,
119,
32,
2274,
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... |
What are the best practices for naming ant targets?
===
What are the best practices for naming ant targets?
For exmaple, what would you expect the target "test" to run? All unit tests? All functional tests? Both?
What are the standard names used for running different types of tests (unit/functional/all)? A... | 0 | [
2,
98,
50,
14,
246,
5242,
26,
10929,
40,
38,
7767,
60,
800,
3726,
3726,
98,
50,
14,
246,
5242,
26,
10929,
40,
38,
7767,
60,
26,
1396,
540,
5106,
15,
98,
83,
42,
4186,
14,
2935,
13,
7,
10543,
7,
20,
485,
60,
65,
1237,
4894,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Minimum NUnit binaries for an OSS project
===
Open Source projects that ship with unit tests based on NUnit also usually ship the NUnit runners and accompanying binaries. For NUnit 2.4.8, distributing its `bin` directory verbatim with the actual project amounts to 46 files and a blank `addins` directory. What would be... | 0 | [
2,
5187,
10210,
242,
4511,
11301,
26,
40,
19504,
669,
800,
3726,
3726,
368,
1267,
2314,
30,
995,
29,
1237,
4894,
432,
27,
10210,
242,
67,
951,
995,
14,
10210,
242,
6611,
17,
11334,
4511,
11301,
9,
26,
10210,
242,
172,
9,
300,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I feed standard input to a batch file when an app run from the batch mucks with stdin?
===
Here's a minimal batch file, `demo.bat`, to illustrate my problem:
@ECHO off
set /p foo=Enter foo:
echo.
echo you typed "%foo%"
sqlcmd -?
set /p bar=Enter bar:
echo.... | 0 | [
2,
184,
92,
31,
4063,
1236,
6367,
20,
21,
13064,
3893,
76,
40,
4865,
485,
37,
14,
13064,
25872,
18,
29,
354,
3653,
60,
800,
3726,
3726,
235,
22,
18,
21,
8663,
13064,
3893,
15,
13,
1,
19274,
9,
4900,
1,
15,
20,
15620,
51,
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... |
Verbatim strings and Visual Studio
===
Is there a way to get Visual Studio to display strings as verbatim strings (prefixed with '@')? I'd like to easily cut strings containing file paths from Visual Studio into Explorer or other apps. | 0 | [
2,
9504,
5166,
79,
7887,
17,
3458,
1120,
800,
3726,
3726,
25,
80,
21,
161,
20,
164,
3458,
1120,
20,
3042,
7887,
28,
9504,
5166,
79,
7887,
13,
5,
3515,
18594,
69,
29,
13,
22,
1,
22,
6,
60,
31,
22,
43,
101,
20,
2351,
1077,
788... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to use System::Threading::Interlocked::Increment on a static variable from C++/CLI?
===
I would like to keep a static counter in a garbage collected class and increment it using Interlocked::Increment. What's the C++/CLI syntax to do this?
I've been trying variations on the following, but no luck so far:
... | 0 | [
2,
184,
20,
275,
329,
45,
45,
96,
22883,
45,
45,
6280,
3966,
69,
45,
45,
28461,
27,
21,
12038,
7612,
37,
272,
20512,
118,
150,
1210,
60,
800,
3726,
3726,
31,
83,
101,
20,
643,
21,
12038,
2105,
19,
21,
15024,
3674,
718,
17,
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... |
Does pdksh (public domain korn shell) support associative arrays?
===
I recently ran up against a wall doing some bash shell programming where an associative array would have solved my problems. I googled about features of the Korn shell and learned that it supports associative arrays, so I installed Cygwin's pdksh (... | 0 | [
2,
630,
13,
9251,
197,
1635,
13,
5,
12259,
4603,
4435,
103,
3593,
6,
555,
28,
18,
16325,
3366,
7718,
18,
60,
800,
3726,
3726,
31,
1989,
717,
71,
149,
21,
769,
845,
109,
13158,
3593,
3143,
113,
40,
28,
18,
16325,
3366,
7718,
83,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why can't variable names start with numbers?
===
I was working with a new c++ developer a while back when he asked the question: "Why can't variable names start with numbers?"
I couldn't come up with an answer except that some numbers can have text in them (123456L, 123456U) and that wouldn't be possible if the com... | 0 | [
2,
483,
92,
22,
38,
7612,
1817,
799,
29,
2116,
60,
800,
3726,
3726,
31,
23,
638,
29,
21,
78,
272,
20512,
10058,
21,
133,
97,
76,
24,
411,
14,
1301,
45,
13,
7,
2256,
92,
22,
38,
7612,
1817,
799,
29,
2116,
60,
7,
31,
711,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Entity Framework, building query based on criteria
===
I was wondering if anyone had a better idea how to do this. atm returning IQueryable<Member> as ObjectQuery<Member> seems dirty to me.
namespace Falcon.Business.Repositories
{
using System;
using System.Data.Objects;
using System.Linq... | 0 | [
2,
9252,
6596,
15,
353,
25597,
432,
27,
9157,
800,
3726,
3726,
31,
23,
5712,
100,
1276,
41,
21,
574,
882,
184,
20,
107,
48,
9,
35,
79,
2485,
13,
5312,
622,
579,
1,
6990,
1,
28,
3095,
8190,
93,
1,
6990,
1,
2206,
6121,
20,
55,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Event on validation - WPF
===
I'm looking at developing a simple validation framework for WPF (the IDataErrorInfo method doesn't provide enough info for my needs), and am wondering if there is a way to be notified when a Property is going to validate? Please note that I need to know any time it is going to attempt val... | 0 | [
2,
807,
27,
27999,
13,
8,
619,
7721,
800,
3726,
3726,
31,
22,
79,
699,
35,
3561,
21,
1935,
27999,
6596,
26,
619,
7721,
13,
5,
124,
31,
18768,
29992,
108,
4120,
2109,
1437,
22,
38,
1181,
511,
15404,
26,
51,
2274,
6,
15,
17,
589... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Keyboard Hook... not getting Lower or Upper case characters
===
The function below is logging the "0", "z" and the "1" ok... but its not capturing the "Z" (shift-z)... any help would be appreciated...
__declspec(dllexport) LRESULT CALLBACK HookProc ( UINT nCode, WPARAM wParam, LPARAM lParam)
{
if ((nCode ... | 0 | [
2,
8896,
5559,
9,
9,
9,
52,
1017,
987,
54,
1508,
610,
1766,
800,
3726,
3726,
14,
1990,
1021,
25,
13,
13919,
14,
13,
7,
387,
7,
15,
13,
7,
380,
7,
17,
14,
13,
7,
165,
7,
5854,
9,
9,
9,
47,
82,
52,
12859,
14,
13,
7,
380,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Success vs Freedom
===
Would you prefer to have total complete freedom over all of your development techniques, or would you rather follow a safer more boring approach that has a significantly better chance of working in the end? Hacker vs Engineer? Painter vs Electrician? | 0 | [
2,
1280,
4611,
2326,
800,
3726,
3726,
83,
42,
6369,
20,
57,
600,
1279,
2326,
84,
65,
16,
154,
522,
4212,
15,
54,
83,
42,
864,
1740,
21,
15483,
91,
13081,
2141,
30,
63,
21,
5085,
574,
1504,
16,
638,
19,
14,
241,
60,
20395,
4611... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
multiple CComboBox sharing the same data.
===
I have a MFC dialog with 32 CComboBoxes on it that all have the same data in the listbox. Its taking a while to come up, and it looks like part of the delay is the time I need to spend using InsertString() to add all the data to the 32 controls. How can I subclass CCombo... | 0 | [
2,
1886,
13,
18264,
12536,
5309,
6126,
14,
205,
1054,
9,
800,
3726,
3726,
31,
57,
21,
307,
7061,
28223,
29,
2512,
13,
18264,
12536,
5309,
160,
27,
32,
30,
65,
57,
14,
205,
1054,
19,
14,
968,
5309,
9,
82,
741,
21,
133,
20,
340,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's the best way to validate currency input in UITextField?
===
My application allows the user to enter a numeric value (currency) in a `UITextField` control, but the keyboard layout that I wish was available is unfortunately not one of the built-in options, so I had to choose the "Numbers & Punctuation" option in ... | 0 | [
2,
98,
22,
18,
14,
246,
161,
20,
7394,
1373,
10507,
6367,
19,
13,
5661,
11969,
1109,
60,
800,
3726,
3726,
51,
3010,
2965,
14,
4155,
20,
2830,
21,
15764,
596,
1923,
13,
5,
4734,
139,
8883,
6,
19,
21,
13,
1,
5661,
11969,
1109,
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... |
Fitnesse - Can I make an existing wiki page a subwiki ?
===
I am trying to create a test suite of some of the existing pages I have developed using fitnesse. Does the tool support to change or refactor the pages to sub-wikis to make a part of newly created test suite?
| 0 | [
2,
11331,
62,
13,
8,
92,
31,
233,
40,
3149,
13,
17375,
2478,
21,
972,
17375,
13,
60,
800,
3726,
3726,
31,
589,
749,
20,
1600,
21,
1289,
6160,
16,
109,
16,
14,
3149,
4434,
31,
57,
885,
568,
11331,
62,
9,
630,
14,
5607,
555,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I apply gravity to my bouncing ball application?
===
I've written a fairly simple java application that allows you to drag your mouse and based on the length of the mouse drag you did, it will shoot a ball in that direction, bouncing off walls as it goes.
Here is a quick screenshot:
![alt text][1]
Each... | 0 | [
2,
184,
107,
31,
5645,
8849,
20,
51,
19741,
1592,
3010,
60,
800,
3726,
3726,
31,
22,
195,
642,
21,
6647,
1935,
8247,
3010,
30,
2965,
42,
20,
5501,
154,
7567,
17,
432,
27,
14,
1476,
16,
14,
7567,
5501,
42,
144,
15,
32,
129,
437... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Make Visual Studio's Find in Files default to the project directory?
===
I have many different branches/checkouts of the same project code on my development machine. Each one is virtually the same except for various maintenance bug fixes or improvements I'm working on within each project.
The problem comes when I u... | 0 | [
2,
233,
3458,
1120,
22,
18,
477,
19,
6488,
12838,
20,
14,
669,
16755,
60,
800,
3726,
3726,
31,
57,
151,
421,
4395,
118,
12542,
12638,
16,
14,
205,
669,
1797,
27,
51,
522,
1940,
9,
206,
53,
25,
9149,
14,
205,
1613,
26,
617,
501... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MS MVC Preview 2 and .NET 3.5 sp1
===
I have a site built with MVC Preview 2 and have not got around to upgrading to latest release, mainly because of the number of changes required and I have not had time. Anyway, last night my host installed .NET 3.5 sp1 and it killed my site. It is an identified problem (thats what... | 0 | [
2,
4235,
307,
8990,
16121,
172,
17,
13,
9,
2328,
203,
9,
264,
3782,
165,
800,
3726,
3726,
31,
57,
21,
689,
392,
29,
307,
8990,
16121,
172,
17,
57,
52,
330,
140,
20,
26939,
20,
5736,
830,
15,
2011,
185,
16,
14,
234,
16,
1693,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can an ASP.NET HttpHandler handle an http 400 - Bad Request?
===
We have an HttpHandler that deals directly with binary posts over HTTP from custom client software. The client software occasionally sends data which results in IIS 7 responding with a 400 - Bad Request. Since the "400 Bad Request" is special in that HTT... | 0 | [
2,
92,
40,
28,
306,
9,
2328,
7775,
3203,
1252,
3053,
40,
7775,
4353,
13,
8,
896,
3772,
60,
800,
3726,
3726,
95,
57,
40,
7775,
3203,
1252,
30,
10342,
1703,
29,
14171,
9868,
84,
7775,
37,
5816,
6819,
2306,
9,
14,
6819,
2306,
4533,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
read property value in Ant
===
I need to read the value of a property from a file in an Ant script and strip off the first few characters. The property in question is
path=file:C:/tmp/templates
This property is store in a file that I can access within the ant script via
<property file="${web.inf.dir}/... | 0 | [
2,
1302,
1354,
1923,
19,
40,
38,
800,
3726,
3726,
31,
376,
20,
1302,
14,
1923,
16,
21,
1354,
37,
21,
3893,
19,
40,
40,
38,
3884,
17,
4998,
168,
14,
64,
310,
1766,
9,
14,
1354,
19,
1301,
25,
2013,
3726,
16877,
45,
150,
45,
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 to set line spacing Graphics.DrawString
===
I arrive to output a string on multiple lines inside a retangle but haven't find a way to reduce or enlarge the line spacing.
How to do that? | 0 | [
2,
184,
20,
309,
293,
29177,
8351,
9,
43,
12404,
11130,
800,
3726,
3726,
31,
6140,
20,
5196,
21,
3724,
27,
1886,
1560,
572,
21,
13,
6239,
15427,
47,
2933,
22,
38,
477,
21,
161,
20,
4136,
54,
1957,
11312,
14,
293,
29177,
9,
184,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Calling Clojure from Java
===
When I try to run the following code (from the REPL) in Clojure:
(dotimes [i 5]
(.start
(Thread.
(fn []
(Thread/sleep (rand 1000))
(println (format "Finished %d on %s" i (Thread/currentThread)))))))
I get the following error:
... | 0 | [
2,
2555,
7383,
2142,
99,
37,
8247,
800,
3726,
3726,
76,
31,
1131,
20,
485,
14,
249,
1797,
13,
5,
2665,
14,
302,
5727,
6,
19,
7383,
2142,
99,
45,
13,
5,
537,
891,
18,
636,
49,
331,
500,
13,
5,
9,
13680,
13,
5,
96,
10647,
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... |
groovy webtest chokes on context root in url invoke
===
I am trying to wrap my head around canoo webtest
I setup a simple groovy webtest.
invoke(url: "http://somesite.com/CONTEXTRoot", description: "Load dev java site")
verifyTitle("Title to check")
Message
Unexpected exception caught: sun.i... | 0 | [
2,
3452,
2026,
93,
2741,
10543,
16105,
18,
27,
4141,
5900,
19,
287,
6362,
28371,
800,
3726,
3726,
31,
589,
749,
20,
8118,
51,
157,
140,
92,
4328,
2741,
10543,
31,
18161,
21,
1935,
3452,
2026,
93,
2741,
10543,
9,
28371,
5,
911,
255... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Return FileName Only when using OpenFileDialog
===
I am using the following method to browse for a file:
OpenFileDialog.ShowDialog()
PictureNameTextEdit.Text = OpenFileDialog.FileName
Is there a way get ONLY the file name?
The **FileName** method returns the entire path and file name.
i.e.... | 0 | [
2,
788,
3893,
7259,
104,
76,
568,
368,
16877,
4286,
5567,
800,
3726,
3726,
31,
589,
568,
14,
249,
2109,
20,
10175,
62,
26,
21,
3893,
45,
368,
16877,
4286,
5567,
9,
9303,
4286,
5567,
5,
6,
2151,
7259,
11969,
69,
242,
9,
11969,
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... |
Generating a Protocol Buffers definition
===
I have a large set of XML files of a propriatary schema -the XML files define binary communication protocol (message structure).
I'd like to leverage Google's protocol buffers technology.
I am using existing code to load the XML files into an object model (in memory)... | 0 | [
2,
13500,
21,
8494,
17497,
18,
5465,
800,
3726,
3726,
31,
57,
21,
370,
309,
16,
23504,
6488,
16,
21,
9476,
2548,
38,
1857,
23874,
13,
8,
124,
23504,
6488,
9267,
14171,
3291,
8494,
13,
5,
3845,
18,
1303,
1411,
6,
9,
31,
22,
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... |
Generating An Amortization Schedule
===
I have been tasked with creating a program that will generate an amortization schedule. I have only done a bit of research so far, but I need to calculate out payments, interest per payment and principle per payment. Can any one point me in the right direction to figure this out... | 0 | [
2,
13500,
40,
21,
17523,
1829,
4345,
800,
3726,
3726,
31,
57,
74,
14605,
29,
2936,
21,
625,
30,
129,
7920,
40,
21,
17523,
1829,
4345,
9,
31,
57,
104,
677,
21,
1142,
16,
527,
86,
463,
15,
47,
31,
376,
20,
18469,
70,
11161,
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... |
Convert XML datatype in SQL 2005 into a relational resultset
===
I have a table in a SQL 2005 database that contains a column defined as a xml datatype. I'm trying to write stored proc that queries the xml and returns a resultset from a select statement. I've seen examples of returning scalar values or xml but not h... | 0 | [
2,
8406,
23504,
1054,
4474,
19,
4444,
255,
812,
77,
21,
5827,
192,
1736,
1198,
800,
3726,
3726,
31,
57,
21,
859,
19,
21,
4444,
255,
812,
6018,
30,
1588,
21,
4698,
2811,
28,
21,
23504,
1054,
4474,
9,
31,
22,
79,
749,
20,
2757,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
tool for detecting non-parametrized sql in java jdbc code
===
I'm looking to inspect SQL statements in Java/jdbc code to ensure that the SQL to be executed is of acceptable quality. Neither PMD not Findbugs appears to have JDBC or sql rules. I could use p6spy to log the SQL and look at that way, but this is manual.
... | 0 | [
2,
5607,
26,
9092,
68,
538,
8,
6351,
5909,
139,
1333,
4444,
255,
19,
8247,
487,
43,
7229,
1797,
800,
3726,
3726,
31,
22,
79,
699,
20,
19,
7350,
4444,
255,
9015,
19,
8247,
118,
728,
43,
7229,
1797,
20,
4062,
30,
14,
4444,
255,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Any downside to "WITH RECOMPILE" for monthly SQL Server stored proc processes?
===
I think the question say it all. I have several monthly processes in stored procedures which take anywhere from a minute to an hour. If I declare them `WITH RECOMPILE`, an execution plan will be generated each time.
If the underlyi... | 0 | [
2,
186,
125,
1416,
20,
13,
7,
1410,
302,
11103,
3599,
7,
26,
6460,
4444,
255,
8128,
8214,
13,
15617,
5102,
60,
800,
3726,
3726,
31,
277,
14,
1301,
395,
32,
65,
9,
31,
57,
238,
6460,
5102,
19,
8214,
8876,
56,
247,
4922,
37,
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... |
JSP Struts Performance/Memory Tips
===
I am working on a basic Struts based application that is experience major spikes in memory. We have a monitoring tool that will notice one request per user adding 3MB to the JVM heap memory. Are there any tips to encourage earlier garbage collection or free up memory. Or to th... | 0 | [
2,
487,
3401,
18316,
18,
956,
118,
790,
5171,
93,
11034,
800,
3726,
3726,
31,
589,
638,
27,
21,
2125,
18316,
18,
432,
3010,
30,
25,
1496,
394,
6734,
18,
19,
1912,
9,
95,
57,
21,
8984,
5607,
30,
129,
3551,
53,
3772,
416,
4155,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# version of optparse?
===
Is there a C# port of the [optparse (command line option parser)][1] module from Python available under some [OSI-approved license][2]?
[1]: http://www.python.org/doc/2.5.2/lib/module-optparse.html
[2]: http://www.opensource.org/licenses/alphabetical | 0 | [
2,
272,
5910,
615,
16,
17034,
3574,
870,
60,
800,
3726,
3726,
25,
80,
21,
272,
5910,
1295,
16,
14,
636,
2594,
38,
3574,
870,
13,
5,
16239,
293,
4255,
2017,
4104,
6,
500,
2558,
165,
500,
12613,
37,
20059,
904,
131,
109,
636,
9753... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why are commas inserted when innerHTML is copied after Postback?
===
This case is going to sound complicated, but it's not that bad. The javascript at the end of this code *seems* to be sound.
There are two cases listed in the following client code. The first case posts back when an imagebutton is clicked, and adds... | 0 | [
2,
483,
50,
11951,
472,
14215,
76,
3754,
15895,
25,
18225,
75,
678,
1958,
60,
800,
3726,
3726,
48,
610,
25,
228,
20,
646,
8343,
15,
47,
32,
22,
18,
52,
30,
896,
9,
14,
8247,
8741,
35,
14,
241,
16,
48,
1797,
1637,
18,
18106,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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: How to change the itemTemplate used per row in an <asp:repeater>?
===
*Existing* code is using an `asp:repeater` to build an HTML table. (emphasis on the existing design). This is some partial pseudo-code to generate the table:
<asp:repeater OnItemDataBound="ItemDataBound" ... >
<headertempla... | 0 | [
2,
28,
306,
9,
2328,
45,
184,
20,
753,
14,
9101,
9577,
6554,
147,
416,
3131,
19,
40,
13,
1,
472,
306,
45,
99,
306,
9834,
1,
60,
800,
3726,
3726,
1637,
21341,
2483,
1797,
25,
568,
40,
13,
1,
472,
306,
45,
99,
306,
9834,
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... |
assembly resources
===
Could you give some guidance for good resources (books, online tutorials) about embedded assembly in C/C++ for windows? | 0 | [
2,
1475,
2566,
800,
3726,
3726,
110,
42,
590,
109,
8193,
26,
254,
2566,
13,
5,
13828,
15,
2087,
29724,
18,
6,
88,
12138,
1475,
19,
272,
118,
150,
20512,
26,
1936,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Difference between "class << anObject" and anObject.class_eval
===
I see the following code in the attribute_fu plugin:
module AttributeFu
module Associations #:nodoc: ... | 0 | [
2,
2841,
128,
13,
7,
1898,
13,
1,
40,
23793,
7,
17,
40,
23793,
9,
1898,
1,
62,
3377,
800,
3726,
3726,
31,
196,
14,
249,
1797,
19,
14,
35,
14755,
1,
4096,
10922,
108,
45,
12613,
35,
14755,
4096,
12613,
10642,
6926,
45,
251,
137... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 should coding guidelines do, and are there any good examples of guidelines?
===
What are some good examples of coding guidelines. I'm not really looking for anything specific to a single language.
But what should I be doing/evaluating as I write coding guidelines? Such as how flexible should the guidelines and... | 0 | [
2,
98,
378,
13,
15458,
12629,
107,
15,
17,
50,
80,
186,
254,
3770,
16,
12629,
60,
800,
3726,
3726,
98,
50,
109,
254,
3770,
16,
13,
15458,
12629,
9,
31,
22,
79,
52,
510,
699,
26,
602,
1903,
20,
21,
345,
816,
9,
47,
98,
378,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ruby's MySQL driver not finding required libraries
===
Linux 2.6.18-92.el5, ruby 1.8.7, Rails 2.2.2, mysql gem 2.7
I installed the MySQL binary distribution under /usr/local, then installed the mysql gem like this:
gem install mysql --no-rdoc --no-ri \
-- --with-mysql-include=/usr/local/mysql/include... | 0 | [
2,
10811,
22,
18,
51,
18,
22402,
2425,
52,
3007,
1390,
8649,
800,
3726,
3726,
13024,
172,
9,
379,
9,
1087,
8,
4327,
9,
532,
264,
15,
10811,
137,
9,
457,
9,
465,
15,
2240,
18,
172,
9,
135,
9,
135,
15,
51,
18,
22402,
8551,
172... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Cross Domain Login - How to login a user automatically when transfered from one domain to another
===
We have offer a number of online services. We are required to develop a system which provides a quick/simple experience for users if they are transferred from one service (on domain1.com) to another service (on domain... | 0 | [
2,
919,
4603,
6738,
108,
13,
8,
184,
20,
6738,
108,
21,
4155,
7499,
76,
2617,
69,
37,
53,
4603,
20,
226,
800,
3726,
3726,
95,
57,
1994,
21,
234,
16,
2087,
687,
9,
95,
50,
1390,
20,
2803,
21,
329,
56,
1927,
21,
2231,
118,
246... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Better way of handling UITableViewCell
===
I have a table which has roughly 10 cells, 4 different types. I subclassed UITextViewCell because I wanted to have an IBOutlet to a label and to a UITextField. Not sure if that was the best way of handling it, but it works thus far. Next, I had a cell for gender, so I figure... | 0 | [
2,
574,
161,
16,
7988,
13,
11193,
579,
4725,
9725,
800,
3726,
3726,
31,
57,
21,
859,
56,
63,
4457,
332,
2934,
15,
268,
421,
2551,
9,
31,
972,
1898,
69,
13,
5661,
11969,
4725,
9725,
185,
31,
417,
20,
57,
40,
13,
4598,
1320,
133... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
play movie file during iphone application startup(i.e during application loading)
===
I want to play a movie file or any animation file till the time application not loaded completely.
is there any simple way to do it?
Thanks is advance.
| 0 | [
2,
418,
1308,
3893,
112,
21024,
3010,
20205,
5,
49,
9,
62,
112,
3010,
12797,
6,
800,
3726,
3726,
31,
259,
20,
418,
21,
1308,
3893,
54,
186,
6236,
3893,
3924,
14,
85,
3010,
52,
8572,
1524,
9,
25,
80,
186,
1935,
161,
20,
107,
32... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
What is the deal with the unicode character 首(U+9996) and how java/mysql deal with it and its friends?
===
Man, this character encoding hole just keeps on getting deeper. Sigh. Ok. Check this out: I have a java String that contains the unicode character U+9996 (that's what I get if I do codePointAt()). If I look at it... | 0 | [
2,
98,
25,
14,
1183,
29,
14,
28010,
925,
13,
1,
5,
291,
2430,
3483,
4060,
6,
17,
184,
8247,
118,
915,
18,
22402,
1183,
29,
32,
17,
82,
954,
60,
800,
3726,
3726,
169,
15,
48,
925,
19608,
3990,
114,
8968,
27,
1017,
5891,
9,
48... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Returning domain object and flag from stored procedure using nhibernate
===
I’m having some troubles with stored procedures (sp) and nhibernate. I want to map from the returned values of a sp a part to a domain object (already mapped through hbm.xml) and another part to a flag variable. Which is the best way of doing ... | 0 | [
2,
2485,
4603,
3095,
17,
3157,
37,
8214,
7004,
568,
12109,
15191,
8820,
800,
3726,
3726,
31,
1,
79,
452,
109,
16615,
29,
8214,
8876,
13,
5,
3401,
6,
17,
12109,
15191,
8820,
9,
31,
259,
20,
2942,
37,
14,
587,
4070,
16,
21,
3782,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Shorten URL value as Javascript variable
===
I'm using the [jQuery][1] [Treeview][2] plugin for navigation on a site with nested levels of categories. In each category there are then products, each of which have one or more information types.
So my URLs can be either:
1. foo.com/view/cat_id/
2. foo.com/view/c... | 0 | [
2,
502,
219,
287,
6362,
1923,
28,
8247,
8741,
7612,
800,
3726,
3726,
31,
22,
79,
568,
14,
636,
728,
8190,
93,
500,
2558,
165,
500,
636,
8101,
4725,
500,
2558,
135,
500,
10922,
108,
26,
8368,
27,
21,
689,
29,
5618,
69,
2216,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Spring MVC
===
i have a SimpleFormController, the doSubmit() is doing nothing but populating a command object(call it bar, a simple POJO, and it have a field, say id). So, the successView is being called.
the successView is "redirect:/foo.html", and the bean def for foo.html is:
<bean name="foo.html" class="....... | 0 | [
2,
1573,
307,
8990,
800,
3726,
3726,
31,
57,
21,
1935,
4190,
12898,
1252,
15,
14,
107,
7563,
5130,
5,
6,
25,
845,
626,
47,
1675,
10038,
21,
1202,
3095,
5,
9200,
32,
748,
15,
21,
1935,
2353,
1636,
15,
17,
32,
57,
21,
575,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In .NET CF 2.0, will a global keyboard hook interfere with P/Invokes that require a keypress?
===
My details: custom mobile device running Windows CE 4.2, Compact Framework 2.0 SP1. C# app making decent use of P/Invokes with no problems until now.
I've written a low-level keyboard hook (similar to, but not identica... | 0 | [
2,
19,
13,
9,
2328,
10084,
172,
9,
387,
15,
129,
21,
2062,
8896,
5559,
12668,
29,
351,
118,
108,
2625,
7218,
30,
4077,
21,
1246,
5890,
60,
800,
3726,
3726,
51,
3289,
45,
5816,
3241,
3646,
946,
1936,
4000,
268,
9,
135,
15,
8285,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 of sharing/managing our internal python library between applications
===
Our company (xyz) is moving a lot of our Flash code to Python.
In Flash, we have a shared library between our Flash apps - package xyz. We can make changes to the package without fear of breaking other apps when they are deployed beca... | 0 | [
2,
246,
161,
16,
6126,
118,
177,
7426,
318,
3117,
20059,
1248,
128,
3767,
800,
3726,
3726,
318,
237,
13,
5,
15161,
380,
6,
25,
1219,
21,
865,
16,
318,
4433,
1797,
20,
20059,
9,
19,
4433,
15,
95,
57,
21,
2592,
1248,
128,
318,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Silverlight Verticle Slide Panel
===
Can anyone recommend a good Silverlight 2.0 slide panel that takes an unknown number of user controls as childen and allows the user to scroll up and down through the child list.
Similar to [http://www.thejamesbondmovies.com/][1] but vertical and not just limited to images.
... | 0 | [
2,
1172,
3130,
13,
8122,
15653,
6464,
4113,
800,
3726,
3726,
92,
1276,
12360,
21,
254,
1172,
3130,
172,
9,
387,
6464,
4113,
30,
1384,
40,
2562,
234,
16,
4155,
8671,
28,
850,
219,
17,
2965,
14,
4155,
20,
12159,
71,
17,
125,
120,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 logging in Django
===
I'm developing a Django app, and I'm trying to use Python's logging module for error/trace logging. Ideally I'd like to have different loggers configured for different areas of the site. So far I've got all of this working, but one thing has me scratching my head.
I have the root logg... | 0 | [
2,
20059,
13,
13919,
19,
3857,
14541,
800,
3726,
3726,
31,
22,
79,
3561,
21,
3857,
14541,
4865,
15,
17,
31,
22,
79,
749,
20,
275,
20059,
22,
18,
13,
13919,
12613,
26,
7019,
118,
38,
7367,
13,
13919,
9,
5628,
102,
31,
22,
43,
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... |
Java: Run a Callable in a separate process
===
Given an instance `x` of `Callable<T>`, how can I run `x` in a separate process such that I can redirect the standard input and output of the process? For example, is there a way to build a `Process` from a `Callable`? Is there a standard `Executor` that gives control ove... | 0 | [
2,
8247,
45,
485,
21,
645,
579,
19,
21,
1725,
953,
800,
3726,
3726,
504,
40,
4851,
13,
1,
396,
1,
16,
13,
1,
9200,
579,
1,
38,
1,
15,
184,
92,
31,
485,
13,
1,
396,
1,
19,
21,
1725,
953,
145,
30,
31,
92,
302,
14706,
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... |
Best way to import version-specific python modules.
===
Which method makes the most sense for importing a module in python that is version specific? My use case is that I'm writing code that will be deployed into a python 2.3 environment and in a few months be upgraded to python 2.5. This:
if sys.version_info[:... | 0 | [
2,
246,
161,
20,
9010,
615,
8,
9219,
20059,
17113,
9,
800,
3726,
3726,
56,
2109,
1364,
14,
127,
1259,
26,
9010,
68,
21,
12613,
19,
20059,
30,
25,
615,
1903,
60,
51,
275,
610,
25,
30,
31,
22,
79,
1174,
1797,
30,
129,
44,
6698,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Keep Track of php code
===
I have many requires and includes and i was wondering if there's something that can help me look at the whole of php code when a webpage is loaded. the reason i'm asking is that after fiddling with some code i cannot put any php code anymore as it will not be "sensed" by the compiler. like i... | 0 | [
2,
643,
792,
16,
13,
26120,
1797,
800,
3726,
3726,
31,
57,
151,
4781,
17,
1103,
17,
31,
23,
5712,
100,
80,
22,
18,
301,
30,
92,
448,
55,
361,
35,
14,
979,
16,
13,
26120,
1797,
76,
21,
2741,
6486,
25,
8572,
9,
14,
1215,
31,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you store unsigned 64-bit integers in SQL Server?
===
I work with an application which uses rather big numbers and I need to store data as an unsigned 64-bit integer. I prefer to just store it without worrying about bit manipulation or anything like that so different programs can use the data in different ways... | 0 | [
2,
184,
107,
42,
1718,
28839,
4384,
8,
3326,
13820,
18,
19,
4444,
255,
8128,
60,
800,
3726,
3726,
31,
170,
29,
40,
3010,
56,
2027,
864,
580,
2116,
17,
31,
376,
20,
1718,
1054,
28,
40,
28839,
4384,
8,
3326,
13820,
9,
31,
6369,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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# .NET Uploading file to a web form using HttpWebRequest
===
Does anyone have a working example using HttpWebRequest in C# to submit a file from the local drive to a multipart/form-data web form? | 0 | [
2,
272,
5910,
13,
9,
2328,
71,
16866,
3893,
20,
21,
2741,
505,
568,
7775,
458,
3692,
10351,
800,
3726,
3726,
630,
1276,
57,
21,
638,
823,
568,
7775,
458,
3692,
10351,
19,
272,
5910,
20,
12298,
21,
3893,
37,
14,
375,
1493,
20,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
powershell outlook interop send email
===
I'm developing a script that involves creating an email contact, and forwarding mail to that contact. Last part of the script is to automatically send a test email to the address to make sure the forwarding works.
So I use the following code:
`[void] [Reflection.Assembly... | 0 | [
2,
414,
15984,
19837,
1480,
2594,
2660,
8517,
800,
3726,
3726,
31,
22,
79,
3561,
21,
3884,
30,
6569,
2936,
40,
8517,
2203,
15,
17,
917,
68,
4216,
20,
30,
2203,
9,
236,
141,
16,
14,
3884,
25,
20,
7499,
2660,
21,
1289,
8517,
20,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Are LinQ Queries above different LinQ providers possible?
===
I'm currently thinking about a repository pattern for my data objects, where multiple IQueryable<> instances can be registered as data sources. But it seems its not so easy to get it running :-)
Running a simple LinQ Query with Linq to entities and linq ... | 0 | [
2,
50,
6294,
1251,
9386,
2829,
784,
421,
6294,
1251,
13488,
938,
60,
800,
3726,
3726,
31,
22,
79,
871,
1440,
88,
21,
24869,
3732,
26,
51,
1054,
3916,
15,
113,
1886,
13,
5312,
622,
579,
1,
13946,
92,
44,
3801,
28,
1054,
2662,
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... |
Executing ineffecient code only at compile time for performance in mod_perl
===
I've been benchmarking the performance of a framework I'm writing in Perl and I'm getting a 50% decrease in requests per second over our existing codebase (some hit is understandable, because we're going from procedural spaghetti code to a... | 0 | [
2,
25836,
19,
25202,
18049,
38,
1797,
104,
35,
26561,
85,
26,
956,
19,
7226,
1,
1432,
255,
800,
3726,
3726,
31,
22,
195,
74,
25324,
68,
14,
956,
16,
21,
6596,
31,
22,
79,
1174,
19,
416,
255,
17,
31,
22,
79,
1017,
21,
10496,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 20 SQL Queries per page load really considered a lot?
===
I was reading Jeff Atwood's blog on [Behold WordPress, Destroyer of CPUs][1] and saw that many people there considered 20 SQL Queries per page load to be a lot. What is the average amount of queries per page nowadays for a highly dynamic page with auto sugg... | 0 | [
2,
25,
434,
4444,
255,
9386,
2829,
416,
2478,
6305,
510,
724,
21,
865,
60,
800,
3726,
3726,
31,
23,
1876,
3292,
35,
1208,
22,
18,
8146,
27,
636,
863,
5344,
833,
5890,
15,
9971,
16,
17578,
18,
500,
2558,
165,
500,
17,
441,
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... |
quest powershell : how do you run scheduled task?
===
How do you run a scheduled task with Quest powershell snap in?
| 0 | [
2,
7769,
414,
15984,
13,
45,
184,
107,
42,
485,
3758,
3005,
60,
800,
3726,
3726,
184,
107,
42,
485,
21,
3758,
3005,
29,
7769,
414,
15984,
6877,
19,
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... | [
1,
1,
1,
1,
1,
1,
1,
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... |
Get PHP session vars in .htacces
===
Is it possible to read the data in the php $_SESSION array in the .htaccess file in Apache? So say I have the following:
$_SESSION['foo'] = 'bar';
could I then in .htaccess do something like:
RewriteRule bla.png folder/{the php session var foo}/file.png
Is that... | 0 | [
2,
164,
13,
26120,
3723,
4033,
18,
19,
13,
9,
252,
6981,
5052,
800,
3726,
3726,
25,
32,
938,
20,
1302,
14,
1054,
19,
14,
13,
26120,
5579,
1,
7202,
5991,
7718,
19,
14,
13,
9,
9020,
20604,
3893,
19,
17140,
60,
86,
395,
31,
57,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
reformatting windows lnk file via automated script
===
*Problem:* There are a bunch of .lnk files on C drive that point to the J: drive, but the J: drive is gone the P: drive has replaced it. Various tricks have been done to get the .lnk files to still work anyway, but it's getting annoying and it's time to just fix t... | 0 | [
2,
3202,
10303,
68,
1936,
644,
5719,
3893,
1197,
14904,
3884,
800,
3726,
3726,
1637,
2740,
2854,
79,
45,
2483,
80,
50,
21,
7653,
16,
13,
9,
255,
5719,
6488,
27,
272,
1493,
30,
454,
20,
14,
487,
45,
1493,
15,
47,
14,
487,
45,
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... |
XML schema contruct for a type with both enumerations and attributes
===
I'm trying to create a type in an XML schema to enforce an element with both:
- A single attribute; and
- Simple content matching an enumeration.
In an XML document, the element might look like:
<pre><code><Operator Permutation="true"&... | 0 | [
2,
23504,
23874,
1065,
8989,
4812,
26,
21,
1001,
29,
156,
26940,
5757,
17,
13422,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
1001,
19,
40,
23504,
23874,
20,
16525,
40,
4520,
29,
156,
45,
13,
8,
21,
345,
35,
14755,
73,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.