unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
How do I add multiple arguments to my custom template filter in a django template?
===
Here's my custom filter:
------------------------
from django import template
register = template.Library()
@register.filter
def replace(value, cherche, remplacement):
return value.replace(cherche... | 0 | [
2,
184,
107,
31,
3547,
1886,
10553,
20,
51,
5816,
22894,
11945,
19,
21,
3857,
14541,
22894,
60,
800,
3726,
3726,
235,
22,
18,
51,
5816,
11945,
45,
13,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
8,
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... |
Logging bugs directly from app to FogBugz
===
I have several WPF apps, and I want users to be able to log bugs *directly from these applications* into my FogBugz database. Is there any way this can be done? Also, how would I make it so that, when their case is resolved, the application tells them about it? | 0 | [
2,
13,
13919,
13925,
1703,
37,
4865,
20,
7486,
16254,
380,
800,
3726,
3726,
31,
57,
238,
619,
7721,
4865,
18,
15,
17,
31,
259,
3878,
20,
44,
777,
20,
6738,
13925,
1637,
14706,
102,
37,
158,
3767,
2483,
77,
51,
7486,
16254,
380,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Server 2005 - speeding up inserting many rows in an inefficient manner
===
I have to insert a couple million rows in SQL Server 2005. Unfortunately I don't have an easy way to use bulk insert or BCP or any of the other ways that a normal human would go about this.
Are there any interesting things I can do to S... | 0 | [
2,
4444,
255,
8128,
812,
13,
8,
1362,
68,
71,
14692,
68,
151,
11295,
19,
40,
19,
23702,
3832,
800,
3726,
3726,
31,
57,
20,
14692,
21,
1335,
507,
11295,
19,
4444,
255,
8128,
812,
9,
6200,
31,
221,
22,
38,
57,
40,
2010,
161,
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... |
linq2sql: Cannot add an entity with a key that is already in use
===
I have a linq2sql setup where objects are sent from client side (flex via flourinefx) and attach them to a new datacontext a seen below:
I also have a "global" datacontext that is used throughout the session.
public static void Upda... | 0 | [
2,
6294,
1251,
135,
18,
22402,
45,
1967,
3547,
40,
9252,
29,
21,
1246,
30,
25,
614,
19,
275,
800,
3726,
3726,
31,
57,
21,
6294,
1251,
135,
18,
22402,
18161,
113,
3916,
50,
795,
37,
6819,
270,
13,
5,
19752,
1197,
14736,
1149,
164... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 identify unused/redundant columns given a list of tables?
===
[This is on an iSeries/DB2 database if that makes any difference]
I want to write a procedure to identify columns that are left as blank or zero (given a list of tables).
Assuming I can pull out table and column definitions from the system d... | 0 | [
2,
184,
92,
31,
5808,
18927,
118,
2095,
8724,
1830,
7498,
504,
21,
968,
16,
7484,
60,
800,
3726,
3726,
636,
1565,
25,
27,
40,
31,
8231,
118,
9007,
135,
6018,
100,
30,
1364,
186,
2841,
500,
31,
259,
20,
2757,
21,
7004,
20,
5808,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Model - View - ViewModel & WCF - is WCF the model?
===
I'm just learning the Model / View / ViewModel pattern and it's variations (DataModel / View / ViewModel, or Model / View / Presenter).
What I wonder is: if I use this pattern with a WCF service, is the service the Model (DataModel), or do I need a separate Mod... | 0 | [
2,
1061,
13,
8,
1418,
13,
8,
1418,
13998,
279,
11801,
410,
13,
8,
25,
11801,
410,
14,
1061,
60,
800,
3726,
3726,
31,
22,
79,
114,
2477,
14,
1061,
13,
118,
1418,
13,
118,
1418,
13998,
3732,
17,
32,
22,
18,
8194,
13,
5,
18768,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 cast variable pointer to generic type in C++
===
I have code similar to this in my application:
class A
{
public: int b;
}
class C
{
public: int d;
}
void DoThings (MYSTERYTYPE arg);
DoThings(&A::b);
DoThings(&C::d);
The question... | 0 | [
2,
184,
20,
1325,
7612,
454,
106,
20,
12733,
1001,
19,
272,
20512,
800,
3726,
3726,
31,
57,
1797,
835,
20,
48,
19,
51,
3010,
45,
718,
21,
13,
1,
317,
45,
19,
38,
334,
73,
13,
1,
718,
272,
13,
1,
317,
45,
19,
38,
13,
43,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can I use Silverlight 2.0 with ASP.NET 2.0?
===
I am working on an in-house tool for interfacing to a database. My current prototyping is written in C# using ASP.NET 2.0 with the intent to optimise some client-side operations using javascript.
However, I was hoping to leverage Silverlight to simplify the user inter... | 0 | [
2,
92,
31,
275,
1172,
3130,
172,
9,
387,
29,
28,
306,
9,
2328,
172,
9,
387,
60,
800,
3726,
3726,
31,
589,
638,
27,
40,
19,
8,
1682,
5607,
26,
1480,
17231,
20,
21,
6018,
9,
51,
866,
9347,
1084,
3181,
25,
642,
19,
272,
5910,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Performance problems from dependency injection
===
In my profiler reports I'm increasingly seeing the results of mock-based testing with dependency injection. Many of the dependencies were static, but because we want to test methods in isolation they are changed to instance members, like the following example:
... | 0 | [
2,
956,
1716,
37,
26835,
13646,
800,
3726,
3726,
19,
51,
5296,
139,
2813,
31,
22,
79,
5054,
2078,
14,
1736,
16,
10506,
8,
1281,
4431,
29,
26835,
13646,
9,
151,
16,
14,
29411,
46,
12038,
15,
47,
185,
95,
259,
20,
1289,
3195,
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... |
How does Sphinx store null fields, and how does this affect performance?
===
I'm thinking about using asking sphinx to index many fields (in the hundreds), many of which will be null. My question is how much having many null fields will affect performance?
This situation arises not from having incredibly denormaliz... | 0 | [
2,
184,
630,
27274,
1718,
16203,
2861,
15,
17,
184,
630,
48,
6245,
956,
60,
800,
3726,
3726,
31,
22,
79,
1440,
88,
568,
3379,
27274,
20,
4348,
151,
2861,
13,
5,
108,
14,
4541,
6,
15,
151,
16,
56,
129,
44,
16203,
9,
51,
1301,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 list of tables, and fields in each, in a database
===
I'm looking at creating a basic ORM (purely for fun), and was wondering, is there a way to return the list of tables in a database and also the fields for every table?
Using this, I want to be able to loop through the result set (in C#) and then say for ... | 0 | [
2,
1017,
968,
16,
7484,
15,
17,
2861,
19,
206,
15,
19,
21,
6018,
800,
3726,
3726,
31,
22,
79,
699,
35,
2936,
21,
2125,
54,
79,
13,
5,
21059,
102,
26,
2414,
6,
15,
17,
23,
5712,
15,
25,
80,
21,
161,
20,
788,
14,
968,
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... |
I can SEE the space in an email address, but SQL SERVER can't?
===
I am trying to clean up some email addresses in sql server. I can see examples of the problematic emails, and they look like this:
abc123 @xyz.com
However, when I try to run a query to find folks like these, say with:
NOT CHARINDEX(' ... | 0 | [
2,
31,
92,
196,
14,
726,
19,
40,
8517,
3218,
15,
47,
4444,
255,
8128,
92,
22,
38,
60,
800,
3726,
3726,
31,
589,
749,
20,
2745,
71,
109,
8517,
12636,
19,
4444,
255,
8128,
9,
31,
92,
196,
3770,
16,
14,
21070,
8517,
18,
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 to do text full history in Django?
===
I'd like to have the full history of a large text field edited by users, stored using Django.
I've seen the projects:
* [Django Full History (Google Code)][1]
* [Django ModelHistory][2], and
* [Django FullHistory][3]
I've a special use-case that probably falls outs... | 0 | [
2,
184,
20,
107,
1854,
503,
447,
19,
3857,
14541,
60,
800,
3726,
3726,
31,
22,
43,
101,
20,
57,
14,
503,
447,
16,
21,
370,
1854,
575,
4802,
34,
3878,
15,
8214,
568,
3857,
14541,
9,
31,
22,
195,
541,
14,
2314,
45,
1637,
636,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Whats the actual file size?
===
*(Only programmers would know)*
In Windows XP, under File Properties, Whats the actual file size?.. **Size or Size-on-disk?**
I'm looking for the **exact size** of the file, in bytes..
(**1,024 bytes** NOT 1,000 bytes) | 0 | [
2,
98,
18,
14,
3463,
3893,
1072,
60,
800,
3726,
3726,
1637,
5,
4965,
17968,
18,
83,
143,
6,
2483,
19,
1936,
23045,
15,
131,
3893,
3704,
15,
98,
18,
14,
3463,
3893,
1072,
60,
9,
9,
13,
1409,
10454,
54,
1072,
8,
218,
8,
2906,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 export data in a legacy DOS application when no export option is available?
===
We've been given the task by my customer to export data from a legacy DOS system so it can be imported into a new system we are writing for them. It looks like the data is stored in a flat file format, though when we open the fi... | 0 | [
2,
184,
92,
31,
7487,
1054,
19,
21,
7780,
107,
18,
3010,
76,
90,
7487,
4255,
25,
904,
60,
800,
3726,
3726,
95,
22,
195,
74,
504,
14,
3005,
34,
51,
7705,
20,
7487,
1054,
37,
21,
7780,
107,
18,
329,
86,
32,
92,
44,
11808,
77,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 get intellisense in a T4 template?
===
When trying out these tutorials ([T4 Tutorial: Creating reusable code generation templates][1]) I noticed that although I was using plain c# I didn't get any intellisense, probably because of the file extension (.tt)
Isn't there anyway to say to Visual Studio to cons... | 0 | [
2,
184,
92,
31,
164,
14635,
3159,
6498,
19,
21,
13,
38,
300,
22894,
60,
800,
3726,
3726,
76,
749,
70,
158,
29724,
18,
13,
5,
2558,
38,
300,
29724,
45,
2936,
302,
267,
579,
1797,
2782,
22894,
18,
500,
2558,
165,
500,
6,
31,
271... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Superscript underline in IE
===
I'm going to be brief because I'm short on time, so I apologize if this isn't as detailed as I'd like it to be.
I have some code:
print("<a href='#'>Some text<sup>®</sup> some more text</a>");
In FF, this works like I would like, the link as a whole is underlined. How... | 0 | [
2,
1026,
8741,
131,
1143,
19,
13,
660,
800,
3726,
3726,
31,
22,
79,
228,
20,
44,
2698,
185,
31,
22,
79,
502,
27,
85,
15,
86,
31,
12059,
100,
48,
2532,
22,
38,
28,
6036,
28,
31,
22,
43,
101,
32,
20,
44,
9,
31,
57,
109,
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... |
foreach with generic List, detecting first iteration when using value type
===
When `foreach`ing through a generic list I often want to do something different for the first element in the list:
List<object> objs = new List<object>
{
new Object(),
new Object(),
new Object(),
... | 0 | [
2,
26,
14322,
29,
12733,
968,
15,
9092,
68,
64,
23534,
76,
568,
1923,
1001,
800,
3726,
3726,
76,
13,
1,
1106,
14322,
1,
68,
120,
21,
12733,
968,
31,
478,
259,
20,
107,
301,
421,
26,
14,
64,
4520,
19,
14,
968,
45,
968,
1,
237... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
.NET Program Keeps Installing Old Version
===
I'm having a rather annoying and time consuming problem with a .NET program. Our clients all use a piece of software we wrote in Visuual Studio 2005 (running .NET framework 3.5). The application is a setup project that gets its files from another project. The problem is... | 0 | [
2,
13,
9,
2328,
625,
8968,
25429,
315,
615,
800,
3726,
3726,
31,
22,
79,
452,
21,
864,
17610,
17,
85,
13,
17601,
1448,
29,
21,
13,
9,
2328,
625,
9,
318,
7421,
65,
275,
21,
1855,
16,
2306,
95,
738,
19,
1790,
1666,
6948,
1120,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CruiseControl.NET and TortoiseSVN
===
Can the **sourcecontrol** block in CruiseControl.NET target TortoiseSVN? | 0 | [
2,
6581,
12898,
9,
2328,
17,
25691,
18,
16578,
800,
3726,
3726,
92,
14,
13,
1409,
12097,
12898,
1409,
1921,
19,
6581,
12898,
9,
2328,
2935,
25691,
18,
16578,
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... | [
1,
1,
1,
1,
1,
1,
1,
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... |
What is a good use case for static import of methods?
===
Just got a review comment that my static import of the method was not a good idea. The static import was of a method from a DA class, which has mostly static methods. So in middle of the business logic I had a da activity that apparently seemed to belong to the... | 0 | [
2,
98,
25,
21,
254,
275,
610,
26,
12038,
9010,
16,
3195,
60,
800,
3726,
3726,
114,
330,
21,
1487,
6484,
30,
51,
12038,
9010,
16,
14,
2109,
23,
52,
21,
254,
882,
9,
14,
12038,
9010,
23,
16,
21,
2109,
37,
21,
1331,
718,
15,
56... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Migrating from CPython to Jython
===
I'm considering moving my code (around 30K LOC) from CPython to Jython, so that I could have better integration with my java code.
Is there a checklist or a guide I should look at, to help my with the migration? Does anyone have experience with doing something similar?
From ... | 0 | [
2,
28749,
37,
9750,
93,
11570,
20,
487,
93,
11570,
800,
3726,
3726,
31,
22,
79,
5154,
1219,
51,
1797,
13,
5,
10037,
712,
197,
13,
10799,
6,
37,
9750,
93,
11570,
20,
487,
93,
11570,
15,
86,
30,
31,
110,
57,
574,
8078,
29,
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... |
Initialize multidimensional array
===
Checkbox[,] checkArray = new Checkbox[2, 3]{{checkbox24,checkboxPref1,null},
{checkbox23,checkboxPref2,null}};
// I am getting error . How do I initialize it? | 0 | [
2,
2104,
2952,
1889,
7865,
7718,
800,
3726,
3726,
2631,
5309,
2558,
15,
500,
2631,
8576,
93,
800,
78,
2631,
5309,
2558,
135,
15,
203,
500,
1,
12542,
5309,
1996,
15,
12542,
5309,
3515,
410,
165,
15,
4215,
211,
1,
15,
13,
1,
12542,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How can I auto-backup a SQL Server database?
===
I've deployed MS Sql Server Express edition on a server with a database that's updated daily. It is important that I have regular backups of the database, preferably daily. But I can't hope to do this manually everyday. How can I have auto-backups of my databases on tha... | 0 | [
2,
184,
92,
31,
3108,
8,
1958,
576,
21,
4444,
255,
8128,
6018,
60,
800,
3726,
3726,
31,
22,
195,
6698,
4235,
4444,
255,
8128,
2999,
1322,
27,
21,
8128,
29,
21,
6018,
30,
22,
18,
6372,
1954,
9,
32,
25,
681,
30,
31,
57,
1290,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Creating a private instance method that can be called by a class method in Ruby.
===
Can I create a private instance method that can be called by a class method?
class Foo
def initialize(n)
@n = n
end
private # or protected?
def plus(n)
@n += n
end
end
... | 0 | [
2,
2936,
21,
932,
4851,
2109,
30,
92,
44,
227,
34,
21,
718,
2109,
19,
10811,
9,
800,
3726,
3726,
92,
31,
1600,
21,
932,
4851,
2109,
30,
92,
44,
227,
34,
21,
718,
2109,
60,
718,
4310,
111,
6312,
2104,
2952,
5,
103,
6,
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... |
Where is the Content Source Name in the SSP Search Database
===
I need to locate the table that contains the **Content Source Name** (along with the **ContentSourceId**) in the **SSP Search Database** (OR anywhere else that it gets stored in).
I may be able to access this via the SharePoint Object Model, but I want i... | 0 | [
2,
113,
25,
14,
2331,
1267,
204,
19,
14,
13,
18,
3401,
2122,
6018,
800,
3726,
3726,
31,
376,
20,
12717,
14,
859,
30,
1588,
14,
13,
1409,
25424,
1267,
204,
1409,
13,
5,
11501,
29,
14,
13,
1409,
25424,
12097,
1340,
1409,
6,
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... |
What is the meaning of the "xmbean-dd" attribute in an mbean in jboss-service.xml?
===
For example,
<mbean code="org.jnp.server.NamingBeanImpl" name="jboss:service=NamingBeanImpl" xmbean-dd="resource:xmdesc/NamingBean-xmbean.xml">
</mbean>
| 0 | [
2,
98,
25,
14,
1813,
16,
14,
13,
7,
396,
10045,
210,
8,
8096,
7,
35,
14755,
19,
40,
13,
10045,
210,
19,
487,
10349,
18,
8,
11449,
9,
396,
8184,
60,
800,
3726,
3726,
26,
823,
15,
13,
1,
10045,
210,
1797,
3726,
7,
5583,
9,
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... |
How to properly lock a value type?
===
I was reading about threading and about locking. It is common practise that you can't (well should not) lock a value type.
So the question is, what is the recommended way of locking a value type? I know there's a few ways to go about doing one thing but I haven't seen an examp... | 0 | [
2,
184,
20,
7428,
3991,
21,
1923,
1001,
60,
800,
3726,
3726,
31,
23,
1876,
88,
9322,
68,
17,
88,
17538,
9,
32,
25,
757,
27954,
30,
42,
92,
22,
38,
13,
5,
854,
378,
52,
6,
3991,
21,
1923,
1001,
9,
86,
14,
1301,
25,
15,
98,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can you nest a "double cons" pattern match?
===
I want to strengthen a pattern to match only numbers which pass an additional validation function.
let (|IsValid|_|) n = ...
let (|Nil|One|Two|) (l : int list) =
match l with
| a :: b :: t -> Two(a + b)
| a :: t -> One(a)
... | 0 | [
2,
92,
42,
5618,
21,
13,
7,
14368,
11608,
7,
3732,
730,
60,
800,
3726,
3726,
31,
259,
20,
13772,
21,
3732,
20,
730,
104,
2116,
56,
1477,
40,
1351,
27999,
1990,
9,
408,
13,
5,
1,
403,
18506,
43,
1,
6,
13,
103,
800,
13,
9,
9... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to install libraries?
===
I am trying to install the "libxml" Gem (http://libxml.rubyforge.org/install.xml) and it says that libxml requires a few other libraries to be installed in order to build and function properly:
* libm (math routines: very standard)
* libz (zlib)
* libiconv
... | 0 | [
2,
184,
20,
16146,
8649,
60,
800,
3726,
3726,
31,
589,
749,
20,
16146,
14,
13,
7,
8326,
396,
8184,
7,
8551,
13,
5,
21127,
6903,
8326,
396,
8184,
9,
1820,
779,
1106,
834,
9,
5583,
118,
108,
21300,
9,
396,
8184,
6,
17,
32,
898,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Need some help understanding password salt
===
I'm having some trouble understanding the purpose of a salt to a password. It's my understanding that the primary use is to hamper a rainbow table attack. However, the methods I've seen to implement this don't seem to really make the problem harder.
I've seen many tu... | 0 | [
2,
376,
109,
448,
3260,
20884,
2693,
800,
3726,
3726,
31,
22,
79,
452,
109,
2572,
3260,
14,
2131,
16,
21,
2693,
20,
21,
20884,
9,
32,
22,
18,
51,
3260,
30,
14,
1256,
275,
25,
20,
4111,
1432,
21,
10080,
859,
991,
9,
207,
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... |
Full Linq Query Instead of Lambdas with Fluent-NHibernate?
===
I'm trying to use Fluent-NHibernate's Query method which looks like this:
public T[] Query<T>(Expression<System.Func<T, bool>> where)
{
return _session.Linq<T>().Where(where).ToArray();
}
I'm using VB, s... | 0 | [
2,
503,
6294,
1251,
25597,
700,
16,
13,
24187,
18,
29,
19252,
8,
13880,
15191,
8820,
60,
800,
3726,
3726,
31,
22,
79,
749,
20,
275,
19252,
8,
13880,
15191,
8820,
22,
18,
25597,
2109,
56,
1879,
101,
48,
45,
317,
13,
38,
2558,
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... |
reading an application's manifest file?
===
Is there an easy way to read an application's already embedded manifest file?
I was thinking along the lines of an alternate data stream?
| 0 | [
2,
1876,
40,
3010,
22,
18,
13160,
3893,
60,
800,
3726,
3726,
25,
80,
40,
2010,
161,
20,
1302,
40,
3010,
22,
18,
614,
12138,
13160,
3893,
60,
31,
23,
1440,
303,
14,
1560,
16,
40,
4912,
1054,
3766,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Why to use CAS (Code Access Security)?
===
I have been a part of so many web applications but have never used CAS, perhaps have also never felt the need to use the same.
When is the need to use CAS? Do people actually use it in their applications? | 0 | [
2,
483,
20,
275,
7167,
13,
5,
9375,
1381,
1221,
6,
60,
800,
3726,
3726,
31,
57,
74,
21,
141,
16,
86,
151,
2741,
3767,
47,
57,
243,
147,
7167,
15,
1774,
57,
67,
243,
427,
14,
376,
20,
275,
14,
205,
9,
76,
25,
14,
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,
0,
0,
0... |
Equivalent of java's ConcurrentHashMap in C#?
===
is there anything? | 0 | [
2,
4602,
16,
8247,
22,
18,
19513,
25436,
15022,
19,
272,
5910,
60,
800,
3726,
3726,
25,
80,
602,
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,
0,
0... | [
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,
0,
0... |
How to create a stored procedure with dynamic from clause
===
I have a problem with an application which uses the same stored procedure over and over again to populate people information in dropdown lists. The problem is that sometimes people aren't there anymore as the data changes. I have two views I can use to sele... | 0 | [
2,
184,
20,
1600,
21,
8214,
7004,
29,
7782,
37,
9040,
800,
3726,
3726,
31,
57,
21,
1448,
29,
40,
3010,
56,
2027,
14,
205,
8214,
7004,
84,
17,
84,
188,
20,
1675,
12383,
148,
676,
19,
2804,
2968,
7227,
9,
14,
1448,
25,
30,
1030,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 test RJS in RSpec Controller specs?
===
What is the best way to ensure that the proper RJS is being generated in a Controller action?
For example, I want to ensure that a div is highlighted as such:
def new
render :update do |page|
page.visual_effect :highlight, :some_div
e... | 0 | [
2,
246,
161,
20,
1289,
13,
23008,
18,
19,
13,
1224,
12610,
9919,
12737,
18,
60,
800,
3726,
3726,
98,
25,
14,
246,
161,
20,
4062,
30,
14,
4119,
13,
23008,
18,
25,
142,
6756,
19,
21,
9919,
1028,
60,
26,
823,
15,
31,
259,
20,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why isn't the Byte Order Mark emitted from UTF8Encoding.GetBytes?
===
The snippet says it all :-)
UTF8Encoding enc = new UTF8Encoding(true/*include Byte Order Mark*/);
byte[] data = enc.GetBytes("a");
// data has length 1.
// I expected the BOM to be included. What's up? | 0 | [
2,
483,
2532,
22,
38,
14,
34,
591,
389,
943,
25675,
37,
287,
11720,
457,
219,
15458,
9,
3060,
23246,
18,
60,
800,
3726,
3726,
14,
13,
29061,
898,
32,
65,
13,
45,
8,
6,
287,
11720,
457,
219,
15458,
1957,
150,
800,
78,
287,
1172... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Obfuscate SQL Sprocs?
===
Is there a way to hide/protect/obfuscate MS SQL Stored Procedures? | 0 | [
2,
184,
20,
5122,
13735,
9530,
4444,
255,
13,
18,
15617,
18,
60,
800,
3726,
3726,
25,
80,
21,
161,
20,
3077,
118,
16265,
118,
4995,
13735,
9530,
4235,
4444,
255,
8214,
8876,
60,
3,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
My Work Items gone in TFS
===
We use VS2008 with TFS for source control at my workplace and it works fine, however today we experienced a problem when trying to associate our pending changes with a work item.
Usually when I want to associate changes with a work item I just go to the second tab from the top in the "p... | 0 | [
2,
51,
170,
3755,
1042,
19,
13,
11720,
18,
800,
3726,
3726,
95,
275,
4611,
2753,
29,
13,
11720,
18,
26,
1267,
569,
35,
51,
16932,
17,
32,
693,
1123,
15,
207,
786,
95,
3882,
21,
1448,
76,
749,
20,
4169,
318,
16440,
1693,
29,
21... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I know if a C# method is thread safe?
===
I'm working on creating a call back function for an ASP.NET cache item removal event.
The documentation says I should call a method on an object or calls I know will exist (will be in scope), such as a static method, but it said I need to ensure the static is thread ... | 0 | [
2,
184,
107,
31,
143,
100,
21,
272,
5910,
2109,
25,
9322,
1834,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
2936,
21,
645,
97,
1990,
26,
40,
28,
306,
9,
2328,
16522,
9101,
7797,
807,
9,
14,
13945,
898,
31,
378,
645,
21,
2109,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Create Diagram in SQL Server Enterprise Manager (SQL 2000)
===
What is the lowest permission level I need on a user to be able to create diagrams in SQL Server Enterprise Manager?
I'm currently set as data reader and I am unable to create diagrams. (I wouldn't expect to be able to at this permission level) | 0 | [
2,
1600,
14161,
19,
4444,
255,
8128,
6002,
1382,
13,
5,
18,
22402,
824,
6,
800,
3726,
3726,
98,
25,
14,
6543,
5572,
662,
31,
376,
27,
21,
4155,
20,
44,
777,
20,
1600,
14161,
18,
19,
4444,
255,
8128,
6002,
1382,
60,
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... |
Why can't I display the ASP.NET Framework Version as 3.5?
===
Can someone please confirm to me that when my application is written in .NET 3.5 that this code
System.Environment.Version.Major.ToString
will produce this
2.0.50727.1433
I'm just moving to 3.5 and the first application I'm moving is ... | 0 | [
2,
483,
92,
22,
38,
31,
3042,
14,
28,
306,
9,
2328,
6596,
615,
28,
203,
9,
264,
60,
800,
3726,
3726,
92,
737,
2247,
10265,
20,
55,
30,
76,
51,
3010,
25,
642,
19,
13,
9,
2328,
203,
9,
264,
30,
48,
1797,
329,
9,
28976,
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... |
.NET Generics: Using an Activator created type as a generic shows wrong Type? Need workaround...
===
This really has my stumped today. I'm sure its simple, but... Here is my sample code:
using System;
using System.Collections;
namespace ConsoleApplication1
{
class Program
{
... | 0 | [
2,
13,
9,
2328,
12733,
18,
45,
568,
40,
13,
19516,
3457,
679,
1001,
28,
21,
12733,
1285,
1389,
1001,
60,
376,
170,
10037,
9,
9,
9,
800,
3726,
3726,
48,
510,
63,
51,
15781,
69,
786,
9,
31,
22,
79,
562,
82,
1935,
15,
47,
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... |
java package name convention failure
===
I'm just coming up the learning curve for Java SE & have no problem with the usual Java convention for package names, e.g. `com.example.library_name_here.package_name_here`
Except.
I've been noticing a failure to abide by this in some fairly well-known packages.
... | 0 | [
2,
8247,
6030,
204,
3087,
2990,
800,
3726,
3726,
31,
22,
79,
114,
880,
71,
14,
2477,
7101,
26,
8247,
1353,
279,
57,
90,
1448,
29,
14,
3820,
8247,
3087,
26,
6030,
1817,
15,
13,
62,
9,
263,
9,
13,
1,
960,
9,
29041,
9,
1210,
25... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Date ranges in views - is this normal?
===
I recently started working at a company with an enormous "enterprisey" application. At my last job, I designed the database, but here we have a whole Database Architecture department that I'm not part of.
One of the stranger things in their database is that they have a bu... | 0 | [
2,
1231,
9230,
19,
4146,
13,
8,
25,
48,
1826,
60,
800,
3726,
3726,
31,
1989,
373,
638,
35,
21,
237,
29,
40,
7135,
13,
7,
13679,
15839,
1436,
7,
3010,
9,
35,
51,
236,
1205,
15,
31,
1006,
14,
6018,
15,
47,
235,
95,
57,
21,
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... |
LINQ to SQL Query Syntax
===
I have several tables that center around an organization table that simply holds a unique ID value. Each Organization can then be at a particular location and have a particular name. The tricky part is that the organizations support location and name changes with a specified effective date... | 0 | [
2,
6294,
1251,
20,
4444,
255,
25597,
22649,
800,
3726,
3726,
31,
57,
238,
7484,
30,
459,
140,
40,
1165,
859,
30,
1659,
2763,
21,
2619,
4924,
1923,
9,
206,
1165,
92,
94,
44,
35,
21,
1498,
1474,
17,
57,
21,
1498,
204,
9,
14,
551... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Binding a ComboBox to an IList and using SelectedValue
===
I have a `ComboBox` set up as follows, where `KVPList` is an `IList` (of `KeyValuePair` if it matters):
comboBox.DisplayMember = "Value";
comboBox.ValueMember = "Key";
comboBox.DataSource = KVPList;
I then have set up a binding with `Select... | 0 | [
2,
8728,
21,
22621,
5309,
20,
40,
31,
5739,
17,
568,
1704,
15165,
800,
3726,
3726,
31,
57,
21,
13,
1,
960,
1192,
5309,
1,
309,
71,
28,
2415,
15,
113,
13,
1,
197,
10924,
5739,
1,
25,
40,
13,
1,
49,
5739,
1,
13,
5,
1041,
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... |
Indexing strategy on table
===
<p>I have an SQL Server 2005 table named 'EventTable' defined as such:</p>
EventID, EventTypeCode, EventStatusCode, EventDate
<p>Currently the table has a clustered index on the primary key 'EventID', there are no other indexes currently</p>
<p>EventTypeCode and EventStatusCode ... | 0 | [
2,
4348,
68,
4427,
27,
859,
800,
3726,
3726,
13,
1,
306,
1,
49,
57,
40,
4444,
255,
8128,
812,
859,
377,
13,
22,
4943,
38,
5924,
22,
2811,
28,
145,
45,
1,
118,
306,
1,
807,
1340,
15,
807,
4474,
9375,
15,
963,
38,
8796,
9375,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Am I wasting my time by designing my ASP.NET components for WYSIWYG tools
===
A few days ago, I read a question asking how many developers hand code their HTML/XHTML rather than rely on the WYSIWYG tools - [http://stackoverflow.com/questions/406052/do-most-web-programmers-not-designers-use-wysiwyg-editors-or-hand-code... | 0 | [
2,
589,
31,
23,
1203,
51,
85,
34,
15026,
51,
28,
306,
9,
2328,
5090,
26,
5809,
18,
49,
7913,
263,
4672,
800,
3726,
3726,
21,
310,
509,
1464,
15,
31,
1302,
21,
1301,
3379,
184,
151,
10168,
224,
1797,
66,
13,
15895,
118,
396,
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... |
Best practice creating dynamic sidebar with zend framework
===
What is best practice to create dynamic sidebar or other non content layout places with zend framework. At this moment I created controller witch i called WidgetsController. In this controller i defined some actions with 'sidebar' response segment for my s... | 0 | [
2,
246,
1345,
2936,
7782,
270,
1850,
29,
10526,
43,
6596,
800,
3726,
3726,
98,
25,
246,
1345,
20,
1600,
7782,
270,
1850,
54,
89,
538,
2331,
9106,
1489,
29,
10526,
43,
6596,
9,
35,
48,
688,
31,
679,
9919,
5722,
31,
227,
4807,
43,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to convert a string to RegularTimePeriod in java?
===
I am using Jfreechart. I have the code like this
TimeSeries t1 = new TimeSeries("EUR/GBP");
t1.add(new Day(4, MonthConstants.JANUARY, 2001), new Double(1.5807));
But I get String from my SQL query. TimeSeries accepts only RegularTimePeriod or TimeSeriesD... | 0 | [
2,
184,
20,
8406,
21,
3724,
20,
1290,
891,
27441,
19,
8247,
60,
800,
3726,
3726,
31,
589,
568,
487,
4639,
5433,
38,
9,
31,
57,
14,
1797,
101,
48,
85,
8231,
13,
38,
165,
800,
78,
85,
8231,
5,
7,
5630,
118,
11400,
306,
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... |
Eclipse Plug-in Development with TDD
===
I want to add a view to a perspective without having access to the source code of the perspective. Is this possible?
Is there a good tutorial for plug-in development using TDD? | 0 | [
2,
11652,
10922,
8,
108,
522,
29,
15596,
43,
800,
3726,
3726,
31,
259,
20,
3547,
21,
1418,
20,
21,
6531,
366,
452,
1381,
20,
14,
1267,
1797,
16,
14,
6531,
9,
25,
48,
938,
60,
25,
80,
21,
254,
29724,
26,
10922,
8,
108,
522,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
How to "sell" ruby on rails to a client
===
Tomorrow, I will meet a client that is not working in technology but might ask if RubyOnRails is the right choice for his site. He might think that there's not enough RoR programmers and that he will be "hostage" of the language.
I have good reasons to use RoR and the cli... | 0 | [
2,
184,
20,
13,
7,
11322,
7,
10811,
27,
2240,
18,
20,
21,
6819,
800,
3726,
3726,
3450,
15,
31,
129,
1255,
21,
6819,
30,
25,
52,
638,
19,
1099,
47,
530,
1349,
100,
10811,
218,
7301,
18,
25,
14,
193,
1837,
26,
33,
689,
9,
24,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Using Multiple Tables in a Zend Model and returning a combined result set
===
Hi This is either a very specific or very generic quetion - I'm not sure, and I'm new to the Zend framework / oo generally. Please be patient if this is a stupid Q...
Anyway, I want to create a model which does something like:
Rea... | 0 | [
2,
568,
1886,
7484,
19,
21,
10526,
43,
1061,
17,
2485,
21,
2461,
829,
309,
800,
3726,
3726,
4148,
48,
25,
694,
21,
253,
1903,
54,
253,
12733,
9386,
3309,
13,
8,
31,
22,
79,
52,
562,
15,
17,
31,
22,
79,
78,
20,
14,
10526,
43,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why does IE7 when clearing a float result in a margin bug?
===
I have a very simple HTML page:
<div class="news-result">
<h2><a href="#">Title</a></h2><span class="date">(1-1-2009)</span>
<p>Some text...</p>
</div>
with the following CSS:
.news-result {
overflow: hidden... | 0 | [
2,
483,
630,
13,
660,
465,
76,
8130,
21,
11510,
829,
19,
21,
5440,
6256,
60,
800,
3726,
3726,
31,
57,
21,
253,
1935,
13,
15895,
2478,
45,
13,
1,
12916,
718,
3726,
7,
14962,
8,
29955,
7,
1,
13,
1,
252,
135,
1,
58,
746,
14057,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 all of the allowable characters for people's names?
===
There are the standard A-Z, a-z characters, but also there are hyphens, em dashes, quotes, etc.
Plus, there are all of the international characters, like umlauts, etc.
So, for an English-based system, what's the complete set? What about sets for ot... | 0 | [
2,
98,
50,
65,
16,
14,
1655,
579,
1766,
26,
148,
22,
18,
1817,
60,
800,
3726,
3726,
80,
50,
14,
1236,
21,
8,
380,
15,
21,
8,
380,
1766,
15,
47,
67,
80,
50,
4085,
16012,
18,
15,
3579,
8405,
160,
15,
18901,
15,
2722,
9,
3123... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 UNION - What is the default ORDER BY Behaviour
===
If I have a few UNION Statements as a contrived example:
SELECT * FROM xxx WHERE z = 1
UNION
SELECT * FROM xxx WHERE z = 2
UNION
SELECT * FROM xxx WHERE z = 3
What is the default order by behaviour. The test data I'm seeing e... | 0 | [
2,
4444,
255,
8128,
667,
13,
8,
98,
25,
14,
12838,
389,
34,
7727,
800,
3726,
3726,
100,
31,
57,
21,
310,
667,
9015,
28,
21,
1065,
3367,
4763,
823,
45,
5407,
1637,
37,
13,
13290,
113,
2052,
800,
137,
667,
5407,
1637,
37,
13,
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... |
python setup.py develop not updating easy_install.pth
===
According to [setuptools][1] documentation, setup.py develop is supposed to create the egg-link file and update easy_install.pth when installing into site-packages folder. However, in my case it's only creating the egg-link file. How does setuptools decide if... | 0 | [
2,
20059,
18161,
9,
6448,
2803,
52,
71,
43,
1880,
2010,
1,
108,
21300,
9,
306,
96,
800,
3726,
3726,
496,
20,
636,
3554,
576,
20799,
18,
500,
2558,
165,
500,
13945,
15,
18161,
9,
6448,
2803,
25,
2293,
20,
1600,
14,
6387,
8,
6258,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 save an image as a PNG or JPG file with a given output file size? (pref. in C#)
===
I'd like to save an existing image as a PNG or JPG at a given file size, eg, 100KB. | 0 | [
2,
184,
92,
31,
2079,
40,
1961,
28,
21,
351,
2723,
54,
487,
9623,
3893,
29,
21,
504,
5196,
3893,
1072,
60,
13,
5,
3515,
410,
9,
19,
272,
5910,
6,
800,
3726,
3726,
31,
22,
43,
101,
20,
2079,
40,
3149,
1961,
28,
21,
351,
2723,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Applying the Hibernate filter attribute to a Bag with a many-to-many relationship
===
Consider the following Hibernate mapping file:
<hibernate-mapping ...>
<class name="ContentPackage" table="contentPackages">
<id name="Id" column="id" type="int"><generator class="native" /></id>
...
... | 0 | [
2,
11989,
14,
4148,
2102,
8820,
11945,
35,
14755,
20,
21,
1910,
29,
21,
151,
8,
262,
8,
14842,
1429,
800,
3726,
3726,
3563,
14,
249,
4148,
2102,
8820,
13305,
3893,
45,
13,
1,
8630,
106,
8820,
8,
540,
5574,
13,
9,
9,
9,
1,
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... |
SSIS Transfer Task That Handles Schema Changes
===
I'm using SSIS with SQL Server 2k5 to build a transfer task to copy all of the data from one database to another. This works quite well, except for one problem - the source database will periodically have schema changes (generally just additions like new columns) but ... | 0 | [
2,
13,
18,
4557,
2617,
3005,
30,
3053,
18,
23874,
1693,
800,
3726,
3726,
31,
22,
79,
568,
13,
18,
4557,
29,
4444,
255,
8128,
172,
197,
264,
20,
1895,
21,
2617,
3005,
20,
4344,
65,
16,
14,
1054,
37,
53,
6018,
20,
226,
9,
48,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How Do You Create Test Objects For Third Party Legacy Code
===
I have a code base where many of the classes I implement derive from classes that are provided by other divisions of my company. Working with these other devisions often have the working relationship as though they are third party middle ware vendors.
I... | 0 | [
2,
184,
107,
42,
1600,
1289,
3916,
26,
422,
346,
7780,
1797,
800,
3726,
3726,
31,
57,
21,
1797,
1000,
113,
151,
16,
14,
2684,
31,
8713,
20576,
37,
2684,
30,
50,
1173,
34,
89,
5519,
16,
51,
237,
9,
638,
29,
158,
89,
121,
10732,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there a simple way to emulate Objective-C Categories in C#?
===
I have a weird design situation that I've never encountered before... If I were using Objective-C, I would solve it with categories, but I have to use C# 2.0.
First, some background. I have two abstraction layers in this class library. The bottom la... | 0 | [
2,
25,
80,
21,
1935,
161,
20,
23804,
7038,
8,
150,
6422,
19,
272,
5910,
60,
800,
3726,
3726,
31,
57,
21,
5455,
704,
1858,
30,
31,
22,
195,
243,
8208,
115,
9,
9,
9,
100,
31,
46,
568,
7038,
8,
150,
15,
31,
83,
8402,
32,
29,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Visual Studio to Make
===
While I love the Unix toolset family(including its black sheep Make) the project I'm working on currently is cross platform. That means having a Visual studio project ready for build.
So my question is, **is there a tool/plugin for importing a Make file into VS or conversely is there a way... | 0 | [
2,
3458,
1120,
20,
233,
800,
3726,
3726,
133,
31,
339,
14,
22540,
4672,
1198,
190,
5,
3970,
82,
319,
6485,
233,
6,
14,
669,
31,
22,
79,
638,
27,
871,
25,
919,
2452,
9,
30,
1108,
452,
21,
3458,
1120,
669,
1451,
26,
1895,
9,
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... |
How can I prevent unauthorized code from accessing my assembly in .NET 2.0?
===
In .NET 1.x, you could use the [StrongNameIdentityPermissionAttribute][1] on your assembly to ensure that only code signed by you could access your assembly. According to the MSDN documentation,
> In the .NET Framework version 2.0 and
... | 0 | [
2,
184,
92,
31,
2501,
25881,
1797,
37,
1381,
68,
51,
1475,
19,
13,
9,
2328,
172,
9,
387,
60,
800,
3726,
3726,
19,
13,
9,
2328,
137,
9,
396,
15,
42,
110,
275,
14,
636,
15004,
7259,
13384,
856,
1432,
12385,
721,
14755,
500,
2558... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
rounding shortcuts in C
===
I am working in C to implement pseudo-code that says:
delay = ROUND(64*(floatDelay - intDelay))
where intDelay = (int) floatDelay
The floatDelay will always be positive. Is there an advantage to using the round function from math.h:
#inlcude <math.h>
delay=(int) r... | 0 | [
2,
560,
68,
502,
4118,
18,
19,
272,
800,
3726,
3726,
31,
589,
638,
19,
272,
20,
8713,
8452,
8,
9375,
30,
898,
45,
7255,
800,
560,
5,
3470,
2483,
5,
14712,
721,
546,
4414,
13,
8,
19,
38,
546,
4414,
6,
6,
113,
19,
38,
546,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ldap vbscript : msExchOmaAdminWirelessEnable is randomly missing on different accounts
===
In my script
Function getDescript (strname, uname)
Set MyUser = GetObject ("LDAP://cn=" & uname & ",ou=" & strname & ",DC=tms-1,DC=net")
getDescript = myUser.Get("msExchOmaAdminWirelessEnable")
... | 0 | [
2,
644,
20472,
13,
20468,
8741,
13,
45,
307,
6353,
2613,
540,
1283,
2160,
13482,
923,
219,
579,
25,
21324,
2863,
27,
421,
5310,
800,
3726,
3726,
19,
51,
3884,
1990,
164,
546,
8741,
13,
5,
9729,
7259,
15,
287,
7259,
6,
309,
51,
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... |
Why can't i .add a Dictionary(Key, Value) in a foreach???
===
If i want too loop a Dictionary(Key, Value)... why cant i add a new key,value in the loop???
Dictionary<string, string> persons = new Dictionary<string, string>();
persons.Add("roger", "12");
persons.Add("mary", "13");
foreach (KeyValuePair<string... | 0 | [
2,
483,
92,
22,
38,
31,
13,
9,
14854,
21,
9186,
5,
4237,
15,
1923,
6,
19,
21,
26,
14322,
60,
60,
60,
800,
3726,
3726,
100,
31,
259,
266,
5293,
21,
9186,
5,
4237,
15,
1923,
6,
9,
9,
9,
483,
2973,
31,
3547,
21,
78,
1246,
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... |
Can I change the default config file?
===
I'm using Jeff Atwood's [Last Configuration Section Handler You'll Ever Need][1], but it only seems to work for the default app.config file. If I wanted to separate certain settings into another file, the deserializing doesn't work, since ConfigurationManager.GetSection only ... | 0 | [
2,
92,
31,
753,
14,
12838,
13,
14093,
2816,
3893,
60,
800,
3726,
3726,
31,
22,
79,
568,
3292,
35,
1208,
22,
18,
636,
8558,
8091,
1050,
24641,
42,
22,
211,
462,
376,
500,
2558,
165,
500,
15,
47,
32,
104,
2206,
20,
170,
26,
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... |
Monitoring GMAIL account via push instead of pull using python and imaplib
===
Is there a way to monitor a gmail account using imaplib without polling gmail each time I want to see if there is new mail. Or in other words, I just want the script to be notified of a new message so I can process it right away instead of ... | 0 | [
2,
8984,
489,
8079,
2176,
1197,
3250,
700,
16,
2201,
568,
20059,
17,
31,
15022,
8326,
800,
3726,
3726,
25,
80,
21,
161,
20,
7626,
21,
489,
8079,
2176,
568,
31,
15022,
8326,
366,
20734,
489,
8079,
206,
85,
31,
259,
20,
196,
100,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Thread was being aborted when exporting to excel?
===
I have a DataTable which is bound to a GridView. I also have a button that when clicked exports the DataTable to an Excel file. However, the following error is occuring:
ErrMsg = "Thread was being aborted."
Here is part of the code where the error is bein... | 0 | [
2,
9322,
23,
142,
21557,
69,
76,
7487,
68,
20,
20700,
60,
800,
3726,
3726,
31,
57,
21,
1054,
5924,
56,
25,
4138,
20,
21,
7354,
4725,
9,
31,
67,
57,
21,
5167,
30,
76,
15802,
16716,
14,
1054,
5924,
20,
40,
20700,
3893,
9,
207,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Can you make Visual Studio 2005 provide command line arguments for your startup program?
===
For testing purposes, is there some place in the Visual Studio IDE where you can specify the command line parameters that you want sent to your startup project when it's launched from the IDE?
Thanks in advance for all your... | 0 | [
2,
92,
42,
233,
3458,
1120,
812,
1181,
1202,
293,
10553,
26,
154,
20205,
625,
60,
800,
3726,
3726,
26,
4431,
4612,
15,
25,
80,
109,
209,
19,
14,
3458,
1120,
13,
3448,
113,
42,
92,
19077,
14,
1202,
293,
12905,
30,
42,
259,
795,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CSS Performance issues
===
What are the aspects of style sheets (CSS) that can lead to poor performance of web sites?
Anything that can really choke up the CPU?
thanks in advance.
Sesh | 0 | [
2,
272,
18,
18,
956,
1549,
800,
3726,
3726,
98,
50,
14,
4842,
16,
1034,
8801,
13,
5,
6824,
18,
6,
30,
92,
672,
20,
1696,
956,
16,
2741,
3259,
60,
602,
30,
92,
510,
16105,
71,
14,
17578,
60,
3669,
19,
3612,
9,
13,
18,
6134,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
In Python, how I do use subprocess instead of os.system?
===
I have a Python script that calls an executable program with various arguments (in this example, it is 'sqlpubwiz.exe' which is the "Microsoft SQL Server Database Publishing Wizard"):
import os
sqlpubwiz = r'"C:\Program Files\Microsoft SQ... | 0 | [
2,
19,
20059,
15,
184,
31,
107,
275,
972,
16835,
700,
16,
13,
759,
9,
10724,
60,
800,
3726,
3726,
31,
57,
21,
20059,
3884,
30,
3029,
40,
1396,
17194,
5924,
625,
29,
617,
10553,
13,
5,
108,
48,
823,
15,
32,
25,
13,
22,
18,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Open source KB/support web application suggestions
===
I'm working on improving one of my client's websites by converting their "FAQ" section to a full blown KB article system with (preferably) nifty AJAX search mechanism. I've done some searching and found a few commercial products but would prefer something open sou... | 0 | [
2,
368,
1267,
15251,
118,
24168,
2741,
3010,
18389,
800,
3726,
3726,
31,
22,
79,
638,
27,
9273,
53,
16,
51,
6819,
22,
18,
13931,
34,
19583,
66,
13,
7,
1473,
1251,
7,
1050,
20,
21,
503,
13157,
15251,
2002,
329,
29,
13,
5,
3515,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Why can't I install the sqlite gem?
===
I'm try to install the sqlite gem on a Fedora 9 Linux box with ruby 1.8.6, Rails 2.2.2, gem 1.3, and sqlite-3.5.9. Here's the command I'm running and its results:
sudo gem install sqlite3-ruby
Building native extensions. This could take a while...
ERROR: Error... | 2 | [
2,
483,
92,
22,
38,
31,
16146,
14,
4444,
10601,
8551,
60,
800,
3726,
3726,
31,
22,
79,
1131,
20,
16146,
14,
4444,
10601,
8551,
27,
21,
26726,
58,
561,
13024,
1649,
29,
10811,
137,
9,
457,
9,
379,
15,
2240,
18,
172,
9,
135,
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... |
SQL to search and replace in mySQL
===
In the process of fixing a poorly imported database with issues caused by using the wrong database encoding, or something like that.
Anyways, coming back to my question, in order to fix this issues I'm using a query of this form:
> UPDATE `table_name` SET field_name =
> re... | 0 | [
2,
4444,
255,
20,
2122,
17,
3934,
19,
51,
18,
22402,
800,
3726,
3726,
19,
14,
953,
16,
20047,
21,
10614,
11808,
6018,
29,
1549,
1497,
34,
568,
14,
1389,
6018,
19608,
15,
54,
301,
101,
30,
9,
2774,
18,
15,
880,
97,
20,
51,
1301... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
JQuery resizable with a knob
===
I am using JQuery Resizable - http://docs.jquery.com/UI/Resizable/resizable#options - and i want to use a knob instead of the borders (my knob is a button in the bottom right). I see that in options I have a KnobHandles, that I have to set to true. Where do I set my handle? I tried to ... | 0 | [
2,
487,
8190,
93,
10719,
3186,
579,
29,
21,
14804,
800,
3726,
3726,
31,
589,
568,
487,
8190,
93,
10719,
3186,
579,
13,
8,
7775,
6903,
13799,
18,
9,
728,
8190,
93,
9,
960,
118,
5661,
118,
99,
18,
3186,
579,
118,
99,
18,
3186,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Convert MYSQL_TIME data type to char * or C++ string
===
I am using the MySQL C API within a C++ application. I have a column in my result set that is of the type MYSQL_TIME (part of mysql.h).
Is there a way to convert MYSQL_TIME to a char* or to a C++ string? | 0 | [
2,
8406,
51,
18,
22402,
1,
891,
1054,
1001,
20,
4892,
1637,
54,
272,
20512,
3724,
800,
3726,
3726,
31,
589,
568,
14,
51,
18,
22402,
272,
21,
2159,
363,
21,
272,
20512,
3010,
9,
31,
57,
21,
4698,
19,
51,
829,
309,
30,
25,
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... |
FlowPanel Vertical Scroll
===
I have a flowpanel that I'm dynamically adding usercontrols to. I want it to keep adding them and use a vertical scroll bar. It instead wraps them to the top and places a horizontal scroll bar. I'm sure I'm just missing something, but how do I get it to do vertical scrolling? | 0 | [
2,
3312,
3206,
532,
7035,
12159,
800,
3726,
3726,
31,
57,
21,
3312,
3206,
532,
30,
31,
22,
79,
7782,
1326,
4721,
4155,
12898,
18,
20,
9,
31,
259,
32,
20,
643,
4721,
105,
17,
275,
21,
7035,
12159,
748,
9,
32,
700,
8118,
18,
105... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 login and dowload a file from a https web page from Java?
===
I have to login into a https web page and download a file using Java.
I know all the URLs beforehand:
baseURL = // a https URL;
urlMap = new HashMap<String, URL>();
urlMap.put("login", new URL(baseURL, "exec.asp?login=username&pas... | 0 | [
2,
184,
107,
31,
6738,
108,
17,
14103,
8294,
21,
3893,
37,
21,
7775,
18,
2741,
2478,
37,
8247,
60,
800,
3726,
3726,
31,
57,
20,
6738,
108,
77,
21,
7775,
18,
2741,
2478,
17,
7121,
21,
3893,
568,
8247,
9,
31,
143,
65,
14,
13,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SSO-plus-SSL and Shibboleth: What options for sites with numerous virtual hosts?
===
**Background:** Customer X is a low-budget non-profit outfit that nonetheless has a lot of activity configured on virtual hosts, and the virtual hosts multiply very frequently. Customer X also has a lot of users and is interested in g... | 0 | [
2,
13,
18,
656,
8,
13349,
8,
18,
18,
255,
17,
13,
18,
8630,
22008,
96,
45,
98,
6368,
26,
3259,
29,
1548,
6599,
5397,
60,
800,
3726,
3726,
13,
1409,
1958,
8810,
45,
1409,
7705,
993,
25,
21,
708,
8,
25701,
538,
8,
5888,
8419,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 I use a C# keyword as a property on an anonymous object?
===
Using asp.net MVC I'd like to do this inside a view:
<%= Html.TextBox("textbox1", null, new { class="class1" }) %>
This statement does not compile because class is keyword in C#. I'd like to know how I can escape the property names such that th... | 0 | [
2,
184,
31,
275,
21,
272,
5910,
1246,
9587,
28,
21,
1354,
27,
40,
10364,
3095,
60,
800,
3726,
3726,
568,
28,
306,
9,
2328,
307,
8990,
31,
22,
43,
101,
20,
107,
48,
572,
21,
1418,
45,
13,
1,
11881,
3726,
13,
15895,
9,
11969,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 organise CSS in your project?
===
One of the most challenging thing I have felt while working on (complex) web application is the organizing the CSS.Here are the different approaches we have tried on multiple projects.
**1: Have a different stylesheet for every web page/module.**
Obviously we were ver... | 0 | [
2,
184,
107,
42,
20119,
272,
18,
18,
19,
154,
669,
60,
800,
3726,
3726,
53,
16,
14,
127,
10855,
584,
31,
57,
427,
133,
638,
27,
13,
5,
960,
11326,
6,
2741,
3010,
25,
14,
11725,
14,
272,
18,
18,
9,
6836,
50,
14,
421,
7501,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 execution plan when executing statement directly and from stored procedure
===
While developing a new query at work I wrote it and profiled it in SQL Query Analyzer. The query was performing really good without any table scans but when I encapsulated it within a stored procedure the performance was horrible.... | 0 | [
2,
421,
5769,
944,
76,
25836,
3331,
1703,
17,
37,
8214,
7004,
800,
3726,
3726,
133,
3561,
21,
78,
25597,
35,
170,
31,
738,
32,
17,
5296,
43,
32,
19,
4444,
255,
25597,
16051,
139,
9,
14,
25597,
23,
2955,
510,
254,
366,
186,
859,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Resharper to ignore the Designer file when navigating to a class?
===
In Resharper, if you ctrl-click the name of a class to naviate to its definition and that has a designer fie, Resharper will ask if I want to go to the X.cs or X.Designer.cs because the class is partial.
Does anyone know how to disab... | 0 | [
2,
184,
107,
31,
164,
302,
23646,
106,
20,
7174,
14,
4742,
3893,
76,
1775,
13227,
1880,
20,
21,
718,
60,
800,
3726,
3726,
19,
302,
23646,
106,
15,
100,
42,
13,
4812,
6362,
8,
150,
10129,
14,
204,
16,
21,
718,
20,
13,
16424,
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... |
Should I combine two similar tables into one?
===
In my database I currently have two tables that are almost identical except for one field.
For a quick explanation, with my project, each year businesses submit to me a list of suppliers that they sale to, and also purchase things from. Since this is done on an a... | 0 | [
2,
378,
31,
12287,
81,
835,
7484,
77,
53,
60,
800,
3726,
3726,
19,
51,
6018,
31,
871,
57,
81,
7484,
30,
50,
557,
6323,
1613,
26,
53,
575,
9,
26,
21,
2231,
5764,
15,
29,
51,
669,
15,
206,
159,
4426,
12298,
20,
55,
21,
968,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 make g++ include GLIBCXX_3.4.9?
===
I compiled 2 different binaries on the same GNU/Linux server using g++ version 4.2.3.
The first one uses:
GLIBC_2.0
GLIBC_2.2
GLIBC_2.1
GLIBCXX_3.4
GLIBC_2.1.3
The second one uses:
GLIBC_2.0
GLIBC_2.2
GLIBC_2.1
GLIBCXX_3.4.... | 0 | [
2,
98,
233,
489,
20512,
468,
13,
6441,
7229,
8962,
1,
240,
9,
300,
9,
518,
60,
800,
3726,
3726,
31,
9316,
172,
421,
4511,
11301,
27,
14,
205,
26092,
118,
1226,
7147,
8128,
568,
489,
20512,
615,
268,
9,
135,
9,
240,
9,
14,
64,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Benefits/Disadvantages of using XSL to render entire web pages
===
I am in the preliminary stages of planning a project with a client to redo their current website. I took a look at their current site to see what issues they are currently dealing with and upon inspection I noticed that every page is being rendered ent... | 0 | [
2,
5800,
118,
2906,
1283,
17384,
14465,
16,
568,
993,
18,
255,
20,
16535,
1078,
2741,
4434,
800,
3726,
3726,
31,
589,
19,
14,
8685,
4891,
16,
2334,
21,
669,
29,
21,
6819,
20,
402,
111,
66,
866,
2271,
9,
31,
199,
21,
361,
35,
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... |
.net remoting to invoke Speech Server workflow in non-local application domain
===
I am implementing a Microsoft Speech Server application built on windows workflow foundation. The app manages other sub apps - users call in and the manager loads the assembly containing the correct application and invokes the workflow.... | 0 | [
2,
13,
9,
2328,
302,
7662,
68,
20,
28371,
2974,
8128,
170,
9990,
19,
538,
8,
15580,
3010,
4603,
800,
3726,
3726,
31,
589,
17333,
21,
7099,
2974,
8128,
3010,
392,
27,
1936,
170,
9990,
1304,
9,
14,
4865,
9118,
89,
972,
4865,
18,
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... |
List ordering from SQL call
===
i have a List being returned from a daoTemplate.query() call, using a rowMapper.
the sql does an order by on a column, happens to be a date column, order by asc
when i use the List, am i always guaranteed that the list will be in the order dictated by the sql. can i depend that the fi... | 0 | [
2,
968,
15775,
37,
4444,
255,
645,
800,
3726,
3726,
31,
57,
21,
968,
142,
587,
37,
21,
13,
17104,
9577,
6554,
9,
8190,
93,
5,
6,
645,
15,
568,
21,
3131,
540,
8763,
9,
14,
4444,
255,
630,
40,
389,
34,
27,
21,
4698,
15,
5531,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Android Conversion to Ordinal Format
===
Before I go reinventing the wheel, does Android have any facility for converting an integer to an ordinal string with multi-language support? That is, it would convert the integer 3 to "3rd" in English and "3eme" in French.
I can see how to do this myself using a bit of logi... | 0 | [
2,
13005,
6263,
20,
54,
3653,
192,
2595,
800,
3726,
3726,
115,
31,
162,
7102,
6645,
68,
14,
3556,
15,
630,
13005,
57,
186,
2646,
26,
19583,
40,
13820,
20,
40,
54,
3653,
192,
3724,
29,
1889,
8,
7020,
555,
60,
30,
25,
15,
32,
83... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to stop the current thread till other thread complete its execution?
===
Here is my problem ...
public static String response = "";
'
public static String sendDataToServer(String data)
{
new Thread()
{
public void run()
{
//sending data to server
... | 0 | [
2,
184,
20,
747,
14,
866,
9322,
3924,
89,
9322,
1279,
82,
5769,
60,
800,
3726,
3726,
235,
25,
51,
1448,
13,
9,
9,
9,
317,
12038,
3724,
1627,
800,
13,
7,
7,
73,
13,
22,
317,
12038,
3724,
2660,
18768,
262,
10321,
106,
5,
11130,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How to use multiple source and header files
===
I recently learnt how can we use multiple source files with header files to make code portable and hierarchical. In order to do so, I tired creating my tree program using this principal. Here are my files
b_tree_ds.h - This will contain a *declaration* of datastructur... | 0 | [
2,
184,
20,
275,
1886,
1267,
17,
157,
106,
6488,
800,
3726,
3726,
31,
1989,
2484,
38,
184,
92,
95,
275,
1886,
1267,
6488,
29,
157,
106,
6488,
20,
233,
1797,
13469,
17,
21376,
4272,
9,
19,
389,
20,
107,
86,
15,
31,
4117,
2936,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 WhatsApp know if the user get the push notification even the app is runnng in the background and not open?
===
know about push notification when the app is in the backgroung....
I ask this question
http://stackoverflow.com/questions/9731826/any-option-to-know-if-apple-app-get-the-push-notification
And I get t... | 0 | [
2,
184,
98,
18,
7753,
143,
100,
14,
4155,
164,
14,
3250,
52,
4634,
166,
14,
4865,
25,
485,
103,
2723,
19,
14,
2395,
17,
52,
368,
60,
800,
3726,
3726,
143,
88,
3250,
52,
4634,
76,
14,
4865,
25,
19,
14,
97,
7944,
2373,
9,
9,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
python Exception AttributeError: "'NoneType' object has no attribute 'var'"
===
im getting this exception in Python,
> Exception AttributeError: "'NoneType' object has no attribute 'population'"
this is my code,
class Robot:
population = 0 #class variable, number of robots
def... | 0 | [
2,
20059,
5391,
35,
14755,
29992,
45,
13,
7,
22,
15746,
4474,
22,
3095,
63,
90,
35,
14755,
13,
22,
3311,
22,
7,
800,
3726,
3726,
797,
1017,
48,
5391,
19,
20059,
15,
13,
1,
5391,
35,
14755,
29992,
45,
13,
7,
22,
15746,
4474,
22... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
javascript callback not pushing data up to the top of the calls
===
I am slowly learning how to use callbacks and I am running into trouble. I think the code below should work byt it is not.
From what I can tell it is not descending in to the recursive function as when it hit another 'tree' entry or outputting anyt... | 0 | [
2,
8247,
8741,
645,
1958,
52,
5076,
1054,
71,
20,
14,
371,
16,
14,
3029,
800,
3726,
3726,
31,
589,
1447,
2477,
184,
20,
275,
645,
1958,
18,
17,
31,
589,
946,
77,
2572,
9,
31,
277,
14,
1797,
1021,
378,
170,
34,
38,
32,
25,
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... |
Popup on mouse hover the word
===
I am doing a website using asp.net C# and I would like to popup a small window with information as soon as mouse hover a particular word. I know that I have to use jquery but I don't know exactly how to do it.
Any suggestions please? | 0 | [
2,
1675,
576,
27,
7567,
21350,
14,
833,
800,
3726,
3726,
31,
589,
845,
21,
2271,
568,
28,
306,
9,
2328,
272,
5910,
17,
31,
83,
101,
20,
1675,
576,
21,
284,
1463,
29,
676,
28,
651,
28,
7567,
21350,
21,
1498,
833,
9,
31,
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... |
How to enable user GUI response in wcf service to trigger duplex callback to client
===
Maybe I am trying the impossible...
I have created a wpf application to start a wcf service with the following service contract:
[ServiceContract(SessionMode = SessionMode.Required, CallbackContract = typeof(IRejectCallbac... | 0 | [
2,
184,
20,
9240,
4155,
9457,
1627,
19,
11801,
410,
365,
20,
7286,
1052,
11326,
645,
1958,
20,
6819,
800,
3726,
3726,
913,
31,
589,
749,
14,
3992,
9,
9,
9,
31,
57,
679,
21,
619,
7721,
3010,
20,
799,
21,
11801,
410,
365,
29,
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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.