unified_texts stringlengths 32 30.1k | OpenStatus_id int64 0 4 | input_ids list | token_type_ids list | attention_mask list |
|---|---|---|---|---|
Efficient C code for Hardware realization in Verilog
===
I have a plain C code for a Image codec.My goal is to develop a efficient C model which will be taken and realized in Hardware using Verilog or some such Hardware description language. What i am trying to find out is:
1.) What modifications need to be done i... | 0 | [
2,
8243,
272,
1797,
26,
7610,
12890,
19,
13,
22466,
5567,
800,
3726,
3726,
31,
57,
21,
3748,
272,
1797,
26,
21,
1961,
1797,
150,
9,
915,
1195,
25,
20,
2803,
21,
8243,
272,
1061,
56,
129,
44,
658,
17,
1896,
19,
7610,
568,
13,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
server.Databases[databaseName].Drop(); fails in MSTest
===
The following exception is thrown:
Error Message: Microsoft.SqlServer.Management.Smo.FailedOperationException: Drop failed for Database '4d982a46-58cb-4ddb-8999-28bd5bb900c7'. ---> Microsoft.SqlServer.Management.Common.ExecutionFailureException: An excep... | 0 | [
2,
8128,
9,
18768,
8436,
18,
2558,
18768,
8436,
7259,
500,
9,
12361,
5,
6,
73,
13614,
19,
4235,
10543,
800,
3726,
3726,
14,
249,
5391,
25,
6027,
45,
7019,
2802,
45,
7099,
9,
18,
22402,
10321,
106,
9,
23502,
9,
18,
1293,
9,
24910... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 authenticate AD users objectGuid from asp.net
===
I am using windows authentication within an ASP.NET application. I am wondering how to best get the objectGuid from the currently logged in user?
Regards, Egil. | 0 | [
2,
1017,
14351,
1373,
21,
43,
3878,
3095,
7215,
43,
37,
28,
306,
9,
2328,
800,
3726,
3726,
31,
589,
568,
1936,
27963,
363,
40,
28,
306,
9,
2328,
3010,
9,
31,
589,
5712,
184,
20,
246,
164,
14,
3095,
7215,
43,
37,
14,
871,
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,
0,
0,
0,
0,
0,
0,
0... |
Is it advisable to use arrays in Javascript using tens of thousands of indexes?
===
Is it advisable to use arrays in Javascript using tens of thousands of indexes?
I have a database which contains a table of static data, meaning that it will never change. In this case would it be advisable to convert this table to ... | 0 | [
2,
25,
32,
21,
43,
3762,
579,
20,
275,
7718,
18,
19,
8247,
8741,
568,
652,
18,
16,
3805,
16,
4348,
160,
60,
800,
3726,
3726,
25,
32,
21,
43,
3762,
579,
20,
275,
7718,
18,
19,
8247,
8741,
568,
652,
18,
16,
3805,
16,
4348,
160... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Export from PowerPoint to animated gif?
===
Is it possible to export a picture with custom animation from PowerPoint to an animated gif? | 0 | [
2,
7487,
37,
414,
3132,
20,
5784,
489,
821,
60,
800,
3726,
3726,
25,
32,
938,
20,
7487,
21,
2151,
29,
5816,
6236,
37,
414,
3132,
20,
40,
5784,
489,
821,
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,
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... |
wpf storyboard death
===
C#:
public partial class MainWindow : Window
{
Storyboard a = new Storyboard();
int i;
public MainWindow()
{
InitializeComponent();
a.Completed += new EventHandler(a_Completed);
a.Duration = TimeSpan.FromMil... | 0 | [
2,
619,
7721,
609,
2806,
372,
800,
3726,
3726,
272,
5910,
45,
317,
7284,
718,
407,
27508,
13,
45,
1463,
13,
1,
609,
2806,
21,
800,
78,
609,
2806,
5,
6,
73,
19,
38,
31,
73,
317,
407,
27508,
5,
6,
13,
1,
2104,
2952,
11103,
218... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Detect file handle leaks with Win32 C++
===
Is there some way to detect file handle leaks at program termination?
In particular I would like to make sure that all of my handles that get created are being freed in code.
For example, I may have a CreateFile() somewhere, and at program termination I want to dete... | 0 | [
2,
9092,
3893,
3053,
11724,
18,
29,
628,
3125,
272,
20512,
800,
3726,
3726,
25,
80,
109,
161,
20,
9092,
3893,
3053,
11724,
18,
35,
625,
21343,
60,
19,
1498,
31,
83,
101,
20,
233,
562,
30,
65,
16,
51,
3053,
18,
30,
164,
679,
50... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
WPF: Adding a Trigger to a Button
===
I am currently coding a program with a WPF UI and I have a button which is either close or cancel, depending on if there were any changes made on the page. To achieve this I want to use a trigger (wrapped in a style) on the button so that when the dependency property HasChanges i... | 0 | [
2,
619,
7721,
45,
4721,
21,
7286,
20,
21,
5167,
800,
3726,
3726,
31,
589,
871,
13,
15458,
21,
625,
29,
21,
619,
7721,
13,
5661,
17,
31,
57,
21,
5167,
56,
25,
694,
543,
54,
14815,
15,
4758,
27,
100,
80,
46,
186,
1693,
117,
27... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Exporting a plot as an image in Mathematica on a machine without X11 (ie, without involving the frontend).
===
Consider the following dialog with the command-line interface to the kernel:
$ math
Mathematica 6.0 for Linux x86 (32-bit)
In[1]:= p = Plot[x^2, {x,-1,1}]
Out[1]= -Graphics-
In[... | 0 | [
2,
7487,
68,
21,
3798,
28,
40,
1961,
19,
5057,
5996,
12630,
27,
21,
1940,
366,
993,
1306,
13,
5,
660,
15,
366,
4838,
14,
431,
2451,
6,
9,
800,
3726,
3726,
3563,
14,
249,
28223,
29,
14,
1202,
8,
1143,
6573,
20,
14,
17007,
45,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
RT parallel processing in Rails
===
I'm developing a sort of personalized search engine in Ruby on Rails, and I'm currently trying to find best way of sorting results depending on user's record, in real time.
Example: items that are searched for can have tags (separate entities with ids), for example item has tags=... | 0 | [
2,
13,
5256,
3821,
5511,
19,
2240,
18,
800,
3726,
3726,
31,
22,
79,
3561,
21,
2058,
16,
1319,
1333,
2122,
1406,
19,
10811,
27,
2240,
18,
15,
17,
31,
22,
79,
871,
749,
20,
477,
246,
161,
16,
2058,
68,
1736,
4758,
27,
4155,
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... |
Problem with NVelocity, foreach and two Lists
===
is there an easy way to solve the following problem.
Let's say I fetch a IList<Book> with some books in my controller from my model. Now I want to enrich the output and fetch a preview from Amazon with another model from an outside framework and get another IList<Am... | 0 | [
2,
1448,
29,
13,
20763,
6923,
5788,
15,
26,
14322,
17,
81,
7227,
800,
3726,
3726,
25,
80,
40,
2010,
161,
20,
8402,
14,
249,
1448,
9,
408,
22,
18,
395,
31,
18312,
21,
31,
5739,
1,
5199,
1,
29,
109,
964,
19,
51,
9919,
37,
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... |
What do you do while your application is being compiled?
===
Sometimes it takes about a minute or two to fully compile an application. Believe me, that's a long time. You've obviously just looked at the code and just waiting to see some results, etc.
I was wondering, what do you do during that 1 to 2+ minutes?
| 0 | [
2,
98,
107,
42,
107,
133,
154,
3010,
25,
142,
9316,
60,
800,
3726,
3726,
1030,
32,
1384,
88,
21,
2038,
54,
81,
20,
2337,
26561,
40,
3010,
9,
985,
55,
15,
30,
22,
18,
21,
175,
85,
9,
42,
22,
195,
4409,
114,
292,
35,
14,
179... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 toggle word wrap in Visual Studio.NET?
===
Does Visual Studio .NET have a way to toggle word-wrap on and off?
I am used to this feature in Eclipse which allows you to right click and toggle word wrap on and off so that when you have long lines that extend out to the right, you don't have to move the botto... | 0 | [
2,
184,
92,
31,
20,
263,
4875,
833,
8118,
19,
3458,
1120,
9,
2328,
60,
800,
3726,
3726,
630,
3458,
1120,
13,
9,
2328,
57,
21,
161,
20,
20,
263,
4875,
833,
8,
499,
10817,
27,
17,
168,
60,
31,
589,
147,
20,
48,
1580,
19,
11652... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
encode avi with given output file size
===
I have an avi file which i want to re-encode to fit on a cd of 650 mb
how can i encode it, so that the file size does not succeed the given size, what program to use? | 0 | [
2,
20523,
13,
5271,
29,
504,
5196,
3893,
1072,
800,
3726,
3726,
31,
57,
40,
13,
5271,
3893,
56,
31,
259,
20,
302,
8,
219,
9375,
20,
2742,
27,
21,
1745,
16,
13,
13798,
14023,
184,
92,
31,
20523,
32,
15,
86,
30,
14,
3893,
1072,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
What are some good techniques for performance testing SharePoint web parts and controls?
===
After reading a potential interview question on a discussion board recently, I was wondering what thoughts people have on performance testing specific to SharePoint web parts and controls. What are some good techniques, consid... | 0 | [
2,
98,
50,
109,
254,
4212,
26,
956,
4431,
1891,
3132,
2741,
1341,
17,
8671,
60,
800,
3726,
3726,
75,
1876,
21,
2222,
2421,
1301,
27,
21,
5460,
686,
1989,
15,
31,
23,
5712,
98,
3064,
148,
57,
27,
956,
4431,
1903,
20,
1891,
3132,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Weird SQL Server Management studio behavior
===
I am currently using SQL Server Management Studio (Ver 9.00.3042.00) and click the "New Query" and wrote the following code:
Select
colA,
colB,
colC
colD
From
table1
When I click the parse (checkbox) button to ... | 0 | [
2,
5455,
4444,
255,
8128,
1097,
1120,
3257,
800,
3726,
3726,
31,
589,
871,
568,
4444,
255,
8128,
1097,
1120,
13,
5,
2304,
561,
9,
2032,
9,
1762,
3941,
9,
2032,
6,
17,
10840,
14,
13,
7,
2681,
25597,
7,
17,
738,
14,
249,
1797,
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... |
PHP objects as faux-arrays
===
I have an object that implements [ArrayAccess][1], [Iterator][2] and [Countable][3]. That produces a nigh-perfect array masking. I can access it with offsets (`$object[foo]`), I can throw it into a [`foreach`][4]-loop, and many other things.
But what I can't do is give it to the nativ... | 0 | [
2,
13,
26120,
3916,
28,
27982,
8,
8576,
93,
18,
800,
3726,
3726,
31,
57,
40,
3095,
30,
8713,
18,
636,
8576,
93,
20604,
500,
2558,
165,
500,
15,
636,
242,
106,
3457,
500,
2558,
135,
500,
17,
636,
16549,
579,
500,
2558,
240,
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... |
Tricks for generating SQL statements in Excel
===
Do you have any tricks for generating SQL statements, mainly INSERTs, in Excel for various data import scenarios?
I'm really getting tired of writing formulas with like
`="INSERT INTO Table (ID, Name) VALUES (" & C2 & ", '" & D2 & "')"`
| 0 | [
2,
13747,
26,
13500,
4444,
255,
9015,
19,
20700,
800,
3726,
3726,
107,
42,
57,
186,
13747,
26,
13500,
4444,
255,
9015,
15,
2011,
14692,
18,
15,
19,
20700,
26,
617,
1054,
9010,
19611,
60,
31,
22,
79,
510,
1017,
4117,
16,
1174,
3729... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What's a good way to rewrite this non-tail-recursive function?
===
For some reason, I am having trouble thinking of a good way to rewrite this function so it uses constant stack space. Most online discussions of tree recursion cheat by using the Fibonacci function and exploiting the properties of that particular probl... | 0 | [
2,
98,
22,
18,
21,
254,
161,
20,
27891,
48,
538,
8,
8682,
8,
99,
24244,
1990,
60,
800,
3726,
3726,
26,
109,
1215,
15,
31,
589,
452,
2572,
1440,
16,
21,
254,
161,
20,
27891,
48,
1990,
86,
32,
2027,
3587,
7566,
726,
9,
127,
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... |
COM over USB with .NET to interface with 3rd party hardware
===
I have a project where I have to interact with two different devices that supply data via COM over USB. The client is telling me that this can be done easily with HyperTerminal but I am unfamiliar with it. I am coding with .NET 2.0 (but can use 3.5 if nec... | 0 | [
2,
13,
960,
84,
182,
220,
29,
13,
9,
2328,
20,
6573,
29,
203,
897,
346,
7610,
800,
3726,
3726,
31,
57,
21,
669,
113,
31,
57,
20,
10001,
29,
81,
421,
4690,
30,
2837,
1054,
1197,
13,
960,
84,
182,
220,
9,
14,
6819,
25,
2497,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Standared WebCam interface for .NET besides DirectShow?
===
I want to be able to take still images with a web cam, via .NET 2.0 (or 3.5 if necessary). I know I can use DirectShow but that seems like a very large learning curve.
Is there a simple to use OCX, or library that can work with most standard webcams? | 0 | [
2,
1261,
512,
69,
2741,
8760,
6573,
26,
13,
9,
2328,
3410,
1744,
9303,
60,
800,
3726,
3726,
31,
259,
20,
44,
777,
20,
247,
174,
3502,
29,
21,
2741,
5373,
15,
1197,
13,
9,
2328,
172,
9,
387,
13,
5,
248,
203,
9,
264,
100,
2378... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 more elegant way to convert Document to String in Java than this code?
===
Here is the code currently used.
public String getStringFromDoc(org.w3c.dom.Document doc) {
try
{
DOMSource domSource = new DOMSource(doc);
StringWriter writer = new StringWriter(... | 0 | [
2,
25,
80,
21,
91,
11614,
161,
20,
8406,
4492,
20,
3724,
19,
8247,
119,
48,
1797,
60,
800,
3726,
3726,
235,
25,
14,
1797,
871,
147,
9,
317,
3724,
164,
11130,
2665,
13799,
5,
5583,
9,
499,
240,
150,
9,
5555,
9,
28132,
9765,
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... |
powershell : how to query AD and exchange mailbox sizes
===
I just recently found out that exchange server2007 will no longer be supporting WMI, namely the service which uses \ROOT\MicrosoftExchangeV2. The old script I wrote output the ServerName, StorageGroupName, Storename, MailboxDisplayName, Size, TotalItems, Del... | 0 | [
2,
414,
15984,
13,
45,
184,
20,
25597,
21,
43,
17,
1950,
4216,
5309,
13403,
800,
3726,
3726,
31,
114,
1989,
216,
70,
30,
1950,
8128,
2727,
129,
90,
1045,
44,
3134,
619,
1435,
15,
8525,
14,
365,
56,
2027,
13,
1,
14032,
1,
22019,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Coding style... fault condition first or last?
===
Which is better in general in terms of the ordering? Do you put the fault condition at the top or bottom?
if (noProblems == true) {
// do stuff
} else {
// deal with problem
}
OR
if (noProblems == false) {
// deal w... | 0 | [
2,
13,
15458,
1034,
9,
9,
9,
4173,
2874,
64,
54,
236,
60,
800,
3726,
3726,
56,
25,
574,
19,
297,
19,
1663,
16,
14,
15775,
60,
107,
42,
442,
14,
4173,
2874,
35,
14,
371,
54,
2129,
60,
100,
13,
5,
251,
2740,
2854,
79,
18,
80... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Handle for ShellExecute() - Parent Window???
===
I am trying to use ShellExecute to open a file in Excel. I was reading about the function on MSDN forums, and I found the folowing information about the handle, which is the first parameter:
"hwnd [in] A handle to the owner window used for displaying a user interfac... | 0 | [
2,
3053,
26,
3593,
1706,
17194,
591,
5,
6,
13,
8,
4766,
1463,
60,
60,
60,
800,
3726,
3726,
31,
589,
749,
20,
275,
3593,
1706,
17194,
591,
20,
368,
21,
3893,
19,
20700,
9,
31,
23,
1876,
88,
14,
1990,
27,
4235,
43,
103,
5691,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Yahoo maps api
===
I used the following code to display custom marker on Yahoo Maps :
<Script type=text/javascript>
var map=new YMap(document.getElementById('map')); // Create a map object
Get_Lat_Lon() ... | 0 | [
2,
23553,
6867,
21,
2159,
800,
3726,
3726,
31,
147,
14,
249,
1797,
20,
3042,
5816,
13289,
27,
23553,
6867,
13,
45,
13,
1,
8741,
1001,
3726,
11969,
118,
1004,
1385,
8741,
1,
4033,
2942,
3726,
2681,
13,
93,
15022,
5,
28132,
9,
3060,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Scientific data visualization and the .NET framework
===
I have spent a long time searching for a product that would bring functionality similar to matplotlib to the .NET framework. From what I can tell, nothing really measures up. Is this an accurate assessment? Here is what I have found:
Commercial:
- Cha... | 0 | [
2,
2272,
1054,
28873,
17,
14,
13,
9,
2328,
6596,
800,
3726,
3726,
31,
57,
1111,
21,
175,
85,
5792,
26,
21,
2374,
30,
83,
1499,
18548,
835,
20,
4277,
13221,
38,
8326,
20,
14,
13,
9,
2328,
6596,
9,
37,
98,
31,
92,
494,
15,
626... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Only one return statement per method, even in this scenerio?
===
I like the idea of having only 1 return statement per method.
What do you do in this situation though?
public static string ChopText(string Text)
{
if(String.IsNullOrEmpty(Text)
{
// return here ?????//
}... | 0 | [
2,
104,
53,
788,
3331,
416,
2109,
15,
166,
19,
48,
1691,
5741,
60,
800,
3726,
3726,
31,
101,
14,
882,
16,
452,
104,
137,
788,
3331,
416,
2109,
9,
98,
107,
42,
107,
19,
48,
1858,
362,
60,
317,
12038,
3724,
17144,
11969,
5,
1113... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 document.write in external js file. IE problem. Yes, again and still.
===
Working on big, high loaded project I got the problem that already described in billion of topics on forums and blog, but there is no solution that will help in my case. Here is the story.<br/>
<br/>
I have the HTML code of banner, ... | 0 | [
2,
8247,
8741,
4492,
9,
23716,
19,
4886,
487,
18,
3893,
9,
13,
660,
1448,
9,
1643,
15,
188,
17,
174,
9,
800,
3726,
3726,
638,
27,
580,
15,
183,
8572,
669,
31,
330,
14,
1448,
30,
614,
745,
19,
2786,
16,
7569,
27,
5691,
18,
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... |
TFS 2005 Wiki Template?
===
Is there a Wiki plugin for TFS 2005, ie. SharePoint Services 2.0? | 0 | [
2,
13,
11720,
18,
812,
13,
17375,
22894,
60,
800,
3726,
3726,
25,
80,
21,
13,
17375,
10922,
108,
26,
13,
11720,
18,
812,
15,
13,
660,
9,
1891,
3132,
687,
172,
9,
387,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Scrum and Fogbugz
===
Anyone out there using Fogbugz and Scrum together?
We use Fogbugz extensively, and I'm looking for ideas from anyone who may be using it as part of Scrum. I found these two items, but they are archived and unvailable for further discussion. I'm specifically interested in ideas for mapping Scru... | 0 | [
2,
26562,
17,
7486,
16254,
380,
800,
3726,
3726,
1276,
70,
80,
568,
7486,
16254,
380,
17,
26562,
429,
60,
95,
275,
7486,
16254,
380,
7802,
15,
17,
31,
22,
79,
699,
26,
3478,
37,
1276,
72,
123,
44,
568,
32,
28,
141,
16,
26562,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 images located in my recourse folder into an array?
===
I want to load 52 images (deck of cards) in gif format from my recourse folder into an Image[] in c#. Any ideas?
Thanks,
Jon
| 0 | [
2,
184,
107,
31,
164,
3502,
335,
19,
51,
302,
17556,
19294,
77,
40,
7718,
60,
800,
3726,
3726,
31,
259,
20,
6305,
5135,
3502,
13,
5,
17866,
16,
4092,
6,
19,
489,
821,
2595,
37,
51,
302,
17556,
19294,
77,
40,
1961,
2558,
500,
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,
0,
0,
0,
0,
0,
0,
0,
0... |
How can I pass a class name as an argument to an object factory in cocoa?
===
I am working on an object factory to manage a small collection of objects. The managed objects can be of different types, but they will all respond to <code>createInstance</code> and <code>reset</code>. The objects can not be derived from a ... | 0 | [
2,
184,
92,
31,
1477,
21,
718,
204,
28,
40,
5476,
20,
40,
3095,
3129,
19,
24507,
60,
800,
3726,
3726,
31,
589,
638,
27,
40,
3095,
3129,
20,
4705,
21,
284,
1206,
16,
3916,
9,
14,
1471,
3916,
92,
44,
16,
421,
2551,
15,
47,
59,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Conceptual question: Loose Coupling
===
I am building a graphic board like project where i am facing a design issue.
Main Class is Board which is a canvas responsible for handling mouse events when drawing shapes. It also has context variables such as currentShape or snapFlag to activate grid magnetism.
To hand... | 0 | [
2,
14425,
1301,
45,
4675,
20920,
800,
3726,
3726,
31,
589,
353,
21,
8479,
686,
101,
669,
113,
31,
589,
4325,
21,
704,
1513,
9,
407,
718,
25,
686,
56,
25,
21,
9696,
1864,
26,
7988,
7567,
963,
76,
3533,
12129,
9,
32,
67,
63,
414... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Workflow - choosing the appropriate host environment
===
The application that I'm designing will retrieve and store content from a variety of disparate sources on a schedule. In some cases, the content will be retrieved based on a time interval (think stock quotes), and in other cases the content will be retrieved ba... | 0 | [
2,
170,
9990,
13,
8,
10883,
14,
4593,
2015,
2307,
800,
3726,
3726,
14,
3010,
30,
31,
22,
79,
15026,
129,
11917,
17,
1718,
2331,
37,
21,
1747,
16,
1460,
6351,
591,
2662,
27,
21,
4345,
9,
19,
109,
1871,
15,
14,
2331,
129,
44,
36... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 extract a tar file in Java?
===
How do I extract a tar (or tar.gz, or tar.bz2) file in Java? | 0 | [
2,
184,
107,
31,
10962,
21,
2475,
3893,
19,
8247,
60,
800,
3726,
3726,
184,
107,
31,
10962,
21,
2475,
13,
5,
248,
2475,
9,
263,
380,
15,
54,
2475,
9,
220,
380,
135,
6,
3893,
19,
8247,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
MySQL: How to select all rows from a table EXCEPT the last on
===
I have a table with N rows, and I wanna select N-1 rows.
Suggestions on how to do this in one query, if it's possible..? | 0 | [
2,
51,
18,
22402,
45,
184,
20,
5407,
65,
11295,
37,
21,
859,
1613,
14,
236,
27,
800,
3726,
3726,
31,
57,
21,
859,
29,
13,
103,
11295,
15,
17,
31,
11024,
5407,
13,
103,
8,
165,
11295,
9,
18389,
27,
184,
20,
107,
48,
19,
53,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Release notes, what for?
===
What are release notes for and who reads them? Should/could they be automated by just spitting out bugfixes for the current release, or do they warrant careful human editing?
So, anybody with a link to best practices(reasoning behind) in regards to software release notes? | 0 | [
2,
830,
2434,
15,
98,
26,
60,
800,
3726,
3726,
98,
50,
830,
2434,
26,
17,
72,
11137,
105,
60,
378,
118,
13431,
59,
44,
14904,
34,
114,
26535,
70,
6256,
18594,
160,
26,
14,
866,
830,
15,
54,
107,
59,
8677,
5186,
585,
9510,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is there an inverse of System.Diagnostics.ConditionalAttribute?
===
Is there an analogous conditional-not-present attribute or maybe a way to use the Conditional attribute to only include a method if that symbol is *not* defined?
What I'm looking for is something that works like this:
[Conditional("!SILVERLI... | 0 | [
2,
25,
80,
40,
19,
9453,
16,
329,
9,
4286,
21944,
18,
9,
22141,
4242,
38,
14755,
60,
800,
3726,
3726,
25,
80,
40,
21837,
21206,
8,
1270,
8,
3914,
35,
14755,
54,
913,
21,
161,
20,
275,
14,
21206,
35,
14755,
20,
104,
468,
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... |
Determining Word Frequency of Specific Terms
===
I'm a non-computer science student doing a history thesis that involves determining the frequency of specific terms in a number of texts and then plotting these frequencies over time to determine changes and trends. While I have figured out how to determine word frequen... | 0 | [
2,
13521,
833,
5328,
16,
1903,
1663,
800,
3726,
3726,
31,
22,
79,
21,
538,
8,
18448,
762,
1209,
845,
21,
447,
10452,
30,
6569,
13521,
14,
5328,
16,
1903,
1663,
19,
21,
234,
16,
6381,
17,
94,
22716,
158,
14798,
84,
85,
20,
3746,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Automagically expanding a Python list with formatted output
===
Does anyone know if there's a way to automatically expand a list in Python, separated by commas? I'm writing some Python code that uses the MySQLdb library, and I'm trying to dynamically update a list of rows in a MySQL database with certain key values.
... | 0 | [
2,
3108,
21200,
1326,
9393,
21,
20059,
968,
29,
13,
29850,
5196,
800,
3726,
3726,
630,
1276,
143,
100,
80,
22,
18,
21,
161,
20,
7499,
6073,
21,
968,
19,
20059,
15,
4196,
34,
11951,
472,
60,
31,
22,
79,
1174,
109,
20059,
1797,
30... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Needing an ExtJS bug workaround
===
I have a web application that uses Ext-JS 2.2. In a certain component, we have an empty toolbar that we are trying to add a button to using
myPanel.getTopToolbar().insertButton(0, [...array of buttons...]);
However, in IE6/7 this fails because of lines 20241-20242 in ext-... | 0 | [
2,
12210,
40,
1396,
38,
728,
18,
6256,
170,
10037,
800,
3726,
3726,
31,
57,
21,
2741,
3010,
30,
2027,
1396,
38,
8,
728,
18,
172,
9,
135,
9,
19,
21,
1200,
5912,
15,
95,
57,
40,
2424,
5607,
1850,
30,
95,
50,
749,
20,
3547,
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... |
Open Dialog preserving settings
===
How does one preserve the settings in the Open Dialog box? I would the Open Dialog to remember that I chose the Details view and sorted by date modified. | 0 | [
2,
368,
28223,
17936,
12410,
800,
3726,
3726,
184,
630,
53,
6224,
14,
12410,
19,
14,
368,
28223,
1649,
60,
31,
83,
14,
368,
28223,
20,
1518,
30,
31,
3305,
14,
3289,
1418,
17,
22554,
34,
1231,
5372,
9,
3,
0,
0,
0,
0,
0,
0,
0,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
How to not read block on a null value from an Socket::INET filehandle?
===
When reading from a IO::Socket::INET filehandle it can not be assumed that there will always be data available on the stream. What techniques are available to either peek at the stream to check if data is available or when doing the read take n... | 0 | [
2,
184,
20,
52,
1302,
1921,
27,
21,
16203,
1923,
37,
40,
18482,
45,
45,
1149,
38,
3893,
3203,
413,
60,
800,
3726,
3726,
76,
1876,
37,
21,
13,
1963,
45,
45,
18,
5668,
1198,
45,
45,
1149,
38,
3893,
3203,
413,
32,
92,
52,
44,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# Technique - Getting Constant Values By String
===
Is there any good way to convert strings like "xlSum", "xlAverage", and "xlCount" into the value they have under Microsoft.Office.Interop.Excel.XlConsolidationFunction?
I guess reflection would be slow (if its possible). There are about 10 of these constant value... | 0 | [
2,
272,
5910,
4873,
13,
8,
1017,
3587,
4070,
34,
3724,
800,
3726,
3726,
25,
80,
186,
254,
161,
20,
8406,
7887,
101,
13,
7,
396,
7532,
723,
7,
15,
13,
7,
396,
255,
27345,
7,
15,
17,
13,
7,
396,
255,
16549,
7,
77,
14,
1923,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 Add Event Handler with Arguments to an Array of Elements in Javascript?
===
I have a three-step process that is entirely reliant upon JavaScript and Ajax to load data and animate the process from one step to the next. To further complicate matters, the transition (forward and backward) between steps is animated... | 0 | [
2,
184,
20,
3547,
807,
24641,
29,
10553,
20,
40,
7718,
16,
2065,
19,
8247,
8741,
60,
800,
3726,
3726,
31,
57,
21,
132,
8,
8375,
953,
30,
25,
2894,
13,
29501,
685,
8247,
8741,
17,
20624,
20,
6305,
1054,
17,
14487,
591,
14,
953,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Running a function periodically in twisted protocol
===
I am looking for a way to periodically send some data over all clients connected to a TCP port. I am looking at twisted python and I am aware of reactor.callLater. But how do I use it to send some data to all connected clients periodically ? The data sending logi... | 0 | [
2,
946,
21,
1990,
19886,
19,
5308,
8494,
800,
3726,
3726,
31,
589,
699,
26,
21,
161,
20,
19886,
2660,
109,
1054,
84,
65,
7421,
2587,
20,
21,
13,
38,
7439,
1295,
9,
31,
589,
699,
35,
5308,
20059,
17,
31,
589,
3854,
16,
11142,
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 do I check if Windows Installer 3.1 or higher is installed?
===
I need to know this since this is a pre-req for .NET 3.5 and if I'm including the .NET bootstrapper, I should also see if Windows Installer 3.1 is needed.
Right now I'm checking for the registry key:
HKEY_ LOCAL_MACHINE\SOFTWARE\Microsoft\Update... | 0 | [
2,
184,
107,
31,
2631,
100,
1936,
16146,
106,
203,
9,
165,
54,
1184,
25,
4066,
60,
800,
3726,
3726,
31,
376,
20,
143,
48,
179,
48,
25,
21,
782,
8,
99,
1251,
26,
13,
9,
2328,
203,
9,
264,
17,
100,
31,
22,
79,
215,
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... |
Regex/Textmate Confusion
===
I'm trying to create a Textmate snippet, but have run into some difficulties. Basically, I want to type in a Name and split it into its parts.
Example,
Bill Gates: (Bill), (bill), (Gates), (gates), (Bill Gates), (Bill gates), (bill Gates), (bill gates) | 0 | [
2,
7953,
1706,
118,
11969,
5281,
5677,
800,
3726,
3726,
31,
22,
79,
749,
20,
1600,
21,
1854,
5281,
13,
29061,
15,
47,
57,
485,
77,
109,
8075,
9,
11374,
15,
31,
259,
20,
1001,
19,
21,
204,
17,
2132,
32,
77,
82,
1341,
9,
823,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
VBScript chr() appears to return wrong value
===
I'm trying to convert a character code to a character with chr(), but VBScript isn't giving me the value I expect. According to VBScript, character code 199 is:
�
However, when using something like Javascript's String.fromCharCode, 199 is:
Ç
The se... | 0 | [
2,
13,
20468,
8741,
272,
3112,
5,
6,
1780,
20,
788,
1389,
1923,
800,
3726,
3726,
31,
22,
79,
749,
20,
8406,
21,
925,
1797,
20,
21,
925,
29,
272,
3112,
5,
6,
15,
47,
13,
20468,
8741,
2532,
22,
38,
1438,
55,
14,
1923,
31,
4186... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Controller's actions names localization
===
I am facing a problem.
I would like to localize my action names in my project so french people can have clean urls with french names.
http://www.test.com/Home should be http://www.test.com/Accueil
It is a good thing too for google indexing.
Moreover I would like to b... | 0 | [
2,
9919,
22,
18,
3078,
1817,
375,
1829,
800,
3726,
3726,
31,
589,
4325,
21,
1448,
9,
31,
83,
101,
20,
375,
2952,
51,
1028,
1817,
19,
51,
669,
86,
484,
148,
92,
57,
2745,
13,
911,
7532,
29,
484,
1817,
9,
7775,
6903,
6483,
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 do I prevent a WCF service from enter a faulted state?
===
I have a WCF Service that should not enter the faulted state. If there's an exception, it should be logged and the service should continue uninterrupted. The service has a one-way operation contract and is reading messages from an MSMQ.
My problems are ... | 0 | [
2,
184,
107,
31,
2501,
21,
11801,
410,
365,
37,
2830,
21,
4173,
69,
146,
60,
800,
3726,
3726,
31,
57,
21,
11801,
410,
365,
30,
378,
52,
2830,
14,
4173,
69,
146,
9,
100,
80,
22,
18,
40,
5391,
15,
32,
378,
44,
13,
19287,
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... |
unexpected margin with very simple html
===
I have a very simple html. The red div is inside the blue div and has a 10 px top margin. On non-ie browsers, the blue box is 10 px apart from the top of viewport and the red div is at the very top of the blue div. What I expect is the ie behavior: red div must be 10 px apar... | 0 | [
2,
9380,
5440,
29,
253,
1935,
13,
15895,
800,
3726,
3726,
31,
57,
21,
253,
1935,
13,
15895,
9,
14,
402,
13,
12916,
25,
572,
14,
705,
13,
12916,
17,
63,
21,
332,
351,
396,
371,
5440,
9,
27,
538,
8,
660,
16495,
18,
15,
14,
705... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 callbacks firing too early
===
I have a problem when assigning functions to the click event of a button in IE 7 with jQuery. Something like the following works fine in Opera but produces an infinite loop in IE:
function updateIndputFields(index, id) {
$("#reloadBtn").click(function(){ updateIndpu... | 0 | [
2,
487,
8190,
93,
645,
1958,
18,
7139,
266,
274,
800,
3726,
3726,
31,
57,
21,
1448,
76,
13952,
68,
3719,
20,
14,
10840,
807,
16,
21,
5167,
19,
13,
660,
453,
29,
487,
8190,
93,
9,
301,
101,
14,
249,
693,
1123,
19,
1877,
47,
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... |
Detecting loss of connection to fix gateway? (QuickFix)
===
I'm trying to find a good way to detect a loss of connection.
My adapter is implemented as a Fix::Application based on one of the examples. It uses a socket initiator to connect to the fix gateway.
When I unplug the internet it takes about 30 seconds ... | 0 | [
2,
9092,
68,
1526,
16,
2760,
20,
6098,
12171,
60,
13,
5,
25865,
18594,
6,
800,
3726,
3726,
31,
22,
79,
749,
20,
477,
21,
254,
161,
20,
9092,
21,
1526,
16,
2760,
9,
51,
9924,
106,
25,
6807,
28,
21,
6098,
45,
45,
2552,
20669,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
event handler problems c#
===
I have a handle that fires when the ItemAdd event is triggered on the Sent Items folder in outlook. This handle prompts the user and depending on their selection then opens a custom windows form to save the sent email.
Now ... heres what happens ...
- The prompt shows fine when an ... | 0 | [
2,
807,
24641,
1716,
272,
5910,
800,
3726,
3726,
31,
57,
21,
3053,
30,
11327,
76,
14,
9101,
14854,
807,
25,
15164,
27,
14,
795,
3755,
19294,
19,
19837,
9,
48,
3053,
11443,
13531,
14,
4155,
17,
4758,
27,
66,
3155,
94,
8965,
21,
5... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Form element messes up imported HTML/CSS layout template in ASP.NET
===
I want to use this pure HTML/CSS template for my ASP.NET website:
[http://sub3.tanguay.de][1]
I copy it inside my Default.aspx page, inside the FORM element, but the form messes up the layout:
[http://sub2.tanguay.de][2]
I tried alteri... | 0 | [
2,
505,
4520,
3957,
160,
71,
11808,
13,
15895,
118,
6824,
18,
9106,
22894,
19,
28,
306,
9,
2328,
800,
3726,
3726,
31,
259,
20,
275,
48,
4267,
13,
15895,
118,
6824,
18,
22894,
26,
51,
28,
306,
9,
2328,
2271,
45,
636,
21127,
6903,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
New to mocking?
===
I'm new to mocking, I have a new .net web project that is in UI->BLL->DAL->DB structure, I use NUnit to do some testing currently. I intent to use it to test middle tier so I don't have to actually write to DB.
Now, I've never done any mocking, don't quite know where to start, so I am looking fo... | 0 | [
2,
78,
20,
18446,
60,
800,
3726,
3726,
31,
22,
79,
78,
20,
18446,
15,
31,
57,
21,
78,
13,
9,
2328,
2741,
669,
30,
25,
19,
13,
5661,
8,
1,
220,
211,
8,
1,
3952,
8,
1,
9007,
1411,
15,
31,
275,
10210,
242,
20,
107,
109,
443... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Fire javascript code when download finishes
===
I need to update a pair of old classic asp page. A search.asp page that provides a simple form which is then posted to a results.asp page. One of the form options on the search page is drop down list (`<select`) for the "format". If the user chooses excel format, the ... | 0 | [
2,
535,
8247,
8741,
1797,
76,
7121,
13625,
800,
3726,
3726,
31,
376,
20,
11100,
21,
2146,
16,
315,
2732,
28,
306,
2478,
9,
21,
2122,
9,
472,
306,
2478,
30,
1927,
21,
1935,
505,
56,
25,
94,
6054,
20,
21,
1736,
9,
472,
306,
2478... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.NET based Workflow Engine
===
I am working on a design spec for a new application that will be heavily workflow driven.
Before I re-invent the wheel, is there a decent lightweight workflow engine that plugs into ASP.NET already around?
Basically, I'm looking for something that handles moving through a define... | 0 | [
2,
28,
306,
9,
2328,
432,
170,
9990,
1406,
800,
3726,
3726,
31,
589,
638,
27,
21,
704,
12737,
26,
21,
78,
3010,
30,
129,
44,
2991,
170,
9990,
5355,
9,
115,
31,
302,
8,
108,
6645,
14,
3556,
15,
25,
80,
21,
12238,
13613,
170,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best way to determine the number of days in a month with javascript?
===
I've been using this function but I'd like to know what's the most efficient and accurate way to get it.
function daysInMonth(iMonth, iYear) {
return 32 - new Date(iYear, iMonth, 32).getDate();
}
| 0 | [
2,
98,
25,
14,
246,
161,
20,
3746,
14,
234,
16,
509,
19,
21,
1617,
29,
8247,
8741,
60,
800,
3726,
3726,
31,
22,
195,
74,
568,
48,
1990,
47,
31,
22,
43,
101,
20,
143,
98,
22,
18,
14,
127,
8243,
17,
8137,
161,
20,
164,
32,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is it possible to have different members in a class document have different colours?
===
I am using visual studio 2008 professional and was wondering, how can I have different colours for method calls within class methods, and for properties/fields? This would be good as it would give me a quick visual overview of wha... | 0 | [
2,
25,
32,
938,
20,
57,
421,
443,
19,
21,
718,
4492,
57,
421,
8739,
60,
800,
3726,
3726,
31,
589,
568,
3458,
1120,
570,
736,
17,
23,
5712,
15,
184,
92,
31,
57,
421,
8739,
26,
2109,
3029,
363,
718,
3195,
15,
17,
26,
3704,
118... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
CruiseControl.Net: How Does One Clear Obsolete Build History?
===
I just started using CCNet, and in the process of getting my build projects set up I racked up a lot of build history from trial and error. I really don't want to keep that old stuff around, but I can't seem to see where/how to get rid of it. I'm sure t... | 0 | [
2,
6581,
12898,
9,
2328,
45,
184,
630,
53,
1207,
18562,
1895,
447,
60,
800,
3726,
3726,
31,
114,
373,
568,
8093,
2328,
15,
17,
19,
14,
953,
16,
1017,
51,
1895,
2314,
309,
71,
31,
10257,
69,
71,
21,
865,
16,
1895,
447,
37,
2178... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
ASP.NET theme not rendering correctly
===
I have a small web application which uses themes. The themes work on host, so on preinit, if the host = a, load x theme, if the host = b, load y theme.
In my code this looks like:
If request.url.host.contains("a") Then
Page.Theme = x
Else
request.url.host.contain... | 0 | [
2,
28,
306,
9,
2328,
3184,
52,
15307,
12044,
800,
3726,
3726,
31,
57,
21,
284,
2741,
3010,
56,
2027,
6876,
9,
14,
6876,
170,
27,
2015,
15,
86,
27,
782,
108,
242,
15,
100,
14,
2015,
800,
21,
15,
6305,
993,
3184,
15,
100,
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... |
Select a ListItem from DropDownList using a Linq Query
===
I' trying to use a Linq query to find and set the selected value in a drop down list control.
Dim qry = From i In ddlOutcome.Items _
Where i.Text.Contains(value)
Dim selectedItem As ListItem = qry.First
ddlOutcome.Sele... | 0 | [
2,
5407,
21,
968,
2119,
79,
37,
2804,
2968,
5739,
568,
21,
6294,
1251,
25597,
800,
3726,
3726,
31,
22,
749,
20,
275,
21,
6294,
1251,
25597,
20,
477,
17,
309,
14,
1704,
1923,
19,
21,
2804,
125,
968,
569,
9,
5937,
2593,
622,
800,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Minimalist cacheable jQuery/javascript library for iPhone?
===
Given the [iPhone's 25k limit for caching of files][1], I'm wondering if there's interest in an iPhone optimized javascript library that makes caching a top level goal. Since it'd be iPhone only it could get rid of most cross-browser cruft and rely on safa... | 0 | [
2,
8663,
702,
16522,
579,
487,
8190,
93,
118,
1004,
1385,
8741,
1248,
26,
21024,
60,
800,
3726,
3726,
504,
14,
636,
49,
7709,
22,
18,
771,
197,
4496,
26,
1658,
7192,
16,
6488,
500,
2558,
165,
500,
15,
31,
22,
79,
5712,
100,
80,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
how to avoid duplicates in a has_many :through relationship?
===
how can I achieve the following? I have two models (blogs and readers) and a JOIN table that will allow me to have an N:M relationship between them:
class Blog < ActiveRecord::Base
has_many :blogs_readers, :dependent => :destroy
has_ma... | 0 | [
2,
184,
20,
2658,
19429,
18,
19,
21,
63,
1,
14842,
13,
45,
11639,
1429,
60,
800,
3726,
3726,
184,
92,
31,
4689,
14,
249,
60,
31,
57,
81,
2761,
13,
5,
7091,
5447,
17,
7807,
6,
17,
21,
1865,
859,
30,
129,
1655,
55,
20,
57,
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... |
OpenCV's Python - OS X
===
I get the following error while building OpenCV on OS X 10.5 (intel):
ld: warning in .libs/_cv_la-_cv.o, file is not of required architecture
ld: warning in .libs/_cv_la-error.o, file is not of required architecture
ld: warning in .libs/_cv_la-pyhelpers.o, file is not of re... | 0 | [
2,
368,
12732,
22,
18,
20059,
13,
8,
13,
759,
993,
800,
3726,
3726,
31,
164,
14,
249,
7019,
133,
353,
368,
12732,
27,
13,
759,
993,
332,
9,
264,
13,
5,
108,
3454,
6,
45,
13,
6252,
45,
3590,
19,
13,
9,
8326,
18,
118,
1,
127... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 display my application's errors in JSF?
===
In my JSF/Facelets app, here's a simplified version of part of my form:
<h:form id="myform">
<h:inputSecret value="#{createNewPassword.newPassword1}" id="newPassword1" />
<h:message class="error" for="newPassword1" />
<h:inputSecret value="... | 0 | [
2,
184,
20,
3042,
51,
3010,
22,
18,
11908,
19,
487,
18,
410,
60,
800,
3726,
3726,
19,
51,
487,
18,
410,
118,
6413,
11045,
4865,
15,
235,
22,
18,
21,
13,
11268,
615,
16,
141,
16,
51,
505,
45,
13,
1,
252,
45,
4190,
4924,
3726,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Source for xaml toolbar icons?
===
Could you suggest a source for xaml toolbar icons (new, open, save, print)? | 0 | [
2,
1267,
26,
13,
6791,
8184,
5607,
1850,
9801,
18,
60,
800,
3726,
3726,
110,
42,
5601,
21,
1267,
26,
13,
6791,
8184,
5607,
1850,
9801,
18,
13,
5,
2681,
15,
368,
15,
2079,
15,
4793,
6,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Roll my own or use existing CMS (Drupal perhaps?)
===
I need to create a internal website and can't figure out if we should be writing our own, or using an existing framework.
Most of the website will essentially be a front end to a database. We need to have a number of people enter data into forms. We then want... | 0 | [
2,
3001,
51,
258,
54,
275,
3149,
2390,
18,
13,
5,
43,
7964,
192,
1774,
60,
6,
800,
3726,
3726,
31,
376,
20,
1600,
21,
3117,
2271,
17,
92,
22,
38,
1465,
70,
100,
95,
378,
44,
1174,
318,
258,
15,
54,
568,
40,
3149,
6596,
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... |
Do C# objects know the type of the more specific class?
===
Suppose you create a generic Object variable and assign it to a specific instance. If you do GetType(), will it get type Object or the type of the original class? | 0 | [
2,
107,
272,
5910,
3916,
143,
14,
1001,
16,
14,
91,
1903,
718,
60,
800,
3726,
3726,
5787,
42,
1600,
21,
12733,
3095,
7612,
17,
13952,
32,
20,
21,
1903,
4851,
9,
100,
42,
107,
164,
4474,
5,
6,
15,
129,
32,
164,
1001,
3095,
54,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Should I avoid using "text-align: justify;"?
===
Is there any reason to avoid using "text-align: justify;"?
Does it reduce readability or cause problems? | 0 | [
2,
378,
31,
2658,
568,
13,
7,
11969,
8,
192,
9693,
45,
17829,
73,
7,
60,
800,
3726,
3726,
25,
80,
186,
1215,
20,
2658,
568,
13,
7,
11969,
8,
192,
9693,
45,
17829,
73,
7,
60,
630,
32,
4136,
1302,
4091,
54,
1679,
1716,
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... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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... |
Why null cast?
===
I saw this piece of code somewhere and wondered: when and why would somebody do the following:
doSomething( (MyClass) null );
Have you ever done this? Could you please share your experience? | 0 | [
2,
483,
16203,
1325,
60,
800,
3726,
3726,
31,
441,
48,
1855,
16,
1797,
3493,
17,
3519,
45,
76,
17,
483,
83,
8861,
107,
14,
249,
45,
107,
9099,
5,
13,
5,
915,
1898,
6,
16203,
13,
6,
73,
57,
42,
462,
677,
48,
60,
110,
42,
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,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... |
Rails model without database
===
I want to create a Rails (2.1 and 2.2) model with ActiveRecord validations, but without a database table. What is the most widely used approach? I've found some plugins that claim to offer this functionality, but many of them don't appear to be widely used or maintained. What does t... | 0 | [
2,
2240,
18,
1061,
366,
6018,
800,
3726,
3726,
31,
259,
20,
1600,
21,
2240,
18,
13,
5,
135,
9,
165,
17,
172,
9,
135,
6,
1061,
29,
1348,
14953,
27999,
18,
15,
47,
366,
21,
6018,
859,
9,
98,
25,
14,
127,
2525,
147,
2141,
60,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Is Azure an Operating System or a Framework?
===
MS is calling Azure an Operating System.
To me, it feels much more like a framework. I am having a bit of trouble defining the two separately. I have a general intuition, but I am not articulate enough to really say if Azure is really an OS or just a framework si... | 0 | [
2,
25,
25715,
40,
2455,
329,
54,
21,
6596,
60,
800,
3726,
3726,
4235,
25,
2555,
25715,
40,
2455,
329,
9,
20,
55,
15,
32,
5121,
212,
91,
101,
21,
6596,
9,
31,
589,
452,
21,
1142,
16,
2572,
14684,
14,
81,
10714,
9,
31,
57,
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... |
Domain Masking with HTML
===
How do I mask the address of another site using HTML?
For example, I'd like:
http://www.example.com/source.html
To point to another page:
http://www.example.com/dest.html
Note that the destination page could be on another domain. | 0 | [
2,
4603,
5983,
68,
29,
13,
15895,
800,
3726,
3726,
184,
107,
31,
5983,
14,
3218,
16,
226,
689,
568,
13,
15895,
60,
26,
823,
15,
31,
22,
43,
101,
45,
7775,
6903,
6483,
9,
29041,
9,
960,
118,
12097,
9,
15895,
20,
454,
20,
226,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Odd Exception when Combining .hbm.xml and Fluent NHibernate - Any ideas?
===
So I'm converting my mapping files on an as needed basis (when making
changes, convert to mapping). Any when configuring NHibernate like so:
Assembly asm = Assembly.Load("RPMWare.Core.DataAccess");
//NHibernate configuration: s... | 0 | [
2,
4210,
5391,
76,
12803,
13,
9,
18098,
79,
9,
396,
8184,
17,
19252,
12109,
15191,
8820,
13,
8,
186,
3478,
60,
800,
3726,
3726,
86,
31,
22,
79,
19583,
51,
13305,
6488,
27,
40,
28,
851,
2239,
13,
5,
3185,
544,
1693,
15,
8406,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Git for beginners: The definitive practical guide
===
Ok, after seeing today's [post by Py Hyett][1], I have decided to skip to the end and go with git.
So what I need is a beginners **practical** guide to git. "Beginner" being defined as someone who knows how to handle their compiler, understands to some level wh... | 0 | [
2,
13,
10404,
26,
26931,
18,
45,
14,
15676,
5713,
3378,
800,
3726,
3726,
5854,
15,
75,
2078,
786,
22,
18,
636,
6962,
34,
7103,
4085,
3317,
500,
2558,
165,
500,
15,
31,
57,
868,
20,
12532,
20,
14,
241,
17,
162,
29,
13,
10404,
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... |
Posting/submitting multiple forms in jQuery
===
I have two forms on a page (one is being grabbed by AJAX). I need them both to be posted, so I serialize the second one and send it in a post using jQuery before submitting the first one. However, only the first form appears to be getting posted. The odd thing is thou... | 0 | [
2,
15669,
118,
7563,
5130,
1203,
1886,
1997,
19,
487,
8190,
93,
800,
3726,
3726,
31,
57,
81,
1997,
27,
21,
2478,
13,
5,
849,
25,
142,
2338,
34,
20624,
6,
9,
31,
376,
105,
156,
20,
44,
6054,
15,
86,
31,
5956,
2952,
14,
153,
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... |
Trying to improve efficiency of array formula
===
I have a SUM array formula that has multiple nested IF statements, making it very inefficient. My formula spans over 500 rows, but here is a simple version of it:
{=SUM(IF(IF(A1:A5>A7:A11,A1:A5,A7:A11)-A13:A17>0,
IF(A1:A5>A7:A11,A1:A5,A7:A11)-A13:A17,0))}
As you... | 0 | [
2,
749,
20,
3545,
7836,
16,
7718,
3729,
800,
3726,
3726,
31,
57,
21,
3907,
7718,
3729,
30,
63,
1886,
5618,
69,
100,
9015,
15,
544,
32,
253,
19,
23702,
9,
51,
3729,
16967,
84,
3033,
11295,
15,
47,
235,
25,
21,
1935,
615,
16,
32... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the difference between an OS and a Framework?
===
I recently posted a question about Azure... [is it really an OS?][1] I understand the technical details, and I got a lot of fuzzy answers... I really want to know... what do you think is the difference between an OS and a Framework?
Just for reference, Azur... | 0 | [
2,
98,
25,
14,
2841,
128,
40,
13,
759,
17,
21,
6596,
60,
800,
3726,
3726,
31,
1989,
6054,
21,
1301,
88,
25715,
9,
9,
9,
636,
403,
32,
510,
40,
13,
759,
60,
500,
2558,
165,
500,
31,
1369,
14,
2447,
3289,
15,
17,
31,
330,
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... |
Setting global_names parameter.
===
Greetings,
My company uses Peoplesoft for its financials and HR. Our implementation is on Oracle databases. Setting global_names = TRUE forces you to name your database link the same as the target. My question is does anyone know the ramification of setting global_names to fal... | 0 | [
2,
2697,
2062,
1,
7259,
18,
18906,
9,
800,
3726,
3726,
13769,
18,
15,
51,
237,
2027,
148,
12980,
26,
82,
1553,
18,
17,
13,
3112,
9,
318,
6123,
25,
27,
15759,
6018,
18,
9,
2697,
2062,
1,
7259,
18,
800,
1151,
879,
42,
20,
204,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In Log Shipping configuration with SQL2005, Primary server's backup job not being added
===
I'm creating a log shipping configuration between two sql server 2005 instances. I'm shipping the logs of a single database and I'm not using a Monitor service (for the time being). When I run the SQL Server Log Shipping Wiza... | 0 | [
2,
19,
6738,
7405,
8091,
29,
4444,
255,
2835,
15,
1256,
8128,
22,
18,
10119,
1205,
52,
142,
905,
800,
3726,
3726,
31,
22,
79,
2936,
21,
6738,
7405,
8091,
128,
81,
4444,
255,
8128,
812,
13946,
9,
31,
22,
79,
7405,
14,
18893,
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... |
SharePoint Default Styles
===
I'm building a custom web part for SharePoint and I'm trying to use the default styles so when people theme the site, it will theme with it.
I've found a couple of decent sites that show the different styles like:
http://www.sharepointcustomization.com/resources/tipstricks/wss_cssguid... | 0 | [
2,
1891,
3132,
12838,
6443,
800,
3726,
3726,
31,
22,
79,
353,
21,
5816,
2741,
141,
26,
1891,
3132,
17,
31,
22,
79,
749,
20,
275,
14,
12838,
6443,
86,
76,
148,
3184,
14,
689,
15,
32,
129,
3184,
29,
32,
9,
31,
22,
195,
216,
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... |
WebBrowser document cast not valid
===
I've got a WebBrowser control on my page. To fire some javascript on a page displayed in the browser control, I call this.myBrowser.Document.InvokeScript("Test");
This works on my dev box with IE7, but on a seperate test machine I get the following error:
> Exception Type:
... | 0 | [
2,
10192,
5417,
4104,
4492,
1325,
52,
7394,
800,
3726,
3726,
31,
22,
195,
330,
21,
10192,
5417,
4104,
569,
27,
51,
2478,
9,
20,
535,
109,
8247,
8741,
27,
21,
2478,
6115,
19,
14,
16495,
569,
15,
31,
645,
48,
9,
915,
25699,
4104,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do I get the max ID with Linq to Entity?
===
I have a table User which has an identity column UserID, now what is the correct Linq to Entity line of code that would return me the max UserID?
I've tried
using (MyDBEntities db = new MyDBEntities())
{
var User = db.User... | 0 | [
2,
184,
107,
31,
164,
14,
2049,
4924,
29,
6294,
1251,
20,
9252,
60,
800,
3726,
3726,
31,
57,
21,
859,
4155,
56,
63,
40,
3270,
4698,
275,
5175,
15,
130,
98,
25,
14,
4456,
6294,
1251,
20,
9252,
293,
16,
1797,
30,
83,
788,
55,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C++ catching all exceptions
===
Is there a c++ equivalent of java's
try {
...
}
catch (Exception ex) {
...
}
I am trying to debug java/jni code that calls native windows functions and the virtual machine keeps crashing. The native code appears fine in unit testing and only seems t... | 0 | [
2,
272,
20512,
9436,
65,
13392,
800,
3726,
3726,
25,
80,
21,
272,
20512,
4602,
16,
8247,
22,
18,
1131,
13,
1,
13,
9,
9,
9,
13,
1,
2949,
13,
5,
10066,
872,
1396,
6,
13,
1,
13,
9,
9,
9,
13,
1,
31,
589,
749,
20,
121,
16254,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 autonumber primary key from MS SQL Server
===
I am currently working in C#, and I need to insert a new record into one table, get the new primary key value, and then use that as a foreign key reference in inserting several more records. The Database is MS SQL Server 2003. All help is appreciated! | 0 | [
2,
1017,
3108,
16299,
1256,
1246,
37,
4235,
4444,
255,
8128,
800,
3726,
3726,
31,
589,
871,
638,
19,
272,
5910,
15,
17,
31,
376,
20,
14692,
21,
78,
571,
77,
53,
859,
15,
164,
14,
78,
1256,
1246,
1923,
15,
17,
94,
275,
30,
28,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Binding to multiple concrete implementations with IOC frameworks?
===
I'm relatively familiar with the concepts of DI/IOC containers having worked on projects previously where their use were already in place. However, for this new project, there is no existing framework and I'm having to pick one.
Long story short... | 0 | [
2,
8728,
20,
1886,
4105,
6123,
18,
29,
31,
2499,
6596,
18,
60,
800,
3726,
3726,
31,
22,
79,
3109,
3694,
29,
14,
8700,
16,
926,
118,
49,
2499,
18988,
452,
577,
27,
2314,
1343,
113,
66,
275,
46,
614,
19,
209,
9,
207,
15,
26,
4... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
How do you construct a LINQ to Entities query to load child objects directly, instead of calling a Reference property or Load().
===
I'm new to using LINQ to Entities (or Entity Framework whatever they're calling it) and I'm writing a lot of code like this:
var item = (from InventoryItem item in db.Inventory
... | 0 | [
2,
184,
107,
42,
6960,
21,
6294,
1251,
20,
12549,
25597,
20,
6305,
850,
3916,
1703,
15,
700,
16,
2555,
21,
2801,
1354,
54,
6305,
5,
6,
9,
800,
3726,
3726,
31,
22,
79,
78,
20,
568,
6294,
1251,
20,
12549,
13,
5,
248,
9252,
6596,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Question: Regarding GridView boundfield ReadOnly property
===
I have a Gridview boundfield where i set ReadOnly to true because i don't want user to change its value. However on the objectdatasource control's update method that boundfield became null when i try to use it as parameter in update method. Is there a way t... | 0 | [
2,
1301,
45,
3467,
7354,
4725,
4138,
1109,
1302,
4965,
1354,
800,
3726,
3726,
31,
57,
21,
7354,
4725,
4138,
1109,
113,
31,
309,
1302,
4965,
20,
1151,
185,
31,
221,
22,
38,
259,
4155,
20,
753,
82,
1923,
9,
207,
27,
14,
3095,
1876... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
In C++, what do you do nearly all the time?
===
There are a few things that I almost always do when I put a class together in C++.
1) Virtual Destructor
2) Copy constructor and assignment operator (I either implement them in terms of a private function called Copy(), or declare them private and thus explicitly dis... | 0 | [
2,
19,
272,
20512,
15,
98,
107,
42,
107,
1212,
65,
14,
85,
60,
800,
3726,
3726,
80,
50,
21,
310,
564,
30,
31,
557,
550,
107,
76,
31,
442,
21,
718,
429,
19,
272,
20512,
9,
137,
6,
6599,
13,
20137,
248,
172,
6,
4344,
6960,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
XCOPY hosts file on vista from a batch file
===
I need a command to replace the hosts file on my machine. Seems pretty straight forward but I cannot get the command to work with xcopy. Any obvious flaws in the command?
luaexec -w -f "XCOPY" "%ScriptPath%/ModifiedHosts/vista/hosts"
"%windir%/system32/drivers/etc/h... | 0 | [
2,
993,
19625,
5397,
3893,
27,
13520,
37,
21,
13064,
3893,
800,
3726,
3726,
31,
376,
21,
1202,
20,
3934,
14,
5397,
3893,
27,
51,
1940,
9,
2206,
1772,
1599,
917,
47,
31,
1967,
164,
14,
1202,
20,
170,
29,
993,
19625,
9,
186,
4674,... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
When is overengineering desirable?
===
I just got my copy of Code Complete by Steve McConnell, and there's one area I'm a bit confused about. On page 51, he says:
> Robustness is the ability of a system to continue to run after it detects an error. Often an architecture specifies a more robust system than that s... | 4 | [
2,
76,
25,
84,
19153,
68,
19461,
60,
800,
3726,
3726,
31,
114,
330,
51,
4344,
16,
1797,
1279,
34,
2228,
28183,
15,
17,
80,
22,
18,
53,
217,
31,
22,
79,
21,
1142,
4230,
88,
9,
27,
2478,
5236,
15,
24,
898,
45,
13,
1,
15313,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
What is the best way to make the output of one stream the input to another
===
I'm wondering if there is a better/inbuilt way, other than using a byte buffer and looping, to read from one stream and write it to another (in .NET). Generally this is done to apply a transform to a stream and move it on.
In this instan... | 0 | [
2,
98,
25,
14,
246,
161,
20,
233,
14,
5196,
16,
53,
3766,
14,
6367,
20,
226,
800,
3726,
3726,
31,
22,
79,
5712,
100,
80,
25,
21,
574,
118,
108,
8607,
161,
15,
89,
119,
568,
21,
34,
591,
17497,
17,
5293,
68,
15,
20,
1302,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Sql Import wizard imports 1022868890 as 1.02287e+009
===
I'm trying to import some data from Excel to SQL Server, I have a TEXT column with some numbers in it, some of the number go over just fine, and some turn into scientific form.
Column in Excel is "text" type, column in the target sql table is varchar(255)
... | 0 | [
2,
4444,
255,
9010,
10276,
20617,
332,
21283,
4279,
27330,
28,
137,
9,
3564,
23114,
62,
2430,
387,
2545,
800,
3726,
3726,
31,
22,
79,
749,
20,
9010,
109,
1054,
37,
20700,
20,
4444,
255,
8128,
15,
31,
57,
21,
1854,
4698,
29,
109,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
C# Best way to get folder depth for a given path?
===
I'm working on something that requires traversing through the file system and for any given path, I need to know how 'deep' I am in the folder structure. Here's what I'm currently using:
int folderDepth = 0;
string tmpPath = startPath;
... | 0 | [
2,
272,
5910,
246,
161,
20,
164,
19294,
5204,
26,
21,
504,
2013,
60,
800,
3726,
3726,
31,
22,
79,
638,
27,
301,
30,
4781,
19501,
68,
120,
14,
3893,
329,
17,
26,
186,
504,
2013,
15,
31,
376,
20,
143,
184,
13,
22,
11759,
22,
3... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
SQL Server 2005 database stuck in single user mode
===
I have a database that is stuck in single-user mode. I kill the process that obtains the "lock" on the db but when I kill it another one spawns automatically, (using the sa account). This happens even with SQL Server agent disabled. Any ideas? | 0 | [
2,
4444,
255,
8128,
812,
6018,
4549,
19,
345,
4155,
3740,
800,
3726,
3726,
31,
57,
21,
6018,
30,
25,
4549,
19,
345,
8,
16704,
3740,
9,
31,
1177,
14,
953,
30,
5545,
18,
14,
13,
7,
3966,
7,
27,
14,
13,
9007,
47,
76,
31,
1177,
... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
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 "include" a file?
===
Here's the code I have in the html file to "include" the file "vmenu.php"
div id="apDivVistaMenus">
?php
include 'vmenu.php';
?>
!-- Begin Vista-Buttons.com -->
!-- End Vista-Buttons.com -->
/div>
The menus used to be between the comments below the php include... | 0 | [
2,
184,
20,
13,
7,
22640,
7,
21,
3893,
60,
800,
3726,
3726,
235,
22,
18,
14,
1797,
31,
57,
19,
14,
13,
15895,
3893,
20,
13,
7,
22640,
7,
14,
3893,
13,
7,
710,
755,
291,
9,
26120,
7,
13,
12916,
4924,
3726,
7,
2552,
12916,
2... | [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0... | [
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.