unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
What does "#if cpp" means in C file?
===
I am working on some source code these days. In some codes, I find these at the head. Dunno what it means. Any ideas?
#include "pth_p.h"
#if cpp
#ifndef PTH_DEBUG
#define pth_debug1(a1) /* NOP */
#define pth_de... | 0 | [
2,
98,
630,
13,
7,
5910,
821,
272,
3421,
7,
1108,
19,
272,
3893,
60,
800,
3726,
3726,
31,
589,
638,
27,
109,
1267,
1797,
158,
509,
9,
19,
109,
11358,
15,
31,
477,
158,
35,
14,
157,
9,
4731,
251,
98,
32,
1108,
9,
186,
3478,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Your Favorite JQuery Controls
===
I'm still getting into JQuery, one of the most attractive elements, is the plethora of available plug-ins and controls!
Of late, I've been a big fan of the [Accordion][1]. When styled and combined with some of the better animations it looks great. I've also just been introduced to ... | 4 | [
2,
154,
3839,
487,
8190,
93,
8671,
800,
3726,
3726,
31,
22,
79,
174,
1017,
77,
487,
8190,
93,
15,
53,
16,
14,
127,
7982,
2065,
15,
25,
14,
11375,
38,
13278,
16,
904,
10922,
8,
108,
18,
17,
8671,
187,
16,
456,
15,
31,
22,
195... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SharePoint Form Library: Programmatically or Stsadm command to change content type to custom form template
===
I have a custom site definition which includes a form library. I have a form template created in InfoPath. Through SharePoint features I can deploy everything except I cannot figure out how to change the de... | 0 | [
2,
1891,
3132,
505,
1248,
45,
625,
6732,
1326,
54,
354,
18,
1283,
79,
1202,
20,
753,
2331,
1001,
20,
5816,
505,
22894,
800,
3726,
3726,
31,
57,
21,
5816,
689,
5465,
56,
1103,
21,
505,
1248,
9,
31,
57,
21,
505,
22894,
679,
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... |
Uses for this bash filename extraction technique?
===
I have a portion of a bash script that is getting a filename without extension, but I'm trying to understand what is really going on here. What are the "%%"'s for? Can someone elaborate on what bash is doing behind the scenes? How can this technique be used on a... | 0 | [
2,
2027,
26,
48,
13158,
3893,
7259,
16748,
4873,
60,
800,
3726,
3726,
31,
57,
21,
2980,
16,
21,
13158,
3884,
30,
25,
1017,
21,
3893,
7259,
366,
3896,
15,
47,
31,
22,
79,
749,
20,
1369,
98,
25,
510,
228,
27,
235,
9,
98,
50,
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... |
ParameterMismatch exception when using Moq Callback method
===
I have an interface named IAuthorizationRepository with the following interface:
public interface IAuthorizationRepository
{
IQueryable<User> Users { get; }
Int32 SaveChanges();
void Detach(Object entity);
void Attach(IEntityWithKe... | 0 | [
2,
18906,
5858,
12280,
5391,
76,
568,
1873,
1251,
645,
1958,
2109,
800,
3726,
3726,
31,
57,
40,
6573,
377,
31,
10007,
1829,
99,
14882,
14599,
29,
14,
249,
6573,
45,
317,
6573,
31,
10007,
1829,
99,
14882,
14599,
13,
1,
13,
5312,
62... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 get interface basetype via reflection?
===
public interface IBar {}
public interface IFoo : IBar {}
typeof(IFoo).BaseType == null
How can I get IBar?
| 0 | [
2,
184,
20,
164,
6573,
1000,
4474,
1197,
9138,
60,
800,
3726,
3726,
317,
6573,
31,
1850,
13,
1,
317,
6573,
100,
4328,
13,
45,
31,
1850,
13,
1,
1001,
1041,
5,
821,
4328,
6,
9,
8436,
4474,
800,
3726,
16203,
184,
92,
31,
164,
31,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Tips for using CVS or Subversion as a backup framework for office documents
===
I've long been using subversion (and before that CVS) to store not only source files but later the LaTeX files for my research and eventually some word files and other materials.
I like the fact that I can work with multiple computers a... | 0 | [
2,
11034,
26,
568,
13,
12732,
18,
54,
972,
10898,
28,
21,
10119,
6596,
26,
488,
4374,
800,
3726,
3726,
31,
22,
195,
175,
74,
568,
972,
10898,
13,
5,
290,
115,
30,
13,
12732,
18,
6,
20,
1718,
52,
104,
1267,
6488,
47,
138,
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... |
Pros and Cons of Various Java Web Presentation Layer Technologies
===
I'm currently working on a web app that makes heavy use of JSF and IceFaces. We've had some discussions of moving to another presentation layer, and I thought I'd take the discussion out into SO and see what the experts think.
I'm curious if any... | 0 | [
2,
895,
18,
17,
11608,
16,
617,
8247,
2741,
6364,
5385,
5740,
800,
3726,
3726,
31,
22,
79,
871,
638,
27,
21,
2741,
4865,
30,
1364,
1278,
275,
16,
487,
18,
410,
17,
1392,
6413,
18,
9,
95,
22,
195,
41,
109,
11139,
16,
1219,
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... |
Handling very large numbers in Python
===
I've been considering fast poker hand evaluation in Python. It occurred to me that one way to speed the process up would be to represent all the card faces and suits as prime numbers and multiply them together to represent the hands. To whit:
class PokerCard:
f... | 0 | [
2,
7988,
253,
370,
2116,
19,
20059,
800,
3726,
3726,
31,
22,
195,
74,
5154,
1512,
12453,
224,
8670,
19,
20059,
9,
32,
2437,
20,
55,
30,
53,
161,
20,
1362,
14,
953,
71,
83,
44,
20,
3501,
65,
14,
2056,
4904,
17,
12702,
28,
1621,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting first byte in a char* buffer
===
I have a char* buffer and I am interested in looking at the first byte in the char* buffer, what is the most optimum way to go about this. | 0 | [
2,
1017,
64,
34,
591,
19,
21,
4892,
2483,
17497,
800,
3726,
3726,
31,
57,
21,
4892,
2483,
17497,
17,
31,
589,
3158,
19,
699,
35,
14,
64,
34,
591,
19,
14,
4892,
2483,
17497,
15,
98,
25,
14,
127,
29546,
161,
20,
162,
88,
48,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Can you get the name of the service method from within the WCF channel stack?
===
When writing a custom channel how can I get the name of the service method that will be called.
For example, if the operation contract looks like the following, how can I know if `Method1` or `Method2` is being called?
[OperationC... | 0 | [
2,
92,
42,
164,
14,
204,
16,
14,
365,
2109,
37,
363,
14,
11801,
410,
1318,
7566,
60,
800,
3726,
3726,
76,
1174,
21,
5816,
1318,
184,
92,
31,
164,
14,
204,
16,
14,
365,
2109,
30,
129,
44,
227,
9,
26,
823,
15,
100,
14,
1453,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 an official ASP.NET MVC reference/example app?
===
I'm struggling to find a good reference application for ASP.NET MVC. By "reference", I specifically mean an application that flexes all of the framework's features in the Microsoft-sanctioned manner, such as:
- Master pages
- Partial views
- Strongly-... | 0 | [
2,
25,
80,
40,
989,
28,
306,
9,
2328,
307,
8990,
2801,
118,
29041,
4865,
60,
800,
3726,
3726,
31,
22,
79,
7587,
20,
477,
21,
254,
2801,
3010,
26,
28,
306,
9,
2328,
307,
8990,
9,
34,
13,
7,
28018,
7,
15,
31,
3524,
884,
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... |
Are java and c# regular expressions compatible?
===
Both languages claim to use Perl style regular expressions. If I have one language test a regular expression for validity, will it work in the other? Where do the regular expression syntaxes differ?
The use case here is a c# (.net) UI talking to an eventual java ... | 0 | [
2,
50,
8247,
17,
272,
5910,
1290,
13832,
14961,
60,
800,
3726,
3726,
156,
2556,
2632,
20,
275,
416,
255,
1034,
1290,
13832,
9,
100,
31,
57,
53,
816,
1289,
21,
1290,
1803,
26,
19058,
15,
129,
32,
170,
19,
14,
89,
60,
113,
107,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to use xpath in java to get the contents of a cdata node with HTML in it
===
example...
<xml>
<level1>
<level2>
<![CDATA[ Release Date: 11/20/09 <br />View Trailer ]]>
</level2>
</level1>
</xml>
when I use inFeed.getXpath().evaluate("xml/level1/level2", myNodeList... | 0 | [
2,
25,
32,
938,
20,
275,
993,
8353,
19,
8247,
20,
164,
14,
8478,
16,
21,
1745,
4375,
15421,
29,
13,
15895,
19,
32,
800,
3726,
3726,
823,
9,
9,
9,
13,
1,
396,
8184,
1,
13,
1,
3906,
165,
1,
13,
1,
3906,
135,
1,
13,
1,
187,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Server Reporting Services Pricing
===
I am trying to understand the pricing requirements for a client to deploy reporting services reports to the web. Do they have to buy any sort of special Report Server license in order to deploy reports, or is that included in the standard versions of SQL 2005? | 0 | [
2,
4444,
255,
8128,
6670,
687,
24318,
800,
3726,
3726,
31,
589,
749,
20,
1369,
14,
24318,
4786,
26,
21,
6819,
20,
17617,
6670,
687,
2813,
20,
14,
2741,
9,
107,
59,
57,
20,
3034,
186,
2058,
16,
621,
1330,
8128,
3962,
19,
389,
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,
0,
0... |
What rails plugins are good, stable and *really* enhance your code?
===
Anyone have a list of rails plugins that are both *stable* and give you enough functionality to be worth the extra effort of supporting? | 0 | [
2,
98,
2240,
18,
10922,
108,
18,
50,
254,
15,
4521,
17,
1637,
15257,
2483,
10734,
154,
1797,
60,
800,
3726,
3726,
1276,
57,
21,
968,
16,
2240,
18,
10922,
108,
18,
30,
50,
156,
1637,
18,
5924,
2483,
17,
590,
42,
511,
18548,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
default value for clousures params in groovy
===
Is there some way to use default parameters values with clousures on groovy???
this is what I tried so far:
class Persona {
String name
Persona( String name ) {
this.name = name
}
String salute( Stri... | 0 | [
2,
12838,
1923,
26,
7383,
267,
4221,
18,
2258,
79,
18,
19,
3452,
2026,
93,
800,
3726,
3726,
25,
80,
109,
161,
20,
275,
12838,
12905,
4070,
29,
7383,
267,
4221,
18,
27,
3452,
2026,
93,
60,
60,
60,
48,
25,
98,
31,
794,
86,
463,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 portable is an STL typedef?
===
Is the following code portable?
template<typename In>
struct input_sequence_range : public pair<In,In> {
input_sequence_range(In first, In last) : pair<In,In>(first, last) { }
};
template<typename Arr>
input_sequence_range<Arr*> iseq(Arr* a,
... | 0 | [
2,
184,
13469,
25,
40,
354,
255,
1001,
13862,
60,
800,
3726,
3726,
25,
14,
249,
1797,
13469,
60,
22894,
1,
4474,
7259,
19,
1,
13,
10346,
6367,
1,
29413,
1,
8366,
13,
45,
317,
2146,
1,
108,
15,
108,
1,
13,
1,
6367,
1,
29413,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are your risk management strategies?
===
We're a small web development business and we eventually want to release web applications as well. Right now, we're doing some risk assessment and would like to know what other companies do for security and risk management. What are your risk management strategies and prac... | 0 | [
2,
98,
50,
154,
2029,
1097,
10272,
60,
800,
3726,
3726,
95,
22,
99,
21,
284,
2741,
522,
508,
17,
95,
878,
259,
20,
830,
2741,
3767,
28,
134,
9,
193,
130,
15,
95,
22,
99,
845,
109,
2029,
6008,
17,
83,
101,
20,
143,
98,
89,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 bad is the following snippet? (c#)
===
My question is simple: how bad is the following snippet of code? How would *you* do it?
CancelEventHandler _doStuff;
private CancelEventHandler doStuff
{
set
{
clearEventHandlerList();
this.Closing += value;
_doStuff ... | 0 | [
2,
184,
896,
25,
14,
249,
13,
29061,
60,
13,
5,
150,
5910,
6,
800,
3726,
3726,
51,
1301,
25,
1935,
45,
184,
896,
25,
14,
249,
13,
29061,
16,
1797,
60,
184,
83,
1637,
245,
2483,
107,
32,
60,
14815,
4943,
96,
290,
1252,
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... |
How good is Subversion at storing lots of binary files?
===
I'm looking for a place to put a few GB of documents (mostly `.doc` and `.xls`). My team already has a Subversion server set up for managing the documents we create, so I'd prefer to use that if possible. How well will Subversion handle all this extra stuff... | 0 | [
2,
184,
254,
25,
972,
10898,
35,
25615,
7503,
16,
14171,
6488,
60,
800,
3726,
3726,
31,
22,
79,
699,
26,
21,
209,
20,
442,
21,
310,
14857,
16,
4374,
13,
5,
18397,
13,
1,
9,
13799,
1,
17,
13,
1,
9,
396,
7532,
1,
6,
9,
51,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Including metadata in a template file?
===
I have a system that filters template files through erb. In an attempt to use convention over configuration, the output files get created in a file hierarchy that mirrors the input files. Many of the files have the same names, and I was able to use the directories to differ... | 0 | [
2,
215,
28057,
19,
21,
22894,
3893,
60,
800,
3726,
3726,
31,
57,
21,
329,
30,
21062,
22894,
6488,
120,
13,
106,
220,
9,
19,
40,
1735,
20,
275,
3087,
84,
8091,
15,
14,
5196,
6488,
164,
679,
19,
21,
3893,
14417,
30,
17298,
14,
6... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I draw text with GLUT / OpenGL in C++?
===
How do I draw a text string onto the screen using GLUT / OpenGL drawing functions? | 0 | [
2,
184,
107,
31,
2003,
1854,
29,
21697,
13,
118,
368,
8430,
19,
272,
20512,
60,
800,
3726,
3726,
184,
107,
31,
2003,
21,
1854,
3724,
1204,
14,
2324,
568,
21697,
13,
118,
368,
8430,
3533,
3719,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Using sed, how do you print the first 'N' characters of a line?
===
With sed, what is a one liner to print the first n characters. I am doing the following.
grep -G 'defn -test.*' OctaneFullTest.clj | sed .... | 0 | [
2,
568,
13924,
15,
184,
107,
42,
4793,
14,
64,
13,
22,
103,
22,
1766,
16,
21,
293,
60,
800,
3726,
3726,
29,
13924,
15,
98,
25,
21,
53,
12588,
20,
4793,
14,
64,
13,
103,
1766,
9,
31,
589,
845,
14,
249,
9,
5604,
306,
13,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Python format timedelta to string
===
I'm a python newbie (2 weeks) and I'm having trouble formatting a datetime.timedelta object.
Here's what I'm trying to do. I have a list of objects and one of the members of the class of the object is a timedelta object that shows the duration of an event. I would like to dis... | 0 | [
2,
20059,
2595,
85,
3436,
536,
20,
3724,
800,
3726,
3726,
31,
22,
79,
21,
20059,
78,
5893,
13,
5,
135,
1342,
6,
17,
31,
22,
79,
452,
2572,
2595,
1203,
21,
1231,
891,
9,
891,
3436,
536,
3095,
9,
235,
22,
18,
98,
31,
22,
79,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Instianiate A Class For Testing
===
I need to test a method belonging to a service class. This service class has several dependencies in the constructor, some used by this method, some not. If we should not be using a DI container for our unit tests what is the best way to instantiate the service class?
var s... | 0 | [
2,
19,
18,
6248,
15882,
21,
718,
26,
4431,
800,
3726,
3726,
31,
376,
20,
1289,
21,
2109,
5979,
20,
21,
365,
718,
9,
48,
365,
718,
63,
238,
29411,
19,
14,
6960,
248,
15,
109,
147,
34,
48,
2109,
15,
109,
52,
9,
100,
95,
378,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fundamental GWT asynchronous call misunderstanding...
===
I seem to be suffering from some fundamental misunderstanding of the way that GWT async calls work and/or how widgets are updated upon receipt of a callback.
I've created the two interfaces as well as the implementation and they seem to be communicating with... | 0 | [
2,
6377,
14094,
38,
21,
16023,
1291,
645,
13,
21558,
9,
9,
9,
800,
3726,
3726,
31,
2260,
20,
44,
4957,
37,
109,
6377,
13,
21558,
16,
14,
161,
30,
14094,
38,
21,
9507,
150,
3029,
170,
17,
118,
248,
184,
4807,
43,
3060,
18,
50,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to put Google Adsense in GWT
===
Do anyone know how to put Google adsense ads inside a GWT web application? | 0 | [
2,
184,
20,
442,
8144,
16236,
6498,
19,
14094,
38,
800,
3726,
3726,
107,
1276,
143,
184,
20,
442,
8144,
16236,
6498,
16236,
572,
21,
14094,
38,
2741,
3010,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
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... |
Instruments - Target terminated too early to collect data
===
I am using my iPhone as a development device. Whenever I run an application on the iPhone with Instruments (Instruments->Launch Executable->my app), the app is launched but I get the error mentioned in the subject in Instruments.
I have tried removing th... | 0 | [
2,
4507,
13,
8,
2935,
13780,
266,
274,
20,
5543,
1054,
800,
3726,
3726,
31,
589,
568,
51,
21024,
28,
21,
522,
3646,
9,
6634,
31,
485,
40,
3010,
27,
14,
21024,
29,
4507,
13,
5,
108,
11602,
6601,
8,
1,
18494,
1396,
17194,
5924,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Memory management. Is this single line of code correct?
===
Do I have a leak with this statement?
//Pass the copy onto the child controller
self.childController.theFoodFacilityCopy = [self.theFoodFacility copy];
My property is set to:
@property (nonatomic, retain) FoodFacility *theFoodFacilityCopy;
T... | 0 | [
2,
1912,
1097,
9,
25,
48,
345,
293,
16,
1797,
4456,
60,
800,
3726,
3726,
107,
31,
57,
21,
11724,
29,
48,
3331,
60,
12894,
6201,
14,
4344,
1204,
14,
850,
9919,
1119,
9,
11287,
12898,
1252,
9,
124,
20652,
1473,
150,
20901,
19625,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 get the same time and Day next month uding DateTime in c#
===
I have a c# DateTime object and I need to increment it by one month.
example:
input output
-------------------------------
Jan 12, 2005 Feb 12, 2005
Feb 28, 2009 Mar 28, 2009
Dec 31, 2009 Jan 31, 2010
... | 0 | [
2,
184,
20,
164,
14,
205,
85,
17,
208,
328,
1617,
287,
3258,
1231,
891,
19,
272,
5910,
800,
3726,
3726,
31,
57,
21,
272,
5910,
1231,
891,
3095,
17,
31,
376,
20,
13,
28461,
32,
34,
53,
1617,
9,
823,
45,
6367,
5196,
13,
8,
8,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SharePoint Preserve Page Properties and WebParts
===
Hi I was wondering If there is away to save a page in sharepoint. I want to save the default page, and replicate it on a mirror server. I want the web parts in the same place, and the properties of the web parts to stay intact. Any suggestions? Thank you. | 0 | [
2,
1891,
3132,
6224,
2478,
3704,
17,
2741,
3091,
18,
800,
3726,
3726,
4148,
31,
23,
5712,
100,
80,
25,
229,
20,
2079,
21,
2478,
19,
1891,
3132,
9,
31,
259,
20,
2079,
14,
12838,
2478,
15,
17,
22156,
32,
27,
21,
3402,
8128,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 GetHashCode is not a property like HashCode in .NET
===
Any ideas? | 0 | [
2,
483,
164,
25436,
9375,
25,
52,
21,
1354,
101,
19170,
9375,
19,
13,
9,
2328,
800,
3726,
3726,
186,
3478,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Why should I NOT use the GAC?
===
There have been a few questions asked along this line stackoverflow such as
[What are the advantages and disadvantages of using the GAC][1]
and [When and when-not to install into the GAC?][2] and a few people have asked it on the
web [expamle][3]. I can't any convincing arguments... | 0 | [
2,
483,
378,
31,
52,
275,
14,
4369,
150,
60,
800,
3726,
3726,
80,
57,
74,
21,
310,
2346,
411,
303,
48,
293,
7566,
2549,
9990,
145,
28,
636,
608,
50,
14,
14683,
17,
13387,
18,
16,
568,
14,
4369,
150,
500,
2558,
165,
500,
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... |
How do I delete the closest "Point" object in a STD::List to some x,y?
===
I have a point class like:
class Point {
public:
int x, y;
Point(int x1, int y1)
{
x = x1;
y = y1;
}
};
and a list of points:
std::list <Point> pointList;
... | 0 | [
2,
184,
107,
31,
27448,
14,
6993,
13,
7,
3132,
7,
3095,
19,
21,
354,
43,
45,
45,
5739,
20,
109,
993,
15,
93,
60,
800,
3726,
3726,
31,
57,
21,
454,
718,
101,
45,
718,
454,
13,
1,
317,
45,
19,
38,
993,
15,
13,
93,
73,
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... |
Parser Error Message: The file '/TestSite/Default.aspx.cs' does not exist.
===
Short story.
This site was created by a friend of mine, who did not know that much C# or asp. And was firstly created in VS 2k3. When i converted it to VS 2k8 these errors started to crop up, there was also other issues with compiling that... | 0 | [
2,
2017,
4104,
7019,
2802,
45,
14,
3893,
13,
22,
118,
10543,
9097,
118,
13862,
9708,
9,
472,
306,
396,
9,
6824,
22,
630,
52,
3182,
9,
800,
3726,
3726,
502,
609,
9,
48,
689,
23,
679,
34,
21,
860,
16,
1114,
15,
72,
144,
52,
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... |
Is there an IDictionary implementation that returns null on missing key instead of throwing?
===
The indexer into Dictionary throws an exception if the key is missing. Is there an implementation of IDictionary that instead will return default(T)?
I know about the "TryGetValue" method, but that's impossible to use ... | 0 | [
2,
25,
80,
40,
31,
22595,
1857,
6123,
30,
4815,
16203,
27,
2863,
1246,
700,
16,
6033,
60,
800,
3726,
3726,
14,
4348,
106,
77,
9186,
13566,
40,
5391,
100,
14,
1246,
25,
2863,
9,
25,
80,
40,
6123,
16,
31,
22595,
1857,
30,
700,
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... |
Looking for a Hash Function /Ordered Int/ to /Shuffled Int/
===
I am looking for constant time algorithm can change an ordered integer index value into a random hash index. It would nice if it is reversible. I need that hash key is unique for each index. I know that this could be done with a table look up in a large f... | 0 | [
2,
699,
26,
21,
19170,
1990,
13,
118,
7861,
69,
19,
38,
118,
20,
13,
118,
1635,
5386,
1294,
19,
38,
118,
800,
3726,
3726,
31,
589,
699,
26,
3587,
85,
9083,
92,
753,
40,
1905,
13820,
4348,
1923,
77,
21,
5477,
19170,
4348,
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... |
Best way to store time (hh:mm) in a database.
===
I want to store times in a database table but only need to store the hours and minutes.
I know I could just use DATETIME and ignore the other components of the date, but what's the best way to do this without storing more info than I actually need? | 0 | [
2,
246,
161,
20,
1718,
85,
13,
5,
10681,
45,
3363,
6,
19,
21,
6018,
9,
800,
3726,
3726,
31,
259,
20,
1718,
436,
19,
21,
6018,
859,
47,
104,
376,
20,
1718,
14,
974,
17,
902,
9,
31,
143,
31,
110,
114,
275,
1231,
891,
17,
717... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can an ObjectDataSource have more than 1 sort expression?
===
Can an ObjectDataSource have multiple SortExpression's?
Thanks,
XaiSoft | 0 | [
2,
92,
40,
3095,
18768,
12097,
57,
91,
119,
137,
2058,
1803,
60,
800,
3726,
3726,
92,
40,
3095,
18768,
12097,
57,
1886,
2058,
28993,
22,
18,
60,
3669,
15,
13,
6791,
49,
12980,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to tell if a <script> tag failed to load
===
I'm dynamically adding `<script>` tags to a page's `<head>`, and I'd like to be able to tell whether the loading failed.
In Firefox, this works:
var script_tag = document.createElement('script');
script_tag.setAttribute('type', 'text/javascript');
sc... | 0 | [
2,
184,
20,
494,
100,
21,
13,
1,
8741,
1,
3383,
1702,
20,
6305,
800,
3726,
3726,
31,
22,
79,
7782,
1326,
4721,
13,
1,
8741,
1,
3383,
18,
20,
21,
2478,
22,
18,
13,
1,
1743,
1,
15,
17,
31,
22,
43,
101,
20,
44,
777,
20,
494... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What libraries are available for manipulating super large images? .Net
===
I have some really large files for example 320 MB tif file with 14000 X 9000 pixels.
The operations I need to perform are basically scaling the images to get smaller versions of it and breaking the image into tiles.
My code works fine wit... | 0 | [
2,
98,
8649,
50,
904,
26,
27799,
1026,
370,
3502,
60,
13,
9,
2328,
800,
3726,
3726,
31,
57,
109,
510,
370,
6488,
26,
823,
13,
12402,
14023,
13,
38,
821,
3893,
29,
513,
3993,
993,
561,
3993,
18146,
18,
9,
14,
1311,
31,
376,
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... |
Can i get the key of a style in code-behind? (WPF)
===
If I have the following code:
Style defaultStyle = (Style)FindResource("MyTestStyle");
Is there a way to get the name of the style (i.e. reverse-lookup)? Something like:
string name = defaultStyle.SomeMagicLookUpFunction()
Where name would eval... | 0 | [
2,
92,
31,
164,
14,
1246,
16,
21,
1034,
19,
1797,
8,
24878,
60,
13,
5,
499,
7721,
6,
800,
3726,
3726,
100,
31,
57,
14,
249,
1797,
45,
1034,
12838,
4381,
800,
13,
5,
4381,
6,
19811,
99,
12097,
5,
7,
915,
10543,
4381,
7,
6,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java equivalent of register int?
===
In C, I can allocate a register for a variable, for example:
register int i = 0;
I am aware that Java is an interpreted language, and is many many abstractions away from the CPU.
Is there any mechanism available to even request (and if the architecture doesn't allow it... | 0 | [
2,
8247,
4602,
16,
2243,
19,
38,
60,
800,
3726,
3726,
19,
272,
15,
31,
92,
65,
111,
9530,
21,
2243,
26,
21,
7612,
15,
26,
823,
45,
2243,
19,
38,
31,
800,
713,
73,
31,
589,
3854,
30,
8247,
25,
40,
10394,
816,
15,
17,
25,
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... |
A couple of questions about Maven 2
===
i have some questions about Maven 2 and i hope somebody can clear things up for me:
1. If i define a plugin in the <build> tag and want to use this in my site command how do i do that? Do i have to define the plugin within <reporting> tag? And how about the configuration whic... | 0 | [
2,
21,
1335,
16,
2346,
88,
1216,
3124,
172,
800,
3726,
3726,
31,
57,
109,
2346,
88,
1216,
3124,
172,
17,
31,
1376,
8861,
92,
1207,
564,
71,
26,
55,
45,
137,
9,
100,
31,
9267,
21,
10922,
108,
19,
14,
13,
1,
29361,
1,
3383,
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... |
How to setup virtualbox for .NET development
===
I'm tying to make the jump to running my development tools in virtual machines and am wondering about any tips as far as setting up such an environment
Some specifics:
- I am using VirtualBox.
- My host pc is WindowsXP
- I am looking to install Vista in ... | 0 | [
2,
184,
20,
18161,
6599,
5309,
26,
13,
9,
2328,
522,
800,
3726,
3726,
31,
22,
79,
19160,
20,
233,
14,
3936,
20,
946,
51,
522,
4672,
19,
6599,
6035,
17,
589,
5712,
88,
186,
11034,
28,
463,
28,
2697,
71,
145,
40,
2307,
109,
1903... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 keep a caught exception from reporting as uncaught in a blackberry app?
===
I have some code in a blackberry application that catches an exception at some point, does some handling in the catch block then rethrows the exception, which is caught higher up on the call stack. However even though i do catch it l... | 0 | [
2,
184,
107,
31,
643,
21,
1383,
5391,
37,
6670,
28,
16061,
12647,
19,
21,
27367,
4865,
60,
800,
3726,
3726,
31,
57,
109,
1797,
19,
21,
27367,
3010,
30,
12195,
40,
5391,
35,
109,
454,
15,
630,
109,
7988,
19,
14,
2949,
1921,
94,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Ajax MVC script errors?
===
"Object of type sys_application cannot be converteed to type sys_application"
I am getting this errors when i put the Ajax mvc scripts in site master. In addition, Request.IsAjaxRequest appears to be returning false every time. I am trying to submit ajax form. What could this be?
| 0 | [
2,
20624,
307,
8990,
3884,
11908,
60,
800,
3726,
3726,
13,
7,
23793,
16,
1001,
10315,
18,
1,
2552,
20669,
1967,
44,
8406,
62,
69,
20,
1001,
10315,
18,
1,
2552,
20669,
7,
31,
589,
1017,
48,
11908,
76,
31,
442,
14,
20624,
307,
899... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 windows work in qt embedded?
===
How does windowing work in qt embedded, where Qt is drawing directly to a framebuffer instead of through a separate windowing system? | 0 | [
2,
184,
107,
1936,
170,
19,
2593,
38,
12138,
60,
800,
3726,
3726,
184,
630,
1463,
68,
170,
19,
2593,
38,
12138,
15,
113,
2593,
38,
25,
3533,
1703,
20,
21,
3523,
2345,
6866,
700,
16,
120,
21,
1725,
1463,
68,
329,
60,
3,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Tomcat not shown on the Eclipse
===
I'm trying to install tomcat sysdeo plugin for Eclipse, but I ran into some problems before I even got to the setting/configuration part of the plugin.
When I run my Eclipse, under Preferences, I do not see tomcat section.
Besides downloading the tomcat, I know I'm missing some ... | 0 | [
2,
2067,
5782,
52,
1721,
27,
14,
11652,
800,
3726,
3726,
31,
22,
79,
749,
20,
16146,
2067,
5782,
10315,
18,
546,
111,
10922,
108,
26,
11652,
15,
47,
31,
717,
77,
109,
1716,
115,
31,
166,
330,
20,
14,
2697,
118,
1126,
13549,
857,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In Rails, how can I ensure users enter form data in correct order?
===
I have a Rails app with a model whose fields are dates which are checkpoints for a certain process.
I want to prevent the user entering a date for the nth checkpoint until they have entered a date for the (n-1)th.
Obviously, I can validate in... | 0 | [
2,
19,
2240,
18,
15,
184,
92,
31,
4062,
3878,
2830,
505,
1054,
19,
4456,
389,
60,
800,
3726,
3726,
31,
57,
21,
2240,
18,
4865,
29,
21,
1061,
1196,
2861,
50,
4076,
56,
50,
23306,
18,
26,
21,
1200,
953,
9,
31,
259,
20,
2501,
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... |
Legacy Schema and dynamic find (Ruby on Rails)
===
I'm trying to put a rails face on a legacy database. It is an old Sybase
11 database installation. I've gotten an ODBC connection working that
uses unixODBC and FreeTDS to work. I'm also using the
activerecord-odbc-adapter gem.
I've had to use set_table_name a... | 0 | [
2,
7780,
23874,
17,
7782,
477,
13,
5,
1820,
779,
27,
2240,
18,
6,
800,
3726,
3726,
31,
22,
79,
749,
20,
442,
21,
2240,
18,
276,
27,
21,
7780,
6018,
9,
32,
25,
40,
315,
10315,
8436,
547,
6018,
7758,
9,
31,
22,
195,
4094,
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... |
MSSQL Date Functions
===
When I add this to my where clause:
DueDate <= getDate() && DueDate != null
I get a nice little failure that says:
Could not create child: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.EvaluateException: The e... | 0 | [
2,
4235,
18,
22402,
1231,
3719,
800,
3726,
3726,
76,
31,
3547,
48,
20,
51,
113,
9040,
45,
397,
8209,
13,
1,
3726,
164,
8209,
5,
6,
279,
1569,
397,
8209,
13,
187,
3726,
16203,
31,
164,
21,
2210,
265,
2990,
30,
898,
45,
110,
52,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I get the current mouse position in C++ / OpenGL?
===
I know that I can use a Mouse callback function for when a user clicks the mouse, but what if I want to know the current x/y position without the user clicking?
Will I have to use a different callback that gets called on any mouse movement and keep track ... | 0 | [
2,
184,
107,
31,
164,
14,
866,
7567,
649,
19,
272,
20512,
13,
118,
368,
8430,
60,
800,
3726,
3726,
31,
143,
30,
31,
92,
275,
21,
7567,
645,
1958,
1990,
26,
76,
21,
4155,
10840,
18,
14,
7567,
15,
47,
98,
100,
31,
259,
20,
143... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
limiting emails from smtpappender (log4Net)
===
I am looking for a way to limit SmtpAppender to limit number of emails sent in case of same error is occurred multiple times in a defined time span.
I don't know if it is even possible, any help will be appreciated
| 0 | [
2,
17567,
8517,
18,
37,
7613,
13726,
22358,
1157,
13,
5,
5567,
300,
2328,
6,
800,
3726,
3726,
31,
589,
699,
26,
21,
161,
20,
4496,
7613,
13726,
22358,
1157,
20,
4496,
234,
16,
8517,
18,
795,
19,
610,
16,
205,
7019,
25,
2437,
188... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 keep your table from "flexing" in IE6/7
===
I have some tabular data with some functionality to "view details" that fires off an ajax call to append a few new elements to the DOM (usually I insert another TR just after the selected row and innerHTML or append inside a TD with a colspan.
My question is this, ... | 0 | [
2,
184,
20,
643,
154,
859,
37,
13,
7,
19752,
68,
7,
19,
13,
660,
12626,
465,
800,
3726,
3726,
31,
57,
109,
6523,
7451,
1054,
29,
109,
18548,
20,
13,
7,
4725,
3289,
7,
30,
11327,
168,
40,
20624,
645,
20,
4865,
2451,
21,
310,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 notify Google through code that there is a updated sitemap?
===
On this page of Google help:
<https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html#submitting>
Google mentions that there is a way to notify them of an updated sitemap using an HTTP request.
When you click the link, i... | 0 | [
2,
184,
107,
42,
52,
8612,
8144,
120,
1797,
30,
80,
25,
21,
6372,
689,
15022,
60,
800,
3726,
3726,
27,
48,
2478,
16,
8144,
448,
45,
13,
1,
21127,
18,
6903,
6483,
9,
16111,
4875,
9,
960,
118,
14113,
4594,
18,
118,
20799,
18,
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... |
emacs - regular expressions in lisp need to be double-escaped...why?
===
I've been playing around with emacs lisp, and I wanted to write a little function to do a regular expression search and replace. I had a heck of a time getting the regular expression to work correctly because I didn't realize that all the specia... | 0 | [
2,
13,
62,
6893,
18,
13,
8,
1290,
13832,
19,
2093,
3401,
376,
20,
44,
1494,
8,
13944,
3631,
9,
9,
9,
2256,
60,
800,
3726,
3726,
31,
22,
195,
74,
791,
140,
29,
13,
62,
6893,
18,
2093,
3401,
15,
17,
31,
417,
20,
2757,
21,
26... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Itereting hierarchy of nodes - Visitor and Composite ?
===
Let's imagine I have a collection of nodes that I use for my Renderer class later on. Then I have a Visitor class that can visit node or whole collection. It's simple because my collection of nodes it's simply a wrapper to the std::list with few extra methods.... | 0 | [
2,
32,
6345,
1203,
14417,
16,
16272,
13,
8,
10875,
17,
12639,
13,
60,
800,
3726,
3726,
408,
22,
18,
4382,
31,
57,
21,
1206,
16,
16272,
30,
31,
275,
26,
51,
16535,
106,
718,
138,
27,
9,
94,
31,
57,
21,
10875,
718,
30,
92,
213... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
iPhone: one nib, different assets. Bundles?
===
I have an iPhone application that comes in differently skinned flavors, with different art assets and sounds, but all the same code.
I've got things set up with multiple targets, but the problem I'm having is I have to have a different set of UIBuilder nib files, one... | 0 | [
2,
21024,
45,
53,
1781,
220,
15,
421,
6223,
9,
10194,
18,
60,
800,
3726,
3726,
31,
57,
40,
21024,
3010,
30,
1624,
19,
12670,
13,
22531,
11974,
18,
15,
29,
421,
415,
6223,
17,
2795,
15,
47,
65,
14,
205,
1797,
9,
31,
22,
195,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting the name of a child class in PHP
===
Lets say I'm building a base class which will be extended upon by the children class. So a base class is called `Base` and children can be `Child1`, `Child2`, etc.
In the base class's constructor, how can i get the value of Child1/Child2?
This is all using PHP | 0 | [
2,
1017,
14,
204,
16,
21,
850,
718,
19,
13,
26120,
800,
3726,
3726,
6884,
395,
31,
22,
79,
353,
21,
1000,
718,
56,
129,
44,
1984,
685,
34,
14,
391,
718,
9,
86,
21,
1000,
718,
25,
227,
13,
1,
8436,
1,
17,
391,
92,
44,
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... |
Introduction to Botting?
===
Does anyone out there had a good tutorial or introduction to the various forms of botting? This includes botting for video games and web pages (like spiders, botting, and web scraping). I am not looking for how to do anything malicious, this is purely educational, so please do not link to ... | 0 | [
2,
3445,
20,
20569,
68,
60,
800,
3726,
3726,
630,
1276,
70,
80,
41,
21,
254,
29724,
54,
3445,
20,
14,
617,
1997,
16,
20569,
68,
60,
48,
1103,
20569,
68,
26,
763,
466,
17,
2741,
4434,
13,
5,
1403,
16235,
15,
20569,
68,
15,
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... |
How do you archive an entire website for offline viewing?
===
We actually have burned static/archived copies of our asp.net websites for customers many times. We have used [WebZip][1] until now but we have had endless problems with crashes, downloaded pages not being re-linked correctly, etc.
We basically need an ... | 0 | [
2,
184,
107,
42,
9250,
40,
1078,
2271,
26,
168,
1143,
11244,
60,
800,
3726,
3726,
95,
1121,
57,
3937,
12038,
118,
23941,
43,
3298,
16,
318,
28,
306,
9,
2328,
13931,
26,
5279,
151,
436,
9,
95,
57,
147,
636,
14113,
2553,
306,
500,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Java - static methods best practices
===
Let's say I have a class designed to be instantiated. I have several private "helper" methods inside the class that do not require access to any of the class members, and operate solely on their arguments, returning a result.
public class Example {
private Someth... | 0 | [
2,
8247,
13,
8,
12038,
3195,
246,
5242,
800,
3726,
3726,
408,
22,
18,
395,
31,
57,
21,
718,
1006,
20,
44,
6322,
49,
1669,
9,
31,
57,
238,
932,
13,
7,
14593,
106,
7,
3195,
572,
14,
718,
30,
107,
52,
4077,
1381,
20,
186,
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... |
Launching background threads on GWT startup
===
I have a GWT application that displays some charts rendered by JFreeChart. Every few minutes, the page refreshes, which causes the app to generate new charts. (In other words, the entire chart generation process is bootstrapped by a client request.) The problem with this... | 0 | [
2,
13762,
2395,
20396,
27,
14094,
38,
20205,
800,
3726,
3726,
31,
57,
21,
14094,
38,
3010,
30,
9412,
109,
5158,
10877,
34,
487,
4639,
5433,
38,
9,
352,
310,
902,
15,
14,
2478,
24905,
160,
15,
56,
4047,
14,
4865,
20,
7920,
78,
51... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Parallel/Async Download of S3 data into EC2 in Python?
===
I have large data files stored in S3 that I need to analyze. Each batch consists of ~50 files, each of which can be analyzed independently.
I'd like to setup parallel downloads of the S3 data into the EC2 instance, and setup triggers that start the analysi... | 0 | [
2,
3821,
118,
58,
9507,
150,
7121,
16,
13,
18,
240,
1054,
77,
6695,
135,
19,
20059,
60,
800,
3726,
3726,
31,
57,
370,
1054,
6488,
8214,
19,
13,
18,
240,
30,
31,
376,
20,
16051,
9,
206,
13064,
2043,
16,
13,
1,
2290,
6488,
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... |
java.lang.UnsatisfiedLinkError in Linux.
===
I've managed to get into a linux machine to try the HotKey library suggested in [this answer.][1]
I've compiled the sample code and now I run the program and I've got the following message:
<pre>
[oracle@machine jxgrabkey-0.2.1_i386]$ java -classpath lib/JXGrabKey.jar:... | 0 | [
2,
8247,
9,
9949,
9,
1020,
18,
5166,
18,
1707,
69,
6258,
29992,
19,
13024,
9,
800,
3726,
3726,
31,
22,
195,
1471,
20,
164,
77,
21,
13024,
1940,
20,
1131,
14,
1047,
4237,
1248,
2347,
19,
636,
1565,
1623,
9,
500,
2558,
165,
500,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 JQGrid in conjunction with WCF Web Services
===
I am trying to obtain the data for JQGrid from a WCF Web service that is running from within my ASP.NET 2.0 WebForms application. The problem is that the WCF Web service expects the data to be formatted as a JSON string, and JQGrid is performing an HTTP Post and p... | 0 | [
2,
568,
487,
1251,
16375,
19,
9558,
29,
11801,
410,
2741,
687,
800,
3726,
3726,
31,
589,
749,
20,
5545,
14,
1054,
26,
487,
1251,
16375,
37,
21,
11801,
410,
2741,
365,
30,
25,
946,
37,
363,
51,
28,
306,
9,
2328,
172,
9,
387,
27... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why is my <Perl> section variable only available sometimes under mod_perl?
===
In httpd.conf I have:
<Perl>
$MyPackage::foo = { ... };
</Perl>
According to the docs, this should, since it's qualified, persist into my perl scripts, which are run with the modperl handler. And sometimes they do. ... | 0 | [
2,
483,
25,
51,
13,
1,
1432,
255,
1,
1050,
7612,
104,
904,
1030,
131,
7226,
1,
1432,
255,
60,
800,
3726,
3726,
19,
7775,
43,
9,
14093,
31,
57,
45,
13,
1,
1432,
255,
1,
5579,
915,
8573,
1303,
45,
45,
4120,
111,
800,
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... |
SSRS 2005 - Configuring User Authentication/Authorization
===
I have created an ASP.NET 2.0 web application and would like to use SSRS 2005 for reporting purposes.
The web application uses forms authentication and custom roles for authorization. I have created reports and deployed it to a our SQL Server 2005 box.
... | 0 | [
2,
22118,
18,
812,
13,
8,
1065,
13549,
68,
4155,
27963,
118,
10007,
1829,
800,
3726,
3726,
31,
57,
679,
40,
28,
306,
9,
2328,
172,
9,
387,
2741,
3010,
17,
83,
101,
20,
275,
22118,
18,
812,
26,
6670,
4612,
9,
14,
2741,
3010,
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... |
Playing a sound notification using Google Web Toolkit
===
Is it possible to play a sound notification using Google Web Toolkit which will be translated to Javascript? Thanks. | 0 | [
2,
791,
21,
646,
52,
4634,
568,
8144,
2741,
5607,
13703,
800,
3726,
3726,
25,
32,
938,
20,
418,
21,
646,
52,
4634,
568,
8144,
2741,
5607,
13703,
56,
129,
44,
4331,
20,
8247,
8741,
60,
3669,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How do I get the header height of a Listview - c#
===
Can sombody tell me how to get the header height of a list view.
Thanks | 0 | [
2,
184,
107,
31,
164,
14,
157,
106,
2947,
16,
21,
968,
4725,
13,
8,
272,
5910,
800,
3726,
3726,
92,
86,
79,
9760,
494,
55,
184,
20,
164,
14,
157,
106,
2947,
16,
21,
968,
1418,
9,
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,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Can I stop CakePHP fetching all rows for a query?
===
I'm using CakePHP with $modelName->find(...)
calls to select quite a number of rows (could be hundreds)
Normally, in PHP/MySQL of course this wouldn't be a problem, as you fetch them in a while loop.
But, CakePHP loads all rows in to an array which exhausts th... | 0 | [
2,
92,
31,
747,
8390,
26120,
18312,
68,
65,
11295,
26,
21,
25597,
60,
800,
3726,
3726,
31,
22,
79,
568,
8390,
26120,
29,
5579,
13998,
7259,
8,
1,
19811,
5,
9,
9,
9,
6,
3029,
20,
5407,
1450,
21,
234,
16,
11295,
13,
5,
13431,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Windows Service Stops Automatically
===
**Hi All,**
I made a window service and let it work automatically and under localsystem account, when the service starts it fires this message for me and then stop
"The [service name] service on local computer started and then stopped. Some Services stop automatically if the... | 0 | [
2,
1936,
365,
6604,
7499,
800,
3726,
3726,
13,
1409,
1822,
65,
15,
1409,
31,
117,
21,
1463,
365,
17,
408,
32,
170,
7499,
17,
131,
375,
10724,
2176,
15,
76,
14,
365,
3244,
32,
11327,
48,
2802,
26,
55,
17,
94,
747,
13,
7,
124,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
different openGL functions on iPhone: OpenGL vs OpenGLES
===
There are number of functions that exist in OpenGL but not in OpenGLES 1.1 (for iPhone).
Is there a list or resource that lists some alternative functions that can be used in OpenGLES 1.1?
For example:
- gluOrtho2D
- glPolygonMode
etc?
Tha... | 0 | [
2,
421,
368,
8430,
3719,
27,
21024,
45,
368,
8430,
4611,
368,
4875,
18,
800,
3726,
3726,
80,
50,
234,
16,
3719,
30,
3182,
19,
368,
8430,
47,
52,
19,
368,
4875,
18,
137,
9,
165,
13,
5,
1106,
21024,
6,
9,
25,
80,
21,
968,
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... |
PHP exec() will not execute shell command when executed via browser
===
I have a certain PHP script that calls exec() to execute a command to convert a PDF to JPG. This command works fine in bash.
To preempt your initial troubleshooting guesses, note the following:
* safe_mode = Off
* Permission on the directory... | 0 | [
2,
13,
26120,
1396,
3319,
5,
6,
129,
52,
15644,
3593,
1202,
76,
5557,
1197,
16495,
800,
3726,
3726,
31,
57,
21,
1200,
13,
26120,
3884,
30,
3029,
1396,
3319,
5,
6,
20,
15644,
21,
1202,
20,
8406,
21,
13,
11124,
20,
487,
9623,
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... |
Monitoring WLAN Radio Connection in Windows Mobile 6/C#
===
I currently developing an app targeted for the HP IPAQ 210. Part of this app requires the WLAN radio to be enabled/powered on to connect to a pre-configured access point. I'm currently using the IPAQ SDK (via P/Invoke) to enable the WLAN radio, but I'm havi... | 0 | [
2,
8984,
619,
1804,
603,
2760,
19,
1936,
3241,
13,
12626,
150,
5910,
800,
3726,
3726,
31,
871,
3561,
40,
4865,
9536,
26,
14,
5301,
15735,
9105,
13,
11401,
9,
141,
16,
48,
4865,
4781,
14,
619,
1804,
603,
20,
44,
9338,
118,
9844,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
USB pen drive identifer from c#.
===
I have a demo that runs off of a USB drive and I would like to prevent the simple case where some one copies the demo. I was thinking that I could just get something specific about the USB drive like manufacture,size, firmware version and or identifier. Since we are putting the de... | 0 | [
2,
182,
220,
2402,
1493,
13,
13384,
16344,
37,
272,
5910,
9,
800,
3726,
3726,
31,
57,
21,
8376,
30,
1461,
168,
16,
21,
182,
220,
1493,
17,
31,
83,
101,
20,
2501,
14,
1935,
610,
113,
109,
53,
3298,
14,
8376,
9,
31,
23,
1440,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Source for paid software and web site contract templates
===
Related to [this question][1] looking for free software programming contracts, what source do you recommend for paid software contract templates? I have not found decent free ones on the web that cover contracts for custom software development, web site deve... | 0 | [
2,
1267,
26,
2192,
2306,
17,
2741,
689,
1305,
22894,
18,
800,
3726,
3726,
1597,
20,
636,
1565,
1301,
500,
2558,
165,
500,
699,
26,
551,
2306,
3143,
8712,
15,
98,
1267,
107,
42,
12360,
26,
2192,
2306,
1305,
22894,
18,
60,
31,
57,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Delete backup file in transact-sql during database copy/restore
===
I have a "copy" stored procedure for a database. During the copy, I backup the database with something like:
exec('backup database [' + @source + '] ' +
'to disk = N''' + @backupdir + '\copybackup'' ' +
'with noformat, noinit, name=N''... | 0 | [
2,
27448,
10119,
3893,
19,
2982,
5183,
8,
18,
22402,
112,
6018,
4344,
118,
99,
16828,
800,
3726,
3726,
31,
57,
21,
13,
7,
19625,
7,
8214,
7004,
26,
21,
6018,
9,
112,
14,
4344,
15,
31,
10119,
14,
6018,
29,
301,
101,
45,
1396,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Adding properties to T4 template - picking server, database, table
===
Folks,
I'd like to create some T4 templates for generating class files (about 7 per table) from a database to support our in-house ORM (don't ask - long story and historical reasons.....)
What I'd really love to do is have a property on my ma... | 0 | [
2,
4721,
3704,
20,
13,
38,
300,
22894,
13,
8,
7833,
8128,
15,
6018,
15,
859,
800,
3726,
3726,
14563,
15,
31,
22,
43,
101,
20,
1600,
109,
13,
38,
300,
22894,
18,
26,
13500,
718,
6488,
13,
5,
6901,
453,
416,
859,
6,
37,
21,
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... |
Should xsd element occurrence bounds be on the sequence or the element?
===
If I have an element with one or more subelements, should the min/maxoccurs attributes be on the xsd:sequence element, the xsd:element, both, or neither?
<xsd:element name="books">
<xsd:complexType>
<xsd:sequence minOccu... | 0 | [
2,
378,
993,
18,
43,
4520,
12933,
4138,
18,
44,
27,
14,
4030,
54,
14,
4520,
60,
800,
3726,
3726,
100,
31,
57,
40,
4520,
29,
53,
54,
91,
972,
27567,
18,
15,
378,
14,
4232,
118,
8304,
2499,
4734,
18,
13422,
44,
27,
14,
993,
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... |
Constants in Objective C
===
I'm developing a Cocoa app, and I'm using constant NSStrings as ways to store key names for my preferences. I understand this is a good idea because it allows easy changing of keys if necessary. Plus, it's the whole 'separate your data from your logic' notion. Anyway, is there a good way t... | 0 | [
2,
3587,
18,
19,
7038,
272,
800,
3726,
3726,
31,
22,
79,
3561,
21,
24507,
4865,
15,
17,
31,
22,
79,
568,
3587,
13,
2172,
11130,
18,
28,
2847,
20,
1718,
1246,
1817,
26,
51,
9808,
18,
9,
31,
1369,
48,
25,
21,
254,
882,
185,
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... |
Java.util.Scanner and wikipedia
===
Hi i'm trying to use java.util.Scanner to take wikipedia contents and use it for word based searches, the fact is that it's all fine but when reading some words it give me errors, looking at code and making some check it turned out that with some words it seems to not recognize the ... | 0 | [
2,
8247,
9,
14255,
9,
18,
1245,
1031,
17,
20169,
800,
3726,
3726,
4148,
31,
22,
79,
749,
20,
275,
8247,
9,
14255,
9,
18,
1245,
1031,
20,
247,
20169,
8478,
17,
275,
32,
26,
833,
432,
19994,
15,
14,
837,
25,
30,
32,
22,
18,
65... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Preventing Edits to specific rows in DataGridView
===
I want to prevent the user from editing or deleting the first three rows of a datagridview.
How can I do this? | 0 | [
2,
11520,
9392,
18,
20,
1903,
11295,
19,
1054,
16375,
4725,
800,
3726,
3726,
31,
259,
20,
2501,
14,
4155,
37,
9510,
54,
121,
1336,
68,
14,
64,
132,
11295,
16,
21,
1054,
16375,
4725,
9,
184,
92,
31,
107,
48,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How can I update a ASP.NET MVC ViewData via jQuery ajax?
===
I have a page that highly depends on a IList (in ActionResult "MyEvents") that I pass in ViewData. Something like that: **ViewData["events"] = listOfEvents;** and in the end, I just **return View();**
And in my View, I take this ViewData["events"] and do ... | 0 | [
2,
184,
92,
31,
11100,
21,
28,
306,
9,
2328,
307,
8990,
1418,
18768,
1197,
487,
8190,
93,
20624,
60,
800,
3726,
3726,
31,
57,
21,
2478,
30,
2157,
9597,
27,
21,
31,
5739,
13,
5,
108,
1028,
29955,
13,
7,
915,
4943,
38,
18,
7,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Statement to Pull a List Using Data from Multiple Tables
===
I am among the SQL ignorant and have been asked to perform a task that is way out of my realm of understanding. Our customer wants to change their existing severity levels, e.g. change from Low Warning (severityid=7) to Low (severityid=18). The severit... | 0 | [
2,
4444,
255,
3331,
20,
2201,
21,
968,
568,
1054,
37,
1886,
7484,
800,
3726,
3726,
31,
589,
497,
14,
4444,
255,
24096,
17,
57,
74,
411,
20,
2985,
21,
3005,
30,
25,
161,
70,
16,
51,
6640,
16,
3260,
9,
318,
7705,
2846,
20,
753,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Getting Terms & Conditions and a Privacy Policy
===
I'm not sure if this question is appropriate for SO but I guess other programmers will run into this issue as well from time to time, so here we go.
I'm building a site where people can sign up, upload content etc. and I was wondering, I probably need some sort of... | 0 | [
2,
1017,
1663,
279,
2039,
17,
21,
9226,
1486,
800,
3726,
3726,
31,
22,
79,
52,
562,
100,
48,
1301,
25,
4593,
26,
86,
47,
31,
2321,
89,
17968,
18,
129,
485,
77,
48,
1513,
28,
134,
37,
85,
20,
85,
15,
86,
235,
95,
162,
9,
31... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to copy an animated gif image using C#?
===
Is there a method to create a copy of an animated gif image using C#?<br/>
What I want is to generated a copy of a given gif image using the height and width parameters that the user provides. I have tried for a couple of hours to accomplish this but the resulting image... | 0 | [
2,
184,
20,
4344,
40,
5784,
489,
821,
1961,
568,
272,
5910,
60,
800,
3726,
3726,
25,
80,
21,
2109,
20,
1600,
21,
4344,
16,
40,
5784,
489,
821,
1961,
568,
272,
5910,
60,
1,
5145,
118,
1,
98,
31,
259,
25,
20,
6756,
21,
4344,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's the best online reference for JSF tags?
===
What's the best online reference for JSF tags?
Nothing much turns up in Google for this technology, so I find it really hard to know what tag to use and when. Mostly I find examples of people asking "how do I do XXX" - I want the document the people answering have ... | 0 | [
2,
98,
22,
18,
14,
246,
2087,
2801,
26,
487,
18,
410,
3383,
18,
60,
800,
3726,
3726,
98,
22,
18,
14,
246,
2087,
2801,
26,
487,
18,
410,
3383,
18,
60,
626,
212,
2844,
71,
19,
8144,
26,
48,
1099,
15,
86,
31,
477,
32,
510,
55... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best practices for Eclipse Feature Integration Testing
===
I am developing an Eclipse feature consisting of several Eclipse plugins, using Equinox Declarative Services (DS) to wire the plugins together at runtime. I would like to add integration tests to verify the equinox configuration.
In particular, I want to ... | 0 | [
2,
246,
5242,
26,
11652,
1580,
8078,
4431,
800,
3726,
3726,
31,
589,
3561,
40,
11652,
1580,
4160,
16,
238,
11652,
10922,
108,
18,
15,
568,
13,
9629,
251,
396,
121,
12078,
3366,
687,
13,
5,
43,
18,
6,
20,
6511,
14,
10922,
108,
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... |
Does JIT optimizes empty loops away?
===
[This article][1] suggests otherwise. But there is still a need to evaluate the loop condition. Does java just employ a specific trick to recognize this case?
[1]: http://www.javaperformancetuning.com/news/qotm028.shtml | 0 | [
2,
630,
13,
13803,
22864,
18,
2424,
19661,
229,
60,
800,
3726,
3726,
636,
1565,
2002,
500,
2558,
165,
500,
5049,
3190,
9,
47,
80,
25,
174,
21,
376,
20,
13,
15599,
14,
5293,
2874,
9,
630,
8247,
114,
13125,
21,
1903,
5514,
20,
584... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 have an icon displayed when a setup CD is autoplayed in Windows.
===
I have a setup CD to install a visual studio C++ application I made. It has three files: setup.exe,
AUTORUN.INF,
and app.msi. When I insert the CD the Windows AutoPlay popup shows a generic icon. How do I have my own icon displayed for... | 0 | [
2,
184,
107,
31,
57,
40,
9801,
6115,
76,
21,
18161,
1745,
25,
3108,
11061,
19,
1936,
9,
800,
3726,
3726,
31,
57,
21,
18161,
1745,
20,
16146,
21,
3458,
1120,
272,
20512,
3010,
31,
117,
9,
32,
63,
132,
6488,
45,
18161,
9,
1706,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What are your experiences using the new "hg rebase" command?
===
How has "hg rebase" treated you so far? Have you discovered any bugs or gotchas? Does it replace mq? | 0 | [
2,
98,
50,
154,
5513,
568,
14,
78,
13,
7,
18187,
302,
8436,
7,
1202,
60,
800,
3726,
3726,
184,
63,
13,
7,
18187,
302,
8436,
7,
4789,
42,
86,
463,
60,
57,
42,
1848,
186,
13925,
54,
330,
1651,
18,
60,
630,
32,
3934,
307,
1251,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Web site projects vs Web Application - which is better?
===
I've just started using a cms (N2) which has a template basic implementation using a web site project template in vs2008. I've noticed that when compiling it it takes a lot longer than using a web application project which I am more use to.
My questions ar... | 0 | [
2,
2741,
689,
2314,
4611,
2741,
3010,
13,
8,
56,
25,
574,
60,
800,
3726,
3726,
31,
22,
195,
114,
373,
568,
21,
2390,
18,
13,
5,
103,
135,
6,
56,
63,
21,
22894,
2125,
6123,
568,
21,
2741,
689,
669,
22894,
19,
4611,
2753,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Return a tuple of arguments to be fed to string.format()
===
Currently, I'm trying to get a method in Python to return a list of zero, one, or two strings to plug into a string formatter and then pass them to the string method. My code looks something like this:
class PairEvaluator(HandEvaluator):
def re... | 0 | [
2,
788,
21,
2289,
5106,
16,
10553,
20,
44,
6068,
20,
3724,
9,
23588,
5,
6,
800,
3726,
3726,
871,
15,
31,
22,
79,
749,
20,
164,
21,
2109,
19,
20059,
20,
788,
21,
968,
16,
4606,
15,
53,
15,
54,
81,
7887,
20,
10922,
77,
21,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I programatically clone a database schema in SQL Server?
===
I would like to set up some solid testing on my project and the way I'd like to do it is have a commandline program that I can run that will copy just the structure of a database and not the actual data. Then I can run my tests on that new database.... | 0 | [
2,
184,
92,
31,
625,
721,
8438,
13871,
21,
6018,
23874,
19,
4444,
255,
8128,
60,
800,
3726,
3726,
31,
83,
101,
20,
309,
71,
109,
2941,
4431,
27,
51,
669,
17,
14,
161,
31,
22,
43,
101,
20,
107,
32,
25,
57,
21,
1202,
1143,
625... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Best Way to Constantly Update GUI Elements
===
I have a Java GUI that has a number of text fields, the values of which are populated from static variable in another class.
I am interested to know what the best way is to make it so that when the variable is changed in another class, the update is instantly reflected... | 0 | [
2,
246,
161,
20,
7545,
11100,
9457,
2065,
800,
3726,
3726,
31,
57,
21,
8247,
9457,
30,
63,
21,
234,
16,
1854,
2861,
15,
14,
4070,
16,
56,
50,
11111,
37,
12038,
7612,
19,
226,
718,
9,
31,
589,
3158,
20,
143,
98,
14,
246,
161,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
NHibernate - Mapping ID to a DB2 Identity
===
I'm newish to NHibernate, and am attempting to wire up to a DB2 table through the ISeries provider. The table has a BIGINT primary key that is auto generated as an identity. I've tried several values for the generator property of the id in my mapping file, and haven't ha... | 0 | [
2,
12109,
15191,
8820,
13,
8,
13305,
4924,
20,
21,
13,
9007,
135,
3270,
800,
3726,
3726,
31,
22,
79,
78,
1595,
20,
12109,
15191,
8820,
15,
17,
589,
6314,
20,
6511,
71,
20,
21,
13,
9007,
135,
859,
120,
14,
31,
8231,
11747,
9,
1... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Force explicet initialization of members in a c# constructor.
===
*Is there a way to cause an error if every constructor doesn't initialize a given member?* Maybe something with const?
I want this because I have a pile of code where I'm getting errors as a result of Incorrectly computing member values. What I'd rea... | 0 | [
2,
558,
13,
6899,
11909,
38,
2104,
1829,
16,
443,
19,
21,
272,
5910,
6960,
248,
9,
800,
3726,
3726,
1637,
403,
80,
21,
161,
20,
1679,
40,
7019,
100,
352,
6960,
248,
1437,
22,
38,
2104,
2952,
21,
504,
322,
60,
2483,
913,
301,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.