unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Genral tips and techniques for minimizing the size of Flex applications.
===
I really like the Flex framework, however I routinely deal with SWF files that are ~ 500KB.
I don't know at what point a file considered to be "too big" to be served on the internet, but I would assume that a 500KB download just to use a... | 0 | [
2,
4380,
5284,
11034,
17,
4212,
26,
4236,
79,
3335,
14,
1072,
16,
14409,
3767,
9,
800,
3726,
3726,
31,
510,
101,
14,
14409,
6596,
15,
207,
31,
22388,
1183,
29,
13,
18,
15263,
6488,
30,
50,
13,
1,
3033,
18167,
9,
31,
221,
22,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Spring configuration error
===
My spring-context file is shown below.
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xmlns:jee="http://www.springframework.org/schema/jee"
... | 0 | [
2,
1573,
8091,
7019,
800,
3726,
3726,
51,
1573,
8,
1126,
11969,
3893,
25,
1721,
1021,
9,
13,
1,
863,
5950,
23504,
2172,
3726,
7,
21127,
6903,
6483,
9,
15827,
8361,
3783,
9,
5583,
118,
7526,
540,
118,
863,
5950,
7,
23504,
2172,
45,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
TLS handshak event in tomcat , is there something like that ?
===
I'm running an application (web service) in tomcat with TLS enabled (with certificates both for the client and the server).
I want that my application will be able to send audit message (logging) when TLS handshake fails. for example I want to log w... | 0 | [
2,
13,
7786,
18,
473,
10076,
807,
19,
2067,
5782,
13,
15,
25,
80,
301,
101,
30,
13,
60,
800,
3726,
3726,
31,
22,
79,
946,
40,
3010,
13,
5,
14113,
365,
6,
19,
2067,
5782,
29,
13,
7786,
18,
9338,
13,
5,
1410,
6259,
18,
156,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
unmarshalling an axis generated (multiref containing) soap response with jaxb
===
I'm consuming an axis 1.4 web service that returns soap responses that I want to unmarshal into my domain objects using jaxb annotations. My initial tests worked very well until some of the returned messages had multiRef elements. Objec... | 0 | [
2,
367,
19988,
1233,
68,
40,
8577,
6756,
13,
5,
21531,
14057,
3503,
6,
6447,
1627,
29,
11712,
220,
800,
3726,
3726,
31,
22,
79,
13,
17601,
40,
8577,
137,
9,
300,
2741,
365,
30,
4815,
6447,
13231,
30,
31,
259,
20,
367,
19988,
192... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Browser history for Flash (or AJAX)
===
What is the best tool / practice to enable browser history for Flash (or AJAX) websites?
I guess the established practice is to set and read a hash-addition to the URL like
http://example.com/#id=1
I am aware of the Flex History Manager, but was wondering if there are... | 0 | [
2,
16495,
447,
26,
4433,
13,
5,
248,
20624,
6,
800,
3726,
3726,
98,
25,
14,
246,
5607,
13,
118,
1345,
20,
9240,
16495,
447,
26,
4433,
13,
5,
248,
20624,
6,
13931,
60,
31,
2321,
14,
613,
1345,
25,
20,
309,
17,
1302,
21,
19170,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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: Check if uploaded file is jpg
===
How can I check if a file uploaded by a user is a real jpg file in Python (Google App Engine)?
This is how far I got by now:
Script receives image via HTML Form Post and is processed by the following code
...
incomming_image = self.request.get("img")
ima... | 0 | [
2,
20059,
45,
2631,
100,
23782,
3893,
25,
487,
9623,
800,
3726,
3726,
184,
92,
31,
2631,
100,
21,
3893,
23782,
34,
21,
4155,
25,
21,
683,
487,
9623,
3893,
19,
20059,
13,
5,
16111,
4875,
4865,
1406,
6,
60,
48,
25,
184,
463,
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 I send control characters to a Windows printer in Crystal Reports?
===
We are trying to build a Crystal Report that sends control characters directly to the printer, without going through the (buggy) Windows driver for that printer. Does anyone know a way to do this from within a Crystal Report?
The specifi... | 0 | [
2,
184,
107,
31,
2660,
569,
1766,
20,
21,
1936,
12925,
19,
4282,
2813,
60,
800,
3726,
3726,
95,
50,
749,
20,
1895,
21,
4282,
1330,
30,
11350,
569,
1766,
1703,
20,
14,
12925,
15,
366,
228,
120,
14,
13,
5,
16254,
2687,
6,
1936,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 you recommend a good primer for writing flash games?
===
I wrote a simple asteroids clone prototype in the PopCap framework, and want to port it to flash. I am not looking for specifics but rather a good primer for writing games in flash. I have searched on google, but the documentation I have found so far has bee... | 0 | [
2,
92,
42,
12360,
21,
254,
1621,
139,
26,
1174,
4433,
466,
60,
800,
3726,
3726,
31,
738,
21,
1935,
11281,
18,
13871,
7063,
19,
14,
1675,
4666,
6596,
15,
17,
259,
20,
1295,
32,
20,
4433,
9,
31,
589,
52,
699,
26,
1903,
18,
47,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to monitor memcached statistics on windows?
===
What's the easiest method people have found to monitor memcached on Windows? One method I've tried, which works decently:
telnet into the memcached port (11211) and enter the "stats" command. You'll get back a listing like this:
stats
STAT pid 2816
... | 0 | [
2,
184,
20,
7626,
55,
79,
793,
6261,
5818,
27,
1936,
60,
800,
3726,
3726,
98,
22,
18,
14,
27237,
2109,
148,
57,
216,
20,
7626,
55,
79,
793,
6261,
27,
1936,
60,
53,
2109,
31,
22,
195,
794,
15,
56,
693,
12238,
102,
45,
6757,
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... |
infinite loop in c++
===
I'm learning C++ and writing little programs as I go along. The following is one such program:
// This program is intended to take any integer and convert to the
// corresponding signed char.
#include <iostream>
int main()
{
signed char sch = 0;
... | 0 | [
2,
9698,
5293,
19,
272,
20512,
800,
3726,
3726,
31,
22,
79,
2477,
272,
20512,
17,
1174,
265,
1726,
28,
31,
162,
303,
9,
14,
249,
25,
53,
145,
625,
45,
12894,
48,
625,
25,
2081,
20,
247,
186,
13820,
17,
8406,
20,
14,
12894,
726... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 implement activation arguments in GWT?
===
I'm writing an editor in GWT, how can I pass the user/pass from the page? For example a user submits a simple html form and then an GWT app shows up in the next page, how can I get the form submission info into the GWT nicely?
Thanks. | 0 | [
2,
184,
92,
31,
8713,
15519,
10553,
19,
14094,
38,
60,
800,
3726,
3726,
31,
22,
79,
1174,
40,
1835,
19,
14094,
38,
15,
184,
92,
31,
1477,
14,
4155,
118,
6201,
37,
14,
2478,
60,
26,
823,
21,
4155,
12298,
18,
21,
1935,
13,
15895... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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#, return statement in a lock procedure, inside or outside?
===
I just realized that in some place in my code I have the return statement inside the lock and sometime outside. Which one is the best?
1)
void example()
{
lock (mutex)
{
//...
}
return myData;
... | 0 | [
2,
272,
5910,
15,
788,
3331,
19,
21,
3991,
7004,
15,
572,
54,
719,
60,
800,
3726,
3726,
31,
114,
1896,
30,
19,
109,
209,
19,
51,
1797,
31,
57,
14,
788,
3331,
572,
14,
3991,
17,
8530,
719,
9,
56,
53,
25,
14,
246,
60,
137,
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... |
How do you know the correct path to use in a PHP require_once() statement
===
As many do I have a config.php file in the root of a web app that I want to include in almost every other php file. So most of them have a line like:
require_once("config.php");
or sometimes
require_once("../config.php");
... | 0 | [
2,
184,
107,
42,
143,
14,
4456,
2013,
20,
275,
19,
21,
13,
26120,
4077,
1,
13120,
5,
6,
3331,
800,
3726,
3726,
28,
151,
107,
31,
57,
21,
13,
14093,
2816,
9,
26120,
3893,
19,
14,
5900,
16,
21,
2741,
4865,
30,
31,
259,
20,
468... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using generic parameters with static compareObject method
===
I'd like to remove all "unchecked" warnings from this general utility method (part of a larger class with a number of similar methods). In a pinch, I can use @SuppressWarnings("unchecked") but I'm wondering if I can use generics properly to avoid the warn... | 0 | [
2,
568,
12733,
12905,
29,
12038,
11590,
23793,
2109,
800,
3726,
3726,
31,
22,
43,
101,
20,
4681,
65,
13,
7,
1020,
12542,
69,
7,
3590,
18,
37,
48,
297,
10082,
2109,
13,
5,
3091,
16,
21,
1662,
718,
29,
21,
234,
16,
835,
3195,
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... |
pass DataTable to unmanaged environment (visual c# 2005)
===
What will the best way to pass a datatable data to unmanaged environments? (c++)
Ofer
| 0 | [
2,
1477,
1054,
5924,
20,
367,
177,
8030,
2307,
13,
5,
20893,
272,
5910,
812,
6,
800,
3726,
3726,
98,
129,
14,
246,
161,
20,
1477,
21,
1054,
5924,
1054,
20,
367,
177,
8030,
11246,
60,
13,
5,
150,
20512,
6,
16,
106,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
SQL Performance-wise, what's better: an IF...ELSE clause, or WHERE LIKE clause?
===
I have a stored procedure that has a optional parameter, `@UserID VARCHAR(50)`. The thing is, there are two ways to work with it:
<ol>
<li>Give it a default value of <code>NULL</code>, the have an <code>IF...ELSE</code> clause, tha... | 0 | [
2,
4444,
255,
956,
8,
10474,
15,
98,
22,
18,
574,
45,
40,
100,
9,
9,
9,
6798,
62,
9040,
15,
54,
113,
101,
9040,
60,
800,
3726,
3726,
31,
57,
21,
8214,
7004,
30,
63,
21,
12832,
18906,
15,
13,
1,
3699,
5175,
4033,
5433,
5,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to create a "weak reference" in javascript?
===
Is there any way in javascript to create a "weak reference" to another object? [Here is the wiki page describing what a weak reference is.][1] [Here is another article that describes them in Java.][2] Can anyone think of a way to implement this behavior i... | 0 | [
2,
25,
32,
938,
20,
1600,
21,
13,
7,
458,
1378,
2801,
7,
19,
8247,
8741,
60,
800,
3726,
3726,
25,
80,
186,
161,
19,
8247,
8741,
20,
1600,
21,
13,
7,
458,
1378,
2801,
7,
20,
226,
3095,
60,
636,
6836,
25,
14,
13,
17375,
2478,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Guesstimating database size.
===
I'm trying to foresee how big my database will be. Let's say I have only one table:
CREATE TABLE user (
**id** INT UNSIGNED NOT NULL AUTO_INCREMENT,
**email** VARCHAR(50),
**pass** CHAR(40),
**url** VARCHAR(1000),
PRIMARY KEY(id));
Adding all up: 4 + 51 + 40 + ... | 0 | [
2,
2321,
10002,
1880,
6018,
1072,
9,
800,
3726,
3726,
31,
22,
79,
749,
20,
23112,
184,
580,
51,
6018,
129,
44,
9,
408,
22,
18,
395,
31,
57,
104,
53,
859,
45,
1600,
859,
4155,
13,
5,
13,
1409,
1340,
1409,
19,
38,
28839,
52,
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... |
A better way of filling out an excel spreadsheet on a web server in ASP.NET than interop?
===
Is there a better way I can fill out a spread sheet on a web server (using asp.net) than using interop? | 0 | [
2,
21,
574,
161,
16,
7702,
70,
40,
20700,
1789,
17627,
27,
21,
2741,
8128,
19,
28,
306,
9,
2328,
119,
1480,
2594,
60,
800,
3726,
3726,
25,
80,
21,
574,
161,
31,
92,
3509,
70,
21,
1789,
6125,
27,
21,
2741,
8128,
13,
5,
12655,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Execute only unit test while debugging in Visual Studio 2008
===
Is there a way to select which TestMethods you want to execute in Visual Studio 2008 Unit Test project while debugging? I want to debug one particular test without having my other TestMethods execute duting each debug session. | 0 | [
2,
15644,
104,
1237,
1289,
133,
121,
16254,
2762,
19,
3458,
1120,
570,
800,
3726,
3726,
25,
80,
21,
161,
20,
5407,
56,
1289,
5909,
1807,
43,
18,
42,
259,
20,
15644,
19,
3458,
1120,
570,
1237,
1289,
669,
133,
121,
16254,
2762,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
URL Routing: How to Handle spaces and illegal characters for friendly URLs
===
I've seen a lot of discussion on URL Routing, and LOTS of great suggestions... but in the real world, one thing I haven't seen discussed is Creating Friendly URLs with Spaces and illegal characters and handling DB Queries.
Say you're bui... | 0 | [
2,
287,
6362,
19880,
45,
184,
20,
3053,
7644,
17,
5143,
1766,
26,
4753,
13,
911,
7532,
800,
3726,
3726,
31,
22,
195,
541,
21,
865,
16,
5460,
27,
287,
6362,
19880,
15,
17,
7503,
16,
374,
18389,
9,
9,
9,
47,
19,
14,
683,
126,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Accessing dynamically created stored procedure from LINQ
===
I'm pivoting data in MS SQL stored procedure. Columns which are pivoted are dynamically created using stored procedure parameter (for exampe: "location1,location2,location3,") so number of columns which will be generated is not known. Output should look like... | 0 | [
2,
1381,
68,
7782,
1326,
679,
8214,
7004,
37,
6294,
1251,
800,
3726,
3726,
31,
22,
79,
20670,
68,
1054,
19,
4235,
4444,
255,
8214,
7004,
9,
7498,
56,
50,
20670,
69,
50,
7782,
1326,
679,
568,
8214,
7004,
18906,
13,
5,
1106,
11796,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Detecting Perforce unopened modified files
===
I'm trying to figure out a way to detect files that are not opened for editing but have nevertheless been modified locally. `p4 fstat` returns a value `headModTime` for any given file, but this is the change time in the depot, which should not be equal to the filesystem's... | 0 | [
2,
9092,
68,
416,
8774,
367,
17808,
5372,
6488,
800,
3726,
3726,
31,
22,
79,
749,
20,
1465,
70,
21,
161,
20,
9092,
6488,
30,
50,
52,
520,
26,
9510,
47,
57,
5715,
74,
5372,
6680,
9,
13,
1,
306,
300,
398,
10631,
1,
4815,
21,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mock File methods in .NET (like File.Copy("1.txt", "2.txt"))
===
We have some methods that call File.Copy, File.Delete, File.Exists, etc. How can we test these methods without actually hitting the file system?
I consider myself a unit testing n00b, so any advice is appreciated. | 0 | [
2,
10506,
3893,
3195,
19,
13,
9,
2328,
13,
5,
1403,
3893,
9,
19625,
5,
7,
165,
9,
38,
396,
38,
7,
15,
13,
7,
135,
9,
38,
396,
38,
7,
6,
6,
800,
3726,
3726,
95,
57,
109,
3195,
30,
645,
3893,
9,
19625,
15,
3893,
9,
24249,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Javascript and Accessibility
===
As a web developer, a number of the projects I work on fall under government umbrellas and hence are subject to 508 Accessibility laws, and sometimes W3C accessibility guidelines. To what extent can Javascript be used while still meeting these requirements?
Along these lines, to wha... | 0 | [
2,
8247,
8741,
17,
25737,
800,
3726,
3726,
28,
21,
2741,
10058,
15,
21,
234,
16,
14,
2314,
31,
170,
27,
1080,
131,
283,
13447,
18,
17,
5796,
50,
1550,
20,
1222,
457,
25737,
2975,
15,
17,
1030,
619,
240,
150,
25737,
12629,
9,
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... |
Javascript form submit: Object doesn't support this property or method (IE7)
===
I'm trying to submit a form with javascript. Firefox works fine but IE complains that "Object doesn't support this property or method" on this line:
$('ProductGroupVisibility').submit();
Here's the form:
<form id="Product... | 0 | [
2,
8247,
8741,
505,
12298,
45,
3095,
1437,
22,
38,
555,
48,
1354,
54,
2109,
13,
5,
660,
465,
6,
800,
3726,
3726,
31,
22,
79,
749,
20,
12298,
21,
505,
29,
8247,
8741,
9,
535,
18219,
693,
1123,
47,
13,
660,
15310,
18,
30,
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... |
System.Collections.Generic List and F#
===
I have a class the returns a List<ComplexObject>.
I want to iterate though the list to find a object or not find it. Here is how I would do it in C#. How would I accomplish the similar thing in F#
foreach (AperioCaseObj caseObj in CaseList)
{
i... | 0 | [
2,
329,
9,
15015,
5757,
9,
17083,
596,
968,
17,
398,
5910,
800,
3726,
3726,
31,
57,
21,
718,
14,
4815,
21,
968,
1,
960,
11326,
23793,
1,
9,
31,
259,
20,
32,
106,
1373,
362,
14,
968,
20,
477,
21,
3095,
54,
52,
477,
32,
9,
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... |
Modular Application Database Structure
===
I am building a modular application. Through configuration you can turn these application modules on and off. I'm trying to determine what database structure (mssql2005) I should use for the tables that hold data for each of the modules. The two options that I've thought o... | 0 | [
2,
20802,
3010,
6018,
1411,
800,
3726,
3726,
31,
589,
353,
21,
20802,
3010,
9,
120,
8091,
42,
92,
805,
158,
3010,
17113,
27,
17,
168,
9,
31,
22,
79,
749,
20,
3746,
98,
6018,
1411,
13,
5,
79,
18,
18,
22402,
2835,
6,
31,
378,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best way to include PHP libraries when using static factory pattern?
===
I have several static factory patterns in my PHP library. However, memory footprint is getting out of hand and we want to reduce the number of files required during execution time. Here is an example of where we are today:
requ... | 0 | [
2,
98,
25,
14,
246,
161,
20,
468,
13,
26120,
8649,
76,
568,
12038,
3129,
3732,
60,
800,
3726,
3726,
31,
57,
238,
12038,
3129,
6282,
19,
51,
13,
26120,
1248,
9,
207,
15,
1912,
18511,
25,
1017,
70,
16,
224,
17,
95,
259,
20,
4136... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 eliminate 'unused output column' warnings in SSIS jobs?
===
I'm trying to get rid of some spurious warnings in my SSIS Progress log. I'm getting a bunch of warnings about unused columns in tasks that use raw SQL to do their work. I have a Data Flow responsible for archiving data in a staging table prior to load... | 0 | [
2,
184,
20,
10628,
13,
22,
1020,
8795,
5196,
4698,
22,
3590,
18,
19,
13,
18,
4557,
4844,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
164,
6681,
16,
109,
6844,
5907,
3590,
18,
19,
51,
13,
18,
4557,
3455,
6738,
9,
31,
22,
79,
10... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Removing Interdev from an IIS 5 (Windows 2000 Server) virtual directory and replacing with FTP
===
I've got a few sites on a Windows 2000 box that are still using Interdev/HTTP updates. I'd like to convert those to be FTP only and remove the Interdev update capability. How do I convert these with minimal disruption? I... | 0 | [
2,
9096,
1480,
14438,
37,
40,
595,
18,
331,
13,
5,
27508,
18,
824,
8128,
6,
6599,
16755,
17,
5496,
29,
1187,
306,
800,
3726,
3726,
31,
22,
195,
330,
21,
310,
3259,
27,
21,
1936,
824,
1649,
30,
50,
174,
568,
1480,
14438,
118,
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... |
Where is the best place to add methods to the Integer class in Rails?
===
Where is the best place to add a method to the integer class in Rails?
I'd like to add a `to_meters` and `to_miles` methods. | 0 | [
2,
113,
25,
14,
246,
209,
20,
3547,
3195,
20,
14,
13820,
718,
19,
2240,
18,
60,
800,
3726,
3726,
113,
25,
14,
246,
209,
20,
3547,
21,
2109,
20,
14,
13820,
718,
19,
2240,
18,
60,
31,
22,
43,
101,
20,
3547,
21,
13,
1,
262,
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,
0,
0... |
DropDownList doesn't show enough rows
===
In ASP.NET, a `ListBox` has a Rows attribute I can set to say how many rows to show. A `DropDownList`, though, doesn't. Is there any way I can set the maximum number of rows a `DropDownList` should display? Code? Markup? CSS? | 0 | [
2,
2804,
2968,
5739,
1437,
22,
38,
298,
511,
11295,
800,
3726,
3726,
19,
28,
306,
9,
2328,
15,
21,
13,
1,
5739,
5309,
1,
63,
21,
11295,
35,
14755,
31,
92,
309,
20,
395,
184,
151,
11295,
20,
298,
9,
21,
13,
1,
12361,
2968,
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... |
Using Python's smtplib with Tor
===
I'm conducting experiments regarding e-mail spam. One of these experiments require sending mail thru Tor. Since I'm using Python and smtplib for my experiments, I'm looking for a way to use the Tor proxy (or other method) to perform that mail sending.
Ideas how this can be done? | 0 | [
2,
568,
20059,
22,
18,
7613,
13726,
8326,
29,
20,
139,
800,
3726,
3726,
31,
22,
79,
9202,
7715,
3467,
13,
62,
8,
8079,
6954,
79,
9,
53,
16,
158,
7715,
4077,
4907,
4216,
19637,
20,
139,
9,
179,
31,
22,
79,
568,
20059,
17,
7613,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 C++ methods sometimes defined inside classes?
===
I frequently run into large, non-template classes in C++ where simple methods are defined directly in the class body in the header file instead of separately in the implementation file. For example:
class Foo {
int getBar() const { return bar; }
... | 0 | [
2,
483,
50,
272,
20512,
3195,
1030,
2811,
572,
2684,
60,
800,
3726,
3726,
31,
3086,
485,
77,
370,
15,
538,
8,
9577,
6554,
2684,
19,
272,
20512,
113,
1935,
3195,
50,
2811,
1703,
19,
14,
718,
358,
19,
14,
157,
106,
3893,
700,
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 can I test views in a Rails plugin?
===
I'm writing a Rails plugin that includes some partials. I'd like to test the partials, but I'm having a hard time setting up a test that will render them. There's no associated controller, so I'm just faking one:
require 'action_controller'
require 'active_supp... | 0 | [
2,
184,
92,
31,
1289,
4146,
19,
21,
2240,
18,
10922,
108,
60,
800,
3726,
3726,
31,
22,
79,
1174,
21,
2240,
18,
10922,
108,
30,
1103,
109,
7284,
18,
9,
31,
22,
43,
101,
20,
1289,
14,
7284,
18,
15,
47,
31,
22,
79,
452,
21,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is a char and a bool the same size in c++?
===
I'm reading *The C++ Programming Language.* In it Stroustrup states that sizeOf(chr) is always 1 and 1 <= sizeOf(bln). The specifics depend on the implementation. Why would such a simple value as a boolean take the same space as a char? | 0 | [
2,
483,
25,
21,
4892,
17,
21,
1607,
1823,
14,
205,
1072,
19,
272,
20512,
60,
800,
3726,
3726,
31,
22,
79,
1876,
1637,
124,
272,
20512,
3143,
816,
9,
2483,
19,
32,
354,
6947,
38,
7964,
202,
30,
1072,
1041,
5,
673,
139,
6,
25,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ThreadPool causing GUI to freeze (?)
===
I'm noticing that, if the ThreadPool max thread count for my IO-intensive app is set too low (16), then my GUI will freeze. But if I set it considerable higher (250), it works just fine.
Can anyone explain this phenomenon? | 0 | [
2,
9322,
13378,
3242,
9457,
20,
11551,
13,
5,
60,
6,
800,
3726,
3726,
31,
22,
79,
18130,
30,
15,
100,
14,
9322,
13378,
2049,
9322,
2468,
26,
51,
13,
1963,
8,
108,
8710,
1284,
4865,
25,
309,
266,
708,
13,
5,
1091,
6,
15,
94,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Vim File Explorer Configuration
===
I'm setting the below variables in my vimrc to control how windows get split when I bring up the file explorer plugin for vim. But it appears these variables are not being read because they have no effect on how the file explorer window is displayed. I'm new to vim. I know the vimrc... | 0 | [
2,
1790,
79,
3893,
8520,
8091,
800,
3726,
3726,
31,
22,
79,
2697,
14,
1021,
12157,
19,
51,
1790,
79,
5453,
20,
569,
184,
1936,
164,
2132,
76,
31,
1499,
71,
14,
3893,
8520,
10922,
108,
26,
1790,
79,
9,
47,
32,
1780,
158,
12157,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Disappearing CSS table cell borders in Gecko-based browsers
===
I have a very specific html table construct that seems to reveal a Gecko bug.
Here's a distilled version of the problem. Observe the following table in a gecko-based browser (FF, for example): (you'll have to copy and paste this into a new file)
... | 0 | [
2,
16797,
272,
18,
18,
859,
1667,
5878,
19,
28456,
8,
1281,
16495,
18,
800,
3726,
3726,
31,
57,
21,
253,
1903,
13,
15895,
859,
6960,
30,
2206,
20,
6820,
21,
28456,
6256,
9,
235,
22,
18,
21,
926,
8073,
69,
615,
16,
14,
1448,
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... |
MSBuild copy output from another project into the output of the current project
===
I have a situation where I want to copy the output assembly from one project into the output directory of my target application using MSBuild, without hard-coding paths in my MSBuild Copy task. Here's the scenario:
- Project A - W... | 0 | [
2,
4235,
29361,
4344,
5196,
37,
226,
669,
77,
14,
5196,
16,
14,
866,
669,
800,
3726,
3726,
31,
57,
21,
1858,
113,
31,
259,
20,
4344,
14,
5196,
1475,
37,
53,
669,
77,
14,
5196,
16755,
16,
51,
2935,
3010,
568,
4235,
29361,
15,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Change return signature via inheritance – Polymorphism
===
Just wondering if there is any way to do the following:
public Interface IDataField
{
object GetValue();
}
public Interface IComplexDataField : IDataField
{
object GetDefaultValue();
}
public... | 0 | [
2,
753,
788,
7810,
1197,
13852,
13,
10,
3446,
13348,
800,
3726,
3726,
114,
5712,
100,
80,
25,
186,
161,
20,
107,
14,
249,
45,
317,
6573,
31,
18768,
1109,
13,
1,
3095,
164,
15165,
5,
6,
73,
13,
1,
317,
6573,
31,
960,
11326,
187... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Create Annotation instance with defaults, in Java
===
How can I create an instance of the following annotation (with all fields set to their default value).
@Retention( RetentionPolicy.RUNTIME )
public @interface Settings {
String a() default "AAA";
String b() defa... | 0 | [
2,
1600,
40,
1270,
857,
4851,
29,
12838,
18,
15,
19,
8247,
800,
3726,
3726,
184,
92,
31,
1600,
40,
4851,
16,
14,
249,
40,
1270,
857,
13,
5,
1410,
65,
2861,
309,
20,
66,
12838,
1923,
6,
9,
13,
1,
99,
1316,
3309,
5,
21912,
814... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 a Flash movie pass mouse events to the containing page?
===
One of our newer products is a walk-on video system, in which a character appears in an absolutely positioned DIV and gives a little presentation. We're using Flash 9, AS3. Unfortunately, in order to make him appear in front of the website content, we nee... | 0 | [
2,
92,
21,
4433,
1308,
1477,
7567,
963,
20,
14,
3503,
2478,
60,
800,
3726,
3726,
53,
16,
318,
12372,
1985,
25,
21,
1466,
8,
218,
763,
329,
15,
19,
56,
21,
925,
1780,
19,
40,
6916,
12125,
13,
12916,
17,
2352,
21,
265,
6364,
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... |
Is using StringBuilder Remove method more memory efficient than creating a new StringBuilder in loop?
===
In C# which is more memory efficient: Option #1 or Option #2?
public void TestStringBuilder()
{
//potentially a collection with several hundred items:
string[] outputStrings = new str... | 0 | [
2,
25,
568,
3724,
20904,
4681,
2109,
91,
1912,
8243,
119,
2936,
21,
78,
3724,
20904,
19,
5293,
60,
800,
3726,
3726,
19,
272,
5910,
56,
25,
91,
1912,
8243,
45,
4255,
4253,
54,
4255,
7921,
60,
317,
11364,
1289,
11130,
20904,
5,
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... |
Create a date with T-SQL
===
I am trying to convert a date with individual parts such as 12, 1, 2007 into a datetime in sql server 2005. I have tried the following:
CAST(DATEPART(year, DATE)+'-'+ DATEPART(month, DATE) +'-'+ DATEPART(day, 'DATE') AS DATETIME)
but this results in the wrong date. What is the correc... | 0 | [
2,
1600,
21,
1231,
29,
13,
38,
8,
18,
22402,
800,
3726,
3726,
31,
589,
749,
20,
8406,
21,
1231,
29,
1359,
1341,
145,
28,
390,
15,
137,
15,
624,
77,
21,
1231,
891,
19,
4444,
255,
8128,
812,
9,
31,
57,
794,
14,
249,
45,
1325,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ADO.NET Data Services Entity Framework request error when property setter is internal
===
I receive an error message when exposing an ADO.NET Data Service using an Entity Framework data model that contains an entity (called "Case") with an internal setter on a property. If I modify the setter to be public (using the e... | 0 | [
2,
21,
537,
9,
2328,
1054,
687,
9252,
6596,
3772,
7019,
76,
1354,
309,
815,
25,
3117,
800,
3726,
3726,
31,
2588,
40,
7019,
2802,
76,
17302,
40,
21,
537,
9,
2328,
1054,
365,
568,
40,
9252,
6596,
1054,
1061,
30,
1588,
40,
9252,
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 to configure nginx to work with Jetty6 webserver?
===
It seems that nginx is used with php, ruby and python.
Anyone has an example of how to setup nginx to work with jetty/tomcat in backend?
Thanks. | 0 | [
2,
184,
20,
1065,
15951,
13,
2723,
108,
396,
20,
170,
29,
17341,
93,
379,
2741,
10321,
106,
60,
800,
3726,
3726,
32,
2206,
30,
13,
2723,
108,
396,
25,
147,
29,
13,
26120,
15,
10811,
17,
20059,
9,
1276,
63,
40,
823,
16,
184,
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... |
Deploying a newly developed Eclipse Plugin
===
I have written an Eclpise plugin (an Error Parser for the CDT), and it works just fine in the debugger version of eclipse. However I cannot for the life of me figure out how to install the plugin into eclipse. I can export the plugin as a jar file, and it seems to expor... | 0 | [
2,
17617,
68,
21,
2771,
885,
11652,
10922,
108,
800,
3726,
3726,
31,
57,
642,
40,
6695,
5478,
2628,
10922,
108,
13,
5,
210,
7019,
2017,
4104,
26,
14,
1745,
38,
6,
15,
17,
32,
693,
114,
1123,
19,
14,
121,
2345,
11356,
615,
16,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best real "computer crime"?
===
Are there any real stories about computer crime? I'm talking about stuff like in "Office Space", stealing fractions of pennies a couple of million times... Like that, only actual events. And not Captain Crunch, please, making phone calls for free does not count. No, actual robberies or ... | 4 | [
2,
246,
683,
13,
7,
18448,
2237,
7,
60,
800,
3726,
3726,
50,
80,
186,
683,
1650,
88,
1428,
2237,
60,
31,
22,
79,
1582,
88,
3217,
101,
19,
13,
7,
17047,
726,
7,
15,
12222,
10885,
18,
16,
6589,
1596,
21,
1335,
16,
507,
436,
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... |
Passing AD authentication credentials via IE browser in C# Windows Form
===
We have a Windows Form application which hosts an IE browser control. Our users run the application and open links to documents stored in MOSS. We are trying to set the application up to pass in credentials of a service account so that we can ... | 0 | [
2,
2848,
21,
43,
27963,
5059,
43,
10107,
18,
1197,
13,
660,
16495,
19,
272,
5910,
1936,
505,
800,
3726,
3726,
95,
57,
21,
1936,
505,
3010,
56,
5397,
40,
13,
660,
16495,
569,
9,
318,
3878,
485,
14,
3010,
17,
368,
6271,
20,
4374,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Remote Desktop Username@IP vs. IP@Username Randomness
===
Does anyone else find that when they open a saved connection in Remote Desktop it sometimes sets up the login as Username@IpAddress and other times (seemingly at random) sets it up as IpAddress@Username?
Does anyone know what the logic is behind the two / wh... | 0 | [
2,
5388,
17404,
4155,
7259,
1,
4307,
4611,
9,
15735,
1,
16704,
7259,
5477,
720,
800,
3726,
3726,
630,
1276,
962,
477,
30,
76,
59,
368,
21,
4377,
2760,
19,
5388,
17404,
32,
1030,
3415,
71,
14,
6738,
108,
28,
4155,
7259,
1,
4307,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Disable DataGridView System ContextMenu
===
Does anyone know how I can disable the System Context Menu when a user right clicks in a DataGridViewTextBoxCell? I have tried to override the WndProc at the DataGridView level (as there is no WndProc to override on the Cell level), but nothing seems to work. Any help wo... | 0 | [
2,
1460,
579,
1054,
16375,
4725,
329,
4141,
755,
291,
800,
3726,
3726,
630,
1276,
143,
184,
31,
92,
1460,
579,
14,
329,
4141,
11379,
76,
21,
4155,
193,
10840,
18,
19,
21,
1054,
16375,
4725,
11969,
5309,
9725,
60,
31,
57,
794,
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... |
Render Self-Closing Tag in ASP.NET custom control derived from Control
===
I'm working on a Facebook FBML controls library and would like to create my FBML controls somewhat patterned like the ASP.NET WebControls library. I have a base class that handles rendering by default; here's my render method:
<pre><code>
... | 0 | [
2,
16535,
1119,
8,
13023,
18,
68,
3383,
19,
28,
306,
9,
2328,
5816,
569,
3981,
37,
569,
800,
3726,
3726,
31,
22,
79,
638,
27,
21,
9090,
13,
13478,
8184,
8671,
1248,
17,
83,
101,
20,
1600,
51,
13,
13478,
8184,
8671,
4131,
3732,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 explorer right click menu item be triggerd from a batch file?
===
Subject says it all but he background:
I want to trigger some TortoiseSVN action from a batch file? I suspect that I can do this by calling the right exe with the right args but I'd rather find a way to solve the more general problem of doing ... | 0 | [
2,
92,
40,
8520,
193,
10840,
11379,
9101,
44,
7286,
43,
37,
21,
13064,
3893,
60,
800,
3726,
3726,
1550,
898,
32,
65,
47,
24,
2395,
45,
31,
259,
20,
7286,
109,
25691,
18,
16578,
1028,
37,
21,
13064,
3893,
60,
31,
7551,
30,
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... |
Finding all occurrences of a sequence of chars when preceded by a specific string
===
I'm trying to extract all matches from a EBML definition, which is something like this:
| + A track
| + Track number: 3
| + Track UID: 724222477
| + Track type: subtitles
...
| + Language: eng
... | 0 | [
2,
3007,
65,
12933,
18,
16,
21,
4030,
16,
4892,
18,
76,
12421,
34,
21,
1903,
3724,
800,
3726,
3726,
31,
22,
79,
749,
20,
10962,
65,
1717,
37,
21,
11817,
8184,
5465,
15,
56,
25,
301,
101,
48,
45,
13,
1,
2754,
21,
792,
13,
1,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Save Java2D to SWF (flash)
===
I'm trying to save the output of an vector image drawin in Java2D to an SWF file. There are great libraries for saving java2D output as things like SVG (BATIK) and PDF(itext) but I can't find one for SWF. Any ideas? | 0 | [
2,
2079,
8247,
135,
43,
20,
13,
18,
15263,
13,
5,
26694,
6,
800,
3726,
3726,
31,
22,
79,
749,
20,
2079,
14,
5196,
16,
40,
7497,
1961,
2003,
108,
19,
8247,
135,
43,
20,
40,
13,
18,
15263,
3893,
9,
80,
50,
374,
8649,
26,
7599,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Problem entering edit mode on FormView
===
The problem that I'm having is one that I'm fearing is a design problem, not a coding problem, but I'll ask the question anyway.
I have an ASP.NET 2.0 web application that loads two different user controls dynamically based on a value from a database. Inside each of these... | 0 | [
2,
1448,
4604,
9392,
3740,
27,
505,
4725,
800,
3726,
3726,
14,
1448,
30,
31,
22,
79,
452,
25,
53,
30,
31,
22,
79,
17516,
25,
21,
704,
1448,
15,
52,
21,
13,
15458,
1448,
15,
47,
31,
22,
211,
1349,
14,
1301,
2774,
9,
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... |
"Could not load file or assembly 'System.Web.Mvc, ...
===
My new ASP.NET MVC Web Application works on my development workstation, but does not run on my web server...
----------
Server Error in '/' Application.
================================
----------
Configuration Error
----------------... | 0 | [
2,
13,
7,
13431,
52,
6305,
3893,
54,
1475,
13,
22,
10724,
9,
14113,
9,
79,
8990,
15,
13,
9,
9,
9,
800,
3726,
3726,
51,
78,
28,
306,
9,
2328,
307,
8990,
2741,
3010,
693,
27,
51,
522,
170,
10839,
15,
47,
630,
52,
485,
27,
51... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ClientScriptManager.GetPostBackEventReference Method
===
I'm trying to understand what this method means as I'm reading [this][1] and have wondered what uses this may have. I don't quite understand the example given.
Can anyone give another explanation of it. Examples would help.
Thanks
[1]: http://msdn.m... | 0 | [
2,
6819,
8741,
22256,
9,
3060,
6962,
1958,
4943,
38,
28018,
2109,
800,
3726,
3726,
31,
22,
79,
749,
20,
1369,
98,
48,
2109,
1108,
28,
31,
22,
79,
1876,
636,
1565,
500,
2558,
165,
500,
17,
57,
3519,
98,
2027,
48,
123,
57,
9,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Read xlsx file in Java
===
I need to read a Excel 2007 xlsx file in a java application. Does anyone know of a good api to accomplish this task?
Thanks in advance for any advice given.
-MrPortico | 0 | [
2,
1302,
993,
7532,
396,
3893,
19,
8247,
800,
3726,
3726,
31,
376,
20,
1302,
21,
20700,
624,
993,
7532,
396,
3893,
19,
21,
8247,
3010,
9,
630,
1276,
143,
16,
21,
254,
21,
2159,
20,
14570,
48,
3005,
60,
3669,
19,
3612,
26,
186,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
simple c++ code not working
===
This very simple code gives me tons of lines of error:
#include <iostream>
#include <string>
int main(){
std::string test = " ";
std::cout << test;
}
I tried to compile it on linux by typing **gcc -o simpletest simpletest.cpp** on the con... | 0 | [
2,
1935,
272,
20512,
1797,
52,
638,
800,
3726,
3726,
48,
253,
1935,
1797,
2352,
55,
5278,
16,
1560,
16,
7019,
45,
6926,
22640,
13,
1,
1963,
11260,
1,
6926,
22640,
13,
1,
11130,
1,
19,
38,
407,
5,
6,
1,
354,
43,
45,
45,
11130,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Bite my MSBuild or why doesn't MSBuild copy as I would expect
===
I'm needing to script my build. I'm using MSBUILD because of it's integration with VS.net. I am trying to copy some files from the build environment to the deployment folder. I'm using the copy task of MSBuild. But instead of copying the directory tree... | 0 | [
2,
5804,
51,
4235,
29361,
54,
483,
1437,
22,
38,
4235,
29361,
4344,
28,
31,
83,
4186,
800,
3726,
3726,
31,
22,
79,
12210,
20,
3884,
51,
1895,
9,
31,
22,
79,
568,
4235,
29361,
185,
16,
32,
22,
18,
8078,
29,
4611,
9,
2328,
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... |
Getting odd/even part of a sequence with LINQ
===
Say I have a list of all Projects, and that I group them by category like this:
var projectsByCat = from p in Projects
group p by p.Category into g
orderby g.Count() descending
select new... | 0 | [
2,
1017,
4210,
118,
4943,
141,
16,
21,
4030,
29,
6294,
1251,
800,
3726,
3726,
395,
31,
57,
21,
968,
16,
65,
2314,
15,
17,
30,
31,
214,
105,
34,
3230,
101,
48,
45,
4033,
2314,
779,
5782,
800,
37,
351,
19,
2314,
214,
351,
34,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Google APIs and tools for C++ developer
===
Google guys seems to know their game and I like learning from smarter then me. Google is shearing a lot of code with open source community. Their docs and APIs are IMO state of art. Which tools / API would you recommend for a C++ developer? I'm interested both in looking at ... | 0 | [
2,
8144,
21,
8954,
17,
4672,
26,
272,
20512,
10058,
800,
3726,
3726,
8144,
2776,
2206,
20,
143,
66,
250,
17,
31,
101,
2477,
37,
3978,
106,
94,
55,
9,
8144,
25,
13445,
68,
21,
865,
16,
1797,
29,
368,
1267,
514,
9,
66,
9765,
18,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a beneift to having both an abstract class and an interface?
===
I started out with a generic interface called ILogin. The interfaces requires that you implement two properties: UserID and Password. I have may login-type classes that implement this interface. As my project grew and grew, I found that many ... | 0 | [
2,
25,
80,
21,
13,
17092,
821,
38,
20,
452,
156,
40,
8502,
718,
17,
40,
6573,
60,
800,
3726,
3726,
31,
373,
70,
29,
21,
12733,
6573,
227,
31,
5567,
108,
9,
14,
6573,
18,
4781,
30,
42,
8713,
81,
3704,
45,
275,
5175,
17,
20884... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Assembly References Compile Time Errors
===
I have assembly A with class Z that inherits from class X in assembly B. Now in a completely different solution, I have assembly C, which uses class Z.
The compiler complains unless assembly C has a reference to both assembly A & B. Even though assembly C does not us... | 0 | [
2,
13,
9,
2328,
1475,
7231,
26561,
85,
11908,
800,
3726,
3726,
31,
57,
1475,
21,
29,
718,
2052,
30,
17569,
18,
37,
718,
993,
19,
1475,
334,
9,
130,
19,
21,
1524,
421,
4295,
15,
31,
57,
1475,
272,
15,
56,
2027,
718,
2052,
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... |
Asp.net - Add blank item at top of dropdownlist
===
Why is the dropdown not showing my blank item first? Here is what I have
<pre><code>
drpList.Items.Add(New ListItem("", ""))
With drpList
.DataSource = myController.GetList(userid)
.DataTextField = "Name"
... | 0 | [
2,
28,
306,
9,
2328,
13,
8,
3547,
6463,
9101,
35,
371,
16,
2804,
2968,
5739,
800,
3726,
3726,
483,
25,
14,
2804,
2968,
52,
3187,
51,
6463,
9101,
64,
60,
235,
25,
98,
31,
57,
13,
1,
3515,
1,
9375,
1,
744,
306,
5739,
9,
2119,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Would you go back to VB.net after getting C#?
===
I'd spent several years in the day job with VB.net. Out of work I'd flick between it and C# for different projects/hobbies.
Now that the day job is almost fully C#, VB.net is starting to look foreign and a little removed. Does any beg to differ?
Should I keep m... | 0 | [
2,
83,
42,
162,
97,
20,
13,
20468,
9,
2328,
75,
1017,
272,
5910,
60,
800,
3726,
3726,
31,
22,
43,
1111,
238,
122,
19,
14,
208,
1205,
29,
13,
20468,
9,
2328,
9,
70,
16,
170,
31,
22,
43,
12407,
128,
32,
17,
272,
5910,
26,
42... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
table sort with displaytag JSP tab lib
===
I'm using the displaytag tag lib to create HTML tables. I'd like the user to able to click on a column header in order to sort the data. My JSP code is shown below:
<display:table name="tableData" id="stat" sort="page">
<display:column property="name" title="Nam... | 0 | [
2,
859,
2058,
29,
3042,
8628,
487,
3401,
6523,
13,
8326,
800,
3726,
3726,
31,
22,
79,
568,
14,
3042,
8628,
3383,
13,
8326,
20,
1600,
13,
15895,
7484,
9,
31,
22,
43,
101,
14,
4155,
20,
777,
20,
10840,
27,
21,
4698,
157,
106,
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... |
Best to determine is object is valid for Regex pattern in C#
===
What is the determine if an application can execute a regular expression pattern against certain types? I have a module in my application to allow users to apply their own custon regular expression patterns to an object. | 0 | [
2,
246,
20,
3746,
25,
3095,
25,
7394,
26,
7953,
1706,
3732,
19,
272,
5910,
800,
3726,
3726,
98,
25,
14,
3746,
100,
40,
3010,
92,
15644,
21,
1290,
1803,
3732,
149,
1200,
2551,
60,
31,
57,
21,
12613,
19,
51,
3010,
20,
1655,
3878,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Converting SQL to HQL
===
I'm trying to convert the below SQL query to HQL and am having a few issues. A straight line by line conversion doesn't work, I am wondering if I should be using an Inner Join in the HQL?
SELECT (UNIX_TIMESTAMP(cosc1.change_date) - UNIX_TIMESTAMP(cosc2.change_date))
FROM custome... | 2 | [
2,
19583,
4444,
255,
20,
746,
22402,
800,
3726,
3726,
31,
22,
79,
749,
20,
8406,
14,
1021,
4444,
255,
25597,
20,
746,
22402,
17,
589,
452,
21,
310,
1549,
9,
21,
1599,
293,
34,
293,
6263,
1437,
22,
38,
170,
15,
31,
589,
5712,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best way to view a table with *lots* of columns?
===
At the risk of being downmodded, I want to ask what the best mechanism (best is obviously subjective for the practice violation inherent here) for viewing data from a table, using C#, with a *lot* of columns. By a lot, I mean something like 1000.
Now before you ... | 0 | [
2,
246,
161,
20,
1418,
21,
859,
29,
1637,
5639,
18,
2483,
16,
7498,
60,
800,
3726,
3726,
35,
14,
2029,
16,
142,
125,
13670,
7424,
15,
31,
259,
20,
1349,
98,
14,
246,
6534,
13,
5,
4936,
25,
4409,
22835,
26,
14,
1345,
12120,
182... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Multiple Table Models with MVC?
===
I am just getting started with MVC, and it seems like it will be a great way to go, once I manage to switch my thinking to it.
Most of the material I have come across seems to have a 1-1 relationship between models, views, and tables - ie each model represents a table and allows ... | 0 | [
2,
1886,
859,
2761,
29,
307,
8990,
60,
800,
3726,
3726,
31,
589,
114,
1017,
373,
29,
307,
8990,
15,
17,
32,
2206,
101,
32,
129,
44,
21,
374,
161,
20,
162,
15,
382,
31,
4705,
20,
5521,
51,
1440,
20,
32,
9,
127,
16,
14,
1492,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
git-svn: is there a way to get it to play nice with submodules?
===
once you have a commit that contains a submodule object, you pretty much cannot get git-svn to commit past it.
any ideas, workarounds, anything that is not "don't use submodules with git-svn"? | 0 | [
2,
13,
10404,
8,
18,
16578,
45,
25,
80,
21,
161,
20,
164,
32,
20,
418,
2210,
29,
972,
19673,
160,
60,
800,
3726,
3726,
382,
42,
57,
21,
9686,
30,
1588,
21,
972,
19673,
62,
3095,
15,
42,
1772,
212,
1967,
164,
13,
10404,
8,
18... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to impliment an inherited Dictionary over WCF
===
I’m trying to implement a dictionary for use with WCF. My requirements are:
- actual (private variable or base
class) type equivalent to
Dictionary<string, object>
- Comparer
= `System.StringComparer.InvariantCultureIgnoreCase`
- Custom... | 0 | [
2,
184,
20,
5420,
1210,
1130,
40,
7179,
9186,
84,
11801,
410,
800,
3726,
3726,
31,
1,
79,
749,
20,
8713,
21,
9186,
26,
275,
29,
11801,
410,
9,
51,
4786,
50,
45,
13,
8,
3463,
13,
5,
20181,
7612,
54,
1000,
718,
6,
1001,
4602,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Scope of (string) literals
===
I always try to avoid to return string literals, because I fear they aren't defined outside of the function. But I'm not sure if this is the case. Let's take, for example, this function:
<pre><code>
const char *
return_a_string(void)
{
return "blah";
}
</code></pre>
Is th... | 0 | [
2,
9914,
16,
13,
5,
11130,
6,
20665,
18,
800,
3726,
3726,
31,
550,
1131,
20,
2658,
20,
788,
3724,
20665,
18,
15,
185,
31,
1719,
59,
4847,
22,
38,
2811,
719,
16,
14,
1990,
9,
47,
31,
22,
79,
52,
562,
100,
48,
25,
14,
610,
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... |
Bringing Images from two different servers
===
Can anyone please tell me the procedure to bing two Images from different server in Silverlight 2 ? Someone please help . | 0 | [
2,
3657,
3502,
37,
81,
421,
17595,
800,
3726,
3726,
92,
1276,
2247,
494,
55,
14,
7004,
20,
18080,
81,
3502,
37,
421,
8128,
19,
1172,
3130,
172,
13,
60,
737,
2247,
448,
13,
9,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Most efficient way to close a load() page using the X sign in jquery
===
I'm new to Jquery and I'm trying to use a div container to load a URL, however, I want to give a user an option to close it with an X sign on the top right corner like in Amazon.com. What's the best way to accomplish this?
Here's what I have a... | 0 | [
2,
127,
8243,
161,
20,
543,
21,
6305,
5,
6,
2478,
568,
14,
993,
1676,
19,
487,
8190,
93,
800,
3726,
3726,
31,
22,
79,
78,
20,
487,
8190,
93,
17,
31,
22,
79,
749,
20,
275,
21,
13,
12916,
12147,
20,
6305,
21,
287,
6362,
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... |
UpdatePanel Slowness in IE
===
I'm working on an ASP.Net application and working to add some Ajax to it to speed up certain areas. The first area that I am concentrating is the attendance area for the teachers to report attendance (and some other data) about the kids. This needs to be fast.
I've created a dual-cont... | 0 | [
2,
11100,
3206,
532,
2276,
720,
19,
13,
660,
800,
3726,
3726,
31,
22,
79,
638,
27,
40,
28,
306,
9,
2328,
3010,
17,
638,
20,
3547,
109,
20624,
20,
32,
20,
1362,
71,
1200,
924,
9,
14,
64,
217,
30,
31,
589,
20001,
25,
14,
3648,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Multiple screens/monitors with Silverlight
===
I'd like to write a Silverlight app that has 2 or more browser windows that "interact".
An example would be a parent/details display where selecting an item in the "Parent" list (in one browser window) will display the details of the item in another window.
The ... | 0 | [
2,
1886,
14236,
118,
2111,
49,
10778,
29,
1172,
3130,
800,
3726,
3726,
31,
22,
43,
101,
20,
2757,
21,
1172,
3130,
4865,
30,
63,
172,
54,
91,
16495,
1936,
30,
13,
7,
6280,
5183,
7,
9,
40,
823,
83,
44,
21,
4766,
118,
546,
8682,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 aspxerrorpath in URL
===
I have a site where I use CustomErrors in the web.config to specify a custom error page, and that's working just fine. The custom 404 page is also specified in the IIS configuration (because if it's not, I don't get my custom 404 page).
But I have some logic that kicks in if a user... | 0 | [
2,
28,
306,
9,
2328,
28,
306,
396,
29992,
8353,
19,
287,
6362,
800,
3726,
3726,
31,
57,
21,
689,
113,
31,
275,
5816,
29992,
18,
19,
14,
2741,
9,
14093,
2816,
20,
19077,
21,
5816,
7019,
2478,
15,
17,
30,
22,
18,
638,
114,
1123,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 does Javadoc generate non-compliant code?
===
I just pasted some generated javadoc into an eclipse project, to discover none of the HTML is compliant.
There is even cases of closing tags that were never opened.
Is there some way to fix this? Maybe a "be compliant" option... | 0 | [
2,
483,
630,
8247,
13799,
7920,
538,
8,
25509,
1797,
60,
800,
3726,
3726,
31,
114,
640,
69,
109,
6756,
8247,
13799,
77,
40,
11652,
669,
15,
20,
6297,
2369,
16,
14,
13,
15895,
25,
13,
25509,
9,
80,
25,
166,
1871,
16,
4239,
3383,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Doxygen and Assembly Language
===
I'd like to use Doxygen to document legacy code that's a mix of C and x86 assembly language. What is the recommended way to deal with the assembly language portion? | 0 | [
2,
107,
15161,
1863,
17,
1475,
816,
800,
3726,
3726,
31,
22,
43,
101,
20,
275,
107,
15161,
1863,
20,
4492,
7780,
1797,
30,
22,
18,
21,
2917,
16,
272,
17,
993,
3274,
1475,
816,
9,
98,
25,
14,
5773,
161,
20,
1183,
29,
14,
1475,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
plot a 3 axis graph as a mesh
===
I have seen 3d surface plots of data before but i do not know what software i could use to make it.
I have 3 series of data (X, Y, Z) basically i want each of the rows on the table to be a point in 3d space, all joined as a mesh. The data is currently csv, but i can change the for... | 0 | [
2,
3798,
21,
203,
8577,
7210,
28,
21,
55,
1635,
800,
3726,
3726,
31,
57,
541,
203,
43,
1490,
18205,
16,
1054,
115,
47,
31,
107,
52,
143,
98,
2306,
31,
110,
275,
20,
233,
32,
9,
31,
57,
203,
231,
16,
1054,
13,
5,
396,
15,
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... |
JQuery - Internet Explorer cannot open the Internet site http://localhost/ Operation aborted
===
God bless Internet Exploder.
I was building an application today, and decided I would make use of JQuery's date-picker control.
When I added the control, everything work fine in Firefox, Safari, Opera, Chrome. Lo ... | 0 | [
2,
487,
8190,
93,
13,
8,
2620,
8520,
1967,
368,
14,
2620,
689,
7775,
6903,
15580,
11694,
118,
1453,
21557,
69,
800,
3726,
3726,
701,
22086,
2620,
13383,
139,
9,
31,
23,
353,
40,
3010,
786,
15,
17,
868,
31,
83,
233,
275,
16,
487,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
"Treat all warnings as errors except..." in Visual Studio
===
In Visual Studio, I can select the "Treat warnings as errors" option to prevent my code from compiling if there are any warnings. Our team uses this option, but there are two warnings we would like to keep as warnings.
There is an option to suppress war... | 0 | [
2,
13,
7,
13581,
65,
3590,
18,
28,
11908,
1613,
9,
9,
9,
7,
19,
3458,
1120,
800,
3726,
3726,
19,
3458,
1120,
15,
31,
92,
5407,
14,
13,
7,
13581,
3590,
18,
28,
11908,
7,
4255,
20,
2501,
51,
1797,
37,
24378,
100,
80,
50,
186,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 programatically set the SharePoint's site collections Search Center property?
===
I have a site collection and I want to set the search center value to be the same as another site collection. The site collection is created in code, so I need to be able to set the property after the site collection has been cr... | 0 | [
2,
184,
107,
31,
625,
721,
8438,
309,
14,
1891,
3132,
22,
18,
689,
5721,
2122,
459,
1354,
60,
800,
3726,
3726,
31,
57,
21,
689,
1206,
17,
31,
259,
20,
309,
14,
2122,
459,
1923,
20,
44,
14,
205,
28,
226,
689,
1206,
9,
14,
689... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 set the "Visible" property of a ASP.NET control from a Javascript function?
===
Bascially I want to know the best way to hide/show an ASP.NET control from a Javascript function. I figured I would just access the control in Javascript using:
var theControl = document.getElementById("txtEditBox");
... | 0 | [
2,
184,
107,
42,
309,
14,
13,
7,
3762,
3426,
7,
1354,
16,
21,
28,
306,
9,
2328,
569,
37,
21,
8247,
8741,
1990,
60,
800,
3726,
3726,
5952,
1892,
1326,
31,
259,
20,
143,
14,
246,
161,
20,
3077,
118,
9303,
40,
28,
306,
9,
2328,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Always handle the PreviewKeyDown event in a base form
===
<p>We need to handle this event in the base form, regardless of which controls currently have focus. We have a couple of global key commands that need to work regardless of control focus.</p>
<p>This works by handling the PreviewKeyDown event in the form norma... | 0 | [
2,
550,
3053,
14,
16121,
4237,
2968,
807,
19,
21,
1000,
505,
800,
3726,
3726,
13,
1,
306,
1,
458,
376,
20,
3053,
48,
807,
19,
14,
1000,
505,
15,
7148,
16,
56,
8671,
871,
57,
1776,
9,
95,
57,
21,
1335,
16,
2062,
1246,
14294,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Visual Studio Solutions Folder as real Folders
===
I have a Visual Studio Solution. Currently, it is an empty solution (=no projects) and I have added a few solution folders.
Solution Folders only seem to be "virtual folders", because they are not really created in the Filesystem and files inside solution folders a... | 0 | [
2,
3458,
1120,
6776,
19294,
28,
683,
19294,
18,
800,
3726,
3726,
31,
57,
21,
3458,
1120,
4295,
9,
871,
15,
32,
25,
40,
2424,
4295,
13,
5,
3726,
251,
2314,
6,
17,
31,
57,
905,
21,
310,
4295,
19294,
18,
9,
4295,
19294,
18,
104,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
To Azure or Not to Azure?
===
I don't know about you, but i'm rather excited by the newly developing 'Cloud' computing platform. In the past I have been rather hoo hum about it all, thinking it is going to be a passing fad.
I'm developing a webservice at the moment, and I have had in the back of my mind the future... | 4 | [
2,
20,
25715,
54,
52,
20,
25715,
60,
800,
3726,
3726,
31,
221,
22,
38,
143,
88,
42,
15,
47,
31,
22,
79,
864,
7178,
34,
14,
2771,
3561,
13,
22,
19174,
22,
10626,
2452,
9,
19,
14,
640,
31,
57,
74,
864,
13,
8884,
6279,
88,
32... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Displaying host and database names in Rails
===
I want to display the current host and database names in a view.
Where can I get these names?
Are there some predefined environment or global variables? | 0 | [
2,
17418,
2015,
17,
6018,
1817,
19,
2240,
18,
800,
3726,
3726,
31,
259,
20,
3042,
14,
866,
2015,
17,
6018,
1817,
19,
21,
1418,
9,
113,
92,
31,
164,
158,
1817,
60,
50,
80,
109,
782,
13439,
2307,
54,
2062,
12157,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Perforce Setup Issue
===
I've got a Perforce server set up, and installed the P4V client. I've created a new depot and a new workspace. Per the documentation, I've mapped the workspace to the depot. So far so good.
I now have a .SQL script that was created by an external application that I wish to check in for t... | 0 | [
2,
416,
8774,
18161,
1513,
800,
3726,
3726,
31,
22,
195,
330,
21,
416,
8774,
8128,
309,
71,
15,
17,
4066,
14,
351,
300,
710,
6819,
9,
31,
22,
195,
679,
21,
78,
7382,
17,
21,
78,
170,
5582,
9,
416,
14,
13945,
15,
31,
22,
195,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Write Files to WPD device via MTP C#/VB.net
===
I would like to write an application that will copy MP3 files to a SanDisk Sansa M240. The SanDisk doesn't have a drive letter and uses MTP for file transfer.
I stumbled through the sample of connecting to the device at : http://blogs.msdn.com/dimeby8/archive/2006/09/... | 0 | [
2,
2757,
6488,
20,
13,
13790,
43,
3646,
1197,
8651,
306,
272,
5910,
118,
20468,
9,
2328,
800,
3726,
3726,
31,
83,
101,
20,
2757,
40,
3010,
30,
129,
4344,
4628,
240,
6488,
20,
21,
1965,
403,
197,
523,
1229,
307,
10609,
9,
14,
196... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I make php wait for curl to finish before continuing?
===
It seems if I do something like
$file = fopen($filepath, "w");
$CR = curl_init();
curl_setopt($CR, CURLOPT_URL, $source_path);
curl_setopt($CR, CURLOPT_POST, 1);
curl_setopt($CR, CURLOPT_FAILONERROR, true);
curl_setopt($CR... | 0 | [
2,
184,
107,
31,
233,
13,
26120,
1760,
26,
14320,
20,
2106,
115,
4489,
60,
800,
3726,
3726,
32,
2206,
100,
31,
107,
301,
101,
5579,
16877,
800,
398,
10157,
5,
4403,
16877,
8353,
15,
13,
7,
499,
7,
6,
73,
5579,
6711,
800,
14320,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 unit test protected & private methods in Ruby?
===
What's the best way to unit test protected and private methods in Ruby, using the standard Ruby Test::Unit framework?
I'm sure somebody will pipe up and dogmatically assert that "you should only unit test public methods; if it needs unit test... | 0 | [
2,
98,
22,
18,
14,
246,
161,
20,
1237,
1289,
3803,
279,
932,
3195,
19,
10811,
60,
800,
3726,
3726,
98,
22,
18,
14,
246,
161,
20,
1237,
1289,
3803,
17,
932,
3195,
19,
10811,
15,
568,
14,
1236,
10811,
1289,
45,
45,
15464,
6596,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 rid of gcc shift by negative warning
===
I have some code that looks like:
template<unsigned int A, unsigned int B>
int foo() {
int v = 1;
const int x = A - B;
if (x > 0) {
v = v << x;
}
bar(v);
}
gcc will complain about x being negative for certa... | 0 | [
2,
1017,
6681,
16,
489,
3384,
4471,
34,
3682,
3590,
800,
3726,
3726,
31,
57,
109,
1797,
30,
1879,
101,
45,
22894,
1,
1020,
13472,
19,
38,
21,
15,
28839,
19,
38,
334,
1,
19,
38,
4310,
111,
5,
6,
13,
1,
19,
38,
566,
800,
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... |
How do i set up an application on windows to respond to MAPISendMail calls?
===
The MAPISendMail function is available on windows so that an application can request that an email be sent. Windows will route the request to whichever email client is configured as the default provider.
How do I write an application so... | 0 | [
2,
184,
107,
31,
309,
71,
40,
3010,
27,
1936,
20,
4590,
20,
2942,
403,
2451,
8079,
3029,
60,
800,
3726,
3726,
14,
2942,
403,
2451,
8079,
1990,
25,
904,
27,
1936,
86,
30,
40,
3010,
92,
3772,
30,
40,
8517,
44,
795,
9,
1936,
129,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
equivalent to getch(), mac/linux crash
===
hey guys so i am using getch() and my app crashes instantly. Including when doing
int main()
{
getch();
}
i cant find the link but supposely the problem is, it needs to turn off buffering or something strange along those lines and i still want cout to... | 0 | [
2,
4602,
20,
164,
673,
5,
6,
15,
1572,
118,
1226,
7147,
4597,
800,
3726,
3726,
8409,
2776,
86,
31,
589,
568,
164,
673,
5,
6,
17,
51,
4865,
21563,
6064,
9,
215,
76,
845,
19,
38,
407,
5,
6,
13,
1,
164,
673,
5,
6,
73,
13,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.