unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How to integrate Geronimo's transaction manager in Tomcat?
===
Does Geronimo provides a standalone transaction manager?
And if it does, is it possible to use it in Tomcat? | 0 | [
2,
184,
20,
18399,
5389,
218,
11947,
22,
18,
12799,
1382,
19,
2067,
5782,
60,
800,
3726,
3726,
630,
5389,
218,
11947,
1927,
21,
26986,
12799,
1382,
60,
17,
100,
32,
630,
15,
25,
32,
938,
20,
275,
32,
19,
2067,
5782,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Best jQuery Status Message Plugin?
===
What is the best jQuery status message plugin?
I like [jGrowl][1] and [Purr][2], but jGrowl doesn't have the feature to remain sticky (not close automatially) and Purr doesn't seem to work right in IE 6.
I would like to show messages like... the site is about to go down for... | 0 | [
2,
246,
487,
8190,
93,
1782,
2802,
10922,
108,
60,
800,
3726,
3726,
98,
25,
14,
246,
487,
8190,
93,
1782,
2802,
10922,
108,
60,
31,
101,
636,
728,
7944,
10077,
500,
2558,
165,
500,
17,
636,
2051,
139,
500,
2558,
135,
500,
15,
47... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linq to SQL: select optimization
===
On large tables in MSSQL; selecting specific columns results in greater speed of the query. Does the same apply to Linq to SQL?
Would this:
var person = from p in [DataContextObject].Persons
where p.PersonsID == 1
select new { p.Persons... | 0 | [
2,
6294,
1251,
20,
4444,
255,
45,
5407,
21597,
800,
3726,
3726,
27,
370,
7484,
19,
4235,
18,
22402,
73,
20764,
1903,
7498,
1736,
19,
1894,
1362,
16,
14,
25597,
9,
630,
14,
205,
5645,
20,
6294,
1251,
20,
4444,
255,
60,
83,
48,
45... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Good Book on C++ Internals?
===
I'm looking for a good book or website on how C++ works under the hood. Some topics might be virtual function lookup tables, function name mangling, class/struct relationship, etc.
Even better, something that covers other languages as well (I'd love to know more about Perl's interna... | 0 | [
2,
254,
360,
27,
272,
20512,
3117,
18,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
254,
360,
54,
2271,
27,
184,
272,
20512,
693,
131,
14,
6124,
9,
109,
7569,
530,
44,
6599,
1990,
361,
576,
7484,
15,
1990,
204,
17200,
802,
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... |
How to audit when a user leaves an ASP.NET app
===
In ASP.NET, I'm looking for a way to audit a user leaving my application. To be specific, I'd like to insert a 'logout' record in an audit table in SQL Server when the user's session is abandoned/destroyed for any reason (not necessarily because of a call to session.a... | 0 | [
2,
184,
20,
13471,
76,
21,
4155,
2084,
40,
28,
306,
9,
2328,
4865,
800,
3726,
3726,
19,
28,
306,
9,
2328,
15,
31,
22,
79,
699,
26,
21,
161,
20,
13471,
21,
4155,
1107,
51,
3010,
9,
20,
44,
1903,
15,
31,
22,
43,
101,
20,
146... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Sharing ASP.NET session cookies with a Java applet
===
I have a Java applet that runs inside a forms-authenticated aspx page. In the .NET 1.1 version of my site, the applet has access to the session cookie and is able to retrieve a file from the server, but in the .NET 2.0 version it fails to authenticate.
I have s... | 0 | [
2,
6126,
28,
306,
9,
2328,
3723,
19396,
29,
21,
8247,
4037,
38,
800,
3726,
3726,
31,
57,
21,
8247,
4037,
38,
30,
1461,
572,
21,
1997,
8,
1346,
2504,
1786,
1669,
28,
306,
396,
2478,
9,
19,
14,
13,
9,
2328,
137,
9,
165,
615,
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... |
How do I create a named log in $TOMCAT_HOME/logs using ServletContext?
===
I'm currently logging via the simplest of methods within my servlet using Tomcat. I use the ServletConfig.getServletContext().log to record activity. This writes to the localhost.YYYY-MM-DD.log in $TOMCAT_HOME/logs.
I don't want to get awa... | 0 | [
2,
184,
107,
31,
1600,
21,
377,
6738,
19,
5579,
6015,
5782,
1,
8167,
118,
5567,
18,
568,
13,
10321,
1336,
1126,
11969,
60,
800,
3726,
3726,
31,
22,
79,
871,
13,
13919,
1197,
14,
24384,
16,
3195,
363,
51,
13,
10321,
1336,
568,
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... |
How many random elements before MD5 produces collisions?
===
I've got an image library on Amazon S3. For each image, I md5 the source URL on my server plus a timestamp to get a unique filename. Since S3 can't have subdirectories, I need to store all of these images in a single flat folder.
Do I need to worry about ... | 0 | [
2,
184,
151,
5477,
2065,
115,
8138,
264,
6700,
11319,
18,
60,
800,
3726,
3726,
31,
22,
195,
330,
40,
1961,
1248,
27,
8059,
13,
18,
240,
9,
26,
206,
1961,
15,
31,
8138,
264,
14,
1267,
287,
6362,
27,
51,
8128,
3123,
21,
436,
38,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I ensure Linq2Sql doesn't override or violate non-nullable DB default values?
===
I have an SQL Server DB with a table with these fields:
1. A `bit` with the default value 1, `NOT NULL`.
2. A `smalldatetime` with the default value `gettime()`, `NOT NULL`.
3. An `int` with no default value, `IDENTITY`, `NOT... | 0 | [
2,
184,
107,
31,
4062,
6294,
1251,
135,
18,
22402,
1437,
22,
38,
84,
11891,
54,
21957,
538,
8,
4215,
211,
579,
13,
9007,
12838,
4070,
60,
800,
3726,
3726,
31,
57,
40,
4444,
255,
8128,
13,
9007,
29,
21,
859,
29,
158,
2861,
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... |
Easy way to turn Javascript array into comma-separated list?
===
I have a one-dimensional array of strings in Javascript that I'd like to turn into a comma-separated list. Is there a simple way in garden-variety Javascript (or jQuery) to turn that into a comma-separated list? (I know how to iterate through the array a... | 0 | [
2,
2010,
161,
20,
805,
8247,
8741,
7718,
77,
11951,
58,
8,
18,
14189,
7432,
968,
60,
800,
3726,
3726,
31,
57,
21,
53,
8,
7865,
7718,
16,
7887,
19,
8247,
8741,
30,
31,
22,
43,
101,
20,
805,
77,
21,
11951,
58,
8,
18,
14189,
74... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the simplest way to call an HttpHandler file in .NET?
===
I have an HttpHandler on my webserver that takes a URL in the form of "https://servername/myhandler?op=get&k=Internal&m=jdahug1". I need to call this URL from my .NET app and capture whatever the output is. Does anyone know how I can do that? I want ... | 0 | [
2,
98,
25,
14,
24384,
161,
20,
645,
40,
7775,
3203,
1252,
3893,
19,
13,
9,
2328,
60,
800,
3726,
3726,
31,
57,
40,
7775,
3203,
1252,
27,
51,
2741,
10321,
106,
30,
1384,
21,
287,
6362,
19,
14,
505,
16,
13,
7,
21127,
18,
6903,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Quality Indicators TFS 2008 report and multiple build types
===
In a project we have two build types, one for continuous integration and one that runs our test suite. When the Quality Indicators report is run, it displays data from all builds regardless of build type.
The report suggests that one can only run it o... | 0 | [
2,
2190,
13310,
18,
13,
11720,
18,
570,
1330,
17,
1886,
1895,
2551,
800,
3726,
3726,
19,
21,
669,
95,
57,
81,
1895,
2551,
15,
53,
26,
6357,
8078,
17,
53,
30,
1461,
318,
1289,
6160,
9,
76,
14,
2190,
13310,
18,
1330,
25,
485,
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... |
Is there a PHP or general programming book similar to why's (poignant) guide to ruby?
===
[why's (poignant) guide][1] showed me that programming could be a fun and creative act
The things I particularly like about the book:
* Metaphors for concepts and syntax that really stick in your mind, and make reading code... | 0 | [
2,
25,
80,
21,
13,
26120,
54,
297,
3143,
360,
835,
20,
483,
22,
18,
13,
5,
1638,
16013,
38,
6,
3378,
20,
10811,
60,
800,
3726,
3726,
636,
2256,
22,
18,
13,
5,
1638,
16013,
38,
6,
3378,
500,
2558,
165,
500,
1908,
55,
30,
3143... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 can I find examples of element heavy web forms?
===
I would like to look at some examples of some good form layouts (web-based) that have a lot of input fields. I do a lot of web application development and a lot of my forms are input element heavy so I am always looking for good ideas on how to display my forms... | 0 | [
2,
113,
92,
31,
477,
3770,
16,
4520,
1278,
2741,
1997,
60,
800,
3726,
3726,
31,
83,
101,
20,
361,
35,
109,
3770,
16,
109,
254,
505,
9106,
18,
13,
5,
14113,
8,
1281,
6,
30,
57,
21,
865,
16,
6367,
2861,
9,
31,
107,
21,
865,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Mixing jQuery and YUI together in an app, is it easily possible?
===
I have to preface this with the fact that I love jQuery as a JavaScript language extension and YUI as a rich set of free controls. So here is my question, is there going to be any problems down the line if I mix jQuery and YUI together in an MVC app... | 0 | [
2,
5826,
487,
8190,
93,
17,
2600,
49,
429,
19,
40,
4865,
15,
25,
32,
2351,
938,
60,
800,
3726,
3726,
31,
57,
20,
20910,
48,
29,
14,
837,
30,
31,
339,
487,
8190,
93,
28,
21,
8247,
8741,
816,
3896,
17,
2600,
49,
28,
21,
2042,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Submit Login control button when I hit Enter
===
I have an ASP.NET web page with a Login control on it. When I hit Enter, the Login button doesn't fire; instead the page submits, doing nothing.
The standard solution to this that I've found online is to enclose the Login control in a Panel, then set the Panel defau... | 0 | [
2,
12298,
6738,
108,
569,
5167,
76,
31,
770,
2830,
800,
3726,
3726,
31,
57,
40,
28,
306,
9,
2328,
2741,
2478,
29,
21,
6738,
108,
569,
27,
32,
9,
76,
31,
770,
2830,
15,
14,
6738,
108,
5167,
1437,
22,
38,
535,
73,
700,
14,
247... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Server 2005 auto growth by size
===
I have been looking at the new database server we are setting up for a client and note the database files are set to grow by 1 meg everytime the file is full and the initial size is 100 MB.
I have been considering this breifly and it doesn't sound right. I've checked a few s... | 0 | [
2,
4444,
255,
8128,
812,
3108,
2232,
34,
1072,
800,
3726,
3726,
31,
57,
74,
699,
35,
14,
78,
6018,
8128,
95,
50,
2697,
71,
26,
21,
6819,
17,
1945,
14,
6018,
6488,
50,
309,
20,
3213,
34,
137,
10905,
352,
891,
14,
3893,
25,
503,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I create transparent buttons in Visual Studio 2005 with C#
===
I have a user interface that requires placing some round buttons in a C# project with some data behind them. The buttons are System.Windows.Forms.buttons and I have used a GIF image with transparency to create them. However, the transparent areas aren... | 0 | [
2,
92,
31,
1600,
14862,
12861,
19,
3458,
1120,
812,
29,
272,
5910,
800,
3726,
3726,
31,
57,
21,
4155,
6573,
30,
4781,
5861,
109,
560,
12861,
19,
21,
272,
5910,
669,
29,
109,
1054,
439,
105,
9,
14,
12861,
50,
329,
9,
27508,
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... |
Do you know of any IDEs that are localized to Spanish?
===
I have a buddy that's having a hard time with the language barrier. I tried to think of any IDEs that are also available in Spanish, but couldn't think of any. Any ideas? | 0 | [
2,
107,
42,
143,
16,
186,
13,
8153,
30,
50,
24821,
20,
1273,
60,
800,
3726,
3726,
31,
57,
21,
9065,
30,
22,
18,
452,
21,
552,
85,
29,
14,
816,
8548,
9,
31,
794,
20,
277,
16,
186,
13,
8153,
30,
50,
67,
904,
19,
1273,
15,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0... |
Can you use a trailing comma in a JSON object?
===
When manually generating a JSON object or array, it's often easier to leave a trailing comma on the last item in the object or array. For example, code to output from an array of strings might look like (in a C++ like pseudocode):
s.append("[");
for (i = ... | 0 | [
2,
92,
42,
275,
21,
14323,
11951,
58,
19,
21,
487,
528,
3095,
60,
800,
3726,
3726,
76,
23671,
13500,
21,
487,
528,
3095,
54,
7718,
15,
32,
22,
18,
478,
4950,
20,
767,
21,
14323,
11951,
58,
27,
14,
236,
9101,
19,
14,
3095,
54,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Data Access Layer: Exposing List<>: bad idea?
===
I am currently coding a simple Data Access Layer, and I was wondering which type I should expose to the other layers.
I am going to internally implement the Data as a List<>, but I remember reading something about not exposing the List type to the consumers if not n... | 0 | [
2,
1054,
1381,
5385,
45,
17302,
968,
1,
45,
896,
882,
60,
800,
3726,
3726,
31,
589,
871,
13,
15458,
21,
1935,
1054,
1381,
5385,
15,
17,
31,
23,
5712,
56,
1001,
31,
378,
13833,
20,
14,
89,
9124,
9,
31,
589,
228,
20,
17739,
8713... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Unsecure posting back from an asp.net control on a secure page while avoiding authentication
===
We are using standard asp.net forms authentication. Certain pages require a user to be logged in; and least some of these pages are delivered by https. There is a search control at the top of each page. When this is use... | 0 | [
2,
367,
22917,
15669,
97,
37,
40,
28,
306,
9,
2328,
569,
27,
21,
4315,
2478,
133,
10298,
27963,
800,
3726,
3726,
95,
50,
568,
1236,
28,
306,
9,
2328,
1997,
27963,
9,
1200,
4434,
4077,
21,
4155,
20,
44,
13,
19287,
19,
73,
17,
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 to set a long Java classpath in MSDOS/Windows?
===
I'm trying to run a particular JUnit test by hand on a Windows XP command line, which has an unusually high number of elements in the class path. I've tried several variations, such as:
set CLASS_PATH=C:\path\a\b\c;C:\path\e\f\g;....
set CLASS_PATH=%C... | 0 | [
2,
184,
20,
309,
21,
175,
8247,
718,
8353,
19,
4235,
8609,
118,
27508,
18,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
485,
21,
1498,
7446,
242,
1289,
34,
224,
27,
21,
1936,
23045,
1202,
293,
15,
56,
63,
40,
15200,
183,
234,
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... |
Can a SQL Server 2005 BCP format file have a column name that is a SQL keyword?
===
I have a format file where I want one of the columns to be "group". I'm auto-generating the format file and a client wants to upload a file with "group" as one of the columns. I could restrict it so they can't use SQL keywords, but t... | 0 | [
2,
92,
21,
4444,
255,
8128,
812,
2726,
306,
2595,
3893,
57,
21,
4698,
204,
30,
25,
21,
4444,
255,
1246,
9587,
60,
800,
3726,
3726,
31,
57,
21,
2595,
3893,
113,
31,
259,
53,
16,
14,
7498,
20,
44,
13,
7,
8024,
7,
9,
31,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Linq to SQL: .FirstOrDefault() not applicable to select new { ... }
===
I just asked <a href="http://stackoverflow.com/questions/201686/linq-to-sql-select-optimization">this question</a>. Which lead me to a new question :)
<br />
<br />
<br />
Up until this point, I have used the following pattern of selecting stu... | 0 | [
2,
6294,
1251,
20,
4444,
255,
45,
13,
9,
3552,
248,
13862,
9708,
5,
6,
52,
14535,
20,
5407,
78,
13,
1,
13,
9,
9,
9,
13,
1,
800,
3726,
3726,
31,
114,
411,
13,
1,
58,
746,
14057,
3726,
7,
21127,
6903,
25325,
2549,
9990,
9,
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... |
javascript, asign a value to variables selected using eval(something)
===
Hey right now I'm using jQuery and I have some global variables to hold a bit of preloaded ajax stuff (preloaded to make pages come up nice and fast):
<pre><code>
$.get("content.py?pageName=viewer", function(data)
{viewer = data;});
$.get("... | 0 | [
2,
8247,
8741,
15,
21,
11255,
21,
1923,
20,
12157,
1704,
568,
13,
62,
3377,
5,
9099,
6,
800,
3726,
3726,
8409,
193,
130,
31,
22,
79,
568,
487,
8190,
93,
17,
31,
57,
109,
2062,
12157,
20,
1027,
21,
1142,
16,
782,
22546,
20624,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
MSMQ Generic Messaging
===
I'm thinking of creating a generic message queue to handle various inter-process messages. (WCF is not an option at this point.) So, rather than have 10-15 different queues for specific messages I'd have 1 queue that is a 'catch-all'.
Obviously sending messages to this queue is a not ... | 0 | [
2,
4235,
79,
1251,
12733,
26437,
800,
3726,
3726,
31,
22,
79,
1440,
16,
2936,
21,
12733,
2802,
22521,
20,
3053,
617,
1480,
8,
16835,
7561,
9,
13,
5,
499,
8940,
25,
52,
40,
4255,
35,
48,
454,
9,
6,
86,
15,
864,
119,
57,
332,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Do you (and should I) put copyright notices in your (proprietory) code.
===
I'm wondering if, when working on source for your employer, people include a copyright notice.
For example
/*
* Developer : Developer Name (developer.name@company.com)
* Date : xx/yy/zzzz
* All code (c)2008 company ... | 0 | [
2,
107,
42,
13,
5,
290,
378,
31,
6,
442,
8398,
17528,
19,
154,
13,
5,
10890,
3272,
14599,
6,
1797,
9,
800,
3726,
3726,
31,
22,
79,
5712,
100,
15,
76,
638,
27,
1267,
26,
154,
11726,
15,
148,
468,
21,
8398,
3551,
9,
26,
823,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 a backslash (%5c) in a REST WCF URL
===
I am building a REST service on WCF, and one of the methods I am writing is GetProfile, which will return the profile for a given username. The username will include the user's domain, and so will have the following format: "DOMAIN\username".
I therefore have a service ... | 0 | [
2,
568,
21,
97,
18,
9545,
13,
5,
11881,
264,
150,
6,
19,
21,
760,
11801,
410,
287,
6362,
800,
3726,
3726,
31,
589,
353,
21,
760,
365,
27,
11801,
410,
15,
17,
53,
16,
14,
3195,
31,
589,
1174,
25,
164,
14503,
15,
56,
129,
788,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I solve "index unique_schema_migrations already exists" in Rails?
===
Running `rake db:migrate` followed by `rake test:units` yields the following:
rake test:functionals
(in /projects/my_project)
rake aborted!
SQLite3::SQLException: index unique_schema_migrations already exists: CREATE UNI... | 0 | [
2,
184,
107,
31,
8402,
13,
7,
25671,
2619,
1,
7526,
540,
1,
10183,
5946,
18,
614,
5636,
7,
19,
2240,
18,
60,
800,
3726,
3726,
946,
13,
1,
4951,
62,
13,
9007,
45,
10183,
5487,
1,
709,
34,
13,
1,
4951,
62,
1289,
45,
15464,
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 do I configure email notification on new case comment in salesforce.com
===
In salesforce.com, I have a workflow that triggers when a new case comment is added via the self-service portal. The workflow rule updates the Case.Status field, which fires another workflow rule on the Case object itself. The end result... | 0 | [
2,
184,
107,
31,
1065,
15951,
8517,
52,
4634,
27,
78,
610,
6484,
19,
2598,
8774,
9,
960,
800,
3726,
3726,
19,
2598,
8774,
9,
960,
15,
31,
57,
21,
170,
9990,
30,
7286,
18,
76,
21,
78,
610,
6484,
25,
905,
1197,
14,
1119,
8,
11... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
python name a file same as a lib
===
i have the following script
import getopt, sys
opts, args = getopt.getopt(sys.argv[1:], "h:s")
for key,value in opts:
print key, "=>", value
if i name this getopt.py and run it doesn't work as it tries to import itself
is there a way around this, so ... | 0 | [
2,
20059,
204,
21,
3893,
205,
28,
21,
13,
8326,
800,
3726,
3726,
31,
57,
14,
249,
3884,
9010,
164,
2594,
38,
15,
10315,
18,
17034,
18,
15,
13,
10663,
18,
800,
164,
2594,
38,
9,
834,
3880,
38,
5,
4980,
18,
9,
10663,
710,
2558,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Outlook automation - Change Sender Account
===
I'm automating Outlook and I need to control who the email appears to be from. The users will have two or more Accounts set up in Outlook and I need to be able to select which account to send the email from. Any ideas?
Needs to be supported on Outlook 2003 and above. I... | 0 | [
2,
19837,
23217,
13,
8,
753,
2660,
106,
2176,
800,
3726,
3726,
31,
22,
79,
3108,
79,
1880,
19837,
17,
31,
376,
20,
569,
72,
14,
8517,
1780,
20,
44,
37,
9,
14,
3878,
129,
57,
81,
54,
91,
5310,
309,
71,
19,
19837,
17,
31,
376,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Agile methodology for a class project?
===
The project is poorly defined: we are to write educational software for CS 111 Computer Programming I students focusing on functions. We have 6 student developers with various backgrounds working in Flex. The project has a duration of about 7 weeks. We have ... | 0 | [
2,
98,
25,
14,
246,
27475,
18653,
26,
21,
718,
669,
60,
800,
3726,
3726,
14,
669,
25,
10614,
2811,
45,
95,
50,
20,
2757,
3076,
2306,
26,
272,
18,
14091,
1428,
3143,
31,
573,
7796,
27,
3719,
9,
95,
57,
400,
1209,
10168,
29,
617... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
DocumentViewer toolbar and context menu
===
How to hide the default toolbar and to disallow the default context menu of the DocumentViewer control? | 0 | [
2,
4492,
4725,
106,
5607,
1850,
17,
4141,
11379,
800,
3726,
3726,
184,
20,
3077,
14,
12838,
5607,
1850,
17,
20,
1460,
17976,
14,
12838,
4141,
11379,
16,
14,
4492,
4725,
106,
569,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How can you get a ComboBox child of a DataGridView to process all keys, including "."?
===
I have the same problem as described in the posts listed below. That is, certain keys don't work at all when I type them into my combobox until I first hit the spacebar. One of the keys is ".", but another is the letter "Q", ... | 0 | [
2,
184,
92,
42,
164,
21,
22621,
5309,
850,
16,
21,
1054,
16375,
4725,
20,
953,
65,
5534,
15,
215,
13,
7,
9,
7,
60,
800,
3726,
3726,
31,
57,
14,
205,
1448,
28,
745,
19,
14,
9868,
1510,
1021,
9,
30,
25,
15,
1200,
5534,
221,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Primary key from inserted row jdbc?
===
Is there a cross database platform way to get the primary key of the record you have just inserted?
I noted that [this answer][1] says that you can get it by Calling `SELECT LAST_INSERT_ID()` and I think that you can call `SELECT @@IDENTITY AS 'Identity';` is there a common w... | 0 | [
2,
1256,
1246,
37,
14215,
3131,
487,
43,
7229,
60,
800,
3726,
3726,
25,
80,
21,
919,
6018,
2452,
161,
20,
164,
14,
1256,
1246,
16,
14,
571,
42,
57,
114,
14215,
60,
31,
1525,
30,
636,
1565,
1623,
500,
2558,
165,
500,
898,
30,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Spring initialization order
===
Suppose I have a couple of spring beans:
<beans>
<bean name="A" ... />
<bean name="B" ... />
</beans>
"B" exposes a remote service that doesn't need "A". Assume that "A" takes a non-negligble time to load. What this means is that during a restart cycle, t... | 0 | [
2,
1573,
2104,
1829,
389,
800,
3726,
3726,
5787,
31,
57,
21,
1335,
16,
1573,
14685,
45,
13,
1,
863,
5950,
1,
13,
1,
863,
210,
204,
3726,
7,
58,
7,
13,
9,
9,
9,
13,
118,
1,
13,
1,
863,
210,
204,
3726,
7,
220,
7,
13,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SSH into Amazon EC2 Instance
===
I'm working to set up Panda on an Amazon EC2 instance.
I set up my account and tools last night and had no problem using SSH to interact with my own personal instance, but right now I'm not being allowed permission into Panda's EC2 instance.
[Getting Started with Panda][1]
I'm get... | 0 | [
2,
13,
18,
1635,
77,
8059,
6695,
135,
4851,
800,
3726,
3726,
31,
22,
79,
638,
20,
309,
71,
16982,
27,
40,
8059,
6695,
135,
4851,
9,
31,
309,
71,
51,
2176,
17,
4672,
236,
343,
17,
41,
90,
1448,
568,
13,
18,
1635,
20,
10001,
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 there a class or method in Java that will check if a string is a SQL Server keyword?
===
I want something that can check if a string is "SELECT", "INSERT", etc. I'm just curious if this exists. | 0 | [
2,
25,
80,
21,
718,
54,
2109,
19,
8247,
30,
129,
2631,
100,
21,
3724,
25,
21,
4444,
255,
8128,
1246,
9587,
60,
800,
3726,
3726,
31,
259,
301,
30,
92,
2631,
100,
21,
3724,
25,
13,
7,
18,
16964,
7,
15,
13,
7,
108,
18,
6767,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
What's a good company for simple, shell hosting?
===
My old shell host (StrayNet) is closing up, and I'd like to find a decent, relatively cheap Unix shell host that offers:
* a couple of background processes
* email, irc, etc.,
* an IP address or vhost.
For the record, I do have a Slicehost slice, so I'm ... | 0 | [
2,
98,
22,
18,
21,
254,
237,
26,
1935,
15,
3593,
10637,
60,
800,
3726,
3726,
51,
315,
3593,
2015,
13,
5,
5253,
5685,
38,
6,
25,
4239,
71,
15,
17,
31,
22,
43,
101,
20,
477,
21,
12238,
15,
3109,
9148,
22540,
3593,
2015,
30,
24... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 might cause ThreadAbortException when using HttpWebRequest.GetResponse()
===
I'm living in nightmares because of this situation , i have HttpWebRequest.GetResponse that keeps on giving me a ThreadAbortException , that cause the whole app to go down.
How can i avoid that, or at least handle it , would using Thr... | 0 | [
2,
98,
530,
1679,
9322,
58,
6157,
38,
10066,
872,
76,
568,
7775,
458,
3692,
10351,
9,
834,
8722,
8782,
870,
5,
6,
800,
3726,
3726,
31,
22,
79,
634,
19,
18157,
185,
16,
48,
1858,
13,
15,
31,
57,
7775,
458,
3692,
10351,
9,
834,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
XML Parser
===
Is it possible using a server side xml parser to have it create a html blob that it is then included in a existing html page?
Thanks | 0 | [
2,
23504,
2017,
4104,
800,
3726,
3726,
25,
32,
938,
568,
21,
8128,
270,
23504,
2017,
4104,
20,
57,
32,
1600,
21,
13,
15895,
334,
10904,
30,
32,
25,
94,
506,
19,
21,
3149,
13,
15895,
2478,
60,
3669,
3,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Why is calling a web service slower from a web page?
===
We have a DLL used as the middle layer between our website front end and our back end ticketing system. The method of insertion into the ticketing system is a bit complicated to explain, but the short version is that it's slow. The best case scenario I've gott... | 0 | [
2,
483,
25,
2555,
21,
2741,
365,
14085,
37,
21,
2741,
2478,
60,
800,
3726,
3726,
95,
57,
21,
13,
43,
211,
147,
28,
14,
772,
5385,
128,
318,
2271,
431,
241,
17,
318,
97,
241,
6133,
68,
329,
9,
14,
2109,
16,
24245,
77,
14,
613... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 realloc Array, then Why use pointers?
===
This was an job placement interview I faced. They asked whether we can realloc Array, I told yes. Then They asked - then why we need pointers as most of the people give reason that it wastes memory space. I could not able to give satisfactory answer. If any body can give a... | 0 | [
2,
92,
683,
10799,
7718,
15,
94,
483,
275,
454,
445,
60,
800,
3726,
3726,
48,
23,
40,
1205,
10774,
2421,
31,
3110,
9,
59,
411,
1472,
95,
92,
683,
10799,
7718,
15,
31,
470,
1643,
9,
94,
59,
411,
13,
8,
94,
483,
95,
376,
454,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 replace the click event with a mouseover in a Silverlight 2.0 Combobox?
===
I have a combo box that in Siverlight 2.0 that I want it to open when a user mouses over the toggle button and then close when they mouse away. The default behavior is a click. Here is my style code (sorry it is so long):
<S... | 0 | [
2,
184,
20,
3934,
14,
10840,
807,
29,
21,
7567,
2549,
19,
21,
1172,
3130,
172,
9,
387,
22621,
5309,
60,
800,
3726,
3726,
31,
57,
21,
22621,
1649,
30,
19,
13,
18,
19737,
3130,
172,
9,
387,
30,
31,
259,
32,
20,
368,
76,
21,
41... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 OK to use an int for the key in a KeyedCollection
===
Often times I need a collection of non-sequential objects with numeric identifiers. I like using the KeyedCollection for this, but I think there's a serious drawback. If you use an int for the key, you can no longer access members of the collection by their i... | 0 | [
2,
25,
32,
5854,
20,
275,
40,
19,
38,
26,
14,
1246,
19,
21,
1246,
69,
15015,
872,
800,
3726,
3726,
478,
436,
31,
376,
21,
1206,
16,
538,
8,
870,
5495,
10107,
3916,
29,
15764,
596,
25570,
18,
9,
31,
101,
568,
14,
1246,
69,
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... |
How to perform a deep copy of an object not marked as serializable (in C#)?
===
I am attempting to create a Clipboard stack in C#. Clipboard data is stored in `System.Windows.Forms.DataObject` objects. I wanted to store each clipboard entry (`IDataObject`) directly in a Generic list. Due to the way Bitmaps (seem to b... | 0 | [
2,
184,
20,
2985,
21,
855,
4344,
16,
40,
3095,
52,
2739,
28,
5956,
3186,
579,
13,
5,
108,
272,
5910,
6,
60,
800,
3726,
3726,
31,
589,
6314,
20,
1600,
21,
12229,
2806,
7566,
19,
272,
5910,
9,
12229,
2806,
1054,
25,
8214,
19,
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... |
Limits on number of Rows in a SQL Server Table
===
Are there any hard limits on the number of rows in a table in a sql server table? I am under the impression the only limit is based around physical storage.
At what point does performance significantly degrade, if at all, on tables with and without an index. Are th... | 0 | [
2,
5887,
27,
234,
16,
11295,
19,
21,
4444,
255,
8128,
859,
800,
3726,
3726,
50,
80,
186,
552,
5887,
27,
14,
234,
16,
11295,
19,
21,
859,
19,
21,
4444,
255,
8128,
859,
60,
31,
589,
131,
14,
6394,
14,
104,
4496,
25,
432,
140,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Setting QTMovie attributes
===
I'm trying to create a QTVR movie via QTKit, and I've got all the frames in the movie. However, setting the attributes necessary doesn't seem to be having any effect. For example:
NSNumber *val = [NSNumber numberWithBool:YES];
[fMovie setAttribute:val forKey:QTMovieIsIntera... | 0 | [
2,
2697,
2593,
38,
22607,
13422,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
2593,
38,
6938,
1308,
1197,
2593,
38,
13703,
15,
17,
31,
22,
195,
330,
65,
14,
12809,
19,
14,
1308,
9,
207,
15,
2697,
14,
13422,
2378,
1437,
22,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Explore containing folder instead of open containing folder
===
I use Visual Studio to do a lot of my coding. I find the open containing folder feature quite helpful. But I don't want the folder to be "opened" by the windows explorer, instead I want to "explore" the folder -- you know, get the nice little frame showin... | 0 | [
2,
8594,
3503,
19294,
700,
16,
368,
3503,
19294,
800,
3726,
3726,
31,
275,
3458,
1120,
20,
107,
21,
865,
16,
51,
13,
15458,
9,
31,
477,
14,
368,
3503,
19294,
1580,
1450,
15600,
9,
47,
31,
221,
22,
38,
259,
14,
19294,
20,
44,
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... |
"Communication with the underlying transaction manager has failed" error message
===
A client of our has recently upgraded a ASP.NET 1.1 web application to ASP.NET that uses COM+ transaction processing and received the following exception while trying to process a transaction:
> Exception Type:
> System.Transacti... | 0 | [
2,
13,
7,
25600,
29,
14,
10974,
12799,
1382,
63,
1702,
7,
7019,
2802,
800,
3726,
3726,
21,
6819,
16,
318,
63,
1989,
9958,
21,
28,
306,
9,
2328,
137,
9,
165,
2741,
3010,
20,
28,
306,
9,
2328,
30,
2027,
13,
960,
2430,
12799,
551... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How would you make an RSS-feeds entries available longer than they're accessible from the source?
===
My computer at home is set up to automatically download some stuff from RSS feeds (mostly torrents and podcasts). However, I don't always keep this computer on. The sites I subscribe to have a relatively large through... | 0 | [
2,
184,
83,
42,
233,
40,
13,
1224,
18,
8,
20954,
18,
11399,
904,
1045,
119,
59,
22,
99,
7342,
37,
14,
1267,
60,
800,
3726,
3726,
51,
1428,
35,
213,
25,
309,
71,
20,
7499,
7121,
109,
3217,
37,
13,
1224,
18,
17058,
13,
5,
1839... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Complete list of Google Gears enabled sites
===
Is there a complete list of Google Gears enabled sites? I'm aware of rememberthemilk.com, google docs and google calendar | 0 | [
2,
1279,
968,
16,
8144,
4256,
18,
9338,
3259,
800,
3726,
3726,
25,
80,
21,
1279,
968,
16,
8144,
4256,
18,
9338,
3259,
60,
31,
22,
79,
3854,
16,
1518,
124,
27248,
9,
960,
15,
8144,
9765,
18,
17,
8144,
7036,
3,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How do I open a file in C# and change its properties?
===
I need to open a Microsoft Word 2003 file and change its file properties. Such as changing the Subject in the Summary Tab. <br/>
![alt text][1]
[1]: http://www.jegsworks.com/Lessons/words/report/dialog-fileproperties-summary.gif | 0 | [
2,
184,
107,
31,
368,
21,
3893,
19,
272,
5910,
17,
753,
82,
3704,
60,
800,
3726,
3726,
31,
376,
20,
368,
21,
7099,
833,
973,
3893,
17,
753,
82,
3893,
3704,
9,
145,
28,
4226,
14,
1550,
19,
14,
14740,
6523,
9,
13,
1,
5145,
118... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Creating Docking Panes in CView insteand of CMainFrame
===
When creating an MDI Application with "Visual Studio" style using the AppWizard of VS2008 (plus Feature Pack), the `CMainFrame` class gets a method `CreateDockingWindows()`.
Since I don't want all panes to be always visible but display them depending on the... | 0 | [
2,
2936,
6120,
68,
1809,
160,
19,
272,
4725,
19,
6100,
290,
16,
272,
6232,
8361,
800,
3726,
3726,
76,
2936,
40,
8138,
49,
3010,
29,
13,
7,
20893,
1120,
7,
1034,
568,
14,
4865,
23527,
1514,
16,
4611,
2753,
13,
5,
13349,
1580,
360... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ClickOnce and IsolationStorage
===
The Winform application is release with ClickOnce in our Intranet. We store personal preference for the GUI in the Isolation Storage. All work pretty fine :)
The problem is when we have a new version of the application, we publish... all preferences are lost! User need to setup th... | 0 | [
2,
10840,
13120,
17,
13300,
18,
2153,
1303,
800,
3726,
3726,
14,
628,
4190,
3010,
25,
830,
29,
10840,
13120,
19,
318,
14369,
2328,
9,
95,
1718,
1319,
9808,
26,
14,
9457,
19,
14,
13300,
4326,
9,
65,
170,
1772,
1123,
13,
45,
6,
14... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using SHFileOperation within a Windows service
===
It's possible, but is it appropriate to use SHFileOperation within a Windows service? All those SHxxx API functions in shell32.dll seem to have been written with user level programs in mind. Can I be certain SHFileOperation won't display GUI ever? | 0 | [
2,
568,
5527,
16877,
11377,
363,
21,
1936,
365,
800,
3726,
3726,
32,
22,
18,
938,
15,
47,
25,
32,
4593,
20,
275,
5527,
16877,
11377,
363,
21,
1936,
365,
60,
65,
273,
5527,
13290,
21,
2159,
3719,
19,
3593,
3125,
9,
43,
211,
2260,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 set a conditional uninstall in Wix?
===
The installer sets up a default DB (if one doesn't already exist) and I want to exclude that from the uninstall process (Or have the user option to remove it or not, once I take the time to figure out customizing the GUI)
Seems like best practice would be to just crea... | 0 | [
2,
92,
42,
309,
21,
21206,
367,
108,
21300,
19,
4807,
396,
60,
800,
3726,
3726,
14,
16146,
106,
3415,
71,
21,
12838,
13,
9007,
13,
5,
821,
53,
1437,
22,
38,
614,
3182,
6,
17,
31,
259,
20,
21077,
30,
37,
14,
367,
108,
21300,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Peer Review XSD scheme
===
I designed a data model which is represented by an XSD scheme.
The data model also provides the types that are being used as web service parameters in a WSDL descriptor.
I would like to send the XSD scheme around and ask the people involved to peer review the data model.
What tool or ... | 0 | [
2,
7617,
1487,
993,
18,
43,
4276,
800,
3726,
3726,
31,
1006,
21,
1054,
1061,
56,
25,
1622,
34,
40,
993,
18,
43,
4276,
9,
14,
1054,
1061,
67,
1927,
14,
2551,
30,
50,
142,
147,
28,
2741,
365,
12905,
19,
21,
619,
18,
8643,
121,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
mod_rewrite Rule to Cover All Domains
===
Is there a way to have a RewriteRule fire on any domain that is requested on a box? For example, I have 5 VirtualHosts that would have the exact same RewriteRule applied to them and currently each VirtualHost directive has the rule, but can I put this somewhere 'global' so tha... | 0 | [
2,
7226,
1,
99,
23716,
1828,
20,
1227,
65,
15544,
800,
3726,
3726,
25,
80,
21,
161,
20,
57,
21,
27891,
16154,
535,
27,
186,
4603,
30,
25,
6602,
27,
21,
1649,
60,
26,
823,
15,
31,
57,
331,
6599,
11694,
18,
30,
83,
57,
14,
534... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Force ASP.NET textbox to display currency with $ sign
===
Is there a way to get an ASP.NET textbox to accept only currency values, and when the control is validated, insert a $ sign beforehand?
Examples:
10.23 becomes $10.23
$1.45 stays $1.45
10.a raises error due to not being a valid number
I hav... | 0 | [
2,
558,
28,
306,
9,
2328,
1854,
5309,
20,
3042,
10507,
29,
5579,
1676,
800,
3726,
3726,
25,
80,
21,
161,
20,
164,
40,
28,
306,
9,
2328,
1854,
5309,
20,
3440,
104,
10507,
4070,
15,
17,
76,
14,
569,
25,
7394,
1669,
15,
14692,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to configure server for small hosting company for django-powered flash sites?
===
I'm looking at setting up a small company that hosts flash-based websites for artist portfolios. The customer control panel would be django-powered, and would provide the interface for uploading their images, managing galleries, sel... | 0 | [
2,
184,
20,
1065,
15951,
8128,
26,
284,
10637,
237,
26,
3857,
14541,
8,
9844,
4433,
3259,
60,
800,
3726,
3726,
31,
22,
79,
699,
35,
2697,
71,
21,
284,
237,
30,
5397,
4433,
8,
1281,
13931,
26,
1169,
10588,
18,
9,
14,
7705,
569,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 and GetType()
===
I want to get a type of a "BasePage" object that I am creating. Every Page object is based off BasePage. For instance, I have a Login.aspx and in my code-behind and a class that has a method Display:
Display(BasePage page) {
ResourceManager manager = new ResourceManager(page.... | 0 | [
2,
28,
306,
9,
2328,
17,
164,
4474,
5,
6,
800,
3726,
3726,
31,
259,
20,
164,
21,
1001,
16,
21,
13,
7,
8436,
6486,
7,
3095,
30,
31,
589,
2936,
9,
352,
2478,
3095,
25,
432,
168,
1000,
6486,
9,
26,
4851,
15,
31,
57,
21,
6738,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 change cell's ComboBox style in DataGridViewComboBoxColumn
===
Cells in DataGridViewComboBoxColumn have ComboBoxStyle DropDownList. It means the user can only select values from the dropdown. The underlying control is ComboBox, so it can have style DropDown. How do I change the style of the underlying combo box... | 0 | [
2,
184,
20,
753,
1667,
22,
18,
22621,
5309,
1034,
19,
1054,
16375,
4725,
960,
1192,
5309,
716,
4404,
103,
800,
3726,
3726,
2934,
19,
1054,
16375,
4725,
960,
1192,
5309,
716,
4404,
103,
57,
22621,
5309,
4381,
2804,
2968,
5739,
9,
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... |
Where can I find free and open data?
===
I know [data.un.org][1] which offers access to their extensive databases on human development and other socio-economic topics. The other usual suspects are NASA and the USGS for planetary data.
There's an article at [readwriteweb][2] with more links. [infochimps.org][3] seem... | 0 | [
2,
113,
92,
31,
477,
551,
17,
368,
1054,
60,
800,
3726,
3726,
31,
143,
636,
18768,
9,
1020,
9,
5583,
500,
2558,
165,
500,
56,
2486,
1381,
20,
66,
3386,
6018,
18,
27,
585,
522,
17,
89,
14607,
8,
14617,
7569,
9,
14,
89,
3820,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Good examples of Hungarian Notation?
===
Please answer with good examples of Hungarian Notation, so we can bring together a collection of these. | 0 | [
2,
254,
3770,
16,
5046,
15591,
60,
800,
3726,
3726,
2247,
1623,
29,
254,
3770,
16,
5046,
15591,
15,
86,
95,
92,
1499,
429,
21,
1206,
16,
158,
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,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How Do You Programmatically Set the Hardware Clock on Linux?
===
Linux provides the stime(2) call to set the system time. However, while this will update the system's time, it does not set the BIOS hardware clock, so if the machine gets power-cycled, the time will be incorrect.
How do you ensure that the hardware ... | 0 | [
2,
184,
107,
42,
625,
6732,
1326,
309,
14,
7610,
4229,
27,
13024,
60,
800,
3726,
3726,
13024,
1927,
14,
13,
18,
891,
5,
135,
6,
645,
20,
309,
14,
329,
85,
9,
207,
15,
133,
48,
129,
11100,
14,
329,
22,
18,
85,
15,
32,
630,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
getter for boolean properties with JAXB
===
I´m trying to expose services using jax-ws but the first surprise i got was that Weblogic does not support inner classes for request/response objects. After get over this situation [here][1], i´m facing another challenge:
Generate `getXXX()` rather than/additionally to th... | 0 | [
2,
164,
815,
26,
9827,
413,
210,
3704,
29,
11712,
220,
800,
3726,
3726,
31,
307,
749,
20,
13833,
687,
568,
11712,
8,
10268,
47,
14,
64,
2624,
31,
330,
23,
30,
2741,
24268,
630,
52,
555,
3754,
2684,
26,
3772,
118,
99,
18,
8782,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Run a XNA compiled game from DVD or CD on XBOX 360?
===
Is it possible to run a XNA game compiled for XBOX 360 from a DVD or CD, or does it have to be copied onto the HD?
Is it possible to include a library which is not a part of the .net compact framework in a XBOX 360 project? | 0 | [
2,
485,
21,
993,
325,
9316,
250,
37,
3527,
54,
1745,
27,
13800,
11760,
60,
800,
3726,
3726,
25,
32,
938,
20,
485,
21,
993,
325,
250,
9316,
26,
13800,
11760,
37,
21,
3527,
54,
1745,
15,
54,
630,
32,
57,
20,
44,
18225,
1204,
14,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Generate JavaScript objects out of Django Models
===
I am performing a lot of JavaScript work in the browser and would like to have some of that backend functionality in the front-end. Specifically, it would be nice to have the functions <code>get()</code>, <code>save()</code>, <code>all()</code> and <code>count()</co... | 0 | [
2,
7920,
8247,
8741,
3916,
70,
16,
3857,
14541,
2761,
800,
3726,
3726,
31,
589,
2955,
21,
865,
16,
8247,
8741,
170,
19,
14,
16495,
17,
83,
101,
20,
57,
109,
16,
30,
97,
2451,
18548,
19,
14,
431,
8,
2451,
9,
3524,
15,
32,
83,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
c# (more specifically xna) how can i request a xml file via http? Doesnt need to support xbox.
===
So im working on a game in XNA and i need it to get a server list off our site.
so i just need to do a http request to http://play.feedthezombie.com/?want=servers&enc=xml
and get the contest as either a string or ... | 0 | [
2,
272,
5910,
13,
5,
1995,
3524,
993,
325,
6,
184,
92,
31,
3772,
21,
23504,
3893,
1197,
7775,
60,
5886,
376,
20,
555,
13800,
9,
800,
3726,
3726,
86,
797,
638,
27,
21,
250,
19,
993,
325,
17,
31,
376,
32,
20,
164,
21,
8128,
96... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 reset a password in AD using LDP.exe?
===
I can connect with a user who has permissions to set passwords. I'm able to change attributes, but I can't set the password. | 0 | [
2,
184,
107,
42,
23422,
21,
20884,
19,
21,
43,
568,
644,
7431,
9,
1706,
62,
60,
800,
3726,
3726,
31,
92,
6379,
29,
21,
4155,
72,
63,
5572,
18,
20,
309,
20884,
18,
9,
31,
22,
79,
777,
20,
753,
13422,
15,
47,
31,
92,
22,
38,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Merge code changes without true source control
===
We have a few developers working on the same VS2005 solution, but our source control is very bad. (Our company uses Harvest, which we give a vote of no confidence).
Right now, we're all just working off of the files on a shared lan drive. Obviously, this causes s... | 0 | [
2,
12666,
1797,
1693,
366,
1151,
1267,
569,
800,
3726,
3726,
95,
57,
21,
310,
10168,
638,
27,
14,
205,
4611,
2835,
4295,
15,
47,
318,
1267,
569,
25,
253,
896,
9,
13,
5,
4110,
237,
2027,
10602,
15,
56,
95,
590,
21,
2018,
16,
90... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Start another application in Compact .Net 1.0
===
Is there a way to start another application from within Compact .Net framework 1.0 similar to
System.Diagnostics.Process.Start
on the Windows side?
I need to start a CAB file for installation.
Thanks,
Kishore. | 0 | [
2,
799,
226,
3010,
19,
8285,
13,
9,
2328,
137,
9,
387,
800,
3726,
3726,
25,
80,
21,
161,
20,
799,
226,
3010,
37,
363,
8285,
13,
9,
2328,
6596,
137,
9,
387,
835,
20,
329,
9,
4286,
21944,
18,
9,
16835,
9,
13680,
27,
14,
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... |
Replace first line of a text file in Java
===
I have a text file where I want to change only the first line of the file. The file could be millions of rows long, so I'd rather not have to loop over everything, so I'm wondering if there is another way to do this.
I'd also like to apply some rules to the first line ... | 0 | [
2,
3934,
64,
293,
16,
21,
1854,
3893,
19,
8247,
800,
3726,
3726,
31,
57,
21,
1854,
3893,
113,
31,
259,
20,
753,
104,
14,
64,
293,
16,
14,
3893,
9,
14,
3893,
110,
44,
11999,
16,
11295,
175,
15,
86,
31,
22,
43,
864,
52,
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... |
Flex/AIR: automatically absorb unassigned/disabled key shortcuts
===
I have an AIR app with an `<mx:HTML>` component, which renders a page that includes an HTML/Javascript-based WYSIWYG/rich-text editor. Various keyboard shortcuts are assigned for formatting and what have you, but if I type a shortcut which isn't assi... | 0 | [
2,
14409,
118,
2642,
45,
7499,
14196,
13,
4140,
18,
13472,
118,
2906,
579,
43,
1246,
502,
4118,
18,
800,
3726,
3726,
31,
57,
40,
282,
4865,
29,
40,
13,
1,
79,
396,
45,
15895,
1,
5912,
15,
56,
16535,
18,
21,
2478,
30,
1103,
40,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a way to easily print the pages from an ASP.NET site?
===
My PM just stopped by and he wanted a copy of all of our pages... Is there a way to do this for all pages without having to go to each one? | 0 | [
2,
25,
80,
21,
161,
20,
2351,
4793,
14,
4434,
37,
40,
28,
306,
9,
2328,
689,
60,
800,
3726,
3726,
51,
6736,
114,
1175,
34,
17,
24,
417,
21,
4344,
16,
65,
16,
318,
4434,
9,
9,
9,
25,
80,
21,
161,
20,
107,
48,
26,
65,
4434... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How does a game engine that models objects as "collections of components" work at runtime?
===
I'm writing a lightweight game engine and while doing some research for it I've come across a number of compelling articles advocating the implementation of Game Objects through a "collection of components" model rather than... | 0 | [
2,
184,
630,
21,
250,
1406,
30,
2761,
3916,
28,
13,
7,
15015,
5757,
16,
5090,
7,
170,
35,
485,
891,
60,
800,
3726,
3726,
31,
22,
79,
1174,
21,
13613,
250,
1406,
17,
133,
845,
109,
527,
26,
32,
31,
22,
195,
340,
464,
21,
234,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 manage concurrency for inserting?
===
Many optimistic concurrency examples refer to updates by using a database timestamp or flag.
However, I want to handle optimistic concurrency for INSERTS
To illustrate here is a fake scenario:
Multiple users can insert a journal entry at the same time, but allow ... | 0 | [
2,
184,
20,
4705,
25547,
26,
14692,
68,
60,
800,
3726,
3726,
151,
24408,
25547,
3770,
5017,
20,
16779,
34,
568,
21,
6018,
436,
38,
10158,
54,
3157,
9,
207,
15,
31,
259,
20,
3053,
24408,
25547,
26,
14692,
18,
20,
15620,
235,
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... |
Should I start distributing my systems as Wine ready?
===
I have tested all my systems written on Delphi (in Windows XP) on Wine (OpenSuse Linux) and they work perfectly. My question is: should I start distributing my systems (on a local basis that I can support) as Wine ready or is there other issues I should take in... | 0 | [
2,
378,
31,
799,
23125,
51,
1242,
28,
2667,
1451,
60,
800,
3726,
3726,
31,
57,
7631,
65,
51,
1242,
642,
27,
23030,
13,
5,
108,
1936,
23045,
6,
27,
2667,
13,
5,
10157,
18,
3699,
13024,
6,
17,
59,
170,
5759,
9,
51,
1301,
25,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use sftp from within an MS Access database module?
===
I have a requirement to create a simple database in Access to collect some user data that will be loaded into another database for further reporting. There will be a module in the Access db that once invoked by the user upon clicking a button, will output ... | 0 | [
2,
184,
20,
275,
15025,
13726,
37,
363,
40,
4235,
1381,
6018,
12613,
60,
800,
3726,
3726,
31,
57,
21,
8981,
20,
1600,
21,
1935,
6018,
19,
1381,
20,
5543,
109,
4155,
1054,
30,
129,
44,
8572,
77,
226,
6018,
26,
653,
6670,
9,
80,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to make MySQL handle UTF-8 properly
===
One of the responses to [a question I asked yesterday][1] suggested that I should make sure my database can handle UTF-8 characters correctly. Anyone know how I can do this with MySQL?
Thanks!
Ben
[1]: http://stackoverflow.com/questions/198721/converting-a-word-... | 0 | [
2,
184,
20,
233,
51,
18,
22402,
3053,
287,
11720,
8,
457,
7428,
800,
3726,
3726,
53,
16,
14,
13231,
20,
636,
58,
1301,
31,
411,
7124,
500,
2558,
165,
500,
2347,
30,
31,
378,
233,
562,
51,
6018,
92,
3053,
287,
11720,
8,
457,
17... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Outlook VSTO not firing on NewMailEx event?
===
I've created a VSTO in C# that is supposed to hook Outlook 2007's NewMailEx event. However, it doesn't fire sometimes when I do a manual send/receive, or when there is only 1 unread mail in the inbox. It almost seems as if it fires on the inbox BEFORE the message actuall... | 0 | [
2,
19837,
4611,
262,
52,
7139,
27,
78,
8079,
1706,
807,
60,
800,
3726,
3726,
31,
22,
195,
679,
21,
4611,
262,
19,
272,
5910,
30,
25,
2293,
20,
5559,
19837,
624,
22,
18,
78,
8079,
1706,
807,
9,
207,
15,
32,
1437,
22,
38,
535,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
dotnet compact framework 3.5 sp1 detect device resolution
===
I need to detect the device resolution automatically, right now I have a global var & hardwire the resolution:
Public gDeviceRes As String = "640"
'Public gDeviceRes As String = "320"
then recompile for each device, does anyone have a quick s... | 0 | [
2,
14123,
2328,
8285,
6596,
203,
9,
264,
3782,
165,
9092,
3646,
4302,
800,
3726,
3726,
31,
376,
20,
9092,
14,
3646,
4302,
7499,
15,
193,
130,
31,
57,
21,
2062,
4033,
279,
552,
13482,
14,
4302,
45,
317,
489,
546,
18507,
99,
18,
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... |
Command Line limit for Solaris
===
I have an app that executes commands on a Linux server via SSH just fine. When I connect to a Solaris server, things don't work. It seems that the Solaris command line is limited to 267 characters.
Is there a way to change this? | 0 | [
2,
1202,
293,
4496,
26,
4535,
403,
800,
3726,
3726,
31,
57,
40,
4865,
30,
15644,
18,
14294,
27,
21,
13024,
8128,
1197,
13,
18,
1635,
114,
1123,
9,
76,
31,
6379,
20,
21,
4535,
403,
8128,
15,
564,
221,
22,
38,
170,
9,
32,
2206,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Custom Date/Time formatting in SQL
===
I am trying to write a stored procedure which selects columns from a table and adds 2 extra columns to the ResultSet. These 2 extra columns are the result of conversions on a field in the table which is a Datetime field.
The Datetime format field has the following format 'YYYY... | 0 | [
2,
5816,
1231,
118,
891,
2595,
1203,
19,
4444,
255,
800,
3726,
3726,
31,
589,
749,
20,
2757,
21,
8214,
7004,
56,
5407,
18,
7498,
37,
21,
859,
17,
10621,
172,
2230,
7498,
20,
14,
1736,
1198,
9,
158,
172,
2230,
7498,
50,
14,
829,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Pure-SQL Technique for Auto-Numbering Rows in Result Set
===
I'm looking for a way to sequentially number rows in a *result set* (not a table). In essence, I'm starting with a query like the following:
SELECT id, name FROM people WHERE name = 'Spiewak'
The `id`s are obviously not a true sequence (e.g. `1, 2... | 0 | [
2,
4267,
8,
18,
22402,
4873,
26,
3108,
8,
16299,
68,
11295,
19,
829,
309,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
161,
20,
1353,
5495,
10107,
102,
234,
11295,
19,
21,
1637,
29955,
309,
2483,
13,
5,
1270,
21,
859,
6,
9,
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... |
Using Nant, uncomment a block of xml in a file
===
I need to uncomment a portion of xml in a file that I am working with in NAnt. Heres a sample of the xml:
<navigation>
<!-- Navigation Section
<something name="" />
<something name="" />
-->
</navigation>
What I want to do ... | 0 | [
2,
568,
13,
11028,
15,
367,
960,
1130,
21,
1921,
16,
23504,
19,
21,
3893,
800,
3726,
3726,
31,
376,
20,
367,
960,
1130,
21,
2980,
16,
23504,
19,
21,
3893,
30,
31,
589,
638,
29,
19,
13,
11028,
9,
235,
18,
21,
5717,
16,
14,
23... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
jquery table header sort
===
Anybody know of a plugin, or a built in function to make the columns in a table sortable? i.e. I click on the column header and it sorts the rows by that column?
| 0 | [
2,
487,
8190,
93,
859,
157,
106,
2058,
800,
3726,
3726,
11181,
143,
16,
21,
10922,
108,
15,
54,
21,
392,
19,
1990,
20,
233,
14,
7498,
19,
21,
859,
2058,
579,
60,
31,
9,
62,
9,
31,
10840,
27,
14,
4698,
157,
106,
17,
32,
14357... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Eclipse & Tomcat: How to specify which folder is served from the project?
===
I'm using Eclipse 3.4 and Tomcat 5.5 and I have a Dynamic Web Project set up. I can access it from http://127.0.0.1:8080/project/ but by default it serves files from WebContent folder. The real files, that I want to serve, can be found under... | 0 | [
2,
11652,
279,
2067,
5782,
45,
184,
20,
19077,
56,
19294,
25,
423,
37,
14,
669,
60,
800,
3726,
3726,
31,
22,
79,
568,
11652,
203,
9,
300,
17,
2067,
5782,
331,
9,
264,
17,
31,
57,
21,
7782,
2741,
669,
309,
71,
9,
31,
92,
1381... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 this code invalid in C#?
===
The following code will not compile:
<pre>
<code>
string foo = "bar";
Object o = foo == null ? DBNull.Value : foo;
</code>
</pre>
I get: *Error 1 Type of conditional expression cannot be determined because there is no implicit conversion between 'System.DBNull' and 'string'... | 0 | [
2,
483,
25,
48,
1797,
16671,
19,
272,
5910,
60,
800,
3726,
3726,
14,
249,
1797,
129,
52,
26561,
45,
13,
1,
3515,
1,
13,
1,
9375,
1,
3724,
4310,
111,
800,
13,
7,
1850,
7,
73,
3095,
635,
800,
4310,
111,
800,
3726,
16203,
13,
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... |
Resolve a filename from another file
===
I can currently to the following:
class SubClass extends SuperClass {
function __construct() {
parent::__construct();
}
}
class SuperClass {
function __construct() {
// this echoes "I'm SubClass and I'm extending SuperCl... | 0 | [
2,
9854,
21,
3893,
7259,
37,
226,
3893,
800,
3726,
3726,
31,
92,
871,
20,
14,
249,
45,
718,
972,
1898,
9073,
1026,
1898,
13,
1,
1990,
13,
1,
1126,
10346,
5,
6,
13,
1,
4766,
45,
45,
1,
1126,
10346,
5,
6,
73,
13,
1,
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... |
Trigger a keypress with jQuery...and specify which key was pressed
===
I would like to have an input element (type=text) or textarea element that validates dynamically by triggering specific keystrokes. This will be used for Chinese pinyin input, so for example:
The user types "ma2" into an input element. The key... | 0 | [
2,
7286,
21,
1246,
5890,
29,
487,
8190,
93,
9,
9,
9,
290,
19077,
56,
1246,
23,
2931,
800,
3726,
3726,
31,
83,
101,
20,
57,
40,
6367,
4520,
13,
5,
4474,
3726,
11969,
6,
54,
1854,
17760,
4520,
30,
7394,
7759,
7782,
1326,
34,
728... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to build the DOM using javascript and templates?
===
I am building an application where most of the HTML is built using javascript. The DOM structure is built using some JSON data structures that are sent from the server, and then the client-side code builds a UI for that data.
My current approach is to walk... | 0 | [
2,
184,
20,
1895,
14,
11859,
568,
8247,
8741,
17,
22894,
18,
60,
800,
3726,
3726,
31,
589,
353,
40,
3010,
113,
127,
16,
14,
13,
15895,
25,
392,
568,
8247,
8741,
9,
14,
11859,
1411,
25,
392,
568,
109,
487,
528,
1054,
3815,
30,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to store year in Rails app
===
I want to just store the year in one of my models. At the moment I just have a database field called year of type date, but it seems to want to take a whole date (yyyy-mm-dd) rather than just a year.
What's the best way to store this? In a date field but using some way of just get... | 0 | [
2,
184,
20,
1718,
159,
19,
2240,
18,
4865,
800,
3726,
3726,
31,
259,
20,
114,
1718,
14,
159,
19,
53,
16,
51,
2761,
9,
35,
14,
688,
31,
114,
57,
21,
6018,
575,
227,
159,
16,
1001,
1231,
15,
47,
32,
2206,
20,
259,
20,
247,
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... |
Any way to export/import sql server reporting services subscriptions?
===
I have not been able to find a way to export/import subscriptions either in the Report Manager or by SQl Server Management Studio.
Anybody know if this is possible? | 0 | [
2,
186,
161,
20,
7487,
118,
1660,
1993,
4444,
255,
8128,
6670,
687,
14213,
18,
60,
800,
3726,
3726,
31,
57,
52,
74,
777,
20,
477,
21,
161,
20,
7487,
118,
1660,
1993,
14213,
18,
694,
19,
14,
1330,
1382,
54,
34,
4444,
255,
8128,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0... |
Logging to a file on the iPhone
===
What would be the best way to write log statements to a file or database in an iPhone application?
Ideally, NSLog() output could be redirected to a file using freopen(), but I've seen several reports that it doesn't work. Does anyone have this going already or have any ideas how... | 0 | [
2,
13,
13919,
20,
21,
3893,
27,
14,
21024,
800,
3726,
3726,
98,
83,
44,
14,
246,
161,
20,
2757,
6738,
9015,
20,
21,
3893,
54,
6018,
19,
40,
21024,
3010,
60,
5628,
102,
15,
13,
2172,
5567,
5,
6,
5196,
110,
44,
302,
14147,
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... |
rounding to an arbitrary number of significant digits
===
How can you round _any_ number (not just integers > 0) to N significant digits?
For example, if I want to round to 3 significant digits, I'm looking for a formula that could take:
1,239,451 and return 1,240,000
12.1257 and return 12.1
.0681 and retu... | 0 | [
2,
560,
68,
20,
40,
17237,
234,
16,
1505,
19076,
800,
3726,
3726,
184,
92,
42,
560,
13,
1,
6001,
1,
234,
13,
5,
1270,
114,
13820,
18,
13,
1,
713,
6,
20,
13,
103,
1505,
19076,
60,
26,
823,
15,
100,
31,
259,
20,
560,
20,
203... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 PHP DOM xml file and Open Save Prompt without writing the file to the server?
===
I've created a PHP DOM xml piece and saved it to a string like this:
<?php
// create a new XML document
$doc = new DomDocument('1.0');
...
...
...
$xmldata = $doc->saveXML();
... | 0 | [
2,
1600,
13,
26120,
11859,
23504,
3893,
17,
368,
2079,
11443,
4417,
366,
1174,
14,
3893,
20,
14,
8128,
60,
800,
3726,
3726,
31,
22,
195,
679,
21,
13,
26120,
11859,
23504,
1855,
17,
4377,
32,
20,
21,
3724,
101,
48,
45,
13,
1,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.